@highstate/designer 0.1.0

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 (335) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/1jbH28Ud.js +1 -0
  3. package/.output/public/_nuxt/BAsjE6c8.js +69 -0
  4. package/.output/public/_nuxt/D4AvvZ3p.js +1 -0
  5. package/.output/public/_nuxt/DcSK-0AR.js +1 -0
  6. package/.output/public/_nuxt/builds/latest.json +1 -0
  7. package/.output/public/_nuxt/builds/meta/0ea9cf82-d280-4ae3-95c8-082f396c88c7.json +1 -0
  8. package/.output/public/_nuxt/entry.Df9XoxdB.css +1 -0
  9. package/.output/public/_nuxt/error-404.SWzu_puR.css +1 -0
  10. package/.output/public/_nuxt/error-500.Bkv_zTjr.css +1 -0
  11. package/.output/public/favicon.ico +0 -0
  12. package/.output/public/robots.txt +1 -0
  13. package/.output/server/chunks/_/error-500.mjs +8 -0
  14. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  15. package/.output/server/chunks/_/index.mjs +229 -0
  16. package/.output/server/chunks/_/index.mjs.map +1 -0
  17. package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs +6 -0
  18. package/.output/server/chunks/build/ComponentIcon-styles.CVav5bPa.mjs.map +1 -0
  19. package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs +6 -0
  20. package/.output/server/chunks/build/ComponentIcon-styles.DJ59dQiL.mjs.map +1 -0
  21. package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs +6 -0
  22. package/.output/server/chunks/build/ComponentNode-styles.5_iLK35r.mjs.map +1 -0
  23. package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs +6 -0
  24. package/.output/server/chunks/build/ComponentNode-styles.7QJfF7h3.mjs.map +1 -0
  25. package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs +7 -0
  26. package/.output/server/chunks/build/ProjectCanvas-styles.B6yAk_TI.mjs.map +1 -0
  27. package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs +6 -0
  28. package/.output/server/chunks/build/ProjectCanvas-styles.BxP3nGl6.mjs.map +1 -0
  29. package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs +6 -0
  30. package/.output/server/chunks/build/ProjectCanvas-styles.CsOcKxeb.mjs.map +1 -0
  31. package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs +6 -0
  32. package/.output/server/chunks/build/VAppBar-styles.CaKoZ7v7.mjs.map +1 -0
  33. package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs +6 -0
  34. package/.output/server/chunks/build/VAvatar-styles.BloWs-NL.mjs.map +1 -0
  35. package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs +6 -0
  36. package/.output/server/chunks/build/VBtn-styles.5s8xLaPo.mjs.map +1 -0
  37. package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs +6 -0
  38. package/.output/server/chunks/build/VBtnGroup-styles.B8WSSc7t.mjs.map +1 -0
  39. package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs +6 -0
  40. package/.output/server/chunks/build/VBtnToggle-styles.DRWSZkHZ.mjs.map +1 -0
  41. package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs +6 -0
  42. package/.output/server/chunks/build/VCard-styles.BpQql6F5.mjs.map +1 -0
  43. package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs +6 -0
  44. package/.output/server/chunks/build/VChip-styles.KvWWirvS.mjs.map +1 -0
  45. package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs +6 -0
  46. package/.output/server/chunks/build/VChipGroup-styles.SezSZY5I.mjs.map +1 -0
  47. package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs +6 -0
  48. package/.output/server/chunks/build/VCounter-styles.DlbjDB7E.mjs.map +1 -0
  49. package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs +6 -0
  50. package/.output/server/chunks/build/VDivider-styles.B5vnnFG1.mjs.map +1 -0
  51. package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs +6 -0
  52. package/.output/server/chunks/build/VField-styles.DkgSx68C.mjs.map +1 -0
  53. package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs +6 -0
  54. package/.output/server/chunks/build/VIcon-styles._8GsAkxR.mjs.map +1 -0
  55. package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs +6 -0
  56. package/.output/server/chunks/build/VImg-styles.BQYU2VXD.mjs.map +1 -0
  57. package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs +6 -0
  58. package/.output/server/chunks/build/VInput-styles.Cr1uxB2l.mjs.map +1 -0
  59. package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs +6 -0
  60. package/.output/server/chunks/build/VLabel-styles.OzbLNKaZ.mjs.map +1 -0
  61. package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs +6 -0
  62. package/.output/server/chunks/build/VLayout-styles.DBbIk0kn.mjs.map +1 -0
  63. package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs +6 -0
  64. package/.output/server/chunks/build/VMain-styles.CI15Xs8y.mjs.map +1 -0
  65. package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs +6 -0
  66. package/.output/server/chunks/build/VMessages-styles.C9dRMjf9.mjs.map +1 -0
  67. package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs +6 -0
  68. package/.output/server/chunks/build/VNavigationDrawer-styles.BcT_iIsk.mjs.map +1 -0
  69. package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs +6 -0
  70. package/.output/server/chunks/build/VProgressCircular-styles.CWpXfZ6Q.mjs.map +1 -0
  71. package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs +6 -0
  72. package/.output/server/chunks/build/VProgressLinear-styles.DjitzH7c.mjs.map +1 -0
  73. package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs +6 -0
  74. package/.output/server/chunks/build/VResponsive-styles.KUuswLet.mjs.map +1 -0
  75. package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs +6 -0
  76. package/.output/server/chunks/build/VSlideGroup-styles.fT1UQTdA.mjs.map +1 -0
  77. package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs +6 -0
  78. package/.output/server/chunks/build/VSpacer-styles.B_L0TU3-.mjs.map +1 -0
  79. package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs +6 -0
  80. package/.output/server/chunks/build/VTextField-styles.e8Z3kCRA.mjs.map +1 -0
  81. package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs +6 -0
  82. package/.output/server/chunks/build/VToolbar-styles.Bvr717Vh.mjs.map +1 -0
  83. package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs +6 -0
  84. package/.output/server/chunks/build/app-styles.-ZJ3yGO7.mjs.map +1 -0
  85. package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs +6 -0
  86. package/.output/server/chunks/build/app-styles.Ckjy6RrK.mjs.map +1 -0
  87. package/.output/server/chunks/build/client.manifest.mjs +82 -0
  88. package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
  89. package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs +4 -0
  90. package/.output/server/chunks/build/entry-styles-10.mjs-BpLi0qx6.mjs.map +1 -0
  91. package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs +4 -0
  92. package/.output/server/chunks/build/entry-styles-11.mjs-6TeH4I7w.mjs.map +1 -0
  93. package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs +4 -0
  94. package/.output/server/chunks/build/entry-styles-12.mjs-DU1igcRL.mjs.map +1 -0
  95. package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs +4 -0
  96. package/.output/server/chunks/build/entry-styles-13.mjs-lZGUjhhD.mjs.map +1 -0
  97. package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs +4 -0
  98. package/.output/server/chunks/build/entry-styles-14.mjs-BRdr1-px.mjs.map +1 -0
  99. package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs +4 -0
  100. package/.output/server/chunks/build/entry-styles-15.mjs-mUPL6Nc9.mjs.map +1 -0
  101. package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs +4 -0
  102. package/.output/server/chunks/build/entry-styles-16.mjs-CPJMcIL1.mjs.map +1 -0
  103. package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs +4 -0
  104. package/.output/server/chunks/build/entry-styles-17.mjs-CQOORRn5.mjs.map +1 -0
  105. package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs +4 -0
  106. package/.output/server/chunks/build/entry-styles-18.mjs-C7z1LTi9.mjs.map +1 -0
  107. package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs +4 -0
  108. package/.output/server/chunks/build/entry-styles-19.mjs-it-LBeIM.mjs.map +1 -0
  109. package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs +4 -0
  110. package/.output/server/chunks/build/entry-styles-2.mjs-CIKbACDD.mjs.map +1 -0
  111. package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs +4 -0
  112. package/.output/server/chunks/build/entry-styles-20.mjs-Igpd8vNA.mjs.map +1 -0
  113. package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs +4 -0
  114. package/.output/server/chunks/build/entry-styles-21.mjs-VGEW4cec.mjs.map +1 -0
  115. package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs +4 -0
  116. package/.output/server/chunks/build/entry-styles-22.mjs-DLAUZ2Ss.mjs.map +1 -0
  117. package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs +4 -0
  118. package/.output/server/chunks/build/entry-styles-23.mjs-D6dUb4Q1.mjs.map +1 -0
  119. package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs +4 -0
  120. package/.output/server/chunks/build/entry-styles-24.mjs-CR2CscOT.mjs.map +1 -0
  121. package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs +4 -0
  122. package/.output/server/chunks/build/entry-styles-25.mjs-gcGnyYj1.mjs.map +1 -0
  123. package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs +4 -0
  124. package/.output/server/chunks/build/entry-styles-26.mjs-BGcP6LjH.mjs.map +1 -0
  125. package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs +4 -0
  126. package/.output/server/chunks/build/entry-styles-27.mjs-DKPK367G.mjs.map +1 -0
  127. package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs +4 -0
  128. package/.output/server/chunks/build/entry-styles-28.mjs-BxlgEOUH.mjs.map +1 -0
  129. package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs +4 -0
  130. package/.output/server/chunks/build/entry-styles-29.mjs-EoZxjH32.mjs.map +1 -0
  131. package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs +4 -0
  132. package/.output/server/chunks/build/entry-styles-3.mjs-BZeC22He.mjs.map +1 -0
  133. package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs +4 -0
  134. package/.output/server/chunks/build/entry-styles-30.mjs-CoAZ885y.mjs.map +1 -0
  135. package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs +4 -0
  136. package/.output/server/chunks/build/entry-styles-31.mjs-JYOGcJtH.mjs.map +1 -0
  137. package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs +4 -0
  138. package/.output/server/chunks/build/entry-styles-32.mjs-lT-SGbzA.mjs.map +1 -0
  139. package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs +4 -0
  140. package/.output/server/chunks/build/entry-styles-33.mjs-CGVyg8PA.mjs.map +1 -0
  141. package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs +4 -0
  142. package/.output/server/chunks/build/entry-styles-4.mjs-DZ0RUZ3Y.mjs.map +1 -0
  143. package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs +4 -0
  144. package/.output/server/chunks/build/entry-styles-5.mjs-CWoX264H.mjs.map +1 -0
  145. package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs +4 -0
  146. package/.output/server/chunks/build/entry-styles-6.mjs-D97cocWn.mjs.map +1 -0
  147. package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs +4 -0
  148. package/.output/server/chunks/build/entry-styles-7.mjs-fDLOEPrI.mjs.map +1 -0
  149. package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs +4 -0
  150. package/.output/server/chunks/build/entry-styles-8.mjs-CogORmQT.mjs.map +1 -0
  151. package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs +4 -0
  152. package/.output/server/chunks/build/entry-styles-9.mjs-CIkuJriK.mjs.map +1 -0
  153. package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs +39 -0
  154. package/.output/server/chunks/build/entry-styles.CtA8hhgO.mjs.map +1 -0
  155. package/.output/server/chunks/build/error-404-BE32jcXw.mjs +399 -0
  156. package/.output/server/chunks/build/error-404-BE32jcXw.mjs.map +1 -0
  157. package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs +4 -0
  158. package/.output/server/chunks/build/error-404-styles-1.mjs-BnwklZPR.mjs.map +1 -0
  159. package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs +6 -0
  160. package/.output/server/chunks/build/error-404-styles.B5NDqGbJ.mjs.map +1 -0
  161. package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs +6 -0
  162. package/.output/server/chunks/build/error-404-styles.CeFcgbBS.mjs.map +1 -0
  163. package/.output/server/chunks/build/error-500-B3vPuajn.mjs +80 -0
  164. package/.output/server/chunks/build/error-500-B3vPuajn.mjs.map +1 -0
  165. package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs +4 -0
  166. package/.output/server/chunks/build/error-500-styles-1.mjs-C2TN-owL.mjs.map +1 -0
  167. package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs +6 -0
  168. package/.output/server/chunks/build/error-500-styles.BE3GHqYY.mjs.map +1 -0
  169. package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs +6 -0
  170. package/.output/server/chunks/build/error-500-styles.LQn8-gvg.mjs.map +1 -0
  171. package/.output/server/chunks/build/index-C2merokO.mjs +34 -0
  172. package/.output/server/chunks/build/index-C2merokO.mjs.map +1 -0
  173. package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs +6 -0
  174. package/.output/server/chunks/build/index-styles.C7jmw0Wl.mjs.map +1 -0
  175. package/.output/server/chunks/build/server.mjs +10495 -0
  176. package/.output/server/chunks/build/server.mjs.map +1 -0
  177. package/.output/server/chunks/build/styles.mjs +47 -0
  178. package/.output/server/chunks/build/styles.mjs.map +1 -0
  179. package/.output/server/chunks/nitro/nitro.mjs +6203 -0
  180. package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
  181. package/.output/server/chunks/routes/api/_trpc_.mjs +209 -0
  182. package/.output/server/chunks/routes/api/_trpc_.mjs.map +1 -0
  183. package/.output/server/chunks/routes/renderer.mjs +391 -0
  184. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  185. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  186. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  187. package/.output/server/index.mjs +7 -0
  188. package/.output/server/index.mjs.map +1 -0
  189. package/.output/server/node_modules/@babel/parser/lib/index.js +14023 -0
  190. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  191. package/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1996 -0
  192. package/.output/server/node_modules/@iconify/vue/package.json +65 -0
  193. package/.output/server/node_modules/@trpc/client/dist/TRPCClientError-38f9a32a.mjs +59 -0
  194. package/.output/server/node_modules/@trpc/client/dist/httpBatchLink-d0f9eac9.mjs +248 -0
  195. package/.output/server/node_modules/@trpc/client/dist/httpUtils-b9d0cb48.mjs +144 -0
  196. package/.output/server/node_modules/@trpc/client/dist/index.mjs +365 -0
  197. package/.output/server/node_modules/@trpc/client/dist/links/httpLink.mjs +62 -0
  198. package/.output/server/node_modules/@trpc/client/dist/links/loggerLink.mjs +173 -0
  199. package/.output/server/node_modules/@trpc/client/dist/links/wsLink.mjs +278 -0
  200. package/.output/server/node_modules/@trpc/client/dist/splitLink-4c75f7be.mjs +45 -0
  201. package/.output/server/node_modules/@trpc/client/dist/transformResult-ace864b8.mjs +58 -0
  202. package/.output/server/node_modules/@trpc/client/package.json +101 -0
  203. package/.output/server/node_modules/@trpc/server/dist/TRPCError-98d44758.mjs +39 -0
  204. package/.output/server/node_modules/@trpc/server/dist/batchStreamFormatter-fc1ffb26.mjs +30 -0
  205. package/.output/server/node_modules/@trpc/server/dist/codes-c924c3db.mjs +44 -0
  206. package/.output/server/node_modules/@trpc/server/dist/config-d5fdbd39.mjs +196 -0
  207. package/.output/server/node_modules/@trpc/server/dist/contentType-9fd995d3.mjs +52 -0
  208. package/.output/server/node_modules/@trpc/server/dist/getCauseFromUnknown-2d66414a.mjs +33 -0
  209. package/.output/server/node_modules/@trpc/server/dist/http/index.mjs +9 -0
  210. package/.output/server/node_modules/@trpc/server/dist/index-f91d720c.mjs +97 -0
  211. package/.output/server/node_modules/@trpc/server/dist/index.mjs +871 -0
  212. package/.output/server/node_modules/@trpc/server/dist/observable/index.mjs +147 -0
  213. package/.output/server/node_modules/@trpc/server/dist/observable-ade1bad8.mjs +81 -0
  214. package/.output/server/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs +291 -0
  215. package/.output/server/node_modules/@trpc/server/dist/shared/index.mjs +4 -0
  216. package/.output/server/node_modules/@trpc/server/dist/transformTRPCResponse-1153b421.mjs +53 -0
  217. package/.output/server/node_modules/@trpc/server/package.json +177 -0
  218. package/.output/server/node_modules/@unhead/dom/dist/index.mjs +197 -0
  219. package/.output/server/node_modules/@unhead/dom/package.json +40 -0
  220. package/.output/server/node_modules/@unhead/shared/dist/index.mjs +731 -0
  221. package/.output/server/node_modules/@unhead/shared/package.json +47 -0
  222. package/.output/server/node_modules/@unhead/ssr/dist/index.mjs +95 -0
  223. package/.output/server/node_modules/@unhead/ssr/package.json +40 -0
  224. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -0
  225. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  226. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
  227. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  228. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1404 -0
  229. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  230. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -0
  231. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  232. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6654 -0
  233. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  234. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1669 -0
  235. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  236. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
  237. package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
  238. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
  239. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  240. package/.output/server/node_modules/@vue-flow/background/dist/vue-flow-background.mjs +126 -0
  241. package/.output/server/node_modules/@vue-flow/background/package.json +73 -0
  242. package/.output/server/node_modules/@vue-flow/core/dist/vue-flow-core.mjs +9873 -0
  243. package/.output/server/node_modules/@vue-flow/core/package.json +92 -0
  244. package/.output/server/node_modules/@vue-flow/minimap/dist/vue-flow-minimap.mjs +2953 -0
  245. package/.output/server/node_modules/@vue-flow/minimap/package.json +80 -0
  246. package/.output/server/node_modules/devalue/index.js +3 -0
  247. package/.output/server/node_modules/devalue/package.json +34 -0
  248. package/.output/server/node_modules/devalue/src/base64.js +110 -0
  249. package/.output/server/node_modules/devalue/src/constants.js +6 -0
  250. package/.output/server/node_modules/devalue/src/parse.js +160 -0
  251. package/.output/server/node_modules/devalue/src/stringify.js +232 -0
  252. package/.output/server/node_modules/devalue/src/uneval.js +351 -0
  253. package/.output/server/node_modules/devalue/src/utils.js +113 -0
  254. package/.output/server/node_modules/entities/lib/decode.js +536 -0
  255. package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
  256. package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  257. package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  258. package/.output/server/node_modules/entities/package.json +90 -0
  259. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  260. package/.output/server/node_modules/estree-walker/package.json +37 -0
  261. package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
  262. package/.output/server/node_modules/hookable/package.json +49 -0
  263. package/.output/server/node_modules/nanoid/index.js +46 -0
  264. package/.output/server/node_modules/nanoid/package.json +41 -0
  265. package/.output/server/node_modules/nanoid/url-alphabet/index.js +2 -0
  266. package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +858 -0
  267. package/.output/server/node_modules/pinia/package.json +100 -0
  268. package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
  269. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
  270. package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
  271. package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
  272. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
  273. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
  274. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
  275. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
  276. package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
  277. package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
  278. package/.output/server/node_modules/source-map-js/package.json +71 -0
  279. package/.output/server/node_modules/source-map-js/source-map.js +8 -0
  280. package/.output/server/node_modules/ufo/dist/index.mjs +630 -0
  281. package/.output/server/node_modules/ufo/package.json +47 -0
  282. package/.output/server/node_modules/unhead/dist/index.mjs +747 -0
  283. package/.output/server/node_modules/unhead/package.json +46 -0
  284. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  285. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  286. package/.output/server/node_modules/vue/index.js +7 -0
  287. package/.output/server/node_modules/vue/index.mjs +1 -0
  288. package/.output/server/node_modules/vue/package.json +112 -0
  289. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  290. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
  291. package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
  292. package/.output/server/node_modules/vue-demi/lib/index.cjs +29 -0
  293. package/.output/server/node_modules/vue-demi/package.json +47 -0
  294. package/.output/server/node_modules/zod/lib/index.mjs +4236 -0
  295. package/.output/server/node_modules/zod/package.json +119 -0
  296. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Options.js +31 -0
  297. package/.output/server/node_modules/zod-to-json-schema/dist/esm/Refs.js +21 -0
  298. package/.output/server/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
  299. package/.output/server/node_modules/zod-to-json-schema/dist/esm/index.js +37 -0
  300. package/.output/server/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
  301. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parseDef.js +164 -0
  302. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +3 -0
  303. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +25 -0
  304. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
  305. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
  306. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
  307. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
  308. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
  309. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
  310. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +6 -0
  311. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
  312. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
  313. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
  314. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +25 -0
  315. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
  316. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +5 -0
  317. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
  318. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
  319. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
  320. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +45 -0
  321. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +20 -0
  322. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
  323. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
  324. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
  325. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +57 -0
  326. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
  327. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +324 -0
  328. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
  329. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +5 -0
  330. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
  331. package/.output/server/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +3 -0
  332. package/.output/server/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +59 -0
  333. package/.output/server/node_modules/zod-to-json-schema/package.json +89 -0
  334. package/.output/server/package.json +1 -0
  335. package/package.json +41 -0
@@ -0,0 +1,69 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DcSK-0AR.js","./D4AvvZ3p.js","./error-404.SWzu_puR.css","./1jbH28Ud.js","./error-500.Bkv_zTjr.css"])))=>i.map(i=>d[i]);
2
+ /**
3
+ * @vue/shared v3.5.13
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **//*! #__NO_SIDE_EFFECTS__ */function kc(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},ar=[],sn=()=>{},i1=()=>!1,Oi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$c=e=>e.startsWith("onUpdate:"),Ye=Object.assign,Tc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},s1=Object.prototype.hasOwnProperty,De=(e,t)=>s1.call(e,t),be=Array.isArray,lr=e=>Na(e)==="[object Map]",Em=e=>Na(e)==="[object Set]",ye=e=>typeof e=="function",je=e=>typeof e=="string",Dn=e=>typeof e=="symbol",Fe=e=>e!==null&&typeof e=="object",Ic=e=>(Fe(e)||ye(e))&&ye(e.then)&&ye(e.catch),km=Object.prototype.toString,Na=e=>km.call(e),a1=e=>Na(e).slice(8,-1),$m=e=>Na(e)==="[object Object]",Pc=e=>je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ur=kc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ma=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},l1=/-(\w)/g,Ct=Ma(e=>e.replace(l1,(t,n)=>n?n.toUpperCase():"")),u1=/\B([A-Z])/g,Fo=Ma(e=>e.replace(u1,"-$1").toLowerCase()),kr=Ma(e=>e.charAt(0).toUpperCase()+e.slice(1)),yl=Ma(e=>e?`on${kr(e)}`:""),En=(e,t)=>!Object.is(e,t),bl=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Tm=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},c1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Im=e=>{const t=je(e)?Number(e):NaN;return isNaN(t)?e:t};let qf;const Aa=()=>qf||(qf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gt(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=je(o)?g1(o):gt(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(je(e)||Fe(e))return e}const f1=/;(?![^(]*\))/g,d1=/:([^]+)/,h1=/\/\*[^]*?\*\//g;function g1(e){const t={};return e.replace(h1,"").split(f1).forEach(n=>{if(n){const o=n.split(d1);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Et(e){let t="";if(je(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const o=Et(e[n]);o&&(t+=o+" ")}else if(Fe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function zs(e){if(!e)return null;let{class:t,style:n}=e;return t&&!je(t)&&(e.class=Et(t)),n&&(e.style=gt(n)),e}const m1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",v1=kc(m1);function Pm(e){return!!e||e===""}const Nm=e=>!!(e&&e.__v_isRef===!0),Po=e=>je(e)?e:e==null?"":be(e)||Fe(e)&&(e.toString===km||!ye(e.toString))?Nm(e)?Po(e.value):JSON.stringify(e,Mm,2):String(e),Mm=(e,t)=>Nm(t)?Mm(e,t.value):lr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[_l(o,i)+" =>"]=r,n),{})}:Em(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>_l(n))}:Dn(t)?_l(t):Fe(t)&&!be(t)&&!$m(t)?String(t):t,_l=(e,t="")=>{var n;return Dn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
+ * @vue/reactivity v3.5.13
8
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
+ * @license MIT
10
+ **/let yt;class Am{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=yt,!t&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=yt;try{return yt=this,t()}finally{yt=n}}}on(){yt=this}off(){yt=this.parent}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function $r(e){return new Am(e)}function Tr(){return yt}function an(e,t=!1){yt&&yt.cleanups.push(e)}let He;const wl=new WeakSet;class Dm{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,yt&&yt.active&&yt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,wl.has(this)&&(wl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Rm(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Zf(this),Bm(this);const t=He,n=Gt;He=this,Gt=!0;try{return this.fn()}finally{Lm(this),He=t,Gt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ac(t);this.deps=this.depsTail=void 0,Zf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?wl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){lu(this)&&this.run()}get dirty(){return lu(this)}}let Om=0,Qr,ei;function Rm(e,t=!1){if(e.flags|=8,t){e.next=ei,ei=e;return}e.next=Qr,Qr=e}function Nc(){Om++}function Mc(){if(--Om>0)return;if(ei){let t=ei;for(ei=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Qr;){let t=Qr;for(Qr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function Bm(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Lm(e){let t,n=e.depsTail,o=n;for(;o;){const r=o.prevDep;o.version===-1?(o===n&&(n=r),Ac(o),p1(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=r}e.deps=t,e.depsTail=n}function lu(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hm(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hm(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ci))return;e.globalVersion=ci;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!lu(e)){e.flags&=-3;return}const n=He,o=Gt;He=e,Gt=!0;try{Bm(e);const r=e.fn(e._value);(t.version===0||En(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{He=n,Gt=o,Lm(e),e.flags&=-3}}function Ac(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ac(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function p1(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Gt=!0;const Vm=[];function ro(){Vm.push(Gt),Gt=!1}function io(){const e=Vm.pop();Gt=e===void 0?!0:e}function Zf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=He;He=void 0;try{t()}finally{He=n}}}let ci=0;class y1{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Da{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!He||!Gt||He===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==He)n=this.activeLink=new y1(He,this),He.deps?(n.prevDep=He.depsTail,He.depsTail.nextDep=n,He.depsTail=n):He.deps=He.depsTail=n,Fm(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=He.depsTail,n.nextDep=void 0,He.depsTail.nextDep=n,He.depsTail=n,He.deps===n&&(He.deps=o)}return n}trigger(t){this.version++,ci++,this.notify(t)}notify(t){Nc();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Mc()}}}function Fm(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Fm(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Us=new WeakMap,xo=Symbol(""),uu=Symbol(""),fi=Symbol("");function lt(e,t,n){if(Gt&&He){let o=Us.get(e);o||Us.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new Da),r.map=o,r.key=n),r.track()}}function bn(e,t,n,o,r,i){const s=Us.get(e);if(!s){ci++;return}const a=l=>{l&&l.trigger()};if(Nc(),t==="clear")s.forEach(a);else{const l=be(e),c=l&&Pc(n);if(l&&n==="length"){const u=Number(o);s.forEach((f,d)=>{(d==="length"||d===fi||!Dn(d)&&d>=u)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),c&&a(s.get(fi)),t){case"add":l?c&&a(s.get("length")):(a(s.get(xo)),lr(e)&&a(s.get(uu)));break;case"delete":l||(a(s.get(xo)),lr(e)&&a(s.get(uu)));break;case"set":lr(e)&&a(s.get(xo));break}}Mc()}function b1(e,t){const n=Us.get(e);return n&&n.get(t)}function Yo(e){const t=$e(e);return t===e?t:(lt(t,"iterate",fi),Ft(e)?t:t.map(ut))}function Oa(e){return lt(e=$e(e),"iterate",fi),e}const _1={__proto__:null,[Symbol.iterator](){return Sl(this,Symbol.iterator,ut)},concat(...e){return Yo(this).concat(...e.map(t=>be(t)?Yo(t):t))},entries(){return Sl(this,"entries",e=>(e[1]=ut(e[1]),e))},every(e,t){return mn(this,"every",e,t,void 0,arguments)},filter(e,t){return mn(this,"filter",e,t,n=>n.map(ut),arguments)},find(e,t){return mn(this,"find",e,t,ut,arguments)},findIndex(e,t){return mn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mn(this,"findLast",e,t,ut,arguments)},findLastIndex(e,t){return mn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mn(this,"forEach",e,t,void 0,arguments)},includes(...e){return xl(this,"includes",e)},indexOf(...e){return xl(this,"indexOf",e)},join(e){return Yo(this).join(e)},lastIndexOf(...e){return xl(this,"lastIndexOf",e)},map(e,t){return mn(this,"map",e,t,void 0,arguments)},pop(){return Hr(this,"pop")},push(...e){return Hr(this,"push",e)},reduce(e,...t){return Jf(this,"reduce",e,t)},reduceRight(e,...t){return Jf(this,"reduceRight",e,t)},shift(){return Hr(this,"shift")},some(e,t){return mn(this,"some",e,t,void 0,arguments)},splice(...e){return Hr(this,"splice",e)},toReversed(){return Yo(this).toReversed()},toSorted(e){return Yo(this).toSorted(e)},toSpliced(...e){return Yo(this).toSpliced(...e)},unshift(...e){return Hr(this,"unshift",e)},values(){return Sl(this,"values",ut)}};function Sl(e,t,n){const o=Oa(e),r=o[t]();return o!==e&&!Ft(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const w1=Array.prototype;function mn(e,t,n,o,r,i){const s=Oa(e),a=s!==e&&!Ft(e),l=s[t];if(l!==w1[t]){const f=l.apply(e,i);return a?ut(f):f}let c=n;s!==e&&(a?c=function(f,d){return n.call(this,ut(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(s,c,o);return a&&r?r(u):u}function Jf(e,t,n,o){const r=Oa(e);let i=n;return r!==e&&(Ft(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,ut(a),l,e)}),r[t](i,...o)}function xl(e,t,n){const o=$e(e);lt(o,"iterate",fi);const r=o[t](...n);return(r===-1||r===!1)&&Rc(n[0])?(n[0]=$e(n[0]),o[t](...n)):r}function Hr(e,t,n=[]){ro(),Nc();const o=$e(e)[t].apply(e,n);return Mc(),io(),o}const S1=kc("__proto__,__v_isRef,__isVue"),zm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dn));function x1(e){Dn(e)||(e=String(e));const t=$e(this);return lt(t,"has",e),t.hasOwnProperty(e)}class Um{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?A1:Gm:i?Ym:jm).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const s=be(t);if(!r){let l;if(s&&(l=_1[n]))return l;if(n==="hasOwnProperty")return x1}const a=Reflect.get(t,n,Me(t)?t:o);return(Dn(n)?zm.has(n):S1(n))||(r||lt(t,"get",n),i)?a:Me(a)?s&&Pc(n)?a:a.value:Fe(a)?r?Ri(a):We(a):a}}class Wm extends Um{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=no(i);if(!Ft(o)&&!no(o)&&(i=$e(i),o=$e(o)),!be(t)&&Me(i)&&!Me(o))return l?!1:(i.value=o,!0)}const s=be(t)&&Pc(n)?Number(n)<t.length:De(t,n),a=Reflect.set(t,n,o,Me(t)?t:r);return t===$e(r)&&(s?En(o,i)&&bn(t,"set",n,o):bn(t,"add",n,o)),a}deleteProperty(t,n){const o=De(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&bn(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return(!Dn(n)||!zm.has(n))&&lt(t,"has",n),o}ownKeys(t){return lt(t,"iterate",be(t)?"length":xo),Reflect.ownKeys(t)}}class C1 extends Um{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const E1=new Wm,k1=new C1,$1=new Wm(!0);const cu=e=>e,Zi=e=>Reflect.getPrototypeOf(e);function T1(e,t,n){return function(...o){const r=this.__v_raw,i=$e(r),s=lr(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=r[e](...o),u=n?cu:t?fu:ut;return!t&&lt(i,"iterate",l?uu:xo),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ji(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function I1(e,t){const n={get(r){const i=this.__v_raw,s=$e(i),a=$e(r);e||(En(r,a)&&lt(s,"get",r),lt(s,"get",a));const{has:l}=Zi(s),c=t?cu:e?fu:ut;if(l.call(s,r))return c(i.get(r));if(l.call(s,a))return c(i.get(a));i!==s&&i.get(r)},get size(){const r=this.__v_raw;return!e&&lt($e(r),"iterate",xo),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,s=$e(i),a=$e(r);return e||(En(r,a)&&lt(s,"has",r),lt(s,"has",a)),r===a?i.has(r):i.has(r)||i.has(a)},forEach(r,i){const s=this,a=s.__v_raw,l=$e(a),c=t?cu:e?fu:ut;return!e&&lt(l,"iterate",xo),a.forEach((u,f)=>r.call(i,c(u),c(f),s))}};return Ye(n,e?{add:Ji("add"),set:Ji("set"),delete:Ji("delete"),clear:Ji("clear")}:{add(r){!t&&!Ft(r)&&!no(r)&&(r=$e(r));const i=$e(this);return Zi(i).has.call(i,r)||(i.add(r),bn(i,"add",r,r)),this},set(r,i){!t&&!Ft(i)&&!no(i)&&(i=$e(i));const s=$e(this),{has:a,get:l}=Zi(s);let c=a.call(s,r);c||(r=$e(r),c=a.call(s,r));const u=l.call(s,r);return s.set(r,i),c?En(i,u)&&bn(s,"set",r,i):bn(s,"add",r,i),this},delete(r){const i=$e(this),{has:s,get:a}=Zi(i);let l=s.call(i,r);l||(r=$e(r),l=s.call(i,r)),a&&a.call(i,r);const c=i.delete(r);return l&&bn(i,"delete",r,void 0),c},clear(){const r=$e(this),i=r.size!==0,s=r.clear();return i&&bn(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=T1(r,e,t)}),n}function Dc(e,t){const n=I1(e,t);return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(De(n,r)&&r in o?n:o,r,i)}const P1={get:Dc(!1,!1)},N1={get:Dc(!1,!0)},M1={get:Dc(!0,!1)};const jm=new WeakMap,Ym=new WeakMap,Gm=new WeakMap,A1=new WeakMap;function D1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function O1(e){return e.__v_skip||!Object.isExtensible(e)?0:D1(a1(e))}function We(e){return no(e)?e:Oc(e,!1,E1,P1,jm)}function tr(e){return Oc(e,!1,$1,N1,Ym)}function Ri(e){return Oc(e,!0,k1,M1,Gm)}function Oc(e,t,n,o,r){if(!Fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=O1(e);if(s===0)return e;const a=new Proxy(e,s===2?o:n);return r.set(e,a),a}function kn(e){return no(e)?kn(e.__v_raw):!!(e&&e.__v_isReactive)}function no(e){return!!(e&&e.__v_isReadonly)}function Ft(e){return!!(e&&e.__v_isShallow)}function Rc(e){return e?!!e.__v_raw:!1}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function $n(e){return!De(e,"__v_skip")&&Object.isExtensible(e)&&Tm(e,"__v_skip",!0),e}const ut=e=>Fe(e)?We(e):e,fu=e=>Fe(e)?Ri(e):e;function Me(e){return e?e.__v_isRef===!0:!1}function se(e){return Xm(e,!1)}function Ee(e){return Xm(e,!0)}function Xm(e,t){return Me(e)?e:new R1(e,t)}class R1{constructor(t,n){this.dep=new Da,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:$e(t),this._value=n?t:ut(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||Ft(t)||no(t);t=o?t:$e(t),En(t,n)&&(this._rawValue=t,this._value=o?t:ut(t),this.dep.trigger())}}function Z(e){return Me(e)?e.value:e}function Ie(e){return ye(e)?e():Z(e)}const B1={get:(e,t,n)=>t==="__v_raw"?e:Z(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Me(r)&&!Me(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Km(e){return kn(e)?e:new Proxy(e,B1)}class L1{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Da,{get:o,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=o,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function H1(e){return new L1(e)}function Bi(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=qm(e,n);return t}class V1{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return b1($e(this._object),this._key)}}class F1{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function pe(e,t,n){return Me(e)?e:ye(e)?new F1(e):Fe(e)&&arguments.length>1?qm(e,t,n):se(e)}function qm(e,t,n){const o=e[t];return Me(o)?o:new V1(e,t,n)}class z1{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Da(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ci-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return Rm(this,!0),!0}get value(){const t=this.dep.track();return Hm(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function U1(e,t,n=!1){let o,r;return ye(e)?o=e:(o=e.get,r=e.set),new z1(o,r,n)}const Qi={},Ws=new WeakMap;let mo;function W1(e,t=!1,n=mo){if(n){let o=Ws.get(n);o||Ws.set(n,o=[]),o.push(e)}}function j1(e,t,n=Le){const{immediate:o,deep:r,once:i,scheduler:s,augmentJob:a,call:l}=n,c=w=>r?w:Ft(w)||r===!1||r===0?_n(w,1):_n(w);let u,f,d,h,m=!1,g=!1;if(Me(e)?(f=()=>e.value,m=Ft(e)):kn(e)?(f=()=>c(e),m=!0):be(e)?(g=!0,m=e.some(w=>kn(w)||Ft(w)),f=()=>e.map(w=>{if(Me(w))return w.value;if(kn(w))return c(w);if(ye(w))return l?l(w,2):w()})):ye(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){ro();try{d()}finally{io()}}const w=mo;mo=u;try{return l?l(e,3,[h]):e(h)}finally{mo=w}}:f=sn,t&&r){const w=f,I=r===!0?1/0:r;f=()=>_n(w(),I)}const p=Tr(),_=()=>{u.stop(),p&&p.active&&Tc(p.effects,u)};if(i&&t){const w=t;t=(...I)=>{w(...I),_()}}let E=g?new Array(e.length).fill(Qi):Qi;const v=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const I=u.run();if(r||m||(g?I.some((k,D)=>En(k,E[D])):En(I,E))){d&&d();const k=mo;mo=u;try{const D=[I,E===Qi?void 0:g&&E[0]===Qi?[]:E,h];l?l(t,3,D):t(...D),E=I}finally{mo=k}}}else u.run()};return a&&a(v),u=new Dm(f),u.scheduler=s?()=>s(v,!1):v,h=w=>W1(w,!1,u),d=u.onStop=()=>{const w=Ws.get(u);if(w){if(l)l(w,4);else for(const I of w)I();Ws.delete(u)}},t?o?v(!0):E=u.run():s?s(v.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function _n(e,t=1/0,n){if(t<=0||!Fe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Me(e))_n(e.value,t,n);else if(be(e))for(let o=0;o<e.length;o++)_n(e[o],t,n);else if(Em(e)||lr(e))e.forEach(o=>{_n(o,t,n)});else if($m(e)){for(const o in e)_n(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&_n(e[o],t,n)}return e}/**
11
+ * @vue/runtime-core v3.5.13
12
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
+ * @license MIT
14
+ **/function Li(e,t,n,o){try{return o?e(...o):e()}catch(r){Ir(r,t,n)}}function Xt(e,t,n,o){if(ye(e)){const r=Li(e,t,n,o);return r&&Ic(r)&&r.catch(i=>{Ir(i,t,n)}),r}if(be(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Xt(e[i],t,n,o));return r}}function Ir(e,t,n,o=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Le;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(i){ro(),Li(i,null,10,[e,l,c]),io();return}}Y1(e,n,r,o,s)}function Y1(e,t,n,o=!0,r=!1){if(r)throw e;console.error(e)}const bt=[];let Qt=-1;const cr=[];let Un=null,er=0;const Zm=Promise.resolve();let js=null;function Ze(e){const t=js||Zm;return e?t.then(this?e.bind(this):e):t}function G1(e){let t=Qt+1,n=bt.length;for(;t<n;){const o=t+n>>>1,r=bt[o],i=di(r);i<e||i===e&&r.flags&2?t=o+1:n=o}return t}function Bc(e){if(!(e.flags&1)){const t=di(e),n=bt[bt.length-1];!n||!(e.flags&2)&&t>=di(n)?bt.push(e):bt.splice(G1(t),0,e),e.flags|=1,Jm()}}function Jm(){js||(js=Zm.then(Qm))}function du(e){be(e)?cr.push(...e):Un&&e.id===-1?Un.splice(er+1,0,e):e.flags&1||(cr.push(e),e.flags|=1),Jm()}function Qf(e,t,n=Qt+1){for(;n<bt.length;n++){const o=bt[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;bt.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Ys(e){if(cr.length){const t=[...new Set(cr)].sort((n,o)=>di(n)-di(o));if(cr.length=0,Un){Un.push(...t);return}for(Un=t,er=0;er<Un.length;er++){const n=Un[er];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Un=null,er=0}}const di=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Qm(e){try{for(Qt=0;Qt<bt.length;Qt++){const t=bt[Qt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Li(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Qt<bt.length;Qt++){const t=bt[Qt];t&&(t.flags&=-2)}Qt=-1,bt.length=0,Ys(),js=null,(bt.length||cr.length)&&Qm()}}let Qe=null,ev=null;function Gs(e){const t=Qe;return Qe=e,ev=e&&e.type.__scopeId||null,t}function Ue(e,t=Qe,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&hd(-1);const i=Gs(t);let s;try{s=e(...r)}finally{Gs(i),o._d&&hd(1)}return s};return o._n=!0,o._c=!0,o._d=!0,o}function Pn(e,t){if(Qe===null)return e;const n=Fa(Qe),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,s,a,l=Le]=t[r];i&&(ye(i)&&(i={mounted:i,updated:i}),i.deep&&_n(s),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function en(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(ro(),Xt(l,n,8,[e.el,a,e,t]),io())}}const X1=Symbol("_vte"),tv=e=>e.__isTeleport,Wn=Symbol("_leaveCb"),es=Symbol("_enterCb");function nv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ot(()=>{e.isMounted=!0}),kt(()=>{e.isUnmounting=!0}),e}const Ht=[Function,Array],ov={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ht,onEnter:Ht,onAfterEnter:Ht,onEnterCancelled:Ht,onBeforeLeave:Ht,onLeave:Ht,onAfterLeave:Ht,onLeaveCancelled:Ht,onBeforeAppear:Ht,onAppear:Ht,onAfterAppear:Ht,onAppearCancelled:Ht},rv=e=>{const t=e.subTree;return t.component?rv(t.component):t},K1={name:"BaseTransition",props:ov,setup(e,{slots:t}){const n=Bt(),o=nv();return()=>{const r=t.default&&Lc(t.default(),!0);if(!r||!r.length)return;const i=iv(r),s=$e(e),{mode:a}=s;if(o.isLeaving)return Cl(i);const l=ed(i);if(!l)return Cl(i);let c=hi(l,s,o,n,f=>c=f);l.type!==rt&&No(l,c);let u=n.subTree&&ed(n.subTree);if(u&&u.type!==rt&&!nn(l,u)&&rv(n).type!==rt){let f=hi(u,s,o,n);if(No(u,f),a==="out-in"&&l.type!==rt)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Cl(i);a==="in-out"&&l.type!==rt?f.delayLeave=(d,h,m)=>{const g=sv(o,u);g[String(u.key)]=u,d[Wn]=()=>{h(),d[Wn]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function iv(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==rt){t=n;break}}return t}const q1=K1;function sv(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function hi(e,t,n,o,r){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:p,onAppear:_,onAfterAppear:E,onAppearCancelled:v}=t,w=String(e.key),I=sv(n,e),k=(A,P)=>{A&&Xt(A,o,9,P)},D=(A,P)=>{const z=P[1];k(A,P),be(A)?A.every(C=>C.length<=1)&&z():A.length<=1&&z()},R={mode:s,persisted:a,beforeEnter(A){let P=l;if(!n.isMounted)if(i)P=p||l;else return;A[Wn]&&A[Wn](!0);const z=I[w];z&&nn(e,z)&&z.el[Wn]&&z.el[Wn](),k(P,[A])},enter(A){let P=c,z=u,C=f;if(!n.isMounted)if(i)P=_||c,z=E||u,C=v||f;else return;let j=!1;const y=A[es]=O=>{j||(j=!0,O?k(C,[A]):k(z,[A]),R.delayedLeave&&R.delayedLeave(),A[es]=void 0)};P?D(P,[A,y]):y()},leave(A,P){const z=String(e.key);if(A[es]&&A[es](!0),n.isUnmounting)return P();k(d,[A]);let C=!1;const j=A[Wn]=y=>{C||(C=!0,P(),y?k(g,[A]):k(m,[A]),A[Wn]=void 0,I[z]===e&&delete I[z])};I[z]=e,h?D(h,[A,j]):j()},clone(A){const P=hi(A,t,n,o,r);return r&&r(P),P}};return R}function Cl(e){if(Hi(e))return e=Nn(e),e.children=null,e}function ed(e){if(!Hi(e))return tv(e.type)&&e.children?iv(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ye(n.default))return n.default()}}function No(e,t){e.shapeFlag&6&&e.component?(e.transition=t,No(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 Lc(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===we?(s.patchFlag&128&&r++,o=o.concat(Lc(s.children,t,a))):(t||s.type!==rt)&&o.push(a!=null?Nn(s,{key:a}):s)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function ke(e,t){return ye(e)?Ye({name:e.name},t,{setup:e}):e}function Hc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function gi(e,t,n,o,r=!1){if(be(e)){e.forEach((m,g)=>gi(m,t&&(be(t)?t[g]:t),n,o,r));return}if(Co(o)&&!r){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&gi(e,t,n,o.component.subTree);return}const i=o.shapeFlag&4?Fa(o.component):o.el,s=r?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,f=a.setupState,d=$e(f),h=f===Le?()=>!1:m=>De(d,m);if(c!=null&&c!==l&&(je(c)?(u[c]=null,h(c)&&(f[c]=null)):Me(c)&&(c.value=null)),ye(l))Li(l,a,12,[s,u]);else{const m=je(l),g=Me(l);if(m||g){const p=()=>{if(e.f){const _=m?h(l)?f[l]:u[l]:l.value;r?be(_)&&Tc(_,i):be(_)?_.includes(i)||_.push(i):m?(u[l]=[i],h(l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else m?(u[l]=s,h(l)&&(f[l]=s)):g&&(l.value=s,e.k&&(u[e.k]=s))};s?(p.id=-1,Mt(p,n)):p()}}}let td=!1;const Go=()=>{td||(console.error("Hydration completed but contains mismatches."),td=!0)},Z1=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",J1=e=>e.namespaceURI.includes("MathML"),ts=e=>{if(e.nodeType===1){if(Z1(e))return"svg";if(J1(e))return"mathml"}},nr=e=>e.nodeType===8;function Q1(e){const{mt:t,p:n,o:{patchProp:o,createText:r,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(v,w)=>{if(!w.hasChildNodes()){n(null,v,w),Ys(),w._vnode=v;return}f(w.firstChild,v,null,null,null),Ys(),w._vnode=v},f=(v,w,I,k,D,R=!1)=>{R=R||!!w.dynamicChildren;const A=nr(v)&&v.data==="[",P=()=>g(v,w,I,k,D,A),{type:z,ref:C,shapeFlag:j,patchFlag:y}=w;let O=v.nodeType;w.el=v,y===-2&&(R=!1,w.dynamicChildren=null);let x=null;switch(z){case Jn:O!==3?w.children===""?(l(w.el=r(""),s(v),v),x=v):x=P():(v.data!==w.children&&(Go(),v.data=w.children),x=i(v));break;case rt:E(v)?(x=i(v),_(w.el=v.content.firstChild,v,I)):O!==8||A?x=P():x=i(v);break;case Cs:if(A&&(v=i(v),O=v.nodeType),O===1||O===3){x=v;const L=!w.children.length;for(let B=0;B<w.staticCount;B++)L&&(w.children+=x.nodeType===1?x.outerHTML:x.data),B===w.staticCount-1&&(w.anchor=x),x=i(x);return A?i(x):x}else P();break;case we:A?x=m(v,w,I,k,D,R):x=P();break;default:if(j&1)(O!==1||w.type.toLowerCase()!==v.tagName.toLowerCase())&&!E(v)?x=P():x=d(v,w,I,k,D,R);else if(j&6){w.slotScopeIds=D;const L=s(v);if(A?x=p(v):nr(v)&&v.data==="teleport start"?x=p(v,v.data,"teleport end"):x=i(v),t(w,L,null,I,k,ts(L),R),Co(w)&&!w.type.__asyncResolved){let B;A?(B=M(we),B.anchor=x?x.previousSibling:L.lastChild):B=v.nodeType===3?_o(""):M("div"),B.el=v,w.component.subTree=B}}else j&64?O!==8?x=P():x=w.type.hydrate(v,w,I,k,D,R,e,h):j&128&&(x=w.type.hydrate(v,w,I,k,ts(s(v)),D,R,e,f))}return C!=null&&gi(C,null,k,w),x},d=(v,w,I,k,D,R)=>{R=R||!!w.dynamicChildren;const{type:A,props:P,patchFlag:z,shapeFlag:C,dirs:j,transition:y}=w,O=A==="input"||A==="option";if(O||z!==-1){j&&en(w,null,I,"created");let x=!1;if(E(v)){x=Iv(null,y)&&I&&I.vnode.props&&I.vnode.props.appear;const B=v.content.firstChild;x&&y.beforeEnter(B),_(B,v,I),w.el=v=B}if(C&16&&!(P&&(P.innerHTML||P.textContent))){let B=h(v.firstChild,w,v,I,k,D,R);for(;B;){ns(v,1)||Go();const U=B;B=B.nextSibling,a(U)}}else if(C&8){let B=w.children;B[0]===`
15
+ `&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(B=B.slice(1)),v.textContent!==B&&(ns(v,0)||Go(),v.textContent=w.children)}if(P){if(O||!R||z&48){const B=v.tagName.includes("-");for(const U in P)(O&&(U.endsWith("value")||U==="indeterminate")||Oi(U)&&!ur(U)||U[0]==="."||B)&&o(v,U,null,P[U],void 0,I)}else if(P.onClick)o(v,"onClick",null,P.onClick,void 0,I);else if(z&4&&kn(P.style))for(const B in P.style)P.style[B]}let L;(L=P&&P.onVnodeBeforeMount)&&Vt(L,I,w),j&&en(w,null,I,"beforeMount"),((L=P&&P.onVnodeMounted)||j||x)&&Rv(()=>{L&&Vt(L,I,w),x&&y.enter(v),j&&en(w,null,I,"mounted")},k)}return v.nextSibling},h=(v,w,I,k,D,R,A)=>{A=A||!!w.dynamicChildren;const P=w.children,z=P.length;for(let C=0;C<z;C++){const j=A?P[C]:P[C]=At(P[C]),y=j.type===Jn;v?(y&&!A&&C+1<z&&At(P[C+1]).type===Jn&&(l(r(v.data.slice(j.children.length)),I,i(v)),v.data=j.children),v=f(v,j,k,D,R,A)):y&&!j.children?l(j.el=r(""),I):(ns(I,1)||Go(),n(null,j,I,null,k,D,ts(I),R))}return v},m=(v,w,I,k,D,R)=>{const{slotScopeIds:A}=w;A&&(D=D?D.concat(A):A);const P=s(v),z=h(i(v),w,P,I,k,D,R);return z&&nr(z)&&z.data==="]"?i(w.anchor=z):(Go(),l(w.anchor=c("]"),P,z),z)},g=(v,w,I,k,D,R)=>{if(ns(v.parentElement,1)||Go(),w.el=null,R){const z=p(v);for(;;){const C=i(v);if(C&&C!==z)a(C);else break}}const A=i(v),P=s(v);return a(v),n(null,w,P,A,I,k,ts(P),D),I&&(I.vnode.el=w.el,Va(I,w.el)),A},p=(v,w="[",I="]")=>{let k=0;for(;v;)if(v=i(v),v&&nr(v)&&(v.data===w&&k++,v.data===I)){if(k===0)return i(v);k--}return v},_=(v,w,I)=>{const k=w.parentNode;k&&k.replaceChild(v,w);let D=I;for(;D;)D.vnode.el===w&&(D.vnode.el=D.subTree.el=v),D=D.parent},E=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[u,f]}const nd="data-allow-mismatch",e_={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ns(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(nd);)e=e.parentElement;const n=e&&e.getAttribute(nd);if(n==null)return!1;if(n==="")return!0;{const o=n.split(",");return t===0&&o.includes("children")?!0:n.split(",").includes(e_[t])}}Aa().requestIdleCallback;Aa().cancelIdleCallback;function t_(e,t){if(nr(e)&&e.data==="["){let n=1,o=e.nextSibling;for(;o;){if(o.nodeType===1){if(t(o)===!1)break}else if(nr(o))if(o.data==="]"){if(--n===0)break}else o.data==="["&&n++;o=o.nextSibling}}else t(e)}const Co=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function od(e){ye(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const d=()=>(f++,c=null,h()),h=()=>{let m;return c||(m=c=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((p,_)=>{l(g,()=>p(d()),()=>_(g),f+1)});throw g}).then(g=>m!==c&&c?c:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),u=g,g)))};return ke({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(m,g,p){const _=i?()=>{const E=i(p,v=>t_(m,v));E&&(g.bum||(g.bum=[])).push(E)}:p;u?_():h().then(()=>!g.isUnmounted&&_())},get __asyncResolved(){return u},setup(){const m=Je;if(Hc(m),u)return()=>El(u,m);const g=v=>{c=null,Ir(v,m,13,!o)};if(a&&m.suspense||pr)return h().then(v=>()=>El(v,m)).catch(v=>(g(v),()=>o?M(o,{error:v}):null));const p=se(!1),_=se(),E=se(!!r);return r&&setTimeout(()=>{E.value=!1},r),s!=null&&setTimeout(()=>{if(!p.value&&!_.value){const v=new Error(`Async component timed out after ${s}ms.`);g(v),_.value=v}},s),h().then(()=>{p.value=!0,m.parent&&Hi(m.parent.vnode)&&m.parent.update()}).catch(v=>{g(v),_.value=v}),()=>{if(p.value&&u)return El(u,m);if(_.value&&o)return M(o,{error:_.value});if(n&&!E.value)return M(n)}}})}function El(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=M(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Hi=e=>e.type.__isKeepAlive;function av(e,t){uv(e,"a",t)}function lv(e,t){uv(e,"da",t)}function uv(e,t,n=Je){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ra(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Hi(r.parent.vnode)&&n_(o,t,n,r),r=r.parent}}function n_(e,t,n,o){const r=Ra(t,e,o,!0);Fi(()=>{Tc(o[t],r)},n)}function Ra(e,t,n=Je,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{ro();const a=Ao(n),l=Xt(t,n,e,s);return a(),io(),l});return o?r.unshift(i):r.push(i),i}}const On=e=>(t,n=Je)=>{(!pr||e==="sp")&&Ra(e,(...o)=>t(...o),n)},Vi=On("bm"),ot=On("m"),o_=On("bu"),Vc=On("u"),kt=On("bum"),Fi=On("um"),r_=On("sp"),i_=On("rtg"),s_=On("rtc");function cv(e,t=Je){Ra("ec",e,t)}const Fc="components",a_="directives";function fv(e,t){return zc(Fc,e,!0,t)||e}const dv=Symbol.for("v-ndc");function Ba(e){return je(e)?zc(Fc,e,!1)||e:e||dv}function La(e){return zc(a_,e)}function zc(e,t,n=!0,o=!1){const r=Qe||Je;if(r){const i=r.type;if(e===Fc){const a=K_(i,!1);if(a&&(a===t||a===Ct(t)||a===kr(Ct(t))))return i}const s=rd(r[e]||i[e],t)||rd(r.appContext[e],t);return!s&&o?i:s}}function rd(e,t){return e&&(e[t]||e[Ct(t)]||e[kr(Ct(t))])}function Zn(e,t,n,o){let r;const i=n&&n[o],s=be(e);if(s||je(e)){const a=s&&kn(e);let l=!1;a&&(l=!Ft(e),e=Oa(e)),r=new Array(e.length);for(let c=0,u=e.length;c<u;c++)r[c]=t(l?ut(e[c]):e[c],c,void 0,i&&i[c])}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,i&&i[a])}else if(Fe(e))if(e[Symbol.iterator])r=Array.from(e,(a,l)=>t(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];r[l]=t(e[u],u,l,i&&i[l])}}else r=[];return n&&(n[o]=r),r}function zt(e,t,n={},o,r){if(Qe.ce||Qe.parent&&Co(Qe.parent)&&Qe.parent.ce)return t!=="default"&&(n.name=t),re(),Pe(we,null,[M("slot",n,o&&o())],64);let i=e[t];i&&i._c&&(i._d=!1),re();const s=i&&hv(i(n)),a=n.key||s&&s.key,l=Pe(we,{key:(a&&!Dn(a)?a:`_${t}`)+(!s&&o?"_fb":"")},s||(o?o():[]),s&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function hv(e){return e.some(t=>vr(t)?!(t.type===rt||t.type===we&&!hv(t.children)):!0)?e:null}const hu=e=>e?Vv(e)?Fa(e):hu(e.parent):null,ti=Ye(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=>hu(e.parent),$root:e=>hu(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Wc(e),$forceUpdate:e=>e.f||(e.f=()=>{Bc(e.update)}),$nextTick:e=>e.n||(e.n=Ze.bind(e.proxy)),$watch:e=>T_.bind(e)}),kl=(e,t)=>e!==Le&&!e.__isScriptSetup&&De(e,t),l_={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(kl(o,t))return s[t]=1,o[t];if(r!==Le&&De(r,t))return s[t]=2,r[t];if((c=e.propsOptions[0])&&De(c,t))return s[t]=3,i[t];if(n!==Le&&De(n,t))return s[t]=4,n[t];gu&&(s[t]=0)}}const u=ti[t];let f,d;if(u)return t==="$attrs"&&lt(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Le&&De(n,t))return s[t]=4,n[t];if(d=l.config.globalProperties,De(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return kl(r,t)?(r[t]=n,!0):o!==Le&&De(o,t)?(o[t]=n,!0):De(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return!!n[s]||e!==Le&&De(e,s)||kl(t,s)||(a=i[0])&&De(a,s)||De(o,s)||De(ti,s)||De(r.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:De(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gv(){return mv().slots}function Uc(){return mv().attrs}function mv(){const e=Bt();return e.setupContext||(e.setupContext=zv(e))}function id(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function vv(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function u_(e){const t=Bt();let n=e();return bu(),Ic(n)&&(n=n.catch(o=>{throw Ao(t),o})),[n,()=>Ao(t)]}let gu=!0;function c_(e){const t=Wc(e),n=e.proxy,o=e.ctx;gu=!1,t.beforeCreate&&sd(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:g,deactivated:p,beforeDestroy:_,beforeUnmount:E,destroyed:v,unmounted:w,render:I,renderTracked:k,renderTriggered:D,errorCaptured:R,serverPrefetch:A,expose:P,inheritAttrs:z,components:C,directives:j,filters:y}=t;if(c&&f_(c,o,null),s)for(const L in s){const B=s[L];ye(B)&&(o[L]=B.bind(n))}if(r){const L=r.call(n,n);Fe(L)&&(e.data=We(L))}if(gu=!0,i)for(const L in i){const B=i[L],U=ye(B)?B.bind(n,n):ye(B.get)?B.get.bind(n,n):sn,V=!ye(B)&&ye(B.set)?B.set.bind(n):sn,W=H({get:U,set:V});Object.defineProperty(o,L,{enumerable:!0,configurable:!0,get:()=>W.value,set:q=>W.value=q})}if(a)for(const L in a)pv(a[L],o,n,L);if(l){const L=ye(l)?l.call(n):l;Reflect.ownKeys(L).forEach(B=>{st(B,L[B])})}u&&sd(u,e,"c");function x(L,B){be(B)?B.forEach(U=>L(U.bind(n))):B&&L(B.bind(n))}if(x(Vi,f),x(ot,d),x(o_,h),x(Vc,m),x(av,g),x(lv,p),x(cv,R),x(s_,k),x(i_,D),x(kt,E),x(Fi,w),x(r_,A),be(P))if(P.length){const L=e.exposed||(e.exposed={});P.forEach(B=>{Object.defineProperty(L,B,{get:()=>n[B],set:U=>n[B]=U})})}else e.exposed||(e.exposed={});I&&e.render===sn&&(e.render=I),z!=null&&(e.inheritAttrs=z),C&&(e.components=C),j&&(e.directives=j),A&&Hc(e)}function f_(e,t,n=sn){be(e)&&(e=mu(e));for(const o in e){const r=e[o];let i;Fe(r)?"default"in r?i=Ve(r.from||o,r.default,!0):i=Ve(r.from||o):i=Ve(r),Me(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[o]=i}}function sd(e,t,n){Xt(be(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function pv(e,t,n,o){let r=o.includes(".")?Mv(n,o):()=>n[o];if(je(e)){const i=t[e];ye(i)&&ue(r,i)}else if(ye(e))ue(r,e.bind(n));else if(Fe(e))if(be(e))e.forEach(i=>pv(i,t,n,o));else{const i=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(i)&&ue(r,i,e)}}function Wc(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>Xs(l,c,s,!0)),Xs(l,t,s)),Fe(t)&&i.set(t,l),l}function Xs(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Xs(e,i,n,!0),r&&r.forEach(s=>Xs(e,s,n,!0));for(const s in t)if(!(o&&s==="expose")){const a=d_[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const d_={data:ad,props:ld,emits:ld,methods:Gr,computed:Gr,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:Gr,directives:Gr,watch:g_,provide:ad,inject:h_};function ad(e,t){return t?e?function(){return Ye(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function h_(e,t){return Gr(mu(e),mu(t))}function mu(e){if(be(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function pt(e,t){return e?[...new Set([].concat(e,t))]:t}function Gr(e,t){return e?Ye(Object.create(null),e,t):t}function ld(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:Ye(Object.create(null),id(e),id(t??{})):t}function g_(e,t){if(!e)return t;if(!t)return e;const n=Ye(Object.create(null),e);for(const o in t)n[o]=pt(e[o],t[o]);return n}function yv(){return{app:null,config:{isNativeTag:i1,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let m_=0;function v_(e,t){return function(o,r=null){ye(o)||(o=Ye({},o)),r!=null&&!Fe(r)&&(r=null);const i=yv(),s=new WeakSet,a=[];let l=!1;const c=i.app={_uid:m_++,_component:o,_props:r,_container:null,_context:i,_instance:null,version:Uv,get config(){return i.config},set config(u){},use(u,...f){return s.has(u)||(u&&ye(u.install)?(s.add(u),u.install(c,...f)):ye(u)&&(s.add(u),u(c,...f))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,f){return f?(i.components[u]=f,c):i.components[u]},directive(u,f){return f?(i.directives[u]=f,c):i.directives[u]},mount(u,f,d){if(!l){const h=c._ceVNode||M(o,r);return h.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(h,u):e(h,u,d),l=!0,c._container=u,u.__vue_app__=c,Fa(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Xt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return i.provides[u]=f,c},runWithContext(u){const f=Eo;Eo=c;try{return u()}finally{Eo=f}}};return c}}let Eo=null;function st(e,t){if(Je){let n=Je.provides;const o=Je.parent&&Je.parent.provides;o===n&&(n=Je.provides=Object.create(o)),n[e]=t}}function Ve(e,t,n=!1){const o=Je||Qe;if(o||Eo){const r=Eo?Eo._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ye(t)?t.call(o&&o.proxy):t}}function jc(){return!!(Je||Qe||Eo)}const bv={},_v=()=>Object.create(bv),wv=e=>Object.getPrototypeOf(e)===bv;function p_(e,t,n,o=!1){const r={},i=_v();e.propsDefaults=Object.create(null),Sv(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:tr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function y_(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=$e(r),[l]=e.propsOptions;let c=!1;if((o||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Ha(e.emitsOptions,d))continue;const h=t[d];if(l)if(De(i,d))h!==i[d]&&(i[d]=h,c=!0);else{const m=Ct(d);r[m]=vu(l,a,m,h,e,!1)}else h!==i[d]&&(i[d]=h,c=!0)}}}else{Sv(e,t,r,i)&&(c=!0);let u;for(const f in a)(!t||!De(t,f)&&((u=Fo(f))===f||!De(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=vu(l,a,f,void 0,e,!0)):delete r[f]);if(i!==a)for(const f in i)(!t||!De(t,f))&&(delete i[f],c=!0)}c&&bn(e.attrs,"set","")}function Sv(e,t,n,o){const[r,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(ur(l))continue;const c=t[l];let u;r&&De(r,u=Ct(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:Ha(e.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,s=!0)}if(i){const l=$e(n),c=a||Le;for(let u=0;u<i.length;u++){const f=i[u];n[f]=vu(r,l,f,c[f],e,!De(c,f))}}return s}function vu(e,t,n,o,r,i){const s=e[n];if(s!=null){const a=De(s,"default");if(a&&o===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&ye(l)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const u=Ao(r);o=c[n]=l.call(null,t),u()}}else o=l;r.ce&&r.ce._setProp(n,o)}s[0]&&(i&&!a?o=!1:s[1]&&(o===""||o===Fo(n))&&(o=!0))}return o}const b_=new WeakMap;function xv(e,t,n=!1){const o=n?b_:t.propsCache,r=o.get(e);if(r)return r;const i=e.props,s={},a=[];let l=!1;if(!ye(e)){const u=f=>{l=!0;const[d,h]=xv(f,t,!0);Ye(s,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Fe(e)&&o.set(e,ar),ar;if(be(i))for(let u=0;u<i.length;u++){const f=Ct(i[u]);ud(f)&&(s[f]=Le)}else if(i)for(const u in i){const f=Ct(u);if(ud(f)){const d=i[u],h=s[f]=be(d)||ye(d)?{type:d}:Ye({},d),m=h.type;let g=!1,p=!0;if(be(m))for(let _=0;_<m.length;++_){const E=m[_],v=ye(E)&&E.name;if(v==="Boolean"){g=!0;break}else v==="String"&&(p=!1)}else g=ye(m)&&m.name==="Boolean";h[0]=g,h[1]=p,(g||De(h,"default"))&&a.push(f)}}const c=[s,a];return Fe(e)&&o.set(e,c),c}function ud(e){return e[0]!=="$"&&!ur(e)}const Cv=e=>e[0]==="_"||e==="$stable",Yc=e=>be(e)?e.map(At):[At(e)],__=(e,t,n)=>{if(t._n)return t;const o=Ue((...r)=>Yc(t(...r)),n);return o._c=!1,o},Ev=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Cv(r))continue;const i=e[r];if(ye(i))t[r]=__(r,i,o);else if(i!=null){const s=Yc(i);t[r]=()=>s}}},kv=(e,t)=>{const n=Yc(t);e.slots.default=()=>n},$v=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},w_=(e,t,n)=>{const o=e.slots=_v();if(e.vnode.shapeFlag&32){const r=t._;r?($v(o,t,n),n&&Tm(o,"_",r,!0)):Ev(t,o)}else t&&kv(e,t)},S_=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,s=Le;if(o.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:$v(r,t,n):(i=!t.$stable,Ev(t,r)),s=t}else t&&(kv(e,t),s={default:1});if(i)for(const a in r)!Cv(a)&&s[a]==null&&delete r[a]},Mt=Rv;function x_(e){return Tv(e)}function C_(e){return Tv(e,Q1)}function Tv(e,t){const n=Aa();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=sn,insertStaticContent:m}=e,g=(N,b,S,$=null,T=null,F=null,G=void 0,Y=null,K=!!b.dynamicChildren)=>{if(N===b)return;N&&!nn(N,b)&&($=le(N),q(N,T,F,!0),N=null),b.patchFlag===-2&&(K=!1,b.dynamicChildren=null);const{type:X,ref:oe,shapeFlag:ee}=b;switch(X){case Jn:p(N,b,S,$);break;case rt:_(N,b,S,$);break;case Cs:N==null&&E(b,S,$,G);break;case we:C(N,b,S,$,T,F,G,Y,K);break;default:ee&1?I(N,b,S,$,T,F,G,Y,K):ee&6?j(N,b,S,$,T,F,G,Y,K):(ee&64||ee&128)&&X.process(N,b,S,$,T,F,G,Y,K,_e)}oe!=null&&T&&gi(oe,N&&N.ref,F,b||N,!b)},p=(N,b,S,$)=>{if(N==null)o(b.el=a(b.children),S,$);else{const T=b.el=N.el;b.children!==N.children&&c(T,b.children)}},_=(N,b,S,$)=>{N==null?o(b.el=l(b.children||""),S,$):b.el=N.el},E=(N,b,S,$)=>{[N.el,N.anchor]=m(N.children,b,S,$,N.el,N.anchor)},v=({el:N,anchor:b},S,$)=>{let T;for(;N&&N!==b;)T=d(N),o(N,S,$),N=T;o(b,S,$)},w=({el:N,anchor:b})=>{let S;for(;N&&N!==b;)S=d(N),r(N),N=S;r(b)},I=(N,b,S,$,T,F,G,Y,K)=>{b.type==="svg"?G="svg":b.type==="math"&&(G="mathml"),N==null?k(b,S,$,T,F,G,Y,K):A(N,b,T,F,G,Y,K)},k=(N,b,S,$,T,F,G,Y)=>{let K,X;const{props:oe,shapeFlag:ee,transition:ne,dirs:me}=N;if(K=N.el=s(N.type,F,oe&&oe.is,oe),ee&8?u(K,N.children):ee&16&&R(N.children,K,null,$,T,$l(N,F),G,Y),me&&en(N,null,$,"created"),D(K,N,N.scopeId,G,$),oe){for(const Be in oe)Be!=="value"&&!ur(Be)&&i(K,Be,null,oe[Be],F,$);"value"in oe&&i(K,"value",null,oe.value,F),(X=oe.onVnodeBeforeMount)&&Vt(X,$,N)}me&&en(N,null,$,"beforeMount");const xe=Iv(T,ne);xe&&ne.beforeEnter(K),o(K,b,S),((X=oe&&oe.onVnodeMounted)||xe||me)&&Mt(()=>{X&&Vt(X,$,N),xe&&ne.enter(K),me&&en(N,null,$,"mounted")},T)},D=(N,b,S,$,T)=>{if(S&&h(N,S),$)for(let F=0;F<$.length;F++)h(N,$[F]);if(T){let F=T.subTree;if(b===F||Dv(F.type)&&(F.ssContent===b||F.ssFallback===b)){const G=T.vnode;D(N,G,G.scopeId,G.slotScopeIds,T.parent)}}},R=(N,b,S,$,T,F,G,Y,K=0)=>{for(let X=K;X<N.length;X++){const oe=N[X]=Y?jn(N[X]):At(N[X]);g(null,oe,b,S,$,T,F,G,Y)}},A=(N,b,S,$,T,F,G)=>{const Y=b.el=N.el;let{patchFlag:K,dynamicChildren:X,dirs:oe}=b;K|=N.patchFlag&16;const ee=N.props||Le,ne=b.props||Le;let me;if(S&&lo(S,!1),(me=ne.onVnodeBeforeUpdate)&&Vt(me,S,b,N),oe&&en(b,N,S,"beforeUpdate"),S&&lo(S,!0),(ee.innerHTML&&ne.innerHTML==null||ee.textContent&&ne.textContent==null)&&u(Y,""),X?P(N.dynamicChildren,X,Y,S,$,$l(b,T),F):G||B(N,b,Y,null,S,$,$l(b,T),F,!1),K>0){if(K&16)z(Y,ee,ne,S,T);else if(K&2&&ee.class!==ne.class&&i(Y,"class",null,ne.class,T),K&4&&i(Y,"style",ee.style,ne.style,T),K&8){const xe=b.dynamicProps;for(let Be=0;Be<xe.length;Be++){const Ae=xe[Be],It=ee[Ae],at=ne[Ae];(at!==It||Ae==="value")&&i(Y,Ae,It,at,T,S)}}K&1&&N.children!==b.children&&u(Y,b.children)}else!G&&X==null&&z(Y,ee,ne,S,T);((me=ne.onVnodeUpdated)||oe)&&Mt(()=>{me&&Vt(me,S,b,N),oe&&en(b,N,S,"updated")},$)},P=(N,b,S,$,T,F,G)=>{for(let Y=0;Y<b.length;Y++){const K=N[Y],X=b[Y],oe=K.el&&(K.type===we||!nn(K,X)||K.shapeFlag&70)?f(K.el):S;g(K,X,oe,null,$,T,F,G,!0)}},z=(N,b,S,$,T)=>{if(b!==S){if(b!==Le)for(const F in b)!ur(F)&&!(F in S)&&i(N,F,b[F],null,T,$);for(const F in S){if(ur(F))continue;const G=S[F],Y=b[F];G!==Y&&F!=="value"&&i(N,F,Y,G,T,$)}"value"in S&&i(N,"value",b.value,S.value,T)}},C=(N,b,S,$,T,F,G,Y,K)=>{const X=b.el=N?N.el:a(""),oe=b.anchor=N?N.anchor:a("");let{patchFlag:ee,dynamicChildren:ne,slotScopeIds:me}=b;me&&(Y=Y?Y.concat(me):me),N==null?(o(X,S,$),o(oe,S,$),R(b.children||[],S,oe,T,F,G,Y,K)):ee>0&&ee&64&&ne&&N.dynamicChildren?(P(N.dynamicChildren,ne,S,T,F,G,Y),(b.key!=null||T&&b===T.subTree)&&Pv(N,b,!0)):B(N,b,S,oe,T,F,G,Y,K)},j=(N,b,S,$,T,F,G,Y,K)=>{b.slotScopeIds=Y,N==null?b.shapeFlag&512?T.ctx.activate(b,S,$,G,K):y(b,S,$,T,F,G,K):O(N,b,K)},y=(N,b,S,$,T,F,G)=>{const Y=N.component=j_(N,$,T);if(Hi(N)&&(Y.ctx.renderer=_e),Y_(Y,!1,G),Y.asyncDep){if(T&&T.registerDep(Y,x,G),!N.el){const K=Y.subTree=M(rt);_(null,K,b,S)}}else x(Y,N,b,S,T,F,G)},O=(N,b,S)=>{const $=b.component=N.component;if(D_(N,b,S))if($.asyncDep&&!$.asyncResolved){L($,b,S);return}else $.next=b,$.update();else b.el=N.el,$.vnode=b},x=(N,b,S,$,T,F,G)=>{const Y=()=>{if(N.isMounted){let{next:ee,bu:ne,u:me,parent:xe,vnode:Be}=N;{const Pt=Nv(N);if(Pt){ee&&(ee.el=Be.el,L(N,ee,G)),Pt.asyncDep.then(()=>{N.isUnmounted||Y()});return}}let Ae=ee,It;lo(N,!1),ee?(ee.el=Be.el,L(N,ee,G)):ee=Be,ne&&bl(ne),(It=ee.props&&ee.props.onVnodeBeforeUpdate)&&Vt(It,xe,ee,Be),lo(N,!0);const at=Tl(N),Ut=N.subTree;N.subTree=at,g(Ut,at,f(Ut.el),le(Ut),N,T,F),ee.el=at.el,Ae===null&&Va(N,at.el),me&&Mt(me,T),(It=ee.props&&ee.props.onVnodeUpdated)&&Mt(()=>Vt(It,xe,ee,Be),T)}else{let ee;const{el:ne,props:me}=b,{bm:xe,m:Be,parent:Ae,root:It,type:at}=N,Ut=Co(b);if(lo(N,!1),xe&&bl(xe),!Ut&&(ee=me&&me.onVnodeBeforeMount)&&Vt(ee,Ae,b),lo(N,!0),ne&&fe){const Pt=()=>{N.subTree=Tl(N),fe(ne,N.subTree,N,T,null)};Ut&&at.__asyncHydrate?at.__asyncHydrate(ne,N,Pt):Pt()}else{It.ce&&It.ce._injectChildStyle(at);const Pt=N.subTree=Tl(N);g(null,Pt,S,$,N,T,F),b.el=Pt.el}if(Be&&Mt(Be,T),!Ut&&(ee=me&&me.onVnodeMounted)){const Pt=b;Mt(()=>Vt(ee,Ae,Pt),T)}(b.shapeFlag&256||Ae&&Co(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&N.a&&Mt(N.a,T),N.isMounted=!0,b=S=$=null}};N.scope.on();const K=N.effect=new Dm(Y);N.scope.off();const X=N.update=K.run.bind(K),oe=N.job=K.runIfDirty.bind(K);oe.i=N,oe.id=N.uid,K.scheduler=()=>Bc(oe),lo(N,!0),X()},L=(N,b,S)=>{b.component=N;const $=N.vnode.props;N.vnode=b,N.next=null,y_(N,b.props,$,S),S_(N,b.children,S),ro(),Qf(N),io()},B=(N,b,S,$,T,F,G,Y,K=!1)=>{const X=N&&N.children,oe=N?N.shapeFlag:0,ee=b.children,{patchFlag:ne,shapeFlag:me}=b;if(ne>0){if(ne&128){V(X,ee,S,$,T,F,G,Y,K);return}else if(ne&256){U(X,ee,S,$,T,F,G,Y,K);return}}me&8?(oe&16&&ge(X,T,F),ee!==X&&u(S,ee)):oe&16?me&16?V(X,ee,S,$,T,F,G,Y,K):ge(X,T,F,!0):(oe&8&&u(S,""),me&16&&R(ee,S,$,T,F,G,Y,K))},U=(N,b,S,$,T,F,G,Y,K)=>{N=N||ar,b=b||ar;const X=N.length,oe=b.length,ee=Math.min(X,oe);let ne;for(ne=0;ne<ee;ne++){const me=b[ne]=K?jn(b[ne]):At(b[ne]);g(N[ne],me,S,null,T,F,G,Y,K)}X>oe?ge(N,T,F,!0,!1,ee):R(b,S,$,T,F,G,Y,K,ee)},V=(N,b,S,$,T,F,G,Y,K)=>{let X=0;const oe=b.length;let ee=N.length-1,ne=oe-1;for(;X<=ee&&X<=ne;){const me=N[X],xe=b[X]=K?jn(b[X]):At(b[X]);if(nn(me,xe))g(me,xe,S,null,T,F,G,Y,K);else break;X++}for(;X<=ee&&X<=ne;){const me=N[ee],xe=b[ne]=K?jn(b[ne]):At(b[ne]);if(nn(me,xe))g(me,xe,S,null,T,F,G,Y,K);else break;ee--,ne--}if(X>ee){if(X<=ne){const me=ne+1,xe=me<oe?b[me].el:$;for(;X<=ne;)g(null,b[X]=K?jn(b[X]):At(b[X]),S,xe,T,F,G,Y,K),X++}}else if(X>ne)for(;X<=ee;)q(N[X],T,F,!0),X++;else{const me=X,xe=X,Be=new Map;for(X=xe;X<=ne;X++){const Nt=b[X]=K?jn(b[X]):At(b[X]);Nt.key!=null&&Be.set(Nt.key,X)}let Ae,It=0;const at=ne-xe+1;let Ut=!1,Pt=0;const Lr=new Array(at);for(X=0;X<at;X++)Lr[X]=0;for(X=me;X<=ee;X++){const Nt=N[X];if(It>=at){q(Nt,T,F,!0);continue}let Zt;if(Nt.key!=null)Zt=Be.get(Nt.key);else for(Ae=xe;Ae<=ne;Ae++)if(Lr[Ae-xe]===0&&nn(Nt,b[Ae])){Zt=Ae;break}Zt===void 0?q(Nt,T,F,!0):(Lr[Zt-xe]=X+1,Zt>=Pt?Pt=Zt:Ut=!0,g(Nt,b[Zt],S,null,T,F,G,Y,K),It++)}const Xf=Ut?E_(Lr):ar;for(Ae=Xf.length-1,X=at-1;X>=0;X--){const Nt=xe+X,Zt=b[Nt],Kf=Nt+1<oe?b[Nt+1].el:$;Lr[X]===0?g(null,Zt,S,Kf,T,F,G,Y,K):Ut&&(Ae<0||X!==Xf[Ae]?W(Zt,S,Kf,2):Ae--)}}},W=(N,b,S,$,T=null)=>{const{el:F,type:G,transition:Y,children:K,shapeFlag:X}=N;if(X&6){W(N.component.subTree,b,S,$);return}if(X&128){N.suspense.move(b,S,$);return}if(X&64){G.move(N,b,S,_e);return}if(G===we){o(F,b,S);for(let ee=0;ee<K.length;ee++)W(K[ee],b,S,$);o(N.anchor,b,S);return}if(G===Cs){v(N,b,S);return}if($!==2&&X&1&&Y)if($===0)Y.beforeEnter(F),o(F,b,S),Mt(()=>Y.enter(F),T);else{const{leave:ee,delayLeave:ne,afterLeave:me}=Y,xe=()=>o(F,b,S),Be=()=>{ee(F,()=>{xe(),me&&me()})};ne?ne(F,xe,Be):Be()}else o(F,b,S)},q=(N,b,S,$=!1,T=!1)=>{const{type:F,props:G,ref:Y,children:K,dynamicChildren:X,shapeFlag:oe,patchFlag:ee,dirs:ne,cacheIndex:me}=N;if(ee===-2&&(T=!1),Y!=null&&gi(Y,null,S,N,!0),me!=null&&(b.renderCache[me]=void 0),oe&256){b.ctx.deactivate(N);return}const xe=oe&1&&ne,Be=!Co(N);let Ae;if(Be&&(Ae=G&&G.onVnodeBeforeUnmount)&&Vt(Ae,b,N),oe&6)te(N.component,S,$);else{if(oe&128){N.suspense.unmount(S,$);return}xe&&en(N,null,b,"beforeUnmount"),oe&64?N.type.remove(N,b,S,_e,$):X&&!X.hasOnce&&(F!==we||ee>0&&ee&64)?ge(X,b,S,!1,!0):(F===we&&ee&384||!T&&oe&16)&&ge(K,b,S),$&&Q(N)}(Be&&(Ae=G&&G.onVnodeUnmounted)||xe)&&Mt(()=>{Ae&&Vt(Ae,b,N),xe&&en(N,null,b,"unmounted")},S)},Q=N=>{const{type:b,el:S,anchor:$,transition:T}=N;if(b===we){J(S,$);return}if(b===Cs){w(N);return}const F=()=>{r(S),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(N.shapeFlag&1&&T&&!T.persisted){const{leave:G,delayLeave:Y}=T,K=()=>G(S,F);Y?Y(N.el,F,K):K()}else F()},J=(N,b)=>{let S;for(;N!==b;)S=d(N),r(N),N=S;r(b)},te=(N,b,S)=>{const{bum:$,scope:T,job:F,subTree:G,um:Y,m:K,a:X}=N;cd(K),cd(X),$&&bl($),T.stop(),F&&(F.flags|=8,q(G,N,b,S)),Y&&Mt(Y,b),Mt(()=>{N.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&N.asyncDep&&!N.asyncResolved&&N.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ge=(N,b,S,$=!1,T=!1,F=0)=>{for(let G=F;G<N.length;G++)q(N[G],b,S,$,T)},le=N=>{if(N.shapeFlag&6)return le(N.component.subTree);if(N.shapeFlag&128)return N.suspense.next();const b=d(N.anchor||N.el),S=b&&b[X1];return S?d(S):b};let ce=!1;const ve=(N,b,S)=>{N==null?b._vnode&&q(b._vnode,null,null,!0):g(b._vnode||null,N,b,null,null,null,S),b._vnode=N,ce||(ce=!0,Qf(),Ys(),ce=!1)},_e={p:g,um:q,m:W,r:Q,mt:y,mc:R,pc:B,pbc:P,n:le,o:e};let ae,fe;return t&&([ae,fe]=t(_e)),{render:ve,hydrate:ae,createApp:v_(ve,ae)}}function $l({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 lo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Iv(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pv(e,t,n=!1){const o=e.children,r=t.children;if(be(o)&&be(r))for(let i=0;i<o.length;i++){const s=o[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=jn(r[i]),a.el=s.el),!n&&a.patchFlag!==-2&&Pv(s,a)),a.type===Jn&&(a.el=s.el)}}function E_(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<c?i=a+1:s=a;c<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Nv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nv(t)}function cd(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const k_=Symbol.for("v-scx"),$_=()=>Ve(k_);function so(e,t){return Gc(e,null,t)}function ue(e,t,n){return Gc(e,t,n)}function Gc(e,t,n=Le){const{immediate:o,deep:r,flush:i,once:s}=n,a=Ye({},n),l=t&&o||!t&&i!=="post";let c;if(pr){if(i==="sync"){const h=$_();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=sn,h.resume=sn,h.pause=sn,h}}const u=Je;a.call=(h,m,g)=>Xt(h,u,m,g);let f=!1;i==="post"?a.scheduler=h=>{Mt(h,u&&u.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(h,m)=>{m?h():Bc(h)}),a.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=j1(e,t,a);return pr&&(c?c.push(d):l&&d()),d}function T_(e,t,n){const o=this.proxy,r=je(e)?e.includes(".")?Mv(o,e):()=>o[e]:e.bind(o,o);let i;ye(t)?i=t:(i=t.handler,n=t);const s=Ao(this),a=Gc(r,i.bind(o),n);return s(),a}function Mv(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}const I_=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ct(t)}Modifiers`]||e[`${Fo(t)}Modifiers`];function P_(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Le;let r=n;const i=t.startsWith("update:"),s=i&&I_(o,t.slice(7));s&&(s.trim&&(r=n.map(u=>je(u)?u.trim():u)),s.number&&(r=n.map(c1)));let a,l=o[a=yl(t)]||o[a=yl(Ct(t))];!l&&i&&(l=o[a=yl(Fo(t))]),l&&Xt(l,e,6,r);const c=o[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xt(c,e,6,r)}}function Av(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let s={},a=!1;if(!ye(e)){const l=c=>{const u=Av(c,t,!0);u&&(a=!0,Ye(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(Fe(e)&&o.set(e,null),null):(be(i)?i.forEach(l=>s[l]=null):Ye(s,i),Fe(e)&&o.set(e,s),s)}function Ha(e,t){return!e||!Oi(t)?!1:(t=t.slice(2).replace(/Once$/,""),De(e,t[0].toLowerCase()+t.slice(1))||De(e,Fo(t))||De(e,t))}function Tl(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:m,inheritAttrs:g}=e,p=Gs(e);let _,E;try{if(n.shapeFlag&4){const w=r||o,I=w;_=At(c.call(I,w,u,f,h,d,m)),E=a}else{const w=t;_=At(w.length>1?w(f,{attrs:a,slots:s,emit:l}):w(f,null)),E=t.props?a:M_(a)}}catch(w){ni.length=0,Ir(w,e,1),_=M(rt)}let v=_;if(E&&g!==!1){const w=Object.keys(E),{shapeFlag:I}=v;w.length&&I&7&&(i&&w.some($c)&&(E=A_(E,i)),v=Nn(v,E,!1,!0))}return n.dirs&&(v=Nn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&No(v,n.transition),_=v,Gs(p),_}function N_(e,t=!0){let n;for(let o=0;o<e.length;o++){const r=e[o];if(vr(r)){if(r.type!==rt||r.children==="v-if"){if(n)return;n=r}}else return}return n}const M_=e=>{let t;for(const n in e)(n==="class"||n==="style"||Oi(n))&&((t||(t={}))[n]=e[n]);return t},A_=(e,t)=>{const n={};for(const o in e)(!$c(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function D_(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?fd(o,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==o[d]&&!Ha(c,d))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:o===s?!1:o?s?fd(o,s,c):!0:!!s;return!1}function fd(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Ha(n,i))return!0}return!1}function Va({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Dv=e=>e.__isSuspense;let pu=0;const O_={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,i,s,a,l,c){if(e==null)B_(t,n,o,r,i,s,a,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}L_(e,t,n,o,r,s,a,l,c)}},hydrate:H_,normalize:V_},R_=O_;function mi(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function B_(e,t,n,o,r,i,s,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Ov(e,r,o,t,f,n,i,s,a,l);c(null,d.pendingBranch=e.ssContent,f,null,o,d,i,s),d.deps>0?(mi(e,"onPending"),mi(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,i,s),fr(d,e.ssFallback)):d.resolve(!1,!0)}function L_(e,t,n,o,r,i,s,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:p,isHydrating:_}=f;if(g)f.pendingBranch=d,nn(d,g)?(l(g,d,f.hiddenContainer,null,r,f,i,s,a),f.deps<=0?f.resolve():p&&(_||(l(m,h,n,o,r,null,i,s,a),fr(f,h)))):(f.pendingId=pu++,_?(f.isHydrating=!1,f.activeBranch=g):c(g,r,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),p?(l(null,d,f.hiddenContainer,null,r,f,i,s,a),f.deps<=0?f.resolve():(l(m,h,n,o,r,null,i,s,a),fr(f,h))):m&&nn(d,m)?(l(m,d,n,o,r,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,r,f,i,s,a),f.deps<=0&&f.resolve()));else if(m&&nn(d,m))l(m,d,n,o,r,f,i,s,a),fr(f,d);else if(mi(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=pu++,l(null,d,f.hiddenContainer,null,r,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:v}=f;E>0?setTimeout(()=>{f.pendingId===v&&f.fallback(h)},E):E===0&&f.fallback(h)}}function Ov(e,t,n,o,r,i,s,a,l,c,u=!1){const{p:f,m:d,um:h,n:m,o:{parentNode:g,remove:p}}=c;let _;const E=F_(e);E&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);const v=e.props?Im(e.props.timeout):void 0,w=i,I={vnode:e,parent:t,parentComponent:n,namespace:s,container:o,hiddenContainer:r,deps:0,pendingId:pu++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,D=!1){const{vnode:R,activeBranch:A,pendingBranch:P,pendingId:z,effects:C,parentComponent:j,container:y}=I;let O=!1;I.isHydrating?I.isHydrating=!1:k||(O=A&&P.transition&&P.transition.mode==="out-in",O&&(A.transition.afterLeave=()=>{z===I.pendingId&&(d(P,y,i===w?m(A):i,0),du(C))}),A&&(g(A.el)===y&&(i=m(A)),h(A,j,I,!0)),O||d(P,y,i,0)),fr(I,P),I.pendingBranch=null,I.isInFallback=!1;let x=I.parent,L=!1;for(;x;){if(x.pendingBranch){x.effects.push(...C),L=!0;break}x=x.parent}!L&&!O&&du(C),I.effects=[],E&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!D&&t.resolve()),mi(R,"onResolve")},fallback(k){if(!I.pendingBranch)return;const{vnode:D,activeBranch:R,parentComponent:A,container:P,namespace:z}=I;mi(D,"onFallback");const C=m(R),j=()=>{I.isInFallback&&(f(null,k,P,C,A,null,z,a,l),fr(I,k))},y=k.transition&&k.transition.mode==="out-in";y&&(R.transition.afterLeave=j),I.isInFallback=!0,h(R,A,null,!0),y||j()},move(k,D,R){I.activeBranch&&d(I.activeBranch,k,D,R),I.container=k},next(){return I.activeBranch&&m(I.activeBranch)},registerDep(k,D,R){const A=!!I.pendingBranch;A&&I.deps++;const P=k.vnode.el;k.asyncDep.catch(z=>{Ir(z,k,0)}).then(z=>{if(k.isUnmounted||I.isUnmounted||I.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:C}=k;_u(k,z,!1),P&&(C.el=P);const j=!P&&k.subTree.el;D(k,C,g(P||k.subTree.el),P?null:m(k.subTree),I,s,R),j&&p(j),Va(k,C.el),A&&--I.deps===0&&I.resolve()})},unmount(k,D){I.isUnmounted=!0,I.activeBranch&&h(I.activeBranch,n,k,D),I.pendingBranch&&h(I.pendingBranch,n,k,D)}};return I}function H_(e,t,n,o,r,i,s,a,l){const c=t.suspense=Ov(t,o,n,e.parentNode,document.createElement("div"),null,r,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function V_(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=dd(o?n.default:n),e.ssFallback=o?dd(n.fallback):M(rt)}function dd(e){let t;if(ye(e)){const n=Mo&&e._c;n&&(e._d=!1,re()),e=e(),n&&(e._d=!0,t=ct,Bv())}return be(e)&&(e=N_(e)),e=At(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Rv(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):du(e)}function fr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,o&&o.subTree===n&&(o.vnode.el=r,Va(o,r))}function F_(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const we=Symbol.for("v-fgt"),Jn=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),ni=[];let ct=null;function re(e=!1){ni.push(ct=e?null:[])}function Bv(){ni.pop(),ct=ni[ni.length-1]||null}let Mo=1;function hd(e,t=!1){Mo+=e,e<0&&ct&&t&&(ct.hasOnce=!0)}function Lv(e){return e.dynamicChildren=Mo>0?ct||ar:null,Bv(),Mo>0&&ct&&ct.push(e),e}function Se(e,t,n,o,r,i){return Lv(it(e,t,n,o,r,i,!0))}function Pe(e,t,n,o,r){return Lv(M(e,t,n,o,r,!0))}function vr(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const Hv=({key:e})=>e??null,Es=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?je(e)||Me(e)||ye(e)?{i:Qe,r:e,k:t,f:!!n}:e:null);function it(e,t=null,n=null,o=0,r=null,i=e===we?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hv(t),ref:t&&Es(t),scopeId:ev,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Qe};return a?(Xc(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=je(n)?8:16),Mo>0&&!s&&ct&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ct.push(l),l}const M=z_;function z_(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===dv)&&(e=rt),vr(e)){const a=Nn(e,t,!0);return n&&Xc(a,n),Mo>0&&!i&&ct&&(a.shapeFlag&6?ct[ct.indexOf(e)]=a:ct.push(a)),a.patchFlag=-2,a}if(q_(e)&&(e=e.__vccOpts),t){t=Ks(t);let{class:a,style:l}=t;a&&!je(a)&&(t.class=Et(a)),Fe(l)&&(Rc(l)&&!be(l)&&(l=Ye({},l)),t.style=gt(l))}const s=je(e)?1:Dv(e)?128:tv(e)?64:Fe(e)?4:ye(e)?2:0;return it(e,t,n,o,r,s,i,!0)}function Ks(e){return e?Rc(e)||wv(e)?Ye({},e):e:null}function Nn(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?tt(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Hv(c),ref:t&&t.ref?n&&i?be(i)?i.concat(Es(t)):[i,Es(t)]:Es(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&No(u,l.clone(u)),u}function _o(e=" ",t=0){return M(Jn,null,e,t)}function Ke(e="",t=!1){return t?(re(),Pe(rt,null,e)):M(rt,null,e)}function At(e){return e==null||typeof e=="boolean"?M(rt):be(e)?M(we,null,e.slice()):vr(e)?jn(e):M(Jn,null,String(e))}function jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nn(e)}function Xc(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Xc(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!wv(t)?t._ctx=Qe:r===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ye(t)?(t={default:t,_ctx:Qe},n=32):(t=String(t),o&64?(n=16,t=[_o(t)]):n=8);e.children=t,e.shapeFlag|=n}function tt(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=Et([t.class,o.class]));else if(r==="style")t.style=gt([t.style,o.style]);else if(Oi(r)){const i=t[r],s=o[r];s&&i!==s&&!(be(i)&&i.includes(s))&&(t[r]=i?[].concat(i,s):s)}else r!==""&&(t[r]=o[r])}return t}function Vt(e,t,n,o=null){Xt(e,t,7,[n,o])}const U_=yv();let W_=0;function j_(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||U_,i={uid:W_++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Am(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xv(o,r),emitsOptions:Av(o,r),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:o.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=P_.bind(null,i),e.ce&&e.ce(i),i}let Je=null;const Bt=()=>Je||Qe;let qs,yu;{const e=Aa(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(s=>s(i)):r[0](i)}};qs=t("__VUE_INSTANCE_SETTERS__",n=>Je=n),yu=t("__VUE_SSR_SETTERS__",n=>pr=n)}const Ao=e=>{const t=Je;return qs(e),e.scope.on(),()=>{e.scope.off(),qs(t)}},bu=()=>{Je&&Je.scope.off(),qs(null)};function Vv(e){return e.vnode.shapeFlag&4}let pr=!1;function Y_(e,t=!1,n=!1){t&&yu(t);const{props:o,children:r}=e.vnode,i=Vv(e);p_(e,o,i,t),w_(e,r,n);const s=i?G_(e,t):void 0;return t&&yu(!1),s}function G_(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,l_);const{setup:o}=n;if(o){ro();const r=e.setupContext=o.length>1?zv(e):null,i=Ao(e),s=Li(o,e,0,[e.props,r]),a=Ic(s);if(io(),i(),(a||e.sp)&&!Co(e)&&Hc(e),a){if(s.then(bu,bu),t)return s.then(l=>{_u(e,l,t)}).catch(l=>{Ir(l,e,0)});e.asyncDep=s}else _u(e,s,t)}else Fv(e,t)}function _u(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Fe(t)&&(e.setupState=Km(t)),Fv(e,n)}let gd;function Fv(e,t,n){const o=e.type;if(!e.render){if(!t&&gd&&!o.render){const r=o.template||Wc(e).template;if(r){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=o,c=Ye(Ye({isCustomElement:i,delimiters:a},s),l);o.render=gd(r,c)}}e.render=o.render||sn}{const r=Ao(e);ro();try{c_(e)}finally{io(),r()}}}const X_={get(e,t){return lt(e,"get",""),e[t]}};function zv(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,X_),slots:e.slots,emit:e.emit,expose:t}}function Fa(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Km($n(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ti)return ti[n](e)},has(t,n){return n in t||n in ti}})):e.proxy}function K_(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function q_(e){return ye(e)&&"__vccOpts"in e}const H=(e,t)=>U1(e,t,pr);function Ce(e,t,n){const o=arguments.length;return o===2?Fe(t)&&!be(t)?vr(t)?M(e,null,[t]):M(e,t):M(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&vr(n)&&(n=[n]),M(e,t,n))}function Z_(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o<n.length;o++)if(En(n[o],t[o]))return!1;return Mo>0&&ct&&ct.push(e),!0}const Uv="3.5.13";/**
16
+ * @vue/runtime-dom v3.5.13
17
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
+ * @license MIT
19
+ **/let wu;const md=typeof window<"u"&&window.trustedTypes;if(md)try{wu=md.createPolicy("vue",{createHTML:e=>e})}catch{}const Wv=wu?e=>wu.createHTML(e):e=>e,J_="http://www.w3.org/2000/svg",Q_="http://www.w3.org/1998/Math/MathML",yn=typeof document<"u"?document:null,vd=yn&&yn.createElement("template"),ew={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?yn.createElementNS(J_,e):t==="mathml"?yn.createElementNS(Q_,e):n?yn.createElement(e,{is:n}):yn.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>yn.createTextNode(e),createComment:e=>yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{vd.innerHTML=Wv(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const a=vd.content;if(o==="svg"||o==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Bn="transition",Vr="animation",yr=Symbol("_vtc"),jv={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yv=Ye({},ov,jv),tw=e=>(e.displayName="Transition",e.props=Yv,e),zi=tw((e,{slots:t})=>Ce(q1,Gv(e),t)),uo=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},pd=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function Gv(e){const t={};for(const C in e)C in jv||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=nw(r),g=m&&m[0],p=m&&m[1],{onBeforeEnter:_,onEnter:E,onEnterCancelled:v,onLeave:w,onLeaveCancelled:I,onBeforeAppear:k=_,onAppear:D=E,onAppearCancelled:R=v}=t,A=(C,j,y,O)=>{C._enterCancelled=O,Hn(C,j?u:a),Hn(C,j?c:s),y&&y()},P=(C,j)=>{C._isLeaving=!1,Hn(C,f),Hn(C,h),Hn(C,d),j&&j()},z=C=>(j,y)=>{const O=C?D:E,x=()=>A(j,C,y);uo(O,[j,x]),yd(()=>{Hn(j,C?l:i),Jt(j,C?u:a),pd(O)||bd(j,o,g,x)})};return Ye(t,{onBeforeEnter(C){uo(_,[C]),Jt(C,i),Jt(C,s)},onBeforeAppear(C){uo(k,[C]),Jt(C,l),Jt(C,c)},onEnter:z(!1),onAppear:z(!0),onLeave(C,j){C._isLeaving=!0;const y=()=>P(C,j);Jt(C,f),C._enterCancelled?(Jt(C,d),Su()):(Su(),Jt(C,d)),yd(()=>{C._isLeaving&&(Hn(C,f),Jt(C,h),pd(w)||bd(C,o,p,y))}),uo(w,[C,y])},onEnterCancelled(C){A(C,!1,void 0,!0),uo(v,[C])},onAppearCancelled(C){A(C,!0,void 0,!0),uo(R,[C])},onLeaveCancelled(C){P(C),uo(I,[C])}})}function nw(e){if(e==null)return null;if(Fe(e))return[Il(e.enter),Il(e.leave)];{const t=Il(e);return[t,t]}}function Il(e){return Im(e)}function Jt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[yr]||(e[yr]=new Set)).add(t)}function Hn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[yr];n&&(n.delete(t),n.size||(e[yr]=void 0))}function yd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ow=0;function bd(e,t,n,o){const r=e._endId=++ow,i=()=>{r===e._endId&&o()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=Xv(e,t);if(!s)return o();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Xv(e,t){const n=window.getComputedStyle(e),o=m=>(n[m]||"").split(", "),r=o(`${Bn}Delay`),i=o(`${Bn}Duration`),s=_d(r,i),a=o(`${Vr}Delay`),l=o(`${Vr}Duration`),c=_d(a,l);let u=null,f=0,d=0;t===Bn?s>0&&(u=Bn,f=s,d=i.length):t===Vr?c>0&&(u=Vr,f=c,d=l.length):(f=Math.max(s,c),u=f>0?s>c?Bn:Vr:null,d=u?u===Bn?i.length:l.length:0);const h=u===Bn&&/\b(transform|all)(,|$)/.test(o(`${Bn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function _d(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>wd(n)+wd(e[o])))}function wd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Su(){return document.body.offsetHeight}function rw(e,t,n){const o=e[yr];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zs=Symbol("_vod"),Kv=Symbol("_vsh"),za={beforeMount(e,{value:t},{transition:n}){e[Zs]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Fr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Fr(e,!0),o.enter(e)):o.leave(e,()=>{Fr(e,!1)}):Fr(e,t))},beforeUnmount(e,{value:t}){Fr(e,t)}};function Fr(e,t){e.style.display=t?e[Zs]:"none",e[Kv]=!t}const iw=Symbol(""),sw=/(^|;)\s*display\s*:/;function aw(e,t,n){const o=e.style,r=je(n);let i=!1;if(n&&!r){if(t)if(je(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&ks(o,a,"")}else for(const s in t)n[s]==null&&ks(o,s,"");for(const s in n)s==="display"&&(i=!0),ks(o,s,n[s])}else if(r){if(t!==n){const s=o[iw];s&&(n+=";"+s),o.cssText=n,i=sw.test(n)}}else t&&e.removeAttribute("style");Zs in e&&(e[Zs]=i?o.display:"",e[Kv]&&(o.display="none"))}const Sd=/\s*!important$/;function ks(e,t,n){if(be(n))n.forEach(o=>ks(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=lw(e,t);Sd.test(n)?e.setProperty(Fo(o),n.replace(Sd,""),"important"):e[o]=n}}const xd=["Webkit","Moz","ms"],Pl={};function lw(e,t){const n=Pl[t];if(n)return n;let o=Ct(t);if(o!=="filter"&&o in e)return Pl[t]=o;o=kr(o);for(let r=0;r<xd.length;r++){const i=xd[r]+o;if(i in e)return Pl[t]=i}return t}const Cd="http://www.w3.org/1999/xlink";function Ed(e,t,n,o,r,i=v1(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Cd,t.slice(6,t.length)):e.setAttributeNS(Cd,t,n):n==null||i&&!Pm(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Dn(n)?String(n):n)}function kd(e,t,n,o,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wv(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Pm(n):n==null&&a==="string"?(n="",s=!0):a==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(r||t)}function uw(e,t,n,o){e.addEventListener(t,n,o)}function cw(e,t,n,o){e.removeEventListener(t,n,o)}const $d=Symbol("_vei");function fw(e,t,n,o,r=null){const i=e[$d]||(e[$d]={}),s=i[t];if(o&&s)s.value=o;else{const[a,l]=dw(t);if(o){const c=i[t]=mw(o,r);uw(e,a,c,l)}else s&&(cw(e,a,s,l),i[t]=void 0)}}const Td=/(?:Once|Passive|Capture)$/;function dw(e){let t;if(Td.test(e)){t={};let o;for(;o=e.match(Td);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Fo(e.slice(2)),t]}let Nl=0;const hw=Promise.resolve(),gw=()=>Nl||(hw.then(()=>Nl=0),Nl=Date.now());function mw(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Xt(vw(o,n.value),t,5,[o])};return n.value=e,n.attached=gw(),n}function vw(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const Id=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pw=(e,t,n,o,r,i)=>{const s=r==="svg";t==="class"?rw(e,o,s):t==="style"?aw(e,n,o):Oi(t)?$c(t)||fw(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yw(e,t,o,s))?(kd(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ed(e,t,o,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!je(o))?kd(e,Ct(t),o,i,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ed(e,t,o,s))};function yw(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Id(t)&&ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Id(t)&&je(n)?!1:t in e}const qv=new WeakMap,Zv=new WeakMap,Js=Symbol("_moveCb"),Pd=Symbol("_enterCb"),bw=e=>(delete e.props.mode,e),_w=bw({name:"TransitionGroup",props:Ye({},Yv,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Bt(),o=nv();let r,i;return Vc(()=>{if(!r.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Cw(r[0].el,n.vnode.el,s))return;r.forEach(ww),r.forEach(Sw);const a=r.filter(xw);Su(),a.forEach(l=>{const c=l.el,u=c.style;Jt(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Js]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Js]=null,Hn(c,s))};c.addEventListener("transitionend",f)})}),()=>{const s=$e(e),a=Gv(s);let l=s.tag||we;if(r=[],i)for(let c=0;c<i.length;c++){const u=i[c];u.el&&u.el instanceof Element&&(r.push(u),No(u,hi(u,a,o,n)),qv.set(u,u.el.getBoundingClientRect()))}i=t.default?Lc(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&No(u,hi(u,a,o,n))}return M(l,null,i)}}}),Kc=_w;function ww(e){const t=e.el;t[Js]&&t[Js](),t[Pd]&&t[Pd]()}function Sw(e){Zv.set(e,e.el.getBoundingClientRect())}function xw(e){const t=qv.get(e),n=Zv.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function Cw(e,t,n){const o=e.cloneNode(),r=e[yr];r&&r.forEach(a=>{a.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&o.classList.add(a)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:s}=Xv(o);return i.removeChild(o),s}const Jv=Ye({patchProp:pw},ew);let oi,Nd=!1;function Ew(){return oi||(oi=x_(Jv))}function kw(){return oi=Nd?oi:C_(Jv),Nd=!0,oi}const $w=(...e)=>{const t=Ew().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=ep(o);if(!r)return;const i=t._component;!ye(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=n(r,!1,Qv(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t},Tw=(...e)=>{const t=kw().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=ep(o);if(r)return n(r,!0,Qv(r))},t};function Qv(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ep(e){return je(e)?document.querySelector(e):e}const Iw=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Pw=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Nw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Mw(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Aw(e);return}return t}function Aw(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Qs(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!Nw.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Iw.test(e)||Pw.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Mw)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const Dw=/#/g,Ow=/&/g,Rw=/\//g,Bw=/=/g,qc=/\+/g,Lw=/%5e/gi,Hw=/%60/gi,Vw=/%7c/gi,Fw=/%20/gi;function zw(e){return encodeURI(""+e).replace(Vw,"|")}function xu(e){return zw(typeof e=="string"?e:JSON.stringify(e)).replace(qc,"%2B").replace(Fw,"+").replace(Dw,"%23").replace(Ow,"%26").replace(Hw,"`").replace(Lw,"^").replace(Rw,"%2F")}function Ml(e){return xu(e).replace(Bw,"%3D")}function ea(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Uw(e){return ea(e.replace(qc," "))}function Ww(e){return ea(e.replace(qc," "))}function tp(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const r=Uw(o[1]);if(r==="__proto__"||r==="constructor")continue;const i=Ww(o[2]||"");t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function jw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ml(e)}=${xu(n)}`).join("&"):`${Ml(e)}=${xu(t)}`:Ml(e)}function np(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>jw(t,e[t])).filter(Boolean).join("&")}const Yw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Gw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Xw=/^([/\\]\s*){2,}[^/\\]/,Kw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,qw=/\/$|\/\?|\/#/,Zw=/^\.?\//;function Pr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Yw.test(e):Gw.test(e)||(t.acceptRelative?Xw.test(e):!1)}function Jw(e){return!!e&&Kw.test(e)}function Cu(e="",t){return t?qw.test(e):e.endsWith("/")}function Zc(e="",t){if(!t)return(Cu(e)?e.slice(0,-1):e)||"/";if(!Cu(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),o=e.slice(r));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+o}function Eu(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Cu(e,!0))return e||"/";let n=e,o="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),o=e.slice(r),!n))return o;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+o}function Qw(e=""){return e.startsWith("/")}function Md(e=""){return Qw(e)?e:"/"+e}function eS(e,t){if(rp(t)||Pr(e))return e;const n=Zc(t);return e.startsWith(n)?e:Ua(n,e)}function tS(e,t){if(rp(t))return e;const n=Zc(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function op(e,t){const n=rS(e),o={...tp(n.search),...t};return n.search=np(o),ap(n)}function rp(e){return!e||e==="/"}function nS(e){return e&&e!=="/"}function Ua(e,...t){let n=e||"";for(const o of t.filter(r=>nS(r)))if(n){const r=o.replace(Zw,"");n=Eu(n)+r}else n=o;return n}function ip(...e){var s,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let r=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(o.length===1&&Pr(o[0]))continue;o.pop(),r--;continue}if(f===1&&((s=o[o.length-1])!=null&&s.endsWith(":/"))){o[o.length-1]+="/"+d;continue}o.push(d),r++}}let i=o.join("/");return r>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*r)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function oS(e,t,n={}){return n.trailingSlash||(e=Eu(e),t=Eu(t)),n.leadingSlash||(e=Md(e),t=Md(t)),n.encoding||(e=ea(e),t=ea(t)),e===t}const sp=Symbol.for("ufo:protocolRelative");function rS(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Pr(e,{acceptRelative:!0}))return Ad(e);const[,o="",r,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=Ad(a);return{protocol:o.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:s,pathname:l,search:c,hash:u,[sp]:!o}}function Ad(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function ap(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",r=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[sp]?(e.protocol||"")+"//":"")+r+i+t+n+o}class iS extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function sS(e){var l,c,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",o=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(o)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${r}: ${i}${t?` ${t}`:""}`,a=new iS(s,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(a,h,{get(){return e[h]}});for(const[h,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,h,{get(){return e.response&&e.response[m]}});return a}const aS=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Dd(e="GET"){return aS.has(e.toUpperCase())}function lS(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const uS=new Set(["image/svg","application/xml","application/xhtml","application/html"]),cS=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function fS(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return cS.test(t)?"json":uS.has(t)||t.startsWith("text/")?"text":"blob"}function dS(e,t,n,o){const r=hS((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,o);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:i,params:i,headers:r}}function hS(e,t,n){if(!t)return new n(e);const o=new n(t);if(e)for(const[r,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))o.set(r,i);return o}async function os(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const gS=new Set([408,409,425,429,500,502,503,504]),mS=new Set([101,204,205,304]);function lp(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function r(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=Dd(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):gS.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(a.request,{...a.options,retry:u-1})}}const c=sS(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){const u={request:l,options:dS(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await os(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=eS(u.request,u.options.baseURL)),u.options.query&&(u.request=op(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&Dd(u.options.method)&&(lS(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const h=new o;f=setTimeout(()=>{const m=new Error("[TimeoutError]: The operation was aborted due to timeout");m.name="TimeoutError",m.code=23,h.abort(m)},u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await os(u,u.options.onRequestError),await r(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!mS.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||fS(u.response.headers.get("content-type")||"");switch(h){case"json":{const m=await u.response.text(),g=u.options.parseResponse||Qs;u.response._data=g(m);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await os(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await os(u,u.options.onResponseError),await r(u)):u.response},s=async function(l,c){return(await i(l,c))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>lp({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const ta=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),vS=ta.fetch?(...e)=>ta.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),pS=ta.Headers,yS=ta.AbortController,bS=lp({fetch:vS,Headers:pS,AbortController:yS}),_S=bS,wS=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},na=wS().app,SS=()=>na.baseURL,xS=()=>na.buildAssetsDir,Jc=(...e)=>ip(up(),xS(),...e),up=(...e)=>{const t=na.cdnURL||na.baseURL;return e.length?ip(t,...e):t};globalThis.__buildAssetsURL=Jc,globalThis.__publicAssetsURL=up;globalThis.$fetch||(globalThis.$fetch=_S.create({baseURL:SS()}));function ku(e,t={},n){for(const o in e){const r=e[o],i=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?ku(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const CS={run:e=>e()},ES=()=>CS,cp=typeof console.createTask<"u"?console.createTask:ES;function kS(e,t){const n=t.shift(),o=cp(n);return e.reduce((r,i)=>r.then(()=>o.run(()=>i(...t))),Promise.resolve())}function $S(e,t){const n=t.shift(),o=cp(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Al(e,t){for(const n of[...e])n(t)}class TS{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(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!o.allowDeprecated){let s=i.message;s||(s=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...i)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...i));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ku(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=ku(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(kS,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith($S,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Al(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],o);return i instanceof Promise?i.finally(()=>{this._after&&r&&Al(this._after,r)}):(this._after&&r&&Al(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function fp(){return new TS}function IS(e={}){let t,n=!1;const o=s=>{if(t&&t!==s)throw new Error("Context conflict")};let r;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?r=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(r&&t===void 0){const s=r.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||o(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{o(s),t=s;try{return r?r.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},c=()=>t===s?l:void 0;$u.add(c);try{const u=r?r.run(s,a):a();return n||(t=void 0),await u}finally{$u.delete(c)}}}}function PS(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=IS({...e,...o})),t[n],t[n]}}}const oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Od="__unctx__",NS=oa[Od]||(oa[Od]=PS()),MS=(e,t={})=>NS.get(e,t),Rd="__unctx_async_handlers__",$u=oa[Rd]||(oa[Rd]=new Set);function ri(e){const t=[];for(const r of $u){const i=r();i&&t.push(i)}const n=()=>{for(const r of t)r()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(r=>{throw n(),r})),[o,n]}const PB={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},or={value:null,errorValue:null,deep:!0},AS=null,DS="#__nuxt",dp="nuxt-app",Bd=36e5,OS="vite:preloadError";function hp(e=dp){return MS(e,{asyncContext:!1})}const RS="__nuxt_plugin";function BS(e){var r;let t=0;const n={_id:e.id||dp||"nuxt-app",_scope:$r(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.14.1592"},get vue(){return n.vueApp.version}},payload:tr({...((r=e.ssrContext)==null?void 0:r.payload)||{},data:tr({}),state:We({}),once:new Set,_errors:tr({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Tr()?n._scope.run(()=>Ld(n,i)):Ld(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:tr({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=fp(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const a="$"+i;rs(n,a,s),rs(n.vueApp.config.globalProperties,a,s)},rs(n.vueApp,"$nuxt",n),rs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(OS,s=>{n.callHook("app:chunkError",{error:s.payload}),(n.isHydrating||s.payload.message.includes("Unable to preload CSS"))&&s.preventDefault()}),window.useNuxtApp=window.useNuxtApp||Ge;const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const o=n.payload.config;return n.provide("config",o),n}function LS(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function HS(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function VS(e,t){const n=[],o=[],r=[],i=[];let s=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)o.push([new Set(c),l]);else{const f=HS(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(o.map(async([d,h])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(s++,await a(h)))})))});l.parallel?r.push(f.catch(d=>i.push(d))):await f}}for(const l of t)LS(e,l);for(const l of t)await a(l);if(await Promise.all(r),s)for(let l=0;l<s;l++)await Promise.all(r);if(i.length)throw i[0]}function $t(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[RS]:!0,_name:t})}const FS=$t;function Ld(e,t,n){const o=()=>t();return hp(e._id).set(e),e.vueApp.runWithContext(o)}function zS(e){var n;let t;return jc()&&(t=(n=Bt())==null?void 0:n.appContext.app.$nuxt),t=t||hp(e).tryUse(),t||null}function Ge(e){const t=zS(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function vi(e){return Ge().$config}function rs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Hd=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function US(e,t){t?t={...Hd,...t}:t=Hd;const n=gp(t);return n.dispatch(e),n.toString()}const WS=Object.freeze(["prototype","__proto__","constructor"]);function gp(e){let t="",n=new Map;const o=r=>{t+=r};return{toString(){return t},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this[r===null?"null":typeof r](r)},object(r){if(r&&typeof r.toJSON=="function")return this.object(r.toJSON());const i=Object.prototype.toString.call(r);let s="";const a=i.length;a<10?s="unknown:["+i+"]":s=i.slice(8,a-1),s=s.toLowerCase();let l=null;if((l=n.get(r))===void 0)n.set(r,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return o("buffer:"),o(r.toString("utf8"));if(s!=="object"&&s!=="function"&&s!=="asyncfunction")this[s]?this[s](r):e.ignoreUnknown||this.unkown(r,s);else{let c=Object.keys(r);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Vd(r)&&(u=WS),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),o("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),o(":"),e.excludeValues||this.dispatch(r[d]),o(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(r,i){if(i=i===void 0?e.unorderedArrays!==!1:i,o("array:"+r.length+":"),!i||r.length<=1){for(const l of r)this.dispatch(l);return}const s=new Map,a=r.map(l=>{const c=gp(e);c.dispatch(l);for(const[u,f]of c.getContext())s.set(u,f);return c.toString()});return n=s,a.sort(),this.array(a,!1)},date(r){return o("date:"+r.toJSON())},symbol(r){return o("symbol:"+r.toString())},unkown(r,i){if(o(i),!!r&&(o(":"),r&&typeof r.entries=="function"))return this.array(Array.from(r.entries()),!0)},error(r){return o("error:"+r.toString())},boolean(r){return o("bool:"+r)},string(r){o("string:"+r.length+":"),o(r)},function(r){o("fn:"),Vd(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this.object(r)},number(r){return o("number:"+r)},xml(r){return o("xml:"+r.toString())},null(){return o("Null")},undefined(){return o("Undefined")},regexp(r){return o("regex:"+r.toString())},uint8array(r){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},uint8clampedarray(r){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},int8array(r){return o("int8array:"),this.dispatch(Array.prototype.slice.call(r))},uint16array(r){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},int16array(r){return o("int16array:"),this.dispatch(Array.prototype.slice.call(r))},uint32array(r){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},int32array(r){return o("int32array:"),this.dispatch(Array.prototype.slice.call(r))},float32array(r){return o("float32array:"),this.dispatch(Array.prototype.slice.call(r))},float64array(r){return o("float64array:"),this.dispatch(Array.prototype.slice.call(r))},arraybuffer(r){return o("arraybuffer:"),this.dispatch(new Uint8Array(r))},url(r){return o("url:"+r.toString())},map(r){o("map:");const i=[...r];return this.array(i,e.unorderedSets!==!1)},set(r){o("set:");const i=[...r];return this.array(i,e.unorderedSets!==!1)},file(r){return o("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},blob(){if(e.ignoreUnknown)return o("[blob]");throw new Error(`Hashing Blob objects is currently not supported
20
+ Use "options.replacer" or "options.ignoreUnknown"
21
+ `)},domwindow(){return o("domwindow")},bigint(r){return o("bigint:"+r.toString())},process(){return o("process")},timer(){return o("timer")},pipe(){return o("pipe")},tcp(){return o("tcp")},udp(){return o("udp")},tty(){return o("tty")},statwatcher(){return o("statwatcher")},securecontext(){return o("securecontext")},connection(){return o("connection")},zlib(){return o("zlib")},context(){return o("context")},nodescript(){return o("nodescript")},httpparser(){return o("httpparser")},dataview(){return o("dataview")},signal(){return o("signal")},fsevent(){return o("fsevent")},tlswrap(){return o("tlswrap")}}}const mp="[native code] }",jS=mp.length;function Vd(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-jS)===mp}var YS=Object.defineProperty,GS=(e,t,n)=>t in e?YS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rr=(e,t,n)=>(GS(e,typeof t!="symbol"?t+"":t,n),n);class Qn{constructor(t,n){rr(this,"words"),rr(this,"sigBytes"),t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||XS).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const o=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=o<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Qn([...this.words])}}const XS={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const o=e.words[n>>>2]>>>24-n%4*8&255;t.push((o>>>4).toString(16),(o&15).toString(16))}return t.join("")}},KS={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let o=0;o<e.sigBytes;o+=3){const r=e.words[o>>>2]>>>24-o%4*8&255,i=e.words[o+1>>>2]>>>24-(o+1)%4*8&255,s=e.words[o+2>>>2]>>>24-(o+2)%4*8&255,a=r<<16|i<<8|s;for(let l=0;l<4&&o*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},qS={parse(e){const t=e.length,n=[];for(let o=0;o<t;o++)n[o>>>2]|=(e.charCodeAt(o)&255)<<24-o%4*8;return new Qn(n,t)}},ZS={parse(e){return qS.parse(unescape(encodeURIComponent(e)))}};class JS{constructor(){rr(this,"_data",new Qn),rr(this,"_nDataBytes",0),rr(this,"_minBufferSize",0),rr(this,"blockSize",512/32)}reset(){this._data=new Qn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=ZS.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,o=this._data.sigBytes/(this.blockSize*4);t?o=Math.ceil(o):o=Math.max((o|0)-this._minBufferSize,0);const r=o*this.blockSize,i=Math.min(r*4,this._data.sigBytes);if(r){for(let s=0;s<r;s+=this.blockSize)this._doProcessBlock(this._data.words,s);n=this._data.words.splice(0,r),this._data.sigBytes-=i}return new Qn(n,i)}}class QS extends JS{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}var ex=Object.defineProperty,tx=(e,t,n)=>t in e?ex(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nx=(e,t,n)=>(tx(e,t+"",n),n);const Fd=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],ox=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],co=[];class rx extends QS{constructor(){super(...arguments),nx(this,"_hash",new Qn([...Fd]))}reset(){super.reset(),this._hash=new Qn([...Fd])}_doProcessBlock(t,n){const o=this._hash.words;let r=o[0],i=o[1],s=o[2],a=o[3],l=o[4],c=o[5],u=o[6],f=o[7];for(let d=0;d<64;d++){if(d<16)co[d]=t[n+d]|0;else{const v=co[d-15],w=(v<<25|v>>>7)^(v<<14|v>>>18)^v>>>3,I=co[d-2],k=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;co[d]=w+co[d-7]+k+co[d-16]}const h=l&c^~l&u,m=r&i^r&s^i&s,g=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),p=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=f+p+h+ox[d]+co[d],E=g+m;f=u,u=c,c=l,l=a+_|0,a=s,s=i,i=r,r=_+E|0}o[0]=o[0]+r|0,o[1]=o[1]+i|0,o[2]=o[2]+s|0,o[3]=o[3]+a|0,o[4]=o[4]+l|0,o[5]=o[5]+c|0,o[6]=o[6]+u|0,o[7]=o[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,o=this._data.sigBytes*8;return this._data.words[o>>>5]|=128<<24-o%32,this._data.words[(o+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(o+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function ix(e){return new rx().finalize(e).toString(KS)}function sx(e,t={}){const n=typeof e=="string"?e:US(e,t);return ix(n).slice(0,10)}function ax(e,t){return{ctx:{table:e},matchAll:n=>pp(n,e)}}function vp(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,r])=>[o,vp(r)])):new Map(Object.entries(e[n]));return t}function lx(e){return ax(vp(e))}function pp(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[i,s]of zd(t.wildcard))(e===i||e.startsWith(i+"/"))&&o.push(s);for(const[i,s]of zd(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");o.push(...pp(a,s))}const r=t.static.get(e);return r&&o.push(r),o.filter(Boolean)}function zd(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Dl(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Tu(e,t,n=".",o){if(!Dl(t))return Tu(e,{},n,o);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(o&&o(r,i,s,n)||(Array.isArray(s)&&Array.isArray(r[i])?r[i]=[...s,...r[i]]:Dl(s)&&Dl(r[i])?r[i]=Tu(s,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=s))}return r}function ux(e){return(...t)=>t.reduce((n,o)=>Tu(n,o,"",e),{})}const cx=ux();function fx(e,t){try{return t in e}catch{return!1}}var dx=Object.defineProperty,hx=(e,t,n)=>t in e?dx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vo=(e,t,n)=>(hx(e,typeof t!="symbol"?t+"":t,n),n);class Iu extends Error{constructor(t,n={}){super(t,n),vo(this,"statusCode",500),vo(this,"fatal",!1),vo(this,"unhandled",!1),vo(this,"statusMessage"),vo(this,"data"),vo(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Pu(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=yp(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}vo(Iu,"__h3_error__",!0);function gx(e){if(typeof e=="string")return new Iu(e);if(mx(e))return e;const t=new Iu(e.message??e.statusMessage??"",{cause:e.cause||e});if(fx(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Pu(e.statusCode,t.statusCode):e.status&&(t.statusCode=Pu(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;yp(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function mx(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const vx=/[^\u0009\u0020-\u007E]/g;function yp(e=""){return e.replace(vx,"")}function Pu(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const bp=Symbol("route"),Do=()=>{var e;return(e=Ge())==null?void 0:e.$router},_p=()=>jc()?Ve(bp,Ge()._route):Ge()._route;const px=()=>{try{if(Ge()._processingMiddleware)return!0}catch{return!1}return!1},yx=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?bx(e):Do().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const o=Pr(n,{acceptRelative:!0}),r=(t==null?void 0:t.external)||o;if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Jw(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=px();if(!r&&i)return e;const s=Do(),a=Ge();return r?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function bx(e){return op(e.path||"",e.query||{})+(e.hash||"")}const wp="__nuxt_error",Qc=()=>pe(Ge().payload,"error"),_x=e=>{const t=Wa(e);try{const n=Ge(),o=Qc();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},wx=async(e={})=>{const t=Ge(),n=Qc();t.callHook("app:error:cleared",e),e.redirect&&await Do().replace(e.redirect),n.value=AS},Sx=e=>!!e&&typeof e=="object"&&wp in e,Wa=e=>{const t=gx(e);return Object.defineProperty(t,wp,{value:!0,configurable:!1,writable:!1}),t},xx=!1;/*!
22
+ * pinia v2.2.8
23
+ * (c) 2024 Eduardo San Martin Morote
24
+ * @license MIT
25
+ */let Sp;const Ui=e=>Sp=e,xp=Symbol();function Nu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ii;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ii||(ii={}));function Cx(){const e=$r(!0),t=e.run(()=>se({}));let n=[],o=[];const r=$n({install(i){Ui(r),r._a=i,i.provide(xp,r),i.config.globalProperties.$pinia=r,o.forEach(s=>n.push(s)),o=[]},use(i){return!this._a&&!xx?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Cp=()=>{};function Ud(e,t,n,o=Cp){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Tr()&&an(r),r}function Xo(e,...t){e.slice().forEach(n=>{n(...t)})}const Ex=e=>e(),Wd=Symbol(),Ol=Symbol();function Mu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,o)=>e.set(o,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Nu(r)&&Nu(o)&&e.hasOwnProperty(n)&&!Me(o)&&!kn(o)?e[n]=Mu(r,o):e[n]=o}return e}const kx=Symbol();function $x(e){return!Nu(e)||!e.hasOwnProperty(kx)}const{assign:Vn}=Object;function Tx(e){return!!(Me(e)&&e.effect)}function Ix(e,t,n,o){const{state:r,actions:i,getters:s}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=r?r():{});const u=Bi(n.state.value[e]);return Vn(u,i,Object.keys(s||{}).reduce((f,d)=>(f[d]=$n(H(()=>{Ui(n);const h=n._s.get(e);return s[d].call(h,h)})),f),{}))}return l=Ep(e,c,t,n,o,!0),l}function Ep(e,t,n={},o,r,i){let s;const a=Vn({actions:{}},n),l={deep:!0};let c,u,f=[],d=[],h;const m=o.state.value[e];!i&&!m&&(o.state.value[e]={}),se({});let g;function p(R){let A;c=u=!1,typeof R=="function"?(R(o.state.value[e]),A={type:ii.patchFunction,storeId:e,events:h}):(Mu(o.state.value[e],R),A={type:ii.patchObject,payload:R,storeId:e,events:h});const P=g=Symbol();Ze().then(()=>{g===P&&(c=!0)}),u=!0,Xo(f,A,o.state.value[e])}const _=i?function(){const{state:A}=n,P=A?A():{};this.$patch(z=>{Vn(z,P)})}:Cp;function E(){s.stop(),f=[],d=[],o._s.delete(e)}const v=(R,A="")=>{if(Wd in R)return R[Ol]=A,R;const P=function(){Ui(o);const z=Array.from(arguments),C=[],j=[];function y(L){C.push(L)}function O(L){j.push(L)}Xo(d,{args:z,name:P[Ol],store:I,after:y,onError:O});let x;try{x=R.apply(this&&this.$id===e?this:I,z)}catch(L){throw Xo(j,L),L}return x instanceof Promise?x.then(L=>(Xo(C,L),L)).catch(L=>(Xo(j,L),Promise.reject(L))):(Xo(C,x),x)};return P[Wd]=!0,P[Ol]=A,P},w={_p:o,$id:e,$onAction:Ud.bind(null,d),$patch:p,$reset:_,$subscribe(R,A={}){const P=Ud(f,R,A.detached,()=>z()),z=s.run(()=>ue(()=>o.state.value[e],C=>{(A.flush==="sync"?u:c)&&R({storeId:e,type:ii.direct,events:h},C)},Vn({},l,A)));return P},$dispose:E},I=We(w);o._s.set(e,I);const D=(o._a&&o._a.runWithContext||Ex)(()=>o._e.run(()=>(s=$r()).run(()=>t({action:v}))));for(const R in D){const A=D[R];if(Me(A)&&!Tx(A)||kn(A))i||(m&&$x(A)&&(Me(A)?A.value=m[R]:Mu(A,m[R])),o.state.value[e][R]=A);else if(typeof A=="function"){const P=v(A,R);D[R]=P,a.actions[R]=A}}return Vn(I,D),Vn($e(I),D),Object.defineProperty(I,"$state",{get:()=>o.state.value[e],set:R=>{p(A=>{Vn(A,R)})}}),o._p.forEach(R=>{Vn(I,s.run(()=>R({store:I,app:o._a,pinia:o,options:a})))}),m&&i&&n.hydrate&&n.hydrate(I.$state,m),c=!0,u=!0,I}/*! #__NO_SIDE_EFFECTS__ */function kp(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function s(a,l){const c=jc();return a=a||(c?Ve(xp,null):null),a&&Ui(a),a=Sp,a._s.has(o)||(i?Ep(o,t,r,a):Ix(o,r,a)),a._s.get(o)}return s.$id=o,s}function jd(e){const t=Nx(e),n=new ArrayBuffer(t.length),o=new DataView(n);for(let r=0;r<n.byteLength;r++)o.setUint8(r,t.charCodeAt(r));return n}const Px="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Nx(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,o=0;for(let r=0;r<e.length;r++)n<<=6,n|=Px.indexOf(e[r]),o+=6,o===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=o=0);return o===12?(n>>=4,t+=String.fromCharCode(n)):o===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Mx=-1,Ax=-2,Dx=-3,Ox=-4,Rx=-5,Bx=-6;function Lx(e,t){return Hx(JSON.parse(e),t)}function Hx(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function r(i,s=!1){if(i===Mx)return;if(i===Dx)return NaN;if(i===Ox)return 1/0;if(i===Rx)return-1/0;if(i===Bx)return-0;if(s)throw new Error("Invalid input");if(i in o)return o[i];const a=n[i];if(!a||typeof a!="object")o[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return o[i]=c(r(a[1]));switch(l){case"Date":o[i]=new Date(a[1]);break;case"Set":const u=new Set;o[i]=u;for(let h=1;h<a.length;h+=1)u.add(r(a[h]));break;case"Map":const f=new Map;o[i]=f;for(let h=1;h<a.length;h+=2)f.set(r(a[h]),r(a[h+1]));break;case"RegExp":o[i]=new RegExp(a[1],a[2]);break;case"Object":o[i]=Object(a[1]);break;case"BigInt":o[i]=BigInt(a[1]);break;case"null":const d=Object.create(null);o[i]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=r(a[h+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const h=globalThis[l],m=a[1],g=jd(m),p=new h(g);o[i]=p;break}case"ArrayBuffer":{const h=a[1],m=jd(h);o[i]=m;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);o[i]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==Ax&&(l[c]=r(u))}}else{const l={};o[i]=l;for(const c in a){const u=a[c];l[c]=r(u)}}return o[i]}return r(0)}const Vx=new Set(["title","titleTemplate","script","style","noscript"]),$s=new Set(["base","meta","link","style","script","noscript"]),Fx=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),zx=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),$p=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Ux=typeof window<"u";function ra(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 Au(e){if(e._h)return e._h;if(e._d)return ra(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return ra(t)}function Wx(e,t){return e instanceof Promise?e.then(t):t(e)}function Du(e,t,n,o){const r=o||Ip(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(r instanceof Promise)return r.then(s=>Du(e,t,n,s));const i={tag:e,props:r};for(const s of $p){const a=i.props[s]!==void 0?i.props[s]:n[s];a!==void 0&&((!(s==="innerHTML"||s==="textContent"||s==="children")||Vx.has(i.tag))&&(i[s==="children"?"innerHTML":s]=a),delete i.props[s])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(s=>({...i,props:{...i.props,content:s}})):i}function jx(e,t){var o;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,i])=>e==="style"?`${r}:${i}`:r)),(o=String(Array.isArray(t)?t.join(n):t))==null?void 0:o.split(n).filter(r=>!!r.trim()).join(n)}function Tp(e,t,n,o){for(let r=o;r<n.length;r+=1){const i=n[r];if(i==="class"||i==="style"){e[i]=jx(i,e[i]);continue}if(e[i]instanceof Promise)return e[i].then(s=>(e[i]=s,Tp(e,t,n,r)));if(!t&&!$p.has(i)){const s=String(e[i]),a=i.startsWith("data-");s==="true"||s===""?e[i]=a?"true":!0:e[i]||(a&&s==="false"?e[i]="false":delete e[i])}}}function Ip(e,t=!1){const n=Tp(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const Yx=10;function Pp(e,t,n){for(let o=n;o<t.length;o+=1){const r=t[o];if(r instanceof Promise)return r.then(i=>(t[o]=i,Pp(e,t,o)));Array.isArray(r)?e.push(...r):e.push(r)}}function Gx(e){const t=[],n=e.resolvedInput;for(const r in n){if(!Object.prototype.hasOwnProperty.call(n,r))continue;const i=n[r];if(!(i===void 0||!Fx.has(r))){if(Array.isArray(i)){for(const s of i)t.push(Du(r,s,e));continue}t.push(Du(r,i,e))}}if(t.length===0)return[];const o=[];return Wx(Pp(o,t,0),()=>o.map((r,i)=>(r._e=e._i,e.mode&&(r._m=e.mode),r._p=(e._i<<Yx)+i,r)))}const Yd=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),Gd={base:-10,title:10},Xd={critical:-80,high:-10,low:20};function ia(e){const 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 Gd&&(n=Gd[e.tag]),t&&t in Xd?n+Xd[t]:n}const Xx=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Kx=["name","property","http-equiv"];function Np(e){const{props:t,tag:n}=e;if(zx.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(const o of Kx)if(t[o]!==void 0)return`${n}:${o}:${t[o]}`;return!1}const Yn="%separator";function qx(e,t,n=!1){var r;let o;if(t==="s"||t==="pageTitle")o=e.pageTitle;else if(t.includes(".")){const i=t.indexOf(".");o=(r=e[t.substring(0,i)])==null?void 0:r[t.substring(i+1)]}else o=e[t];if(o!==void 0)return n?(o||"").replace(/"/g,'\\"'):o||""}const Zx=new RegExp(`${Yn}(?:\\s*${Yn})*`,"g");function is(e,t,n,o=!1){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const i=r.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const s=e.includes(Yn);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Yn||!i.includes(a))return a;const l=qx(t,a.slice(1),o);return l!==void 0?l:a}).trim(),s&&(e.endsWith(Yn)&&(e=e.slice(0,-Yn.length)),e.startsWith(Yn)&&(e=e.slice(Yn.length)),e=e.replace(Zx,n).trim()),e}function Kd(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Mp(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!!o.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async r=>{var f;const i=(await e.resolveTags()).map(d=>({tag:d,id:$s.has(d.tag)?Au(d):d.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const h of["body","head"]){const m=(f=n[h])==null?void 0:f.children;for(const g of m){const p=g.tagName.toLowerCase();if(!$s.has(p))continue;const _={tag:p,props:await Ip(g.getAttributeNames().reduce((I,k)=>({...I,[k]:g.getAttribute(k)}),{})),innerHTML:g.innerHTML},E=Np(_);let v=E,w=1;for(;v&&d.has(v);)v=`${E}:${w++}`;v&&(_._d=v,d.add(v)),s.elMap[g.getAttribute("data-hid")||Au(_)]=g}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function a(d,h,m){const g=`${d}:${h}`;s.sideEffects[g]=m,delete s.pendingSideEffects[g]}function l({id:d,$el:h,tag:m}){const g=m.tag.endsWith("Attrs");if(s.elMap[d]=h,g||(m.textContent&&m.textContent!==h.textContent&&(h.textContent=m.textContent),m.innerHTML&&m.innerHTML!==h.innerHTML&&(h.innerHTML=m.innerHTML),a(d,"el",()=>{var p;(p=s.elMap[d])==null||p.remove(),delete s.elMap[d]})),m._eventHandlers)for(const p in m._eventHandlers)Object.prototype.hasOwnProperty.call(m._eventHandlers,p)&&h.getAttribute(`data-${p}`)!==""&&((m.tag==="bodyAttrs"?n.defaultView:h).addEventListener(p.substring(2),m._eventHandlers[p].bind(h)),h.setAttribute(`data-${p}`,""));for(const p in m.props){if(!Object.prototype.hasOwnProperty.call(m.props,p))continue;const _=m.props[p],E=`attr:${p}`;if(p==="class"){if(!_)continue;for(const v of _.split(" "))g&&a(d,`${E}:${v}`,()=>h.classList.remove(v)),!h.classList.contains(v)&&h.classList.add(v)}else if(p==="style"){if(!_)continue;for(const v of _.split(";")){const w=v.indexOf(":"),I=v.substring(0,w).trim(),k=v.substring(w+1).trim();a(d,`${E}:${I}`,()=>{h.style.removeProperty(I)}),h.style.setProperty(I,k)}}else h.getAttribute(p)!==_&&h.setAttribute(p,_===!0?"":String(_)),g&&a(d,E,()=>h.removeAttribute(p))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of i){const{tag:h,shouldRender:m,id:g}=d;if(m){if(h.tag==="title"){n.title=h.textContent;continue}d.$el=d.$el||s.elMap[g],d.$el?l(d):$s.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[h]=u[h]||n.createDocumentFragment(),u[h].appendChild(d.$el)}for(const d of i)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in s.pendingSideEffects)s.pendingSideEffects[d]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:i}),r()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Jx(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(o=>n(()=>Mp(e,t).then(()=>{delete e._domDebouncedUpdatePromise,o()})))}function Qx(e){return t=>{var o,r;const n=((r=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":i=>{Jx(i,e)}}}}}const eC=new Set(["templateParams","htmlAttrs","bodyAttrs"]),tC={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);const t=Np(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const o of e.tags){const r=(o.key?`${o.tag}:${o.key}`:o._d)||Au(o),i=t[r];if(i){let a=o==null?void 0:o.tagDuplicateStrategy;if(!a&&eC.has(o.tag)&&(a="merge"),a==="merge"){const l=i.props;l.style&&o.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),o.props.style=`${l.style} ${o.props.style}`),l.class&&o.props.class?o.props.class=`${l.class} ${o.props.class}`:l.class&&(o.props.class=l.class),t[r].props={...l,...o.props};continue}else if(o._e===i._e){i._duped=i._duped||[],o._d=`${i._d}:${i._duped.length+1}`,i._duped.push(o);continue}else if(ia(o)>ia(i))continue}if(!(o.innerHTML||o.textContent||Object.keys(o.props).length!==0)&&$s.has(o.tag)){delete t[r];continue}t[r]=o}const n=[];for(const o in t){const r=t[o],i=r._duped;n.push(r),i&&(delete r._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},nC=new Set(["script","link","bodyAttrs"]),oC=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!nC.has(n.tag))continue;const o=n.props;for(const r in o){if(r[0]!=="o"||r[1]!=="n"||!Object.prototype.hasOwnProperty.call(o,r))continue;const i=o[r];typeof i=="function"&&(e.ssr&&Yd.has(r)?o[r]=`this.dataset.${r}fired = true`:delete o[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||ra(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var r,i;const o=t==null?void 0:t.dataset;if(o)for(const s in o){if(!s.endsWith("fired"))continue;const a=s.slice(0,-5);Yd.has(a)&&((i=(r=n._eventHandlers)==null?void 0:r[a])==null||i.call(t,new Event(a.substring(2))))}}}}),rC=new Set(["link","style","script","noscript"]),iC={hooks:{"tag:normalise":({tag:e})=>{e.key&&rC.has(e.tag)&&(e.props["data-hid"]=e._h=ra(e.key))}}},sC={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const o of e.tags)o._m!=="server"||o.tag!=="titleTemplate"&&o.tag!=="templateParams"&&o.tag!=="title"||(t[o.tag]=o.tag==="title"||o.tag==="titleTemplate"?o.textContent:o.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},aC={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:o,offset:r}of Xx){if(!n.tagPriority.startsWith(o))continue;const i=n.tagPriority.substring(o.length),s=(t=e.tags.find(a=>a._d===i))==null?void 0:t._p;if(s!==void 0){n._p=s+r;break}}e.tags.sort((n,o)=>{const r=ia(n),i=ia(o);return r<i?-1:r>i?1:n._p-o._p})}}},lC={meta:"content",link:"href",htmlAttrs:"lang"},uC=["innerHTML","textContent"],cC=e=>({hooks:{"tags:resolve":t=>{var s;const{tags:n}=t;let o;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(o=t.tags.splice(a,1)[0].props,a-=1);const r=o||{},i=r.separator||"|";delete r.separator,r.pageTitle=is(r.pageTitle||((s=n.find(a=>a.tag==="title"))==null?void 0:s.textContent)||"",r,i);for(const a of n){if(a.processTemplateParams===!1)continue;const l=lC[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=is(a.props[l],r,i);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of uC)typeof a[c]=="string"&&(a[c]=is(a[c],r,i,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tags:t})=>{let n;for(let o=0;o<t.length;o+=1){const r=t[o];r.tag==="title"&&r.processTemplateParams!==!1&&(n=r)}n!=null&&n.textContent&&(n.textContent=is(n.textContent,e._templateParams,e._separator))}}}),fC={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,o;for(let r=0;r<t.length;r+=1){const i=t[r];i.tag==="title"?n=i:i.tag==="titleTemplate"&&(o=i)}if(o&&n){const r=Kd(o.textContent,n.textContent);r!==null?n.textContent=r||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(o){const r=Kd(o.textContent);r!==null&&(o.textContent=r,o.tag="title",o=void 0)}o&&e.tags.splice(e.tags.indexOf(o),1)}}},dC={hooks:{"tags:afterResolve":e=>{for(const 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(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Ap;function hC(e={}){const t=gC(e);return t.use(Qx()),Ap=t}function qd(e,t){return!e||e==="server"&&t||e==="client"&&!t}function gC(e={}){const t=fp();t.addHooks(e.hooks||{}),e.document=e.document||(Ux?document:void 0);const n=!e.document,o=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let r=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),qd(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:r++,input:l,...c};return qd(u.mode,n)&&(i.push(u),o()),{dispose(){i=i.filter(f=>f._i!==u._i),o()},patch(f){for(const d of i)d._i===u._i&&(d.input=u.input=f);o()}}},async resolveTags(){const l={tags:[],entries:[...i]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Gx(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[tC,sC,oC,iC,aC,cC,fC,dC,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function mC(){return Ap}const vC=Uv[0]==="3";function pC(e){return typeof e=="function"?e():Z(e)}function Ou(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=pC(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Ou(n));if(typeof t=="object"){const n={};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){n[o]=Z(t[o]);continue}n[o]=Ou(t[o])}return n}return t}const yC={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Ou(t.input)}}},Dp="usehead";function bC(e){return{install(n){vC&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Dp,e))}}.install}function _C(e={}){e.domDelayFn=e.domDelayFn||(n=>Ze(()=>setTimeout(()=>n(),0)));const t=hC(e);return t.use(yC),t.install=bC(t),t}const Ru=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bu="__unhead_injection_handler__";function wC(e){Ru[Bu]=e}function NB(){if(Bu in Ru)return Ru[Bu]();const e=Ve(Dp);return e||mC()}let Ts,Is;function SC(){return Ts=$fetch(Jc(`builds/meta/${vi().app.buildId}.json`),{responseType:"json"}),Ts.then(e=>{Is=lx(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ts}function ja(){return Ts||SC()}async function ef(e){if(await ja(),!Is)return console.error("[nuxt] Error creating app manifest matcher.",Is),{};try{return cx({},...Is.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Zd(e,t={}){const n=await CC(e,t),o=Ge(),r=o._payloadCache=o._payloadCache||{};return n in r?r[n]||null:(r[n]=Rp(e).then(i=>i?Op(n).then(s=>s||(delete r[n],null)):(r[n]=null,null)),r[n])}const xC="_payload.json";async function CC(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Pr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=vi(),r=t.hash||(t.fresh?Date.now():o.app.buildId),i=o.app.cdnURL,s=i&&await Rp(e)?i:o.app.baseURL;return Ua(s,n.pathname,xC+(r?`?${r}`:""))}async function Op(e){const t=fetch(e).then(n=>n.text().then(Bp));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Rp(e=_p().path){if(e=Zc(e),(await ja()).prerendered.includes(e))return!0;const n=await ef(e);return!!n.prerender&&!n.redirect}let fo=null;async function EC(){var o;if(fo)return fo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Bp(e.textContent||""),n=e.dataset.src?await Op(e.dataset.src):void 0;return fo={...t,...n,...window.__NUXT__},(o=fo.config)!=null&&o.public&&(fo.config.public=We(fo.config.public)),fo}async function Bp(e){return await Lx(e,Ge()._payloadRevivers)}function Lp(e,t){Ge()._payloadRevivers[e]=t}const kC=FS(()=>{Lp("skipHydrate",e=>{})}),$C=[["NuxtError",e=>Wa(e)],["EmptyShallowRef",e=>Ee(e==="_"?void 0:e==="0n"?BigInt(0):Qs(e))],["EmptyRef",e=>se(e==="_"?void 0:e==="0n"?BigInt(0):Qs(e))],["ShallowRef",e=>Ee(e)],["ShallowReactive",e=>tr(e)],["Ref",e=>se(e)],["Reactive",e=>We(e)]],TC=$t({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[o,r]of $C)Lp(o,r);Object.assign(e.payload,([t,n]=ri(()=>e.runWithContext(EC)),t=await t,n(),t)),window.__NUXT__=e.payload}}),ft=typeof window<"u",tf=ft&&"IntersectionObserver"in window,IC=ft&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function Jd(e,t,n){PC(e,t),t.set(e,n)}function PC(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function NC(e,t,n){return e.set(Hp(e,t),n),n}function ho(e,t){return e.get(Hp(e,t))}function Hp(e,t,n){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function MC(e,t,n){const o=t.length-1;if(o<0)return e===void 0?n:e;for(let r=0;r<o;r++){if(e==null)return n;e=e[t[r]]}return e==null||e[t[o]]===void 0?n:e[t[o]]}function Ya(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(o=>Ya(e[o],t[o]))}function Qd(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),MC(e,t.split("."),n))}function Vp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,o)=>t+o)}function Ne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function AC(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function eh(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function Fp(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const th=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function Rl(e,t){return t.every(n=>e.hasOwnProperty(n))}function zp(e,t){const n={},o=new Set(Object.keys(e));for(const r of t)o.has(r)&&(n[r]=e[r]);return n}function nh(e,t,n){const o=Object.create(null),r=Object.create(null);for(const i in e)t.some(s=>s instanceof RegExp?s.test(i):s===i)&&!(n!=null&&n.some(s=>s===i))?o[i]=e[i]:r[i]=e[i];return[o,r]}function DC(e,t){const n={...e};return t.forEach(o=>delete n[o]),n}function OC(e,t){const n={};return t.forEach(o=>n[o]=e[o]),n}const Up=/^on[^a-z]/,RC=e=>Up.test(e),BC=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function LC(e){const[t,n]=nh(e,[Up]),o=DC(t,BC),[r,i]=nh(n,["class","style","id",/^data-/]);return Object.assign(r,t),Object.assign(i,o),[r,i]}function si(e){return e==null?[]:Array.isArray(e)?e:[e]}function pi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function oh(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function rh(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function HC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let o=0;for(;o<e.length;)n.push(e.substr(o,t)),o+=t;return n}function dt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const o={};for(const r in e)o[r]=e[r];for(const r in t){const i=e[r],s=t[r];if(eh(i)&&eh(s)){o[r]=dt(i,s,n);continue}if(n&&Array.isArray(i)&&Array.isArray(s)){o[r]=n(i,s);continue}o[r]=s}return o}function Wp(e){return e.map(t=>t.type===we?Wp(t.children):t).flat()}function ko(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(ko.cache.has(e))return ko.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return ko.cache.set(e,t),t}ko.cache=new Map;function ir(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>ir(e,n)).flat(1);if(t.suspense)return ir(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>ir(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return ir(e,t.component.subTree).flat(1)}return[]}var ss=new WeakMap,Ko=new WeakMap;class VC{constructor(t){Jd(this,ss,[]),Jd(this,Ko,0),this.size=t}push(t){ho(ss,this)[ho(Ko,this)]=t,NC(Ko,this,(ho(Ko,this)+1)%this.size)}values(){return ho(ss,this).slice(ho(Ko,this)).concat(ho(ss,this).slice(0,ho(Ko,this)))}}function jp(e){const t=We({}),n=H(e);return so(()=>{for(const o in n.value)t[o]=n.value[o]},{flush:"sync"}),Bi(t)}function Lu(e,t){return e.includes(t)}const Tn=()=>[Function,Array];function ih(e,t){return t="on"+kr(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function FC(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(Array.isArray(e))for(const r of e)r(...n);else typeof e=="function"&&e(...n)}function zC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(o=>`${o}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function UC(e,t){if(!ft||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function WC(){const e=Ee(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>Fp(e.value)}),t}const jC=["top","bottom"],YC=["start","end","left","right"];function GC(e,t){let[n,o]=e.split(" ");return o||(o=Lu(jC,n)?"start":Lu(YC,n)?"top":"center"),{side:Hu(n,t),align:Hu(o,t)}}function Hu(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}class Bl{constructor(t){let{x:n,y:o,width:r,height:i}=t;this.x=n,this.y=o,this.width=r,this.height=i}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function XC(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),o=n.transform;if(o){let r,i,s,a,l;if(o.startsWith("matrix3d("))r=o.slice(9,-1).split(/, /),i=+r[0],s=+r[5],a=+r[12],l=+r[13];else if(o.startsWith("matrix("))r=o.slice(7,-1).split(/, /),i=+r[0],s=+r[3],a=+r[4],l=+r[5];else return new Bl(t);const c=n.transformOrigin,u=t.x-a-(1-i)*parseFloat(c),f=t.y-l-(1-s)*parseFloat(c.slice(c.indexOf(" ")+1)),d=i?t.width/i:e.offsetWidth+1,h=s?t.height/s:e.offsetHeight+1;return new Bl({x:u,y:f,width:d,height:h})}else return new Bl(t)}function KC(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let o;try{o=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof o.finished>"u"&&(o.finished=new Promise(r=>{o.onfinish=()=>{r(o)}})),o}const qo=2.4,sh=.2126729,ah=.7151522,lh=.072175,qC=.55,ZC=.58,JC=.57,QC=.62,as=.03,uh=1.45,eE=5e-4,tE=1.25,nE=1.25,ch=.078,fh=12.82051282051282,ls=.06,dh=.001;function hh(e,t){const n=(e.r/255)**qo,o=(e.g/255)**qo,r=(e.b/255)**qo,i=(t.r/255)**qo,s=(t.g/255)**qo,a=(t.b/255)**qo;let l=n*sh+o*ah+r*lh,c=i*sh+s*ah+a*lh;if(l<=as&&(l+=(as-l)**uh),c<=as&&(c+=(as-c)**uh),Math.abs(c-l)<eE)return 0;let u;if(c>l){const f=(c**qC-l**ZC)*tE;u=f<dh?0:f<ch?f-f*fh*ls:f-ls}else{const f=(c**QC-l**JC)*nE;u=f>-dh?0:f>-ch?f-f*fh*ls:f+ls}return u*100}const sa=.20689655172413793,oE=e=>e>sa**3?Math.cbrt(e):e/(3*sa**2)+4/29,rE=e=>e>sa?e**3:3*sa**2*(e-4/29);function Yp(e){const t=oE,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Gp(e){const t=rE,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const iE=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],sE=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,aE=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],lE=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Xp(e){const t=Array(3),n=sE,o=iE;for(let r=0;r<3;++r)t[r]=Math.round(pi(n(o[r][0]*e[0]+o[r][1]*e[1]+o[r][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function nf(e){let{r:t,g:n,b:o}=e;const r=[0,0,0],i=lE,s=aE;t=i(t/255),n=i(n/255),o=i(o/255);for(let a=0;a<3;++a)r[a]=s[a][0]*t+s[a][1]*n+s[a][2]*o;return r}function Vu(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function uE(e){return Vu(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const gh=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,cE={rgb:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),rgba:(e,t,n,o)=>({r:e,g:t,b:n,a:o}),hsl:(e,t,n,o)=>mh({h:e,s:t,l:n,a:o}),hsla:(e,t,n,o)=>mh({h:e,s:t,l:n,a:o}),hsv:(e,t,n,o)=>yi({h:e,s:t,v:n,a:o}),hsva:(e,t,n,o)=>yi({h:e,s:t,v:n,a:o})};function on(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&gh.test(e)){const{groups:t}=e.match(gh),{fn:n,values:o}=t,r=o.split(/,\s*/).map(i=>i.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(i)/100:parseFloat(i));return cE[n](...r)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),dE(t)}else if(typeof e=="object"){if(Rl(e,["r","g","b"]))return e;if(Rl(e,["h","s","l"]))return yi(Kp(e));if(Rl(e,["h","s","v"]))return yi(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
26
+ Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function yi(e){const{h:t,s:n,v:o,a:r}=e,i=a=>{const l=(a+t/60)%6;return o-o*n*Math.max(Math.min(l,4-l,1),0)},s=[i(5),i(3),i(1)].map(a=>Math.round(a*255));return{r:s[0],g:s[1],b:s[2],a:r}}function mh(e){return yi(Kp(e))}function Kp(e){const{h:t,s:n,l:o,a:r}=e,i=o+n*Math.min(o,1-o),s=i===0?0:2-2*o/i;return{h:t,s,v:i,a:r}}function us(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function fE(e){let{r:t,g:n,b:o,a:r}=e;return`#${[us(t),us(n),us(o),r!==void 0?us(Math.round(r*255)):""].join("")}`}function dE(e){e=hE(e);let[t,n,o,r]=HC(e,2).map(i=>parseInt(i,16));return r=r===void 0?r:r/255,{r:t,g:n,b:o,a:r}}function hE(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=oh(oh(e,6),8,"F")),e}function gE(e,t){const n=Yp(nf(e));return n[0]=n[0]+t*10,Xp(Gp(n))}function mE(e,t){const n=Yp(nf(e));return n[0]=n[0]-t*10,Xp(Gp(n))}function vE(e){const t=on(e);return nf(t)[1]}function qp(e){const t=Math.abs(hh(on(0),on(e)));return Math.abs(hh(on(16777215),on(e)))>Math.min(t,50)?"#fff":"#000"}function he(e,t){return n=>Object.keys(e).reduce((o,r)=>{const s=typeof e[r]=="object"&&e[r]!=null&&!Array.isArray(e[r])?e[r]:{type:e[r]};return n&&r in n?o[r]={...s,default:n[r]}:o[r]=s,t&&!o[r].source&&(o[r].source=t),o},{})}const Re=he({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function mt(e,t){const n=Bt();if(!n)throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);return n}function cn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=mt(e).type;return ko((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let Zp=0,Ps=new WeakMap;function zo(){const e=mt("getUid");if(Ps.has(e))return Ps.get(e);{const t=Zp++;return Ps.set(e,t),t}}zo.reset=()=>{Zp=0,Ps=new WeakMap};function pE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mt("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const br=Symbol.for("vuetify:defaults");function yE(e){return se(e)}function of(){const e=Ve(br);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Nr(e,t){const n=of(),o=se(e),r=H(()=>{if(Z(t==null?void 0:t.disabled))return n.value;const s=Z(t==null?void 0:t.scoped),a=Z(t==null?void 0:t.reset),l=Z(t==null?void 0:t.root);if(o.value==null&&!(s||a||l))return n.value;let c=dt(o.value,{prev:n.value});if(s)return c;if(a||l){const u=Number(a||1/0);for(let f=0;f<=u&&!(!c||!("prev"in c));f++)c=c.prev;return c&&typeof l=="string"&&l in c&&(c=dt(dt(c,{prev:c}),c[l])),c}return c.prev?dt(c.prev,c):c});return st(br,r),r}function bE(e,t){var n,o;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((o=e.props)==null?void 0:o[ko(t)])<"u"}function _E(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:of();const o=mt("useDefaults");if(t=t??o.type.name??o.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const r=H(()=>{var l;return(l=n.value)==null?void 0:l[e._as??t]}),i=new Proxy(e,{get(l,c){var f,d,h,m,g,p,_;const u=Reflect.get(l,c);return c==="class"||c==="style"?[(f=r.value)==null?void 0:f[c],u].filter(E=>E!=null):typeof c=="string"&&!bE(o.vnode,c)?((d=r.value)==null?void 0:d[c])!==void 0?(h=r.value)==null?void 0:h[c]:((g=(m=n.value)==null?void 0:m.global)==null?void 0:g[c])!==void 0?(_=(p=n.value)==null?void 0:p.global)==null?void 0:_[c]:u:u}}),s=Ee();so(()=>{if(r.value){const l=Object.entries(r.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});s.value=l.length?Object.fromEntries(l):void 0}else s.value=void 0});function a(){const l=pE(br,o);st(br,H(()=>s.value?dt((l==null?void 0:l.value)??{},s.value):l==null?void 0:l.value))}return{props:i,provideSubDefaults:a}}function Wi(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=he(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(o){return zp(o,t)},e.props._as=String,e.setup=function(o,r){const i=of();if(!i.value)return e._setup(o,r);const{props:s,provideSubDefaults:a}=_E(o,o._as??e.name,i),l=e._setup(s,r);return a(),l}}return e}function Te(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Wi:ke)(t)}function Jp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return Te()({name:n??kr(Ct(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Re()},setup(o,r){let{slots:i}=r;return()=>{var s;return Ce(o.tag,{class:[e,o.class],style:o.style},(s=i.default)==null?void 0:s.call(i))}}})}const wE="cubic-bezier(0.4, 0, 0.2, 1)";function Oe(e){const t=mt("useRender");t.render=e}const nt=[String,Function,Object,Array],Fu=Symbol.for("vuetify:icons"),Ga=he({icon:{type:nt},tag:{type:String,required:!0}},"icon"),vh=Te()({name:"VComponentIcon",props:Ga(),setup(e,t){let{slots:n}=t;return()=>{const o=e.icon;return M(e.tag,null,{default:()=>{var r;return[e.icon?M(o,null,null):(r=n.default)==null?void 0:r.call(n)]}})}}}),Qp=Wi({name:"VSvgIcon",inheritAttrs:!1,props:Ga(),setup(e,t){let{attrs:n}=t;return()=>M(e.tag,tt(n,{style:null}),{default:()=>[M("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(o=>Array.isArray(o)?M("path",{d:o[0],"fill-opacity":o[1]},null):M("path",{d:o},null)):M("path",{d:e.icon},null)])]})}});Wi({name:"VLigatureIcon",props:Ga(),setup(e){return()=>M(e.tag,null,{default:()=>[e.icon]})}});const ey=Wi({name:"VClassIcon",props:Ga(),setup(e){return()=>M(e.tag,{class:e.icon},null)}});function SE(){return{svg:{component:Qp},class:{component:ey}}}function xE(e){const t=SE(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=ny),dt({defaultSet:n,sets:t,aliases:{...ty,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const CE=e=>{const t=Ve(Fu);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:H(()=>{var l;const o=Z(e);if(!o)return{component:vh};let r=o;if(typeof r=="string"&&(r=r.trim(),r.startsWith("$")&&(r=(l=t.aliases)==null?void 0:l[r.slice(1)])),Array.isArray(r))return{component:Qp,icon:r};if(typeof r!="string")return{component:vh,icon:r};const i=Object.keys(t.sets).find(c=>typeof r=="string"&&r.startsWith(`${c}:`)),s=i?r.slice(i.length+1):r;return{component:t.sets[i??t.defaultSet].component,icon:s}})}},ty={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},ny={component:e=>Ce(ey,{...e,class:"mdi"})};function EE(){return{defaultSet:"mdi",aliases:ty,sets:{mdi:ny}}}function kE(e){{const t=EE();if((t==null?void 0:t.defaultSet)==="custom")return;e.icons=t}}const $E=$t({name:"vuetify:icons:plugin",order:-25,parallel:!0,setup(e){e.hook("vuetify:configuration",({vuetifyOptions:t})=>{kE(t)})}}),TE=[],IE=$t({name:"nuxt:head",enforce:"pre",setup(e){const t=_C({plugins:TE});wC(()=>Ge().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await Mp(t)};t.hooks.hook("dom:beforeRender",r=>{r.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}}),PE=async e=>{let t,n;const o=([t,n]=ri(()=>ef(e.path)),t=await t,n(),t);if(o.redirect)return Pr(o.redirect,{acceptRelative:!0})?(window.location.href=o.redirect,!1):o.redirect},NE=[PE];function Ll(e){typeof e=="object"&&(e=ap({pathname:e.path||"",search:np(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:tp(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const ME=$t({name:"nuxt:router",enforce:"pre",setup(e){const t=tS(window.location.pathname,vi().app.baseURL)+window.location.search+window.location.hash,n=[],o={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},r=(f,d)=>(o[f].push(d),()=>o[f].splice(o[f].indexOf(d),1)),i=vi().app.baseURL,s=We(Ll(t));async function a(f,d){try{const h=Ll(f);for(const m of o["navigate:before"]){const g=await m(h,s);if(g===!1||g instanceof Error)return;if(typeof g=="string"&&g.length)return a(g,!0)}for(const m of o["resolve:before"])await m(h,s);Object.assign(s,h),window.history[d?"replaceState":"pushState"]({},"",Ua(i,h.fullPath)),e.isHydrating||await e.runWithContext(wx);for(const m of o["navigate:after"])await m(h,s)}catch(h){for(const m of o.error)await m(h)}}const c={currentRoute:H(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>r("resolve:before",f),beforeEach:f=>r("navigate:before",f),afterEach:f=>r("navigate:after",f),onError:f=>r("error",f),resolve:Ll,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",ke({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>a(f.to,f.replace);return()=>{var g;const m=c.resolve(f.to);return f.custom?(g=d.default)==null?void 0:g.call(d,{href:f.to,navigate:h,route:m}):Ce("a",{href:f.to,onClick:p=>(p.preventDefault(),h())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=We(f.meta||{}),e.isHydrating&&u&&!no(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const h=new Set([...NE,...e._middleware.global]);{const m=await e.runWithContext(()=>ef(f.path));if(m.appMiddleware)for(const g in m.appMiddleware){const p=e._middleware.named[g];if(!p)return;m.appMiddleware[g]?h.add(p):h.delete(p)}}for(const m of h){const g=await e.runWithContext(()=>m(f,d));if(g!==!0&&(g||g===!1))return g}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),oS(s.fullPath,t)||await e.runWithContext(()=>yx(s.fullPath))}),{provide:{route:s,router:c}}}}),ph=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),MB=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),rf=e=>{const t=Ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ph(()=>e())}):ph(()=>e())},AE=$t({name:"nuxt:payload",setup(e){Do().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await Zd(t.path);o&&Object.assign(e.static.data,o.data)}),rf(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await Zd(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ja,1e3)})}}),DE=$t(()=>{const e=Do();rf(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),OE=$t(e=>{let t;async function n(){const o=await ja();t&&clearTimeout(t),t=setTimeout(n,Bd);try{const r=await $fetch(Jc("builds/latest.json")+`?${Date.now()}`);r.id!==o.id&&e.hooks.callHook("app:manifest:update",r)}catch{}}rf(()=>{t=setTimeout(n,Bd)})});function RE(e={}){const t=e.path||window.location.pathname;let n={};try{n=Qs(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ge().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const BE=$t({name:"nuxt:chunk-reload",setup(e){const t=Do(),n=vi(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:i})=>{o.add(i)});function r(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:Ua(n.app.baseURL,i.fullPath);RE({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(r)}),t.onError((i,s)=>{o.has(i)&&r(s)})}}),LE=e=>e==="defer"||e===!1;function yh(...e){var g;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,o,r={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof o!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=Ge(),s=o,a=()=>or.value,l=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];r.server=r.server??!0,r.default=r.default??a,r.getCachedData=r.getCachedData??l,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0,r.deep=r.deep??or.deep,r.dedupe=r.dedupe??"cancel";const c=r.getCachedData(n,i),u=c!=null;if(!i._asyncData[n]||!r.immediate){(g=i.payload._errors)[n]??(g[n]=or.errorValue);const p=r.deep?se:Ee;i._asyncData[n]={data:p(u?c:r.default()),pending:se(!u),error:pe(i.payload._errors,n),status:se("idle"),_default:r.default}}const f={...i._asyncData[n]};delete f._default,f.refresh=f.execute=(p={})=>{if(i._asyncDataPromises[n]){if(LE(p.dedupe??r.dedupe))return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if(p._initial||i.isHydrating&&p._initial!==!1){const E=p._initial?c:r.getCachedData(n,i);if(E!=null)return Promise.resolve(E)}f.pending.value=!0,f.status.value="pending";const _=new Promise((E,v)=>{try{E(s(i))}catch(w){v(w)}}).then(async E=>{if(_.cancelled)return i._asyncDataPromises[n];let v=E;r.transform&&(v=await r.transform(E)),r.pick&&(v=VE(v,r.pick)),i.payload.data[n]=v,f.data.value=v,f.error.value=or.errorValue,f.status.value="success"}).catch(E=>{if(_.cancelled)return i._asyncDataPromises[n];f.error.value=Wa(E),f.data.value=Z(r.default()),f.status.value="error"}).finally(()=>{_.cancelled||(f.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=_,i._asyncDataPromises[n]},f.clear=()=>HE(i,n);const d=()=>f.refresh({_initial:!0}),h=r.server!==!1&&i.payload.serverRendered;{const p=Bt();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const v=p._nuxtOnBeforeMountCbs;Vi(()=>{v.forEach(w=>{w()}),v.splice(0,v.length)}),Fi(()=>v.splice(0,v.length))}h&&i.isHydrating&&(f.error.value||c!=null)?(f.pending.value=!1,f.status.value=f.error.value?"error":"success"):p&&(i.payload.serverRendered&&i.isHydrating||r.lazy)&&r.immediate?p._nuxtOnBeforeMountCbs.push(d):r.immediate&&d();const _=Tr();if(r.watch){const v=ue(r.watch,()=>f.refresh());_&&an(v)}const E=i.hook("app:data:refresh",async v=>{(!v||v.includes(n))&&await f.refresh()});_&&an(E)}const m=Promise.resolve(i._asyncDataPromises[n]).then(()=>f);return Object.assign(m,f),m}function HE(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=or.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=or.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function VE(e,t){const n={};for(const o of t)n[o]=e[o];return n}function FE(e){return{}}const zE=$t({name:"pinia",setup(e){const t=Cx();return e.vueApp.use(t),Ui(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}}),UE=$t({name:"nuxt:global-components"}),WE=$t(()=>({provide:We({ssrClientHints:{firstRequest:!1,prefersColorSchemeAvailable:!1,prefersReducedMotionAvailable:!1,viewportHeightAvailable:!1,viewportWidthAvailable:!1}})}));function jE(e){return e}function YE(e){return e.length===0?jE:e.length===1?e[0]:function(n){return e.reduce((o,r)=>r(o),n)}}function oy(e){const t={subscribe(n){let o=null,r=!1,i=!1,s=!1;function a(){if(o===null){s=!0;return}i||(i=!0,typeof o=="function"?o():o&&o.unsubscribe())}return o=e({next(l){var c;r||(c=n.next)==null||c.call(n,l)},error(l){var c;r||(r=!0,(c=n.error)==null||c.call(n,l),a())},complete(){var l;r||(r=!0,(l=n.complete)==null||l.call(n),a())}}),s&&a(),{unsubscribe:a}},pipe(...n){return YE(n)(t)}};return t}function GE(e){return t=>{let n=0,o=null;const r=[];function i(){o||(o=t.subscribe({next(a){var l;for(const c of r)(l=c.next)==null||l.call(c,a)},error(a){var l;for(const c of r)(l=c.error)==null||l.call(c,a)},complete(){var a;for(const l of r)(a=l.complete)==null||a.call(l)}}))}function s(){if(n===0&&o){const a=o;o=null,a.unsubscribe()}}return{subscribe(a){return n++,r.push(a),i(),{unsubscribe(){n--,s();const l=r.findIndex(c=>c===a);l>-1&&r.splice(l,1)}}}}}}class sf extends Error{constructor(t){super(t),this.name="ObservableAbortError",Object.setPrototypeOf(this,sf.prototype)}}function XE(e){let t;return{promise:new Promise((o,r)=>{let i=!1;function s(){i||(i=!0,r(new sf("This operation was aborted.")),a.unsubscribe())}const a=e.subscribe({next(l){i=!0,o(l),s()},error(l){i=!0,r(l),s()},complete(){i=!0,s()}});t=s}),abort:t}}function KE(e){return oy(t=>{function n(r=0,i=e.op){const s=e.links[r];if(!s)throw new Error("No more links to execute - did you forget to add an ending link?");return s({op:i,next(l){return n(r+1,l)}})}return n().subscribe(t)})}function ry(e){const t=Object.create(null);for(const n in e){const o=e[n];t[o]=n}return t}const iy={PARSE_ERROR:-32700,BAD_REQUEST:-32600,INTERNAL_SERVER_ERROR:-32603,NOT_IMPLEMENTED:-32603,UNAUTHORIZED:-32001,FORBIDDEN:-32003,NOT_FOUND:-32004,METHOD_NOT_SUPPORTED:-32005,TIMEOUT:-32008,CONFLICT:-32009,PRECONDITION_FAILED:-32012,PAYLOAD_TOO_LARGE:-32013,UNPROCESSABLE_CONTENT:-32022,TOO_MANY_REQUESTS:-32029,CLIENT_CLOSED_REQUEST:-32099};ry(iy);ry(iy);const sy=()=>{};function ay(e,t){return new Proxy(sy,{get(o,r){if(!(typeof r!="string"||r==="then"))return ay(e,[...t,r])},apply(o,r,i){const s=t[t.length-1]==="apply";return e({args:s?i.length>=2?i[1]:[]:i,path:s?t.slice(0,-1):t})}})}const ly=e=>ay(e,[]),uy=e=>new Proxy(sy,{get(t,n){if(!(typeof n!="string"||n==="then"))return e(n)}});function qE(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}class ZE extends Error{}function JE(e){if(e instanceof Error)return e;const t=typeof e;if(!(t==="undefined"||t==="function"||e===null)){if(t!=="object")return new Error(String(e));if(qE(e)){const n=new ZE;for(const o in e)n[o]=e[o];return n}}}function aa(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function QE(e,t){if("error"in e){const o=t.transformer.deserialize(e.error);return{ok:!1,error:{...e,error:o}}}return{ok:!0,result:{...e.result,...(!e.result.type||e.result.type==="data")&&{type:"data",data:t.transformer.deserialize(e.result.data)}}}}class Hl extends Error{constructor(){super("Unable to transform response from server")}}function ek(e,t){let n;try{n=QE(e,t)}catch{throw new Hl}if(!n.ok&&(!aa(n.error.error)||typeof n.error.error.code!="number"))throw new Hl;if(n.ok&&!aa(n.result))throw new Hl;return n}function tk(e){return e instanceof rn||e instanceof Error&&e.name==="TRPCClientError"}function nk(e){return aa(e)&&aa(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}class rn extends Error{static from(t,n={}){const o=t;return tk(o)?(n.meta&&(o.meta={...o.meta,...n.meta}),o):nk(o)?new rn(o.error.message,{...n,result:o}):o instanceof Error?new rn(o.message,{...n,cause:JE(o)}):new rn("Unknown error",{...n,cause:o})}constructor(t,n){var r,i;const o=n==null?void 0:n.cause;super(t,{cause:o}),this.meta=n==null?void 0:n.meta,this.cause=o,this.shape=(r=n==null?void 0:n.result)==null?void 0:r.error,this.data=(i=n==null?void 0:n.result)==null?void 0:i.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,rn.prototype)}}const bh=e=>typeof e=="function";function ok(e){if(e)return e;if(typeof window<"u"&&bh(window.fetch))return window.fetch;if(typeof globalThis<"u"&&bh(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}function rk(e){return e||(typeof window<"u"&&window.AbortController?window.AbortController:typeof globalThis<"u"&&globalThis.AbortController?globalThis.AbortController:null)}function ik(e){return{url:e.url.toString().replace(/\/$/,""),fetch:e.fetch,AbortController:rk(e.AbortController)}}function sk(e){const t={};for(let n=0;n<e.length;n++){const o=e[n];t[n]=o}return t}const ak={query:"GET",mutation:"POST"};function cy(e){return"input"in e?e.runtime.transformer.serialize(e.input):sk(e.inputs.map(t=>e.runtime.transformer.serialize(t)))}const fy=e=>{let t=e.url+"/"+e.path;const n=[];if("inputs"in e&&n.push("batch=1"),e.type==="query"){const o=cy(e);o!==void 0&&n.push(`input=${encodeURIComponent(JSON.stringify(o))}`)}return n.length&&(t+="?"+n.join("&")),t},lk=e=>{if(e.type==="query")return;const t=cy(e);return t!==void 0?JSON.stringify(t):void 0},uk=e=>fk({...e,contentTypeHeader:"application/json",getUrl:fy,getBody:lk});async function ck(e,t){const n=e.getUrl(e),o=e.getBody(e),{type:r}=e,i=await e.headers();/* istanbul ignore if -- @preserve */if(r==="subscription")throw new Error("Subscriptions should use wsLink");const s={...e.contentTypeHeader?{"content-type":e.contentTypeHeader}:{},...e.batchModeHeader?{"trpc-batch-mode":e.batchModeHeader}:{},...i};return ok(e.fetch)(n,{method:ak[r],signal:t==null?void 0:t.signal,body:o,headers:s})}function fk(e){const t=e.AbortController?new e.AbortController:null,n={};let o=!1;return{promise:new Promise((s,a)=>{ck(e,t).then(l=>(n.response=l,o=!0,l.json())).then(l=>{n.responseJSON=l,s({json:l,meta:n})}).catch(l=>{o=!0,a(rn.from(l,{meta:n}))})}),cancel:()=>{o||t==null||t.abort()}}}const Vl=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function Fl(e){let t=null,n=null;const o=()=>{clearTimeout(n),n=null,t=null};function r(a){var u,f;const l=[[]];let c=0;for(;;){const d=a[c];if(!d)break;const h=l[l.length-1];if(d.aborted){(u=d.reject)==null||u.call(d,new Error("Aborted")),c++;continue}if(e.validate(h.concat(d).map(g=>g.key))){h.push(d),c++;continue}if(h.length===0){(f=d.reject)==null||f.call(d,new Error("Input is too big for a single dispatch")),c++;continue}l.push([])}return l}function i(){const a=r(t);o();for(const l of a){if(!l.length)continue;const c={items:l,cancel:Vl};for(const h of l)h.batch=c;const u=(h,m)=>{var p;const g=c.items[h];(p=g.resolve)==null||p.call(g,m),g.batch=null,g.reject=null,g.resolve=null},{promise:f,cancel:d}=e.fetch(c.items.map(h=>h.key),u);c.cancel=d,f.then(h=>{var m;for(let g=0;g<h.length;g++){const p=h[g];u(g,p)}for(const g of c.items)(m=g.reject)==null||m.call(g,new Error("Missing result")),g.batch=null}).catch(h=>{var m;for(const g of c.items)(m=g.reject)==null||m.call(g,h),g.batch=null})}}function s(a){const l={aborted:!1,key:a,batch:null,resolve:Vl,reject:Vl},c=new Promise((f,d)=>{l.reject=d,l.resolve=f,t||(t=[]),t.push(l)});return n||(n=setTimeout(i)),{promise:c,cancel:()=>{var f;l.aborted=!0,(f=l.batch)!=null&&f.items.every(d=>d.aborted)&&(l.batch.cancel(),l.batch=null)}}}return{load:s}}function dk(e){return function(n){const o=ik(n),r=n.maxURLLength??1/0;return i=>{const s=f=>{const d=m=>{if(r===1/0)return!0;const g=m.map(E=>E.path).join(","),p=m.map(E=>E.input);return fy({...o,runtime:i,type:f,path:g,inputs:p}).length<=r},h=e({...o,runtime:i,type:f,opts:n});return{validate:d,fetch:h}},a=Fl(s("query")),l=Fl(s("mutation")),c=Fl(s("subscription")),u={query:a,subscription:c,mutation:l};return({op:f})=>oy(d=>{const h=u[f.type],{promise:m,cancel:g}=h.load(f);let p;return m.then(_=>{p=_;const E=ek(_.json,i);if(!E.ok){d.error(rn.from(E.error,{meta:_.meta}));return}d.next({context:_.meta,result:E.result}),d.complete()}).catch(_=>{d.error(rn.from(_,{meta:p==null?void 0:p.meta}))}),()=>{g()}})}}}const hk=e=>t=>{const n=t.map(s=>s.path).join(","),o=t.map(s=>s.input),{promise:r,cancel:i}=uk({...e,path:n,inputs:o,headers(){return e.opts.headers?typeof e.opts.headers=="function"?e.opts.headers({opList:t}):e.opts.headers:{}}});return{promise:r.then(s=>(Array.isArray(s.json)?s.json:t.map(()=>s.json)).map(c=>({meta:s.meta,json:c}))),cancel:i}},gk=dk(hk);class mk{$request({type:t,input:n,path:o,context:r={}}){return KE({links:this.links,op:{id:++this.requestId,type:t,path:o,input:n,context:r}}).pipe(GE())}requestAsPromise(t){const n=this.$request(t),{promise:o,abort:r}=XE(n);return new Promise((s,a)=>{var l;(l=t.signal)==null||l.addEventListener("abort",r),o.then(c=>{s(c.result.data)}).catch(c=>{a(rn.from(c))})})}query(t,n,o){return this.requestAsPromise({type:"query",path:t,input:n,context:o==null?void 0:o.context,signal:o==null?void 0:o.signal})}mutation(t,n,o){return this.requestAsPromise({type:"mutation",path:t,input:n,context:o==null?void 0:o.context,signal:o==null?void 0:o.signal})}subscription(t,n,o){return this.$request({type:"subscription",path:t,input:n,context:o==null?void 0:o.context}).subscribe({next(i){var s,a,l;i.result.type==="started"?(s=o.onStarted)==null||s.call(o):i.result.type==="stopped"?(a=o.onStopped)==null||a.call(o):(l=o.onData)==null||l.call(o,i.result.data)},error(i){var s;(s=o.onError)==null||s.call(o,i)},complete(){var i;(i=o.onComplete)==null||i.call(o)}})}constructor(t){this.requestId=0;const n=(()=>{const o=t.transformer;return o?"input"in o?t.transformer:{input:o,output:o}:{input:{serialize:r=>r,deserialize:r=>r},output:{serialize:r=>r,deserialize:r=>r}}})();this.runtime={transformer:{serialize:o=>n.input.serialize(o),deserialize:o=>n.output.deserialize(o)},combinedTransformer:n},this.links=t.links.map(o=>o(this.runtime))}}const vk={query:"query",mutate:"mutation",subscribe:"subscription"},pk=e=>vk[e];function yk(e){return uy(t=>e.hasOwnProperty(t)?e[t]:t==="__untypedClient"?e:ly(({path:n,args:o})=>{const r=[t,...n],i=pk(r.pop()),s=r.join(".");return e[i](s,...o)}))}function bk(e){const t=new mk(e);return yk(t)}function _k(e,t){return t===void 0?e:`${e}-${sx(t||"")}`}function wk(e){return Me(e)||typeof e=="function"}function _h(e){let t;return e!=null&&e.abortOnUnmount&&(Bt()&&an(()=>{var n;(n=t==null?void 0:t.abort)==null||n.call(t)}),t=typeof AbortController<"u"?new AbortController:{}),t}function Sk(e,t){return ly(n=>{const o=n.args,r=[e,...n.path],i=r.pop(),s=r.join("."),[a,l]=o;if(i==="_def")return{path:r};if(["useQuery","useLazyQuery"].includes(i)){const{trpc:c,queryKey:u,...f}=l||{},d=_h(c),h=u||_k(s,Ie(a)),m=f.watch===!1?[]:wk(a)?[...f.watch||[],a]:f.watch,g=i==="useLazyQuery"?!0:f.lazy||!1;return yh(h,()=>t[s].query(Ie(a),{signal:d==null?void 0:d.signal,...c}),{...f,watch:m,lazy:g})}if(i==="useMutation"){const{trpc:c,...u}=l||{},f=se(null),d=_h(c),h=yh(()=>t[s].mutate(f.value,{signal:d==null?void 0:d.signal,...c}),{...u,immediate:!1},"$fvSEnrAElb");async function m(g){return f.value=g,await h.execute(),$e(h.data.value)}return Object.assign(h,{mutate:m}),h}return t[s][i](...o)})}function xk(e){return e instanceof Error&&e.name==="FetchError"}function Ck(e,t){return globalThis.$fetch.raw(e.toString(),t).catch(n=>{if(xk(n)&&n.response)return n.response;throw n}).then(n=>({...n,headers:n.headers,json:()=>Promise.resolve(n._data)}))}function Ek(e){const t=FE(e==null?void 0:e.pickHeaders);return gk({url:"/api/trpc",headers(){return t},fetch:Ck,...e})}function kk(e){const t=bk(e);return uy(o=>Sk(o,t))}const $k=$t(()=>({provide:{client:kk({links:[Ek({url:"/api"})]})}})),wh=!1;function Tk(){return{theme:{defaultTheme:"dark"},ssr:!0}}function eo(e,t){let n;function o(){n=$r(),n.run(()=>t.length?t(()=>{n==null||n.stop(),o()}):t())}ue(e,r=>{r&&!n?o():r||(n==null||n.stop(),n=void 0)},{immediate:!0}),an(()=>{n==null||n.stop()})}function Rn(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f=>f,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:f=>f;const i=mt("useProxiedModel"),s=se(e[t]!==void 0?e[t]:n),a=ko(t),c=H(a!==t?()=>{var f,d,h,m;return e[t],!!(((f=i.vnode.props)!=null&&f.hasOwnProperty(t)||(d=i.vnode.props)!=null&&d.hasOwnProperty(a))&&((h=i.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${t}`)||(m=i.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var f,d;return e[t],!!((f=i.vnode.props)!=null&&f.hasOwnProperty(t)&&((d=i.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`)))});eo(()=>!c.value,()=>{ue(()=>e[t],f=>{s.value=f})});const u=H({get(){const f=e[t];return o(c.value?f:s.value)},set(f){const d=r(f),h=$e(c.value?e[t]:s.value);h===d||o(h)===f||(s.value=d,i==null||i.emit(`update:${t}`,d))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:s.value}),u}const Ik={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},Sh="$vuetify.",xh=(e,t)=>e.replace(/\{(\d+)\}/g,(n,o)=>String(t[+o])),dy=(e,t,n)=>function(o){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];if(!o.startsWith(Sh))return xh(o,i);const a=o.replace(Sh,""),l=e.value&&n.value[e.value],c=t.value&&n.value[t.value];let u=Qd(l,a,null);return u||(`${o}${e.value}`,u=Qd(c,a,null)),u||(u=o),typeof u!="string"&&(u=o),xh(u,i)};function hy(e,t){return(n,o)=>new Intl.NumberFormat([e.value,t.value],o).format(n)}function zl(e,t,n){const o=Rn(e,t,e[t]??n.value);return o.value=e[t]??n.value,ue(n,r=>{e[t]==null&&(o.value=n.value)}),o}function gy(e){return t=>{const n=zl(t,"locale",e.current),o=zl(t,"fallback",e.fallback),r=zl(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:o,messages:r,t:dy(n,o,r),n:hy(n,o),provide:gy({current:n,fallback:o,messages:r})}}}function Pk(e){const t=Ee((e==null?void 0:e.locale)??"en"),n=Ee((e==null?void 0:e.fallback)??"en"),o=se({en:Ik,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:o,t:dy(t,n,o),n:hy(t,n),provide:gy({current:t,fallback:n,messages:o})}}const la=Symbol.for("vuetify:locale");function Nk(e){return e.name!=null}function Mk(e){const t=e!=null&&e.adapter&&Nk(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:Pk(e),n=Dk(t,e);return{...t,...n}}function my(){const e=Ve(la);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function Ak(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function Dk(e,t){const n=se((t==null?void 0:t.rtl)??Ak()),o=H(()=>n.value[e.current.value]??!1);return{isRtl:o,rtl:n,rtlClasses:H(()=>`v-locale--is-${o.value?"rtl":"ltr"}`)}}function ao(){const e=Ve(la);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Xa={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function Ok(e,t,n){const o=[];let r=[];const i=vy(e),s=py(e),a=n??Xa[t.slice(-2).toUpperCase()]??0,l=(i.getDay()-a+7)%7,c=(s.getDay()-a+7)%7;for(let u=0;u<l;u++){const f=new Date(i);f.setDate(f.getDate()-(l-u)),r.push(f)}for(let u=1;u<=s.getDate();u++){const f=new Date(e.getFullYear(),e.getMonth(),u);r.push(f),r.length===7&&(o.push(r),r=[])}for(let u=1;u<7-c;u++){const f=new Date(s);f.setDate(f.getDate()+u),r.push(f)}return r.length>0&&o.push(r),o}function Rk(e,t,n){const o=n??Xa[t.slice(-2).toUpperCase()]??0,r=new Date(e);for(;r.getDay()!==o;)r.setDate(r.getDate()-1);return r}function Bk(e,t){const n=new Date(e),o=((Xa[t.slice(-2).toUpperCase()]??0)+6)%7;for(;n.getDay()!==o;)n.setDate(n.getDate()+1);return n}function vy(e){return new Date(e.getFullYear(),e.getMonth(),1)}function py(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Lk(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const Hk=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function yy(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(Hk.test(e))return Lk(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Ch=new Date(2e3,0,2);function Vk(e,t){const n=t??Xa[e.slice(-2).toUpperCase()]??0;return Vp(7).map(o=>{const r=new Date(Ch);return r.setDate(Ch.getDate()+n+o),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(r)})}function Fk(e,t,n,o){const r=yy(e)??new Date,i=o==null?void 0:o[t];if(typeof i=="function")return i(r,t,n);let s={};switch(t){case"fullDate":s={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":s={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const a=r.getDate(),l=new Intl.DateTimeFormat(n,{month:"long"}).format(r);return`${a} ${l}`;case"normalDateWithWeekday":s={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":s={month:"short",day:"numeric"};break;case"year":s={year:"numeric"};break;case"month":s={month:"long"};break;case"monthShort":s={month:"short"};break;case"monthAndYear":s={month:"long",year:"numeric"};break;case"monthAndDate":s={month:"long",day:"numeric"};break;case"weekday":s={weekday:"long"};break;case"weekdayShort":s={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(r.getDate());case"hours12h":s={hour:"numeric",hour12:!0};break;case"hours24h":s={hour:"numeric",hour12:!1};break;case"minutes":s={minute:"numeric"};break;case"seconds":s={second:"numeric"};break;case"fullTime":s={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":s={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":s={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":s={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":s={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":s={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":s={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:s=i??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,s).format(r)}function zk(e,t){const n=e.toJsDate(t),o=n.getFullYear(),r=rh(String(n.getMonth()+1),2,"0"),i=rh(String(n.getDate()),2,"0");return`${o}-${r}-${i}`}function Uk(e){const[t,n,o]=e.split("-").map(Number);return new Date(t,n-1,o)}function Wk(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function jk(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function Yk(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function Gk(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function Xk(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function Kk(e){return e.getFullYear()}function qk(e){return e.getMonth()}function Zk(e){return e.getDate()}function Jk(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function Qk(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function e$(e){return e.getHours()}function t$(e){return e.getMinutes()}function n$(e){return new Date(e.getFullYear(),0,1)}function o$(e){return new Date(e.getFullYear(),11,31)}function r$(e,t){return ua(e,t[0])&&a$(e,t[1])}function i$(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function ua(e,t){return e.getTime()>t.getTime()}function s$(e,t){return ua(zu(e),zu(t))}function a$(e,t){return e.getTime()<t.getTime()}function Eh(e,t){return e.getTime()===t.getTime()}function l$(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function u$(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function c$(e,t){return e.getFullYear()===t.getFullYear()}function f$(e,t,n){const o=new Date(e),r=new Date(t);switch(n){case"years":return o.getFullYear()-r.getFullYear();case"quarters":return Math.floor((o.getMonth()-r.getMonth()+(o.getFullYear()-r.getFullYear())*12)/4);case"months":return o.getMonth()-r.getMonth()+(o.getFullYear()-r.getFullYear())*12;case"weeks":return Math.floor((o.getTime()-r.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((o.getTime()-r.getTime())/(1e3*60*60*24));case"hours":return Math.floor((o.getTime()-r.getTime())/(1e3*60*60));case"minutes":return Math.floor((o.getTime()-r.getTime())/(1e3*60));case"seconds":return Math.floor((o.getTime()-r.getTime())/1e3);default:return o.getTime()-r.getTime()}}function d$(e,t){const n=new Date(e);return n.setHours(t),n}function h$(e,t){const n=new Date(e);return n.setMinutes(t),n}function g$(e,t){const n=new Date(e);return n.setMonth(t),n}function m$(e,t){const n=new Date(e);return n.setDate(t),n}function v$(e,t){const n=new Date(e);return n.setFullYear(t),n}function zu(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function p$(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class y${constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return yy(t)}toJsDate(t){return t}toISO(t){return zk(this,t)}parseISO(t){return Uk(t)}addMinutes(t,n){return Wk(t,n)}addHours(t,n){return jk(t,n)}addDays(t,n){return Yk(t,n)}addWeeks(t,n){return Gk(t,n)}addMonths(t,n){return Xk(t,n)}getWeekArray(t,n){return Ok(t,this.locale,n?Number(n):void 0)}startOfWeek(t,n){return Rk(t,this.locale,n?Number(n):void 0)}endOfWeek(t){return Bk(t,this.locale)}startOfMonth(t){return vy(t)}endOfMonth(t){return py(t)}format(t,n){return Fk(t,n,this.locale,this.formats)}isEqual(t,n){return Eh(t,n)}isValid(t){return i$(t)}isWithinRange(t,n){return r$(t,n)}isAfter(t,n){return ua(t,n)}isAfterDay(t,n){return s$(t,n)}isBefore(t,n){return!ua(t,n)&&!Eh(t,n)}isSameDay(t,n){return l$(t,n)}isSameMonth(t,n){return u$(t,n)}isSameYear(t,n){return c$(t,n)}setMinutes(t,n){return h$(t,n)}setHours(t,n){return d$(t,n)}setMonth(t,n){return g$(t,n)}setDate(t,n){return m$(t,n)}setYear(t,n){return v$(t,n)}getDiff(t,n,o){return f$(t,n,o)}getWeekdays(t){return Vk(this.locale,t?Number(t):void 0)}getYear(t){return Kk(t)}getMonth(t){return qk(t)}getDate(t){return Zk(t)}getNextMonth(t){return Jk(t)}getPreviousMonth(t){return Qk(t)}getHours(t){return e$(t)}getMinutes(t){return t$(t)}startOfDay(t){return zu(t)}endOfDay(t){return p$(t)}startOfYear(t){return n$(t)}endOfYear(t){return o$(t)}}const b$=Symbol.for("vuetify:date-options"),kh=Symbol.for("vuetify:date-adapter");function _$(e,t){const n=dt({adapter:y$,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:n,instance:w$(n,t)}}function w$(e,t){const n=We(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return ue(t.current,o=>{n.locale=e.locale[o]??o??n.locale}),n}const Uu=Symbol.for("vuetify:display"),$h={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},S$=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$h;return dt($h,e)};function Th(e){return ft&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function Ih(e){return ft&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Ph(e){const t=ft&&!e?window.navigator.userAgent:"ssr";function n(m){return!!t.match(m)}const o=n(/android/i),r=n(/iphone|ipad|ipod/i),i=n(/cordova/i),s=n(/electron/i),a=n(/chrome/i),l=n(/edge/i),c=n(/firefox/i),u=n(/opera/i),f=n(/win/i),d=n(/mac/i),h=n(/linux/i);return{android:o,ios:r,cordova:i,electron:s,chrome:a,edge:l,firefox:c,opera:u,win:f,mac:d,linux:h,touch:IC,ssr:t==="ssr"}}function x$(e,t){const{thresholds:n,mobileBreakpoint:o}=S$(e),r=Ee(Ih(t)),i=Ee(Ph(t)),s=We({}),a=Ee(Th(t));function l(){r.value=Ih(),a.value=Th()}function c(){l(),i.value=Ph()}return so(()=>{const u=a.value<n.sm,f=a.value<n.md&&!u,d=a.value<n.lg&&!(f||u),h=a.value<n.xl&&!(d||f||u),m=a.value<n.xxl&&!(h||d||f||u),g=a.value>=n.xxl,p=u?"xs":f?"sm":d?"md":h?"lg":m?"xl":"xxl",_=typeof o=="number"?o:n[o],E=a.value<_;s.xs=u,s.sm=f,s.md=d,s.lg=h,s.xl=m,s.xxl=g,s.smAndUp=!u,s.mdAndUp=!(u||f),s.lgAndUp=!(u||f||d),s.xlAndUp=!(u||f||d||h),s.smAndDown=!(d||h||m||g),s.mdAndDown=!(h||m||g),s.lgAndDown=!(m||g),s.xlAndDown=!g,s.name=p,s.height=r.value,s.width=a.value,s.mobile=E,s.mobileBreakpoint=o,s.platform=i.value,s.thresholds=n}),ft&&window.addEventListener("resize",l,{passive:!0}),{...Bi(s),update:c,ssr:!!t}}const by=he({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function _y(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();const n=Ve(Uu);if(!n)throw new Error("Could not find Vuetify display injection");const o=H(()=>{if(e.mobile!=null)return e.mobile;if(!e.mobileBreakpoint)return n.mobile.value;const i=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.value<i}),r=H(()=>t?{[`${t}--mobile`]:o.value}:{});return{...n,displayClasses:r,mobile:o}}const wy=Symbol.for("vuetify:goto");function Sy(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function C$(e){return af(e)??(document.scrollingElement||document.body)}function af(e){return typeof e=="string"?document.querySelector(e):Fp(e)}function Ul(e,t,n){if(typeof e=="number")return t&&n?-e:e;let o=af(e),r=0;for(;o;)r+=t?o.offsetLeft:o.offsetTop,o=o.offsetParent;return r}function E$(e,t){return{rtl:t.isRtl,options:dt(Sy(),e)}}async function Nh(e,t,n,o){const r=n?"scrollLeft":"scrollTop",i=dt((o==null?void 0:o.options)??Sy(),t),s=o==null?void 0:o.rtl.value,a=(typeof e=="number"?e:af(e))??0,l=i.container==="parent"&&a instanceof HTMLElement?a.parentElement:C$(i.container),c=typeof i.easing=="function"?i.easing:i.patterns[i.easing];if(!c)throw new TypeError(`Easing function "${i.easing}" not found.`);let u;if(typeof a=="number")u=Ul(a,n,s);else if(u=Ul(a,n,s)-Ul(l,n,s),i.layout){const m=window.getComputedStyle(a).getPropertyValue("--v-layout-top");m&&(u-=parseInt(m,10))}u+=i.offset,u=$$(l,u,!!s,!!n);const f=l[r]??0;if(u===f)return Promise.resolve(u);const d=performance.now();return new Promise(h=>requestAnimationFrame(function m(g){const _=(g-d)/i.duration,E=Math.floor(f+(u-f)*c(pi(_,0,1)));if(l[r]=E,_>=1&&Math.abs(E-l[r])<10)return h(u);if(_>2)return h(l[r]);requestAnimationFrame(m)}))}function k$(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=Ve(wy),{isRtl:n}=ao();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const o={...t,rtl:H(()=>t.rtl.value||n.value)};async function r(i,s){return Nh(i,dt(e,s),!1,o)}return r.horizontal=async(i,s)=>Nh(i,dt(e,s),!0,o),r}function $$(e,t,n,o){const{scrollWidth:r,scrollHeight:i}=e,[s,a]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let l,c;return o?n?(l=-(r-s),c=0):(l=0,c=r-s):(l=0,c=i+-a),Math.max(Math.min(t,c),l)}const ca=Symbol.for("vuetify:theme"),wt=he({theme:String},"theme");function Mh(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function T$(){var o,r;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mh();const t=Mh();if(!e)return{...t,isDisabled:!0};const n={};for(const[i,s]of Object.entries(e.themes??{})){const a=s.dark||i==="dark"?(o=t.themes)==null?void 0:o.dark:(r=t.themes)==null?void 0:r.light;n[i]=dt(a,s)}return dt(t,{...e,themes:n})}function I$(e){const t=T$(e),n=se(t.defaultTheme),o=se(t.themes),r=H(()=>{const u={};for(const[f,d]of Object.entries(o.value)){const h=u[f]={...d,colors:{...d.colors}};if(t.variations)for(const m of t.variations.colors){const g=h.colors[m];if(g)for(const p of["lighten","darken"]){const _=p==="lighten"?gE:mE;for(const E of Vp(t.variations[p],1))h.colors[`${m}-${p}-${E}`]=fE(_(on(g),E))}}for(const m of Object.keys(h.colors)){if(/^on-[a-z]/.test(m)||h.colors[`on-${m}`])continue;const g=`on-${m}`,p=on(h.colors[m]);h.colors[g]=qp(p)}}return u}),i=H(()=>r.value[n.value]),s=H(()=>{var m;const u=[];(m=i.value)!=null&&m.dark&&go(u,":root",["color-scheme: dark"]),go(u,":root",Ah(i.value));for(const[g,p]of Object.entries(r.value))go(u,`.v-theme--${g}`,[`color-scheme: ${p.dark?"dark":"normal"}`,...Ah(p)]);const f=[],d=[],h=new Set(Object.values(r.value).flatMap(g=>Object.keys(g.colors)));for(const g of h)/^on-[a-z]/.test(g)?go(d,`.${g}`,[`color: rgb(var(--v-theme-${g})) !important`]):(go(f,`.bg-${g}`,[`--v-theme-overlay-multiplier: var(--v-theme-${g}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${g})) !important`,`color: rgb(var(--v-theme-on-${g})) !important`]),go(d,`.text-${g}`,[`color: rgb(var(--v-theme-${g})) !important`]),go(d,`.border-${g}`,[`--v-border-color: var(--v-theme-${g})`]));return u.push(...f,...d),u.map((g,p)=>p===0?g:` ${g}`).join("")});function a(){return{style:[{children:s.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(u){if(t.isDisabled)return;const f=u._context.provides.usehead;if(f)if(f.push){const d=f.push(a);ft&&ue(s,()=>{d.patch(a)})}else ft?(f.addHeadObjs(H(a)),so(()=>f.updateDOM())):f.addHeadObjs(a());else{let h=function(){if(typeof document<"u"&&!d){const m=document.createElement("style");m.type="text/css",m.id="vuetify-theme-stylesheet",t.cspNonce&&m.setAttribute("nonce",t.cspNonce),d=m,document.head.appendChild(d)}d&&(d.innerHTML=s.value)},d=ft?document.getElementById("vuetify-theme-stylesheet"):null;ft?ue(s,h,{immediate:!0}):h()}}const c=H(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:o,current:i,computedThemes:r,themeClasses:c,styles:s,global:{name:n,current:i}}}function Tt(e){mt("provideTheme");const t=Ve(ca,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=H(()=>e.theme??t.name.value),o=H(()=>t.themes.value[n.value]),r=H(()=>t.isDisabled?void 0:`v-theme--${n.value}`),i={...t,name:n,current:o,themeClasses:r};return st(ca,i),i}function go(e,t,n){e.push(`${t} {
27
+ `,...n.map(o=>` ${o};
28
+ `),`}
29
+ `)}function Ah(e){const t=e.dark?2:1,n=e.dark?1:2,o=[];for(const[r,i]of Object.entries(e.colors)){const s=on(i);o.push(`--v-theme-${r}: ${s.r},${s.g},${s.b}`),r.startsWith("on-")||o.push(`--v-theme-${r}-overlay-multiplier: ${vE(i)>.18?t:n}`)}for(const[r,i]of Object.entries(e.variables)){const s=typeof i=="string"&&i.startsWith("#")?on(i):void 0,a=s?`${s.r}, ${s.g}, ${s.b}`:void 0;o.push(`--v-${r}: ${a??i}`)}return o}function fa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=WC(),o=se();if(ft){const r=new ResizeObserver(i=>{i.length&&(t==="content"?o.value=i[0].contentRect:o.value=i[0].target.getBoundingClientRect())});kt(()=>{r.disconnect()}),ue(()=>n.el,(i,s)=>{s&&(r.unobserve(s),o.value=void 0),i&&r.observe(i)},{flush:"post"})}return{resizeRef:n,contentRect:Ri(o)}}const da=Symbol.for("vuetify:layout"),xy=Symbol.for("vuetify:layout-item"),Dh=1e3,P$=he({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Cy=he({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function N$(){const e=Ve(da);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Ey(e){const t=Ve(da);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${zo()}`,o=mt("useLayoutItem");st(xy,{id:n});const r=Ee(!1);lv(()=>r.value=!0),av(()=>r.value=!1);const{layoutItemStyles:i,layoutItemScrimStyles:s}=t.register(o,{...e,active:H(()=>r.value?!1:e.active.value),id:n});return kt(()=>t.unregister(n)),{layoutItemStyles:i,layoutRect:t.layoutRect,layoutItemScrimStyles:s}}const M$=(e,t,n,o)=>{let r={top:0,left:0,right:0,bottom:0};const i=[{id:"",layer:{...r}}];for(const s of e){const a=t.get(s),l=n.get(s),c=o.get(s);if(!a||!l||!c)continue;const u={...r,[a.value]:parseInt(r[a.value],10)+(c.value?parseInt(l.value,10):0)};i.push({id:s,layer:u}),r=u}return i};function A$(e){const t=Ve(da,null),n=H(()=>t?t.rootZIndex.value-100:Dh),o=se([]),r=We(new Map),i=We(new Map),s=We(new Map),a=We(new Map),l=We(new Map),{resizeRef:c,contentRect:u}=fa(),f=H(()=>{const k=new Map,D=e.overlaps??[];for(const R of D.filter(A=>A.includes(":"))){const[A,P]=R.split(":");if(!o.value.includes(A)||!o.value.includes(P))continue;const z=r.get(A),C=r.get(P),j=i.get(A),y=i.get(P);!z||!C||!j||!y||(k.set(P,{position:z.value,amount:parseInt(j.value,10)}),k.set(A,{position:C.value,amount:-parseInt(y.value,10)}))}return k}),d=H(()=>{const k=[...new Set([...s.values()].map(R=>R.value))].sort((R,A)=>R-A),D=[];for(const R of k){const A=o.value.filter(P=>{var z;return((z=s.get(P))==null?void 0:z.value)===R});D.push(...A)}return M$(D,r,i,a)}),h=H(()=>!Array.from(l.values()).some(k=>k.value)),m=H(()=>d.value[d.value.length-1].layer),g=H(()=>({"--v-layout-left":Ne(m.value.left),"--v-layout-right":Ne(m.value.right),"--v-layout-top":Ne(m.value.top),"--v-layout-bottom":Ne(m.value.bottom),...h.value?void 0:{transition:"none"}})),p=H(()=>d.value.slice(1).map((k,D)=>{let{id:R}=k;const{layer:A}=d.value[D],P=i.get(R),z=r.get(R);return{id:R,...A,size:Number(P.value),position:z.value}})),_=k=>p.value.find(D=>D.id===k),E=mt("createLayout"),v=Ee(!1);ot(()=>{v.value=!0}),st(da,{register:(k,D)=>{let{id:R,order:A,position:P,layoutSize:z,elementSize:C,active:j,disableTransitions:y,absolute:O}=D;s.set(R,A),r.set(R,P),i.set(R,z),a.set(R,j),y&&l.set(R,y);const L=ir(xy,E==null?void 0:E.vnode).indexOf(k);L>-1?o.value.splice(L,0,R):o.value.push(R);const B=H(()=>p.value.findIndex(q=>q.id===R)),U=H(()=>n.value+d.value.length*2-B.value*2),V=H(()=>{const q=P.value==="left"||P.value==="right",Q=P.value==="right",J=P.value==="bottom",te=C.value??z.value,ge=te===0?"%":"px",le={[P.value]:0,zIndex:U.value,transform:`translate${q?"X":"Y"}(${(j.value?0:-(te===0?100:te))*(Q||J?-1:1)}${ge})`,position:O.value||n.value!==Dh?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!v.value)return le;const ce=p.value[B.value];if(!ce)throw new Error(`[Vuetify] Could not find layout item "${R}"`);const ve=f.value.get(R);return ve&&(ce[ve.position]+=ve.amount),{...le,height:q?`calc(100% - ${ce.top}px - ${ce.bottom}px)`:C.value?`${C.value}px`:void 0,left:Q?void 0:`${ce.left}px`,right:Q?`${ce.right}px`:void 0,top:P.value!=="bottom"?`${ce.top}px`:void 0,bottom:P.value!=="top"?`${ce.bottom}px`:void 0,width:q?C.value?`${C.value}px`:void 0:`calc(100% - ${ce.left}px - ${ce.right}px)`}}),W=H(()=>({zIndex:U.value-1}));return{layoutItemStyles:V,layoutItemScrimStyles:W,zIndex:U}},unregister:k=>{s.delete(k),r.delete(k),i.delete(k),a.delete(k),l.delete(k),o.value=o.value.filter(D=>D!==k)},mainRect:m,mainStyles:g,getLayoutItem:_,items:p,layoutRect:u,rootZIndex:n});const w=H(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),I=H(()=>({zIndex:t?n.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:w,layoutStyles:I,getLayoutItem:_,items:p,layoutRect:u,layoutRef:c}}function ky(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,o=dt(t,n),{aliases:r={},components:i={},directives:s={}}=o,a=yE(o.defaults),l=x$(o.display,o.ssr),c=I$(o.theme),u=xE(o.icons),f=Mk(o.locale),d=_$(o.date,f),h=E$(o.goTo,f);return{install:g=>{for(const p in s)g.directive(p,s[p]);for(const p in i)g.component(p,i[p]);for(const p in r)g.component(p,Wi({...r[p],name:p,aliasName:r[p].name}));if(c.install(g),g.provide(br,a),g.provide(Uu,l),g.provide(ca,c),g.provide(Fu,u),g.provide(la,f),g.provide(b$,d.options),g.provide(kh,d.instance),g.provide(wy,h),ft&&o.ssr)if(g.$nuxt)g.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:p}=g;g.mount=function(){const _=p(...arguments);return Ze(()=>l.update()),g.mount=p,_}}zo.reset(),g.mixin({computed:{$vuetify(){return We({defaults:Zo.call(this,br),display:Zo.call(this,Uu),theme:Zo.call(this,ca),icons:Zo.call(this,Fu),locale:Zo.call(this,la),date:Zo.call(this,kh)})}}})},defaults:a,display:l,theme:c,icons:u,locale:f,date:d,goTo:h}}const D$="3.7.4";ky.version=D$;function Zo(e){var o,r;const t=this.$,n=((o=t.parent)==null?void 0:o.provides)??((r=t.vnode.appContext)==null?void 0:r.provides);if(n&&e in n)return n[e]}const O$=$t({name:"vuetify:nuxt:client:plugin",order:25,dependsOn:["vuetify:icons:plugin"],parallel:!0,async setup(e){let t,n;const o=Tk();[t,n]=ri(()=>e.hooks.callHook("vuetify:configuration",{isDev:wh,vuetifyOptions:o})),await t,n(),[t,n]=ri(()=>e.hooks.callHook("vuetify:before-create",{isDev:wh,vuetifyOptions:o})),await t,n();const r=ky(o);e.vueApp.use(r),e.provide("vuetify",r),[t,n]=ri(()=>e.hooks.callHook("vuetify:ready",r)),await t,n()}}),R$=[kC,TC,$E,IE,ME,AE,DE,OE,BE,zE,UE,WE,$k,O$],B$="modulepreload",L$=function(e,t){return new URL(e,t).href},Oh={},Rh=function(t,n,o){let r=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=L$(c,o),c in Oh)return;Oh[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!o)for(let m=s.length-1;m>=0;m--){const g=s[m];if(g.href===c&&(!u||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":B$,u||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((m,g)=>{h.addEventListener("load",m),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return r.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},ai=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ka=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const a=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:a};return t&&!Ns(c)?null:c}const i=r[0],s=i.split("-");if(s.length>1){const a={provider:o,prefix:s.shift(),name:s.join("-")};return t&&!Ns(a)?null:a}if(n&&o===""){const a={provider:o,prefix:"",name:i};return t&&!Ns(a,n)?null:a}return null},Ns=(e,t)=>e?!!((e.provider===""||e.provider.match(ai))&&(t&&e.prefix===""||e.prefix.match(ai))&&e.name.match(ai)):!1,$y=Object.freeze({left:0,top:0,width:16,height:16}),ha=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),qa=Object.freeze({...$y,...ha}),Wu=Object.freeze({...qa,body:"",hidden:!1});function H$(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Bh(e,t){const n=H$(e,t);for(const o in Wu)o in ha?o in e&&!(o in n)&&(n[o]=ha[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function V$(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(s){if(n[s])return r[s]=[];if(!(s in r)){r[s]=null;const a=o[s]&&o[s].parent,l=a&&i(a);l&&(r[s]=[a].concat(l))}return r[s]}return Object.keys(n).concat(Object.keys(o)).forEach(i),r}function F$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function s(a){i=Bh(o[a]||r[a],i)}return s(t),n.forEach(s),Bh(e,i)}function Ty(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=V$(e);for(const r in o){const i=o[r];i&&(t(r,F$(e,r,i)),n.push(r))}return n}const z$={provider:"",aliases:{},not_found:{},...$y};function Wl(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Iy(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Wl(e,z$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(ai)||typeof i.body!="string"||!Wl(i,Wu))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],s=i.parent;if(!r.match(ai)||typeof s!="string"||!n[s]&&!o[s]||!Wl(i,Wu))return null}return t}const Lh=Object.create(null);function U$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Oo(e,t){const n=Lh[e]||(Lh[e]=Object.create(null));return n[t]||(n[t]=U$(e,t))}function lf(e,t){return Iy(t)?Ty(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function W$(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let bi=!1;function Py(e){return typeof e=="boolean"&&(bi=e),bi}function j$(e){const t=typeof e=="string"?Ka(e,!0,bi):e;if(t){const n=Oo(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function Y$(e,t){const n=Ka(e,!0,bi);if(!n)return!1;const o=Oo(n.provider,n.prefix);return W$(o,n.name,t)}function G$(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),bi&&!t&&!e.prefix){let r=!1;return Iy(e)&&(e.prefix="",Ty(e,(i,s)=>{s&&Y$(i,s)&&(r=!0)})),r}const n=e.prefix;if(!Ns({provider:t,prefix:n,name:"a"}))return!1;const o=Oo(t,n);return!!lf(o,e)}const Ny=Object.freeze({width:null,height:null}),My=Object.freeze({...Ny,...ha}),X$=/(-?[0-9.]*[0-9]+[0-9.]*)/g,K$=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Hh(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(X$);if(o===null||!o.length)return e;const r=[];let i=o.shift(),s=K$.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?r.push(i):r.push(Math.ceil(a*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");s=!s}}function q$(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),i=e.indexOf("</"+t);if(r===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,o).trim()+e.slice(s+1)}return{defs:n,content:e}}function Z$(e,t){return e?"<defs>"+e+"</defs>"+t:t}function J$(e,t,n){const o=q$(e);return Z$(o.defs,t+o.content+n)}const Q$=e=>e==="unset"||e==="undefined"||e==="none";function eT(e,t){const n={...qa,...e},o={...My,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(g=>{const p=[],_=g.hFlip,E=g.vFlip;let v=g.rotate;_?E?v+=2:(p.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),p.push("scale(-1 1)"),r.top=r.left=0):E&&(p.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),p.push("scale(1 -1)"),r.top=r.left=0);let w;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:w=r.height/2+r.top,p.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:p.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:w=r.width/2+r.left,p.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}v%2===1&&(r.left!==r.top&&(w=r.left,r.left=r.top,r.top=w),r.width!==r.height&&(w=r.width,r.width=r.height,r.height=w)),p.length&&(i=J$(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=o.width,a=o.height,l=r.width,c=r.height;let u,f;s===null?(f=a===null?"1em":a==="auto"?c:a,u=Hh(f,l/c)):(u=s==="auto"?l:s,f=a===null?Hh(u,c/l):a==="auto"?c:a);const d={},h=(g,p)=>{Q$(p)||(d[g]=p.toString())};h("width",u),h("height",f);const m=[r.left,r.top,l,c];return d.viewBox=m.join(" "),{attributes:d,viewBox:m,body:i}}const tT=/\sid="(\S+)"/g,nT="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let oT=0;function rT(e,t=nT){const n=[];let o;for(;o=tT.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const s=typeof t=="function"?t(i):t+(oT++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const ju=Object.create(null);function iT(e,t){ju[e]=t}function Yu(e){return ju[e]||ju[""]}function uf(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const cf=Object.create(null),zr=["https://api.simplesvg.com","https://api.unisvg.com"],Ms=[];for(;zr.length>0;)zr.length===1||Math.random()>.5?Ms.push(zr.shift()):Ms.push(zr.pop());cf[""]=uf({resources:["https://api.iconify.design"].concat(Ms)});function sT(e,t){const n=uf(t);return n===null?!1:(cf[e]=n,!0)}function ff(e){return cf[e]}const aT=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Vh=aT();function lT(e,t){const n=ff(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(s=>{r=Math.max(r,s.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function uT(e){return e===404}const cT=(e,t,n)=>{const o=[],r=lT(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=r&&c>0&&(o.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=l.length),s.icons.push(l)}),o.push(s),o};function fT(e){if(typeof e=="string"){const t=ff(e);if(t)return t.path}return"/"}const dT=(e,t,n)=>{if(!Vh){n("abort",424);return}let o=fT(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});o+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;Vh(e+o).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{n(uT(s)?"abort":"next",s)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},hT={prepare:cT,send:dT};function gT(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,s=r.prefix,a=r.name,l=n[i]||(n[i]=Object.create(null)),c=l[s]||(l[s]=Oo(i,s));let u;a in c.icons?u=t.loaded:s===""||c.missing.has(a)?u=t.missing:u=t.pending;const f={provider:i,prefix:s,name:a};u.push(f)}),t}function Ay(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function mT(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])s.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))s.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Ay([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let vT=0;function pT(e,t,n){const o=vT++,r=Ay.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),r}function yT(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?Ka(r,t,n):r;i&&o.push(i)}),o}var bT={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function _T(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let s;if(e.random){let k=e.resources.slice(0);for(s=[];k.length>1;){const D=Math.floor(Math.random()*k.length);s.push(k[D]),k=k.slice(0,D).concat(k.slice(D+1))}s=s.concat(k)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let l="pending",c=0,u,f=null,d=[],h=[];typeof o=="function"&&h.push(o);function m(){f&&(clearTimeout(f),f=null)}function g(){l==="pending"&&(l="aborted"),m(),d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function p(k,D){D&&(h=[]),typeof k=="function"&&h.push(k)}function _(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:p,abort:g}}function E(){l="failed",h.forEach(k=>{k(void 0,u)})}function v(){d.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),d=[]}function w(k,D,R){const A=D!=="success";switch(d=d.filter(P=>P!==k),l){case"pending":break;case"failed":if(A||!e.dataAfterTimeout)return;break;default:return}if(D==="abort"){u=R,E();return}if(A){u=R,d.length||(s.length?I():E());return}if(m(),v(),!e.random){const P=e.resources.indexOf(k.resource);P!==-1&&P!==e.index&&(e.index=P)}l="completed",h.forEach(P=>{P(R)})}function I(){if(l!=="pending")return;m();const k=s.shift();if(k===void 0){if(d.length){f=setTimeout(()=>{m(),l==="pending"&&(v(),E())},e.timeout);return}E();return}const D={status:"pending",resource:k,callback:(R,A)=>{w(D,R,A)}};d.push(D),c++,f=setTimeout(I,e.rotate),n(k,t,D.callback)}return setTimeout(I),_}function Dy(e){const t={...bT,...e};let n=[];function o(){n=n.filter(a=>a().status==="pending")}function r(a,l,c){const u=_T(t,a,l,(f,d)=>{o(),c&&c(f,d)});return n.push(u),u}function i(a){return n.find(l=>a(l))||null}return{query:r,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:o}}function Fh(){}const jl=Object.create(null);function wT(e){if(!jl[e]){const t=ff(e);if(!t)return;const n=Dy(t),o={config:t,redundancy:n};jl[e]=o}return jl[e]}function ST(e,t,n){let o,r;if(typeof e=="string"){const i=Yu(e);if(!i)return n(void 0,424),Fh;r=i.send;const s=wT(e);s&&(o=s.redundancy)}else{const i=uf(e);if(i){o=Dy(i);const s=e.resources?e.resources[0]:"",a=Yu(s);a&&(r=a.send)}}return!o||!r?(n(void 0,424),Fh):o.query(t,r,n)().abort}const zh="iconify2",_i="iconify",Oy=_i+"-count",Uh=_i+"-version",Ry=36e5,xT=168,CT=50;function Gu(e,t){try{return e.getItem(t)}catch{}}function df(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Wh(e,t){try{e.removeItem(t)}catch{}}function Xu(e,t){return df(e,Oy,t.toString())}function Ku(e){return parseInt(Gu(e,Oy))||0}const Za={local:!0,session:!0},By={local:new Set,session:new Set};let hf=!1;function ET(e){hf=e}let cs=typeof window>"u"?{}:window;function Ly(e){const t=e+"Storage";try{if(cs&&cs[t]&&typeof cs[t].length=="number")return cs[t]}catch{}Za[e]=!1}function Hy(e,t){const n=Ly(e);if(!n)return;const o=Gu(n,Uh);if(o!==zh){if(o){const a=Ku(n);for(let l=0;l<a;l++)Wh(n,_i+l.toString())}df(n,Uh,zh),Xu(n,0);return}const r=Math.floor(Date.now()/Ry)-xT,i=a=>{const l=_i+a.toString(),c=Gu(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}Wh(n,l)}};let s=Ku(n);for(let a=s-1;a>=0;a--)i(a)||(a===s-1?(s--,Xu(n,s)):By[e].add(a))}function Vy(){if(!hf){ET(!0);for(const e in Za)Hy(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Oo(o,r);if(!lf(i,n).length)return!1;const s=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,s):s,!0})}}function kT(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in Za)Hy(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function $T(e,t){hf||Vy();function n(o){let r;if(!Za[o]||!(r=Ly(o)))return;const i=By[o];let s;if(i.size)i.delete(s=Array.from(i).shift());else if(s=Ku(r),s>=CT||!Xu(r,s+1))return;const a={cached:Math.floor(Date.now()/Ry),provider:e.provider,data:t};return df(r,_i+s.toString(),JSON.stringify(a))}t.lastModified&&!kT(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function jh(){}function TT(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,mT(e)}))}function IT(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=Yu(n)))return;i.prepare(n,o,r).forEach(a=>{ST(n,a,l=>{if(typeof l!="object")a.icons.forEach(c=>{e.missing.add(c)});else try{const c=lf(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),$T(e,l)}catch(c){console.error(c)}TT(e)})})}))}const PT=(e,t)=>{const n=yT(e,!0,Py()),o=gT(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,jh)}),()=>{l=!1}}const r=Object.create(null),i=[];let s,a;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===a&&c===s)return;s=c,a=u,i.push(Oo(c,u));const f=r[c]||(r[c]=Object.create(null));f[u]||(f[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=Oo(c,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),r[c][u].push(f))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&IT(l,r[c][u])}),t?pT(t,o,i):jh};function NT(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in Ny?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const MT=/[\s,]+/;function AT(e,t){t.split(MT).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function DT(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function OT(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function RT(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function BT(e){return"data:image/svg+xml,"+RT(e)}function LT(e){return'url("'+BT(e)+'")'}const Yh={...My,inline:!1},HT={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},VT={display:"inline-block"},qu={backgroundColor:"currentColor"},Fy={backgroundColor:"transparent"},Gh={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Xh={webkitMask:qu,mask:qu,background:Fy};for(const e in Xh){const t=Xh[e];for(const n in Gh)t[e+n]=Gh[n]}const As={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";As[e+"-flip"]=t,As[e.slice(0,1)+"-flip"]=t,As[e+"Flip"]=t});function Kh(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const qh=(e,t)=>{const n=NT(Yh,t),o={...HT},r=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let g in t){const p=t[g];if(p!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&AT(n,p);break;case"color":i.color=p;break;case"rotate":typeof p=="string"?n[g]=DT(p):typeof p=="number"&&(n[g]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete o["aria-hidden"];break;default:{const _=As[g];_?(p===!0||p==="true"||p===1)&&(n[_]=!0):Yh[g]===void 0&&(o[g]=p)}}}const l=eT(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...a},Object.assign(o,c);let g=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),o.innerHTML=rT(l.body,p?()=>p+"ID"+g++:"iconifyVue"),Ce("svg",o)}const{body:u,width:f,height:d}=e,h=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),m=OT(u,{...c,width:f+"",height:d+""});return o.style={...i,"--svg":LT(m),width:Kh(c.width),height:Kh(c.height),...VT,...h?qu:Fy,...a},Ce("span",o)};Py(!0);iT("",hT);if(typeof document<"u"&&typeof window<"u"){Vy();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!G$(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;sT(n,r)||console.error(o)}catch{console.error(o)}}}}const FT={...qa,body:""},Zh=ke({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Ka(e,!1,!0))===null)return this.abortLoading(),null;const o=j$(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:PT([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return qh(FT,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),qh({...qa,...t.data},n)}}),zT={class:"dual-icon"},UT=ke({__name:"ComponentIcon",props:{meta:{}},setup(e){const t=H(()=>e.meta.primaryIcon??"iconamoon:component");return(n,o)=>(re(),Se("div",zT,[M(Z(Zh),{icon:Z(t),class:"primary-icon",color:n.meta.primaryIconColor},null,8,["icon","color"]),n.meta.secondaryIcon?(re(),Pe(Z(Zh),{key:0,icon:n.meta.secondaryIcon,color:n.meta.secondaryIconColor,class:"secondary-icon"},null,8,["icon","color"])):Ke("",!0)]))}}),Ja=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},WT=Ja(UT,[["__scopeId","data-v-674d0c60"]]),Zu=Te()({name:"VCardActions",props:Re(),setup(e,t){let{slots:n}=t;return Nr({VBtn:{slim:!0,variant:"text"}}),Oe(()=>{var o;return M("div",{class:["v-card-actions",e.class],style:e.style},[(o=n.default)==null?void 0:o.call(n)])}),{}}}),vt=he({tag:{type:String,default:"div"}},"tag"),jT=he({opacity:[Number,String],...Re(),...vt()},"VCardSubtitle"),YT=Te()({name:"VCardSubtitle",props:jT(),setup(e,t){let{slots:n}=t;return Oe(()=>M(e.tag,{class:["v-card-subtitle",e.class],style:[{"--v-card-subtitle-opacity":e.opacity},e.style]},n)),{}}}),GT=Jp("v-card-title"),XT=he({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ht=Te(!1)({name:"VDefaultsProvider",props:XT(),setup(e,t){let{slots:n}=t;const{defaults:o,disabled:r,reset:i,root:s,scoped:a}=Bi(e);return Nr(o,{reset:i,root:s,scoped:a,disabled:r}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}});function gf(e){return jp(()=>{const t=[],n={};if(e.value.background)if(Vu(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&uE(e.value.background)){const o=on(e.value.background);if(o.a==null||o.a===1){const r=qp(o);n.color=r,n.caretColor=r}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(Vu(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function Ro(e,t){const n=H(()=>({text:Me(e)?e.value:t?e[t]:null})),{colorClasses:o,colorStyles:r}=gf(n);return{textColorClasses:o,textColorStyles:r}}function to(e,t){const n=H(()=>({background:Me(e)?e.value:t?e[t]:null})),{colorClasses:o,colorStyles:r}=gf(n);return{backgroundColorClasses:o,backgroundColorStyles:r}}const KT=["x-small","small","default","large","x-large"],ji=he({size:{type:[String,Number],default:"default"}},"size");function Yi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return jp(()=>{let n,o;return Lu(KT,e.size)?n=`${t}--size-${e.size}`:e.size&&(o={width:Ne(e.size),height:Ne(e.size)}),{sizeClasses:n,sizeStyles:o}})}const qT=he({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:nt,...Re(),...ji(),...vt({tag:"i"}),...wt()},"VIcon"),_t=Te()({name:"VIcon",props:qT(),setup(e,t){let{attrs:n,slots:o}=t;const r=se(),{themeClasses:i}=Tt(e),{iconData:s}=CE(H(()=>r.value||e.icon)),{sizeClasses:a}=Yi(e),{textColorClasses:l,textColorStyles:c}=Ro(pe(e,"color"));return Oe(()=>{var d,h;const u=(d=o.default)==null?void 0:d.call(o);u&&(r.value=(h=Wp(u).filter(m=>m.type===Jn&&m.children&&typeof m.children=="string")[0])==null?void 0:h.children);const f=!!(n.onClick||n.onClickOnce);return M(s.value.component,{tag:e.tag,icon:s.value.icon,class:["v-icon","notranslate",i.value,a.value,l.value,{"v-icon--clickable":f,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[a.value?void 0:{fontSize:Ne(e.size),height:Ne(e.size),width:Ne(e.size)},c.value,e.style],role:f?"button":void 0,"aria-hidden":!f,tabindex:f?e.disabled?-1:0:void 0},{default:()=>[u]})}),{}}}),Mr=he({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ar(e){return{dimensionStyles:H(()=>{const n={},o=Ne(e.height),r=Ne(e.maxHeight),i=Ne(e.maxWidth),s=Ne(e.minHeight),a=Ne(e.minWidth),l=Ne(e.width);return o!=null&&(n.height=o),r!=null&&(n.maxHeight=r),i!=null&&(n.maxWidth=i),s!=null&&(n.minHeight=s),a!=null&&(n.minWidth=a),l!=null&&(n.width=l),n})}}function ZT(e){return{aspectStyles:H(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const zy=he({aspectRatio:[String,Number],contentClass:null,inline:Boolean,...Re(),...Mr()},"VResponsive"),Jh=Te()({name:"VResponsive",props:zy(),setup(e,t){let{slots:n}=t;const{aspectStyles:o}=ZT(e),{dimensionStyles:r}=Ar(e);return Oe(()=>{var i;return M("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[r.value,e.style]},[M("div",{class:"v-responsive__sizer",style:o.value},null),(i=n.additional)==null?void 0:i.call(n),n.default&&M("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),fn=he({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function dn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{roundedClasses:H(()=>{const o=Me(e)?e.value:e.rounded,r=Me(e)?e.value:e.tile,i=[];if(o===!0||o==="")i.push(`${t}--rounded`);else if(typeof o=="string"||o===0)for(const s of String(o).split(" "))i.push(`rounded-${s}`);else(r||o===!1)&&i.push("rounded-0");return i})}}const mf=he({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),sr=(e,t)=>{let{slots:n}=t;const{transition:o,disabled:r,group:i,...s}=e,{component:a=i?Kc:zi,...l}=typeof o=="object"?o:{};return Ce(a,tt(typeof o=="string"?{name:r?"":o}:l,typeof o=="string"?{}:Object.fromEntries(Object.entries({disabled:r,group:i}).filter(c=>{let[u,f]=c;return f!==void 0})),s),n)};function JT(e,t){if(!tf)return;const n=t.modifiers||{},o=t.value,{handler:r,options:i}=typeof o=="object"?o:{handler:o,options:{}},s=new IntersectionObserver(function(){var f;let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=(f=e._observe)==null?void 0:f[t.instance.$.uid];if(!c)return;const u=a.some(d=>d.isIntersecting);r&&(!n.quiet||c.init)&&(!n.once||u||c.init)&&r(u,a,l),u&&n.once?Uy(e,t):c.init=!0},i);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:s},s.observe(e)}function Uy(e,t){var o;const n=(o=e._observe)==null?void 0:o[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Wy={mounted:JT,unmounted:Uy},QT=he({absolute:Boolean,alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...zy(),...Re(),...fn(),...mf()},"VImg"),Qa=Te()({name:"VImg",directives:{intersect:Wy},props:QT(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:o}=t;const{backgroundColorClasses:r,backgroundColorStyles:i}=to(pe(e,"color")),{roundedClasses:s}=dn(e),a=mt("VImg"),l=Ee(""),c=se(),u=Ee(e.eager?"loading":"idle"),f=Ee(),d=Ee(),h=H(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),m=H(()=>h.value.aspect||f.value/d.value||0);ue(()=>e.src,()=>{g(u.value!=="idle")}),ue(m,(C,j)=>{!C&&j&&c.value&&w(c.value)}),Vi(()=>g());function g(C){if(!(e.eager&&C)&&!(tf&&!C&&!e.eager)){if(u.value="loading",h.value.lazySrc){const j=new Image;j.src=h.value.lazySrc,w(j,null)}h.value.src&&Ze(()=>{var j;n("loadstart",((j=c.value)==null?void 0:j.currentSrc)||h.value.src),setTimeout(()=>{var y;if(!a.isUnmounted)if((y=c.value)!=null&&y.complete){if(c.value.naturalWidth||_(),u.value==="error")return;m.value||w(c.value,null),u.value==="loading"&&p()}else m.value||w(c.value),E()})})}}function p(){var C;a.isUnmounted||(E(),w(c.value),u.value="loaded",n("load",((C=c.value)==null?void 0:C.currentSrc)||h.value.src))}function _(){var C;a.isUnmounted||(u.value="error",n("error",((C=c.value)==null?void 0:C.currentSrc)||h.value.src))}function E(){const C=c.value;C&&(l.value=C.currentSrc||C.src)}let v=-1;kt(()=>{clearTimeout(v)});function w(C){let j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const y=()=>{if(clearTimeout(v),a.isUnmounted)return;const{naturalHeight:O,naturalWidth:x}=C;O||x?(f.value=x,d.value=O):!C.complete&&u.value==="loading"&&j!=null?v=window.setTimeout(y,j):(C.currentSrc.endsWith(".svg")||C.currentSrc.startsWith("data:image/svg+xml"))&&(f.value=1,d.value=1)};y()}const I=H(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),k=()=>{var y;if(!h.value.src||u.value==="idle")return null;const C=M("img",{class:["v-img__img",I.value],style:{objectPosition:e.position},src:h.value.src,srcset:h.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:c,onLoad:p,onError:_},null),j=(y=o.sources)==null?void 0:y.call(o);return M(sr,{transition:e.transition,appear:!0},{default:()=>[Pn(j?M("picture",{class:"v-img__picture"},[j,C]):C,[[za,u.value==="loaded"]])]})},D=()=>M(sr,{transition:e.transition},{default:()=>[h.value.lazySrc&&u.value!=="loaded"&&M("img",{class:["v-img__img","v-img__img--preload",I.value],style:{objectPosition:e.position},src:h.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),R=()=>o.placeholder?M(sr,{transition:e.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!o.error)&&M("div",{class:"v-img__placeholder"},[o.placeholder()])]}):null,A=()=>o.error?M(sr,{transition:e.transition,appear:!0},{default:()=>[u.value==="error"&&M("div",{class:"v-img__error"},[o.error()])]}):null,P=()=>e.gradient?M("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,z=Ee(!1);{const C=ue(m,j=>{j&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{z.value=!0})}),C())})}return Oe(()=>{const C=Jh.filterProps(e);return Pn(M(Jh,tt({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!z.value},r.value,s.value,e.class],style:[{width:Ne(e.width==="auto"?f.value:e.width)},i.value,e.style]},C,{aspectRatio:m.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>M(we,null,[M(k,null,null),M(D,null,null),M(P,null,null),M(R,null,null),M(A,null,null)]),default:o.default}),[[La("intersect"),{handler:g,options:e.options},null,{once:!0}]])}),{currentSrc:l,image:c,state:u,naturalWidth:f,naturalHeight:d}}}),Uo=he({border:[Boolean,Number,String]},"border");function Wo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{borderClasses:H(()=>{const o=Me(e)?e.value:e.border,r=[];if(o===!0||o==="")r.push(`${t}--border`);else if(typeof o=="string"||o===0)for(const i of String(o).split(" "))r.push(`border-${i}`);return r})}}const e2=[null,"default","comfortable","compact"],jo=he({density:{type:String,default:"default",validator:e=>e2.includes(e)}},"density");function Dr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{densityClasses:H(()=>`${t}--density-${e.density}`)}}const t2=["elevated","flat","tonal","outlined","text","plain"];function el(e,t){return M(we,null,[e&&M("span",{key:"overlay",class:`${t}__overlay`},null),M("span",{key:"underlay",class:`${t}__underlay`},null)])}const Or=he({color:String,variant:{type:String,default:"elevated",validator:e=>t2.includes(e)}},"variant");function tl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();const n=H(()=>{const{variant:i}=Z(e);return`${t}--variant-${i}`}),{colorClasses:o,colorStyles:r}=gf(H(()=>{const{variant:i,color:s}=Z(e);return{[["elevated","flat"].includes(i)?"background":"text"]:s}}));return{colorClasses:o,colorStyles:r,variantClasses:n}}const n2=he({start:Boolean,end:Boolean,icon:nt,image:String,text:String,...Uo(),...Re(),...jo(),...fn(),...ji(),...vt(),...wt(),...Or({variant:"flat"})},"VAvatar"),ga=Te()({name:"VAvatar",props:n2(),setup(e,t){let{slots:n}=t;const{themeClasses:o}=Tt(e),{borderClasses:r}=Wo(e),{colorClasses:i,colorStyles:s,variantClasses:a}=tl(e),{densityClasses:l}=Dr(e),{roundedClasses:c}=dn(e),{sizeClasses:u,sizeStyles:f}=Yi(e);return Oe(()=>M(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},o.value,r.value,i.value,l.value,c.value,u.value,a.value,e.class],style:[s.value,f.value,e.style]},{default:()=>[n.default?M(ht,{key:"content-defaults",defaults:{VImg:{cover:!0,src:e.image},VIcon:{icon:e.icon}}},{default:()=>[n.default()]}):e.image?M(Qa,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?M(_t,{key:"icon",icon:e.icon},null):e.text,el(!1,"v-avatar")]})),{}}}),o2=he({appendAvatar:String,appendIcon:nt,prependAvatar:String,prependIcon:nt,subtitle:[String,Number],title:[String,Number],...Re(),...jo()},"VCardItem"),r2=Te()({name:"VCardItem",props:o2(),setup(e,t){let{slots:n}=t;return Oe(()=>{var c;const o=!!(e.prependAvatar||e.prependIcon),r=!!(o||n.prepend),i=!!(e.appendAvatar||e.appendIcon),s=!!(i||n.append),a=!!(e.title!=null||n.title),l=!!(e.subtitle!=null||n.subtitle);return M("div",{class:["v-card-item",e.class],style:e.style},[r&&M("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?M(ht,{key:"prepend-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},n.prepend):M(we,null,[e.prependAvatar&&M(ga,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&M(_t,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),M("div",{class:"v-card-item__content"},[a&&M(GT,{key:"title"},{default:()=>{var u;return[((u=n.title)==null?void 0:u.call(n))??e.title]}}),l&&M(YT,{key:"subtitle"},{default:()=>{var u;return[((u=n.subtitle)==null?void 0:u.call(n))??e.subtitle]}}),(c=n.default)==null?void 0:c.call(n)]),s&&M("div",{key:"append",class:"v-card-item__append"},[n.append?M(ht,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},n.append):M(we,null,[e.appendIcon&&M(_t,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&M(ga,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])])}),{}}}),i2=he({opacity:[Number,String],...Re(),...vt()},"VCardText"),jy=Te()({name:"VCardText",props:i2(),setup(e,t){let{slots:n}=t;return Oe(()=>M(e.tag,{class:["v-card-text",e.class],style:[{"--v-card-text-opacity":e.opacity},e.style]},n)),{}}}),Rr=he({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Br(e){return{elevationClasses:H(()=>{const n=Me(e)?e.value:e.elevation,o=[];return n==null||o.push(`elevation-${n}`),o})}}function Yy(e,t){const n=se(),o=Ee(!1);if(tf){const r=new IntersectionObserver(i=>{o.value=!!i.find(s=>s.isIntersecting)},t);kt(()=>{r.disconnect()}),ue(n,(i,s)=>{s&&(r.unobserve(s),o.value=!1),i&&r.observe(i)},{flush:"post"})}return{intersectionRef:n,isIntersecting:o}}const Qh={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},vf=he({location:String},"location");function pf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:o}=ao();return{locationStyles:H(()=>{if(!e.location)return{};const{side:i,align:s}=GC(e.location.split(" ").length>1?e.location:`${e.location} center`,o.value);function a(c){return n?n(c):0}const l={};return i!=="center"&&(t?l[Qh[i]]=`calc(100% - ${a(i)}px)`:l[i]=0),s!=="center"?t?l[Qh[s]]=`calc(100% - ${a(s)}px)`:l[s]=0:(i==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),l})}}const s2=he({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Re(),...vf({location:"top"}),...fn(),...vt(),...wt()},"VProgressLinear"),Gy=Te()({name:"VProgressLinear",props:s2(),emits:{"update:modelValue":e=>!0},setup(e,t){var z;let{slots:n}=t;const o=Rn(e,"modelValue"),{isRtl:r,rtlClasses:i}=ao(),{themeClasses:s}=Tt(e),{locationStyles:a}=pf(e),{textColorClasses:l,textColorStyles:c}=Ro(e,"color"),{backgroundColorClasses:u,backgroundColorStyles:f}=to(H(()=>e.bgColor||e.color)),{backgroundColorClasses:d,backgroundColorStyles:h}=to(H(()=>e.bufferColor||e.bgColor||e.color)),{backgroundColorClasses:m,backgroundColorStyles:g}=to(e,"color"),{roundedClasses:p}=dn(e),{intersectionRef:_,isIntersecting:E}=Yy(),v=H(()=>parseFloat(e.max)),w=H(()=>parseFloat(e.height)),I=H(()=>pi(parseFloat(e.bufferValue)/v.value*100,0,100)),k=H(()=>pi(parseFloat(o.value)/v.value*100,0,100)),D=H(()=>r.value!==e.reverse),R=H(()=>e.indeterminate?"fade-transition":"slide-x-transition"),A=ft&&((z=window.matchMedia)==null?void 0:z.call(window,"(forced-colors: active)").matches);function P(C){if(!_.value)return;const{left:j,right:y,width:O}=_.value.getBoundingClientRect(),x=D.value?O-C.clientX+(y-O):C.clientX-j;o.value=Math.round(x/O*v.value)}return Oe(()=>M(e.tag,{ref:_,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&E.value,"v-progress-linear--reverse":D.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},p.value,s.value,i.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?Ne(w.value):0,"--v-progress-linear-height":Ne(w.value),...e.absolute?a.value:{}},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:k.value,onClick:e.clickable&&P},{default:()=>[e.stream&&M("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...c.value,[D.value?"left":"right"]:Ne(-w.value),borderTop:`${Ne(w.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${Ne(w.value/4)})`,width:Ne(100-I.value,"%"),"--v-progress-linear-stream-to":Ne(w.value*(D.value?1:-1))}},null),M("div",{class:["v-progress-linear__background",A?void 0:u.value],style:[f.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}]},null),M("div",{class:["v-progress-linear__buffer",A?void 0:d.value],style:[h.value,{opacity:parseFloat(e.bufferOpacity),width:Ne(I.value,"%")}]},null),M(zi,{name:R.value},{default:()=>[e.indeterminate?M("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(C=>M("div",{key:C,class:["v-progress-linear__indeterminate",C,A?void 0:m.value],style:g.value},null))]):M("div",{class:["v-progress-linear__determinate",A?void 0:m.value],style:[g.value,{width:Ne(k.value,"%")}]},null)]}),n.default&&M("div",{class:"v-progress-linear__content"},[n.default({value:k.value,buffer:I.value})])]})),{}}}),yf=he({loading:[Boolean,String]},"loader");function bf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{loaderClasses:H(()=>({[`${t}--loading`]:e.loading}))}}function Xy(e,t){var o;let{slots:n}=t;return M("div",{class:`${e.name}__loader`},[((o=n.default)==null?void 0:o.call(n,{color:e.color,isActive:e.active}))||M(Gy,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const a2=["static","relative","fixed","absolute","sticky"],Ky=he({position:{type:String,validator:e=>a2.includes(e)}},"position");function qy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();return{positionClasses:H(()=>e.position?`${t}--${e.position}`:void 0)}}function l2(){const e=mt("useRoute");return H(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function u2(){var e,t;return(t=(e=mt("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function _f(e,t){var f,d;const n=Ba("RouterLink"),o=H(()=>!!(e.href||e.to)),r=H(()=>(o==null?void 0:o.value)||ih(t,"click")||ih(e,"click"));if(typeof n=="string"||!("useLink"in n)){const h=pe(e,"href");return{isLink:o,isClickable:r,href:h,linkProps:We({href:h})}}const i=H(()=>({...e,to:pe(()=>e.to||"")})),s=n.useLink(i.value),a=H(()=>e.to?s:void 0),l=l2(),c=H(()=>{var h,m,g;return a.value?e.exact?l.value?((g=a.value.isExactActive)==null?void 0:g.value)&&Ya(a.value.route.value.query,l.value.query):((m=a.value.isExactActive)==null?void 0:m.value)??!1:((h=a.value.isActive)==null?void 0:h.value)??!1:!1}),u=H(()=>{var h;return e.to?(h=a.value)==null?void 0:h.route.value.href:e.href});return{isLink:o,isClickable:r,isActive:c,route:(f=a.value)==null?void 0:f.route,navigate:(d=a.value)==null?void 0:d.navigate,href:u,linkProps:We({href:u,"aria-current":H(()=>c.value?"page":void 0)})}}const wf=he({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router"),Ju=Symbol("rippleStop"),c2=80;function eg(e,t){e.style.transform=t,e.style.webkitTransform=t}function Qu(e){return e.constructor.name==="TouchEvent"}function Zy(e){return e.constructor.name==="KeyboardEvent"}const f2=function(e,t){var f;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=0,r=0;if(!Zy(e)){const d=t.getBoundingClientRect(),h=Qu(e)?e.touches[e.touches.length-1]:e;o=h.clientX-d.left,r=h.clientY-d.top}let i=0,s=.3;(f=t._ripple)!=null&&f.circle?(s=.15,i=t.clientWidth/2,i=n.center?i:i+Math.sqrt((o-i)**2+(r-i)**2)/4):i=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const a=`${(t.clientWidth-i*2)/2}px`,l=`${(t.clientHeight-i*2)/2}px`,c=n.center?a:`${o-i}px`,u=n.center?l:`${r-i}px`;return{radius:i,scale:s,x:c,y:u,centerX:a,centerY:l}},ma={show(e,t){var h;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=t==null?void 0:t._ripple)!=null&&h.enabled))return;const o=document.createElement("span"),r=document.createElement("span");o.appendChild(r),o.className="v-ripple__container",n.class&&(o.className+=` ${n.class}`);const{radius:i,scale:s,x:a,y:l,centerX:c,centerY:u}=f2(e,t,n),f=`${i*2}px`;r.className="v-ripple__animation",r.style.width=f,r.style.height=f,t.appendChild(o);const d=window.getComputedStyle(t);d&&d.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),eg(r,`translate(${a}, ${l}) scale3d(${s},${s},${s})`),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),eg(r,`translate(${c}, ${u}) scale3d(1,1,1)`)},0)},hide(e){var i;if(!((i=e==null?void 0:e._ripple)!=null&&i.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const o=performance.now()-Number(n.dataset.activated),r=Math.max(250-o,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var a;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((a=n.parentNode)==null?void 0:a.parentNode)===e&&e.removeChild(n.parentNode)},300)},r)}};function Jy(e){return typeof e>"u"||!!e}function wi(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[Ju])){if(e[Ju]=!0,Qu(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||Zy(e),n._ripple.class&&(t.class=n._ripple.class),Qu(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{ma.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var o;(o=n==null?void 0:n._ripple)!=null&&o.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},c2)}else ma.show(e,n,t)}}function tg(e){e[Ju]=!0}function Dt(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Dt(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),ma.hide(t)}}function Qy(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Si=!1;function e0(e){!Si&&(e.keyCode===th.enter||e.keyCode===th.space)&&(Si=!0,wi(e))}function t0(e){Si=!1,Dt(e)}function n0(e){Si&&(Si=!1,Dt(e))}function o0(e,t,n){const{value:o,modifiers:r}=t,i=Jy(o);if(i||ma.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=i,e._ripple.centered=r.center,e._ripple.circle=r.circle,AC(o)&&o.class&&(e._ripple.class=o.class),i&&!n){if(r.stop){e.addEventListener("touchstart",tg,{passive:!0}),e.addEventListener("mousedown",tg);return}e.addEventListener("touchstart",wi,{passive:!0}),e.addEventListener("touchend",Dt,{passive:!0}),e.addEventListener("touchmove",Qy,{passive:!0}),e.addEventListener("touchcancel",Dt),e.addEventListener("mousedown",wi),e.addEventListener("mouseup",Dt),e.addEventListener("mouseleave",Dt),e.addEventListener("keydown",e0),e.addEventListener("keyup",t0),e.addEventListener("blur",n0),e.addEventListener("dragstart",Dt,{passive:!0})}else!i&&n&&r0(e)}function r0(e){e.removeEventListener("mousedown",wi),e.removeEventListener("touchstart",wi),e.removeEventListener("touchend",Dt),e.removeEventListener("touchmove",Qy),e.removeEventListener("touchcancel",Dt),e.removeEventListener("mouseup",Dt),e.removeEventListener("mouseleave",Dt),e.removeEventListener("keydown",e0),e.removeEventListener("keyup",t0),e.removeEventListener("dragstart",Dt),e.removeEventListener("blur",n0)}function d2(e,t){o0(e,t,!1)}function h2(e){delete e._ripple,r0(e)}function g2(e,t){if(t.value===t.oldValue)return;const n=Jy(t.oldValue);o0(e,t,n)}const Sf={mounted:d2,unmounted:h2,updated:g2},m2=he({appendAvatar:String,appendIcon:nt,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:nt,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...Uo(),...Re(),...jo(),...Mr(),...Rr(),...yf(),...vf(),...Ky(),...fn(),...wf(),...vt(),...wt(),...Or({variant:"elevated"})},"VCard"),v2=Te()({name:"VCard",directives:{Ripple:Sf},props:m2(),setup(e,t){let{attrs:n,slots:o}=t;const{themeClasses:r}=Tt(e),{borderClasses:i}=Wo(e),{colorClasses:s,colorStyles:a,variantClasses:l}=tl(e),{densityClasses:c}=Dr(e),{dimensionStyles:u}=Ar(e),{elevationClasses:f}=Br(e),{loaderClasses:d}=bf(e),{locationStyles:h}=pf(e),{positionClasses:m}=qy(e),{roundedClasses:g}=dn(e),p=_f(e,n),_=H(()=>e.link!==!1&&p.isLink.value),E=H(()=>!e.disabled&&e.link!==!1&&(e.link||p.isClickable.value));return Oe(()=>{const v=_.value?"a":e.tag,w=!!(o.title||e.title!=null),I=!!(o.subtitle||e.subtitle!=null),k=w||I,D=!!(o.append||e.appendAvatar||e.appendIcon),R=!!(o.prepend||e.prependAvatar||e.prependIcon),A=!!(o.image||e.image),P=k||R||D,z=!!(o.text||e.text!=null);return Pn(M(v,tt({class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":E.value},r.value,i.value,s.value,c.value,f.value,d.value,m.value,g.value,l.value,e.class],style:[a.value,u.value,h.value,e.style],onClick:E.value&&p.navigate,tabindex:e.disabled?-1:void 0},p.linkProps),{default:()=>{var C;return[A&&M("div",{key:"image",class:"v-card__image"},[o.image?M(ht,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},o.image):M(Qa,{key:"image-img",cover:!0,src:e.image},null)]),M(Xy,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:o.loader}),P&&M(r2,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:o.item,prepend:o.prepend,title:o.title,subtitle:o.subtitle,append:o.append}),z&&M(jy,{key:"text"},{default:()=>{var j;return[((j=o.text)==null?void 0:j.call(o))??e.text]}}),(C=o.default)==null?void 0:C.call(o),o.actions&&M(Zu,null,{default:o.actions}),el(E.value,"v-card")]}}),[[La("ripple"),E.value&&e.ripple]])}),{}}}),i0=ke({__name:"ComponentCard",props:{component:{},subtitle:{},text:{}},setup(e){return(t,n)=>{const o=WT;return re(),Pe(v2,{width:"360",title:t.component.meta.displayName,subtitle:t.subtitle,text:t.text,color:t.component.meta.color},{prepend:Ue(()=>[M(o,{meta:t.component.meta},null,8,["meta"])]),default:Ue(()=>[zt(t.$slots,"default")]),_:3},8,["title","subtitle","text","color"])}}}),p2=ke({__name:"ComponentTemplate",props:{component:{}},setup(e){const t=n=>{n.dataTransfer.setData("componentType",e.component.type)};return(n,o)=>{const r=i0;return re(),Se("div",{draggable:"true",style:{cursor:"grab"},onDragstart:t},[M(r,{component:n.component,text:n.component.meta.description},null,8,["component","text"])],32)}}});function ng(e){return typeof e=="function"?e():Z(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const og=()=>{};function y2(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}function b2(e,t={}){let n,o,r=og;const i=a=>{clearTimeout(a),r(),r=og};return a=>{const l=ng(e),c=ng(t.maxWait);return n&&i(n),l<=0||c!==void 0&&c<=0?(o&&(i(o),o=null),Promise.resolve(a())):new Promise((u,f)=>{r=t.rejectOnCancel?f:u,c&&!o&&(o=setTimeout(()=>{n&&i(n),o=null,u(a())},c)),n=setTimeout(()=>{o&&i(o),o=null,u(a())},l)})}}function _2(e,t=200,n={}){return y2(b2(t,n),e)}function w2(e,t){return H({get(){var n;return(n=e.value)!=null?n:t},set(n){e.value=n}})}const s0=kp("component",()=>{const{$client:e}=Ge(),{data:t}=e.components.useQuery();return{components:w2(t,{})}}),S2={class:"d-flex flex-column align-center gr-4"},x2=ke({__name:"ComponentList",setup(e){const t=s0();return(n,o)=>{const r=p2;return re(),Se("div",S2,[(re(!0),Se(we,null,Zn(Z(t).components,i=>(re(),Pe(r,{key:i.type,component:i},null,8,["component"]))),128))])}}});function nl(e){return Tr()?(an(e),!0):!1}function wn(e){return typeof e=="function"?e():Z(e)}const C2=typeof window<"u"&&typeof document<"u",E2=e=>typeof e<"u",k2=Object.prototype.toString,$2=e=>k2.call(e)==="[object Object]",T2=()=>{};function I2(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const a0=e=>e();function P2(e=a0){const t=se(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Ri(t),pause:n,resume:o,eventFilter:r}}function rg(e,t=!1,n="Timeout"){return new Promise((o,r)=>{setTimeout(t?()=>r(n):o,e)})}function N2(e,t,n={}){const{eventFilter:o=a0,...r}=n;return ue(e,I2(o,t),r)}function Jo(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:s,resume:a,isActive:l}=P2(o);return{stop:N2(e,t,{...r,eventFilter:i}),pause:s,resume:a,isActive:l}}function M2(e,t={}){if(!Me(e))return Bi(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const o in e.value)n[o]=H1(()=>({get(){return e.value[o]},set(r){var i;if((i=wn(t.replaceRef))!=null?i:!0)if(Array.isArray(e.value)){const a=[...e.value];a[o]=r,e.value=a}else{const a={...e.value,[o]:r};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[o]=r}}));return n}function ec(e,t=!1){function n(f,{flush:d="sync",deep:h=!1,timeout:m,throwOnTimeout:g}={}){let p=null;const E=[new Promise(v=>{p=ue(e,w=>{f(w)!==t&&(p==null||p(),v(w))},{flush:d,deep:h,immediate:!0})})];return m!=null&&E.push(rg(m,g).then(()=>wn(e)).finally(()=>p==null?void 0:p())),Promise.race(E)}function o(f,d){if(!Me(f))return n(w=>w===f,d);const{flush:h="sync",deep:m=!1,timeout:g,throwOnTimeout:p}=d??{};let _=null;const v=[new Promise(w=>{_=ue([e,f],([I,k])=>{t!==(I===k)&&(_==null||_(),w(I))},{flush:h,deep:m,immediate:!0})})];return g!=null&&v.push(rg(g,p).then(()=>wn(e)).finally(()=>(_==null||_(),wn(e)))),Promise.race(v)}function r(f){return n(d=>!!d,f)}function i(f){return o(null,f)}function s(f){return o(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(h=>{const m=Array.from(h);return m.includes(f)||m.includes(wn(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let h=-1;return n(()=>(h+=1,h>=f),d)}return Array.isArray(wn(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return ec(e,!t)}}:{toMatch:n,toBe:o,toBeTruthy:r,toBeNull:i,toBeNaN:a,toBeUndefined:s,changed:c,changedTimes:u,get not(){return ec(e,!t)}}}function tc(e){return ec(e)}function A2(e){var t;const n=wn(e);return(t=n==null?void 0:n.$el)!=null?t:n}const l0=C2?window:void 0;function u0(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=l0):[t,n,o,r]=e,!t)return T2;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=ue(()=>[A2(t),wn(r)],([u,f])=>{if(s(),!u)return;const d=$2(f)?{...f}:f;i.push(...n.flatMap(h=>o.map(m=>a(u,h,m,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return nl(c),c}function D2(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ig(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=l0,eventName:i="keydown",passive:s=!1,dedupe:a=!1}=o,l=D2(t);return u0(r,i,u=>{u.repeat&&wn(a)||l(u)&&n(u)},s)}function O2(e){return JSON.parse(JSON.stringify(e))}function Yl(e,t,n,o={}){var r,i,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=o,h=Bt(),m=n||(h==null?void 0:h.emit)||((r=h==null?void 0:h.$emit)==null?void 0:r.bind(h))||((s=(i=h==null?void 0:h.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(h==null?void 0:h.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const p=v=>a?typeof a=="function"?a(v):O2(v):v,_=()=>E2(e[t])?p(e[t]):f,E=v=>{d?d(v)&&m(g,v):m(g,v)};if(l){const v=_(),w=se(v);let I=!1;return ue(()=>e[t],k=>{I||(I=!0,w.value=p(k),Ze(()=>I=!1))}),ue(w,k=>{!I&&(k!==e[t]||u)&&E(k)},{deep:u}),w}else return H({get(){return _()},set(v){E(v)}})}var R2={value:()=>{}};function ol(){for(var e=0,t=arguments.length,n={},o;e<t;++e){if(!(o=arguments[e]+"")||o in n||/[\s.]/.test(o))throw new Error("illegal type: "+o);n[o]=[]}return new Ds(n)}function Ds(e){this._=e}function B2(e,t){return e.trim().split(/^|\s+/).map(function(n){var o="",r=n.indexOf(".");if(r>=0&&(o=n.slice(r+1),n=n.slice(0,r)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:o}})}Ds.prototype=ol.prototype={constructor:Ds,on:function(e,t){var n=this._,o=B2(e+"",n),r,i=-1,s=o.length;if(arguments.length<2){for(;++i<s;)if((r=(e=o[i]).type)&&(r=L2(n[r],e.name)))return r;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++i<s;)if(r=(e=o[i]).type)n[r]=sg(n[r],e.name,t);else if(t==null)for(r in n)n[r]=sg(n[r],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Ds(e)},call:function(e,t){if((r=arguments.length-2)>0)for(var n=new Array(r),o=0,r,i;o<r;++o)n[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=this._[e],o=0,r=i.length;o<r;++o)i[o].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var o=this._[e],r=0,i=o.length;r<i;++r)o[r].value.apply(t,n)}};function L2(e,t){for(var n=0,o=e.length,r;n<o;++n)if((r=e[n]).name===t)return r.value}function sg(e,t,n){for(var o=0,r=e.length;o<r;++o)if(e[o].name===t){e[o]=R2,e=e.slice(0,o).concat(e.slice(o+1));break}return n!=null&&e.push({name:t,value:n}),e}var nc="http://www.w3.org/1999/xhtml";const ag={svg:"http://www.w3.org/2000/svg",xhtml:nc,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function rl(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),ag.hasOwnProperty(t)?{space:ag[t],local:e}:e}function H2(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===nc&&t.documentElement.namespaceURI===nc?t.createElement(e):t.createElementNS(n,e)}}function V2(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function c0(e){var t=rl(e);return(t.local?V2:H2)(t)}function F2(){}function xf(e){return e==null?F2:function(){return this.querySelector(e)}}function z2(e){typeof e!="function"&&(e=xf(e));for(var t=this._groups,n=t.length,o=new Array(n),r=0;r<n;++r)for(var i=t[r],s=i.length,a=o[r]=new Array(s),l,c,u=0;u<s;++u)(l=i[u])&&(c=e.call(l,l.__data__,u,i))&&("__data__"in l&&(c.__data__=l.__data__),a[u]=c);return new Ot(o,this._parents)}function U2(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function W2(){return[]}function f0(e){return e==null?W2:function(){return this.querySelectorAll(e)}}function j2(e){return function(){return U2(e.apply(this,arguments))}}function Y2(e){typeof e=="function"?e=j2(e):e=f0(e);for(var t=this._groups,n=t.length,o=[],r=[],i=0;i<n;++i)for(var s=t[i],a=s.length,l,c=0;c<a;++c)(l=s[c])&&(o.push(e.call(l,l.__data__,c,s)),r.push(l));return new Ot(o,r)}function d0(e){return function(){return this.matches(e)}}function h0(e){return function(t){return t.matches(e)}}var G2=Array.prototype.find;function X2(e){return function(){return G2.call(this.children,e)}}function K2(){return this.firstElementChild}function q2(e){return this.select(e==null?K2:X2(typeof e=="function"?e:h0(e)))}var Z2=Array.prototype.filter;function J2(){return Array.from(this.children)}function Q2(e){return function(){return Z2.call(this.children,e)}}function eI(e){return this.selectAll(e==null?J2:Q2(typeof e=="function"?e:h0(e)))}function tI(e){typeof e!="function"&&(e=d0(e));for(var t=this._groups,n=t.length,o=new Array(n),r=0;r<n;++r)for(var i=t[r],s=i.length,a=o[r]=[],l,c=0;c<s;++c)(l=i[c])&&e.call(l,l.__data__,c,i)&&a.push(l);return new Ot(o,this._parents)}function g0(e){return new Array(e.length)}function nI(){return new Ot(this._enter||this._groups.map(g0),this._parents)}function va(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}va.prototype={constructor:va,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function oI(e){return function(){return e}}function rI(e,t,n,o,r,i){for(var s=0,a,l=t.length,c=i.length;s<c;++s)(a=t[s])?(a.__data__=i[s],o[s]=a):n[s]=new va(e,i[s]);for(;s<l;++s)(a=t[s])&&(r[s]=a)}function iI(e,t,n,o,r,i,s){var a,l,c=new Map,u=t.length,f=i.length,d=new Array(u),h;for(a=0;a<u;++a)(l=t[a])&&(d[a]=h=s.call(l,l.__data__,a,t)+"",c.has(h)?r[a]=l:c.set(h,l));for(a=0;a<f;++a)h=s.call(e,i[a],a,i)+"",(l=c.get(h))?(o[a]=l,l.__data__=i[a],c.delete(h)):n[a]=new va(e,i[a]);for(a=0;a<u;++a)(l=t[a])&&c.get(d[a])===l&&(r[a]=l)}function sI(e){return e.__data__}function aI(e,t){if(!arguments.length)return Array.from(this,sI);var n=t?iI:rI,o=this._parents,r=this._groups;typeof e!="function"&&(e=oI(e));for(var i=r.length,s=new Array(i),a=new Array(i),l=new Array(i),c=0;c<i;++c){var u=o[c],f=r[c],d=f.length,h=lI(e.call(u,u&&u.__data__,c,o)),m=h.length,g=a[c]=new Array(m),p=s[c]=new Array(m),_=l[c]=new Array(d);n(u,f,g,p,_,h,t);for(var E=0,v=0,w,I;E<m;++E)if(w=g[E]){for(E>=v&&(v=E+1);!(I=p[v])&&++v<m;);w._next=I||null}}return s=new Ot(s,o),s._enter=a,s._exit=l,s}function lI(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function uI(){return new Ot(this._exit||this._groups.map(g0),this._parents)}function cI(e,t,n){var o=this.enter(),r=this,i=this.exit();return typeof e=="function"?(o=e(o),o&&(o=o.selection())):o=o.append(e+""),t!=null&&(r=t(r),r&&(r=r.selection())),n==null?i.remove():n(i),o&&r?o.merge(r).order():r}function fI(e){for(var t=e.selection?e.selection():e,n=this._groups,o=t._groups,r=n.length,i=o.length,s=Math.min(r,i),a=new Array(r),l=0;l<s;++l)for(var c=n[l],u=o[l],f=c.length,d=a[l]=new Array(f),h,m=0;m<f;++m)(h=c[m]||u[m])&&(d[m]=h);for(;l<r;++l)a[l]=n[l];return new Ot(a,this._parents)}function dI(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var o=e[t],r=o.length-1,i=o[r],s;--r>=0;)(s=o[r])&&(i&&s.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(s,i),i=s);return this}function hI(e){e||(e=gI);function t(f,d){return f&&d?e(f.__data__,d.__data__):!f-!d}for(var n=this._groups,o=n.length,r=new Array(o),i=0;i<o;++i){for(var s=n[i],a=s.length,l=r[i]=new Array(a),c,u=0;u<a;++u)(c=s[u])&&(l[u]=c);l.sort(t)}return new Ot(r,this._parents).order()}function gI(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function mI(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function vI(){return Array.from(this)}function pI(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o=e[t],r=0,i=o.length;r<i;++r){var s=o[r];if(s)return s}return null}function yI(){let e=0;for(const t of this)++e;return e}function bI(){return!this.node()}function _I(e){for(var t=this._groups,n=0,o=t.length;n<o;++n)for(var r=t[n],i=0,s=r.length,a;i<s;++i)(a=r[i])&&e.call(a,a.__data__,i,r);return this}function wI(e){return function(){this.removeAttribute(e)}}function SI(e){return function(){this.removeAttributeNS(e.space,e.local)}}function xI(e,t){return function(){this.setAttribute(e,t)}}function CI(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function EI(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function kI(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function $I(e,t){var n=rl(e);if(arguments.length<2){var o=this.node();return n.local?o.getAttributeNS(n.space,n.local):o.getAttribute(n)}return this.each((t==null?n.local?SI:wI:typeof t=="function"?n.local?kI:EI:n.local?CI:xI)(n,t))}function m0(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function TI(e){return function(){this.style.removeProperty(e)}}function II(e,t,n){return function(){this.style.setProperty(e,t,n)}}function PI(e,t,n){return function(){var o=t.apply(this,arguments);o==null?this.style.removeProperty(e):this.style.setProperty(e,o,n)}}function NI(e,t,n){return arguments.length>1?this.each((t==null?TI:typeof t=="function"?PI:II)(e,t,n??"")):_r(this.node(),e)}function _r(e,t){return e.style.getPropertyValue(t)||m0(e).getComputedStyle(e,null).getPropertyValue(t)}function MI(e){return function(){delete this[e]}}function AI(e,t){return function(){this[e]=t}}function DI(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function OI(e,t){return arguments.length>1?this.each((t==null?MI:typeof t=="function"?DI:AI)(e,t)):this.node()[e]}function v0(e){return e.trim().split(/^|\s+/)}function Cf(e){return e.classList||new p0(e)}function p0(e){this._node=e,this._names=v0(e.getAttribute("class")||"")}p0.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function y0(e,t){for(var n=Cf(e),o=-1,r=t.length;++o<r;)n.add(t[o])}function b0(e,t){for(var n=Cf(e),o=-1,r=t.length;++o<r;)n.remove(t[o])}function RI(e){return function(){y0(this,e)}}function BI(e){return function(){b0(this,e)}}function LI(e,t){return function(){(t.apply(this,arguments)?y0:b0)(this,e)}}function HI(e,t){var n=v0(e+"");if(arguments.length<2){for(var o=Cf(this.node()),r=-1,i=n.length;++r<i;)if(!o.contains(n[r]))return!1;return!0}return this.each((typeof t=="function"?LI:t?RI:BI)(n,t))}function VI(){this.textContent=""}function FI(e){return function(){this.textContent=e}}function zI(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function UI(e){return arguments.length?this.each(e==null?VI:(typeof e=="function"?zI:FI)(e)):this.node().textContent}function WI(){this.innerHTML=""}function jI(e){return function(){this.innerHTML=e}}function YI(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function GI(e){return arguments.length?this.each(e==null?WI:(typeof e=="function"?YI:jI)(e)):this.node().innerHTML}function XI(){this.nextSibling&&this.parentNode.appendChild(this)}function KI(){return this.each(XI)}function qI(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ZI(){return this.each(qI)}function JI(e){var t=typeof e=="function"?e:c0(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function QI(){return null}function eP(e,t){var n=typeof e=="function"?e:c0(e),o=t==null?QI:typeof t=="function"?t:xf(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),o.apply(this,arguments)||null)})}function tP(){var e=this.parentNode;e&&e.removeChild(this)}function nP(){return this.each(tP)}function oP(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function rP(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function iP(e){return this.select(e?rP:oP)}function sP(e){return arguments.length?this.property("__data__",e):this.node().__data__}function aP(e){return function(t){e.call(this,t,this.__data__)}}function lP(e){return e.trim().split(/^|\s+/).map(function(t){var n="",o=t.indexOf(".");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{type:t,name:n}})}function uP(e){return function(){var t=this.__on;if(t){for(var n=0,o=-1,r=t.length,i;n<r;++n)i=t[n],(!e.type||i.type===e.type)&&i.name===e.name?this.removeEventListener(i.type,i.listener,i.options):t[++o]=i;++o?t.length=o:delete this.__on}}}function cP(e,t,n){return function(){var o=this.__on,r,i=aP(t);if(o){for(var s=0,a=o.length;s<a;++s)if((r=o[s]).type===e.type&&r.name===e.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=n),r.value=t;return}}this.addEventListener(e.type,i,n),r={type:e.type,name:e.name,value:t,listener:i,options:n},o?o.push(r):this.__on=[r]}}function fP(e,t,n){var o=lP(e+""),r,i=o.length,s;if(arguments.length<2){var a=this.node().__on;if(a){for(var l=0,c=a.length,u;l<c;++l)for(r=0,u=a[l];r<i;++r)if((s=o[r]).type===u.type&&s.name===u.name)return u.value}return}for(a=t?cP:uP,r=0;r<i;++r)this.each(a(o[r],t,n));return this}function _0(e,t,n){var o=m0(e),r=o.CustomEvent;typeof r=="function"?r=new r(t,n):(r=o.document.createEvent("Event"),n?(r.initEvent(t,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(t,!1,!1)),e.dispatchEvent(r)}function dP(e,t){return function(){return _0(this,e,t)}}function hP(e,t){return function(){return _0(this,e,t.apply(this,arguments))}}function gP(e,t){return this.each((typeof t=="function"?hP:dP)(e,t))}function*mP(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o=e[t],r=0,i=o.length,s;r<i;++r)(s=o[r])&&(yield s)}var w0=[null];function Ot(e,t){this._groups=e,this._parents=t}function Gi(){return new Ot([[document.documentElement]],w0)}function vP(){return this}Ot.prototype=Gi.prototype={constructor:Ot,select:z2,selectAll:Y2,selectChild:q2,selectChildren:eI,filter:tI,data:aI,enter:nI,exit:uI,join:cI,merge:fI,selection:vP,order:dI,sort:hI,call:mI,nodes:vI,node:pI,size:yI,empty:bI,each:_I,attr:$I,style:NI,property:OI,classed:HI,text:UI,html:GI,raise:KI,lower:ZI,append:JI,insert:eP,remove:nP,clone:iP,datum:sP,on:fP,dispatch:gP,[Symbol.iterator]:mP};function Wt(e){return typeof e=="string"?new Ot([[document.querySelector(e)]],[document.documentElement]):new Ot([[e]],w0)}function pP(e){let t;for(;t=e.sourceEvent;)e=t;return e}function tn(e,t){if(e=pP(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var o=n.createSVGPoint();return o.x=e.clientX,o.y=e.clientY,o=o.matrixTransform(t.getScreenCTM().inverse()),[o.x,o.y]}if(t.getBoundingClientRect){var r=t.getBoundingClientRect();return[e.clientX-r.left-t.clientLeft,e.clientY-r.top-t.clientTop]}}return[e.pageX,e.pageY]}const yP={passive:!1},xi={capture:!0,passive:!1};function Gl(e){e.stopImmediatePropagation()}function dr(e){e.preventDefault(),e.stopImmediatePropagation()}function S0(e){var t=e.document.documentElement,n=Wt(e).on("dragstart.drag",dr,xi);"onselectstart"in t?n.on("selectstart.drag",dr,xi):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function x0(e,t){var n=e.document.documentElement,o=Wt(e).on("dragstart.drag",null);t&&(o.on("click.drag",dr,xi),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in n?o.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}const fs=e=>()=>e;function oc(e,{sourceEvent:t,subject:n,target:o,identifier:r,active:i,x:s,y:a,dx:l,dy:c,dispatch:u}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:o,enumerable:!0,configurable:!0},identifier:{value:r,enumerable:!0,configurable:!0},active:{value:i,enumerable:!0,configurable:!0},x:{value:s,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:c,enumerable:!0,configurable:!0},_:{value:u}})}oc.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function bP(e){return!e.ctrlKey&&!e.button}function _P(){return this.parentNode}function wP(e,t){return t??{x:e.x,y:e.y}}function SP(){return navigator.maxTouchPoints||"ontouchstart"in this}function xP(){var e=bP,t=_P,n=wP,o=SP,r={},i=ol("start","drag","end"),s=0,a,l,c,u,f=0;function d(w){w.on("mousedown.drag",h).filter(o).on("touchstart.drag",p).on("touchmove.drag",_,yP).on("touchend.drag touchcancel.drag",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function h(w,I){if(!(u||!e.call(this,w,I))){var k=v(this,t.call(this,w,I),w,I,"mouse");k&&(Wt(w.view).on("mousemove.drag",m,xi).on("mouseup.drag",g,xi),S0(w.view),Gl(w),c=!1,a=w.clientX,l=w.clientY,k("start",w))}}function m(w){if(dr(w),!c){var I=w.clientX-a,k=w.clientY-l;c=I*I+k*k>f}r.mouse("drag",w)}function g(w){Wt(w.view).on("mousemove.drag mouseup.drag",null),x0(w.view,c),dr(w),r.mouse("end",w)}function p(w,I){if(e.call(this,w,I)){var k=w.changedTouches,D=t.call(this,w,I),R=k.length,A,P;for(A=0;A<R;++A)(P=v(this,D,w,I,k[A].identifier,k[A]))&&(Gl(w),P("start",w,k[A]))}}function _(w){var I=w.changedTouches,k=I.length,D,R;for(D=0;D<k;++D)(R=r[I[D].identifier])&&(dr(w),R("drag",w,I[D]))}function E(w){var I=w.changedTouches,k=I.length,D,R;for(u&&clearTimeout(u),u=setTimeout(function(){u=null},500),D=0;D<k;++D)(R=r[I[D].identifier])&&(Gl(w),R("end",w,I[D]))}function v(w,I,k,D,R,A){var P=i.copy(),z=tn(A||k,I),C,j,y;if((y=n.call(w,new oc("beforestart",{sourceEvent:k,target:d,identifier:R,active:s,x:z[0],y:z[1],dx:0,dy:0,dispatch:P}),D))!=null)return C=y.x-z[0]||0,j=y.y-z[1]||0,function O(x,L,B){var U=z,V;switch(x){case"start":r[R]=O,V=s++;break;case"end":delete r[R],--s;case"drag":z=tn(B||L,I),V=s;break}P.call(x,w,new oc(x,{sourceEvent:L,subject:y,target:d,identifier:R,active:V,x:z[0]+C,y:z[1]+j,dx:z[0]-U[0],dy:z[1]-U[1],dispatch:P}),D)}}return d.filter=function(w){return arguments.length?(e=typeof w=="function"?w:fs(!!w),d):e},d.container=function(w){return arguments.length?(t=typeof w=="function"?w:fs(w),d):t},d.subject=function(w){return arguments.length?(n=typeof w=="function"?w:fs(w),d):n},d.touchable=function(w){return arguments.length?(o=typeof w=="function"?w:fs(!!w),d):o},d.on=function(){var w=i.on.apply(i,arguments);return w===i?d:w},d.clickDistance=function(w){return arguments.length?(f=(w=+w)*w,d):Math.sqrt(f)},d}function Ef(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function C0(e,t){var n=Object.create(e.prototype);for(var o in t)n[o]=t[o];return n}function Xi(){}var Ci=.7,pa=1/Ci,hr="\\s*([+-]?\\d+)\\s*",Ei="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ln="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",CP=/^#([0-9a-f]{3,8})$/,EP=new RegExp(`^rgb\\(${hr},${hr},${hr}\\)$`),kP=new RegExp(`^rgb\\(${ln},${ln},${ln}\\)$`),$P=new RegExp(`^rgba\\(${hr},${hr},${hr},${Ei}\\)$`),TP=new RegExp(`^rgba\\(${ln},${ln},${ln},${Ei}\\)$`),IP=new RegExp(`^hsl\\(${Ei},${ln},${ln}\\)$`),PP=new RegExp(`^hsla\\(${Ei},${ln},${ln},${Ei}\\)$`),lg={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ef(Xi,ki,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ug,formatHex:ug,formatHex8:NP,formatHsl:MP,formatRgb:cg,toString:cg});function ug(){return this.rgb().formatHex()}function NP(){return this.rgb().formatHex8()}function MP(){return E0(this).formatHsl()}function cg(){return this.rgb().formatRgb()}function ki(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=CP.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?fg(t):n===3?new St(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?ds(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?ds(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=EP.exec(e))?new St(t[1],t[2],t[3],1):(t=kP.exec(e))?new St(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=$P.exec(e))?ds(t[1],t[2],t[3],t[4]):(t=TP.exec(e))?ds(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=IP.exec(e))?gg(t[1],t[2]/100,t[3]/100,1):(t=PP.exec(e))?gg(t[1],t[2]/100,t[3]/100,t[4]):lg.hasOwnProperty(e)?fg(lg[e]):e==="transparent"?new St(NaN,NaN,NaN,0):null}function fg(e){return new St(e>>16&255,e>>8&255,e&255,1)}function ds(e,t,n,o){return o<=0&&(e=t=n=NaN),new St(e,t,n,o)}function AP(e){return e instanceof Xi||(e=ki(e)),e?(e=e.rgb(),new St(e.r,e.g,e.b,e.opacity)):new St}function rc(e,t,n,o){return arguments.length===1?AP(e):new St(e,t,n,o??1)}function St(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}Ef(St,rc,C0(Xi,{brighter(e){return e=e==null?pa:Math.pow(pa,e),new St(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ci:Math.pow(Ci,e),new St(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new St($o(this.r),$o(this.g),$o(this.b),ya(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:dg,formatHex:dg,formatHex8:DP,formatRgb:hg,toString:hg}));function dg(){return`#${wo(this.r)}${wo(this.g)}${wo(this.b)}`}function DP(){return`#${wo(this.r)}${wo(this.g)}${wo(this.b)}${wo((isNaN(this.opacity)?1:this.opacity)*255)}`}function hg(){const e=ya(this.opacity);return`${e===1?"rgb(":"rgba("}${$o(this.r)}, ${$o(this.g)}, ${$o(this.b)}${e===1?")":`, ${e})`}`}function ya(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function $o(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function wo(e){return e=$o(e),(e<16?"0":"")+e.toString(16)}function gg(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new jt(e,t,n,o)}function E0(e){if(e instanceof jt)return new jt(e.h,e.s,e.l,e.opacity);if(e instanceof Xi||(e=ki(e)),!e)return new jt;if(e instanceof jt)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,r=Math.min(t,n,o),i=Math.max(t,n,o),s=NaN,a=i-r,l=(i+r)/2;return a?(t===i?s=(n-o)/a+(n<o)*6:n===i?s=(o-t)/a+2:s=(t-n)/a+4,a/=l<.5?i+r:2-i-r,s*=60):a=l>0&&l<1?0:s,new jt(s,a,l,e.opacity)}function OP(e,t,n,o){return arguments.length===1?E0(e):new jt(e,t,n,o??1)}function jt(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}Ef(jt,OP,C0(Xi,{brighter(e){return e=e==null?pa:Math.pow(pa,e),new jt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ci:Math.pow(Ci,e),new jt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*t,r=2*n-o;return new St(Xl(e>=240?e-240:e+120,r,o),Xl(e,r,o),Xl(e<120?e+240:e-120,r,o),this.opacity)},clamp(){return new jt(mg(this.h),hs(this.s),hs(this.l),ya(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ya(this.opacity);return`${e===1?"hsl(":"hsla("}${mg(this.h)}, ${hs(this.s)*100}%, ${hs(this.l)*100}%${e===1?")":`, ${e})`}`}}));function mg(e){return e=(e||0)%360,e<0?e+360:e}function hs(e){return Math.max(0,Math.min(1,e||0))}function Xl(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const k0=e=>()=>e;function RP(e,t){return function(n){return e+n*t}}function BP(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(o){return Math.pow(e+o*t,n)}}function LP(e){return(e=+e)==1?$0:function(t,n){return n-t?BP(t,n,e):k0(isNaN(t)?n:t)}}function $0(e,t){var n=t-e;return n?RP(e,n):k0(isNaN(e)?t:e)}const vg=function e(t){var n=LP(t);function o(r,i){var s=n((r=rc(r)).r,(i=rc(i)).r),a=n(r.g,i.g),l=n(r.b,i.b),c=$0(r.opacity,i.opacity);return function(u){return r.r=s(u),r.g=a(u),r.b=l(u),r.opacity=c(u),r+""}}return o.gamma=e,o}(1);function Gn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var ic=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Kl=new RegExp(ic.source,"g");function HP(e){return function(){return e}}function VP(e){return function(t){return e(t)+""}}function FP(e,t){var n=ic.lastIndex=Kl.lastIndex=0,o,r,i,s=-1,a=[],l=[];for(e=e+"",t=t+"";(o=ic.exec(e))&&(r=Kl.exec(t));)(i=r.index)>n&&(i=t.slice(n,i),a[s]?a[s]+=i:a[++s]=i),(o=o[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:Gn(o,r)})),n=Kl.lastIndex;return n<t.length&&(i=t.slice(n),a[s]?a[s]+=i:a[++s]=i),a.length<2?l[0]?VP(l[0].x):HP(t):(t=l.length,function(c){for(var u=0,f;u<t;++u)a[(f=l[u]).i]=f.x(c);return a.join("")})}var pg=180/Math.PI,sc={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function T0(e,t,n,o,r,i){var s,a,l;return(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s),(l=e*n+t*o)&&(n-=e*l,o-=t*l),(a=Math.sqrt(n*n+o*o))&&(n/=a,o/=a,l/=a),e*o<t*n&&(e=-e,t=-t,l=-l,s=-s),{translateX:r,translateY:i,rotate:Math.atan2(t,e)*pg,skewX:Math.atan(l)*pg,scaleX:s,scaleY:a}}var gs;function zP(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?sc:T0(t.a,t.b,t.c,t.d,t.e,t.f)}function UP(e){return e==null||(gs||(gs=document.createElementNS("http://www.w3.org/2000/svg","g")),gs.setAttribute("transform",e),!(e=gs.transform.baseVal.consolidate()))?sc:(e=e.matrix,T0(e.a,e.b,e.c,e.d,e.e,e.f))}function I0(e,t,n,o){function r(c){return c.length?c.pop()+" ":""}function i(c,u,f,d,h,m){if(c!==f||u!==d){var g=h.push("translate(",null,t,null,n);m.push({i:g-4,x:Gn(c,f)},{i:g-2,x:Gn(u,d)})}else(f||d)&&h.push("translate("+f+t+d+n)}function s(c,u,f,d){c!==u?(c-u>180?u+=360:u-c>180&&(c+=360),d.push({i:f.push(r(f)+"rotate(",null,o)-2,x:Gn(c,u)})):u&&f.push(r(f)+"rotate("+u+o)}function a(c,u,f,d){c!==u?d.push({i:f.push(r(f)+"skewX(",null,o)-2,x:Gn(c,u)}):u&&f.push(r(f)+"skewX("+u+o)}function l(c,u,f,d,h,m){if(c!==f||u!==d){var g=h.push(r(h)+"scale(",null,",",null,")");m.push({i:g-4,x:Gn(c,f)},{i:g-2,x:Gn(u,d)})}else(f!==1||d!==1)&&h.push(r(h)+"scale("+f+","+d+")")}return function(c,u){var f=[],d=[];return c=e(c),u=e(u),i(c.translateX,c.translateY,u.translateX,u.translateY,f,d),s(c.rotate,u.rotate,f,d),a(c.skewX,u.skewX,f,d),l(c.scaleX,c.scaleY,u.scaleX,u.scaleY,f,d),c=u=null,function(h){for(var m=-1,g=d.length,p;++m<g;)f[(p=d[m]).i]=p.x(h);return f.join("")}}}var WP=I0(zP,"px, ","px)","deg)"),jP=I0(UP,", ",")",")"),YP=1e-12;function yg(e){return((e=Math.exp(e))+1/e)/2}function GP(e){return((e=Math.exp(e))-1/e)/2}function XP(e){return((e=Math.exp(2*e))-1)/(e+1)}const KP=function e(t,n,o){function r(i,s){var a=i[0],l=i[1],c=i[2],u=s[0],f=s[1],d=s[2],h=u-a,m=f-l,g=h*h+m*m,p,_;if(g<YP)_=Math.log(d/c)/t,p=function(D){return[a+D*h,l+D*m,c*Math.exp(t*D*_)]};else{var E=Math.sqrt(g),v=(d*d-c*c+o*g)/(2*c*n*E),w=(d*d-c*c-o*g)/(2*d*n*E),I=Math.log(Math.sqrt(v*v+1)-v),k=Math.log(Math.sqrt(w*w+1)-w);_=(k-I)/t,p=function(D){var R=D*_,A=yg(I),P=c/(n*E)*(A*XP(t*R+I)-GP(I));return[a+P*h,l+P*m,c*A/yg(t*R+I)]}}return p.duration=_*1e3*t/Math.SQRT2,p}return r.rho=function(i){var s=Math.max(.001,+i),a=s*s,l=a*a;return e(s,a,l)},r}(Math.SQRT2,2,4);var wr=0,Xr=0,Ur=0,P0=1e3,ba,Kr,_a=0,Bo=0,il=0,$i=typeof performance=="object"&&performance.now?performance:Date,N0=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function kf(){return Bo||(N0(qP),Bo=$i.now()+il)}function qP(){Bo=0}function wa(){this._call=this._time=this._next=null}wa.prototype=M0.prototype={constructor:wa,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?kf():+n)+(t==null?0:+t),!this._next&&Kr!==this&&(Kr?Kr._next=this:ba=this,Kr=this),this._call=e,this._time=n,ac()},stop:function(){this._call&&(this._call=null,this._time=1/0,ac())}};function M0(e,t,n){var o=new wa;return o.restart(e,t,n),o}function ZP(){kf(),++wr;for(var e=ba,t;e;)(t=Bo-e._time)>=0&&e._call.call(void 0,t),e=e._next;--wr}function bg(){Bo=(_a=$i.now())+il,wr=Xr=0;try{ZP()}finally{wr=0,QP(),Bo=0}}function JP(){var e=$i.now(),t=e-_a;t>P0&&(il-=t,_a=e)}function QP(){for(var e,t=ba,n,o=1/0;t;)t._call?(o>t._time&&(o=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:ba=n);Kr=e,ac(o)}function ac(e){if(!wr){Xr&&(Xr=clearTimeout(Xr));var t=e-Bo;t>24?(e<1/0&&(Xr=setTimeout(bg,e-$i.now()-il)),Ur&&(Ur=clearInterval(Ur))):(Ur||(_a=$i.now(),Ur=setInterval(JP,P0)),wr=1,N0(bg))}}function _g(e,t,n){var o=new wa;return t=t==null?0:+t,o.restart(r=>{o.stop(),e(r+t)},t,n),o}var eN=ol("start","end","cancel","interrupt"),tN=[],A0=0,wg=1,lc=2,Os=3,Sg=4,uc=5,Rs=6;function sl(e,t,n,o,r,i){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;nN(e,n,{name:t,index:o,group:r,on:eN,tween:tN,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:A0})}function $f(e,t){var n=Kt(e,t);if(n.state>A0)throw new Error("too late; already scheduled");return n}function hn(e,t){var n=Kt(e,t);if(n.state>Os)throw new Error("too late; already running");return n}function Kt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function nN(e,t,n){var o=e.__transition,r;o[t]=n,n.timer=M0(i,0,n.time);function i(c){n.state=wg,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var u,f,d,h;if(n.state!==wg)return l();for(u in o)if(h=o[u],h.name===n.name){if(h.state===Os)return _g(s);h.state===Sg?(h.state=Rs,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete o[u]):+u<t&&(h.state=Rs,h.timer.stop(),h.on.call("cancel",e,e.__data__,h.index,h.group),delete o[u])}if(_g(function(){n.state===Os&&(n.state=Sg,n.timer.restart(a,n.delay,n.time),a(c))}),n.state=lc,n.on.call("start",e,e.__data__,n.index,n.group),n.state===lc){for(n.state=Os,r=new Array(d=n.tween.length),u=0,f=-1;u<d;++u)(h=n.tween[u].value.call(e,e.__data__,n.index,n.group))&&(r[++f]=h);r.length=f+1}}function a(c){for(var u=c<n.duration?n.ease.call(null,c/n.duration):(n.timer.restart(l),n.state=uc,1),f=-1,d=r.length;++f<d;)r[f].call(e,u);n.state===uc&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){n.state=Rs,n.timer.stop(),delete o[t];for(var c in o)return;delete e.__transition}}function Bs(e,t){var n=e.__transition,o,r,i=!0,s;if(n){t=t==null?null:t+"";for(s in n){if((o=n[s]).name!==t){i=!1;continue}r=o.state>lc&&o.state<uc,o.state=Rs,o.timer.stop(),o.on.call(r?"interrupt":"cancel",e,e.__data__,o.index,o.group),delete n[s]}i&&delete e.__transition}}function oN(e){return this.each(function(){Bs(this,e)})}function rN(e,t){var n,o;return function(){var r=hn(this,e),i=r.tween;if(i!==n){o=n=i;for(var s=0,a=o.length;s<a;++s)if(o[s].name===t){o=o.slice(),o.splice(s,1);break}}r.tween=o}}function iN(e,t,n){var o,r;if(typeof n!="function")throw new Error;return function(){var i=hn(this,e),s=i.tween;if(s!==o){r=(o=s).slice();for(var a={name:t,value:n},l=0,c=r.length;l<c;++l)if(r[l].name===t){r[l]=a;break}l===c&&r.push(a)}i.tween=r}}function sN(e,t){var n=this._id;if(e+="",arguments.length<2){for(var o=Kt(this.node(),n).tween,r=0,i=o.length,s;r<i;++r)if((s=o[r]).name===e)return s.value;return null}return this.each((t==null?rN:iN)(n,e,t))}function Tf(e,t,n){var o=e._id;return e.each(function(){var r=hn(this,o);(r.value||(r.value={}))[t]=n.apply(this,arguments)}),function(r){return Kt(r,o).value[t]}}function D0(e,t){var n;return(typeof t=="number"?Gn:t instanceof ki?vg:(n=ki(t))?(t=n,vg):FP)(e,t)}function aN(e){return function(){this.removeAttribute(e)}}function lN(e){return function(){this.removeAttributeNS(e.space,e.local)}}function uN(e,t,n){var o,r=n+"",i;return function(){var s=this.getAttribute(e);return s===r?null:s===o?i:i=t(o=s,n)}}function cN(e,t,n){var o,r=n+"",i;return function(){var s=this.getAttributeNS(e.space,e.local);return s===r?null:s===o?i:i=t(o=s,n)}}function fN(e,t,n){var o,r,i;return function(){var s,a=n(this),l;return a==null?void this.removeAttribute(e):(s=this.getAttribute(e),l=a+"",s===l?null:s===o&&l===r?i:(r=l,i=t(o=s,a)))}}function dN(e,t,n){var o,r,i;return function(){var s,a=n(this),l;return a==null?void this.removeAttributeNS(e.space,e.local):(s=this.getAttributeNS(e.space,e.local),l=a+"",s===l?null:s===o&&l===r?i:(r=l,i=t(o=s,a)))}}function hN(e,t){var n=rl(e),o=n==="transform"?jP:D0;return this.attrTween(e,typeof t=="function"?(n.local?dN:fN)(n,o,Tf(this,"attr."+e,t)):t==null?(n.local?lN:aN)(n):(n.local?cN:uN)(n,o,t))}function gN(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function mN(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function vN(e,t){var n,o;function r(){var i=t.apply(this,arguments);return i!==o&&(n=(o=i)&&mN(e,i)),n}return r._value=t,r}function pN(e,t){var n,o;function r(){var i=t.apply(this,arguments);return i!==o&&(n=(o=i)&&gN(e,i)),n}return r._value=t,r}function yN(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var o=rl(e);return this.tween(n,(o.local?vN:pN)(o,t))}function bN(e,t){return function(){$f(this,e).delay=+t.apply(this,arguments)}}function _N(e,t){return t=+t,function(){$f(this,e).delay=t}}function wN(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?bN:_N)(t,e)):Kt(this.node(),t).delay}function SN(e,t){return function(){hn(this,e).duration=+t.apply(this,arguments)}}function xN(e,t){return t=+t,function(){hn(this,e).duration=t}}function CN(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?SN:xN)(t,e)):Kt(this.node(),t).duration}function EN(e,t){if(typeof t!="function")throw new Error;return function(){hn(this,e).ease=t}}function kN(e){var t=this._id;return arguments.length?this.each(EN(t,e)):Kt(this.node(),t).ease}function $N(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;hn(this,e).ease=n}}function TN(e){if(typeof e!="function")throw new Error;return this.each($N(this._id,e))}function IN(e){typeof e!="function"&&(e=d0(e));for(var t=this._groups,n=t.length,o=new Array(n),r=0;r<n;++r)for(var i=t[r],s=i.length,a=o[r]=[],l,c=0;c<s;++c)(l=i[c])&&e.call(l,l.__data__,c,i)&&a.push(l);return new Mn(o,this._parents,this._name,this._id)}function PN(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,o=t.length,r=n.length,i=Math.min(o,r),s=new Array(o),a=0;a<i;++a)for(var l=t[a],c=n[a],u=l.length,f=s[a]=new Array(u),d,h=0;h<u;++h)(d=l[h]||c[h])&&(f[h]=d);for(;a<o;++a)s[a]=t[a];return new Mn(s,this._parents,this._name,this._id)}function NN(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function MN(e,t,n){var o,r,i=NN(t)?$f:hn;return function(){var s=i(this,e),a=s.on;a!==o&&(r=(o=a).copy()).on(t,n),s.on=r}}function AN(e,t){var n=this._id;return arguments.length<2?Kt(this.node(),n).on.on(e):this.each(MN(n,e,t))}function DN(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function ON(){return this.on("end.remove",DN(this._id))}function RN(e){var t=this._name,n=this._id;typeof e!="function"&&(e=xf(e));for(var o=this._groups,r=o.length,i=new Array(r),s=0;s<r;++s)for(var a=o[s],l=a.length,c=i[s]=new Array(l),u,f,d=0;d<l;++d)(u=a[d])&&(f=e.call(u,u.__data__,d,a))&&("__data__"in u&&(f.__data__=u.__data__),c[d]=f,sl(c[d],t,n,d,c,Kt(u,n)));return new Mn(i,this._parents,t,n)}function BN(e){var t=this._name,n=this._id;typeof e!="function"&&(e=f0(e));for(var o=this._groups,r=o.length,i=[],s=[],a=0;a<r;++a)for(var l=o[a],c=l.length,u,f=0;f<c;++f)if(u=l[f]){for(var d=e.call(u,u.__data__,f,l),h,m=Kt(u,n),g=0,p=d.length;g<p;++g)(h=d[g])&&sl(h,t,n,g,d,m);i.push(d),s.push(u)}return new Mn(i,s,t,n)}var LN=Gi.prototype.constructor;function HN(){return new LN(this._groups,this._parents)}function VN(e,t){var n,o,r;return function(){var i=_r(this,e),s=(this.style.removeProperty(e),_r(this,e));return i===s?null:i===n&&s===o?r:r=t(n=i,o=s)}}function O0(e){return function(){this.style.removeProperty(e)}}function FN(e,t,n){var o,r=n+"",i;return function(){var s=_r(this,e);return s===r?null:s===o?i:i=t(o=s,n)}}function zN(e,t,n){var o,r,i;return function(){var s=_r(this,e),a=n(this),l=a+"";return a==null&&(l=a=(this.style.removeProperty(e),_r(this,e))),s===l?null:s===o&&l===r?i:(r=l,i=t(o=s,a))}}function UN(e,t){var n,o,r,i="style."+t,s="end."+i,a;return function(){var l=hn(this,e),c=l.on,u=l.value[i]==null?a||(a=O0(t)):void 0;(c!==n||r!==u)&&(o=(n=c).copy()).on(s,r=u),l.on=o}}function WN(e,t,n){var o=(e+="")=="transform"?WP:D0;return t==null?this.styleTween(e,VN(e,o)).on("end.style."+e,O0(e)):typeof t=="function"?this.styleTween(e,zN(e,o,Tf(this,"style."+e,t))).each(UN(this._id,e)):this.styleTween(e,FN(e,o,t),n).on("end.style."+e,null)}function jN(e,t,n){return function(o){this.style.setProperty(e,t.call(this,o),n)}}function YN(e,t,n){var o,r;function i(){var s=t.apply(this,arguments);return s!==r&&(o=(r=s)&&jN(e,s,n)),o}return i._value=t,i}function GN(e,t,n){var o="style."+(e+="");if(arguments.length<2)return(o=this.tween(o))&&o._value;if(t==null)return this.tween(o,null);if(typeof t!="function")throw new Error;return this.tween(o,YN(e,t,n??""))}function XN(e){return function(){this.textContent=e}}function KN(e){return function(){var t=e(this);this.textContent=t??""}}function qN(e){return this.tween("text",typeof e=="function"?KN(Tf(this,"text",e)):XN(e==null?"":e+""))}function ZN(e){return function(t){this.textContent=e.call(this,t)}}function JN(e){var t,n;function o(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&ZN(r)),t}return o._value=e,o}function QN(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,JN(e))}function eM(){for(var e=this._name,t=this._id,n=R0(),o=this._groups,r=o.length,i=0;i<r;++i)for(var s=o[i],a=s.length,l,c=0;c<a;++c)if(l=s[c]){var u=Kt(l,t);sl(l,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Mn(o,this._parents,e,n)}function tM(){var e,t,n=this,o=n._id,r=n.size();return new Promise(function(i,s){var a={value:s},l={value:function(){--r===0&&i()}};n.each(function(){var c=hn(this,o),u=c.on;u!==e&&(t=(e=u).copy(),t._.cancel.push(a),t._.interrupt.push(a),t._.end.push(l)),c.on=t}),r===0&&i()})}var nM=0;function Mn(e,t,n,o){this._groups=e,this._parents=t,this._name=n,this._id=o}function R0(){return++nM}var vn=Gi.prototype;Mn.prototype={constructor:Mn,select:RN,selectAll:BN,selectChild:vn.selectChild,selectChildren:vn.selectChildren,filter:IN,merge:PN,selection:HN,transition:eM,call:vn.call,nodes:vn.nodes,node:vn.node,size:vn.size,empty:vn.empty,each:vn.each,on:AN,attr:hN,attrTween:yN,style:WN,styleTween:GN,text:qN,textTween:QN,remove:ON,tween:sN,delay:wN,duration:CN,ease:kN,easeVarying:TN,end:tM,[Symbol.iterator]:vn[Symbol.iterator]};function oM(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var rM={time:null,delay:0,duration:250,ease:oM};function iM(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function sM(e){var t,n;e instanceof Mn?(t=e._id,e=e._name):(t=R0(),(n=rM).time=kf(),e=e==null?null:e+"");for(var o=this._groups,r=o.length,i=0;i<r;++i)for(var s=o[i],a=s.length,l,c=0;c<a;++c)(l=s[c])&&sl(l,e,t,c,s,n||iM(l,t));return new Mn(o,this._parents,e,t)}Gi.prototype.interrupt=oN;Gi.prototype.transition=sM;const ms=e=>()=>e;function aM(e,{sourceEvent:t,target:n,transform:o,dispatch:r}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:r}})}function Sn(e,t,n){this.k=e,this.x=t,this.y=n}Sn.prototype={constructor:Sn,scale:function(e){return e===1?this:new Sn(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new Sn(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Sr=new Sn(1,0,0);Sn.prototype;function ql(e){e.stopImmediatePropagation()}function Wr(e){e.preventDefault(),e.stopImmediatePropagation()}function lM(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function uM(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function xg(){return this.__zoom||Sr}function cM(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function fM(){return navigator.maxTouchPoints||"ontouchstart"in this}function dM(e,t,n){var o=e.invertX(t[0][0])-n[0][0],r=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],s=e.invertY(t[1][1])-n[1][1];return e.translate(r>o?(o+r)/2:Math.min(0,o)||Math.max(0,r),s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s))}function hM(){var e=lM,t=uM,n=dM,o=cM,r=fM,i=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],a=250,l=KP,c=ol("start","zoom","end"),u,f,d,h=500,m=150,g=0,p=10;function _(y){y.property("__zoom",xg).on("wheel.zoom",R,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",P).filter(r).on("touchstart.zoom",z).on("touchmove.zoom",C).on("touchend.zoom touchcancel.zoom",j).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}_.transform=function(y,O,x,L){var B=y.selection?y.selection():y;B.property("__zoom",xg),y!==B?I(y,O,x,L):B.interrupt().each(function(){k(this,arguments).event(L).start().zoom(null,typeof O=="function"?O.apply(this,arguments):O).end()})},_.scaleBy=function(y,O,x,L){_.scaleTo(y,function(){var B=this.__zoom.k,U=typeof O=="function"?O.apply(this,arguments):O;return B*U},x,L)},_.scaleTo=function(y,O,x,L){_.transform(y,function(){var B=t.apply(this,arguments),U=this.__zoom,V=x==null?w(B):typeof x=="function"?x.apply(this,arguments):x,W=U.invert(V),q=typeof O=="function"?O.apply(this,arguments):O;return n(v(E(U,q),V,W),B,s)},x,L)},_.translateBy=function(y,O,x,L){_.transform(y,function(){return n(this.__zoom.translate(typeof O=="function"?O.apply(this,arguments):O,typeof x=="function"?x.apply(this,arguments):x),t.apply(this,arguments),s)},null,L)},_.translateTo=function(y,O,x,L,B){_.transform(y,function(){var U=t.apply(this,arguments),V=this.__zoom,W=L==null?w(U):typeof L=="function"?L.apply(this,arguments):L;return n(Sr.translate(W[0],W[1]).scale(V.k).translate(typeof O=="function"?-O.apply(this,arguments):-O,typeof x=="function"?-x.apply(this,arguments):-x),U,s)},L,B)};function E(y,O){return O=Math.max(i[0],Math.min(i[1],O)),O===y.k?y:new Sn(O,y.x,y.y)}function v(y,O,x){var L=O[0]-x[0]*y.k,B=O[1]-x[1]*y.k;return L===y.x&&B===y.y?y:new Sn(y.k,L,B)}function w(y){return[(+y[0][0]+ +y[1][0])/2,(+y[0][1]+ +y[1][1])/2]}function I(y,O,x,L){y.on("start.zoom",function(){k(this,arguments).event(L).start()}).on("interrupt.zoom end.zoom",function(){k(this,arguments).event(L).end()}).tween("zoom",function(){var B=this,U=arguments,V=k(B,U).event(L),W=t.apply(B,U),q=x==null?w(W):typeof x=="function"?x.apply(B,U):x,Q=Math.max(W[1][0]-W[0][0],W[1][1]-W[0][1]),J=B.__zoom,te=typeof O=="function"?O.apply(B,U):O,ge=l(J.invert(q).concat(Q/J.k),te.invert(q).concat(Q/te.k));return function(le){if(le===1)le=te;else{var ce=ge(le),ve=Q/ce[2];le=new Sn(ve,q[0]-ce[0]*ve,q[1]-ce[1]*ve)}V.zoom(null,le)}})}function k(y,O,x){return!x&&y.__zooming||new D(y,O)}function D(y,O){this.that=y,this.args=O,this.active=0,this.sourceEvent=null,this.extent=t.apply(y,O),this.taps=0}D.prototype={event:function(y){return y&&(this.sourceEvent=y),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(y,O){return this.mouse&&y!=="mouse"&&(this.mouse[1]=O.invert(this.mouse[0])),this.touch0&&y!=="touch"&&(this.touch0[1]=O.invert(this.touch0[0])),this.touch1&&y!=="touch"&&(this.touch1[1]=O.invert(this.touch1[0])),this.that.__zoom=O,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(y){var O=Wt(this.that).datum();c.call(y,this.that,new aM(y,{sourceEvent:this.sourceEvent,target:_,type:y,transform:this.that.__zoom,dispatch:c}),O)}};function R(y,...O){if(!e.apply(this,arguments))return;var x=k(this,O).event(y),L=this.__zoom,B=Math.max(i[0],Math.min(i[1],L.k*Math.pow(2,o.apply(this,arguments)))),U=tn(y);if(x.wheel)(x.mouse[0][0]!==U[0]||x.mouse[0][1]!==U[1])&&(x.mouse[1]=L.invert(x.mouse[0]=U)),clearTimeout(x.wheel);else{if(L.k===B)return;x.mouse=[U,L.invert(U)],Bs(this),x.start()}Wr(y),x.wheel=setTimeout(V,m),x.zoom("mouse",n(v(E(L,B),x.mouse[0],x.mouse[1]),x.extent,s));function V(){x.wheel=null,x.end()}}function A(y,...O){if(d||!e.apply(this,arguments))return;var x=y.currentTarget,L=k(this,O,!0).event(y),B=Wt(y.view).on("mousemove.zoom",q,!0).on("mouseup.zoom",Q,!0),U=tn(y,x),V=y.clientX,W=y.clientY;S0(y.view),ql(y),L.mouse=[U,this.__zoom.invert(U)],Bs(this),L.start();function q(J){if(Wr(J),!L.moved){var te=J.clientX-V,ge=J.clientY-W;L.moved=te*te+ge*ge>g}L.event(J).zoom("mouse",n(v(L.that.__zoom,L.mouse[0]=tn(J,x),L.mouse[1]),L.extent,s))}function Q(J){B.on("mousemove.zoom mouseup.zoom",null),x0(J.view,L.moved),Wr(J),L.event(J).end()}}function P(y,...O){if(e.apply(this,arguments)){var x=this.__zoom,L=tn(y.changedTouches?y.changedTouches[0]:y,this),B=x.invert(L),U=x.k*(y.shiftKey?.5:2),V=n(v(E(x,U),L,B),t.apply(this,O),s);Wr(y),a>0?Wt(this).transition().duration(a).call(I,V,L,y):Wt(this).call(_.transform,V,L,y)}}function z(y,...O){if(e.apply(this,arguments)){var x=y.touches,L=x.length,B=k(this,O,y.changedTouches.length===L).event(y),U,V,W,q;for(ql(y),V=0;V<L;++V)W=x[V],q=tn(W,this),q=[q,this.__zoom.invert(q),W.identifier],B.touch0?!B.touch1&&B.touch0[2]!==q[2]&&(B.touch1=q,B.taps=0):(B.touch0=q,U=!0,B.taps=1+!!u);u&&(u=clearTimeout(u)),U&&(B.taps<2&&(f=q[0],u=setTimeout(function(){u=null},h)),Bs(this),B.start())}}function C(y,...O){if(this.__zooming){var x=k(this,O).event(y),L=y.changedTouches,B=L.length,U,V,W,q;for(Wr(y),U=0;U<B;++U)V=L[U],W=tn(V,this),x.touch0&&x.touch0[2]===V.identifier?x.touch0[0]=W:x.touch1&&x.touch1[2]===V.identifier&&(x.touch1[0]=W);if(V=x.that.__zoom,x.touch1){var Q=x.touch0[0],J=x.touch0[1],te=x.touch1[0],ge=x.touch1[1],le=(le=te[0]-Q[0])*le+(le=te[1]-Q[1])*le,ce=(ce=ge[0]-J[0])*ce+(ce=ge[1]-J[1])*ce;V=E(V,Math.sqrt(le/ce)),W=[(Q[0]+te[0])/2,(Q[1]+te[1])/2],q=[(J[0]+ge[0])/2,(J[1]+ge[1])/2]}else if(x.touch0)W=x.touch0[0],q=x.touch0[1];else return;x.zoom("touch",n(v(V,W,q),x.extent,s))}}function j(y,...O){if(this.__zooming){var x=k(this,O).event(y),L=y.changedTouches,B=L.length,U,V;for(ql(y),d&&clearTimeout(d),d=setTimeout(function(){d=null},h),U=0;U<B;++U)V=L[U],x.touch0&&x.touch0[2]===V.identifier?delete x.touch0:x.touch1&&x.touch1[2]===V.identifier&&delete x.touch1;if(x.touch1&&!x.touch0&&(x.touch0=x.touch1,delete x.touch1),x.touch0)x.touch0[1]=this.__zoom.invert(x.touch0[0]);else if(x.end(),x.taps===2&&(V=tn(V,this),Math.hypot(f[0]-V[0],f[1]-V[1])<p)){var W=Wt(this).on("dblclick.zoom");W&&W.apply(this,arguments)}}}return _.wheelDelta=function(y){return arguments.length?(o=typeof y=="function"?y:ms(+y),_):o},_.filter=function(y){return arguments.length?(e=typeof y=="function"?y:ms(!!y),_):e},_.touchable=function(y){return arguments.length?(r=typeof y=="function"?y:ms(!!y),_):r},_.extent=function(y){return arguments.length?(t=typeof y=="function"?y:ms([[+y[0][0],+y[0][1]],[+y[1][0],+y[1][1]]]),_):t},_.scaleExtent=function(y){return arguments.length?(i[0]=+y[0],i[1]=+y[1],_):[i[0],i[1]]},_.translateExtent=function(y){return arguments.length?(s[0][0]=+y[0][0],s[1][0]=+y[1][0],s[0][1]=+y[0][1],s[1][1]=+y[1][1],_):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},_.constrain=function(y){return arguments.length?(n=y,_):n},_.duration=function(y){return arguments.length?(a=+y,_):a},_.interpolate=function(y){return arguments.length?(l=y,_):l},_.on=function(){var y=c.on.apply(c,arguments);return y===c?_:y},_.clickDistance=function(y){return arguments.length?(g=(y=+y)*y,_):Math.sqrt(g)},_.tapDistance=function(y){return arguments.length?(p=+y,_):p},_}var de=(e=>(e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom",e))(de||{}),If=(e=>(e.Partial="partial",e.Full="full",e))(If||{}),po=(e=>(e.Bezier="default",e.SimpleBezier="simple-bezier",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e))(po||{}),Lo=(e=>(e.Strict="strict",e.Loose="loose",e))(Lo||{}),cc=(e=>(e.Arrow="arrow",e.ArrowClosed="arrowclosed",e))(cc||{}),li=(e=>(e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal",e))(li||{});function fc(e){var t,n;const o=((n=(t=e.composedPath)==null?void 0:t.call(e))==null?void 0:n[0])||e.target,r=typeof(o==null?void 0:o.hasAttribute)=="function"?o.hasAttribute("contenteditable"):!1,i=typeof(o==null?void 0:o.closest)=="function"?o.closest(".nokey"):null;return["INPUT","SELECT","TEXTAREA"].includes(o==null?void 0:o.nodeName)||r||!!i}function gM(e){return e.ctrlKey||e.metaKey||e.shiftKey}function Cg(e,t,n,o){const r=t.replace("+",`
30
+ `).replace(`
31
+
32
+ `,`
33
+ +`).split(`
34
+ `).map(s=>s.trim().toLowerCase());if(r.length===1)return e.toLowerCase()===t.toLowerCase();o||n.add(e.toLowerCase());const i=r.every((s,a)=>n.has(s)&&Array.from(n.values())[a]===r[a]);return o&&n.delete(e.toLowerCase()),i}function mM(e,t){return n=>{if(!n.code&&!n.key)return!1;const o=vM(n.code,e);return Array.isArray(e)?e.some(r=>Cg(n[o],r,t,n.type==="keyup")):Cg(n[o],e,t,n.type==="keyup")}}function vM(e,t){return t.includes(e)?"code":"key"}function ui(e,t){const n=pe(()=>Ie(t==null?void 0:t.actInsideInputWithModifier)??!1),o=pe(()=>Ie(t==null?void 0:t.target)??window),r=se(Ie(e)===!0);let i=!1;const s=new Set;let a=c(Ie(e));ue(()=>Ie(e),(u,f)=>{typeof f=="boolean"&&typeof u!="boolean"&&l(),a=c(u)},{immediate:!0}),ot(()=>{u0(window,["blur","contextmenu"],l)}),ig((...u)=>a(...u),u=>{i=gM(u),!((!i||i&&!n.value)&&fc(u))&&(u.preventDefault(),r.value=!0)},{eventName:"keydown",target:o}),ig((...u)=>a(...u),u=>{if(r.value){if((!i||i&&!n.value)&&fc(u))return;i=!1,r.value=!1}},{eventName:"keyup",target:o});function l(){i=!1,s.clear(),r.value=Ie(e)===!0}function c(u){return u===null?(l(),()=>!1):typeof u=="boolean"?(l(),r.value=u,()=>!1):Array.isArray(u)||typeof u=="string"?mM(u,s):u}return r}const B0="vue-flow__node-desc",L0="vue-flow__edge-desc",pM="vue-flow__aria-live",H0=["Enter"," ","Escape"],gr={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}};function dc(e){return{...e.computedPosition||{x:0,y:0},width:e.dimensions.width||0,height:e.dimensions.height||0}}function hc(e,t){const n=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),o=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return Math.ceil(n*o)}function al(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Ho(e,t=0,n=1){return Math.min(Math.max(e,t),n)}function V0(e,t){return{x:Ho(e.x,t[0][0],t[1][0]),y:Ho(e.y,t[0][1],t[1][1])}}function Eg(e){const t=e.getRootNode();return"elementFromPoint"in t?t:window.document}function oo(e){return e&&typeof e=="object"&&"id"in e&&"source"in e&&"target"in e}function To(e){return e&&typeof e=="object"&&"id"in e&&"position"in e&&!oo(e)}function qr(e){return To(e)&&"computedPosition"in e}function vs(e){return!Number.isNaN(e)&&Number.isFinite(e)}function yM(e){return vs(e.width)&&vs(e.height)&&vs(e.x)&&vs(e.y)}function bM(e,t,n){const o={id:e.id.toString(),type:e.type??"default",dimensions:$n({width:0,height:0}),computedPosition:$n({z:0,...e.position}),handleBounds:{source:[],target:[]},draggable:void 0,selectable:void 0,connectable:void 0,focusable:void 0,selected:!1,dragging:!1,resizing:!1,initialized:!1,isParent:!1,position:{x:0,y:0},data:Xe(e.data)?e.data:{},events:$n(Xe(e.events)?e.events:{})};return Object.assign(t??o,e,{id:e.id.toString(),parentNode:n})}function F0(e,t,n){var o,r;const i={id:e.id.toString(),type:e.type??(t==null?void 0:t.type)??"default",source:e.source.toString(),target:e.target.toString(),sourceHandle:(o=e.sourceHandle)==null?void 0:o.toString(),targetHandle:(r=e.targetHandle)==null?void 0:r.toString(),updatable:e.updatable??(n==null?void 0:n.updatable),selectable:e.selectable??(n==null?void 0:n.selectable),focusable:e.focusable??(n==null?void 0:n.focusable),data:Xe(e.data)?e.data:{},events:$n(Xe(e.events)?e.events:{}),label:e.label??"",interactionWidth:e.interactionWidth??(n==null?void 0:n.interactionWidth),...n??{}};return Object.assign(t??i,e,{id:e.id.toString()})}function z0(e,t,n,o){const r=typeof e=="string"?e:e.id,i=new Set,s=o==="source"?"target":"source";for(const a of n)a[s]===r&&i.add(a[o]);return t.filter(a=>i.has(a.id))}function _M(...e){if(e.length===3){const[i,s,a]=e;return z0(i,s,a,"target")}const[t,n]=e,o=typeof t=="string"?t:t.id;return n.filter(i=>oo(i)&&i.source===o).map(i=>n.find(s=>To(s)&&s.id===i.target))}function wM(...e){if(e.length===3){const[i,s,a]=e;return z0(i,s,a,"source")}const[t,n]=e,o=typeof t=="string"?t:t.id;return n.filter(i=>oo(i)&&i.target===o).map(i=>n.find(s=>To(s)&&s.id===i.source))}function U0({source:e,sourceHandle:t,target:n,targetHandle:o}){return`vueflow__edge-${e}${t??""}-${n}${o??""}`}function SM(e,t){return t.some(n=>oo(n)&&n.source===e.source&&n.target===e.target&&(n.sourceHandle===e.sourceHandle||!n.sourceHandle&&!e.sourceHandle)&&(n.targetHandle===e.targetHandle||!n.targetHandle&&!e.targetHandle))}function W0({x:e,y:t},{x:n,y:o,zoom:r}){return{x:e*r+n,y:t*r+o}}function Ti({x:e,y:t},{x:n,y:o,zoom:r},i=!1,s=[1,1]){const a={x:(e-n)/r,y:(t-o)/r};return i?ll(a,s):a}function j0(e,t){return{x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}}function Sa({x:e,y:t,width:n,height:o}){return{x:e,y:t,x2:e+n,y2:t+o}}function Y0({x:e,y:t,x2:n,y2:o}){return{x:e,y:t,width:n-e,height:o-t}}function xM(e,t){return Y0(j0(Sa(e),Sa(t)))}function Pf(e){let t={x:Number.POSITIVE_INFINITY,y:Number.POSITIVE_INFINITY,x2:Number.NEGATIVE_INFINITY,y2:Number.NEGATIVE_INFINITY};for(let n=0;n<e.length;n++){const o=e[n];t=j0(t,Sa({...o.computedPosition,...o.dimensions}))}return Y0(t)}function G0(e,t,n={x:0,y:0,zoom:1},o=!1,r=!1){const i={...Ti(t,n),width:t.width/n.zoom,height:t.height/n.zoom},s=[];for(const a of e){const{dimensions:l,selectable:c=!0,hidden:u=!1}=a,f=l.width??a.width??null,d=l.height??a.height??null;if(r&&!c||u)continue;const h=hc(i,dc(a)),m=f===null||d===null,g=o&&h>0,p=(f??0)*(d??0);(m||g||h>=p||a.dragging)&&s.push(a)}return s}function yo(e,t){const n=new Set;if(typeof e=="string")n.add(e);else if(e.length>=1)for(const o of e)n.add(o.id);return t.filter(o=>n.has(o.source)||n.has(o.target))}function kg(e,t,n,o,r,i=.1,s={x:0,y:0}){const a=t/(e.width*(1+i)),l=n/(e.height*(1+i)),c=Math.min(a,l),u=Ho(c,o,r),f=e.x+e.width/2,d=e.y+e.height/2,h=t/2-f*u+(s.x??0),m=n/2-d*u+(s.y??0);return{x:h,y:m,zoom:u}}function CM(e,t){return{x:t.x+e.x,y:t.y+e.y,z:(e.z>t.z?e.z:t.z)+1}}function X0(e,t){if(!e.parentNode)return!1;const n=t(e.parentNode);return n?n.selected?!0:X0(n,t):!1}function Ii(e,t){return typeof e>"u"?"":typeof e=="string"?e:`${t?`${t}__`:""}${Object.keys(e).sort().map(o=>`${o}=${e[o]}`).join("&")}`}function $g(e,t,n){return e<t?Ho(Math.abs(e-t),1,t)/t:e>n?-Ho(Math.abs(e-n),1,t)/t:0}function K0(e,t,n=15,o=40){const r=$g(e.x,o,t.width-o)*n,i=$g(e.y,o,t.height-o)*n;return[r,i]}function Zl(e,t){if(t){const n=e.position.x+e.dimensions.width-t.dimensions.width,o=e.position.y+e.dimensions.height-t.dimensions.height;if(n>0||o>0||e.position.x<0||e.position.y<0){let r={};if(typeof t.style=="function"?r={...t.style(t)}:t.style&&(r={...t.style}),r.width=r.width??`${t.dimensions.width}px`,r.height=r.height??`${t.dimensions.height}px`,n>0)if(typeof r.width=="string"){const i=Number(r.width.replace("px",""));r.width=`${i+n}px`}else r.width+=n;if(o>0)if(typeof r.height=="string"){const i=Number(r.height.replace("px",""));r.height=`${i+o}px`}else r.height+=o;if(e.position.x<0){const i=Math.abs(e.position.x);if(t.position.x=t.position.x-i,typeof r.width=="string"){const s=Number(r.width.replace("px",""));r.width=`${s+i}px`}else r.width+=i;e.position.x=0}if(e.position.y<0){const i=Math.abs(e.position.y);if(t.position.y=t.position.y-i,typeof r.height=="string"){const s=Number(r.height.replace("px",""));r.height=`${s+i}px`}else r.height+=i;e.position.y=0}t.dimensions.width=Number(r.width.toString().replace("px","")),t.dimensions.height=Number(r.height.toString().replace("px","")),typeof t.style=="function"?t.style=i=>{const s=t.style;return{...s(i),...r}}:t.style={...t.style,...r}}}}function Tg(e,t){var n,o;const r=e.filter(s=>s.type==="add"||s.type==="remove");for(const s of r)if(s.type==="add")t.findIndex(l=>l.id===s.item.id)===-1&&t.push(s.item);else if(s.type==="remove"){const a=t.findIndex(l=>l.id===s.id);a!==-1&&t.splice(a,1)}const i=t.map(s=>s.id);for(const s of t)for(const a of e)if(a.id===s.id)switch(a.type){case"select":s.selected=a.selected;break;case"position":if(qr(s)&&(typeof a.position<"u"&&(s.position=a.position),typeof a.dragging<"u"&&(s.dragging=a.dragging),s.expandParent&&s.parentNode)){const l=t[i.indexOf(s.parentNode)];l&&qr(l)&&Zl(s,l)}break;case"dimensions":if(qr(s)&&(typeof a.dimensions<"u"&&(s.dimensions=a.dimensions),typeof a.updateStyle<"u"&&a.updateStyle&&(s.style={...s.style||{},width:`${(n=a.dimensions)==null?void 0:n.width}px`,height:`${(o=a.dimensions)==null?void 0:o.height}px`}),typeof a.resizing<"u"&&(s.resizing=a.resizing),s.expandParent&&s.parentNode)){const l=t[i.indexOf(s.parentNode)];l&&qr(l)&&(!!l.dimensions.width&&!!l.dimensions.height?Zl(s,l):Ze(()=>{Zl(s,l)}))}break}return t}function Fn(e,t){return{id:e,type:"select",selected:t}}function Ig(e){return{item:e,type:"add"}}function Pg(e){return{id:e,type:"remove"}}function Ng(e,t,n,o,r){return{id:e,source:t,target:n,sourceHandle:o||null,targetHandle:r||null,type:"remove"}}function Xn(e,t=new Set,n=!1){const o=[];for(const[r,i]of e){const s=t.has(r);!(i.selected===void 0&&!s)&&i.selected!==s&&(n&&(i.selected=s),o.push(Fn(i.id,s)))}return o}function ie(e){const t=new Set;let n=!1;const o=()=>t.size>0;e&&(n=!0,t.add(e));const r=a=>{t.delete(a)};return{on:a=>{e&&n&&t.delete(e),t.add(a);const l=()=>{r(a),e&&n&&t.add(e)};return nl(l),{off:l}},off:r,trigger:a=>Promise.all(Array.from(t).map(l=>l(a))),hasListeners:o,fns:t}}function Mg(e,t,n){let o=e;do{if(o&&o.matches(t))return!0;if(o===n)return!1;o=o.parentElement}while(o);return!1}function EM(e,t,n,o,r){var i,s;const a=[];for(const l of e)(l.selected||l.id===r)&&(!l.parentNode||!X0(l,o))&&(l.draggable||t&&typeof l.draggable>"u")&&a.push($n({id:l.id,position:l.position||{x:0,y:0},distance:{x:n.x-((i=l.computedPosition)==null?void 0:i.x)||0,y:n.y-((s=l.computedPosition)==null?void 0:s.y)||0},from:l.computedPosition,extent:l.extent,parentNode:l.parentNode,dimensions:l.dimensions,expandParent:l.expandParent}));return a}function Jl({id:e,dragItems:t,findNode:n}){const o=[];for(const r of t){const i=n(r.id);i&&o.push(i)}return[e?o.find(r=>r.id===e):o[0],o]}function q0(e){if(Array.isArray(e))switch(e.length){case 1:return[e[0],e[0],e[0],e[0]];case 2:return[e[0],e[1],e[0],e[1]];case 3:return[e[0],e[1],e[2],e[1]];case 4:return e;default:return[0,0,0,0]}return[e,e,e,e]}function kM(e,t,n){const[o,r,i,s]=typeof e!="string"?q0(e.padding):[0,0,0,0];return n&&typeof n.computedPosition.x<"u"&&typeof n.computedPosition.y<"u"&&typeof n.dimensions.width<"u"&&typeof n.dimensions.height<"u"?[[n.computedPosition.x+s,n.computedPosition.y+o],[n.computedPosition.x+n.dimensions.width-r,n.computedPosition.y+n.dimensions.height-i]]:!1}function $M(e,t,n,o){let r=e.extent||n;if((r==="parent"||!Array.isArray(r)&&(r==null?void 0:r.range)==="parent")&&!e.expandParent)if(e.parentNode&&o&&e.dimensions.width&&e.dimensions.height){const i=kM(r,e,o);i&&(r=i)}else t(new et(qe.NODE_EXTENT_INVALID,e.id)),r=n;else if(Array.isArray(r)){const i=(o==null?void 0:o.computedPosition.x)||0,s=(o==null?void 0:o.computedPosition.y)||0;r=[[r[0][0]+i,r[0][1]+s],[r[1][0]+i,r[1][1]+s]]}else if(r!=="parent"&&(r!=null&&r.range)&&Array.isArray(r.range)){const[i,s,a,l]=q0(r.padding),c=(o==null?void 0:o.computedPosition.x)||0,u=(o==null?void 0:o.computedPosition.y)||0;r=[[r.range[0][0]+c+l,r.range[0][1]+u+i],[r.range[1][0]+c-s,r.range[1][1]+u-a]]}return r==="parent"?[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]]:r}function TM({width:e,height:t},n){return[n[0],[n[1][0]-(e||0),n[1][1]-(t||0)]]}function Nf(e,t,n,o,r){const i=TM(e.dimensions,$M(e,n,o,r)),s=V0(t,i);return{position:{x:s.x-((r==null?void 0:r.computedPosition.x)||0),y:s.y-((r==null?void 0:r.computedPosition.y)||0)},computedPosition:s}}function xa(e,t,n=de.Left){const o=((t==null?void 0:t.x)??0)+e.computedPosition.x,r=((t==null?void 0:t.y)??0)+e.computedPosition.y,{width:i,height:s}=t??NM(e);switch((t==null?void 0:t.position)??n){case de.Top:return{x:o+i/2,y:r};case de.Right:return{x:o+i,y:r+s/2};case de.Bottom:return{x:o+i/2,y:r+s};case de.Left:return{x:o,y:r+s/2}}}function Ag(e=[],t){return e.length&&(t?e.find(n=>n.id===t):e[0])||null}function IM({sourcePos:e,targetPos:t,sourceWidth:n,sourceHeight:o,targetWidth:r,targetHeight:i,width:s,height:a,viewport:l}){const c={x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x+n,t.x+r),y2:Math.max(e.y+o,t.y+i)};c.x===c.x2&&(c.x2+=1),c.y===c.y2&&(c.y2+=1);const u=Sa({x:(0-l.x)/l.zoom,y:(0-l.y)/l.zoom,width:s/l.zoom,height:a/l.zoom}),f=Math.max(0,Math.min(u.x2,c.x2)-Math.max(u.x,c.x)),d=Math.max(0,Math.min(u.y2,c.y2)-Math.max(u.y,c.y));return Math.ceil(f*d)>0}function PM(e,t,n=!1){const o=typeof e.zIndex=="number";let r=o?e.zIndex:0;const i=t(e.source),s=t(e.target);return!i||!s?0:(n&&(r=o?e.zIndex:Math.max(i.computedPosition.z||0,s.computedPosition.z||0)),r)}var qe=(e=>(e.MISSING_STYLES="MISSING_STYLES",e.MISSING_VIEWPORT_DIMENSIONS="MISSING_VIEWPORT_DIMENSIONS",e.NODE_INVALID="NODE_INVALID",e.NODE_NOT_FOUND="NODE_NOT_FOUND",e.NODE_MISSING_PARENT="NODE_MISSING_PARENT",e.NODE_TYPE_MISSING="NODE_TYPE_MISSING",e.NODE_EXTENT_INVALID="NODE_EXTENT_INVALID",e.EDGE_INVALID="EDGE_INVALID",e.EDGE_NOT_FOUND="EDGE_NOT_FOUND",e.EDGE_SOURCE_MISSING="EDGE_SOURCE_MISSING",e.EDGE_TARGET_MISSING="EDGE_TARGET_MISSING",e.EDGE_TYPE_MISSING="EDGE_TYPE_MISSING",e.EDGE_SOURCE_TARGET_SAME="EDGE_SOURCE_TARGET_SAME",e.EDGE_SOURCE_TARGET_MISSING="EDGE_SOURCE_TARGET_MISSING",e.EDGE_ORPHANED="EDGE_ORPHANED",e.USEVUEFLOW_OPTIONS="USEVUEFLOW_OPTIONS",e))(qe||{});const Dg={MISSING_STYLES:()=>"It seems that you haven't loaded the necessary styles. Please import '@vue-flow/core/dist/style.css' to ensure that the graph is rendered correctly",MISSING_VIEWPORT_DIMENSIONS:()=>"The Vue Flow parent container needs a width and a height to render the graph",NODE_INVALID:e=>`Node is invalid
35
+ Node: ${e}`,NODE_NOT_FOUND:e=>`Node not found
36
+ Node: ${e}`,NODE_MISSING_PARENT:(e,t)=>`Node is missing a parent
37
+ Node: ${e}
38
+ Parent: ${t}`,NODE_TYPE_MISSING:e=>`Node type is missing
39
+ Type: ${e}`,NODE_EXTENT_INVALID:e=>`Only child nodes can use a parent extent
40
+ Node: ${e}`,EDGE_INVALID:e=>`An edge needs a source and a target
41
+ Edge: ${e}`,EDGE_SOURCE_MISSING:(e,t)=>`Edge source is missing
42
+ Edge: ${e}
43
+ Source: ${t}`,EDGE_TARGET_MISSING:(e,t)=>`Edge target is missing
44
+ Edge: ${e}
45
+ Target: ${t}`,EDGE_TYPE_MISSING:e=>`Edge type is missing
46
+ Type: ${e}`,EDGE_SOURCE_TARGET_SAME:(e,t,n)=>`Edge source and target are the same
47
+ Edge: ${e}
48
+ Source: ${t}
49
+ Target: ${n}`,EDGE_SOURCE_TARGET_MISSING:(e,t,n)=>`Edge source or target is missing
50
+ Edge: ${e}
51
+ Source: ${t}
52
+ Target: ${n}`,EDGE_ORPHANED:e=>`Edge was orphaned (suddenly missing source or target) and has been removed
53
+ Edge: ${e}`,EDGE_NOT_FOUND:e=>`Edge not found
54
+ Edge: ${e}`,USEVUEFLOW_OPTIONS:()=>"The options parameter is deprecated and will be removed in the next major version. Please use the id parameter instead"};class et extends Error{constructor(t,...n){var o;super((o=Dg[t])==null?void 0:o.call(Dg,...n)),this.name="VueFlowError",this.code=t,this.args=n}}function Mf(e){return"clientX"in e}function Z0(e){return"sourceEvent"in e}function In(e,t){var n,o;const r=Mf(e),i=r?e.clientX:(n=e.touches)==null?void 0:n[0].clientX,s=r?e.clientY:(o=e.touches)==null?void 0:o[0].clientY;return{x:i-((t==null?void 0:t.left)??0),y:s-((t==null?void 0:t.top)??0)}}const Ca=()=>{var e;return typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)==null?void 0:e.indexOf("Mac"))>=0};function NM(e){var t,n;return{width:((t=e.dimensions)==null?void 0:t.width)??e.width??0,height:((n=e.dimensions)==null?void 0:n.height)??e.height??0}}function ll(e,t=[1,1]){return{x:t[0]*Math.round(e.x/t[0]),y:t[1]*Math.round(e.y/t[1])}}function J0(){return{handleDomNode:null,isValid:!1,connection:{source:"",target:"",sourceHandle:null,targetHandle:null},endHandle:null}}function Ql(e){e==null||e.classList.remove("valid","connecting","vue-flow__handle-valid","vue-flow__handle-connecting")}function Og(e,t,n,o){const r=[];for(const i of t[n]||[])if(`${e.id}-${i.id}-${n}`!==o){const{x:s,y:a}=xa(e,i);r.push({id:i.id||null,type:n,nodeId:e.id,x:s,y:a})}return r}function MM(e,t,n,o,r,i){const{x:s,y:a}=In(e),c=t.elementsFromPoint(s,a).find(m=>m.classList.contains("vue-flow__handle"));if(c){const m=c.getAttribute("data-nodeid");if(m){const g=Af(void 0,c),p=c.getAttribute("data-handleid"),_=i({nodeId:m,id:p,type:g});if(_){const E=r.find(v=>v.nodeId===m&&v.type===g&&v.id===p);return{handle:{id:p,type:g,nodeId:m,x:(E==null?void 0:E.x)||n.x,y:(E==null?void 0:E.y)||n.y},validHandleResult:_}}}}let u=[],f=Number.POSITIVE_INFINITY;for(const m of r){const g=Math.sqrt((m.x-n.x)**2+(m.y-n.y)**2);if(g<=o){const p=i(m);g<=f&&(g<f?u=[{handle:m,validHandleResult:p}]:g===f&&u.push({handle:m,validHandleResult:p}),f=g)}}if(!u.length)return{handle:null,validHandleResult:J0()};if(u.length===1)return u[0];const d=u.some(({validHandleResult:m})=>m.isValid),h=u.some(({handle:m})=>m.type==="target");return u.find(({handle:m,validHandleResult:g})=>h?m.type==="target":d?g.isValid:!0)||u[0]}function Rg(e,t,n,o,r,i,s,a,l,c,u){const f=i==="target",d=a.querySelector(`.vue-flow__handle[data-id="${t==null?void 0:t.nodeId}-${t==null?void 0:t.id}-${t==null?void 0:t.type}"]`),{x:h,y:m}=In(e),g=a.elementFromPoint(h,m),p=g!=null&&g.classList.contains("vue-flow__handle")?g:d,_=J0();if(p){_.handleDomNode=p;const E=Af(void 0,p),v=p.getAttribute("data-nodeid"),w=p.getAttribute("data-handleid"),I=p.classList.contains("connectable"),k=p.classList.contains("connectableend"),D={source:f?v:o,sourceHandle:f?w:r,target:f?o:v,targetHandle:f?r:w};_.connection=D,I&&k&&(n===Lo.Strict?f&&E==="source"||!f&&E==="target":v!==o||w!==r)&&(_.isValid=s(D,{edges:l,nodes:c,sourceNode:u(D.source),targetNode:u(D.target)}),_.endHandle={nodeId:v,handleId:w,type:E,position:_.isValid?p.getAttribute("data-handlepos"):null})}return _}function AM({nodes:e,nodeId:t,handleId:n,handleType:o}){const r=[];for(let i=0;i<e.length;i++){const s=e[i],{handleBounds:a}=s;let l=[],c=[];a&&(l=Og(s,a,"source",`${t}-${n}-${o}`),c=Og(s,a,"target",`${t}-${n}-${o}`)),r.push(...l,...c)}return r}function Af(e,t){return e||(t!=null&&t.classList.contains("target")?"target":t!=null&&t.classList.contains("source")?"source":null)}function DM(e,t){let n=null;return t?n="valid":e&&!t&&(n="invalid"),n}const OM=["production","prod"];function ul(e,...t){Q0()&&console.warn(`[Vue Flow]: ${e}`,...t)}function Q0(){return!OM.includes("production")}function Bg(e,t,n,o){const r=t.querySelectorAll(`.vue-flow__handle${e}`);return Array.from(r).map(s=>{const a=s.getBoundingClientRect();return{id:s.getAttribute("data-handleid"),position:s.getAttribute("data-handlepos"),x:(a.left-n.left)/o,y:(a.top-n.top)/o,...al(s)}})}function gc(e,t,n,o,r,i=!1,s){r.value=!1,e.selected?(i||e.selected&&t)&&(o([e]),Ze(()=>{s.blur()})):n([e])}function Xe(e){return typeof Z(e)<"u"}function RM(e,t,n,o){if(!e||!e.source||!e.target)return n(new et(qe.EDGE_INVALID,(e==null?void 0:e.id)??"[ID UNKNOWN]")),!1;let r;return oo(e)?r=e:r={...e,id:U0(e)},r=F0(r,void 0,o),SM(r,t)?!1:r}function BM(e,t,n,o,r,i){if(!t.source||!t.target)return i(new et(qe.EDGE_INVALID,e.id)),!1;const s=o(e.id);if(!s)return i(new et(qe.EDGE_NOT_FOUND,e.id)),!1;const{id:a,...l}=e,c={...l,id:r?U0(t):a,source:t.source,target:t.target,sourceHandle:t.sourceHandle,targetHandle:t.targetHandle};return n.splice(n.indexOf(s),1,c),c}function Lg(e,t,n){const o={},r=[];for(let i=0;i<e.length;++i){const s=e[i];if(!To(s)){n(new et(qe.NODE_INVALID,s==null?void 0:s.id)||`[ID UNKNOWN|INDEX ${i}]`);continue}const a=bM(s,t(s.id),s.parentNode);s.parentNode&&(o[s.parentNode]=!0),r[i]=a}for(const i of r){const s=t(i.parentNode)||r.find(a=>a.id===i.parentNode);i.parentNode&&!s&&n(new et(qe.NODE_MISSING_PARENT,i.id,i.parentNode)),(i.parentNode||o[i.id])&&(o[i.id]&&(i.isParent=!0),s&&(s.isParent=!0))}return r}function Hg(e,t){e.clear();for(const n of t){const{id:o,source:r,target:i,sourceHandle:s=null,targetHandle:a=null}=n,l=`${r}-source-${s}`,c=`${i}-target-${a}`,u=e.get(l)||new Map,f=e.get(c)||new Map,d=$n({edgeId:o,source:r,target:i,sourceHandle:s,targetHandle:a});e.set(l,u.set(`${i}-${a}`,d)),e.set(c,f.set(`${r}-${s}`,d))}}function Vg(e,t,n,o,r,i,s,a){const l=[];for(const c of e){const u=oo(c)?c:RM(c,a,r,i);if(!u)continue;const f=n(u.source),d=n(u.target);if(!f||!d){r(new et(qe.EDGE_SOURCE_TARGET_MISSING,u.id,u.source,u.target));continue}if(!f){r(new et(qe.EDGE_SOURCE_MISSING,u.id,u.source));continue}if(!d){r(new et(qe.EDGE_TARGET_MISSING,u.id,u.target));continue}if(t&&!t(u,{edges:a,nodes:s,sourceNode:f,targetNode:d})){r(new et(qe.EDGE_INVALID,u.id));continue}const h=o(u.id);l.push({...F0(u,h,i),sourceNode:f,targetNode:d})}return l}const Fg=Symbol("vueFlow"),eb=Symbol("nodeId"),tb=Symbol("nodeRef"),LM=Symbol("edgeId"),HM=Symbol("edgeRef"),cl=Symbol("slots");function nb(e){const{vueFlowRef:t,snapToGrid:n,snapGrid:o,noDragClassName:r,nodes:i,nodeExtent:s,nodeDragThreshold:a,viewport:l,autoPanOnNodeDrag:c,autoPanSpeed:u,nodesDraggable:f,panBy:d,findNode:h,multiSelectionActive:m,nodesSelectionActive:g,selectNodesOnDrag:p,removeSelectedElements:_,addSelectedNodes:E,updateNodePositions:v,emits:w}=ze(),{onStart:I,onDrag:k,onStop:D,onClick:R,el:A,disabled:P,id:z,selectable:C,dragHandle:j}=e,y=se(!1);let O=[],x,L=null,B={x:void 0,y:void 0},U={x:0,y:0},V=null,W=!1,q=0,Q=!1;const J=zM(),te=({x:ae,y:fe})=>{B={x:ae,y:fe};let N=!1;if(O=O.map(b=>{const S={x:ae-b.distance.x,y:fe-b.distance.y},{computedPosition:$}=Nf(b,n.value?ll(S,o.value):S,w.error,s.value,b.parentNode?h(b.parentNode):void 0);return N=N||b.position.x!==$.x||b.position.y!==$.y,b.position=$,b}),!!N&&(v(O,!0,!0),y.value=!0,V)){const[b,S]=Jl({id:z,dragItems:O,findNode:h});k({event:V,node:b,nodes:S})}},ge=()=>{if(!L)return;const[ae,fe]=K0(U,L,u.value);if(ae!==0||fe!==0){const N={x:(B.x??0)-ae/l.value.zoom,y:(B.y??0)-fe/l.value.zoom};d({x:ae,y:fe})&&te(N)}q=requestAnimationFrame(ge)},le=(ae,fe)=>{W=!0;const N=h(z);!p.value&&!m.value&&N&&(N.selected||_()),N&&Ie(C)&&p.value&&gc(N,m.value,E,_,g,!1,fe);const b=J(ae.sourceEvent);if(B=b,O=EM(i.value,f.value,b,h,z),O.length){const[S,$]=Jl({id:z,dragItems:O,findNode:h});I({event:ae.sourceEvent,node:S,nodes:$})}},ce=(ae,fe)=>{var N;ae.sourceEvent.type==="touchmove"&&ae.sourceEvent.touches.length>1||(a.value===0&&le(ae,fe),B=J(ae.sourceEvent),L=((N=t.value)==null?void 0:N.getBoundingClientRect())||null,U=In(ae.sourceEvent,L))},ve=(ae,fe)=>{const N=J(ae.sourceEvent);if(!Q&&W&&c.value&&(Q=!0,ge()),!W){const b=N.xSnapped-(B.x??0),S=N.ySnapped-(B.y??0);Math.sqrt(b*b+S*S)>a.value&&le(ae,fe)}(B.x!==N.xSnapped||B.y!==N.ySnapped)&&O.length&&W&&(V=ae.sourceEvent,U=In(ae.sourceEvent,L),te(N))},_e=ae=>{if(!Z0(ae)&&!W&&!y.value&&!m.value){const fe=ae,N=J(fe),b=N.xSnapped-(B.x??0),S=N.ySnapped-(B.y??0),$=Math.sqrt(b*b+S*S);$!==0&&$<=a.value&&(R==null||R(fe));return}if(y.value=!1,Q=!1,W=!1,B={x:void 0,y:void 0},cancelAnimationFrame(q),O.length){v(O,!1,!1);const[fe,N]=Jl({id:z,dragItems:O,findNode:h});D({event:ae.sourceEvent,node:fe,nodes:N})}};return ue([()=>Ie(P),A],([ae,fe],N,b)=>{if(fe){const S=Wt(fe);ae||(x=xP().on("start",$=>ce($,fe)).on("drag",$=>ve($,fe)).on("end",$=>_e($)).filter($=>{const T=$.target,F=Ie(j);return!$.button&&(!r.value||!Mg(T,`.${r.value}`,fe)&&(!F||Mg(T,F,fe)))}),S.call(x)),b(()=>{S.on(".drag",null),x&&(x.on("start",null),x.on("drag",null),x.on("end",null))})}}),y}function VM(){return{doubleClick:ie(),click:ie(),mouseEnter:ie(),mouseMove:ie(),mouseLeave:ie(),contextMenu:ie(),updateStart:ie(),update:ie(),updateEnd:ie()}}function FM(e,t){const n=VM();return n.doubleClick.on(o=>{var r,i;t.edgeDoubleClick(o),(i=(r=e.events)==null?void 0:r.doubleClick)==null||i.call(r,o)}),n.click.on(o=>{var r,i;t.edgeClick(o),(i=(r=e.events)==null?void 0:r.click)==null||i.call(r,o)}),n.mouseEnter.on(o=>{var r,i;t.edgeMouseEnter(o),(i=(r=e.events)==null?void 0:r.mouseEnter)==null||i.call(r,o)}),n.mouseMove.on(o=>{var r,i;t.edgeMouseMove(o),(i=(r=e.events)==null?void 0:r.mouseMove)==null||i.call(r,o)}),n.mouseLeave.on(o=>{var r,i;t.edgeMouseLeave(o),(i=(r=e.events)==null?void 0:r.mouseLeave)==null||i.call(r,o)}),n.contextMenu.on(o=>{var r,i;t.edgeContextMenu(o),(i=(r=e.events)==null?void 0:r.contextMenu)==null||i.call(r,o)}),n.updateStart.on(o=>{var r,i;t.edgeUpdateStart(o),(i=(r=e.events)==null?void 0:r.updateStart)==null||i.call(r,o)}),n.update.on(o=>{var r,i;t.edgeUpdate(o),(i=(r=e.events)==null?void 0:r.update)==null||i.call(r,o)}),n.updateEnd.on(o=>{var r,i;t.edgeUpdateEnd(o),(i=(r=e.events)==null?void 0:r.updateEnd)==null||i.call(r,o)}),Object.entries(n).reduce((o,[r,i])=>(o.emit[r]=i.trigger,o.on[r]=i.on,o),{emit:{},on:{}})}function zM(){const{viewport:e,snapGrid:t,snapToGrid:n}=ze();return o=>{const r=Z0(o)?o.sourceEvent:o,{x:i,y:s}=In(r),a=Ti({x:i,y:s},e.value),{x:l,y:c}=n.value?ll(a,t.value):a;return{xSnapped:l,ySnapped:c,...a}}}function ps(){return!0}function ob({handleId:e,nodeId:t,type:n,isValidConnection:o,edgeUpdaterType:r,onEdgeUpdate:i,onEdgeUpdateEnd:s}){const{vueFlowRef:a,connectionMode:l,connectionRadius:c,connectOnClick:u,connectionClickStartHandle:f,nodesConnectable:d,autoPanOnConnect:h,autoPanSpeed:m,findNode:g,panBy:p,startConnection:_,updateConnection:E,endConnection:v,emits:w,viewport:I,edges:k,nodes:D,isValidConnection:R}=ze();let A=null,P=!1,z=null,C=null;function j(O){var x;const L=Ie(n)==="target",B=Mf(O),U=Eg(O.target);if(B&&O.button===0||!B){let V=function($){fe=In($,_e);const{handle:T,validHandleResult:F}=MM($,U,Ti(fe,I.value,!1,[1,1]),c.value,b,G=>Rg($,G,l.value,Ie(t),Ie(e),L?"target":"source",Q,U,k.value,D.value,g));if(J=T,N||(S(),N=!0),A=F.connection,P=F.isValid,z=F.handleDomNode,!(P&&J&&(C!=null&&C.endHandle)&&F.endHandle&&C.endHandle.type===F.endHandle.type&&C.endHandle.nodeId===F.endHandle.nodeId&&C.endHandle.handleId===F.endHandle.handleId)){if(E(J&&P?W0({x:J.x,y:J.y},I.value):fe,F.endHandle,DM(!!J,P)),C=F,!J&&!P&&!z)return Ql(ae);A&&A.source!==A.target&&z&&(Ql(ae),ae=z,z.classList.add("connecting","vue-flow__handle-connecting"),z.classList.toggle("valid",P),z.classList.toggle("vue-flow__handle-valid",P))}},W=function($){(J||z)&&A&&P&&(i?i($,A):w.connect(A)),w.connectEnd($),r&&(s==null||s($)),Ql(ae),cancelAnimationFrame(te),v($),N=!1,P=!1,A=null,z=null,U.removeEventListener("mousemove",V),U.removeEventListener("mouseup",W),U.removeEventListener("touchmove",V),U.removeEventListener("touchend",W)};const q=g(Ie(t));let Q=Ie(o)||R.value||ps;!Q&&q&&(Q=(L?q.isValidSourcePos:q.isValidTargetPos)||ps);let J,te=0;const{x:ge,y:le}=In(O),ce=U==null?void 0:U.elementFromPoint(ge,le),ve=Af(Ie(r),ce),_e=(x=a.value)==null?void 0:x.getBoundingClientRect();if(!_e||!ve)return;let ae,fe=In(O,_e),N=!1;const b=AM({nodes:D.value,nodeId:Ie(t),handleId:Ie(e),handleType:ve}),S=()=>{if(!h.value)return;const[$,T]=K0(fe,_e,m.value);p({x:$,y:T}),te=requestAnimationFrame(S)};_({nodeId:Ie(t),handleId:Ie(e),type:ve,position:(ce==null?void 0:ce.getAttribute("data-handlepos"))||de.Top},{x:ge-_e.left,y:le-_e.top}),w.connectStart({event:O,nodeId:Ie(t),handleId:Ie(e),handleType:ve}),U.addEventListener("mousemove",V),U.addEventListener("mouseup",W),U.addEventListener("touchmove",V),U.addEventListener("touchend",W)}}function y(O){if(!u.value)return;const x=Ie(n)==="target";if(!f.value)w.clickConnectStart({event:O,nodeId:Ie(t),handleId:Ie(e)}),_({nodeId:Ie(t),type:Ie(n),handleId:Ie(e)},void 0,!0);else{let L=Ie(o)||R.value||ps;const B=g(Ie(t));if(!L&&B&&(L=(x?B.isValidSourcePos:B.isValidTargetPos)||ps),B&&(typeof B.connectable>"u"?d.value:B.connectable)===!1)return;const U=Eg(O.target),{connection:V,isValid:W}=Rg(O,{nodeId:Ie(t),id:Ie(e),type:Ie(n)},l.value,f.value.nodeId,f.value.handleId||null,f.value.type,L,U,k.value,D.value,g),q=V.source===V.target;W&&!q&&w.connect(V),w.clickConnectEnd(O),v(O,!0)}}return{handlePointerDown:j,handleClick:y}}function UM(){return Ve(eb,"")}function rb(e){const t=e??UM()??"",n=Ve(tb,se(null)),{findNode:o,edges:r,emits:i}=ze(),s=o(t);return s||i.error(new et(qe.NODE_NOT_FOUND,t)),{id:t,nodeEl:n,node:s,parentNode:H(()=>o(s.parentNode)),connectedEdges:H(()=>yo([s],r.value))}}function WM(){return{doubleClick:ie(),click:ie(),mouseEnter:ie(),mouseMove:ie(),mouseLeave:ie(),contextMenu:ie(),dragStart:ie(),drag:ie(),dragStop:ie()}}function jM(e,t){const n=WM();return n.doubleClick.on(o=>{var r,i;t.nodeDoubleClick(o),(i=(r=e.events)==null?void 0:r.doubleClick)==null||i.call(r,o)}),n.click.on(o=>{var r,i;t.nodeClick(o),(i=(r=e.events)==null?void 0:r.click)==null||i.call(r,o)}),n.mouseEnter.on(o=>{var r,i;t.nodeMouseEnter(o),(i=(r=e.events)==null?void 0:r.mouseEnter)==null||i.call(r,o)}),n.mouseMove.on(o=>{var r,i;t.nodeMouseMove(o),(i=(r=e.events)==null?void 0:r.mouseMove)==null||i.call(r,o)}),n.mouseLeave.on(o=>{var r,i;t.nodeMouseLeave(o),(i=(r=e.events)==null?void 0:r.mouseLeave)==null||i.call(r,o)}),n.contextMenu.on(o=>{var r,i;t.nodeContextMenu(o),(i=(r=e.events)==null?void 0:r.contextMenu)==null||i.call(r,o)}),n.dragStart.on(o=>{var r,i;t.nodeDragStart(o),(i=(r=e.events)==null?void 0:r.dragStart)==null||i.call(r,o)}),n.drag.on(o=>{var r,i;t.nodeDrag(o),(i=(r=e.events)==null?void 0:r.drag)==null||i.call(r,o)}),n.dragStop.on(o=>{var r,i;t.nodeDragStop(o),(i=(r=e.events)==null?void 0:r.dragStop)==null||i.call(r,o)}),Object.entries(n).reduce((o,[r,i])=>(o.emit[r]=i.trigger,o.on[r]=i.on,o),{emit:{},on:{}})}function ib(){const{getSelectedNodes:e,nodeExtent:t,updateNodePositions:n,findNode:o,snapGrid:r,snapToGrid:i,nodesDraggable:s,emits:a}=ze();return(l,c=!1)=>{const u=i.value?r.value[0]:5,f=i.value?r.value[1]:5,d=c?4:1,h=l.x*u*d,m=l.y*f*d,g=[];for(const p of e.value)if(p.draggable||s&&typeof p.draggable>"u"){const _={x:p.computedPosition.x+h,y:p.computedPosition.y+m},{computedPosition:E}=Nf(p,_,a.error,t.value,p.parentNode?o(p.parentNode):void 0);g.push({id:p.id,position:E,from:p.position,distance:{x:l.x,y:l.y},dimensions:p.dimensions})}n(g,!0,!1)}}const eu=.1;function Ln(){return ul("Viewport not initialized yet."),Promise.resolve(!1)}const YM={zoomIn:Ln,zoomOut:Ln,zoomTo:Ln,fitView:Ln,setCenter:Ln,fitBounds:Ln,project:e=>e,screenToFlowCoordinate:e=>e,flowToScreenCoordinate:e=>e,setViewport:Ln,setTransform:Ln,getViewport:()=>({x:0,y:0,zoom:1}),getTransform:()=>({x:0,y:0,zoom:1}),viewportInitialized:!1};function GM(e){function t(o,r){return new Promise(i=>{e.d3Selection&&e.d3Zoom?e.d3Zoom.scaleBy(tu(e.d3Selection,r,()=>{i(!0)}),o):i(!1)})}function n(o,r,i,s){return new Promise(a=>{const{x:l,y:c}=V0({x:-o,y:-r},e.translateExtent),u=Sr.translate(-l,-c).scale(i);e.d3Selection&&e.d3Zoom?e.d3Zoom.transform(tu(e.d3Selection,s,()=>{a(!0)}),u):a(!1)})}return H(()=>e.d3Zoom&&e.d3Selection&&e.dimensions.width&&e.dimensions.height?{viewportInitialized:!0,zoomIn:r=>t(1.2,r==null?void 0:r.duration),zoomOut:r=>t(1/1.2,r==null?void 0:r.duration),zoomTo:(r,i)=>new Promise(s=>{e.d3Selection&&e.d3Zoom?e.d3Zoom.scaleTo(tu(e.d3Selection,i==null?void 0:i.duration,()=>{s(!0)}),r):s(!1)}),setViewport:(r,i)=>n(r.x,r.y,r.zoom,i==null?void 0:i.duration),setTransform:(r,i)=>n(r.x,r.y,r.zoom,i==null?void 0:i.duration),getViewport:()=>({x:e.viewport.x,y:e.viewport.y,zoom:e.viewport.zoom}),getTransform:()=>({x:e.viewport.x,y:e.viewport.y,zoom:e.viewport.zoom}),fitView:(r={padding:eu,includeHiddenNodes:!1,duration:0})=>{var i,s;const a=[];for(const d of e.nodes)d.dimensions.width&&d.dimensions.height&&((r==null?void 0:r.includeHiddenNodes)||!d.hidden)&&(!((i=r.nodes)!=null&&i.length)||(s=r.nodes)!=null&&s.length&&r.nodes.includes(d.id))&&a.push(d);if(!a.length)return Promise.resolve(!1);const l=Pf(a),{x:c,y:u,zoom:f}=kg(l,e.dimensions.width,e.dimensions.height,r.minZoom??e.minZoom,r.maxZoom??e.maxZoom,r.padding??eu,r.offset);return n(c,u,f,r==null?void 0:r.duration)},setCenter:(r,i,s)=>{const a=typeof(s==null?void 0:s.zoom)<"u"?s.zoom:e.maxZoom,l=e.dimensions.width/2-r*a,c=e.dimensions.height/2-i*a;return n(l,c,a,s==null?void 0:s.duration)},fitBounds:(r,i={padding:eu})=>{const{x:s,y:a,zoom:l}=kg(r,e.dimensions.width,e.dimensions.height,e.minZoom,e.maxZoom,i.padding);return n(s,a,l,i==null?void 0:i.duration)},project:r=>Ti(r,e.viewport,e.snapToGrid,e.snapGrid),screenToFlowCoordinate:r=>{if(e.vueFlowRef){const{x:i,y:s}=e.vueFlowRef.getBoundingClientRect(),a={x:r.x-i,y:r.y-s};return Ti(a,e.viewport,e.snapToGrid,e.snapGrid)}return{x:0,y:0}},flowToScreenCoordinate:r=>{if(e.vueFlowRef){const{x:i,y:s}=e.vueFlowRef.getBoundingClientRect(),a={x:r.x+i,y:r.y+s};return W0(a,e.viewport)}return{x:0,y:0}}}:YM)}function tu(e,t=0,n){return e.transition().duration(t).on("end",n)}function XM(e,t,n){const o=$r(!0);return o.run(()=>{const r=()=>{o.run(()=>{let g,p,_=!!(n.nodes.value.length||n.edges.value.length);g=Jo([e.modelValue,()=>{var E,v;return(v=(E=e.modelValue)==null?void 0:E.value)==null?void 0:v.length}],([E])=>{E&&Array.isArray(E)&&(p==null||p.pause(),n.setElements(E),!p&&!_&&E.length?_=!0:p==null||p.resume())}),p=Jo([n.nodes,n.edges,()=>n.edges.value.length,()=>n.nodes.value.length],([E,v])=>{var w;(w=e.modelValue)!=null&&w.value&&Array.isArray(e.modelValue.value)&&(g==null||g.pause(),e.modelValue.value=[...E,...v],Ze(()=>{g==null||g.resume()}))},{immediate:_}),an(()=>{g==null||g.stop(),p==null||p.stop()})})},i=()=>{o.run(()=>{let g,p,_=!!n.nodes.value.length;g=Jo([e.nodes,()=>{var E,v;return(v=(E=e.nodes)==null?void 0:E.value)==null?void 0:v.length}],([E])=>{E&&Array.isArray(E)&&(p==null||p.pause(),n.setNodes(E),!p&&!_&&E.length?_=!0:p==null||p.resume())}),p=Jo([n.nodes,()=>n.nodes.value.length],([E])=>{var v;(v=e.nodes)!=null&&v.value&&Array.isArray(e.nodes.value)&&(g==null||g.pause(),e.nodes.value=[...E],Ze(()=>{g==null||g.resume()}))},{immediate:_}),an(()=>{g==null||g.stop(),p==null||p.stop()})})},s=()=>{o.run(()=>{let g,p,_=!!n.edges.value.length;g=Jo([e.edges,()=>{var E,v;return(v=(E=e.edges)==null?void 0:E.value)==null?void 0:v.length}],([E])=>{E&&Array.isArray(E)&&(p==null||p.pause(),n.setEdges(E),!p&&!_&&E.length?_=!0:p==null||p.resume())}),p=Jo([n.edges,()=>n.edges.value.length],([E])=>{var v;(v=e.edges)!=null&&v.value&&Array.isArray(e.edges.value)&&(g==null||g.pause(),e.edges.value=[...E],Ze(()=>{g==null||g.resume()}))},{immediate:_}),an(()=>{g==null||g.stop(),p==null||p.stop()})})},a=()=>{o.run(()=>{ue(()=>t.maxZoom,()=>{t.maxZoom&&Xe(t.maxZoom)&&n.setMaxZoom(t.maxZoom)},{immediate:!0})})},l=()=>{o.run(()=>{ue(()=>t.minZoom,()=>{t.minZoom&&Xe(t.minZoom)&&n.setMinZoom(t.minZoom)},{immediate:!0})})},c=()=>{o.run(()=>{ue(()=>t.translateExtent,()=>{t.translateExtent&&Xe(t.translateExtent)&&n.setTranslateExtent(t.translateExtent)},{immediate:!0})})},u=()=>{o.run(()=>{ue(()=>t.nodeExtent,()=>{t.nodeExtent&&Xe(t.nodeExtent)&&n.setNodeExtent(t.nodeExtent)},{immediate:!0})})},f=()=>{o.run(()=>{ue(()=>t.applyDefault,()=>{Xe(t.applyDefault)&&(n.applyDefault.value=t.applyDefault)},{immediate:!0})})},d=()=>{o.run(()=>{const g=async p=>{let _=p;typeof t.autoConnect=="function"&&(_=await t.autoConnect(p)),_!==!1&&n.addEdges([_])};ue(()=>t.autoConnect,()=>{Xe(t.autoConnect)&&(n.autoConnect.value=t.autoConnect)},{immediate:!0}),ue(n.autoConnect,(p,_,E)=>{p?n.onConnect(g):n.hooks.value.connect.off(g),E(()=>{n.hooks.value.connect.off(g)})},{immediate:!0})})},h=()=>{const g=["id","modelValue","translateExtent","nodeExtent","edges","nodes","maxZoom","minZoom","applyDefault","autoConnect"];for(const p of Object.keys(t)){const _=p;if(!g.includes(_)){const E=pe(()=>t[_]),v=n[_];Me(v)&&o.run(()=>{ue(E,w=>{Xe(w)&&(v.value=w)},{immediate:!0})})}}};(()=>{r(),i(),s(),l(),a(),c(),u(),f(),d(),h()})()}),()=>o.stop()}function KM(){return{edgesChange:ie(),nodesChange:ie(),nodeDoubleClick:ie(),nodeClick:ie(),nodeMouseEnter:ie(),nodeMouseMove:ie(),nodeMouseLeave:ie(),nodeContextMenu:ie(),nodeDragStart:ie(),nodeDrag:ie(),nodeDragStop:ie(),nodesInitialized:ie(),miniMapNodeClick:ie(),miniMapNodeDoubleClick:ie(),miniMapNodeMouseEnter:ie(),miniMapNodeMouseMove:ie(),miniMapNodeMouseLeave:ie(),connect:ie(),connectStart:ie(),connectEnd:ie(),clickConnectStart:ie(),clickConnectEnd:ie(),paneReady:ie(),init:ie(),move:ie(),moveStart:ie(),moveEnd:ie(),selectionDragStart:ie(),selectionDrag:ie(),selectionDragStop:ie(),selectionContextMenu:ie(),selectionStart:ie(),selectionEnd:ie(),viewportChangeStart:ie(),viewportChange:ie(),viewportChangeEnd:ie(),paneScroll:ie(),paneClick:ie(),paneContextMenu:ie(),paneMouseEnter:ie(),paneMouseMove:ie(),paneMouseLeave:ie(),edgeContextMenu:ie(),edgeMouseEnter:ie(),edgeMouseMove:ie(),edgeMouseLeave:ie(),edgeDoubleClick:ie(),edgeClick:ie(),edgeUpdateStart:ie(),edgeUpdate:ie(),edgeUpdateEnd:ie(),updateNodeInternals:ie(),error:ie(e=>ul(e.message))}}function qM(e,t){Vi(()=>{for(const[n,o]of Object.entries(t.value)){const r=i=>{e(n,i)};o.fns.add(r),nl(()=>{o.off(r)})}})}function sb(){return{vueFlowRef:null,viewportRef:null,nodes:[],edges:[],connectionLookup:new Map,nodeTypes:{},edgeTypes:{},initialized:!1,dimensions:{width:0,height:0},viewport:{x:0,y:0,zoom:1},d3Zoom:null,d3Selection:null,d3ZoomHandler:null,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodeExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],selectionMode:If.Full,paneDragging:!1,preventScrolling:!0,zoomOnScroll:!0,zoomOnPinch:!0,zoomOnDoubleClick:!0,panOnScroll:!1,panOnScrollSpeed:.5,panOnScrollMode:li.Free,paneClickDistance:0,panOnDrag:!0,edgeUpdaterRadius:10,onlyRenderVisibleElements:!1,defaultViewport:{x:0,y:0,zoom:1},nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,defaultMarkerColor:"#b1b1b7",connectionLineStyle:{},connectionLineType:null,connectionLineOptions:{type:po.Bezier,style:{}},connectionMode:Lo.Loose,connectionStartHandle:null,connectionEndHandle:null,connectionClickStartHandle:null,connectionPosition:{x:Number.NaN,y:Number.NaN},connectionRadius:20,connectOnClick:!0,connectionStatus:null,isValidConnection:null,snapGrid:[15,15],snapToGrid:!1,edgesUpdatable:!1,edgesFocusable:!0,nodesFocusable:!0,nodesConnectable:!0,nodesDraggable:!0,nodeDragThreshold:1,elementsSelectable:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,selectionKeyCode:"Shift",multiSelectionKeyCode:Ca()?"Meta":"Control",zoomActivationKeyCode:Ca()?"Meta":"Control",deleteKeyCode:"Backspace",panActivationKeyCode:"Space",hooks:KM(),applyDefault:!0,autoConnect:!1,fitViewOnInit:!1,fitViewOnInitDone:!1,noDragClassName:"nodrag",noWheelClassName:"nowheel",noPanClassName:"nopan",defaultEdgeOptions:void 0,elevateEdgesOnSelect:!1,elevateNodesOnSelect:!0,autoPanOnNodeDrag:!0,autoPanOnConnect:!0,autoPanSpeed:15,disableKeyboardA11y:!1,ariaLiveMessage:""}}const ZM=["id","vueFlowRef","viewportRef","initialized","modelValue","nodes","edges","maxZoom","minZoom","translateExtent","hooks","defaultEdgeOptions"];function JM(e,t,n){const o=GM(e),r=b=>{const S=b??[];e.hooks.updateNodeInternals.trigger(S)},i=b=>wM(b,e.nodes,e.edges),s=b=>_M(b,e.nodes,e.edges),a=b=>yo(b,e.edges),l=({id:b,type:S,nodeId:$})=>{var T;return Array.from(((T=e.connectionLookup.get(`${$}-${S}-${b??null}`))==null?void 0:T.values())??[])},c=b=>{if(b)return t.value.get(b)},u=b=>{if(b)return n.value.get(b)},f=(b,S,$)=>{var T,F;const G=[];for(const Y of b){const K={id:Y.id,type:"position",dragging:$,from:Y.from};if(S&&(K.position=Y.position,Y.parentNode)){const X=c(Y.parentNode);K.position={x:K.position.x-(((T=X==null?void 0:X.computedPosition)==null?void 0:T.x)??0),y:K.position.y-(((F=X==null?void 0:X.computedPosition)==null?void 0:F.y)??0)}}G.push(K)}G!=null&&G.length&&e.hooks.nodesChange.trigger(G)},d=b=>{if(!e.vueFlowRef)return;const S=e.vueFlowRef.querySelector(".vue-flow__transformationpane");if(!S)return;const $=window.getComputedStyle(S),{m22:T}=new window.DOMMatrixReadOnly($.transform),F=[];for(let G=0;G<b.length;++G){const Y=b[G],K=c(Y.id);if(K){const X=al(Y.nodeElement);if(!!(X.width&&X.height&&(K.dimensions.width!==X.width||K.dimensions.height!==X.height||Y.forceUpdate))){const ee=Y.nodeElement.getBoundingClientRect();K.dimensions=X,K.handleBounds.source=Bg(".source",Y.nodeElement,ee,T),K.handleBounds.target=Bg(".target",Y.nodeElement,ee,T),F.push({id:K.id,type:"dimensions",dimensions:X})}}}!e.fitViewOnInitDone&&e.fitViewOnInit&&o.value.fitView().then(()=>{e.fitViewOnInitDone=!0}),F.length&&e.hooks.nodesChange.trigger(F)},h=(b,S)=>{const $=new Set,T=new Set;for(const Y of b)To(Y)?$.add(Y.id):oo(Y)&&T.add(Y.id);const F=Xn(t.value,$,!0),G=Xn(n.value,T);if(e.multiSelectionActive){for(const Y of $)F.push(Fn(Y,S));for(const Y of T)G.push(Fn(Y,S))}F.length&&e.hooks.nodesChange.trigger(F),G.length&&e.hooks.edgesChange.trigger(G)},m=b=>{if(e.multiSelectionActive){const S=b.map($=>Fn($.id,!0));e.hooks.nodesChange.trigger(S);return}e.hooks.nodesChange.trigger(Xn(t.value,new Set(b.map(S=>S.id)),!0)),e.hooks.edgesChange.trigger(Xn(n.value))},g=b=>{if(e.multiSelectionActive){const S=b.map($=>Fn($.id,!0));e.hooks.edgesChange.trigger(S);return}e.hooks.edgesChange.trigger(Xn(n.value,new Set(b.map(S=>S.id)))),e.hooks.nodesChange.trigger(Xn(t.value,new Set,!0))},p=b=>{h(b,!0)},_=b=>{const $=(b||e.nodes).map(T=>(T.selected=!1,Fn(T.id,!1)));e.hooks.nodesChange.trigger($)},E=b=>{const $=(b||e.edges).map(T=>(T.selected=!1,Fn(T.id,!1)));e.hooks.edgesChange.trigger($)},v=b=>{if(!b||!b.length)return h([],!1);const S=b.reduce(($,T)=>{const F=Fn(T.id,!1);return To(T)?$.nodes.push(F):$.edges.push(F),$},{nodes:[],edges:[]});S.nodes.length&&e.hooks.nodesChange.trigger(S.nodes),S.edges.length&&e.hooks.edgesChange.trigger(S.edges)},w=b=>{var S;(S=e.d3Zoom)==null||S.scaleExtent([b,e.maxZoom]),e.minZoom=b},I=b=>{var S;(S=e.d3Zoom)==null||S.scaleExtent([e.minZoom,b]),e.maxZoom=b},k=b=>{var S;(S=e.d3Zoom)==null||S.translateExtent(b),e.translateExtent=b},D=b=>{e.nodeExtent=b,r()},R=b=>{var S;(S=e.d3Zoom)==null||S.clickDistance(b)},A=b=>{e.nodesDraggable=b,e.nodesConnectable=b,e.elementsSelectable=b},P=b=>{const S=b instanceof Function?b(e.nodes):b;!e.initialized&&!S.length||(e.nodes=Lg(S,c,e.hooks.error.trigger))},z=b=>{const S=b instanceof Function?b(e.edges):b;if(!e.initialized&&!S.length)return;const $=Vg(S,e.isValidConnection,c,u,e.hooks.error.trigger,e.defaultEdgeOptions,e.nodes,e.edges);Hg(e.connectionLookup,$),e.edges=$},C=b=>{const S=b instanceof Function?b([...e.nodes,...e.edges]):b;!e.initialized&&!S.length||(P(S.filter(To)),z(S.filter(oo)))},j=b=>{let S=b instanceof Function?b(e.nodes):b;S=Array.isArray(S)?S:[S];const $=Lg(S,c,e.hooks.error.trigger),T=[];for(const F of $)T.push(Ig(F));T.length&&e.hooks.nodesChange.trigger(T)},y=b=>{let S=b instanceof Function?b(e.edges):b;S=Array.isArray(S)?S:[S];const $=Vg(S,e.isValidConnection,c,u,e.hooks.error.trigger,e.defaultEdgeOptions,e.nodes,e.edges),T=[];for(const F of $)T.push(Ig(F));T.length&&e.hooks.edgesChange.trigger(T)},O=(b,S=!0,$=!1)=>{const T=b instanceof Function?b(e.nodes):b,F=Array.isArray(T)?T:[T],G=[],Y=[];function K(oe){const ee=a(oe);for(const ne of ee)(!Xe(ne.deletable)||ne.deletable)&&Y.push(Ng(ne.id,ne.source,ne.target,ne.sourceHandle,ne.targetHandle))}function X(oe){const ee=[];for(const ne of e.nodes)ne.parentNode===oe&&ee.push(ne);if(ee.length){for(const ne of ee)G.push(Pg(ne.id));S&&K(ee);for(const ne of ee)X(ne.id)}}for(const oe of F){const ee=typeof oe=="string"?c(oe):oe;ee&&(Xe(ee.deletable)&&!ee.deletable||(G.push(Pg(ee.id)),S&&K([ee]),$&&X(ee.id)))}Y.length&&e.hooks.edgesChange.trigger(Y),G.length&&e.hooks.nodesChange.trigger(G)},x=b=>{const S=b instanceof Function?b(e.edges):b,$=Array.isArray(S)?S:[S],T=[];for(const F of $){const G=typeof F=="string"?u(F):F;G&&(Xe(G.deletable)&&!G.deletable||T.push(Ng(typeof F=="string"?F:F.id,G.source,G.target,G.sourceHandle,G.targetHandle)))}e.hooks.edgesChange.trigger(T)},L=(b,S,$=!0)=>BM(b,S,e.edges,u,$,e.hooks.error.trigger),B=(b,S,$={replace:!1})=>{const T=u(b);if(!T)return;const F=typeof S=="function"?S(T):S;T.data=$.replace?F:{...T.data,...F}},U=b=>Tg(b,e.nodes),V=b=>{const S=Tg(b,e.edges);return Hg(e.connectionLookup,S),S},W=(b,S,$={replace:!1})=>{const T=c(b);if(!T)return;const F=typeof S=="function"?S(T):S;$.replace?e.nodes.splice(e.nodes.indexOf(T),1,F):Object.assign(T,F)},q=(b,S,$={replace:!1})=>{const T=c(b);if(!T)return;const F=typeof S=="function"?S(T):S;T.data=$.replace?F:{...T.data,...F}},Q=(b,S,$=!1)=>{$?e.connectionClickStartHandle=b:e.connectionStartHandle=b,e.connectionEndHandle=null,e.connectionStatus=null,S&&(e.connectionPosition=S)},J=(b,S=null,$=null)=>{e.connectionStartHandle&&(e.connectionPosition=b,e.connectionEndHandle=S,e.connectionStatus=$)},te=(b,S)=>{e.connectionPosition={x:Number.NaN,y:Number.NaN},e.connectionEndHandle=null,e.connectionStatus=null,S?e.connectionClickStartHandle=null:e.connectionStartHandle=null},ge=b=>{const S=yM(b),$=S?null:qr(b)?b:c(b.id);return!S&&!$?[null,null,S]:[S?b:dc($),$,S]},le=(b,S=!0,$=e.nodes)=>{const[T,F,G]=ge(b);if(!T)return[];const Y=[];for(const K of $||e.nodes){if(!G&&(K.id===F.id||!K.computedPosition))continue;const X=dc(K),oe=hc(X,T);(S&&oe>0||oe>=Number(T.width)*Number(T.height))&&Y.push(K)}return Y},ce=(b,S,$=!0)=>{const[T]=ge(b);if(!T)return!1;const F=hc(T,S);return $&&F>0||F>=Number(T.width)*Number(T.height)},ve=b=>{const{viewport:S,dimensions:$,d3Zoom:T,d3Selection:F,translateExtent:G}=e;if(!T||!F||!b.x&&!b.y)return!1;const Y=Sr.translate(S.x+b.x,S.y+b.y).scale(S.zoom),K=[[0,0],[$.width,$.height]],X=T.constrain()(Y,K,G),oe=e.viewport.x!==X.x||e.viewport.y!==X.y||e.viewport.zoom!==X.k;return T.transform(F,X),oe},_e=b=>{const S=b instanceof Function?b(e):b,$=["d3Zoom","d3Selection","d3ZoomHandler","viewportRef","vueFlowRef","dimensions","hooks"];Xe(S.defaultEdgeOptions)&&(e.defaultEdgeOptions=S.defaultEdgeOptions);const T=S.modelValue||S.nodes||S.edges?[]:void 0;T&&(S.modelValue&&T.push(...S.modelValue),S.nodes&&T.push(...S.nodes),S.edges&&T.push(...S.edges),C(T));const F=()=>{Xe(S.maxZoom)&&I(S.maxZoom),Xe(S.minZoom)&&w(S.minZoom),Xe(S.translateExtent)&&k(S.translateExtent)};for(const G of Object.keys(S)){const Y=G,K=S[Y];![...ZM,...$].includes(Y)&&Xe(K)&&(e[Y]=K)}tc(()=>e.d3Zoom).not.toBeNull().then(F),e.initialized||(e.initialized=!0)};return{updateNodePositions:f,updateNodeDimensions:d,setElements:C,setNodes:P,setEdges:z,addNodes:j,addEdges:y,removeNodes:O,removeEdges:x,findNode:c,findEdge:u,updateEdge:L,updateEdgeData:B,updateNode:W,updateNodeData:q,applyEdgeChanges:V,applyNodeChanges:U,addSelectedElements:p,addSelectedNodes:m,addSelectedEdges:g,setMinZoom:w,setMaxZoom:I,setTranslateExtent:k,setNodeExtent:D,setPaneClickDistance:R,removeSelectedElements:v,removeSelectedNodes:_,removeSelectedEdges:E,startConnection:Q,updateConnection:J,endConnection:te,setInteractive:A,setState:_e,getIntersectingNodes:le,getIncomers:i,getOutgoers:s,getConnectedEdges:a,getHandleConnections:l,isNodeIntersecting:ce,panBy:ve,fitView:b=>o.value.fitView(b),zoomIn:b=>o.value.zoomIn(b),zoomOut:b=>o.value.zoomOut(b),zoomTo:(b,S)=>o.value.zoomTo(b,S),setViewport:(b,S)=>o.value.setViewport(b,S),setTransform:(b,S)=>o.value.setTransform(b,S),getViewport:()=>o.value.getViewport(),getTransform:()=>o.value.getTransform(),setCenter:(b,S,$)=>o.value.setCenter(b,S,$),fitBounds:(b,S)=>o.value.fitBounds(b,S),project:b=>o.value.project(b),screenToFlowCoordinate:b=>o.value.screenToFlowCoordinate(b),flowToScreenCoordinate:b=>o.value.flowToScreenCoordinate(b),toObject:()=>{const b=[],S=[];for(const $ of e.nodes){const{computedPosition:T,handleBounds:F,selected:G,dimensions:Y,isParent:K,resizing:X,dragging:oe,events:ee,...ne}=$;b.push(ne)}for(const $ of e.edges){const{selected:T,sourceNode:F,targetNode:G,events:Y,...K}=$;S.push(K)}return JSON.parse(JSON.stringify({nodes:b,edges:S,position:[e.viewport.x,e.viewport.y],zoom:e.viewport.zoom,viewport:e.viewport}))},fromObject:b=>new Promise(S=>{const{nodes:$,edges:T,position:F,zoom:G,viewport:Y}=b;if($&&P($),T&&z(T),Y!=null&&Y.x&&(Y!=null&&Y.y)||F){const K=(Y==null?void 0:Y.x)||F[0],X=(Y==null?void 0:Y.y)||F[1],oe=(Y==null?void 0:Y.zoom)||G||e.viewport.zoom;return tc(()=>o.value.viewportInitialized).toBe(!0).then(()=>{o.value.setViewport({x:K,y:X,zoom:oe}).then(()=>{S(!0)})})}else S(!0)}),updateNodeInternals:r,viewportHelper:o,$reset:()=>{const b=sb();if(e.edges=[],e.nodes=[],e.d3Zoom&&e.d3Selection){const S=Sr.translate(b.defaultViewport.x??0,b.defaultViewport.y??0).scale(Ho(b.defaultViewport.zoom??1,b.minZoom,b.maxZoom)),$=e.viewportRef.getBoundingClientRect(),T=[[0,0],[$.width,$.height]],F=e.d3Zoom.constrain()(S,T,b.translateExtent);e.d3Zoom.transform(e.d3Selection,F)}_e(b)},$destroy:()=>{}}}const QM=["data-id","data-handleid","data-nodeid","data-handlepos"],eA={name:"Handle",compatConfig:{MODE:3}},xr=ke({...eA,props:{id:{default:null},type:{},position:{default:()=>de.Top},isValidConnection:{type:Function},connectable:{type:[Boolean,Number,String,Function],default:void 0},connectableStart:{type:Boolean,default:!0},connectableEnd:{type:Boolean,default:!0}},setup(e,{expose:t}){const n=vv(e,["position","connectable","connectableStart","connectableEnd","id"]),o=pe(()=>n.type??"source"),r=pe(()=>n.isValidConnection??null),{connectionStartHandle:i,connectionClickStartHandle:s,connectionEndHandle:a,vueFlowRef:l,nodesConnectable:c,noDragClassName:u,noPanClassName:f}=ze(),{id:d,node:h,nodeEl:m,connectedEdges:g}=rb(),p=se(),_=pe(()=>typeof e.connectableStart<"u"?e.connectableStart:!0),E=pe(()=>typeof e.connectableEnd<"u"?e.connectableEnd:!0),v=pe(()=>{var P,z,C,j,y,O;return((P=i.value)==null?void 0:P.nodeId)===d&&((z=i.value)==null?void 0:z.handleId)===e.id&&((C=i.value)==null?void 0:C.type)===o.value||((j=a.value)==null?void 0:j.nodeId)===d&&((y=a.value)==null?void 0:y.handleId)===e.id&&((O=a.value)==null?void 0:O.type)===o.value}),w=pe(()=>{var P,z,C;return((P=s.value)==null?void 0:P.nodeId)===d&&((z=s.value)==null?void 0:z.handleId)===e.id&&((C=s.value)==null?void 0:C.type)===o.value}),{handlePointerDown:I,handleClick:k}=ob({nodeId:d,handleId:e.id,isValidConnection:r,type:o}),D=H(()=>typeof e.connectable=="string"&&e.connectable==="single"?!g.value.some(P=>{const z=P[`${o.value}Handle`];return P[o.value]!==d?!1:z?z===e.id:!0}):typeof e.connectable=="number"?g.value.filter(P=>{const z=P[`${o.value}Handle`];return P[o.value]!==d?!1:z?z===e.id:!0}).length<e.connectable:typeof e.connectable=="function"?e.connectable(h,g.value):Xe(e.connectable)?e.connectable:c.value);ot(()=>{var P;if(!h.dimensions.width||!h.dimensions.height)return;const z=(P=h.handleBounds[o.value])==null?void 0:P.find(B=>B.id===e.id);if(!l.value||z)return;const C=l.value.querySelector(".vue-flow__transformationpane");if(!m.value||!p.value||!C||!e.id)return;const j=m.value.getBoundingClientRect(),y=p.value.getBoundingClientRect(),O=window.getComputedStyle(C),{m22:x}=new window.DOMMatrixReadOnly(O.transform),L={id:e.id,position:e.position,x:(y.left-j.left)/x,y:(y.top-j.top)/x,...al(p.value)};h.handleBounds[o.value]=[...h.handleBounds[o.value]??[],L]}),Fi(()=>{const P=h.handleBounds[o.value];P&&(h.handleBounds[o.value]=P.filter(z=>z.id!==e.id))});function R(P){const z=Mf(P);D.value&&_.value&&(z&&P.button===0||!z)&&I(P)}function A(P){!d||!s.value&&!_.value||D.value&&k(P)}return t({handleClick:k,handlePointerDown:I,onClick:A,onPointerDown:R}),(P,z)=>(re(),Se("div",{ref_key:"handle",ref:p,"data-id":`${Z(d)}-${e.id}-${o.value}`,"data-handleid":e.id,"data-nodeid":Z(d),"data-handlepos":P.position,class:Et(["vue-flow__handle",[`vue-flow__handle-${P.position}`,`vue-flow__handle-${e.id}`,Z(u),Z(f),o.value,{connectable:D.value,connecting:w.value,connectablestart:_.value,connectableend:E.value,connectionindicator:D.value&&(_.value&&!v.value||E.value&&v.value)}]]),onMousedown:R,onTouchstartPassive:R,onClick:A},[zt(P.$slots,"default",{id:P.id})],42,QM))}}),fl=function({sourcePosition:e=de.Bottom,targetPosition:t=de.Top,label:n,connectable:o=!0,isValidTargetPos:r,isValidSourcePos:i,data:s}){const a=s.label||n;return[Ce(xr,{type:"target",position:t,connectable:o,isValidConnection:r}),typeof a!="string"&&a?Ce(a):Ce(we,[a]),Ce(xr,{type:"source",position:e,connectable:o,isValidConnection:i})]};fl.props=["sourcePosition","targetPosition","label","isValidTargetPos","isValidSourcePos","connectable","data"];fl.inheritAttrs=!1;fl.compatConfig={MODE:3};const tA=fl,dl=function({targetPosition:e=de.Top,label:t,connectable:n=!0,isValidTargetPos:o,data:r}){const i=r.label||t;return[Ce(xr,{type:"target",position:e,connectable:n,isValidConnection:o}),typeof i!="string"&&i?Ce(i):Ce(we,[i])]};dl.props=["targetPosition","label","isValidTargetPos","connectable","data"];dl.inheritAttrs=!1;dl.compatConfig={MODE:3};const nA=dl,hl=function({sourcePosition:e=de.Bottom,label:t,connectable:n=!0,isValidSourcePos:o,data:r}){const i=r.label||t;return[typeof i!="string"&&i?Ce(i):Ce(we,[i]),Ce(xr,{type:"source",position:e,connectable:n,isValidConnection:o})]};hl.props=["sourcePosition","label","isValidSourcePos","connectable","data"];hl.inheritAttrs=!1;hl.compatConfig={MODE:3};const oA=hl,rA=["transform"],iA=["width","height","x","y","rx","ry"],sA=["y"],aA={name:"EdgeText",compatConfig:{MODE:3}},lA=ke({...aA,props:{x:{},y:{},label:{},labelStyle:{default:()=>({})},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{default:()=>({})},labelBgPadding:{default:()=>[2,4]},labelBgBorderRadius:{default:2}},setup(e){const t=se({x:0,y:0,width:0,height:0}),n=se(null),o=H(()=>`translate(${e.x-t.value.width/2} ${e.y-t.value.height/2})`);ot(r),ue([()=>e.x,()=>e.y,n,()=>e.label],r);function r(){if(!n.value)return;const i=n.value.getBBox();(i.width!==t.value.width||i.height!==t.value.height)&&(t.value=i)}return(i,s)=>(re(),Se("g",{transform:o.value,class:"vue-flow__edge-textwrapper"},[i.labelShowBg?(re(),Se("rect",{key:0,class:"vue-flow__edge-textbg",width:`${t.value.width+2*i.labelBgPadding[0]}px`,height:`${t.value.height+2*i.labelBgPadding[1]}px`,x:-i.labelBgPadding[0],y:-i.labelBgPadding[1],style:gt(i.labelBgStyle),rx:i.labelBgBorderRadius,ry:i.labelBgBorderRadius},null,12,iA)):Ke("",!0),it("text",tt(i.$attrs,{ref_key:"el",ref:n,class:"vue-flow__edge-text",y:t.value.height/2,dy:"0.3em",style:i.labelStyle}),[zt(i.$slots,"default",{},()=>[typeof i.label!="string"?(re(),Pe(Ba(i.label),{key:0})):(re(),Se(we,{key:1},[_o(Po(i.label),1)],64))])],16,sA)],8,rA))}}),uA=["id","d","marker-end","marker-start"],cA=["d","stroke-width"],fA={name:"BaseEdge",inheritAttrs:!1,compatConfig:{MODE:3}},gl=ke({...fA,props:{id:{},labelX:{},labelY:{},path:{},label:{},markerStart:{},markerEnd:{},interactionWidth:{default:20},style:{},labelStyle:{},labelShowBg:{type:Boolean,default:!0},labelBgStyle:{},labelBgPadding:{},labelBgBorderRadius:{}},setup(e,{expose:t}){const n=vv(e,["interactionWidth","labelShowBg"]),o=se(null),r=se(null),i=se(null),s=Uc();return t({pathEl:o,interactionEl:r,labelEl:i}),(a,l)=>(re(),Se(we,null,[it("path",{id:a.id,ref_key:"pathEl",ref:o,d:a.path,style:gt(n.style),class:Et(["vue-flow__edge-path",Z(s).class]),"marker-end":a.markerEnd,"marker-start":a.markerStart},null,14,uA),a.interactionWidth?(re(),Se("path",{key:0,ref_key:"interactionEl",ref:r,fill:"none",d:a.path,"stroke-width":a.interactionWidth,"stroke-opacity":0,class:"vue-flow__edge-interaction"},null,8,cA)):Ke("",!0),a.label&&a.labelX&&a.labelY?(re(),Pe(lA,{key:1,ref_key:"labelEl",ref:i,x:a.labelX,y:a.labelY,label:a.label,"label-show-bg":a.labelShowBg,"label-bg-style":a.labelBgStyle,"label-bg-padding":a.labelBgPadding,"label-bg-border-radius":a.labelBgBorderRadius,"label-style":a.labelStyle},null,8,["x","y","label","label-show-bg","label-bg-style","label-bg-padding","label-bg-border-radius","label-style"])):Ke("",!0)],64))}});function ab({sourceX:e,sourceY:t,targetX:n,targetY:o}){const r=Math.abs(n-e)/2,i=n<e?n+r:n-r,s=Math.abs(o-t)/2,a=o<t?o+s:o-s;return[i,a,r,s]}function lb({sourceX:e,sourceY:t,targetX:n,targetY:o,sourceControlX:r,sourceControlY:i,targetControlX:s,targetControlY:a}){const l=e*.125+r*.375+s*.375+n*.125,c=t*.125+i*.375+a*.375+o*.125,u=Math.abs(l-e),f=Math.abs(c-t);return[l,c,u,f]}function ys(e,t){return e>=0?.5*e:t*25*Math.sqrt(-e)}function zg({pos:e,x1:t,y1:n,x2:o,y2:r,c:i}){let s,a;switch(e){case de.Left:s=t-ys(t-o,i),a=n;break;case de.Right:s=t+ys(o-t,i),a=n;break;case de.Top:s=t,a=n-ys(n-r,i);break;case de.Bottom:s=t,a=n+ys(r-n,i);break}return[s,a]}function ub(e){const{sourceX:t,sourceY:n,sourcePosition:o=de.Bottom,targetX:r,targetY:i,targetPosition:s=de.Top,curvature:a=.25}=e,[l,c]=zg({pos:o,x1:t,y1:n,x2:r,y2:i,c:a}),[u,f]=zg({pos:s,x1:r,y1:i,x2:t,y2:n,c:a}),[d,h,m,g]=lb({sourceX:t,sourceY:n,targetX:r,targetY:i,sourceControlX:l,sourceControlY:c,targetControlX:u,targetControlY:f});return[`M${t},${n} C${l},${c} ${u},${f} ${r},${i}`,d,h,m,g]}function Ug({pos:e,x1:t,y1:n,x2:o,y2:r}){let i,s;switch(e){case de.Left:case de.Right:i=.5*(t+o),s=n;break;case de.Top:case de.Bottom:i=t,s=.5*(n+r);break}return[i,s]}function cb(e){const{sourceX:t,sourceY:n,sourcePosition:o=de.Bottom,targetX:r,targetY:i,targetPosition:s=de.Top}=e,[a,l]=Ug({pos:o,x1:t,y1:n,x2:r,y2:i}),[c,u]=Ug({pos:s,x1:r,y1:i,x2:t,y2:n}),[f,d,h,m]=lb({sourceX:t,sourceY:n,targetX:r,targetY:i,sourceControlX:a,sourceControlY:l,targetControlX:c,targetControlY:u});return[`M${t},${n} C${a},${l} ${c},${u} ${r},${i}`,f,d,h,m]}const Wg={[de.Left]:{x:-1,y:0},[de.Right]:{x:1,y:0},[de.Top]:{x:0,y:-1},[de.Bottom]:{x:0,y:1}};function dA({source:e,sourcePosition:t=de.Bottom,target:n}){return t===de.Left||t===de.Right?e.x<n.x?{x:1,y:0}:{x:-1,y:0}:e.y<n.y?{x:0,y:1}:{x:0,y:-1}}function jg(e,t){return Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)}function hA({source:e,sourcePosition:t=de.Bottom,target:n,targetPosition:o=de.Top,center:r,offset:i}){const s=Wg[t],a=Wg[o],l={x:e.x+s.x*i,y:e.y+s.y*i},c={x:n.x+a.x*i,y:n.y+a.y*i},u=dA({source:l,sourcePosition:t,target:c}),f=u.x!==0?"x":"y",d=u[f];let h,m,g;const p={x:0,y:0},_={x:0,y:0},[E,v,w,I]=ab({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(s[f]*a[f]===-1){m=r.x??E,g=r.y??v;const D=[{x:m,y:l.y},{x:m,y:c.y}],R=[{x:l.x,y:g},{x:c.x,y:g}];s[f]===d?h=f==="x"?D:R:h=f==="x"?R:D}else{const D=[{x:l.x,y:c.y}],R=[{x:c.x,y:l.y}];if(f==="x"?h=s.x===d?R:D:h=s.y===d?D:R,t===o){const j=Math.abs(e[f]-n[f]);if(j<=i){const y=Math.min(i-1,i-j);s[f]===d?p[f]=(l[f]>e[f]?-1:1)*y:_[f]=(c[f]>n[f]?-1:1)*y}}if(t!==o){const j=f==="x"?"y":"x",y=s[f]===a[j],O=l[j]>c[j],x=l[j]<c[j];(s[f]===1&&(!y&&O||y&&x)||s[f]!==1&&(!y&&x||y&&O))&&(h=f==="x"?D:R)}const A={x:l.x+p.x,y:l.y+p.y},P={x:c.x+_.x,y:c.y+_.y},z=Math.max(Math.abs(A.x-h[0].x),Math.abs(P.x-h[0].x)),C=Math.max(Math.abs(A.y-h[0].y),Math.abs(P.y-h[0].y));z>=C?(m=(A.x+P.x)/2,g=h[0].y):(m=h[0].x,g=(A.y+P.y)/2)}return[[e,{x:l.x+p.x,y:l.y+p.y},...h,{x:c.x+_.x,y:c.y+_.y},n],m,g,w,I]}function gA(e,t,n,o){const r=Math.min(jg(e,t)/2,jg(t,n)/2,o),{x:i,y:s}=t;if(e.x===i&&i===n.x||e.y===s&&s===n.y)return`L${i} ${s}`;if(e.y===s){const c=e.x<n.x?-1:1,u=e.y<n.y?1:-1;return`L ${i+r*c},${s}Q ${i},${s} ${i},${s+r*u}`}const a=e.x<n.x?1:-1,l=e.y<n.y?-1:1;return`L ${i},${s+r*l}Q ${i},${s} ${i+r*a},${s}`}function mc(e){const{sourceX:t,sourceY:n,sourcePosition:o=de.Bottom,targetX:r,targetY:i,targetPosition:s=de.Top,borderRadius:a=5,centerX:l,centerY:c,offset:u=20}=e,[f,d,h,m,g]=hA({source:{x:t,y:n},sourcePosition:o,target:{x:r,y:i},targetPosition:s,center:{x:l,y:c},offset:u});return[f.reduce((_,E,v)=>{let w;return v>0&&v<f.length-1?w=gA(f[v-1],E,f[v+1],a):w=`${v===0?"M":"L"}${E.x} ${E.y}`,_+=w,_},""),d,h,m,g]}function mA(e){const{sourceX:t,sourceY:n,targetX:o,targetY:r}=e,[i,s,a,l]=ab({sourceX:t,sourceY:n,targetX:o,targetY:r});return[`M ${t},${n}L ${o},${r}`,i,s,a,l]}const vA=ke({name:"StraightEdge",props:["label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(e,{attrs:t}){return()=>{const[n,o,r]=mA(e);return Ce(gl,{path:n,labelX:o,labelY:r,...t,...e})}}}),pA=vA,yA=ke({name:"SmoothStepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","borderRadius","markerEnd","markerStart","interactionWidth","offset"],compatConfig:{MODE:3},setup(e,{attrs:t}){return()=>{const[n,o,r]=mc({...e,sourcePosition:e.sourcePosition??de.Bottom,targetPosition:e.targetPosition??de.Top});return Ce(gl,{path:n,labelX:o,labelY:r,...t,...e})}}}),Df=yA,bA=ke({name:"StepEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],setup(e,{attrs:t}){return()=>Ce(Df,{...e,...t,borderRadius:0})}}),_A=bA,wA=ke({name:"BezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","curvature","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(e,{attrs:t}){return()=>{const[n,o,r]=ub({...e,sourcePosition:e.sourcePosition??de.Bottom,targetPosition:e.targetPosition??de.Top});return Ce(gl,{path:n,labelX:o,labelY:r,...t,...e})}}}),SA=wA,xA=ke({name:"SimpleBezierEdge",props:["sourcePosition","targetPosition","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","sourceY","sourceX","targetX","targetY","markerEnd","markerStart","interactionWidth"],compatConfig:{MODE:3},setup(e,{attrs:t}){return()=>{const[n,o,r]=cb({...e,sourcePosition:e.sourcePosition??de.Bottom,targetPosition:e.targetPosition??de.Top});return Ce(gl,{path:n,labelX:o,labelY:r,...t,...e})}}}),CA=xA,EA={input:oA,default:tA,output:nA},kA={default:SA,straight:pA,step:_A,smoothstep:Df,simplebezier:CA};function $A(e,t,n){const o=H(()=>g=>t.value.get(g)),r=H(()=>g=>n.value.get(g)),i=H(()=>{const g={...kA,...e.edgeTypes},p=Object.keys(g);for(const _ of e.edges)_.type&&!p.includes(_.type)&&(g[_.type]=_.type);return g}),s=H(()=>{const g={...EA,...e.nodeTypes},p=Object.keys(g);for(const _ of e.nodes)_.type&&!p.includes(_.type)&&(g[_.type]=_.type);return g}),a=H(()=>e.onlyRenderVisibleElements?G0(e.nodes,{x:0,y:0,width:e.dimensions.width,height:e.dimensions.height},e.viewport,!0):e.nodes),l=H(()=>{if(e.onlyRenderVisibleElements){const g=[];for(const p of e.edges){const _=t.value.get(p.source),E=t.value.get(p.target);IM({sourcePos:_.computedPosition||{x:0,y:0},targetPos:E.computedPosition||{x:0,y:0},sourceWidth:_.dimensions.width,sourceHeight:_.dimensions.height,targetWidth:E.dimensions.width,targetHeight:E.dimensions.height,width:e.dimensions.width,height:e.dimensions.height,viewport:e.viewport})&&g.push(p)}return g}return e.edges}),c=H(()=>[...a.value,...l.value]),u=H(()=>{const g=[];for(const p of e.nodes)p.selected&&g.push(p);return g}),f=H(()=>{const g=[];for(const p of e.edges)p.selected&&g.push(p);return g}),d=H(()=>[...u.value,...f.value]),h=H(()=>{const g=[];for(const p of e.nodes)p.dimensions.width&&p.dimensions.height&&p.handleBounds!==void 0&&g.push(p);return g}),m=H(()=>a.value.length>0&&h.value.length===a.value.length);return{getNode:o,getEdge:r,getElements:c,getEdgeTypes:i,getNodeTypes:s,getEdges:l,getNodes:a,getSelectedElements:d,getSelectedNodes:u,getSelectedEdges:f,getNodesInitialized:h,areNodesInitialized:m}}class bo{constructor(){this.currentId=0,this.flows=new Map}static getInstance(){var t;const n=(t=Bt())==null?void 0:t.appContext.app,o=(n==null?void 0:n.config.globalProperties.$vueFlowStorage)??bo.instance;return bo.instance=o??new bo,n&&(n.config.globalProperties.$vueFlowStorage=bo.instance),bo.instance}set(t,n){return this.flows.set(t,n)}get(t){return this.flows.get(t)}remove(t){return this.flows.delete(t)}create(t,n){const o=sb(),r=We(o),i={};for(const[d,h]of Object.entries(r.hooks)){const m=`on${d.charAt(0).toUpperCase()+d.slice(1)}`;i[m]=h.on}const s={};for(const[d,h]of Object.entries(r.hooks))s[d]=h.trigger;const a=H(()=>{const d=new Map;for(const h of r.nodes)d.set(h.id,h);return d}),l=H(()=>{const d=new Map;for(const h of r.edges)d.set(h.id,h);return d}),c=$A(r,a,l),u=JM(r,a,l);u.setState({...r,...n});const f={...i,...c,...u,...M2(r),nodeLookup:a,edgeLookup:l,emits:s,id:t,vueFlowVersion:"1.41.5",$destroy:()=>{this.remove(t)}};return this.set(t,f),f}getId(){return`vue-flow-${this.currentId++}`}}function ze(e){const t=bo.getInstance(),n=Tr(),o=typeof e=="object",r=o?e:{id:e},i=r.id,s=i??(n==null?void 0:n.vueFlowId);let a;if(n){const l=Ve(Fg,null);typeof l<"u"&&l!==null&&(!s||l.id===s)&&(a=l)}if(a||s&&(a=t.get(s)),!a||s&&a.id!==s){const l=i??t.getId(),c=t.create(l,r);a=c,(n??$r(!0)).run(()=>{ue(c.applyDefault,(f,d,h)=>{const m=p=>{c.applyNodeChanges(p)},g=p=>{c.applyEdgeChanges(p)};f?(c.onNodesChange(m),c.onEdgesChange(g)):(c.hooks.value.nodesChange.off(m),c.hooks.value.edgesChange.off(g)),h(()=>{c.hooks.value.nodesChange.off(m),c.hooks.value.edgesChange.off(g)})},{immediate:!0}),nl(()=>{if(a){const f=t.get(a.id);f?f.$destroy():ul(`No store instance found for id ${a.id} in storage.`)}})})}else o&&a.setState(r);if(n&&(st(Fg,a),n.vueFlowId=a.id),o){const l=Bt();(l==null?void 0:l.type.name)!=="VueFlow"&&a.emits.error(new et(qe.USEVUEFLOW_OPTIONS))}return a}function TA(e){const{emits:t,dimensions:n}=ze();let o;ot(()=>{const r=e.value,i=()=>{if(!r)return;const s=al(r);(s.width===0||s.height===0)&&t.error(new et(qe.MISSING_VIEWPORT_DIMENSIONS)),n.value={width:s.width||500,height:s.height||500}};i(),window.addEventListener("resize",i),r&&(o=new ResizeObserver(()=>i()),o.observe(r)),kt(()=>{window.removeEventListener("resize",i),o&&r&&o.unobserve(r)})})}const IA={name:"UserSelection",compatConfig:{MODE:3}},PA=ke({...IA,props:{userSelectionRect:{}},setup(e){return(t,n)=>(re(),Se("div",{class:"vue-flow__selection vue-flow__container",style:gt({width:`${t.userSelectionRect.width}px`,height:`${t.userSelectionRect.height}px`,transform:`translate(${t.userSelectionRect.x}px, ${t.userSelectionRect.y}px)`})},null,4))}}),NA=["tabIndex"],MA={name:"NodesSelection",compatConfig:{MODE:3}},AA=ke({...MA,setup(e){const{emits:t,viewport:n,getSelectedNodes:o,noPanClassName:r,disableKeyboardA11y:i,userSelectionActive:s}=ze(),a=ib(),l=se(null),c=nb({el:l,onStart(m){t.selectionDragStart(m)},onDrag(m){t.selectionDrag(m)},onStop(m){t.selectionDragStop(m)}});ot(()=>{var m;i.value||(m=l.value)==null||m.focus({preventScroll:!0})});const u=H(()=>Pf(o.value)),f=H(()=>({width:`${u.value.width}px`,height:`${u.value.height}px`,top:`${u.value.y}px`,left:`${u.value.x}px`}));function d(m){t.selectionContextMenu({event:m,nodes:o.value})}function h(m){i||gr[m.key]&&a({x:gr[m.key].x,y:gr[m.key].y},m.shiftKey)}return(m,g)=>!Z(s)&&u.value.width&&u.value.height?(re(),Se("div",{key:0,class:Et(["vue-flow__nodesselection vue-flow__container",Z(r)]),style:gt({transform:`translate(${Z(n).x}px,${Z(n).y}px) scale(${Z(n).zoom})`})},[it("div",{ref_key:"el",ref:l,class:Et([{dragging:Z(c)},"vue-flow__nodesselection-rect"]),style:gt(f.value),tabIndex:Z(i)?void 0:-1,onContextmenu:d,onKeydown:h},null,46,NA)],6)):Ke("",!0)}});function DA(e,t){return{x:e.clientX-t.left,y:e.clientY-t.top}}const OA={name:"Pane",compatConfig:{MODE:3}},RA=ke({...OA,props:{isSelecting:{type:Boolean},selectionKeyPressed:{type:Boolean}},setup(e){const{vueFlowRef:t,nodes:n,viewport:o,emits:r,userSelectionActive:i,removeSelectedElements:s,panOnDrag:a,userSelectionRect:l,elementsSelectable:c,nodesSelectionActive:u,getSelectedEdges:f,getSelectedNodes:d,removeNodes:h,removeEdges:m,selectionMode:g,deleteKeyCode:p,multiSelectionKeyCode:_,multiSelectionActive:E,edgeLookup:v,nodeLookup:w}=ze(),I=se(null),k=se(0),D=se(0),R=se(),A=se(new Map),P=pe(()=>c.value&&(e.isSelecting||i.value));let z=!1,C=!1;const j=ui(p,{actInsideInputWithModifier:!1}),y=ui(_);ue(j,Q=>{Q&&(h(d.value),m(f.value),u.value=!1)}),ue(y,Q=>{E.value=Q});function O(Q,J){return te=>{te.target===J&&(Q==null||Q(te))}}function x(){i.value=!1,l.value=null,k.value=0,D.value=0}function L(Q){if(z){z=!1;return}r.paneClick(Q),s(),u.value=!1}function B(Q){var J;if(Array.isArray(a.value)&&((J=a.value)!=null&&J.includes(2))){Q.preventDefault();return}r.paneContextMenu(Q)}function U(Q){r.paneScroll(Q)}function V(Q){var J,te,ge,le,ce;if(R.value=(J=t.value)==null?void 0:J.getBoundingClientRect(),!c.value||!e.isSelecting||Q.button!==0||Q.target!==I.value||!R.value)return;(ge=(te=Q.target)==null?void 0:te.setPointerCapture)==null||ge.call(te,Q.pointerId);const{x:ve,y:_e}=DA(Q,R.value);C=!0,z=!1,A.value=new Map;for(const[ae,fe]of v.value)A.value.set(fe.source,((le=A.value.get(fe.source))==null?void 0:le.add(ae))||new Set([ae])),A.value.set(fe.target,((ce=A.value.get(fe.target))==null?void 0:ce.add(ae))||new Set([ae]));s(),l.value={width:0,height:0,startX:ve,startY:_e,x:ve,y:_e},r.selectionStart(Q)}function W(Q){if(!R.value||!l.value)return;z=!0;const{x:J,y:te}=In(Q,R.value),{startX:ge=0,startY:le=0}=l.value,ce={startX:ge,startY:le,x:J<ge?J:ge,y:te<le?te:le,width:Math.abs(J-ge),height:Math.abs(te-le)},ve=G0(n.value,ce,o.value,g.value===If.Partial,!0),_e=new Set,ae=new Set;for(const fe of ve){ae.add(fe.id);const N=A.value.get(fe.id);if(N)for(const b of N)_e.add(b)}if(k.value!==ae.size){k.value=ae.size;const fe=Xn(w.value,ae,!0);r.nodesChange(fe)}if(D.value!==_e.size){D.value=_e.size;const fe=Xn(v.value,_e);r.edgesChange(fe)}l.value=ce,i.value=!0,u.value=!1}function q(Q){var J;Q.button!==0||!C||((J=Q.target)==null||J.releasePointerCapture(Q.pointerId),!i.value&&l.value&&Q.target===I.value&&L(Q),k.value>0&&(u.value=!0),x(),r.selectionEnd(Q),e.selectionKeyPressed&&(z=!1),C=!1)}return(Q,J)=>(re(),Se("div",{ref_key:"container",ref:I,class:Et(["vue-flow__pane vue-flow__container",{selection:Q.isSelecting}]),onClick:J[0]||(J[0]=te=>P.value?void 0:O(L,I.value)(te)),onContextmenu:J[1]||(J[1]=te=>O(B,I.value)(te)),onWheelPassive:J[2]||(J[2]=te=>O(U,I.value)(te)),onPointerenter:J[3]||(J[3]=te=>P.value?void 0:Z(r).paneMouseEnter(te)),onPointerdown:J[4]||(J[4]=te=>P.value?V(te):Z(r).paneMouseMove(te)),onPointermove:J[5]||(J[5]=te=>P.value?W(te):Z(r).paneMouseMove(te)),onPointerup:J[6]||(J[6]=te=>P.value?q(te):void 0),onPointerleave:J[7]||(J[7]=te=>Z(r).paneMouseLeave(te))},[zt(Q.$slots,"default"),Z(i)&&Z(l)?(re(),Pe(PA,{key:0,"user-selection-rect":Z(l)},null,8,["user-selection-rect"])):Ke("",!0),Z(u)&&Z(d).length?(re(),Pe(AA,{key:1})):Ke("",!0)],34))}}),BA={name:"Transform",compatConfig:{MODE:3}},LA=ke({...BA,setup(e){const{viewport:t,fitViewOnInit:n,fitViewOnInitDone:o}=ze(),r=H(()=>n.value?!o.value:!1),i=H(()=>`translate(${t.value.x}px,${t.value.y}px) scale(${t.value.zoom})`);return(s,a)=>(re(),Se("div",{class:"vue-flow__transformationpane vue-flow__container",style:gt({transform:i.value,opacity:r.value?0:void 0})},[zt(s.$slots,"default")],4))}}),HA={name:"Viewport",compatConfig:{MODE:3}},VA=ke({...HA,setup(e){const{minZoom:t,maxZoom:n,defaultViewport:o,translateExtent:r,zoomActivationKeyCode:i,selectionKeyCode:s,panActivationKeyCode:a,panOnScroll:l,panOnScrollMode:c,panOnScrollSpeed:u,panOnDrag:f,zoomOnDoubleClick:d,zoomOnPinch:h,zoomOnScroll:m,preventScrolling:g,noWheelClassName:p,noPanClassName:_,emits:E,connectionStartHandle:v,userSelectionActive:w,paneDragging:I,d3Zoom:k,d3Selection:D,d3ZoomHandler:R,viewport:A,viewportRef:P,paneClickDistance:z}=ze();TA(P);const C=se(!1),j=se(!1);let y=null,O=!1,x=0,L={x:0,y:0,zoom:0};const B=ui(a),U=ui(s),V=ui(i),W=pe(()=>(!U.value||U.value&&s.value===!0)&&(B.value||f.value)),q=pe(()=>B.value||l.value),Q=pe(()=>U.value||s.value===!0&&W.value!==!0);ot(()=>{if(!P.value){ul("Viewport element is missing");return}const ve=P.value,_e=ve.getBoundingClientRect(),ae=hM().clickDistance(z.value).scaleExtent([t.value,n.value]).translateExtent(r.value),fe=Wt(ve).call(ae),N=fe.on("wheel.zoom"),b=Sr.translate(o.value.x??0,o.value.y??0).scale(Ho(o.value.zoom??1,t.value,n.value)),S=[[0,0],[_e.width,_e.height]],$=ae.constrain()(b,S,r.value);ae.transform(fe,$),ae.wheelDelta(te),k.value=ae,D.value=fe,R.value=N,A.value={x:$.x,y:$.y,zoom:$.k},ae.on("start",T=>{var F;if(!T.sourceEvent)return null;x=T.sourceEvent.button,C.value=!0;const G=le(T.transform);((F=T.sourceEvent)==null?void 0:F.type)==="mousedown"&&(I.value=!0),L=G,E.viewportChangeStart(G),E.moveStart({event:T,flowTransform:G})}),ae.on("end",T=>{if(!T.sourceEvent)return null;if(C.value=!1,I.value=!1,J(W.value,x??0)&&!O&&E.paneContextMenu(T.sourceEvent),O=!1,ge(L,T.transform)){const F=le(T.transform);L=F,E.viewportChangeEnd(F),E.moveEnd({event:T,flowTransform:F})}}),ae.filter(T=>{var F,G,Y;const K=V.value||m.value,X=h.value&&T.ctrlKey,oe=T.button;if((W.value===!0||Array.isArray(W.value)&&W.value.includes(1))&&oe===1&&T.type==="mousedown"&&((F=T.target)!=null&&F.closest(".vue-flow__node")||(G=T.target)!=null&&G.closest(".vue-flow__edge")))return!0;if(!W.value&&!K&&!q.value&&!d.value&&!h.value||w.value||!d.value&&T.type==="dblclick"||ce(T,p.value)&&T.type==="wheel"||ce(T,_.value)&&(T.type!=="wheel"||q.value&&T.type==="wheel"&&!V.value)||!h.value&&T.ctrlKey&&T.type==="wheel"||!K&&!q.value&&!X&&T.type==="wheel")return!1;if(!h&&T.type==="touchstart"&&((Y=T.touches)==null?void 0:Y.length)>1)return T.preventDefault(),!1;if(!W.value&&(T.type==="mousedown"||T.type==="touchstart")||s.value===!0&&Array.isArray(f.value)&&f.value.includes(0)&&oe===0||Array.isArray(W.value)&&!W.value.includes(oe)&&(T.type==="mousedown"||T.type==="touchstart"))return!1;const ee=Array.isArray(W.value)&&W.value.includes(oe)||s.value===!0&&Array.isArray(W.value)&&!W.value.includes(0)||!oe||oe<=1;return(!T.ctrlKey||T.type==="wheel")&&ee}),ue([w,W],()=>{w.value&&!C.value?ae.on("zoom",null):w.value||ae.on("zoom",T=>{A.value={x:T.transform.x,y:T.transform.y,zoom:T.transform.k};const F=le(T.transform);O=J(W.value,x??0),E.viewportChange(F),E.move({event:T,flowTransform:F})})},{immediate:!0}),ue([w,q,c,V,h,g,p],()=>{q.value&&!V.value&&!w.value?fe.on("wheel.zoom",T=>{if(ce(T,p.value))return!1;const F=V.value||m.value,G=h.value&&T.ctrlKey;if(!(!g.value||q.value||F||G))return!1;T.preventDefault(),T.stopImmediatePropagation();const K=fe.property("__zoom").k||1,X=Ca();if(T.ctrlKey&&h.value&&X){const xe=tn(T),Be=te(T),Ae=K*2**Be;ae.scaleTo(fe,Ae,xe,T);return}const oe=T.deltaMode===1?20:1;let ee=c.value===li.Vertical?0:T.deltaX*oe,ne=c.value===li.Horizontal?0:T.deltaY*oe;!X&&T.shiftKey&&c.value!==li.Vertical&&!ee&&ne&&(ee=ne,ne=0),ae.translateBy(fe,-(ee/K)*u.value,-(ne/K)*u.value);const me=le(fe.property("__zoom"));y&&clearTimeout(y),j.value?(E.move({event:T,flowTransform:me}),E.viewportChange(me),y=setTimeout(()=>{E.moveEnd({event:T,flowTransform:me}),E.viewportChangeEnd(me),j.value=!1},150)):(j.value=!0,E.moveStart({event:T,flowTransform:me}),E.viewportChangeStart(me))},{passive:!1}):typeof N<"u"&&fe.on("wheel.zoom",function(T,F){const G=!g.value&&T.type==="wheel"&&!T.ctrlKey,Y=V.value||m.value,K=h.value&&T.ctrlKey;if(!Y&&!l.value&&!K&&T.type==="wheel"||G||ce(T,p.value))return null;T.preventDefault(),N.call(this,T,F)},{passive:!1})},{immediate:!0})});function J(ve,_e){return _e===2&&Array.isArray(ve)&&ve.includes(2)}function te(ve){const _e=ve.ctrlKey&&Ca()?10:1;return-ve.deltaY*(ve.deltaMode===1?.05:ve.deltaMode?1:.002)*_e}function ge(ve,_e){return ve.x!==_e.x&&!Number.isNaN(_e.x)||ve.y!==_e.y&&!Number.isNaN(_e.y)||ve.zoom!==_e.k&&!Number.isNaN(_e.k)}function le(ve){return{x:ve.x,y:ve.y,zoom:ve.k}}function ce(ve,_e){return ve.target.closest(`.${_e}`)}return(ve,_e)=>(re(),Se("div",{ref_key:"viewportRef",ref:P,class:"vue-flow__viewport vue-flow__container"},[M(RA,{"is-selecting":Q.value,"selection-key-pressed":Z(U),class:Et({connecting:!!Z(v),dragging:Z(I),draggable:Z(f)===!0||Array.isArray(Z(f))&&Z(f).includes(0)})},{default:Ue(()=>[M(LA,null,{default:Ue(()=>[zt(ve.$slots,"default")]),_:3})]),_:3},8,["is-selecting","selection-key-pressed","class"])],512))}}),FA=["id"],zA=["id"],UA=["id"],WA={name:"A11yDescriptions",compatConfig:{MODE:3}},jA=ke({...WA,setup(e){const{id:t,disableKeyboardA11y:n,ariaLiveMessage:o}=ze();return(r,i)=>(re(),Se(we,null,[it("div",{id:`${Z(B0)}-${Z(t)}`,style:{display:"none"}}," Press enter or space to select a node. "+Po(Z(n)?"":"You can then use the arrow keys to move the node around.")+" You can then use the arrow keys to move the node around, press delete to remove it and press escape to cancel. ",9,FA),it("div",{id:`${Z(L0)}-${Z(t)}`,style:{display:"none"}}," Press enter or space to select an edge. You can then press delete to remove it or press escape to cancel. ",8,zA),Z(n)?Ke("",!0):(re(),Se("div",{key:0,id:`${Z(pM)}-${Z(t)}`,"aria-live":"assertive","aria-atomic":"true",style:{position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(100%)"}},Po(Z(o)),9,UA))],64))}});function YA(){const e=ze();ue(()=>e.viewportHelper.value.viewportInitialized,t=>{t&&setTimeout(()=>{e.emits.init(e),e.emits.paneReady(e)},1)})}function GA(e,t,n){return n===de.Left?e-t:n===de.Right?e+t:e}function XA(e,t,n){return n===de.Top?e-t:n===de.Bottom?e+t:e}const Of=function({radius:e=10,centerX:t=0,centerY:n=0,position:o=de.Top,type:r}){return Ce("circle",{class:`vue-flow__edgeupdater vue-flow__edgeupdater-${r}`,cx:GA(t,e,o),cy:XA(n,e,o),r:e,stroke:"transparent",fill:"transparent"})};Of.props=["radius","centerX","centerY","position","type"];Of.compatConfig={MODE:3};const Yg=Of,KA=ke({name:"Edge",compatConfig:{MODE:3},props:["id"],setup(e){const{id:t,addSelectedEdges:n,connectionMode:o,edgeUpdaterRadius:r,emits:i,nodesSelectionActive:s,noPanClassName:a,getEdgeTypes:l,removeSelectedEdges:c,findEdge:u,findNode:f,isValidConnection:d,multiSelectionActive:h,disableKeyboardA11y:m,elementsSelectable:g,edgesUpdatable:p,edgesFocusable:_,hooks:E}=ze(),v=H(()=>u(e.id)),{emit:w,on:I}=FM(v.value,i),k=Ve(cl),D=Bt(),R=se(!1),A=se(!1),P=se(""),z=se(null),C=se("source"),j=se(null),y=pe(()=>typeof v.value.selectable>"u"?g.value:v.value.selectable),O=pe(()=>typeof v.value.updatable>"u"?p.value:v.value.updatable),x=pe(()=>typeof v.value.focusable>"u"?_.value:v.value.focusable);st(LM,e.id),st(HM,j);const L=H(()=>v.value.class instanceof Function?v.value.class(v.value):v.value.class),B=H(()=>v.value.style instanceof Function?v.value.style(v.value):v.value.style),U=H(()=>{const S=v.value.type||"default",$=k==null?void 0:k[`edge-${S}`];if($)return $;let T=v.value.template??l.value[S];if(typeof T=="string"&&D){const F=Object.keys(D.appContext.components);F&&F.includes(S)&&(T=fv(S,!1))}return T&&typeof T!="string"?T:(i.error(new et(qe.EDGE_TYPE_MISSING,T)),!1)}),{handlePointerDown:V}=ob({nodeId:P,handleId:z,type:C,isValidConnection:d,edgeUpdaterType:C,onEdgeUpdate:Q,onEdgeUpdateEnd:J});return()=>{const S=f(v.value.source),$=f(v.value.target),T="pathOptions"in v.value?v.value.pathOptions:{};if(!S&&!$)return i.error(new et(qe.EDGE_SOURCE_TARGET_MISSING,v.value.id,v.value.source,v.value.target)),null;if(!S)return i.error(new et(qe.EDGE_SOURCE_MISSING,v.value.id,v.value.source)),null;if(!$)return i.error(new et(qe.EDGE_TARGET_MISSING,v.value.id,v.value.target)),null;if(!v.value||v.value.hidden||S.hidden||$.hidden)return null;let F;o.value===Lo.Strict?F=S.handleBounds.source:F=[...S.handleBounds.source||[],...S.handleBounds.target||[]];const G=Ag(F,v.value.sourceHandle);let Y;o.value===Lo.Strict?Y=$.handleBounds.target:Y=[...$.handleBounds.target||[],...$.handleBounds.source||[]];const K=Ag(Y,v.value.targetHandle),X=(G==null?void 0:G.position)||de.Bottom,oe=(K==null?void 0:K.position)||de.Top,{x:ee,y:ne}=xa(S,G,X),{x:me,y:xe}=xa($,K,oe);return v.value.sourceX=ee,v.value.sourceY=ne,v.value.targetX=me,v.value.targetY=xe,Ce("g",{ref:j,key:e.id,"data-id":e.id,class:["vue-flow__edge",`vue-flow__edge-${U.value===!1?"default":v.value.type||"default"}`,a.value,L.value,{updating:R.value,selected:v.value.selected,animated:v.value.animated,inactive:!y.value&&!E.value.edgeClick.hasListeners()}],onClick:ge,onContextmenu:le,onDblclick:ce,onMouseenter:ve,onMousemove:_e,onMouseleave:ae,onKeyDown:x.value?b:void 0,tabIndex:x.value?0:void 0,"aria-label":v.value.ariaLabel===null?void 0:v.value.ariaLabel||`Edge from ${v.value.source} to ${v.value.target}`,"aria-describedby":x.value?`${L0}-${t}`:void 0,role:x.value?"button":"img"},[A.value?null:Ce(U.value===!1?l.value.default:U.value,{id:e.id,sourceNode:S,targetNode:$,source:v.value.source,target:v.value.target,type:v.value.type,updatable:O.value,selected:v.value.selected,animated:v.value.animated,label:v.value.label,labelStyle:v.value.labelStyle,labelShowBg:v.value.labelShowBg,labelBgStyle:v.value.labelBgStyle,labelBgPadding:v.value.labelBgPadding,labelBgBorderRadius:v.value.labelBgBorderRadius,data:v.value.data,events:{...v.value.events,...I},style:B.value,markerStart:`url('#${Ii(v.value.markerStart,t)}')`,markerEnd:`url('#${Ii(v.value.markerEnd,t)}')`,sourcePosition:X,targetPosition:oe,sourceX:ee,sourceY:ne,targetX:me,targetY:xe,sourceHandleId:v.value.sourceHandle,targetHandleId:v.value.targetHandle,interactionWidth:v.value.interactionWidth,...T}),[O.value==="source"||O.value===!0?[Ce("g",{onMousedown:fe,onMouseenter:W,onMouseout:q},Ce(Yg,{position:X,centerX:ee,centerY:ne,radius:r.value,type:"source","data-type":"source"}))]:null,O.value==="target"||O.value===!0?[Ce("g",{onMousedown:N,onMouseenter:W,onMouseout:q},Ce(Yg,{position:oe,centerX:me,centerY:xe,radius:r.value,type:"target","data-type":"target"}))]:null]])};function W(){R.value=!0}function q(){R.value=!1}function Q(S,$){w.update({event:S,edge:v.value,connection:$})}function J(S){w.updateEnd({event:S,edge:v.value}),A.value=!1}function te(S,$){S.button===0&&(A.value=!0,P.value=$?v.value.target:v.value.source,z.value=($?v.value.targetHandle:v.value.sourceHandle)??"",C.value=$?"target":"source",w.updateStart({event:S,edge:v.value}),V(S))}function ge(S){var $;const T={event:S,edge:v.value};y.value&&(s.value=!1,v.value.selected&&h.value?(c([v.value]),($=j.value)==null||$.blur()):n([v.value])),w.click(T)}function le(S){w.contextMenu({event:S,edge:v.value})}function ce(S){w.doubleClick({event:S,edge:v.value})}function ve(S){w.mouseEnter({event:S,edge:v.value})}function _e(S){w.mouseMove({event:S,edge:v.value})}function ae(S){w.mouseLeave({event:S,edge:v.value})}function fe(S){te(S,!0)}function N(S){te(S,!1)}function b(S){var $;!m.value&&H0.includes(S.key)&&y.value&&(S.key==="Escape"?(($=j.value)==null||$.blur(),c([u(e.id)])):n([u(e.id)]))}}}),qA=KA,ZA={[de.Left]:de.Right,[de.Right]:de.Left,[de.Top]:de.Bottom,[de.Bottom]:de.Top},JA=ke({name:"ConnectionLine",compatConfig:{MODE:3},setup(){var e;const{id:t,connectionMode:n,connectionStartHandle:o,connectionEndHandle:r,connectionPosition:i,connectionLineType:s,connectionLineStyle:a,connectionLineOptions:l,connectionStatus:c,viewport:u,findNode:f}=ze(),d=(e=Ve(cl))==null?void 0:e["connection-line"],h=H(()=>{var E;return f((E=o.value)==null?void 0:E.nodeId)}),m=H(()=>{var E;return f((E=r.value)==null?void 0:E.nodeId)??null}),g=H(()=>({x:(i.value.x-u.value.x)/u.value.zoom,y:(i.value.y-u.value.y)/u.value.zoom})),p=H(()=>l.value.markerStart?`url(#${Ii(l.value.markerStart,t)})`:""),_=H(()=>l.value.markerEnd?`url(#${Ii(l.value.markerEnd,t)})`:"");return()=>{var E,v,w,I;if(!h.value||!o.value)return null;const k=o.value.handleId,D=o.value.type,R=h.value.handleBounds;let A=(R==null?void 0:R[D])||[];if(n.value===Lo.Loose){const U=(R==null?void 0:R[D==="source"?"target":"source"])||[];A=[...A,...U]}if(!A)return null;const P=(k?A.find(U=>U.id===k):A[0])??null,z=(P==null?void 0:P.position)||de.Top,{x:C,y:j}=xa(h.value,P,z);let y=null;m.value&&((E=r.value)!=null&&E.handleId)&&(n.value===Lo.Strict?y=((v=m.value.handleBounds[D==="source"?"target":"source"])==null?void 0:v.find(U=>{var V;return U.id===((V=r.value)==null?void 0:V.handleId)}))||null:y=((w=[...m.value.handleBounds.source||[],...m.value.handleBounds.target||[]])==null?void 0:w.find(U=>{var V;return U.id===((V=r.value)==null?void 0:V.handleId)}))||null);const O=((I=r.value)==null?void 0:I.position)??(z?ZA[z]:null);if(!z||!O)return null;const x=s.value??l.value.type??po.Bezier;let L="";const B={sourceX:C,sourceY:j,sourcePosition:z,targetX:g.value.x,targetY:g.value.y,targetPosition:O};return x===po.Bezier?[L]=ub(B):x===po.Step?[L]=mc({...B,borderRadius:0}):x===po.SmoothStep?[L]=mc(B):x===po.SimpleBezier?[L]=cb(B):L=`M${C},${j} ${g.value.x},${g.value.y}`,Ce("svg",{class:"vue-flow__edges vue-flow__connectionline vue-flow__container"},Ce("g",{class:"vue-flow__connection"},d?Ce(d,{sourceX:C,sourceY:j,sourcePosition:z,targetX:g.value.x,targetY:g.value.y,targetPosition:O,sourceNode:h.value,sourceHandle:P,targetNode:m.value,targetHandle:y,markerEnd:_.value,markerStart:p.value,connectionStatus:c.value}):Ce("path",{d:L,class:[l.value.class,c,"vue-flow__connection-path"],style:{...a.value,...l.value.style},"marker-end":_.value,"marker-start":p.value})))}}}),QA=JA,eD=["id","markerWidth","markerHeight","markerUnits","orient"],tD={name:"MarkerType",compatConfig:{MODE:3}},nD=ke({...tD,props:{id:{},type:{},color:{default:"none"},width:{default:12.5},height:{default:12.5},markerUnits:{default:"strokeWidth"},orient:{default:"auto-start-reverse"},strokeWidth:{default:1}},setup(e){return(t,n)=>(re(),Se("marker",{id:t.id,class:"vue-flow__arrowhead",viewBox:"-10 -10 20 20",refX:"0",refY:"0",markerWidth:`${t.width}`,markerHeight:`${t.height}`,markerUnits:t.markerUnits,orient:t.orient},[t.type===Z(cc).ArrowClosed?(re(),Se("polyline",{key:0,style:gt({stroke:t.color,fill:t.color,strokeWidth:t.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",points:"-5,-4 0,0 -5,4 -5,-4"},null,4)):Ke("",!0),t.type===Z(cc).Arrow?(re(),Se("polyline",{key:1,style:gt({stroke:t.color,strokeWidth:t.strokeWidth}),"stroke-linecap":"round","stroke-linejoin":"round",fill:"none",points:"-5,-4 0,0 -5,4"},null,4)):Ke("",!0)],8,eD))}}),oD={class:"vue-flow__marker vue-flow__container"},rD={name:"MarkerDefinitions",compatConfig:{MODE:3}},iD=ke({...rD,setup(e){const{id:t,edges:n,connectionLineOptions:o,defaultMarkerColor:r}=ze(),i=H(()=>{const s=new Set,a=[],l=c=>{if(c){const u=Ii(c,t);s.has(u)||(typeof c=="object"?a.push({...c,id:u,color:c.color||r.value}):a.push({id:u,color:r.value,type:c}),s.add(u))}};for(const c of[o.value.markerEnd,o.value.markerStart])l(c);for(const c of n.value)for(const u of[c.markerStart,c.markerEnd])l(u);return a.sort((c,u)=>c.id.localeCompare(u.id))});return(s,a)=>(re(),Se("svg",oD,[it("defs",null,[(re(!0),Se(we,null,Zn(i.value,l=>(re(),Pe(nD,{id:l.id,key:l.id,type:l.type,color:l.color,width:l.width,height:l.height,markerUnits:l.markerUnits,"stroke-width":l.strokeWidth,orient:l.orient},null,8,["id","type","color","width","height","markerUnits","stroke-width","orient"]))),128))])]))}}),sD={name:"Edges",compatConfig:{MODE:3}},aD=ke({...sD,setup(e){const{findNode:t,getEdges:n,elevateEdgesOnSelect:o}=ze();return(r,i)=>(re(),Se(we,null,[M(iD),(re(!0),Se(we,null,Zn(Z(n),s=>(re(),Se("svg",{key:s.id,class:"vue-flow__edges vue-flow__container",style:gt({zIndex:Z(PM)(s,Z(t),Z(o))})},[M(Z(qA),{id:s.id},null,8,["id"])],4))),128)),M(Z(QA))],64))}}),lD=ke({name:"Node",compatConfig:{MODE:3},props:["id","resizeObserver"],setup(e){const{id:t,noPanClassName:n,selectNodesOnDrag:o,nodesSelectionActive:r,multiSelectionActive:i,emits:s,removeSelectedNodes:a,addSelectedNodes:l,updateNodeDimensions:c,onUpdateNodeInternals:u,getNodeTypes:f,nodeExtent:d,elevateNodesOnSelect:h,disableKeyboardA11y:m,ariaLiveMessage:g,snapToGrid:p,snapGrid:_,nodeDragThreshold:E,nodesDraggable:v,elementsSelectable:w,nodesConnectable:I,nodesFocusable:k,hooks:D}=ze(),R=se(null);st(tb,R),st(eb,e.id);const A=Ve(cl),P=Bt(),z=ib(),{node:C,parentNode:j}=rb(e.id),{emit:y,on:O}=jM(C,s),x=pe(()=>typeof C.draggable>"u"?v.value:C.draggable),L=pe(()=>typeof C.selectable>"u"?w.value:C.selectable),B=pe(()=>typeof C.connectable>"u"?I.value:C.connectable),U=pe(()=>typeof C.focusable>"u"?k.value:C.focusable),V=pe(()=>L.value||x.value||D.value.nodeClick.hasListeners()||D.value.nodeDoubleClick.hasListeners()||D.value.nodeMouseEnter.hasListeners()||D.value.nodeMouseMove.hasListeners()||D.value.nodeMouseLeave.hasListeners()),W=pe(()=>!!C.dimensions.width&&!!C.dimensions.height),q=H(()=>{const $=C.type||"default",T=A==null?void 0:A[`node-${$}`];if(T)return T;let F=C.template||f.value[$];if(typeof F=="string"&&P){const G=Object.keys(P.appContext.components);G&&G.includes($)&&(F=fv($,!1))}return F&&typeof F!="string"?F:(s.error(new et(qe.NODE_TYPE_MISSING,F)),!1)}),Q=nb({id:e.id,el:R,disabled:()=>!x.value,selectable:L,dragHandle:()=>C.dragHandle,onStart($){y.dragStart($)},onDrag($){y.drag($)},onStop($){y.dragStop($)},onClick($){b($)}}),J=H(()=>C.class instanceof Function?C.class(C):C.class),te=H(()=>{const $=(C.style instanceof Function?C.style(C):C.style)||{},T=C.width instanceof Function?C.width(C):C.width,F=C.height instanceof Function?C.height(C):C.height;return!$.width&&T&&($.width=typeof T=="string"?T:`${T}px`),!$.height&&F&&($.height=typeof F=="string"?F:`${F}px`),$}),ge=pe(()=>Number(C.zIndex??te.value.zIndex??0));return u($=>{($.includes(e.id)||!$.length)&&ce()}),ot(()=>{ue(()=>C.hidden,($=!1,T,F)=>{!$&&R.value&&(e.resizeObserver.observe(R.value),F(()=>{R.value&&e.resizeObserver.unobserve(R.value)}))},{immediate:!0,flush:"post"})}),ue([()=>C.type,()=>C.sourcePosition,()=>C.targetPosition],()=>{Ze(()=>{c([{id:e.id,nodeElement:R.value,forceUpdate:!0}])})}),ue([()=>C.position.x,()=>C.position.y,()=>{var $;return($=j.value)==null?void 0:$.computedPosition.x},()=>{var $;return($=j.value)==null?void 0:$.computedPosition.y},()=>{var $;return($=j.value)==null?void 0:$.computedPosition.z},ge,()=>C.selected,()=>C.dimensions.height,()=>C.dimensions.width,()=>{var $;return($=j.value)==null?void 0:$.dimensions.height},()=>{var $;return($=j.value)==null?void 0:$.dimensions.width}],([$,T,F,G,Y,K])=>{const X={x:$,y:T,z:K+(h.value&&C.selected?1e3:0)};typeof F<"u"&&typeof G<"u"?C.computedPosition=CM({x:F,y:G,z:Y},X):C.computedPosition=X},{flush:"post",immediate:!0}),ue([()=>C.extent,d],([$,T],[F,G])=>{($!==F||T!==G)&&le()}),C.extent==="parent"||typeof C.extent=="object"&&"range"in C.extent&&C.extent.range==="parent"?tc(()=>W).toBe(!0).then(le):le(),()=>C.hidden?null:Ce("div",{ref:R,"data-id":C.id,class:["vue-flow__node",`vue-flow__node-${q.value===!1?"default":C.type||"default"}`,{[n.value]:x.value,dragging:Q==null?void 0:Q.value,draggable:x.value,selected:C.selected,selectable:L.value,parent:C.isParent},J.value],style:{visibility:W.value?"visible":"hidden",zIndex:C.computedPosition.z??ge.value,transform:`translate(${C.computedPosition.x}px,${C.computedPosition.y}px)`,pointerEvents:V.value?"all":"none",...te.value},tabIndex:U.value?0:void 0,role:U.value?"button":void 0,"aria-describedby":m.value?void 0:`${B0}-${t}`,"aria-label":C.ariaLabel,onMouseenter:ve,onMousemove:_e,onMouseleave:ae,onContextmenu:fe,onClick:b,onDblclick:N,onKeydown:S},[Ce(q.value===!1?f.value.default:q.value,{id:C.id,type:C.type,data:C.data,events:{...C.events,...O},selected:C.selected,resizing:C.resizing,dragging:Q.value,connectable:B.value,position:C.computedPosition,dimensions:C.dimensions,isValidTargetPos:C.isValidTargetPos,isValidSourcePos:C.isValidSourcePos,parent:C.parentNode,parentNodeId:C.parentNode,zIndex:C.computedPosition.z??ge.value,targetPosition:C.targetPosition,sourcePosition:C.sourcePosition,label:C.label,dragHandle:C.dragHandle,onUpdateNodeInternals:ce})]);function le(){const $=C.computedPosition,{computedPosition:T,position:F}=Nf(C,p.value?ll($,_.value):$,s.error,d.value,j.value);(C.computedPosition.x!==T.x||C.computedPosition.y!==T.y)&&(C.computedPosition={...C.computedPosition,...T}),(C.position.x!==F.x||C.position.y!==F.y)&&(C.position=F)}function ce(){R.value&&c([{id:e.id,nodeElement:R.value,forceUpdate:!0}])}function ve($){Q!=null&&Q.value||y.mouseEnter({event:$,node:C})}function _e($){Q!=null&&Q.value||y.mouseMove({event:$,node:C})}function ae($){Q!=null&&Q.value||y.mouseLeave({event:$,node:C})}function fe($){return y.contextMenu({event:$,node:C})}function N($){return y.doubleClick({event:$,node:C})}function b($){L.value&&(!o.value||!x.value||E.value>0)&&gc(C,i.value,l,a,r,!1,R.value),y.click({event:$,node:C})}function S($){if(!(fc($)||m.value))if(H0.includes($.key)&&L.value){const T=$.key==="Escape";gc(C,i.value,l,a,r,T,R.value)}else x.value&&C.selected&&gr[$.key]&&(g.value=`Moved selected node ${$.key.replace("Arrow","").toLowerCase()}. New position, x: ${~~C.position.x}, y: ${~~C.position.y}`,z({x:gr[$.key].x,y:gr[$.key].y},$.shiftKey))}}}),uD=lD;function cD(e={includeHiddenNodes:!1}){const{nodes:t}=ze();return H(()=>{if(t.value.length===0)return!1;for(const n of t.value)if((e.includeHiddenNodes||!n.hidden)&&((n==null?void 0:n.handleBounds)===void 0||n.dimensions.width===0||n.dimensions.height===0))return!1;return!0})}const fD={class:"vue-flow__nodes vue-flow__container"},dD={name:"Nodes",compatConfig:{MODE:3}},hD=ke({...dD,setup(e){const{getNodes:t,updateNodeDimensions:n,emits:o}=ze(),r=cD(),i=se();return ue(r,s=>{s&&Ze(()=>{o.nodesInitialized(t.value)})},{immediate:!0}),ot(()=>{i.value=new ResizeObserver(s=>{const a=s.map(l=>({id:l.target.getAttribute("data-id"),nodeElement:l.target,forceUpdate:!0}));Ze(()=>n(a))})}),kt(()=>{var s;return(s=i.value)==null?void 0:s.disconnect()}),(s,a)=>(re(),Se("div",fD,[i.value?(re(!0),Se(we,{key:0},Zn(Z(t),(l,c,u,f)=>{const d=[l.id];if(f&&f.key===l.id&&Z_(f,d))return f;const h=(re(),Pe(Z(uD),{id:l.id,key:l.id,"resize-observer":i.value},null,8,["id","resize-observer"]));return h.memo=d,h},a,0),128)):Ke("",!0)]))}});function gD(){const{emits:e}=ze();ot(()=>{if(Q0()){const t=document.querySelector(".vue-flow__pane");t&&window.getComputedStyle(t).zIndex!=="1"&&e.error(new et(qe.MISSING_STYLES))}})}const mD=it("div",{class:"vue-flow__edge-labels"},null,-1),vD={name:"VueFlow",compatConfig:{MODE:3}},pD=ke({...vD,props:{id:{},modelValue:{},nodes:{},edges:{},edgeTypes:{},nodeTypes:{},connectionMode:{},connectionLineType:{},connectionLineStyle:{default:void 0},connectionLineOptions:{default:void 0},connectionRadius:{},isValidConnection:{type:[Function,null],default:void 0},deleteKeyCode:{default:void 0},selectionKeyCode:{type:[Boolean,null],default:void 0},multiSelectionKeyCode:{default:void 0},zoomActivationKeyCode:{default:void 0},panActivationKeyCode:{default:void 0},snapToGrid:{type:Boolean,default:void 0},snapGrid:{},onlyRenderVisibleElements:{type:Boolean,default:void 0},edgesUpdatable:{type:[Boolean,String],default:void 0},nodesDraggable:{type:Boolean,default:void 0},nodesConnectable:{type:Boolean,default:void 0},nodeDragThreshold:{},elementsSelectable:{type:Boolean,default:void 0},selectNodesOnDrag:{type:Boolean,default:void 0},panOnDrag:{type:[Boolean,Array],default:void 0},minZoom:{},maxZoom:{},defaultViewport:{},translateExtent:{},nodeExtent:{},defaultMarkerColor:{},zoomOnScroll:{type:Boolean,default:void 0},zoomOnPinch:{type:Boolean,default:void 0},panOnScroll:{type:Boolean,default:void 0},panOnScrollSpeed:{},panOnScrollMode:{},paneClickDistance:{},zoomOnDoubleClick:{type:Boolean,default:void 0},preventScrolling:{type:Boolean,default:void 0},selectionMode:{},edgeUpdaterRadius:{},fitViewOnInit:{type:Boolean,default:void 0},connectOnClick:{type:Boolean,default:void 0},applyDefault:{type:Boolean,default:void 0},autoConnect:{type:[Boolean,Function],default:void 0},noDragClassName:{},noWheelClassName:{},noPanClassName:{},defaultEdgeOptions:{},elevateEdgesOnSelect:{type:Boolean,default:void 0},elevateNodesOnSelect:{type:Boolean,default:void 0},disableKeyboardA11y:{type:Boolean,default:void 0},edgesFocusable:{type:Boolean,default:void 0},nodesFocusable:{type:Boolean,default:void 0},autoPanOnConnect:{type:Boolean,default:void 0},autoPanOnNodeDrag:{type:Boolean,default:void 0},autoPanSpeed:{}},emits:["nodesChange","edgesChange","nodesInitialized","paneReady","init","updateNodeInternals","error","connect","connectStart","connectEnd","clickConnectStart","clickConnectEnd","moveStart","move","moveEnd","selectionDragStart","selectionDrag","selectionDragStop","selectionContextMenu","selectionStart","selectionEnd","viewportChangeStart","viewportChange","viewportChangeEnd","paneScroll","paneClick","paneContextMenu","paneMouseEnter","paneMouseMove","paneMouseLeave","edgeUpdate","edgeContextMenu","edgeMouseEnter","edgeMouseMove","edgeMouseLeave","edgeDoubleClick","edgeClick","edgeUpdateStart","edgeUpdateEnd","nodeContextMenu","nodeMouseEnter","nodeMouseMove","nodeMouseLeave","nodeDoubleClick","nodeClick","nodeDragStart","nodeDrag","nodeDragStop","miniMapNodeClick","miniMapNodeDoubleClick","miniMapNodeMouseEnter","miniMapNodeMouseMove","miniMapNodeMouseLeave","update:modelValue","update:nodes","update:edges"],setup(e,{expose:t,emit:n}){const o=e,r=gv(),i=Yl(o,"modelValue",n),s=Yl(o,"nodes",n),a=Yl(o,"edges",n),l=ze(o),c=XM({modelValue:i,nodes:s,edges:a},o,l);return qM(n,l.hooks),YA(),gD(),st(cl,r),Fi(()=>{c()}),t(l),(u,f)=>(re(),Se("div",{ref:Z(l).vueFlowRef,class:"vue-flow"},[M(VA,null,{default:Ue(()=>[M(aD),mD,M(hD),zt(u.$slots,"zoom-pane")]),_:3}),zt(u.$slots,"default"),M(jA)],512))}}),yD={name:"Panel",compatConfig:{MODE:3}},bD=ke({...yD,props:{position:{}},setup(e){const t=e,{userSelectionActive:n}=ze(),o=H(()=>`${t.position}`.split("-"));return(r,i)=>(re(),Se("div",{class:Et(["vue-flow__panel",o.value]),style:gt({pointerEvents:Z(n)?"none":"all"})},[zt(r.$slots,"default")],6))}});var xn=(e=>(e.Lines="lines",e.Dots="dots",e))(xn||{});const fb=function({dimensions:e,size:t,color:n}){return Ce("path",{stroke:n,"stroke-width":t,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},db=function({radius:e,color:t}){return Ce("circle",{cx:e,cy:e,r:e,fill:t})};xn.Lines+"",xn.Dots+"";const _D={[xn.Dots]:"#81818a",[xn.Lines]:"#eee"},wD=["id","x","y","width","height","patternTransform"],SD={key:2,height:"100",width:"100"},xD=["fill"],CD=["x","y","fill"],ED={name:"Background",compatConfig:{MODE:3}},kD=ke({...ED,props:{id:{},variant:{default:()=>xn.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:0}},setup(e){const{id:t,viewport:n}=ze(),o=H(()=>{const s=n.value.zoom,[a,l]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],c=[a*s||1,l*s||1],u=e.size*s,[f,d]=Array.isArray(e.offset)?e.offset:[e.offset,e.offset],h=[f*s||1+c[0]/2,d*s||1+c[1]/2];return{scaledGap:c,offset:h,size:u}}),r=pe(()=>`pattern-${t}${e.id?`-${e.id}`:""}`),i=pe(()=>e.color||e.patternColor||_D[e.variant||xn.Dots]);return(s,a)=>(re(),Se("svg",{class:"vue-flow__background vue-flow__container",style:gt({height:`${s.height>100?100:s.height}%`,width:`${s.width>100?100:s.width}%`})},[zt(s.$slots,"pattern-container",{id:r.value},()=>[it("pattern",{id:r.value,x:Z(n).x%o.value.scaledGap[0],y:Z(n).y%o.value.scaledGap[1],width:o.value.scaledGap[0],height:o.value.scaledGap[1],patternTransform:`translate(-${o.value.offset[0]},-${o.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[zt(s.$slots,"pattern",{},()=>[s.variant===Z(xn).Lines?(re(),Pe(Z(fb),{key:0,size:s.lineWidth,color:i.value,dimensions:o.value.scaledGap},null,8,["size","color","dimensions"])):s.variant===Z(xn).Dots?(re(),Pe(Z(db),{key:1,color:i.value,radius:o.value.size/2},null,8,["color","radius"])):Ke("",!0),s.bgColor?(re(),Se("svg",SD,[it("rect",{width:"100%",height:"100%",fill:s.bgColor},null,8,xD)])):Ke("",!0)])],8,wD)]),it("rect",{x:s.x,y:s.y,width:"100%",height:"100%",fill:`url(#${r.value})`},null,8,CD),zt(s.$slots,"default",{id:r.value})],4))}});var $D={value:()=>{}};function Rf(){for(var e=0,t=arguments.length,n={},o;e<t;++e){if(!(o=arguments[e]+"")||o in n||/[\s.]/.test(o))throw new Error("illegal type: "+o);n[o]=[]}return new Ls(n)}function Ls(e){this._=e}function TD(e,t){return e.trim().split(/^|\s+/).map(function(n){var o="",r=n.indexOf(".");if(r>=0&&(o=n.slice(r+1),n=n.slice(0,r)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:o}})}Ls.prototype=Rf.prototype={constructor:Ls,on:function(e,t){var n=this._,o=TD(e+"",n),r,i=-1,s=o.length;if(arguments.length<2){for(;++i<s;)if((r=(e=o[i]).type)&&(r=ID(n[r],e.name)))return r;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++i<s;)if(r=(e=o[i]).type)n[r]=Gg(n[r],e.name,t);else if(t==null)for(r in n)n[r]=Gg(n[r],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Ls(e)},call:function(e,t){if((r=arguments.length-2)>0)for(var n=new Array(r),o=0,r,i;o<r;++o)n[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(i=this._[e],o=0,r=i.length;o<r;++o)i[o].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var o=this._[e],r=0,i=o.length;r<i;++r)o[r].value.apply(t,n)}};function ID(e,t){for(var n=0,o=e.length,r;n<o;++n)if((r=e[n]).name===t)return r.value}function Gg(e,t,n){for(var o=0,r=e.length;o<r;++o)if(e[o].name===t){e[o]=$D,e=e.slice(0,o).concat(e.slice(o+1));break}return n!=null&&e.push({name:t,value:n}),e}var vc="http://www.w3.org/1999/xhtml";const Xg={svg:"http://www.w3.org/2000/svg",xhtml:vc,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ml(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),Xg.hasOwnProperty(t)?{space:Xg[t],local:e}:e}function PD(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===vc&&t.documentElement.namespaceURI===vc?t.createElement(e):t.createElementNS(n,e)}}function ND(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function hb(e){var t=ml(e);return(t.local?ND:PD)(t)}function MD(){}function Bf(e){return e==null?MD:function(){return this.querySelector(e)}}function AD(e){typeof e!="function"&&(e=Bf(e));for(var t=this._groups,n=t.length,o=new Array(n),r=0;r<n;++r)for(var i=t[r],s=i.length,a=o[r]=new Array(s),l,c,u=0;u<s;++u)(l=i[u])&&(c=e.call(l,l.__data__,u,i))&&("__data__"in l&&(c.__data__=l.__data__),a[u]=c);return new Rt(o,this._parents)}function DD(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function OD(){return[]}function gb(e){return e==null?OD:function(){return this.querySelectorAll(e)}}function RD(e){return function(){return DD(e.apply(this,arguments))}}function BD(e){typeof e=="function"?e=RD(e):e=gb(e);for(var t=this._groups,n=t.length,o=[],r=[],i=0;i<n;++i)for(var s=t[i],a=s.length,l,c=0;c<a;++c)(l=s[c])&&(o.push(e.call(l,l.__data__,c,s)),r.push(l));return new Rt(o,r)}function mb(e){return function(){return this.matches(e)}}function vb(e){return function(t){return t.matches(e)}}var LD=Array.prototype.find;function HD(e){return function(){return LD.call(this.children,e)}}function VD(){return this.firstElementChild}function FD(e){return this.select(e==null?VD:HD(typeof e=="function"?e:vb(e)))}var zD=Array.prototype.filter;function UD(){return Array.from(this.children)}function WD(e){return function(){return zD.call(this.children,e)}}function jD(e){return this.selectAll(e==null?UD:WD(typeof e=="function"?e:vb(e)))}function YD(e){typeof e!="function"&&(e=mb(e));for(var t=this._groups,n=t.length,o=new Array(n),r=0;r<n;++r)for(var i=t[r],s=i.length,a=o[r]=[],l,c=0;c<s;++c)(l=i[c])&&e.call(l,l.__data__,c,i)&&a.push(l);return new Rt(o,this._parents)}function pb(e){return new Array(e.length)}function GD(){return new Rt(this._enter||this._groups.map(pb),this._parents)}function Ea(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Ea.prototype={constructor:Ea,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function XD(e){return function(){return e}}function KD(e,t,n,o,r,i){for(var s=0,a,l=t.length,c=i.length;s<c;++s)(a=t[s])?(a.__data__=i[s],o[s]=a):n[s]=new Ea(e,i[s]);for(;s<l;++s)(a=t[s])&&(r[s]=a)}function qD(e,t,n,o,r,i,s){var a,l,c=new Map,u=t.length,f=i.length,d=new Array(u),h;for(a=0;a<u;++a)(l=t[a])&&(d[a]=h=s.call(l,l.__data__,a,t)+"",c.has(h)?r[a]=l:c.set(h,l));for(a=0;a<f;++a)h=s.call(e,i[a],a,i)+"",(l=c.get(h))?(o[a]=l,l.__data__=i[a],c.delete(h)):n[a]=new Ea(e,i[a]);for(a=0;a<u;++a)(l=t[a])&&c.get(d[a])===l&&(r[a]=l)}function ZD(e){return e.__data__}function JD(e,t){if(!arguments.length)return Array.from(this,ZD);var n=t?qD:KD,o=this._parents,r=this._groups;typeof e!="function"&&(e=XD(e));for(var i=r.length,s=new Array(i),a=new Array(i),l=new Array(i),c=0;c<i;++c){var u=o[c],f=r[c],d=f.length,h=QD(e.call(u,u&&u.__data__,c,o)),m=h.length,g=a[c]=new Array(m),p=s[c]=new Array(m),_=l[c]=new Array(d);n(u,f,g,p,_,h,t);for(var E=0,v=0,w,I;E<m;++E)if(w=g[E]){for(E>=v&&(v=E+1);!(I=p[v])&&++v<m;);w._next=I||null}}return s=new Rt(s,o),s._enter=a,s._exit=l,s}function QD(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function eO(){return new Rt(this._exit||this._groups.map(pb),this._parents)}function tO(e,t,n){var o=this.enter(),r=this,i=this.exit();return typeof e=="function"?(o=e(o),o&&(o=o.selection())):o=o.append(e+""),t!=null&&(r=t(r),r&&(r=r.selection())),n==null?i.remove():n(i),o&&r?o.merge(r).order():r}function nO(e){for(var t=e.selection?e.selection():e,n=this._groups,o=t._groups,r=n.length,i=o.length,s=Math.min(r,i),a=new Array(r),l=0;l<s;++l)for(var c=n[l],u=o[l],f=c.length,d=a[l]=new Array(f),h,m=0;m<f;++m)(h=c[m]||u[m])&&(d[m]=h);for(;l<r;++l)a[l]=n[l];return new Rt(a,this._parents)}function oO(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var o=e[t],r=o.length-1,i=o[r],s;--r>=0;)(s=o[r])&&(i&&s.compareDocumentPosition(i)^4&&i.parentNode.insertBefore(s,i),i=s);return this}function rO(e){e||(e=iO);function t(f,d){return f&&d?e(f.__data__,d.__data__):!f-!d}for(var n=this._groups,o=n.length,r=new Array(o),i=0;i<o;++i){for(var s=n[i],a=s.length,l=r[i]=new Array(a),c,u=0;u<a;++u)(c=s[u])&&(l[u]=c);l.sort(t)}return new Rt(r,this._parents).order()}function iO(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function sO(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function aO(){return Array.from(this)}function lO(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o=e[t],r=0,i=o.length;r<i;++r){var s=o[r];if(s)return s}return null}function uO(){let e=0;for(const t of this)++e;return e}function cO(){return!this.node()}function fO(e){for(var t=this._groups,n=0,o=t.length;n<o;++n)for(var r=t[n],i=0,s=r.length,a;i<s;++i)(a=r[i])&&e.call(a,a.__data__,i,r);return this}function dO(e){return function(){this.removeAttribute(e)}}function hO(e){return function(){this.removeAttributeNS(e.space,e.local)}}function gO(e,t){return function(){this.setAttribute(e,t)}}function mO(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function vO(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function pO(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function yO(e,t){var n=ml(e);if(arguments.length<2){var o=this.node();return n.local?o.getAttributeNS(n.space,n.local):o.getAttribute(n)}return this.each((t==null?n.local?hO:dO:typeof t=="function"?n.local?pO:vO:n.local?mO:gO)(n,t))}function yb(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function bO(e){return function(){this.style.removeProperty(e)}}function _O(e,t,n){return function(){this.style.setProperty(e,t,n)}}function wO(e,t,n){return function(){var o=t.apply(this,arguments);o==null?this.style.removeProperty(e):this.style.setProperty(e,o,n)}}function SO(e,t,n){return arguments.length>1?this.each((t==null?bO:typeof t=="function"?wO:_O)(e,t,n??"")):Cr(this.node(),e)}function Cr(e,t){return e.style.getPropertyValue(t)||yb(e).getComputedStyle(e,null).getPropertyValue(t)}function xO(e){return function(){delete this[e]}}function CO(e,t){return function(){this[e]=t}}function EO(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function kO(e,t){return arguments.length>1?this.each((t==null?xO:typeof t=="function"?EO:CO)(e,t)):this.node()[e]}function bb(e){return e.trim().split(/^|\s+/)}function Lf(e){return e.classList||new _b(e)}function _b(e){this._node=e,this._names=bb(e.getAttribute("class")||"")}_b.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function wb(e,t){for(var n=Lf(e),o=-1,r=t.length;++o<r;)n.add(t[o])}function Sb(e,t){for(var n=Lf(e),o=-1,r=t.length;++o<r;)n.remove(t[o])}function $O(e){return function(){wb(this,e)}}function TO(e){return function(){Sb(this,e)}}function IO(e,t){return function(){(t.apply(this,arguments)?wb:Sb)(this,e)}}function PO(e,t){var n=bb(e+"");if(arguments.length<2){for(var o=Lf(this.node()),r=-1,i=n.length;++r<i;)if(!o.contains(n[r]))return!1;return!0}return this.each((typeof t=="function"?IO:t?$O:TO)(n,t))}function NO(){this.textContent=""}function MO(e){return function(){this.textContent=e}}function AO(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function DO(e){return arguments.length?this.each(e==null?NO:(typeof e=="function"?AO:MO)(e)):this.node().textContent}function OO(){this.innerHTML=""}function RO(e){return function(){this.innerHTML=e}}function BO(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function LO(e){return arguments.length?this.each(e==null?OO:(typeof e=="function"?BO:RO)(e)):this.node().innerHTML}function HO(){this.nextSibling&&this.parentNode.appendChild(this)}function VO(){return this.each(HO)}function FO(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function zO(){return this.each(FO)}function UO(e){var t=typeof e=="function"?e:hb(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function WO(){return null}function jO(e,t){var n=typeof e=="function"?e:hb(e),o=t==null?WO:typeof t=="function"?t:Bf(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),o.apply(this,arguments)||null)})}function YO(){var e=this.parentNode;e&&e.removeChild(this)}function GO(){return this.each(YO)}function XO(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function KO(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function qO(e){return this.select(e?KO:XO)}function ZO(e){return arguments.length?this.property("__data__",e):this.node().__data__}function JO(e){return function(t){e.call(this,t,this.__data__)}}function QO(e){return e.trim().split(/^|\s+/).map(function(t){var n="",o=t.indexOf(".");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{type:t,name:n}})}function eR(e){return function(){var t=this.__on;if(t){for(var n=0,o=-1,r=t.length,i;n<r;++n)i=t[n],(!e.type||i.type===e.type)&&i.name===e.name?this.removeEventListener(i.type,i.listener,i.options):t[++o]=i;++o?t.length=o:delete this.__on}}}function tR(e,t,n){return function(){var o=this.__on,r,i=JO(t);if(o){for(var s=0,a=o.length;s<a;++s)if((r=o[s]).type===e.type&&r.name===e.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=n),r.value=t;return}}this.addEventListener(e.type,i,n),r={type:e.type,name:e.name,value:t,listener:i,options:n},o?o.push(r):this.__on=[r]}}function nR(e,t,n){var o=QO(e+""),r,i=o.length,s;if(arguments.length<2){var a=this.node().__on;if(a){for(var l=0,c=a.length,u;l<c;++l)for(r=0,u=a[l];r<i;++r)if((s=o[r]).type===u.type&&s.name===u.name)return u.value}return}for(a=t?tR:eR,r=0;r<i;++r)this.each(a(o[r],t,n));return this}function xb(e,t,n){var o=yb(e),r=o.CustomEvent;typeof r=="function"?r=new r(t,n):(r=o.document.createEvent("Event"),n?(r.initEvent(t,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(t,!1,!1)),e.dispatchEvent(r)}function oR(e,t){return function(){return xb(this,e,t)}}function rR(e,t){return function(){return xb(this,e,t.apply(this,arguments))}}function iR(e,t){return this.each((typeof t=="function"?rR:oR)(e,t))}function*sR(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var o=e[t],r=0,i=o.length,s;r<i;++r)(s=o[r])&&(yield s)}var Cb=[null];function Rt(e,t){this._groups=e,this._parents=t}function Ki(){return new Rt([[document.documentElement]],Cb)}function aR(){return this}Rt.prototype=Ki.prototype={constructor:Rt,select:AD,selectAll:BD,selectChild:FD,selectChildren:jD,filter:YD,data:JD,enter:GD,exit:eO,join:tO,merge:nO,selection:aR,order:oO,sort:rO,call:sO,nodes:aO,node:lO,size:uO,empty:cO,each:fO,attr:yO,style:SO,property:kO,classed:PO,text:DO,html:LO,raise:VO,lower:zO,append:UO,insert:jO,remove:GO,clone:qO,datum:ZO,on:nR,dispatch:iR,[Symbol.iterator]:sR};function qn(e){return typeof e=="string"?new Rt([[document.querySelector(e)]],[document.documentElement]):new Rt([[e]],Cb)}function lR(e){let t;for(;t=e.sourceEvent;)e=t;return e}function zn(e,t){if(e=lR(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var o=n.createSVGPoint();return o.x=e.clientX,o.y=e.clientY,o=o.matrixTransform(t.getScreenCTM().inverse()),[o.x,o.y]}if(t.getBoundingClientRect){var r=t.getBoundingClientRect();return[e.clientX-r.left-t.clientLeft,e.clientY-r.top-t.clientTop]}}return[e.pageX,e.pageY]}const pc={capture:!0,passive:!1};function yc(e){e.preventDefault(),e.stopImmediatePropagation()}function uR(e){var t=e.document.documentElement,n=qn(e).on("dragstart.drag",yc,pc);"onselectstart"in t?n.on("selectstart.drag",yc,pc):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function cR(e,t){var n=e.document.documentElement,o=qn(e).on("dragstart.drag",null);t&&(o.on("click.drag",yc,pc),setTimeout(function(){o.on("click.drag",null)},0)),"onselectstart"in n?o.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Hf(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Eb(e,t){var n=Object.create(e.prototype);for(var o in t)n[o]=t[o];return n}function qi(){}var Pi=.7,ka=1/Pi,mr="\\s*([+-]?\\d+)\\s*",Ni="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",un="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",fR=/^#([0-9a-f]{3,8})$/,dR=new RegExp(`^rgb\\(${mr},${mr},${mr}\\)$`),hR=new RegExp(`^rgb\\(${un},${un},${un}\\)$`),gR=new RegExp(`^rgba\\(${mr},${mr},${mr},${Ni}\\)$`),mR=new RegExp(`^rgba\\(${un},${un},${un},${Ni}\\)$`),vR=new RegExp(`^hsl\\(${Ni},${un},${un}\\)$`),pR=new RegExp(`^hsla\\(${Ni},${un},${un},${Ni}\\)$`),Kg={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Hf(qi,Mi,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:qg,formatHex:qg,formatHex8:yR,formatHsl:bR,formatRgb:Zg,toString:Zg});function qg(){return this.rgb().formatHex()}function yR(){return this.rgb().formatHex8()}function bR(){return kb(this).formatHsl()}function Zg(){return this.rgb().formatRgb()}function Mi(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=fR.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?Jg(t):n===3?new xt(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?bs(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?bs(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=dR.exec(e))?new xt(t[1],t[2],t[3],1):(t=hR.exec(e))?new xt(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=gR.exec(e))?bs(t[1],t[2],t[3],t[4]):(t=mR.exec(e))?bs(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=vR.exec(e))?tm(t[1],t[2]/100,t[3]/100,1):(t=pR.exec(e))?tm(t[1],t[2]/100,t[3]/100,t[4]):Kg.hasOwnProperty(e)?Jg(Kg[e]):e==="transparent"?new xt(NaN,NaN,NaN,0):null}function Jg(e){return new xt(e>>16&255,e>>8&255,e&255,1)}function bs(e,t,n,o){return o<=0&&(e=t=n=NaN),new xt(e,t,n,o)}function _R(e){return e instanceof qi||(e=Mi(e)),e?(e=e.rgb(),new xt(e.r,e.g,e.b,e.opacity)):new xt}function bc(e,t,n,o){return arguments.length===1?_R(e):new xt(e,t,n,o??1)}function xt(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}Hf(xt,bc,Eb(qi,{brighter(e){return e=e==null?ka:Math.pow(ka,e),new xt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Pi:Math.pow(Pi,e),new xt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new xt(Io(this.r),Io(this.g),Io(this.b),$a(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Qg,formatHex:Qg,formatHex8:wR,formatRgb:em,toString:em}));function Qg(){return`#${So(this.r)}${So(this.g)}${So(this.b)}`}function wR(){return`#${So(this.r)}${So(this.g)}${So(this.b)}${So((isNaN(this.opacity)?1:this.opacity)*255)}`}function em(){const e=$a(this.opacity);return`${e===1?"rgb(":"rgba("}${Io(this.r)}, ${Io(this.g)}, ${Io(this.b)}${e===1?")":`, ${e})`}`}function $a(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Io(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function So(e){return e=Io(e),(e<16?"0":"")+e.toString(16)}function tm(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Yt(e,t,n,o)}function kb(e){if(e instanceof Yt)return new Yt(e.h,e.s,e.l,e.opacity);if(e instanceof qi||(e=Mi(e)),!e)return new Yt;if(e instanceof Yt)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,r=Math.min(t,n,o),i=Math.max(t,n,o),s=NaN,a=i-r,l=(i+r)/2;return a?(t===i?s=(n-o)/a+(n<o)*6:n===i?s=(o-t)/a+2:s=(t-n)/a+4,a/=l<.5?i+r:2-i-r,s*=60):a=l>0&&l<1?0:s,new Yt(s,a,l,e.opacity)}function SR(e,t,n,o){return arguments.length===1?kb(e):new Yt(e,t,n,o??1)}function Yt(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}Hf(Yt,SR,Eb(qi,{brighter(e){return e=e==null?ka:Math.pow(ka,e),new Yt(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Pi:Math.pow(Pi,e),new Yt(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*t,r=2*n-o;return new xt(nu(e>=240?e-240:e+120,r,o),nu(e,r,o),nu(e<120?e+240:e-120,r,o),this.opacity)},clamp(){return new Yt(nm(this.h),_s(this.s),_s(this.l),$a(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=$a(this.opacity);return`${e===1?"hsl(":"hsla("}${nm(this.h)}, ${_s(this.s)*100}%, ${_s(this.l)*100}%${e===1?")":`, ${e})`}`}}));function nm(e){return e=(e||0)%360,e<0?e+360:e}function _s(e){return Math.max(0,Math.min(1,e||0))}function nu(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const $b=e=>()=>e;function xR(e,t){return function(n){return e+n*t}}function CR(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(o){return Math.pow(e+o*t,n)}}function ER(e){return(e=+e)==1?Tb:function(t,n){return n-t?CR(t,n,e):$b(isNaN(t)?n:t)}}function Tb(e,t){var n=t-e;return n?xR(e,n):$b(isNaN(e)?t:e)}const om=function e(t){var n=ER(t);function o(r,i){var s=n((r=bc(r)).r,(i=bc(i)).r),a=n(r.g,i.g),l=n(r.b,i.b),c=Tb(r.opacity,i.opacity);return function(u){return r.r=s(u),r.g=a(u),r.b=l(u),r.opacity=c(u),r+""}}return o.gamma=e,o}(1);function Kn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var _c=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ou=new RegExp(_c.source,"g");function kR(e){return function(){return e}}function $R(e){return function(t){return e(t)+""}}function TR(e,t){var n=_c.lastIndex=ou.lastIndex=0,o,r,i,s=-1,a=[],l=[];for(e=e+"",t=t+"";(o=_c.exec(e))&&(r=ou.exec(t));)(i=r.index)>n&&(i=t.slice(n,i),a[s]?a[s]+=i:a[++s]=i),(o=o[0])===(r=r[0])?a[s]?a[s]+=r:a[++s]=r:(a[++s]=null,l.push({i:s,x:Kn(o,r)})),n=ou.lastIndex;return n<t.length&&(i=t.slice(n),a[s]?a[s]+=i:a[++s]=i),a.length<2?l[0]?$R(l[0].x):kR(t):(t=l.length,function(c){for(var u=0,f;u<t;++u)a[(f=l[u]).i]=f.x(c);return a.join("")})}var rm=180/Math.PI,wc={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ib(e,t,n,o,r,i){var s,a,l;return(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s),(l=e*n+t*o)&&(n-=e*l,o-=t*l),(a=Math.sqrt(n*n+o*o))&&(n/=a,o/=a,l/=a),e*o<t*n&&(e=-e,t=-t,l=-l,s=-s),{translateX:r,translateY:i,rotate:Math.atan2(t,e)*rm,skewX:Math.atan(l)*rm,scaleX:s,scaleY:a}}var ws;function IR(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?wc:Ib(t.a,t.b,t.c,t.d,t.e,t.f)}function PR(e){return e==null||(ws||(ws=document.createElementNS("http://www.w3.org/2000/svg","g")),ws.setAttribute("transform",e),!(e=ws.transform.baseVal.consolidate()))?wc:(e=e.matrix,Ib(e.a,e.b,e.c,e.d,e.e,e.f))}function Pb(e,t,n,o){function r(c){return c.length?c.pop()+" ":""}function i(c,u,f,d,h,m){if(c!==f||u!==d){var g=h.push("translate(",null,t,null,n);m.push({i:g-4,x:Kn(c,f)},{i:g-2,x:Kn(u,d)})}else(f||d)&&h.push("translate("+f+t+d+n)}function s(c,u,f,d){c!==u?(c-u>180?u+=360:u-c>180&&(c+=360),d.push({i:f.push(r(f)+"rotate(",null,o)-2,x:Kn(c,u)})):u&&f.push(r(f)+"rotate("+u+o)}function a(c,u,f,d){c!==u?d.push({i:f.push(r(f)+"skewX(",null,o)-2,x:Kn(c,u)}):u&&f.push(r(f)+"skewX("+u+o)}function l(c,u,f,d,h,m){if(c!==f||u!==d){var g=h.push(r(h)+"scale(",null,",",null,")");m.push({i:g-4,x:Kn(c,f)},{i:g-2,x:Kn(u,d)})}else(f!==1||d!==1)&&h.push(r(h)+"scale("+f+","+d+")")}return function(c,u){var f=[],d=[];return c=e(c),u=e(u),i(c.translateX,c.translateY,u.translateX,u.translateY,f,d),s(c.rotate,u.rotate,f,d),a(c.skewX,u.skewX,f,d),l(c.scaleX,c.scaleY,u.scaleX,u.scaleY,f,d),c=u=null,function(h){for(var m=-1,g=d.length,p;++m<g;)f[(p=d[m]).i]=p.x(h);return f.join("")}}}var NR=Pb(IR,"px, ","px)","deg)"),MR=Pb(PR,", ",")",")"),AR=1e-12;function im(e){return((e=Math.exp(e))+1/e)/2}function DR(e){return((e=Math.exp(e))-1/e)/2}function OR(e){return((e=Math.exp(2*e))-1)/(e+1)}const RR=function e(t,n,o){function r(i,s){var a=i[0],l=i[1],c=i[2],u=s[0],f=s[1],d=s[2],h=u-a,m=f-l,g=h*h+m*m,p,_;if(g<AR)_=Math.log(d/c)/t,p=function(D){return[a+D*h,l+D*m,c*Math.exp(t*D*_)]};else{var E=Math.sqrt(g),v=(d*d-c*c+o*g)/(2*c*n*E),w=(d*d-c*c-o*g)/(2*d*n*E),I=Math.log(Math.sqrt(v*v+1)-v),k=Math.log(Math.sqrt(w*w+1)-w);_=(k-I)/t,p=function(D){var R=D*_,A=im(I),P=c/(n*E)*(A*OR(t*R+I)-DR(I));return[a+P*h,l+P*m,c*A/im(t*R+I)]}}return p.duration=_*1e3*t/Math.SQRT2,p}return r.rho=function(i){var s=Math.max(.001,+i),a=s*s,l=a*a;return e(s,a,l)},r}(Math.SQRT2,2,4);var Er=0,Zr=0,jr=0,Nb=1e3,Ta,Jr,Ia=0,Vo=0,vl=0,Ai=typeof performance=="object"&&performance.now?performance:Date,Mb=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function Vf(){return Vo||(Mb(BR),Vo=Ai.now()+vl)}function BR(){Vo=0}function Pa(){this._call=this._time=this._next=null}Pa.prototype=Ab.prototype={constructor:Pa,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?Vf():+n)+(t==null?0:+t),!this._next&&Jr!==this&&(Jr?Jr._next=this:Ta=this,Jr=this),this._call=e,this._time=n,Sc()},stop:function(){this._call&&(this._call=null,this._time=1/0,Sc())}};function Ab(e,t,n){var o=new Pa;return o.restart(e,t,n),o}function LR(){Vf(),++Er;for(var e=Ta,t;e;)(t=Vo-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Er}function sm(){Vo=(Ia=Ai.now())+vl,Er=Zr=0;try{LR()}finally{Er=0,VR(),Vo=0}}function HR(){var e=Ai.now(),t=e-Ia;t>Nb&&(vl-=t,Ia=e)}function VR(){for(var e,t=Ta,n,o=1/0;t;)t._call?(o>t._time&&(o=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Ta=n);Jr=e,Sc(o)}function Sc(e){if(!Er){Zr&&(Zr=clearTimeout(Zr));var t=e-Vo;t>24?(e<1/0&&(Zr=setTimeout(sm,e-Ai.now()-vl)),jr&&(jr=clearInterval(jr))):(jr||(Ia=Ai.now(),jr=setInterval(HR,Nb)),Er=1,Mb(sm))}}function am(e,t,n){var o=new Pa;return t=t==null?0:+t,o.restart(r=>{o.stop(),e(r+t)},t,n),o}var FR=Rf("start","end","cancel","interrupt"),zR=[],Db=0,lm=1,xc=2,Hs=3,um=4,Cc=5,Vs=6;function pl(e,t,n,o,r,i){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;UR(e,n,{name:t,index:o,group:r,on:FR,tween:zR,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:Db})}function Ff(e,t){var n=qt(e,t);if(n.state>Db)throw new Error("too late; already scheduled");return n}function gn(e,t){var n=qt(e,t);if(n.state>Hs)throw new Error("too late; already running");return n}function qt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function UR(e,t,n){var o=e.__transition,r;o[t]=n,n.timer=Ab(i,0,n.time);function i(c){n.state=lm,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var u,f,d,h;if(n.state!==lm)return l();for(u in o)if(h=o[u],h.name===n.name){if(h.state===Hs)return am(s);h.state===um?(h.state=Vs,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete o[u]):+u<t&&(h.state=Vs,h.timer.stop(),h.on.call("cancel",e,e.__data__,h.index,h.group),delete o[u])}if(am(function(){n.state===Hs&&(n.state=um,n.timer.restart(a,n.delay,n.time),a(c))}),n.state=xc,n.on.call("start",e,e.__data__,n.index,n.group),n.state===xc){for(n.state=Hs,r=new Array(d=n.tween.length),u=0,f=-1;u<d;++u)(h=n.tween[u].value.call(e,e.__data__,n.index,n.group))&&(r[++f]=h);r.length=f+1}}function a(c){for(var u=c<n.duration?n.ease.call(null,c/n.duration):(n.timer.restart(l),n.state=Cc,1),f=-1,d=r.length;++f<d;)r[f].call(e,u);n.state===Cc&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){n.state=Vs,n.timer.stop(),delete o[t];for(var c in o)return;delete e.__transition}}function Fs(e,t){var n=e.__transition,o,r,i=!0,s;if(n){t=t==null?null:t+"";for(s in n){if((o=n[s]).name!==t){i=!1;continue}r=o.state>xc&&o.state<Cc,o.state=Vs,o.timer.stop(),o.on.call(r?"interrupt":"cancel",e,e.__data__,o.index,o.group),delete n[s]}i&&delete e.__transition}}function WR(e){return this.each(function(){Fs(this,e)})}function jR(e,t){var n,o;return function(){var r=gn(this,e),i=r.tween;if(i!==n){o=n=i;for(var s=0,a=o.length;s<a;++s)if(o[s].name===t){o=o.slice(),o.splice(s,1);break}}r.tween=o}}function YR(e,t,n){var o,r;if(typeof n!="function")throw new Error;return function(){var i=gn(this,e),s=i.tween;if(s!==o){r=(o=s).slice();for(var a={name:t,value:n},l=0,c=r.length;l<c;++l)if(r[l].name===t){r[l]=a;break}l===c&&r.push(a)}i.tween=r}}function GR(e,t){var n=this._id;if(e+="",arguments.length<2){for(var o=qt(this.node(),n).tween,r=0,i=o.length,s;r<i;++r)if((s=o[r]).name===e)return s.value;return null}return this.each((t==null?jR:YR)(n,e,t))}function zf(e,t,n){var o=e._id;return e.each(function(){var r=gn(this,o);(r.value||(r.value={}))[t]=n.apply(this,arguments)}),function(r){return qt(r,o).value[t]}}function Ob(e,t){var n;return(typeof t=="number"?Kn:t instanceof Mi?om:(n=Mi(t))?(t=n,om):TR)(e,t)}function XR(e){return function(){this.removeAttribute(e)}}function KR(e){return function(){this.removeAttributeNS(e.space,e.local)}}function qR(e,t,n){var o,r=n+"",i;return function(){var s=this.getAttribute(e);return s===r?null:s===o?i:i=t(o=s,n)}}function ZR(e,t,n){var o,r=n+"",i;return function(){var s=this.getAttributeNS(e.space,e.local);return s===r?null:s===o?i:i=t(o=s,n)}}function JR(e,t,n){var o,r,i;return function(){var s,a=n(this),l;return a==null?void this.removeAttribute(e):(s=this.getAttribute(e),l=a+"",s===l?null:s===o&&l===r?i:(r=l,i=t(o=s,a)))}}function QR(e,t,n){var o,r,i;return function(){var s,a=n(this),l;return a==null?void this.removeAttributeNS(e.space,e.local):(s=this.getAttributeNS(e.space,e.local),l=a+"",s===l?null:s===o&&l===r?i:(r=l,i=t(o=s,a)))}}function e3(e,t){var n=ml(e),o=n==="transform"?MR:Ob;return this.attrTween(e,typeof t=="function"?(n.local?QR:JR)(n,o,zf(this,"attr."+e,t)):t==null?(n.local?KR:XR)(n):(n.local?ZR:qR)(n,o,t))}function t3(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function n3(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function o3(e,t){var n,o;function r(){var i=t.apply(this,arguments);return i!==o&&(n=(o=i)&&n3(e,i)),n}return r._value=t,r}function r3(e,t){var n,o;function r(){var i=t.apply(this,arguments);return i!==o&&(n=(o=i)&&t3(e,i)),n}return r._value=t,r}function i3(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var o=ml(e);return this.tween(n,(o.local?o3:r3)(o,t))}function s3(e,t){return function(){Ff(this,e).delay=+t.apply(this,arguments)}}function a3(e,t){return t=+t,function(){Ff(this,e).delay=t}}function l3(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?s3:a3)(t,e)):qt(this.node(),t).delay}function u3(e,t){return function(){gn(this,e).duration=+t.apply(this,arguments)}}function c3(e,t){return t=+t,function(){gn(this,e).duration=t}}function f3(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?u3:c3)(t,e)):qt(this.node(),t).duration}function d3(e,t){if(typeof t!="function")throw new Error;return function(){gn(this,e).ease=t}}function h3(e){var t=this._id;return arguments.length?this.each(d3(t,e)):qt(this.node(),t).ease}function g3(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;gn(this,e).ease=n}}function m3(e){if(typeof e!="function")throw new Error;return this.each(g3(this._id,e))}function v3(e){typeof e!="function"&&(e=mb(e));for(var t=this._groups,n=t.length,o=new Array(n),r=0;r<n;++r)for(var i=t[r],s=i.length,a=o[r]=[],l,c=0;c<s;++c)(l=i[c])&&e.call(l,l.__data__,c,i)&&a.push(l);return new An(o,this._parents,this._name,this._id)}function p3(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,o=t.length,r=n.length,i=Math.min(o,r),s=new Array(o),a=0;a<i;++a)for(var l=t[a],c=n[a],u=l.length,f=s[a]=new Array(u),d,h=0;h<u;++h)(d=l[h]||c[h])&&(f[h]=d);for(;a<o;++a)s[a]=t[a];return new An(s,this._parents,this._name,this._id)}function y3(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function b3(e,t,n){var o,r,i=y3(t)?Ff:gn;return function(){var s=i(this,e),a=s.on;a!==o&&(r=(o=a).copy()).on(t,n),s.on=r}}function _3(e,t){var n=this._id;return arguments.length<2?qt(this.node(),n).on.on(e):this.each(b3(n,e,t))}function w3(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function S3(){return this.on("end.remove",w3(this._id))}function x3(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Bf(e));for(var o=this._groups,r=o.length,i=new Array(r),s=0;s<r;++s)for(var a=o[s],l=a.length,c=i[s]=new Array(l),u,f,d=0;d<l;++d)(u=a[d])&&(f=e.call(u,u.__data__,d,a))&&("__data__"in u&&(f.__data__=u.__data__),c[d]=f,pl(c[d],t,n,d,c,qt(u,n)));return new An(i,this._parents,t,n)}function C3(e){var t=this._name,n=this._id;typeof e!="function"&&(e=gb(e));for(var o=this._groups,r=o.length,i=[],s=[],a=0;a<r;++a)for(var l=o[a],c=l.length,u,f=0;f<c;++f)if(u=l[f]){for(var d=e.call(u,u.__data__,f,l),h,m=qt(u,n),g=0,p=d.length;g<p;++g)(h=d[g])&&pl(h,t,n,g,d,m);i.push(d),s.push(u)}return new An(i,s,t,n)}var E3=Ki.prototype.constructor;function k3(){return new E3(this._groups,this._parents)}function $3(e,t){var n,o,r;return function(){var i=Cr(this,e),s=(this.style.removeProperty(e),Cr(this,e));return i===s?null:i===n&&s===o?r:r=t(n=i,o=s)}}function Rb(e){return function(){this.style.removeProperty(e)}}function T3(e,t,n){var o,r=n+"",i;return function(){var s=Cr(this,e);return s===r?null:s===o?i:i=t(o=s,n)}}function I3(e,t,n){var o,r,i;return function(){var s=Cr(this,e),a=n(this),l=a+"";return a==null&&(l=a=(this.style.removeProperty(e),Cr(this,e))),s===l?null:s===o&&l===r?i:(r=l,i=t(o=s,a))}}function P3(e,t){var n,o,r,i="style."+t,s="end."+i,a;return function(){var l=gn(this,e),c=l.on,u=l.value[i]==null?a||(a=Rb(t)):void 0;(c!==n||r!==u)&&(o=(n=c).copy()).on(s,r=u),l.on=o}}function N3(e,t,n){var o=(e+="")=="transform"?NR:Ob;return t==null?this.styleTween(e,$3(e,o)).on("end.style."+e,Rb(e)):typeof t=="function"?this.styleTween(e,I3(e,o,zf(this,"style."+e,t))).each(P3(this._id,e)):this.styleTween(e,T3(e,o,t),n).on("end.style."+e,null)}function M3(e,t,n){return function(o){this.style.setProperty(e,t.call(this,o),n)}}function A3(e,t,n){var o,r;function i(){var s=t.apply(this,arguments);return s!==r&&(o=(r=s)&&M3(e,s,n)),o}return i._value=t,i}function D3(e,t,n){var o="style."+(e+="");if(arguments.length<2)return(o=this.tween(o))&&o._value;if(t==null)return this.tween(o,null);if(typeof t!="function")throw new Error;return this.tween(o,A3(e,t,n??""))}function O3(e){return function(){this.textContent=e}}function R3(e){return function(){var t=e(this);this.textContent=t??""}}function B3(e){return this.tween("text",typeof e=="function"?R3(zf(this,"text",e)):O3(e==null?"":e+""))}function L3(e){return function(t){this.textContent=e.call(this,t)}}function H3(e){var t,n;function o(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&L3(r)),t}return o._value=e,o}function V3(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,H3(e))}function F3(){for(var e=this._name,t=this._id,n=Bb(),o=this._groups,r=o.length,i=0;i<r;++i)for(var s=o[i],a=s.length,l,c=0;c<a;++c)if(l=s[c]){var u=qt(l,t);pl(l,e,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new An(o,this._parents,e,n)}function z3(){var e,t,n=this,o=n._id,r=n.size();return new Promise(function(i,s){var a={value:s},l={value:function(){--r===0&&i()}};n.each(function(){var c=gn(this,o),u=c.on;u!==e&&(t=(e=u).copy(),t._.cancel.push(a),t._.interrupt.push(a),t._.end.push(l)),c.on=t}),r===0&&i()})}var U3=0;function An(e,t,n,o){this._groups=e,this._parents=t,this._name=n,this._id=o}function Bb(){return++U3}var pn=Ki.prototype;An.prototype={constructor:An,select:x3,selectAll:C3,selectChild:pn.selectChild,selectChildren:pn.selectChildren,filter:v3,merge:p3,selection:k3,transition:F3,call:pn.call,nodes:pn.nodes,node:pn.node,size:pn.size,empty:pn.empty,each:pn.each,on:_3,attr:e3,attrTween:i3,style:N3,styleTween:D3,text:B3,textTween:V3,remove:S3,tween:GR,delay:l3,duration:f3,ease:h3,easeVarying:m3,end:z3,[Symbol.iterator]:pn[Symbol.iterator]};function W3(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var j3={time:null,delay:0,duration:250,ease:W3};function Y3(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function G3(e){var t,n;e instanceof An?(t=e._id,e=e._name):(t=Bb(),(n=j3).time=Vf(),e=e==null?null:e+"");for(var o=this._groups,r=o.length,i=0;i<r;++i)for(var s=o[i],a=s.length,l,c=0;c<a;++c)(l=s[c])&&pl(l,e,t,c,s,n||Y3(l,t));return new An(o,this._parents,e,t)}Ki.prototype.interrupt=WR;Ki.prototype.transition=G3;const Ss=e=>()=>e;function X3(e,{sourceEvent:t,target:n,transform:o,dispatch:r}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:r}})}function Cn(e,t,n){this.k=e,this.x=t,this.y=n}Cn.prototype={constructor:Cn,scale:function(e){return e===1?this:new Cn(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new Cn(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Uf=new Cn(1,0,0);Cn.prototype;function ru(e){e.stopImmediatePropagation()}function Yr(e){e.preventDefault(),e.stopImmediatePropagation()}function K3(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function q3(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function cm(){return this.__zoom||Uf}function Z3(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function J3(){return navigator.maxTouchPoints||"ontouchstart"in this}function Q3(e,t,n){var o=e.invertX(t[0][0])-n[0][0],r=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],s=e.invertY(t[1][1])-n[1][1];return e.translate(r>o?(o+r)/2:Math.min(0,o)||Math.max(0,r),s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s))}function e5(){var e=K3,t=q3,n=Q3,o=Z3,r=J3,i=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],a=250,l=RR,c=Rf("start","zoom","end"),u,f,d,h=500,m=150,g=0,p=10;function _(y){y.property("__zoom",cm).on("wheel.zoom",R,{passive:!1}).on("mousedown.zoom",A).on("dblclick.zoom",P).filter(r).on("touchstart.zoom",z).on("touchmove.zoom",C).on("touchend.zoom touchcancel.zoom",j).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}_.transform=function(y,O,x,L){var B=y.selection?y.selection():y;B.property("__zoom",cm),y!==B?I(y,O,x,L):B.interrupt().each(function(){k(this,arguments).event(L).start().zoom(null,typeof O=="function"?O.apply(this,arguments):O).end()})},_.scaleBy=function(y,O,x,L){_.scaleTo(y,function(){var B=this.__zoom.k,U=typeof O=="function"?O.apply(this,arguments):O;return B*U},x,L)},_.scaleTo=function(y,O,x,L){_.transform(y,function(){var B=t.apply(this,arguments),U=this.__zoom,V=x==null?w(B):typeof x=="function"?x.apply(this,arguments):x,W=U.invert(V),q=typeof O=="function"?O.apply(this,arguments):O;return n(v(E(U,q),V,W),B,s)},x,L)},_.translateBy=function(y,O,x,L){_.transform(y,function(){return n(this.__zoom.translate(typeof O=="function"?O.apply(this,arguments):O,typeof x=="function"?x.apply(this,arguments):x),t.apply(this,arguments),s)},null,L)},_.translateTo=function(y,O,x,L,B){_.transform(y,function(){var U=t.apply(this,arguments),V=this.__zoom,W=L==null?w(U):typeof L=="function"?L.apply(this,arguments):L;return n(Uf.translate(W[0],W[1]).scale(V.k).translate(typeof O=="function"?-O.apply(this,arguments):-O,typeof x=="function"?-x.apply(this,arguments):-x),U,s)},L,B)};function E(y,O){return O=Math.max(i[0],Math.min(i[1],O)),O===y.k?y:new Cn(O,y.x,y.y)}function v(y,O,x){var L=O[0]-x[0]*y.k,B=O[1]-x[1]*y.k;return L===y.x&&B===y.y?y:new Cn(y.k,L,B)}function w(y){return[(+y[0][0]+ +y[1][0])/2,(+y[0][1]+ +y[1][1])/2]}function I(y,O,x,L){y.on("start.zoom",function(){k(this,arguments).event(L).start()}).on("interrupt.zoom end.zoom",function(){k(this,arguments).event(L).end()}).tween("zoom",function(){var B=this,U=arguments,V=k(B,U).event(L),W=t.apply(B,U),q=x==null?w(W):typeof x=="function"?x.apply(B,U):x,Q=Math.max(W[1][0]-W[0][0],W[1][1]-W[0][1]),J=B.__zoom,te=typeof O=="function"?O.apply(B,U):O,ge=l(J.invert(q).concat(Q/J.k),te.invert(q).concat(Q/te.k));return function(le){if(le===1)le=te;else{var ce=ge(le),ve=Q/ce[2];le=new Cn(ve,q[0]-ce[0]*ve,q[1]-ce[1]*ve)}V.zoom(null,le)}})}function k(y,O,x){return!x&&y.__zooming||new D(y,O)}function D(y,O){this.that=y,this.args=O,this.active=0,this.sourceEvent=null,this.extent=t.apply(y,O),this.taps=0}D.prototype={event:function(y){return y&&(this.sourceEvent=y),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(y,O){return this.mouse&&y!=="mouse"&&(this.mouse[1]=O.invert(this.mouse[0])),this.touch0&&y!=="touch"&&(this.touch0[1]=O.invert(this.touch0[0])),this.touch1&&y!=="touch"&&(this.touch1[1]=O.invert(this.touch1[0])),this.that.__zoom=O,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(y){var O=qn(this.that).datum();c.call(y,this.that,new X3(y,{sourceEvent:this.sourceEvent,target:_,type:y,transform:this.that.__zoom,dispatch:c}),O)}};function R(y,...O){if(!e.apply(this,arguments))return;var x=k(this,O).event(y),L=this.__zoom,B=Math.max(i[0],Math.min(i[1],L.k*Math.pow(2,o.apply(this,arguments)))),U=zn(y);if(x.wheel)(x.mouse[0][0]!==U[0]||x.mouse[0][1]!==U[1])&&(x.mouse[1]=L.invert(x.mouse[0]=U)),clearTimeout(x.wheel);else{if(L.k===B)return;x.mouse=[U,L.invert(U)],Fs(this),x.start()}Yr(y),x.wheel=setTimeout(V,m),x.zoom("mouse",n(v(E(L,B),x.mouse[0],x.mouse[1]),x.extent,s));function V(){x.wheel=null,x.end()}}function A(y,...O){if(d||!e.apply(this,arguments))return;var x=y.currentTarget,L=k(this,O,!0).event(y),B=qn(y.view).on("mousemove.zoom",q,!0).on("mouseup.zoom",Q,!0),U=zn(y,x),V=y.clientX,W=y.clientY;uR(y.view),ru(y),L.mouse=[U,this.__zoom.invert(U)],Fs(this),L.start();function q(J){if(Yr(J),!L.moved){var te=J.clientX-V,ge=J.clientY-W;L.moved=te*te+ge*ge>g}L.event(J).zoom("mouse",n(v(L.that.__zoom,L.mouse[0]=zn(J,x),L.mouse[1]),L.extent,s))}function Q(J){B.on("mousemove.zoom mouseup.zoom",null),cR(J.view,L.moved),Yr(J),L.event(J).end()}}function P(y,...O){if(e.apply(this,arguments)){var x=this.__zoom,L=zn(y.changedTouches?y.changedTouches[0]:y,this),B=x.invert(L),U=x.k*(y.shiftKey?.5:2),V=n(v(E(x,U),L,B),t.apply(this,O),s);Yr(y),a>0?qn(this).transition().duration(a).call(I,V,L,y):qn(this).call(_.transform,V,L,y)}}function z(y,...O){if(e.apply(this,arguments)){var x=y.touches,L=x.length,B=k(this,O,y.changedTouches.length===L).event(y),U,V,W,q;for(ru(y),V=0;V<L;++V)W=x[V],q=zn(W,this),q=[q,this.__zoom.invert(q),W.identifier],B.touch0?!B.touch1&&B.touch0[2]!==q[2]&&(B.touch1=q,B.taps=0):(B.touch0=q,U=!0,B.taps=1+!!u);u&&(u=clearTimeout(u)),U&&(B.taps<2&&(f=q[0],u=setTimeout(function(){u=null},h)),Fs(this),B.start())}}function C(y,...O){if(this.__zooming){var x=k(this,O).event(y),L=y.changedTouches,B=L.length,U,V,W,q;for(Yr(y),U=0;U<B;++U)V=L[U],W=zn(V,this),x.touch0&&x.touch0[2]===V.identifier?x.touch0[0]=W:x.touch1&&x.touch1[2]===V.identifier&&(x.touch1[0]=W);if(V=x.that.__zoom,x.touch1){var Q=x.touch0[0],J=x.touch0[1],te=x.touch1[0],ge=x.touch1[1],le=(le=te[0]-Q[0])*le+(le=te[1]-Q[1])*le,ce=(ce=ge[0]-J[0])*ce+(ce=ge[1]-J[1])*ce;V=E(V,Math.sqrt(le/ce)),W=[(Q[0]+te[0])/2,(Q[1]+te[1])/2],q=[(J[0]+ge[0])/2,(J[1]+ge[1])/2]}else if(x.touch0)W=x.touch0[0],q=x.touch0[1];else return;x.zoom("touch",n(v(V,W,q),x.extent,s))}}function j(y,...O){if(this.__zooming){var x=k(this,O).event(y),L=y.changedTouches,B=L.length,U,V;for(ru(y),d&&clearTimeout(d),d=setTimeout(function(){d=null},h),U=0;U<B;++U)V=L[U],x.touch0&&x.touch0[2]===V.identifier?delete x.touch0:x.touch1&&x.touch1[2]===V.identifier&&delete x.touch1;if(x.touch1&&!x.touch0&&(x.touch0=x.touch1,delete x.touch1),x.touch0)x.touch0[1]=this.__zoom.invert(x.touch0[0]);else if(x.end(),x.taps===2&&(V=zn(V,this),Math.hypot(f[0]-V[0],f[1]-V[1])<p)){var W=qn(this).on("dblclick.zoom");W&&W.apply(this,arguments)}}}return _.wheelDelta=function(y){return arguments.length?(o=typeof y=="function"?y:Ss(+y),_):o},_.filter=function(y){return arguments.length?(e=typeof y=="function"?y:Ss(!!y),_):e},_.touchable=function(y){return arguments.length?(r=typeof y=="function"?y:Ss(!!y),_):r},_.extent=function(y){return arguments.length?(t=typeof y=="function"?y:Ss([[+y[0][0],+y[0][1]],[+y[1][0],+y[1][1]]]),_):t},_.scaleExtent=function(y){return arguments.length?(i[0]=+y[0],i[1]=+y[1],_):[i[0],i[1]]},_.translateExtent=function(y){return arguments.length?(s[0][0]=+y[0][0],s[1][0]=+y[1][0],s[0][1]=+y[0][1],s[1][1]=+y[1][1],_):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},_.constrain=function(y){return arguments.length?(n=y,_):n},_.duration=function(y){return arguments.length?(a=+y,_):a},_.interpolate=function(y){return arguments.length?(l=y,_):l},_.on=function(){var y=c.on.apply(c,arguments);return y===c?_:y},_.clickDistance=function(y){return arguments.length?(g=(y=+y)*y,_):Math.sqrt(g)},_.tapDistance=function(y){return arguments.length?(p=+y,_):p},_}const Lb=Symbol("MiniMapSlots"),t5=["id","x","y","rx","ry","width","height","fill","stroke","stroke-width","shape-rendering"],n5={name:"MiniMapNode",compatConfig:{MODE:3}},o5=ke({...n5,props:{id:{},type:{},selected:{type:Boolean},dragging:{type:Boolean},position:{},dimensions:{},borderRadius:{},color:{},shapeRendering:{},strokeColor:{},strokeWidth:{}},emits:["click","dblclick","mouseenter","mousemove","mouseleave"],setup(e,{emit:t}){const n=e,o=Ve(Lb),r=Uc(),i=pe(()=>r.style??{});function s(f){t("click",f)}function a(f){t("dblclick",f)}function l(f){t("mouseenter",f)}function c(f){t("mousemove",f)}function u(f){t("mouseleave",f)}return(f,d)=>Z(o)[`node-${n.type}`]?(re(),Pe(Ba(Z(o)[`node-${n.type}`]),zs(tt({key:0},n)),null,16)):(re(),Se("rect",{key:1,id:f.id,class:Et(["vue-flow__minimap-node",{selected:f.selected,dragging:f.dragging}]),x:f.position.x,y:f.position.y,rx:f.borderRadius,ry:f.borderRadius,width:f.dimensions.width,height:f.dimensions.height,fill:f.color||i.value.background||i.value.backgroundColor,stroke:f.strokeColor,"stroke-width":f.strokeWidth,"shape-rendering":f.shapeRendering,onClick:s,onDblclick:a,onMouseenter:l,onMousemove:c,onMouseleave:u},null,42,t5))}}),r5=["width","height","viewBox","aria-labelledby"],i5=["id"],s5=["d","fill","stroke","stroke-width"],a5={name:"MiniMap",compatConfig:{MODE:3}},l5=ke({...a5,props:{nodeColor:{type:[String,Function],default:"#e2e2e2"},nodeStrokeColor:{type:[String,Function],default:"transparent"},nodeClassName:{type:[String,Function]},nodeBorderRadius:{default:5},nodeStrokeWidth:{default:2},maskColor:{default:"rgb(240, 240, 240, 0.6)"},maskStrokeColor:{default:"none"},maskStrokeWidth:{default:1},position:{default:"bottom-right"},pannable:{type:Boolean,default:!1},zoomable:{type:Boolean,default:!1},width:{},height:{},ariaLabel:{default:"Vue Flow mini map"},inversePan:{type:Boolean,default:!1},zoomStep:{default:10},offsetScale:{default:5},maskBorderRadius:{default:0}},emits:["click","nodeClick","nodeDblclick","nodeMouseenter","nodeMousemove","nodeMouseleave"],setup(e,{emit:t}){const n=gv(),o=Uc(),r=200,i=150,{id:s,edges:a,viewport:l,translateExtent:c,dimensions:u,emits:f,d3Selection:d,d3Zoom:h,getNodesInitialized:m}=ze(),g=se();st(Lb,n);const p=pe(()=>{var B;return e.width??((B=o.style)==null?void 0:B.width)??r}),_=pe(()=>{var B;return e.height??((B=o.style)==null?void 0:B.height)??i}),E=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision",v=H(()=>typeof e.nodeColor=="string"?()=>e.nodeColor:e.nodeColor),w=H(()=>typeof e.nodeStrokeColor=="string"?()=>e.nodeStrokeColor:e.nodeStrokeColor),I=H(()=>typeof e.nodeClassName=="string"?()=>e.nodeClassName:typeof e.nodeClassName=="function"?e.nodeClassName:()=>""),k=H(()=>Pf(m.value)),D=H(()=>({x:-l.value.x/l.value.zoom,y:-l.value.y/l.value.zoom,width:u.value.width/l.value.zoom,height:u.value.height/l.value.zoom})),R=H(()=>m.value&&m.value.length?xM(k.value,D.value):D.value),A=H(()=>{const B=R.value.width/p.value,U=R.value.height/_.value;return Math.max(B,U)}),P=H(()=>{const B=A.value*p.value,U=A.value*_.value,V=e.offsetScale*A.value;return{offset:V,x:R.value.x-(B-R.value.width)/2-V,y:R.value.y-(U-R.value.height)/2-V,width:B+V*2,height:U+V*2}}),z=H(()=>!P.value.x||!P.value.y?"":`
55
+ M${P.value.x-P.value.offset},${P.value.y-P.value.offset}
56
+ h${P.value.width+P.value.offset*2}
57
+ v${P.value.height+P.value.offset*2}
58
+ h${-P.value.width-P.value.offset*2}z
59
+ M${D.value.x+e.maskBorderRadius},${D.value.y}
60
+ h${D.value.width-2*e.maskBorderRadius}
61
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 ${e.maskBorderRadius},${e.maskBorderRadius}
62
+ v${D.value.height-2*e.maskBorderRadius}
63
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 -${e.maskBorderRadius},${e.maskBorderRadius}
64
+ h${-(D.value.width-2*e.maskBorderRadius)}
65
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 -${e.maskBorderRadius},-${e.maskBorderRadius}
66
+ v${-(D.value.height-2*e.maskBorderRadius)}
67
+ a${e.maskBorderRadius},${e.maskBorderRadius} 0 0 1 ${e.maskBorderRadius},-${e.maskBorderRadius}z`);so(B=>{if(g.value){const U=qn(g.value),V=Q=>{if(Q.sourceEvent.type!=="wheel"||!d.value||!h.value)return;const J=-Q.sourceEvent.deltaY*(Q.sourceEvent.deltaMode===1?.05:Q.sourceEvent.deltaMode?1:.002)*e.zoomStep,te=l.value.zoom*2**J;h.value.scaleTo(d.value,te)},W=Q=>{if(Q.sourceEvent.type!=="mousemove"||!d.value||!h.value)return;const J=A.value*Math.max(1,l.value.zoom)*(e.inversePan?-1:1),te={x:l.value.x-Q.sourceEvent.movementX*J,y:l.value.y-Q.sourceEvent.movementY*J},ge=[[0,0],[u.value.width,u.value.height]],le=Uf.translate(te.x,te.y).scale(l.value.zoom),ce=h.value.constrain()(le,ge,c.value);h.value.transform(d.value,ce)},q=e5().on("zoom",e.pannable?W:()=>{}).on("zoom.wheel",e.zoomable?V:()=>{});U.call(q),B(()=>{U.on("zoom",null)})}},{flush:"post"});function C(B){const[U,V]=zn(B);t("click",{event:B,position:{x:U,y:V}})}function j(B,U){const V={event:B,node:U,connectedEdges:yo([U],a.value)};f.miniMapNodeClick(V),t("nodeClick",V)}function y(B,U){const V={event:B,node:U,connectedEdges:yo([U],a.value)};f.miniMapNodeDoubleClick(V),t("nodeDblclick",V)}function O(B,U){const V={event:B,node:U,connectedEdges:yo([U],a.value)};f.miniMapNodeMouseEnter(V),t("nodeMouseenter",V)}function x(B,U){const V={event:B,node:U,connectedEdges:yo([U],a.value)};f.miniMapNodeMouseMove(V),t("nodeMousemove",V)}function L(B,U){const V={event:B,node:U,connectedEdges:yo([U],a.value)};f.miniMapNodeMouseLeave(V),t("nodeMouseleave",V)}return(B,U)=>(re(),Pe(Z(bD),{position:B.position,class:Et(["vue-flow__minimap",{pannable:B.pannable,zoomable:B.zoomable}])},{default:Ue(()=>[(re(),Se("svg",{ref_key:"el",ref:g,width:p.value,height:_.value,viewBox:[P.value.x,P.value.y,P.value.width,P.value.height].join(" "),role:"img","aria-labelledby":`vue-flow__minimap-${Z(s)}`,onClick:C},[B.ariaLabel?(re(),Se("title",{key:0,id:`vue-flow__minimap-${Z(s)}`},Po(B.ariaLabel),9,i5)):Ke("",!0),(re(!0),Se(we,null,Zn(Z(m),V=>(re(),Pe(o5,{id:V.id,key:V.id,position:V.computedPosition,dimensions:V.dimensions,selected:V.selected,dragging:V.dragging,style:gt(V.style),class:Et(I.value(V)),color:v.value(V),"border-radius":B.nodeBorderRadius,"stroke-color":w.value(V),"stroke-width":B.nodeStrokeWidth,"shape-rendering":Z(E),type:V.type,onClick:W=>j(W,V),onDblclick:W=>y(W,V),onMouseenter:W=>O(W,V),onMousemove:W=>x(W,V),onMouseleave:W=>L(W,V)},null,8,["id","position","dimensions","selected","dragging","style","class","color","border-radius","stroke-color","stroke-width","shape-rendering","type","onClick","onDblclick","onMouseenter","onMousemove","onMouseleave"]))),128)),it("path",{class:"vue-flow__minimap-mask",d:z.value,fill:B.maskColor,stroke:B.maskStrokeColor,"stroke-width":B.maskStrokeWidth,"fill-rule":"evenodd"},null,8,s5)],8,r5))]),_:1},8,["position","class"]))}}),u5=["ID","URL","IPv4","IPv6","DNS","SSH"],fm=new Map(u5.map(e=>[e.toLowerCase(),e]));function Ec(e){return e.split(/(?=[A-Z])/).map(n=>{const o=n.toLowerCase();return fm.has(o)?fm.get(o):n.charAt(0).toUpperCase()+n.slice(1)}).join(" ")}const c5=he({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Lt(e,t,n){return Te()({name:e,props:c5({mode:n,origin:t}),setup(o,r){let{slots:i}=r;const s={onBeforeEnter(a){o.origin&&(a.style.transformOrigin=o.origin)},onLeave(a){if(o.leaveAbsolute){const{offsetTop:l,offsetLeft:c,offsetWidth:u,offsetHeight:f}=a;a._transitionInitialStyles={position:a.style.position,top:a.style.top,left:a.style.left,width:a.style.width,height:a.style.height},a.style.position="absolute",a.style.top=`${l}px`,a.style.left=`${c}px`,a.style.width=`${u}px`,a.style.height=`${f}px`}o.hideOnLeave&&a.style.setProperty("display","none","important")},onAfterLeave(a){if(o.leaveAbsolute&&(a!=null&&a._transitionInitialStyles)){const{position:l,top:c,left:u,width:f,height:d}=a._transitionInitialStyles;delete a._transitionInitialStyles,a.style.position=l||"",a.style.top=c||"",a.style.left=u||"",a.style.width=f||"",a.style.height=d||""}}};return()=>{const a=o.group?Kc:zi;return Ce(a,{name:o.disabled?"":e,css:!o.disabled,...o.group?void 0:{mode:o.mode},...o.disabled?{}:s},i.default)}}})}function Hb(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Te()({name:e,props:{mode:{type:String,default:n},disabled:Boolean,group:Boolean},setup(o,r){let{slots:i}=r;const s=o.group?Kc:zi;return()=>Ce(s,{name:o.disabled?"":e,css:!o.disabled,...o.disabled?{}:t},i.default)}})}function Vb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",o=Ct(`offset-${n}`);return{onBeforeEnter(s){s._parent=s.parentNode,s._initialStyle={transition:s.style.transition,overflow:s.style.overflow,[n]:s.style[n]}},onEnter(s){const a=s._initialStyle;s.style.setProperty("transition","none","important"),s.style.overflow="hidden";const l=`${s[o]}px`;s.style[n]="0",s.offsetHeight,s.style.transition=a.transition,e&&s._parent&&s._parent.classList.add(e),requestAnimationFrame(()=>{s.style[n]=l})},onAfterEnter:i,onEnterCancelled:i,onLeave(s){s._initialStyle={transition:"",overflow:s.style.overflow,[n]:s.style[n]},s.style.overflow="hidden",s.style[n]=`${s[o]}px`,s.offsetHeight,requestAnimationFrame(()=>s.style[n]="0")},onAfterLeave:r,onLeaveCancelled:r};function r(s){e&&s._parent&&s._parent.classList.remove(e),i(s)}function i(s){const a=s._initialStyle[n];s.style.overflow=s._initialStyle.overflow,a!=null&&(s.style[n]=a),delete s._initialStyle}}Lt("fab-transition","center center","out-in");Lt("dialog-bottom-transition");Lt("dialog-top-transition");const dm=Lt("fade-transition");Lt("scale-transition");Lt("scroll-x-transition");Lt("scroll-x-reverse-transition");Lt("scroll-y-transition");Lt("scroll-y-reverse-transition");Lt("slide-x-transition");Lt("slide-x-reverse-transition");const Fb=Lt("slide-y-transition");Lt("slide-y-reverse-transition");const f5=Hb("expand-transition",Vb()),zb=Hb("expand-x-transition",Vb("",!0)),d5=he({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Re(),...mf({transition:{component:Fb}})},"VCounter"),h5=Te()({name:"VCounter",functional:!0,props:d5(),setup(e,t){let{slots:n}=t;const o=H(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return Oe(()=>M(sr,{transition:e.transition},{default:()=>[Pn(M("div",{class:["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class],style:e.style},[n.default?n.default({counter:o.value,max:e.max,value:e.value}):o.value]),[[za,e.active]])]})),{}}}),g5=he({text:String,onClick:Tn(),...Re(),...wt()},"VLabel"),m5=Te()({name:"VLabel",props:g5(),setup(e,t){let{slots:n}=t;return Oe(()=>{var o;return M("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(o=n.default)==null?void 0:o.call(n)])}),{}}}),v5=he({floating:Boolean,...Re()},"VFieldLabel"),xs=Te()({name:"VFieldLabel",props:v5(),setup(e,t){let{slots:n}=t;return Oe(()=>M(m5,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}});function Ub(e){const{t}=my();function n(o){let{name:r}=o;const i={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[r],s=e[`onClick:${r}`],a=s&&i?t(`$vuetify.input.${i}`,e.label??""):void 0;return M(_t,{icon:e[`${r}Icon`],"aria-label":a,onClick:s},null)}return{InputIcon:n}}const Wb=he({focused:Boolean,"onUpdate:focused":Tn()},"focus");function jb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn();const n=Rn(e,"focused"),o=H(()=>({[`${t}--focused`]:n.value}));function r(){n.value=!0}function i(){n.value=!1}return{focusClasses:o,isFocused:n,focus:r,blur:i}}const p5=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Yb=he({appendInnerIcon:nt,bgColor:String,clearable:Boolean,clearIcon:{type:nt,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:nt,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>p5.includes(e)},"onClick:clear":Tn(),"onClick:appendInner":Tn(),"onClick:prependInner":Tn(),...Re(),...yf(),...fn(),...wt()},"VField"),Gb=Te()({name:"VField",inheritAttrs:!1,props:{id:String,...Wb(),...Yb()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:o,slots:r}=t;const{themeClasses:i}=Tt(e),{loaderClasses:s}=bf(e),{focusClasses:a,isFocused:l,focus:c,blur:u}=jb(e),{InputIcon:f}=Ub(e),{roundedClasses:d}=dn(e),{rtlClasses:h}=ao(),m=H(()=>e.dirty||e.active),g=H(()=>!e.singleLine&&!!(e.label||r.label)),p=zo(),_=H(()=>e.id||`input-${p}`),E=H(()=>`${_.value}-messages`),v=se(),w=se(),I=se(),k=H(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:D,backgroundColorStyles:R}=to(pe(e,"bgColor")),{textColorClasses:A,textColorStyles:P}=Ro(H(()=>e.error||e.disabled?void 0:m.value&&l.value?e.color:e.baseColor));ue(m,y=>{if(g.value){const O=v.value.$el,x=w.value.$el;requestAnimationFrame(()=>{const L=XC(O),B=x.getBoundingClientRect(),U=B.x-L.x,V=B.y-L.y-(L.height/2-B.height/2),W=B.width/.75,q=Math.abs(W-L.width)>1?{maxWidth:Ne(W)}:void 0,Q=getComputedStyle(O),J=getComputedStyle(x),te=parseFloat(Q.transitionDuration)*1e3||150,ge=parseFloat(J.getPropertyValue("--v-field-label-scale")),le=J.getPropertyValue("color");O.style.visibility="visible",x.style.visibility="hidden",KC(O,{transform:`translate(${U}px, ${V}px) scale(${ge})`,color:le,...q},{duration:te,easing:wE,direction:y?"normal":"reverse"}).finished.then(()=>{O.style.removeProperty("visibility"),x.style.removeProperty("visibility")})})}},{flush:"post"});const z=H(()=>({isActive:m,isFocused:l,controlRef:I,blur:u,focus:c}));function C(y){y.target!==document.activeElement&&y.preventDefault()}function j(y){var O;y.key!=="Enter"&&y.key!==" "||(y.preventDefault(),y.stopPropagation(),(O=e["onClick:clear"])==null||O.call(e,new MouseEvent("click")))}return Oe(()=>{var U,V,W;const y=e.variant==="outlined",O=!!(r["prepend-inner"]||e.prependInnerIcon),x=!!(e.clearable||r.clear),L=!!(r["append-inner"]||e.appendInnerIcon||x),B=()=>r.label?r.label({...z.value,label:e.label,props:{for:_.value}}):e.label;return M("div",tt({class:["v-field",{"v-field--active":m.value,"v-field--appended":L,"v-field--center-affix":e.centerAffix??!k.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":O,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!B(),[`v-field--variant-${e.variant}`]:!0},i.value,D.value,a.value,s.value,d.value,h.value,e.class],style:[R.value,e.style],onClick:C},n),[M("div",{class:"v-field__overlay"},null),M(Xy,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:r.loader}),O&&M("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&M(f,{key:"prepend-icon",name:"prependInner"},null),(U=r["prepend-inner"])==null?void 0:U.call(r,z.value)]),M("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&M(xs,{key:"floating-label",ref:w,class:[A.value],floating:!0,for:_.value,style:P.value},{default:()=>[B()]}),M(xs,{ref:v,for:_.value},{default:()=>[B()]}),(V=r.default)==null?void 0:V.call(r,{...z.value,props:{id:_.value,class:"v-field__input","aria-describedby":E.value},focus:c,blur:u})]),x&&M(zb,{key:"clear"},{default:()=>[Pn(M("div",{class:"v-field__clearable",onMousedown:q=>{q.preventDefault(),q.stopPropagation()}},[M(ht,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[r.clear?r.clear({...z.value,props:{onKeydown:j,onFocus:c,onBlur:u,onClick:e["onClick:clear"]}}):M(f,{name:"clear",onKeydown:j,onFocus:c,onBlur:u},null)]})]),[[za,e.dirty]])]}),L&&M("div",{key:"append",class:"v-field__append-inner"},[(W=r["append-inner"])==null?void 0:W.call(r,z.value),e.appendInnerIcon&&M(f,{key:"append-icon",name:"appendInner"},null)]),M("div",{class:["v-field__outline",A.value],style:P.value},[y&&M(we,null,[M("div",{class:"v-field__outline__start"},null),g.value&&M("div",{class:"v-field__outline__notch"},[M(xs,{ref:w,floating:!0,for:_.value},{default:()=>[B()]})]),M("div",{class:"v-field__outline__end"},null)]),k.value&&g.value&&M(xs,{ref:w,floating:!0,for:_.value},{default:()=>[B()]})])])}),{controlRef:I}}});function y5(e){const t=Object.keys(Gb.props).filter(n=>!RC(n)&&n!=="class"&&n!=="style");return zp(e,t)}const b5=he({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Re(),...mf({transition:{component:Fb,leaveAbsolute:!0,group:!0}})},"VMessages"),_5=Te()({name:"VMessages",props:b5(),setup(e,t){let{slots:n}=t;const o=H(()=>si(e.messages)),{textColorClasses:r,textColorStyles:i}=Ro(H(()=>e.color));return Oe(()=>M(sr,{transition:e.transition,tag:"div",class:["v-messages",r.value,e.class],style:[i.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&o.value.map((s,a)=>M("div",{class:"v-messages__message",key:`${a}-${o.value}`},[n.message?n.message({message:s}):s]))]})),{}}}),w5=Symbol.for("vuetify:form");function S5(){return Ve(w5,null)}const x5=he({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Wb()},"validation");function C5(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:zo();const o=Rn(e,"modelValue"),r=H(()=>e.validationValue===void 0?o.value:e.validationValue),i=S5(),s=se([]),a=Ee(!0),l=H(()=>!!(si(o.value===""?null:o.value).length||si(r.value===""?null:r.value).length)),c=H(()=>!!(e.disabled??(i==null?void 0:i.isDisabled.value))),u=H(()=>!!(e.readonly??(i==null?void 0:i.isReadonly.value))),f=H(()=>{var I;return(I=e.errorMessages)!=null&&I.length?si(e.errorMessages).concat(s.value).slice(0,Math.max(0,+e.maxErrors)):s.value}),d=H(()=>{let I=(e.validateOn??(i==null?void 0:i.validateOn.value))||"input";I==="lazy"&&(I="input lazy"),I==="eager"&&(I="input eager");const k=new Set((I==null?void 0:I.split(" "))??[]);return{input:k.has("input"),blur:k.has("blur")||k.has("input")||k.has("invalid-input"),invalidInput:k.has("invalid-input"),lazy:k.has("lazy"),eager:k.has("eager")}}),h=H(()=>{var I;return e.error||(I=e.errorMessages)!=null&&I.length?!1:e.rules.length?a.value?s.value.length||d.value.lazy?null:!0:!s.value.length:!0}),m=Ee(!1),g=H(()=>({[`${t}--error`]:h.value===!1,[`${t}--dirty`]:l.value,[`${t}--disabled`]:c.value,[`${t}--readonly`]:u.value})),p=mt("validation"),_=H(()=>e.name??Z(n));Vi(()=>{i==null||i.register({id:_.value,vm:p,validate:w,reset:E,resetValidation:v})}),kt(()=>{i==null||i.unregister(_.value)}),ot(async()=>{d.value.lazy||await w(!d.value.eager),i==null||i.update(_.value,h.value,f.value)}),eo(()=>d.value.input||d.value.invalidInput&&h.value===!1,()=>{ue(r,()=>{if(r.value!=null)w();else if(e.focused){const I=ue(()=>e.focused,k=>{k||w(),I()})}})}),eo(()=>d.value.blur,()=>{ue(()=>e.focused,I=>{I||w()})}),ue([h,f],()=>{i==null||i.update(_.value,h.value,f.value)});async function E(){o.value=null,await Ze(),await v()}async function v(){a.value=!0,d.value.lazy?s.value=[]:await w(!d.value.eager)}async function w(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const k=[];m.value=!0;for(const D of e.rules){if(k.length>=+(e.maxErrors??1))break;const A=await(typeof D=="function"?D:()=>D)(r.value);if(A!==!0){if(A!==!1&&typeof A!="string"){console.warn(`${A} is not a valid value. Rule functions must return boolean true or a string.`);continue}k.push(A||"")}}return s.value=k,m.value=!1,a.value=I,s.value}return{errorMessages:f,isDirty:l,isDisabled:c,isReadonly:u,isPristine:a,isValid:h,isValidating:m,reset:E,resetValidation:v,validate:w,validationClasses:g}}const Xb=he({id:String,appendIcon:nt,centerAffix:{type:Boolean,default:!0},prependIcon:nt,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":Tn(),"onClick:append":Tn(),...Re(),...jo(),...OC(Mr(),["maxWidth","minWidth","width"]),...wt(),...x5()},"VInput"),hm=Te()({name:"VInput",props:{...Xb()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:o,emit:r}=t;const{densityClasses:i}=Dr(e),{dimensionStyles:s}=Ar(e),{themeClasses:a}=Tt(e),{rtlClasses:l}=ao(),{InputIcon:c}=Ub(e),u=zo(),f=H(()=>e.id||`input-${u}`),d=H(()=>`${f.value}-messages`),{errorMessages:h,isDirty:m,isDisabled:g,isReadonly:p,isPristine:_,isValid:E,isValidating:v,reset:w,resetValidation:I,validate:k,validationClasses:D}=C5(e,"v-input",f),R=H(()=>({id:f,messagesId:d,isDirty:m,isDisabled:g,isReadonly:p,isPristine:_,isValid:E,isValidating:v,reset:w,resetValidation:I,validate:k})),A=H(()=>{var P;return(P=e.errorMessages)!=null&&P.length||!_.value&&h.value.length?h.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return Oe(()=>{var y,O,x,L;const P=!!(o.prepend||e.prependIcon),z=!!(o.append||e.appendIcon),C=A.value.length>0,j=!e.hideDetails||e.hideDetails==="auto"&&(C||!!o.details);return M("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},i.value,a.value,l.value,D.value,e.class],style:[s.value,e.style]},[P&&M("div",{key:"prepend",class:"v-input__prepend"},[(y=o.prepend)==null?void 0:y.call(o,R.value),e.prependIcon&&M(c,{key:"prepend-icon",name:"prepend"},null)]),o.default&&M("div",{class:"v-input__control"},[(O=o.default)==null?void 0:O.call(o,R.value)]),z&&M("div",{key:"append",class:"v-input__append"},[e.appendIcon&&M(c,{key:"append-icon",name:"append"},null),(x=o.append)==null?void 0:x.call(o,R.value)]),j&&M("div",{class:"v-input__details"},[M(_5,{id:d.value,active:C,messages:A.value},{message:o.message}),(L=o.details)==null?void 0:L.call(o,R.value)])])}),{reset:w,resetValidation:I,validate:k,isValid:E,errorMessages:h}}}),iu=Symbol("Forwarded refs");function su(e,t){let n=e;for(;n;){const o=Reflect.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}function E5(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e[iu]=n,new Proxy(e,{get(r,i){if(Reflect.has(r,i))return Reflect.get(r,i);if(!(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))){for(const s of n)if(s.value&&Reflect.has(s.value,i)){const a=Reflect.get(s.value,i);return typeof a=="function"?a.bind(s.value):a}}},has(r,i){if(Reflect.has(r,i))return!0;if(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))return!1;for(const s of n)if(s.value&&Reflect.has(s.value,i))return!0;return!1},set(r,i,s){if(Reflect.has(r,i))return Reflect.set(r,i,s);if(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))return!1;for(const a of n)if(a.value&&Reflect.has(a.value,i))return Reflect.set(a.value,i,s);return!1},getOwnPropertyDescriptor(r,i){var a;const s=Reflect.getOwnPropertyDescriptor(r,i);if(s)return s;if(!(typeof i=="symbol"||i.startsWith("$")||i.startsWith("__"))){for(const l of n){if(!l.value)continue;const c=su(l.value,i)??("_"in l.value?su((a=l.value._)==null?void 0:a.setupState,i):void 0);if(c)return c}for(const l of n){const c=l.value&&l.value[iu];if(!c)continue;const u=c.slice();for(;u.length;){const f=u.shift(),d=su(f.value,i);if(d)return d;const h=f.value&&f.value[iu];h&&u.push(...h)}}}}})}const k5=["color","file","time","date","datetime-local","week","month"],$5=he({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Xb(),...Yb()},"VTextField"),T5=Te()({name:"VTextField",directives:{Intersect:Wy},inheritAttrs:!1,props:$5(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:o,slots:r}=t;const i=Rn(e,"modelValue"),{isFocused:s,focus:a,blur:l}=jb(e),c=H(()=>typeof e.counterValue=="function"?e.counterValue(i.value):typeof e.counterValue=="number"?e.counterValue:(i.value??"").toString().length),u=H(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),f=H(()=>["plain","underlined"].includes(e.variant));function d(k,D){var R,A;!e.autofocus||!k||(A=(R=D[0].target)==null?void 0:R.focus)==null||A.call(R)}const h=se(),m=se(),g=se(),p=H(()=>k5.includes(e.type)||e.persistentPlaceholder||s.value||e.active);function _(){var k;g.value!==document.activeElement&&((k=g.value)==null||k.focus()),s.value||a()}function E(k){o("mousedown:control",k),k.target!==g.value&&(_(),k.preventDefault())}function v(k){_(),o("click:control",k)}function w(k){k.stopPropagation(),_(),Ze(()=>{i.value=null,FC(e["onClick:clear"],k)})}function I(k){var R;const D=k.target;if(i.value=D.value,(R=e.modelModifiers)!=null&&R.trim&&["text","search","password","tel","url"].includes(e.type)){const A=[D.selectionStart,D.selectionEnd];Ze(()=>{D.selectionStart=A[0],D.selectionEnd=A[1]})}}return Oe(()=>{const k=!!(r.counter||e.counter!==!1&&e.counter!=null),D=!!(k||r.details),[R,A]=LC(n),{modelValue:P,...z}=hm.filterProps(e),C=y5(e);return M(hm,tt({ref:h,modelValue:i.value,"onUpdate:modelValue":j=>i.value=j,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":f.value},e.class],style:e.style},R,z,{centerAffix:!f.value,focused:s.value}),{...r,default:j=>{let{id:y,isDisabled:O,isDirty:x,isReadonly:L,isValid:B}=j;return M(Gb,tt({ref:m,onMousedown:E,onClick:v,"onClick:clear":w,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},C,{id:y.value,active:p.value||x.value,dirty:x.value||e.dirty,disabled:O.value,focused:s.value,error:B.value===!1}),{...r,default:U=>{let{props:{class:V,...W}}=U;const q=Pn(M("input",tt({ref:g,value:i.value,onInput:I,autofocus:e.autofocus,readonly:L.value,disabled:O.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:_,onBlur:l},W,A),null),[[La("intersect"),{handler:d},null,{once:!0}]]);return M(we,null,[e.prefix&&M("span",{class:"v-text-field__prefix"},[M("span",{class:"v-text-field__prefix__text"},[e.prefix])]),r.default?M("div",{class:V,"data-no-activator":""},[r.default(),q]):Nn(q,{class:V}),e.suffix&&M("span",{class:"v-text-field__suffix"},[M("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:D?j=>{var y;return M(we,null,[(y=r.details)==null?void 0:y.call(r,j),k&&M(we,null,[M("span",null,null),M(h5,{active:e.persistentCounter||s.value,value:c.value,max:u.value,disabled:e.disabled},r.counter)])])}:void 0})}),E5({},h,m,g)}}),I5=ke({__name:"ComponentArgInput",props:{name:{},arg:{}},setup(e){const t=H(()=>"type"in e.arg?e.arg.type:"unknown");return(n,o)=>Z(t)==="string"?(re(),Pe(T5,{key:0,label:("camelCaseToHumanReadable"in n?n.camelCaseToHumanReadable:Z(Ec))(n.name),variant:"outlined",density:"compact","hide-details":""},null,8,["label"])):Ke("",!0)}}),Kb=he({baseColor:String,divided:Boolean,...Uo(),...Re(),...jo(),...Rr(),...fn(),...vt(),...wt(),...Or()},"VBtnGroup"),gm=Te()({name:"VBtnGroup",props:Kb(),setup(e,t){let{slots:n}=t;const{themeClasses:o}=Tt(e),{densityClasses:r}=Dr(e),{borderClasses:i}=Wo(e),{elevationClasses:s}=Br(e),{roundedClasses:a}=dn(e);Nr({VBtn:{height:"auto",baseColor:pe(e,"baseColor"),color:pe(e,"color"),density:pe(e,"density"),flat:!0,variant:pe(e,"variant")}}),Oe(()=>M(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},o.value,i.value,r.value,s.value,a.value,e.class],style:e.style},n))}}),Wf=he({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),qb=he({value:null,disabled:Boolean,selectedClass:String},"group-item");function Zb(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const o=mt("useGroupItem");if(!o)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=zo();st(Symbol.for(`${t.description}:id`),r);const i=Ve(t,null);if(!i){if(!n)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const s=pe(e,"value"),a=H(()=>!!(i.disabled.value||e.disabled));i.register({id:r,value:s,disabled:a},o),kt(()=>{i.unregister(r)});const l=H(()=>i.isSelected(r)),c=H(()=>i.items.value[0].id===r),u=H(()=>i.items.value[i.items.value.length-1].id===r),f=H(()=>l.value&&[i.selectedClass.value,e.selectedClass]);return ue(l,d=>{o.emit("group:selected",{value:d})},{flush:"sync"}),{id:r,isSelected:l,isFirst:c,isLast:u,toggle:()=>i.select(r,!l.value),select:d=>i.select(r,d),selectedClass:f,value:s,disabled:a,group:i}}function jf(e,t){let n=!1;const o=We([]),r=Rn(e,"modelValue",[],d=>d==null?[]:Jb(o,si(d)),d=>{const h=N5(o,d);return e.multiple?h:h[0]}),i=mt("useGroup");function s(d,h){const m=d,g=Symbol.for(`${t.description}:id`),_=ir(g,i==null?void 0:i.vnode).indexOf(h);Z(m.value)==null&&(m.value=_,m.useIndexAsValue=!0),_>-1?o.splice(_,0,m):o.push(m)}function a(d){if(n)return;l();const h=o.findIndex(m=>m.id===d);o.splice(h,1)}function l(){const d=o.find(h=>!h.disabled);d&&e.mandatory==="force"&&!r.value.length&&(r.value=[d.id])}ot(()=>{l()}),kt(()=>{n=!0}),Vc(()=>{for(let d=0;d<o.length;d++)o[d].useIndexAsValue&&(o[d].value=d)});function c(d,h){const m=o.find(g=>g.id===d);if(!(h&&(m!=null&&m.disabled)))if(e.multiple){const g=r.value.slice(),p=g.findIndex(E=>E===d),_=~p;if(h=h??!_,_&&e.mandatory&&g.length<=1||!_&&e.max!=null&&g.length+1>e.max)return;p<0&&h?g.push(d):p>=0&&!h&&g.splice(p,1),r.value=g}else{const g=r.value.includes(d);if(e.mandatory&&g)return;r.value=h??!g?[d]:[]}}function u(d){if(e.multiple,r.value.length){const h=r.value[0],m=o.findIndex(_=>_.id===h);let g=(m+d)%o.length,p=o[g];for(;p.disabled&&g!==m;)g=(g+d)%o.length,p=o[g];if(p.disabled)return;r.value=[o[g].id]}else{const h=o.find(m=>!m.disabled);h&&(r.value=[h.id])}}const f={register:s,unregister:a,selected:r,select:c,disabled:pe(e,"disabled"),prev:()=>u(o.length-1),next:()=>u(1),isSelected:d=>r.value.includes(d),selectedClass:H(()=>e.selectedClass),items:H(()=>o),getItemIndex:d=>P5(o,d)};return st(t,f),f}function P5(e,t){const n=Jb(e,[t]);return n.length?e.findIndex(o=>o.id===n[0]):-1}function Jb(e,t){const n=[];return t.forEach(o=>{const r=e.find(s=>Ya(o,s.value)),i=e[o];(r==null?void 0:r.value)!=null?n.push(r.id):i!=null&&n.push(i.id)}),n}function N5(e,t){const n=[];return t.forEach(o=>{const r=e.findIndex(i=>i.id===o);if(~r){const i=e[r];n.push(i.value!=null?i.value:r)}}),n}const Qb=Symbol.for("vuetify:v-btn-toggle"),M5=he({...Kb(),...Wf()},"VBtnToggle");Te()({name:"VBtnToggle",props:M5(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:o,next:r,prev:i,select:s,selected:a}=jf(e,Qb);return Oe(()=>{const l=gm.filterProps(e);return M(gm,tt({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>{var c;return[(c=n.default)==null?void 0:c.call(n,{isSelected:o,next:r,prev:i,select:s,selected:a})]}})}),{next:r,prev:i,select:s}}});const A5=he({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Re(),...ji(),...vt({tag:"div"}),...wt()},"VProgressCircular"),D5=Te()({name:"VProgressCircular",props:A5(),setup(e,t){let{slots:n}=t;const o=20,r=2*Math.PI*o,i=se(),{themeClasses:s}=Tt(e),{sizeClasses:a,sizeStyles:l}=Yi(e),{textColorClasses:c,textColorStyles:u}=Ro(pe(e,"color")),{textColorClasses:f,textColorStyles:d}=Ro(pe(e,"bgColor")),{intersectionRef:h,isIntersecting:m}=Yy(),{resizeRef:g,contentRect:p}=fa(),_=H(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),E=H(()=>Number(e.width)),v=H(()=>l.value?Number(e.size):p.value?p.value.width:Math.max(E.value,32)),w=H(()=>o/(1-E.value/v.value)*2),I=H(()=>E.value/v.value*w.value),k=H(()=>Ne((100-_.value)/100*r));return so(()=>{h.value=i.value,g.value=i.value}),Oe(()=>M(e.tag,{ref:i,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},s.value,a.value,c.value,e.class],style:[l.value,u.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:_.value},{default:()=>[M("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${w.value} ${w.value}`},[M("circle",{class:["v-progress-circular__underlay",f.value],style:d.value,fill:"transparent",cx:"50%",cy:"50%",r:o,"stroke-width":I.value,"stroke-dasharray":r,"stroke-dashoffset":0},null),M("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:o,"stroke-width":I.value,"stroke-dasharray":r,"stroke-dashoffset":k.value},null)]),n.default&&M("div",{class:"v-progress-circular__content"},[n.default({value:_.value})])]})),{}}});function O5(e,t){ue(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&t&&Ze(()=>{t(!0)})},{immediate:!0})}const R5=he({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:Qb},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:nt,appendIcon:nt,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...Uo(),...Re(),...jo(),...Mr(),...Rr(),...qb(),...yf(),...vf(),...Ky(),...fn(),...wf(),...ji(),...vt({tag:"button"}),...wt(),...Or({variant:"elevated"})},"VBtn"),mm=Te()({name:"VBtn",props:R5(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:o}=t;const{themeClasses:r}=Tt(e),{borderClasses:i}=Wo(e),{densityClasses:s}=Dr(e),{dimensionStyles:a}=Ar(e),{elevationClasses:l}=Br(e),{loaderClasses:c}=bf(e),{locationStyles:u}=pf(e),{positionClasses:f}=qy(e),{roundedClasses:d}=dn(e),{sizeClasses:h,sizeStyles:m}=Yi(e),g=Zb(e,e.symbol,!1),p=_f(e,n),_=H(()=>{var z;return e.active!==void 0?e.active:p.isLink.value?(z=p.isActive)==null?void 0:z.value:g==null?void 0:g.isSelected.value}),E=H(()=>_.value?e.activeColor??e.color:e.color),v=H(()=>{var C,j;return{color:(g==null?void 0:g.isSelected.value)&&(!p.isLink.value||((C=p.isActive)==null?void 0:C.value))||!g||((j=p.isActive)==null?void 0:j.value)?E.value??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:w,colorStyles:I,variantClasses:k}=tl(v),D=H(()=>(g==null?void 0:g.disabled.value)||e.disabled),R=H(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),A=H(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function P(z){var C;D.value||p.isLink.value&&(z.metaKey||z.ctrlKey||z.shiftKey||z.button!==0||n.target==="_blank")||((C=p.navigate)==null||C.call(p,z),g==null||g.toggle())}return O5(p,g==null?void 0:g.select),Oe(()=>{const z=p.isLink.value?"a":e.tag,C=!!(e.prependIcon||o.prepend),j=!!(e.appendIcon||o.append),y=!!(e.icon&&e.icon!==!0);return Pn(M(z,tt({type:z==="a"?void 0:"button",class:["v-btn",g==null?void 0:g.selectedClass.value,{"v-btn--active":_.value,"v-btn--block":e.block,"v-btn--disabled":D.value,"v-btn--elevated":R.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},r.value,i.value,w.value,s.value,l.value,c.value,f.value,d.value,h.value,k.value,e.class],style:[I.value,a.value,u.value,m.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:D.value||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:P,value:A.value},p.linkProps),{default:()=>{var O;return[el(!0,"v-btn"),!e.icon&&C&&M("span",{key:"prepend",class:"v-btn__prepend"},[o.prepend?M(ht,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},o.prepend):M(_t,{key:"prepend-icon",icon:e.prependIcon},null)]),M("span",{class:"v-btn__content","data-no-activator":""},[!o.default&&y?M(_t,{key:"content-icon",icon:e.icon},null):M(ht,{key:"content-defaults",disabled:!y,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var x;return[((x=o.default)==null?void 0:x.call(o))??e.text]}})]),!e.icon&&j&&M("span",{key:"append",class:"v-btn__append"},[o.append?M(ht,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},o.append):M(_t,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&M("span",{key:"loader",class:"v-btn__loader"},[((O=o.loader)==null?void 0:O.call(o))??M(D5,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[Sf,!D.value&&e.ripple,"",{center:!!e.icon}]])}),{group:g}}});function B5(e){let{selectedElement:t,containerElement:n,isRtl:o,isHorizontal:r}=e;const i=Di(r,n),s=e1(r,o,n),a=Di(r,t),l=t1(r,t),c=a*.4;return s>l?l-c:s+i<l+a?l-i+a+c:s}function L5(e){let{selectedElement:t,containerElement:n,isHorizontal:o}=e;const r=Di(o,n),i=t1(o,t),s=Di(o,t);return i-r/2+s/2}function vm(e,t){const n=e?"scrollWidth":"scrollHeight";return(t==null?void 0:t[n])||0}function H5(e,t){const n=e?"clientWidth":"clientHeight";return(t==null?void 0:t[n])||0}function e1(e,t,n){if(!n)return 0;const{scrollLeft:o,offsetWidth:r,scrollWidth:i}=n;return e?t?i-r+o:o:n.scrollTop}function Di(e,t){const n=e?"offsetWidth":"offsetHeight";return(t==null?void 0:t[n])||0}function t1(e,t){const n=e?"offsetLeft":"offsetTop";return(t==null?void 0:t[n])||0}const V5=Symbol.for("vuetify:v-slide-group"),n1=he({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:V5},nextIcon:{type:nt,default:"$next"},prevIcon:{type:nt,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...Re(),...by({mobile:null}),...vt(),...Wf({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),pm=Te()({name:"VSlideGroup",props:n1(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isRtl:o}=ao(),{displayClasses:r,mobile:i}=_y(e),s=jf(e,e.symbol),a=Ee(!1),l=Ee(0),c=Ee(0),u=Ee(0),f=H(()=>e.direction==="horizontal"),{resizeRef:d,contentRect:h}=fa(),{resizeRef:m,contentRect:g}=fa(),p=k$(),_=H(()=>({container:d.el,duration:200,easing:"easeOutQuart"})),E=H(()=>s.selected.value.length?s.items.value.findIndex(V=>V.id===s.selected.value[0]):-1),v=H(()=>s.selected.value.length?s.items.value.findIndex(V=>V.id===s.selected.value[s.selected.value.length-1]):-1);if(ft){let V=-1;ue(()=>[s.selected.value,h.value,g.value,f.value],()=>{cancelAnimationFrame(V),V=requestAnimationFrame(()=>{if(h.value&&g.value){const W=f.value?"width":"height";c.value=h.value[W],u.value=g.value[W],a.value=c.value+1<u.value}if(E.value>=0&&m.el){const W=m.el.children[v.value];I(W,e.centerActive)}})})}const w=Ee(!1);function I(V,W){let q=0;W?q=L5({containerElement:d.el,isHorizontal:f.value,selectedElement:V}):q=B5({containerElement:d.el,isHorizontal:f.value,isRtl:o.value,selectedElement:V}),k(q)}function k(V){if(!ft||!d.el)return;const W=Di(f.value,d.el),q=e1(f.value,o.value,d.el);if(!(vm(f.value,d.el)<=W||Math.abs(V-q)<16)){if(f.value&&o.value&&d.el){const{scrollWidth:J,offsetWidth:te}=d.el;V=J-te-V}f.value?p.horizontal(V,_.value):p(V,_.value)}}function D(V){const{scrollTop:W,scrollLeft:q}=V.target;l.value=f.value?q:W}function R(V){if(w.value=!0,!(!a.value||!m.el)){for(const W of V.composedPath())for(const q of m.el.children)if(q===W){I(q);return}}}function A(V){w.value=!1}let P=!1;function z(V){var W;!P&&!w.value&&!(V.relatedTarget&&((W=m.el)!=null&&W.contains(V.relatedTarget)))&&y(),P=!1}function C(){P=!0}function j(V){if(!m.el)return;function W(q){V.preventDefault(),y(q)}f.value?V.key==="ArrowRight"?W(o.value?"prev":"next"):V.key==="ArrowLeft"&&W(o.value?"next":"prev"):V.key==="ArrowDown"?W("next"):V.key==="ArrowUp"&&W("prev"),V.key==="Home"?W("first"):V.key==="End"&&W("last")}function y(V){var q,Q;if(!m.el)return;let W;if(!V)W=zC(m.el)[0];else if(V==="next"){if(W=(q=m.el.querySelector(":focus"))==null?void 0:q.nextElementSibling,!W)return y("first")}else if(V==="prev"){if(W=(Q=m.el.querySelector(":focus"))==null?void 0:Q.previousElementSibling,!W)return y("last")}else V==="first"?W=m.el.firstElementChild:V==="last"&&(W=m.el.lastElementChild);W&&W.focus({preventScroll:!0})}function O(V){const W=f.value&&o.value?-1:1,q=(V==="prev"?-W:W)*c.value;let Q=l.value+q;if(f.value&&o.value&&d.el){const{scrollWidth:J,offsetWidth:te}=d.el;Q+=J-te}k(Q)}const x=H(()=>({next:s.next,prev:s.prev,select:s.select,isSelected:s.isSelected})),L=H(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!i.value;case!0:return a.value||Math.abs(l.value)>0;case"mobile":return i.value||a.value||Math.abs(l.value)>0;default:return!i.value&&(a.value||Math.abs(l.value)>0)}}),B=H(()=>Math.abs(l.value)>1),U=H(()=>{if(!d.value)return!1;const V=vm(f.value,d.el),W=H5(f.value,d.el);return V-W-Math.abs(l.value)>1});return Oe(()=>M(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!f.value,"v-slide-group--has-affixes":L.value,"v-slide-group--is-overflowing":a.value},r.value,e.class],style:e.style,tabindex:w.value||s.selected.value.length?-1:0,onFocus:z},{default:()=>{var V,W,q;return[L.value&&M("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!B.value}],onMousedown:C,onClick:()=>B.value&&O("prev")},[((V=n.prev)==null?void 0:V.call(n,x.value))??M(dm,null,{default:()=>[M(_t,{icon:o.value?e.nextIcon:e.prevIcon},null)]})]),M("div",{key:"container",ref:d,class:"v-slide-group__container",onScroll:D},[M("div",{ref:m,class:"v-slide-group__content",onFocusin:R,onFocusout:A,onKeydown:j},[(W=n.default)==null?void 0:W.call(n,x.value)])]),L.value&&M("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!U.value}],onMousedown:C,onClick:()=>U.value&&O("next")},[((q=n.next)==null?void 0:q.call(n,x.value))??M(dm,null,{default:()=>[M(_t,{icon:o.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:s.selected,scrollTo:O,scrollOffset:l,focus:y,hasPrev:B,hasNext:U}}}),o1=Symbol.for("vuetify:v-chip-group"),F5=he({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ya},...n1(),...Re(),...Wf({selectedClass:"v-chip--selected"}),...vt(),...wt(),...Or({variant:"tonal"})},"VChipGroup");Te()({name:"VChipGroup",props:F5(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:o}=Tt(e),{isSelected:r,select:i,next:s,prev:a,selected:l}=jf(e,o1);return Nr({VChip:{color:pe(e,"color"),disabled:pe(e,"disabled"),filter:pe(e,"filter"),variant:pe(e,"variant")}}),Oe(()=>{const c=pm.filterProps(e);return M(pm,tt(c,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style}),{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:r,select:i,next:s,prev:a,selected:l.value})]}})}),{}}});const z5=he({activeClass:String,appendAvatar:String,appendIcon:nt,closable:Boolean,closeIcon:{type:nt,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:nt,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:Tn(),onClickOnce:Tn(),...Uo(),...Re(),...jo(),...Rr(),...qb(),...fn(),...wf(),...ji(),...vt({tag:"span"}),...wt(),...Or({variant:"tonal"})},"VChip"),ym=Te()({name:"VChip",directives:{Ripple:Sf},props:z5(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:o,slots:r}=t;const{t:i}=my(),{borderClasses:s}=Wo(e),{colorClasses:a,colorStyles:l,variantClasses:c}=tl(e),{densityClasses:u}=Dr(e),{elevationClasses:f}=Br(e),{roundedClasses:d}=dn(e),{sizeClasses:h}=Yi(e),{themeClasses:m}=Tt(e),g=Rn(e,"modelValue"),p=Zb(e,o1,!1),_=_f(e,n),E=H(()=>e.link!==!1&&_.isLink.value),v=H(()=>!e.disabled&&e.link!==!1&&(!!p||e.link||_.isClickable.value)),w=H(()=>({"aria-label":i(e.closeLabel),onClick(D){D.preventDefault(),D.stopPropagation(),g.value=!1,o("click:close",D)}}));function I(D){var R;o("click",D),v.value&&((R=_.navigate)==null||R.call(_,D),p==null||p.toggle())}function k(D){(D.key==="Enter"||D.key===" ")&&(D.preventDefault(),I(D))}return()=>{const D=_.isLink.value?"a":e.tag,R=!!(e.appendIcon||e.appendAvatar),A=!!(R||r.append),P=!!(r.close||e.closable),z=!!(r.filter||e.filter)&&p,C=!!(e.prependIcon||e.prependAvatar),j=!!(C||r.prepend),y=!p||p.isSelected.value;return g.value&&Pn(M(D,tt({class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":v.value,"v-chip--filter":z,"v-chip--pill":e.pill},m.value,s.value,y?a.value:void 0,u.value,f.value,d.value,h.value,c.value,p==null?void 0:p.selectedClass.value,e.class],style:[y?l.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,tabindex:v.value?0:void 0,onClick:I,onKeydown:v.value&&!E.value&&k},_.linkProps),{default:()=>{var O;return[el(v.value,"v-chip"),z&&M(zb,{key:"filter"},{default:()=>[Pn(M("div",{class:"v-chip__filter"},[r.filter?M(ht,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},r.filter):M(_t,{key:"filter-icon",icon:e.filterIcon},null)]),[[za,p.isSelected.value]])]}),j&&M("div",{key:"prepend",class:"v-chip__prepend"},[r.prepend?M(ht,{key:"prepend-defaults",disabled:!C,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},r.prepend):M(we,null,[e.prependIcon&&M(_t,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&M(ga,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),M("div",{class:"v-chip__content","data-no-activator":""},[((O=r.default)==null?void 0:O.call(r,{isSelected:p==null?void 0:p.isSelected.value,selectedClass:p==null?void 0:p.selectedClass.value,select:p==null?void 0:p.select,toggle:p==null?void 0:p.toggle,value:p==null?void 0:p.value.value,disabled:e.disabled}))??e.text]),A&&M("div",{key:"append",class:"v-chip__append"},[r.append?M(ht,{key:"append-defaults",disabled:!R,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},r.append):M(we,null,[e.appendIcon&&M(_t,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&M(ga,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),P&&M("button",tt({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},w.value),[r.close?M(ht,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},r.close):M(_t,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[La("ripple"),v.value&&e.ripple,null]])}}}),U5=he({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...Re(),...wt()},"VDivider"),au=Te()({name:"VDivider",props:U5(),setup(e,t){let{attrs:n,slots:o}=t;const{themeClasses:r}=Tt(e),{textColorClasses:i,textColorStyles:s}=Ro(pe(e,"color")),a=H(()=>{const l={};return e.length&&(l[e.vertical?"height":"width"]=Ne(e.length)),e.thickness&&(l[e.vertical?"borderRightWidth":"borderTopWidth"]=Ne(e.thickness)),l});return Oe(()=>{const l=M("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},r.value,i.value,e.class],style:[a.value,s.value,{"--v-border-opacity":e.opacity},e.style],"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null);return o.default?M("div",{class:["v-divider__wrapper",{"v-divider__wrapper--vertical":e.vertical,"v-divider__wrapper--inset":e.inset}]},[l,M("div",{class:"v-divider__content"},[o.default()]),l]):l}),{}}}),bm=Jp("v-spacer","div","VSpacer"),W5={class:"d-flex flex-column gr-2"},j5={class:"d-flex flex-column gr-2"},Y5=ke({__name:"ComponentNode",props:{id:{},type:{},selected:{type:Boolean},connectable:{type:[Boolean,Number,String,Function]},position:{},dimensions:{},label:{},isValidTargetPos:{type:Function},isValidSourcePos:{type:Function},parent:{},parentNodeId:{},dragging:{type:Boolean},resizing:{type:Boolean},zIndex:{},targetPosition:{},sourcePosition:{},dragHandle:{},data:{},events:{}},setup(e){const t=H(()=>Object.keys(e.data.component.inputs).length>0),n=H(()=>Object.keys(e.data.component.outputs).length>0),o=H(()=>t.value||n.value);return(r,i)=>{const s=I5,a=i0;return re(),Pe(a,{component:r.data.component,subtitle:r.data.instance.name,style:{overflow:"visible"}},{default:Ue(()=>[Object.keys(r.data.component.args.properties).length>0?(re(),Pe(au,{key:0})):Ke("",!0),M(jy,{class:"d-flex flex-column ga-2 px-2 py-2"},{default:Ue(()=>[(re(!0),Se(we,null,Zn(r.data.component.args.properties,(l,c)=>(re(),Pe(s,{key:c,name:c,arg:l},null,8,["name","arg"]))),128))]),_:1}),Z(o)?(re(),Pe(au,{key:1})):Ke("",!0),Z(o)?(re(),Pe(Zu,{key:2,class:"align-start"},{default:Ue(()=>[it("div",W5,[(re(!0),Se(we,null,Zn(r.data.component.inputs,l=>(re(),Pe(ym,{key:l.name,color:"primary","text-color":"white",class:"rounded handle-chip"},{default:Ue(()=>[_o(Po(("camelCaseToHumanReadable"in r?r.camelCaseToHumanReadable:Z(Ec))(l.name))+" ",1),i[0]||(i[0]=it("div",{class:"handle-dot handle-dot-input"},null,-1)),M(Z(xr),{id:l.name,type:"source",position:Z(de).Left,class:"handle"},null,8,["id","position"])]),_:2},1024))),128))]),M(bm),it("div",j5,[(re(!0),Se(we,null,Zn(r.data.component.outputs,l=>(re(),Pe(ym,{key:l.name,color:"success","text-color":"white",class:"rounded handle-chip"},{default:Ue(()=>[_o(Po(("camelCaseToHumanReadable"in r?r.camelCaseToHumanReadable:Z(Ec))(l.name))+" ",1),i[1]||(i[1]=it("div",{class:"handle-dot handle-dot-output"},null,-1)),M(Z(xr),{id:l.name,type:"source",position:Z(de).Right,class:"handle"},null,8,["id","position"])]),_:2},1024))),128))])]),_:1})):Ke("",!0),M(au),M(Zu,{class:"py-0 h-auto"},{default:Ue(()=>[i[4]||(i[4]=it("div",{class:"text-overline text-disabled"},"not created",-1)),M(bm),M(mm,{size:"small",variant:"tonal",class:"toolbar-button"},{default:Ue(()=>[M(_t,null,{default:Ue(()=>i[2]||(i[2]=[_o("mdi-play")])),_:1})]),_:1}),r.data.component.type==="proxmox.virtual_machine"?(re(),Pe(mm,{key:0,size:"small",variant:"tonal",class:"toolbar-button",disabled:""},{default:Ue(()=>[M(_t,null,{default:Ue(()=>i[3]||(i[3]=[_o("mdi-console")])),_:1})]),_:1})):Ke("",!0),r.data.component.type==="proxmox.virtual_machine"?(re(),Pe(Gy,{key:1,size:"small",color:"primary",indeterminate:"",absolute:"",location:"bottom"})):Ke("",!0)]),_:1})]),_:1},8,["component","subtitle"])}}}),G5=Ja(Y5,[["__scopeId","data-v-ef40e474"]]),X5="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let K5=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=X5[n[e]&63];return t};function Yf(){return ze("main")}function q5(){const{viewport:e}=Yf(),{$client:t}=Ge(),n=_2(r=>t.workspace.setViewport.mutate(r),200);return ue(e,n),{getViewport:async()=>t.workspace.viewport.query()}}const Z5=kp("instance",()=>{const{$client:e}=Ge(),t=s0(),{onNodesInitialized:n,addNodes:o,addEdges:r,updateNode:i,onNodeDragStop:s,onConnect:a,findNode:l}=Yf(),c=h=>({id:h.id,type:"component",data:{component:t.components[h.type],instance:h},position:h.position}),u=(h,m)=>{const g=h.inputs[m];return{id:`${g.instanceId}:${g.output}->${h.id}:${m}`,type:"smoothstep",source:g.instanceId,sourceHandle:g.output,target:h.id,targetHandle:m,animated:!0,pathOptions:{offset:40,borderRadius:20}}};return(async()=>{const h=await e.instances.query();for(const m of h){o(c(m));for(const g of Object.keys(m.inputs))r(u(m,g))}})(),s(({node:h})=>{h.data.instance.position.x===h.position.x&&h.data.instance.position.y===h.position.y||(h.data.instance.position=h.position,e.updateInstance.mutate({instance:h.data.instance}))}),a(h=>{const m=l(h.source),g=l(h.target);if(!m||!g)return;const p=m.data.instance,_=g.data.instance;_.inputs[h.targetHandle]={instanceId:p.id,output:h.sourceHandle},r(u(_,h.targetHandle)),e.updateInstance.mutate({instance:_})}),{createInstance:async(h,m)=>{const g={id:K5(),type:h,name:"test",position:m,args:{},inputs:{}};await new Promise(p=>{const{off:_}=n(()=>{i(g.id,E=>{const v={x:E.position.x-E.dimensions.width/2,y:E.position.y-E.dimensions.height/2};return g.position=v,{position:v}}),_(),p()});o(c(g))}),await e.updateInstance.mutate({instance:g})}}}),J5=ke({__name:"ProjectCanvas",async setup(e){let t,n;const o=Z5(),{getViewport:r}=q5(),i=([t,n]=u_(()=>r()),t=await t,n(),t),{screenToFlowCoordinate:s}=Yf(),a=c=>{c.preventDefault(),c.dataTransfer&&c.dataTransfer.types.includes("componentType")&&(c.dataTransfer.dropEffect="move")},l=c=>{if(c.preventDefault(),!c.dataTransfer)return;const u=c.dataTransfer.getData("componentType"),f=s({x:c.clientX,y:c.clientY});o.createInstance(u,f)};return(c,u)=>(re(),Se("div",{class:"vue-flow-container",onDrop:l},[M(Z(pD),{"min-zoom":.5,"max-zoom":1,"default-viewport":Z(i),"default-edge-options":{type:"smoothstep"},"snap-to-grid":!0,onDragover:a},{"node-component":Ue(f=>[M(G5,zs(Ks(f)),null,16)]),"connection-line":Ue(f=>[M(Z(Df),zs(Ks(f)),null,16)]),default:Ue(()=>[M(Z(kD),{"pattern-color":"#aaa",gap:32}),M(Z(l5),{position:"top-right"})]),_:1},8,["default-viewport"])],32))}}),Q5=Ja(J5,[["__scopeId","data-v-06047f3f"]]),eB=Symbol.for("nuxt:client-only"),tB=ke({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=se(!1);return ot(()=>{o.value=!0}),st(eB,!0),r=>{var l;if(o.value)return(l=t.default)==null?void 0:l.call(t);const i=t.fallback||t.placeholder;if(i)return i();const s=r.fallback||r.placeholder||"",a=r.fallbackTag||r.placeholderTag||"span";return Se(a,n,s)}}}),nB=he({text:String,...Re(),...vt()},"VToolbarTitle"),oB=Te()({name:"VToolbarTitle",props:nB(),setup(e,t){let{slots:n}=t;return Oe(()=>{const o=!!(n.default||n.text||e.text);return M(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var r;return[o&&M("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(r=n.default)==null?void 0:r.call(n)])]}})}),{}}}),rB=[null,"prominent","default","comfortable","compact"],r1=he({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>rB.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Uo(),...Re(),...Rr(),...fn(),...vt({tag:"header"}),...wt()},"VToolbar"),_m=Te()({name:"VToolbar",props:r1(),setup(e,t){var h;let{slots:n}=t;const{backgroundColorClasses:o,backgroundColorStyles:r}=to(pe(e,"color")),{borderClasses:i}=Wo(e),{elevationClasses:s}=Br(e),{roundedClasses:a}=dn(e),{themeClasses:l}=Tt(e),{rtlClasses:c}=ao(),u=Ee(!!(e.extended||(h=n.extension)!=null&&h.call(n))),f=H(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),d=H(()=>u.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Nr({VBtn:{variant:"text"}}),Oe(()=>{var _;const m=!!(e.title||n.title),g=!!(n.image||e.image),p=(_=n.extension)==null?void 0:_.call(n);return u.value=!!(e.extended||p),M(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},o.value,i.value,s.value,a.value,l.value,c.value,e.class],style:[r.value,e.style]},{default:()=>[g&&M("div",{key:"image",class:"v-toolbar__image"},[n.image?M(ht,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):M(Qa,{key:"image-img",cover:!0,src:e.image},null)]),M(ht,{defaults:{VTabs:{height:Ne(f.value)}}},{default:()=>{var E,v,w;return[M("div",{class:"v-toolbar__content",style:{height:Ne(f.value)}},[n.prepend&&M("div",{class:"v-toolbar__prepend"},[(E=n.prepend)==null?void 0:E.call(n)]),m&&M(oB,{key:"title",text:e.title},{text:n.title}),(v=n.default)==null?void 0:v.call(n),n.append&&M("div",{class:"v-toolbar__append"},[(w=n.append)==null?void 0:w.call(n)])])]}}),M(ht,{defaults:{VTabs:{height:Ne(d.value)}}},{default:()=>[M(f5,null,{default:()=>[u.value&&M("div",{class:"v-toolbar__extension",style:{height:Ne(d.value)}},[p])]})]})]})}),{contentHeight:f,extensionHeight:d}}}),iB=he({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function sB(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=t;let o=0,r=0;const i=se(null),s=Ee(0),a=Ee(0),l=Ee(0),c=Ee(!1),u=Ee(!1),f=H(()=>Number(e.scrollThreshold)),d=H(()=>pi((f.value-s.value)/f.value||0)),h=()=>{const m=i.value;if(!m||n&&!n.value)return;o=s.value,s.value="window"in m?m.pageYOffset:m.scrollTop;const g=m instanceof Window?document.documentElement.scrollHeight:m.scrollHeight;if(r!==g){r=g;return}u.value=s.value<o,l.value=Math.abs(s.value-f.value)};return ue(u,()=>{a.value=a.value||s.value}),ue(c,()=>{a.value=0}),ot(()=>{ue(()=>e.scrollTarget,m=>{var p;const g=m?document.querySelector(m):window;g&&g!==i.value&&((p=i.value)==null||p.removeEventListener("scroll",h),i.value=g,i.value.addEventListener("scroll",h,{passive:!0}))},{immediate:!0})}),kt(()=>{var m;(m=i.value)==null||m.removeEventListener("scroll",h)}),n&&ue(n,h,{immediate:!0}),{scrollThreshold:f,currentScroll:s,currentThreshold:l,isScrollActive:c,scrollRatio:d,isScrollingUp:u,savedScroll:a}}function Gf(){const e=Ee(!1);return ot(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:H(()=>e.value?void 0:{transition:"none !important"}),isBooted:Ri(e)}}const aB=he({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...r1(),...Cy(),...iB(),height:{type:[Number,String],default:64}},"VAppBar"),lB=Te()({name:"VAppBar",props:aB(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const o=se(),r=Rn(e,"modelValue"),i=H(()=>{var v;const E=new Set(((v=e.scrollBehavior)==null?void 0:v.split(" "))??[]);return{hide:E.has("hide"),fullyHide:E.has("fully-hide"),inverted:E.has("inverted"),collapse:E.has("collapse"),elevate:E.has("elevate"),fadeImage:E.has("fade-image")}}),s=H(()=>{const E=i.value;return E.hide||E.fullyHide||E.inverted||E.collapse||E.elevate||E.fadeImage||!r.value}),{currentScroll:a,scrollThreshold:l,isScrollingUp:c,scrollRatio:u}=sB(e,{canScroll:s}),f=H(()=>i.value.hide||i.value.fullyHide),d=H(()=>e.collapse||i.value.collapse&&(i.value.inverted?u.value>0:u.value===0)),h=H(()=>e.flat||i.value.fullyHide&&!r.value||i.value.elevate&&(i.value.inverted?a.value>0:a.value===0)),m=H(()=>i.value.fadeImage?i.value.inverted?1-u.value:u.value:void 0),g=H(()=>{var w,I;if(i.value.hide&&i.value.inverted)return 0;const E=((w=o.value)==null?void 0:w.contentHeight)??0,v=((I=o.value)==null?void 0:I.extensionHeight)??0;return f.value?a.value<l.value||i.value.fullyHide?E+v:E:E+v});eo(H(()=>!!e.scrollBehavior),()=>{so(()=>{f.value?i.value.inverted?r.value=a.value>l.value:r.value=c.value||a.value<l.value:r.value=!0})});const{ssrBootStyles:p}=Gf(),{layoutItemStyles:_}=Ey({id:e.name,order:H(()=>parseInt(e.order,10)),position:pe(e,"location"),layoutSize:g,elementSize:Ee(void 0),active:r,absolute:pe(e,"absolute")});return Oe(()=>{const E=_m.filterProps(e);return M(_m,tt({ref:o,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{..._.value,"--v-toolbar-image-opacity":m.value,height:void 0,...p.value},e.style]},E,{collapse:d.value,flat:h.value}),n)}),{}}}),uB=he({...Re(),...Mr(),...P$()},"VLayout"),cB=Te()({name:"VLayout",props:uB(),setup(e,t){let{slots:n}=t;const{layoutClasses:o,layoutStyles:r,getLayoutItem:i,items:s,layoutRef:a}=A$(e),{dimensionStyles:l}=Ar(e);return Oe(()=>{var c;return M("div",{ref:a,class:[o.value,e.class],style:[l.value,r.value,e.style]},[(c=n.default)==null?void 0:c.call(n)])}),{getLayoutItem:i,items:s}}}),fB=he({scrollable:Boolean,...Re(),...Mr(),...vt({tag:"main"})},"VMain"),dB=Te()({name:"VMain",props:fB(),setup(e,t){let{slots:n}=t;const{dimensionStyles:o}=Ar(e),{mainStyles:r}=N$(),{ssrBootStyles:i}=Gf();return Oe(()=>M(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,i.value,o.value,e.style]},{default:()=>{var s,a;return[e.scrollable?M("div",{class:"v-main__scroller"},[(s=n.default)==null?void 0:s.call(n)]):(a=n.default)==null?void 0:a.call(n)]}})),{}}});function hB(e){let{rootEl:t,isSticky:n,layoutItemStyles:o}=e;const r=Ee(!1),i=Ee(0),s=H(()=>{const c=typeof r.value=="boolean"?"top":r.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,r.value?{[c]:Ne(i.value)}:{top:o.value.top}]});ot(()=>{ue(n,c=>{c?window.addEventListener("scroll",l,{passive:!0}):window.removeEventListener("scroll",l)},{immediate:!0})}),kt(()=>{window.removeEventListener("scroll",l)});let a=0;function l(){const c=a>window.scrollY?"up":"down",u=t.value.getBoundingClientRect(),f=parseFloat(o.value.top??0),d=window.scrollY-Math.max(0,i.value-f),h=u.height+Math.max(i.value,f)-window.scrollY-window.innerHeight,m=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;u.height<window.innerHeight-f?(r.value="top",i.value=f):c==="up"&&r.value==="bottom"||c==="down"&&r.value==="top"?(i.value=window.scrollY+u.top-m,r.value=!0):c==="down"&&h<=0?(i.value=0,r.value="bottom"):c==="up"&&d<=0&&(m?r.value!=="top"&&(i.value=-d+m+f,r.value="top"):(i.value=u.top+d,r.value="top")),a=window.scrollY}return{isStuck:r,stickyStyles:s}}const gB=100,mB=20;function wm(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function Sm(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let t=0;for(let n=e.length-1;n>0;n--){if(e[n].t===e[n-1].t)continue;const o=wm(t),r=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(r-o)*Math.abs(r),n===e.length-1&&(t*=.5)}return wm(t)*1e3}function vB(){const e={};function t(r){Array.from(r.changedTouches).forEach(i=>{(e[i.identifier]??(e[i.identifier]=new VC(mB))).push([r.timeStamp,i])})}function n(r){Array.from(r.changedTouches).forEach(i=>{delete e[i.identifier]})}function o(r){var c;const i=(c=e[r])==null?void 0:c.values().reverse();if(!i)throw new Error(`No samples for touch id ${r}`);const s=i[0],a=[],l=[];for(const u of i){if(s[0]-u[0]>gB)break;a.push({t:u[0],d:u[1].clientX}),l.push({t:u[0],d:u[1].clientY})}return{x:Sm(a),y:Sm(l),get direction(){const{x:u,y:f}=this,[d,h]=[Math.abs(u),Math.abs(f)];return d>h&&u>=0?"right":d>h&&u<=0?"left":h>d&&f>=0?"down":h>d&&f<=0?"up":pB()}}}return{addMovement:t,endTouch:n,getVelocity:o}}function pB(){throw new Error}function yB(e){let{el:t,isActive:n,isTemporary:o,width:r,touchless:i,position:s}=e;ot(()=>{window.addEventListener("touchstart",E,{passive:!0}),window.addEventListener("touchmove",v,{passive:!1}),window.addEventListener("touchend",w,{passive:!0})}),kt(()=>{window.removeEventListener("touchstart",E),window.removeEventListener("touchmove",v),window.removeEventListener("touchend",w)});const a=H(()=>["left","right"].includes(s.value)),{addMovement:l,endTouch:c,getVelocity:u}=vB();let f=!1;const d=Ee(!1),h=Ee(0),m=Ee(0);let g;function p(k,D){return(s.value==="left"?k:s.value==="right"?document.documentElement.clientWidth-k:s.value==="top"?k:s.value==="bottom"?document.documentElement.clientHeight-k:Qo())-(D?r.value:0)}function _(k){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const R=s.value==="left"?(k-m.value)/r.value:s.value==="right"?(document.documentElement.clientWidth-k-m.value)/r.value:s.value==="top"?(k-m.value)/r.value:s.value==="bottom"?(document.documentElement.clientHeight-k-m.value)/r.value:Qo();return D?Math.max(0,Math.min(1,R)):R}function E(k){if(i.value)return;const D=k.changedTouches[0].clientX,R=k.changedTouches[0].clientY,A=25,P=s.value==="left"?D<A:s.value==="right"?D>document.documentElement.clientWidth-A:s.value==="top"?R<A:s.value==="bottom"?R>document.documentElement.clientHeight-A:Qo(),z=n.value&&(s.value==="left"?D<r.value:s.value==="right"?D>document.documentElement.clientWidth-r.value:s.value==="top"?R<r.value:s.value==="bottom"?R>document.documentElement.clientHeight-r.value:Qo());(P||z||n.value&&o.value)&&(g=[D,R],m.value=p(a.value?D:R,n.value),h.value=_(a.value?D:R),f=m.value>-20&&m.value<80,c(k),l(k))}function v(k){const D=k.changedTouches[0].clientX,R=k.changedTouches[0].clientY;if(f){if(!k.cancelable){f=!1;return}const P=Math.abs(D-g[0]),z=Math.abs(R-g[1]);(a.value?P>z&&P>3:z>P&&z>3)?(d.value=!0,f=!1):(a.value?z:P)>3&&(f=!1)}if(!d.value)return;k.preventDefault(),l(k);const A=_(a.value?D:R,!1);h.value=Math.max(0,Math.min(1,A)),A>1?m.value=p(a.value?D:R,!0):A<0&&(m.value=p(a.value?D:R,!1))}function w(k){if(f=!1,!d.value)return;l(k),d.value=!1;const D=u(k.changedTouches[0].identifier),R=Math.abs(D.x),A=Math.abs(D.y);(a.value?R>A&&R>400:A>R&&A>3)?n.value=D.direction===({left:"right",right:"left",top:"down",bottom:"up"}[s.value]||Qo()):n.value=h.value>.5}const I=H(()=>d.value?{transform:s.value==="left"?`translateX(calc(-100% + ${h.value*r.value}px))`:s.value==="right"?`translateX(calc(100% - ${h.value*r.value}px))`:s.value==="top"?`translateY(calc(-100% + ${h.value*r.value}px))`:s.value==="bottom"?`translateY(calc(100% - ${h.value*r.value}px))`:Qo(),transition:"none"}:void 0);return eo(d,()=>{var R,A;const k=((R=t.value)==null?void 0:R.style.transform)??null,D=((A=t.value)==null?void 0:A.style.transition)??null;so(()=>{var P,z,C,j;(z=t.value)==null||z.style.setProperty("transform",((P=I.value)==null?void 0:P.transform)||"none"),(j=t.value)==null||j.style.setProperty("transition",((C=I.value)==null?void 0:C.transition)||null)}),an(()=>{var P,z;(P=t.value)==null||P.style.setProperty("transform",k),(z=t.value)==null||z.style.setProperty("transition",D)})}),{isDragging:d,dragProgress:h,dragStyles:I}}function Qo(){throw new Error}const bB=he({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function _B(e,t){let n=()=>{};function o(s){n==null||n();const a=Number(s?e.openDelay:e.closeDelay);return new Promise(l=>{n=UC(a,()=>{t==null||t(s),l(s)})})}function r(){return o(!0)}function i(){return o(!1)}return{clearDelay:n,runOpenDelay:r,runCloseDelay:i}}function wB(){const t=mt("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const SB=["start","end","left","right","top","bottom"],xB=he({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>SB.includes(e)},sticky:Boolean,...Uo(),...Re(),...bB(),...by({mobile:null}),...Rr(),...Cy(),...fn(),...vt({tag:"nav"}),...wt()},"VNavigationDrawer"),CB=Te()({name:"VNavigationDrawer",props:xB(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:n,emit:o,slots:r}=t;const{isRtl:i}=ao(),{themeClasses:s}=Tt(e),{borderClasses:a}=Wo(e),{backgroundColorClasses:l,backgroundColorStyles:c}=to(pe(e,"color")),{elevationClasses:u}=Br(e),{displayClasses:f,mobile:d}=_y(e),{roundedClasses:h}=dn(e),m=u2(),g=Rn(e,"modelValue",null,W=>!!W),{ssrBootStyles:p}=Gf(),{scopeId:_}=wB(),E=se(),v=Ee(!1),{runOpenDelay:w,runCloseDelay:I}=_B(e,W=>{v.value=W}),k=H(()=>e.rail&&e.expandOnHover&&v.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),D=H(()=>Hu(e.location,i.value)),R=H(()=>e.persistent),A=H(()=>!e.permanent&&(d.value||e.temporary)),P=H(()=>e.sticky&&!A.value&&D.value!=="bottom");eo(()=>e.expandOnHover&&e.rail!=null,()=>{ue(v,W=>o("update:rail",!W))}),eo(()=>!e.disableResizeWatcher,()=>{ue(A,W=>!e.permanent&&Ze(()=>g.value=!W))}),eo(()=>!e.disableRouteWatcher&&!!m,()=>{ue(m.currentRoute,()=>A.value&&(g.value=!1))}),ue(()=>e.permanent,W=>{W&&(g.value=!0)}),e.modelValue==null&&!A.value&&(g.value=e.permanent||!d.value);const{isDragging:z,dragProgress:C}=yB({el:E,isActive:g,isTemporary:A,width:k,touchless:pe(e,"touchless"),position:D}),j=H(()=>{const W=A.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):k.value;return z.value?W*C.value:W}),y=H(()=>["top","bottom"].includes(e.location)?0:k.value),{layoutItemStyles:O,layoutItemScrimStyles:x}=Ey({id:e.name,order:H(()=>parseInt(e.order,10)),position:D,layoutSize:j,elementSize:y,active:H(()=>g.value||z.value),disableTransitions:H(()=>z.value),absolute:H(()=>e.absolute||P.value&&typeof L.value!="string")}),{isStuck:L,stickyStyles:B}=hB({rootEl:E,isSticky:P,layoutItemStyles:O}),U=to(H(()=>typeof e.scrim=="string"?e.scrim:null)),V=H(()=>({...z.value?{opacity:C.value*.2,transition:"none"}:void 0,...x.value}));return Nr({VList:{bgColor:"transparent"}}),Oe(()=>{const W=r.image||e.image;return M(we,null,[M(e.tag,tt({ref:E,onMouseenter:w,onMouseleave:I,class:["v-navigation-drawer",`v-navigation-drawer--${D.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":v.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":A.value,"v-navigation-drawer--persistent":R.value,"v-navigation-drawer--active":g.value,"v-navigation-drawer--sticky":P.value},s.value,l.value,a.value,f.value,u.value,h.value,e.class],style:[c.value,O.value,p.value,B.value,e.style,["top","bottom"].includes(D.value)?{height:"auto"}:{}]},_,n),{default:()=>{var q,Q,J;return[W&&M("div",{key:"image",class:"v-navigation-drawer__img"},[r.image?M(ht,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},r.image):M(Qa,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),r.prepend&&M("div",{class:"v-navigation-drawer__prepend"},[(q=r.prepend)==null?void 0:q.call(r)]),M("div",{class:"v-navigation-drawer__content"},[(Q=r.default)==null?void 0:Q.call(r)]),r.append&&M("div",{class:"v-navigation-drawer__append"},[(J=r.append)==null?void 0:J.call(r)])]}}),M(zi,{name:"fade-transition"},{default:()=>[A.value&&(z.value||g.value)&&!!e.scrim&&M("div",tt({class:["v-navigation-drawer__scrim",U.backgroundColorClasses.value],style:[V.value,U.backgroundColorStyles.value],onClick:()=>{R.value||(g.value=!1)}},_),null)]})])}),{isStuck:L}}}),EB={};function kB(e,t){const n=x2,o=Q5,r=tB;return re(),Pe(cB,{class:"rounded rounded-md layout"},{default:Ue(()=>[M(lB,{title:"HomeLab"}),M(CB,{width:"400",color:"background",class:"pt-4"},{default:Ue(()=>[M(n)]),_:1}),M(dB,{class:"d-flex align-center justify-center",style:{"min-height":"300px"}},{default:Ue(()=>[M(r,null,{default:Ue(()=>[M(o)]),_:1})]),_:1})]),_:1})}const $B=Ja(EB,[["render",kB],["__scopeId","data-v-50fd5adf"]]),TB={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
68
+ `).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
69
+ `);const o=Number(n.statusCode||500),r=o===404,i=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=r?od(()=>Rh(()=>import("./DcSK-0AR.js"),__vite__mapDeps([0,1,2]),import.meta.url)):od(()=>Rh(()=>import("./1jbH28Ud.js"),__vite__mapDeps([3,1,4]),import.meta.url));return(f,d)=>(re(),Pe(Z(u),zs(Ks({statusCode:Z(o),statusMessage:Z(i),description:Z(s),stack:Z(a)})),null,16))}},IB={key:0},xm={__name:"nuxt-root",setup(e){const t=()=>null,n=Ge(),o=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",o);Do().beforeEach(l)}const r=!1;st(bp,_p()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=Qc(),s=!1;cv((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Sx(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>_x(l)),!1});const a=!1;return(l,c)=>(re(),Pe(R_,{onResolve:Z(o)},{default:Ue(()=>[Z(s)?(re(),Se("div",IB)):Z(i)?(re(),Pe(Z(TB),{key:1,error:Z(i)},null,8,["error"])):Z(a)?(re(),Pe(Z(t),{key:2,context:Z(a)},null,8,["context"])):Z(r)?(re(),Pe(Ba(Z(r)),{key:3})):(re(),Pe(Z($B),{key:4}))]),_:1},8,["onResolve"]))}};let Cm;{let e;Cm=async function(){var s,a;if(e)return e;const o=!!(((s=window.__NUXT__)==null?void 0:s.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Tw(xm):$w(xm),r=BS({vueApp:o});async function i(l){await r.callHook("app:error",l),r.payload.error=r.payload.error||Wa(l)}o.config.errorHandler=i,r.hook("app:suspense:resolve",()=>{o.config.errorHandler===i&&(o.config.errorHandler=void 0)});try{await VS(r,R$)}catch(l){i(l)}try{await r.hooks.callHook("app:created",o),await r.hooks.callHook("app:beforeMount",o),o.mount(DS),await r.hooks.callHook("app:mounted",o),await Ze()}catch(l){i(l)}return o},e=Cm().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ue as A,_o as B,NB as C,so as D,Ou as E,ue as F,lv as G,av as H,Bt as I,Ja as _,Ge as a,rf as b,ph as c,ke as d,kt as e,MB as f,fv as g,Ce as h,H as i,Pr as j,bx as k,Ua as l,yx as m,PB as n,ot as o,tp as p,vi as q,se as r,Zc as s,re as t,Do as u,Se as v,Eu as w,it as x,Po as y,M as z};