create-nexgen 1.0.4

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 (240) hide show
  1. package/package.json +26 -0
  2. package/src/index.js +108 -0
  3. package/template/.dockerignore +14 -0
  4. package/template/.env +58 -0
  5. package/template/.env.example +59 -0
  6. package/template/.prettierignore +5 -0
  7. package/template/.prettierrc +8 -0
  8. package/template/README.md +447 -0
  9. package/template/drizzle.config.ts +29 -0
  10. package/template/eslint.config.js +52 -0
  11. package/template/gitignore-stub +24 -0
  12. package/template/package.json +96 -0
  13. package/template/public/assets/AuthLayout-CbswhpjJ.js +1 -0
  14. package/template/public/assets/Button-_7aQ7gHL.js +1 -0
  15. package/template/public/assets/Input-CLNJXmKc.css +1 -0
  16. package/template/public/assets/Input-z8GI8Aqo.js +1 -0
  17. package/template/public/assets/InputPasswordToggle-BxlzVGp3.js +1 -0
  18. package/template/public/assets/InputPasswordToggle-C77FI9Eg.css +1 -0
  19. package/template/public/assets/Layout-DotR1sQC.js +1 -0
  20. package/template/public/assets/Refresh-BdqsPPBC.js +1 -0
  21. package/template/public/assets/admin-ui-CU34rLdN.js +1 -0
  22. package/template/public/assets/bootstrap-icons-BeopsB42.woff +0 -0
  23. package/template/public/assets/bootstrap-icons-mSm7cUeB.woff2 +0 -0
  24. package/template/public/assets/dashboard-CwybEyLc.js +1 -0
  25. package/template/public/assets/dashboard-Dc4d-Pi7.css +1 -0
  26. package/template/public/assets/forgetPassword-CKEJaXsq.js +1 -0
  27. package/template/public/assets/index-Bleyx5dm.js +64 -0
  28. package/template/public/assets/index-DUw8E6Yg.css +1 -0
  29. package/template/public/assets/login-DC7PTlQF.js +1 -0
  30. package/template/public/assets/realtime-test-BPQdrFym.css +1 -0
  31. package/template/public/assets/realtime-test-tQZ0rBEJ.js +1 -0
  32. package/template/public/assets/register-3O7Qs28C.js +1 -0
  33. package/template/public/assets/resetPassword-A5AzMWKs.js +1 -0
  34. package/template/public/assets/verifyEmail-DDBEQHOv.js +1 -0
  35. package/template/public/index.html +17 -0
  36. package/template/src/database/migrations/mysql/0000_init.sql +73 -0
  37. package/template/src/database/migrations/mysql/meta/0000_snapshot.json +484 -0
  38. package/template/src/database/migrations/mysql/meta/_journal.json +13 -0
  39. package/template/src/database/schema.ts +4 -0
  40. package/template/src/env.ts +107 -0
  41. package/template/src/framework/cache/cache.ts +81 -0
  42. package/template/src/framework/database/connection.ts +168 -0
  43. package/template/src/framework/database/optional-db-drivers.d.ts +9 -0
  44. package/template/src/framework/database/paginate.ts +200 -0
  45. package/template/src/framework/database/schema.ts +26 -0
  46. package/template/src/framework/database/seed.ts +33 -0
  47. package/template/src/framework/events/dispatcher.ts +57 -0
  48. package/template/src/framework/facade.ts +27 -0
  49. package/template/src/framework/http/app.ts +61 -0
  50. package/template/src/framework/http/cors.ts +19 -0
  51. package/template/src/framework/http/logger.ts +85 -0
  52. package/template/src/framework/http/openapi.ts +34 -0
  53. package/template/src/framework/http/ratelimiter.ts +13 -0
  54. package/template/src/framework/http/router.ts +76 -0
  55. package/template/src/framework/http/static.ts +33 -0
  56. package/template/src/framework/http/validation.ts +24 -0
  57. package/template/src/framework/kernel.ts +40 -0
  58. package/template/src/framework/maker-cli/src/index.mjs +51 -0
  59. package/template/src/framework/maker-cli/src/levels/level-1/env-db.mjs +57 -0
  60. package/template/src/framework/maker-cli/src/levels/level-1/file-ops.mjs +30 -0
  61. package/template/src/framework/maker-cli/src/levels/level-1/flags.mjs +16 -0
  62. package/template/src/framework/maker-cli/src/levels/level-1/help.mjs +24 -0
  63. package/template/src/framework/maker-cli/src/levels/level-1/naming.mjs +13 -0
  64. package/template/src/framework/maker-cli/src/levels/level-1/process.mjs +47 -0
  65. package/template/src/framework/maker-cli/src/levels/level-2/db/core.mjs +299 -0
  66. package/template/src/framework/maker-cli/src/levels/level-2/db/index.mjs +177 -0
  67. package/template/src/framework/maker-cli/src/levels/level-2/deploy/core.mjs +635 -0
  68. package/template/src/framework/maker-cli/src/levels/level-2/deploy/index.mjs +145 -0
  69. package/template/src/framework/maker-cli/src/levels/level-2/module/core.mjs +707 -0
  70. package/template/src/framework/maker-cli/src/levels/level-2/module/index.mjs +116 -0
  71. package/template/src/framework/maker-cli/src/levels/level-2/runtime/build-frontend.mjs +16 -0
  72. package/template/src/framework/maker-cli/src/levels/level-2/runtime/core.mjs +311 -0
  73. package/template/src/framework/maker-cli/src/levels/level-2/runtime/index.mjs +71 -0
  74. package/template/src/framework/maker-cli/stubs/controller/openapi.ts.stub +55 -0
  75. package/template/src/framework/maker-cli/stubs/controller/openapi.with-model.ts.stub +56 -0
  76. package/template/src/framework/maker-cli/stubs/controller/plain.ts.stub +57 -0
  77. package/template/src/framework/maker-cli/stubs/controller/schema.plain.ts.stub +13 -0
  78. package/template/src/framework/maker-cli/stubs/controller/schema.ts.stub +32 -0
  79. package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.bun.stub +49 -0
  80. package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.pnpm.stub +53 -0
  81. package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.stub +49 -0
  82. package/template/src/framework/maker-cli/stubs/deploy/Dockerfile.yarn.stub +53 -0
  83. package/template/src/framework/maker-cli/stubs/deploy/README.stub +55 -0
  84. package/template/src/framework/maker-cli/stubs/deploy/compose/mysql.server.stub +29 -0
  85. package/template/src/framework/maker-cli/stubs/deploy/compose/postgres.server.stub +29 -0
  86. package/template/src/framework/maker-cli/stubs/deploy/compose/sqlite.stub +29 -0
  87. package/template/src/framework/maker-cli/stubs/deploy/env/mysql.server.stub +73 -0
  88. package/template/src/framework/maker-cli/stubs/deploy/env/postgres.server.stub +73 -0
  89. package/template/src/framework/maker-cli/stubs/deploy/env/sqlite.stub +72 -0
  90. package/template/src/framework/maker-cli/stubs/deploy/scripts/auto-migrate.sh.stub +15 -0
  91. package/template/src/framework/maker-cli/stubs/deploy/server/README.stub +77 -0
  92. package/template/src/framework/maker-cli/stubs/deploy/server/compose/noredis.stub +118 -0
  93. package/template/src/framework/maker-cli/stubs/deploy/server/compose/redis.dev.stub +131 -0
  94. package/template/src/framework/maker-cli/stubs/deploy/server/compose/redis.stub +129 -0
  95. package/template/src/framework/maker-cli/stubs/deploy/server/env/local.example.stub +10 -0
  96. package/template/src/framework/maker-cli/stubs/deploy/server/env/noredis.stub +24 -0
  97. package/template/src/framework/maker-cli/stubs/deploy/server/env/redis.stub +24 -0
  98. package/template/src/framework/maker-cli/stubs/deploy/server/nginx-vhost/README.stub +15 -0
  99. package/template/src/framework/maker-cli/stubs/deploy/server/nginx-vhost/app.example.com.stub +12 -0
  100. package/template/src/framework/maker-cli/stubs/deploy/server/pgadmin/servers.stub +13 -0
  101. package/template/src/framework/maker-cli/stubs/deploy/server/redis/redis.conf.stub +6 -0
  102. package/template/src/framework/maker-cli/stubs/deploy/supervisor/noredis.stub +53 -0
  103. package/template/src/framework/maker-cli/stubs/deploy/supervisor/redis.stub +69 -0
  104. package/template/src/framework/maker-cli/stubs/deploy/workflow/local.json.stub +24 -0
  105. package/template/src/framework/maker-cli/stubs/deploy/workflow/remote.json.stub +20 -0
  106. package/template/src/framework/maker-cli/stubs/example/console.ts.stub +33 -0
  107. package/template/src/framework/maker-cli/stubs/example/controller.ts.stub +503 -0
  108. package/template/src/framework/maker-cli/stubs/example/job.ts.stub +74 -0
  109. package/template/src/framework/maker-cli/stubs/example/route.api.ts.stub +206 -0
  110. package/template/src/framework/maker-cli/stubs/example/schema.ts.stub +41 -0
  111. package/template/src/framework/maker-cli/stubs/job/name.ts.stub +24 -0
  112. package/template/src/framework/maker-cli/stubs/model/name.mysql.ts.stub +8 -0
  113. package/template/src/framework/maker-cli/stubs/model/name.postgresql.ts.stub +8 -0
  114. package/template/src/framework/maker-cli/stubs/model/name.sqlite.ts.stub +8 -0
  115. package/template/src/framework/maker-cli/stubs/notification/NotificationBell.vue.stub +218 -0
  116. package/template/src/framework/maker-cli/stubs/notification/controller.ts.stub +85 -0
  117. package/template/src/framework/maker-cli/stubs/notification/index.vue.stub +211 -0
  118. package/template/src/framework/maker-cli/stubs/notification/job.ts.stub +12 -0
  119. package/template/src/framework/maker-cli/stubs/notification/route.api.ts.stub +49 -0
  120. package/template/src/framework/maker-cli/stubs/notification/schema.ts.stub +25 -0
  121. package/template/src/framework/maker-cli/stubs/route/api.ts.stub +79 -0
  122. package/template/src/framework/maker-cli/stubs/route/plain.ts.stub +10 -0
  123. package/template/src/framework/maker-cli/stubs/schedule/name.ts.stub +35 -0
  124. package/template/src/framework/maker-cli/stubs/seeder/name.ts.stub +17 -0
  125. package/template/src/framework/modules/discover.ts +54 -0
  126. package/template/src/framework/modules/routes.ts +26 -0
  127. package/template/src/framework/notification/index.ts +109 -0
  128. package/template/src/framework/queue/clear.ts +20 -0
  129. package/template/src/framework/queue/queue.ts +213 -0
  130. package/template/src/framework/queue/ui.ts +104 -0
  131. package/template/src/framework/queue/worker.ts +33 -0
  132. package/template/src/framework/realtime/broadcast.ts +27 -0
  133. package/template/src/framework/realtime/index.ts +1 -0
  134. package/template/src/framework/realtime/socket-cookie.ts +65 -0
  135. package/template/src/framework/realtime/socket.ts +132 -0
  136. package/template/src/framework/realtime/types.ts +6 -0
  137. package/template/src/framework/realtime/ui.ts +16 -0
  138. package/template/src/framework/redis/client.ts +126 -0
  139. package/template/src/framework/scheduler/lock.ts +124 -0
  140. package/template/src/framework/scheduler/run.ts +26 -0
  141. package/template/src/framework/scheduler/scheduler.ts +82 -0
  142. package/template/src/framework/server.ts +147 -0
  143. package/template/src/framework/session/session.ts +116 -0
  144. package/template/src/framework/storage/storage.ts +743 -0
  145. package/template/src/framework/support/cookie.ts +78 -0
  146. package/template/src/framework/support/jwt.ts +45 -0
  147. package/template/src/framework/support/lifecycle.ts +35 -0
  148. package/template/src/framework/support/logger.ts +102 -0
  149. package/template/src/framework/support/mail.ts +43 -0
  150. package/template/src/framework/support/password.ts +23 -0
  151. package/template/src/framework/support/url.ts +25 -0
  152. package/template/src/middlewares/auth-middleware.ts +98 -0
  153. package/template/src/middlewares/role-middleware.ts +24 -0
  154. package/template/src/modules/auth/controllers/auth.controller.ts +445 -0
  155. package/template/src/modules/auth/controllers/auth.helpers.ts +110 -0
  156. package/template/src/modules/auth/controllers/auth.schema.ts +102 -0
  157. package/template/src/modules/auth/controllers/role.controller.ts +25 -0
  158. package/template/src/modules/auth/database/models/notifications.ts +22 -0
  159. package/template/src/modules/auth/database/models/role.ts +14 -0
  160. package/template/src/modules/auth/database/models/user.ts +46 -0
  161. package/template/src/modules/auth/database/seeders/role.ts +19 -0
  162. package/template/src/modules/auth/database/seeders/user.ts +33 -0
  163. package/template/src/modules/auth/jobs/forgetpass.ts +18 -0
  164. package/template/src/modules/auth/jobs/registeruser.ts +31 -0
  165. package/template/src/modules/auth/jobs/verifyemail.ts +18 -0
  166. package/template/src/modules/auth/routes/api.ts +151 -0
  167. package/template/src/modules/auth/routes/role.ts +39 -0
  168. package/template/src/modules/welcome/controllers/welcome.controller.ts +14 -0
  169. package/template/src/modules/welcome/controllers/welcome.schema.ts +6 -0
  170. package/template/src/modules/welcome/database/models/welcome.ts +6 -0
  171. package/template/src/modules/welcome/routes/api.ts +20 -0
  172. package/template/src/resources/index.html +16 -0
  173. package/template/src/resources/src/App.vue +5 -0
  174. package/template/src/resources/src/assets/css/styles.css +14934 -0
  175. package/template/src/resources/src/assets/css/styles.css.map +1 -0
  176. package/template/src/resources/src/assets/images/favicon/favicon.ico +0 -0
  177. package/template/src/resources/src/assets/images/favicon/favicon1.ico +0 -0
  178. package/template/src/resources/src/assets/images/logo-1.png +0 -0
  179. package/template/src/resources/src/assets/images/logo-dark-sm.png +0 -0
  180. package/template/src/resources/src/assets/images/logo-dark.png +0 -0
  181. package/template/src/resources/src/assets/images/logo-dark1.png +0 -0
  182. package/template/src/resources/src/assets/images/logo-sm.png +0 -0
  183. package/template/src/resources/src/assets/images/logo1.png +0 -0
  184. package/template/src/resources/src/assets/images/logo2.png +0 -0
  185. package/template/src/resources/src/assets/scss/custom.css +217 -0
  186. package/template/src/resources/src/assets/scss/custom.css.map +1 -0
  187. package/template/src/resources/src/assets/scss/custom.scss +1100 -0
  188. package/template/src/resources/src/components/Button.vue +35 -0
  189. package/template/src/resources/src/components/Checkbox.vue +29 -0
  190. package/template/src/resources/src/components/FloatButton.vue +36 -0
  191. package/template/src/resources/src/components/Href.vue +32 -0
  192. package/template/src/resources/src/components/Input.vue +227 -0
  193. package/template/src/resources/src/components/InputGroup.vue +153 -0
  194. package/template/src/resources/src/components/InputPasswordToggle.vue +226 -0
  195. package/template/src/resources/src/components/Modal.vue +102 -0
  196. package/template/src/resources/src/components/Pagebar.vue +28 -0
  197. package/template/src/resources/src/components/Refresh.vue +26 -0
  198. package/template/src/resources/src/components/Select.vue +390 -0
  199. package/template/src/resources/src/components/Spinner.vue +42 -0
  200. package/template/src/resources/src/components/Switch.vue +65 -0
  201. package/template/src/resources/src/components/TextArea.vue +121 -0
  202. package/template/src/resources/src/components/Toast.vue +56 -0
  203. package/template/src/resources/src/components/datatable/DataTableSkeleton.vue +99 -0
  204. package/template/src/resources/src/components/datatable/Pagination.vue +161 -0
  205. package/template/src/resources/src/components/datatable/SelectOpption.vue +54 -0
  206. package/template/src/resources/src/components/datatable/index.vue +237 -0
  207. package/template/src/resources/src/composables/useAuth.ts +52 -0
  208. package/template/src/resources/src/composables/useBrowserDetect.ts +5 -0
  209. package/template/src/resources/src/composables/useDialog.ts +5 -0
  210. package/template/src/resources/src/composables/useGum.ts +3 -0
  211. package/template/src/resources/src/composables/usePulse.ts +5 -0
  212. package/template/src/resources/src/env.d.ts +20 -0
  213. package/template/src/resources/src/helpers/nformatter.ts +10 -0
  214. package/template/src/resources/src/helpers/utils.ts +68 -0
  215. package/template/src/resources/src/layouts/AuthLayout.vue +20 -0
  216. package/template/src/resources/src/layouts/Layout/Footer.vue +23 -0
  217. package/template/src/resources/src/layouts/Layout/Header.vue +90 -0
  218. package/template/src/resources/src/layouts/Layout/Sidebar.vue +137 -0
  219. package/template/src/resources/src/layouts/Layout/index.vue +76 -0
  220. package/template/src/resources/src/main.ts +27 -0
  221. package/template/src/resources/src/pages/auth/forgetPassword.vue +76 -0
  222. package/template/src/resources/src/pages/auth/login.vue +93 -0
  223. package/template/src/resources/src/pages/auth/register.vue +130 -0
  224. package/template/src/resources/src/pages/auth/resetPassword.vue +119 -0
  225. package/template/src/resources/src/pages/auth/verifyEmail.vue +60 -0
  226. package/template/src/resources/src/pages/dashboard/index.vue +76 -0
  227. package/template/src/resources/src/plugins/axios.ts +33 -0
  228. package/template/src/resources/src/plugins/browserDetect.ts +55 -0
  229. package/template/src/resources/src/plugins/dialog.ts +167 -0
  230. package/template/src/resources/src/plugins/gum.ts +343 -0
  231. package/template/src/resources/src/plugins/pulse.ts +141 -0
  232. package/template/src/resources/src/plugins/routeProgress.ts +87 -0
  233. package/template/src/resources/src/router/index.ts +85 -0
  234. package/template/src/resources/src/stores/admin-ui.ts +148 -0
  235. package/template/src/resources/src/stores/auth.ts +151 -0
  236. package/template/src/resources/tsconfig.json +19 -0
  237. package/template/src/resources/vite.config.ts +43 -0
  238. package/template/src/storage/logs/app.log +20179 -0
  239. package/template/src/storage/logs/fatal.log +727 -0
  240. package/template/tsconfig.json +20 -0
@@ -0,0 +1,64 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Layout-DotR1sQC.js","assets/admin-ui-CU34rLdN.js","assets/dashboard-CwybEyLc.js","assets/Refresh-BdqsPPBC.js","assets/dashboard-Dc4d-Pi7.css","assets/realtime-test-tQZ0rBEJ.js","assets/realtime-test-BPQdrFym.css","assets/AuthLayout-CbswhpjJ.js","assets/register-3O7Qs28C.js","assets/Input-z8GI8Aqo.js","assets/Input-CLNJXmKc.css","assets/InputPasswordToggle-BxlzVGp3.js","assets/InputPasswordToggle-C77FI9Eg.css","assets/login-DC7PTlQF.js","assets/forgetPassword-CKEJaXsq.js","assets/Button-_7aQ7gHL.js","assets/resetPassword-A5AzMWKs.js"])))=>i.map(i=>d[i]);
2
+ var e=Object.defineProperty,t=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),n=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function r(e,t){return function(){return e.apply(t,arguments)}}var{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,{iterator:o,toStringTag:s}=Symbol,c=(e=>t=>{let n=i.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),l=e=>(e=e.toLowerCase(),t=>c(t)===e),u=e=>t=>typeof t===e,{isArray:d}=Array,f=u(`undefined`);function p(e){return e!==null&&!f(e)&&e.constructor!==null&&!f(e.constructor)&&_(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var m=l(`ArrayBuffer`);function h(e){let t;return t=typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t}var g=u(`string`),_=u(`function`),v=u(`number`),y=e=>typeof e==`object`&&!!e,b=e=>e===!0||e===!1,x=e=>{if(c(e)!==`object`)return!1;let t=a(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(s in e)&&!(o in e)},S=e=>{if(!y(e)||p(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},C=l(`Date`),w=l(`File`),T=e=>!!(e&&e.uri!==void 0),E=e=>e&&e.getParts!==void 0,D=l(`Blob`),O=l(`FileList`),k=e=>y(e)&&_(e.pipe);function ee(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{}}var A=ee(),j=A.FormData===void 0?void 0:A.FormData,te=e=>{if(!e)return!1;if(j&&e instanceof j)return!0;let t=a(e);if(!t||t===Object.prototype||!_(e.append))return!1;let n=c(e);return n===`formdata`||n===`object`&&_(e.toString)&&e.toString()===`[object FormData]`},ne=l(`URLSearchParams`),[M,re,ie,ae]=[`ReadableStream`,`Request`,`Response`,`Headers`].map(l),oe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,``);function se(e,t,{allOwnKeys:n=!1}={}){if(e==null)return;let r,i;if(typeof e!=`object`&&(e=[e]),d(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(p(e))return;let i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length,o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function N(e,t){if(p(e))return null;t=t.toLowerCase();let n=Object.keys(e),r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}var P=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:global,F=e=>!f(e)&&e!==P;function ce(...e){let{caseless:t,skipUndefined:n}=F(this)&&this||{},r={},i=(e,i)=>{if(i===`__proto__`||i===`constructor`||i===`prototype`)return;let a=t&&N(r,i)||i,o=be(r,a)?r[a]:void 0;x(o)&&x(e)?r[a]=ce(o,e):x(e)?r[a]=ce({},e):d(e)?r[a]=e.slice():(!n||!f(e))&&(r[a]=e)};for(let t=0,n=e.length;t<n;t++)e[t]&&se(e[t],i);return r}var le=(e,t,n,{allOwnKeys:i}={})=>(se(t,(t,i)=>{n&&_(t)?Object.defineProperty(e,i,{__proto__:null,value:r(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),ue=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),de=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,`constructor`,{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,`super`,{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},fe=(e,t,n,r)=>{let i,o,s,c={};if(t||={},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!c[s]&&(t[s]=e[s],c[s]=!0);e=n!==!1&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return r!==-1&&r===n},me=e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!v(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},he=(e=>t=>e&&t instanceof e)(typeof Uint8Array<`u`&&a(Uint8Array)),ge=(e,t)=>{let n=(e&&e[o]).call(e),r;for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},_e=(e,t)=>{let n,r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ve=l(`HTMLFormElement`),ye=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),be=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xe=l(`RegExp`),Se=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};se(n,(n,i)=>{let a;(a=t(n,i,e))!==!1&&(r[i]=a||n)}),Object.defineProperties(e,r)},Ce=e=>{Se(e,(t,n)=>{if(_(e)&&[`arguments`,`caller`,`callee`].includes(n))return!1;let r=e[n];if(_(r)){if(t.enumerable=!1,`writable`in t){t.writable=!1;return}t.set||=()=>{throw Error(`Can not rewrite read-only method '`+n+`'`)}}})},we=(e,t)=>{let n={},r=e=>{e.forEach(e=>{n[e]=!0})};return d(e)?r(e):r(String(e).split(t)),n},Te=()=>{},Ee=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function De(e){return!!(e&&_(e.append)&&e[s]===`FormData`&&e[o])}var Oe=e=>{let t=new WeakSet,n=e=>{if(y(e)){if(t.has(e))return;if(p(e))return e;if(!(`toJSON`in e)){t.add(e);let r=d(e)?[]:{};return se(e,(e,t)=>{let i=n(e);!f(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},ke=l(`AsyncFunction`),Ae=e=>e&&(y(e)||_(e))&&_(e.then)&&_(e.catch),je=((e,t)=>e?setImmediate:t?((e,t)=>(P.addEventListener(`message`,({source:n,data:r})=>{n===P&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),P.postMessage(e,`*`)}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate==`function`,_(P.postMessage)),I={isArray:d,isArrayBuffer:m,isBuffer:p,isFormData:te,isArrayBufferView:h,isString:g,isNumber:v,isBoolean:b,isObject:y,isPlainObject:x,isEmptyObject:S,isReadableStream:M,isRequest:re,isResponse:ie,isHeaders:ae,isUndefined:f,isDate:C,isFile:w,isReactNativeBlob:T,isReactNative:E,isBlob:D,isRegExp:xe,isFunction:_,isStream:k,isURLSearchParams:ne,isTypedArray:he,isFileList:O,forEach:se,merge:ce,extend:le,trim:oe,stripBOM:ue,inherits:de,toFlatObject:fe,kindOf:c,kindOfTest:l,endsWith:pe,toArray:me,forEachEntry:ge,matchAll:_e,isHTMLForm:ve,hasOwnProperty:be,hasOwnProp:be,reduceDescriptors:Se,freezeMethods:Ce,toObjectSet:we,toCamelCase:ye,noop:Te,toFiniteNumber:Ee,findKey:N,global:P,isContextDefined:F,isSpecCompliantForm:De,toJSONObject:Oe,isAsyncFn:ke,isThenable:Ae,setImmediate:je,asap:typeof queueMicrotask<`u`?queueMicrotask.bind(P):typeof process<`u`&&process.nextTick||je,isIterable:e=>e!=null&&_(e[o])},Me=I.toObjectSet([`age`,`authorization`,`content-length`,`content-type`,`etag`,`expires`,`from`,`host`,`if-modified-since`,`if-unmodified-since`,`last-modified`,`location`,`max-forwards`,`proxy-authorization`,`referer`,`retry-after`,`user-agent`]),Ne=e=>{let t={},n,r,i;return e&&e.split(`
3
+ `).forEach(function(e){i=e.indexOf(`:`),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!(!n||t[n]&&Me[n])&&(n===`set-cookie`?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+`, `+r:r)}),t};function Pe(e){let t=0,n=e.length;for(;t<n;){let n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;n>t;){let t=e.charCodeAt(n-1);if(t!==9&&t!==32)break;--n}return t===0&&n===e.length?e:e.slice(t,n)}var Fe=RegExp(`[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+`,`g`),Ie=RegExp(`[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+`,`g`);function Le(e,t){return I.isArray(e)?e.map(e=>Le(e,t)):Pe(String(e).replace(t,``))}var Re=e=>Le(e,Fe),ze=e=>Le(e,Ie);function Be(e){let t=Object.create(null);return I.forEach(e.toJSON(),(e,n)=>{t[n]=ze(e)}),t}var Ve=Symbol(`internals`);function He(e){return e&&String(e).trim().toLowerCase()}function Ue(e){return e===!1||e==null?e:I.isArray(e)?e.map(Ue):Re(String(e))}function We(e){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}var Ge=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ke(e,t,n,r,i){if(I.isFunction(r))return r.call(this,t,n);if(i&&(t=n),I.isString(t)){if(I.isString(r))return t.indexOf(r)!==-1;if(I.isRegExp(r))return r.test(t)}}function qe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function Je(e,t){let n=I.toCamelCase(` `+t);[`get`,`set`,`has`].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}var Ye=class{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=He(t);if(!i)throw Error(`header name must be a non-empty string`);let a=I.findKey(r,i);(!a||r[a]===void 0||n===!0||n===void 0&&r[a]!==!1)&&(r[a||t]=Ue(e))}let a=(e,t)=>I.forEach(e,(e,n)=>i(e,n,t));if(I.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(I.isString(e)&&(e=e.trim())&&!Ge(e))a(Ne(e),t);else if(I.isObject(e)&&I.isIterable(e)){let n={},r,i;for(let t of e){if(!I.isArray(t))throw TypeError(`Object iterator must return a key-value pair`);n[i=t[0]]=(r=n[i])?I.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(n,t)}else e!=null&&i(t,e,n);return this}get(e,t){if(e=He(e),e){let n=I.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(t===!0)return We(e);if(I.isFunction(t))return t.call(this,e,n);if(I.isRegExp(t))return t.exec(e);throw TypeError(`parser must be boolean|regexp|function`)}}}has(e,t){if(e=He(e),e){let n=I.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||Ke(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=He(e),e){let i=I.findKey(n,e);i&&(!t||Ke(n,n[i],i,t))&&(delete n[i],r=!0)}}return I.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||Ke(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return I.forEach(this,(r,i)=>{let a=I.findKey(n,i);if(a){t[a]=Ue(r),delete t[i];return}let o=e?qe(i):String(i).trim();o!==i&&delete t[i],t[o]=Ue(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return I.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&I.isArray(n)?n.join(`, `):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+`: `+t).join(`
4
+ `)}getSetCookie(){return this.get(`set-cookie`)||[]}get[Symbol.toStringTag](){return`AxiosHeaders`}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[Ve]=this[Ve]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=He(e);t[r]||(Je(n,e),t[r]=!0)}return I.isArray(e)?e.forEach(r):r(e),this}};Ye.accessor([`Content-Type`,`Content-Length`,`Accept`,`Accept-Encoding`,`User-Agent`,`Authorization`]),I.reduceDescriptors(Ye.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),I.freezeMethods(Ye);var Xe=`[REDACTED ****]`;function Ze(e){if(I.hasOwnProp(e,`toJSON`))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(I.hasOwnProp(t,`toJSON`))return!0;t=Object.getPrototypeOf(t)}return!1}function Qe(e,t){let n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(typeof e!=`object`||!e||I.isBuffer(e))return e;if(r.indexOf(e)!==-1)return;e instanceof Ye&&(e=e.toJSON()),r.push(e);let t;if(I.isArray(e))t=[],e.forEach((e,n)=>{let r=i(e);I.isUndefined(r)||(t[n]=r)});else{if(!I.isPlainObject(e)&&Ze(e))return r.pop(),e;t=Object.create(null);for(let[r,a]of Object.entries(e)){let e=n.has(r.toLowerCase())?Xe:i(a);I.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}var L=class e extends Error{static from(t,n,r,i,a,o){let s=new e(t.message,n||t.code,r,i,a);return s.cause=t,s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,`message`,{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name=`AxiosError`,this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&I.hasOwnProp(e,`redact`)?e.redact:void 0,n=I.isArray(t)&&t.length>0?Qe(e,t):I.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};L.ERR_BAD_OPTION_VALUE=`ERR_BAD_OPTION_VALUE`,L.ERR_BAD_OPTION=`ERR_BAD_OPTION`,L.ECONNABORTED=`ECONNABORTED`,L.ETIMEDOUT=`ETIMEDOUT`,L.ECONNREFUSED=`ECONNREFUSED`,L.ERR_NETWORK=`ERR_NETWORK`,L.ERR_FR_TOO_MANY_REDIRECTS=`ERR_FR_TOO_MANY_REDIRECTS`,L.ERR_DEPRECATED=`ERR_DEPRECATED`,L.ERR_BAD_RESPONSE=`ERR_BAD_RESPONSE`,L.ERR_BAD_REQUEST=`ERR_BAD_REQUEST`,L.ERR_CANCELED=`ERR_CANCELED`,L.ERR_NOT_SUPPORT=`ERR_NOT_SUPPORT`,L.ERR_INVALID_URL=`ERR_INVALID_URL`,L.ERR_FORM_DATA_DEPTH_EXCEEDED=`ERR_FORM_DATA_DEPTH_EXCEEDED`;function $e(e){return I.isPlainObject(e)||I.isArray(e)}function et(e){return I.endsWith(e,`[]`)?e.slice(0,-2):e}function tt(e,t,n){return e?e.concat(t).map(function(e,t){return e=et(e),!n&&t?`[`+e+`]`:e}).join(n?`.`:``):t}function nt(e){return I.isArray(e)&&!e.some($e)}var rt=I.toFlatObject(I,{},null,function(e){return/^is[A-Z]/.test(e)});function it(e,t,n){if(!I.isObject(e))throw TypeError(`target must be an object`);t||=new FormData,n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!I.isUndefined(t[e])});let r=n.metaTokens,i=n.visitor||d,a=n.dots,o=n.indexes,s=n.Blob||typeof Blob<`u`&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,l=s&&I.isSpecCompliantForm(t);if(!I.isFunction(i))throw TypeError(`visitor must be a function`);function u(e){if(e===null)return``;if(I.isDate(e))return e.toISOString();if(I.isBoolean(e))return e.toString();if(!l&&I.isBlob(e))throw new L(`Blob is not supported. Use a Buffer instead.`);return I.isArrayBuffer(e)||I.isTypedArray(e)?l&&typeof Blob==`function`?new Blob([e]):Buffer.from(e):e}function d(e,n,i){let s=e;if(I.isReactNative(t)&&I.isReactNativeBlob(e))return t.append(tt(i,n,a),u(e)),!1;if(e&&!i&&typeof e==`object`){if(I.endsWith(n,`{}`))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(I.isArray(e)&&nt(e)||(I.isFileList(e)||I.endsWith(n,`[]`))&&(s=I.toArray(e)))return n=et(n),s.forEach(function(e,r){!(I.isUndefined(e)||e===null)&&t.append(o===!0?tt([n],r,a):o===null?n:n+`[]`,u(e))}),!1}return $e(e)?!0:(t.append(tt(i,n,a),u(e)),!1)}let f=[],p=Object.assign(rt,{defaultVisitor:d,convertValue:u,isVisitable:$e});function m(e,n,r=0){if(!I.isUndefined(e)){if(r>c)throw new L(`Object is too deeply nested (`+r+` levels). Max depth: `+c,L.ERR_FORM_DATA_DEPTH_EXCEEDED);if(f.indexOf(e)!==-1)throw Error(`Circular reference detected in `+n.join(`.`));f.push(e),I.forEach(e,function(e,a){(!(I.isUndefined(e)||e===null)&&i.call(t,e,I.isString(a)?a.trim():a,n,p))===!0&&m(e,n?n.concat(a):[a],r+1)}),f.pop()}}if(!I.isObject(e))throw TypeError(`data must be an object`);return m(e),t}function at(e){let t={"!":`%21`,"'":`%27`,"(":`%28`,")":`%29`,"~":`%7E`,"%20":`+`};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function ot(e,t){this._pairs=[],e&&it(e,this,t)}var st=ot.prototype;st.append=function(e,t){this._pairs.push([e,t])},st.toString=function(e){let t=e?function(t){return e.call(this,t,at)}:at;return this._pairs.map(function(e){return t(e[0])+`=`+t(e[1])},``).join(`&`)};function ct(e){return encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`).replace(/%20/g,`+`)}function lt(e,t,n){if(!t)return e;let r=n&&n.encode||ct,i=I.isFunction(n)?{serialize:n}:n,a=i&&i.serialize,o;if(o=a?a(t,i):I.isURLSearchParams(t)?t.toString():new ot(t,i).toString(r),o){let t=e.indexOf(`#`);t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf(`?`)===-1?`?`:`&`)+o}return e}var ut=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&=[]}forEach(e){I.forEach(this.handlers,function(t){t!==null&&e(t)})}},dt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},ft={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<`u`?URLSearchParams:ot,FormData:typeof FormData<`u`?FormData:null,Blob:typeof Blob<`u`?Blob:null},protocols:[`http`,`https`,`file`,`blob`,`url`,`data`]},pt=n({hasBrowserEnv:()=>mt,hasStandardBrowserEnv:()=>gt,hasStandardBrowserWebWorkerEnv:()=>_t,navigator:()=>ht,origin:()=>vt}),mt=typeof window<`u`&&typeof document<`u`,ht=typeof navigator==`object`&&navigator||void 0,gt=mt&&(!ht||[`ReactNative`,`NativeScript`,`NS`].indexOf(ht.product)<0),_t=typeof WorkerGlobalScope<`u`&&self instanceof WorkerGlobalScope&&typeof self.importScripts==`function`,vt=mt&&window.location.href||`http://localhost`,yt={...pt,...ft};function bt(e,t){return it(e,new yt.classes.URLSearchParams,{visitor:function(e,t,n,r){return yt.isNode&&I.isBuffer(e)?(this.append(t,e.toString(`base64`)),!1):r.defaultVisitor.apply(this,arguments)},...t})}function xt(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map(e=>e[0]===`[]`?``:e[1]||e[0])}function St(e){let t={},n=Object.keys(e),r,i=n.length,a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function Ct(e){function t(e,n,r,i){let a=e[i++];if(a===`__proto__`)return!0;let o=Number.isFinite(+a),s=i>=e.length;return a=!a&&I.isArray(r)?r.length:a,s?(I.hasOwnProp(r,a)?r[a]=I.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o):((!I.hasOwnProp(r,a)||!I.isObject(r[a]))&&(r[a]=[]),t(e,n,r[a],i)&&I.isArray(r[a])&&(r[a]=St(r[a])),!o)}if(I.isFormData(e)&&I.isFunction(e.entries)){let n={};return I.forEachEntry(e,(e,r)=>{t(xt(e),r,n,0)}),n}return null}var wt=(e,t)=>e!=null&&I.hasOwnProp(e,t)?e[t]:void 0;function Tt(e,t,n){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(e){if(e.name!==`SyntaxError`)throw e}return(n||JSON.stringify)(e)}var Et={transitional:dt,adapter:[`xhr`,`http`,`fetch`],transformRequest:[function(e,t){let n=t.getContentType()||``,r=n.indexOf(`application/json`)>-1,i=I.isObject(e);if(i&&I.isHTMLForm(e)&&(e=new FormData(e)),I.isFormData(e))return r?JSON.stringify(Ct(e)):e;if(I.isArrayBuffer(e)||I.isBuffer(e)||I.isStream(e)||I.isFile(e)||I.isBlob(e)||I.isReadableStream(e))return e;if(I.isArrayBufferView(e))return e.buffer;if(I.isURLSearchParams(e))return t.setContentType(`application/x-www-form-urlencoded;charset=utf-8`,!1),e.toString();let a;if(i){let t=wt(this,`formSerializer`);if(n.indexOf(`application/x-www-form-urlencoded`)>-1)return bt(e,t).toString();if((a=I.isFileList(e))||n.indexOf(`multipart/form-data`)>-1){let n=wt(this,`env`),r=n&&n.FormData;return it(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType(`application/json`,!1),Tt(e)):e}],transformResponse:[function(e){let t=wt(this,`transitional`)||Et.transitional,n=t&&t.forcedJSONParsing,r=wt(this,`responseType`),i=r===`json`;if(I.isResponse(e)||I.isReadableStream(e))return e;if(e&&I.isString(e)&&(n&&!r||i)){let n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,wt(this,`parseReviver`))}catch(e){if(n)throw e.name===`SyntaxError`?L.from(e,L.ERR_BAD_RESPONSE,this,null,wt(this,`response`)):e}}return e}],timeout:0,xsrfCookieName:`XSRF-TOKEN`,xsrfHeaderName:`X-XSRF-TOKEN`,maxContentLength:-1,maxBodyLength:-1,env:{FormData:yt.classes.FormData,Blob:yt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:`application/json, text/plain, */*`,"Content-Type":void 0}}};I.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`],e=>{Et.headers[e]={}});function Dt(e,t){let n=this||Et,r=t||n,i=Ye.from(r.headers),a=r.data;return I.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Ot(e){return!!(e&&e.__CANCEL__)}var kt=class extends L{constructor(e,t,n){super(e??`canceled`,L.ERR_CANCELED,t,n),this.name=`CanceledError`,this.__CANCEL__=!0}};function At(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new L(`Request failed with status code `+n.status,n.status>=400&&n.status<500?L.ERR_BAD_REQUEST:L.ERR_BAD_RESPONSE,n.config,n.request,n))}function jt(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||``}function Mt(e,t){e||=10;let n=Array(e),r=Array(e),i=0,a=0,o;return t=t===void 0?1e3:t,function(s){let c=Date.now(),l=r[a];o||=c,n[i]=s,r[i]=c;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;let f=l&&c-l;return f?Math.round(d*1e3/f):void 0}}function Nt(e,t){let n=0,r=1e3/t,i,a,o=(t,r=Date.now())=>{n=r,i=null,a&&=(clearTimeout(a),null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-n;s>=r?o(e,t):(i=e,a||=setTimeout(()=>{a=null,o(i)},r-s))},()=>i&&o(i)]}var Pt=(e,t,n=3)=>{let r=0,i=Mt(50,250);return Nt(n=>{if(!n||typeof n.loaded!=`number`)return;let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=o==null?a:Math.min(a,o),c=Math.max(0,s-r),l=i(c);r=Math.max(r,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:o!=null,[t?`download`:`upload`]:!0})},n)},Ft=(e,t)=>{let n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},It=e=>(...t)=>I.asap(()=>e(...t)),Lt=yt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,yt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(yt.origin),yt.navigator&&/(msie|trident)/i.test(yt.navigator.userAgent)):()=>!0,Rt=yt.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if(typeof document>`u`)return;let s=[`${e}=${encodeURIComponent(t)}`];I.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),I.isString(r)&&s.push(`path=${r}`),I.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push(`secure`),I.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join(`; `)},read(e){if(typeof document>`u`)return null;let t=document.cookie.split(`;`);for(let n=0;n<t.length;n++){let r=t[n].replace(/^\s+/,``),i=r.indexOf(`=`);if(i!==-1&&r.slice(0,i)===e)return decodeURIComponent(r.slice(i+1))}return null},remove(e){this.write(e,``,Date.now()-864e5,`/`)}}:{write(){},read(){return null},remove(){}};function zt(e){return typeof e==`string`?/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e):!1}function Bt(e,t){return t?e.replace(/\/?\/$/,``)+`/`+t.replace(/^\/+/,``):e}function Vt(e,t,n){let r=!zt(t);return e&&(r||n===!1)?Bt(e,t):t}var Ht=e=>e instanceof Ye?{...e}:e;function Ut(e,t){t||={};let n=Object.create(null);Object.defineProperty(n,`hasOwnProperty`,{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(e,t,n,r){return I.isPlainObject(e)&&I.isPlainObject(t)?I.merge.call({caseless:r},e,t):I.isPlainObject(t)?I.merge({},t):I.isArray(t)?t.slice():t}function i(e,t,n,i){if(!I.isUndefined(t))return r(e,t,n,i);if(!I.isUndefined(e))return r(void 0,e,n,i)}function a(e,t){if(!I.isUndefined(t))return r(void 0,t)}function o(e,t){if(!I.isUndefined(t))return r(void 0,t);if(!I.isUndefined(e))return r(void 0,e)}function s(n,i,a){if(I.hasOwnProp(t,a))return r(n,i);if(I.hasOwnProp(e,a))return r(void 0,n)}let c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(Ht(e),Ht(t),n,!0)};return I.forEach(Object.keys({...e,...t}),function(r){if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let a=I.hasOwnProp(c,r)?c[r]:i,o=a(I.hasOwnProp(e,r)?e[r]:void 0,I.hasOwnProp(t,r)?t[r]:void 0,r);I.isUndefined(o)&&a!==s||(n[r]=o)}),n}var Wt=[`content-type`,`content-length`];function Gt(e,t,n){if(n!==`content-only`){e.set(t);return}Object.entries(t).forEach(([t,n])=>{Wt.includes(t.toLowerCase())&&e.set(t,n)})}var Kt=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),qt=e=>{let t=Ut({},e),n=e=>I.hasOwnProp(t,e)?t[e]:void 0,r=n(`data`),i=n(`withXSRFToken`),a=n(`xsrfHeaderName`),o=n(`xsrfCookieName`),s=n(`headers`),c=n(`auth`),l=n(`baseURL`),u=n(`allowAbsoluteUrls`),d=n(`url`);if(t.headers=s=Ye.from(s),t.url=lt(Vt(l,d,u),e.params,e.paramsSerializer),c&&s.set(`Authorization`,`Basic `+btoa((c.username||``)+`:`+(c.password?Kt(c.password):``))),I.isFormData(r)&&(yt.hasStandardBrowserEnv||yt.hasStandardBrowserWebWorkerEnv?s.setContentType(void 0):I.isFunction(r.getHeaders)&&Gt(s,r.getHeaders(),n(`formDataHeaderPolicy`))),yt.hasStandardBrowserEnv&&(I.isFunction(i)&&(i=i(t)),i===!0||i==null&&Lt(t.url))){let e=a&&o&&Rt.read(o);e&&s.set(a,e)}return t},Jt=typeof XMLHttpRequest<`u`&&function(e){return new Promise(function(t,n){let r=qt(e),i=r.data,a=Ye.from(r.headers).normalize(),{responseType:o,onUploadProgress:s,onDownloadProgress:c}=r,l,u,d,f,p;function m(){f&&f(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener(`abort`,l)}let h=new XMLHttpRequest;h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout;function g(){if(!h)return;let r=Ye.from(`getAllResponseHeaders`in h&&h.getAllResponseHeaders());At(function(e){t(e),m()},function(e){n(e),m()},{data:!o||o===`text`||o===`json`?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}`onloadend`in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.startsWith(`file:`))||setTimeout(g)},h.onabort=function(){h&&=(n(new L(`Request aborted`,L.ECONNABORTED,e,h)),m(),null)},h.onerror=function(t){let r=new L(t&&t.message?t.message:`Network Error`,L.ERR_NETWORK,e,h);r.event=t||null,n(r),m(),h=null},h.ontimeout=function(){let t=r.timeout?`timeout of `+r.timeout+`ms exceeded`:`timeout exceeded`,i=r.transitional||dt;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new L(t,i.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,h)),m(),h=null},i===void 0&&a.setContentType(null),`setRequestHeader`in h&&I.forEach(Be(a),function(e,t){h.setRequestHeader(t,e)}),I.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),o&&o!==`json`&&(h.responseType=r.responseType),c&&([d,p]=Pt(c,!0),h.addEventListener(`progress`,d)),s&&h.upload&&([u,f]=Pt(s),h.upload.addEventListener(`progress`,u),h.upload.addEventListener(`loadend`,f)),(r.cancelToken||r.signal)&&(l=t=>{h&&=(n(!t||t.type?new kt(null,e,h):t),h.abort(),m(),null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener(`abort`,l)));let _=jt(r.url);if(_&&!yt.protocols.includes(_)){n(new L(`Unsupported protocol `+_+`:`,L.ERR_BAD_REQUEST,e));return}h.send(i||null)})},Yt=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let n=new AbortController,r=!1,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof L?t:new kt(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new L(`timeout of ${t}ms exceeded`,L.ETIMEDOUT))},t),o=()=>{e&&=(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener(`abort`,i)}),null)};e.forEach(e=>e.addEventListener(`abort`,i));let{signal:s}=n;return s.unsubscribe=()=>I.asap(o),s},Xt=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Zt=async function*(e,t){for await(let n of Qt(e))yield*Xt(n,t)},Qt=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},$t=(e,t,n,r)=>{let i=Zt(e,t),a=0,o,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await i.next();if(t){s(),e.close();return}let o=r.byteLength;n&&n(a+=o),e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})};function en(e){if(!e||typeof e!=`string`||!e.startsWith(`data:`))return 0;let t=e.indexOf(`,`);if(t<0)return 0;let n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length,t=r.length;for(let n=0;n<t;n++)if(r.charCodeAt(n)===37&&n+2<t){let t=r.charCodeAt(n+1),i=r.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102)&&(e-=2,n+=2)}let n=0,i=t-1,a=e=>e>=2&&r.charCodeAt(e-2)===37&&r.charCodeAt(e-1)===51&&(r.charCodeAt(e)===68||r.charCodeAt(e)===100);i>=0&&(r.charCodeAt(i)===61?(n++,i--):a(i)&&(n++,i-=3)),n===1&&i>=0&&(r.charCodeAt(i)===61||a(i))&&n++;let o=Math.floor(e/4)*3-(n||0);return o>0?o:0}if(typeof Buffer<`u`&&typeof Buffer.byteLength==`function`)return Buffer.byteLength(r,`utf8`);let i=0;for(let e=0,t=r.length;e<t;e++){let n=r.charCodeAt(e);if(n<128)i+=1;else if(n<2048)i+=2;else if(n>=55296&&n<=56319&&e+1<t){let t=r.charCodeAt(e+1);t>=56320&&t<=57343?(i+=4,e++):i+=3}else i+=3}return i}var tn=`1.16.1`,nn=64*1024,{isFunction:rn}=I,an=(e,...t)=>{try{return!!e(...t)}catch{return!1}},on=e=>{let t=I.global!==void 0&&I.global!==null?I.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=I.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:i,Request:a,Response:o}=e,s=i?rn(i):typeof fetch==`function`,c=rn(a),l=rn(o);if(!s)return!1;let u=s&&rn(n),d=s&&(typeof r==`function`?(e=>t=>e.encode(t))(new r):async e=>new Uint8Array(await new a(e).arrayBuffer())),f=c&&u&&an(()=>{let e=!1,t=new a(yt.origin,{body:new n,method:`POST`,get duplex(){return e=!0,`half`}}),r=t.headers.has(`Content-Type`);return t.body!=null&&t.body.cancel(),e&&!r}),p=l&&u&&an(()=>I.isReadableStream(new o(``).body)),m={stream:p&&(e=>e.body)};s&&[`text`,`arrayBuffer`,`blob`,`formData`,`stream`].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new L(`Response type '${e}' is not supported`,L.ERR_NOT_SUPPORT,n)})});let h=async e=>{if(e==null)return 0;if(I.isBlob(e))return e.size;if(I.isSpecCompliantForm(e))return(await new a(yt.origin,{method:`POST`,body:e}).arrayBuffer()).byteLength;if(I.isArrayBufferView(e)||I.isArrayBuffer(e))return e.byteLength;if(I.isURLSearchParams(e)&&(e+=``),I.isString(e))return(await d(e)).byteLength},g=async(e,t)=>I.toFiniteNumber(e.getContentLength())??h(t);return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:u,timeout:d,onDownloadProgress:h,onUploadProgress:_,responseType:v,headers:y,withCredentials:b=`same-origin`,fetchOptions:x,maxContentLength:S,maxBodyLength:C}=qt(e),w=I.isNumber(S)&&S>-1,T=I.isNumber(C)&&C>-1,E=i||fetch;v=v?(v+``).toLowerCase():`text`;let D=Yt([l,u&&u.toAbortSignal()],d),O=null,k=D&&D.unsubscribe&&(()=>{D.unsubscribe()}),ee;try{if(w&&typeof t==`string`&&t.startsWith(`data:`)&&en(t)>S)throw new L(`maxContentLength size of `+S+` exceeded`,L.ERR_BAD_RESPONSE,e,O);if(T&&n!==`get`&&n!==`head`){let t=await g(y,s);if(typeof t==`number`&&isFinite(t)&&t>C)throw new L(`Request body larger than maxBodyLength limit`,L.ERR_BAD_REQUEST,e,O)}if(_&&f&&n!==`get`&&n!==`head`&&(ee=await g(y,s))!==0){let e=new a(t,{method:`POST`,body:s,duplex:`half`}),n;if(I.isFormData(s)&&(n=e.headers.get(`content-type`))&&y.setContentType(n),e.body){let[t,n]=Ft(ee,Pt(It(_)));s=$t(e.body,nn,t,n)}}I.isString(b)||(b=b?`include`:`omit`);let i=c&&`credentials`in a.prototype;if(I.isFormData(s)){let e=y.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&y.delete(`content-type`)}y.set(`User-Agent`,`axios/`+tn,!1);let l={...x,signal:D,method:n.toUpperCase(),headers:Be(y.normalize()),body:s,duplex:`half`,credentials:i?b:void 0};O=c&&new a(t,l);let u=await(c?E(O,x):E(t,l));if(w){let t=I.toFiniteNumber(u.headers.get(`content-length`));if(t!=null&&t>S)throw new L(`maxContentLength size of `+S+` exceeded`,L.ERR_BAD_RESPONSE,e,O)}let d=p&&(v===`stream`||v===`response`);if(p&&u.body&&(h||w||d&&k)){let t={};[`status`,`statusText`,`headers`].forEach(e=>{t[e]=u[e]});let n=I.toFiniteNumber(u.headers.get(`content-length`)),[r,i]=h&&Ft(n,Pt(It(h),!0))||[],a=0;u=new o($t(u.body,nn,t=>{if(w&&(a=t,a>S))throw new L(`maxContentLength size of `+S+` exceeded`,L.ERR_BAD_RESPONSE,e,O);r&&r(t)},()=>{i&&i(),k&&k()}),t)}v||=`text`;let A=await m[I.findKey(m,v)||`text`](u,e);if(w&&!p&&!d){let t;if(A!=null&&(typeof A.byteLength==`number`?t=A.byteLength:typeof A.size==`number`?t=A.size:typeof A==`string`&&(t=typeof r==`function`?new r().encode(A).byteLength:A.length)),typeof t==`number`&&t>S)throw new L(`maxContentLength size of `+S+` exceeded`,L.ERR_BAD_RESPONSE,e,O)}return!d&&k&&k(),await new Promise((t,n)=>{At(t,n,{data:A,headers:Ye.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:O})})}catch(t){if(k&&k(),D&&D.aborted&&D.reason instanceof L){let n=D.reason;throw n.config=e,O&&(n.request=O),t!==n&&(n.cause=t),n}throw t&&t.name===`TypeError`&&/Load failed|fetch/i.test(t.message)?Object.assign(new L(`Network Error`,L.ERR_NETWORK,e,O,t&&t.response),{cause:t.cause||t}):L.from(t,t&&t.code,e,O,t&&t.response)}}},sn=new Map,cn=e=>{let t=e&&e.env||{},{fetch:n,Request:r,Response:i}=t,a=[r,i,n],o=a.length,s,c,l=sn;for(;o--;)s=a[o],c=l.get(s),c===void 0&&l.set(s,c=o?new Map:on(t)),l=c;return c};cn();var ln={http:null,xhr:Jt,fetch:{get:cn}};I.forEach(ln,(e,t)=>{if(e){try{Object.defineProperty(e,`name`,{__proto__:null,value:t})}catch{}Object.defineProperty(e,`adapterName`,{__proto__:null,value:t})}});var un=e=>`- ${e}`,dn=e=>I.isFunction(e)||e===null||e===!1;function fn(e,t){e=I.isArray(e)?e:[e];let{length:n}=e,r,i,a={};for(let o=0;o<n;o++){r=e[o];let n;if(i=r,!dn(r)&&(i=ln[(n=String(r)).toLowerCase()],i===void 0))throw new L(`Unknown adapter '${n}'`);if(i&&(I.isFunction(i)||(i=i.get(t))))break;a[n||`#`+o]=i}if(!i){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(t===!1?`is not supported by the environment`:`is not available in the build`));throw new L(`There is no suitable adapter to dispatch the request `+(n?e.length>1?`since :
5
+ `+e.map(un).join(`
6
+ `):` `+un(e[0]):`as no adapter specified`),`ERR_NOT_SUPPORT`)}return i}var pn={getAdapter:fn,adapters:ln};function mn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new kt(null,e)}function hn(e){return mn(e),e.headers=Ye.from(e.headers),e.data=Dt.call(e,e.transformRequest),[`post`,`put`,`patch`].indexOf(e.method)!==-1&&e.headers.setContentType(`application/x-www-form-urlencoded`,!1),pn.getAdapter(e.adapter||Et.adapter,e)(e).then(function(t){mn(e),e.response=t;try{t.data=Dt.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Ye.from(t.headers),t},function(t){if(!Ot(t)&&(mn(e),t&&t.response)){e.response=t.response;try{t.response.data=Dt.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Ye.from(t.response.headers)}return Promise.reject(t)})}var gn={};[`object`,`boolean`,`number`,`function`,`string`,`symbol`].forEach((e,t)=>{gn[e]=function(n){return typeof n===e||`a`+(t<1?`n `:` `)+e}});var _n={};gn.transitional=function(e,t,n){function r(e,t){return`[Axios v`+tn+`] Transitional option '`+e+`'`+t+(n?`. `+n:``)}return(n,i,a)=>{if(e===!1)throw new L(r(i,` has been removed`+(t?` in `+t:``)),L.ERR_DEPRECATED);return t&&!_n[i]&&(_n[i]=!0,console.warn(r(i,` has been deprecated since v`+t+` and will be removed in the near future`))),e?e(n,i,a):!0}},gn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function vn(e,t,n){if(typeof e!=`object`)throw new L(`options must be an object`,L.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){let t=e[a],n=t===void 0||o(t,a,e);if(n!==!0)throw new L(`option `+a+` must be `+n,L.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new L(`Unknown option `+a,L.ERR_BAD_OPTION)}}var yn={assertOptions:vn,validators:gn},bn=yn.validators,xn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new ut,response:new ut}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=(()=>{if(!t.stack)return``;let e=t.stack.indexOf(`
7
+ `);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
8
+ `),r=t===-1?-1:n.indexOf(`
9
+ `,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
10
+ `+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Ut(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&yn.assertOptions(n,{silentJSONParsing:bn.transitional(bn.boolean),forcedJSONParsing:bn.transitional(bn.boolean),clarifyTimeoutError:bn.transitional(bn.boolean),legacyInterceptorReqResOrdering:bn.transitional(bn.boolean)},!1),r!=null&&(I.isFunction(r)?t.paramsSerializer={serialize:r}:yn.assertOptions(r,{encode:bn.function,serialize:bn.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),yn.assertOptions(t,{baseUrl:bn.spelling(`baseURL`),withXsrfToken:bn.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&I.merge(i.common,i[t.method]);i&&I.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`query`,`common`],e=>{delete i[e]}),t.headers=Ye.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||dt;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[hn.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=hn.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Ut(this.defaults,e),lt(Vt(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};I.forEach([`delete`,`get`,`head`,`options`],function(e){xn.prototype[e]=function(t,n){return this.request(Ut(n||{},{method:e,url:t,data:(n||{}).data}))}}),I.forEach([`post`,`put`,`patch`,`query`],function(e){function t(t){return function(n,r,i){return this.request(Ut(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}xn.prototype[e]=t(),e!==`query`&&(xn.prototype[e+`Form`]=t(!0))});var Sn=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new kt(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function Cn(e){return function(t){return e.apply(null,t)}}function wn(e){return I.isObject(e)&&e.isAxiosError===!0}var Tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Tn).forEach(([e,t])=>{Tn[t]=e});function En(e){let t=new xn(e),n=r(xn.prototype.request,t);return I.extend(n,xn.prototype,t,{allOwnKeys:!0}),I.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return En(Ut(e,t))},n}var R=En(Et);R.Axios=xn,R.CanceledError=kt,R.CancelToken=Sn,R.isCancel=Ot,R.VERSION=tn,R.toFormData=it,R.AxiosError=L,R.Cancel=R.CanceledError,R.all=function(e){return Promise.all(e)},R.spread=Cn,R.isAxiosError=wn,R.mergeConfig=Ut,R.AxiosHeaders=Ye,R.formToJSON=e=>Ct(I.isHTMLForm(e)?new FormData(e):e),R.getAdapter=pn.getAdapter,R.HttpStatusCode=Tn,R.default=R,R.defaults.withCredentials=!0,R.defaults.headers.common[`X-Requested-With`]=`XMLHttpRequest`,R.defaults.headers.common.Accept=`application/json`,R.interceptors.response.use(e=>e,e=>{let t=e?.response?.status,n=window.location.pathname===`/register`||window.location.pathname===`/login`||window.location.pathname===`/forget-password`||window.location.pathname===`/reset-password`||window.location.pathname===`/verify-email`;if(t===401&&!n){let e=encodeURIComponent(window.location.pathname+window.location.search+window.location.hash);window.location.href=`/login?redirect=${e}`}return Promise.reject(e)});var Dn=R;function On(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var z={},kn=[],An=()=>{},jn=()=>!1,Mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nn=e=>e.startsWith(`onUpdate:`),B=Object.assign,Pn=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},Fn=Object.prototype.hasOwnProperty,V=(e,t)=>Fn.call(e,t),H=Array.isArray,In=e=>Hn(e)===`[object Map]`,Ln=e=>Hn(e)===`[object Set]`,Rn=e=>Hn(e)===`[object Date]`,U=e=>typeof e==`function`,W=e=>typeof e==`string`,zn=e=>typeof e==`symbol`,G=e=>typeof e==`object`&&!!e,Bn=e=>(G(e)||U(e))&&U(e.then)&&U(e.catch),Vn=Object.prototype.toString,Hn=e=>Vn.call(e),Un=e=>Hn(e).slice(8,-1),Wn=e=>Hn(e)===`[object Object]`,Gn=e=>W(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,Kn=On(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),qn=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Jn=/-\w/g,Yn=qn(e=>e.replace(Jn,e=>e.slice(1).toUpperCase())),Xn=/\B([A-Z])/g,Zn=qn(e=>e.replace(Xn,`-$1`).toLowerCase()),Qn=qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),$n=qn(e=>e?`on${Qn(e)}`:``),er=(e,t)=>!Object.is(e,t),tr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},nr=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},rr=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ir,ar=()=>ir||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function or(e){if(H(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=W(r)?ur(r):or(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(W(e)||G(e))return e}var sr=/;(?![^(]*\))/g,cr=/:([^]+)/,lr=/\/\*[^]*?\*\//g;function ur(e){let t={};return e.replace(lr,``).split(sr).forEach(e=>{if(e){let n=e.split(cr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function dr(e){let t=``;if(W(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){let r=dr(e[n]);r&&(t+=r+` `)}else if(G(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var fr=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,pr=On(fr);fr+``;function mr(e){return!!e||e===``}function hr(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=gr(e[r],t[r]);return n}function gr(e,t){if(e===t)return!0;let n=Rn(e),r=Rn(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=zn(e),r=zn(t),n||r)return e===t;if(n=H(e),r=H(t),n||r)return n&&r?hr(e,t):!1;if(n=G(e),r=G(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!gr(e[n],t[n]))return!1}}return String(e)===String(t)}function _r(e,t){return e.findIndex(e=>gr(e,t))}var vr=e=>!!(e&&e.__v_isRef===!0),yr=e=>W(e)?e:e==null?``:H(e)||G(e)&&(e.toString===Vn||!U(e.toString))?vr(e)?yr(e.value):JSON.stringify(e,br,2):String(e),br=(e,t)=>vr(t)?br(e,t.value):In(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[xr(t,r)+` =>`]=n,e),{})}:Ln(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>xr(e))}:zn(t)?xr(t):G(t)&&!H(t)&&!Wn(t)?String(t):t,xr=(e,t=``)=>zn(e)?`Symbol(${e.description??t})`:e,K,Sr=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&K&&(K.active?(this.parent=K,this.index=(K.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=K;try{return K=this,e()}finally{K=t}}}on(){++this._on===1&&(this.prevScope=K,K=this)}off(){if(this._on>0&&--this._on===0){if(K===this)K=this.prevScope;else{let e=K;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Cr(e){return new Sr(e)}function wr(){return K}function Tr(e,t=!1){K&&K.cleanups.push(e)}var q,Er=new WeakSet,Dr=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,K&&(K.active?K.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Er.has(this)&&(Er.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||jr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Wr(this),Pr(this);let e=q,t=Br;q=this,Br=!0;try{return this.fn()}finally{Fr(this),q=e,Br=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Rr(e);this.deps=this.depsTail=void 0,Wr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Er.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ir(this)&&this.run()}get dirty(){return Ir(this)}},Or=0,kr,Ar;function jr(e,t=!1){if(e.flags|=8,t){e.next=Ar,Ar=e;return}e.next=kr,kr=e}function Mr(){Or++}function Nr(){if(--Or>0)return;if(Ar){let e=Ar;for(Ar=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;kr;){let t=kr;for(kr=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Pr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fr(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Rr(r),zr(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ir(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Lr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Lr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gr)||(e.globalVersion=Gr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ir(e))))return;e.flags|=2;let t=e.dep,n=q,r=Br;q=e,Br=!0;try{Pr(e);let n=e.fn(e._value);(t.version===0||er(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{q=n,Br=r,Fr(e),e.flags&=-3}}function Rr(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Rr(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function zr(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Br=!0,Vr=[];function Hr(){Vr.push(Br),Br=!1}function Ur(){let e=Vr.pop();Br=e===void 0?!0:e}function Wr(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=q;q=void 0;try{t()}finally{q=e}}}var Gr=0,Kr=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},qr=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!q||!Br||q===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==q)t=this.activeLink=new Kr(q,this),q.deps?(t.prevDep=q.depsTail,q.depsTail.nextDep=t,q.depsTail=t):q.deps=q.depsTail=t,Jr(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=q.depsTail,t.nextDep=void 0,q.depsTail.nextDep=t,q.depsTail=t,q.deps===t&&(q.deps=e)}return t}trigger(e){this.version++,Gr++,this.notify(e)}notify(e){Mr();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Nr()}}};function Jr(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Jr(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Yr=new WeakMap,Xr=Symbol(``),Zr=Symbol(``),Qr=Symbol(``);function $r(e,t,n){if(Br&&q){let t=Yr.get(e);t||Yr.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new qr),r.map=t,r.key=n),r.track()}}function ei(e,t,n,r,i,a){let o=Yr.get(e);if(!o){Gr++;return}let s=e=>{e&&e.trigger()};if(Mr(),t===`clear`)o.forEach(s);else{let i=H(e),a=i&&Gn(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===Qr||!zn(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(Qr)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Xr)),In(e)&&s(o.get(Zr)));break;case`delete`:i||(s(o.get(Xr)),In(e)&&s(o.get(Zr)));break;case`set`:In(e)&&s(o.get(Xr));break}}Nr()}function ti(e,t){let n=Yr.get(e);return n&&n.get(t)}function ni(e){let t=J(e);return t===e?t:($r(t,`iterate`,Qr),Hi(e)?t:t.map(Gi))}function ri(e){return $r(e=J(e),`iterate`,Qr),e}function ii(e,t){return Vi(e)?Ki(Bi(e)?Gi(t):t):Gi(t)}var ai={__proto__:null,[Symbol.iterator](){return oi(this,Symbol.iterator,e=>ii(this,e))},concat(...e){return ni(this).concat(...e.map(e=>H(e)?ni(e):e))},entries(){return oi(this,`entries`,e=>(e[1]=ii(this,e[1]),e))},every(e,t){return ci(this,`every`,e,t,void 0,arguments)},filter(e,t){return ci(this,`filter`,e,t,e=>e.map(e=>ii(this,e)),arguments)},find(e,t){return ci(this,`find`,e,t,e=>ii(this,e),arguments)},findIndex(e,t){return ci(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return ci(this,`findLast`,e,t,e=>ii(this,e),arguments)},findLastIndex(e,t){return ci(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return ci(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ui(this,`includes`,e)},indexOf(...e){return ui(this,`indexOf`,e)},join(e){return ni(this).join(e)},lastIndexOf(...e){return ui(this,`lastIndexOf`,e)},map(e,t){return ci(this,`map`,e,t,void 0,arguments)},pop(){return di(this,`pop`)},push(...e){return di(this,`push`,e)},reduce(e,...t){return li(this,`reduce`,e,t)},reduceRight(e,...t){return li(this,`reduceRight`,e,t)},shift(){return di(this,`shift`)},some(e,t){return ci(this,`some`,e,t,void 0,arguments)},splice(...e){return di(this,`splice`,e)},toReversed(){return ni(this).toReversed()},toSorted(e){return ni(this).toSorted(e)},toSpliced(...e){return ni(this).toSpliced(...e)},unshift(...e){return di(this,`unshift`,e)},values(){return oi(this,`values`,e=>ii(this,e))}};function oi(e,t,n){let r=ri(e),i=r[t]();return r!==e&&!Hi(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var si=Array.prototype;function ci(e,t,n,r,i,a){let o=ri(e),s=o!==e&&!Hi(e),c=o[t];if(c!==si[t]){let t=c.apply(e,a);return s?Gi(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,ii(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function li(e,t,n,r){let i=ri(e),a=i!==e&&!Hi(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=ii(e,t)),n.call(this,t,ii(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?ii(e,c):c}function ui(e,t,n){let r=J(e);$r(r,`iterate`,Qr);let i=r[t](...n);return(i===-1||i===!1)&&Ui(n[0])?(n[0]=J(n[0]),r[t](...n)):i}function di(e,t,n=[]){Hr(),Mr();let r=J(e)[t].apply(e,n);return Nr(),Ur(),r}var fi=On(`__proto__,__v_isRef,__isVue`),pi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(zn));function mi(e){zn(e)||(e=String(e));let t=J(this);return $r(t,`has`,e),t.hasOwnProperty(e)}var hi=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Ni:Mi:i?ji:Ai).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=H(e);if(!r){let e;if(a&&(e=ai[t]))return e;if(t===`hasOwnProperty`)return mi}let o=Reflect.get(e,t,Y(e)?e:n);if((zn(t)?pi.has(t):fi(t))||(r||$r(e,`get`,t),i))return o;if(Y(o)){let e=a&&Gn(t)?o:o.value;return r&&G(e)?Ri(e):e}return G(o)?r?Ri(o):Ii(o):o}},gi=class extends hi{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=H(e)&&Gn(t);if(!this._isShallow){let e=Vi(i);if(!Hi(n)&&!Vi(n)&&(i=J(i),n=J(n)),!a&&Y(i)&&!Y(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:V(e,t),s=Reflect.set(e,t,n,Y(e)?e:r);return e===J(r)&&(o?er(n,i)&&ei(e,`set`,t,n,i):ei(e,`add`,t,n)),s}deleteProperty(e,t){let n=V(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&ei(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!zn(t)||!pi.has(t))&&$r(e,`has`,t),n}ownKeys(e){return $r(e,`iterate`,H(e)?`length`:Xr),Reflect.ownKeys(e)}},_i=class extends hi{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},vi=new gi,yi=new _i,bi=new gi(!0),xi=e=>e,Si=e=>Reflect.getPrototypeOf(e);function Ci(e,t,n){return function(...r){let i=this.__v_raw,a=J(i),o=In(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?xi:t?Ki:Gi;return!t&&$r(a,`iterate`,c?Zr:Xr),B(Object.create(l),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}function wi(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Ti(e,t){let n={get(n){let r=this.__v_raw,i=J(r),a=J(n);e||(er(n,a)&&$r(i,`get`,n),$r(i,`get`,a));let{has:o}=Si(i),s=t?xi:e?Ki:Gi;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&$r(J(t),`iterate`,Xr),t.size},has(t){let n=this.__v_raw,r=J(n),i=J(t);return e||(er(t,i)&&$r(r,`has`,t),$r(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=J(a),s=t?xi:e?Ki:Gi;return!e&&$r(o,`iterate`,Xr),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return B(n,e?{add:wi(`add`),set:wi(`set`),delete:wi(`delete`),clear:wi(`clear`)}:{add(e){let n=J(this),r=Si(n),i=J(e),a=!t&&!Hi(e)&&!Vi(e)?i:e;return r.has.call(n,a)||er(e,a)&&r.has.call(n,e)||er(i,a)&&r.has.call(n,i)||(n.add(a),ei(n,`add`,a,a)),this},set(e,n){!t&&!Hi(n)&&!Vi(n)&&(n=J(n));let r=J(this),{has:i,get:a}=Si(r),o=i.call(r,e);o||=(e=J(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?er(n,s)&&ei(r,`set`,e,n,s):ei(r,`add`,e,n),this},delete(e){let t=J(this),{has:n,get:r}=Si(t),i=n.call(t,e);i||=(e=J(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&ei(t,`delete`,e,void 0,a),o},clear(){let e=J(this),t=e.size!==0,n=e.clear();return t&&ei(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ci(r,e,t)}),n}function Ei(e,t){let n=Ti(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(V(n,r)&&r in t?n:t,r,i)}var Di={get:Ei(!1,!1)},Oi={get:Ei(!1,!0)},ki={get:Ei(!0,!1)},Ai=new WeakMap,ji=new WeakMap,Mi=new WeakMap,Ni=new WeakMap;function Pi(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Fi(e){return e.__v_skip||!Object.isExtensible(e)?0:Pi(Un(e))}function Ii(e){return Vi(e)?e:zi(e,!1,vi,Di,Ai)}function Li(e){return zi(e,!1,bi,Oi,ji)}function Ri(e){return zi(e,!0,yi,ki,Mi)}function zi(e,t,n,r,i){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=Fi(e);if(a===0)return e;let o=i.get(e);if(o)return o;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Bi(e){return Vi(e)?Bi(e.__v_raw):!!(e&&e.__v_isReactive)}function Vi(e){return!!(e&&e.__v_isReadonly)}function Hi(e){return!!(e&&e.__v_isShallow)}function Ui(e){return e?!!e.__v_raw:!1}function J(e){let t=e&&e.__v_raw;return t?J(t):e}function Wi(e){return!V(e,`__v_skip`)&&Object.isExtensible(e)&&nr(e,`__v_skip`,!0),e}var Gi=e=>G(e)?Ii(e):e,Ki=e=>G(e)?Ri(e):e;function Y(e){return e?e.__v_isRef===!0:!1}function qi(e){return Yi(e,!1)}function Ji(e){return Yi(e,!0)}function Yi(e,t){return Y(e)?e:new Xi(e,t)}var Xi=class{constructor(e,t){this.dep=new qr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:J(e),this._value=t?e:Gi(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||Hi(e)||Vi(e);e=n?e:J(e),er(e,t)&&(this._rawValue=e,this._value=n?e:Gi(e),this.dep.trigger())}};function Zi(e){return Y(e)?e.value:e}var Qi={get:(e,t,n)=>t===`__v_raw`?e:Zi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return Y(i)&&!Y(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function $i(e){return Bi(e)?e:new Proxy(e,Qi)}var ea=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new qr,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function ta(e){return new ea(e)}function na(e){let t=H(e)?Array(e.length):{};for(let n in e)t[n]=oa(e,n);return t}var ra=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=zn(t)?t:String(t),this._raw=J(e);let r=!0,i=e;if(!H(e)||zn(this._key)||!Gn(this._key))do r=!Ui(i)||Hi(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=Zi(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&Y(this._raw[this._key])){let t=this._object[this._key];if(Y(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return ti(this._raw,this._key)}},ia=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function aa(e,t,n){return Y(e)?e:U(e)?new ia(e):G(e)&&arguments.length>1?oa(e,t,n):qi(e)}function oa(e,t,n){return new ra(e,t,n)}var sa=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new qr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return jr(this,!0),!0}get value(){let e=this.dep.track();return Lr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function ca(e,t,n=!1){let r,i;return U(e)?r=e:(r=e.get,i=e.set),new sa(r,i,n)}var la={},ua=new WeakMap,da=void 0;function fa(e,t=!1,n=da){if(n){let t=ua.get(n);t||ua.set(n,t=[]),t.push(e)}}function pa(e,t,n=z){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:c}=n,l=e=>i?e:Hi(e)||i===!1||i===0?ma(e,1):ma(e),u,d,f,p,m=!1,h=!1;if(Y(e)?(d=()=>e.value,m=Hi(e)):Bi(e)?(d=()=>l(e),m=!0):H(e)?(h=!0,m=e.some(e=>Bi(e)||Hi(e)),d=()=>e.map(e=>{if(Y(e))return e.value;if(Bi(e))return l(e);if(U(e))return c?c(e,2):e()})):d=U(e)?t?c?()=>c(e,2):e:()=>{if(f){Hr();try{f()}finally{Ur()}}let t=da;da=u;try{return c?c(e,3,[p]):e(p)}finally{da=t}}:An,t&&i){let e=d,t=i===!0?1/0:i;d=()=>ma(e(),t)}let g=wr(),_=()=>{u.stop(),g&&g.active&&Pn(g.effects,u)};if(a&&t){let e=t;t=(...t)=>{e(...t),_()}}let v=h?Array(e.length).fill(la):la,y=e=>{if(!(!(u.flags&1)||!u.dirty&&!e))if(t){let e=u.run();if(i||m||(h?e.some((e,t)=>er(e,v[t])):er(e,v))){f&&f();let n=da;da=u;try{let n=[e,v===la?void 0:h&&v[0]===la?[]:v,p];v=e,c?c(t,3,n):t(...n)}finally{da=n}}}else u.run()};return s&&s(y),u=new Dr(d),u.scheduler=o?()=>o(y,!1):y,p=e=>fa(e,!1,u),f=u.onStop=()=>{let e=ua.get(u);if(e){if(c)c(e,4);else for(let t of e)t();ua.delete(u)}},t?r?y(!0):v=u.run():o?o(y.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function ma(e,t=1/0,n){if(t<=0||!G(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Y(e))ma(e.value,t,n);else if(H(e))for(let r=0;r<e.length;r++)ma(e[r],t,n);else if(Ln(e)||In(e))e.forEach(e=>{ma(e,t,n)});else if(Wn(e)){for(let r in e)ma(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ma(e[r],t,n)}return e}function ha(e,t,n,r){try{return r?e(...r):e()}catch(e){_a(e,t,n)}}function ga(e,t,n,r){if(U(e)){let i=ha(e,t,n,r);return i&&Bn(i)&&i.catch(e=>{_a(e,t,n)}),i}if(H(e)){let i=[];for(let a=0;a<e.length;a++)i.push(ga(e[a],t,n,r));return i}}function _a(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||z;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){Hr(),ha(a,null,10,[e,i,o]),Ur();return}}va(e,n,i,r,o)}function va(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var ya=[],ba=-1,xa=[],Sa=null,Ca=0,wa=Promise.resolve(),Ta=null;function Ea(e){let t=Ta||wa;return e?t.then(this?e.bind(this):e):t}function Da(e){let t=ba+1,n=ya.length;for(;t<n;){let r=t+n>>>1,i=ya[r],a=Na(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Oa(e){if(!(e.flags&1)){let t=Na(e),n=ya[ya.length-1];!n||!(e.flags&2)&&t>=Na(n)?ya.push(e):ya.splice(Da(t),0,e),e.flags|=1,ka()}}function ka(){Ta||=wa.then(Pa)}function Aa(e){H(e)?xa.push(...e):Sa&&e.id===-1?Sa.splice(Ca+1,0,e):e.flags&1||(xa.push(e),e.flags|=1),ka()}function ja(e,t,n=ba+1){for(;n<ya.length;n++){let t=ya[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;ya.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function Ma(e){if(xa.length){let e=[...new Set(xa)].sort((e,t)=>Na(e)-Na(t));if(xa.length=0,Sa){Sa.push(...e);return}for(Sa=e,Ca=0;Ca<Sa.length;Ca++){let e=Sa[Ca];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}Sa=null,Ca=0}}var Na=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Pa(e){try{for(ba=0;ba<ya.length;ba++){let e=ya[ba];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ha(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;ba<ya.length;ba++){let e=ya[ba];e&&(e.flags&=-2)}ba=-1,ya.length=0,Ma(e),Ta=null,(ya.length||xa.length)&&Pa(e)}}var Fa=null,Ia=null;function La(e){let t=Fa;return Fa=e,Ia=e&&e.type.__scopeId||null,t}function Ra(e,t=Fa,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&bc(-1);let i=La(t),a;try{a=e(...n)}finally{La(i),r._d&&bc(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function za(e,t){if(Fa===null)return e;let n=ol(Fa),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=z]=t[e];i&&(U(i)&&(i={mounted:i,updated:i}),i.deep&&ma(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function Ba(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Hr(),ga(c,n,8,[e.el,s,e,t]),Ur())}}function Va(e,t){if(Wc){let n=Wc.provides,r=Wc.parent&&Wc.parent.provides;r===n&&(n=Wc.provides=Object.create(r)),n[e]=t}}function Ha(e,t,n=!1){let r=Gc();if(r||bs){let i=bs?bs._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&U(t)?t.call(r&&r.proxy):t}}function Ua(){return!!(Gc()||bs)}var Wa=Symbol.for(`v-scx`),Ga=()=>Ha(Wa);function Ka(e,t){return Ya(e,null,t)}function qa(e,t){return Ya(e,null,{flush:`sync`})}function Ja(e,t,n){return Ya(e,t,n)}function Ya(e,t,n=z){let{immediate:r,deep:i,flush:a,once:o}=n,s=B({},n),c=t&&r||!t&&a!==`post`,l;if(Zc){if(a===`sync`){let e=Ga();l=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=An,e.resume=An,e.pause=An,e}}let u=Wc;s.call=(e,t,n)=>ga(e,u,t,n);let d=!1;a===`post`?s.scheduler=e=>{Qs(e,u&&u.suspense)}:a!==`sync`&&(d=!0,s.scheduler=(e,t)=>{t?e():Oa(e)}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};let f=pa(e,t,s);return Zc&&(l?l.push(f):c&&f()),f}function Xa(e,t,n){let r=this.proxy,i=W(e)?e.includes(`.`)?Za(r,e):()=>r[e]:e.bind(r,r),a;U(t)?a=t:(a=t.handler,n=t);let o=Jc(this),s=Ya(i,a.bind(r),n);return o(),s}function Za(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var Qa=new WeakMap,$a=Symbol(`_vte`),eo=e=>e.__isTeleport,to=e=>e&&(e.disabled||e.disabled===``),no=e=>e&&(e.defer||e.defer===``),ro=e=>typeof SVGElement<`u`&&e instanceof SVGElement,io=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,ao=(e,t)=>{let n=e&&e.to;return W(n)?t?t(n):null:n},oo={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=to(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=to(e.props),r=e.target=ao(e.props,m),a=fo(r,e,h,p);r&&(o!==`svg`&&ro(r)?o=`svg`:o!==`mathml`&&io(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),uo(e,!1)))},S=e=>{let t=()=>{Qa.get(e)===t&&(Qa.delete(e),to(e.props)&&(b(e,_(e.el)||n,e.anchor),uo(e,!0)),x(e))};Qa.set(e,t),Qs(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),no(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),uo(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=Qa.get(e);if(u){u.flags|=8,Qa.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=to(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||ro(p)?o=`svg`:(o===`mathml`||io(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),ic(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):so(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=ao(t.props,m);e&&so(t,e,null,l,0)}else g&&so(t,p,h,l,1);uo(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=a||!to(f),m=Qa.get(e);if(m&&(m.flags|=8,Qa.delete(e),p=!1),d&&(i(l),i(u)),a&&i(c),o&16)for(let e=0;e<s.length;e++){let i=s[e];r(i,t,n,p,!!i.dynamicChildren)}},move:so,hydrate:co};function so(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),!Qa.has(e)&&(!d||to(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function co(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,n){let r=n;for(;r;){if(r&&r.nodeType===8){if(r.data===`teleport start anchor`)t.targetStart=r;else if(r.data===`teleport anchor`){t.targetAnchor=r,e._lpa=t.targetAnchor&&o(t.targetAnchor);break}}r=o(r)}}function p(e,t){t.anchor=d(o(e),t,s(e),n,r,i,a)}let m=t.target=ao(t.props,c),h=to(t.props);if(m){let c=m._lpa||m.firstChild;t.shapeFlag&16&&(h?(p(e,t),f(m,c),t.targetAnchor||fo(m,t,u,l,s(e)===m?e:null)):(t.anchor=o(e),f(m,c),t.targetAnchor||fo(m,t,u,l),d(c&&o(c),t,m,n,r,i,a))),uo(t,h)}else h&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}var lo=oo;function uo(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function fo(e,t,n,r,i=null){let a=t.targetStart=n(``),o=t.targetAnchor=n(``);return a[$a]=o,e&&(r(a,e,i),r(o,e,i)),o}var po=Symbol(`_leaveCb`);function mo(e,t){e.shapeFlag&6&&e.component?(e.transition=t,mo(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 ho(e,t){return U(e)?B({name:e.name},t,{setup:e}):e}function go(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function _o(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var vo=new WeakMap;function yo(e,t,n,r,i=!1){if(H(e)){e.forEach((e,a)=>yo(e,t&&(H(t)?t[a]:t),n,r,i));return}if(xo(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&yo(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?ol(r.component):r.el,o=i?null:a,{i:s,r:c}=e,l=t&&t.r,u=s.refs===z?s.refs={}:s.refs,d=s.setupState,f=J(d),p=d===z?jn:e=>_o(u,e)?!1:V(f,e),m=(e,t)=>!(t&&_o(u,t));if(l!=null&&l!==c){if(bo(t),W(l))u[l]=null,p(l)&&(d[l]=null);else if(Y(l)){let e=t;m(l,e.k)&&(l.value=null),e.k&&(u[e.k]=null)}}if(U(c))ha(c,s,12,[o,u]);else{let t=W(c),r=Y(c);if(t||r){let s=()=>{if(e.f){let n=t?p(c)?d[c]:u[c]:m(c)||!e.k?c.value:u[e.k];if(i)H(n)&&Pn(n,a);else if(H(n))n.includes(a)||n.push(a);else if(t)u[c]=[a],p(c)&&(d[c]=u[c]);else{let t=[a];m(c,e.k)&&(c.value=t),e.k&&(u[e.k]=t)}}else t?(u[c]=o,p(c)&&(d[c]=o)):r&&(m(c,e.k)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){let t=()=>{s(),vo.delete(e)};t.id=-1,vo.set(e,t),Qs(t,n)}else bo(e),s()}}}function bo(e){let t=vo.get(e);t&&(t.flags|=8,vo.delete(e))}ar().requestIdleCallback,ar().cancelIdleCallback;var xo=e=>!!e.type.__asyncLoader,So=e=>e.type.__isKeepAlive;function Co(e,t){To(e,`a`,t)}function wo(e,t){To(e,`da`,t)}function To(e,t,n=Wc){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Do(t,r,n),n){let e=n.parent;for(;e&&e.parent;)So(e.parent.vnode)&&Eo(r,t,n,e),e=e.parent}}function Eo(e,t,n,r){let i=Do(t,e,r,!0);Po(()=>{Pn(r[t],i)},n)}function Do(e,t,n=Wc,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Hr();let i=Jc(n),a=ga(t,n,e,r);return i(),Ur(),a};return r?i.unshift(a):i.push(a),a}}var Oo=e=>(t,n=Wc)=>{(!Zc||e===`sp`)&&Do(e,(...e)=>t(...e),n)},ko=Oo(`bm`),Ao=Oo(`m`),jo=Oo(`bu`),Mo=Oo(`u`),No=Oo(`bum`),Po=Oo(`um`),Fo=Oo(`sp`),Io=Oo(`rtg`),Lo=Oo(`rtc`);function Ro(e,t=Wc){Do(`ec`,e,t)}var zo=`components`;function Bo(e,t){return Ho(zo,e,!0,t)||e}var Vo=Symbol.for(`v-ndc`);function Ho(e,t,n=!0,r=!1){let i=Fa||Wc;if(i){let n=i.type;if(e===zo){let e=sl(n,!1);if(e&&(e===t||e===Yn(t)||e===Qn(Yn(t))))return n}let a=Uo(i[e]||n[e],t)||Uo(i.appContext[e],t);return!a&&r?n:a}}function Uo(e,t){return e&&(e[t]||e[Yn(t)]||e[Qn(Yn(t))])}function Wo(e,t,n,r){let i,a=n&&n[r],o=H(e);if(o||W(e)){let n=o&&Bi(e),r=!1,s=!1;n&&(r=!Hi(e),s=Vi(e),e=ri(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Ki(Gi(e[n])):Gi(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(G(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function Go(e,t,n={},r,i){if(Fa.ce||Fa.parent&&xo(Fa.parent)&&Fa.parent.ce){let e=Object.keys(n).length>0;return t!==`default`&&(n.name=t),_c(),Cc(dc,null,[kc(`slot`,n,r&&r())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),_c();let o=a&&Ko(a(n)),s=n.key||o&&o.key,c=Cc(dc,{key:(s&&!zn(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function Ko(e){return e.some(e=>wc(e)?!(e.type===pc||e.type===dc&&!Ko(e.children)):!0)?e:null}var qo=e=>e?Xc(e)?ol(e):qo(e.parent):null,Jo=B(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=>qo(e.parent),$root:e=>qo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||=()=>{Oa(e.update)},$nextTick:e=>e.n||=Ea.bind(e.proxy),$watch:e=>Xa.bind(e)}),Yo=(e,t)=>e!==z&&!e.__isScriptSetup&&V(e,t),Xo={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:c}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(Yo(r,t))return o[t]=1,r[t];else if(i!==z&&V(i,t))return o[t]=2,i[t];else if(V(a,t))return o[t]=3,a[t];else if(n!==z&&V(n,t))return o[t]=4,n[t];else ns&&(o[t]=0)}let l=Jo[t],u,d;if(l)return t===`$attrs`&&$r(e.attrs,`get`,``),l(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==z&&V(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,V(d,t))return d[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return Yo(i,t)?(i[t]=n,!0):r!==z&&V(r,t)?(r[t]=n,!0):V(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||e!==z&&s[0]!==`$`&&V(e,s)||Yo(t,s)||V(a,s)||V(r,s)||V(Jo,s)||V(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?V(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function Zo(){return $o(`useSlots`).slots}function Qo(){return $o(`useAttrs`).attrs}function $o(e){let t=Gc();return t.setupContext||=al(t)}function es(e){return H(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function ts(e,t){return!e||!t?e||t:H(e)&&H(t)?e.concat(t):B({},es(e),es(t))}var ns=!0;function rs(e){let t=ss(e),n=e.proxy,r=e.ctx;ns=!1,t.beforeCreate&&as(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:h,deactivated:g,beforeDestroy:_,beforeUnmount:v,destroyed:y,unmounted:b,render:x,renderTracked:S,renderTriggered:C,errorCaptured:w,serverPrefetch:T,expose:E,inheritAttrs:D,components:O,directives:k,filters:ee}=t;if(l&&is(l,r,null),o)for(let e in o){let t=o[e];U(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);G(t)&&(e.data=Ii(t))}if(ns=!0,a)for(let e in a){let t=a[e],i=ll({get:U(t)?t.bind(n,n):U(t.get)?t.get.bind(n,n):An,set:!U(t)&&U(t.set)?t.set.bind(n):An});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)os(s[e],r,n,e);if(c){let e=U(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{Va(t,e[t])})}u&&as(u,e,`c`);function A(e,t){H(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(A(ko,d),A(Ao,f),A(jo,p),A(Mo,m),A(Co,h),A(wo,g),A(Ro,w),A(Lo,S),A(Io,C),A(No,v),A(Po,b),A(Fo,T),H(E))if(E.length){let t=e.exposed||={};E.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};x&&e.render===An&&(e.render=x),D!=null&&(e.inheritAttrs=D),O&&(e.components=O),k&&(e.directives=k),T&&go(e)}function is(e,t,n=An){H(e)&&(e=fs(e));for(let n in e){let r=e[n],i;i=G(r)?`default`in r?Ha(r.from||n,r.default,!0):Ha(r.from||n):Ha(r),Y(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function as(e,t,n){ga(H(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function os(e,t,n,r){let i=r.includes(`.`)?Za(n,r):()=>n[r];if(W(e)){let n=t[e];U(n)&&Ja(i,n)}else if(U(e))Ja(i,e.bind(n));else if(G(e))if(H(e))e.forEach(e=>os(e,t,n,r));else{let r=U(e.handler)?e.handler.bind(n):t[e.handler];U(r)&&Ja(i,r,e)}}function ss(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>cs(c,e,o,!0)),cs(c,t,o)),G(t)&&a.set(t,c),c}function cs(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&cs(e,a,n,!0),i&&i.forEach(t=>cs(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=ls[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var ls={data:us,props:hs,emits:hs,methods:ms,computed:ms,beforeCreate:ps,created:ps,beforeMount:ps,mounted:ps,beforeUpdate:ps,updated:ps,beforeDestroy:ps,beforeUnmount:ps,destroyed:ps,unmounted:ps,activated:ps,deactivated:ps,errorCaptured:ps,serverPrefetch:ps,components:ms,directives:ms,watch:gs,provide:us,inject:ds};function us(e,t){return t?e?function(){return B(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function ds(e,t){return ms(fs(e),fs(t))}function fs(e){if(H(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ps(e,t){return e?[...new Set([].concat(e,t))]:t}function ms(e,t){return e?B(Object.create(null),e,t):t}function hs(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:B(Object.create(null),es(e),es(t??{})):t}function gs(e,t){if(!e)return t;if(!t)return e;let n=B(Object.create(null),e);for(let r in t)n[r]=ps(e[r],t[r]);return n}function _s(){return{app:null,config:{isNativeTag:jn,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}}var vs=0;function ys(e,t){return function(n,r=null){U(n)||(n=B({},n)),r!=null&&!G(r)&&(r=null);let i=_s(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:vs++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:dl,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&U(e.install)?(a.add(e),e.install(c,...t)):U(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||kc(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,ol(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(ga(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=bs;bs=c;try{return e()}finally{bs=t}}};return c}}var bs=null;function xs(e,t,n=z){let r=Gc(),i=Yn(t),a=Zn(t),o=Ss(e,i),s=ta((o,s)=>{let c,l=z,u;return qa(()=>{let t=e[i];er(c,t)&&(c=t,s())}),{get(){return o(),n.get?n.get(c):c},set(e){let o=n.set?n.set(e):e;if(!er(o,c)&&!(l!==z&&er(e,l)))return;let d=r.vnode.props;d&&(t in d||i in d||a in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${a}`in d)||(c=e,s()),r.emit(`update:${t}`,o),er(e,o)&&er(e,l)&&!er(o,u)&&s(),l=e,u=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||z:s,done:!1}:{done:!0}}}},s}var Ss=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${Yn(t)}Modifiers`]||e[`${Zn(t)}Modifiers`];function Cs(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||z,i=n,a=t.startsWith(`update:`),o=a&&Ss(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>W(e)?e.trim():e)),o.number&&(i=n.map(rr)));let s,c=r[s=$n(t)]||r[s=$n(Yn(t))];!c&&a&&(c=r[s=$n(Zn(t))]),c&&ga(c,e,6,i);let l=r[s+`Once`];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ga(l,e,6,i)}}var ws=new WeakMap;function Ts(e,t,n=!1){let r=n?ws:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!U(e)){let r=e=>{let n=Ts(e,t,!0);n&&(s=!0,B(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(G(e)&&r.set(e,null),null):(H(a)?a.forEach(e=>o[e]=null):B(o,a),G(e)&&r.set(e,o),o)}function Es(e,t){return!e||!Mn(t)?!1:(t=t.slice(2).replace(/Once$/,``),V(e,t[0].toLowerCase()+t.slice(1))||V(e,Zn(t))||V(e,t))}function Ds(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:p,ctx:m,inheritAttrs:h}=e,g=La(e),_,v;try{if(n.shapeFlag&4){let e=i||r,t=e;_=Ic(l.call(t,e,u,d,p,f,m)),v=s}else{let e=t;_=Ic(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),v=t.props?s:Os(s)}}catch(t){hc.length=0,_a(t,e,1),_=kc(pc)}let y=_;if(v&&h!==!1){let e=Object.keys(v),{shapeFlag:t}=y;e.length&&t&7&&(a&&e.some(Nn)&&(v=ks(v,a)),y=Mc(y,v,!1,!0))}return n.dirs&&(y=Mc(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&mo(y,n.transition),_=y,La(g),_}var Os=e=>{let t;for(let n in e)(n===`class`||n===`style`||Mn(n))&&((t||={})[n]=e[n]);return t},ks=(e,t)=>{let n={};for(let r in e)(!Nn(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function As(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?js(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Ms(o,r,n)&&!Es(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?js(r,o,l):!0:!!o;return!1}function js(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Ms(t,e,a)&&!Es(n,a))return!0}return!1}function Ms(e,t,n){let r=e[n],i=t[n];return n===`style`&&G(r)&&G(i)?!gr(r,i):r!==i}function Ns({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Ps={},Fs=()=>Object.create(Ps),Is=e=>Object.getPrototypeOf(e)===Ps;function Ls(e,t,n,r=!1){let i={},a=Fs();e.propsDefaults=Object.create(null),zs(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Li(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Rs(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=J(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Es(e.emitsOptions,o))continue;let u=t[o];if(c)if(V(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=Yn(o);i[t]=Bs(c,s,t,u,e,!1)}else u!==a[o]&&(a[o]=u,l=!0)}}}else{zs(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!V(t,a)&&((r=Zn(a))===a||!V(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Bs(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!V(t,e))&&(delete a[e],l=!0)}l&&ei(e.attrs,`set`,``)}function zs(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(Kn(c))continue;let l=t[c],u;i&&V(i,u=Yn(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:Es(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=J(n),r=s||z;for(let o=0;o<a.length;o++){let s=a[o];n[s]=Bs(i,t,s,r[s],e,!V(r,s))}}return o}function Bs(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=V(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&U(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Jc(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===Zn(n))&&(r=!0))}return r}var Vs=new WeakMap;function Hs(e,t,n=!1){let r=n?Vs:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],c=!1;if(!U(e)){let r=e=>{c=!0;let[n,r]=Hs(e,t,!0);B(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return G(e)&&r.set(e,kn),kn;if(H(a))for(let e=0;e<a.length;e++){let t=Yn(a[e]);Us(t)&&(o[t]=z)}else if(a)for(let e in a){let t=Yn(e);if(Us(t)){let n=a[e],r=o[t]=H(n)||U(n)?{type:n}:B({},n),i=r.type,c=!1,l=!0;if(H(i))for(let e=0;e<i.length;++e){let t=i[e],n=U(t)&&t.name;if(n===`Boolean`){c=!0;break}else n===`String`&&(l=!1)}else c=U(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||V(r,`default`))&&s.push(t)}}let l=[o,s];return G(e)&&r.set(e,l),l}function Us(e){return e[0]!==`$`&&!Kn(e)}var Ws=e=>e===`_`||e===`_ctx`||e===`$stable`,Gs=e=>H(e)?e.map(Ic):[Ic(e)],Ks=(e,t,n)=>{if(t._n)return t;let r=Ra((...e)=>Gs(t(...e)),n);return r._c=!1,r},qs=(e,t,n)=>{let r=e._ctx;for(let n in e){if(Ws(n))continue;let i=e[n];if(U(i))t[n]=Ks(n,i,r);else if(i!=null){let e=Gs(i);t[n]=()=>e}}},Js=(e,t)=>{let n=Gs(t);e.slots.default=()=>n},Ys=(e,t,n)=>{for(let r in t)(n||!Ws(r))&&(e[r]=t[r])},Xs=(e,t,n)=>{let r=e.slots=Fs();if(e.vnode.shapeFlag&32){let e=t._;e?(Ys(r,t,n),n&&nr(r,`_`,e,!0)):qs(t,r)}else t&&Js(e,t)},Zs=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=z;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:Ys(i,t,n):(a=!t.$stable,qs(t,i)),o=t}else t&&(Js(e,t),o={default:1});if(a)for(let e in i)!Ws(e)&&o[e]==null&&delete i[e]},Qs=uc;function $s(e){return ec(e)}function ec(e,t){let n=ar();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:l,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=An,insertStaticContent:m}=e,h=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Tc(e,t)&&(r=F(e),ae(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case fc:g(e,t,n,r);break;case pc:_(e,t,n,r);break;case mc:e??v(t,n,r,o);break;case dc:O(e,t,n,r,i,a,o,s,c);break;default:d&1?x(e,t,n,r,i,a,o,s,c):d&6?k(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,ue)}u!=null&&i?yo(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&yo(e.ref,null,a,e,!0)},g=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},_=(e,t,n,i)=>{e==null?r(t.el=c(t.children||``),n,i):t.el=e.el},v=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},y=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=f(e),r(e,n,i),e=a;r(t,n,i)},b=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),i(e),e=n;i(t)},x=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)S(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),T(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},S=(e,t,n,i,s,c,l,d)=>{let f,p,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(f=e.el=o(e.type,c,m&&m.is,m),h&8?u(f,e.children):h&16&&w(e.children,f,null,i,s,tc(e,c),l,d),_&&Ba(e,null,i,`created`),C(f,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!Kn(e)&&a(f,e,null,m[e],c,i);`value`in m&&a(f,`value`,null,m.value,c),(p=m.onVnodeBeforeMount)&&Bc(p,i,e)}_&&Ba(e,null,i,`beforeMount`);let v=rc(s,g);v&&g.beforeEnter(f),r(f,t,n),((p=m&&m.onVnodeMounted)||v||_)&&Qs(()=>{try{p&&Bc(p,i,e),v&&g.enter(f),_&&Ba(e,null,i,`mounted`)}finally{}},s)},C=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(let t=0;t<r.length;t++)p(e,r[t]);if(i){let n=i.subTree;if(t===n||lc(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;C(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},w=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++)h(null,e[l]=s?Lc(e[l]):Ic(e[l]),t,n,r,i,a,o,s)},T=(e,t,n,r,i,o,s)=>{let c=t.el=e.el,{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=e.patchFlag&16;let p=e.props||z,m=t.props||z,h;if(n&&nc(n,!1),(h=m.onVnodeBeforeUpdate)&&Bc(h,n,t,e),f&&Ba(t,e,n,`beforeUpdate`),n&&nc(n,!0),(p.innerHTML&&m.innerHTML==null||p.textContent&&m.textContent==null)&&u(c,``),d?E(e.dynamicChildren,d,c,n,r,tc(t,i),o):s||ne(e,t,c,null,n,r,tc(t,i),o,!1),l>0){if(l&16)D(c,p,m,n,i);else if(l&2&&p.class!==m.class&&a(c,`class`,null,m.class,i),l&4&&a(c,`style`,p.style,m.style,i),l&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=p[r],s=m[r];(s!==o||r===`value`)&&a(c,r,o,s,i,n)}}l&1&&e.children!==t.children&&u(c,t.children)}else !s&&d==null&&D(c,p,m,n,i);((h=m.onVnodeUpdated)||f)&&Qs(()=>{h&&Bc(h,n,t,e),f&&Ba(t,e,n,`updated`)},r)},E=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s];h(c,l,c.el&&(c.type===dc||!Tc(c,l)||c.shapeFlag&198)?d(c.el):n,null,r,i,a,o,!0)}},D=(e,t,n,r,i)=>{if(t!==n){if(t!==z)for(let o in t)!Kn(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(Kn(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},O=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),w(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(E(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&ic(e,t,!0)):ne(e,t,n,f,a,o,c,l,u)},k=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):ee(t,n,r,i,a,o,c):A(e,t,c)},ee=(e,t,n,r,i,a,o)=>{let s=e.component=Uc(e,r,i);if(So(e)&&(s.ctx.renderer=ue),Qc(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,j,o),!e.el){let r=s.subTree=kc(pc);_(null,r,t,n),e.placeholder=r.el}}else j(s,e,t,n,i,a,o)},A=(e,t,n)=>{let r=t.component=e.component;if(As(e,t,n))if(r.asyncDep&&!r.asyncResolved){te(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},j=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=oc(e);if(n){t&&(t.el=c.el,te(e,t,o)),n.asyncDep.then(()=>{Qs(()=>{e.isUnmounted||l()},i)});return}}let u=t,f;nc(e,!1),t?(t.el=c.el,te(e,t,o)):t=c,n&&tr(n),(f=t.props&&t.props.onVnodeBeforeUpdate)&&Bc(f,s,t,c),nc(e,!0);let p=Ds(e),m=e.subTree;e.subTree=p,h(m,p,d(m.el),F(m),e,i,a),t.el=p.el,u===null&&Ns(e,p.el),r&&Qs(r,i),(f=t.props&&t.props.onVnodeUpdated)&&Qs(()=>Bc(f,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=xo(t);if(nc(e,!1),l&&tr(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Bc(o,d,t),nc(e,!0),s&&fe){let t=()=>{e.subTree=Ds(e),fe(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Ds(e);h(null,o,n,r,e,i,a),t.el=o.el}if(u&&Qs(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;Qs(()=>Bc(o,d,e),i)}(t.shapeFlag&256||d&&xo(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&Qs(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Dr(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Oa(u),nc(e,!0),l()},te=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Rs(e,t.props,r,n),Zs(e,t.children,n),Hr(),ja(e),Ur()},ne=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:m}=t;if(p>0){if(p&128){re(l,f,n,r,i,a,o,s,c);return}else if(p&256){M(l,f,n,r,i,a,o,s,c);return}}m&8?(d&16&&P(l,i,a),f!==l&&u(n,f)):d&16?m&16?re(l,f,n,r,i,a,o,s,c):P(l,i,a,!0):(d&8&&u(n,``),m&16&&w(f,n,r,i,a,o,s,c))},M=(e,t,n,r,i,a,o,s,c)=>{e||=kn,t||=kn;let l=e.length,u=t.length,d=Math.min(l,u),f;for(f=0;f<d;f++){let r=t[f]=c?Lc(t[f]):Ic(t[f]);h(e[f],r,n,null,i,a,o,s,c)}l>u?P(e,i,a,!0,!1,d):w(t,n,r,i,a,o,s,c,d)},re=(e,t,n,r,i,a,o,s,c)=>{let l=0,u=t.length,d=e.length-1,f=u-1;for(;l<=d&&l<=f;){let r=e[l],u=t[l]=c?Lc(t[l]):Ic(t[l]);if(Tc(r,u))h(r,u,n,null,i,a,o,s,c);else break;l++}for(;l<=d&&l<=f;){let r=e[d],l=t[f]=c?Lc(t[f]):Ic(t[f]);if(Tc(r,l))h(r,l,n,null,i,a,o,s,c);else break;d--,f--}if(l>d){if(l<=f){let e=f+1,d=e<u?t[e].el:r;for(;l<=f;)h(null,t[l]=c?Lc(t[l]):Ic(t[l]),n,d,i,a,o,s,c),l++}}else if(l>f)for(;l<=d;)ae(e[l],i,a,!0),l++;else{let p=l,m=l,g=new Map;for(l=m;l<=f;l++){let e=t[l]=c?Lc(t[l]):Ic(t[l]);e.key!=null&&g.set(e.key,l)}let _,v=0,y=f-m+1,b=!1,x=0,S=Array(y);for(l=0;l<y;l++)S[l]=0;for(l=p;l<=d;l++){let r=e[l];if(v>=y){ae(r,i,a,!0);continue}let u;if(r.key!=null)u=g.get(r.key);else for(_=m;_<=f;_++)if(S[_-m]===0&&Tc(r,t[_])){u=_;break}u===void 0?ae(r,i,a,!0):(S[u-m]=l+1,u>=x?x=u:b=!0,h(r,t[u],n,null,i,a,o,s,c),v++)}let C=b?ac(S):kn;for(_=C.length-1,l=y-1;l>=0;l--){let e=m+l,d=t[e],f=t[e+1],p=e+1<u?f.el||cc(f):r;S[l]===0?h(null,d,n,p,i,a,o,s,c):b&&(_<0||l!==C[_]?ie(d,n,p,2):_--)}}},ie=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){ie(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,ue);return}if(c===dc){r(s,t,n);for(let e=0;e<u.length;e++)ie(u[e],t,n,a);r(e.anchor,t,n);return}if(c===mc){y(e,t,n);return}if(a!==2&&d&1&&l)if(a===0)l.beforeEnter(s),r(s,t,n),Qs(()=>l.enter(s),o);else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{s._isLeaving&&s[po](!0),a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}else r(s,t,n)},ae=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(Hr(),yo(s,null,n,e,!0),Ur()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!xo(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Bc(_,t,e),u&6)N(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Ba(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,ue,r):l&&!l.hasOnce&&(a!==dc||d>0&&d&64)?P(l,t,n,!1,!0):(a===dc&&d&384||!i&&u&16)&&P(c,t,n),r&&oe(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&Qs(()=>{_&&Bc(_,t,e),h&&Ba(e,null,t,`unmounted`),v&&(e.el=null)},n)},oe=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===dc){se(n,r);return}if(t===mc){b(e);return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},se=(e,t)=>{let n;for(;e!==t;)n=f(e),i(e),e=n;i(t)},N=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;sc(c),sc(l),r&&tr(r),i.stop(),a&&(a.flags|=8,ae(o,e,t,n)),s&&Qs(s,t),Qs(()=>{e.isUnmounted=!0},t)},P=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)ae(e[o],t,n,r,i)},F=e=>{if(e.shapeFlag&6)return F(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=f(e.anchor||e.el),n=t&&t[$a];return n?f(n):t},ce=!1,le=(e,t,n)=>{let r;e==null?t._vnode&&(ae(t._vnode,null,null,!0),r=t._vnode.component):h(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ce||=(ce=!0,ja(r),Ma(),!1)},ue={p:h,um:ae,m:ie,r:oe,mt:ee,mc:w,pc:ne,pbc:E,n:F,o:e},de,fe;return t&&([de,fe]=t(ue)),{render:le,hydrate:de,createApp:ys(le,de)}}function tc({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 nc({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function rc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ic(e,t,n=!1){let r=e.children,i=t.children;if(H(r)&&H(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Lc(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&ic(t,a)),a.type===fc&&(a.patchFlag===-1&&(a=i[e]=Lc(a)),a.el=t.el),a.type===pc&&!a.el&&(a.el=t.el)}}function ac(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function oc(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oc(t)}function sc(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function cc(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?cc(t.subTree):null}var lc=e=>e.__isSuspense;function uc(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Aa(e)}var dc=Symbol.for(`v-fgt`),fc=Symbol.for(`v-txt`),pc=Symbol.for(`v-cmt`),mc=Symbol.for(`v-stc`),hc=[],gc=null;function _c(e=!1){hc.push(gc=e?null:[])}function vc(){hc.pop(),gc=hc[hc.length-1]||null}var yc=1;function bc(e,t=!1){yc+=e,e<0&&gc&&t&&(gc.hasOnce=!0)}function xc(e){return e.dynamicChildren=yc>0?gc||kn:null,vc(),yc>0&&gc&&gc.push(e),e}function Sc(e,t,n,r,i,a){return xc(Oc(e,t,n,r,i,a,!0))}function Cc(e,t,n,r,i){return xc(kc(e,t,n,r,i,!0))}function wc(e){return e?e.__v_isVNode===!0:!1}function Tc(e,t){return e.type===t.type&&e.key===t.key}var Ec=({key:e})=>e??null,Dc=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:W(e)||Y(e)||U(e)?{i:Fa,r:e,k:t,f:!!n}:e);function Oc(e,t=null,n=null,r=0,i=null,a=e===dc?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ec(t),ref:t&&Dc(t),scopeId:Ia,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Fa};return s?(Rc(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=W(n)?8:16),yc>0&&!o&&gc&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&gc.push(c),c}var kc=Ac;function Ac(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Vo)&&(e=pc),wc(e)){let r=Mc(e,t,!0);return n&&Rc(r,n),yc>0&&!a&&gc&&(r.shapeFlag&6?gc[gc.indexOf(e)]=r:gc.push(r)),r.patchFlag=-2,r}if(cl(e)&&(e=e.__vccOpts),t){t=jc(t);let{class:e,style:n}=t;e&&!W(e)&&(t.class=dr(e)),G(n)&&(Ui(n)&&!H(n)&&(n=B({},n)),t.style=or(n))}let o=W(e)?1:lc(e)?128:eo(e)?64:G(e)?4:U(e)?2:0;return Oc(e,t,n,r,i,o,a,!0)}function jc(e){return e?Ui(e)||Is(e)?B({},e):e:null}function Mc(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?zc(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ec(l),ref:t&&t.ref?n&&a?H(a)?a.concat(Dc(t)):[a,Dc(t)]:Dc(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dc?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&&Mc(e.ssContent),ssFallback:e.ssFallback&&Mc(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&mo(u,c.clone(u)),u}function Nc(e=` `,t=0){return kc(fc,null,e,t)}function Pc(e,t){let n=kc(mc,null,e);return n.staticCount=t,n}function Fc(e=``,t=!1){return t?(_c(),Cc(pc,null,e)):kc(pc,null,e)}function Ic(e){return e==null||typeof e==`boolean`?kc(pc):H(e)?kc(dc,null,e.slice()):wc(e)?Lc(e):kc(fc,null,String(e))}function Lc(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mc(e)}function Rc(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Rc(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Is(t)?t._ctx=Fa:r===3&&Fa&&(Fa.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:Fa},n=32):(t=String(t),r&64?(n=16,t=[Nc(t)]):n=8);e.children=t,e.shapeFlag|=n}function zc(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=dr([t.class,r.class]));else if(e===`style`)t.style=or([t.style,r.style]);else if(Mn(e)){let n=t[e],i=r[e];i&&n!==i&&!(H(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!Nn(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Bc(e,t,n,r=null){ga(e,t,7,[n,r])}var Vc=_s(),Hc=0;function Uc(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||Vc,a={uid:Hc++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Sr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hs(r,i),emitsOptions:Ts(r,i),emit:null,emitted:null,propsDefaults:z,inheritAttrs:r.inheritAttrs,ctx:z,data:z,props:z,attrs:z,slots:z,refs:z,setupState:z,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 a.ctx={_:a},a.root=t?t.root:a,a.emit=Cs.bind(null,a),e.ce&&e.ce(a),a}var Wc=null,Gc=()=>Wc||Fa,Kc,qc;{let e=ar(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Kc=t(`__VUE_INSTANCE_SETTERS__`,e=>Wc=e),qc=t(`__VUE_SSR_SETTERS__`,e=>Zc=e)}var Jc=e=>{let t=Wc;return Kc(e),e.scope.on(),()=>{e.scope.off(),Kc(t)}},Yc=()=>{Wc&&Wc.scope.off(),Kc(null)};function Xc(e){return e.vnode.shapeFlag&4}var Zc=!1;function Qc(e,t=!1,n=!1){t&&qc(t);let{props:r,children:i}=e.vnode,a=Xc(e);Ls(e,r,a,t),Xs(e,i,n||t);let o=a?$c(e,t):void 0;return t&&qc(!1),o}function $c(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xo);let{setup:r}=n;if(r){Hr();let n=e.setupContext=r.length>1?al(e):null,i=Jc(e),a=ha(r,e,0,[e.props,n]),o=Bn(a);if(Ur(),i(),(o||e.sp)&&!xo(e)&&go(e),o){if(a.then(Yc,Yc),t)return a.then(n=>{el(e,n,t)}).catch(t=>{_a(t,e,0)});e.asyncDep=a}else el(e,a,t)}else rl(e,t)}function el(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=$i(t)),rl(e,n)}var tl,nl;function rl(e,t,n){let r=e.type;if(!e.render){if(!t&&tl&&!r.render){let t=r.template||ss(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r;r.render=tl(t,B(B({isCustomElement:n,delimiters:a},i),o))}}e.render=r.render||An,nl&&nl(e)}{let t=Jc(e);Hr();try{rs(e)}finally{Ur(),t()}}}var il={get(e,t){return $r(e,`get`,``),e[t]}};function al(e){return{attrs:new Proxy(e.attrs,il),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function ol(e){return e.exposed?e.exposeProxy||=new Proxy($i(Wi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jo)return Jo[n](e)},has(e,t){return t in e||t in Jo}}):e.proxy}function sl(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function cl(e){return U(e)&&`__vccOpts`in e}var ll=(e,t)=>ca(e,t,Zc);function ul(e,t,n){try{bc(-1);let r=arguments.length;return r===2?G(t)&&!H(t)?wc(t)?kc(e,null,[t]):kc(e,t):kc(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&wc(n)&&(n=[n]),kc(e,t,n))}finally{bc(1)}}var dl=`3.5.34`,fl=void 0,pl=typeof window<`u`&&window.trustedTypes;if(pl)try{fl=pl.createPolicy(`vue`,{createHTML:e=>e})}catch{}var ml=fl?e=>fl.createHTML(e):e=>e,hl=`http://www.w3.org/2000/svg`,gl=`http://www.w3.org/1998/Math/MathML`,_l=typeof document<`u`?document:null,vl=_l&&_l.createElement(`template`),yl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?_l.createElementNS(hl,e):t===`mathml`?_l.createElementNS(gl,e):n?_l.createElement(e,{is:n}):_l.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>_l.createTextNode(e),createComment:e=>_l.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_l.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{vl.innerHTML=ml(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=vl.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bl=Symbol(`_vtc`);function xl(e,t,n){let r=e[bl];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Sl=Symbol(`_vod`),Cl=Symbol(`_vsh`),wl=Symbol(``),Tl=/(?:^|;)\s*display\s*:/;function El(e,t,n){let r=e.style,i=W(n),a=!1;if(n&&!i){if(t)if(W(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Ol(r,t,``)}else for(let e in t)n[e]??Ol(r,e,``);for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?Ol(r,i,``):Ml(e,i,!W(t)&&t?t[i]:void 0,o)||Ol(r,i,o)}}else if(i){if(t!==n){let e=r[wl];e&&(n+=`;`+e),r.cssText=n,a=Tl.test(n)}}else t&&e.removeAttribute(`style`);Sl in e&&(e[Sl]=a?r.display:``,e[Cl]&&(r.display=`none`))}var Dl=/\s*!important$/;function Ol(e,t,n){if(H(n))n.forEach(n=>Ol(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=jl(e,t);Dl.test(n)?e.setProperty(Zn(r),n.replace(Dl,``),`important`):e[r]=n}}var kl=[`Webkit`,`Moz`,`ms`],Al={};function jl(e,t){let n=Al[t];if(n)return n;let r=Yn(t);if(r!==`filter`&&r in e)return Al[t]=r;r=Qn(r);for(let n=0;n<kl.length;n++){let i=kl[n]+r;if(i in e)return Al[t]=i}return t}function Ml(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&W(r)&&n===r}var Nl=`http://www.w3.org/1999/xlink`;function Pl(e,t,n,r,i,a=pr(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Nl,t.slice(6,t.length)):e.setAttributeNS(Nl,t,n):n==null||a&&!mr(n)?e.removeAttribute(t):e.setAttribute(t,a?``:zn(n)?String(n):n)}function Fl(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?ml(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=mr(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Il(e,t,n,r){e.addEventListener(t,n,r)}function Ll(e,t,n,r){e.removeEventListener(t,n,r)}var Rl=Symbol(`_vei`);function zl(e,t,n,r,i=null){let a=e[Rl]||(e[Rl]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Vl(t);r?Il(e,n,a[t]=Gl(r,i),s):o&&(Ll(e,n,o,s),a[t]=void 0)}}var Bl=/(?:Once|Passive|Capture)$/;function Vl(e){let t;if(Bl.test(e)){t={};let n;for(;n=e.match(Bl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):Zn(e.slice(2)),t]}var Hl=0,Ul=Promise.resolve(),Wl=()=>Hl||=(Ul.then(()=>Hl=0),Date.now());function Gl(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;ga(Kl(e,n.value),t,5,[e])};return n.value=e,n.attached=Wl(),n}function Kl(e,t){if(H(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var ql=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Jl=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?xl(e,r,o):t===`style`?El(e,n,r):Mn(t)?Nn(t)||zl(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Yl(e,t,r,o))?(Fl(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&Pl(e,t,r,o,a,t!==`value`)):e._isVueCE&&(Xl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!W(r)))?Fl(e,Yn(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),Pl(e,t,r,o))};function Yl(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&ql(t)&&U(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return ql(t)&&W(n)?!1:t in e}function Xl(e,t){let n=e._def.props;if(!n)return!1;let r=Yn(t);return Array.isArray(n)?n.some(e=>Yn(e)===r):Object.keys(n).some(e=>Yn(e)===r)}var Zl=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return H(t)?e=>tr(t,e):t},Ql=Symbol(`_assign`),$l={deep:!0,created(e,t,n){e[Ql]=Zl(n),Il(e,`change`,()=>{let t=e._modelValue,n=tu(e),r=e.checked,i=e[Ql];if(H(t)){let e=_r(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(Ln(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(nu(e,r))})},mounted:eu,beforeUpdate(e,t,n){e[Ql]=Zl(n),eu(e,t,n)}};function eu(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(H(t))i=_r(t,r.props.value)>-1;else if(Ln(t))i=t.has(r.props.value);else{if(t===n)return;i=gr(t,nu(e,!0))}e.checked!==i&&(e.checked=i)}function tu(e){return`_value`in e?e._value:e.value}function nu(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var ru=[`ctrl`,`shift`,`alt`,`meta`],iu={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)=>ru.some(n=>e[`${n}Key`]&&!t.includes(n))},au=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=iu[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},ou=B({patchProp:Jl},yl),su;function cu(){return su||=$s(ou)}var lu=((...e)=>{let t=cu().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=du(e);if(!r)return;let i=t._component;!U(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,uu(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function uu(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function du(e){return W(e)?document.querySelector(e):e}function fu(e,t={},n){for(let r in e){let i=e[r],a=n?`${n}:${r}`:r;typeof i==`object`&&i?fu(i,t,a):typeof i==`function`&&(t[a]=i)}return t}var pu={run:e=>e()},mu=console.createTask===void 0?()=>pu:console.createTask;function hu(e,t){let n=mu(t.shift());return e.reduce((e,r)=>e.then(()=>n.run(()=>r(...t))),Promise.resolve())}function gu(e,t){let n=mu(t.shift());return Promise.all(e.map(e=>n.run(()=>e(...t))))}function _u(e,t){for(let n of[...e])n(t)}var vu=class{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!=`function`)return()=>{};let r=e,i;for(;this._deprecatedHooks[e];)i=this._deprecatedHooks[e],e=i.to;if(i&&!n.allowDeprecated){let e=i.message;e||=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:``),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,`name`,{get:()=>`_`+e.replace(/\W+/g,`_`)+`_hook_cb`,configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=(this.removeHook(e,t),void 0)}}hookOnce(e,t){let n,r=(...e)=>(typeof n==`function`&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){let n=this._hooks[e].indexOf(t);n!==-1&&this._hooks[e].splice(n,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t==`string`?{to:t}:t;let n=this._hooks[e]||[];delete this._hooks[e];for(let t of n)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=fu(e),n=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of n.splice(0,n.length))e()}}removeHooks(e){let t=fu(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){for(let e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(hu,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(gu,e,...t)}callHookWith(e,t,...n){let r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&_u(this._before,r);let i=e(t in this._hooks?[...this._hooks[t]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&r&&_u(this._after,r)}):(this._after&&r&&_u(this._after,r),i)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){let t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){let t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function yu(){return new vu}var bu=typeof window<`u`,xu,Su=e=>xu=e,Cu=Symbol();function wu(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var Tu;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(Tu||={});var Eu=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function Du(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function Ou(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){Nu(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function ku(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Au(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var ju=typeof navigator==`object`?navigator:{userAgent:``},Mu=/Macintosh/.test(ju.userAgent)&&/AppleWebKit/.test(ju.userAgent)&&!/Safari/.test(ju.userAgent),Nu=bu?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!Mu?Pu:`msSaveOrOpenBlob`in ju?Fu:Iu:()=>{};function Pu(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?Au(r):ku(r.href)?Ou(e,t,n):(r.target=`_blank`,Au(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){Au(r)},0))}function Fu(e,t=`download`,n){if(typeof e==`string`)if(ku(e))Ou(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){Au(t)})}else navigator.msSaveOrOpenBlob(Du(e,n),t)}function Iu(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return Ou(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(Eu.HTMLElement))||`safari`in Eu,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||Mu)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:Lu}=Object;function Ru(){let e=Cr(!0),t=e.run(()=>qi({})),n=[],r=[],i=Wi({install(e){Su(i),i._a=e,e.provide(Cu,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var zu=()=>{};function Bu(e,t,n,r=zu){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&wr()&&Tr(i),i}function Vu(e,...t){e.forEach(e=>{e(...t)})}var Hu=e=>e(),Uu=Symbol(),Wu=Symbol();function Gu(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n],i=e[n];wu(i)&&wu(r)&&e.hasOwnProperty(n)&&!Y(r)&&!Bi(r)?e[n]=Gu(i,r):e[n]=r}return e}var Ku=Symbol();function qu(e){return!wu(e)||!Object.prototype.hasOwnProperty.call(e,Ku)}var{assign:Ju}=Object;function Yu(e){return!!(Y(e)&&e.effect)}function Xu(e,t,n,r){let{state:i,actions:a,getters:o}=t,s=n.state.value[e],c;function l(){return s||(n.state.value[e]=i?i():{}),Ju(na(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=Wi(ll(()=>{Su(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return c=Zu(e,l,t,n,r,!0),c}function Zu(e,t,n={},r,i,a){let o,s=Ju({actions:{}},n),c={deep:!0},l,u,d=new Set,f=new Set,p=r.state.value[e];!a&&!p&&(r.state.value[e]={});let m;function h(t){let n;l=u=!1,typeof t==`function`?(t(r.state.value[e]),n={type:Tu.patchFunction,storeId:e,events:void 0}):(Gu(r.state.value[e],t),n={type:Tu.patchObject,payload:t,storeId:e,events:void 0});let i=m=Symbol();Ea().then(()=>{m===i&&(l=!0)}),u=!0,Vu(d,n,r.state.value[e])}let g=a?function(){let{state:e}=n,t=e?e():{};this.$patch(e=>{Ju(e,t)})}:zu;function _(){o.stop(),d.clear(),f.clear(),r._s.delete(e)}let v=(t,n=``)=>{if(Uu in t)return t[Wu]=n,t;let i=function(){Su(r);let n=Array.from(arguments),a=new Set,o=new Set;function s(e){a.add(e)}function c(e){o.add(e)}Vu(f,{args:n,name:i[Wu],store:y,after:s,onError:c});let l;try{l=t.apply(this&&this.$id===e?this:y,n)}catch(e){throw Vu(o,e),e}return l instanceof Promise?l.then(e=>(Vu(a,e),e)).catch(e=>(Vu(o,e),Promise.reject(e))):(Vu(a,l),l)};return i[Uu]=!0,i[Wu]=n,i},y=Ii({_p:r,$id:e,$onAction:Bu.bind(null,f),$patch:h,$reset:g,$subscribe(t,n={}){let i=Bu(d,t,n.detached,()=>a()),a=o.run(()=>Ja(()=>r.state.value[e],r=>{(n.flush===`sync`?u:l)&&t({storeId:e,type:Tu.direct,events:void 0},r)},Ju({},c,n)));return i},$dispose:_});r._s.set(e,y);let b=(r._a&&r._a.runWithContext||Hu)(()=>r._e.run(()=>(o=Cr()).run(()=>t({action:v}))));for(let t in b){let n=b[t];Y(n)&&!Yu(n)||Bi(n)?a||(p&&qu(n)&&(Y(n)?n.value=p[t]:Gu(n,p[t])),r.state.value[e][t]=n):typeof n==`function`&&(b[t]=v(n,t),s.actions[t]=n)}return Ju(y,b),Ju(J(y),b),Object.defineProperty(y,`$state`,{get:()=>r.state.value[e],set:e=>{h(t=>{Ju(t,e)})}}),r._p.forEach(e=>{Ju(y,o.run(()=>e({store:y,app:r._a,pinia:r,options:s})))}),p&&a&&n.hydrate&&n.hydrate(y.$state,p),l=!0,u=!0,y}function Qu(e,t,n){let r,i=typeof t==`function`;r=i?n:t;function a(n,a){let o=Ua();return n||=o?Ha(Cu,null):null,n&&Su(n),n=xu,n._s.has(e)||(i?Zu(e,t,r,n):Xu(e,r,n)),n._s.get(e)}return a.$id=e,a}function $u(e){let t=J(e),n={};for(let r in t){let i=t[r];i.effect?n[r]=ll({get:()=>e[r],set(t){e[r]=t}}):(Y(i)||Bi(i))&&(n[r]=aa(e,r))}return n}var ed=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),td=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),nd=new Set([`title`,`titleTemplate`,`templateParams`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),rd=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),id=new Set([`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`children`,`innerHTML`,`textContent`,`processTemplateParams`]),ad=typeof window<`u`;function od(e){return e}function sd(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function cd(e){if(e._h)return e._h;if(e._d)return sd(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||``}:`;for(let n in e.props)t+=`${n}:${String(e.props[n])},`;return sd(t)}function ld(e,t){return e instanceof Promise?e.then(t):t(e)}function ud(e,t,n,r){let i=r||pd(typeof t==`object`&&typeof t!=`function`&&!(t instanceof Promise)?{...t}:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t},e===`templateParams`||e===`titleTemplate`);if(i instanceof Promise)return i.then(r=>ud(e,t,n,r));let a={tag:e,props:i};for(let e of id){let t=a.props[e]===void 0?n[e]:a.props[e];t!==void 0&&((!(e===`innerHTML`||e===`textContent`||e===`children`)||ed.has(a.tag))&&(a[e===`children`?`innerHTML`:e]=t),delete a.props[e])}return a.props.body&&(a.tagPosition=`bodyClose`,delete a.props.body),a.tag===`script`&&typeof a.innerHTML==`object`&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||`application/json`),Array.isArray(a.props.content)?a.props.content.map(e=>({...a,props:{...a.props,content:e}})):a}function dd(e,t){let n=e===`class`?` `:`;`;return t&&typeof t==`object`&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,e])=>e).map(([t,n])=>e===`style`?`${t}:${n}`:t)),String(Array.isArray(t)?t.join(n):t)?.split(n).filter(e=>!!e.trim()).join(n)}function fd(e,t,n,r){for(let i=r;i<n.length;i+=1){let r=n[i];if(r===`class`||r===`style`){e[r]=dd(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(a=>(e[r]=a,fd(e,t,n,i)));if(!t&&!id.has(r)){let t=String(e[r]),n=r.startsWith(`data-`);t===`true`||t===``?e[r]=n?`true`:!0:e[r]||(n&&t===`false`?e[r]=`false`:delete e[r])}}}function pd(e,t=!1){let n=fd(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}function md(e,t,n){for(let r=n;r<t.length;r+=1){let n=t[r];if(n instanceof Promise)return n.then(n=>(t[r]=n,md(e,t,r)));Array.isArray(n)?e.push(...n):e.push(n)}}function hd(e){let t=[],n=e.resolvedInput;for(let r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;let i=n[r];if(!(i===void 0||!nd.has(r))){if(Array.isArray(i)){for(let n of i)t.push(ud(r,n,e));continue}t.push(ud(r,i,e))}}if(t.length===0)return[];let r=[];return ld(md(r,t,0),()=>r.map((t,n)=>(t._e=e._i,e.mode&&(t._m=e.mode),t._p=(e._i<<10)+n,t)))}var gd=new Set([`onload`,`onerror`,`onabort`,`onprogress`,`onloadstart`]),_d={base:-10,title:10},vd={critical:-80,high:-10,low:20};function yd(e){let t=e.tagPriority;if(typeof t==`number`)return t;let n=100;return e.tag===`meta`?e.props[`http-equiv`]===`content-security-policy`?n=-30:e.props.charset?n=-20:e.props.name===`viewport`&&(n=-15):e.tag===`link`&&e.props.rel===`preconnect`?n=20:e.tag in _d&&(n=_d[e.tag]),t&&t in vd?n+vd[t]:n}var bd=[{prefix:`before:`,offset:-1},{prefix:`after:`,offset:1}],xd=[`name`,`property`,`http-equiv`];function Sd(e){let{props:t,tag:n}=e;if(rd.has(n))return n;if(n===`link`&&t.rel===`canonical`)return`canonical`;if(t.charset)return`charset`;if(t.id)return`${n}:id:${t.id}`;for(let e of xd)if(t[e]!==void 0)return`${n}:${e}:${t[e]}`;return!1}var Cd=`%separator`;function wd(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return n?(r||``).replace(/"/g,`\\"`):r||``}var Td=RegExp(`${Cd}(?:\\s*${Cd})*`,`g`);function Ed(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(/%\w+(?:\.\w+)?/g);if(!a)return e;let o=e.includes(Cd);return e=e.replace(/%\w+(?:\.\w+)?/g,e=>{if(e===Cd||!a.includes(e))return e;let n=wd(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e.endsWith(Cd)&&(e=e.slice(0,-10)),e.startsWith(Cd)&&(e=e.slice(10)),e=e.replace(Td,n).trim()),e}function Dd(e,t){return e==null?t||null:typeof e==`function`?e(t):e}async function Od(e,t={}){let n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;let r={shouldRender:!0,tags:[]};if(await e.hooks.callHook(`dom:beforeRender`,r),r.shouldRender)return e._domUpdatePromise||=new Promise(async t=>{let r=(await e.resolveTags()).map(e=>({tag:e,id:td.has(e.tag)?cd(e):e.tag,shouldRender:!0})),i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};let e=new Set;for(let t of[`body`,`head`]){let r=n[t]?.children;for(let t of r){let n=t.tagName.toLowerCase();if(!td.has(n))continue;let r={tag:n,props:await pd(t.getAttributeNames().reduce((e,n)=>({...e,[n]:t.getAttribute(n)}),{})),innerHTML:t.innerHTML},a=Sd(r),o=a,s=1;for(;o&&e.has(o);)o=`${a}:${s++}`;o&&(r._d=o,e.add(o)),i.elMap[t.getAttribute(`data-hid`)||cd(r)]=t}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(e,t,n){let r=`${e}:${t}`;i.sideEffects[r]=n,delete i.pendingSideEffects[r]}function o({id:e,$el:t,tag:r}){let o=r.tag.endsWith(`Attrs`);if(i.elMap[e]=t,o||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),a(e,`el`,()=>{i.elMap[e]?.remove(),delete i.elMap[e]})),r._eventHandlers)for(let e in r._eventHandlers)Object.prototype.hasOwnProperty.call(r._eventHandlers,e)&&t.getAttribute(`data-${e}`)!==``&&((r.tag===`bodyAttrs`?n.defaultView:t).addEventListener(e.substring(2),r._eventHandlers[e].bind(t)),t.setAttribute(`data-${e}`,``));for(let n in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,n))continue;let i=r.props[n],s=`attr:${n}`;if(n===`class`){if(!i)continue;for(let n of i.split(` `))o&&a(e,`${s}:${n}`,()=>t.classList.remove(n)),!t.classList.contains(n)&&t.classList.add(n)}else if(n===`style`){if(!i)continue;for(let n of i.split(`;`)){let r=n.indexOf(`:`),i=n.substring(0,r).trim(),o=n.substring(r+1).trim();a(e,`${s}:${i}`,()=>{t.style.removeProperty(i)}),t.style.setProperty(i,o)}}else t.getAttribute(n)!==i&&t.setAttribute(n,i===!0?``:String(i)),o&&a(e,s,()=>t.removeAttribute(n))}}let s=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(let e of r){let{tag:t,shouldRender:r,id:a}=e;if(r){if(t.tag===`title`){n.title=t.textContent;continue}e.$el=e.$el||i.elMap[a],e.$el?o(e):td.has(t.tag)&&s.push(e)}}for(let e of s){let t=e.tag.tagPosition||`head`;e.$el=n.createElement(e.tag.tag),o(e),c[t]=c[t]||n.createDocumentFragment(),c[t].appendChild(e.$el)}for(let t of r)await e.hooks.callHook(`dom:renderTag`,t,n,a);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose);for(let e in i.pendingSideEffects)i.pendingSideEffects[e]();e._dom=i,await e.hooks.callHook(`dom:rendered`,{renders:r}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise}function kd(e,t={}){let n=t.delayFn||(e=>setTimeout(e,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>Od(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function Ad(e){return od(t=>{let n=t.resolvedOptions.document?.head.querySelector(`script[id="unhead:payload"]`)?.innerHTML||!1;return n&&t.push(JSON.parse(n)),{mode:`client`,hooks:{"entries:updated":t=>{kd(t,e)}}}})}var jd=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Md=od({hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);let t=Sd(e);t&&!t.startsWith(`meta:og:`)&&!t.startsWith(`meta:twitter:`)&&delete e.key;let n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{let t=Object.create(null);for(let n of e.tags){let e=(n.key?`${n.tag}:${n.key}`:n._d)||cd(n),r=t[e];if(r){let i=n?.tagDuplicateStrategy;if(!i&&jd.has(n.tag)&&(i=`merge`),i===`merge`){let i=r.props;i.style&&n.props.style&&(i.style[i.style.length-1]!==`;`&&(i.style+=`;`),n.props.style=`${i.style} ${n.props.style}`),i.class&&n.props.class?n.props.class=`${i.class} ${n.props.class}`:i.class&&(n.props.class=i.class),t[e].props={...i,...n.props};continue}else if(n._e===r._e){r._duped=r._duped||[],n._d=`${r._d}:${r._duped.length+1}`,r._duped.push(n);continue}else if(yd(n)>yd(r))continue}if(!(n.innerHTML||n.textContent||Object.keys(n.props).length!==0)&&td.has(n.tag)){delete t[e];continue}t[e]=n}let n=[];for(let e in t){let r=t[e],i=r._duped;n.push(r),i&&(delete r._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(e=>!(e.tag===`meta`&&(e.props.name||e.props.property)&&!e.props.content))}}}),Nd=new Set([`script`,`link`,`bodyAttrs`]),Pd=od(e=>({hooks:{"tags:resolve":t=>{for(let n of t.tags){if(!Nd.has(n.tag))continue;let t=n.props;for(let r in t){if(r[0]!==`o`||r[1]!==`n`||!Object.prototype.hasOwnProperty.call(t,r))continue;let i=t[r];typeof i==`function`&&(e.ssr&&gd.has(r)?t[r]=`this.dataset.${r}fired = true`:delete t[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||sd(n.props.src||n.props.href))}},"dom:renderTag":({$el:e,tag:t})=>{let n=e?.dataset;if(n)for(let r in n){if(!r.endsWith(`fired`))continue;let n=r.slice(0,-5);gd.has(n)&&t._eventHandlers?.[n]?.call(e,new Event(n.substring(2)))}}}})),Fd=new Set([`link`,`style`,`script`,`noscript`]),Id=od({hooks:{"tag:normalise":({tag:e})=>{e.key&&Fd.has(e.tag)&&(e.props[`data-hid`]=e._h=sd(e.key))}}}),Ld=od({mode:`server`,hooks:{"tags:beforeResolve":e=>{let t={},n=!1;for(let r of e.tags)r._m!==`server`||r.tag!==`titleTemplate`&&r.tag!==`templateParams`&&r.tag!==`title`||(t[r.tag]=r.tag===`title`||r.tag===`titleTemplate`?r.textContent:r.props,n=!0);n&&e.tags.push({tag:`script`,innerHTML:JSON.stringify(t),props:{id:`unhead:payload`,type:`application/json`}})}}}),Rd=od({hooks:{"tags:resolve":e=>{for(let t of e.tags)if(typeof t.tagPriority==`string`)for(let{prefix:n,offset:r}of bd){if(!t.tagPriority.startsWith(n))continue;let i=t.tagPriority.substring(n.length),a=e.tags.find(e=>e._d===i)?._p;if(a!==void 0){t._p=a+r;break}}e.tags.sort((e,t)=>{let n=yd(e),r=yd(t);return n<r?-1:n>r?1:e._p-t._p})}}}),zd={meta:`content`,link:`href`,htmlAttrs:`lang`},Bd=[`innerHTML`,`textContent`],Vd=od(e=>({hooks:{"tags:resolve":t=>{let{tags:n}=t,r;for(let e=0;e<n.length;e+=1)n[e].tag===`templateParams`&&(r=t.tags.splice(e,1)[0].props,--e);let i=r||{},a=i.separator||`|`;delete i.separator,i.pageTitle=Ed(i.pageTitle||n.find(e=>e.tag===`title`)?.textContent||``,i,a);for(let e of n){if(e.processTemplateParams===!1)continue;let t=zd[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Ed(e.props[t],i,a);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of Bd)typeof e[t]==`string`&&(e[t]=Ed(e[t],i,a,e.tag===`script`&&e.props.type.endsWith(`json`)))}e._templateParams=i,e._separator=a},"tags:afterResolve":({tags:t})=>{let n;for(let e=0;e<t.length;e+=1){let r=t[e];r.tag===`title`&&r.processTemplateParams!==!1&&(n=r)}n?.textContent&&(n.textContent=Ed(n.textContent,e._templateParams,e._separator))}}})),Hd=od({hooks:{"tags:resolve":e=>{let{tags:t}=e,n,r;for(let e=0;e<t.length;e+=1){let i=t[e];i.tag===`title`?n=i:i.tag===`titleTemplate`&&(r=i)}if(r&&n){let t=Dd(r.textContent,n.textContent);t===null?e.tags.splice(e.tags.indexOf(n),1):n.textContent=t||n.textContent}else if(r){let e=Dd(r.textContent);e!==null&&(r.textContent=e,r.tag=`title`,r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}}),Ud=od({hooks:{"tags:afterResolve":e=>{for(let t of e.tags)typeof t.innerHTML==`string`&&(t.innerHTML&&(t.props.type===`application/ld+json`||t.props.type===`application/json`)?t.innerHTML=t.innerHTML.replace(/</g,`\\u003C`):t.innerHTML=t.innerHTML.replace(RegExp(`</${t.tag}`,`g`),`<\\/${t.tag}`))}}}),Wd;function Gd(e={}){let t=qd(e);return t.use(Ad()),Wd=t}function Kd(e,t){return!e||e===`server`&&t||e===`client`&&!t}function qd(e={}){let t=yu();t.addHooks(e.hooks||{}),e.document=e.document||(ad?document:void 0);let n=!e.document,r=()=>{s.dirty=!0,t.callHook(`entries:updated`,s)},i=0,a=[],o=[],s={plugins:o,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return a},use(e){let r=typeof e==`function`?e(s):e;(!r.key||!o.some(e=>e.key===r.key))&&(o.push(r),Kd(r.mode,n)&&t.addHooks(r.hooks||{}))},push(e,t){delete t?.head;let o={_i:i++,input:e,...t};return Kd(o.mode,n)&&(a.push(o),r()),{dispose(){a=a.filter(e=>e._i!==o._i),r()},patch(e){for(let t of a)t._i===o._i&&(t.input=o.input=e);r()}}},async resolveTags(){let e={tags:[],entries:[...a]};await t.callHook(`entries:resolve`,e);for(let n of e.entries){let r=n.resolvedInput||n.input;if(n.resolvedInput=await(n.transform?n.transform(r):r),n.resolvedInput)for(let r of await hd(n)){let i={tag:r,entry:n,resolvedOptions:s.resolvedOptions};await t.callHook(`tag:normalise`,i),e.tags.push(i.tag)}}return await t.callHook(`tags:beforeResolve`,e),await t.callHook(`tags:resolve`,e),await t.callHook(`tags:afterResolve`,e),e.tags},ssr:n};return[Md,Ld,Pd,Id,Rd,Vd,Hd,Ud,...e?.plugins||[]].forEach(e=>s.use(e)),s.hooks.callHook(`init`,s),s}function Jd(){return Wd}var Yd=Symbol(`ScriptProxyTarget`);function Xd(){}Xd[Yd]=!0;var Zd=dl[0]===`3`;function Qd(e){return typeof e==`function`?e():Zi(e)}function $d(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;let t=Qd(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(e=>$d(e));if(typeof t==`object`){let e={};for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(n===`titleTemplate`||n[0]===`o`&&n[1]===`n`){e[n]=Zi(t[n]);continue}e[n]=$d(t[n])}return e}return t}var ef=od({hooks:{"entries:resolve":e=>{for(let t of e.entries)t.resolvedInput=$d(t.input)}}}),tf=`usehead`;function nf(e){return{install(t){Zd&&(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(tf,e))}}.install}function rf(e={}){e.domDelayFn=e.domDelayFn||(e=>Ea(()=>setTimeout(()=>e(),0)));let t=Gd(e);return t.use(ef),t.install=nf(t),t}var af=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},of=`__unhead_injection_handler__`;function sf(){return of in af?af[of]():Ha(`usehead`)||Jd()}function cf(e,t={}){let n=t.head||sf();if(n)return n.ssr?n.push(e,t):lf(n,e,t)}function lf(e,t,n={}){let r=qi(!1),i=qi({});Ka(()=>{i.value=r.value?{}:$d(t)});let a=e.push(i.value,n);return Ja(i,e=>{a.patch(e)}),Gc()&&(No(()=>{a.dispose()}),wo(()=>{r.value=!0}),Co(()=>{r.value=!1})),a}function uf(e){let t=e;return t.headTags=e.resolveTags,t.addEntry=e.push,t.addHeadObjs=e.push,t.addReactiveEntry=(e,t)=>{let n=cf(e,t);return n===void 0?()=>{}:n.dispose},t.removeHeadObjs=()=>{},t.updateDOM=()=>{e.hooks.callHook(`entries:updated`,e)},t.unhead=e,t}function df(e,t){let n=uf(rf(t||{}));return e&&n.push(e),n}function ff(){return document.querySelector(`#modal-show`)||document.body}function pf(){return`${location.protocol}//${location.hostname}`}function mf(e){let t=document.createElement(`div`);return t.className=`position-fixed w-100 h-100 top-0 start-0`,t.style.background=`rgba(0, 0, 0, .5)`,t.style.zIndex=`100000`,t.innerHTML=e,t}function hf(e){e.parentElement&&e.parentElement.removeChild(e)}var gf={alert(e=``){return new Promise(t=>{let n=mf(`
11
+ <div class='card position-absolute top-50 start-50 translate-middle border' style='width:300px'>
12
+ <div class='card-header d-flex justify-content-between align-items-center px-2 py-1 bg-white border-0'>
13
+ <span class='d-flex align-items-center'>
14
+ <i class="bi bi-exclamation-circle"></i> <span class='ms-2'>${pf()}</span>
15
+ </span>
16
+ <button class='btn btn-sm p-0' type='button' data-dialog='close'>
17
+ <i class='bi bi-x fs-3'></i>
18
+ </button>
19
+ </div>
20
+ <div class='card-body overflow-x-hidden overflow-y-scroll p-2 text-center' style='max-height:200px'>
21
+ ${e}
22
+ </div>
23
+ <div class='card-footer d-flex justify-content-end align-items-center px-2 py-1 bg-white border-0'>
24
+ <button type='button' class='btn btn-primary btn-sm' data-dialog='ok'>OK</button>
25
+ </div>
26
+ </div>
27
+ `);n.addEventListener(`click`,e=>{let r=e.target.closest(`[data-dialog]`)?.getAttribute(`data-dialog`);(r===`ok`||r===`close`)&&(hf(n),t())}),ff().appendChild(n)})},confirm(e=``){return new Promise(t=>{let n=mf(`
28
+ <div class='card position-absolute top-50 start-50 translate-middle border' style='width:300px'>
29
+ <div class='card-header d-flex justify-content-between align-items-center px-2 py-1 bg-white border-0'>
30
+ <span class='d-flex align-items-center'>
31
+ <i class="bi bi-globe"></i> <span class='ms-2'>${pf()}</span>
32
+ </span>
33
+ <button class='btn btn-sm p-0' type='button' data-dialog='cancel'>
34
+ <i class='bi bi-x fs-3'></i>
35
+ </button>
36
+ </div>
37
+ <div class='card-body overflow-x-hidden overflow-y-scroll p-2 text-center' style='max-height:200px'>
38
+ ${e}
39
+ </div>
40
+ <div class='card-footer d-flex justify-content-end align-items-center px-2 py-1 bg-white border-0'>
41
+ <button type='button' class='btn btn-primary btn-sm' data-dialog='ok'>OK</button>
42
+ <button type='button' class='btn btn-secondary btn-sm ms-1' data-dialog='cancel'>Cancel</button>
43
+ </div>
44
+ </div>
45
+ `);n.addEventListener(`click`,e=>{let r=e.target.closest(`[data-dialog]`)?.getAttribute(`data-dialog`);r===`ok`&&(hf(n),t(!0)),r===`cancel`&&(hf(n),t(!1))}),ff().appendChild(n)})},prompt(e=``,t={}){let{limit:n=0,placeholder:r=`Remarks...`,defaultValue:i=``}=t;return new Promise(t=>{let a=mf(`
46
+ <div class='card position-absolute top-50 start-50 translate-middle border' style='width:300px'>
47
+ <div class='card-header d-flex justify-content-between align-items-center px-2 py-1 bg-white border-0'>
48
+ <span class='d-flex align-items-center'>
49
+ <i class="bi bi-globe"></i> <span class='ms-2'>${pf()}</span>
50
+ </span>
51
+ <button class='btn btn-sm p-0' type='button' data-dialog='cancel'>
52
+ <i class='bi bi-x fs-3'></i>
53
+ </button>
54
+ </div>
55
+ <div class='card-body overflow-x-hidden overflow-y-scroll p-2 position-relative'>
56
+ ${e} <sup style='font-size: 10px'>${n} char</sup>
57
+ <textarea class='form-control border-dark' rows='4' placeholder='${r}' data-dialog='input' ${n>0?`maxlength='${n}'`:``}>${i}</textarea>
58
+ </div>
59
+ <div class='card-footer d-flex justify-content-end align-items-center px-2 py-1 bg-white border-0'>
60
+ <button type='button' class='btn btn-primary btn-sm' data-dialog='ok'>OK</button>
61
+ <button type='button' class='btn btn-secondary btn-sm ms-1' data-dialog='cancel'>Cancel</button>
62
+ </div>
63
+ </div>
64
+ `);a.addEventListener(`click`,e=>{let n=e.target.closest(`[data-dialog]`)?.getAttribute(`data-dialog`),r=a.querySelector(`textarea[data-dialog='input']`);n===`ok`&&(hf(a),t({ok:!0,value:r?.value||``})),n===`cancel`&&(hf(a),t({ok:!1,value:``}))}),ff().appendChild(a)})}},_f={install(e){e.config.globalProperties.$dialog=gf}},vf=Object.create(null);vf.open=`0`,vf.close=`1`,vf.ping=`2`,vf.pong=`3`,vf.message=`4`,vf.upgrade=`5`,vf.noop=`6`;var yf=Object.create(null);Object.keys(vf).forEach(e=>{yf[vf[e]]=e});var bf={type:`error`,data:`parser error`},xf=typeof Blob==`function`||typeof Blob<`u`&&Object.prototype.toString.call(Blob)===`[object BlobConstructor]`,Sf=typeof ArrayBuffer==`function`,Cf=e=>typeof ArrayBuffer.isView==`function`?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,wf=({type:e,data:t},n,r)=>xf&&t instanceof Blob?n?r(t):Tf(t,r):Sf&&(t instanceof ArrayBuffer||Cf(t))?n?r(t):Tf(new Blob([t]),r):r(vf[e]+(t||``)),Tf=(e,t)=>{let n=new FileReader;return n.onload=function(){let e=n.result.split(`,`)[1];t(`b`+(e||``))},n.readAsDataURL(e)};function Ef(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var Df;function Of(e,t){if(xf&&e.data instanceof Blob)return e.data.arrayBuffer().then(Ef).then(t);if(Sf&&(e.data instanceof ArrayBuffer||Cf(e.data)))return t(Ef(e.data));wf(e,!1,e=>{Df||=new TextEncoder,t(Df.encode(e))})}var kf=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,Af=typeof Uint8Array>`u`?[]:new Uint8Array(256);for(let e=0;e<64;e++)Af[kf.charCodeAt(e)]=e;var jf=e=>{let t=e.length*.75,n=e.length,r,i=0,a,o,s,c;e[e.length-1]===`=`&&(t--,e[e.length-2]===`=`&&t--);let l=new ArrayBuffer(t),u=new Uint8Array(l);for(r=0;r<n;r+=4)a=Af[e.charCodeAt(r)],o=Af[e.charCodeAt(r+1)],s=Af[e.charCodeAt(r+2)],c=Af[e.charCodeAt(r+3)],u[i++]=a<<2|o>>4,u[i++]=(o&15)<<4|s>>2,u[i++]=(s&3)<<6|c&63;return l},Mf=typeof ArrayBuffer==`function`,Nf=(e,t)=>{if(typeof e!=`string`)return{type:`message`,data:Ff(e,t)};let n=e.charAt(0);return n===`b`?{type:`message`,data:Pf(e.substring(1),t)}:yf[n]?e.length>1?{type:yf[n],data:e.substring(1)}:{type:yf[n]}:bf},Pf=(e,t)=>Mf?Ff(jf(e),t):{base64:!0,data:e},Ff=(e,t)=>{switch(t){case`blob`:return e instanceof Blob?e:new Blob([e]);default:return e instanceof ArrayBuffer?e:e.buffer}},If=``,Lf=(e,t)=>{let n=e.length,r=Array(n),i=0;e.forEach((e,a)=>{wf(e,!1,e=>{r[a]=e,++i===n&&t(r.join(If))})})},Rf=(e,t)=>{let n=e.split(If),r=[];for(let e=0;e<n.length;e++){let i=Nf(n[e],t);if(r.push(i),i.type===`error`)break}return r};function zf(){return new TransformStream({transform(e,t){Of(e,n=>{let r=n.length,i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);let e=new DataView(i.buffer);e.setUint8(0,126),e.setUint16(1,r)}else{i=new Uint8Array(9);let e=new DataView(i.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!=`string`&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}var Bf;function Vf(e){return e.reduce((e,t)=>e+t.length,0)}function Hf(e,t){if(e[0].length===t)return e.shift();let n=new Uint8Array(t),r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function Uf(e,t){Bf||=new TextDecoder;let n=[],r=0,i=-1,a=!1;return new TransformStream({transform(o,s){for(n.push(o);;){if(r===0){if(Vf(n)<1)break;let e=Hf(n,1);a=(e[0]&128)==128,i=e[0]&127,r=i<126?3:i===126?1:2}else if(r===1){if(Vf(n)<2)break;let e=Hf(n,2);i=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(r===2){if(Vf(n)<8)break;let e=Hf(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),a=t.getUint32(0);if(a>2**21-1){s.enqueue(bf);break}i=a*2**32+t.getUint32(4),r=3}else{if(Vf(n)<i)break;let e=Hf(n,i);s.enqueue(Nf(a?e:Bf.decode(e),t)),r=0}if(i===0||i>e){s.enqueue(bf);break}}}})}function X(e){if(e)return Wf(e)}function Wf(e){for(var t in X.prototype)e[t]=X.prototype[t];return e}X.prototype.on=X.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[`$`+e]=this._callbacks[`$`+e]||[]).push(t),this},X.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},X.prototype.off=X.prototype.removeListener=X.prototype.removeAllListeners=X.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks[`$`+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks[`$`+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks[`$`+e],this},X.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),n=this._callbacks[`$`+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},X.prototype.emitReserved=X.prototype.emit,X.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[`$`+e]||[]},X.prototype.hasListeners=function(e){return!!this.listeners(e).length};var Gf=typeof Promise==`function`&&typeof Promise.resolve==`function`?e=>Promise.resolve().then(e):(e,t)=>t(e,0),Kf=typeof self<`u`?self:typeof window<`u`?window:Function(`return this`)(),qf=`arraybuffer`;function Jf(e,...t){return t.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{})}var Yf=Kf.setTimeout,Xf=Kf.clearTimeout;function Zf(e,t){t.useNativeTimers?(e.setTimeoutFn=Yf.bind(Kf),e.clearTimeoutFn=Xf.bind(Kf)):(e.setTimeoutFn=Kf.setTimeout.bind(Kf),e.clearTimeoutFn=Kf.clearTimeout.bind(Kf))}var Qf=1.33;function $f(e){return typeof e==`string`?ep(e):Math.ceil((e.byteLength||e.size)*Qf)}function ep(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function tp(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function np(e){let t=``;for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+=`&`),t+=encodeURIComponent(n)+`=`+encodeURIComponent(e[n]));return t}function rp(e){let t={},n=e.split(`&`);for(let e=0,r=n.length;e<r;e++){let r=n[e].split(`=`);t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}var ip=class extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type=`TransportError`}},ap=class extends X{constructor(e){super(),this.writable=!1,Zf(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved(`error`,new ip(e,t,n)),this}open(){return this.readyState=`opening`,this.doOpen(),this}close(){return(this.readyState===`opening`||this.readyState===`open`)&&(this.doClose(),this.onClose()),this}send(e){this.readyState===`open`&&this.write(e)}onOpen(){this.readyState=`open`,this.writable=!0,super.emitReserved(`open`)}onData(e){let t=Nf(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved(`packet`,e)}onClose(e){this.readyState=`closed`,super.emitReserved(`close`,e)}pause(e){}createUri(e,t={}){return e+`://`+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return e.indexOf(`:`)===-1?e:`[`+e+`]`}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?`:`+this.opts.port:``}_query(e){let t=np(e);return t.length?`?`+t:``}},op=class extends ap{constructor(){super(...arguments),this._polling=!1}get name(){return`polling`}doOpen(){this._poll()}pause(e){this.readyState=`pausing`;let t=()=>{this.readyState=`paused`,e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once(`pollComplete`,function(){--e||t()})),this.writable||(e++,this.once(`drain`,function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved(`poll`)}onData(e){Rf(e,this.socket.binaryType).forEach(e=>{if(this.readyState===`opening`&&e.type===`open`&&this.onOpen(),e.type===`close`)return this.onClose({description:`transport closed by the server`}),!1;this.onPacket(e)}),this.readyState!==`closed`&&(this._polling=!1,this.emitReserved(`pollComplete`),this.readyState===`open`&&this._poll())}doClose(){let e=()=>{this.write([{type:`close`}])};this.readyState===`open`?e():this.once(`open`,e)}write(e){this.writable=!1,Lf(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved(`drain`)})})}uri(){let e=this.opts.secure?`https`:`http`,t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=tp()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}},sp=!1;try{sp=typeof XMLHttpRequest<`u`&&`withCredentials`in new XMLHttpRequest}catch{}var cp=sp;function lp(){}var up=class extends op{constructor(e){if(super(e),typeof location<`u`){let t=location.protocol===`https:`,n=location.port;n||=t?`443`:`80`,this.xd=typeof location<`u`&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){let n=this.request({method:`POST`,data:e});n.on(`success`,t),n.on(`error`,(e,t)=>{this.onError(`xhr post error`,e,t)})}doPoll(){let e=this.request();e.on(`data`,this.onData.bind(this)),e.on(`error`,(e,t)=>{this.onError(`xhr poll error`,e,t)}),this.pollXhr=e}},dp=class e extends X{constructor(e,t,n){super(),this.createRequest=e,Zf(this,n),this._opts=n,this._method=n.method||`GET`,this._uri=t,this._data=n.data===void 0?null:n.data,this._create()}_create(){var t;let n=Jf(this._opts,`agent`,`pfx`,`key`,`passphrase`,`cert`,`ca`,`ciphers`,`rejectUnauthorized`,`autoUnref`);n.xdomain=!!this._opts.xd;let r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let e in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&r.setRequestHeader(e,this._opts.extraHeaders[e])}}catch{}if(this._method===`POST`)try{r.setRequestHeader(`Content-type`,`text/plain;charset=UTF-8`)}catch{}try{r.setRequestHeader(`Accept`,`*/*`)}catch{}(t=this._opts.cookieJar)==null||t.addCookies(r),`withCredentials`in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var e;r.readyState===3&&((e=this._opts.cookieJar)==null||e.parseCookies(r.getResponseHeader(`set-cookie`))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status==`number`?r.status:0)},0))},r.send(this._data)}catch(e){this.setTimeoutFn(()=>{this._onError(e)},0);return}typeof document<`u`&&(this._index=e.requestsCount++,e.requests[this._index]=this)}_onError(e){this.emitReserved(`error`,e,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(this._xhr===void 0||this._xhr===null)){if(this._xhr.onreadystatechange=lp,t)try{this._xhr.abort()}catch{}typeof document<`u`&&delete e.requests[this._index],this._xhr=null}}_onLoad(){let e=this._xhr.responseText;e!==null&&(this.emitReserved(`data`,e),this.emitReserved(`success`),this._cleanup())}abort(){this._cleanup()}};if(dp.requestsCount=0,dp.requests={},typeof document<`u`){if(typeof attachEvent==`function`)attachEvent(`onunload`,fp);else if(typeof addEventListener==`function`){let e=`onpagehide`in Kf?`pagehide`:`unload`;addEventListener(e,fp,!1)}}function fp(){for(let e in dp.requests)dp.requests.hasOwnProperty(e)&&dp.requests[e].abort()}var pp=(function(){let e=hp({xdomain:!1});return e&&e.responseType!==null})(),mp=class extends up{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=pp&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new dp(hp,this.uri(),e)}};function hp(e){let t=e.xdomain;try{if(typeof XMLHttpRequest<`u`&&(!t||cp))return new XMLHttpRequest}catch{}if(!t)try{return new Kf[[`Active`,`Object`].join(`X`)](`Microsoft.XMLHTTP`)}catch{}}var gp=typeof navigator<`u`&&typeof navigator.product==`string`&&navigator.product.toLowerCase()===`reactnative`,_p=class extends ap{get name(){return`websocket`}doOpen(){let e=this.uri(),t=this.opts.protocols,n=gp?{}:Jf(this.opts,`agent`,`perMessageDeflate`,`pfx`,`key`,`passphrase`,`cert`,`ca`,`ciphers`,`rejectUnauthorized`,`localAddress`,`protocolVersion`,`origin`,`maxPayload`,`family`,`checkServerIdentity`);this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(e){return this.emitReserved(`error`,e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:`websocket connection closed`,context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError(`websocket error`,e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;wf(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch{}r&&Gf(()=>{this.writable=!0,this.emitReserved(`drain`)},this.setTimeoutFn)})}}doClose(){this.ws!==void 0&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?`wss`:`ws`,t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=tp()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},vp=Kf.WebSocket||Kf.MozWebSocket,yp={websocket:class extends _p{createSocket(e,t,n){return gp?new vp(e,t,n):t?new vp(e,t):new vp(e)}doWrite(e,t){this.ws.send(t)}},webtransport:class extends ap{get name(){return`webtransport`}doOpen(){try{this._transport=new WebTransport(this.createUri(`https`),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved(`error`,e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError(`webtransport error`,e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=Uf(2**53-1,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=zf();r.readable.pipeTo(e.writable),this._writer=r.writable.getWriter();let i=()=>{n.read().then(({done:e,value:t})=>{e||(this.onPacket(t),i())}).catch(e=>{})};i();let a={type:`open`};this.query.sid&&(a.data=`{"sid":"${this.query.sid}"}`),this._writer.write(a).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;this._writer.write(n).then(()=>{r&&Gf(()=>{this.writable=!0,this.emitReserved(`drain`)},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)==null||e.close()}},polling:mp},bp=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,xp=[`source`,`protocol`,`authority`,`userInfo`,`user`,`password`,`host`,`port`,`relative`,`path`,`directory`,`file`,`query`,`anchor`];function Sp(e){if(e.length>8e3)throw`URI too long`;let t=e,n=e.indexOf(`[`),r=e.indexOf(`]`);n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,`;`)+e.substring(r,e.length));let i=bp.exec(e||``),a={},o=14;for(;o--;)a[xp[o]]=i[o]||``;return n!=-1&&r!=-1&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,`:`),a.authority=a.authority.replace(`[`,``).replace(`]`,``).replace(/;/g,`:`),a.ipv6uri=!0),a.pathNames=Cp(a,a.path),a.queryKey=wp(a,a.query),a}function Cp(e,t){let n=t.replace(/\/{2,9}/g,`/`).split(`/`);return(t.slice(0,1)==`/`||t.length===0)&&n.splice(0,1),t.slice(-1)==`/`&&n.splice(n.length-1,1),n}function wp(e,t){let n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,r){t&&(n[t]=r)}),n}var Tp=typeof addEventListener==`function`&&typeof removeEventListener==`function`,Ep=[];Tp&&addEventListener(`offline`,()=>{Ep.forEach(e=>e())},!1);var Dp=class e extends X{constructor(e,t){if(super(),this.binaryType=qf,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e==`object`&&(t=e,e=null),e){let n=Sp(e);t.hostname=n.host,t.secure=n.protocol===`https`||n.protocol===`wss`,t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=Sp(t.host).host);Zf(this,t),this.secure=t.secure==null?typeof location<`u`&&location.protocol===`https:`:t.secure,t.hostname&&!t.port&&(t.port=this.secure?`443`:`80`),this.hostname=t.hostname||(typeof location<`u`?location.hostname:`localhost`),this.port=t.port||(typeof location<`u`&&location.port?location.port:this.secure?`443`:`80`),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{let t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:`/engine.io`,agent:!1,withCredentials:!1,upgrade:!0,timestampParam:`t`,rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,``)+(this.opts.addTrailingSlash?`/`:``),typeof this.opts.query==`string`&&(this.opts.query=rp(this.opts.query)),Tp&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener(`beforeunload`,this._beforeunloadEventListener,!1)),this.hostname!==`localhost`&&(this._offlineEventListener=()=>{this._onClose(`transport close`,{description:`network connection lost`})},Ep.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){let t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);let n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved(`error`,`No transports available`)},0);return}let t=this.opts.rememberUpgrade&&e.priorWebsocketSuccess&&this.transports.indexOf(`websocket`)!==-1?`websocket`:this.transports[0];this.readyState=`opening`;let n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on(`drain`,this._onDrain.bind(this)).on(`packet`,this._onPacket.bind(this)).on(`error`,this._onError.bind(this)).on(`close`,e=>this._onClose(`transport close`,e))}onOpen(){this.readyState=`open`,e.priorWebsocketSuccess=this.transport.name===`websocket`,this.emitReserved(`open`),this.flush()}_onPacket(e){if(this.readyState===`opening`||this.readyState===`open`||this.readyState===`closing`)switch(this.emitReserved(`packet`,e),this.emitReserved(`heartbeat`),e.type){case`open`:this.onHandshake(JSON.parse(e.data));break;case`ping`:this._sendPacket(`pong`),this.emitReserved(`ping`),this.emitReserved(`pong`),this._resetPingTimeout();break;case`error`:let t=Error(`server error`);t.code=e.data,this._onError(t);break;case`message`:this.emitReserved(`data`,e.data),this.emitReserved(`message`,e.data);break}}onHandshake(e){this.emitReserved(`handshake`,e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!==`closed`&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose(`ping timeout`)},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved(`drain`):this.flush()}flush(){if(this.readyState!==`closed`&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved(`flush`)}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name===`polling`&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){let n=this.writeBuffer[t].data;if(n&&(e+=$f(n)),t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,Gf(()=>{this._onClose(`ping timeout`)},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket(`message`,e,t,n),this}send(e,t,n){return this._sendPacket(`message`,e,t,n),this}_sendPacket(e,t,n,r){if(typeof t==`function`&&(r=t,t=void 0),typeof n==`function`&&(r=n,n=null),this.readyState===`closing`||this.readyState===`closed`)return;n||={},n.compress=!1!==n.compress;let i={type:e,data:t,options:n};this.emitReserved(`packetCreate`,i),this.writeBuffer.push(i),r&&this.once(`flush`,r),this.flush()}close(){let e=()=>{this._onClose(`forced close`),this.transport.close()},t=()=>{this.off(`upgrade`,t),this.off(`upgradeError`,t),e()},n=()=>{this.once(`upgrade`,t),this.once(`upgradeError`,t)};return(this.readyState===`opening`||this.readyState===`open`)&&(this.readyState=`closing`,this.writeBuffer.length?this.once(`drain`,()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(t){if(e.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState===`opening`)return this.transports.shift(),this._open();this.emitReserved(`error`,t),this._onClose(`transport error`,t)}_onClose(e,t){if(this.readyState===`opening`||this.readyState===`open`||this.readyState===`closing`){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners(`close`),this.transport.close(),this.transport.removeAllListeners(),Tp&&(this._beforeunloadEventListener&&removeEventListener(`beforeunload`,this._beforeunloadEventListener,!1),this._offlineEventListener)){let e=Ep.indexOf(this._offlineEventListener);e!==-1&&Ep.splice(e,1)}this.readyState=`closed`,this.id=null,this.emitReserved(`close`,e,t),this.writeBuffer=[],this._prevBufferLen=0}}};Dp.protocol=4;var Op=class extends Dp{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState===`open`&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;Dp.priorWebsocketSuccess=!1;let r=()=>{n||(t.send([{type:`ping`,data:`probe`}]),t.once(`packet`,e=>{if(!n)if(e.type===`pong`&&e.data===`probe`){if(this.upgrading=!0,this.emitReserved(`upgrading`,t),!t)return;Dp.priorWebsocketSuccess=t.name===`websocket`,this.transport.pause(()=>{n||this.readyState!==`closed`&&(l(),this.setTransport(t),t.send([{type:`upgrade`}]),this.emitReserved(`upgrade`,t),t=null,this.upgrading=!1,this.flush())})}else{let e=Error(`probe error`);e.transport=t.name,this.emitReserved(`upgradeError`,e)}}))};function i(){n||(n=!0,l(),t.close(),t=null)}let a=e=>{let n=Error(`probe error: `+e);n.transport=t.name,i(),this.emitReserved(`upgradeError`,n)};function o(){a(`transport closed`)}function s(){a(`socket closed`)}function c(e){t&&e.name!==t.name&&i()}let l=()=>{t.removeListener(`open`,r),t.removeListener(`error`,a),t.removeListener(`close`,o),this.off(`close`,s),this.off(`upgrading`,c)};t.once(`open`,r),t.once(`error`,a),t.once(`close`,o),this.once(`close`,s),this.once(`upgrading`,c),this._upgrades.indexOf(`webtransport`)!==-1&&e!==`webtransport`?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}},kp=class extends Op{constructor(e,t={}){let n=typeof e==`object`?e:t;(!n.transports||n.transports&&typeof n.transports[0]==`string`)&&(n.transports=(n.transports||[`polling`,`websocket`,`webtransport`]).map(e=>yp[e]).filter(e=>!!e)),super(e,n)}};kp.protocol;function Ap(e,t=``,n){let r=e;n||=typeof location<`u`&&location,e??=n.protocol+`//`+n.host,typeof e==`string`&&(e.charAt(0)===`/`&&(e=e.charAt(1)===`/`?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=n===void 0?`https://`+e:n.protocol+`//`+e),r=Sp(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port=`80`:/^(http|ws)s$/.test(r.protocol)&&(r.port=`443`)),r.path=r.path||`/`;let i=r.host.indexOf(`:`)===-1?r.host:`[`+r.host+`]`;return r.id=r.protocol+`://`+i+`:`+r.port+t,r.href=r.protocol+`://`+i+(n&&n.port===r.port?``:`:`+r.port),r}var jp=typeof ArrayBuffer==`function`,Mp=e=>typeof ArrayBuffer.isView==`function`?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Np=Object.prototype.toString,Pp=typeof Blob==`function`||typeof Blob<`u`&&Np.call(Blob)===`[object BlobConstructor]`,Fp=typeof File==`function`||typeof File<`u`&&Np.call(File)===`[object FileConstructor]`;function Ip(e){return jp&&(e instanceof ArrayBuffer||Mp(e))||Pp&&e instanceof Blob||Fp&&e instanceof File}function Lp(e,t){if(!e||typeof e!=`object`)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(Lp(e[t]))return!0;return!1}if(Ip(e))return!0;if(e.toJSON&&typeof e.toJSON==`function`&&arguments.length===1)return Lp(e.toJSON(),!0);for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&Lp(e[t]))return!0;return!1}function Rp(e){let t=[],n=e.data,r=e;return r.data=zp(n,t),r.attachments=t.length,{packet:r,buffers:t}}function zp(e,t){if(!e)return e;if(Ip(e)){let n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){let n=Array(e.length);for(let r=0;r<e.length;r++)n[r]=zp(e[r],t);return n}else if(typeof e==`object`&&!(e instanceof Date)){let n={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=zp(e[r],t));return n}return e}function Bp(e,t){return e.data=Vp(e.data,t),delete e.attachments,e}function Vp(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num==`number`&&e.num>=0&&e.num<t.length)return t[e.num];throw Error(`illegal attachments`)}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Vp(e[n],t);else if(typeof e==`object`)for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Vp(e[n],t));return e}var Hp=n({Decoder:()=>Gp,Encoder:()=>Wp,PacketType:()=>Z,isPacketValid:()=>Qp,protocol:()=>5}),Up=[`connect`,`connect_error`,`disconnect`,`disconnecting`,`newListener`,`removeListener`],Z;(function(e){e[e.CONNECT=0]=`CONNECT`,e[e.DISCONNECT=1]=`DISCONNECT`,e[e.EVENT=2]=`EVENT`,e[e.ACK=3]=`ACK`,e[e.CONNECT_ERROR=4]=`CONNECT_ERROR`,e[e.BINARY_EVENT=5]=`BINARY_EVENT`,e[e.BINARY_ACK=6]=`BINARY_ACK`})(Z||={});var Wp=class{constructor(e){this.replacer=e}encode(e){return(e.type===Z.EVENT||e.type===Z.ACK)&&Lp(e)?this.encodeAsBinary({type:e.type===Z.EVENT?Z.BINARY_EVENT:Z.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=``+e.type;return(e.type===Z.BINARY_EVENT||e.type===Z.BINARY_ACK)&&(t+=e.attachments+`-`),e.nsp&&e.nsp!==`/`&&(t+=e.nsp+`,`),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=Rp(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}},Gp=class e extends X{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof e==`function`?{reviver:e}:e)}add(e){let t;if(typeof e==`string`){if(this.reconstructor)throw Error(`got plaintext data when reconstructing a packet`);t=this.decodeString(e);let n=t.type===Z.BINARY_EVENT;n||t.type===Z.BINARY_ACK?(t.type=n?Z.EVENT:Z.ACK,this.reconstructor=new Kp(t),t.attachments===0&&super.emitReserved(`decoded`,t)):super.emitReserved(`decoded`,t)}else if(Ip(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved(`decoded`,t));else throw Error(`got binary data when not reconstructing a packet`);else throw Error(`Unknown type: `+e)}decodeString(t){let n=0,r={type:Number(t.charAt(0))};if(Z[r.type]===void 0)throw Error(`unknown packet type `+r.type);if(r.type===Z.BINARY_EVENT||r.type===Z.BINARY_ACK){let e=n+1;for(;t.charAt(++n)!==`-`&&n!=t.length;);let i=t.substring(e,n);if(i!=Number(i)||t.charAt(n)!==`-`)throw Error(`Illegal attachments`);let a=Number(i);if(!Jp(a)||a<0)throw Error(`Illegal attachments`);if(a>this.opts.maxAttachments)throw Error(`too many attachments`);r.attachments=a}if(t.charAt(n+1)===`/`){let e=n+1;for(;++n&&!(t.charAt(n)===`,`||n===t.length););r.nsp=t.substring(e,n)}else r.nsp=`/`;let i=t.charAt(n+1);if(i!==``&&Number(i)==i){let e=n+1;for(;++n;){let e=t.charAt(n);if(e==null||Number(e)!=e){--n;break}if(n===t.length)break}r.id=Number(t.substring(e,n+1))}if(t.charAt(++n)){let i=this.tryParse(t.substr(n));if(e.isPayloadValid(r.type,i))r.data=i;else throw Error(`invalid payload`)}return r}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case Z.CONNECT:return Xp(t);case Z.DISCONNECT:return t===void 0;case Z.CONNECT_ERROR:return typeof t==`string`||Xp(t);case Z.EVENT:case Z.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]==`number`||typeof t[0]==`string`&&Up.indexOf(t[0])===-1);case Z.ACK:case Z.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&=(this.reconstructor.finishedReconstruction(),null)}},Kp=class{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){let e=Bp(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}};function qp(e){return typeof e==`string`}var Jp=Number.isInteger||function(e){return typeof e==`number`&&isFinite(e)&&Math.floor(e)===e};function Yp(e){return e===void 0||Jp(e)}function Xp(e){return Object.prototype.toString.call(e)===`[object Object]`}function Zp(e,t){switch(e){case Z.CONNECT:return t===void 0||Xp(t);case Z.DISCONNECT:return t===void 0;case Z.EVENT:return Array.isArray(t)&&(typeof t[0]==`number`||typeof t[0]==`string`&&Up.indexOf(t[0])===-1);case Z.ACK:return Array.isArray(t);case Z.CONNECT_ERROR:return typeof t==`string`||Xp(t);default:return!1}}function Qp(e){return qp(e.nsp)&&Yp(e.id)&&Zp(e.type,e.data)}function $p(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var em=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),tm=class extends X{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[$p(e,`open`,this.onopen.bind(this)),$p(e,`packet`,this.onpacket.bind(this)),$p(e,`error`,this.onerror.bind(this)),$p(e,`close`,this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState===`open`&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift(`message`),this.emit.apply(this,e),this}emit(e,...t){if(em.hasOwnProperty(e))throw Error(`"`+e.toString()+`" is a reserved event name`);if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let n={type:Z.EVENT,data:t};if(n.options={},n.options.compress=this.flags.compress!==!1,typeof t[t.length-1]==`function`){let e=this.ids++,r=t.pop();this._registerAckCallback(e,r),n.id=e}let r=this.io.engine?.transport?.writable,i=this.connected&&!this.io.engine?._hasPingExpired();return this.flags.volatile&&!r||(i?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(e,t){let n=this.flags.timeout??this._opts.ackTimeout;if(n===void 0){this.acks[e]=t;return}let r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,Error(`operation has timed out`))},n),i=(...e)=>{this.io.clearTimeoutFn(r),t.apply(this,e)};i.withError=!0,this.acks[e]=i}emitWithAck(e,...t){return new Promise((n,r)=>{let i=(e,t)=>e?r(e):n(t);i.withError=!0,t.push(i),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]==`function`&&(t=e.pop());let n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...r)=>(this._queue[0],e===null?(this._queue.shift(),t&&t(null,...r)):n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;let t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth==`function`?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Z.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved(`connect_error`,e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved(`disconnect`,e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){let t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,Error(`socket has been disconnected`))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Z.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved(`connect_error`,Error(`It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)`));break;case Z.EVENT:case Z.BINARY_EVENT:this.onevent(e);break;case Z.ACK:case Z.BINARY_ACK:this.onack(e);break;case Z.DISCONNECT:this.ondisconnect();break;case Z.CONNECT_ERROR:this.destroy();let t=Error(e.data.message);t.data=e.data.data,this.emitReserved(`connect_error`,t);break}}onevent(e){let t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){let t=this._anyListeners.slice();for(let n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]==`string`&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,n=!1;return function(...r){n||(n=!0,t.packet({type:Z.ACK,id:e,data:r}))}}onack(e){let t=this.acks[e.id];typeof t==`function`&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved(`connect`)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose(`io server disconnect`)}destroy(){this.subs&&=(this.subs.forEach(e=>e()),void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Z.DISCONNECT}),this.destroy(),this.connected&&this.onclose(`io client disconnect`),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){let t=this._anyOutgoingListeners.slice();for(let n of t)n.apply(this,e.data)}}};function nm(e){e||={},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}nm.prototype.duration=function(){var e=this.ms*this.factor**+ this.attempts++;if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0},nm.prototype.reset=function(){this.attempts=0},nm.prototype.setMin=function(e){this.ms=e},nm.prototype.setMax=function(e){this.max=e},nm.prototype.setJitter=function(e){this.jitter=e};var rm=class extends X{constructor(e,t){super(),this.nsps={},this.subs=[],e&&typeof e==`object`&&(t=e,e=void 0),t||={},t.path=t.path||`/socket.io`,this.opts=t,Zf(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor??.5),this.backoff=new nm({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState=`closed`,this.uri=e;let n=t.parser||Hp;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)==null||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)==null||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)==null||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf(`open`))return this;this.engine=new kp(this.uri,this.opts);let t=this.engine,n=this;this._readyState=`opening`,this.skipReconnect=!1;let r=$p(t,`open`,function(){n.onopen(),e&&e()}),i=t=>{this.cleanup(),this._readyState=`closed`,this.emitReserved(`error`,t),e?e(t):this.maybeReconnectOnOpen()},a=$p(t,`error`,i);if(!1!==this._timeout){let e=this._timeout,n=this.setTimeoutFn(()=>{r(),i(Error(`timeout`)),t.close()},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(r),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState=`open`,this.emitReserved(`open`);let e=this.engine;this.subs.push($p(e,`ping`,this.onping.bind(this)),$p(e,`data`,this.ondata.bind(this)),$p(e,`error`,this.onerror.bind(this)),$p(e,`close`,this.onclose.bind(this)),$p(this.decoder,`decoded`,this.ondecoded.bind(this)))}onping(){this.emitReserved(`ping`)}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose(`parse error`,e)}}ondecoded(e){Gf(()=>{this.emitReserved(`packet`,e)},this.setTimeoutFn)}onerror(e){this.emitReserved(`error`,e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new tm(this,e,t),this.nsps[e]=n),n}_destroy(e){let t=Object.keys(this.nsps);for(let e of t)if(this.nsps[e].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose(`forced close`)}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),(n=this.engine)==null||n.close(),this.backoff.reset(),this._readyState=`closed`,this.emitReserved(`close`,e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved(`reconnect_failed`),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved(`reconnect_attempt`,e.backoff.attempts),!e.skipReconnect&&e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved(`reconnect_error`,t)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved(`reconnect`,e)}},im={};function am(e,t){typeof e==`object`&&(t=e,e=void 0),t||={};let n=Ap(e,t.path||`/socket.io`),r=n.source,i=n.id,a=n.path,o=im[i]&&a in im[i].nsps,s=t.forceNew||t[`force new connection`]||!1===t.multiplex||o,c;return s?c=new rm(r,t):(im[i]||(im[i]=new rm(r,t)),c=im[i]),n.query&&!t.query&&(t.query=n.queryKey),c.socket(n.path,t)}Object.assign(am,{Manager:rm,Socket:tm,io:am,connect:am});function om(){let e=null,t=new Map,n=new Set,r=()=>window.location.origin,i=()=>e||(e=am(r(),{withCredentials:!0,transports:[`websocket`,`polling`]}),e.on(`connect`,()=>{for(let t of n)e?.emit(`join`,t)}),e),a=e=>{let r=String(e).trim();if(!r)throw Error(`Channel name is required`);let a=i();n.add(r),a.emit(`join`,r);let o={listen:(e,n)=>{let i=e=>n(e),s=t.get(r)||[];return s.push({event:e,callback:n,wrapped:i}),t.set(r,s),a.on(e,i),o},stopListening:(e,n)=>{let i=t.get(r)||[],s=[];for(let t of i){let r=t.event===e,i=!n||t.callback===n;r&&i?a.off(t.event,t.wrapped):s.push(t)}return s.length>0?t.set(r,s):t.delete(r),o}};return o},o={connect:()=>(i(),o),disconnect:()=>(e?.disconnect(),e=null,o),channel:a,private:e=>a(`private:${e}`),leave:r=>{if(!e)return o;let i=t.get(r)||[];for(let t of i)e.off(t.event,t.wrapped);return t.delete(r),n.delete(r),o}};return o}var sm=om(),cm={install(e){e.config.globalProperties.$pulse=sm}},lm=typeof document<`u`;function um(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function dm(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&um(e.default)}var Q=Object.assign;function fm(e,t){let n={};for(let r in t){let i=t[r];n[r]=mm(i)?i.map(e):e(i)}return n}var pm=()=>{},mm=Array.isArray;function hm(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var $=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),gm=Symbol(``);$.MATCHER_NOT_FOUND,$.NAVIGATION_GUARD_REDIRECT,$.NAVIGATION_ABORTED,$.NAVIGATION_CANCELLED,$.NAVIGATION_DUPLICATED;function _m(e,t){return Q(Error(),{type:e,[gm]:!0},t)}function vm(e,t){return e instanceof Error&&gm in e&&(t==null||!!(e.type&t))}var ym=Symbol(``),bm=Symbol(``),xm=Symbol(``),Sm=Symbol(``),Cm=Symbol(``);function wm(){return Ha(xm)}function Tm(e){return Ha(Sm)}var Em=/#/g,Dm=/&/g,Om=/\//g,km=/=/g,Am=/\?/g,jm=/\+/g,Mm=/%5B/g,Nm=/%5D/g,Pm=/%5E/g,Fm=/%60/g,Im=/%7B/g,Lm=/%7C/g,Rm=/%7D/g,zm=/%20/g;function Bm(e){return e==null?``:encodeURI(``+e).replace(Lm,`|`).replace(Mm,`[`).replace(Nm,`]`)}function Vm(e){return Bm(e).replace(Im,`{`).replace(Rm,`}`).replace(Pm,`^`)}function Hm(e){return Bm(e).replace(jm,`%2B`).replace(zm,`+`).replace(Em,`%23`).replace(Dm,`%26`).replace(Fm,"`").replace(Im,`{`).replace(Rm,`}`).replace(Pm,`^`)}function Um(e){return Hm(e).replace(km,`%3D`)}function Wm(e){return Bm(e).replace(Em,`%23`).replace(Am,`%3F`)}function Gm(e){return Wm(e).replace(Om,`%2F`)}function Km(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var qm=/\/$/,Jm=e=>e.replace(qm,``);function Ym(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=rh(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Km(o)}}function Xm(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Zm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Qm(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&$m(t.matched[r],n.matched[i])&&eh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $m(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function eh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!th(e[n],t[n]))return!1;return!0}function th(e,t){return mm(e)?nh(e,t):mm(t)?nh(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function nh(e,t){return mm(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function rh(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var ih={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},ah=function(e){return e.pop=`pop`,e.push=`push`,e}({}),oh=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function sh(e){if(!e)if(lm){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Jm(e)}var ch=/^[^#]+#/;function lh(e,t){return e.replace(ch,`#`)+t}function uh(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var dh=()=>({left:window.scrollX,top:window.scrollY});function fh(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=uh(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function ph(e,t){return(history.state?history.state.position-t:-1)+e}var mh=new Map;function hh(e,t){mh.set(e,t)}function gh(e){let t=mh.get(e);return mh.delete(e),t}function _h(e){return typeof e==`string`||e&&typeof e==`object`}function vh(e){return typeof e==`string`||typeof e==`symbol`}function yh(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(jm,` `),i=r.indexOf(`=`),a=Km(i<0?r:r.slice(0,i)),o=i<0?null:Km(r.slice(i+1));if(a in t){let e=t[a];mm(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function bh(e){let t=``;for(let n in e){let r=e[n];if(n=Um(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(mm(r)?r.map(e=>e&&Hm(e)):[r&&Hm(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function xh(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=mm(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Sh(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ch(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(_m($.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):_h(e)?c(_m($.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function wh(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(um(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Ch(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=dm(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Ch(c,n,r,o,e,i)()}))}}return a}function Th(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>$m(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>$m(e,s))||i.push(s))}return[n,r,i]}var Eh=()=>location.protocol+`//`+location.host;function Dh(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Zm(n,``)}return Zm(n,e)+r+i}function Oh(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Dh(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:ah.pop,direction:u?u>0?oh.forward:oh.back:oh.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(Q({},e.state,{scroll:dh()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function kh(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?dh():null}}function Ah(e){let{history:t,location:n}=window,r={value:Dh(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Eh()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,Q({},t.state,kh(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=Q({},i.value,t.state,{forward:e,scroll:dh()});a(o.current,o,!0),a(e,Q({},kh(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function jh(e){e=sh(e);let t=Ah(e),n=Oh(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=Q({location:``,base:e,go:r,createHref:lh.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}var Mh=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Nh=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Nh||{}),Ph={type:Mh.Static,value:``},Fh=/[a-zA-Z0-9_]/;function Ih(e){if(!e)return[[]];if(e===`/`)return[[Ph]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Nh.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Nh.Static?a.push({type:Mh.Static,value:l}):n===Nh.Param||n===Nh.ParamRegExp||n===Nh.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Mh.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case Nh.Static:c===`\\`?(r=n,n=Nh.EscapeNext):c===`/`?(l&&d(),o()):c===`:`?(d(),n=Nh.Param):f();break;case Nh.EscapeNext:f(),n=r;break;case Nh.Param:c===`(`?n=Nh.ParamRegExp:Fh.test(c)?f():(d(),n=Nh.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Nh.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Nh.ParamRegExpEnd:u+=c;break;case Nh.ParamRegExpEnd:d(),n=Nh.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}return n===Nh.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Lh=`[^/]+?`,Rh={sensitive:!1,strict:!1,start:!0,end:!0},zh=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}(zh||{}),Bh=/[.+*?^${}()[\]/\\]/g;function Vh(e,t){let n=Q({},Rh,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[zh.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=zh.Segment+(n.sensitive?zh.BonusCaseSensitive:0);if(o.type===Mh.Static)r||(i+=`/`),i+=o.value.replace(Bh,`\\$&`),s+=zh.Static;else if(o.type===Mh.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Lh;if(u!==Lh){s+=zh.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=zh.Dynamic,c&&(s+=zh.BonusOptional),n&&(s+=zh.BonusRepeatable),u===`.*`&&(s+=zh.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=zh.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Mh.Static)n+=e.value;else if(e.type===Mh.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(mm(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=mm(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function Hh(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===zh.Static+zh.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===zh.Static+zh.Segment?1:-1:0}function Uh(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=Hh(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Wh(r))return 1;if(Wh(i))return-1}return i.length-r.length}function Wh(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Gh={strict:!1,end:!0,sensitive:!1};function Kh(e,t,n){let r=Q(Vh(Ih(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function qh(e,t){let n=[],r=new Map;t=hm(Gh,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=Yh(e);s.aliasOf=r&&r.record;let l=hm(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(Yh(Q({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Kh(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Zh(d)&&o(e.name)),tg(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:pm}function o(e){if(vh(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=$h(e,n);n.splice(t,0,e),e.record.name&&!Zh(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw _m($.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=Q(Jh(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Jh(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw _m($.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=Q({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Qh(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function Jh(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function Yh(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Xh(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,`mods`,{value:{}}),t}function Xh(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Zh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Qh(e){return e.reduce((e,t)=>Q(e,t.meta),{})}function $h(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Uh(e,t[i])<0?r=i:n=i+1}let i=eg(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function eg(e){let t=e;for(;t=t.parent;)if(tg(t)&&Uh(e,t)===0)return t}function tg({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ng(e){let t=Ha(xm),n=Ha(Sm),r=ll(()=>{let n=Zi(e.to);return t.resolve(n)}),i=ll(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex($m.bind(null,i));if(o>-1)return o;let s=sg(e[t-2]);return t>1&&sg(i)===s&&a[a.length-1].path!==s?a.findIndex($m.bind(null,e[t-2])):o}),a=ll(()=>i.value>-1&&og(n.params,r.value.params)),o=ll(()=>i.value>-1&&i.value===n.matched.length-1&&eh(n.params,r.value.params));function s(n={}){if(ag(n)){let n=t[Zi(e.replace)?`replace`:`push`](Zi(e.to)).catch(pm);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:ll(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function rg(e){return e.length===1?e[0]:e}var ig=ho({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:ng,setup(e,{slots:t}){let n=Ii(ng(e)),{options:r}=Ha(xm),i=ll(()=>({[cg(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[cg(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&rg(t.default(n));return e.custom?r:ul(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function ag(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function og(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!mm(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function sg(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var cg=(e,t,n)=>e??t??n,lg=ho({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=Ha(Cm),i=ll(()=>e.route||r.value),a=Ha(bm,0),o=ll(()=>{let e=Zi(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=ll(()=>i.value.matched[o.value]);Va(bm,ll(()=>o.value+1)),Va(ym,s),Va(Cm,i);let c=qi();return Ja(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!$m(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return ug(n.default,{Component:l,route:r});let u=o.props[a],d=ul(l,Q({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return ug(n.default,{Component:d,route:r})||d}}});function ug(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var dg=lg;function fg(e){let t=qh(e.routes,e),n=e.parseQuery||yh,r=e.stringifyQuery||bh,i=e.history,a=Sh(),o=Sh(),s=Sh(),c=Ji(ih),l=ih;lm&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=fm.bind(null,e=>``+e),d=fm.bind(null,Gm),f=fm.bind(null,Km);function p(e,n){let r,i;return vh(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=Q({},a||c.value),typeof e==`string`){let r=Ym(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return Q(r,o,{params:f(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=Q({},e,{path:Ym(n,e.path,a.path).path});else{let t=Q({},e.params);for(let e in t)t[e]??delete t[e];o=Q({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=Xm(r,Q({},e,{hash:Vm(l),path:s.path})),m=i.createHref(p);return Q({fullPath:p,hash:l,query:r===bh?xh(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?Ym(n,e,c.value.path):Q({},e)}function y(e,t){if(l!==e)return _m($.NAVIGATION_CANCELLED,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(Q(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),Q({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(Q(v(u),{state:typeof u==`object`?Q({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Qm(r,i,n)&&(f=_m($.NAVIGATION_DUPLICATED,{to:d,from:i}),ie(i,i,!0,!1)),(f?Promise.resolve(f):E(d,i)).catch(e=>vm(e)?vm(e,$.NAVIGATION_GUARD_REDIRECT)?e:re(e):ne(e,d,i)).then(e=>{if(e){if(vm(e,$.NAVIGATION_GUARD_REDIRECT))return C(Q({replace:s},v(e.to),{state:typeof e.to==`object`?Q({},a,e.to.state):a,force:o}),t||d)}else e=O(d,i,!0,s,a);return D(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=se.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function E(e,t){let n,[r,i,s]=Th(e,t);n=wh(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Ch(r,e,t))});let c=w.bind(null,e,t);return n.push(c),P(n).then(()=>{n=[];for(let r of a.list())n.push(Ch(r,e,t));return n.push(c),P(n)}).then(()=>{n=wh(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Ch(r,e,t))});return n.push(c),P(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(mm(r.beforeEnter))for(let i of r.beforeEnter)n.push(Ch(i,e,t));else n.push(Ch(r.beforeEnter,e,t));return n.push(c),P(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=wh(s,`beforeRouteEnter`,e,t,T),n.push(c),P(n))).then(()=>{n=[];for(let r of o.list())n.push(Ch(r,e,t));return n.push(c),P(n)}).catch(e=>vm(e,$.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function D(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function O(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===ih,l=lm?history.state:{};n&&(r||s?i.replace(e.fullPath,Q({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,ie(e,t,n,s),re()}let k;function ee(){k||=i.listen((e,t,n)=>{if(!N.listening)return;let r=_(e),a=S(r,N.currentRoute.value);if(a){C(Q(a,{replace:!0,force:!0}),r).catch(pm);return}l=r;let o=c.value;lm&&hh(ph(o.fullPath,n.delta),dh()),E(r,o).catch(e=>vm(e,$.NAVIGATION_ABORTED|$.NAVIGATION_CANCELLED)?e:vm(e,$.NAVIGATION_GUARD_REDIRECT)?(C(Q(v(e.to),{force:!0}),r).then(e=>{vm(e,$.NAVIGATION_ABORTED|$.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===ah.pop&&i.go(-1,!1)}).catch(pm),Promise.reject()):(n.delta&&i.go(-n.delta,!1),ne(e,r,o))).then(e=>{e||=O(r,o,!1),e&&(n.delta&&!vm(e,$.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===ah.pop&&vm(e,$.NAVIGATION_ABORTED|$.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),D(r,o,e)}).catch(pm)})}let A=Sh(),j=Sh(),te;function ne(e,t,n){re(e);let r=j.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function M(){return te&&c.value!==ih?Promise.resolve():new Promise((e,t)=>{A.add([e,t])})}function re(e){return te||(te=!e,ee(),A.list().forEach(([t,n])=>e?n(e):t()),A.reset()),e}function ie(t,n,r,i){let{scrollBehavior:a}=e;if(!lm||!a)return Promise.resolve();let o=!r&&gh(ph(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return Ea().then(()=>a(t,n,o)).then(e=>e&&fh(e)).catch(e=>ne(e,t,n))}let ae=e=>i.go(e),oe,se=new Set,N={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:j.add,isReady:M,install(e){e.component(`RouterLink`,ig),e.component(`RouterView`,dg),e.config.globalProperties.$router=N,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>Zi(c)}),lm&&!oe&&c.value===ih&&(oe=!0,b(i.location).catch(e=>{}));let t={};for(let e in ih)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(xm,N),e.provide(Sm,Li(t)),e.provide(Cm,c);let n=e.unmount;se.add(e),e.unmount=function(){se.delete(e),se.size<1&&(l=ih,k&&k(),k=null,c.value=ih,oe=!1,te=!1),n()}}};function P(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return N}var pg={rememberPrefix:`gum`,recentlySuccessfulDuration:2e3},mg={install(e,t={}){t.rememberPrefix&&(pg.rememberPrefix=t.rememberPrefix),typeof t.recentlySuccessfulDuration==`number`&&(pg.recentlySuccessfulDuration=t.recentlySuccessfulDuration)}},hg=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},gg={};function _g(e,t){let n=Bo(`router-view`);return _c(),Cc(n)}var vg=hg(gg,[[`render`,_g]]),yg=`app-route-progress`;function bg(){let e=document.getElementById(yg);if(e)return e;let t=document.createElement(`div`);return t.id=yg,t.style.position=`fixed`,t.style.top=`0`,t.style.left=`0`,t.style.right=`0`,t.style.height=`2px`,t.style.width=`100vw`,t.style.opacity=`0`,t.style.zIndex=`99999`,t.style.pointerEvents=`none`,t.style.background=`linear-gradient(90deg, #2563eb, #06b6d4)`,t.style.boxShadow=`0 0 8px rgba(37, 99, 235, 0.5)`,t.style.transformOrigin=`left center`,t.style.transform=`scaleX(0)`,t.style.transition=`transform 0.25s ease, opacity 0.2s ease`,document.body.appendChild(t),t}function xg(e){if(typeof window>`u`)return;let t=bg(),n=null,r=null,i=()=>{n!==null&&(window.clearInterval(n),n=null),r!==null&&(window.clearTimeout(r),r=null)},a=()=>{i(),t.style.opacity=`1`,t.dataset.progress=`0.18`,t.style.transform=`scaleX(0.18)`,n=window.setInterval(()=>{let e=Number.parseFloat(t.dataset.progress||`0.18`);if(e>=.85)return;let n=Math.min(e+Math.random()*.09,.85);t.dataset.progress=String(n),t.style.transform=`scaleX(${n})`},180)},o=()=>{i(),t.dataset.progress=`1`,t.style.transform=`scaleX(1)`,r=window.setTimeout(()=>{t.style.opacity=`0`,t.style.transform=`scaleX(0)`,t.dataset.progress=`0`},220)};e.beforeEach((e,t)=>(e.path!==t.path&&a(),!0)),e.afterEach(()=>{o()}),e.onError(()=>{o()})}var Sg=qi(null);function Cg(e){Sg.value=e}function wg(){Sg.value=null}function Tg(){return{user:Ri(Sg),isAuthenticated:ll(()=>!!Sg.value),setUser:Cg,clearUser:wg}}var Eg=ll(()=>Sg.value??{});async function Dg(e,t,n){try{return(await R.request({method:e,url:`/api/auth${t}`,data:n})).data}catch(e){throw R.isAxiosError(e)?Error(String(e.response?.data?.message||e.message||`Request failed`)):Error(`Request failed`)}}var Og=Qu(`auth`,()=>{let e=qi(null),t=qi(!1),n=qi(!1),r=qi(!1),i=n=>{e.value=n,t.value=!!n,n?Cg(n):wg()};return{user:e,isAuthenticated:t,processing:n,initialized:r,bootstrap:async()=>{if(!r.value)try{i((await Dg(`GET`,`/me`))?.data||null)}catch{i(null)}finally{r.value=!0}},register:async e=>{n.value=!0;try{let t=await Dg(`POST`,`/register`,e),n=t?.data?.user||null;return n?(i(n),r.value=!0):i(null),t.message||`Registration successful`}finally{n.value=!1}},login:async e=>{n.value=!0;try{let t=await Dg(`POST`,`/login`,e);return i(t?.data?.user||null),r.value=!0,t.message||`Login successful`}finally{n.value=!1}},forgotPassword:async e=>{n.value=!0;try{return(await Dg(`POST`,`/forgot-password`,e)).message||`If this email exists, a reset link has been sent`}finally{n.value=!1}},resetPassword:async e=>{n.value=!0;try{return(await Dg(`POST`,`/reset-password`,e)).message||`Password reset successfully`}finally{n.value=!1}},verifyEmail:async e=>{n.value=!0;try{return(await Dg(`POST`,`/verify-email`,e)).message||`Email verified successfully`}finally{n.value=!1}},logout:async()=>{n.value=!0;try{await Dg(`POST`,`/logout`)}finally{i(null),n.value=!1,r.value=!0}}}}),kg=`modulepreload`,Ag=function(e){return`/`+e},jg={},Mg=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Ag(t,n),t in jg)return;jg[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:kg,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Ng=fg({history:jh(),routes:[{path:`/`,name:`dashlayout`,component:()=>Mg(()=>import(`./Layout-DotR1sQC.js`),__vite__mapDeps([0,1])),redirect:{path:`/`},children:[{path:`/`,name:`dashboard`,component:()=>Mg(()=>import(`./dashboard-CwybEyLc.js`),__vite__mapDeps([2,3,4])),meta:{requiresAuth:!0}},{path:`/realtime-test`,name:`realtime-test`,component:()=>Mg(()=>import(`./realtime-test-tQZ0rBEJ.js`),__vite__mapDeps([5,3,6])),meta:{requiresAuth:!0}}]},{path:`/login`,name:`authlayout`,component:()=>Mg(()=>import(`./AuthLayout-CbswhpjJ.js`),__vite__mapDeps([7,1])),children:[{path:`/register`,name:`register`,component:()=>Mg(()=>import(`./register-3O7Qs28C.js`),__vite__mapDeps([8,9,10,11,12])),meta:{guestOnly:!0}},{path:`/login`,name:`login`,component:()=>Mg(()=>import(`./login-DC7PTlQF.js`),__vite__mapDeps([13,9,10,11,12])),meta:{guestOnly:!0}},{path:`/forget-password`,name:`forget-password`,component:()=>Mg(()=>import(`./forgetPassword-CKEJaXsq.js`),__vite__mapDeps([14,15,9,10])),meta:{guestOnly:!0}},{path:`/reset-password`,name:`reset-password`,component:()=>Mg(()=>import(`./resetPassword-A5AzMWKs.js`),__vite__mapDeps([16,15,9,10])),meta:{guestOnly:!0}},{path:`/verify-email`,name:`verify-email`,component:()=>Mg(()=>import(`./verifyEmail-DDBEQHOv.js`),[]),meta:{guestOnly:!0}}]}],scrollBehavior:(e,t,n)=>n||{top:0}});xg(Ng),Ng.beforeEach(async e=>{let t=Og();return await t.bootstrap(),e.meta.requiresAuth&&!t.isAuthenticated?{path:`/login`,query:{redirect:e.fullPath}}:e.meta.guestOnly&&t.isAuthenticated?{path:`/`}:!0}),t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).bootstrap=r()})(e,function(){let e=new Map,t={set(t,n,r){e.has(t)||e.set(t,new Map);let i=e.get(t);i.has(n)||i.size===0?i.set(n,r):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;let r=e.get(t);r.delete(n),r.size===0&&e.delete(t)}},n=`transitionend`,r=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),e),i=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),a=e=>{e.dispatchEvent(new Event(n))},o=e=>!(!e||typeof e!=`object`)&&(e.jquery!==void 0&&(e=e[0]),e.nodeType!==void 0),s=e=>o(e)?e.jquery?e[0]:e:typeof e==`string`&&e.length>0?document.querySelector(r(e)):null,c=e=>{if(!o(e)||e.getClientRects().length===0)return!1;let t=getComputedStyle(e).getPropertyValue(`visibility`)===`visible`,n=e.closest(`details:not([open])`);if(!n)return t;if(n!==e){let t=e.closest(`summary`);if(t&&t.parentNode!==n||t===null)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains(`disabled`)||(e.disabled===void 0?e.hasAttribute(`disabled`)&&e.getAttribute(`disabled`)!==`false`:e.disabled),u=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode==`function`){let t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?u(e.parentNode):null},d=()=>{},f=e=>{e.offsetHeight},p=()=>window.jQuery&&!document.body.hasAttribute(`data-bs-no-jquery`)?window.jQuery:null,m=[],h=()=>document.documentElement.dir===`rtl`,g=e=>{var t=()=>{let t=p();if(t){let n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}};document.readyState===`loading`?(m.length||document.addEventListener(`DOMContentLoaded`,()=>{for(let e of m)e()}),m.push(t)):t()},_=(e,t=[],n=e)=>typeof e==`function`?e.call(...t):n,v=(e,t,r=!0)=>{if(!r)return void _(e);let i=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);return Number.parseFloat(t)||Number.parseFloat(n)?(t=t.split(`,`)[0],n=n.split(`,`)[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5,o=!1,s=({target:r})=>{r===t&&(o=!0,t.removeEventListener(n,s),_(e))};t.addEventListener(n,s),setTimeout(()=>{o||a(t)},i)},y=(e,t,n,r)=>{let i=e.length,a=e.indexOf(t);return a===-1?!n&&r?e[i-1]:e[0]:(a+=n?1:-1,r&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},b=/[^.]*(?=\..*)\.|.*/,x=/\..*/,S=/::\d+$/,C={},w=1,T={mouseenter:`mouseover`,mouseleave:`mouseout`},E=new Set(`click.dblclick.mouseup.mousedown.contextmenu.mousewheel.DOMMouseScroll.mouseover.mouseout.mousemove.selectstart.selectend.keydown.keypress.keyup.orientationchange.touchstart.touchmove.touchend.touchcancel.pointerdown.pointermove.pointerup.pointerleave.pointercancel.gesturestart.gesturechange.gestureend.focus.blur.change.reset.select.submit.focusin.focusout.load.unload.beforeunload.resize.move.DOMContentLoaded.readystatechange.error.abort.scroll`.split(`.`));function D(e,t){return t&&`${t}::${w++}`||e.uidEvent||w++}function O(e){let t=D(e);return e.uidEvent=t,C[t]=C[t]||{},C[t]}function k(e,t,n=null){return Object.values(e).find(e=>e.callable===t&&e.delegationSelector===n)}function ee(e,t,n){let r=typeof t==`string`,i=r?n:t||n,a=ne(e);return E.has(a)||(a=e),[r,i,a]}function A(e,t,n,r,i){if(typeof t!=`string`||!e)return;let[a,o,s]=ee(t,n,r);t in T&&(o=(e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)})(o));let c=O(e),l=c[s]||(c[s]={}),u=k(l,o,a?n:null);if(u)return void(u.oneOff=u.oneOff&&i);let d=D(o,t.replace(b,``)),f=a?function(e,t,n){return function r(i){let a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(let s of a)if(s===o)return re(i,{delegateTarget:o}),r.oneOff&&M.off(e,i.type,t,n),n.apply(o,[i])}}(e,n,o):function(e,t){return function n(r){return re(r,{delegateTarget:e}),n.oneOff&&M.off(e,r.type,t),t.apply(e,[r])}}(e,o);f.delegationSelector=a?n:null,f.callable=o,f.oneOff=i,f.uidEvent=d,l[d]=f,e.addEventListener(s,f,a)}function j(e,t,n,r,i){let a=k(t[n],r,i);a&&(e.removeEventListener(n,a,!!i),delete t[n][a.uidEvent])}function te(e,t,n,r){let i=t[n]||{};for(let[a,o]of Object.entries(i))a.includes(r)&&j(e,t,n,o.callable,o.delegationSelector)}function ne(e){return e=e.replace(x,``),T[e]||e}let M={on(e,t,n,r){A(e,t,n,r,!1)},one(e,t,n,r){A(e,t,n,r,!0)},off(e,t,n,r){if(typeof t!=`string`||!e)return;let[i,a,o]=ee(t,n,r),s=o!==t,c=O(e),l=c[o]||{},u=t.startsWith(`.`);if(a===void 0){if(u)for(let n of Object.keys(c))te(e,c,n,t.slice(1));for(let[n,r]of Object.entries(l)){let i=n.replace(S,``);s&&!t.includes(i)||j(e,c,o,r.callable,r.delegationSelector)}}else{if(!Object.keys(l).length)return;j(e,c,o,a,i?n:null)}},trigger(e,t,n){if(typeof t!=`string`||!e)return null;let r=p(),i=null,a=!0,o=!0,s=!1;t!==ne(t)&&r&&(i=r.Event(t,n),r(e).trigger(i),a=!i.isPropagationStopped(),o=!i.isImmediatePropagationStopped(),s=i.isDefaultPrevented());let c=re(new Event(t,{bubbles:a,cancelable:!0}),n);return s&&c.preventDefault(),o&&e.dispatchEvent(c),c.defaultPrevented&&i&&i.preventDefault(),c}};function re(e,t={}){for(let[n,r]of Object.entries(t))try{e[n]=r}catch{Object.defineProperty(e,n,{configurable:!0,get:()=>r})}return e}function ie(e){if(e===`true`)return!0;if(e===`false`)return!1;if(e===Number(e).toString())return Number(e);if(e===``||e===`null`)return null;if(typeof e!=`string`)return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function ae(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}let oe={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${ae(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${ae(t)}`)},getDataAttributes(e){if(!e)return{};let t={},n=Object.keys(e.dataset).filter(e=>e.startsWith(`bs`)&&!e.startsWith(`bsConfig`));for(let r of n){let n=r.replace(/^bs/,``);n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=ie(e.dataset[r])}return t},getDataAttribute:(e,t)=>ie(e.getAttribute(`data-bs-${ae(t)}`))};class se{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw Error(`You have to implement the static method "NAME", for each component!`)}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){let n=o(t)?oe.getDataAttribute(t,`config`):{};return{...this.constructor.Default,...typeof n==`object`?n:{},...o(t)?oe.getDataAttributes(t):{},...typeof e==`object`?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(let[n,r]of Object.entries(t)){let t=e[n],a=o(t)?`element`:i(t);if(!new RegExp(r).test(a))throw TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${r}".`)}}}class N extends se{constructor(e,n){super(),(e=s(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),M.off(this._element,this.constructor.EVENT_KEY);for(let e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){v(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t==`object`?t:null)}static get VERSION(){return`5.3.8`}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}let P=e=>{let t=e.getAttribute(`data-bs-target`);if(!t||t===`#`){let n=e.getAttribute(`href`);if(!n||!n.includes(`#`)&&!n.startsWith(`.`))return null;n.includes(`#`)&&!n.startsWith(`#`)&&(n=`#${n.split(`#`)[1]}`),t=n&&n!==`#`?n.trim():null}return t?t.split(`,`).map(e=>r(e)).join(`,`):null},F={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter(e=>e.matches(t)),parents(e,t){let n=[],r=e.parentNode.closest(t);for(;r;)n.push(r),r=r.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){let t=[`a`,`button`,`input`,`textarea`,`select`,`details`,`[tabindex]`,`[contenteditable="true"]`].map(e=>`${e}:not([tabindex^="-"])`).join(`,`);return this.find(t,e).filter(e=>!l(e)&&c(e))},getSelectorFromElement(e){let t=P(e);return t&&F.findOne(t)?t:null},getElementFromSelector(e){let t=P(e);return t?F.findOne(t):null},getMultipleElementsFromSelector(e){let t=P(e);return t?F.find(t):[]}},ce=(e,t=`hide`)=>{let n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;M.on(document,n,`[data-bs-dismiss="${r}"]`,function(n){if([`A`,`AREA`].includes(this.tagName)&&n.preventDefault(),l(this))return;let i=F.getElementFromSelector(this)||this.closest(`.${r}`);e.getOrCreateInstance(i)[t]()})},le=`.bs.alert`,ue=`close${le}`,de=`closed${le}`;class fe extends N{static get NAME(){return`alert`}close(){if(M.trigger(this._element,ue).defaultPrevented)return;this._element.classList.remove(`show`);let e=this._element.classList.contains(`fade`);this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),M.trigger(this._element,de),this.dispose()}static jQueryInterface(e){return this.each(function(){let t=fe.getOrCreateInstance(this);if(typeof e==`string`){if(t[e]===void 0||e.startsWith(`_`)||e===`constructor`)throw TypeError(`No method named "${e}"`);t[e](this)}})}}ce(fe,`close`),g(fe);let pe=`[data-bs-toggle="button"]`;class me extends N{static get NAME(){return`button`}toggle(){this._element.setAttribute(`aria-pressed`,this._element.classList.toggle(`active`))}static jQueryInterface(e){return this.each(function(){let t=me.getOrCreateInstance(this);e===`toggle`&&t[e]()})}}M.on(document,`click.bs.button.data-api`,pe,e=>{e.preventDefault();let t=e.target.closest(pe);me.getOrCreateInstance(t).toggle()}),g(me);let he=`.bs.swipe`,ge=`touchstart${he}`,_e=`touchmove${he}`,ve=`touchend${he}`,ye=`pointerdown${he}`,be=`pointerup${he}`,xe={endCallback:null,leftCallback:null,rightCallback:null},Se={endCallback:`(function|null)`,leftCallback:`(function|null)`,rightCallback:`(function|null)`};class Ce extends se{constructor(e,t){super(),this._element=e,e&&Ce.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return xe}static get DefaultType(){return Se}static get NAME(){return`swipe`}dispose(){M.off(this._element,he)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),_(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){let e=Math.abs(this._deltaX);if(e<=40)return;let t=e/this._deltaX;this._deltaX=0,t&&_(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(M.on(this._element,ye,e=>this._start(e)),M.on(this._element,be,e=>this._end(e)),this._element.classList.add(`pointer-event`)):(M.on(this._element,ge,e=>this._start(e)),M.on(this._element,_e,e=>this._move(e)),M.on(this._element,ve,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===`pen`||e.pointerType===`touch`)}static isSupported(){return`ontouchstart`in document.documentElement||navigator.maxTouchPoints>0}}let we=`.bs.carousel`,Te=`.data-api`,Ee=`next`,De=`prev`,Oe=`left`,ke=`right`,Ae=`slide${we}`,je=`slid${we}`,I=`keydown${we}`,Me=`mouseenter${we}`,Ne=`mouseleave${we}`,Pe=`dragstart${we}`,Fe=`load${we}${Te}`,Ie=`click${we}${Te}`,Le=`carousel`,Re=`active`,ze=`.active`,Be=`.carousel-item`,Ve=ze+Be,He={ArrowLeft:ke,ArrowRight:Oe},Ue={interval:5e3,keyboard:!0,pause:`hover`,ride:!1,touch:!0,wrap:!0},We={interval:`(number|boolean)`,keyboard:`boolean`,pause:`(string|boolean)`,ride:`(boolean|string)`,touch:`boolean`,wrap:`boolean`};class Ge extends N{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=F.findOne(`.carousel-indicators`,this._element),this._addEventListeners(),this._config.ride===Le&&this.cycle()}static get Default(){return Ue}static get DefaultType(){return We}static get NAME(){return`carousel`}next(){this._slide(Ee)}nextWhenVisible(){!document.hidden&&c(this._element)&&this.next()}prev(){this._slide(De)}pause(){this._isSliding&&a(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?M.one(this._element,je,()=>this.cycle()):this.cycle())}to(e){let t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void M.one(this._element,je,()=>this.to(e));let n=this._getItemIndex(this._getActive());if(n===e)return;let r=e>n?Ee:De;this._slide(r,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&M.on(this._element,I,e=>this._keydown(e)),this._config.pause===`hover`&&(M.on(this._element,Me,()=>this.pause()),M.on(this._element,Ne,()=>this._maybeEnableCycle())),this._config.touch&&Ce.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(let e of F.find(`.carousel-item img`,this._element))M.on(e,Pe,e=>e.preventDefault());let e={leftCallback:()=>this._slide(this._directionToOrder(Oe)),rightCallback:()=>this._slide(this._directionToOrder(ke)),endCallback:()=>{this._config.pause===`hover`&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new Ce(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;let t=He[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;let t=F.findOne(ze,this._indicatorsElement);t.classList.remove(Re),t.removeAttribute(`aria-current`);let n=F.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Re),n.setAttribute(`aria-current`,`true`))}_updateInterval(){let e=this._activeElement||this._getActive();if(!e)return;let t=Number.parseInt(e.getAttribute(`data-bs-interval`),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;let n=this._getActive(),r=e===Ee,i=t||y(this._getItems(),n,r,this._config.wrap);if(i===n)return;let a=this._getItemIndex(i),o=t=>M.trigger(this._element,t,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(Ae).defaultPrevented||!n||!i)return;let s=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=i;let c=r?`carousel-item-start`:`carousel-item-end`,l=r?`carousel-item-next`:`carousel-item-prev`;i.classList.add(l),f(i),n.classList.add(c),i.classList.add(c),this._queueCallback(()=>{i.classList.remove(c,l),i.classList.add(Re),n.classList.remove(Re,l,c),this._isSliding=!1,o(je)},n,this._isAnimated()),s&&this.cycle()}_isAnimated(){return this._element.classList.contains(`slide`)}_getActive(){return F.findOne(Ve,this._element)}_getItems(){return F.find(Be,this._element)}_clearInterval(){this._interval&&=(clearInterval(this._interval),null)}_directionToOrder(e){return h()?e===Oe?De:Ee:e===Oe?Ee:De}_orderToDirection(e){return h()?e===De?Oe:ke:e===De?ke:Oe}static jQueryInterface(e){return this.each(function(){let t=Ge.getOrCreateInstance(this,e);if(typeof e!=`number`){if(typeof e==`string`){if(t[e]===void 0||e.startsWith(`_`)||e===`constructor`)throw TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}M.on(document,Ie,`[data-bs-slide], [data-bs-slide-to]`,function(e){let t=F.getElementFromSelector(this);if(!t||!t.classList.contains(Le))return;e.preventDefault();let n=Ge.getOrCreateInstance(t),r=this.getAttribute(`data-bs-slide-to`);r?(n.to(r),n._maybeEnableCycle()):oe.getDataAttribute(this,`slide`)===`next`?(n.next(),n._maybeEnableCycle()):(n.prev(),n._maybeEnableCycle())}),M.on(window,Fe,()=>{let e=F.find(`[data-bs-ride="carousel"]`);for(let t of e)Ge.getOrCreateInstance(t)}),g(Ge);let Ke=`.bs.collapse`,qe=`show${Ke}`,Je=`shown${Ke}`,Ye=`hide${Ke}`,Xe=`hidden${Ke}`,Ze=`click${Ke}.data-api`,Qe=`show`,L=`collapse`,$e=`collapsing`,et=`:scope .${L} .${L}`,tt=`[data-bs-toggle="collapse"]`,nt={parent:null,toggle:!0},rt={parent:`(null|element)`,toggle:`boolean`};class it extends N{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];let n=F.find(tt);for(let e of n){let t=F.getSelectorFromElement(e),n=F.find(t).filter(e=>e===this._element);t!==null&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return nt}static get DefaultType(){return rt}static get NAME(){return`collapse`}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(`.collapse.show, .collapse.collapsing`).filter(e=>e!==this._element).map(e=>it.getOrCreateInstance(e,{toggle:!1}))),e.length&&e[0]._isTransitioning||M.trigger(this._element,qe).defaultPrevented)return;for(let t of e)t.hide();let t=this._getDimension();this._element.classList.remove(L),this._element.classList.add($e),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;let n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove($e),this._element.classList.add(L,Qe),this._element.style[t]=``,M.trigger(this._element,Je)},this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown()||M.trigger(this._element,Ye).defaultPrevented)return;let e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,f(this._element),this._element.classList.add($e),this._element.classList.remove(L,Qe);for(let e of this._triggerArray){let t=F.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]=``,this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove($e),this._element.classList.add(L),M.trigger(this._element,Xe)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Qe)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=s(e.parent),e}_getDimension(){return this._element.classList.contains(`collapse-horizontal`)?`width`:`height`}_initializeChildren(){if(!this._config.parent)return;let e=this._getFirstLevelChildren(tt);for(let t of e){let e=F.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){let t=F.find(et,this._config.parent);return F.find(e,this._config.parent).filter(e=>!t.includes(e))}_addAriaAndCollapsedClass(e,t){if(e.length)for(let n of e)n.classList.toggle(`collapsed`,!t),n.setAttribute(`aria-expanded`,t)}static jQueryInterface(e){let t={};return typeof e==`string`&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){let n=it.getOrCreateInstance(this,t);if(typeof e==`string`){if(n[e]===void 0)throw TypeError(`No method named "${e}"`);n[e]()}})}}M.on(document,Ze,tt,function(e){(e.target.tagName===`A`||e.delegateTarget&&e.delegateTarget.tagName===`A`)&&e.preventDefault();for(let e of F.getMultipleElementsFromSelector(this))it.getOrCreateInstance(e,{toggle:!1}).toggle()}),g(it);var at=`top`,ot=`bottom`,st=`right`,ct=`left`,lt=`auto`,ut=[at,ot,st,ct],dt=`start`,ft=`end`,pt=`clippingParents`,mt=`viewport`,ht=`popper`,gt=`reference`,_t=ut.reduce(function(e,t){return e.concat([t+`-`+dt,t+`-`+ft])},[]),vt=[].concat(ut,[lt]).reduce(function(e,t){return e.concat([t,t+`-`+dt,t+`-`+ft])},[]),yt=`beforeRead`,bt=`read`,xt=`afterRead`,St=`beforeMain`,Ct=`main`,wt=`afterMain`,Tt=`beforeWrite`,Et=`write`,Dt=`afterWrite`,Ot=[yt,bt,xt,St,Ct,wt,Tt,Et,Dt];function kt(e){return e?(e.nodeName||``).toLowerCase():null}function At(e){if(e==null)return window;if(e.toString()!==`[object Window]`){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jt(e){return e instanceof At(e).Element||e instanceof Element}function Mt(e){return e instanceof At(e).HTMLElement||e instanceof HTMLElement}function Nt(e){return typeof ShadowRoot<`u`&&(e instanceof At(e).ShadowRoot||e instanceof ShadowRoot)}let Pt={name:`applyStyles`,enabled:!0,phase:`write`,fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];Mt(i)&&kt(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?``:t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:`0`,top:`0`,margin:`0`},arrow:{position:`absolute`},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=``,e},{});Mt(r)&&kt(r)&&(Object.assign(r.style,a),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:[`computeStyles`]};function Ft(e){return e.split(`-`)[0]}var It=Math.max,Lt=Math.min,Rt=Math.round;function zt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+`/`+e.version}).join(` `):navigator.userAgent}function Bt(){return!/^((?!chrome|android).)*safari/i.test(zt())}function Vt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&Mt(e)&&(i=e.offsetWidth>0&&Rt(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Rt(r.height)/e.offsetHeight||1);var o=(jt(e)?At(e):window).visualViewport,s=!Bt()&&n,c=(r.left+(s&&o?o.offsetLeft:0))/i,l=(r.top+(s&&o?o.offsetTop:0))/a,u=r.width/i,d=r.height/a;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c,x:c,y:l}}function Ht(e){var t=Vt(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ut(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Nt(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Wt(e){return At(e).getComputedStyle(e)}function Gt(e){return[`table`,`td`,`th`].indexOf(kt(e))>=0}function Kt(e){return((jt(e)?e.ownerDocument:e.document)||window.document).documentElement}function qt(e){return kt(e)===`html`?e:e.assignedSlot||e.parentNode||(Nt(e)?e.host:null)||Kt(e)}function Jt(e){return Mt(e)&&Wt(e).position!==`fixed`?e.offsetParent:null}function Yt(e){for(var t=At(e),n=Jt(e);n&&Gt(n)&&Wt(n).position===`static`;)n=Jt(n);return n&&(kt(n)===`html`||kt(n)===`body`&&Wt(n).position===`static`)?t:n||function(e){var t=/firefox/i.test(zt());if(/Trident/i.test(zt())&&Mt(e)&&Wt(e).position===`fixed`)return null;var n=qt(e);for(Nt(n)&&(n=n.host);Mt(n)&&[`html`,`body`].indexOf(kt(n))<0;){var r=Wt(n);if(r.transform!==`none`||r.perspective!==`none`||r.contain===`paint`||[`transform`,`perspective`].indexOf(r.willChange)!==-1||t&&r.willChange===`filter`||t&&r.filter&&r.filter!==`none`)return n;n=n.parentNode}return null}(e)||t}function Xt(e){return[`top`,`bottom`].indexOf(e)>=0?`x`:`y`}function Zt(e,t,n){return It(e,Lt(t,n))}function Qt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function $t(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}let en={name:`arrow`,enabled:!0,phase:`main`,fn:function(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Ft(n.placement),c=Xt(s),l=[ct,st].indexOf(s)>=0?`height`:`width`;if(a&&o){var u=function(e,t){return Qt(typeof(e=typeof e==`function`?e(Object.assign({},t.rects,{placement:t.placement})):e)==`number`?$t(e,ut):e)}(i.padding,n),d=Ht(a),f=c===`y`?at:ct,p=c===`y`?ot:st,m=n.rects.reference[l]+n.rects.reference[c]-o[c]-n.rects.popper[l],h=o[c]-n.rects.reference[c],g=Yt(a),_=g?c===`y`?g.clientHeight||0:g.clientWidth||0:0,v=m/2-h/2,y=u[f],b=_-d[l]-u[p],x=_/2-d[l]/2+v,S=Zt(y,x,b),C=c;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=n===void 0?`[data-popper-arrow]`:n;r!=null&&(typeof r!=`string`||(r=t.elements.popper.querySelector(r)))&&Ut(t.elements.popper,r)&&(t.elements.arrow=r)},requires:[`popperOffsets`],requiresIfExists:[`preventOverflow`]};function tn(e){return e.split(`-`)[1]}var nn={top:`auto`,right:`auto`,bottom:`auto`,left:`auto`};function rn(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,m=o.y,h=m===void 0?0:m,g=typeof u==`function`?u({x:p,y:h}):{x:p,y:h};p=g.x,h=g.y;var _=o.hasOwnProperty(`x`),v=o.hasOwnProperty(`y`),y=ct,b=at,x=window;if(l){var S=Yt(n),C=`clientHeight`,w=`clientWidth`;S===At(n)&&Wt(S=Kt(n)).position!==`static`&&s===`absolute`&&(C=`scrollHeight`,w=`scrollWidth`),(i===at||(i===ct||i===st)&&a===ft)&&(b=ot,h-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-r.height,h*=c?1:-1),i!==ct&&(i!==at&&i!==ot||a!==ft)||(y=st,p-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[w])-r.width,p*=c?1:-1)}var T,E=Object.assign({position:s},l&&nn),D=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Rt(n*i)/i||0,y:Rt(r*i)/i||0}}({x:p,y:h},At(n)):{x:p,y:h};return p=D.x,h=D.y,c?Object.assign({},E,((T={})[b]=v?`0`:``,T[y]=_?`0`:``,T.transform=(x.devicePixelRatio||1)<=1?`translate(`+p+`px, `+h+`px)`:`translate3d(`+p+`px, `+h+`px, 0)`,T)):Object.assign({},E,((t={})[b]=v?h+`px`:``,t[y]=_?p+`px`:``,t.transform=``,t))}let an={name:`computeStyles`,enabled:!0,phase:`beforeWrite`,fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0||r,a=n.adaptive,o=a===void 0||a,s=n.roundOffsets,c=s===void 0||s,l={placement:Ft(t.placement),variation:tn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy===`fixed`};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rn(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rn(Object.assign({},l,{offsets:t.modifiersData.arrow,position:`absolute`,adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var on={passive:!0};let sn={name:`eventListeners`,enabled:!0,phase:`write`,fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0||i,o=r.resize,s=o===void 0||o,c=At(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(e){e.addEventListener(`scroll`,n.update,on)}),s&&c.addEventListener(`resize`,n.update,on),function(){a&&l.forEach(function(e){e.removeEventListener(`scroll`,n.update,on)}),s&&c.removeEventListener(`resize`,n.update,on)}},data:{}};var cn={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function ln(e){return e.replace(/left|right|bottom|top/g,function(e){return cn[e]})}var un={start:`end`,end:`start`};function dn(e){return e.replace(/start|end/g,function(e){return un[e]})}function fn(e){var t=At(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pn(e){return Vt(Kt(e)).left+fn(e).scrollLeft}function mn(e){var t=Wt(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function hn(e){return[`html`,`body`,`#document`].indexOf(kt(e))>=0?e.ownerDocument.body:Mt(e)&&mn(e)?e:hn(qt(e))}function gn(e,t){t===void 0&&(t=[]);var n=hn(e),r=n===e.ownerDocument?.body,i=At(n),a=r?[i].concat(i.visualViewport||[],mn(n)?n:[]):n,o=t.concat(a);return r?o:o.concat(gn(qt(a)))}function _n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vn(e,t,n){return t===mt?_n(function(e,t){var n=At(e),r=Kt(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var l=Bt();(l||!l&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+pn(e),y:c}}(e,n)):jt(t)?function(e,t){var n=Vt(e,!1,t===`fixed`);return n.top+=e.clientTop,n.left+=e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):_n(function(e){var t=Kt(e),n=fn(e),r=e.ownerDocument?.body,i=It(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=It(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-n.scrollLeft+pn(e),s=-n.scrollTop;return Wt(r||t).direction===`rtl`&&(o+=It(t.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:o,y:s}}(Kt(e)))}function yn(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?Ft(i):null,o=i?tn(i):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(a){case at:t={x:s,y:n.y-r.height};break;case ot:t={x:s,y:n.y+n.height};break;case st:t={x:n.x+n.width,y:c};break;case ct:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=a?Xt(a):null;if(l!=null){var u=l===`y`?`height`:`width`;switch(o){case dt:t[l]=t[l]-(n[u]/2-r[u]/2);break;case ft:t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}function bn(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,o=a===void 0?e.strategy:a,s=n.boundary,c=s===void 0?pt:s,l=n.rootBoundary,u=l===void 0?mt:l,d=n.elementContext,f=d===void 0?ht:d,p=n.altBoundary,m=p!==void 0&&p,h=n.padding,g=h===void 0?0:h,_=Qt(typeof g==`number`?$t(g,ut):g),v=f===ht?gt:ht,y=e.rects.popper,b=e.elements[m?v:f],x=function(e,t,n,r){var i=t===`clippingParents`?function(e){var t=gn(qt(e)),n=[`absolute`,`fixed`].indexOf(Wt(e).position)>=0&&Mt(e)?Yt(e):e;return jt(n)?t.filter(function(e){return jt(e)&&Ut(e,n)&&kt(e)!==`body`}):[]}(e):[].concat(t),a=[].concat(i,[n]),o=a[0],s=a.reduce(function(t,n){var i=vn(e,n,r);return t.top=It(i.top,t.top),t.right=Lt(i.right,t.right),t.bottom=Lt(i.bottom,t.bottom),t.left=It(i.left,t.left),t},vn(e,o,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(jt(b)?b:b.contextElement||Kt(e.elements.popper),c,u,o),S=Vt(e.elements.reference),C=yn({reference:S,element:y,placement:i}),w=_n(Object.assign({},y,C)),T=f===ht?w:S,E={top:x.top-T.top+_.top,bottom:T.bottom-x.bottom+_.bottom,left:x.left-T.left+_.left,right:T.right-x.right+_.right},D=e.modifiersData.offset;if(f===ht&&D){var O=D[i];Object.keys(E).forEach(function(e){var t=[st,ot].indexOf(e)>=0?1:-1,n=[at,ot].indexOf(e)>=0?`y`:`x`;E[e]+=O[n]*t})}return E}function xn(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=c===void 0?vt:c,u=tn(r),d=u?s?_t:_t.filter(function(e){return tn(e)===u}):ut,f=d.filter(function(e){return l.indexOf(e)>=0});f.length===0&&(f=d);var p=f.reduce(function(t,n){return t[n]=bn(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[Ft(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}let Sn={name:`flip`,enabled:!0,phase:`main`,fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0||i,o=n.altAxis,s=o===void 0||o,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=p===void 0||p,h=n.allowedAutoPlacements,g=t.options.placement,_=Ft(g),v=c||(_!==g&&m?function(e){if(Ft(e)===lt)return[];var t=ln(e);return[dn(e),t,dn(t)]}(g):[ln(g)]),y=[g].concat(v).reduce(function(e,n){return e.concat(Ft(n)===lt?xn(t,{placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}):n)},[]),b=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,w=y[0],T=0;T<y.length;T++){var E=y[T],D=Ft(E),O=tn(E)===dt,k=[at,ot].indexOf(D)>=0,ee=k?`width`:`height`,A=bn(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),j=k?O?st:ct:O?ot:at;b[ee]>x[ee]&&(j=ln(j));var te=ln(j),ne=[];if(a&&ne.push(A[D]<=0),s&&ne.push(A[j]<=0,A[te]<=0),ne.every(function(e){return e})){w=E,C=!1;break}S.set(E,ne)}if(C)for(var M=function(e){var t=y.find(function(t){var n=S.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return w=t,`break`},re=m?3:1;re>0&&M(re)!==`break`;re--);t.placement!==w&&(t.modifiersData[r]._skip=!0,t.placement=w,t.reset=!0)}},requiresIfExists:[`offset`],data:{_skip:!1}};function Cn(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function wn(e){return[at,st,ot,ct].some(function(t){return e[t]>=0})}let Tn={name:`hide`,enabled:!0,phase:`main`,requiresIfExists:[`preventOverflow`],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=bn(t,{elementContext:`reference`}),s=bn(t,{altBoundary:!0}),c=Cn(o,r),l=Cn(s,i,a),u=wn(c),d=wn(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},En={name:`offset`,enabled:!0,phase:`main`,requires:[`popperOffsets`],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,o=vt.reduce(function(e,n){return e[n]=function(e,t,n){var r=Ft(e),i=[ct,at].indexOf(r)>=0?-1:1,a=typeof n==`function`?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o||=0,s=(s||0)*i,[ct,st].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}(n,t.rects,a),e},{}),s=o[t.placement],c=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}},R={name:`popperOffsets`,enabled:!0,phase:`read`,fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=yn({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},Dn={name:`preventOverflow`,enabled:!0,phase:`main`,fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0||i,o=n.altAxis,s=o!==void 0&&o,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0||f,m=n.tetherOffset,h=m===void 0?0:m,g=bn(t,{boundary:c,rootBoundary:l,padding:d,altBoundary:u}),_=Ft(t.placement),v=tn(t.placement),y=!v,b=Xt(_),x=b===`x`?`y`:`x`,S=t.modifiersData.popperOffsets,C=t.rects.reference,w=t.rects.popper,T=typeof h==`function`?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof T==`number`?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(a){var k=b===`y`?at:ct,ee=b===`y`?ot:st,A=b===`y`?`height`:`width`,j=S[b],te=j+g[k],ne=j-g[ee],M=p?-w[A]/2:0,re=v===dt?C[A]:w[A],ie=v===dt?-w[A]:-C[A],ae=t.elements.arrow,oe=p&&ae?Ht(ae):{width:0,height:0},se=t.modifiersData[`arrow#persistent`]?t.modifiersData[`arrow#persistent`].padding:{top:0,right:0,bottom:0,left:0},N=se[k],P=se[ee],F=Zt(0,C[A],oe[A]),ce=y?C[A]/2-M-F-N-E.mainAxis:re-F-N-E.mainAxis,le=y?-C[A]/2+M+F+P+E.mainAxis:ie+F+P+E.mainAxis,ue=t.elements.arrow&&Yt(t.elements.arrow),de=ue?b===`y`?ue.clientTop||0:ue.clientLeft||0:0,fe=D?.[b]??0,pe=j+le-fe,me=Zt(p?Lt(te,j+ce-fe-de):te,j,p?It(ne,pe):ne);S[b]=me,O[b]=me-j}if(s){var he=b===`x`?at:ct,ge=b===`x`?ot:st,_e=S[x],ve=x===`y`?`height`:`width`,ye=_e+g[he],be=_e-g[ge],xe=[at,ct].indexOf(_)!==-1,Se=D?.[x]??0,Ce=xe?ye:_e-C[ve]-w[ve]-Se+E.altAxis,we=xe?_e+C[ve]+w[ve]-Se-E.altAxis:be,Te=p&&xe?function(e,t,n){var r=Zt(e,t,n);return r>n?n:r}(Ce,_e,we):Zt(p?Ce:ye,_e,p?we:be);S[x]=Te,O[x]=Te-_e}t.modifiersData[r]=O}},requiresIfExists:[`offset`]};function On(e,t,n){n===void 0&&(n=!1);var r,i,a=Mt(t),o=Mt(t)&&function(e){var t=e.getBoundingClientRect(),n=Rt(t.width)/e.offsetWidth||1,r=Rt(t.height)/e.offsetHeight||1;return n!==1||r!==1}(t),s=Kt(t),c=Vt(e,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&((kt(t)!==`body`||mn(s))&&(l=(r=t)!==At(r)&&Mt(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:fn(r)),Mt(t)?((u=Vt(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=pn(s))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function z(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var kn={placement:`bottom`,modifiers:[],strategy:`absolute`};function An(){return![...arguments].some(function(e){return!(e&&typeof e.getBoundingClientRect==`function`)})}function jn(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?kn:i;return function(e,t,n){n===void 0&&(n=a);var i,o,s={placement:`bottom`,orderedModifiers:[],options:Object.assign({},kn,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:s,setOptions:function(n){var i=typeof n==`function`?n(s.options):n;d(),s.options=Object.assign({},a,s.options,i),s.scrollParents={reference:jt(e)?gn(e):e.contextElement?gn(e.contextElement):[],popper:gn(t)};var o,l,f=function(e){var t=z(e);return Ot.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((o=[].concat(r,s.options.modifiers),l=o.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(l).map(function(e){return l[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,i=e.effect;if(typeof i==`function`){var a=i({state:s,name:t,instance:u,options:r});c.push(a||function(){})}}),u.update()},forceUpdate:function(){if(!l){var e=s.elements,t=e.reference,n=e.popper;if(An(t,n)){s.rects={reference:On(t,Yt(n),s.options.strategy===`fixed`),popper:Ht(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],a=i.fn,o=i.options,c=o===void 0?{}:o,d=i.name;typeof a==`function`&&(s=a({state:s,options:c,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return o||=new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(i())})}),o}),destroy:function(){d(),l=!0}};if(!An(e,t))return u;function d(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Mn=jn(),Nn=jn({defaultModifiers:[sn,R,an,Pt]}),B=jn({defaultModifiers:[sn,R,an,Pt,En,Sn,Dn,en,Tn]});let Pn=Object.freeze(Object.defineProperty({__proto__:null,afterMain:wt,afterRead:xt,afterWrite:Dt,applyStyles:Pt,arrow:en,auto:lt,basePlacements:ut,beforeMain:St,beforeRead:yt,beforeWrite:Tt,bottom:ot,clippingParents:pt,computeStyles:an,createPopper:B,createPopperBase:Mn,createPopperLite:Nn,detectOverflow:bn,end:ft,eventListeners:sn,flip:Sn,hide:Tn,left:ct,main:Ct,modifierPhases:Ot,offset:En,placements:vt,popper:ht,popperGenerator:jn,popperOffsets:R,preventOverflow:Dn,read:bt,reference:gt,right:st,start:dt,top:at,variationPlacements:_t,viewport:mt,write:Et},Symbol.toStringTag,{value:`Module`})),Fn=`.bs.dropdown`,V=`.data-api`,H=`ArrowDown`,In=`hide${Fn}`,Ln=`hidden${Fn}`,Rn=`show${Fn}`,U=`shown${Fn}`,W=`click${Fn}${V}`,zn=`keydown${Fn}${V}`,G=`keyup${Fn}${V}`,Bn=`show`,Vn=`[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)`,Hn=`${Vn}.${Bn}`,Un=`.dropdown-menu`,Wn=h()?`top-end`:`top-start`,Gn=h()?`top-start`:`top-end`,Kn=h()?`bottom-end`:`bottom-start`,qn=h()?`bottom-start`:`bottom-end`,Jn=h()?`left-start`:`right-start`,Yn=h()?`right-start`:`left-start`,Xn={autoClose:!0,boundary:`clippingParents`,display:`dynamic`,offset:[0,2],popperConfig:null,reference:`toggle`},Zn={autoClose:`(boolean|string)`,boundary:`(string|element)`,display:`string`,offset:`(array|string|function)`,popperConfig:`(null|object|function)`,reference:`(string|element|object)`};class Qn extends N{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=F.next(this._element,Un)[0]||F.prev(this._element,Un)[0]||F.findOne(Un,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Xn}static get DefaultType(){return Zn}static get NAME(){return`dropdown`}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;let e={relatedTarget:this._element};if(!M.trigger(this._element,Rn,e).defaultPrevented){if(this._createPopper(),`ontouchstart`in document.documentElement&&!this._parent.closest(`.navbar-nav`))for(let e of[].concat(...document.body.children))M.on(e,`mouseover`,d);this._element.focus(),this._element.setAttribute(`aria-expanded`,!0),this._menu.classList.add(Bn),this._element.classList.add(Bn),M.trigger(this._element,U,e)}}hide(){if(l(this._element)||!this._isShown())return;let e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!M.trigger(this._element,In,e).defaultPrevented){if(`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))M.off(e,`mouseover`,d);this._popper&&this._popper.destroy(),this._menu.classList.remove(Bn),this._element.classList.remove(Bn),this._element.setAttribute(`aria-expanded`,`false`),oe.removeDataAttribute(this._menu,`popper`),M.trigger(this._element,Ln,e)}}_getConfig(e){if(typeof(e=super._getConfig(e)).reference==`object`&&!o(e.reference)&&typeof e.reference.getBoundingClientRect!=`function`)throw TypeError(`DROPDOWN: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(Pn===void 0)throw TypeError(`Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)`);let e=this._element;this._config.reference===`parent`?e=this._parent:o(this._config.reference)?e=s(this._config.reference):typeof this._config.reference==`object`&&(e=this._config.reference);let t=this._getPopperConfig();this._popper=B(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Bn)}_getPlacement(){let e=this._parent;if(e.classList.contains(`dropend`))return Jn;if(e.classList.contains(`dropstart`))return Yn;if(e.classList.contains(`dropup-center`))return`top`;if(e.classList.contains(`dropdown-center`))return`bottom`;let t=getComputedStyle(this._menu).getPropertyValue(`--bs-position`).trim()===`end`;return e.classList.contains(`dropup`)?t?Gn:Wn:t?qn:Kn}_detectNavbar(){return this._element.closest(`.navbar`)!==null}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_getPopperConfig(){let e={placement:this._getPlacement(),modifiers:[{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`offset`,options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display===`static`)&&(oe.setDataAttribute(this._menu,`popper`,`static`),e.modifiers=[{name:`applyStyles`,enabled:!1}]),{...e,..._(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){let n=F.find(`.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)`,this._menu).filter(e=>c(e));n.length&&y(n,t,e===H,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){let t=Qn.getOrCreateInstance(this,e);if(typeof e==`string`){if(t[e]===void 0)throw TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===2||e.type===`keyup`&&e.key!==`Tab`)return;let t=F.find(Hn);for(let n of t){let t=Qn.getInstance(n);if(!t||!1===t._config.autoClose)continue;let r=e.composedPath(),i=r.includes(t._menu);if(r.includes(t._element)||t._config.autoClose===`inside`&&!i||t._config.autoClose===`outside`&&i||t._menu.contains(e.target)&&(e.type===`keyup`&&e.key===`Tab`||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;let a={relatedTarget:t._element};e.type===`click`&&(a.clickEvent=e),t._completeHide(a)}}static dataApiKeydownHandler(e){let t=/input|textarea/i.test(e.target.tagName),n=e.key===`Escape`,r=[`ArrowUp`,H].includes(e.key);if(!r&&!n||t&&!n)return;e.preventDefault();let i=this.matches(Vn)?this:F.prev(this,Vn)[0]||F.next(this,Vn)[0]||F.findOne(Vn,e.delegateTarget.parentNode),a=Qn.getOrCreateInstance(i);if(r)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),i.focus())}}M.on(document,zn,Vn,Qn.dataApiKeydownHandler),M.on(document,zn,Un,Qn.dataApiKeydownHandler),M.on(document,W,Qn.clearMenus),M.on(document,G,Qn.clearMenus),M.on(document,W,Vn,function(e){e.preventDefault(),Qn.getOrCreateInstance(this).toggle()}),g(Qn);let $n=`backdrop`,er=`show`,tr=`mousedown.bs.${$n}`,nr={className:`modal-backdrop`,clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:`body`},rr={className:`string`,clickCallback:`(function|null)`,isAnimated:`boolean`,isVisible:`boolean`,rootElement:`(element|string)`};class ir extends se{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return nr}static get DefaultType(){return rr}static get NAME(){return $n}show(e){if(!this._config.isVisible)return void _(e);this._append();let t=this._getElement();this._config.isAnimated&&f(t),t.classList.add(er),this._emulateAnimation(()=>{_(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove(er),this._emulateAnimation(()=>{this.dispose(),_(e)})):_(e)}dispose(){this._isAppended&&=(M.off(this._element,tr),this._element.remove(),!1)}_getElement(){if(!this._element){let e=document.createElement(`div`);e.className=this._config.className,this._config.isAnimated&&e.classList.add(`fade`),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=s(e.rootElement),e}_append(){if(this._isAppended)return;let e=this._getElement();this._config.rootElement.append(e),M.on(e,tr,()=>{_(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}let ar=`.bs.focustrap`,or=`focusin${ar}`,sr=`keydown.tab${ar}`,cr=`backward`,lr={autofocus:!0,trapElement:null},ur={autofocus:`boolean`,trapElement:`element`};class dr extends se{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return lr}static get DefaultType(){return ur}static get NAME(){return`focustrap`}activate(){this._isActive||=(this._config.autofocus&&this._config.trapElement.focus(),M.off(document,ar),M.on(document,or,e=>this._handleFocusin(e)),M.on(document,sr,e=>this._handleKeydown(e)),!0)}deactivate(){this._isActive&&(this._isActive=!1,M.off(document,ar))}_handleFocusin(e){let{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;let n=F.focusableChildren(t);n.length===0?t.focus():this._lastTabNavDirection===cr?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){e.key===`Tab`&&(this._lastTabNavDirection=e.shiftKey?cr:`forward`)}}let fr=`.fixed-top, .fixed-bottom, .is-fixed, .sticky-top`,pr=`.sticky-top`,mr=`padding-right`,hr=`margin-right`;class gr{constructor(){this._element=document.body}getWidth(){let e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){let e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,mr,t=>t+e),this._setElementAttributes(fr,mr,t=>t+e),this._setElementAttributes(pr,hr,t=>t-e)}reset(){this._resetElementAttributes(this._element,`overflow`),this._resetElementAttributes(this._element,mr),this._resetElementAttributes(fr,mr),this._resetElementAttributes(pr,hr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,`overflow`),this._element.style.overflow=`hidden`}_setElementAttributes(e,t,n){let r=this.getWidth();this._applyManipulationCallback(e,e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+r)return;this._saveInitialAttribute(e,t);let i=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(i))}px`)})}_saveInitialAttribute(e,t){let n=e.style.getPropertyValue(t);n&&oe.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,e=>{let n=oe.getDataAttribute(e,t);n===null?e.style.removeProperty(t):(oe.removeDataAttribute(e,t),e.style.setProperty(t,n))})}_applyManipulationCallback(e,t){if(o(e))t(e);else for(let n of F.find(e,this._element))t(n)}}let _r=`.bs.modal`,vr=`hide${_r}`,yr=`hidePrevented${_r}`,br=`hidden${_r}`,xr=`show${_r}`,K=`shown${_r}`,Sr=`resize${_r}`,Cr=`click.dismiss${_r}`,wr=`mousedown.dismiss${_r}`,Tr=`keydown.dismiss${_r}`,q=`click${_r}.data-api`,Er=`modal-open`,Dr=`show`,Or=`modal-static`,kr={backdrop:!0,focus:!0,keyboard:!0},Ar={backdrop:`(boolean|string)`,focus:`boolean`,keyboard:`boolean`};class jr extends N{constructor(e,t){super(e,t),this._dialog=F.findOne(`.modal-dialog`,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new gr,this._addEventListeners()}static get Default(){return kr}static get DefaultType(){return Ar}static get NAME(){return`modal`}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||M.trigger(this._element,xr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Er),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(M.trigger(this._element,vr).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Dr),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){M.off(window,_r),M.off(this._dialog,_r),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ir({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new dr({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display=`block`,this._element.removeAttribute(`aria-hidden`),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.scrollTop=0;let t=F.findOne(`.modal-body`,this._dialog);t&&(t.scrollTop=0),f(this._element),this._element.classList.add(Dr),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,M.trigger(this._element,K,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){M.on(this._element,Tr,e=>{e.key===`Escape`&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),M.on(window,Sr,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),M.on(this._element,wr,e=>{M.one(this._element,Cr,t=>{this._element===e.target&&this._element===t.target&&(this._config.backdrop===`static`?this._triggerBackdropTransition():this._config.backdrop&&this.hide())})})}_hideModal(){this._element.style.display=`none`,this._element.setAttribute(`aria-hidden`,!0),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Er),this._resetAdjustments(),this._scrollBar.reset(),M.trigger(this._element,br)})}_isAnimated(){return this._element.classList.contains(`fade`)}_triggerBackdropTransition(){if(M.trigger(this._element,yr).defaultPrevented)return;let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;t===`hidden`||this._element.classList.contains(Or)||(e||(this._element.style.overflowY=`hidden`),this._element.classList.add(Or),this._queueCallback(()=>{this._element.classList.remove(Or),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){let e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){let e=h()?`paddingLeft`:`paddingRight`;this._element.style[e]=`${t}px`}if(!n&&e){let e=h()?`paddingRight`:`paddingLeft`;this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft=``,this._element.style.paddingRight=``}static jQueryInterface(e,t){return this.each(function(){let n=jr.getOrCreateInstance(this,e);if(typeof e==`string`){if(n[e]===void 0)throw TypeError(`No method named "${e}"`);n[e](t)}})}}M.on(document,q,`[data-bs-toggle="modal"]`,function(e){let t=F.getElementFromSelector(this);[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),M.one(t,xr,e=>{e.defaultPrevented||M.one(t,br,()=>{c(this)&&this.focus()})});let n=F.findOne(`.modal.show`);n&&jr.getInstance(n).hide(),jr.getOrCreateInstance(t).toggle(this)}),ce(jr),g(jr);let Mr=`.bs.offcanvas`,Nr=`.data-api`,Pr=`load${Mr}${Nr}`,Fr=`show`,Ir=`showing`,Lr=`hiding`,Rr=`.offcanvas.show`,zr=`show${Mr}`,Br=`shown${Mr}`,Vr=`hide${Mr}`,Hr=`hidePrevented${Mr}`,Ur=`hidden${Mr}`,Wr=`resize${Mr}`,Gr=`click${Mr}${Nr}`,Kr=`keydown.dismiss${Mr}`,qr={backdrop:!0,keyboard:!0,scroll:!1},Jr={backdrop:`(boolean|string)`,keyboard:`boolean`,scroll:`boolean`};class Yr extends N{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return qr}static get DefaultType(){return Jr}static get NAME(){return`offcanvas`}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||M.trigger(this._element,zr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||new gr().hide(),this._element.setAttribute(`aria-modal`,!0),this._element.setAttribute(`role`,`dialog`),this._element.classList.add(Ir),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Fr),this._element.classList.remove(Ir),M.trigger(this._element,Br,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(M.trigger(this._element,Vr).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Lr),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove(Fr,Lr),this._element.removeAttribute(`aria-modal`),this._element.removeAttribute(`role`),this._config.scroll||new gr().reset(),M.trigger(this._element,Ur)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){let e=!!this._config.backdrop;return new ir({className:`offcanvas-backdrop`,isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{this._config.backdrop===`static`?M.trigger(this._element,Hr):this.hide()}:null})}_initializeFocusTrap(){return new dr({trapElement:this._element})}_addEventListeners(){M.on(this._element,Kr,e=>{e.key===`Escape`&&(this._config.keyboard?this.hide():M.trigger(this._element,Hr))})}static jQueryInterface(e){return this.each(function(){let t=Yr.getOrCreateInstance(this,e);if(typeof e==`string`){if(t[e]===void 0||e.startsWith(`_`)||e===`constructor`)throw TypeError(`No method named "${e}"`);t[e](this)}})}}M.on(document,Gr,`[data-bs-toggle="offcanvas"]`,function(e){let t=F.getElementFromSelector(this);if([`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),l(this))return;M.one(t,Ur,()=>{c(this)&&this.focus()});let n=F.findOne(Rr);n&&n!==t&&Yr.getInstance(n).hide(),Yr.getOrCreateInstance(t).toggle(this)}),M.on(window,Pr,()=>{for(let e of F.find(Rr))Yr.getOrCreateInstance(e).show()}),M.on(window,Wr,()=>{for(let e of F.find(`[aria-modal][class*=show][class*=offcanvas-]`))getComputedStyle(e).position!==`fixed`&&Yr.getOrCreateInstance(e).hide()}),ce(Yr),g(Yr);let Xr={"*":[`class`,`dir`,`id`,`lang`,`role`,/^aria-[\w-]*$/i],a:[`target`,`href`,`title`,`rel`],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:[`src`,`srcset`,`alt`,`title`,`width`,`height`],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Zr=new Set([`background`,`cite`,`href`,`itemtype`,`longdesc`,`poster`,`src`,`xlink:href`]),Qr=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,$r=(e,t)=>{let n=e.nodeName.toLowerCase();return t.includes(n)?!Zr.has(n)||!!Qr.test(e.nodeValue):t.filter(e=>e instanceof RegExp).some(e=>e.test(n))},ei={allowList:Xr,content:{},extraClass:``,html:!1,sanitize:!0,sanitizeFn:null,template:`<div></div>`},ti={allowList:`object`,content:`object`,extraClass:`(string|function)`,html:`boolean`,sanitize:`boolean`,sanitizeFn:`(null|function)`,template:`string`},ni={entry:`(string|element|function|null)`,selector:`(string|element)`};class ri extends se{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ei}static get DefaultType(){return ti}static get NAME(){return`TemplateFactory`}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){let e=document.createElement(`div`);e.innerHTML=this._maybeSanitize(this._config.template);for(let[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);let t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(` `)),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(let[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},ni)}_setContent(e,t,n){let r=F.findOne(n,e);r&&((t=this._resolvePossibleFunction(t))?o(t)?this._putElementInTemplate(s(t),r):this._config.html?r.innerHTML=this._maybeSanitize(t):r.textContent=t:r.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&typeof n==`function`)return n(e);let r=new window.DOMParser().parseFromString(e,`text/html`),i=[].concat(...r.body.querySelectorAll(`*`));for(let e of i){let n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}let r=[].concat(...e.attributes),i=[].concat(t[`*`]||[],t[n]||[]);for(let t of r)$r(t,i)||e.removeAttribute(t.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return _(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML=``,void t.append(e);t.textContent=e.textContent}}let ii=new Set([`sanitize`,`allowList`,`sanitizeFn`]),ai=`fade`,oi=`show`,si=`.modal`,ci=`hide.bs.modal`,li=`hover`,ui=`focus`,di=`click`,fi={AUTO:`auto`,TOP:`top`,RIGHT:h()?`left`:`right`,BOTTOM:`bottom`,LEFT:h()?`right`:`left`},pi={allowList:Xr,animation:!0,boundary:`clippingParents`,container:!1,customClass:``,delay:0,fallbackPlacements:[`top`,`right`,`bottom`,`left`],html:!1,offset:[0,6],placement:`top`,popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:`<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>`,title:``,trigger:`hover focus`},mi={allowList:`object`,animation:`boolean`,boundary:`(string|element)`,container:`(string|element|boolean)`,customClass:`(string|function)`,delay:`(number|object)`,fallbackPlacements:`array`,html:`boolean`,offset:`(array|string|function)`,placement:`(string|function)`,popperConfig:`(null|object|function)`,sanitize:`boolean`,sanitizeFn:`(null|function)`,selector:`(string|boolean)`,template:`string`,title:`(string|element|function)`,trigger:`string`};class hi extends N{constructor(e,t){if(Pn===void 0)throw TypeError(`Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)`);super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return pi}static get DefaultType(){return mi}static get NAME(){return`tooltip`}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),M.off(this._element.closest(si),ci,this._hideModalHandler),this._element.getAttribute(`data-bs-original-title`)&&this._element.setAttribute(`title`,this._element.getAttribute(`data-bs-original-title`)),this._disposePopper(),super.dispose()}show(){if(this._element.style.display===`none`)throw Error(`Please use show on visible elements`);if(!this._isWithContent()||!this._isEnabled)return;let e=M.trigger(this._element,this.constructor.eventName(`show`)),t=(u(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();let n=this._getTipElement();this._element.setAttribute(`aria-describedby`,n.getAttribute(`id`));let{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),M.trigger(this._element,this.constructor.eventName(`inserted`))),this._popper=this._createPopper(n),n.classList.add(oi),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))M.on(e,`mouseover`,d);this._queueCallback(()=>{M.trigger(this._element,this.constructor.eventName(`shown`)),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!M.trigger(this._element,this.constructor.eventName(`hide`)).defaultPrevented){if(this._getTipElement().classList.remove(oi),`ontouchstart`in document.documentElement)for(let e of[].concat(...document.body.children))M.off(e,`mouseover`,d);this._activeTrigger[di]=!1,this._activeTrigger[ui]=!1,this._activeTrigger[li]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute(`aria-describedby`),M.trigger(this._element,this.constructor.eventName(`hidden`)))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||=this._createTipElement(this._newContent||this._getContentForTemplate()),this.tip}_createTipElement(e){let t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(ai,oi),t.classList.add(`bs-${this.constructor.NAME}-auto`);let n=(e=>{do e+=Math.floor(1e6*Math.random());while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute(`id`,n),this._isAnimated()&&t.classList.add(ai),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new ri({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute(`data-bs-original-title`)}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ai)}_isShown(){return this.tip&&this.tip.classList.contains(oi)}_createPopper(e){let t=fi[_(this._config.placement,[this,e,this._element]).toUpperCase()];return B(this._element,e,this._getPopperConfig(t))}_getOffset(){let{offset:e}=this._config;return typeof e==`string`?e.split(`,`).map(e=>Number.parseInt(e,10)):typeof e==`function`?t=>e(t,this._element):e}_resolvePossibleFunction(e){return _(e,[this._element,this._element])}_getPopperConfig(e){let t={placement:e,modifiers:[{name:`flip`,options:{fallbackPlacements:this._config.fallbackPlacements}},{name:`offset`,options:{offset:this._getOffset()}},{name:`preventOverflow`,options:{boundary:this._config.boundary}},{name:`arrow`,options:{element:`.${this.constructor.NAME}-arrow`}},{name:`preSetPlacement`,enabled:!0,phase:`beforeMain`,fn:e=>{this._getTipElement().setAttribute(`data-popper-placement`,e.state.placement)}}]};return{...t,..._(this._config.popperConfig,[void 0,t])}}_setListeners(){let e=this._config.trigger.split(` `);for(let t of e)if(t===`click`)M.on(this._element,this.constructor.eventName(`click`),this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[di]=!(t._isShown()&&t._activeTrigger[di]),t.toggle()});else if(t!==`manual`){let e=t===li?this.constructor.eventName(`mouseenter`):this.constructor.eventName(`focusin`),n=t===li?this.constructor.eventName(`mouseleave`):this.constructor.eventName(`focusout`);M.on(this._element,e,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusin`?ui:li]=!0,t._enter()}),M.on(this._element,n,this._config.selector,e=>{let t=this._initializeOnDelegatedTarget(e);t._activeTrigger[e.type===`focusout`?ui:li]=t._element.contains(e.relatedTarget),t._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},M.on(this._element.closest(si),ci,this._hideModalHandler)}_fixTitle(){let e=this._element.getAttribute(`title`);e&&(this._element.getAttribute(`aria-label`)||this._element.textContent.trim()||this._element.setAttribute(`aria-label`,e),this._element.setAttribute(`data-bs-original-title`,e),this._element.removeAttribute(`title`))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){let t=oe.getDataAttributes(this._element);for(let e of Object.keys(t))ii.has(e)&&delete t[e];return e={...t,...typeof e==`object`&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:s(e.container),typeof e.delay==`number`&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title==`number`&&(e.title=e.title.toString()),typeof e.content==`number`&&(e.content=e.content.toString()),e}_getDelegateConfig(){let e={};for(let[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger=`manual`,e}_disposePopper(){this._popper&&=(this._popper.destroy(),null),this.tip&&=(this.tip.remove(),null)}static jQueryInterface(e){return this.each(function(){let t=hi.getOrCreateInstance(this,e);if(typeof e==`string`){if(t[e]===void 0)throw TypeError(`No method named "${e}"`);t[e]()}})}}g(hi);let gi={...hi.Default,content:``,offset:[0,8],placement:`right`,template:`<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>`,trigger:`click`},_i={...hi.DefaultType,content:`(null|string|element|function)`};class vi extends hi{static get Default(){return gi}static get DefaultType(){return _i}static get NAME(){return`popover`}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){let t=vi.getOrCreateInstance(this,e);if(typeof e==`string`){if(t[e]===void 0)throw TypeError(`No method named "${e}"`);t[e]()}})}}g(vi);let yi=`.bs.scrollspy`,bi=`activate${yi}`,xi=`click${yi}`,Si=`load${yi}.data-api`,Ci=`active`,wi=`[href]`,Ti=`.nav-link`,Ei=`${Ti}, .nav-item > ${Ti}, .list-group-item`,Di={offset:null,rootMargin:`0px 0px -25%`,smoothScroll:!1,target:null,threshold:[.1,.5,1]},Oi={offset:`(number|null)`,rootMargin:`string`,smoothScroll:`boolean`,target:`element`,threshold:`array`};class ki extends N{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY===`visible`?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Di}static get DefaultType(){return Oi}static get NAME(){return`scrollspy`}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(let e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=s(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold==`string`&&(e.threshold=e.threshold.split(`,`).map(e=>Number.parseFloat(e))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(M.off(this._config.target,xi),M.on(this._config.target,xi,wi,e=>{let t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();let n=this._rootElement||window,r=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:`smooth`});n.scrollTop=r}}))}_getNewObserver(){let e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(e=>this._observerCallback(e),e)}_observerCallback(e){let t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(let a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}let e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&e){if(n(a),!r)return}else i||e||n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;let e=F.find(wi,this._config.target);for(let t of e){if(!t.hash||l(t))continue;let e=F.findOne(decodeURI(t.hash),this._element);c(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Ci),this._activateParents(e),M.trigger(this._element,bi,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(`dropdown-item`))F.findOne(`.dropdown-toggle`,e.closest(`.dropdown`)).classList.add(Ci);else for(let t of F.parents(e,`.nav, .list-group`))for(let e of F.prev(t,Ei))e.classList.add(Ci)}_clearActiveClass(e){e.classList.remove(Ci);let t=F.find(`${wi}.${Ci}`,e);for(let e of t)e.classList.remove(Ci)}static jQueryInterface(e){return this.each(function(){let t=ki.getOrCreateInstance(this,e);if(typeof e==`string`){if(t[e]===void 0||e.startsWith(`_`)||e===`constructor`)throw TypeError(`No method named "${e}"`);t[e]()}})}}M.on(window,Si,()=>{for(let e of F.find(`[data-bs-spy="scroll"]`))ki.getOrCreateInstance(e)}),g(ki);let Ai=`.bs.tab`,ji=`hide${Ai}`,Mi=`hidden${Ai}`,Ni=`show${Ai}`,Pi=`shown${Ai}`,Fi=`click${Ai}`,Ii=`keydown${Ai}`,Li=`load${Ai}`,Ri=`ArrowRight`,zi=`ArrowDown`,Bi=`Home`,Vi=`active`,Hi=`fade`,Ui=`show`,J=`.dropdown-toggle`,Wi=`:not(${J})`,Gi=`[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]`,Ki=`.nav-link${Wi}, .list-group-item${Wi}, [role="tab"]${Wi}, ${Gi}`,Y=`.${Vi}[data-bs-toggle="tab"], .${Vi}[data-bs-toggle="pill"], .${Vi}[data-bs-toggle="list"]`;class qi extends N{constructor(e){super(e),this._parent=this._element.closest(`.list-group, .nav, [role="tablist"]`),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),M.on(this._element,Ii,e=>this._keydown(e)))}static get NAME(){return`tab`}show(){let e=this._element;if(this._elemIsActive(e))return;let t=this._getActiveElem(),n=t?M.trigger(t,ji,{relatedTarget:e}):null;M.trigger(e,Ni,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(Vi),this._activate(F.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute(`role`)===`tab`?(e.removeAttribute(`tabindex`),e.setAttribute(`aria-selected`,!0),this._toggleDropDown(e,!0),M.trigger(e,Pi,{relatedTarget:t})):e.classList.add(Ui)},e,e.classList.contains(Hi)))}_deactivate(e,t){e&&(e.classList.remove(Vi),e.blur(),this._deactivate(F.getElementFromSelector(e)),this._queueCallback(()=>{e.getAttribute(`role`)===`tab`?(e.setAttribute(`aria-selected`,!1),e.setAttribute(`tabindex`,`-1`),this._toggleDropDown(e,!1),M.trigger(e,Mi,{relatedTarget:t})):e.classList.remove(Ui)},e,e.classList.contains(Hi)))}_keydown(e){if(![`ArrowLeft`,Ri,`ArrowUp`,zi,Bi,`End`].includes(e.key))return;e.stopPropagation(),e.preventDefault();let t=this._getChildren().filter(e=>!l(e)),n;if([Bi,`End`].includes(e.key))n=t[e.key===Bi?0:t.length-1];else{let r=[Ri,zi].includes(e.key);n=y(t,e.target,r,!0)}n&&(n.focus({preventScroll:!0}),qi.getOrCreateInstance(n).show())}_getChildren(){return F.find(Ki,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,`role`,`tablist`);for(let e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);let t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute(`aria-selected`,t),n!==e&&this._setAttributeIfNotExists(n,`role`,`presentation`),t||e.setAttribute(`tabindex`,`-1`),this._setAttributeIfNotExists(e,`role`,`tab`),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){let t=F.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,`role`,`tabpanel`),e.id&&this._setAttributeIfNotExists(t,`aria-labelledby`,`${e.id}`))}_toggleDropDown(e,t){let n=this._getOuterElement(e);if(!n.classList.contains(`dropdown`))return;let r=(e,r)=>{let i=F.findOne(e,n);i&&i.classList.toggle(r,t)};r(J,Vi),r(`.dropdown-menu`,Ui),n.setAttribute(`aria-expanded`,t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Vi)}_getInnerElement(e){return e.matches(Ki)?e:F.findOne(Ki,e)}_getOuterElement(e){return e.closest(`.nav-item, .list-group-item`)||e}static jQueryInterface(e){return this.each(function(){let t=qi.getOrCreateInstance(this);if(typeof e==`string`){if(t[e]===void 0||e.startsWith(`_`)||e===`constructor`)throw TypeError(`No method named "${e}"`);t[e]()}})}}M.on(document,Fi,Gi,function(e){[`A`,`AREA`].includes(this.tagName)&&e.preventDefault(),l(this)||qi.getOrCreateInstance(this).show()}),M.on(window,Li,()=>{for(let e of F.find(Y))qi.getOrCreateInstance(e)}),g(qi);let Ji=`.bs.toast`,Yi=`mouseover${Ji}`,Xi=`mouseout${Ji}`,Zi=`focusin${Ji}`,Qi=`focusout${Ji}`,$i=`hide${Ji}`,ea=`hidden${Ji}`,ta=`show${Ji}`,na=`shown${Ji}`,ra=`hide`,ia=`show`,aa=`showing`,oa={animation:`boolean`,autohide:`boolean`,delay:`number`},sa={animation:!0,autohide:!0,delay:5e3};class ca extends N{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return sa}static get DefaultType(){return oa}static get NAME(){return`toast`}show(){M.trigger(this._element,ta).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(`fade`),this._element.classList.remove(ra),f(this._element),this._element.classList.add(ia,aa),this._queueCallback(()=>{this._element.classList.remove(aa),M.trigger(this._element,na),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(M.trigger(this._element,$i).defaultPrevented||(this._element.classList.add(aa),this._queueCallback(()=>{this._element.classList.add(ra),this._element.classList.remove(aa,ia),M.trigger(this._element,ea)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ia),super.dispose()}isShown(){return this._element.classList.contains(ia)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case`mouseover`:case`mouseout`:this._hasMouseInteraction=t;break;case`focusin`:case`focusout`:this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();let n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){M.on(this._element,Yi,e=>this._onInteraction(e,!0)),M.on(this._element,Xi,e=>this._onInteraction(e,!1)),M.on(this._element,Zi,e=>this._onInteraction(e,!0)),M.on(this._element,Qi,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){let t=ca.getOrCreateInstance(this,e);if(typeof e==`string`){if(t[e]===void 0)throw TypeError(`No method named "${e}"`);t[e](this)}})}}return ce(ca),g(ca),{Alert:fe,Button:me,Carousel:Ge,Collapse:it,Dropdown:Qn,Modal:jr,Offcanvas:Yr,Popover:vi,ScrollSpy:ki,Tab:qi,Toast:ca,Tooltip:hi}})}))();var Pg=lu(vg),Fg=Ru(),Ig=df({titleTemplate:e=>e?`${e} | Nexgen`:`Nexgen`});Pg.use(Fg),Pg.use(Ng),Pg.use(Ig),Pg.use(_f),Pg.use(mg),Pg.use(cm),Pg.mount(`#app`);export{_c as A,qi as B,ho as C,No as D,Ea as E,xs as F,dr as H,Zo as I,Ra as L,Go as M,Bo as N,Ao as O,Qo as P,za as R,kc as S,zc as T,yr as U,Zi as V,Dn as W,Cc as _,Tm as a,Pc as b,cf as c,$l as d,au as f,Oc as g,ll as h,hg as i,Wo as j,Po as k,Qu as l,lo as m,Eg as n,wm as o,dc as p,Tg as r,sm as s,Og as t,$u as u,Fc as v,ts as w,Nc as x,Sc as y,Ii as z};