@nuxt/scripts 1.0.0-beta.6 → 1.0.0-rc.1

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 (256) hide show
  1. package/dist/devtools-client/200.html +1 -0
  2. package/dist/devtools-client/404.html +1 -0
  3. package/dist/devtools-client/_fonts/4ppnHhMi-pBsWSPo7mY0avYxlDoAg1N3PTzCwXLZ5rA-d9oibkGnTd1JL3tc_xnaVgBLYmOB8kjrK2cvZaqwj9s.woff2 +0 -0
  4. package/dist/devtools-client/_fonts/4qBuU9MRVUlPZNPSF7Xom_sK8RBEnfYu-9VXFrdq8A8-8TDwLE1HAj1sQn7XxVWtM_7sIaPM-DTdO3Pf8U2DF1U.woff2 +0 -0
  5. package/dist/devtools-client/_fonts/6dYsbWUd_BpKJ7mdDihgOcya1gHXLpJBuMYXux3WMjE-q3fYNS8YbW5n7ZeXI2vSNgkRWW5VDPKAl51SNTjG2qk.woff2 +0 -0
  6. package/dist/devtools-client/_fonts/Lr-hqqZZsYmCt0ITUlr1CUrWim9fsKvoDFZliMxgNHY-iTa_Yt_PzhOY9TX7ZXdSlEPim6iRt92xhECwaxWxd5w.woff2 +0 -0
  7. package/dist/devtools-client/_fonts/OknHvWI6KtYn1JQBzX7eSpNDBQ8520F9TvSUJYkVf6A-xeZn9253svK_8Q2LD0XEruY_MnEsuCRO5LenPoggC0Y.woff2 +0 -0
  8. package/dist/devtools-client/_fonts/PV2hrQG6wq5BlIPDjdL1IcOflycaghyt5MHzlBqZtlo-lb_WexLz3VZqfTN0oi554iBH5tT2j2UFEV-XErCAS3E.woff2 +0 -0
  9. package/dist/devtools-client/_fonts/UA7OtwYHwGN_HjcVGTdmiQxUit7FlqkCwxVUWSeXVnQ-B4OXCFOL_tWrYODpQTc07aMaj0c2cewTOmBRWR9tD-A.woff2 +0 -0
  10. package/dist/devtools-client/_fonts/VE4cDVCv5MxbFM7ZLoLCGbIpNd71zhp7MDI9lmN5Y7I-xZyDYCUVrd6LV8eVGF3Um3UZjBFuUtDGtvdyTBBRYBo.woff2 +0 -0
  11. package/dist/devtools-client/_fonts/fVoGbnMbBFd5L9BBp9fUPavUSkZ_EmsQNSyadkT-108-U4T0khaeLQSIhtt9eVvaCEKJjtWJ4ioRJOf8hvqkWY0.woff2 +0 -0
  12. package/dist/devtools-client/_fonts/lQAxeCEs1R0Lw-H9XRU1RlOARQN8J6npRsPjyEDMe5s-_DUSLEkO3tKTuun_gSnDLoQPVEnpOnyqZMOw0ByZ6PA.woff2 +0 -0
  13. package/dist/devtools-client/_fonts/lntlqNHKLV2n82yTwMde70QqOjcfLE2XJ5oKZ3vRPWc-z6TxpIZQdWXztWLr9_OFWqt_WJJoeGtuK_-XQMZGQwE.woff2 +0 -0
  14. package/dist/devtools-client/_fonts/qxAYvKsXWeYv731eb-h5TRurcdIP_W44mpNdX-HABAk-zUDeMEFlNtNbrwvT9JxLEBg0TphGy70O6RfIoIX_ZwU.woff2 +0 -0
  15. package/dist/devtools-client/_nuxt/B3kN3DAy.js +1 -0
  16. package/dist/devtools-client/_nuxt/B8PEiB0p.js +1 -0
  17. package/dist/devtools-client/_nuxt/C8jhSQ8l.js +1 -0
  18. package/dist/devtools-client/_nuxt/CJD6wrkT.js +188 -0
  19. package/dist/devtools-client/_nuxt/CfOsp0mU.js +1 -0
  20. package/dist/devtools-client/_nuxt/DKL6PHO3.js +1 -0
  21. package/dist/devtools-client/_nuxt/ajngqPCs.js +1 -0
  22. package/dist/devtools-client/_nuxt/builds/latest.json +1 -0
  23. package/dist/devtools-client/_nuxt/builds/meta/b800a0be-5cab-4ea6-89e3-dd3a85690a73.json +1 -0
  24. package/dist/devtools-client/_nuxt/dlaR8P-P.js +1 -0
  25. package/dist/devtools-client/_nuxt/entry.BwpOBArY.css +1 -0
  26. package/dist/devtools-client/_nuxt/error-404.CvOVjXeC.css +1 -0
  27. package/dist/devtools-client/_nuxt/error-500.BIm53nmx.css +1 -0
  28. package/dist/devtools-client/_nuxt/first-party.C8Ha4JLM.css +1 -0
  29. package/dist/devtools-client/_nuxt/index.CA-OpSj0.css +1 -0
  30. package/dist/devtools-client/_nuxt/registry.B9lnjF_b.css +1 -0
  31. package/dist/devtools-client/_nuxt/wDzz0qaB.js +1 -0
  32. package/dist/devtools-client/docs/index.html +1 -0
  33. package/dist/devtools-client/first-party/index.html +1 -0
  34. package/dist/devtools-client/index.html +1 -0
  35. package/dist/devtools-client/registry/index.html +1 -0
  36. package/dist/module.d.mts +29 -84
  37. package/dist/module.d.ts +121 -0
  38. package/dist/module.json +1 -1
  39. package/dist/module.mjs +941 -757
  40. package/dist/registry.d.mts +91 -4
  41. package/dist/registry.d.ts +93 -0
  42. package/dist/registry.mjs +669 -324
  43. package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +15 -79
  44. package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +78 -180
  45. package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +15 -79
  46. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +6 -55
  47. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +12 -83
  48. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +6 -55
  49. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.d.vue.ts +5 -1
  50. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue +24 -38
  51. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue.d.ts +5 -1
  52. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.d.vue.ts +43 -0
  53. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue +60 -0
  54. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue.d.ts +43 -0
  55. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.d.vue.ts +4 -0
  56. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +22 -26
  57. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue.d.ts +4 -0
  58. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.d.vue.ts +9 -5
  59. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue +56 -57
  60. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue.d.ts +9 -5
  61. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.d.vue.ts +24 -41
  62. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +69 -73
  63. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue.d.ts +24 -41
  64. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +36 -4
  65. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +82 -37
  66. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +36 -4
  67. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.d.vue.ts +78 -0
  68. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue +222 -0
  69. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue.d.ts +78 -0
  70. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.d.vue.ts +10 -3
  71. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +9 -41
  72. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue.d.ts +10 -3
  73. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.d.vue.ts +7 -3
  74. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue +23 -38
  75. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue.d.ts +7 -3
  76. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.d.vue.ts +7 -3
  77. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue +23 -38
  78. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue.d.ts +7 -3
  79. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.d.vue.ts +7 -3
  80. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue +24 -38
  81. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue.d.ts +7 -3
  82. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.d.vue.ts +200 -0
  83. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.vue +165 -0
  84. package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.vue.d.ts +200 -0
  85. package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.d.ts +13 -0
  86. package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.js +8 -0
  87. package/dist/runtime/components/GoogleMaps/injectionKeys.d.ts +10 -0
  88. package/dist/runtime/components/GoogleMaps/injectionKeys.js +2 -0
  89. package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.d.ts +48 -0
  90. package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.js +51 -0
  91. package/dist/runtime/components/ScriptBlueskyEmbed.d.vue.ts +85 -0
  92. package/dist/runtime/components/ScriptBlueskyEmbed.vue +88 -0
  93. package/dist/runtime/components/ScriptBlueskyEmbed.vue.d.ts +85 -0
  94. package/dist/runtime/components/ScriptCrisp.vue +1 -1
  95. package/dist/runtime/components/ScriptGoogleAdsense.vue +1 -1
  96. package/dist/runtime/components/ScriptGravatar.d.vue.ts +22 -0
  97. package/dist/runtime/components/ScriptGravatar.vue +46 -0
  98. package/dist/runtime/components/ScriptGravatar.vue.d.ts +22 -0
  99. package/dist/runtime/components/ScriptInstagramEmbed.d.vue.ts +1 -2
  100. package/dist/runtime/components/ScriptInstagramEmbed.vue +8 -3
  101. package/dist/runtime/components/ScriptInstagramEmbed.vue.d.ts +1 -2
  102. package/dist/runtime/components/ScriptIntercom.vue +4 -3
  103. package/dist/runtime/components/ScriptPayPalButtons.d.vue.ts +43 -32
  104. package/dist/runtime/components/ScriptPayPalButtons.vue +48 -79
  105. package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +43 -32
  106. package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +37 -23
  107. package/dist/runtime/components/ScriptPayPalMessages.vue +46 -50
  108. package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +37 -23
  109. package/dist/runtime/components/ScriptStripePricingTable.vue +2 -2
  110. package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +9 -0
  111. package/dist/runtime/components/ScriptVimeoPlayer.vue +13 -10
  112. package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +9 -0
  113. package/dist/runtime/components/ScriptXEmbed.d.vue.ts +0 -2
  114. package/dist/runtime/components/ScriptXEmbed.vue +14 -8
  115. package/dist/runtime/components/ScriptXEmbed.vue.d.ts +0 -2
  116. package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +2 -2
  117. package/dist/runtime/components/ScriptYouTubePlayer.vue +11 -5
  118. package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +2 -2
  119. package/dist/runtime/composables/useScript.js +148 -8
  120. package/dist/runtime/composables/useScriptEventPage.js +2 -2
  121. package/dist/runtime/composables/useScriptTriggerConsent.d.ts +10 -0
  122. package/dist/runtime/composables/useScriptTriggerConsent.js +33 -20
  123. package/dist/runtime/composables/useScriptTriggerElement.js +1 -1
  124. package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +1 -1
  125. package/dist/runtime/devtools-standalone-bridge.client.d.ts +8 -0
  126. package/dist/runtime/devtools-standalone-bridge.client.js +50 -0
  127. package/dist/runtime/registry/bing-uet.d.ts +20 -0
  128. package/dist/runtime/registry/bing-uet.js +29 -0
  129. package/dist/runtime/registry/bluesky-embed.d.ts +116 -0
  130. package/dist/runtime/registry/bluesky-embed.js +72 -0
  131. package/dist/runtime/registry/clarity.d.ts +10 -15
  132. package/dist/runtime/registry/clarity.js +22 -31
  133. package/dist/runtime/registry/cloudflare-web-analytics.d.ts +2 -13
  134. package/dist/runtime/registry/cloudflare-web-analytics.js +2 -14
  135. package/dist/runtime/registry/crisp.d.ts +10 -40
  136. package/dist/runtime/registry/crisp.js +2 -33
  137. package/dist/runtime/registry/databuddy-analytics.d.ts +2 -35
  138. package/dist/runtime/registry/databuddy-analytics.js +20 -45
  139. package/dist/runtime/registry/fathom-analytics.d.ts +7 -26
  140. package/dist/runtime/registry/fathom-analytics.js +3 -25
  141. package/dist/runtime/registry/google-adsense.d.ts +3 -11
  142. package/dist/runtime/registry/google-adsense.js +2 -11
  143. package/dist/runtime/registry/google-analytics.d.ts +3 -5
  144. package/dist/runtime/registry/google-analytics.js +3 -8
  145. package/dist/runtime/registry/google-maps.d.ts +3 -9
  146. package/dist/runtime/registry/google-maps.js +2 -8
  147. package/dist/runtime/registry/google-recaptcha.d.ts +2 -6
  148. package/dist/runtime/registry/google-recaptcha.js +4 -12
  149. package/dist/runtime/registry/google-sign-in.d.ts +2 -13
  150. package/dist/runtime/registry/google-sign-in.js +2 -22
  151. package/dist/runtime/registry/google-tag-manager.d.ts +3 -28
  152. package/dist/runtime/registry/google-tag-manager.js +4 -27
  153. package/dist/runtime/registry/gravatar.d.ts +26 -0
  154. package/dist/runtime/registry/gravatar.js +36 -0
  155. package/dist/runtime/registry/hotjar.d.ts +4 -6
  156. package/dist/runtime/registry/hotjar.js +2 -5
  157. package/dist/runtime/registry/instagram-embed.d.ts +3 -18
  158. package/dist/runtime/registry/instagram-embed.js +4 -19
  159. package/dist/runtime/registry/intercom.d.ts +5 -13
  160. package/dist/runtime/registry/intercom.js +2 -12
  161. package/dist/runtime/registry/matomo-analytics.d.ts +3 -12
  162. package/dist/runtime/registry/matomo-analytics.js +3 -12
  163. package/dist/runtime/registry/meta-pixel.d.ts +4 -6
  164. package/dist/runtime/registry/meta-pixel.js +2 -4
  165. package/dist/runtime/registry/mixpanel-analytics.d.ts +22 -0
  166. package/dist/runtime/registry/mixpanel-analytics.js +46 -0
  167. package/dist/runtime/registry/npm.d.ts +3 -7
  168. package/dist/runtime/registry/npm.js +2 -9
  169. package/dist/runtime/registry/paypal.d.ts +4 -25
  170. package/dist/runtime/registry/paypal.js +3 -66
  171. package/dist/runtime/registry/plausible-analytics.js +19 -14
  172. package/dist/runtime/registry/posthog.d.ts +10 -12
  173. package/dist/runtime/registry/posthog.js +4 -13
  174. package/dist/runtime/registry/reddit-pixel.d.ts +5 -6
  175. package/dist/runtime/registry/reddit-pixel.js +2 -4
  176. package/dist/runtime/registry/rybbit-analytics.d.ts +2 -14
  177. package/dist/runtime/registry/rybbit-analytics.js +10 -20
  178. package/dist/runtime/registry/schemas.d.ts +982 -0
  179. package/dist/runtime/registry/schemas.js +937 -0
  180. package/dist/runtime/registry/segment.d.ts +2 -5
  181. package/dist/runtime/registry/segment.js +2 -5
  182. package/dist/runtime/registry/snapchat-pixel.d.ts +5 -34
  183. package/dist/runtime/registry/snapchat-pixel.js +2 -20
  184. package/dist/runtime/registry/stripe.d.ts +3 -4
  185. package/dist/runtime/registry/stripe.js +2 -4
  186. package/dist/runtime/registry/tiktok-pixel.d.ts +4 -7
  187. package/dist/runtime/registry/tiktok-pixel.js +2 -6
  188. package/dist/runtime/registry/umami-analytics.d.ts +2 -31
  189. package/dist/runtime/registry/umami-analytics.js +2 -36
  190. package/dist/runtime/registry/vercel-analytics.d.ts +29 -0
  191. package/dist/runtime/registry/vercel-analytics.js +84 -0
  192. package/dist/runtime/registry/vimeo-player.d.ts +2 -2
  193. package/dist/runtime/registry/vimeo-player.js +1 -1
  194. package/dist/runtime/registry/x-embed.d.ts +3 -17
  195. package/dist/runtime/registry/x-embed.js +3 -18
  196. package/dist/runtime/registry/x-pixel.d.ts +4 -7
  197. package/dist/runtime/registry/x-pixel.js +2 -5
  198. package/dist/runtime/registry/youtube-player.d.ts +7 -7
  199. package/dist/runtime/registry/youtube-player.js +1 -1
  200. package/dist/runtime/server/bluesky-embed-image.d.ts +2 -0
  201. package/dist/runtime/server/bluesky-embed-image.js +7 -0
  202. package/dist/runtime/server/bluesky-embed.d.ts +16 -0
  203. package/dist/runtime/server/bluesky-embed.js +59 -0
  204. package/dist/runtime/server/google-maps-geocode-proxy.d.ts +2 -0
  205. package/dist/runtime/server/google-maps-geocode-proxy.js +34 -0
  206. package/dist/runtime/server/google-static-maps-proxy.js +2 -13
  207. package/dist/runtime/server/gravatar-proxy.d.ts +2 -0
  208. package/dist/runtime/server/gravatar-proxy.js +46 -0
  209. package/dist/runtime/server/instagram-embed-asset.js +8 -41
  210. package/dist/runtime/server/instagram-embed-image.js +6 -53
  211. package/dist/runtime/server/instagram-embed.d.ts +16 -0
  212. package/dist/runtime/server/instagram-embed.js +176 -35
  213. package/dist/runtime/server/proxy-handler.js +142 -95
  214. package/dist/runtime/server/utils/image-proxy.d.ts +12 -0
  215. package/dist/runtime/server/utils/image-proxy.js +70 -0
  216. package/dist/runtime/server/utils/privacy.d.ts +1 -10
  217. package/dist/runtime/server/utils/privacy.js +60 -40
  218. package/dist/runtime/server/x-embed-image.js +5 -49
  219. package/dist/runtime/server/x-embed.js +3 -2
  220. package/dist/runtime/types.d.ts +272 -51
  221. package/dist/runtime/types.js +0 -2
  222. package/dist/runtime/utils/pure.d.ts +1 -1
  223. package/dist/runtime/utils.d.ts +6 -4
  224. package/dist/runtime/utils.js +31 -14
  225. package/dist/stats.d.mts +202 -0
  226. package/dist/stats.d.ts +202 -0
  227. package/dist/stats.mjs +3875 -0
  228. package/dist/types-source.d.mts +17 -0
  229. package/dist/types-source.d.ts +17 -0
  230. package/dist/types-source.mjs +3414 -0
  231. package/dist/types.d.mts +4 -2
  232. package/package.json +35 -61
  233. package/README.md +0 -86
  234. package/dist/client/200.html +0 -1
  235. package/dist/client/404.html +0 -1
  236. package/dist/client/_nuxt/BPQ3VLAy.js +0 -1
  237. package/dist/client/_nuxt/BpR-tlZc.js +0 -1
  238. package/dist/client/_nuxt/CBbMDhE2.js +0 -162
  239. package/dist/client/_nuxt/CEMAW3aB.js +0 -1
  240. package/dist/client/_nuxt/MWkREqzj.js +0 -1
  241. package/dist/client/_nuxt/builds/latest.json +0 -1
  242. package/dist/client/_nuxt/builds/meta/762d443a-0880-424f-bda8-2b32b39d43ec.json +0 -1
  243. package/dist/client/_nuxt/entry.D45OuV0w.css +0 -1
  244. package/dist/client/_nuxt/error-404.B57D-jUQ.css +0 -1
  245. package/dist/client/_nuxt/error-500.DTHUW7BI.css +0 -1
  246. package/dist/client/index.html +0 -1
  247. package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +0 -52
  248. package/dist/runtime/components/ScriptPayPalMarks.vue +0 -69
  249. package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +0 -52
  250. package/dist/runtime/validation/mock.d.ts +0 -42
  251. package/dist/runtime/validation/mock.js +0 -21
  252. package/dist/runtime/validation/valibot.d.ts +0 -1
  253. package/dist/runtime/validation/valibot.js +0 -1
  254. /package/dist/{client → devtools-client}/_nuxt/CVO1_9PV.js +0 -0
  255. /package/dist/{client → devtools-client}/_nuxt/Cp-IABpG.js +0 -0
  256. /package/dist/{client → devtools-client}/_nuxt/D0r3Knsf.js +0 -0
@@ -0,0 +1,188 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DKL6PHO3.js","./first-party.C8Ha4JLM.css","./dlaR8P-P.js","./registry.B9lnjF_b.css","./C8jhSQ8l.js","./index.CA-OpSj0.css","./ajngqPCs.js","./error-404.CvOVjXeC.css","./B3kN3DAy.js","./error-500.BIm53nmx.css"])))=>i.map(i=>d[i]);
2
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function Mu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Oe={},xs=[],Dn=()=>{},Zh=()=>!1,Zo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$a=e=>e.startsWith("onUpdate:"),ut=Object.assign,Nu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xv=Object.prototype.hasOwnProperty,$e=(e,t)=>xv.call(e,t),pe=Array.isArray,_s=e=>qs(e)==="[object Map]",eg=e=>qs(e)==="[object Set]",Uf=e=>qs(e)==="[object Date]",_v=e=>qs(e)==="[object RegExp]",ge=e=>typeof e=="function",Ye=e=>typeof e=="string",tn=e=>typeof e=="symbol",Me=e=>e!==null&&typeof e=="object",Lu=e=>(Me(e)||ge(e))&&ge(e.then)&&ge(e.catch),tg=Object.prototype.toString,qs=e=>tg.call(e),Cv=e=>qs(e).slice(8,-1),ng=e=>qs(e)==="[object Object]",Da=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xr=Mu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ba=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},kv=/-\w/g,xt=Ba(e=>e.replace(kv,t=>t.slice(1).toUpperCase())),Sv=/\B([A-Z])/g,Rr=Ba(e=>e.replace(Sv,"-$1").toLowerCase()),Fa=Ba(e=>e.charAt(0).toUpperCase()+e.slice(1)),vo=Ba(e=>e?`on${Fa(e)}`:""),Rt=(e,t)=>!Object.is(e,t),bo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},rg=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ev=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sg=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let Gf;const ja=()=>Gf||(Gf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function bn(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ye(r)?Rv(r):bn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ye(e)||Me(e))return e}const Av=/;(?![^(]*\))/g,Tv=/:([^]+)/,Pv=/\/\*[^]*?\*\//g;function Rv(e){const t={};return e.replace(Pv,"").split(Av).forEach(n=>{if(n){const r=n.split(Tv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ke(e){let t="";if(Ye(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const r=ke(e[n]);r&&(t+=r+" ")}else if(Me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Vt(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ye(t)&&(e.class=ke(t)),n&&(e.style=bn(n)),e}const Iv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ov=Mu(Iv);function og(e){return!!e||e===""}function Mv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=$u(e[r],t[r]);return n}function $u(e,t){if(e===t)return!0;let n=Uf(e),r=Uf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=tn(e),r=tn(t),n||r)return e===t;if(n=pe(e),r=pe(t),n||r)return n&&r?Mv(e,t):!1;if(n=Me(e),r=Me(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!$u(e[i],t[i]))return!1}}return String(e)===String(t)}const ig=e=>!!(e&&e.__v_isRef===!0),Je=e=>Ye(e)?e:e==null?"":pe(e)||Me(e)&&(e.toString===tg||!ge(e.toString))?ig(e)?Je(e.value):JSON.stringify(e,ag,2):String(e),ag=(e,t)=>ig(t)?ag(e,t.value):_s(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Cl(r,o)+" =>"]=s,n),{})}:eg(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Cl(n))}:tn(t)?Cl(t):Me(t)&&!pe(t)&&!ng(t)?String(t):t,Cl=(e,t="")=>{var n;return tn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Pt;class lg{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Pt,!t&&Pt&&(this.index=(Pt.scopes||(Pt.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=Pt;try{return Pt=this,t()}finally{Pt=n}}}on(){++this._on===1&&(this.prevScope=Pt,Pt=this)}off(){this._on>0&&--this._on===0&&(Pt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function cg(e){return new lg(e)}function ei(){return Pt}function qa(e,t=!1){Pt&&Pt.cleanups.push(e)}let We;const kl=new WeakSet;class ug{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,Pt&&Pt.active&&Pt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,kl.has(this)&&(kl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||dg(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Wf(this),pg(this);const t=We,n=yn;We=this,yn=!0;try{return this.fn()}finally{hg(this),We=t,yn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Fu(t);this.deps=this.depsTail=void 0,Wf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?kl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){hc(this)&&this.run()}get dirty(){return hc(this)}}let fg=0,wo,xo;function dg(e,t=!1){if(e.flags|=8,t){e.next=xo,xo=e;return}e.next=wo,wo=e}function Du(){fg++}function Bu(){if(--fg>0)return;if(xo){let t=xo;for(xo=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wo;){let t=wo;for(wo=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function pg(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function hg(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Fu(r),Nv(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function hc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(gg(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function gg(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Oo)||(e.globalVersion=Oo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!hc(e))))return;e.flags|=2;const t=e.dep,n=We,r=yn;We=e,yn=!0;try{pg(e);const s=e.fn(e._value);(t.version===0||Rt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{We=n,yn=r,hg(e),e.flags&=-3}}function Fu(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Fu(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Nv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let yn=!0;const mg=[];function or(){mg.push(yn),yn=!1}function ir(){const e=mg.pop();yn=e===void 0?!0:e}function Wf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=We;We=void 0;try{t()}finally{We=n}}}let Oo=0;class Lv{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 za{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,this.__v_skip=!0}track(t){if(!We||!yn||We===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==We)n=this.activeLink=new Lv(We,this),We.deps?(n.prevDep=We.depsTail,We.depsTail.nextDep=n,We.depsTail=n):We.deps=We.depsTail=n,yg(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=We.depsTail,n.nextDep=void 0,We.depsTail.nextDep=n,We.depsTail=n,We.deps===n&&(We.deps=r)}return n}trigger(t){this.version++,Oo++,this.notify(t)}notify(t){Du();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Bu()}}}function yg(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)yg(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Qi=new WeakMap,Yr=Symbol(""),gc=Symbol(""),Mo=Symbol("");function It(e,t,n){if(yn&&We){let r=Qi.get(e);r||Qi.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new za),s.map=r,s.key=n),s.track()}}function tr(e,t,n,r,s,o){const i=Qi.get(e);if(!i){Oo++;return}const a=l=>{l&&l.trigger()};if(Du(),t==="clear")i.forEach(a);else{const l=pe(e),u=l&&Da(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,p)=>{(p==="length"||p===Mo||!tn(p)&&p>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Mo)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Yr)),_s(e)&&a(i.get(gc)));break;case"delete":l||(a(i.get(Yr)),_s(e)&&a(i.get(gc)));break;case"set":_s(e)&&a(i.get(Yr));break}}Bu()}function $v(e,t){const n=Qi.get(e);return n&&n.get(t)}function fs(e){const t=Re(e);return t===e?t:(It(t,"iterate",Mo),Qt(e)?t:t.map(wn))}function Ha(e){return It(e=Re(e),"iterate",Mo),e}function Mn(e,t){return jn(e)?Is(Cr(e)?wn(t):t):wn(t)}const Dv={__proto__:null,[Symbol.iterator](){return Sl(this,Symbol.iterator,e=>Mn(this,e))},concat(...e){return fs(this).concat(...e.map(t=>pe(t)?fs(t):t))},entries(){return Sl(this,"entries",e=>(e[1]=Mn(this,e[1]),e))},every(e,t){return Un(this,"every",e,t,void 0,arguments)},filter(e,t){return Un(this,"filter",e,t,n=>n.map(r=>Mn(this,r)),arguments)},find(e,t){return Un(this,"find",e,t,n=>Mn(this,n),arguments)},findIndex(e,t){return Un(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Un(this,"findLast",e,t,n=>Mn(this,n),arguments)},findLastIndex(e,t){return Un(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Un(this,"forEach",e,t,void 0,arguments)},includes(...e){return El(this,"includes",e)},indexOf(...e){return El(this,"indexOf",e)},join(e){return fs(this).join(e)},lastIndexOf(...e){return El(this,"lastIndexOf",e)},map(e,t){return Un(this,"map",e,t,void 0,arguments)},pop(){return Zs(this,"pop")},push(...e){return Zs(this,"push",e)},reduce(e,...t){return Kf(this,"reduce",e,t)},reduceRight(e,...t){return Kf(this,"reduceRight",e,t)},shift(){return Zs(this,"shift")},some(e,t){return Un(this,"some",e,t,void 0,arguments)},splice(...e){return Zs(this,"splice",e)},toReversed(){return fs(this).toReversed()},toSorted(e){return fs(this).toSorted(e)},toSpliced(...e){return fs(this).toSpliced(...e)},unshift(...e){return Zs(this,"unshift",e)},values(){return Sl(this,"values",e=>Mn(this,e))}};function Sl(e,t,n){const r=Ha(e),s=r[t]();return r!==e&&!Qt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Bv=Array.prototype;function Un(e,t,n,r,s,o){const i=Ha(e),a=i!==e&&!Qt(e),l=i[t];if(l!==Bv[t]){const f=l.apply(e,o);return a?wn(f):f}let u=n;i!==e&&(a?u=function(f,p){return n.call(this,Mn(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const c=l.call(i,u,r);return a&&s?s(c):c}function Kf(e,t,n,r){const s=Ha(e),o=s!==e&&!Qt(e);let i=n,a=!1;s!==e&&(o?(a=r.length===0,i=function(u,c,f){return a&&(a=!1,u=Mn(e,u)),n.call(this,u,Mn(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const l=s[t](i,...r);return a?Mn(e,l):l}function El(e,t,n){const r=Re(e);It(r,"iterate",Mo);const s=r[t](...n);return(s===-1||s===!1)&&Ga(n[0])?(n[0]=Re(n[0]),r[t](...n)):s}function Zs(e,t,n=[]){or(),Du();const r=Re(e)[t].apply(e,n);return Bu(),ir(),r}const Fv=Mu("__proto__,__v_isRef,__isVue"),vg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tn));function jv(e){tn(e)||(e=String(e));const t=Re(this);return It(t,"has",e),t.hasOwnProperty(e)}class bg{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Sg:kg:o?Cg:_g).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=pe(t);if(!s){let l;if(i&&(l=Dv[n]))return l;if(n==="hasOwnProperty")return jv}const a=Reflect.get(t,n,Xe(t)?t:r);if((tn(n)?vg.has(n):Fv(n))||(s||It(t,"get",n),o))return a;if(Xe(a)){const l=i&&Da(n)?a:a.value;return s&&Me(l)?ar(l):l}return Me(a)?s?ar(a):_t(a):a}}class wg extends bg{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=pe(t)&&Da(n);if(!this._isShallow){const u=jn(o);if(!Qt(r)&&!jn(r)&&(o=Re(o),r=Re(r)),!i&&Xe(o)&&!Xe(r))return u||(o.value=r),!0}const a=i?Number(n)<t.length:$e(t,n),l=Reflect.set(t,n,r,Xe(t)?t:s);return t===Re(s)&&(a?Rt(r,o)&&tr(t,"set",n,r):tr(t,"add",n,r)),l}deleteProperty(t,n){const r=$e(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&tr(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!tn(n)||!vg.has(n))&&It(t,"has",n),r}ownKeys(t){return It(t,"iterate",pe(t)?"length":Yr),Reflect.ownKeys(t)}}class xg extends bg{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const qv=new wg,zv=new xg,Hv=new wg(!0),Vv=new xg(!0),mc=e=>e,fi=e=>Reflect.getPrototypeOf(e);function Uv(e,t,n){return function(...r){const s=this.__v_raw,o=Re(s),i=_s(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?mc:t?Is:wn;return!t&&It(o,"iterate",l?gc:Yr),ut(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:a?[c(f[0]),c(f[1])]:c(f),done:p}}})}}function di(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gv(e,t){const n={get(s){const o=this.__v_raw,i=Re(o),a=Re(s);e||(Rt(s,a)&&It(i,"get",s),It(i,"get",a));const{has:l}=fi(i),u=t?mc:e?Is:wn;if(l.call(i,s))return u(o.get(s));if(l.call(i,a))return u(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&It(Re(s),"iterate",Yr),s.size},has(s){const o=this.__v_raw,i=Re(o),a=Re(s);return e||(Rt(s,a)&&It(i,"has",s),It(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=Re(a),u=t?mc:e?Is:wn;return!e&&It(l,"iterate",Yr),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return ut(n,e?{add:di("add"),set:di("set"),delete:di("delete"),clear:di("clear")}:{add(s){const o=Re(this),i=fi(o),a=Re(s),l=!t&&!Qt(s)&&!jn(s)?a:s;return i.has.call(o,l)||Rt(s,l)&&i.has.call(o,s)||Rt(a,l)&&i.has.call(o,a)||(o.add(l),tr(o,"add",l,l)),this},set(s,o){!t&&!Qt(o)&&!jn(o)&&(o=Re(o));const i=Re(this),{has:a,get:l}=fi(i);let u=a.call(i,s);u||(s=Re(s),u=a.call(i,s));const c=l.call(i,s);return i.set(s,o),u?Rt(o,c)&&tr(i,"set",s,o):tr(i,"add",s,o),this},delete(s){const o=Re(this),{has:i,get:a}=fi(o);let l=i.call(o,s);l||(s=Re(s),l=i.call(o,s)),a&&a.call(o,s);const u=o.delete(s);return l&&tr(o,"delete",s,void 0),u},clear(){const s=Re(this),o=s.size!==0,i=s.clear();return o&&tr(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Uv(s,e,t)}),n}function Va(e,t){const n=Gv(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get($e(n,s)&&s in r?n:r,s,o)}const Wv={get:Va(!1,!1)},Kv={get:Va(!1,!0)},Xv={get:Va(!0,!1)},Yv={get:Va(!0,!0)},_g=new WeakMap,Cg=new WeakMap,kg=new WeakMap,Sg=new WeakMap;function Jv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qv(e){return e.__v_skip||!Object.isExtensible(e)?0:Jv(Cv(e))}function _t(e){return jn(e)?e:Ua(e,!1,qv,Wv,_g)}function pn(e){return Ua(e,!1,Hv,Kv,Cg)}function ar(e){return Ua(e,!0,zv,Xv,kg)}function jr(e){return Ua(e,!0,Vv,Yv,Sg)}function Ua(e,t,n,r,s){if(!Me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Qv(e);if(o===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function Cr(e){return jn(e)?Cr(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function Qt(e){return!!(e&&e.__v_isShallow)}function Ga(e){return e?!!e.__v_raw:!1}function Re(e){const t=e&&e.__v_raw;return t?Re(t):e}function ju(e){return!$e(e,"__v_skip")&&Object.isExtensible(e)&&rg(e,"__v_skip",!0),e}const wn=e=>Me(e)?_t(e):e,Is=e=>Me(e)?ar(e):e;function Xe(e){return e?e.__v_isRef===!0:!1}function J(e){return Eg(e,!1)}function ft(e){return Eg(e,!0)}function Eg(e,t){return Xe(e)?e:new Zv(e,t)}class Zv{constructor(t,n){this.dep=new za,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Re(t),this._value=n?t:wn(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Qt(t)||jn(t);t=r?t:Re(t),Rt(t,n)&&(this._rawValue=t,this._value=r?t:wn(t),this.dep.trigger())}}function e2(e){e.dep&&e.dep.trigger()}function _(e){return Xe(e)?e.value:e}function je(e){return ge(e)?e():_(e)}const t2={get:(e,t,n)=>t==="__v_raw"?e:_(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Xe(s)&&!Xe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ag(e){return Cr(e)?e:new Proxy(e,t2)}class n2{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new za,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function qu(e){return new n2(e)}function Er(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=Tg(e,n);return t}class r2{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=tn(n)?n:String(n),this._raw=Re(t);let s=!0,o=t;if(!pe(t)||tn(this._key)||!Da(this._key))do s=!Ga(o)||Qt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=_(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Xe(this._raw[this._key])){const n=this._object[this._key];if(Xe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return $v(this._raw,this._key)}}class s2{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 Bt(e,t,n){return Xe(e)?e:ge(e)?new s2(e):Me(e)&&arguments.length>1?Tg(e,t,n):J(e)}function Tg(e,t,n){return new r2(e,t,n)}class o2{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new za(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Oo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&We!==this)return dg(this,!0),!0}get value(){const t=this.dep.track();return gg(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function i2(e,t,n=!1){let r,s;return ge(e)?r=e:(r=e.get,s=e.set),new o2(r,s,n)}const pi={},Zi=new WeakMap;let qr;function a2(e,t=!1,n=qr){if(n){let r=Zi.get(n);r||Zi.set(n,r=[]),r.push(e)}}function l2(e,t,n=Oe){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=w=>s?w:Qt(w)||s===!1||s===0?nr(w,1):nr(w);let c,f,p,d,h=!1,g=!1;if(Xe(e)?(f=()=>e.value,h=Qt(e)):Cr(e)?(f=()=>u(e),h=!0):pe(e)?(g=!0,h=e.some(w=>Cr(w)||Qt(w)),f=()=>e.map(w=>{if(Xe(w))return w.value;if(Cr(w))return u(w);if(ge(w))return l?l(w,2):w()})):ge(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){or();try{p()}finally{ir()}}const w=qr;qr=c;try{return l?l(e,3,[d]):e(d)}finally{qr=w}}:f=Dn,t&&s){const w=f,x=s===!0?1/0:s;f=()=>nr(w(),x)}const y=ei(),b=()=>{c.stop(),y&&y.active&&Nu(y.effects,c)};if(o&&t){const w=t;t=(...x)=>{w(...x),b()}}let v=g?new Array(e.length).fill(pi):pi;const m=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const x=c.run();if(s||h||(g?x.some((S,E)=>Rt(S,v[E])):Rt(x,v))){p&&p();const S=qr;qr=c;try{const E=[x,v===pi?void 0:g&&v[0]===pi?[]:v,d];v=x,l?l(t,3,E):t(...E)}finally{qr=S}}}else c.run()};return a&&a(m),c=new ug(f),c.scheduler=i?()=>i(m,!1):m,d=w=>a2(w,!1,c),p=c.onStop=()=>{const w=Zi.get(c);if(w){if(l)l(w,4);else for(const x of w)x();Zi.delete(c)}},t?r?m(!0):v=c.run():i?i(m.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function nr(e,t=1/0,n){if(t<=0||!Me(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Xe(e))nr(e.value,t,n);else if(pe(e))for(let r=0;r<e.length;r++)nr(e[r],t,n);else if(eg(e)||_s(e))e.forEach(r=>{nr(r,t,n)});else if(ng(e)){for(const r in e)nr(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&nr(e[r],t,n)}return e}function ti(e,t,n,r){try{return r?e(...r):e()}catch(s){zs(s,t,n)}}function xn(e,t,n,r){if(ge(e)){const s=ti(e,t,n,r);return s&&Lu(s)&&s.catch(o=>{zs(o,t,n)}),s}if(pe(e)){const s=[];for(let o=0;o<e.length;o++)s.push(xn(e[o],t,n,r));return s}}function zs(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Oe;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,l,u)===!1)return}a=a.parent}if(o){or(),ti(o,null,10,[e,l,u]),ir();return}}c2(e,n,s,r,i)}function c2(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Dt=[];let Rn=-1;const Cs=[];let wr=null,gs=0;const Pg=Promise.resolve();let ea=null;function At(e){const t=ea||Pg;return e?t.then(this?e.bind(this):e):t}function u2(e){let t=Rn+1,n=Dt.length;for(;t<n;){const r=t+n>>>1,s=Dt[r],o=Lo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function zu(e){if(!(e.flags&1)){const t=Lo(e),n=Dt[Dt.length-1];!n||!(e.flags&2)&&t>=Lo(n)?Dt.push(e):Dt.splice(u2(t),0,e),e.flags|=1,Rg()}}function Rg(){ea||(ea=Pg.then(Ig))}function No(e){pe(e)?Cs.push(...e):wr&&e.id===-1?wr.splice(gs+1,0,e):e.flags&1||(Cs.push(e),e.flags|=1),Rg()}function Xf(e,t,n=Rn+1){for(;n<Dt.length;n++){const r=Dt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Dt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ta(e){if(Cs.length){const t=[...new Set(Cs)].sort((n,r)=>Lo(n)-Lo(r));if(Cs.length=0,wr){wr.push(...t);return}for(wr=t,gs=0;gs<wr.length;gs++){const n=wr[gs];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wr=null,gs=0}}const Lo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ig(e){try{for(Rn=0;Rn<Dt.length;Rn++){const t=Dt[Rn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ti(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Rn<Dt.length;Rn++){const t=Dt[Rn];t&&(t.flags&=-2)}Rn=-1,Dt.length=0,ta(),ea=null,(Dt.length||Cs.length)&&Ig()}}let Et=null,Og=null;function na(e){const t=Et;return Et=e,Og=e&&e.type.__scopeId||null,t}function Z(e,t=Et,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&aa(-1);const o=na(t);let i;try{i=e(...s)}finally{na(o),r._d&&aa(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Yf(e,t){if(Et===null)return e;const n=Ja(Et),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Oe]=t[s];o&&(ge(o)&&(o={mounted:o,updated:o}),o.deep&&nr(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function In(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(or(),xn(l,n,8,[e.el,a,e,t]),ir())}}function Zt(e,t){if(St){let n=St.provides;const r=St.parent&&St.parent.provides;r===n&&(n=St.provides=Object.create(r)),n[e]=t}}function Ve(e,t,n=!1){const r=dt();if(r||Jr){let s=Jr?Jr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ge(t)?t.call(r&&r.proxy):t}}function Wa(){return!!(dt()||Jr)}const f2=Symbol.for("v-scx"),d2=()=>Ve(f2);function nn(e,t){return ni(e,null,t)}function Mg(e,t){return ni(e,null,{flush:"post"})}function p2(e,t){return ni(e,null,{flush:"sync"})}function Be(e,t,n){return ni(e,t,n)}function ni(e,t,n=Oe){const{immediate:r,deep:s,flush:o,once:i}=n,a=ut({},n),l=t&&r||!t&&o!=="post";let u;if(ts){if(o==="sync"){const d=d2();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Dn,d.resume=Dn,d.pause=Dn,d}}const c=St;a.call=(d,h,g)=>xn(d,c,h,g);let f=!1;o==="post"?a.scheduler=d=>{ot(d,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(d,h)=>{h?d():zu(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const p=l2(e,t,a);return ts&&(u?u.push(p):l&&p()),p}function h2(e,t,n){const r=this.proxy,s=Ye(e)?e.includes(".")?Ng(r,e):()=>r[e]:e.bind(r,r);let o;ge(t)?o=t:(o=t.handler,n=t);const i=Us(this),a=ni(s,o.bind(r),n);return i(),a}function Ng(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Lg=Symbol("_vte"),$g=e=>e.__isTeleport,_o=e=>e&&(e.disabled||e.disabled===""),g2=e=>e&&(e.defer||e.defer===""),Jf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Qf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,yc=(e,t)=>{const n=e&&e.to;return Ye(n)?t?t(n):null:n},Dg={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,u){const{mc:c,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:g,createComment:y}}=u,b=_o(t.props);let{shapeFlag:v,children:m,dynamicChildren:w}=t;if(e==null){const x=t.el=g(""),S=t.anchor=g("");d(x,n,r),d(S,n,r);const E=(A,M)=>{v&16&&c(m,A,M,s,o,i,a,l)},T=()=>{const A=t.target=yc(t.props,h),M=vc(A,t,g,d);A&&(i!=="svg"&&Jf(A)?i="svg":i!=="mathml"&&Qf(A)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(A),b||(E(A,M),zi(t,!1)))};b&&(E(n,S),zi(t,!0)),g2(t.props)||o&&o.pendingBranch?(t.el.__isMounted=!1,ot(()=>{t.el.__isMounted===!1&&(T(),delete t.el.__isMounted)},o)):T()}else{t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,S=t.target=e.target,E=t.targetAnchor=e.targetAnchor;if(e.el.__isMounted===!1){ot(()=>{Dg.process(e,t,n,r,s,o,i,a,l,u)},o);return}const T=_o(e.props),A=T?n:S,M=T?x:E;if(i==="svg"||Jf(S)?i="svg":(i==="mathml"||Qf(S))&&(i="mathml"),w?(p(e.dynamicChildren,w,A,s,o,i,a),Wu(e,t,!0)):l||f(e,t,A,M,s,o,i,a,!1),b)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hi(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const j=t.target=yc(t.props,h);j&&hi(t,j,null,u,0)}else T&&hi(t,S,E,u,1);zi(t,b)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:f,props:p}=e;if(f&&(s(u),s(c)),o&&s(l),i&16){const d=o||!_o(p);for(let h=0;h<a.length;h++){const g=a[h];r(g,t,n,d,!!g.dynamicChildren)}}},move:hi,hydrate:m2};function hi(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:c}=e,f=o===2;if(f&&r(i,t,n),(!f||_o(c))&&l&16)for(let p=0;p<u.length;p++)s(u[p],t,n,2);f&&r(a,t,n)}function m2(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},f){function p(y,b){let v=b;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,y._lpa=t.targetAnchor&&i(t.targetAnchor);break}}v=i(v)}}function d(y,b){b.anchor=f(i(y),b,a(y),n,r,s,o)}const h=t.target=yc(t.props,l),g=_o(t.props);if(h){const y=h._lpa||h.firstChild;t.shapeFlag&16&&(g?(d(e,t),p(h,y),t.targetAnchor||vc(h,t,c,u,a(e)===h?e:null)):(t.anchor=i(e),p(h,y),t.targetAnchor||vc(h,t,c,u),f(y&&i(y),t,h,n,r,s,o))),zi(t,g)}else g&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Bg=Dg;function zi(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function vc(e,t,n,r,s=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Lg]=i,e&&(r(o,e,s),r(i,e,s)),i}const On=Symbol("_leaveCb"),eo=Symbol("_enterCb");function y2(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mt(()=>{e.isMounted=!0}),Hs(()=>{e.isUnmounting=!0}),e}const rn=[Function,Array],Fg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rn,onEnter:rn,onAfterEnter:rn,onEnterCancelled:rn,onBeforeLeave:rn,onLeave:rn,onAfterLeave:rn,onLeaveCancelled:rn,onBeforeAppear:rn,onAppear:rn,onAfterAppear:rn,onAppearCancelled:rn},jg=e=>{const t=e.subTree;return t.component?jg(t.component):t},v2={name:"BaseTransition",props:Fg,setup(e,{slots:t}){const n=dt(),r=y2();return()=>{const s=t.default&&Hg(t.default(),!0);if(!s||!s.length)return;const o=qg(s),i=Re(e),{mode:a}=i;if(r.isLeaving)return Al(o);const l=Zf(o);if(!l)return Al(o);let u=bc(l,i,r,n,f=>u=f);l.type!==it&&Os(l,u);let c=n.subTree&&Zf(n.subTree);if(c&&c.type!==it&&!hn(c,l)&&jg(n).type!==it){let f=bc(c,i,r,n);if(Os(c,f),a==="out-in"&&l.type!==it)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Al(o);a==="in-out"&&l.type!==it?f.delayLeave=(p,d,h)=>{const g=zg(r,c);g[String(c.key)]=c,p[On]=()=>{d(),p[On]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function qg(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==it){t=n;break}}return t}const b2=v2;function zg(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function bc(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:y,onAppear:b,onAfterAppear:v,onAppearCancelled:m}=t,w=String(e.key),x=zg(n,e),S=(A,M)=>{A&&xn(A,r,9,M)},E=(A,M)=>{const j=M[1];S(A,M),pe(A)?A.every(R=>R.length<=1)&&j():A.length<=1&&j()},T={mode:i,persisted:a,beforeEnter(A){let M=l;if(!n.isMounted)if(o)M=y||l;else return;A[On]&&A[On](!0);const j=x[w];j&&hn(e,j)&&j.el[On]&&j.el[On](),S(M,[A])},enter(A){if(x[w]===e)return;let M=u,j=c,R=f;if(!n.isMounted)if(o)M=b||u,j=v||c,R=m||f;else return;let G=!1;A[eo]=q=>{G||(G=!0,q?S(R,[A]):S(j,[A]),T.delayedLeave&&T.delayedLeave(),A[eo]=void 0)};const N=A[eo].bind(null,!1);M?E(M,[A,N]):N()},leave(A,M){const j=String(e.key);if(A[eo]&&A[eo](!0),n.isUnmounting)return M();S(p,[A]);let R=!1;A[On]=N=>{R||(R=!0,M(),N?S(g,[A]):S(h,[A]),A[On]=void 0,x[j]===e&&delete x[j])};const G=A[On].bind(null,!1);x[j]=e,d?E(d,[A,G]):G()},clone(A){const M=bc(A,t,n,r,s);return s&&s(M),M}};return T}function Al(e){if(ri(e))return e=qn(e),e.children=null,e}function Zf(e){if(!ri(e))return $g(e.type)&&e.children?qg(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ge(n.default))return n.default()}}function Os(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Os(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 Hg(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===qe?(i.patchFlag&128&&s++,r=r.concat(Hg(i.children,t,a))):(t||i.type!==it)&&r.push(a!=null?qn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function me(e,t){return ge(e)?ut({name:e.name},t,{setup:e}):e}function Vg(){const e=dt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Hu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ug(e){const t=dt(),n=ft(null);if(t){const s=t.refs===Oe?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function ed(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ra=new WeakMap;function ks(e,t,n,r,s=!1){if(pe(e)){e.forEach((g,y)=>ks(g,t&&(pe(t)?t[y]:t),n,r,s));return}if(sr(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ks(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Ja(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Oe?a.refs={}:a.refs,f=a.setupState,p=Re(f),d=f===Oe?Zh:g=>ed(c,g)?!1:$e(p,g),h=(g,y)=>!(y&&ed(c,y));if(u!=null&&u!==l){if(td(t),Ye(u))c[u]=null,d(u)&&(f[u]=null);else if(Xe(u)){const g=t;h(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(ge(l))ti(l,a,12,[i,c]);else{const g=Ye(l),y=Xe(l);if(g||y){const b=()=>{if(e.f){const v=g?d(l)?f[l]:c[l]:h()||!e.k?l.value:c[e.k];if(s)pe(v)&&Nu(v,o);else if(pe(v))v.includes(o)||v.push(o);else if(g)c[l]=[o],d(l)&&(f[l]=c[l]);else{const m=[o];h(l,e.k)&&(l.value=m),e.k&&(c[e.k]=m)}}else g?(c[l]=i,d(l)&&(f[l]=i)):y&&(h(l,e.k)&&(l.value=i),e.k&&(c[e.k]=i))};if(i){const v=()=>{b(),ra.delete(e)};v.id=-1,ra.set(e,v),ot(v,n)}else td(e),b()}}}function td(e){const t=ra.get(e);t&&(t.flags|=8,ra.delete(e))}let nd=!1;const ds=()=>{nd||(console.error("Hydration completed but contains mismatches."),nd=!0)},w2=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",x2=e=>e.namespaceURI.includes("MathML"),gi=e=>{if(e.nodeType===1){if(w2(e))return"svg";if(x2(e))return"mathml"}},ws=e=>e.nodeType===8;function _2(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(m,w)=>{if(!w.hasChildNodes()){n(null,m,w),ta(),w._vnode=m;return}f(w.firstChild,m,null,null,null),ta(),w._vnode=m},f=(m,w,x,S,E,T=!1)=>{T=T||!!w.dynamicChildren;const A=ws(m)&&m.data==="[",M=()=>g(m,w,x,S,E,A),{type:j,ref:R,shapeFlag:G,patchFlag:N}=w;let q=m.nodeType;w.el=m,N===-2&&(T=!1,w.dynamicChildren=null);let L=null;switch(j){case Qr:q!==3?w.children===""?(l(w.el=s(""),i(m),m),L=m):L=M():(m.data!==w.children&&(ds(),m.data=w.children),L=o(m));break;case it:v(m)?(L=o(m),b(w.el=m.content.firstChild,m,x)):q!==8||A?L=M():L=o(m);break;case ko:if(A&&(m=o(m),q=m.nodeType),q===1||q===3){L=m;const W=!w.children.length;for(let $=0;$<w.staticCount;$++)W&&(w.children+=L.nodeType===1?L.outerHTML:L.data),$===w.staticCount-1&&(w.anchor=L),L=o(L);return A?o(L):L}else M();break;case qe:A?L=h(m,w,x,S,E,T):L=M();break;default:if(G&1)(q!==1||w.type.toLowerCase()!==m.tagName.toLowerCase())&&!v(m)?L=M():L=p(m,w,x,S,E,T);else if(G&6){w.slotScopeIds=E;const W=i(m);if(A?L=y(m):ws(m)&&m.data==="teleport start"?L=y(m,m.data,"teleport end"):L=o(m),t(w,W,null,x,S,gi(W),T),sr(w)&&!w.type.__asyncResolved){let $;A?($=re(qe),$.anchor=L?L.previousSibling:W.lastChild):$=m.nodeType===3?Ft(""):re("div"),$.el=m,w.component.subTree=$}}else G&64?q!==8?L=M():L=w.type.hydrate(m,w,x,S,E,T,e,d):G&128&&(L=w.type.hydrate(m,w,x,S,gi(i(m)),E,T,e,f))}return R!=null&&ks(R,null,S,w),L},p=(m,w,x,S,E,T)=>{T=T||!!w.dynamicChildren;const{type:A,props:M,patchFlag:j,shapeFlag:R,dirs:G,transition:N}=w,q=A==="input"||A==="option";if(q||j!==-1){G&&In(w,null,x,"created");let L=!1;if(v(m)){L=y0(null,N)&&x&&x.vnode.props&&x.vnode.props.appear;const $=m.content.firstChild;if(L){const ie=$.getAttribute("class");ie&&($.$cls=ie),N.beforeEnter($)}b($,m,x),w.el=m=$}if(R&16&&!(M&&(M.innerHTML||M.textContent))){let $=d(m.firstChild,w,m,x,S,E,T);for(;$;){mi(m,1)||ds();const ie=$;$=$.nextSibling,a(ie)}}else if(R&8){let $=w.children;$[0]===`
3
+ `&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&($=$.slice(1));const{textContent:ie}=m;ie!==$&&ie!==$.replace(/\r\n|\r/g,`
4
+ `)&&(mi(m,0)||ds(),m.textContent=w.children)}if(M){if(q||!T||j&48){const $=m.tagName.includes("-");for(const ie in M)(q&&(ie.endsWith("value")||ie==="indeterminate")||Zo(ie)&&!Xr(ie)||ie[0]==="."||$&&!Xr(ie))&&r(m,ie,null,M[ie],void 0,x)}else if(M.onClick)r(m,"onClick",null,M.onClick,void 0,x);else if(j&4&&Cr(M.style))for(const $ in M.style)M.style[$]}let W;(W=M&&M.onVnodeBeforeMount)&&zt(W,x,w),G&&In(w,null,x,"beforeMount"),((W=M&&M.onVnodeMounted)||G||L)&&_0(()=>{W&&zt(W,x,w),L&&N.enter(m),G&&In(w,null,x,"mounted")},S)}return m.nextSibling},d=(m,w,x,S,E,T,A)=>{A=A||!!w.dynamicChildren;const M=w.children,j=M.length;for(let R=0;R<j;R++){const G=A?M[R]:M[R]=Yt(M[R]),N=G.type===Qr;m?(N&&!A&&R+1<j&&Yt(M[R+1]).type===Qr&&(l(s(m.data.slice(G.children.length)),x,o(m)),m.data=G.children),m=f(m,G,S,E,T,A)):N&&!G.children?l(G.el=s(""),x):(mi(x,1)||ds(),n(null,G,x,null,S,E,gi(x),T))}return m},h=(m,w,x,S,E,T)=>{const{slotScopeIds:A}=w;A&&(E=E?E.concat(A):A);const M=i(m),j=d(o(m),w,M,x,S,E,T);return j&&ws(j)&&j.data==="]"?o(w.anchor=j):(ds(),l(w.anchor=u("]"),M,j),j)},g=(m,w,x,S,E,T)=>{if(mi(m.parentElement,1)||ds(),w.el=null,T){const j=y(m);for(;;){const R=o(m);if(R&&R!==j)a(R);else break}}const A=o(m),M=i(m);return a(m),n(null,w,M,A,x,S,gi(M),E),x&&(x.vnode.el=w.el,Ya(x,w.el)),A},y=(m,w="[",x="]")=>{let S=0;for(;m;)if(m=o(m),m&&ws(m)&&(m.data===w&&S++,m.data===x)){if(S===0)return o(m);S--}return m},b=(m,w,x)=>{const S=w.parentNode;S&&S.replaceChild(m,w);let E=x;for(;E;)E.vnode.el===w&&(E.vnode.el=E.subTree.el=m),E=E.parent},v=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,f]}const rd="data-allow-mismatch",C2={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function mi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(rd);)e=e.parentElement;const n=e&&e.getAttribute(rd);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(C2[t])}}ja().requestIdleCallback;ja().cancelIdleCallback;function k2(e,t){if(ws(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(ws(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const sr=e=>!!e.type.__asyncLoader;function wc(e){ge(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,f=0;const p=()=>(f++,u=null,d()),d=()=>{let h;return u||(h=u=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),l)return new Promise((y,b)=>{l(g,()=>y(p()),()=>b(g),f+1)});throw g}).then(g=>h!==u&&u?u:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return me({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(h,g,y){let b=!1;(g.bu||(g.bu=[])).push(()=>b=!0);const v=()=>{b||y()},m=o?()=>{const w=o(v,x=>k2(h,x));w&&(g.bum||(g.bum=[])).push(w)}:v;c?m():d().then(()=>!g.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const h=St;if(Hu(h),c)return()=>yi(c,h);const g=m=>{u=null,zs(m,h,13,!r)};if(a&&h.suspense||ts)return d().then(m=>()=>yi(m,h)).catch(m=>(g(m),()=>r?re(r,{error:m}):null));const y=J(!1),b=J(),v=J(!!s);return s&&setTimeout(()=>{v.value=!1},s),i!=null&&setTimeout(()=>{if(!y.value&&!b.value){const m=new Error(`Async component timed out after ${i}ms.`);g(m),b.value=m}},i),d().then(()=>{y.value=!0,h.parent&&ri(h.parent.vnode)&&h.parent.update()}).catch(m=>{g(m),b.value=m}),()=>{if(y.value&&c)return yi(c,h);if(b.value&&r)return re(r,{error:b.value});if(n&&!v.value)return yi(n,h)}}})}function yi(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=re(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ri=e=>e.type.__isKeepAlive,S2={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=dt(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,p=f("div");r.activate=(v,m,w,x,S)=>{const E=v.component;u(v,m,w,0,a),l(E.vnode,v,m,w,E,a,x,v.slotScopeIds,S),ot(()=>{E.isDeactivated=!1,E.a&&bo(E.a);const T=v.props&&v.props.onVnodeMounted;T&&zt(T,E.parent,v)},a)},r.deactivate=v=>{const m=v.component;oa(m.m),oa(m.a),u(v,p,null,1,a),ot(()=>{m.da&&bo(m.da);const w=v.props&&v.props.onVnodeUnmounted;w&&zt(w,m.parent,v),m.isDeactivated=!0},a)};function d(v){Tl(v),c(v,n,a,!0)}function h(v){s.forEach((m,w)=>{const x=Tc(sr(m)?m.type.__asyncResolved||{}:m.type);x&&!v(x)&&g(w)})}function g(v){const m=s.get(v);m&&(!i||!hn(m,i))?d(m):i&&Tl(i),s.delete(v),o.delete(v)}Be(()=>[e.include,e.exclude],([v,m])=>{v&&h(w=>po(v,w)),m&&h(w=>!po(m,w))},{flush:"post",deep:!0});let y=null;const b=()=>{y!=null&&(ia(n.subTree.type)?ot(()=>{s.set(y,vi(n.subTree))},n.subTree.suspense):s.set(y,vi(n.subTree)))};return Mt(b),Vu(b),Hs(()=>{s.forEach(v=>{const{subTree:m,suspense:w}=n,x=vi(m);if(v.type===x.type&&v.key===x.key){Tl(x);const S=x.component.da;S&&ot(S,w);return}d(v)})}),()=>{if(y=null,!t.default)return i=null;const v=t.default(),m=v[0];if(v.length>1)return i=null,v;if(!es(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return i=null,m;let w=vi(m);if(w.type===it)return i=null,w;const x=w.type,S=Tc(sr(w)?w.type.__asyncResolved||{}:x),{include:E,exclude:T,max:A}=e;if(E&&(!S||!po(E,S))||T&&S&&po(T,S))return w.shapeFlag&=-257,i=w,m;const M=w.key==null?x:w.key,j=s.get(M);return w.el&&(w=qn(w),m.shapeFlag&128&&(m.ssContent=w)),y=M,j?(w.el=j.el,w.component=j.component,w.transition&&Os(w,w.transition),w.shapeFlag|=512,o.delete(M),o.add(M)):(o.add(M),A&&o.size>parseInt(A,10)&&g(o.values().next().value)),w.shapeFlag|=256,i=w,ia(m.type)?m:w}}},E2=S2;function po(e,t){return pe(e)?e.some(n=>po(n,t)):Ye(e)?e.split(",").includes(t):_v(e)?(e.lastIndex=0,e.test(t)):!1}function Gg(e,t){Kg(e,"a",t)}function Wg(e,t){Kg(e,"da",t)}function Kg(e,t,n=St){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ka(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ri(s.parent.vnode)&&A2(r,t,n,s),s=s.parent}}function A2(e,t,n,r){const s=Ka(t,e,r,!0);os(()=>{Nu(r[t],s)},n)}function Tl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function vi(e){return e.shapeFlag&128?e.ssContent:e}function Ka(e,t,n=St,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{or();const a=Us(n),l=xn(t,n,e,i);return a(),ir(),l});return r?s.unshift(o):s.push(o),o}}const ur=e=>(t,n=St)=>{(!ts||e==="sp")&&Ka(e,(...r)=>t(...r),n)},Xg=ur("bm"),Mt=ur("m"),T2=ur("bu"),Vu=ur("u"),Hs=ur("bum"),os=ur("um"),P2=ur("sp"),R2=ur("rtg"),I2=ur("rtc");function Yg(e,t=St){Ka("ec",e,t)}const Jg="components";function sd(e,t){return Zg(Jg,e,!0,t)||e}const Qg=Symbol.for("v-ndc");function Nn(e){return Ye(e)?Zg(Jg,e,!1)||e:e||Qg}function Zg(e,t,n=!0,r=!1){const s=Et||St;if(s){const o=s.type;{const a=Tc(o,!1);if(a&&(a===t||a===xt(t)||a===Fa(xt(t))))return o}const i=od(s[e]||o[e],t)||od(s.appContext[e],t);return!i&&r?o:i}}function od(e,t){return e&&(e[t]||e[xt(t)]||e[Fa(xt(t))])}function Ar(e,t,n,r){let s;const o=n,i=pe(e);if(i||Ye(e)){const a=i&&Cr(e);let l=!1,u=!1;a&&(l=!Qt(e),u=jn(e),e=Ha(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?Is(wn(e[c])):wn(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(Me(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];s[l]=t(e[c],c,l,o)}}else s=[];return s}function ce(e,t,n={},r,s){if(Et.ce||Et.parent&&sr(Et.parent)&&Et.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),D(),X(qe,null,[re("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),D();const i=o&&e0(o(n)),a=n.key||i&&i.key,l=X(qe,{key:(a&&!tn(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function e0(e){return e.some(t=>es(t)?!(t.type===it||t.type===qe&&!e0(t.children)):!0)?e:null}function O2(e,t){const n={};for(const r in e)n[vo(r)]=e[r];return n}const xc=e=>e?A0(e)?Ja(e):xc(e.parent):null,Co=ut(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=>xc(e.parent),$root:e=>xc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>n0(e),$forceUpdate:e=>e.f||(e.f=()=>{zu(e.update)}),$nextTick:e=>e.n||(e.n=At.bind(e.proxy)),$watch:e=>h2.bind(e)}),Pl=(e,t)=>e!==Oe&&!e.__isScriptSetup&&$e(e,t),M2={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Pl(r,t))return i[t]=1,r[t];if(s!==Oe&&$e(s,t))return i[t]=2,s[t];if($e(o,t))return i[t]=3,o[t];if(n!==Oe&&$e(n,t))return i[t]=4,n[t];Cc&&(i[t]=0)}}const u=Co[t];let c,f;if(u)return t==="$attrs"&&It(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Oe&&$e(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,$e(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Pl(s,t)?(s[t]=n,!0):r!==Oe&&$e(r,t)?(r[t]=n,!0):$e(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},a){let l;return!!(n[a]||e!==Oe&&a[0]!=="$"&&$e(e,a)||Pl(t,a)||$e(o,a)||$e(r,a)||$e(Co,a)||$e(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vs(){return N2().slots}function N2(e){const t=dt();return t.setupContext||(t.setupContext=P0(t))}function $o(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function L2(e,t){const n=$o(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?pe(s)||ge(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function _c(e,t){return!e||!t?e||t:pe(e)&&pe(t)?e.concat(t):ut({},$o(e),$o(t))}function id(e){const t=dt(),n=ts;let r=e();ca(),n&&Es(!1);const s=()=>{Us(t),n&&Es(!0)},o=()=>{dt()!==t&&t.scope.off(),ca(),n&&Es(!1)};return Lu(r)&&(r=r.catch(i=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(o)),i})),[r,()=>{s(),Promise.resolve().then(o)}]}let Cc=!0;function $2(e){const t=n0(e),n=e.proxy,r=e.ctx;Cc=!1,t.beforeCreate&&ad(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:v,destroyed:m,unmounted:w,render:x,renderTracked:S,renderTriggered:E,errorCaptured:T,serverPrefetch:A,expose:M,inheritAttrs:j,components:R,directives:G,filters:N}=t;if(u&&D2(u,r,null),i)for(const W in i){const $=i[W];ge($)&&(r[W]=$.bind(n))}if(s){const W=s.call(n,n);Me(W)&&(e.data=_t(W))}if(Cc=!0,o)for(const W in o){const $=o[W],ie=ge($)?$.bind(n,n):ge($.get)?$.get.bind(n,n):Dn,te=!ge($)&&ge($.set)?$.set.bind(n):Dn,Ze=P({get:ie,set:te});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:Ne=>Ze.value=Ne})}if(a)for(const W in a)t0(a[W],r,n,W);if(l){const W=ge(l)?l.call(n):l;Reflect.ownKeys(W).forEach($=>{Zt($,W[$])})}c&&ad(c,e,"c");function L(W,$){pe($)?$.forEach(ie=>W(ie.bind(n))):$&&W($.bind(n))}if(L(Xg,f),L(Mt,p),L(T2,d),L(Vu,h),L(Gg,g),L(Wg,y),L(Yg,T),L(I2,S),L(R2,E),L(Hs,v),L(os,w),L(P2,A),pe(M))if(M.length){const W=e.exposed||(e.exposed={});M.forEach($=>{Object.defineProperty(W,$,{get:()=>n[$],set:ie=>n[$]=ie,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===Dn&&(e.render=x),j!=null&&(e.inheritAttrs=j),R&&(e.components=R),G&&(e.directives=G),A&&Hu(e)}function D2(e,t,n=Dn){pe(e)&&(e=kc(e));for(const r in e){const s=e[r];let o;Me(s)?"default"in s?o=Ve(s.from||r,s.default,!0):o=Ve(s.from||r):o=Ve(s),Xe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function ad(e,t,n){xn(pe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function t0(e,t,n,r){let s=r.includes(".")?Ng(n,r):()=>n[r];if(Ye(e)){const o=t[e];ge(o)&&Be(s,o)}else if(ge(e))Be(s,e.bind(n));else if(Me(e))if(pe(e))e.forEach(o=>t0(o,t,n,r));else{const o=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(o)&&Be(s,o,e)}}function n0(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>sa(l,u,i,!0)),sa(l,t,i)),Me(t)&&o.set(t,l),l}function sa(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&sa(e,o,n,!0),s&&s.forEach(i=>sa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=B2[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const B2={data:ld,props:cd,emits:cd,methods:ho,computed:ho,beforeCreate:Lt,created:Lt,beforeMount:Lt,mounted:Lt,beforeUpdate:Lt,updated:Lt,beforeDestroy:Lt,beforeUnmount:Lt,destroyed:Lt,unmounted:Lt,activated:Lt,deactivated:Lt,errorCaptured:Lt,serverPrefetch:Lt,components:ho,directives:ho,watch:j2,provide:ld,inject:F2};function ld(e,t){return t?e?function(){return ut(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function F2(e,t){return ho(kc(e),kc(t))}function kc(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Lt(e,t){return e?[...new Set([].concat(e,t))]:t}function ho(e,t){return e?ut(Object.create(null),e,t):t}function cd(e,t){return e?pe(e)&&pe(t)?[...new Set([...e,...t])]:ut(Object.create(null),$o(e),$o(t??{})):t}function j2(e,t){if(!e)return t;if(!t)return e;const n=ut(Object.create(null),e);for(const r in t)n[r]=Lt(e[r],t[r]);return n}function r0(){return{app:null,config:{isNativeTag:Zh,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 q2=0;function z2(e,t){return function(r,s=null){ge(r)||(r=ut({},r)),s!=null&&!Me(s)&&(s=null);const o=r0(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:q2++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:vb,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&ge(c.install)?(i.add(c),c.install(u,...f)):ge(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,p){if(!l){const d=u._ceVNode||re(r,s);return d.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,c):e(d,c,p),l=!0,u._container=c,c.__vue_app__=u,Ja(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(xn(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=Jr;Jr=u;try{return c()}finally{Jr=f}}};return u}}let Jr=null;function s0(e,t,n=Oe){const r=dt(),s=xt(t),o=Rr(t),i=o0(e,s),a=qu((l,u)=>{let c,f=Oe,p;return p2(()=>{const d=e[s];Rt(c,d)&&(c=d,u())}),{get(){return l(),n.get?n.get(c):c},set(d){const h=n.set?n.set(d):d;if(!Rt(h,c)&&!(f!==Oe&&Rt(d,f)))return;const g=r.vnode.props;g&&(t in g||s in g||o in g)&&(`onUpdate:${t}`in g||`onUpdate:${s}`in g||`onUpdate:${o}`in g)||(c=d,u()),r.emit(`update:${t}`,h),Rt(d,h)&&Rt(d,f)&&!Rt(h,p)&&u(),f=d,p=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Oe:a,done:!1}:{done:!0}}}},a}const o0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Rr(t)}Modifiers`];function H2(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Oe;let s=n;const o=t.startsWith("update:"),i=o&&o0(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>Ye(c)?c.trim():c)),i.number&&(s=n.map(Ev)));let a,l=r[a=vo(t)]||r[a=vo(xt(t))];!l&&o&&(l=r[a=vo(Rr(t))]),l&&xn(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,xn(u,e,6,s)}}const V2=new WeakMap;function i0(e,t,n=!1){const r=n?V2:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ge(e)){const l=u=>{const c=i0(u,t,!0);c&&(a=!0,ut(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(Me(e)&&r.set(e,null),null):(pe(o)?o.forEach(l=>i[l]=null):ut(i,o),Me(e)&&r.set(e,i),i)}function Xa(e,t){return!e||!Zo(t)?!1:(t=t.slice(2).replace(/Once$/,""),$e(e,t[0].toLowerCase()+t.slice(1))||$e(e,Rr(t))||$e(e,t))}function Rl(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:f,data:p,setupState:d,ctx:h,inheritAttrs:g}=e,y=na(e);let b,v;try{if(n.shapeFlag&4){const w=s||r,x=w;b=Yt(u.call(x,w,c,f,d,p,h)),v=a}else{const w=t;b=Yt(w.length>1?w(f,{attrs:a,slots:i,emit:l}):w(f,null)),v=t.props?a:G2(a)}}catch(w){So.length=0,zs(w,e,1),b=re(it)}let m=b;if(v&&g!==!1){const w=Object.keys(v),{shapeFlag:x}=m;w.length&&x&7&&(o&&w.some($a)&&(v=W2(v,o)),m=qn(m,v,!1,!0))}return n.dirs&&(m=qn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&Os(m,n.transition),b=m,na(y),b}function U2(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(es(s)){if(s.type!==it||s.children==="v-if"){if(n)return;n=s}}else return}return n}const G2=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zo(n))&&((t||(t={}))[n]=e[n]);return t},W2=(e,t)=>{const n={};for(const r in e)(!$a(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function K2(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?ud(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const p=c[f];if(a0(i,r,p)&&!Xa(u,p))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?ud(r,i,u):!0:!!i;return!1}function ud(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(a0(t,e,o)&&!Xa(n,o))return!0}return!1}function a0(e,t,n){const r=e[n],s=t[n];return n==="style"&&Me(r)&&Me(s)?!$u(r,s):r!==s}function Ya({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const l0={},c0=()=>Object.create(l0),u0=e=>Object.getPrototypeOf(e)===l0;function X2(e,t,n,r=!1){const s={},o=c0();e.propsDefaults=Object.create(null),f0(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:pn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Y2(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Re(s),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let p=c[f];if(Xa(e.emitsOptions,p))continue;const d=t[p];if(l)if($e(o,p))d!==o[p]&&(o[p]=d,u=!0);else{const h=xt(p);s[h]=Sc(l,a,h,d,e,!1)}else d!==o[p]&&(o[p]=d,u=!0)}}}else{f0(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!$e(t,f)&&((c=Rr(f))===f||!$e(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Sc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!$e(t,f))&&(delete o[f],u=!0)}u&&tr(e.attrs,"set","")}function f0(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Xr(l))continue;const u=t[l];let c;s&&$e(s,c=xt(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Xa(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=Re(n),u=a||Oe;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Sc(s,l,f,u[f],e,!$e(u,f))}}return i}function Sc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=$e(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ge(l)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const c=Us(s);r=u[n]=l.call(null,t),c()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Rr(n))&&(r=!0))}return r}const J2=new WeakMap;function d0(e,t,n=!1){const r=n?J2:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!ge(e)){const c=f=>{l=!0;const[p,d]=d0(f,t,!0);ut(i,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return Me(e)&&r.set(e,xs),xs;if(pe(o))for(let c=0;c<o.length;c++){const f=xt(o[c]);fd(f)&&(i[f]=Oe)}else if(o)for(const c in o){const f=xt(c);if(fd(f)){const p=o[c],d=i[f]=pe(p)||ge(p)?{type:p}:ut({},p),h=d.type;let g=!1,y=!0;if(pe(h))for(let b=0;b<h.length;++b){const v=h[b],m=ge(v)&&v.name;if(m==="Boolean"){g=!0;break}else m==="String"&&(y=!1)}else g=ge(h)&&h.name==="Boolean";d[0]=g,d[1]=y,(g||$e(d,"default"))&&a.push(f)}}const u=[i,a];return Me(e)&&r.set(e,u),u}function fd(e){return e[0]!=="$"&&!Xr(e)}const Uu=e=>e==="_"||e==="_ctx"||e==="$stable",Gu=e=>pe(e)?e.map(Yt):[Yt(e)],Q2=(e,t,n)=>{if(t._n)return t;const r=Z((...s)=>Gu(t(...s)),n);return r._c=!1,r},p0=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Uu(s))continue;const o=e[s];if(ge(o))t[s]=Q2(s,o,r);else if(o!=null){const i=Gu(o);t[s]=()=>i}}},h0=(e,t)=>{const n=Gu(t);e.slots.default=()=>n},g0=(e,t,n)=>{for(const r in t)(n||!Uu(r))&&(e[r]=t[r])},Z2=(e,t,n)=>{const r=e.slots=c0();if(e.vnode.shapeFlag&32){const s=t._;s?(g0(r,t,n),n&&rg(r,"_",s,!0)):p0(t,r)}else t&&h0(e,t)},eb=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Oe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:g0(s,t,n):(o=!t.$stable,p0(t,s)),i=t}else t&&(h0(e,t),i={default:1});if(o)for(const a in s)!Uu(a)&&i[a]==null&&delete s[a]},ot=_0;function tb(e){return m0(e)}function nb(e){return m0(e,_2)}function m0(e,t){const n=ja();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:p,setScopeId:d=Dn,insertStaticContent:h}=e,g=(C,k,O,z=null,F=null,H=null,ne=void 0,ee=null,Q=!!k.dynamicChildren)=>{if(C===k)return;C&&!hn(C,k)&&(z=B(C),Ne(C,F,H,!0),C=null),k.patchFlag===-2&&(Q=!1,k.dynamicChildren=null);const{type:V,ref:he,shapeFlag:se}=k;switch(V){case Qr:y(C,k,O,z);break;case it:b(C,k,O,z);break;case ko:C==null&&v(k,O,z,ne);break;case qe:R(C,k,O,z,F,H,ne,ee,Q);break;default:se&1?x(C,k,O,z,F,H,ne,ee,Q):se&6?G(C,k,O,z,F,H,ne,ee,Q):(se&64||se&128)&&V.process(C,k,O,z,F,H,ne,ee,Q,fe)}he!=null&&F?ks(he,C&&C.ref,H,k||C,!k):he==null&&C&&C.ref!=null&&ks(C.ref,null,H,C,!0)},y=(C,k,O,z)=>{if(C==null)r(k.el=a(k.children),O,z);else{const F=k.el=C.el;k.children!==C.children&&u(F,k.children)}},b=(C,k,O,z)=>{C==null?r(k.el=l(k.children||""),O,z):k.el=C.el},v=(C,k,O,z)=>{[C.el,C.anchor]=h(C.children,k,O,z,C.el,C.anchor)},m=({el:C,anchor:k},O,z)=>{let F;for(;C&&C!==k;)F=p(C),r(C,O,z),C=F;r(k,O,z)},w=({el:C,anchor:k})=>{let O;for(;C&&C!==k;)O=p(C),s(C),C=O;s(k)},x=(C,k,O,z,F,H,ne,ee,Q)=>{if(k.type==="svg"?ne="svg":k.type==="math"&&(ne="mathml"),C==null)S(k,O,z,F,H,ne,ee,Q);else{const V=C.el&&C.el._isVueCE?C.el:null;try{V&&V._beginPatch(),A(C,k,F,H,ne,ee,Q)}finally{V&&V._endPatch()}}},S=(C,k,O,z,F,H,ne,ee)=>{let Q,V;const{props:he,shapeFlag:se,transition:de,dirs:ye}=C;if(Q=C.el=i(C.type,H,he&&he.is,he),se&8?c(Q,C.children):se&16&&T(C.children,Q,null,z,F,Il(C,H),ne,ee),ye&&In(C,null,z,"created"),E(Q,C,C.scopeId,ne,z),he){for(const He in he)He!=="value"&&!Xr(He)&&o(Q,He,null,he[He],H,z);"value"in he&&o(Q,"value",null,he.value,H),(V=he.onVnodeBeforeMount)&&zt(V,z,C)}ye&&In(C,null,z,"beforeMount");const Ie=y0(F,de);Ie&&de.beforeEnter(Q),r(Q,k,O),((V=he&&he.onVnodeMounted)||Ie||ye)&&ot(()=>{V&&zt(V,z,C),Ie&&de.enter(Q),ye&&In(C,null,z,"mounted")},F)},E=(C,k,O,z,F)=>{if(O&&d(C,O),z)for(let H=0;H<z.length;H++)d(C,z[H]);if(F){let H=F.subTree;if(k===H||ia(H.type)&&(H.ssContent===k||H.ssFallback===k)){const ne=F.vnode;E(C,ne,ne.scopeId,ne.slotScopeIds,F.parent)}}},T=(C,k,O,z,F,H,ne,ee,Q=0)=>{for(let V=Q;V<C.length;V++){const he=C[V]=ee?Zn(C[V]):Yt(C[V]);g(null,he,k,O,z,F,H,ne,ee)}},A=(C,k,O,z,F,H,ne)=>{const ee=k.el=C.el;let{patchFlag:Q,dynamicChildren:V,dirs:he}=k;Q|=C.patchFlag&16;const se=C.props||Oe,de=k.props||Oe;let ye;if(O&&Mr(O,!1),(ye=de.onVnodeBeforeUpdate)&&zt(ye,O,k,C),he&&In(k,C,O,"beforeUpdate"),O&&Mr(O,!0),(se.innerHTML&&de.innerHTML==null||se.textContent&&de.textContent==null)&&c(ee,""),V?M(C.dynamicChildren,V,ee,O,z,Il(k,F),H):ne||$(C,k,ee,null,O,z,Il(k,F),H,!1),Q>0){if(Q&16)j(ee,se,de,O,F);else if(Q&2&&se.class!==de.class&&o(ee,"class",null,de.class,F),Q&4&&o(ee,"style",se.style,de.style,F),Q&8){const Ie=k.dynamicProps;for(let He=0;He<Ie.length;He++){const Ue=Ie[He],at=se[Ue],ht=de[Ue];(ht!==at||Ue==="value")&&o(ee,Ue,at,ht,F,O)}}Q&1&&C.children!==k.children&&c(ee,k.children)}else!ne&&V==null&&j(ee,se,de,O,F);((ye=de.onVnodeUpdated)||he)&&ot(()=>{ye&&zt(ye,O,k,C),he&&In(k,C,O,"updated")},z)},M=(C,k,O,z,F,H,ne)=>{for(let ee=0;ee<k.length;ee++){const Q=C[ee],V=k[ee],he=Q.el&&(Q.type===qe||!hn(Q,V)||Q.shapeFlag&198)?f(Q.el):O;g(Q,V,he,null,z,F,H,ne,!0)}},j=(C,k,O,z,F)=>{if(k!==O){if(k!==Oe)for(const H in k)!Xr(H)&&!(H in O)&&o(C,H,k[H],null,F,z);for(const H in O){if(Xr(H))continue;const ne=O[H],ee=k[H];ne!==ee&&H!=="value"&&o(C,H,ee,ne,F,z)}"value"in O&&o(C,"value",k.value,O.value,F)}},R=(C,k,O,z,F,H,ne,ee,Q)=>{const V=k.el=C?C.el:a(""),he=k.anchor=C?C.anchor:a("");let{patchFlag:se,dynamicChildren:de,slotScopeIds:ye}=k;ye&&(ee=ee?ee.concat(ye):ye),C==null?(r(V,O,z),r(he,O,z),T(k.children||[],O,he,F,H,ne,ee,Q)):se>0&&se&64&&de&&C.dynamicChildren&&C.dynamicChildren.length===de.length?(M(C.dynamicChildren,de,O,F,H,ne,ee),(k.key!=null||F&&k===F.subTree)&&Wu(C,k,!0)):$(C,k,O,he,F,H,ne,ee,Q)},G=(C,k,O,z,F,H,ne,ee,Q)=>{k.slotScopeIds=ee,C==null?k.shapeFlag&512?F.ctx.activate(k,O,z,ne,Q):N(k,O,z,F,H,ne,Q):q(C,k,Q)},N=(C,k,O,z,F,H,ne)=>{const ee=C.component=pb(C,z,F);if(ri(C)&&(ee.ctx.renderer=fe),hb(ee,!1,ne),ee.asyncDep){if(F&&F.registerDep(ee,L,ne),!C.el){const Q=ee.subTree=re(it);b(null,Q,k,O),C.placeholder=Q.el}}else L(ee,C,k,O,F,H,ne)},q=(C,k,O)=>{const z=k.component=C.component;if(K2(C,k,O))if(z.asyncDep&&!z.asyncResolved){W(z,k,O);return}else z.next=k,z.update();else k.el=C.el,z.vnode=k},L=(C,k,O,z,F,H,ne)=>{const ee=()=>{if(C.isMounted){let{next:se,bu:de,u:ye,parent:Ie,vnode:He}=C;{const Wt=v0(C);if(Wt){se&&(se.el=He.el,W(C,se,ne)),Wt.asyncDep.then(()=>{ot(()=>{C.isUnmounted||V()},F)});return}}let Ue=se,at;Mr(C,!1),se?(se.el=He.el,W(C,se,ne)):se=He,de&&bo(de),(at=se.props&&se.props.onVnodeBeforeUpdate)&&zt(at,Ie,se,He),Mr(C,!0);const ht=Rl(C),dn=C.subTree;C.subTree=ht,g(dn,ht,f(dn.el),B(dn),C,F,H),se.el=ht.el,Ue===null&&Ya(C,ht.el),ye&&ot(ye,F),(at=se.props&&se.props.onVnodeUpdated)&&ot(()=>zt(at,Ie,se,He),F)}else{let se;const{el:de,props:ye}=k,{bm:Ie,m:He,parent:Ue,root:at,type:ht}=C,dn=sr(k);if(Mr(C,!1),Ie&&bo(Ie),!dn&&(se=ye&&ye.onVnodeBeforeMount)&&zt(se,Ue,k),Mr(C,!0),de&&Fe){const Wt=()=>{C.subTree=Rl(C),Fe(de,C.subTree,C,F,null)};dn&&ht.__asyncHydrate?ht.__asyncHydrate(de,C,Wt):Wt()}else{at.ce&&at.ce._hasShadowRoot()&&at.ce._injectChildStyle(ht,C.parent?C.parent.type:void 0);const Wt=C.subTree=Rl(C);g(null,Wt,O,z,C,F,H),k.el=Wt.el}if(He&&ot(He,F),!dn&&(se=ye&&ye.onVnodeMounted)){const Wt=k;ot(()=>zt(se,Ue,Wt),F)}(k.shapeFlag&256||Ue&&sr(Ue.vnode)&&Ue.vnode.shapeFlag&256)&&C.a&&ot(C.a,F),C.isMounted=!0,k=O=z=null}};C.scope.on();const Q=C.effect=new ug(ee);C.scope.off();const V=C.update=Q.run.bind(Q),he=C.job=Q.runIfDirty.bind(Q);he.i=C,he.id=C.uid,Q.scheduler=()=>zu(he),Mr(C,!0),V()},W=(C,k,O)=>{k.component=C;const z=C.vnode.props;C.vnode=k,C.next=null,Y2(C,k.props,z,O),eb(C,k.children,O),or(),Xf(C),ir()},$=(C,k,O,z,F,H,ne,ee,Q=!1)=>{const V=C&&C.children,he=C?C.shapeFlag:0,se=k.children,{patchFlag:de,shapeFlag:ye}=k;if(de>0){if(de&128){te(V,se,O,z,F,H,ne,ee,Q);return}else if(de&256){ie(V,se,O,z,F,H,ne,ee,Q);return}}ye&8?(he&16&&Pe(V,F,H),se!==V&&c(O,se)):he&16?ye&16?te(V,se,O,z,F,H,ne,ee,Q):Pe(V,F,H,!0):(he&8&&c(O,""),ye&16&&T(se,O,z,F,H,ne,ee,Q))},ie=(C,k,O,z,F,H,ne,ee,Q)=>{C=C||xs,k=k||xs;const V=C.length,he=k.length,se=Math.min(V,he);let de;for(de=0;de<se;de++){const ye=k[de]=Q?Zn(k[de]):Yt(k[de]);g(C[de],ye,O,null,F,H,ne,ee,Q)}V>he?Pe(C,F,H,!0,!1,se):T(k,O,z,F,H,ne,ee,Q,se)},te=(C,k,O,z,F,H,ne,ee,Q)=>{let V=0;const he=k.length;let se=C.length-1,de=he-1;for(;V<=se&&V<=de;){const ye=C[V],Ie=k[V]=Q?Zn(k[V]):Yt(k[V]);if(hn(ye,Ie))g(ye,Ie,O,null,F,H,ne,ee,Q);else break;V++}for(;V<=se&&V<=de;){const ye=C[se],Ie=k[de]=Q?Zn(k[de]):Yt(k[de]);if(hn(ye,Ie))g(ye,Ie,O,null,F,H,ne,ee,Q);else break;se--,de--}if(V>se){if(V<=de){const ye=de+1,Ie=ye<he?k[ye].el:z;for(;V<=de;)g(null,k[V]=Q?Zn(k[V]):Yt(k[V]),O,Ie,F,H,ne,ee,Q),V++}}else if(V>de)for(;V<=se;)Ne(C[V],F,H,!0),V++;else{const ye=V,Ie=V,He=new Map;for(V=Ie;V<=de;V++){const Kt=k[V]=Q?Zn(k[V]):Yt(k[V]);Kt.key!=null&&He.set(Kt.key,V)}let Ue,at=0;const ht=de-Ie+1;let dn=!1,Wt=0;const Qs=new Array(ht);for(V=0;V<ht;V++)Qs[V]=0;for(V=ye;V<=se;V++){const Kt=C[V];if(at>=ht){Ne(Kt,F,H,!0);continue}let Tn;if(Kt.key!=null)Tn=He.get(Kt.key);else for(Ue=Ie;Ue<=de;Ue++)if(Qs[Ue-Ie]===0&&hn(Kt,k[Ue])){Tn=Ue;break}Tn===void 0?Ne(Kt,F,H,!0):(Qs[Tn-Ie]=V+1,Tn>=Wt?Wt=Tn:dn=!0,g(Kt,k[Tn],O,null,F,H,ne,ee,Q),at++)}const zf=dn?rb(Qs):xs;for(Ue=zf.length-1,V=ht-1;V>=0;V--){const Kt=Ie+V,Tn=k[Kt],Hf=k[Kt+1],Vf=Kt+1<he?Hf.el||b0(Hf):z;Qs[V]===0?g(null,Tn,O,Vf,F,H,ne,ee,Q):dn&&(Ue<0||V!==zf[Ue]?Ze(Tn,O,Vf,2):Ue--)}}},Ze=(C,k,O,z,F=null)=>{const{el:H,type:ne,transition:ee,children:Q,shapeFlag:V}=C;if(V&6){Ze(C.component.subTree,k,O,z);return}if(V&128){C.suspense.move(k,O,z);return}if(V&64){ne.move(C,k,O,fe);return}if(ne===qe){r(H,k,O);for(let se=0;se<Q.length;se++)Ze(Q[se],k,O,z);r(C.anchor,k,O);return}if(ne===ko){m(C,k,O);return}if(z!==2&&V&1&&ee)if(z===0)ee.beforeEnter(H),r(H,k,O),ot(()=>ee.enter(H),F);else{const{leave:se,delayLeave:de,afterLeave:ye}=ee,Ie=()=>{C.ctx.isUnmounted?s(H):r(H,k,O)},He=()=>{H._isLeaving&&H[On](!0),se(H,()=>{Ie(),ye&&ye()})};de?de(H,Ie,He):He()}else r(H,k,O)},Ne=(C,k,O,z=!1,F=!1)=>{const{type:H,props:ne,ref:ee,children:Q,dynamicChildren:V,shapeFlag:he,patchFlag:se,dirs:de,cacheIndex:ye,memo:Ie}=C;if(se===-2&&(F=!1),ee!=null&&(or(),ks(ee,null,O,C,!0),ir()),ye!=null&&(k.renderCache[ye]=void 0),he&256){k.ctx.deactivate(C);return}const He=he&1&&de,Ue=!sr(C);let at;if(Ue&&(at=ne&&ne.onVnodeBeforeUnmount)&&zt(at,k,C),he&6)Te(C.component,O,z);else{if(he&128){C.suspense.unmount(O,z);return}He&&In(C,null,k,"beforeUnmount"),he&64?C.type.remove(C,k,O,fe,z):V&&!V.hasOnce&&(H!==qe||se>0&&se&64)?Pe(V,k,O,!1,!0):(H===qe&&se&384||!F&&he&16)&&Pe(Q,k,O),z&&pt(C)}const ht=Ie!=null&&ye==null;(Ue&&(at=ne&&ne.onVnodeUnmounted)||He||ht)&&ot(()=>{at&&zt(at,k,C),He&&In(C,null,k,"unmounted"),ht&&(C.el=null)},O)},pt=C=>{const{type:k,el:O,anchor:z,transition:F}=C;if(k===qe){kt(O,z);return}if(k===ko){w(C);return}const H=()=>{s(O),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(C.shapeFlag&1&&F&&!F.persisted){const{leave:ne,delayLeave:ee}=F,Q=()=>ne(O,H);ee?ee(C.el,H,Q):Q()}else H()},kt=(C,k)=>{let O;for(;C!==k;)O=p(C),s(C),C=O;s(k)},Te=(C,k,O)=>{const{bum:z,scope:F,job:H,subTree:ne,um:ee,m:Q,a:V}=C;oa(Q),oa(V),z&&bo(z),F.stop(),H&&(H.flags|=8,Ne(ne,C,k,O)),ee&&ot(ee,k),ot(()=>{C.isUnmounted=!0},k)},Pe=(C,k,O,z=!1,F=!1,H=0)=>{for(let ne=H;ne<C.length;ne++)Ne(C[ne],k,O,z,F)},B=C=>{if(C.shapeFlag&6)return B(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const k=p(C.anchor||C.el),O=k&&k[Lg];return O?p(O):k};let oe=!1;const Y=(C,k,O)=>{let z;C==null?k._vnode&&(Ne(k._vnode,null,null,!0),z=k._vnode.component):g(k._vnode||null,C,k,null,null,null,O),k._vnode=C,oe||(oe=!0,Xf(z),ta(),oe=!1)},fe={p:g,um:Ne,m:Ze,r:pt,mt:N,mc:T,pc:$,pbc:M,n:B,o:e};let we,Fe;return t&&([we,Fe]=t(fe)),{render:Y,hydrate:we,createApp:z2(Y,we)}}function Il({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 Mr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function y0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wu(e,t,n=!1){const r=e.children,s=t.children;if(pe(r)&&pe(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Zn(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Wu(i,a)),a.type===Qr&&(a.patchFlag===-1&&(a=s[o]=Zn(a)),a.el=i.el),a.type===it&&!a.el&&(a.el=i.el)}}function rb(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<u?o=a+1:i=a;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function v0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:v0(t)}function oa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function b0(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?b0(t.subTree):null}const ia=e=>e.__isSuspense;let Ec=0;const sb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)ob(t,n,r,s,o,i,a,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ib(e,t,n,r,s,i,a,l,u)}},hydrate:ab,normalize:lb},w0=sb;function Do(e,t){const n=e.props&&e.props[t];ge(n)&&n()}function ob(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),p=e.suspense=x0(e,s,r,t,f,n,o,i,a,l);u(null,p.pendingBranch=e.ssContent,f,null,r,p,o,i),p.deps>0?(Do(e,"onPending"),Do(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Ss(p,e.ssFallback)):p.resolve(!1,!0)}function ib(e,t,n,r,s,o,i,a,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:y,isHydrating:b}=f;if(g)f.pendingBranch=p,hn(g,p)?(l(g,p,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():y&&(b||(l(h,d,n,r,s,null,o,i,a),Ss(f,d)))):(f.pendingId=Ec++,b?(f.isHydrating=!1,f.activeBranch=g):u(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),y?(l(null,p,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,d,n,r,s,null,o,i,a),Ss(f,d))):h&&hn(h,p)?(l(h,p,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,p,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&hn(h,p))l(h,p,n,r,s,f,o,i,a),Ss(f,p);else if(Do(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=Ec++,l(null,p,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:m}=f;v>0?setTimeout(()=>{f.pendingId===m&&f.fallback(d)},v):v===0&&f.fallback(d)}}function x0(e,t,n,r,s,o,i,a,l,u,c=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:g,remove:y}}=u;let b;const v=cb(e);v&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const m=e.props?sg(e.props.timeout):void 0,w=o,x={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Ec++,timeout:typeof m=="number"?m:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(S=!1,E=!1){const{vnode:T,activeBranch:A,pendingBranch:M,pendingId:j,effects:R,parentComponent:G,container:N,isInFallback:q}=x;let L=!1;x.isHydrating?x.isHydrating=!1:S||(L=A&&M.transition&&M.transition.mode==="out-in",L&&(A.transition.afterLeave=()=>{j===x.pendingId&&(p(M,N,o===w?h(A):o,0),No(R),q&&T.ssFallback&&(T.ssFallback.el=null))}),A&&!x.isFallbackMountPending&&(g(A.el)===N&&(o=h(A)),d(A,G,x,!0),!L&&q&&T.ssFallback&&ot(()=>T.ssFallback.el=null,x)),L||p(M,N,o,0)),x.isFallbackMountPending=!1,Ss(x,M),x.pendingBranch=null,x.isInFallback=!1;let W=x.parent,$=!1;for(;W;){if(W.pendingBranch){W.effects.push(...R),$=!0;break}W=W.parent}!$&&!L&&No(R),x.effects=[],v&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Do(T,"onResolve")},fallback(S){if(!x.pendingBranch)return;const{vnode:E,activeBranch:T,parentComponent:A,container:M,namespace:j}=x;Do(E,"onFallback");const R=h(T),G=()=>{x.isFallbackMountPending=!1,x.isInFallback&&(f(null,S,M,R,A,null,j,a,l),Ss(x,S))},N=S.transition&&S.transition.mode==="out-in";N&&(x.isFallbackMountPending=!0,T.transition.afterLeave=G),x.isInFallback=!0,d(T,A,null,!0),N||G()},move(S,E,T){x.activeBranch&&p(x.activeBranch,S,E,T),x.container=S},next(){return x.activeBranch&&h(x.activeBranch)},registerDep(S,E,T){const A=!!x.pendingBranch;A&&x.deps++;const M=S.vnode.el;S.asyncDep.catch(j=>{zs(j,S,0)}).then(j=>{if(S.isUnmounted||x.isUnmounted||x.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:R}=S;Ac(S,j),M&&(R.el=M);const G=!M&&S.subTree.el;E(S,R,g(M||S.subTree.el),M?null:h(S.subTree),x,i,T),G&&(R.placeholder=null,y(G)),Ya(S,R.el),A&&--x.deps===0&&x.resolve()})},unmount(S,E){x.isUnmounted=!0,x.activeBranch&&d(x.activeBranch,n,S,E),x.pendingBranch&&d(x.pendingBranch,n,S,E)}};return x}function ab(e,t,n,r,s,o,i,a,l){const u=t.suspense=x0(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,i);return u.deps===0&&u.resolve(!1,!0),c}function lb(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=dd(r?n.default:n),e.ssFallback=r?dd(n.fallback):re(it)}function dd(e){let t;if(ge(e)){const n=Ms&&e._c;n&&(e._d=!1,D()),e=e(),n&&(e._d=!0,t=Ht,C0())}return pe(e)&&(e=U2(e)),e=Yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function _0(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):No(e)}function Ss(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Ya(r,s))}function cb(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const qe=Symbol.for("v-fgt"),Qr=Symbol.for("v-txt"),it=Symbol.for("v-cmt"),ko=Symbol.for("v-stc"),So=[];let Ht=null;function D(e=!1){So.push(Ht=e?null:[])}function C0(){So.pop(),Ht=So[So.length-1]||null}let Ms=1;function aa(e,t=!1){Ms+=e,e<0&&Ht&&t&&(Ht.hasOnce=!0)}function k0(e){return e.dynamicChildren=Ms>0?Ht||xs:null,C0(),Ms>0&&Ht&&Ht.push(e),e}function Ee(e,t,n,r,s,o){return k0(xe(e,t,n,r,s,o,!0))}function X(e,t,n,r,s){return k0(re(e,t,n,r,s,!0))}function es(e){return e?e.__v_isVNode===!0:!1}function hn(e,t){return e.type===t.type&&e.key===t.key}const S0=({key:e})=>e??null,Hi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||Xe(e)||ge(e)?{i:Et,r:e,k:t,f:!!n}:e:null);function xe(e,t=null,n=null,r=0,s=null,o=e===qe?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&S0(t),ref:t&&Hi(t),scopeId:Og,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Et};return a?(Ku(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ye(n)?8:16),Ms>0&&!i&&Ht&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ht.push(l),l}const re=ub;function ub(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Qg)&&(e=it),es(e)){const a=qn(e,t,!0);return n&&Ku(a,n),Ms>0&&!o&&Ht&&(a.shapeFlag&6?Ht[Ht.indexOf(e)]=a:Ht.push(a)),a.patchFlag=-2,a}if(yb(e)&&(e=e.__vccOpts),t){t=En(t);let{class:a,style:l}=t;a&&!Ye(a)&&(t.class=ke(a)),Me(l)&&(Ga(l)&&!pe(l)&&(l=ut({},l)),t.style=bn(l))}const i=Ye(e)?1:ia(e)?128:$g(e)?64:Me(e)?4:ge(e)?2:0;return xe(e,t,n,r,s,i,o,!0)}function En(e){return e?Ga(e)||u0(e)?ut({},e):e:null}function qn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,u=t?ve(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&S0(u),ref:t&&t.ref?n&&o?pe(o)?o.concat(Hi(t)):[o,Hi(t)]:Hi(t):o,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!==qe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qn(e.ssContent),ssFallback:e.ssFallback&&qn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Os(c,l.clone(c)),c}function Ft(e=" ",t=0){return re(Qr,null,e,t)}function E0(e,t){const n=re(ko,null,e);return n.staticCount=t,n}function Ce(e="",t=!1){return t?(D(),X(it,null,e)):re(it,null,e)}function Yt(e){return e==null||typeof e=="boolean"?re(it):pe(e)?re(qe,null,e.slice()):es(e)?Zn(e):re(Qr,null,String(e))}function Zn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Ku(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(pe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ku(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!u0(t)?t._ctx=Et:s===3&&Et&&(Et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:Et},n=32):(t=String(t),r&64?(n=16,t=[Ft(t)]):n=8);e.children=t,e.shapeFlag|=n}function ve(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ke([t.class,r.class]));else if(s==="style")t.style=bn([t.style,r.style]);else if(Zo(s)){const o=t[s],i=r[s];i&&o!==i&&!(pe(o)&&o.includes(i))?t[s]=o?[].concat(o,i):i:i==null&&o==null&&!$a(s)&&(t[s]=i)}else s!==""&&(t[s]=r[s])}return t}function zt(e,t,n,r=null){xn(e,t,7,[n,r])}const fb=r0();let db=0;function pb(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||fb,o={uid:db++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new lg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:d0(r,s),emitsOptions:i0(r,s),emit:null,emitted:null,propsDefaults:Oe,inheritAttrs:r.inheritAttrs,ctx:Oe,data:Oe,props:Oe,attrs:Oe,slots:Oe,refs:Oe,setupState:Oe,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=H2.bind(null,o),e.ce&&e.ce(o),o}let St=null;const dt=()=>St||Et;let la,Es;{const e=ja(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};la=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Es=t("__VUE_SSR_SETTERS__",n=>ts=n)}const Us=e=>{const t=St;return la(e),e.scope.on(),()=>{e.scope.off(),la(t)}},ca=()=>{St&&St.scope.off(),la(null)};function A0(e){return e.vnode.shapeFlag&4}let ts=!1;function hb(e,t=!1,n=!1){t&&Es(t);const{props:r,children:s}=e.vnode,o=A0(e);X2(e,r,o,t),Z2(e,s,n||t);const i=o?gb(e,t):void 0;return t&&Es(!1),i}function gb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,M2);const{setup:r}=n;if(r){or();const s=e.setupContext=r.length>1?P0(e):null,o=Us(e),i=ti(r,e,0,[e.props,s]),a=Lu(i);if(ir(),o(),(a||e.sp)&&!sr(e)&&Hu(e),a){if(i.then(ca,ca),t)return i.then(l=>{Ac(e,l)}).catch(l=>{zs(l,e,0)});e.asyncDep=i}else Ac(e,i)}else T0(e)}function Ac(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Me(t)&&(e.setupState=Ag(t)),T0(e)}function T0(e,t,n){const r=e.type;e.render||(e.render=r.render||Dn);{const s=Us(e);or();try{$2(e)}finally{ir(),s()}}}const mb={get(e,t){return It(e,"get",""),e[t]}};function P0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,mb),slots:e.slots,emit:e.emit,expose:t}}function Ja(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ag(ju(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Co)return Co[n](e)},has(t,n){return n in t||n in Co}})):e.proxy}function Tc(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function yb(e){return ge(e)&&"__vccOpts"in e}const P=(e,t)=>i2(e,t,ts);function Ke(e,t,n){try{aa(-1);const r=arguments.length;return r===2?Me(t)&&!pe(t)?es(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&es(n)&&(n=[n]),re(e,t,n))}finally{aa(1)}}const vb="3.5.31";let Pc;const pd=typeof window<"u"&&window.trustedTypes;if(pd)try{Pc=pd.createPolicy("vue",{createHTML:e=>e})}catch{}const R0=Pc?e=>Pc.createHTML(e):e=>e,bb="http://www.w3.org/2000/svg",wb="http://www.w3.org/1998/Math/MathML",Qn=typeof document<"u"?document:null,hd=Qn&&Qn.createElement("template"),xb={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Qn.createElementNS(bb,e):t==="mathml"?Qn.createElementNS(wb,e):n?Qn.createElement(e,{is:n}):Qn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Qn.createTextNode(e),createComment:e=>Qn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{hd.innerHTML=R0(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=hd.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},hr="transition",to="animation",Bo=Symbol("_vtc"),I0={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},_b=ut({},Fg,I0),Cb=e=>(e.displayName="Transition",e.props=_b,e),O0=Cb((e,{slots:t})=>Ke(b2,kb(e),t)),Nr=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},gd=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function kb(e){const t={};for(const R in e)R in I0||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=i,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,h=Sb(s),g=h&&h[0],y=h&&h[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:m,onLeave:w,onLeaveCancelled:x,onBeforeAppear:S=b,onAppear:E=v,onAppearCancelled:T=m}=t,A=(R,G,N,q)=>{R._enterCancelled=q,Lr(R,G?c:a),Lr(R,G?u:i),N&&N()},M=(R,G)=>{R._isLeaving=!1,Lr(R,f),Lr(R,d),Lr(R,p),G&&G()},j=R=>(G,N)=>{const q=R?E:v,L=()=>A(G,R,N);Nr(q,[G,L]),md(()=>{Lr(G,R?l:o),Gn(G,R?c:a),gd(q)||yd(G,r,g,L)})};return ut(t,{onBeforeEnter(R){Nr(b,[R]),Gn(R,o),Gn(R,i)},onBeforeAppear(R){Nr(S,[R]),Gn(R,l),Gn(R,u)},onEnter:j(!1),onAppear:j(!0),onLeave(R,G){R._isLeaving=!0;const N=()=>M(R,G);Gn(R,f),R._enterCancelled?(Gn(R,p),wd(R)):(wd(R),Gn(R,p)),md(()=>{R._isLeaving&&(Lr(R,f),Gn(R,d),gd(w)||yd(R,r,y,N))}),Nr(w,[R,N])},onEnterCancelled(R){A(R,!1,void 0,!0),Nr(m,[R])},onAppearCancelled(R){A(R,!0,void 0,!0),Nr(T,[R])},onLeaveCancelled(R){M(R),Nr(x,[R])}})}function Sb(e){if(e==null)return null;if(Me(e))return[Ol(e.enter),Ol(e.leave)];{const t=Ol(e);return[t,t]}}function Ol(e){return sg(e)}function Gn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bo]||(e[Bo]=new Set)).add(t)}function Lr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bo];n&&(n.delete(t),n.size||(e[Bo]=void 0))}function md(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Eb=0;function yd(e,t,n,r){const s=e._endId=++Eb,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ab(e,t);if(!i)return r();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,p),o()},p=d=>{d.target===e&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),e.addEventListener(u,p)}function Ab(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${hr}Delay`),o=r(`${hr}Duration`),i=vd(s,o),a=r(`${to}Delay`),l=r(`${to}Duration`),u=vd(a,l);let c=null,f=0,p=0;t===hr?i>0&&(c=hr,f=i,p=o.length):t===to?u>0&&(c=to,f=u,p=l.length):(f=Math.max(i,u),c=f>0?i>u?hr:to:null,p=c?c===hr?o.length:l.length:0);const d=c===hr&&/\b(?:transform|all)(?:,|$)/.test(r(`${hr}Property`).toString());return{type:c,timeout:f,propCount:p,hasTransform:d}}function vd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>bd(n)+bd(e[r])))}function bd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wd(e){return(e?e.ownerDocument:document).body.offsetHeight}function Tb(e,t,n){const r=e[Bo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ua=Symbol("_vod"),M0=Symbol("_vsh"),xd={name:"show",beforeMount(e,{value:t},{transition:n}){e[ua]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):no(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),no(e,!0),r.enter(e)):r.leave(e,()=>{no(e,!1)}):no(e,t))},beforeUnmount(e,{value:t}){no(e,t)}};function no(e,t){e.style.display=t?e[ua]:"none",e[M0]=!t}const Pb=Symbol(""),Rb=/(?:^|;)\s*display\s*:/;function Ib(e,t,n){const r=e.style,s=Ye(n);let o=!1;if(n&&!s){if(t)if(Ye(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Vi(r,a,"")}else for(const i in t)n[i]==null&&Vi(r,i,"");for(const i in n)i==="display"&&(o=!0),Vi(r,i,n[i])}else if(s){if(t!==n){const i=r[Pb];i&&(n+=";"+i),r.cssText=n,o=Rb.test(n)}}else t&&e.removeAttribute("style");ua in e&&(e[ua]=o?r.display:"",e[M0]&&(r.display="none"))}const _d=/\s*!important$/;function Vi(e,t,n){if(pe(n))n.forEach(r=>Vi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Ob(e,t);_d.test(n)?e.setProperty(Rr(r),n.replace(_d,""),"important"):e[r]=n}}const Cd=["Webkit","Moz","ms"],Ml={};function Ob(e,t){const n=Ml[t];if(n)return n;let r=xt(t);if(r!=="filter"&&r in e)return Ml[t]=r;r=Fa(r);for(let s=0;s<Cd.length;s++){const o=Cd[s]+r;if(o in e)return Ml[t]=o}return t}const kd="http://www.w3.org/1999/xlink";function Sd(e,t,n,r,s,o=Ov(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(kd,t.slice(6,t.length)):e.setAttributeNS(kd,t,n):n==null||o&&!og(n)?e.removeAttribute(t):e.setAttribute(t,o?"":tn(n)?String(n):n)}function Ed(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?R0(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="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 i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=og(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function Mb(e,t,n,r){e.addEventListener(t,n,r)}function Nb(e,t,n,r){e.removeEventListener(t,n,r)}const Ad=Symbol("_vei");function Lb(e,t,n,r,s=null){const o=e[Ad]||(e[Ad]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=$b(t);if(r){const u=o[t]=Fb(r,s);Mb(e,a,u,l)}else i&&(Nb(e,a,i,l),o[t]=void 0)}}const Td=/(?:Once|Passive|Capture)$/;function $b(e){let t;if(Td.test(e)){t={};let r;for(;r=e.match(Td);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rr(e.slice(2)),t]}let Nl=0;const Db=Promise.resolve(),Bb=()=>Nl||(Db.then(()=>Nl=0),Nl=Date.now());function Fb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;xn(jb(r,n.value),t,5,[r])};return n.value=e,n.attached=Bb(),n}function jb(e,t){if(pe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Pd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qb=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Tb(e,r,i):t==="style"?Ib(e,n,r):Zo(t)?$a(t)||Lb(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zb(e,t,r,i))?(Ed(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Sd(e,t,r,i,o,t!=="value")):e._isVueCE&&(Hb(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Ye(r)))?Ed(e,xt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Sd(e,t,r,i))};function zb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pd(t)&&ge(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Pd(t)&&Ye(n)?!1:t in e}function Hb(e,t){const n=e._def.props;if(!n)return!1;const r=xt(t);return Array.isArray(n)?n.some(s=>xt(s)===r):Object.keys(n).some(s=>xt(s)===r)}const Vb=["ctrl","shift","alt","meta"],Ub={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Vb.some(n=>e[`${n}Key`]&&!t.includes(n))},As=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let i=0;i<t.length;i++){const a=Ub[t[i]];if(a&&a(s,t))return}return e(s,...o)}))},N0=ut({patchProp:qb},xb);let Eo,Rd=!1;function Gb(){return Eo||(Eo=tb(N0))}function Wb(){return Eo=Rd?Eo:nb(N0),Rd=!0,Eo}const Kb=((...e)=>{const t=Gb().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=$0(r);if(!s)return;const o=t._component;!ge(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,L0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),Xb=((...e)=>{const t=Wb().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=$0(r);if(s)return n(s,!0,L0(s))},t});function L0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $0(e){return Ye(e)?document.querySelector(e):e}const Yb=/"(?:_|\\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*:/,Jb=/"(?: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*:/,Qb=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Zb(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){e3(e);return}return t}function e3(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function t3(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Qb.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Yb.test(e)||Jb.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Zb)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const D0=/#/g,B0=/&/g,n3=/\//g,r3=/=/g,s3=/\?/g,Qa=/\+/g,o3=/%5e/gi,i3=/%60/gi,a3=/%7c/gi,l3=/%20/gi,c3=/%2f/gi,u3=/%252f/gi;function F0(e){return encodeURI(""+e).replace(a3,"|")}function Rc(e){return F0(typeof e=="string"?e:JSON.stringify(e)).replace(Qa,"%2B").replace(l3,"+").replace(D0,"%23").replace(B0,"%26").replace(i3,"`").replace(o3,"^").replace(n3,"%2F")}function Ll(e){return Rc(e).replace(r3,"%3D")}function f3(e){return F0(e).replace(D0,"%23").replace(s3,"%3F").replace(u3,"%2F").replace(B0,"%26").replace(Qa,"%2B")}function Fo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function d3(e){return Fo(e.replace(c3,"%252F"))}function p3(e){return Fo(e.replace(Qa," "))}function h3(e){return Fo(e.replace(Qa," "))}function Xu(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=p3(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=h3(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function g3(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ll(e)}=${Rc(n)}`).join("&"):`${Ll(e)}=${Rc(t)}`:Ll(e)}function m3(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>g3(t,e[t])).filter(Boolean).join("&")}const y3=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,v3=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,b3=/^([/\\]\s*){2,}[^/\\]/,w3=/^[\s\0]*(blob|data|javascript|vbscript):$/i,x3=/\/$|\/\?|\/#/,_3=/^\.?\//;function C3(e){return["./","../"].some(t=>e.startsWith(t))}function fr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?y3.test(e):v3.test(e)||(t.acceptRelative?b3.test(e):!1)}function k3(e){return!!e&&w3.test(e)}function Ic(e="",t){return t?x3.test(e):e.endsWith("/")}function jo(e="",t){if(!t)return(Ic(e)?e.slice(0,-1):e)||"/";if(!Ic(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s!==-1&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function j0(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ic(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s!==-1&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function q0(e,t){if(z0(t)||fr(e))return e;const n=jo(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return qo(n,e)}function Id(e,t){if(z0(t))return e;const n=jo(t);if(!e.startsWith(n))return e;const r=e[n.length];if(r&&r!=="/"&&r!=="?")return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function Vr(e,t){const n=Yu(e),r={...Xu(n.search),...t};return n.search=m3(r),E3(n)}function z0(e){return!e||e==="/"}function S3(e){return e&&e!=="/"}function qo(e,...t){let n=e||"";for(const r of t.filter(s=>S3(s)))if(n){const s=r.replace(_3,"");n=j0(n)+s}else n=r;return n}function H0(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&fr(r[0]))continue;r.pop(),s--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),s++}}let o=r.join("/");return s>=0?n[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:n[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,n[n.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function V0(e,t){return Fo(jo(e))===Fo(jo(t))}const U0=Symbol.for("ufo:protocolRelative");function Yu(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!fr(e,{acceptRelative:!0}))return Od(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:u,hash:c}=Od(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[U0]:!r}}function Od(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function E3(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[U0]?(e.protocol||"")+"//":"")+s+o+t+n+r}class A3 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function T3(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new A3(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[u]}});return a}const P3=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Md(e="GET"){return P3.has(e.toUpperCase())}function R3(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||e instanceof FormData||e instanceof URLSearchParams?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const I3=new Set(["image/svg","application/xml","application/xhtml","application/html"]),O3=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function M3(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return O3.test(t)?"json":t==="text/event-stream"?"stream":I3.has(t)||t.startsWith("text/")?"text":"blob"}function N3(e,t,n,r){const s=L3(t?.headers??e?.headers,n?.headers,r);let o;return(n?.query||n?.params||t?.params||t?.query)&&(o={...n?.params,...n?.query,...t?.params,...t?.query}),{...n,...t,query:o,params:o,headers:s}}function L3(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function bi(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const $3=new Set([408,409,425,429,500,502,503,504]),D3=new Set([101,204,205,304]);function G0(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let c;typeof a.options.retry=="number"?c=a.options.retry:c=Md(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(c>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):$3.has(f))){const p=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),o(a.request,{...a.options,retry:c-1})}}const u=T3(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:N3(l,u,e.defaults,n),response:void 0,error:void 0};if(c.options.method&&(c.options.method=c.options.method.toUpperCase()),c.options.onRequest&&(await bi(c,c.options.onRequest),c.options.headers instanceof n||(c.options.headers=new n(c.options.headers||{}))),typeof c.request=="string"&&(c.options.baseURL&&(c.request=q0(c.request,c.options.baseURL)),c.options.query&&(c.request=Vr(c.request,c.options.query),delete c.options.query),"query"in c.options&&delete c.options.query,"params"in c.options&&delete c.options.params),c.options.body&&Md(c.options.method))if(R3(c.options.body)){const d=c.options.headers.get("content-type");typeof c.options.body!="string"&&(c.options.body=d==="application/x-www-form-urlencoded"?new URLSearchParams(c.options.body).toString():JSON.stringify(c.options.body)),d||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")}else("pipeTo"in c.options.body&&typeof c.options.body.pipeTo=="function"||typeof c.options.body.pipe=="function")&&("duplex"in c.options||(c.options.duplex="half"));let f;if(!c.options.signal&&c.options.timeout){const d=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,d.abort(h)},c.options.timeout),c.options.signal=d.signal}try{c.response=await t(c.request,c.options)}catch(d){return c.error=d,c.options.onRequestError&&await bi(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!D3.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||M3(c.response.headers.get("content-type")||"");switch(d){case"json":{const h=await c.response.text(),g=c.options.parseResponse||t3;c.response._data=g(h);break}case"stream":{c.response._data=c.response.body||c.response._bodyInit;break}default:c.response._data=await c.response[d]()}}return c.options.onResponse&&await bi(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await bi(c,c.options.onResponseError),await s(c)):c.response},i=async function(l,u){return(await o(l,u))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>G0({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const fa=(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")})(),B3=fa.fetch?(...e)=>fa.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),F3=fa.Headers,j3=fa.AbortController,W0=G0({fetch:B3,Headers:F3,AbortController:j3}),q3=W0,z3=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config;let $l;function H3(e){return{lang:e?.lang??$l?.lang,message:e?.message,abortEarly:e?.abortEarly??$l?.abortEarly,abortPipeEarly:e?.abortPipeEarly??$l?.abortPipeEarly}}let V3;function U3(e){return V3?.get(e)}let G3;function W3(e){return G3?.get(e)}let K3;function X3(e,t){return K3?.get(e)?.get(t)}function K0(e){const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function un(e,t,n,r,s){const o=s&&"input"in s?s.input:n.value,i=s?.expected??e.expects??null,a=s?.received??K0(o),l={kind:e.kind,type:e.type,input:o,expected:i,received:a,message:`Invalid ${t}: ${i?`Expected ${i} but r`:"R"}eceived ${a}`,requirement:e.requirement,path:s?.path,issues:s?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},u=e.kind==="schema",c=s?.message??e.message??X3(e.reference,l.lang)??(u?W3(l.lang):null)??r.message??U3(l.lang);c!==void 0&&(l.message=typeof c=="function"?c(l):c),u&&(n.typed=!1),n.issues?n.issues.push(l):n.issues=[l]}function fn(e){return{version:1,vendor:"valibot",validate(t){return e["~run"]({value:t},H3())}}}function Y3(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function J3(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}function Ju(e,t){return{kind:"validation",type:"min_length",reference:Ju,async:!1,expects:`>=${e}`,requirement:e,message:t,"~run"(n,r){return n.typed&&n.value.length<this.requirement&&un(this,"length",n,r,{received:`${n.value.length}`}),n}}}function Q3(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function X0(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function Y0(){return{kind:"schema",type:"any",reference:Y0,expects:"any",async:!1,get"~standard"(){return fn(this)},"~run"(e){return e.typed=!0,e}}}function Ns(e,t){return{kind:"schema",type:"array",reference:Ns,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return fn(this)},"~run"(n,r){const s=n.value;if(Array.isArray(s)){n.typed=!0,n.value=[];for(let o=0;o<s.length;o++){const i=s[o],a=this.item["~run"]({value:i},r);if(a.issues){const l={type:"array",origin:"value",input:s,key:o,value:i};for(const u of a.issues)u.path?u.path.unshift(l):u.path=[l],n.issues?.push(u);if(n.issues||(n.issues=a.issues),r.abortEarly){n.typed=!1;break}}a.typed||(n.typed=!1),n.value.push(a.value)}}else un(this,"type",n,r);return n}}}function ue(e){return{kind:"schema",type:"boolean",reference:ue,expects:"boolean",async:!1,message:e,get"~standard"(){return fn(this)},"~run"(t,n){return typeof t.value=="boolean"?t.typed=!0:un(this,"type",t,n),t}}}function J0(e,t){return{kind:"schema",type:"custom",reference:J0,expects:"unknown",async:!1,check:e,message:t,get"~standard"(){return fn(this)},"~run"(n,r){return this.check(n.value)?n.typed=!0:un(this,"type",n,r),n}}}function De(e,t){return{kind:"schema",type:"literal",reference:De,expects:K0(e),async:!1,literal:e,message:t,get"~standard"(){return fn(this)},"~run"(n,r){return n.value===this.literal?n.typed=!0:un(this,"type",n,r),n}}}function bt(e){return{kind:"schema",type:"number",reference:bt,expects:"number",async:!1,message:e,get"~standard"(){return fn(this)},"~run"(t,n){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:un(this,"type",t,n),t}}}function Ae(e,t){return{kind:"schema",type:"object",reference:Ae,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return fn(this)},"~run"(n,r){const s=n.value;if(s&&typeof s=="object"){n.typed=!0,n.value={};for(const o in this.entries){const i=this.entries[o];if(o in s||(i.type==="exact_optional"||i.type==="optional"||i.type==="nullish")&&i.default!==void 0){const a=o in s?s[o]:X0(i),l=i["~run"]({value:a},r);if(l.issues){const u={type:"object",origin:"value",input:s,key:o,value:a};for(const c of l.issues)c.path?c.path.unshift(u):c.path=[u],n.issues?.push(c);if(n.issues||(n.issues=l.issues),r.abortEarly){n.typed=!1;break}}l.typed||(n.typed=!1),n.value[o]=l.value}else if(i.fallback!==void 0)n.value[o]=Q3(i);else if(i.type!=="exact_optional"&&i.type!=="optional"&&i.type!=="nullish"&&(un(this,"key",n,r,{input:void 0,expected:`"${o}"`,path:[{type:"object",origin:"key",input:s,key:o,value:s[o]}]}),r.abortEarly))break}}else un(this,"type",n,r);return n}}}function I(e,t){return{kind:"schema",type:"optional",reference:I,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return fn(this)},"~run"(n,r){return n.value===void 0&&(this.default!==void 0&&(n.value=X0(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function Qu(e,t,n){return{kind:"schema",type:"record",reference:Qu,expects:"Object",async:!1,key:e,value:t,message:n,get"~standard"(){return fn(this)},"~run"(r,s){const o=r.value;if(o&&typeof o=="object"){r.typed=!0,r.value={};for(const i in o)if(Y3(o,i)){const a=o[i],l=this.key["~run"]({value:i},s);if(l.issues){const c={type:"object",origin:"key",input:o,key:i,value:a};for(const f of l.issues)f.path=[c],r.issues?.push(f);if(r.issues||(r.issues=l.issues),s.abortEarly){r.typed=!1;break}}const u=this.value["~run"]({value:a},s);if(u.issues){const c={type:"object",origin:"value",input:o,key:i,value:a};for(const f of u.issues)f.path?f.path.unshift(c):f.path=[c],r.issues?.push(f);if(r.issues||(r.issues=u.issues),s.abortEarly){r.typed=!1;break}}(!l.typed||!u.typed)&&(r.typed=!1),l.typed&&(r.value[l.value]=u.value)}}else un(this,"type",r,s);return r}}}function U(e){return{kind:"schema",type:"string",reference:U,expects:"string",async:!1,message:e,get"~standard"(){return fn(this)},"~run"(t,n){return typeof t.value=="string"?t.typed=!0:un(this,"type",t,n),t}}}function Nd(e){let t;if(e)for(const n of e)t?t.push(...n.issues):t=n.issues;return t}function ct(e,t){return{kind:"schema",type:"union",reference:ct,expects:J3(e.map(n=>n.expects),"|"),async:!1,options:e,message:t,get"~standard"(){return fn(this)},"~run"(n,r){let s,o,i;for(const a of this.options){const l=a["~run"]({value:n.value},r);if(l.typed)if(l.issues)o?o.push(l):o=[l];else{s=l;break}else i?i.push(l):i=[l]}if(s)return s;if(o){if(o.length===1)return o[0];un(this,"type",n,r,{issues:Nd(o)}),n.typed=!0}else{if(i?.length===1)return i[0];un(this,"type",n,r,{issues:Nd(i)})}return n}}}function Q0(...e){return{...e[0],pipe:e,get"~standard"(){return fn(this)},"~run"(t,n){for(const r of e)if(r.kind!=="metadata"){if(t.issues&&(r.kind==="schema"||r.kind==="transformation")){t.typed=!1;break}(!t.issues||!n.abortEarly&&!n.abortPipeEarly)&&(t=r["~run"](t,n))}return t}}}const Z3=Ae({postUrl:U(),apiEndpoint:I(U()),imageProxyEndpoint:I(U())}),e5=Ae({id:Q0(U(),Ju(10))}),t5=Ae({token:Q0(U(),Ju(32)),spa:I(ue())}),n5=Ae({id:U(),runtimeConfig:I(Ae({locale:I(U())})),tokenId:I(U()),cookieDomain:I(U()),cookieExpiry:I(bt())}),r5=Ae({clientId:U(),scriptUrl:I(U()),apiUrl:I(U()),disabled:I(ue()),trackScreenViews:I(ue()),trackPerformance:I(ue()),trackSessions:I(ue()),trackWebVitals:I(ue()),trackErrors:I(ue()),trackOutgoingLinks:I(ue()),trackScrollDepth:I(ue()),trackEngagement:I(ue()),trackInteractions:I(ue()),trackAttributes:I(ue()),trackHashChanges:I(ue()),trackExitIntent:I(ue()),trackBounceRate:I(ue()),enableBatching:I(ue()),batchSize:I(bt()),batchTimeout:I(bt()),enableRetries:I(ue()),maxRetries:I(bt()),initialRetryDelay:I(bt()),samplingRate:I(bt()),sdk:I(U()),sdkVersion:I(U()),enableObservability:I(ue()),observabilityService:I(U()),observabilityEnvironment:I(U()),observabilityVersion:I(U()),enableLogging:I(ue()),enableTracing:I(ue()),enableErrorTracking:I(ue())}),s5=Ae({site:U(),spa:I(ct([De("auto"),De("history"),De("hash")])),auto:I(ue()),canonical:I(ue()),honorDnt:I(ue())}),o5=Ae({client:I(U()),autoAds:I(ue())}),i5=Ae({id:I(U()),l:I(U())}),a5=Ae({apiKey:U(),libraries:I(Ns(U())),language:I(U()),region:I(U()),v:I(ct([De("weekly"),De("quarterly"),De("beta"),De("alpha"),U()]))}),l5=Ae({siteKey:U(),enterprise:I(ue()),recaptchaNet:I(ue()),hl:I(U())}),c5=Ae({clientId:U(),autoSelect:I(ue()),context:I(ct([De("signin"),De("signup"),De("use")])),useFedcmForPrompt:I(ue()),cancelOnTapOutside:I(ue()),uxMode:I(ct([De("popup"),De("redirect")])),loginUri:I(U()),itpSupport:I(ue()),allowedParentOrigin:I(ct([U(),Ns(U())])),hd:I(U())}),u5=Ae({id:U(),l:I(U()),auth:I(U()),preview:I(U()),cookiesWin:I(ct([ue(),De("x")])),debug:I(ct([ue(),De("x")])),npa:I(ct([ue(),De("1")])),dataLayer:I(U()),envName:I(U()),authReferrerPolicy:I(U()),defaultConsent:I(Qu(U(),ct([U(),bt()])))}),f5=Ae({id:bt(),sv:I(bt())}),d5=Ae({postUrl:U(),captions:I(ue()),apiEndpoint:I(U())}),p5=Ae({app_id:U(),api_base:I(ct([De("https://api-iam.intercom.io"),De("https://api-iam.eu.intercom.io"),De("https://api-iam.au.intercom.io")])),name:I(U()),email:I(U()),user_id:I(U()),alignment:I(ct([De("left"),De("right")])),horizontal_padding:I(bt()),vertical_padding:I(bt())}),h5=Ae({matomoUrl:I(U()),siteId:I(ct([U(),bt()])),cloudId:I(U()),trackerUrl:I(U()),trackPageView:I(ue()),enableLinkTracking:I(ue()),disableCookies:I(ue()),watch:I(ue())}),g5=Ae({id:ct([U(),bt()])}),m5=Ae({packageName:U(),file:I(U()),version:I(U()),provider:I(ct([De("jsdelivr"),De("cdnjs"),De("unpkg")]))}),y5=Ae({apiKey:U(),region:I(ct([De("us"),De("eu")])),apiHost:I(U()),autocapture:I(ue()),capturePageview:I(ct([ue(),De("history_change")])),capturePageleave:I(ue()),disableSessionRecording:I(ue()),config:I(Qu(U(),Y0()))}),v5=Ae({id:U()}),b5=Ae({siteId:ct([U(),bt()]),autoTrackPageview:I(ue()),trackSpa:I(ue()),trackQuery:I(ue()),trackOutbound:I(ue()),trackErrors:I(ue()),sessionReplay:I(ue()),webVitals:I(ue()),skipPatterns:I(Ns(U())),maskPatterns:I(Ns(U())),debounce:I(bt()),apiKey:I(U()),analyticsHost:I(U())}),w5=Ae({token:U()}),x5=Ae({id:U(),enableAutoSpaTracking:I(ue())}),_5=Ae({writeKey:U(),analyticsKey:I(U())}),C5=Ae({user_email:I(U()),ip_address:I(U()),user_phone_number:I(U()),user_hashed_email:I(U()),user_hashed_phone_number:I(U()),firstname:I(U()),lastname:I(U()),geo_city:I(U()),geo_region:I(U()),geo_postal_code:I(U()),geo_country:I(U()),age:I(U())}),k5=Ae({id:U(),trackPageView:I(ue()),...C5?.entries||{}}),S5=Ae({advancedFraudSignals:I(ue())}),E5=Ae({id:U(),trackPageView:I(ue())}),A5=Ae({websiteId:U(),hostUrl:I(U()),autoTrack:I(ue()),domains:I(Ns(U())),tag:I(U()),beforeSend:I(ct([J0(e=>typeof e=="function"),U()]))}),T5=Ae({tweetId:U(),apiEndpoint:I(U()),imageProxyEndpoint:I(U())}),P5=Ae({dsn:I(U()),disableAutoTrack:I(ue()),mode:I(ct([De("auto"),De("development"),De("production")])),debug:I(ue()),endpoint:I(U())}),R5=Ae({id:U(),version:I(U())}),I5=Ae({cacheMaxAge:I(bt()),default:I(U()),size:I(bt()),rating:I(U())}),O5={plausibleAnalytics:'<svg height="32" id="Layer_2" viewBox="0 0 46 60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><linearGradient id="New_Gradient_Swatch_1" x1="14.841" y1="22.544" x2="27.473" y2="44.649" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#909cf7"/><stop offset="1" stop-color="#4b38d8"/></linearGradient><linearGradient id="New_Gradient_Swatch_1-2" x1="7.984" y1="-1.358" x2="21.001" y2="21.422" xlink:href="#New_Gradient_Swatch_1"/><style>.cls-3{stroke-width:0;fill:#1f2961}</style></defs><g id="Plausible_-_Branding"><g id="Gradient_Logo_-_Purple_Gradient_on_White"><g id="Symbol_-_Purple_Gradient"><path d="M45.246 22.603C44.155 33.059 35.013 40.83 24.5 40.83h-4.047v9.57a9.6 9.6 0 0 1-9.6 9.6H3.36A3.36 3.36 0 0 1 0 56.64V36.938l5.038-7.07a3.362 3.362 0 0 1 4.037-1.149l2.866 1.2a3.353 3.353 0 0 0 4.025-1.145l6.717-9.417a3.34 3.34 0 0 1 4.014-1.14l5.52 2.32a3.347 3.347 0 0 0 4.022-1.142l6.46-9.063c2.025 3.56 3.014 7.789 2.547 12.27Z" style="stroke-width:0;fill:url(#New_Gradient_Swatch_1)"/><path d="M3.292 28.873c.823-1.155 2.021-2.044 3.414-2.312a5.41 5.41 0 0 1 3.147.316l2.865 1.2a1.357 1.357 0 0 0 1.62-.464l6.594-9.245c.823-1.154 2.02-2.041 3.412-2.309a5.368 5.368 0 0 1 3.128.314l5.52 2.32a1.35 1.35 0 0 0 1.619-.46l6.919-9.707C37.827 3.364 31.78 0 24.945 0H3.36A3.36 3.36 0 0 0 0 3.36v30.132l3.292-4.62Z" style="fill:url(#New_Gradient_Swatch_1-2);stroke-width:0"/></g></g></g></svg>',cloudflareWebAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="70.02" height="32" viewBox="0 0 256 117"><path fill="#FBAD41" d="M205.52 50.813c-.858 0-1.705.03-2.551.058c-.137.007-.272.04-.398.094a1.424 1.424 0 0 0-.92.994l-3.628 12.672c-1.565 5.449-.983 10.48 1.646 14.174c2.41 3.416 6.42 5.421 11.289 5.655l19.679 1.194c.585.03 1.092.312 1.4.776a1.92 1.92 0 0 1 .2 1.692a2.496 2.496 0 0 1-2.134 1.662l-20.448 1.193c-11.11.515-23.062 9.58-27.255 20.633l-1.474 3.9a1.092 1.092 0 0 0 .967 1.49h70.425a1.872 1.872 0 0 0 1.81-1.365A51.172 51.172 0 0 0 256 101.828c0-28.16-22.582-50.984-50.449-50.984"/><path fill="#F6821F" d="m174.782 115.362l1.303-4.583c1.568-5.449.987-10.48-1.639-14.173c-2.418-3.417-6.424-5.422-11.296-5.656l-92.312-1.193a1.822 1.822 0 0 1-1.459-.776a1.919 1.919 0 0 1-.203-1.693a2.496 2.496 0 0 1 2.154-1.662l93.173-1.193c11.063-.511 23.015-9.58 27.208-20.633l5.313-14.04c.214-.596.27-1.238.156-1.86C191.126 20.51 166.91 0 137.96 0C111.269 0 88.626 17.403 80.5 41.596a26.996 26.996 0 0 0-19.156-5.359C48.549 37.524 38.25 47.946 36.979 60.88a27.905 27.905 0 0 0 .702 9.642C16.773 71.145 0 88.454 0 109.726c0 1.923.137 3.818.413 5.667c.115.897.879 1.57 1.783 1.568h170.48a2.223 2.223 0 0 0 2.106-1.63"/></svg>',vercelAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M256 48L496 464H16z" fill="currentColor"/></svg>',posthog:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128"><path fill="#1d4aff" d="M0 .52v32.15l31.79 31.78V32.3L0 .52zm32.3 32.15v32.15l31.78 31.78V64.45L32.3 32.67zM0 64.97v32.15l31.79 31.78V96.75L0 64.97zm64.6-32.3v32.15l31.78 31.78V64.45L64.6 32.67zm31.78 31.78v32.15l31.78 31.78V96.23l-31.78-31.78zm-64.08.52v32.15l31.78 31.78V96.75L32.3 64.97zM64.6 .52v32.15l31.78 31.78V32.3L64.6 .52zm0 64.45v32.15l31.78 31.78V96.75L64.6 64.97z"/></svg>',fathomAnalytics:'<svg width="32" height="32" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><circle cx="512" cy="512" r="512" style="fill:#9187ff"/><path d="M558.62 256c-36.31.16-78.78 10-129.45 28.4-170.71 62.15-206.9 139.74-144.79 310.45s139.73 206.89 310.45 144.76S801.74 599.88 739.6 429.16c-43.69-120-95-173.55-181-173.17zm59.1 140.16h26.73a5.33 5.33 0 0 1 5.16 6.72l-59.26 220.48a5.34 5.34 0 0 1-5.15 4h-26.75a5.33 5.33 0 0 1-5.16-6.72l3.6-13.4 2.63-9.75 53-197.38a5.33 5.33 0 0 1 5.14-3.94zM421.79 413.4h10.75a5.33 5.33 0 0 1 5.33 5.33v18a5.33 5.33 0 0 1-5.33 5.33h-9.13a36.76 36.76 0 0 0-5.51.24 4.7 4.7 0 0 0-2.56 1 4.19 4.19 0 0 0-1 1.66 18.91 18.91 0 0 0-.92 6.72v13.67h19.16a5.33 5.33 0 0 1 5.33 5.33v18a5.34 5.34 0 0 1-5.33 5.33h-19.21v108.71a5.34 5.34 0 0 1-5.34 5.34H387a5.33 5.33 0 0 1-5.33-5.34V448.48a36.74 36.74 0 0 1 3.6-16.64 29.76 29.76 0 0 1 9.73-11.16c7.9-5.48 17.62-7.27 26.82-7.31zm82.14 50c16.37 0 30.27 4.65 40.17 13.27s15.47 21.21 15.42 35.59v35.91l-16.11 59.92h-10.24a5.33 5.33 0 0 1-5.33-5.34v-4a39.13 39.13 0 0 1-4.76 3.56c-7.14 4.55-16.85 7.51-29.65 7.51a62.65 62.65 0 0 1-28.52-6.18 40.49 40.49 0 0 1-18.84-19.35 46.81 46.81 0 0 1-4-19.54 40.72 40.72 0 0 1 5.23-21.12 36.78 36.78 0 0 1 13.78-13.18c11.09-6.25 24.75-8.45 38.14-10.24 7.3-1 13.14-1.61 17.64-2.2a42 42 0 0 0 9.2-1.88 3.16 3.16 0 0 0 1.39-.86l.24-.48a6.77 6.77 0 0 0 .16-1.84v-.73a17.24 17.24 0 0 0-5.85-13.6c-3.8-3.31-9.77-5.55-18.07-5.57s-14.64 2.26-19 5.59a17.51 17.51 0 0 0-7.21 12.54 5.33 5.33 0 0 1-5.31 4.86h-22.25a5.33 5.33 0 0 1-5.33-5.57 45.64 45.64 0 0 1 17.6-34c10.47-8.34 24.85-13.12 41.49-13.12zm23.92 80.71c-1.92.48-4 1-6.31 1.45-6.47 1.28-14.29 2.41-21.87 3.48a61 61 0 0 0-14.76 3.65c-4.18 1.75-7.1 4-8.68 6.57a12.12 12.12 0 0 0-1.71 6.54v.2a12.93 12.93 0 0 0 1.32 5.87 11.81 11.81 0 0 0 3.76 4.22c3.41 2.45 9.13 4.14 16.85 4.14 11.95 0 19.52-3.5 24.32-8.32s7-11.56 7.08-19.11v-8.65zm0 0" style="fill:#fff"/></svg>',matomoAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="56.5" height="32" viewBox="0 0 256 145"><defs><path id="logosMatomoIcon0" d="m105.426 70.887l.035-.021l-.663-1.01c-.1-.153-.2-.313-.303-.46L58.935 0L0 43.91l43.078 66.305c.185.281.36.566.55.847l.229.35l.025-.016c6.676 9.471 17.678 15.673 30.144 15.673c20.373 0 36.889-16.513 36.889-36.89c0-7.083-2.029-13.675-5.489-19.292"/><path id="logosMatomoIcon1" fill="#000" d="M64.549 19.33c0-20.374-16.517-36.89-36.89-36.89S-9.23-1.044-9.23 19.33a36.686 36.686 0 0 0 6.08 20.263c-.003 0-.003 0-.003-.003l-.019.003L-31.179 0h-.04c-6.499-10.524-18.101-17.56-31.376-17.56c-13.275 0-24.877 7.036-31.376 17.56h-.037l-44.61 69.525c6.633-9.8 17.848-16.235 30.57-16.235c13.39 0 25.077 7.158 31.54 17.832h.047l29.15 40.921h.047c6.718 9.1 17.486 15.026 29.663 15.026c12.181 0 22.95-5.927 29.666-15.026h.05l.297-.46a36.949 36.949 0 0 0 2.116-3.312l43.675-68.256v.003A36.747 36.747 0 0 0 64.55 19.33M2.372 46.141c.213.204.435.397.654.594c-.22-.197-.438-.39-.654-.594m3.28 2.745c.243.181.48.369.728.544c-.247-.175-.485-.363-.729-.544m8.096 4.598c.306.128.628.228.94.347c-.312-.12-.634-.22-.94-.347m8.28 2.263c.428.065.853.143 1.287.197c-.434-.054-.856-.132-1.287-.197m9.93.203c.438-.05.869-.135 1.303-.197c-.434.062-.862.147-1.303.197m8.368-2.01c.393-.144.797-.275 1.184-.434c-.387.159-.788.29-1.185.434m8.368-4.326c.313-.216.61-.456.916-.684c-.307.228-.603.465-.916.684m6.258-5.526c.259-.285.528-.563.778-.857c-.25.294-.519.572-.778.857"/><path id="logosMatomoIcon2" fill="#95C748" d="m250.511 88.448l.035-.022l-.663-1.01c-.1-.153-.2-.312-.303-.46L204.02 17.56l-58.935 43.91l43.078 66.305c.185.281.36.566.55.847l.229.35l.025-.016c6.676 9.471 17.678 15.673 30.144 15.673c20.373 0 36.889-16.513 36.889-36.89c0-7.083-2.029-13.675-5.489-19.291"/><filter id="logosMatomoIcon3" width="106.9%" height="109.7%" x="-3.4%" y="-3.5%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="2"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/></filter></defs><use href="#logosMatomoIcon2"/><path fill="#35BFC0" d="M73.779 107.74c0-20.374-16.516-36.89-36.89-36.89C16.516 70.85 0 87.366 0 107.74c0 20.376 16.516 36.892 36.89 36.892c20.373 0 36.889-16.52 36.889-36.893"/><path fill="#3253A0" d="M172.744 0c20.373 0 36.89 16.516 36.89 36.89a36.747 36.747 0 0 1-6.346 20.688v-.003l-43.675 68.256a36.949 36.949 0 0 1-2.116 3.313l-.297.46h-.05c-6.717 9.098-17.485 15.025-29.666 15.025c-12.177 0-22.945-5.927-29.663-15.026h-.046l-29.15-40.921h-.047C62.114 78.008 50.427 70.85 37.036 70.85c-12.721 0-23.936 6.436-30.569 16.235l44.61-69.525h.037C57.613 7.036 69.215 0 82.49 0c13.275 0 24.877 7.036 31.376 17.56h.04l28.006 39.593l.02-.003c0 .003 0 .003.002.003a36.684 36.684 0 0 1-6.08-20.264C135.855 16.516 152.372 0 172.745 0"/><use href="#logosMatomoIcon2"/><g transform="translate(145.085 17.56)"><mask id="logosMatomoIcon4" fill="#fff"><use href="#logosMatomoIcon0"/></mask><g mask="url(#logosMatomoIcon4)"><use filter="url(#logosMatomoIcon3)" href="#logosMatomoIcon1"/></g></g><path fill="#F38334" d="M209.487 36.89c0-20.374-16.516-36.89-36.89-36.89c-20.373 0-36.89 16.516-36.89 36.89c0 20.373 16.517 36.889 36.89 36.889c20.374 0 36.89-16.516 36.89-36.89"/><path fill="#3152A0" d="M172.597 73.782c-12.887 0-24.214-6.617-30.81-16.629h-.021L113.759 17.56h-.04C107.22 7.04 95.618.003 82.343.003C69.068.003 57.466 7.04 50.967 17.56h-.037L6.323 87.085c6.63-9.796 17.848-16.232 30.566-16.232c13.39 0 25.08 7.155 31.545 17.829h.047l29.15 40.921h.044c6.72 9.096 17.488 15.029 29.665 15.029c12.178 0 22.946-5.93 29.663-15.029h.05l.297-.462a37.588 37.588 0 0 0 2.12-3.307l43.672-68.256c-6.636 9.774-17.839 16.204-30.545 16.204"/></svg>',rybbitAnalytics:{light:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.33 173.53" width="37.24" height="32"><g><polygon fill="#0a3a3a" points="181.28 171.2 227.21 123.96 261.15 171.2 181.28 171.2"/><path fill="#0a3a3a" d="M261.15,89.05L206.64,2.33l-33.22,17.75-34.61-7.4c2.88,5.56,4.56,12.11,4.56,19.15,0,20.03-13.46,36.26-30.06,36.26-13.66,0-25.17-11-28.83-26.06l-39.92,71.46L2.18,94.19l22.66,77.01h55.81l22.28-54.01v54.01h64.66l-49.95-82.15h143.51Z"/></g><ellipse fill="#0a3a3a" cx="105.94" cy="28.62" rx="12.9" ry="18.88"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 263.33 173.53" width="37.24" height="32"><g><polygon fill="#2fd381" points="181.28 171.2 227.21 123.96 261.15 171.2 181.28 171.2"/><path fill="#2fd381" d="M261.15,89.05L206.64,2.33l-33.22,17.75-34.61-7.4c2.88,5.56,4.56,12.11,4.56,19.15,0,20.03-13.46,36.26-30.06,36.26-13.66,0-25.17-11-28.83-26.06l-39.92,71.46L2.18,94.19l22.66,77.01h55.81l22.28-54.01v54.01h64.66l-49.95-82.15h143.51Z"/></g><ellipse fill="#2fd381" cx="105.94" cy="28.62" rx="12.9" ry="18.88"/></svg>'},databuddyAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="56.5" height="32" viewBox="0 0 8 8" shape-rendering="crispEdges"><path d="M0 0h8v8H0z"/><path fill="#fff" d="M1 1h1v6H1zm1 0h4v1H2zm4 1h1v1H6zm0 1h1v1H6zm0 1h1v1H6zm0 1h1v1H6zM2 6h4v1H2zm1-3h1v1H3zm1 1h1v1H4z"/></svg>',mixpanelAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#7856FF" d="M128 0C57.308 0 0 57.308 0 128s57.308 128 128 128s128-57.308 128-128S198.692 0 128 0m-26.461 176.882c-14.478 0-26.221-11.743-26.221-26.221s11.743-26.221 26.221-26.221s26.221 11.743 26.221 26.221s-11.743 26.221-26.221 26.221m52.922 0c-14.478 0-26.221-11.743-26.221-26.221s11.743-26.221 26.221-26.221s26.221 11.743 26.221 26.221s-11.743 26.221-26.221 26.221m0-52.442c-14.478 0-26.221-11.743-26.221-26.221s11.743-26.221 26.221-26.221s26.221 11.743 26.221 26.221s-11.743 26.221-26.221 26.221"/></svg>',segment:'<svg xmlns="http://www.w3.org/2000/svg" width="30.92" height="32" viewBox="0 0 256 265"><path fill="#4FB58B" d="m233.56 141.927l.17.013l17.892 1.87a4.927 4.927 0 0 1 3.225 1.707l.133.163l-.17.085a4.93 4.93 0 0 1 1.02 3.74a133.272 133.272 0 0 1-41.604 81.083a128.86 128.86 0 0 1-87.629 34.38a127.488 127.488 0 0 1-46.156-8.57l-.802-.312a4.716 4.716 0 0 1-2.686-2.533l-.077-.187a4.891 4.891 0 0 1-.083-3.66l7.062-17.23a4.846 4.846 0 0 1 6.118-2.799l.163.06c36.097 13.939 76.98 6.089 105.349-20.227a104.455 104.455 0 0 0 32.891-63.32a4.93 4.93 0 0 1 5.013-4.27zm-190.08 64.31l.251-.002l.253.002c8.12.093 14.658 6.659 14.746 14.749v.253c0 .084 0 .168-.002.252c-.141 8.284-6.97 14.886-15.254 14.745c-8.284-.141-14.885-6.97-14.745-15.254c.139-8.115 6.695-14.615 14.75-14.745M4.93 147.082h146.316a4.973 4.973 0 0 1 4.928 4.844l.002.171v18.316a4.974 4.974 0 0 1-4.76 5.01l-.17.005H4.93A4.975 4.975 0 0 1 0 170.584v-18.659a4.975 4.975 0 0 1 4.755-4.838zM169.56 7.311a4.974 4.974 0 0 1 2.848 2.635a5.096 5.096 0 0 1 0 3.867l-6.375 16.999a4.845 4.845 0 0 1-6.162 2.974A101.228 101.228 0 0 0 62.13 51.252a105.267 105.267 0 0 0-34.507 54.99a4.93 4.93 0 0 1-4.76 3.698h-1.105L4.25 105.733a4.886 4.886 0 0 1-3.103-2.295h-.085A4.929 4.929 0 0 1 .51 99.57a133.393 133.393 0 0 1 44.41-70.204C79.739.7 127.019-7.666 169.56 7.311m-64.807 73.434H251.07a4.972 4.972 0 0 1 4.922 4.67l.008.174v18.317a4.973 4.973 0 0 1-4.76 5.01l-.17.005H104.754a4.972 4.972 0 0 1-4.886-4.842l-.002-.173V85.759a4.972 4.972 0 0 1 4.715-5.008zm101.572-55.883l.252-.002l.253.002c8.12.093 14.658 6.659 14.746 14.748v.253c0 .085 0 .17-.002.253c-.14 8.284-6.97 14.885-15.254 14.744c-8.284-.14-14.885-6.97-14.744-15.253c.138-8.116 6.694-14.616 14.749-14.745"/></svg>',metaPixel:'<svg xmlns="http://www.w3.org/2000/svg" width="47.91" height="32" viewBox="0 0 256 171"><defs><linearGradient id="logosMetaIcon0" x1="13.878%" x2="89.144%" y1="55.934%" y2="58.694%"><stop offset="0%" stop-color="#0064E1"/><stop offset="40%" stop-color="#0064E1"/><stop offset="83%" stop-color="#0073EE"/><stop offset="100%" stop-color="#0082FB"/></linearGradient><linearGradient id="logosMetaIcon1" x1="54.315%" x2="54.315%" y1="82.782%" y2="39.307%"><stop offset="0%" stop-color="#0082FB"/><stop offset="100%" stop-color="#0064E0"/></linearGradient></defs><path fill="#0081FB" d="M27.651 112.136c0 9.775 2.146 17.28 4.95 21.82c3.677 5.947 9.16 8.466 14.751 8.466c7.211 0 13.808-1.79 26.52-19.372c10.185-14.092 22.186-33.874 30.26-46.275l13.675-21.01c9.499-14.591 20.493-30.811 33.1-41.806C161.196 4.985 172.298 0 183.47 0c18.758 0 36.625 10.87 50.3 31.257C248.735 53.584 256 81.707 256 110.729c0 17.253-3.4 29.93-9.187 39.946c-5.591 9.686-16.488 19.363-34.818 19.363v-27.616c15.695 0 19.612-14.422 19.612-30.927c0-23.52-5.484-49.623-17.564-68.273c-8.574-13.23-19.684-21.313-31.907-21.313c-13.22 0-23.859 9.97-35.815 27.75c-6.356 9.445-12.882 20.956-20.208 33.944l-8.066 14.289c-16.203 28.728-20.307 35.271-28.408 46.07c-14.2 18.91-26.324 26.076-42.287 26.076c-18.935 0-30.91-8.2-38.325-20.556C2.973 139.413 0 126.202 0 111.148z"/><path fill="url(#logosMetaIcon0)" d="M21.802 33.206C34.48 13.666 52.774 0 73.757 0C85.91 0 97.99 3.597 110.605 13.897c13.798 11.261 28.505 29.805 46.853 60.368l6.58 10.967c15.881 26.459 24.917 40.07 30.205 46.49c6.802 8.243 11.565 10.7 17.752 10.7c15.695 0 19.612-14.422 19.612-30.927l24.393-.766c0 17.253-3.4 29.93-9.187 39.946c-5.591 9.686-16.488 19.363-34.818 19.363c-11.395 0-21.49-2.475-32.654-13.007c-8.582-8.083-18.615-22.443-26.334-35.352l-22.96-38.352C118.528 64.08 107.96 49.73 101.845 43.23c-6.578-6.988-15.036-15.428-28.532-15.428c-10.923 0-20.2 7.666-27.963 19.39z"/><path fill="url(#logosMetaIcon1)" d="M73.312 27.802c-10.923 0-20.2 7.666-27.963 19.39c-10.976 16.568-17.698 41.245-17.698 64.944c0 9.775 2.146 17.28 4.95 21.82L9.027 149.482C2.973 139.413 0 126.202 0 111.148C0 83.772 7.514 55.24 21.802 33.206C34.48 13.666 52.774 0 73.757 0z"/></svg>',xPixel:{dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128" fill="white" stroke="white"><path d="M75.916 54.2L122.542 0h-11.05L71.008 47.06L38.672 0H1.376l48.898 71.164L1.376 128h11.05L55.18 78.303L89.328 128h37.296L75.913 54.2ZM60.782 71.79l-4.955-7.086l-39.42-56.386h16.972L65.19 53.824l4.954 7.086l41.353 59.15h-16.97L60.782 71.793Z"/></svg>',light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 128 128" fill="black" stroke="black"><path d="M75.916 54.2L122.542 0h-11.05L71.008 47.06L38.672 0H1.376l48.898 71.164L1.376 128h11.05L55.18 78.303L89.328 128h37.296L75.913 54.2ZM60.782 71.79l-4.955-7.086l-39.42-56.386h16.972L65.19 53.824l4.954 7.086l41.353 59.15h-16.97L60.782 71.793Z"/></svg>'},tiktokPixel:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="M224 72a52.059 52.059 0 0 1-52-52a4 4 0 0 0-4-4h-40a4 4 0 0 0-4 4v132a28 28 0 1 1-40.567-25.019a4 4 0 0 0 2.567-3.734V80a4 4 0 0 0-4.652-3.949A84.032 84.032 0 1 0 156 152v-43.047a99.432 99.432 0 0 0 52 14.586a4 4 0 0 0 4-4V76a4 4 0 0 0-4-4z" fill="currentColor"/></svg>',redditPixel:'<svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg" width="32" height="32"> <circle cx="400" cy="400" fill="#ff4500" r="400"/> <path d="M666.8 400c.08 5.48-.6 10.95-2.04 16.24s-3.62 10.36-6.48 15.04c-2.85 4.68-6.35 8.94-10.39 12.65s-8.58 6.83-13.49 9.27c.11 1.46.2 2.93.25 4.4a107.268 107.268 0 0 1 0 8.8c-.05 1.47-.14 2.94-.25 4.4 0 89.6-104.4 162.4-233.2 162.4S168 560.4 168 470.8c-.11-1.46-.2-2.93-.25-4.4a107.268 107.268 0 0 1 0-8.8c.05-1.47.14-2.94.25-4.4a58.438 58.438 0 0 1-31.85-37.28 58.41 58.41 0 0 1 7.8-48.42 58.354 58.354 0 0 1 41.93-25.4 58.4 58.4 0 0 1 46.52 15.5 286.795 286.795 0 0 1 35.89-20.71c12.45-6.02 25.32-11.14 38.51-15.3s26.67-7.35 40.32-9.56 27.45-3.42 41.28-3.63L418 169.6c.33-1.61.98-3.13 1.91-4.49.92-1.35 2.11-2.51 3.48-3.4 1.38-.89 2.92-1.5 4.54-1.8 1.61-.29 3.27-.26 4.87.09l98 19.6c9.89-16.99 30.65-24.27 48.98-17.19s28.81 26.43 24.71 45.65c-4.09 19.22-21.55 32.62-41.17 31.61-19.63-1.01-35.62-16.13-37.72-35.67L440 186l-26 124.8c13.66.29 27.29 1.57 40.77 3.82a284.358 284.358 0 0 1 77.8 24.86A284.412 284.412 0 0 1 568 360a58.345 58.345 0 0 1 29.4-15.21 58.361 58.361 0 0 1 32.95 3.21 58.384 58.384 0 0 1 25.91 20.61A58.384 58.384 0 0 1 666.8 400zm-396.96 55.31c2.02 4.85 4.96 9.26 8.68 12.97 3.71 3.72 8.12 6.66 12.97 8.68A40.049 40.049 0 0 0 306.8 480c16.18 0 30.76-9.75 36.96-24.69 6.19-14.95 2.76-32.15-8.68-43.59s-28.64-14.87-43.59-8.68c-14.94 6.2-24.69 20.78-24.69 36.96 0 5.25 1.03 10.45 3.04 15.31zm229.1 96.02c2.05-2 3.22-4.73 3.26-7.59.04-2.87-1.07-5.63-3.07-7.68s-4.73-3.22-7.59-3.26c-2.87-.04-5.63 1.07-7.94 2.8a131.06 131.06 0 0 1-19.04 11.35 131.53 131.53 0 0 1-20.68 7.99c-7.1 2.07-14.37 3.54-21.72 4.39-7.36.85-14.77 1.07-22.16.67-7.38.33-14.78.03-22.11-.89a129.01 129.01 0 0 1-21.64-4.6c-7.08-2.14-13.95-4.88-20.56-8.18s-12.93-7.16-18.89-11.53c-2.07-1.7-4.7-2.57-7.38-2.44s-5.21 1.26-7.11 3.15c-1.89 1.9-3.02 4.43-3.15 7.11s.74 5.31 2.44 7.38c7.03 5.3 14.5 9.98 22.33 14s16 7.35 24.4 9.97 17.01 4.51 25.74 5.66c8.73 1.14 17.54 1.53 26.33 1.17 8.79.36 17.6-.03 26.33-1.17A153.961 153.961 0 0 0 476.87 564c7.83-4.02 15.3-8.7 22.33-14zm-7.34-68.13c5.42.06 10.8-.99 15.81-3.07 5.01-2.09 9.54-5.17 13.32-9.06s6.72-8.51 8.66-13.58A39.882 39.882 0 0 0 532 441.6c0-16.18-9.75-30.76-24.69-36.96-14.95-6.19-32.15-2.76-43.59 8.68s-14.87 28.64-8.68 43.59c6.2 14.94 20.78 24.69 36.96 24.69z" fill="#fff"/> </svg>',googleAdsense:'<svg xmlns="http://www.w3.org/2000/svg" width="36.09" height="32" viewBox="0 0 256 227"><path fill="#FBBC04" d="M161.8 62.158c11.581-19.822 4.705-45.154-15.355-56.603C126.376-5.878 100.723.899 89.142 20.72c-.51.888-.99 1.794-1.44 2.715L48.553 90.41a49.41 49.41 0 0 0-2.401 4.112L5.495 164.681l72.65 40.721l40.45-69.566a40.013 40.013 0 0 0 2.402-4.112l39.15-66.983a45.769 45.769 0 0 0 1.654-2.583"/><path fill="#34A853" d="M78.483 205.189c-11.515 20.142-37.49 27.553-57.434 15.931c-19.954-11.63-27.036-36.847-15.513-56.982c11.523-20.134 37.267-27.578 57.22-15.956c19.954 11.63 27.241 36.872 15.727 56.998"/><path fill="#4285F4" d="M235.257 75.417c-19.83-11.429-45.17-4.661-56.661 15.134l-41.478 71.67c-11.428 19.755-4.678 45.033 15.076 56.46l.107.062c19.835 11.433 45.18 4.66 56.67-15.142l41.469-71.663c11.426-19.76 4.67-45.042-15.09-56.468z"/></svg>',carbonAds:{light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect width="32" height="32" rx="6" fill="#1E1E1E"/><path transform="translate(9.25,3.5)" d="M2.927 17.98c0 3.248 1.225 4.295 4.933 4.295 1.362 0 3.573-.174 5.31-.488l.305 2.584c-1.633.385-4.015.629-5.717.629C2.212 25 0 22.555 0 18.155V7.887c0-4.401 2.212-6.845 7.759-6.845 1.701 0 4.083.244 5.717.628l-.306 2.585c-1.736-.315-3.948-.49-5.309-.49-3.709 0-4.934 1.049-4.934 4.296v9.92Z" fill="#fff"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect width="32" height="32" rx="6" fill="#fff"/><path transform="translate(9.25,3.5)" d="M2.927 17.98c0 3.248 1.225 4.295 4.933 4.295 1.362 0 3.573-.174 5.31-.488l.305 2.584c-1.633.385-4.015.629-5.717.629C2.212 25 0 22.555 0 18.155V7.887c0-4.401 2.212-6.845 7.759-6.845 1.701 0 4.083.244 5.717.628l-.306 2.585c-1.736-.315-3.948-.49-5.309-.49-3.709 0-4.934 1.049-4.934 4.296v9.92Z" fill="#1E1E1E"/></svg>'},intercom:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8.968 8.972"><path d="M7.853 0h-6.73C.496 0-.002.498-.002 1.117v6.73a1.12 1.12 0 0 0 1.126 1.126h6.73c.618 0 1.117-.498 1.117-1.117v-6.73A1.119 1.119 0 0 0 7.853 0zM5.68 1.645c0-.17.13-.3.3-.3s.3.13.3.3v3.998c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495-.15c0-.17.13-.3.3-.3s.3.13.3.3v4.336c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495.15c0-.17.13-.3.3-.3s.3.13.3.3v3.998c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm-1.495.598c0-.17.13-.3.3-.3s.3.13.3.3v2.692c0 .17-.13.3-.3.3s-.3-.13-.3-.3zm6.48 4.566c-.05.04-1.156.967-3.2.967s-3.14-.927-3.2-.967a.29.29 0 0 1-.03-.419.29.29 0 0 1 .419-.03c.02 0 1.007.817 2.8.817 1.814 0 2.79-.817 2.79-.827.13-.1.32-.1.42.03a.3.3 0 0 1-.02.429zm.1-1.874c0 .17-.13.3-.3.3s-.3-.13-.3-.3V2.243c0-.17.13-.3.3-.3s.3.13.3.3z" fill="#1f8ded"/></svg>',hotjar:'<svg xmlns="http://www.w3.org/2000/svg" width="28.45" height="32" viewBox="0 0 256 288"><path fill="#FF3C00" d="M256 100.585c0 53.068-23.654 81.018-49.308 99.403l-4.984 3.443l-5 3.23l-4.979 3.04l-4.925 2.877l-18.623 10.45c-.97.554-1.925 1.106-2.867 1.656l-5.484 3.303c-19.473 12.156-31.858 25.278-32.898 54.98l-.071 4.155H71.752c0-51.355 22.158-79.19 46.838-97.595l4.964-3.56a192.48 192.48 0 0 1 2.496-1.693l5-3.229l4.978-3.04l9.759-5.616l13.787-7.712l5.652-3.305c21.022-12.65 34.51-25.579 35.597-56.632l.071-4.155zM184.252.145c0 51.35-22.153 79.185-46.833 97.591l-4.964 3.56c-.831.574-1.664 1.138-2.497 1.693l-5 3.23l-4.979 3.04l-9.76 5.616l-13.788 7.713l-5.652 3.305c-.914.55-1.814 1.1-2.7 1.653l-5.131 3.351c-16.5 11.328-26.82 24.627-27.766 51.63l-.072 4.155H0c0-54.78 25.206-82.793 51.797-101.152l4.997-3.333l4.994-3.133l4.957-2.956L87.82 64.236l5.652-3.306c21.023-12.65 34.51-25.58 35.597-56.631l.072-4.155z"/></svg>',clarity:"https://store-images.s-microsoft.com/image/apps.29332.512b1d3d-80ec-4aec-83bb-411008d2f7cd.76371b6f-9386-463f-bfb0-b75cffb86a4f.bd99f4b1-b18e-4380-aa79-93768763c90d.png",stripe:'<svg xmlns="http://www.w3.org/2000/svg" width="76.57" height="32" viewBox="0 0 512 214"><path fill="#635BFF" d="M512 110.08c0-36.409-17.636-65.138-51.342-65.138c-33.85 0-54.33 28.73-54.33 64.854c0 42.808 24.179 64.426 58.88 64.426c16.925 0 29.725-3.84 39.396-9.244v-28.445c-9.67 4.836-20.764 7.823-34.844 7.823c-13.796 0-26.027-4.836-27.591-21.618h69.547c0-1.85.284-9.245.284-12.658m-70.258-13.511c0-16.071 9.814-22.756 18.774-22.756c8.675 0 17.92 6.685 17.92 22.756zm-90.31-51.627c-13.939 0-22.899 6.542-27.876 11.094l-1.85-8.818h-31.288v165.83l35.555-7.537l.143-40.249c5.12 3.698 12.657 8.96 25.173 8.96c25.458 0 48.64-20.48 48.64-65.564c-.142-41.245-23.609-63.716-48.498-63.716m-8.534 97.991c-8.391 0-13.37-2.986-16.782-6.684l-.143-52.765c3.698-4.124 8.818-6.968 16.925-6.968c12.942 0 21.902 14.506 21.902 33.137c0 19.058-8.818 33.28-21.902 33.28M241.493 36.551l35.698-7.68V0l-35.698 7.538zm0 10.809h35.698v124.444h-35.698zm-38.257 10.524L200.96 47.36h-30.72v124.444h35.556V87.467c8.39-10.951 22.613-8.96 27.022-7.396V47.36c-4.551-1.707-21.191-4.836-29.582 10.524m-71.112-41.386l-34.702 7.395l-.142 113.92c0 21.05 15.787 36.551 36.836 36.551c11.662 0 20.195-2.133 24.888-4.693V140.8c-4.55 1.849-27.022 8.391-27.022-12.658V77.653h27.022V47.36h-27.022zM35.982 83.484c0-5.546 4.551-7.68 12.09-7.68c10.808 0 24.461 3.272 35.27 9.103V51.484c-11.804-4.693-23.466-6.542-35.27-6.542C19.2 44.942 0 60.018 0 85.192c0 39.252 54.044 32.995 54.044 49.92c0 6.541-5.688 8.675-13.653 8.675c-11.804 0-26.88-4.836-38.827-11.378v33.849c13.227 5.689 26.596 8.106 38.827 8.106c29.582 0 49.92-14.648 49.92-40.106c-.142-42.382-54.329-34.845-54.329-50.774"/></svg>',lemonSqueezy:'<svg width="21" height="28" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m6.929 17.186 7.511 3.472a3.846 3.846 0 0 1 1.943 1.983c.898 2.099-.33 4.246-2.255 5.018-1.926.772-3.979.275-4.912-1.908l-3.27-7.664c-.253-.595.384-1.178.983-.901ZM7.38 14.938l7.753-2.931c2.577-.974 5.392.869 5.354 3.547l-.003.105c-.055 2.608-2.792 4.36-5.312 3.438l-7.786-2.85a.694.694 0 0 1-.007-1.31ZM6.945 13.922l7.622-3.238C17.1 9.607 17.743 6.377 15.76 4.51a9.026 9.026 0 0 0-.078-.073c-1.945-1.805-5.16-1.17-6.267 1.208l-3.42 7.347c-.274.585.343 1.189.951.93ZM4.983 12.643l2.772-7.599a3.678 3.678 0 0 0-.076-2.732C6.78.214 4.344-.464 2.42.31.493 1.083-.595 2.84.34 5.023l3.29 7.656c.255.593 1.132.57 1.352-.036Z" fill="#FFC233"/></svg>',paypal:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.728 190.5" xmlns:v="https://vecta.io/nano"><g transform="translate(898.192 276.071)"><path clip-path="none" d="M-837.663-237.968a5.49 5.49 0 0 0-5.423 4.633l-9.013 57.15-8.281 52.514-.005.044.01-.044 8.281-52.514c.421-2.669 2.719-4.633 5.42-4.633h26.404c26.573 0 49.127-19.387 53.246-45.658.314-1.996.482-3.973.52-5.924v-.003h-.003c-6.753-3.543-14.683-5.565-23.372-5.565z" fill="#001c64"/><path clip-path="none" d="M-766.506-232.402c-.037 1.951-.207 3.93-.52 5.926-4.119 26.271-26.673 45.658-53.246 45.658h-26.404c-2.701 0-4.999 1.964-5.42 4.633l-8.281 52.514-5.197 32.947a4.46 4.46 0 0 0 4.405 5.153h28.66a5.49 5.49 0 0 0 5.423-4.633l7.55-47.881c.423-2.669 2.722-4.636 5.423-4.636h16.876c26.573 0 49.124-19.386 53.243-45.655 2.924-18.649-6.46-35.614-22.511-44.026z" fill="#0070e0"/><path clip-path="none" d="M-870.225-276.071a5.49 5.49 0 0 0-5.423 4.636l-22.489 142.608a4.46 4.46 0 0 0 4.405 5.156h33.351l8.281-52.514 9.013-57.15a5.49 5.49 0 0 1 5.423-4.633h47.782c8.691 0 16.621 2.025 23.375 5.563.46-23.917-19.275-43.666-46.412-43.666z" fill="#003087"/></g></svg>',vimeoPlayer:'<svg xmlns="http://www.w3.org/2000/svg" width="36.74" height="32" viewBox="0 0 256 223"><path fill="#32B8E8" d="M255.876 51.662c-1.139 24.968-18.545 59.157-52.209 102.55c-34.806 45.327-64.254 67.989-88.343 67.989c-14.918 0-27.551-13.799-37.863-41.406c-6.892-25.306-13.775-50.61-20.664-75.915c-7.663-27.592-15.878-41.406-24.661-41.406c-1.915 0-8.617 4.038-20.091 12.081L0 60.008a3257.325 3257.325 0 0 0 37.36-33.38C54.21 12.038 66.86 4.366 75.29 3.59c19.925-1.917 32.187 11.728 36.79 40.938c4.974 31.514 8.415 51.116 10.35 58.788c5.742 26.145 12.06 39.201 18.965 39.201c5.358 0 13.407-8.478 24.138-25.436c10.722-16.963 16.464-29.868 17.24-38.733c1.525-14.638-4.22-21.975-17.24-21.975c-6.128 0-12.447 1.413-18.946 4.206c12.58-41.29 36.618-61.343 72.1-60.199c26.304.773 38.705 17.867 37.19 51.282"/></svg>',youtubePlayer:'<svg xmlns="http://www.w3.org/2000/svg" width="45.52" height="32" viewBox="0 0 256 180"><path fill="red" d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134"/><path fill="#FFF" d="m102.421 128.06l66.328-38.418l-66.328-38.418z"/></svg>',googleMaps:'<svg xmlns="http://www.w3.org/2000/svg" width="22.33" height="32" viewBox="0 0 256 367"><path fill="#34A853" d="M70.585 271.865a370.712 370.712 0 0 1 28.911 42.642c7.374 13.982 10.448 23.463 15.837 40.31c3.305 9.308 6.292 12.086 12.714 12.086c6.998 0 10.173-4.726 12.626-12.035c5.094-15.91 9.091-28.052 15.397-39.525c12.374-22.15 27.75-41.833 42.858-60.75c4.09-5.354 30.534-36.545 42.439-61.156c0 0 14.632-27.035 14.632-64.792c0-35.318-14.43-59.813-14.43-59.813l-41.545 11.126l-25.23 66.451l-6.242 9.163l-1.248 1.66l-1.66 2.078l-2.914 3.319l-4.164 4.163l-22.467 18.304l-56.17 32.432z"/><path fill="#FBBC04" d="M12.612 188.892c13.709 31.313 40.145 58.839 58.031 82.995l95.001-112.534s-13.384 17.504-37.662 17.504c-27.043 0-48.89-21.595-48.89-48.825c0-18.673 11.234-31.501 11.234-31.501l-64.489 17.28z"/><path fill="#4285F4" d="M166.705 5.787c31.552 10.173 58.558 31.53 74.893 63.023l-75.925 90.478s11.234-13.06 11.234-31.617c0-27.864-23.463-48.68-48.81-48.68c-23.969 0-37.735 17.475-37.735 17.475v-57z"/><path fill="#1A73E8" d="M30.015 45.765C48.86 23.218 82.02 0 127.736 0c22.18 0 38.89 5.823 38.89 5.823L90.29 96.516H36.205z"/><path fill="#EA4335" d="M12.612 188.892S0 164.194 0 128.414c0-33.817 13.146-63.377 30.015-82.649l60.318 50.759z"/></svg>',blueskyEmbed:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 568 501"><path fill="#1185FE" d="M123.121 33.664C188.241 82.553 258.281 181.68 284 234.873c25.719-53.192 95.759-152.32 160.879-201.21C491.866-1.611 568-28.906 568 57.947c0 17.346-9.945 145.713-15.778 166.555c-20.275 72.453-94.155 90.933-159.875 79.748c114.875 19.831 144.097 85.561 81.022 151.291C363.929 569.326 289.18 462.062 284 449.7c-.36-.86-.36-.86 0 0c-5.18 12.362-79.929 119.626-189.369 5.84c-63.075-65.729-33.853-131.46 81.022-151.29c-65.72 11.184-139.6-7.296-159.875-79.749C9.945 203.659 0 75.291 0 57.946C0-28.906 76.134-1.612 123.121 33.664"/></svg>',instagramEmbed:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><g fill="none"><rect width="256" height="256" fill="url(#skillIconsInstagram0)" rx="60"/><rect width="256" height="256" fill="url(#skillIconsInstagram1)" rx="60"/><path fill="#fff" d="M128.009 28c-27.158 0-30.567.119-41.233.604c-10.646.488-17.913 2.173-24.271 4.646c-6.578 2.554-12.157 5.971-17.716 11.531c-5.563 5.559-8.98 11.138-11.542 17.713c-2.48 6.36-4.167 13.63-4.646 24.271c-.477 10.667-.602 14.077-.602 41.236s.12 30.557.604 41.223c.49 10.646 2.175 17.913 4.646 24.271c2.556 6.578 5.973 12.157 11.533 17.716c5.557 5.563 11.136 8.988 17.709 11.542c6.363 2.473 13.631 4.158 24.275 4.646c10.668.485 14.073.604 41.23.604c27.161 0 30.559-.119 41.225-.604c10.646-.488 17.921-2.173 24.284-4.646c6.575-2.554 12.146-5.979 17.702-11.542c5.563-5.559 8.98-11.138 11.542-17.716c2.458-6.358 4.145-13.625 4.646-24.271c.48-10.666.604-14.066.604-41.223s-.124-30.569-.604-41.236c-.501-10.646-2.188-17.911-4.646-24.271c-2.562-6.575-5.979-12.154-11.542-17.713c-5.559-5.56-11.13-8.977-17.716-11.531c-6.375-2.473-13.646-4.158-24.292-4.646C158.57 28.119 155.164 28 128.009 28m-8.868 18.021h8.868c26.695 0 29.855.103 40.41.582c9.751.446 15.042 2.079 18.567 3.454c4.667 1.813 7.992 3.979 11.492 7.48c3.5 3.5 5.666 6.829 7.483 11.496c1.375 3.525 3.012 8.813 3.454 18.563c.479 10.558.588 13.719.588 40.413s-.109 29.854-.588 40.412c-.446 9.75-2.079 15.042-3.454 18.563c-1.813 4.667-3.983 7.992-7.483 11.492a30.94 30.94 0 0 1-11.492 7.479c-3.521 1.379-8.812 3.013-18.567 3.458c-10.554.48-13.711.589-40.41.589c-26.702 0-29.859-.109-40.413-.589c-9.75-.449-15.046-2.079-18.571-3.458c-4.667-1.813-8-3.979-11.5-7.479s-5.666-6.825-7.483-11.496c-1.375-3.521-3.012-8.813-3.454-18.563c-.479-10.558-.583-13.715-.583-40.42c0-26.704.104-29.856.583-40.413c.446-9.75 2.079-15.042 3.454-18.567c1.813-4.667 3.983-7.996 11.5-11.5a30.804 30.804 0 0 1 11.496-7.479c3.525-1.375 8.821-3.013 18.571-3.458c9.238-.421 12.82-.546 31.505-.563zm62.496 16.604c-6.625 0-12 5.37-12 12c0 6.625 5.375 12 12 12c6.625 0 12-5.375 12-12s-5.375-12-12-12m-53.628 14.021c-28.272 0-51.196 22.924-51.196 51.196s22.924 51.2 51.196 51.2c28.271 0 51.2-22.929 51.2-51.2c0-28.272-22.929-51.196-51.2-51.196m0 18.021c18.334 0 33.183 14.846 33.183 33.175c0 18.334-14.849 33.184-33.183 33.184c-18.33 0-33.175-14.85-33.175-33.184c0-18.329 14.845-33.175 33.175-33.175"/><defs><radialGradient id="skillIconsInstagram0" cx="0" cy="0" r="1" gradientTransform="matrix(0 -253.715 235.975 0 68 275.717)" gradientUnits="userSpaceOnUse"><stop stop-color="#FD5"/><stop offset=".1" stop-color="#FD5"/><stop offset=".5" stop-color="#FF543E"/><stop offset="1" stop-color="#C837AB"/></radialGradient><radialGradient id="skillIconsInstagram1" cx="0" cy="0" r="1" gradientTransform="matrix(22.25952 111.2976 -458.39518 91.75449 -42.881 18.441)" gradientUnits="userSpaceOnUse"><stop stop-color="#3771C8"/><stop offset=".128" stop-color="#3771C8"/><stop offset="1" stop-color="#60F" stop-opacity="0"/></radialGradient></defs></g></svg>',xEmbed:{light:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#000" d="M18.205 2.25h3.308l-7.227 8.26l8.502 11.24H16.13l-5.214-6.817L4.95 21.75H1.64l7.73-8.835L1.215 2.25H8.04l4.713 6.231zm-1.161 17.52h1.833L7.045 4.126H5.078z"/></svg>',dark:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="#fff" d="M18.205 2.25h3.308l-7.227 8.26l8.502 11.24H16.13l-5.214-6.817L4.95 21.75H1.64l7.73-8.835L1.215 2.25H8.04l4.713 6.231zm-1.161 17.52h1.833L7.045 4.126H5.078z"/></svg>'},crisp:{light:'<svg height="30" width="35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="a" height="138.7%" width="131.4%" x="-15.7%" y="-15.1%"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dy="1" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/></filter><path id="b" d="M14.23 20.46l-9.65 1.1L3 5.12 30.07 2l1.58 16.46-9.37 1.07-3.5 5.72-4.55-4.8z"/></defs><g fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#1972f5" stroke="#1972f5" stroke-width="2" xlink:href="#b"/></g></svg>',dark:'<svg height="30" width="35" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="a" height="138.7%" width="131.4%" x="-15.7%" y="-15.1%"><feMorphology in="SourceAlpha" operator="dilate" radius="1" result="shadowSpreadOuter1"/><feOffset dy="1" in="shadowSpreadOuter1" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1"/><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"/><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0"/></filter><path id="b" d="M14.23 20.46l-9.65 1.1L3 5.12 30.07 2l1.58 16.46-9.37 1.07-3.5 5.72-4.55-4.8z"/></defs><g fill="none" fill-rule="evenodd"><use fill="#000" filter="url(#a)" xlink:href="#b"/><use fill="#fff" stroke="#fff" stroke-width="2" xlink:href="#b"/></g></svg>'},npm:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#C12127" d="M0 256V0h256v256z"/><path fill="#FFF" d="M48 48h160v160h-32V80h-48v128H48z"/></svg>',googleRecaptcha:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 262"><path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/></svg>',googleSignIn:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 262"><path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602z"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/></svg>',googleTagManager:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#8AB4F8" d="m150.262 245.516l-44.437-43.331l95.433-97.454l46.007 45.091z"/><path fill="#4285F4" d="M150.45 53.938L106.176 8.731L9.36 104.629c-12.48 12.48-12.48 32.713 0 45.207l95.36 95.986l45.09-42.182l-72.654-76.407z"/><path fill="#8AB4F8" d="m246.625 105.37l-96-96c-12.494-12.494-32.756-12.494-45.25 0c-12.495 12.495-12.495 32.757 0 45.252l96 96c12.494 12.494 32.756 12.494 45.25 0c12.495-12.495 12.495-32.757 0-45.251"/><circle cx="127.265" cy="224.731" r="31.273" fill="#246FDB"/></svg>',googleAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" width="192px" height="192px" viewBox="0 0 192 192" enable-background="new 0 0 192 192" xml:space="preserve"><rect x="0" y="0" fill="none" width="192" height="192"/><g><g><path fill="#F9AB00" d="M130,29v132c0,14.77,10.19,23,21,23c10,0,21-7,21-23V30c0-13.54-10-22-21-22S130,17.33,130,29z"/></g><g><path fill="#E37400" d="M75,96v65c0,14.77,10.19,23,21,23c10,0,21-7,21-23V97c0-13.54-10-22-21-22S75,84.33,75,96z"/></g><g><circle fill="#E37400" cx="41" cy="163" r="21"/></g></g></svg>',umamiAnalytics:'<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 24 24"><path fill="currentColor" d="M2.203 8.611H.857a.845.845 0 0 0-.841.841v.858a13 13 0 0 0-.016.6c0 6.627 5.373 12 12 12c6.527 0 11.837-5.212 11.996-11.701c0-.025.004-.05.004-.075V9.452a.845.845 0 0 0-.841-.841h-1.346c-1.159-4.329-5.112-7.521-9.805-7.521S3.363 4.282 2.203 8.611m18.444 0H3.37c1.127-3.702 4.57-6.399 8.638-6.399c4.069 0 7.512 2.697 8.639 6.399"/></svg>',gravatar:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 27 27"><path fill="#1d4fc4" d="M10.8 2.699v9.45a2.699 2.699 0 005.398 0V5.862a8.101 8.101 0 11-8.423 1.913 2.702 2.702 0 00-3.821-3.821A13.5 13.5 0 1013.499 0 2.699 2.699 0 0010.8 2.699z"/></svg>',bingUet:'<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path fill="#F25022" d="M0 0h121.5v121.5H0z"/><path fill="#7FBA00" d="M134.5 0H256v121.5H134.5z"/><path fill="#00A4EF" d="M0 134.5h121.5V256H0z"/><path fill="#FFB900" d="M134.5 134.5H256V256H134.5z"/></svg>',snapchatPixel:'<svg width="50" height="50" viewBox="147.353 39.286 514.631 514.631" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"><path style="fill:#FFFC00;" d="M147.553,423.021v0.023c0.308,11.424,0.403,22.914,2.33,34.268 c2.042,12.012,4.961,23.725,10.53,34.627c7.529,14.756,17.869,27.217,30.921,37.396c9.371,7.309,19.608,13.111,30.94,16.771 c16.524,5.33,33.571,7.373,50.867,7.473c10.791,0.068,21.575,0.338,32.37,0.293c78.395-0.33,156.792,0.566,235.189-0.484 c10.403-0.141,20.636-1.41,30.846-3.277c19.569-3.582,36.864-11.932,51.661-25.133c17.245-15.381,28.88-34.205,34.132-56.924 c3.437-14.85,4.297-29.916,4.444-45.035v-3.016c0-1.17-0.445-256.892-0.486-260.272c-0.115-9.285-0.799-18.5-2.54-27.636 c-2.117-11.133-5.108-21.981-10.439-32.053c-5.629-10.641-12.68-20.209-21.401-28.57c-13.359-12.81-28.775-21.869-46.722-26.661 c-16.21-4.327-32.747-5.285-49.405-5.27c-0.027-0.004-0.09-0.173-0.094-0.255H278.56c-0.005,0.086-0.008,0.172-0.014,0.255 c-9.454,0.173-18.922,0.102-28.328,1.268c-10.304,1.281-20.509,3.21-30.262,6.812c-15.362,5.682-28.709,14.532-40.11,26.347 c-12.917,13.386-22.022,28.867-26.853,46.894c-4.31,16.084-5.248,32.488-5.271,49.008"/><path style="fill:#FFFFFF;" d="M407.001,473.488c-1.068,0-2.087-0.039-2.862-0.076c-0.615,0.053-1.25,0.076-1.886,0.076 c-22.437,0-37.439-10.607-50.678-19.973c-9.489-6.703-18.438-13.031-28.922-14.775c-5.149-0.854-10.271-1.287-15.22-1.287 c-8.917,0-15.964,1.383-21.109,2.389c-3.166,0.617-5.896,1.148-8.006,1.148c-2.21,0-4.895-0.49-6.014-4.311 c-0.887-3.014-1.523-5.934-2.137-8.746c-1.536-7.027-2.65-11.316-5.281-11.723c-28.141-4.342-44.768-10.738-48.08-18.484 c-0.347-0.814-0.541-1.633-0.584-2.443c-0.129-2.309,1.501-4.334,3.777-4.711c22.348-3.68,42.219-15.492,59.064-35.119 c13.049-15.195,19.457-29.713,20.145-31.316c0.03-0.072,0.065-0.148,0.101-0.217c3.247-6.588,3.893-12.281,1.926-16.916 c-3.626-8.551-15.635-12.361-23.58-14.882c-1.976-0.625-3.845-1.217-5.334-1.808c-7.043-2.782-18.626-8.66-17.083-16.773 c1.124-5.916,8.949-10.036,15.273-10.036c1.756,0,3.312,0.308,4.622,0.923c7.146,3.348,13.575,5.045,19.104,5.045 c6.876,0,10.197-2.618,11-3.362c-0.198-3.668-0.44-7.546-0.674-11.214c0-0.004-0.005-0.048-0.005-0.048 c-1.614-25.675-3.627-57.627,4.546-75.95c24.462-54.847,76.339-59.112,91.651-59.112c0.408,0,6.674-0.062,6.674-0.062 c0.283-0.005,0.59-0.009,0.908-0.009c15.354,0,67.339,4.27,91.816,59.15c8.173,18.335,6.158,50.314,4.539,76.016l-0.076,1.23 c-0.222,3.49-0.427,6.793-0.6,9.995c0.756,0.696,3.795,3.096,9.978,3.339c5.271-0.202,11.328-1.891,17.998-5.014 c2.062-0.968,4.345-1.169,5.895-1.169c2.343,0,4.727,0.456,6.714,1.285l0.106,0.041c5.66,2.009,9.367,6.024,9.447,10.242 c0.071,3.932-2.851,9.809-17.223,15.485c-1.472,0.583-3.35,1.179-5.334,1.808c-7.952,2.524-19.951,6.332-23.577,14.878 c-1.97,4.635-1.322,10.326,1.926,16.912c0.036,0.072,0.067,0.145,0.102,0.221c1,2.344,25.205,57.535,79.209,66.432 c2.275,0.379,3.908,2.406,3.778,4.711c-0.048,0.828-0.248,1.656-0.598,2.465c-3.289,7.703-19.915,14.09-48.064,18.438 c-2.642,0.408-3.755,4.678-5.277,11.668c-0.63,2.887-1.271,5.717-2.146,8.691c-0.819,2.797-2.641,4.164-5.567,4.164h-0.441 c-1.905,0-4.604-0.346-8.008-1.012c-5.95-1.158-12.623-2.236-21.109-2.236c-4.948,0-10.069,0.434-15.224,1.287 c-10.473,1.744-19.421,8.062-28.893,14.758C444.443,462.88,429.436,473.488,407.001,473.488"/><path style="fill:#020202;" d="M408.336,124.235c14.455,0,64.231,3.883,87.688,56.472c7.724,17.317,5.744,48.686,4.156,73.885 c-0.248,3.999-0.494,7.875-0.694,11.576l-0.084,1.591l1.062,1.185c0.429,0.476,4.444,4.672,13.374,5.017l0.144,0.008l0.15-0.003 c5.904-0.225,12.554-2.059,19.776-5.442c1.064-0.498,2.48-0.741,3.978-0.741c1.707,0,3.521,0.321,5.017,0.951l0.226,0.09 c3.787,1.327,6.464,3.829,6.505,6.093c0.022,1.28-0.935,5.891-14.359,11.194c-1.312,0.518-3.039,1.069-5.041,1.7 c-8.736,2.774-21.934,6.96-26.376,17.427c-2.501,5.896-1.816,12.854,2.034,20.678c1.584,3.697,26.52,59.865,82.631,69.111 c-0.011,0.266-0.079,0.557-0.229,0.9c-0.951,2.24-6.996,9.979-44.612,15.783c-5.886,0.902-7.328,7.5-9,15.17 c-0.604,2.746-1.218,5.518-2.062,8.381c-0.258,0.865-0.306,0.914-1.233,0.914c-0.128,0-0.278,0-0.442,0 c-1.668,0-4.2-0.346-7.135-0.922c-5.345-1.041-12.647-2.318-21.982-2.318c-5.21,0-10.577,0.453-15.962,1.352 c-11.511,1.914-20.872,8.535-30.786,15.543c-13.314,9.408-27.075,19.143-48.071,19.143c-0.917,0-1.812-0.031-2.709-0.076 l-0.236-0.01l-0.237,0.018c-0.515,0.045-1.034,0.068-1.564,0.068c-20.993,0-34.76-9.732-48.068-19.143 c-9.916-7.008-19.282-13.629-30.791-15.543c-5.38-0.896-10.752-1.352-15.959-1.352c-9.333,0-16.644,1.428-21.978,2.471 c-2.935,0.574-5.476,1.066-7.139,1.066c-1.362,0-1.388-0.08-1.676-1.064c-0.844-2.865-1.461-5.703-2.062-8.445 c-1.676-7.678-3.119-14.312-9.002-15.215c-37.613-5.809-43.659-13.561-44.613-15.795c-0.149-0.352-0.216-0.652-0.231-0.918 c56.11-9.238,81.041-65.408,82.63-69.119c3.857-7.818,4.541-14.775,2.032-20.678c-4.442-10.461-17.638-14.653-26.368-17.422 c-2.007-0.635-3.735-1.187-5.048-1.705c-11.336-4.479-14.823-8.991-14.305-11.725c0.601-3.153,6.067-6.359,10.837-6.359 c1.072,0,2.012,0.173,2.707,0.498c7.747,3.631,14.819,5.472,21.022,5.472c9.751,0,14.091-4.537,14.557-5.055l1.057-1.182 l-0.085-1.583c-0.197-3.699-0.44-7.574-0.696-11.565c-1.583-25.205-3.563-56.553,4.158-73.871 c23.37-52.396,72.903-56.435,87.525-56.435c0.36,0,6.717-0.065,6.717-0.065C407.744,124.239,408.033,124.235,408.336,124.235 M408.336,115.197h-0.017c-0.333,0-0.646,0-0.944,0.004c-2.376,0.024-6.282,0.062-6.633,0.066c-8.566,0-25.705,1.21-44.115,9.336 c-10.526,4.643-19.994,10.921-28.14,18.66c-9.712,9.221-17.624,20.59-23.512,33.796c-8.623,19.336-6.576,51.905-4.932,78.078 l0.006,0.041c0.176,2.803,0.361,5.73,0.53,8.582c-1.265,0.581-3.316,1.194-6.339,1.194c-4.864,0-10.648-1.555-17.187-4.619 c-1.924-0.896-4.12-1.349-6.543-1.349c-3.893,0-7.997,1.146-11.557,3.239c-4.479,2.63-7.373,6.347-8.159,10.468 c-0.518,2.726-0.493,8.114,5.492,13.578c3.292,3.008,8.128,5.782,14.37,8.249c1.638,0.645,3.582,1.261,5.641,1.914 c7.145,2.271,17.959,5.702,20.779,12.339c1.429,3.365,0.814,7.793-1.823,13.145c-0.069,0.146-0.138,0.289-0.201,0.439 c-0.659,1.539-6.807,15.465-19.418,30.152c-7.166,8.352-15.059,15.332-23.447,20.752c-10.238,6.617-21.316,10.943-32.923,12.855 c-4.558,0.748-7.813,4.809-7.559,9.424c0.078,1.33,0.39,2.656,0.931,3.939c0.004,0.008,0.009,0.016,0.013,0.023 c1.843,4.311,6.116,7.973,13.063,11.203c8.489,3.943,21.185,7.26,37.732,9.855c0.836,1.59,1.704,5.586,2.305,8.322 c0.629,2.908,1.285,5.898,2.22,9.074c1.009,3.441,3.626,7.553,10.349,7.553c2.548,0,5.478-0.574,8.871-1.232 c4.969-0.975,11.764-2.305,20.245-2.305c4.702,0,9.575,0.414,14.48,1.229c9.455,1.574,17.606,7.332,27.037,14 c13.804,9.758,29.429,20.803,53.302,20.803c0.651,0,1.304-0.021,1.949-0.066c0.789,0.037,1.767,0.066,2.799,0.066 c23.88,0,39.501-11.049,53.29-20.799l0.022-0.02c9.433-6.66,17.575-12.41,27.027-13.984c4.903-0.814,9.775-1.229,14.479-1.229 c8.102,0,14.517,1.033,20.245,2.15c3.738,0.736,6.643,1.09,8.872,1.09l0.218,0.004h0.226c4.917,0,8.53-2.699,9.909-7.422 c0.916-3.109,1.57-6.029,2.215-8.986c0.562-2.564,1.46-6.674,2.296-8.281c16.558-2.6,29.249-5.91,37.739-9.852 c6.931-3.215,11.199-6.873,13.053-11.166c0.556-1.287,0.881-2.621,0.954-3.979c0.261-4.607-2.999-8.676-7.56-9.424 c-51.585-8.502-74.824-61.506-75.785-63.758c-0.062-0.148-0.132-0.295-0.205-0.438c-2.637-5.354-3.246-9.777-1.816-13.148 c2.814-6.631,13.621-10.062,20.771-12.332c2.07-0.652,4.021-1.272,5.646-1.914c7.039-2.78,12.07-5.796,15.389-9.221 c3.964-4.083,4.736-7.995,4.688-10.555c-0.121-6.194-4.856-11.698-12.388-14.393c-2.544-1.052-5.445-1.607-8.399-1.607 c-2.011,0-4.989,0.276-7.808,1.592c-6.035,2.824-11.441,4.368-16.082,4.588c-2.468-0.125-4.199-0.66-5.32-1.171 c0.141-2.416,0.297-4.898,0.458-7.486l0.067-1.108c1.653-26.19,3.707-58.784-4.92-78.134c-5.913-13.253-13.853-24.651-23.604-33.892 c-8.178-7.744-17.678-14.021-28.242-18.661C434.052,116.402,416.914,115.197,408.336,115.197"/><rect x="147.553" y="39.443" style="fill:none;" width="514.231" height="514.23"/></svg>'},ro={ip:!0,userAgent:!0,language:!0,screen:!0,timezone:!0,hardware:!0},Dl={ip:!0,userAgent:!1,language:!0,screen:!1,timezone:!1,hardware:!0},Nt={ip:!0,userAgent:!1,language:!1,screen:!1,timezone:!1,hardware:!1},M5=/[A-Z]/g;function N5(e){return e.replace(M5,t=>`-${t.toLowerCase()}`)}async function L5(e,t,n){const{composableName:r,serverHandlers:s,...o}=n,i={registryKey:t,logo:O5[t],...o};return r!==!1&&(i.import={name:r||`useScript${t.charAt(0).toUpperCase()}${t.slice(1)}`,from:await e(`./runtime/registry/${N5(t)}`)}),s&&(i.serverHandlers=await Promise.all(s.map(async a=>({...a,handler:await e(a.handler)})))),i}async function $5(e){e=e||(n=>Promise.resolve(n));const t=(n,r)=>L5(e,n,r);return Promise.all([t("plausibleAnalytics",{label:"Plausible Analytics",category:"analytics",envDefaults:{domain:""},bundle:{resolve:n=>{if(n?.scriptId)return`https://plausible.io/js/pa-${n.scriptId}.js`;const r=Array.isArray(n?.extension)?n.extension.join("."):[n?.extension];return n?.extension?`https://plausible.io/js/script.${r}.js`:"https://plausible.io/js/script.js"}},proxy:{domains:["plausible.io"],privacy:Nt,autoInject:{field:"endpoint",target:"plausible.io/api/event"}},partytown:{forwards:["plausible"]}}),t("cloudflareWebAnalytics",{schema:t5,label:"Cloudflare Web Analytics",src:"https://static.cloudflareinsights.com/beacon.min.js",category:"analytics",envDefaults:{token:""},bundle:!0,proxy:{domains:["static.cloudflareinsights.com","cloudflareinsights.com"],privacy:Nt},partytown:{forwards:["__cfBeacon"]}}),t("vercelAnalytics",{schema:P5,label:"Vercel Analytics",src:"https://va.vercel-scripts.com/v1/script.js",category:"analytics",bundle:!0,proxy:{domains:["va.vercel-scripts.com","vitals.vercel-insights.com"],privacy:Nt}}),t("posthog",{composableName:"useScriptPostHog",schema:y5,label:"PostHog",src:!1,category:"analytics",envDefaults:{apiKey:""},proxy:{domains:["us-assets.i.posthog.com","us.i.posthog.com","eu-assets.i.posthog.com","eu.i.posthog.com"],privacy:Nt,autoInject:{field:"apiHost",resolve:(n,r)=>{const o=(r.region||"us")==="eu"?"eu.i.posthog.com":"us.i.posthog.com";return`${n}/${o}`}}}}),t("fathomAnalytics",{schema:s5,label:"Fathom Analytics",src:"https://cdn.usefathom.com/script.js",category:"analytics",envDefaults:{site:""},bundle:!0,proxy:{domains:["cdn.usefathom.com","usefathom.com"],privacy:Nt,sdkPatches:[{type:"neutralize-domain-check"}]},partytown:{forwards:["fathom","fathom.trackEvent","fathom.trackPageview"]}}),t("matomoAnalytics",{schema:h5,label:"Matomo Analytics",category:"analytics",envDefaults:{matomoUrl:""},proxy:{domains:["cdn.matomo.cloud"],privacy:Nt},partytown:{forwards:["_paq.push"]}}),t("rybbitAnalytics",{schema:b5,label:"Rybbit Analytics",category:"analytics",envDefaults:{siteId:""},bundle:{resolve:n=>{const r=n?.analyticsHost;return r&&!r.startsWith("/")?`${r}/script.js`:"https://app.rybbit.io/api/script.js"}},proxy:{domains:["app.rybbit.io"],privacy:Nt,autoInject:{field:"analyticsHost",target:"app.rybbit.io/api"},sdkPatches:[{type:"replace-src-split",separator:"/script.js",fromDomain:"app.rybbit.io",appendPath:"api"}]}}),t("databuddyAnalytics",{schema:r5,label:"Databuddy Analytics",category:"analytics",envDefaults:{clientId:""},bundle:{resolve:()=>"https://cdn.databuddy.cc/databuddy.js"},proxy:{domains:["cdn.databuddy.cc","basket.databuddy.cc"],privacy:Nt,autoInject:{field:"apiUrl",target:"basket.databuddy.cc"}}}),t("segment",{schema:_5,label:"Segment",category:"analytics",envDefaults:{writeKey:""},bundle:{resolve:n=>qo("https://cdn.segment.com/analytics.js/v1",n?.writeKey||"","analytics.min.js")},partytown:{forwards:["analytics","analytics.track","analytics.page","analytics.identify"]}}),t("mixpanelAnalytics",{schema:w5,label:"Mixpanel",category:"analytics",envDefaults:{token:""},bundle:{resolve:n=>n?.token?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":!1},partytown:{forwards:["mixpanel","mixpanel.init","mixpanel.track","mixpanel.identify","mixpanel.people.set","mixpanel.reset","mixpanel.register"]}}),t("bingUet",{schema:x5,label:"Bing UET",src:"https://bat.bing.com/bat.js",category:"ad",envDefaults:{id:""},bundle:!0,partytown:{forwards:["uetq.push"]}}),t("metaPixel",{schema:g5,label:"Meta Pixel",src:"https://connect.facebook.net/en_US/fbevents.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["connect.facebook.net","www.facebook.com","facebook.com","pixel.facebook.com"],privacy:ro},partytown:{forwards:["fbq"]}}),t("xPixel",{schema:R5,label:"X Pixel",src:"https://static.ads-twitter.com/uwt.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["analytics.twitter.com","static.ads-twitter.com","t.co"],privacy:ro},partytown:{forwards:["twq"]}}),t("tiktokPixel",{composableName:"useScriptTikTokPixel",schema:E5,label:"TikTok Pixel",category:"ad",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Vr("https://analytics.tiktok.com/i18n/pixel/events.js",{sdkid:n.id,lib:"ttq"}):!1}},proxy:{domains:["analytics.tiktok.com","mon.tiktok.com","mcs.tiktok.com"],privacy:ro},partytown:{forwards:["ttq.track","ttq.page","ttq.identify"]}}),t("snapchatPixel",{schema:k5,label:"Snapchat Pixel",src:"https://sc-static.net/scevent.min.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["sc-static.net","tr.snapchat.com","pixel.tapad.com"],privacy:ro},partytown:{forwards:["snaptr"]}}),t("redditPixel",{schema:v5,label:"Reddit Pixel",src:"https://www.redditstatic.com/ads/pixel.js",category:"ad",envDefaults:{id:""},bundle:!0,proxy:{domains:["www.redditstatic.com","alb.reddit.com","pixel-config.reddit.com"],privacy:ro},partytown:{forwards:["rdt"]}}),t("googleAdsense",{schema:o5,label:"Google Adsense",category:"ad",envDefaults:{client:""},bundle:{resolve:n=>n?.client?Vr("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",{client:n?.client}):!1},proxy:"googleAnalytics"}),t("carbonAds",{composableName:!1,label:"Carbon Ads",category:"ad",proxy:{domains:["cdn.carbonads.com","srv.carbonads.net","cdn4.buysellads.net"],privacy:Nt}}),t("intercom",{schema:p5,label:"Intercom",category:"support",envDefaults:{app_id:""},bundle:{resolve(n){return n?.app_id?qo("https://widget.intercom.io/widget",n?.app_id||""):!1}},proxy:{domains:["widget.intercom.io","api-iam.intercom.io","api-iam.eu.intercom.io","api-iam.au.intercom.io","js.intercomcdn.com","downloads.intercomcdn.com","video-messages.intercomcdn.com"],privacy:Nt}}),t("hotjar",{schema:f5,label:"Hotjar",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Vr(`https://static.hotjar.com/c/hotjar-${n?.id||""}.js`,{sv:n?.sv||"6"}):!1}},proxy:{domains:["static.hotjar.com","script.hotjar.com","vars.hotjar.com","in.hotjar.com","vc.hotjar.com","vc.hotjar.io","metrics.hotjar.io","insights.hotjar.com","ask.hotjar.io","events.hotjar.io","identify.hotjar.com","surveystats.hotjar.io"],privacy:Dl}}),t("clarity",{schema:e5,label:"Clarity",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?`https://www.clarity.ms/tag/${n?.id}`:!1}},proxy:{domains:["www.clarity.ms","scripts.clarity.ms","d.clarity.ms","e.clarity.ms","k.clarity.ms","c.clarity.ms","a.clarity.ms","b.clarity.ms"],privacy:Dl},partytown:{forwards:[]}}),t("stripe",{schema:S5,label:"Stripe",category:"payments"}),t("lemonSqueezy",{label:"Lemon Squeezy",src:!1,category:"payments",proxy:{domains:["assets.lemonsqueezy.com","app.lemonsqueezy.com"],privacy:Nt}}),t("paypal",{composableName:"useScriptPayPal",label:"PayPal",src:!1,envDefaults:{clientId:""},category:"payments"}),t("vimeoPlayer",{label:"Vimeo Player",category:"video",bundle:!0,proxy:{domains:["player.vimeo.com","i.vimeocdn.com","f.vimeocdn.com","fresnel.vimeocdn.com"],privacy:Nt}}),t("youtubePlayer",{composableName:"useScriptYouTubePlayer",label:"YouTube Player",category:"video",bundle:!0,proxy:{domains:["www.youtube.com","www.youtube-nocookie.com","i.ytimg.com","static.doubleclick.net"],privacy:Nt}}),t("googleMaps",{schema:a5,label:"Google Maps",envDefaults:{apiKey:""},category:"content",serverHandlers:[{route:"/_scripts/proxy/google-static-maps",handler:"./runtime/server/google-static-maps-proxy"},{route:"/_scripts/proxy/google-maps-geocode",handler:"./runtime/server/google-maps-geocode-proxy"}]}),t("blueskyEmbed",{composableName:!1,schema:Z3,label:"Bluesky Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/bluesky",handler:"./runtime/server/bluesky-embed"},{route:"/_scripts/embed/bluesky-image",handler:"./runtime/server/bluesky-embed-image"}]}),t("instagramEmbed",{composableName:!1,schema:d5,label:"Instagram Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/instagram",handler:"./runtime/server/instagram-embed"},{route:"/_scripts/embed/instagram-image",handler:"./runtime/server/instagram-embed-image"},{route:"/_scripts/embed/instagram-asset",handler:"./runtime/server/instagram-embed-asset"}]}),t("xEmbed",{composableName:!1,schema:T5,label:"X Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/x",handler:"./runtime/server/x-embed"},{route:"/_scripts/embed/x-image",handler:"./runtime/server/x-embed-image"}]}),t("crisp",{schema:n5,label:"Crisp",category:"support",envDefaults:{id:""},bundle:!0}),t("npm",{schema:m5,label:"NPM",category:"cdn",bundle:{resolve(n){return q0(n?.file||"",`https://unpkg.com/${n?.packageName||""}@${n?.version||"latest"}`)}}}),t("googleRecaptcha",{schema:l5,label:"Google reCAPTCHA",envDefaults:{siteKey:""},category:"utility"}),t("googleSignIn",{schema:c5,label:"Google Sign-In",src:"https://accounts.google.com/gsi/client",envDefaults:{clientId:""},category:"utility"}),t("googleTagManager",{schema:u5,label:"Google Tag Manager",category:"tag-manager",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Vr("https://www.googletagmanager.com/gtm.js",{id:n.id,l:n.l,gtm_auth:n.auth,gtm_preview:n.preview,gtm_cookies_win:n.cookiesWin?"x":void 0,gtm_debug:n.debug?"x":void 0,gtm_npa:n.npa?"1":void 0,gtm_data_layer:n.dataLayer,gtm_env:n.envName,gtm_auth_referrer_policy:n.authReferrerPolicy}):!1}}}),t("googleAnalytics",{schema:i5,label:"Google Analytics",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Vr("https://www.googletagmanager.com/gtag/js",{id:n?.id,l:n?.l}):!1}},proxy:{domains:["www.google-analytics.com","analytics.google.com","stats.g.doubleclick.net","pagead2.googlesyndication.com","www.googleadservices.com","googleads.g.doubleclick.net","www.google.com","www.googletagmanager.com"],privacy:Dl},partytown:{forwards:["dataLayer.push","gtag"]}}),t("umamiAnalytics",{schema:A5,label:"Umami Analytics",category:"analytics",envDefaults:{websiteId:""},bundle:{resolve:()=>"https://cloud.umami.is/script.js"},proxy:{domains:["cloud.umami.is","api-gateway.umami.dev"],privacy:Nt,autoInject:{field:"hostUrl",target:"cloud.umami.is"}},partytown:{forwards:["umami","umami.track"]}}),t("gravatar",{schema:I5,label:"Gravatar",src:"https://secure.gravatar.com/js/gprofiles.js",category:"utility",bundle:!0,proxy:{domains:["secure.gravatar.com","gravatar.com"],privacy:Nt},serverHandlers:[{route:"/_scripts/proxy/gravatar",handler:"./runtime/server/gravatar-proxy"}]})])}function D5(e,t){var n;const r=ft();return nn(()=>{r.value=e()},{...t,flush:(n=t?.flush)!==null&&n!==void 0?n:"sync"}),ar(r)}function Gs(e,t){return ei()?(qa(e,t),!0):!1}function B5(){const e=new Set,t=o=>{e.delete(o)};return{on:o=>{e.add(o);const i=()=>t(o);return Gs(i),{off:i}},off:t,trigger:(...o)=>Promise.all(Array.from(e).map(i=>i(...o))),clear:()=>{e.clear()}}}const Ir=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const F5=e=>typeof e<"u",j5=Object.prototype.toString,q5=e=>j5.call(e)==="[object Object]",_r=()=>{};function Z0(...e){if(e.length!==1)return Bt(...e);const t=e[0];return typeof t=="function"?ar(qu(()=>({get:t,set:_r}))):J(t)}function em(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const tm=e=>e();function z5(e,t={}){let n,r,s=_r;const o=l=>{clearTimeout(l),s(),s=_r};let i;return l=>{const u=je(e),c=je(t.maxWait);return n&&o(n),u<=0||c!==void 0&&c<=0?(r&&(o(r),r=void 0),Promise.resolve(l())):new Promise((f,p)=>{s=t.rejectOnCancel?p:f,i=l,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=void 0,f(i())},c)),n=setTimeout(()=>{r&&o(r),r=void 0,f(l())},u)})}}function H5(e=tm,t={}){const{initialState:n="active"}=t,r=Z0(n==="active");function s(){r.value=!1}function o(){r.value=!0}return{isActive:ar(r),pause:s,resume:o,eventFilter:(...a)=>{r.value&&e(...a)}}}function V5(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Bl(e){return Array.isArray(e)?e:[e]}function U5(e){return dt()}function Zu(e){if(!Ir)return e;let t=0,n,r;const s=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return((...o)=>(t+=1,r||(r=cg(!0),n=r.run(()=>e(...o))),Gs(s),n))}function G5(e){return _t(Xe(e)?new Proxy({},{get(t,n,r){return _(Reflect.get(e.value,n,r))},set(t,n,r){return Xe(e.value[n])&&!Xe(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}}):e)}function nm(e){return G5(P(e))}function W5(e,...t){const n=t.flat(),r=n[0];return nm(()=>Object.fromEntries(typeof r=="function"?Object.entries(Er(e)).filter(([s,o])=>!r(je(o),s)):Object.entries(Er(e)).filter(s=>!n.includes(s[0]))))}function is(e,...t){const n=t.flat(),r=n[0];return nm(()=>Object.fromEntries(typeof r=="function"?Object.entries(Er(e)).filter(([s,o])=>r(je(o),s)):n.map(s=>[s,Z0(e,s)])))}function K5(e,t=1e4){return qu((n,r)=>{let s=je(e),o;const i=()=>setTimeout(()=>{s=je(e),r()},je(t));return Gs(()=>{clearTimeout(o)}),{get(){return n(),s},set(a){s=a,r(),clearTimeout(o),o=i()}}})}function rm(e,t=200,n={}){return em(z5(t,n),e)}function X5(e,t,n={}){const{eventFilter:r=tm,...s}=n;return Be(e,em(r,t),s)}function Y5(e,t,n={}){const{eventFilter:r,initialState:s="active",...o}=n,{eventFilter:i,pause:a,resume:l,isActive:u}=H5(r,{initialState:s});return{stop:X5(e,t,{...o,eventFilter:i}),pause:a,resume:l,isActive:u}}function J5(e,t=!0,n){U5()?Mt(e,n):t?e():At(e)}function Za(e,t,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n,o=ft(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){o.value=!1,a()}function u(...c){s&&e(),a(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=void 0,e(...c)},je(t))}return r&&(o.value=!0,Ir&&u()),Gs(l),{isPending:jr(o),start:u,stop:l}}function Q5(e=1e3,t={}){const{controls:n=!1,callback:r}=t,s=Za(r??_r,e,t),o=P(()=>!s.isPending.value);return n?{ready:o,...s}:o}function Z5(e,t,n){return Be(e,t,{...n,immediate:!0})}const Ln=Ir?window:void 0,sm=Ir?window.navigator:void 0;function mn(e){var t;const n=je(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Bn(...e){const t=(r,s,o,i)=>(r.addEventListener(s,o,i),()=>r.removeEventListener(s,o,i)),n=P(()=>{const r=Bl(je(e[0])).filter(s=>s!=null);return r.every(s=>typeof s!="string")?r:void 0});return Z5(()=>{var r,s;return[(r=(s=n.value)===null||s===void 0?void 0:s.map(o=>mn(o)))!==null&&r!==void 0?r:[Ln].filter(o=>o!=null),Bl(je(n.value?e[1]:e[0])),Bl(_(n.value?e[2]:e[1])),je(n.value?e[3]:e[2])]},([r,s,o,i],a,l)=>{if(!r?.length||!s?.length||!o?.length)return;const u=q5(i)?{...i}:i,c=r.flatMap(f=>s.flatMap(p=>o.map(d=>t(f,p,d,u))));l(()=>{c.forEach(f=>f())})},{flush:"post"})}function e4(e,t,n={}){const{window:r=Ln,ignore:s=[],capture:o=!0,detectIframe:i=!1,controls:a=!1}=n;if(!r)return a?{stop:_r,cancel:_r,trigger:_r}:_r;let l=!0;const u=y=>je(s).some(b=>{if(typeof b=="string")return Array.from(r.document.querySelectorAll(b)).some(v=>v===y.target||y.composedPath().includes(v));{const v=mn(b);return v&&(y.target===v||y.composedPath().includes(v))}});function c(y){const b=je(y);return b&&b.$.subTree.shapeFlag===16}function f(y,b){const v=je(y),m=v.$.subTree&&v.$.subTree.children;return m==null||!Array.isArray(m)?!1:m.some(w=>w.el===b.target||b.composedPath().includes(w.el))}const p=y=>{const b=mn(e);if(y.target!=null&&!(!(b instanceof Element)&&c(e)&&f(e,y))&&!(!b||b===y.target||y.composedPath().includes(b))){if("detail"in y&&y.detail===0&&(l=!u(y)),!l){l=!0;return}t(y)}};let d=!1;const h=[Bn(r,"click",y=>{d||(d=!0,setTimeout(()=>{d=!1},0),p(y))},{passive:!0,capture:o}),Bn(r,"pointerdown",y=>{const b=mn(e);l=!u(y)&&!!(b&&!y.composedPath().includes(b))},{passive:!0}),i&&Bn(r,"blur",y=>{setTimeout(()=>{var b;const v=mn(e);((b=r.document.activeElement)===null||b===void 0?void 0:b.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(y)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(y=>y());return a?{stop:g,cancel:()=>{l=!1},trigger:y=>{l=!0,p(y),l=!1}}:g}function om(){const e=ft(!1),t=dt();return t&&Mt(()=>{e.value=!0},t),e}function im(e){const t=om();return P(()=>(t.value,!!e()))}function t4(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ef(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Ln,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=t4(t);return Bn(s,o,c=>{c.repeat&&je(a)||l(c)&&n(c)},i)}function am(e,t={}){const{immediate:n=!0,fpsLimit:r=null,window:s=Ln,once:o=!1}=t,i=ft(!1),a=P(()=>{const d=je(r);return d?1e3/d:null});let l=0,u=null;function c(d){if(!i.value||!s)return;l||(l=d);const h=d-l;if(a.value&&h<a.value){u=s.requestAnimationFrame(c);return}if(l=d,e({delta:h,timestamp:d}),o){i.value=!1,u=null;return}u=s.requestAnimationFrame(c)}function f(){!i.value&&s&&(i.value=!0,l=0,u=s.requestAnimationFrame(c))}function p(){i.value=!1,u!=null&&s&&(s.cancelAnimationFrame(u),u=null)}return n&&f(),Gs(p),{isActive:ar(i),pause:p,resume:f}}function Ld(e,t={}){const{controls:n=!1,navigator:r=sm}=t,s=im(()=>r&&"permissions"in r),o=ft(),i=typeof e=="string"?{name:e}:e,a=ft(),l=()=>{var c,f;a.value=(c=(f=o.value)===null||f===void 0?void 0:f.state)!==null&&c!==void 0?c:"prompt"};Bn(o,"change",l,{passive:!0});const u=V5(async()=>{if(s.value){if(!o.value)try{o.value=await r.permissions.query(i)}catch{o.value=void 0}finally{l()}if(n)return Re(o.value)}});return u(),n?{state:a,isSupported:s,query:u}:a}function UR(e={}){const{navigator:t=sm,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=im(()=>t&&"clipboard"in t),a=Ld("clipboard-read"),l=Ld("clipboard-write"),u=P(()=>i.value||o),c=ft(""),f=ft(!1),p=Za(()=>f.value=!1,s,{immediate:!1});async function d(){let v=!(i.value&&b(a.value));if(!v)try{c.value=await t.clipboard.readText()}catch{v=!0}v&&(c.value=y())}u.value&&n&&Bn(["copy","cut"],d,{passive:!0});async function h(v=je(r)){if(u.value&&v!=null){let m=!(i.value&&b(l.value));if(!m)try{await t.clipboard.writeText(v)}catch{m=!0}m&&g(v),c.value=v,f.value=!0,p.start()}}function g(v){const m=document.createElement("textarea");m.value=v,m.style.position="absolute",m.style.opacity="0",m.setAttribute("readonly",""),document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function y(){var v,m,w;return(v=(m=document)===null||m===void 0||(w=m.getSelection)===null||w===void 0||(w=w.call(m))===null||w===void 0?void 0:w.toString())!==null&&v!==void 0?v:""}function b(v){return v==="granted"||v==="prompt"}return{isSupported:u,text:ar(c),copied:ar(f),copy:h}}function n4(e){return JSON.parse(JSON.stringify(e))}const wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xi="__vueuse_ssr_handlers__",r4=s4();function s4(){return xi in wi||(wi[xi]=wi[xi]||{}),wi[xi]}function o4(e,t){return r4[e]||t}function i4(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const a4={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},$d="vueuse-storage";function l4(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=Ln,eventFilter:p,onError:d=N=>{console.error(N)},initOnMounted:h}=r,g=(c?ft:J)(typeof t=="function"?t():t),y=P(()=>je(e));if(!n)try{n=o4("getDefaultStorage",()=>Ln?.localStorage)()}catch(N){d(N)}if(!n)return g;const b=je(t),v=i4(b),m=(s=r.serializer)!==null&&s!==void 0?s:a4[v],{pause:w,resume:x}=Y5(g,N=>M(N),{flush:o,deep:i,eventFilter:p});Be(y,()=>R(),{flush:o});let S=!1;const E=N=>{h&&!S||R(N)},T=N=>{h&&!S||G(N)};f&&a&&(n instanceof Storage?Bn(f,"storage",E,{passive:!0}):Bn(f,$d,T)),h?J5(()=>{S=!0,R()}):R();function A(N,q){if(f){const L={key:y.value,oldValue:N,newValue:q,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",L):new CustomEvent($d,{detail:L}))}}function M(N){try{const q=n.getItem(y.value);if(N==null)A(q,null),n.removeItem(y.value);else{const L=m.write(N);q!==L&&(n.setItem(y.value,L),A(q,L))}}catch(q){d(q)}}function j(N){const q=N?N.newValue:n.getItem(y.value);if(q==null)return l&&b!=null&&n.setItem(y.value,m.write(b)),b;if(!N&&u){const L=m.read(q);return typeof u=="function"?u(L,b):v==="object"&&!Array.isArray(L)?{...b,...L}:L}else return typeof q!="string"?q:m.read(q)}function R(N){if(!(N&&N.storageArea!==n)){if(N&&N.key==null){g.value=b;return}if(!(N&&N.key!==y.value)){w();try{const q=m.write(g.value);(N===void 0||N?.newValue!==q)&&(g.value=j(N))}catch(q){d(q)}finally{N?At(x):x()}}}}function G(N){R(N.detail)}return g}function lm(e,t,n={}){const{window:r=Ln}=n;return l4(e,t,r?.localStorage,n)}function zo(e,t,n,r={}){var s,o;const{clone:i=!1,passive:a=!1,eventName:l,deep:u=!1,defaultValue:c,shouldEmit:f}=r,p=dt(),d=n||p?.emit||(p==null||(s=p.$emit)===null||s===void 0?void 0:s.bind(p))||(p==null||(o=p.proxy)===null||o===void 0||(o=o.$emit)===null||o===void 0?void 0:o.bind(p?.proxy));let h=l;t||(t="modelValue"),h=h||`update:${t.toString()}`;const g=v=>i?typeof i=="function"?i(v):n4(v):v,y=()=>F5(e[t])?g(e[t]):c,b=v=>{f?f(v)&&d(h,v):d(h,v)};if(a){const v=J(y());let m=!1;return Be(()=>e[t],w=>{m||(m=!0,v.value=g(w),At(()=>m=!1))}),Be(v,w=>{!m&&(w!==e[t]||u)&&b(w)},{deep:u}),v}else return P({get(){return y()},set(v){b(v)}})}async function c4(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}}).catch(s=>({size:null,error:s}));if(t?.error)return t;if(!t.ok)return{size:null,error:new Error(`Failed to fetch ${t.status} ${t.statusText}`)};if((t.headers.get("Content-Type")||"").includes("text/html"))return{size:null};const r=await u4(t);return r?{size:f4(r)}:{size:null}}async function u4(e){const t=e.body?.getReader(),n=e.headers.get("Content-Length");if(n)return Number(n);if(!t)return null;let r=0,s=!1;for(;!s;){const o=await t.read();s=o.done,r+=o.value?.length||0}return r>0?r:null}function f4(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function GR(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function WR(e){return C3(e)?e:new URL(e).origin}function d4(e){return e<1e3?`${e}ms`:e<6e4?`${(e/1e3).toFixed(2)}s`:`${(e/6e4).toFixed(2)}m`}function KR(e){return e===0?"0 B":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}const p4=J(Date.now()),cm=J("/"),h4=J(),Zr=lm("nuxt-scripts:standalone-url",""),da=J(!1),go=P(()=>!da.value&&!!Zr.value),g4=rm(()=>{p4.value=Date.now()},200),um=lm("nuxt-scripts:preview-source","local"),Oc=J(""),fm=P(()=>{const e=Oc.value;return!e||!fr(e)?!1:!e.includes("localhost")&&!e.includes("127.0.0.1")}),_i=P(()=>um.value==="production"&&fm.value),m4=$5(),dm=J([]),Dd=J({}),Bd=_t({}),Fd=_t({}),pm=_t({}),tf=J(null),Ls=J(null);async function y4(){dm.value=await m4}const v4=/([\s_-])+/g,b4=/ /g,w4=/\(([^)]*)\)/;function x4(e){return e.replace(v4," ").split(" ").map((t,n)=>n===0?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("")}function Mc(e){if(!e||typeof e!="object"){Dd.value={};return}Dd.value=Object.fromEntries(Object.entries({...e}).map(([t,n])=>{if(n.registry=dm.value.find(i=>x4(i.label)===n.registryKey),n.registry){const i=n.registry.label.toLowerCase().replace(b4,"-");n.docs=`https://scripts.nuxt.com/scripts/${i}`}const r=n.events?.find(i=>i.status==="loading")?.at||0,s=n.events?.find(i=>i.status==="loaded")?.at||0;r&&s&&(n.loadTime=d4(s-r));const o=n.src;return!Bd[o]&&n.src&&!go.value&&c4(n.src).then(i=>{i.size&&(Bd[o]=i.size,n.size=i.size),i.error&&(Fd[o]=i.error instanceof Error?i.error.message:String(i.error),n.error=Fd[o])}),[t,n]}))}function XR(e){const t=e?.$script?.status;return t?typeof t=="object"&&"value"in t?t.value:String(t):"unknown"}function YR(e){return typeof e?.$script?.load=="function"}function JR(e){return!e||!Ls.value?.enabled?!1:Ls.value.scripts.some(t=>t.registryKey===e)}function QR(e){if(!(!e||!Ls.value?.enabled))return Ls.value.scripts.find(t=>t.registryKey===e)}function ZR(e){return pm[e]||"events"}function eI(e,t){pm[e]=t}function tI(e){const t=e.registry?.logo;return t?typeof t=="object"?t.dark||t.light:t:null}function _4(e,t){const n=t.toString(),s=n.match(w4)?.[1]?.trim()||"",o=s?s.split(",").map((a,l)=>{const u=a.trim();return u?u.includes(":")?u:`${u||`param${l+1}`}: any`:""}).filter(Boolean).join(", "):"";let i="any";return e.startsWith("is")||e.startsWith("has")||e.startsWith("can")?i="boolean":e.startsWith("get")&&e.includes("Element")?i="HTMLElement | null":e.includes("async")||n.includes("async")||n.includes("Promise")?i="Promise<any>":(e.startsWith("on")||e.includes("listen")||e.includes("subscribe"))&&(i="void"),`${e}(${o}): ${i}`}function C4(e,t){let n=typeof t;return t===null?n="null":Array.isArray(t)?n=t.length>0&&t.every(r=>typeof r==typeof t[0])?`${typeof t[0]}[]`:"any[]":n==="object"?n=t.constructor?.name!=="Object"?t.constructor.name:"object":n==="function"&&(n="Function"),`${e}: ${n}`}function nI(e){if(!e||typeof e!="object")return`interface ScriptInstance {
5
+ // No API available
6
+ }`;const t=Object.entries(e).map(([n,r])=>typeof r=="function"?` ${_4(n,r)}`:` ${C4(n,r)}`);return t.length?`interface ScriptInstance {
7
+ ${t.join(`
8
+ `)}
9
+ }`:`interface ScriptInstance {
10
+ // No API available
11
+ }`}const nf=()=>z3().app,k4=()=>nf().baseURL,S4=()=>nf().buildAssetsDir,rf=(...e)=>H0(hm(),S4(),...e),hm=(...e)=>{const t=nf(),n=t.cdnURL||t.baseURL;return e.length?H0(n,...e):n};globalThis.__buildAssetsURL=rf,globalThis.__publicAssetsURL=hm;globalThis.$fetch||(globalThis.$fetch=q3.create({baseURL:k4()}));"global"in globalThis||(globalThis.global=globalThis);function Nc(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Nc(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const gm=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function mm(e,t,n,r){for(let s=n;s<e.length;s+=1)try{const o=r?r.run(()=>e[s](...t)):e[s](...t);if(o instanceof Promise)return o.then(()=>mm(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function E4(e,t,n){if(e.length>0)return mm(e,t,0,gm(n))}function A4(e,t,n){if(e.length>0){const r=gm(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function Fl(e,t){for(const n of[...e])n(t)}var T4=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||typeof t!="function")return()=>{};const r=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let o=s.message;o||(o=`${r} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(o)||(console.warn(o),this._deprecatedMessages.add(o))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...s)=>(typeof n=="function"&&n(),n=void 0,r=void 0,t(...s));return n=this.hook(e,r),n}removeHook(e,t){const n=this._hooks[e];if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1),n.length===0&&(this._hooks[e]=void 0)}}clearHook(e){this._hooks[e]=void 0}deprecateHook(e,t){this._deprecatedHooks[e]=typeof t=="string"?{to:t}:t;const n=this._hooks[e]||[];this._hooks[e]=void 0;for(const r of n)this.hook(e,r)}deprecateHooks(e){for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=Nc(e),n=Object.keys(t).map(r=>this.hook(r,t[r]));return()=>{for(const r of n)r();n.length=0}}removeHooks(e){const t=Nc(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(E4,e,t)}callHookParallel(e,...t){return this.callHookWith(A4,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Fl(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&Fl(this._after,r)}):(this._after&&r&&Fl(this._after,r),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const t=this._before.indexOf(e);t!==-1&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const t=this._after.indexOf(e);t!==-1&&this._after.splice(t,1)}}}};function ym(){return new T4}function P4(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},u=()=>t===i?l:void 0;Lc.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{Lc.delete(u)}}}}function R4(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=P4({...e,...r})),t[n]}}}const pa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},jd="__unctx__",I4=pa[jd]||(pa[jd]=R4()),O4=(e,t={})=>I4.get(e,t),qd="__unctx_async_handlers__",Lc=pa[qd]||(pa[qd]=new Set);function Ao(e){const t=[];for(const s of Lc){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const zd=!1,M4=!1,Hd={id:"__nuxt-loader"},N4={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},L4={deep:!1},$4="#__nuxt",vm="nuxt-app",Vd=36e5,D4="vite:preloadError";function bm(e=vm){return O4(e,{asyncContext:!1})}const B4="__nuxt_plugin";function F4(e){let t=0;const n={_id:e.id||vm||"nuxt-app",_scope:cg(),provide:void 0,versions:{get nuxt(){return"4.4.2"},get vue(){return n.vueApp.version}},payload:pn({...e.ssrContext?.payload||{},data:pn({}),state:_t({}),once:new Set,_errors:pn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!ei()?n._scope.run(()=>Ud(n,s)):Ud(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:pn({}),_state:pn({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const o in s)switch(o){case"data":case"state":case"_errors":Object.assign(n.payload[o],s[o]);break;default:n.payload[o]=s[o]}}n.hooks=ym(),n.hook=n.hooks.hook;{const s=n.hooks.callHook;n.hooks.callHook=(o,...i)=>Promise.resolve().then(()=>s(o,...i))}n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;Ci(n,i,o),Ci(n.vueApp.config.globalProperties,i,o)},Ci(n.vueApp,"$nuxt",n),Ci(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(D4,o=>{n.callHook("app:chunkError",{error:o.payload}),o.payload.message.includes("Unable to preload CSS")&&o.preventDefault()}),window.useNuxtApp||=ze;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=n.payload.config;return n.provide("config",r),n}function j4(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function q4(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function z4(e,t){const n=new Set,r=[],s=[];let o,i=0;async function a(l){const u=l.dependsOn?.filter(c=>t.some(f=>f._name===c)&&!n.has(c))??[];if(u.length>0)r.push([new Set(u),l]);else{const c=q4(e,l).then(async()=>{l._name&&(n.add(l._name),await Promise.all(r.map(async([f,p])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(p)))})))}).catch(f=>{if(!l.parallel&&!e.payload.error)throw f;o||=f});l.parallel?s.push(c):await c}}for(const l of t)j4(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o)throw e.payload.error||o}function An(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[B4]:!0,_name:t})}function Ud(e,t,n){const r=()=>t();return bm(e._id).set(e),e.vueApp.runWithContext(r)}function H4(e){let t;return Wa()&&(t=dt()?.appContext.app.$nuxt),t||=bm(e).tryUse(),t||null}function ze(e){const t=H4(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function si(e){return ze().$config}function Ci(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function jl(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 $c(e,t,n=".",r){if(!jl(t))return $c(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:jl(i)&&jl(s[o])?s[o]=$c(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function wm(e){return(...t)=>t.reduce((n,r)=>$c(n,r,"",e),{})}const zn=wm(),V4=wm((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function U4(e,t){try{return t in e}catch{return!1}}class Gd extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(t,n={}){super(t,n),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Dc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=xm(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function G4(e){if(typeof e=="string")return new Gd(e);if(W4(e))return e;const t=new Gd(e.message??e.statusMessage??"",{cause:e.cause||e});if(U4(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=Dc(e.statusCode,t.statusCode):e.status&&(t.statusCode=Dc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;xm(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 W4(e){return e?.constructor?.__h3_error__===!0}const K4=/[^\u0009\u0020-\u007E]/g;function xm(e=""){return e.replace(K4,"")}function Dc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const X4=Symbol("layout-meta"),el=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Ut=()=>ze()?.$router,sf=()=>Wa()?Ve(el,ze()._route):ze()._route;const Y4=()=>{try{if(ze()._processingMiddleware)return!0}catch{return!1}return!1},J4=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Bc(e):Ut().resolve(e).href;if(t?.open){const{target:u="_blank",windowFeatures:c={}}=t.open,f=[];for(const[p,d]of Object.entries(c))d!==void 0&&f.push(`${p.toLowerCase()}=${d}`);return open(n,u,f.join(", ")),Promise.resolve()}const r=fr(n,{acceptRelative:!0}),s=t?.external||r;if(s){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:u}=new URL(n,window.location.href);if(u&&k3(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const o=Y4();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=Yu(e);return{path:u,...c&&{query:Xu(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=Ut(),a=ze();if(s)return a._scope.stop(),t?.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve();const l=typeof e=="string"?_m(e):e;return t?.replace?i.replace(l):i.push(l)};function Bc(e){return Vr(e.path||"",e.query||{})+(e.hash||"")}function _m(e){const t=Yu(e);return f3(d3(t.pathname))+t.search+t.hash}const Cm="__nuxt_error",tl=()=>Bt(ze().payload,"error"),zr=e=>{const t=kr(e);try{const n=tl();ze().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},Q4=async(e={})=>{const t=ze(),n=tl();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=void 0},km=e=>!!e&&typeof e=="object"&&Cm in e,kr=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=G4(e);return Object.defineProperty(t,Cm,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,"status",{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,"statusText",{get:()=>t.statusMessage,configurable:!0}),t};function Z4(e){const t=tw(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const ew="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function tw(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=ew.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const nw=-1,rw=-2,sw=-3,ow=-4,iw=-5,aw=-6,lw=-7;function cw(e,t){return uw(JSON.parse(e),t)}function uw(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);let s=null;function o(i,a=!1){if(i===nw)return;if(i===sw)return NaN;if(i===ow)return 1/0;if(i===iw)return-1/0;if(i===aw)return-0;if(a||typeof i!="number")throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const u=l[0],c=t&&Object.hasOwn(t,u)?t[u]:void 0;if(c){let f=l[1];if(typeof f!="number"&&(f=n.push(l[1])-1),s??=new Set,s.has(f))throw new Error("Invalid circular reference");return s.add(f),r[i]=c(o(f)),s.delete(f),r[i]}switch(u){case"Date":r[i]=new Date(l[1]);break;case"Set":const f=new Set;r[i]=f;for(let g=1;g<l.length;g+=1)f.add(o(l[g]));break;case"Map":const p=new Map;r[i]=p;for(let g=1;g<l.length;g+=2)p.set(o(l[g]),o(l[g+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":const d=Object(l[1]);if(Object.hasOwn(d,"__proto__"))throw new Error("Cannot parse an object with a `__proto__` property");r[i]=d;break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const h=Object.create(null);r[i]=h;for(let g=1;g<l.length;g+=2){if(l[g]==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");h[l[g]]=o(l[g+1])}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{if(n[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const g=globalThis[u],y=o(l[1]),b=new g(y);r[i]=l[2]!==void 0?b.subarray(l[2],l[3]):b;break}case"ArrayBuffer":{const g=l[1];if(typeof g!="string")throw new Error("Invalid ArrayBuffer encoding");const y=Z4(g);r[i]=y;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const g=u.slice(9);r[i]=Temporal[g].from(l[1]);break}case"URL":{const g=new URL(l[1]);r[i]=g;break}case"URLSearchParams":{const g=new URLSearchParams(l[1]);r[i]=g;break}default:throw new Error(`Unknown type ${u}`)}}else if(l[0]===lw){const u=l[1];if(!Number.isInteger(u)||u<0)throw new Error("Invalid input");const c=new Array(u);r[i]=c;for(let f=2;f<l.length;f+=2){const p=l[f];if(!Number.isInteger(p)||p<0||p>=u)throw new Error("Invalid input");c[p]=o(l[f+1])}}else{const u=new Array(l.length);r[i]=u;for(let c=0;c<l.length;c+=1){const f=l[c];f!==rw&&(u[c]=o(f))}}else{const u={};r[i]=u;for(const c of Object.keys(l)){if(c==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const f=l[c];u[c]=o(f)}}return r[i]}return o(0)}const fw=new Set(["link","style","script","noscript"]),dw=new Set(["title","titleTemplate","script","style","noscript"]),Fc=new Set(["base","meta","link","style","script","noscript"]),pw=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),hw=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),gw=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),mw=new Set(["templateParams","htmlAttrs","bodyAttrs"]),yw=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),vw=["name","property","http-equiv"],bw=new Set(["viewport","description","keywords","robots"]);function Sm(e){const t=e.split(":");return t.length?yw.has(t[1]):!1}function jc(e){const{props:t,tag:n}=e;if(hw.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(n==="link"&&t.rel==="alternate"){const r=t.hreflang||t.type;if(r)return`alternate:${r}`}if(t.charset)return"charset";if(e.tag==="meta"){for(const r of vw)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&bw.has(s),l=!(o||i)&&e.key?`:key:${e.key}`:"";return`${n}:${s}${l}`}}if(e.key)return`${n}:key:${e.key}`;if(t.id)return`${n}:id:${t.id}`;if(n==="link"&&t.rel==="alternate")return`alternate:${t.href||""}`;if(dw.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Em(e){const t=e._h||e._d;if(t)return t;const n=e.textContent||e.innerHTML;return n||`${e.tag}:${Object.entries(e.props).map(([r,s])=>`${r}:${String(s)}`).join(",")}`}function ha(e,t,n){typeof e==="function"&&(!n||n!=="titleTemplate"&&!(n[0]==="o"&&n[1]==="n"))&&(e=e());const s=t?t(n,e):e;if(Array.isArray(s))return s.map(o=>ha(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=ha(s[i],t,i);return o}return s}function ww(e,t){const n=e==="style"?new Map:new Set;function r(s){if(s==null||s===void 0)return;const o=String(s).trim();if(o)if(e==="style"){const[i,...a]=o.split(":").map(l=>l?l.trim():"");i&&a.length&&n.set(i,a.join(":"))}else o.split(" ").filter(Boolean).forEach(i=>n.add(i))}return typeof t=="string"?e==="style"?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(s=>r(s)):t&&typeof t=="object"&&Object.entries(t).forEach(([s,o])=>{o&&o!=="false"&&(e==="style"?n.set(String(s).trim(),String(o)):r(s))}),n}function Am(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Fc.has(e.tag)||e.tag==="htmlAttrs"||e.tag==="bodyAttrs";return Object.entries(t).forEach(([r,s])=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;if(s===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=ww(r,s);return}if(gw.has(r)){if((r==="textContent"||r==="innerHTML")&&typeof s=="object"){let u=t.type;if(t.type||(u="application/json"),!u?.endsWith("json")&&u!=="speculationrules")return;t.type=u,e.props.type=u,e[r]=JSON.stringify(s)}else e[r]=s;return}const o=r.startsWith("data-"),i=n&&!o?r.toLowerCase():r,a=String(s),l=e.tag==="meta"&&i==="content";a==="true"||a===""?e.props[i]=o||l?a:!0:!s&&o&&a==="false"?e.props[i]="false":s!==void 0&&(e.props[i]=s)}),e}function xw(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Am({tag:e,props:{}},n);return r.key&&fw.has(r.tag)&&(r.props["data-hid"]=r._h=r.key),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(s=>({...r,props:{...r.props,content:s}})):r}function _w(e,t){if(!e)return[];typeof e=="function"&&(e=e());const n=(s,o)=>{for(let i=0;i<t.length;i++)o=t[i](s,o);return o};e=n(void 0,e);const r=[];return e=ha(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(xw(s,i))}),r.flat()}const Wd=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Kd={base:-10,title:10},Cw={critical:-8,high:-1,low:2},Xd={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},kw=/@import/,so=e=>e===""||e===!0;function Sw(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Cw[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:Xd;if(t.tag in Kd)n=Kd[t.tag];else if(t.tag==="meta"){const o=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;o&&(n=Xd.meta[o])}else if(t.tag==="link"&&t.props.rel)n=s.link[t.props.rel];else if(t.tag==="script"){const o=String(t.props.type);so(t.props.async)?n=s.script.async:t.props.src&&!so(t.props.defer)&&!so(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(so(t.props.defer)&&t.props.src&&!so(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&kw.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function Yd(e,t){const n=typeof t=="function"?t(e):t,r=n.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,n),e.hooks.addHooks(n.hooks||{}))}function Ew(e={}){const t=ym();t.addHooks(e.hooks||{});const n=!e.document,r=new Map,s=new Map,o=new Set,i={_entryCount:1,plugins:s,dirty:!1,resolvedOptions:e,hooks:t,ssr:n,entries:r,headEntries(){return[...r.values()]},use:a=>Yd(i,a),push(a,l){const u={...l||{}};delete u.head;const c=u._index??i._entryCount++,f={_i:c,input:a,options:u},p={_poll(d=!1){i.dirty=!0,!d&&o.add(c),t.callHook("entries:updated",i)},dispose(){r.delete(c)&&i.invalidate()},patch(d){(!u.mode||u.mode==="server"&&n||u.mode==="client"&&!n)&&(f.input=d,r.set(c,f),p._poll())}};return p.patch(a),p},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){const p=o.values().next().value;o.delete(p);const d=r.get(p);if(d){const h={tags:_w(d.input,e.propResolvers||[]).map(g=>Object.assign(g,d.options)),entry:d};await t.callHook("entries:normalize",h),d._tags=h.tags.map((g,y)=>(g._w=Sw(i,g),g._p=(d._i<<10)+y,g._d=jc(g),g._d||(g._h=Em(g)),g))}}let l=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Wd).reduce((p,d)=>{const h=d._d||d._h;if(!p.has(h))return p.set(h,d);const g=p.get(h);if((d?.tagDuplicateStrategy||(mw.has(d.tag)?"merge":null)||(d.key&&d.key===g.key?"merge":null))==="merge"){const b={...g.props};Object.entries(d.props).forEach(([v,m])=>b[v]=v==="style"?new Map([...g.props.style||new Map,...m]):v==="class"?new Set([...g.props.class||new Set,...m]):m),p.set(h,{...d,props:b})}else d._p>>10===g._p>>10&&d.tag==="meta"&&Sm(h)?(p.set(h,Object.assign([...Array.isArray(g)?g:[g],d],d)),l=!0):(d._w===g._w?d._p>g._p:d?._w<g?._w)&&p.set(h,d);return p},a.tagMap);const u=a.tagMap.get("title"),c=a.tagMap.get("titleTemplate");if(i._title=u?.textContent,c){const p=c?.textContent;if(i._titleTemplate=p,p){let d=typeof p=="function"?p(u?.textContent):p;typeof d=="string"&&!i.plugins.has("template-params")&&(d=d.replace("%s",u?.textContent||"")),u?d===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:d}):(c.tag="title",c.textContent=d)}}a.tags=Array.from(a.tagMap.values()),l&&(a.tags=a.tags.flat().sort(Wd)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const f=[];for(const p of a.tags){const{innerHTML:d,tag:h,props:g}=p;if(pw.has(h)&&!(Object.keys(g).length===0&&!p.innerHTML&&!p.textContent)&&!(h==="meta"&&!g.content&&!g["http-equiv"]&&!g.charset)){if(h==="script"&&d){if(String(g.type).endsWith("json")){const y=typeof d=="string"?d:JSON.stringify(d);p.innerHTML=y.replace(/</g,"\\u003C")}else typeof d=="string"&&(p.innerHTML=d.replace(new RegExp(`</${h}`,"g"),`<\\/${h}`));p._d=jc(p)}f.push(p)}}return f},invalidate(){for(const a of r.values())o.add(a._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(a=>Yd(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const Aw=(e,t)=>Xe(t)?je(t):t,of="usehead";function Tw(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(of,e)}}.install}function Pw(){if(Wa()){const e=Ve(of);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Rw(e,t={}){const n=t.head||Pw();return n.ssr?n.push(e||{},t):Iw(n,e,t)}function Iw(e,t,n={}){const r=J(!1);let s;return nn(()=>{const i=r.value?{}:ha(t,Aw);s?s.patch(i):s=e.push(i,n)}),dt()&&(Hs(()=>{s.dispose()}),Wg(()=>{r.value=!0}),Gg(()=>{r.value=!1})),s}function Ow(e){const t=e||ze();return t.ssrContext?.head||t.runWithContext(()=>{if(Wa()){const n=Ve(of);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function Tm(e,t={}){const n=t.head||Ow(t.nuxt);return Rw(e,{head:n,...t})}const Mw=(e,t)=>[],Nw=e=>zn({},...Mw().map(t=>t.data).reverse()),Lw=Nw;let Ui;function $w(){return Ui=$fetch(rf(`builds/meta/${si().app.buildId}.json`),{responseType:"json"}),Ui.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ui}function Dw(){return Ui||$w()}function Pm(e){const t=typeof e=="string"?e:e.path;try{return Lw(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Bw(e){return null}let $r=null;async function Fw(){if($r)return $r;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await jw(e.textContent||""),n=e.dataset.src?await Bw(e.dataset.src):void 0;return $r={...t,...n,...window.__NUXT__},$r.config?.public&&($r.config.public=_t($r.config.public)),$r}async function jw(e){return await cw(e,ze()._payloadRevivers)}function qw(e,t){ze()._payloadRevivers[e]=t}function Jd(e){try{return JSON.parse(e)}catch{return e}}const zw=[["NuxtError",e=>kr(e)],["EmptyShallowRef",e=>ft(e==="_"?void 0:e==="0n"?BigInt(0):Jd(e))],["EmptyRef",e=>J(e==="_"?void 0:e==="0n"?BigInt(0):Jd(e))],["ShallowRef",e=>ft(e)],["ShallowReactive",e=>pn(e)],["Ref",e=>J(e)],["Reactive",e=>_t(e)]],Hw=An({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of zw)qw(r,s);Object.assign(e.payload,([t,n]=Ao(()=>e.runWithContext(Fw)),t=await t,n(),t)),delete window.__NUXT__}});async function af(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{const o=new Map,i=new Promise(d=>{e.resolveTags().then(h=>{d(h.map(g=>{const y=o.get(g._d)||0,b={tag:g,id:(y?`${g._d}:${y}`:g._d)||g._h,shouldRender:!0};return g._d&&Sm(g._d)&&o.set(g._d,y+1),b}))})});let a=e._dom;if(!a){a={title:n.title,elMap:new Map().set("htmlAttrs",n.documentElement).set("bodyAttrs",n.body)};for(const d of["body","head"]){const h=n[d]?.children;for(const g of h){const y=g.tagName.toLowerCase();if(!Fc.has(y))continue;const b=Am({tag:y,props:{}},{innerHTML:g.innerHTML,...g.getAttributeNames().reduce((v,m)=>(v[m]=g.getAttribute(m),v),{})||{}});if(b.key=g.getAttribute("data-hid")||void 0,b._d=jc(b)||Em(b),a.elMap.has(b._d)){let v=1,m=b._d;for(;a.elMap.has(m);)m=`${b._d}:${v++}`;a.elMap.set(m,g)}else a.elMap.set(b._d,g)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function l(d,h,g){const y=`${d}:${h}`;a.sideEffects[y]=g,delete a.pendingSideEffects[y]}function u({id:d,$el:h,tag:g}){const y=g.tag.endsWith("Attrs");a.elMap.set(d,h),y||(g.textContent&&g.textContent!==h.textContent&&(h.textContent=g.textContent),g.innerHTML&&g.innerHTML!==h.innerHTML&&(h.innerHTML=g.innerHTML),l(d,"el",()=>{h?.remove(),a.elMap.delete(d)}));for(const b in g.props){if(!Object.prototype.hasOwnProperty.call(g.props,b))continue;const v=g.props[b];if(b.startsWith("on")&&typeof v=="function"){const w=h?.dataset;if(w&&w[`${b}fired`]){const x=b.slice(0,-5);v.call(h,new Event(x.substring(2)))}h.getAttribute(`data-${b}`)!==""&&((g.tag==="bodyAttrs"?n.defaultView:h).addEventListener(b.substring(2),v.bind(h)),h.setAttribute(`data-${b}`,""));continue}const m=`attr:${b}`;if(b==="class"){if(!v)continue;for(const w of v)y&&l(d,`${m}:${w}`,()=>h.classList.remove(w)),!h.classList.contains(w)&&h.classList.add(w)}else if(b==="style"){if(!v)continue;for(const[w,x]of v)l(d,`${m}:${w}`,()=>{h.style.removeProperty(w)}),h.style.setProperty(w,x)}else v!==!1&&v!==null&&(h.getAttribute(b)!==v&&h.setAttribute(b,v===!0?"":String(v)),y&&l(d,m,()=>h.removeAttribute(b)))}}const c=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0},p=await i;for(const d of p){const{tag:h,shouldRender:g,id:y}=d;if(g){if(h.tag==="title"){n.title=h.textContent,l("title","",()=>n.title=a.title);continue}d.$el=d.$el||a.elMap.get(y),d.$el?u(d):Fc.has(h.tag)&&c.push(d)}}for(const d of c){const h=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),u(d),f[h]=f[h]||n.createDocumentFragment(),f[h].appendChild(d.$el)}for(const d of p)await e.hooks.callHook("dom:renderTag",d,n,l);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const d in a.pendingSideEffects)a.pendingSideEffects[d]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:p}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Vw(e={}){const t=e.domOptions?.render||af;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Ew({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Uw(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Gw(e={}){const t=Vw({domOptions:{render:Uw(()=>af(t),n=>setTimeout(n,0))},...e});return t.install=Tw(t),t}const Ww={disableDefaults:!0},Kw=An({name:"nuxt:head",enforce:"pre",setup(e){const t=Gw(Ww);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await af(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});const ms=typeof document<"u";function Rm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Rm(e.default)}const Le=Object.assign;function ql(e,t){const n={};for(const r in t){const s=t[r];n[r]=_n(s)?s.map(e):e(s)}return n}const To=()=>{},_n=Array.isArray;function Qd(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let et=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Im=Symbol("");et.MATCHER_NOT_FOUND+"",et.NAVIGATION_GUARD_REDIRECT+"",et.NAVIGATION_ABORTED+"",et.NAVIGATION_CANCELLED+"",et.NAVIGATION_DUPLICATED+"";function $s(e,t){return Le(new Error,{type:e,[Im]:!0},t)}function Wn(e,t){return e instanceof Error&&Im in e&&(t==null||!!(e.type&t))}const Yw=["params","query","hash"];function Jw(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Yw)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Qw=Symbol(""),Zd=Symbol(""),lf=Symbol(""),Om=Symbol(""),qc=Symbol(""),Zw={trailing:!0};function e6(e,t=25,n={}){if(n={...Zw,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,s,o=[],i,a;const l=(f,p)=>(i=t6(e,f,p),i.finally(()=>{if(i=null,n.trailing&&a&&!s){const d=l(f,a);return a=null,d}}),i),u=function(...f){return n.trailing&&(a=f),i||new Promise(p=>{const d=!s&&n.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const h=n.leading?r:l(this,f);a=null;for(const g of o)g(h);o=[]},t),d?(r=l(this,f),p(r)):o.push(p)})},c=f=>{f&&(clearTimeout(f),s=null)};return u.isPending=()=>!!s,u.cancel=()=>{c(s),o=[],a=null},u.flush=()=>{if(c(s),!a||i)return;const f=a;return a=null,l(this,f)},u}async function t6(e,t,n){return await e.apply(t,n)}const Mm=/#/g,n6=/&/g,r6=/\//g,s6=/=/g,o6=/\?/g,Nm=/\+/g,i6=/%5B/g,a6=/%5D/g,Lm=/%5E/g,l6=/%60/g,$m=/%7B/g,c6=/%7C/g,Dm=/%7D/g,u6=/%20/g;function cf(e){return e==null?"":encodeURI(""+e).replace(c6,"|").replace(i6,"[").replace(a6,"]")}function f6(e){return cf(e).replace($m,"{").replace(Dm,"}").replace(Lm,"^")}function zc(e){return cf(e).replace(Nm,"%2B").replace(u6,"+").replace(Mm,"%23").replace(n6,"%26").replace(l6,"`").replace($m,"{").replace(Dm,"}").replace(Lm,"^")}function d6(e){return zc(e).replace(s6,"%3D")}function p6(e){return cf(e).replace(Mm,"%23").replace(o6,"%3F")}function h6(e){return p6(e).replace(r6,"%2F")}function Ho(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const g6=/\/$/,m6=e=>e.replace(g6,"");function zl(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(r=t.slice(0,l),o=t.slice(l,a>0?a:t.length),s=e(o.slice(1))),a>=0&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=w6(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:Ho(i)}}function y6(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ep(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function v6(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Ds(t.matched[r],n.matched[s])&&Bm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ds(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Bm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!b6(e[n],t[n]))return!1;return!0}function b6(e,t){return _n(e)?tp(e,t):_n(t)?tp(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function tp(e,t){return _n(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function w6(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const on={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Hc=(function(e){return e.pop="pop",e.push="push",e})({}),Hl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function x6(e){if(!e)if(ms){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),m6(e)}const _6=/^[^#]+#/;function C6(e,t){return e.replace(_6,"#")+t}function k6(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const nl=()=>({left:window.scrollX,top:window.scrollY});function S6(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=k6(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function np(e,t){return(history.state?history.state.position-t:-1)+e}const Vc=new Map;function E6(e,t){Vc.set(e,t)}function A6(e){const t=Vc.get(e);return Vc.delete(e),t}function T6(e){return typeof e=="string"||e&&typeof e=="object"}function Fm(e){return typeof e=="string"||typeof e=="symbol"}function P6(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Nm," "),o=s.indexOf("="),i=Ho(o<0?s:s.slice(0,o)),a=o<0?null:Ho(s.slice(o+1));if(i in t){let l=t[i];_n(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function rp(e){let t="";for(let n in e){const r=e[n];if(n=d6(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(_n(r)?r.map(s=>s&&zc(s)):[r&&zc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function R6(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=_n(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function oo(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function xr(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=p=>{p===!1?l($s(et.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):T6(p)?l($s(et.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&r.enterCallbacks[s]===i&&typeof p=="function"&&i.push(p),a())},c=o(()=>e.call(r&&r.instances[s],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(p=>l(p))})}function Vl(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Rm(l)){const u=(l.__vccOpts||l)[t];u&&o.push(xr(u,n,r,i,a,s))}else{let u=l();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=Xw(c)?c.default:c;i.mods[a]=c,i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&xr(p,n,r,i,a,s)()}))}}return o}function I6(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(u=>Ds(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Ds(u,l))||s.push(l))}return[n,r,s]}let O6=()=>location.protocol+"//"+location.host;function jm(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(i);return a[0]!=="/"&&(a="/"+a),ep(a,"")}return ep(n,e)+r+s}function M6(e,t,n,r){let s=[],o=[],i=null;const a=({state:p})=>{const d=jm(e,location),h=n.value,g=t.value;let y=0;if(p){if(n.value=d,t.value=p,i&&i===h){i=null;return}y=g?p.position-g.position:0}else r(d);s.forEach(b=>{b(n.value,h,{delta:y,type:Hc.pop,direction:y?y>0?Hl.forward:Hl.back:Hl.unknown})})};function l(){i=n.value}function u(p){s.push(p);const d=()=>{const h=s.indexOf(p);h>-1&&s.splice(h,1)};return o.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Le({},p.state,{scroll:nl()}),"")}}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:f}}function sp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?nl():null}}function N6(e){const{history:t,location:n}=window,r={value:jm(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:O6()+e+l;try{t[c?"replaceState":"pushState"](u,"",p),s.value=u}catch(d){console.error(d),n[c?"replace":"assign"](p)}}function i(l,u){o(l,Le({},t.state,sp(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=Le({},s.value,t.state,{forward:l,scroll:nl()});o(c.current,c,!0),o(l,Le({},sp(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function L6(e){e=x6(e);const t=N6(e),n=M6(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Le({location:"",base:e,go:r,createHref:C6.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let Gr=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var mt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(mt||{});const $6={type:Gr.Static,value:""},D6=/[a-zA-Z0-9_]/;function B6(e){if(!e)return[[]];if(e==="/")return[[$6]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=mt.Static,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,u="",c="";function f(){u&&(n===mt.Static?o.push({type:Gr.Static,value:u}):n===mt.Param||n===mt.ParamRegExp||n===mt.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Gr.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==mt.ParamRegExp){r=n,n=mt.EscapeNext;continue}switch(n){case mt.Static:l==="/"?(u&&f(),i()):l===":"?(f(),n=mt.Param):p();break;case mt.EscapeNext:p(),n=r;break;case mt.Param:l==="("?n=mt.ParamRegExp:D6.test(l)?p():(f(),n=mt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case mt.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=mt.ParamRegExpEnd:c+=l;break;case mt.ParamRegExpEnd:f(),n=mt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===mt.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),s}const op="[^/]+?",F6={sensitive:!1,strict:!1,start:!0,end:!0};var $t=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})($t||{});const j6=/[.+*?^${}()[\]/\\]/g;function q6(e,t){const n=Le({},F6,t),r=[];let s=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[$t.Root];n.strict&&!u.length&&(s+="/");for(let f=0;f<u.length;f++){const p=u[f];let d=$t.Segment+(n.sensitive?$t.BonusCaseSensitive:0);if(p.type===Gr.Static)f||(s+="/"),s+=p.value.replace(j6,"\\$&"),d+=$t.Static;else if(p.type===Gr.Param){const{value:h,repeatable:g,optional:y,regexp:b}=p;o.push({name:h,repeatable:g,optional:y});const v=b||op;if(v!==op){d+=$t.BonusCustomRegExp;try{new RegExp(`(${v})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${h}" (${v}): `+w.message)}}let m=g?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(m=y&&u.length<2?`(?:/${m})`:"/"+m),y&&(m+="?"),s+=m,d+=$t.Dynamic,y&&(d+=$t.BonusOptional),g&&(d+=$t.BonusRepeatable),v===".*"&&(d+=$t.BonusWildcard)}c.push(d)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=$t.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(u){const c=u.match(i),f={};if(!c)return null;for(let p=1;p<c.length;p++){const d=c[p]||"",h=o[p-1];f[h.name]=d&&h.repeatable?d.split("/"):d}return f}function l(u){let c="",f=!1;for(const p of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const d of p)if(d.type===Gr.Static)c+=d.value;else if(d.type===Gr.Param){const{value:h,repeatable:g,optional:y}=d,b=h in u?u[h]:"";if(_n(b)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=_n(b)?b.join("/"):b;if(!v)if(y)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=v}}return c||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function z6(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$t.Static+$t.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$t.Static+$t.Segment?1:-1:0}function qm(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=z6(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(ip(r))return 1;if(ip(s))return-1}return s.length-r.length}function ip(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const H6={strict:!1,end:!0,sensitive:!1};function V6(e,t,n){const r=q6(B6(e.path),n),s=Le(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function U6(e,t){const n=[],r=new Map;t=Qd(H6,t);function s(f){return r.get(f)}function o(f,p,d){const h=!d,g=lp(f);g.aliasOf=d&&d.record;const y=Qd(t,f),b=[g];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const x of w)b.push(lp(Le({},g,{components:d?d.record.components:g.components,path:x,aliasOf:d?d.record:g})))}let v,m;for(const w of b){const{path:x}=w;if(p&&x[0]!=="/"){const S=p.record.path,E=S[S.length-1]==="/"?"":"/";w.path=p.record.path+(x&&E+x)}if(v=V6(w,p,y),d?d.alias.push(v):(m=m||v,m!==v&&m.alias.push(v),h&&f.name&&!cp(v)&&i(f.name)),zm(v)&&l(v),g.children){const S=g.children;for(let E=0;E<S.length;E++)o(S[E],v,d&&d.children[E])}d=d||v}return m?()=>{i(m)}:To}function i(f){if(Fm(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const p=K6(f,n);n.splice(p,0,f),f.record.name&&!cp(f)&&r.set(f.record.name,f)}function u(f,p){let d,h={},g,y;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw $s(et.MATCHER_NOT_FOUND,{location:f});y=d.record.name,h=Le(ap(p.params,d.keys.filter(m=>!m.optional).concat(d.parent?d.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&ap(f.params,d.keys.map(m=>m.name))),g=d.stringify(h)}else if(f.path!=null)g=f.path,d=n.find(m=>m.re.test(g)),d&&(h=d.parse(g),y=d.record.name);else{if(d=p.name?r.get(p.name):n.find(m=>m.re.test(p.path)),!d)throw $s(et.MATCHER_NOT_FOUND,{location:f,currentLocation:p});y=d.record.name,h=Le({},p.params,f.params),g=d.stringify(h)}const b=[];let v=d;for(;v;)b.unshift(v.record),v=v.parent;return{name:y,path:g,params:h,matched:b,meta:W6(b)}}e.forEach(f=>o(f));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:s}}function ap(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function lp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:G6(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function G6(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function cp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function W6(e){return e.reduce((t,n)=>Le(t,n.meta),{})}function K6(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;qm(e,t[o])<0?r=o:n=o+1}const s=X6(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function X6(e){let t=e;for(;t=t.parent;)if(zm(t)&&qm(e,t)===0)return t}function zm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function up(e){const t=Ve(lf),n=Ve(Om),r=P(()=>{const l=_(e.to);return t.resolve(l)}),s=P(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const p=f.findIndex(Ds.bind(null,c));if(p>-1)return p;const d=fp(l[u-2]);return u>1&&fp(c)===d&&f[f.length-1].path!==d?f.findIndex(Ds.bind(null,l[u-2])):p}),o=P(()=>s.value>-1&&e8(n.params,r.value.params)),i=P(()=>s.value>-1&&s.value===n.matched.length-1&&Bm(n.params,r.value.params));function a(l={}){if(Z6(l)){const u=t[_(e.replace)?"replace":"push"](_(e.to)).catch(To);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:P(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function Y6(e){return e.length===1?e[0]:e}const J6=me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:up,setup(e,{slots:t}){const n=_t(up(e)),{options:r}=Ve(lf),s=P(()=>({[dp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[dp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Y6(t.default(n));return e.custom?o:Ke("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Q6=J6;function Z6(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function e8(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!_n(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function fp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const dp=(e,t,n)=>e??t??n,t8=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ve(qc),s=P(()=>e.route||r.value),o=Ve(Zd,0),i=P(()=>{let u=_(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=P(()=>s.value.matched[i.value]);Zt(Zd,P(()=>i.value+1)),Zt(Qw,a),Zt(qc,s);const l=J();return Be(()=>[l.value,a.value,e.name],([u,c,f],[p,d,h])=>{c&&(c.instances[f]=u,d&&d!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!Ds(c,d)||!p)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,f=a.value,p=f&&f.components[c];if(!p)return pp(n.default,{Component:p,route:u});const d=f.props[c],h=d?d===!0?u.params:typeof d=="function"?d(u):d:null,y=Ke(p,Le({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return pp(n.default,{Component:y,route:u})||y}}});function pp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Hm=t8;function n8(e){const t=U6(e.routes,e),n=e.parseQuery||P6,r=e.stringifyQuery||rp,s=e.history,o=oo(),i=oo(),a=oo(),l=ft(on);let u=on;ms&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ql.bind(null,B=>""+B),f=ql.bind(null,h6),p=ql.bind(null,Ho);function d(B,oe){let Y,fe;return Fm(B)?(Y=t.getRecordMatcher(B),fe=oe):fe=B,t.addRoute(fe,Y)}function h(B){const oe=t.getRecordMatcher(B);oe&&t.removeRoute(oe)}function g(){return t.getRoutes().map(B=>B.record)}function y(B){return!!t.getRecordMatcher(B)}function b(B,oe){if(oe=Le({},oe||l.value),typeof B=="string"){const k=zl(n,B,oe.path),O=t.resolve({path:k.path},oe),z=s.createHref(k.fullPath);return Le(k,O,{params:p(O.params),hash:Ho(k.hash),redirectedFrom:void 0,href:z})}let Y;if(B.path!=null)Y=Le({},B,{path:zl(n,B.path,oe.path).path});else{const k=Le({},B.params);for(const O in k)k[O]==null&&delete k[O];Y=Le({},B,{params:f(k)}),oe.params=f(oe.params)}const fe=t.resolve(Y,oe),we=B.hash||"";fe.params=c(p(fe.params));const Fe=y6(r,Le({},B,{hash:f6(we),path:fe.path})),C=s.createHref(Fe);return Le({fullPath:Fe,hash:we,query:r===rp?R6(B.query):B.query||{}},fe,{redirectedFrom:void 0,href:C})}function v(B){return typeof B=="string"?zl(n,B,l.value.path):Le({},B)}function m(B,oe){if(u!==B)return $s(et.NAVIGATION_CANCELLED,{from:oe,to:B})}function w(B){return E(B)}function x(B){return w(Le(v(B),{replace:!0}))}function S(B,oe){const Y=B.matched[B.matched.length-1];if(Y&&Y.redirect){const{redirect:fe}=Y;let we=typeof fe=="function"?fe(B,oe):fe;return typeof we=="string"&&(we=we.includes("?")||we.includes("#")?we=v(we):{path:we},we.params={}),Le({query:B.query,hash:B.hash,params:we.path!=null?{}:B.params},we)}}function E(B,oe){const Y=u=b(B),fe=l.value,we=B.state,Fe=B.force,C=B.replace===!0,k=S(Y,fe);if(k)return E(Le(v(k),{state:typeof k=="object"?Le({},we,k.state):we,force:Fe,replace:C}),oe||Y);const O=Y;O.redirectedFrom=oe;let z;return!Fe&&v6(r,fe,Y)&&(z=$s(et.NAVIGATION_DUPLICATED,{to:O,from:fe}),Ze(fe,fe,!0,!1)),(z?Promise.resolve(z):M(O,fe)).catch(F=>Wn(F)?Wn(F,et.NAVIGATION_GUARD_REDIRECT)?F:te(F):$(F,O,fe)).then(F=>{if(F){if(Wn(F,et.NAVIGATION_GUARD_REDIRECT))return E(Le({replace:C},v(F.to),{state:typeof F.to=="object"?Le({},we,F.to.state):we,force:Fe}),oe||O)}else F=R(O,fe,!0,C,we);return j(O,fe,F),F})}function T(B,oe){const Y=m(B,oe);return Y?Promise.reject(Y):Promise.resolve()}function A(B){const oe=kt.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(B):B()}function M(B,oe){let Y;const[fe,we,Fe]=I6(B,oe);Y=Vl(fe.reverse(),"beforeRouteLeave",B,oe);for(const k of fe)k.leaveGuards.forEach(O=>{Y.push(xr(O,B,oe))});const C=T.bind(null,B,oe);return Y.push(C),Pe(Y).then(()=>{Y=[];for(const k of o.list())Y.push(xr(k,B,oe));return Y.push(C),Pe(Y)}).then(()=>{Y=Vl(we,"beforeRouteUpdate",B,oe);for(const k of we)k.updateGuards.forEach(O=>{Y.push(xr(O,B,oe))});return Y.push(C),Pe(Y)}).then(()=>{Y=[];for(const k of Fe)if(k.beforeEnter)if(_n(k.beforeEnter))for(const O of k.beforeEnter)Y.push(xr(O,B,oe));else Y.push(xr(k.beforeEnter,B,oe));return Y.push(C),Pe(Y)}).then(()=>(B.matched.forEach(k=>k.enterCallbacks={}),Y=Vl(Fe,"beforeRouteEnter",B,oe,A),Y.push(C),Pe(Y))).then(()=>{Y=[];for(const k of i.list())Y.push(xr(k,B,oe));return Y.push(C),Pe(Y)}).catch(k=>Wn(k,et.NAVIGATION_CANCELLED)?k:Promise.reject(k))}function j(B,oe,Y){a.list().forEach(fe=>A(()=>fe(B,oe,Y)))}function R(B,oe,Y,fe,we){const Fe=m(B,oe);if(Fe)return Fe;const C=oe===on,k=ms?history.state:{};Y&&(fe||C?s.replace(B.fullPath,Le({scroll:C&&k&&k.scroll},we)):s.push(B.fullPath,we)),l.value=B,Ze(B,oe,Y,C),te()}let G;function N(){G||(G=s.listen((B,oe,Y)=>{if(!Te.listening)return;const fe=b(B),we=S(fe,Te.currentRoute.value);if(we){E(Le(we,{replace:!0,force:!0}),fe).catch(To);return}u=fe;const Fe=l.value;ms&&E6(np(Fe.fullPath,Y.delta),nl()),M(fe,Fe).catch(C=>Wn(C,et.NAVIGATION_ABORTED|et.NAVIGATION_CANCELLED)?C:Wn(C,et.NAVIGATION_GUARD_REDIRECT)?(E(Le(v(C.to),{force:!0}),fe).then(k=>{Wn(k,et.NAVIGATION_ABORTED|et.NAVIGATION_DUPLICATED)&&!Y.delta&&Y.type===Hc.pop&&s.go(-1,!1)}).catch(To),Promise.reject()):(Y.delta&&s.go(-Y.delta,!1),$(C,fe,Fe))).then(C=>{C=C||R(fe,Fe,!1),C&&(Y.delta&&!Wn(C,et.NAVIGATION_CANCELLED)?s.go(-Y.delta,!1):Y.type===Hc.pop&&Wn(C,et.NAVIGATION_ABORTED|et.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),j(fe,Fe,C)}).catch(To)}))}let q=oo(),L=oo(),W;function $(B,oe,Y){te(B);const fe=L.list();return fe.length?fe.forEach(we=>we(B,oe,Y)):console.error(B),Promise.reject(B)}function ie(){return W&&l.value!==on?Promise.resolve():new Promise((B,oe)=>{q.add([B,oe])})}function te(B){return W||(W=!B,N(),q.list().forEach(([oe,Y])=>B?Y(B):oe()),q.reset()),B}function Ze(B,oe,Y,fe){const{scrollBehavior:we}=e;if(!ms||!we)return Promise.resolve();const Fe=!Y&&A6(np(B.fullPath,0))||(fe||!Y)&&history.state&&history.state.scroll||null;return At().then(()=>we(B,oe,Fe)).then(C=>C&&S6(C)).catch(C=>$(C,B,oe))}const Ne=B=>s.go(B);let pt;const kt=new Set,Te={currentRoute:l,listening:!0,addRoute:d,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:g,resolve:b,options:e,push:w,replace:x,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:L.add,isReady:ie,install(B){B.component("RouterLink",Q6),B.component("RouterView",Hm),B.config.globalProperties.$router=Te,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>_(l)}),ms&&!pt&&l.value===on&&(pt=!0,w(s.location).catch(fe=>{}));const oe={};for(const fe in on)Object.defineProperty(oe,fe,{get:()=>l.value[fe],enumerable:!0});B.provide(lf,Te),B.provide(Om,pn(oe)),B.provide(qc,l);const Y=B.unmount;kt.add(B),B.unmount=function(){kt.delete(B),kt.size<1&&(u=on,G&&G(),G=null,l.value=on,pt=!1,W=!1),Y()}}};function Pe(B){return B.reduce((oe,Y)=>oe.then(()=>A(Y)),Promise.resolve())}return Te}const r8=/(:\w+)\([^)]+\)/g,s8=/(:\w+)[?+*]/g,o8=/:\w+/g,i8=(e,t)=>t.path.replace(r8,"$1").replace(s8,"$1").replace(o8,n=>e.params[n.slice(1)]?.toString()||""),Uc=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&i8(e.route,n));return typeof r=="function"?r(e.route):r},a8=(e,t)=>({default:()=>e?Ke(E2,e===!0?{}:e,t):t});function Vm(e){return Array.isArray(e)?e:[e]}const l8="modulepreload",c8=function(e,t){return new URL(e,t).href},hp={},an=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(c=>{if(c=c8(c,r),c in hp)return;hp[c]=!0;const f=c.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(r)for(let h=i.length-1;h>=0;h--){const g=i[h];if(g.href===c&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":l8,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((h,g)=>{d.addEventListener("load",h),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},Ul=[{name:"docs",path:"/docs",component:()=>an(()=>import("./CfOsp0mU.js"),[],import.meta.url)},{name:"first-party",path:"/first-party",component:()=>an(()=>import("./DKL6PHO3.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"registry",path:"/registry",component:()=>an(()=>import("./dlaR8P-P.js"),__vite__mapDeps([2,3]),import.meta.url)},{name:"index",path:"/",component:()=>an(()=>import("./C8jhSQ8l.js"),__vite__mapDeps([4,5]),import.meta.url)}],u8=(e,t)=>({default:()=>e?Ke(O0,e===!0?{}:e,t):t.default?.()}),f8=/(:\w+)\([^)]+\)/g,d8=/(:\w+)[?+*]/g,p8=/:\w+/g;function gp(e){const t=e?.meta.key??e.path.replace(f8,"$1").replace(d8,"$1").replace(p8,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function h8(e,t){return e===t||t===on?!1:gp(e)!==gp(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}function mp(e){return Array.isArray(e)?e:[e]}function g8(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?mp(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?mp(n.onBeforeLeave):void 0});return zn(...t)}const m8={scrollBehavior(e,t,n){const r=ze(),s=Ut().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Um(e.hash),behavior:s}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===on?yp(e,t,n,s):new Promise(i=>{const a=()=>{requestAnimationFrame(()=>i(yp(e,t,n,s)))};r.hooks.hookOnce("page:loading:end",()=>{const l=r["~transitionPromise"];l?l.then(a):a()})})}};function Um(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function yp(e,t,n,r){if(n)return n;const s=h8(e,t);return e.hash?{el:e.hash,top:Um(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const y8={hashMode:!1,scrollBehaviorType:"auto"},gr={...y8,...m8},v8=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=Ao(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=kr({fatal:!0,status:s&&(s.status||s.statusCode)||404,statusText:s&&(s.statusText||s.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}});return typeof window<"u"&&window.history.pushState({},"",t.fullPath),o},b8=e=>{const t=Pm({path:e.path});if(t.redirect){const n=t.redirect.includes("#")?t.redirect:t.redirect+e.hash;return fr(n,{acceptRelative:!0})?(window.location.href=n,!1):n}},w8=[v8,b8],Gc={};function x8(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const u=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(u);return c[0]!=="/"&&(c="/"+c),Id(c,"")}const a=Id(r,e),l=!n||V0(a,n)?a:n;return l+(l.includes("?")?"":s)+o}const _8=An({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=si().app.baseURL;const s=gr.history?.(r)??L6(r),o=gr.routes?([t,n]=Ao(()=>gr.routes(Ul)),t=await t,n(),t??Ul):Ul;let i;const a=n8({...gr,scrollBehavior:(b,v,m)=>{if(v===on){i=m;return}if(gr.scrollBehavior){if(a.options.scrollBehavior=gr.scrollBehavior,"scrollRestoration"in window.history){const w=a.beforeEach(()=>{w(),window.history.scrollRestoration="manual"})}return gr.scrollBehavior(b,on,i||m)}},history:s,routes:o});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=ft(a.currentRoute.value);a.afterEach((b,v)=>{l.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=x8(r,window.location,e.payload.path),c=ft(a.currentRoute.value),f=()=>{c.value=a.currentRoute.value};a.afterEach((b,v)=>{b.matched.at(-1)?.components?.default===v.matched.at(-1)?.components?.default&&f()});const p={sync:f};for(const b in c.value)Object.defineProperty(p,b,{get:()=>c.value[b],enumerable:!0});e._route=pn(p),e._middleware||={global:[],named:{}};const d=tl();a.afterEach(async(b,v,m)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(Q4),m&&await e.callHook("page:loading:end")});try{[t,n]=Ao(()=>a.isReady()),await t,n()}catch(b){[t,n]=Ao(()=>e.runWithContext(()=>zr(b))),await t,n()}const h=u!==a.currentRoute.value.fullPath?a.resolve(u):a.currentRoute.value,g=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&V0(a.currentRoute.value.path,e.payload.path);f();const y=e.payload.state._layout;return a.beforeEach(async(b,v)=>{await e.callHook("page:loading:start"),b.meta=_t(b.meta),e.isHydrating&&y&&!jn(b.meta.layout)&&(b.meta.layout=y),e._processingMiddleware=!0;{const m=new Set([...w8,...e._middleware.global]);for(const x of b.matched){const S=x.meta.middleware;if(S)for(const E of Vm(S))m.add(E)}const w=Pm({path:b.path});if(w.appMiddleware)for(const x in w.appMiddleware)w.appMiddleware[x]?m.add(x):m.delete(x);for(const x of m){const S=typeof x=="string"?e._middleware.named[x]||await Gc[x]?.().then(E=>E.default||E):x;if(!S)throw new Error(`Unknown route middleware: '${x}'.`);try{const E=await e.runWithContext(()=>S(b,v));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const T=E||kr({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>zr(T)),!1}if(E===!0)continue;if(E===!1)return E;if(E)return km(E)&&E.fatal&&await e.runWithContext(()=>zr(E)),E}catch(E){const T=kr(E);return T.fatal&&await e.runWithContext(()=>zr(T)),T}}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(b=>{if(b.matched.length===0&&!d.value)return e.runWithContext(()=>zr(kr({status:404,fatal:!1,statusText:`Page not found: ${b.fullPath}`,data:{path:b.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{if("name"in h&&(h.name=void 0),g){const b=a.resolve(e.payload.path);"name"in b&&(b.name=void 0),await a.replace({...b,force:!0}),e.hooks.hookOnce("app:suspense:resolve",async()=>{await a.replace({...h,force:!0})})}else await a.replace({...h,force:!0});a.options.scrollBehavior=gr.scrollBehavior}catch(b){await e.runWithContext(()=>zr(b))}}),{provide:{router:a}}}}),Wc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),C8=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),uf=e=>{const t=ze();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Wc(()=>e())}):Wc(()=>e())},k8=An(()=>{const e=Ut();uf(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),S8=An(e=>{let t;async function n(){let r;try{r=await Dw()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Vd);try{const s=await $fetch(rf("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}uf(()=>{t=setTimeout(n,Vd)})});function E8(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||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:ze().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const A8=An({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=si(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=qo(n.app.baseURL,o.fullPath);E8({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),T8="__NUXT_COLOR_MODE__",Gl="nuxt-color-mode",P8="localStorage",R8="$s";function Gm(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const s=R8+n,o=ze(),i=Bt(o.payload.state,s);if(r&&(o._state[s]??={_default:r}),i.value===void 0&&r){const a=r();if(Xe(a))return o.payload.state[s]=a,a;i.value=a}return i}const Kn=window[T8]||{},I8=An(e=>{const t=Gm("color-mode",()=>_t({preference:Kn.preference,value:Kn.value,unknown:!1,forced:!1})).value;Ut().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Kn.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=Kn.getColorScheme())}))}function s(o,i){switch(o){case"cookie":window.document.cookie=Gl+"="+i;break;case"sessionStorage":window.sessionStorage?.setItem(Gl,i);break;default:window.localStorage?.setItem(Gl,i)}}Be(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=Kn.getColorScheme(),r()):t.value=o,s(P8,o))},{immediate:!0}),Be(()=>t.value,(o,i)=>{let a;a=window.document.createElement("style"),a.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),window.document.head.appendChild(a),Kn.removeColorScheme(i),Kn.addColorScheme(o),window.getComputedStyle(a).opacity,document.head.removeChild(a)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Kn.preference,t.value=Kn.value,t.unknown=!1)}),e.provide("colorMode",t)}),Wm=/^[a-z0-9]+(-[a-z0-9]+)*$/,oi=(e,t,n,r="")=>{const s=e.split(":");if(e.slice(0,1)==="@"){if(s.length<2||s.length>3)return null;r=s.shift().slice(1)}if(s.length>3||!s.length)return null;if(s.length>1){const a=s.pop(),l=s.pop(),u={provider:s.length>0?s[0]:r,prefix:l,name:a};return t&&!Gi(u)?null:u}const o=s[0],i=o.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Gi(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:o};return t&&!Gi(a,n)?null:a}return null},Gi=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Km=Object.freeze({left:0,top:0,width:16,height:16}),ga=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ws=Object.freeze({...Km,...ga}),Kc=Object.freeze({...Ws,body:"",hidden:!1});function O8(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function vp(e,t){const n=O8(e,t);for(const r in Kc)r in ga?r in e&&!(r in n)&&(n[r]=ga[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function M8(e,t){const n=e.icons,r=e.aliases||Object.create(null),s=Object.create(null);function o(i){if(n[i])return s[i]=[];if(!(i in s)){s[i]=null;const a=r[i]&&r[i].parent,l=a&&o(a);l&&(s[i]=[a].concat(l))}return s[i]}return Object.keys(n).concat(Object.keys(r)).forEach(o),s}function N8(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let o={};function i(a){o=vp(r[a]||s[a],o)}return i(t),n.forEach(i),vp(e,o)}function Xm(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(s=>{t(s,null),n.push(s)});const r=M8(e);for(const s in r){const o=r[s];o&&(t(s,N8(e,s,o)),n.push(s))}return n}const L8={provider:"",aliases:{},not_found:{},...Km};function Wl(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Ym(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,L8))return null;const n=t.icons;for(const s in n){const o=n[s];if(!s||typeof o.body!="string"||!Wl(o,Kc))return null}const r=t.aliases||Object.create(null);for(const s in r){const o=r[s],i=o.parent;if(!s||typeof i!="string"||!n[i]&&!r[i]||!Wl(o,Kc))return null}return t}const bp=Object.create(null);function $8(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function ns(e,t){const n=bp[e]||(bp[e]=Object.create(null));return n[t]||(n[t]=$8(e,t))}function Jm(e,t){return Ym(t)?Xm(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function D8(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Vo=!1;function Qm(e){return typeof e=="boolean"&&(Vo=e),Vo}function ff(e){const t=typeof e=="string"?oi(e,!0,Vo):e;if(t){const n=ns(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function df(e,t){const n=oi(e,!0,Vo);if(!n)return!1;const r=ns(n.provider,n.prefix);return t?D8(r,n.name,t):(r.missing.add(n.name),!0)}function B8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vo&&!t&&!e.prefix){let s=!1;return Ym(e)&&(e.prefix="",Xm(e,(o,i)=>{df(o,i)&&(s=!0)})),s}const n=e.prefix;if(!Gi({prefix:n,name:"a"}))return!1;const r=ns(t,n);return!!Jm(r,e)}function Xc(e){const t=ff(e);return t&&{...Ws,...t}}const Zm=Object.freeze({width:null,height:null}),e1=Object.freeze({...Zm,...ga}),F8=/(-?[0-9.]*[0-9]+[0-9.]*)/g,j8=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function wp(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 r=e.split(F8);if(r===null||!r.length)return e;const s=[];let o=r.shift(),i=j8.test(o);for(;;){if(i){const a=parseFloat(o);isNaN(a)?s.push(o):s.push(Math.ceil(a*t*n)/n)}else s.push(o);if(o=r.shift(),o===void 0)return s.join("");i=!i}}function q8(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),o=e.indexOf("</"+t);if(s===-1||o===-1)break;const i=e.indexOf(">",o);if(i===-1)break;n+=e.slice(s+1,o).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function z8(e,t){return e?"<defs>"+e+"</defs>"+t:t}function H8(e,t,n){const r=q8(e);return z8(r.defs,t+r.content+n)}const V8=e=>e==="unset"||e==="undefined"||e==="none";function U8(e,t){const n={...Ws,...e},r={...e1,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(g=>{const y=[],b=g.hFlip,v=g.vFlip;let m=g.rotate;b?v?m+=2:(y.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),y.push("scale(-1 1)"),s.top=s.left=0):v&&(y.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),y.push("scale(1 -1)"),s.top=s.left=0);let w;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:w=s.height/2+s.top,y.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:y.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:w=s.width/2+s.left,y.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}m%2===1&&(s.left!==s.top&&(w=s.left,s.left=s.top,s.top=w),s.width!==s.height&&(w=s.width,s.width=s.height,s.height=w)),y.length&&(o=H8(o,'<g transform="'+y.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=s.width,u=s.height;let c,f;i===null?(f=a===null?"1em":a==="auto"?u:a,c=wp(f,l/u)):(c=i==="auto"?l:i,f=a===null?wp(c,u/l):a==="auto"?u:a);const p={},d=(g,y)=>{V8(y)||(p[g]=y.toString())};d("width",c),d("height",f);const h=[s.left,s.top,l,u];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:o}}const G8=/\sid="(\S+)"/g,W8="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let K8=0;function X8(e,t=W8){const n=[];let r;for(;r=G8.exec(e);)n.push(r[1]);if(!n.length)return e;const s="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const i=typeof t=="function"?t(o):t+(K8++).toString(),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+s+"$3")}),e=e.replace(new RegExp(s,"g"),""),e}const Yc=Object.create(null);function t1(e,t){Yc[e]=t}function Jc(e){return Yc[e]||Yc[""]}function pf(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 rl=Object.create(null),io=["https://api.simplesvg.com","https://api.unisvg.com"],Wi=[];for(;io.length>0;)io.length===1||Math.random()>.5?Wi.push(io.shift()):Wi.push(io.pop());rl[""]=pf({resources:["https://api.iconify.design"].concat(Wi)});function n1(e,t){const n=pf(t);return n===null?!1:(rl[e]=n,!0)}function sl(e){return rl[e]}function Y8(){return Object.keys(rl)}const J8=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ma=J8();function Q8(e){ma=e}function Z8(){return ma}function e7(e,t){const n=sl(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let s=0;n.resources.forEach(i=>{s=Math.max(s,i.length)});const o=t+".json?icons=";r=n.maxURL-s-n.path.length-o.length}return r}function t7(e){return e===404}const n7=(e,t,n)=>{const r=[],s=e7(e,t),o="icons";let i={type:o,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,u)=>{a+=l.length+1,a>=s&&u>0&&(r.push(i),i={type:o,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function r7(e){if(typeof e=="string"){const t=sl(e);if(t)return t.path}return"/"}const s7=(e,t,n)=>{if(!ma){n("abort",424);return}let r=r7(t.provider);switch(t.type){case"icons":{const o=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=o+".json?"+l.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let s=503;ma(e+r).then(o=>{const i=o.status;if(i!==200){setTimeout(()=>{n(t7(i)?"abort":"next",i)});return}return s=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",s)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",s)})},o7={prepare:n7,send:s7};function i7(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((s,o)=>s.provider!==o.provider?s.provider.localeCompare(o.provider):s.prefix!==o.prefix?s.prefix.localeCompare(o.prefix):s.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(s=>{if(r.name===s.name&&r.prefix===s.prefix&&r.provider===s.provider)return;r=s;const o=s.provider,i=s.prefix,a=s.name,l=n[o]||(n[o]=Object.create(null)),u=l[i]||(l[i]=ns(o,i));let c;a in u.icons?c=t.loaded:i===""||u.missing.has(a)?c=t.missing:c=t.pending;const f={provider:o,prefix:i,name:a};c.push(f)}),t}function r1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function a7(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 r=e.provider,s=e.prefix;t.forEach(o=>{const i=o.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==s)return!0;const u=l.name;if(e.icons[u])i.loaded.push({provider:r,prefix:s,name:u});else if(e.missing.has(u))i.missing.push({provider:r,prefix:s,name:u});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||r1([e],o.id),o.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),o.abort))})}))}let l7=0;function c7(e,t,n){const r=l7++,s=r1.bind(null,n,r);if(!t.pending.length)return s;const o={id:r,icons:t,callback:e,abort:s};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(o)}),s}function u7(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const o=typeof s=="string"?oi(s,t,n):s;o&&r.push(o)}),r}var f7={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function d7(e,t,n,r){const s=e.resources.length,o=e.random?Math.floor(Math.random()*s):e.index;let i;if(e.random){let S=e.resources.slice(0);for(i=[];S.length>1;){const E=Math.floor(Math.random()*S.length);i.push(S[E]),S=S.slice(0,E).concat(S.slice(E+1))}i=i.concat(S)}else i=e.resources.slice(o).concat(e.resources.slice(0,o));const a=Date.now();let l="pending",u=0,c,f=null,p=[],d=[];typeof r=="function"&&d.push(r);function h(){f&&(clearTimeout(f),f=null)}function g(){l==="pending"&&(l="aborted"),h(),p.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),p=[]}function y(S,E){E&&(d=[]),typeof S=="function"&&d.push(S)}function b(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:p.length,subscribe:y,abort:g}}function v(){l="failed",d.forEach(S=>{S(void 0,c)})}function m(){p.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),p=[]}function w(S,E,T){const A=E!=="success";switch(p=p.filter(M=>M!==S),l){case"pending":break;case"failed":if(A||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){c=T,v();return}if(A){c=T,p.length||(i.length?x():v());return}if(h(),m(),!e.random){const M=e.resources.indexOf(S.resource);M!==-1&&M!==e.index&&(e.index=M)}l="completed",d.forEach(M=>{M(T)})}function x(){if(l!=="pending")return;h();const S=i.shift();if(S===void 0){if(p.length){f=setTimeout(()=>{h(),l==="pending"&&(m(),v())},e.timeout);return}v();return}const E={status:"pending",resource:S,callback:(T,A)=>{w(E,T,A)}};p.push(E),u++,f=setTimeout(x,e.rotate),n(S,t,E.callback)}return setTimeout(x),b}function s1(e){const t={...f7,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function s(a,l,u){const c=d7(t,a,l,(f,p)=>{r(),u&&u(f,p)});return n.push(c),c}function o(a){return n.find(l=>a(l))||null}return{query:s,find:o,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function xp(){}const Kl=Object.create(null);function p7(e){if(!Kl[e]){const t=sl(e);if(!t)return;const n=s1(t),r={config:t,redundancy:n};Kl[e]=r}return Kl[e]}function o1(e,t,n){let r,s;if(typeof e=="string"){const o=Jc(e);if(!o)return n(void 0,424),xp;s=o.send;const i=p7(e);i&&(r=i.redundancy)}else{const o=pf(e);if(o){r=s1(o);const i=e.resources?e.resources[0]:"",a=Jc(i);a&&(s=a.send)}}return!r||!s?(n(void 0,424),xp):r.query(t,s,n)().abort}function _p(){}function h7(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,a7(e)}))}function g7(e){const t=[],n=[];return e.forEach(r=>{(r.match(Wm)?t:n).push(r)}),{valid:t,invalid:n}}function ao(e,t,n){function r(){const s=e.pendingIcons;t.forEach(o=>{s&&s.delete(o),e.icons[o]||e.missing.add(o)})}if(n&&typeof n=="object")try{if(!Jm(e,n).length){r();return}}catch(s){console.error(s)}r(),h7(e)}function Cp(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function m7(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:r}=e,s=e.iconsToLoad;if(delete e.iconsToLoad,!s||!s.length)return;const o=e.loadIcon;if(e.loadIcons&&(s.length>1||!o)){Cp(e.loadIcons(s,r,n),c=>{ao(e,s,c)});return}if(o){s.forEach(c=>{const f=o(c,r,n);Cp(f,p=>{const d=p?{prefix:r,icons:{[c]:p}}:null;ao(e,[c],d)})});return}const{valid:i,invalid:a}=g7(s);if(a.length&&ao(e,a,null),!i.length)return;const l=r.match(Wm)?Jc(n):null;if(!l){ao(e,i,null);return}l.prepare(n,r,i).forEach(c=>{o1(n,c,f=>{ao(e,c.icons,f)})})}))}const i1=(e,t)=>{const n=u7(e,!0,Qm()),r=i7(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,_p)}),()=>{l=!1}}const s=Object.create(null),o=[];let i,a;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===a&&u===i)return;i=u,a=c,o.push(ns(u,c));const f=s[u]||(s[u]=Object.create(null));f[c]||(f[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:f}=l,p=ns(u,c),d=p.pendingIcons||(p.pendingIcons=new Set);d.has(f)||(d.add(f),s[u][c].push(f))}),o.forEach(l=>{const u=s[l.provider][l.prefix];u.length&&m7(l,u)}),t?c7(t,r,o):_p},y7=e=>new Promise((t,n)=>{const r=typeof e=="string"?oi(e,!0):e;if(!r){n(e);return}i1([r||e],s=>{if(s.length&&r){const o=ff(r);if(o){t({...Ws,...o});return}}n(e)})});function v7(e,t,n){ns("",t).loadIcons=e}function b7(e,t){const n={...e};for(const r in t){const s=t[r],o=typeof s;r in Zm?(s===null||s&&(o==="string"||o==="number"))&&(n[r]=s):o===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const w7=/[\s,]+/;function x7(e,t){t.split(w7).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function _7(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(s){for(;s<0;)s+=4;return s%4}if(n===""){const s=parseInt(e);return isNaN(s)?0:r(s)}else if(n!==e){let s=0;switch(n){case"%":s=25;break;case"deg":s=90}if(s){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/s,o%1===0?r(o):0)}}return t}function C7(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function k7(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function S7(e){return"data:image/svg+xml,"+k7(e)}function E7(e){return'url("'+S7(e)+'")'}const kp={...e1,inline:!1},A7={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},T7={display:"inline-block"},Qc={backgroundColor:"currentColor"},a1={backgroundColor:"transparent"},Sp={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ep={webkitMask:Qc,mask:Qc,background:a1};for(const e in Ep){const t=Ep[e];for(const n in Sp)t[e+n]=Sp[n]}const Ki={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ki[e+"-flip"]=t,Ki[e.slice(0,1)+"-flip"]=t,Ki[e+"Flip"]=t});function Ap(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Tp=(e,t)=>{const n=b7(kp,t),r={...A7},s=t.mode||"svg",o={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let g in t){const y=t[g];if(y!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[g]=y===!0||y==="true"||y===1;break;case"flip":typeof y=="string"&&x7(n,y);break;case"color":o.color=y;break;case"rotate":typeof y=="string"?n[g]=_7(y):typeof y=="number"&&(n[g]=y);break;case"ariaHidden":case"aria-hidden":y!==!0&&y!=="true"&&delete r["aria-hidden"];break;default:{const b=Ki[g];b?(y===!0||y==="true"||y===1)&&(n[b]=!0):kp[g]===void 0&&(r[g]=y)}}}const l=U8(e,n),u=l.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),s==="svg"){r.style={...o,...a},Object.assign(r,u);let g=0,y=t.id;return typeof y=="string"&&(y=y.replace(/-/g,"_")),r.innerHTML=X8(l.body,y?()=>y+"ID"+g++:"iconifyVue"),Ke("svg",r)}const{body:c,width:f,height:p}=e,d=s==="mask"||(s==="bg"?!1:c.indexOf("currentColor")!==-1),h=C7(c,{...u,width:f+"",height:p+""});return r.style={...o,"--svg":E7(h),width:Ap(u.width),height:Ap(u.height),...T7,...d?Qc:a1,...a},Ke("span",r)};Qm(!0);t1("",o7);if(typeof document<"u"&&typeof window<"u"){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(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!B8(r))&&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 r="IconifyProviders["+n+"] is invalid.";try{const s=t[n];if(typeof s!="object"||!s||s.resources===void 0)continue;n1(n,s)||console.error(r)}catch{console.error(r)}}}}const P7={...Ws,body:""},R7=me((e,{emit:t})=>{const n=J(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const s=J(!!e.ssr),o=J(""),i=ft(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return o.value="",{data:u};let c;if(typeof u!="string"||(c=oi(u,!1,!0))===null)return null;let f=ff(c);if(!f){const h=n.value;return(!h||h.name!==u)&&(f===null?n.value={name:u}:n.value={name:u,abort:i1([c],l)}),null}r(),o.value!==u&&(o.value=u,At(()=>{t("load",u)}));const p=e.customise;if(p){f=Object.assign({},f);const h=p(f.body,c.name,c.prefix,c.provider);typeof h=="string"&&(f.body=h)}const d=["iconify"];return c.prefix!==""&&d.push("iconify--"+c.prefix),c.provider!==""&&d.push("iconify--"+c.provider),{data:f,classes:d}}function l(){const u=a();u?u.data!==i.value?.data&&(i.value=u):i.value=null}return s.value?l():Mt(()=>{s.value=!0,l()}),Be(()=>e.icon,l),os(r),()=>{const u=i.value;if(!u)return Tp(P7,e);let c=e;return u.classes&&(c={...e,class:u.classes.join(" ")}),Tp({...Ws,...u.data},c)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),Pp={getAPIConfig:sl,setAPIModule:t1,sendAPIQuery:o1,setFetch:Q8,getFetch:Z8,listAPIProviders:Y8},I7={ui:{colors:{primary:"green",neutral:"neutral"},button:{defaultVariants:{color:"neutral",variant:"ghost",size:"sm"}},badge:{defaultVariants:{color:"neutral",variant:"subtle",size:"xs"}},tooltip:{defaultVariants:{delayDuration:0}}}},O7={nuxt:{},ui:{colors:{primary:"green",secondary:"blue",success:"green",info:"blue",warning:"yellow",error:"red",neutral:"slate"},icons:{arrowDown:"i-lucide-arrow-down",arrowLeft:"i-lucide-arrow-left",arrowRight:"i-lucide-arrow-right",arrowUp:"i-lucide-arrow-up",caution:"i-lucide-circle-alert",check:"i-lucide-check",chevronDoubleLeft:"i-lucide-chevrons-left",chevronDoubleRight:"i-lucide-chevrons-right",chevronDown:"i-lucide-chevron-down",chevronLeft:"i-lucide-chevron-left",chevronRight:"i-lucide-chevron-right",chevronUp:"i-lucide-chevron-up",close:"i-lucide-x",copy:"i-lucide-copy",copyCheck:"i-lucide-copy-check",dark:"i-lucide-moon",drag:"i-lucide-grip-vertical",ellipsis:"i-lucide-ellipsis",error:"i-lucide-circle-x",external:"i-lucide-arrow-up-right",eye:"i-lucide-eye",eyeOff:"i-lucide-eye-off",file:"i-lucide-file",folder:"i-lucide-folder",folderOpen:"i-lucide-folder-open",hash:"i-lucide-hash",info:"i-lucide-info",light:"i-lucide-sun",loading:"i-lucide-loader-circle",menu:"i-lucide-menu",minus:"i-lucide-minus",panelClose:"i-lucide-panel-left-close",panelOpen:"i-lucide-panel-left-open",plus:"i-lucide-plus",reload:"i-lucide-rotate-ccw",search:"i-lucide-search",stop:"i-lucide-square",success:"i-lucide-circle-check",system:"i-lucide-monitor",tip:"i-lucide-lightbulb",upload:"i-lucide-upload",warning:"i-lucide-triangle-alert"},tv:{twMergeConfig:{}}},icon:{provider:"iconify",class:"",aliases:{},iconifyApiEndpoint:"https://api.iconify.design",localApiEndpoint:"/api/_nuxt_icon",fallbackToApi:!0,cssSelectorPrefix:"i-",cssWherePseudo:!0,cssLayer:"base",mode:"css",attrs:{"aria-hidden":!0},collections:["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency","cryptocurrency-color","cuida","dashicons","devicon","devicon-plain","dinkie-icons","duo-icons","ei","el","emojione","emojione-monotone","emojione-v1","entypo","entypo-social","eos-icons","ep","et","eva","f7","fa","fa-brands","fa-regular","fa-solid","fa6-brands","fa6-regular","fa6-solid","fa7-brands","fa7-regular","fa7-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent","fluent-color","fluent-emoji","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-mdl2","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons","heroicons-outline","heroicons-solid","hugeicons","humbleicons","ic","icomoon-free","icon-park","icon-park-outline","icon-park-solid","icon-park-twotone","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide","lucide-lab","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols","material-symbols-light","mdi","mdi-light","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto","noto-v1","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons","pepicons-pencil","pepicons-pop","pepicons-print","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","roentgen","si","si-glyph","sidekickicons","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline","streamline-block","streamline-color","streamline-cyber","streamline-cyber-color","streamline-emojis","streamline-flex","streamline-flex-color","streamline-freehand","streamline-freehand-color","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump","streamline-plump-color","streamline-sharp","streamline-sharp-color","streamline-stickies-color","streamline-ultimate","streamline-ultimate-color","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","temaki","token","token-branded","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],fetchTimeout:1500}},l1=V4(I7,O7);function Ct(){const e=ze();return e._appConfig||=_t(l1),e._appConfig}const M7=An({name:"@nuxt/icon",setup(){const e=si(),t=Ct().icon;Pp.setFetch($fetch.native);const n=[];if(t.provider==="server"){const s=e.app?.baseURL?.replace(/\/$/,"")??"";n.push(s+(t.localApiEndpoint||"/api/_nuxt_icon")),(t.fallbackToApi===!0||t.fallbackToApi==="client-only")&&n.push(t.iconifyApiEndpoint)}else t.provider==="none"?Pp.setFetch(()=>Promise.resolve(new Response)):n.push(t.iconifyApiEndpoint);async function r(s,o){try{const i=await $fetch(n[0]+"/"+o+".json",{query:{icons:s.join(",")}});if(!i||i.prefix!==o||!i.icons)throw new Error("Invalid data"+JSON.stringify(i));return i}catch(i){return console.error("Failed to load custom icons",i),null}}n1("",{resources:n});for(const s of t.customCollections||[])s&&v7(r,s)}}),N7=wc(()=>an(()=>Promise.resolve().then(()=>R9),void 0,import.meta.url).then(e=>e.default||e.default||e)),L7=[["Icon",N7]],$7=An({name:"nuxt:global-components",setup(e){for(const[t,n]of L7)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),ki={};function D7(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function c1(e,t=Ut()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;const s=t._preloadPromises||=[];if(s.length>4)return Promise.all(s).then(()=>c1(e,t));t._routePreloaded.add(n);for(const o of r){const i=o.components?.default;if(typeof i!="function")continue;const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a),1));s.push(a)}await Promise.all(s)}const B7=An({name:"nuxt:prefetch",setup(e){const t=Ut();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ki[r]=="function"&&await ki[r]()})}),e.hooks.hook("link:prefetch",n=>{if(fr(n))return;const r=t.resolve(n);if(!r)return;const s=r.meta.layout;let o=Vm(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Gc[i]=="function"&&Gc[i]();typeof s=="string"&&s in ki&&D7(ki[s])})}});var Si={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},mauve:{50:"oklch(98.5% 0 0)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};const F7=[50,100,200,300,400,500,600,700,800,900,950];function j7(e,t){return e in Si&&typeof Si[e]=="object"&&t in Si[e]?Si[e][t]:""}function q7(e,t,n){const r=n?`${n}-`:"";return`${F7.map(s=>`--ui-color-${e}-${s}: var(--${r}color-${t==="neutral"?"old-neutral":t}-${s}, ${j7(t,s)});`).join(`
12
+ `)}`}function Rp(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}const z7=An(()=>{const e=Ct(),t=ze(),n=P(()=>{const{neutral:s,...o}=e.ui.colors,i=e.ui.prefix;return`@layer theme {
13
+ :root, :host {
14
+ ${Object.entries(e.ui.colors).map(([a,l])=>q7(a,l,i)).join(`
15
+ `)}
16
+ }
17
+ :root, :host, .light {
18
+ ${Object.keys(o).map(a=>Rp(a,500)).join(`
19
+ `)}
20
+ }
21
+ .dark {
22
+ ${Object.keys(o).map(a=>Rp(a,400)).join(`
23
+ `)}
24
+ }
25
+ }`}),r={style:[{innerHTML:()=>n.value,tagPriority:-2,id:"nuxt-ui-colors"}]};if(t.isHydrating&&!t.payload.serverRendered){const s=document.createElement("style");s.innerHTML=n.value,s.setAttribute("data-nuxt-ui-colors",""),document.head.appendChild(s),r.script=[{innerHTML:"document.head.removeChild(document.querySelector('[data-nuxt-ui-colors]'))"}]}Tm(r)}),H7=[Hw,Kw,_8,k8,S8,A8,I8,M7,$7,B7,z7],u1=(e="RouteProvider")=>me({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(t){const n=t.renderKey,r=t.route,s={};for(const o in t.route)Object.defineProperty(s,o,{get:()=>n===t.renderKey?t.route[o]:r[o],enumerable:!0});return Zt(el,pn(s)),()=>t.vnode?Ke(t.vnode,{ref:t.vnodeRef}):t.vnode}}),V7=u1(),Ip=new WeakMap,U7=me({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){const s=ze(),o=J(),i=Ve(el,null);let a;r({pageRef:o});const l=Ve(X4,null);let u;const c=s.deferHydration();let f=!1,p=0;if(s.isHydrating){const h=s.hooks.hookOnce("app:error",c);Ut().beforeEach(h)}e.pageKey&&Be(()=>e.pageKey,(h,g)=>{h!==g&&s.callHook("page:loading:start")});let d=!1;{const h=Ut().beforeResolve(()=>{d=!1});Hs(()=>{h(),c()})}return()=>Ke(Hm,{name:e.name,route:e.route,...t},{default:h=>{const g=G7(i,h.route,h.Component),y=i&&i.matched.length===h.route.matched.length;if(!h.Component){if(u&&!y)return u;c();return}if(u&&l&&!l.isCurrent(h.route))return u;if(g&&i&&(!l||l?.isCurrent(i)))return y||u?u:null;const b=Uc(h,e.pageKey),v=W7(i,h.route,h.Component);!s.isHydrating&&a===b&&!v&&At(()=>{d||(d=!0,s.callHook("page:loading:end"))}),f&&a!==b&&p++,a=b;const m=!!(e.transition??h.route.meta.pageTransition??zd),w=m&&g8([e.transition,h.route.meta.pageTransition,zd,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",h.Component)}}]),x=e.keepalive??h.route.meta.keepalive??M4;return u=u8(m&&w,a8(x,Ke(w0,{key:p,suspensible:!0,onPending:()=>{f=!0,m&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(S=>{s["~transitionFinish"]=S})),s.callHook("page:start",h.Component)},onResolve:async()=>{f=!1;try{await At(),s._route.sync?.(),await s.callHook("page:finish",h.Component),!d&&!v&&(d=!0,await s.callHook("page:loading:end"))}finally{c()}}},{default:()=>{const S={key:b||void 0,vnode:n.default?K7(n.default,h):h.Component,route:h.route,renderKey:b||void 0,trackRootNodes:m,vnodeRef:o};if(!x)return Ke(V7,S);const E=h.Component.type,T=E;let A=Ip.get(T);return A||(A=u1(E.name||E.__name),Ip.set(T,A)),Ke(A,S)}}))).default(),u}})}});function G7(e,t,n){if(!e)return!1;const r=t.matched.findIndex(s=>s.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((s,o)=>s.components?.default!==e.matched[o]?.components?.default)||n&&Uc({route:t,Component:n})!==Uc({route:e,Component:n})}function W7(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function K7(e,t){const n=e(t);return n.length===1?Ke(n[0]):Ke(qe,void 0,n)}const ol=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},X7={},Y7={height:"25",viewBox:"0 0 1467 238",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function J7(e,t){return D(),Ee("svg",Y7,[...t[0]||(t[0]=[E0('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M893.083 200C882.767 200 873.691 198.288 865.856 194.368C858.021 190.319 851.818 184.701 847.248 177.516C842.808 170.2 840.392 161.708 840 152.041H868.207C868.86 159.096 871.341 164.648 875.65 168.698C880.09 172.747 885.901 174.772 893.083 174.772C899.743 174.772 905.032 173.401 908.95 170.657C912.998 167.914 915.022 163.995 915.022 158.9C915.022 155.372 913.847 152.564 911.496 150.473C909.276 148.252 906.468 146.554 903.073 145.378C899.678 144.203 894.846 142.831 888.578 141.263C879.307 139.042 871.667 136.691 865.66 134.209C859.784 131.596 854.691 127.481 850.382 121.863C846.072 116.245 843.918 108.538 843.918 98.7396C843.918 91.2931 845.942 84.6305 849.99 78.7516C854.038 72.8728 859.653 68.3004 866.836 65.0344C874.018 61.6377 882.179 59.9394 891.32 59.9394C901.114 59.9394 909.733 61.7031 917.177 65.2303C924.751 68.7576 930.627 73.7873 934.806 80.3193C939.115 86.8514 941.4 94.4285 941.662 103.051H913.651C913.128 97.5639 910.908 93.2527 906.991 90.1174C903.073 86.8513 897.85 85.2183 891.32 85.2183C885.575 85.2183 881.004 86.4594 877.609 88.9416C874.214 91.4238 872.516 94.6898 872.516 98.7396C872.516 102.528 873.691 105.533 876.042 107.754C878.392 109.975 881.396 111.738 885.052 113.045C888.709 114.221 893.736 115.527 900.135 116.964C909.537 119.185 917.177 121.471 923.053 123.823C928.929 126.174 933.957 130.159 938.136 135.776C942.445 141.263 944.6 148.84 944.6 158.508C944.6 166.999 942.445 174.38 938.136 180.651C933.826 186.922 927.754 191.756 919.919 195.152C912.214 198.549 903.269 200 893.083 200Z" fill="#00DC82"></path><path d="M1005.43 200C995.507 200 986.519 198.026 978.684 193.585C970.98 189.143 964.973 183.068 960.663 175.36C956.485 167.522 954.395 158.834 954.395 149.298C954.395 139.761 956.485 131.138 960.663 123.431C964.973 115.592 970.98 109.452 978.684 105.01C986.519 100.569 995.399 98.3477 1005.32 98.3477C1013.94 98.3477 1021.78 99.9807 1028.83 103.247C1036.01 106.513 1041.76 111.085 1046.07 116.964C1050.51 122.843 1052.99 129.505 1053.51 136.952H1026.09C1025.3 132.51 1023.02 128.852 1019.23 125.978C1015.44 123.104 1011.07 121.667 1006.11 121.667C998.925 121.667 993.245 124.215 989.066 129.31C984.887 134.404 982.798 141.067 982.798 149.298C982.798 157.528 984.887 164.191 989.066 169.285C993.375 174.25 999.186 176.732 1006.5 176.732C1011.46 176.732 1015.77 175.36 1019.43 172.617C1023.08 169.873 1025.43 166.281 1026.48 161.839H1054.29C1053.38 169.024 1050.64 175.556 1046.07 181.435C1041.5 187.314 1035.62 191.952 1028.44 195.348C1021.39 198.614 1013.79 200 1005.43 200Z" fill="#00DC82"></path><path d="M1115.15 122.647C1108.62 122.647 1103.72 125.129 1100.46 130.093C1097.2 135.058 1095.56 141.916 1095.56 150.669V200H1068.14V99.9154H1095.56V116.376C1098.17 110.367 1101.37 106.121 1105.16 103.639C1109.08 101.156 1114.11 99.9154 1120.24 99.9154H1131.41V122.647H1115.15Z" fill="#00DC82"></path><path d="M1171.5 200H1144.08V99.9154H1171.5V200ZM1143.3 85.8062V58H1172.29V85.8062H1143.3Z" fill="#00DC82"></path><path d="M1193.09 238V99.9154H1220.32V110.693C1223.32 106.774 1227.24 103.769 1232.07 101.679C1236.9 99.4582 1242.45 98.3477 1248.72 98.3477C1257.86 98.3477 1265.82 100.438 1272.62 104.618C1279.41 108.799 1284.63 114.743 1288.29 122.451C1292.07 130.159 1293.97 139.108 1293.97 149.298C1293.97 159.487 1291.94 168.436 1287.89 176.144C1283.98 183.721 1278.43 189.665 1271.24 193.977C1264.06 198.157 1255.73 200 1246.33 200C1240.72 200 1235.66 199.333 1231.09 197.504C1226.52 195.675 1222.93 193.127 1220.32 189.861V238H1193.09ZM1243.04 176.732C1250.22 176.732 1256.03 174.25 1260.47 169.285C1264.91 164.191 1267.13 157.528 1267.13 149.298C1267.13 140.937 1264.91 134.274 1260.47 129.31C1256.03 124.215 1250.22 121.667 1243.04 121.667C1235.72 121.667 1229.85 124.215 1225.41 129.31C1220.97 134.274 1218.75 140.937 1218.75 149.298C1218.75 157.528 1220.97 164.191 1225.41 169.285C1229.85 174.25 1235.72 176.732 1243.04 176.732Z" fill="#00DC82"></path><path d="M1319.6 70.7172H1346.83V99.9154H1373.27V122.647H1346.83V163C1346.83 172.406 1351.46 177.109 1360.74 177.109H1373.27V200.037H1357.01C1345.52 200.037 1336.38 196.901 1329.59 190.63C1322.93 184.36 1319.6 175.541 1319.6 164.176V122.647H1300.6V99.9154H1319.6V70.7172Z" fill="#00DC82"></path><path d="M1428.61 200C1416.46 200 1406.6 197.112 1399.03 190.841C1391.59 184.44 1387.6 175.948 1387.08 165.366H1410.59C1411.11 169.808 1412.94 173.335 1416.07 175.948C1419.34 178.43 1423.51 179.671 1428.61 179.671C1432.79 179.671 1436.18 178.757 1438.79 176.928C1441.54 175.099 1442.91 172.813 1442.91 170.069C1442.91 166.411 1441.34 163.864 1438.21 162.427C1435.07 160.99 1430.11 159.683 1423.32 158.508C1416.27 157.201 1410.52 155.764 1406.08 154.197C1401.64 152.629 1397.79 149.82 1394.52 145.77C1391.39 141.59 1389.82 135.711 1389.82 128.134C1389.82 122.386 1391.33 117.291 1394.33 112.849C1397.46 108.276 1401.71 104.749 1407.06 102.267C1412.41 99.6541 1418.42 98.3477 1425.08 98.3477C1436.97 98.3477 1446.56 101.287 1453.88 107.166C1461.32 113.045 1465.3 120.818 1465.82 130.485H1442.12C1441.6 126.435 1439.71 123.3 1436.44 121.079C1433.31 118.728 1429.78 117.552 1425.87 117.552C1421.95 117.552 1418.81 118.401 1416.46 120.099C1414.11 121.798 1412.94 124.149 1412.94 127.154C1412.94 130.812 1414.44 133.294 1417.44 134.6C1420.58 135.776 1425.47 136.821 1432.13 137.736C1439.32 138.781 1445.19 140.087 1449.76 141.655C1454.46 143.092 1458.51 145.966 1461.91 150.277C1465.3 154.588 1467 160.859 1467 169.09C1467 178.496 1463.47 186.073 1456.42 191.821C1449.5 197.439 1440.23 200 1428.61 200Z" fill="#00DC82"></path>',12)])])}const Q7=Object.assign(ol(X7,[["render",J7]]),{__name:"NuxtSeoLogo"}),Z7=Object.freeze({left:0,top:0,width:16,height:16}),f1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),hf=Object.freeze({...Z7,...f1});Object.freeze({...hf,body:"",hidden:!1});function e9(e){const[t,n,r,s]=e;if(r!==s){const o=Math.max(r,s);return[t-(o-r)/2,n-(o-s)/2,o,o]}return e}const t9=/(-?[0-9.]*[0-9]+[0-9.]*)/g,n9=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Zc(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 r=e.split(t9);if(r===null||!r.length)return e;const s=[];let o=r.shift(),i=n9.test(o);for(;;){if(i){const a=parseFloat(o);isNaN(a)?s.push(o):s.push(Math.ceil(a*t*n)/n)}else s.push(o);if(o=r.shift(),o===void 0)return s.join("");i=!i}}const r9=Object.freeze({width:null,height:null}),s9=Object.freeze({...r9,...f1});function o9(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const s=e.indexOf(">",r),o=e.indexOf("</"+t);if(s===-1||o===-1)break;const i=e.indexOf(">",o);if(i===-1)break;n+=e.slice(s+1,o).trim(),e=e.slice(0,r).trim()+e.slice(i+1)}return{defs:n,content:e}}function i9(e,t){return e?"<defs>"+e+"</defs>"+t:t}function a9(e,t,n){const r=o9(e);return i9(r.defs,t+r.content+n)}const l9=e=>e==="unset"||e==="undefined"||e==="none";function c9(e,t){const n={...hf,...e},r={...s9,...t},s={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(g=>{const y=[],b=g.hFlip,v=g.vFlip;let m=g.rotate;b?v?m+=2:(y.push("translate("+(s.width+s.left).toString()+" "+(0-s.top).toString()+")"),y.push("scale(-1 1)"),s.top=s.left=0):v&&(y.push("translate("+(0-s.left).toString()+" "+(s.height+s.top).toString()+")"),y.push("scale(1 -1)"),s.top=s.left=0);let w;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:w=s.height/2+s.top,y.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:y.unshift("rotate(180 "+(s.width/2+s.left).toString()+" "+(s.height/2+s.top).toString()+")");break;case 3:w=s.width/2+s.left,y.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}m%2===1&&(s.left!==s.top&&(w=s.left,s.left=s.top,s.top=w),s.width!==s.height&&(w=s.width,s.width=s.height,s.height=w)),y.length&&(o=a9(o,'<g transform="'+y.join(" ")+'">',"</g>"))});const i=r.width,a=r.height,l=s.width,u=s.height;let c,f;i===null?(f=a===null?"1em":a==="auto"?u:a,c=Zc(f,l/u)):(c=i==="auto"?l:i,f=a===null?Zc(c,u/l):a==="auto"?u:a);const p={},d=(g,y)=>{l9(y)||(p[g]=y.toString())};d("width",c),d("height",f);const h=[s.left,s.top,l,u];return p.viewBox=h.join(" "),{attributes:p,viewBox:h,body:o}}function u9(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function f9(e){return"data:image/svg+xml,"+u9(e)}function d9(e){return'url("'+f9(e)+'")'}function p9(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function h9(e){const t={display:"inline-block",width:"1em",height:"1em"},n=e.varName;switch(e.pseudoSelector&&(t.content="''"),e.mode){case"background":n&&(t["background-image"]="var(--"+n+")"),t["background-repeat"]="no-repeat",t["background-size"]="100% 100%";break;case"mask":t["background-color"]="currentColor",n&&(t["mask-image"]=t["-webkit-mask-image"]="var(--"+n+")"),t["mask-repeat"]=t["-webkit-mask-repeat"]="no-repeat",t["mask-size"]=t["-webkit-mask-size"]="100% 100%";break}return t}function g9(e,t){const n={},r=t.varName,s=c9(e);let o=s.viewBox;o[2]!==o[3]&&(t.forceSquare?o=e9(o):n.width=Zc("1em",o[2]/o[3]));const i=d9(p9(s.body.replace(/currentColor/g,t.color||"black"),{viewBox:`${o[0]} ${o[1]} ${o[2]} ${o[3]}`,width:`${o[2]}`,height:`${o[3]}`}));if(r)n["--"+r]=i;else switch(t.mode){case"background":n["background-image"]=i;break;case"mask":n["mask-image"]=n["-webkit-mask-image"]=i;break}return n}const Xl={selectorStart:{compressed:"{",compact:" {",expanded:" {"},selectorEnd:{compressed:"}",compact:`; }
26
+ `,expanded:`;
27
+ }
28
+ `},rule:{compressed:"{key}:",compact:" {key}: ",expanded:`
29
+ {key}: `}};function m9(e,t="expanded"){const n=[];for(let r=0;r<e.length;r++){const{selector:s,rules:o}=e[r];let i=(s instanceof Array?s.join(t==="compressed"?",":", "):s)+Xl.selectorStart[t],a=!0;for(const l in o)a||(i+=";"),i+=Xl.rule[t].replace("{key}",l)+o[l],a=!1;i+=Xl.selectorEnd[t],n.push(i)}return n.join(t==="compressed"?"":`
30
+ `)}function y9(e,t={}){const n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes("currentColor")?"background":"mask");let s=t.varName;s===void 0&&r==="mask"&&(s="svg");const o={...t,mode:r,varName:s};r==="background"&&delete o.varName;const i={...t.rules,...h9(o),...g9({...hf,...e,body:n},o)};return m9([{selector:t.iconSelector||".icon",rules:i}],o.format)}async function v9(e,t){if(!e)return null;const n=Xc(e);return n||(await y7(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null)),Xc(e))}function d1(e){const t=Ct().icon,n=(t.collections||[]).sort((r,s)=>s.length-r.length);return P(()=>{const r=e(),s=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,o=t.aliases?.[s]||s;if(!o.includes(":")){const i=n.find(a=>o.startsWith(a+"-"));return i?i+":"+o.slice(i.length+1):o}return o})}function p1(e,t){if(e!==!1)return e===!0||e===null?t:e}let lo;function b9(e){return e.replace(/([^\w-])/g,"\\$1")}function w9(){if(lo)return lo;lo=new Set;const e=n=>{if(n=n.replace(/^:where\((.*)\)$/,"$1").trim(),n.startsWith("."))return n},t=n=>{if(n?.length)for(const r of n){r?.cssRules&&t(r.cssRules);const s=r?.selectorText;if(typeof s=="string"){const o=e(s);o&&lo.add(o)}}};if(typeof document<"u")for(const n of document.styleSheets)try{const r=n.cssRules||n.rules;t(r)}catch{}return lo}const x9=me({name:"NuxtIconCss",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){const t=ze(),n=Ct().icon,r=P(()=>e.name?n.cssSelectorPrefix+e.name:"");function s(a){if(!a)return;const l=Xc(a);if(l)return l;const u=t.payload?.data?.[a];if(u)return df(a,u),u}const o=P(()=>"."+b9(r.value));function i(a,l=!0){let u=o.value;n.cssWherePseudo&&(u=`:where(${u})`);const c=y9(a,{iconSelector:u,format:"compressed",customise:p1(e.customize,n.customize)});return n.cssLayer&&l?`@layer ${n.cssLayer} { ${c} }`:c}{const a=w9();async function l(u){if(a.has(o.value)||typeof document>"u")return;const c=document.createElement("style");c.textContent=i(u);const f=document.head.querySelector('style, link[rel="stylesheet"]');f?document.head.insertBefore(c,f):document.head.appendChild(c),a.add(o.value)}Be(()=>e.name,()=>{if(a.has(o.value))return;const u=s(e.name);u?l(u):v9(e.name).then(c=>{c&&l(c)}).catch(()=>null)},{immediate:!0})}return()=>Ke("span",{class:["iconify",r.value]})}});function eu(e){return typeof e=="string"?`'${e}'`:new _9().serialize(e)}const _9=(function(){class e{#e=new Map;compare(n,r){const s=typeof n,o=typeof r;return s==="string"&&o==="string"?n.localeCompare(r):s==="number"&&o==="number"?n-r:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(r,!0))}serialize(n,r){if(n===null)return"null";switch(typeof n){case"string":return r?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const r=Object.prototype.toString.call(n);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),n);const s=n.constructor,o=s===Object||s===void 0?"":s.name;if(o!==""&&globalThis[o]===s)return this.serializeBuiltInType(o,n);if(typeof n.toJSON=="function"){const i=n.toJSON();return o+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(o,Object.entries(n))}serializeBuiltInType(n,r){const s=this["$"+n];if(s)return s.call(this,r);if(typeof r?.entries=="function")return this.serializeObjectEntries(n,r.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,r){const s=Array.from(r).sort((i,a)=>this.compare(i[0],a[0]));let o=`${n}{`;for(let i=0;i<s.length;i++){const[a,l]=s[i];o+=`${this.serialize(a,!0)}:${this.serialize(l)}`,i<s.length-1&&(o+=",")}return o+"}"}$object(n){let r=this.#e.get(n);return r===void 0&&(this.#e.set(n,`#${this.#e.size}`),r=this.serializeObject(n),this.#e.set(n,r)),r}$function(n){const r=Function.prototype.toString.call(n);return r.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(n){let r="[";for(let s=0;s<n.length;s++)r+=this.serialize(n[s]),s<n.length-1&&(r+=",");return r+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((r,s)=>this.compare(r,s)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function h1(e,t){return e===t||eu(e)===eu(t)}const C9=Symbol.for("nuxt:client-only");function k9(e){return Object.defineProperty(function(){throw new Error(`[nuxt] \`${e.name}\` is a compiler macro and cannot be called at runtime.`)},"__nuxt_factory",{enumerable:!1,get:()=>e.factory})}const g1=k9({name:"createUseAsyncData",factory(e={}){function t(...n){const r=typeof n[n.length-1]=="string"?n.pop():void 0;S9(n[0],n[1])&&n.unshift(r);let[s,o,i={}]=n,a=!1;const l=P(()=>je(s));if(typeof l.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof o!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const u=typeof e=="function",c=ze(),f=u?e(i):e;if(!u)for(const v in f)f[v]!==void 0&&i[v]===void 0&&(i[v]=f[v]);if(i.server??=!0,i.default??=A9,i.getCachedData??=y1,i.lazy??=!1,i.immediate??=!0,i.deep??=L4.deep,i.dedupe??="cancel",u)for(const v in f)f[v]!==void 0&&(i[v]=f[v]);c._asyncData[l.value];function p(){const v={cause:"initial",dedupe:i.dedupe};return c._asyncData[l.value]?._init||(v.cachedData=i.getCachedData(l.value,c,{cause:"initial"}),c._asyncData[l.value]=Op(c,l.value,o,i,v.cachedData)),()=>c._asyncData[l.value].execute(v)}const d=p(),h=c._asyncData[l.value];h._deps++;const g=i.server!==!1&&c.payload.serverRendered;{let v=function(T){const A=c._asyncData[T];A?._deps&&(A._deps--,A._deps===0&&A?._off())};const m=dt();if(m&&g&&i.immediate&&!m.sp&&(m.sp=[]),m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const T=m._nuxtOnBeforeMountCbs;Xg(()=>{T.forEach(A=>{A()}),T.splice(0,T.length)}),os(()=>T.splice(0,T.length))}const w=m&&(m._nuxtClientOnly||Ve(C9,!1));g&&c.isHydrating&&(h.error.value||h.data.value!==void 0)?h.status.value=h.error.value?"error":"success":m&&(!w&&c.payload.serverRendered&&c.isHydrating||i.lazy)&&i.immediate?m._nuxtOnBeforeMountCbs.push(d):i.immediate&&h.status.value!=="success"&&d();const x=ei(),S=Be(l,(T,A)=>{if((T||A)&&T!==A){a=!0;const M=c._asyncData[A]?.data.value!==void 0,j=c._asyncDataPromises[A]!==void 0,R={cause:"initial",dedupe:i.dedupe};if(!c._asyncData[T]?._init){let G;A&&M?G=c._asyncData[A].data.value:(G=i.getCachedData(T,c,{cause:"initial"}),R.cachedData=G),c._asyncData[T]=Op(c,T,o,i,G)}c._asyncData[T]._deps++,A&&v(A),(i.immediate||M||j)&&c._asyncData[T].execute(R),No(()=>{a=!1})}},{flush:"sync"}),E=i.watch?Be(i.watch,()=>{a||(c._asyncData[l.value]?._execute.isPending()&&No(()=>{c._asyncData[l.value]?._execute.flush()}),c._asyncData[l.value]?._execute({cause:"watch",dedupe:i.dedupe}))}):()=>{};x&&qa(()=>{S(),E(),v(l.value)})}const y={data:Ei(()=>c._asyncData[l.value]?.data),pending:Ei(()=>c._asyncData[l.value]?.pending),status:Ei(()=>c._asyncData[l.value]?.status),error:Ei(()=>c._asyncData[l.value]?.error),refresh:(...v)=>c._asyncData[l.value]?._init?c._asyncData[l.value].execute(...v):p()(),execute:(...v)=>y.refresh(...v),clear:()=>{const v=c._asyncData[l.value];if(v?._abortController)try{v._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{v._abortController=void 0}m1(c,l.value)}},b=Promise.resolve(c._asyncDataPromises[l.value]).then(()=>y);return Object.assign(b,y),Object.defineProperties(b,{then:{enumerable:!0,value:b.then.bind(b)},catch:{enumerable:!0,value:b.catch.bind(b)},finally:{enumerable:!0,value:b.finally.bind(b)}}),b}return t}});g1.__nuxt_factory();g1.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function Ei(e){return P({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function S9(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function m1(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=_(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]=void 0)}function E9(e,t){const n={};for(const r of t)n[r]=e[r];return n}function Op(e,t,n,r,s){e.payload._errors[t]??=void 0;const o=r.getCachedData!==y1,i=n,a=r.deep?J:ft,l=s!==void 0,u=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:a(l?s:r.default()),pending:P(()=>c.status.value==="pending"),error:Bt(e.payload._errors,t),status:ft("idle"),execute:(...f)=>{const[p,d=void 0]=f,h=p&&d===void 0&&typeof p=="object"?p:{};if(e._asyncDataPromises[t]&&(h.dedupe??r.dedupe)==="defer")return e._asyncDataPromises[t];{const b="cachedData"in h?h.cachedData:r.getCachedData(t,e,{cause:h.cause??"refresh:manual"});if(b!==void 0)return e.payload.data[t]=c.data.value=b,c.error.value=void 0,c.status.value="success",Promise.resolve(b)}c._abortController&&c._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),c._abortController=new AbortController,c.status.value="pending";const g=new AbortController,y=new Promise((b,v)=>{try{const m=h.timeout??r.timeout,w=T9([c._abortController?.signal,h?.signal],g.signal,m);if(w.aborted){const x=w.reason;v(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"));return}return w.addEventListener("abort",()=>{const x=w.reason;v(x instanceof Error?x:new DOMException(String(x??"Aborted"),"AbortError"))},{once:!0,signal:g.signal}),Promise.resolve(i(e,{signal:w})).then(b,v)}catch(m){v(m)}}).then(async b=>{let v=b;r.transform&&(v=await r.transform(b)),r.pick&&(v=E9(v,r.pick)),e.payload.data[t]=v,c.data.value=v,c.error.value=void 0,c.status.value="success"}).catch(b=>{if(e._asyncDataPromises[t]&&e._asyncDataPromises[t]!==y||c._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<"u"&&b instanceof DOMException&&b.name==="AbortError")return c.status.value="idle",e._asyncDataPromises[t];c.error.value=kr(b),c.data.value=_(r.default()),c.status.value="error"}).finally(()=>{g.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=y,e._asyncDataPromises[t]},_execute:e6((...f)=>c.execute(...f),0,{leading:!0}),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),o||At(()=>{e._asyncData[t]?._init||(m1(e,t),c.execute=()=>Promise.resolve())})}};return c}const A9=()=>{},y1=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]};function T9(e,t,n){const r=e.filter(i=>!!i);if(typeof n=="number"&&n>=0){const i=AbortSignal.timeout?.(n);i&&r.push(i)}if(AbortSignal.any)return AbortSignal.any(r);const s=new AbortController;for(const i of r)if(i.aborted){const a=i.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}return s.signal}const o=()=>{const a=r.find(l=>l.aborted)?.reason??new DOMException("Aborted","AbortError");try{s.abort(a)}catch{s.abort()}};for(const i of r)i.addEventListener?.("abort",o,{once:!0,signal:t});return s.signal}const P9=me({name:"NuxtIconSvg",props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=ze(),r=Ct().icon,s=d1(()=>e.name),o="i-"+s.value;if(s.value){const i=n.payload.data[o];i&&df(s.value,i)}return()=>Ke(R7,{icon:s.value,ssr:!0,customise:p1(e.customize,r.customize)},t)}}),v1=me({name:"NuxtIcon",props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){const n=ze(),r=Ct().icon,s=d1(()=>e.name),o=P(()=>n.vueApp?.component(s.value)||((e.mode||r.mode)==="svg"?P9:x9)),i=P(()=>{const a=e.size||r.size;return a?{fontSize:Number.isNaN(+a)?a:a+"px"}:null});return()=>Ke(o.value,{...r.attrs,name:s.value,class:r.class,style:i.value,customize:e.customize},t)}}),R9=Object.freeze(Object.defineProperty({__proto__:null,default:v1},Symbol.toStringTag,{value:"Module"}));function dr(e,t){const n=typeof e=="string"&&!t?`${e}Context`:t,r=Symbol(n);return[i=>{const a=Ve(r,i);if(a||a===null)return a;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},i=>(Zt(r,i),i)]}function Bs(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function b1(e,t,n){const r=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(s)}function gf(e){return e==null}function mf(e){return e?e.flatMap(t=>t.type===qe?mf(t.children):[t]):[]}const[rI,I9]=dr("ConfigProvider");var O9=me({inheritAttrs:!1,__name:"ConfigProvider",props:{dir:{type:String,required:!1,default:"ltr"},locale:{type:String,required:!1,default:"en"},scrollBody:{type:[Boolean,Object],required:!1,default:!0},nonce:{type:String,required:!1,default:void 0},useId:{type:Function,required:!1,default:void 0}},setup(e){const t=e,{dir:n,locale:r,scrollBody:s,nonce:o}=Er(t);return I9({dir:n,locale:r,scrollBody:s,nonce:o,useId:t.useId}),(i,a)=>ce(i.$slots,"default")}}),M9=O9;function N9(e){const t=dt(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(s=>{r[vo(xt(s))]=(...o)=>e(s,...o)}),r}function nt(){const e=dt(),t=J(),n=P(()=>r());Vu(()=>{n.value!==r()&&e2(t)});function r(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:mn(t)}const s=Object.assign({},e.exposed),o={};for(const a in e.props)Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(s).length>0)for(const a in s)Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>s[a]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=o;function i(a){if(t.value=a,!!a&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),!(a instanceof Element)&&!Object.prototype.hasOwnProperty.call(a,"$el"))){const l=a.$.exposed,u=Object.assign({},o);for(const c in l)Object.defineProperty(u,c,{enumerable:!0,configurable:!0,get:()=>l[c]});e.exposed=u}}return{forwardRef:i,currentRef:t,currentElement:n}}function as(e){const t=dt(),n=Object.keys(t?.type.props??{}).reduce((s,o)=>{const i=(t?.type.props[o]).default;return i!==void 0&&(s[o]=i),s},{}),r=Bt(e);return P(()=>{const s={},o=t?.vnode.props??{};return Object.keys(o).forEach(i=>{s[xt(i)]=o[i]}),Object.keys({...n,...s}).reduce((i,a)=>(r.value[a]!==void 0&&(i[a]=r.value[a]),i),{})})}function il(e,t){const n=as(e),r=t?N9(t):{};return P(()=>({...n.value,...r}))}function L9(e,t){const n=K5(!1,300);Gs(()=>{n.value=!1});const r=J(null),s=B5();function o(){r.value=null,n.value=!1}function i(a,l){const u=a.currentTarget,c={x:a.clientX,y:a.clientY},f=$9(c,u.getBoundingClientRect()),p=D9(c,f,1),d=B9(l.getBoundingClientRect()),h=j9([...p,...d]);r.value=h,n.value=!0}return nn(a=>{if(e.value&&t.value){const l=c=>i(c,t.value),u=c=>i(c,e.value);e.value.addEventListener("pointerleave",l),t.value.addEventListener("pointerleave",u),a(()=>{e.value?.removeEventListener("pointerleave",l),t.value?.removeEventListener("pointerleave",u)})}}),nn(a=>{if(r.value){const l=u=>{if(!r.value||!(u.target instanceof Element))return;const c=u.target,f={x:u.clientX,y:u.clientY},p=e.value?.contains(c)||t.value?.contains(c),d=!F9(f,r.value),h=!!c.closest("[data-grace-area-trigger]");p?o():(d||h)&&(o(),s.trigger())};e.value?.ownerDocument.addEventListener("pointermove",l),a(()=>e.value?.ownerDocument.removeEventListener("pointermove",l))}}),{isPointerInTransit:n,onPointerExit:s.on}}function $9(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,s,o)){case o:return"left";case s:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function D9(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function B9(e){const{top:t,right:n,bottom:r,left:s}=e;return[{x:s,y:t},{x:n,y:t},{x:n,y:r},{x:s,y:r}]}function F9(e,t){const{x:n,y:r}=e;let s=!1;for(let o=0,i=t.length-1;o<t.length;i=o++){const a=t[o].x,l=t[o].y,u=t[i].x,c=t[i].y;l>r!=c>r&&n<(u-a)*(r-l)/(c-l)+a&&(s=!s)}return s}function j9(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),q9(t)}function q9(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const s=e[r];for(;t.length>=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))t.pop();else break}t.push(s)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const s=e[r];for(;n.length>=2;){const o=n[n.length-1],i=n[n.length-2];if((o.x-i.x)*(s.y-i.y)>=(o.y-i.y)*(s.x-i.x))n.pop();else break}n.push(s)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}function z9(e,t="reka"){let n;return n=Vg?.(),t?`${t}-${n}`:n}function H9(e){const t=J(),n=P(()=>t.value?.width??0),r=P(()=>t.value?.height??0);return Mt(()=>{const s=mn(e);if(s){t.value={width:s.offsetWidth,height:s.offsetHeight};const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let l,u;if("borderBoxSize"in a){const c=a.borderBoxSize,f=Array.isArray(c)?c[0]:c;l=f.inlineSize,u=f.blockSize}else l=s.offsetWidth,u=s.offsetHeight;t.value={width:l,height:u}});return o.observe(s,{box:"border-box"}),()=>o.unobserve(s)}else t.value=void 0}),{width:n,height:r}}function V9(e,t){const n=J(e);function r(o){return t[n.value][o]??n.value}return{state:n,dispatch:o=>{n.value=r(o)}}}function U9(e,t){const n=J({}),r=J("none"),s=J(e),o=e.value?"mounted":"unmounted";let i;const a=t.value?.ownerDocument.defaultView??Ln,{state:l,dispatch:u}=V9(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=y=>{if(Ir){const b=new CustomEvent(y,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(b)}};Be(e,async(y,b)=>{const v=b!==y;if(await At(),v){const m=r.value,w=Ai(t.value);y?(u("MOUNT"),c("enter"),w==="none"&&c("after-enter")):w==="none"||w==="undefined"||n.value?.display==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):b&&m!==w?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=y=>{const b=Ai(t.value),v=b.includes(CSS.escape(y.animationName)),m=l.value==="mounted"?"enter":"leave";if(y.target===t.value&&v&&(c(`after-${m}`),u("ANIMATION_END"),!s.value)){const w=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",i=a?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=w)})}y.target===t.value&&b==="none"&&u("ANIMATION_END")},p=y=>{y.target===t.value&&(r.value=Ai(t.value))},d=Be(t,(y,b)=>{y?(n.value=getComputedStyle(y),y.addEventListener("animationstart",p),y.addEventListener("animationcancel",f),y.addEventListener("animationend",f)):(u("ANIMATION_END"),i!==void 0&&a?.clearTimeout(i),b?.removeEventListener("animationstart",p),b?.removeEventListener("animationcancel",f),b?.removeEventListener("animationend",f))},{immediate:!0}),h=Be(l,()=>{const y=Ai(t.value);r.value=l.value==="mounted"?y:"none"});return os(()=>{d(),h()}),{isPresent:P(()=>["mounted","unmountSuspended"].includes(l.value))}}function Ai(e){return e&&getComputedStyle(e).animationName||"none"}var w1=me({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:r,forceMount:s}=Er(e),o=J(),{isPresent:i}=U9(r,o);n({present:i});let a=t.default({present:i.value});a=mf(a||[]);const l=dt();if(a&&a?.length>1){const u=l?.parent?.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>` - ${c}`).join(`
31
+ `)].join(`
32
+ `))}return()=>s.value||r.value||i.value?Ke(t.default({present:i.value})[0],{ref:u=>{const c=mn(u);return typeof c?.hasAttribute>"u"||(c?.hasAttribute("data-reka-popper-content-wrapper")?o.value=c.firstElementChild:o.value=c),c}}):null}});const Uo=me({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const r=mf(n.default()),s=r.findIndex(l=>l.type!==it);if(s===-1)return r;const o=r[s];delete o.props?.ref;const i=o.props?ve(t,o.props):t,a=qn({...o,props:{}},i);return r.length===1?a:(r[s]=a,r)}}}),G9=["area","img","input"],rt=me({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as;return typeof r=="string"&&G9.includes(r)?()=>Ke(r,t):r!=="template"?()=>Ke(e.as,t,{default:n.default}):()=>Ke(Uo,t,{default:n.default})}});function Mp(){const e=J(),t=P(()=>["#text","#comment"].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:mn(e));return{primitiveElement:e,currentElement:t}}const W9="dismissableLayer.pointerDownOutside",K9="dismissableLayer.focusOutside";function x1(e,t){if(!(t instanceof Element))return!1;const n=t.closest("[data-dismissable-layer]"),r=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),s=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(r===n||s.indexOf(r)<s.indexOf(n)))}function X9(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,s=J(!1),o=J(()=>{});return nn(i=>{if(!Ir||!je(n))return;const a=async u=>{const c=u.target;if(!(!t?.value||!c)){if(x1(t.value,c)){s.value=!1;return}if(u.target&&!s.value){let p=function(){b1(W9,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(r.removeEventListener("click",o.value),o.value=p,r.addEventListener("click",o.value,{once:!0})):p()}else r.removeEventListener("click",o.value);s.value=!1}},l=window.setTimeout(()=>{r.addEventListener("pointerdown",a)},0);i(()=>{window.clearTimeout(l),r.removeEventListener("pointerdown",a),r.removeEventListener("click",o.value)})}),{onPointerDownCapture:()=>{je(n)&&(s.value=!0)}}}function Y9(e,t,n=!0){const r=t?.value?.ownerDocument??globalThis?.document,s=J(!1);return nn(o=>{if(!Ir||!je(n))return;const i=async a=>{if(!t?.value)return;await At(),await At();const l=a.target;!t.value||!l||x1(t.value,l)||a.target&&!s.value&&b1(K9,e,{originalEvent:a})};r.addEventListener("focusin",i),o(()=>r.removeEventListener("focusin",i))}),{onFocusCapture:()=>{je(n)&&(s.value=!0)},onBlurCapture:()=>{je(n)&&(s.value=!1)}}}const qt=_t({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var J9=me({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:s,currentElement:o}=nt(),i=P(()=>o.value?.ownerDocument??globalThis.document),a=P(()=>qt.layersRoot),l=P(()=>o.value?Array.from(a.value).indexOf(o.value):-1),u=P(()=>qt.layersWithOutsidePointerEventsDisabled.size>0),c=P(()=>{const d=Array.from(a.value),[h]=[...qt.layersWithOutsidePointerEventsDisabled].slice(-1),g=d.indexOf(h);return l.value>=g}),f=X9(async d=>{const h=[...qt.branches].some(g=>g?.contains(d.target));!c.value||h||(r("pointerDownOutside",d),r("interactOutside",d),await At(),d.defaultPrevented||r("dismiss"))},o),p=Y9(d=>{[...qt.branches].some(g=>g?.contains(d.target))||(r("focusOutside",d),r("interactOutside",d),d.defaultPrevented||r("dismiss"))},o);return ef("Escape",d=>{l.value===a.value.size-1&&(r("escapeKeyDown",d),d.defaultPrevented||r("dismiss"))}),nn(d=>{o.value&&(n.disableOutsidePointerEvents&&(qt.layersWithOutsidePointerEventsDisabled.size===0&&(qt.originalBodyPointerEvents=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),qt.layersWithOutsidePointerEventsDisabled.add(o.value)),a.value.add(o.value),d(()=>{n.disableOutsidePointerEvents&&qt.layersWithOutsidePointerEventsDisabled.size===1&&!gf(qt.originalBodyPointerEvents)&&(i.value.body.style.pointerEvents=qt.originalBodyPointerEvents)}))}),nn(d=>{d(()=>{o.value&&(a.value.delete(o.value),qt.layersWithOutsidePointerEventsDisabled.delete(o.value))})}),(d,h)=>(D(),X(_(rt),{ref:_(s),"as-child":d.asChild,as:d.as,"data-dismissable-layer":"",style:bn({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:_(p).onFocusCapture,onBlurCapture:_(p).onBlurCapture,onPointerdownCapture:_(f).onPointerDownCapture},{default:Z(()=>[ce(d.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Q9=J9,Z9=me({__name:"DismissableLayerBranch",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=nt();return Mt(()=>{qt.branches.add(r.value)}),os(()=>{qt.branches.delete(r.value)}),(s,o)=>(D(),X(_(rt),ve({ref:_(n)},t),{default:Z(()=>[ce(s.$slots,"default")]),_:3},16))}}),ex=Z9;function Yl(e,{select:t=!1}={}){const n=Bs();for(const r of e)if(rx(r,{select:t}),Bs()!==n)return!0}function tx(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function nx(e){return e instanceof HTMLInputElement&&"select"in e}function rx(e,{select:t=!1}={}){if(e&&e.focus){const n=Bs();e.focus({preventScroll:!0}),e!==n&&nx(e)&&t&&e.select()}}var sx=me({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=om();return(n,r)=>_(t)||n.forceMount?(D(),X(Bg,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[ce(n.$slots,"default")],8,["to","disabled","defer"])):Ce("v-if",!0)}}),_1=sx;const Np="data-reka-collection-item";function yf(e={}){const{key:t="",isProvider:n=!1}=e,r=`${t}CollectionProvider`;let s;n?(s={collectionRef:J(),itemMap:J(new Map)},Zt(r,s)):s=Ve(r);const o=(c=!1)=>{const f=s.collectionRef.value;if(!f)return[];const p=Array.from(f.querySelectorAll(`[${Np}]`)),h=Array.from(s.itemMap.value.values()).sort((g,y)=>p.indexOf(g.ref)-p.indexOf(y.ref));return c?h:h.filter(g=>g.ref.dataset.disabled!=="")},i=me({name:"CollectionSlot",inheritAttrs:!1,setup(c,{slots:f,attrs:p}){const{primitiveElement:d,currentElement:h}=Mp();return Be(h,()=>{s.collectionRef.value=h.value}),()=>Ke(Uo,{ref:d,...p},f)}}),a=me({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:f,attrs:p}){const{primitiveElement:d,currentElement:h}=Mp();return nn(g=>{if(h.value){const y=ju(h.value);s.itemMap.value.set(y,{ref:h.value,value:c.value}),g(()=>s.itemMap.value.delete(y))}}),()=>Ke(Uo,{...p,[Np]:"",ref:d},f)}}),l=P(()=>Array.from(s.itemMap.value.values())),u=P(()=>s.itemMap.value.size);return{getItems:o,reactiveItems:l,itemMapSize:u,CollectionSlot:i,CollectionItem:a}}var ox=me({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(D(),X(_(rt),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:Z(()=>[ce(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),vf=ox;const[C1,ix]=dr("PopperRoot");var ax=me({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=J();return ix({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>ce(n.$slots,"default")}}),lx=ax,cx=me({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=nt(),s=C1();return Mg(()=>{s.onAnchorChange(t.reference??r.value)}),(o,i)=>(D(),X(_(rt),{ref:_(n),as:o.as,"as-child":o.asChild},{default:Z(()=>[ce(o.$slots,"default")]),_:3},8,["as","as-child"]))}}),ux=cx;const fx={key:0,d:"M0 0L6 6L12 0"},dx={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var px=me({__name:"Arrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return nt(),(n,r)=>(D(),X(_(rt),ve(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:Z(()=>[ce(n.$slots,"default",{},()=>[n.rounded?(D(),Ee("path",dx)):(D(),Ee("path",fx))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),hx=px;function gx(e){return e!==null}function mx(e){return{name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:s}=t,i=s.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[u,c]=tu(n),f={start:"0%",center:"50%",end:"100%"}[c],p=(s.arrow?.x??0)+a/2,d=(s.arrow?.y??0)+l/2;let h="",g="";return u==="bottom"?(h=i?f:`${p}px`,g=`${-l}px`):u==="top"?(h=i?f:`${p}px`,g=`${r.floating.height+l}px`):u==="right"?(h=`${-l}px`,g=i?f:`${d}px`):u==="left"&&(h=`${r.floating.width+l}px`,g=i?f:`${d}px`),{data:{x:h,y:g}}}}}function tu(e){const[t,n="center"]=e.split("-");return[t,n]}const yx=["top","right","bottom","left"],Tr=Math.min,Jt=Math.max,ya=Math.round,Ti=Math.floor,Fn=e=>({x:e,y:e}),vx={left:"right",right:"left",bottom:"top",top:"bottom"};function nu(e,t,n){return Jt(e,Tr(t,n))}function lr(e,t){return typeof e=="function"?e(t):e}function cr(e){return e.split("-")[0]}function Ks(e){return e.split("-")[1]}function bf(e){return e==="x"?"y":"x"}function wf(e){return e==="y"?"height":"width"}function $n(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function xf(e){return bf($n(e))}function bx(e,t,n){n===void 0&&(n=!1);const r=Ks(e),s=xf(e),o=wf(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=va(i)),[i,va(i)]}function wx(e){const t=va(e);return[ru(e),t,ru(t)]}function ru(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Lp=["left","right"],$p=["right","left"],xx=["top","bottom"],_x=["bottom","top"];function Cx(e,t,n){switch(e){case"top":case"bottom":return n?t?$p:Lp:t?Lp:$p;case"left":case"right":return t?xx:_x;default:return[]}}function kx(e,t,n,r){const s=Ks(e);let o=Cx(cr(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(ru)))),o}function va(e){const t=cr(e);return vx[t]+e.slice(t.length)}function Sx(e){return{top:0,right:0,bottom:0,left:0,...e}}function k1(e){return typeof e!="number"?Sx(e):{top:e,right:e,bottom:e,left:e}}function ba(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function Dp(e,t,n){let{reference:r,floating:s}=e;const o=$n(t),i=xf(t),a=wf(i),l=cr(t),u=o==="y",c=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,p=r[a]/2-s[a]/2;let d;switch(l){case"top":d={x:c,y:r.y-s.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-s.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Ks(t)){case"start":d[i]-=p*(n&&u?-1:1);break;case"end":d[i]+=p*(n&&u?-1:1);break}return d}async function Ex(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=lr(t,e),h=k1(d),y=a[p?f==="floating"?"reference":"floating":f],b=ba(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(y)))==null||n?y:y.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),v=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,m=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),w=await(o.isElement==null?void 0:o.isElement(m))?await(o.getScale==null?void 0:o.getScale(m))||{x:1,y:1}:{x:1,y:1},x=ba(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:m,strategy:l}):v);return{top:(b.top-x.top+h.top)/w.y,bottom:(x.bottom-b.bottom+h.bottom)/w.y,left:(b.left-x.left+h.left)/w.x,right:(x.right-b.right+h.right)/w.x}}const Ax=50,Tx=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:Ex},l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:c,y:f}=Dp(u,r,l),p=r,d=0;const h={};for(let g=0;g<o.length;g++){const y=o[g];if(!y)continue;const{name:b,fn:v}=y,{x:m,y:w,data:x,reset:S}=await v({x:c,y:f,initialPlacement:r,placement:p,strategy:s,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=m??c,f=w??f,h[b]={...h[b],...x},S&&d<Ax&&(d++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(u=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:c,y:f}=Dp(u,p,l)),g=-1)}return{x:c,y:f,placement:p,strategy:s,middlewareData:h}},Px=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=lr(e,t)||{};if(u==null)return{};const f=k1(c),p={x:n,y:r},d=xf(s),h=wf(d),g=await i.getDimensions(u),y=d==="y",b=y?"top":"left",v=y?"bottom":"right",m=y?"clientHeight":"clientWidth",w=o.reference[h]+o.reference[d]-p[d]-o.floating[h],x=p[d]-o.reference[d],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let E=S?S[m]:0;(!E||!await(i.isElement==null?void 0:i.isElement(S)))&&(E=a.floating[m]||o.floating[h]);const T=w/2-x/2,A=E/2-g[h]/2-1,M=Tr(f[b],A),j=Tr(f[v],A),R=M,G=E-g[h]-j,N=E/2-g[h]/2+T,q=nu(R,N,G),L=!l.arrow&&Ks(s)!=null&&N!==q&&o.reference[h]/2-(N<R?M:j)-g[h]/2<0,W=L?N<R?N-R:N-G:0;return{[d]:p[d]+W,data:{[d]:q,centerOffset:N-q-W,...L&&{alignmentOffset:W}},reset:L}}}),Rx=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...y}=lr(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const b=cr(s),v=$n(a),m=cr(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=p||(m||!g?[va(a)]:wx(a)),S=h!=="none";!p&&S&&x.push(...kx(a,g,h,w));const E=[a,...x],T=await l.detectOverflow(t,y),A=[];let M=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&A.push(T[b]),f){const N=bx(s,i,w);A.push(T[N[0]],T[N[1]])}if(M=[...M,{placement:s,overflows:A}],!A.every(N=>N<=0)){var j,R;const N=(((j=o.flip)==null?void 0:j.index)||0)+1,q=E[N];if(q&&(!(f==="alignment"?v!==$n(q):!1)||M.every($=>$n($.placement)===v?$.overflows[0]>0:!0)))return{data:{index:N,overflows:M},reset:{placement:q}};let L=(R=M.filter(W=>W.overflows[0]<=0).sort((W,$)=>W.overflows[1]-$.overflows[1])[0])==null?void 0:R.placement;if(!L)switch(d){case"bestFit":{var G;const W=(G=M.filter($=>{if(S){const ie=$n($.placement);return ie===v||ie==="y"}return!0}).map($=>[$.placement,$.overflows.filter(ie=>ie>0).reduce((ie,te)=>ie+te,0)]).sort(($,ie)=>$[1]-ie[1])[0])==null?void 0:G[0];W&&(L=W);break}case"initialPlacement":L=a;break}if(s!==L)return{reset:{placement:L}}}return{}}}};function Bp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Fp(e){return yx.some(t=>e[t]>=0)}const Ix=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:s="referenceHidden",...o}=lr(e,t);switch(s){case"referenceHidden":{const i=await r.detectOverflow(t,{...o,elementContext:"reference"}),a=Bp(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Fp(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...o,altBoundary:!0}),a=Bp(i,n.floating);return{data:{escapedOffsets:a,escaped:Fp(a)}}}default:return{}}}}},S1=new Set(["left","top"]);async function Ox(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=cr(n),a=Ks(n),l=$n(n)==="y",u=S1.has(i)?-1:1,c=o&&l?-1:1,f=lr(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(d=a==="end"?h*-1:h),l?{x:d*c,y:p*u}:{x:p*u,y:d*c}}const Mx=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await Ox(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},Nx=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s,platform:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:v,y:m}=b;return{x:v,y:m}}},...u}=lr(e,t),c={x:n,y:r},f=await o.detectOverflow(t,u),p=$n(cr(s)),d=bf(p);let h=c[d],g=c[p];if(i){const b=d==="y"?"top":"left",v=d==="y"?"bottom":"right",m=h+f[b],w=h-f[v];h=nu(m,h,w)}if(a){const b=p==="y"?"top":"left",v=p==="y"?"bottom":"right",m=g+f[b],w=g-f[v];g=nu(m,g,w)}const y=l.fn({...t,[d]:h,[p]:g});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[d]:i,[p]:a}}}}}},Lx=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=lr(e,t),c={x:n,y:r},f=$n(s),p=bf(f);let d=c[p],h=c[f];const g=lr(a,t),y=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const m=p==="y"?"height":"width",w=o.reference[p]-o.floating[m]+y.mainAxis,x=o.reference[p]+o.reference[m]-y.mainAxis;d<w?d=w:d>x&&(d=x)}if(u){var b,v;const m=p==="y"?"width":"height",w=S1.has(cr(s)),x=o.reference[f]-o.floating[m]+(w&&((b=i.offset)==null?void 0:b[f])||0)+(w?0:y.crossAxis),S=o.reference[f]+o.reference[m]+(w?0:((v=i.offset)==null?void 0:v[f])||0)-(w?y.crossAxis:0);h<x?h=x:h>S&&(h=S)}return{[p]:d,[f]:h}}}},$x=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...u}=lr(e,t),c=await i.detectOverflow(t,u),f=cr(s),p=Ks(s),d=$n(s)==="y",{width:h,height:g}=o.floating;let y,b;f==="top"||f==="bottom"?(y=f,b=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(b=f,y=p==="end"?"top":"bottom");const v=g-c.top-c.bottom,m=h-c.left-c.right,w=Tr(g-c[y],v),x=Tr(h-c[b],m),S=!t.middlewareData.shift;let E=w,T=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=m),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=v),S&&!p){const M=Jt(c.left,0),j=Jt(c.right,0),R=Jt(c.top,0),G=Jt(c.bottom,0);d?T=h-2*(M!==0||j!==0?M+j:Jt(c.left,c.right)):E=g-2*(R!==0||G!==0?R+G:Jt(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:E});const A=await i.getDimensions(a.floating);return h!==A.width||g!==A.height?{reset:{rects:!0}}:{}}}};function al(){return typeof window<"u"}function ls(e){return _f(e)?(e.nodeName||"").toLowerCase():"#document"}function en(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Hn(e){var t;return(t=(_f(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _f(e){return al()?e instanceof Node||e instanceof en(e).Node:!1}function Cn(e){return al()?e instanceof Element||e instanceof en(e).Element:!1}function pr(e){return al()?e instanceof HTMLElement||e instanceof en(e).HTMLElement:!1}function jp(e){return!al()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof en(e).ShadowRoot}function ii(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=kn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&s!=="inline"&&s!=="contents"}function Dx(e){return/^(table|td|th)$/.test(ls(e))}function ll(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Bx=/transform|translate|scale|rotate|perspective|filter/,Fx=/paint|layout|strict|content/,Dr=e=>!!e&&e!=="none";let Jl;function Cf(e){const t=Cn(e)?kn(e):e;return Dr(t.transform)||Dr(t.translate)||Dr(t.scale)||Dr(t.rotate)||Dr(t.perspective)||!kf()&&(Dr(t.backdropFilter)||Dr(t.filter))||Bx.test(t.willChange||"")||Fx.test(t.contain||"")}function jx(e){let t=Pr(e);for(;pr(t)&&!Fs(t);){if(Cf(t))return t;if(ll(t))return null;t=Pr(t)}return null}function kf(){return Jl==null&&(Jl=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Jl}function Fs(e){return/^(html|body|#document)$/.test(ls(e))}function kn(e){return en(e).getComputedStyle(e)}function cl(e){return Cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Pr(e){if(ls(e)==="html")return e;const t=e.assignedSlot||e.parentNode||jp(e)&&e.host||Hn(e);return jp(t)?t.host:t}function E1(e){const t=Pr(e);return Fs(t)?e.ownerDocument?e.ownerDocument.body:e.body:pr(t)&&ii(t)?t:E1(t)}function Go(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=E1(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=en(s);if(o){const a=su(i);return t.concat(i,i.visualViewport||[],ii(s)?s:[],a&&n?Go(a):[])}else return t.concat(s,Go(s,[],n))}function su(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function A1(e){const t=kn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=pr(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,a=ya(n)!==o||ya(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function Sf(e){return Cn(e)?e:e.contextElement}function Ts(e){const t=Sf(e);if(!pr(t))return Fn(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=A1(t);let i=(o?ya(n.width):n.width)/r,a=(o?ya(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const qx=Fn(0);function T1(e){const t=en(e);return!kf()||!t.visualViewport?qx:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==en(e)?!1:t}function rs(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Sf(e);let i=Fn(1);t&&(r?Cn(r)&&(i=Ts(r)):i=Ts(e));const a=zx(o,n,r)?T1(o):Fn(0);let l=(s.left+a.x)/i.x,u=(s.top+a.y)/i.y,c=s.width/i.x,f=s.height/i.y;if(o){const p=en(o),d=r&&Cn(r)?en(r):r;let h=p,g=su(h);for(;g&&r&&d!==h;){const y=Ts(g),b=g.getBoundingClientRect(),v=kn(g),m=b.left+(g.clientLeft+parseFloat(v.paddingLeft))*y.x,w=b.top+(g.clientTop+parseFloat(v.paddingTop))*y.y;l*=y.x,u*=y.y,c*=y.x,f*=y.y,l+=m,u+=w,h=en(g),g=su(h)}}return ba({width:c,height:f,x:l,y:u})}function ul(e,t){const n=cl(e).scrollLeft;return t?t.left+n:rs(Hn(e)).left+n}function P1(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ul(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function Hx(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=Hn(r),a=t?ll(t.floating):!1;if(r===i||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=Fn(1);const c=Fn(0),f=pr(r);if((f||!f&&!o)&&((ls(r)!=="body"||ii(i))&&(l=cl(r)),f)){const d=rs(r);u=Ts(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const p=i&&!f&&!o?P1(i,l):Fn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}}function Vx(e){return Array.from(e.getClientRects())}function Ux(e){const t=Hn(e),n=cl(e),r=e.ownerDocument.body,s=Jt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Jt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+ul(e);const a=-n.scrollTop;return kn(r).direction==="rtl"&&(i+=Jt(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:a}}const qp=25;function Gx(e,t){const n=en(e),r=Hn(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,a=0,l=0;if(s){o=s.width,i=s.height;const c=kf();(!c||c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}const u=ul(r);if(u<=0){const c=r.ownerDocument,f=c.body,p=getComputedStyle(f),d=c.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,h=Math.abs(r.clientWidth-f.clientWidth-d);h<=qp&&(o-=h)}else u<=qp&&(o+=u);return{width:o,height:i,x:a,y:l}}function Wx(e,t){const n=rs(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=pr(e)?Ts(e):Fn(1),i=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,u=r*o.y;return{width:i,height:a,x:l,y:u}}function zp(e,t,n){let r;if(t==="viewport")r=Gx(e,n);else if(t==="document")r=Ux(Hn(e));else if(Cn(t))r=Wx(t,n);else{const s=T1(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return ba(r)}function R1(e,t){const n=Pr(e);return n===t||!Cn(n)||Fs(n)?!1:kn(n).position==="fixed"||R1(n,t)}function Kx(e,t){const n=t.get(e);if(n)return n;let r=Go(e,[],!1).filter(a=>Cn(a)&&ls(a)!=="body"),s=null;const o=kn(e).position==="fixed";let i=o?Pr(e):e;for(;Cn(i)&&!Fs(i);){const a=kn(i),l=Cf(i);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||ii(i)&&!l&&R1(e,i))?r=r.filter(c=>c!==i):s=a,i=Pr(i)}return t.set(e,r),r}function Xx(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?ll(t)?[]:Kx(t,this._c):[].concat(n),r],a=zp(t,i[0],s);let l=a.top,u=a.right,c=a.bottom,f=a.left;for(let p=1;p<i.length;p++){const d=zp(t,i[p],s);l=Jt(d.top,l),u=Tr(d.right,u),c=Tr(d.bottom,c),f=Jt(d.left,f)}return{width:u-f,height:c-l,x:f,y:l}}function Yx(e){const{width:t,height:n}=A1(e);return{width:t,height:n}}function Jx(e,t,n){const r=pr(t),s=Hn(t),o=n==="fixed",i=rs(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Fn(0);function u(){l.x=ul(s)}if(r||!r&&!o)if((ls(t)!=="body"||ii(s))&&(a=cl(t)),r){const d=rs(t,!0,o,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else s&&u();o&&!r&&s&&u();const c=s&&!r&&!o?P1(s,a):Fn(0),f=i.left+a.scrollLeft-l.x-c.x,p=i.top+a.scrollTop-l.y-c.y;return{x:f,y:p,width:i.width,height:i.height}}function Ql(e){return kn(e).position==="static"}function Hp(e,t){if(!pr(e)||kn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Hn(e)===n&&(n=n.ownerDocument.body),n}function I1(e,t){const n=en(e);if(ll(e))return n;if(!pr(e)){let s=Pr(e);for(;s&&!Fs(s);){if(Cn(s)&&!Ql(s))return s;s=Pr(s)}return n}let r=Hp(e,t);for(;r&&Dx(r)&&Ql(r);)r=Hp(r,t);return r&&Fs(r)&&Ql(r)&&!Cf(r)?n:r||jx(e)||n}const Qx=async function(e){const t=this.getOffsetParent||I1,n=this.getDimensions,r=await n(e.floating);return{reference:Jx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Zx(e){return kn(e).direction==="rtl"}const e_={convertOffsetParentRelativeRectToViewportRelativeRect:Hx,getDocumentElement:Hn,getClippingRect:Xx,getOffsetParent:I1,getElementRects:Qx,getClientRects:Vx,getDimensions:Yx,getScale:Ts,isElement:Cn,isRTL:Zx};function O1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function t_(e,t){let n=null,r;const s=Hn(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const u=e.getBoundingClientRect(),{left:c,top:f,width:p,height:d}=u;if(a||t(),!p||!d)return;const h=Ti(f),g=Ti(s.clientWidth-(c+p)),y=Ti(s.clientHeight-(f+d)),b=Ti(c),m={rootMargin:-h+"px "+-g+"px "+-y+"px "+-b+"px",threshold:Jt(0,Tr(1,l))||1};let w=!0;function x(S){const E=S[0].intersectionRatio;if(E!==l){if(!w)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!O1(u,e.getBoundingClientRect())&&i(),w=!1}try{n=new IntersectionObserver(x,{...m,root:s.ownerDocument})}catch{n=new IntersectionObserver(x,m)}n.observe(e)}return i(!0),o}function n_(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Sf(e),c=s||o?[...u?Go(u):[],...t?Go(t):[]]:[];c.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});const f=u&&a?t_(u,n):null;let p=-1,d=null;i&&(d=new ResizeObserver(b=>{let[v]=b;v&&v.target===u&&d&&t&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var m;(m=d)==null||m.observe(t)})),n()}),u&&!l&&d.observe(u),t&&d.observe(t));let h,g=l?rs(e):null;l&&y();function y(){const b=rs(e);g&&!O1(g,b)&&n(),g=b,h=requestAnimationFrame(y)}return n(),()=>{var b;c.forEach(v=>{s&&v.removeEventListener("scroll",n),o&&v.removeEventListener("resize",n)}),f?.(),(b=d)==null||b.disconnect(),d=null,l&&cancelAnimationFrame(h)}}const r_=Mx,s_=Nx,Vp=Rx,o_=$x,i_=Ix,a_=Px,l_=Lx,c_=(e,t,n)=>{const r=new Map,s={platform:e_,...n},o={...s.platform,_c:r};return Tx(e,t,{...s,platform:o})};function u_(e){return e!=null&&typeof e=="object"&&"$el"in e}function ou(e){if(u_(e)){const t=e.$el;return _f(t)&&ls(t)==="#comment"?null:t}return e}function ys(e){return typeof e=="function"?e():_(e)}function f_(e){return{name:"arrow",options:e,fn(t){const n=ou(ys(e.element));return n==null?{}:a_({element:n,padding:e.padding}).fn(t)}}}function M1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Up(e,t){const n=M1(e);return Math.round(t*n)/n}function d_(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,s=P(()=>{var E;return(E=ys(n.open))!=null?E:!0}),o=P(()=>ys(n.middleware)),i=P(()=>{var E;return(E=ys(n.placement))!=null?E:"bottom"}),a=P(()=>{var E;return(E=ys(n.strategy))!=null?E:"absolute"}),l=P(()=>{var E;return(E=ys(n.transform))!=null?E:!0}),u=P(()=>ou(e.value)),c=P(()=>ou(t.value)),f=J(0),p=J(0),d=J(a.value),h=J(i.value),g=ft({}),y=J(!1),b=P(()=>{const E={position:d.value,left:"0",top:"0"};if(!c.value)return E;const T=Up(c.value,f.value),A=Up(c.value,p.value);return l.value?{...E,transform:"translate("+T+"px, "+A+"px)",...M1(c.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:T+"px",top:A+"px"}});let v;function m(){if(u.value==null||c.value==null)return;const E=s.value;c_(u.value,c.value,{middleware:o.value,placement:i.value,strategy:a.value}).then(T=>{f.value=T.x,p.value=T.y,d.value=T.strategy,h.value=T.placement,g.value=T.middlewareData,y.value=E!==!1})}function w(){typeof v=="function"&&(v(),v=void 0)}function x(){if(w(),r===void 0){m();return}if(u.value!=null&&c.value!=null){v=r(u.value,c.value,m);return}}function S(){s.value||(y.value=!1)}return Be([o,i,a,s],m,{flush:"sync"}),Be([u,c],x,{flush:"sync"}),Be(s,S,{flush:"sync"}),ei()&&qa(w),{x:jr(f),y:jr(p),strategy:jr(d),placement:jr(h),middlewareData:jr(g),isPositioned:jr(y),floatingStyles:b,update:m}}const p_={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[h_,g_]=dr("PopperContent");var m_=me({inheritAttrs:!1,__name:"PopperContent",props:L2({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...p_}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,s=C1(),{forwardRef:o,currentElement:i}=nt(),a=J(),l=J(),{width:u,height:c}=H9(l),f=P(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=P(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=P(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=P(()=>({padding:p.value,boundary:d.value.filter(gx),altBoundary:d.value.length>0})),g=P(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),y=D5(()=>[r_({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Vp({...h.value,...g.value}),n.avoidCollisions&&s_({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?l_():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&Vp({...h.value,...g.value}),o_({...h.value,apply:({elements:R,rects:G,availableWidth:N,availableHeight:q})=>{const{width:L,height:W}=G.reference,$=R.floating.style;$.setProperty("--reka-popper-available-width",`${N}px`),$.setProperty("--reka-popper-available-height",`${q}px`),$.setProperty("--reka-popper-anchor-width",`${L}px`),$.setProperty("--reka-popper-anchor-height",`${W}px`)}}),l.value&&f_({element:l.value,padding:n.arrowPadding}),mx({arrowWidth:u.value,arrowHeight:c.value}),n.hideWhenDetached&&i_({strategy:"referenceHidden",...h.value})]),b=P(()=>n.reference??s.anchor.value),{floatingStyles:v,placement:m,isPositioned:w,middlewareData:x}=d_(b,a,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...R)=>n_(...R,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:y}),S=P(()=>tu(m.value)[0]),E=P(()=>tu(m.value)[1]);Mg(()=>{w.value&&r("placed")});const T=P(()=>{const R=x.value.arrow?.centerOffset!==0;return n.hideShiftedArrow&&R}),A=J("");nn(()=>{i.value&&(A.value=window.getComputedStyle(i.value).zIndex)});const M=P(()=>x.value.arrow?.x??0),j=P(()=>x.value.arrow?.y??0);return g_({placedSide:S,onArrowChange:R=>l.value=R,arrowX:M,arrowY:j,shouldHideArrow:T}),(R,G)=>(D(),Ee("div",{ref_key:"floatingRef",ref:a,"data-reka-popper-content-wrapper":"",style:bn({..._(v),transform:_(w)?_(v).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:A.value,"--reka-popper-transform-origin":[_(x).transformOrigin?.x,_(x).transformOrigin?.y].join(" "),..._(x).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[re(_(rt),ve({ref:_(o)},R.$attrs,{"as-child":n.asChild,as:R.as,"data-side":S.value,"data-align":E.value,style:{animation:_(w)?void 0:"none"}}),{default:Z(()=>[ce(R.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),y_=m_;const v_={top:"bottom",right:"left",bottom:"top",left:"right"};var b_=me({inheritAttrs:!1,__name:"PopperArrow",props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const{forwardRef:t}=nt(),n=h_(),r=P(()=>v_[n.placedSide.value]);return(s,o)=>(D(),Ee("span",{ref:i=>{_(n).onArrowChange(i)},style:bn({position:"absolute",left:_(n).arrowX?.value?`${_(n).arrowX?.value}px`:void 0,top:_(n).arrowY?.value?`${_(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[_(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[_(n).placedSide.value],visibility:_(n).shouldHideArrow.value?"hidden":void 0})},[re(hx,ve(s.$attrs,{ref:_(t),style:{display:"block"},as:s.as,"as-child":s.asChild,rounded:s.rounded,width:s.width,height:s.height}),{default:Z(()=>[ce(s.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4))}}),w_=b_;const Wo=100,[x_,__]=dr("ProgressRoot"),wa=e=>typeof e=="number";function C_(e,t){return gf(e)||wa(e)&&!Number.isNaN(e)&&e<=t&&e>=0?e:(console.error(`Invalid prop \`value\` of value \`${e}\` supplied to \`ProgressRoot\`. The \`value\` prop must be:
33
+ - a positive number
34
+ - less than the value passed to \`max\` (or ${Wo} if no \`max\` prop is set)
35
+ - \`null\` or \`undefined\` if the progress is indeterminate.
36
+
37
+ Defaulting to \`null\`.`),null)}function k_(e){return wa(e)&&!Number.isNaN(e)&&e>0?e:(console.error(`Invalid prop \`max\` of value \`${e}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Wo}\`.`),Wo)}var S_=me({__name:"ProgressRoot",props:{modelValue:{type:[Number,null],required:!1},max:{type:Number,required:!1,default:Wo},getValueLabel:{type:Function,required:!1,default:(e,t)=>wa(e)?`${Math.round(e/t*Wo)}%`:void 0},getValueText:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue","update:max"],setup(e,{emit:t}){const n=e,r=t;nt();const s=zo(n,"modelValue",r,{passive:n.modelValue===void 0}),o=zo(n,"max",r,{passive:n.max===void 0});Be(()=>s.value,async a=>{const l=C_(a,n.max);l!==a&&(await At(),s.value=l)},{immediate:!0}),Be(()=>n.max,a=>{const l=k_(n.max);l!==a&&(o.value=l)},{immediate:!0});const i=P(()=>gf(s.value)?"indeterminate":s.value===o.value?"complete":"loading");return __({modelValue:s,max:o,progressState:i}),(a,l)=>(D(),X(_(rt),{"as-child":a.asChild,as:a.as,"aria-valuemax":_(o),"aria-valuemin":0,"aria-valuenow":wa(_(s))?_(s):void 0,"aria-valuetext":a.getValueText?.(_(s),_(o)),"aria-label":a.getValueLabel(_(s),_(o)),role:"progressbar","data-state":i.value,"data-value":_(s)??void 0,"data-max":_(o)},{default:Z(()=>[ce(a.$slots,"default",{modelValue:_(s)})]),_:3},8,["as-child","as","aria-valuemax","aria-valuenow","aria-valuetext","aria-label","data-state","data-value","data-max"]))}}),E_=S_,A_=me({__name:"ProgressIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=x_();return nt(),(r,s)=>(D(),X(_(rt),ve(t,{"data-state":_(n).progressState.value,"data-value":_(n).modelValue?.value??void 0,"data-max":_(n).max.value}),{default:Z(()=>[ce(r.$slots,"default")]),_:3},16,["data-state","data-value","data-max"]))}}),T_=A_,P_=me({__name:"ToastAnnounceExclude",props:{altText:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){return(t,n)=>(D(),X(_(rt),{as:t.as,"as-child":t.asChild,"data-reka-toast-announce-exclude":"","data-reka-toast-announce-alt":t.altText||void 0},{default:Z(()=>[ce(t.$slots,"default")]),_:3},8,["as","as-child","data-reka-toast-announce-alt"]))}}),N1=P_;const[fl,R_]=dr("ToastProvider");var I_=me({inheritAttrs:!1,__name:"ToastProvider",props:{label:{type:String,required:!1,default:"Notification"},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeDirection:{type:String,required:!1,default:"right"},swipeThreshold:{type:Number,required:!1,default:50}},setup(e){const t=e,{label:n,duration:r,disableSwipe:s,swipeDirection:o,swipeThreshold:i}=Er(t);yf({isProvider:!0});const a=J(),l=J(0),u=J(!1),c=J(!1);if(t.label&&typeof t.label=="string"&&!t.label.trim()){const f="Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.";throw new Error(f)}return R_({label:n,duration:r,disableSwipe:s,swipeDirection:o,swipeThreshold:i,toastCount:l,viewport:a,onViewportChange(f){a.value=f},onToastAdd(){l.value++},onToastRemove(){l.value--},isFocusedToastEscapeKeyDownRef:u,isClosePausedRef:c}),(f,p)=>ce(f.$slots,"default")}}),O_=I_,M_=me({__name:"ToastAnnounce",setup(e){const t=fl(),n=Q5(1e3),r=J(!1);return am(()=>{r.value=!0}),(s,o)=>_(n)||r.value?(D(),X(_(vf),{key:0,feature:"fully-hidden"},{default:Z(()=>[Ft(Je(_(t).label.value)+" ",1),ce(s.$slots,"default")]),_:3})):Ce("v-if",!0)}}),N_=M_;const L_="toast.swipeStart",$_="toast.swipeMove",D_="toast.swipeCancel",B_="toast.swipeEnd",iu="toast.viewportPause",au="toast.viewportResume";function Pi(e,t,n){const r=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(s)}function Gp(e,t,n=0){const r=Math.abs(e.x),s=Math.abs(e.y),o=r>s;return t==="left"||t==="right"?o&&r>n:!o&&s>n}function F_(e){return e.nodeType===e.ELEMENT_NODE}function L1(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),F_(r)){const s=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.rekaToastAnnounceExclude==="";if(!s)if(o){const i=r.dataset.rekaToastAnnounceAlt;i&&t.push(i)}else t.push(...L1(r))}}),t}const[j_,q_]=dr("ToastRoot");var z_=me({inheritAttrs:!1,__name:"ToastRootImpl",props:{type:{type:String,required:!1},open:{type:Boolean,required:!1,default:!1},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"li"}},emits:["close","escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:s,currentElement:o}=nt(),{CollectionItem:i}=yf(),a=fl(),l=J(null),u=J(null),c=P(()=>typeof n.duration=="number"?n.duration:a.duration.value),f=J(0),p=J(c.value),d=J(0),h=J(c.value),g=am(()=>{const m=new Date().getTime()-f.value;h.value=Math.max(p.value-m,0)},{fpsLimit:60});function y(m){m<=0||m===Number.POSITIVE_INFINITY||Ir&&(window.clearTimeout(d.value),f.value=new Date().getTime(),d.value=window.setTimeout(b,m))}function b(m){const w=m?.pointerType==="";o.value?.contains(Bs())&&w&&a.viewport.value?.focus(),w&&(a.isClosePausedRef.value=!1),r("close")}const v=P(()=>o.value?L1(o.value):null);if(n.type&&!["foreground","background"].includes(n.type)){const m="Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.";throw new Error(m)}return nn(m=>{const w=a.viewport.value;if(w){const x=()=>{y(p.value),g.resume(),r("resume")},S=()=>{const E=new Date().getTime()-f.value;p.value=p.value-E,window.clearTimeout(d.value),g.pause(),r("pause")};return w.addEventListener(iu,S),w.addEventListener(au,x),()=>{w.removeEventListener(iu,S),w.removeEventListener(au,x)}}}),Be(()=>[n.open,c.value],()=>{p.value=c.value,n.open&&!a.isClosePausedRef.value&&y(c.value)},{immediate:!0}),ef("Escape",m=>{r("escapeKeyDown",m),m.defaultPrevented||(a.isFocusedToastEscapeKeyDownRef.value=!0,b())}),Mt(()=>{a.onToastAdd()}),os(()=>{a.onToastRemove()}),q_({onClose:b}),(m,w)=>(D(),Ee(qe,null,[v.value?(D(),X(N_,{key:0,role:"alert","aria-live":m.type==="foreground"?"assertive":"polite"},{default:Z(()=>[Ft(Je(v.value),1)]),_:1},8,["aria-live"])):Ce("v-if",!0),_(a).viewport.value?(D(),X(Bg,{key:1,to:_(a).viewport.value},[re(_(i),null,{default:Z(()=>[re(_(rt),ve({ref:_(s),tabindex:"0"},m.$attrs,{as:m.as,"as-child":m.asChild,"data-state":m.open?"open":"closed","data-swipe-direction":_(a).swipeDirection.value,style:_(a).disableSwipe.value?void 0:{userSelect:"none",touchAction:"none"},onPointerdown:w[0]||(w[0]=As(x=>{_(a).disableSwipe.value||(l.value={x:x.clientX,y:x.clientY})},["left"])),onPointermove:w[1]||(w[1]=x=>{if(_(a).disableSwipe.value||!l.value)return;const S=x.clientX-l.value.x,E=x.clientY-l.value.y,T=!!u.value,A=["left","right"].includes(_(a).swipeDirection.value),M=["left","up"].includes(_(a).swipeDirection.value)?Math.min:Math.max,j=A?M(0,S):0,R=A?0:M(0,E),G=x.pointerType==="touch"?10:2,N={x:j,y:R},q={originalEvent:x,delta:N};T?(u.value=N,_(Pi)(_($_),L=>r("swipeMove",L),q)):_(Gp)(N,_(a).swipeDirection.value,G)?(u.value=N,_(Pi)(_(L_),L=>r("swipeStart",L),q),x.target.setPointerCapture(x.pointerId)):(Math.abs(S)>G||Math.abs(E)>G)&&(l.value=null)}),onPointerup:w[2]||(w[2]=x=>{if(_(a).disableSwipe.value)return;const S=u.value,E=x.target;if(E.hasPointerCapture(x.pointerId)&&E.releasePointerCapture(x.pointerId),u.value=null,l.value=null,S){const T=x.currentTarget,A={originalEvent:x,delta:S};_(Gp)(S,_(a).swipeDirection.value,_(a).swipeThreshold.value)?_(Pi)(_(B_),M=>r("swipeEnd",M),A):_(Pi)(_(D_),M=>r("swipeCancel",M),A),T?.addEventListener("click",M=>M.preventDefault(),{once:!0})}})}),{default:Z(()=>[ce(m.$slots,"default",{remaining:h.value,duration:c.value})]),_:3},16,["as","as-child","data-state","data-swipe-direction","style"])]),_:3})],8,["to"])):Ce("v-if",!0)],64))}}),H_=z_,V_=me({__name:"ToastClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=j_(),{forwardRef:r}=nt();return(s,o)=>(D(),X(N1,{"as-child":""},{default:Z(()=>[re(_(rt),ve(t,{ref:_(r),type:s.as==="button"?"button":void 0,onClick:_(n).onClose}),{default:Z(()=>[ce(s.$slots,"default")]),_:3},16,["type","onClick"])]),_:3}))}}),$1=V_,U_=me({__name:"ToastAction",props:{altText:{type:String,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){if(!e.altText)throw new Error("Missing prop `altText` expected on `ToastAction`");const{forwardRef:n}=nt();return(r,s)=>r.altText?(D(),X(N1,{key:0,"alt-text":r.altText,"as-child":""},{default:Z(()=>[re($1,{ref:_(n),as:r.as,"as-child":r.asChild},{default:Z(()=>[ce(r.$slots,"default")]),_:3},8,["as","as-child"])]),_:3},8,["alt-text"])):Ce("v-if",!0)}}),Wp=U_,G_=me({__name:"ToastDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return nt(),(n,r)=>(D(),X(_(rt),Vt(En(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),W_=G_,K_=me({__name:"ToastPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(D(),X(_(_1),Vt(En(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),X_=K_,Y_=me({__name:"ToastRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!0},forceMount:{type:Boolean,required:!1},type:{type:String,required:!1,default:"foreground"},open:{type:Boolean,required:!1,default:void 0},duration:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"li"}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{emit:t}){const n=e,r=t,{forwardRef:s}=nt(),o=zo(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});return(i,a)=>(D(),X(_(w1),{present:i.forceMount||_(o)},{default:Z(()=>[re(H_,ve({ref:_(s),open:_(o),type:i.type,as:i.as,"as-child":i.asChild,duration:i.duration},i.$attrs,{onClose:a[0]||(a[0]=l=>o.value=!1),onPause:a[1]||(a[1]=l=>r("pause")),onResume:a[2]||(a[2]=l=>r("resume")),onEscapeKeyDown:a[3]||(a[3]=l=>r("escapeKeyDown",l)),onSwipeStart:a[4]||(a[4]=l=>{r("swipeStart",l),l.defaultPrevented||l.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:a[5]||(a[5]=l=>{if(r("swipeMove",l),!l.defaultPrevented){const{x:u,y:c}=l.detail.delta,f=l.currentTarget;f.setAttribute("data-swipe","move"),f.style.setProperty("--reka-toast-swipe-move-x",`${u}px`),f.style.setProperty("--reka-toast-swipe-move-y",`${c}px`)}}),onSwipeCancel:a[6]||(a[6]=l=>{if(r("swipeCancel",l),!l.defaultPrevented){const u=l.currentTarget;u.setAttribute("data-swipe","cancel"),u.style.removeProperty("--reka-toast-swipe-move-x"),u.style.removeProperty("--reka-toast-swipe-move-y"),u.style.removeProperty("--reka-toast-swipe-end-x"),u.style.removeProperty("--reka-toast-swipe-end-y")}}),onSwipeEnd:a[7]||(a[7]=l=>{if(r("swipeEnd",l),!l.defaultPrevented){const{x:u,y:c}=l.detail.delta,f=l.currentTarget;f.setAttribute("data-swipe","end"),f.style.removeProperty("--reka-toast-swipe-move-x"),f.style.removeProperty("--reka-toast-swipe-move-y"),f.style.setProperty("--reka-toast-swipe-end-x",`${u}px`),f.style.setProperty("--reka-toast-swipe-end-y",`${c}px`),o.value=!1}})}),{default:Z(({remaining:l,duration:u})=>[ce(i.$slots,"default",{remaining:l,duration:u,open:_(o)})]),_:3},16,["open","type","as","as-child","duration"])]),_:3},8,["present"]))}}),J_=Y_,Q_=me({__name:"ToastTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return nt(),(n,r)=>(D(),X(_(rt),Vt(En(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),Z_=Q_,eC=me({__name:"FocusProxy",emits:["focusFromOutsideViewport"],setup(e,{emit:t}){const n=t,r=fl();return(s,o)=>(D(),X(_(vf),{tabindex:"0",style:{position:"fixed"},onFocus:o[0]||(o[0]=i=>{const a=i.relatedTarget;!_(r).viewport.value?.contains(a)&&n("focusFromOutsideViewport")})},{default:Z(()=>[ce(s.$slots,"default")]),_:3}))}}),Kp=eC,tC=me({inheritAttrs:!1,__name:"ToastViewport",props:{hotkey:{type:Array,required:!1,default:()=>["F8"]},label:{type:[String,Function],required:!1,default:"Notifications ({hotkey})"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"ol"}},setup(e){const t=e,{hotkey:n,label:r}=Er(t),{forwardRef:s,currentElement:o}=nt(),{CollectionSlot:i,getItems:a}=yf(),l=fl(),u=P(()=>l.toastCount.value>0),c=J(),f=J(),p=P(()=>n.value.join("+").replace(/Key/g,"").replace(/Digit/g,""));ef(n.value,()=>{o.value.focus()}),Mt(()=>{l.onViewportChange(o.value)}),nn(h=>{const g=o.value;if(u.value&&g){const y=()=>{if(!l.isClosePausedRef.value){const x=new CustomEvent(iu);g.dispatchEvent(x),l.isClosePausedRef.value=!0}},b=()=>{if(l.isClosePausedRef.value){const x=new CustomEvent(au);g.dispatchEvent(x),l.isClosePausedRef.value=!1}},v=x=>{!g.contains(x.relatedTarget)&&b()},m=()=>{g.contains(Bs())||b()},w=x=>{const S=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!S){const T=Bs(),A=x.shiftKey;if(x.target===g&&A){c.value?.focus();return}const R=d({tabbingDirection:A?"backwards":"forwards"}),G=R.findIndex(N=>N===T);Yl(R.slice(G+1))?x.preventDefault():A?c.value?.focus():f.value?.focus()}};g.addEventListener("focusin",y),g.addEventListener("focusout",v),g.addEventListener("pointermove",y),g.addEventListener("pointerleave",m),g.addEventListener("keydown",w),window.addEventListener("blur",y),window.addEventListener("focus",b),h(()=>{g.removeEventListener("focusin",y),g.removeEventListener("focusout",v),g.removeEventListener("pointermove",y),g.removeEventListener("pointerleave",m),g.removeEventListener("keydown",w),window.removeEventListener("blur",y),window.removeEventListener("focus",b)})}});function d({tabbingDirection:h}){const y=a().map(b=>b.ref).map(b=>{const v=[b,...tx(b)];return h==="forwards"?v:v.reverse()});return(h==="forwards"?y.reverse():y).flat()}return(h,g)=>(D(),X(_(ex),{role:"region","aria-label":typeof _(r)=="string"?_(r).replace("{hotkey}",p.value):_(r)(p.value),tabindex:"-1",style:bn({pointerEvents:u.value?void 0:"none"})},{default:Z(()=>[u.value?(D(),X(Kp,{key:0,ref:y=>{c.value=_(mn)(y)},onFocusFromOutsideViewport:g[0]||(g[0]=()=>{const y=d({tabbingDirection:"forwards"});_(Yl)(y)})},null,512)):Ce("v-if",!0),re(_(i),null,{default:Z(()=>[re(_(rt),ve({ref:_(s),tabindex:"-1",as:h.as,"as-child":h.asChild},h.$attrs),{default:Z(()=>[ce(h.$slots,"default")]),_:3},16,["as","as-child"])]),_:3}),u.value?(D(),X(Kp,{key:1,ref:y=>{f.value=_(mn)(y)},onFocusFromOutsideViewport:g[1]||(g[1]=()=>{const y=d({tabbingDirection:"backwards"});_(Yl)(y)})},null,512)):Ce("v-if",!0)]),_:3},8,["aria-label","style"]))}}),nC=tC,rC=me({__name:"TooltipArrow",props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"svg"}},setup(e){const t=e;return nt(),(n,r)=>(D(),X(_(w_),Vt(En(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),sC=rC;const[ai,oC]=dr("TooltipProvider");var iC=me({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:s,disableClosingTrigger:o,ignoreNonKeyboardFocus:i,disabled:a,content:l}=Er(t);nt();const u=J(!0),c=J(!1),{start:f,stop:p}=Za(()=>{u.value=!0},r,{immediate:!1});return oC({isOpenDelayed:u,delayDuration:n,onOpen(){p(),u.value=!1},onClose(){f()},isPointerInTransitRef:c,disableHoverableContent:s,disableClosingTrigger:o,disabled:a,ignoreNonKeyboardFocus:i,content:l}),(d,h)=>ce(d.$slots,"default")}}),aC=iC;const D1="tooltip.open",[dl,lC]=dr("TooltipRoot");var cC=me({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;nt();const s=ai(),o=P(()=>n.disableHoverableContent??s.disableHoverableContent.value),i=P(()=>n.disableClosingTrigger??s.disableClosingTrigger.value),a=P(()=>n.disabled??s.disabled.value),l=P(()=>n.delayDuration??s.delayDuration.value),u=P(()=>n.ignoreNonKeyboardFocus??s.ignoreNonKeyboardFocus.value),c=zo(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});Be(c,m=>{s.onClose&&(m?(s.onOpen(),document.dispatchEvent(new CustomEvent(D1))):s.onClose())});const f=J(!1),p=J(),d=P(()=>c.value?f.value?"delayed-open":"instant-open":"closed"),{start:h,stop:g}=Za(()=>{f.value=!0,c.value=!0},l,{immediate:!1});function y(){g(),f.value=!1,c.value=!0}function b(){g(),c.value=!1}function v(){h()}return lC({contentId:"",open:c,stateAttribute:d,trigger:p,onTriggerChange(m){p.value=m},onTriggerEnter(){s.isOpenDelayed.value?v():y()},onTriggerLeave(){o.value?b():g()},onOpen:y,onClose:b,disableHoverableContent:o,disableClosingTrigger:i,disabled:a,ignoreNonKeyboardFocus:u}),(m,w)=>(D(),X(_(lx),null,{default:Z(()=>[ce(m.$slots,"default",{open:_(c)})]),_:3}))}}),uC=cC,fC=me({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1,default:void 0},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:void 0},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1,default:void 0},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,s=dl(),o=ai(),{forwardRef:i,currentElement:a}=nt(),l=P(()=>n.ariaLabel||a.value?.textContent),u=P(()=>{const{ariaLabel:c,...f}=n;return zn(f,o.content.value??{},{side:"top",sideOffset:0,align:"center",avoidCollisions:!0,collisionBoundary:[],collisionPadding:0,arrowPadding:0,sticky:"partial",hideWhenDetached:!1})});return Mt(()=>{Bn(window,"scroll",c=>{c.target?.contains(s.trigger.value)&&s.onClose()}),Bn(window,D1,s.onClose)}),(c,f)=>(D(),X(_(Q9),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=p=>r("escapeKeyDown",p)),onPointerDownOutside:f[1]||(f[1]=p=>{_(s).disableClosingTrigger.value&&_(s).trigger.value?.contains(p.target)&&p.preventDefault(),r("pointerDownOutside",p)}),onFocusOutside:f[2]||(f[2]=As(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=p=>_(s).onClose())},{default:Z(()=>[re(_(y_),ve({ref:_(i),"data-state":_(s).stateAttribute.value},{...c.$attrs,...u.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:Z(()=>[ce(c.$slots,"default"),re(_(vf),{id:_(s).contentId,role:"tooltip"},{default:Z(()=>[Ft(Je(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),B1=fC,dC=me({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){const n=as(e),{forwardRef:r,currentElement:s}=nt(),{trigger:o,onClose:i}=dl(),a=ai(),{isPointerInTransit:l,onPointerExit:u}=L9(o,s);return a.isPointerInTransitRef=l,u(()=>{i()}),(c,f)=>(D(),X(B1,ve({ref:_(r)},_(n)),{default:Z(()=>[ce(c.$slots,"default")]),_:3},16))}}),pC=dC,hC=me({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const n=e,r=t,s=dl(),o=il(n,r),{forwardRef:i}=nt();return(a,l)=>(D(),X(_(w1),{present:a.forceMount||_(s).open.value},{default:Z(()=>[(D(),X(Nn(_(s).disableHoverableContent.value?B1:pC),ve({ref:_(i)},_(o)),{default:Z(()=>[ce(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),gC=hC,mC=me({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,r)=>(D(),X(_(_1),Vt(En(t)),{default:Z(()=>[ce(n.$slots,"default")]),_:3},16))}}),yC=mC,vC=me({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=dl(),r=ai();n.contentId||=z9(void 0,"reka-tooltip-content");const{forwardRef:s,currentElement:o}=nt(),i=J(!1),a=J(!1),l=P(()=>n.disabled.value?{}:{click:g,focus:d,pointermove:f,pointerleave:p,pointerdown:c,blur:h});Mt(()=>{n.onTriggerChange(o.value)});function u(){setTimeout(()=>{i.value=!1},1)}function c(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),i.value=!0,document.addEventListener("pointerup",u,{once:!0})}function f(y){y.pointerType!=="touch"&&!a.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),a.value=!0)}function p(){n.onTriggerLeave(),a.value=!1}function d(y){i.value||n.ignoreNonKeyboardFocus.value&&!y.target.matches?.(":focus-visible")||n.onOpen()}function h(){n.onClose()}function g(){n.disableClosingTrigger.value||n.onClose()}return(y,b)=>(D(),X(_(ux),{"as-child":"",reference:y.reference},{default:Z(()=>[re(_(rt),ve({ref:_(s),"aria-describedby":_(n).open.value?_(n).contentId:void 0,"data-state":_(n).stateAttribute.value,as:y.as,"as-child":t.asChild,"data-grace-area-trigger":""},O2(l.value)),{default:Z(()=>[ce(y.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),bC=vC;const Sn={__name:"UIcon",props:{name:{type:null,required:!0},mode:{type:String,required:!1},size:{type:[String,Number],required:!1},customize:{type:[Function,Boolean,null],required:!1}},setup(e){const n=as(is(e,"name","mode","size","customize"));return(r,s)=>{const o=v1;return typeof e.name=="string"?(D(),X(o,Vt(ve({key:0},_(n))),null,16)):(D(),X(Nn(e.name),{key:1}))}}},wC=Symbol("nuxt-ui.field-group");function Ef(e){const t=Ve(wC,void 0);return{orientation:P(()=>t?.value.orientation),size:P(()=>e?.size??t?.value.size)}}function Af(e){const t=Ct(),n=P(()=>je(e)),r=P(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon),s=P(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon),o=P(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),i=P(()=>n.value.loading&&!r.value?n.value.loadingIcon||t.ui.icons.loading:n.value.trailingIcon||n.value.icon);return{isLeading:r,isTrailing:s,leadingIconName:o,trailingIconName:i}}function xC(e,t){const n=lu(e),r=lu(t);return F1(n,r)}function F1(e,t){const n=[],r=new Set([...Object.keys(e.props||{}),...Object.keys(t.props||{})]);if(e.props&&t.props)for(const s of r){const o=e.props[s],i=t.props[s];o&&i?n.push(...F1(e.props?.[s],t.props?.[s])):(o||i)&&n.push(new Xp((i||o).key,o?"removed":"added",i,o))}return r.size===0&&e.hash!==t.hash&&n.push(new Xp((t||e).key,"changed",t,e)),n}function lu(e,t=""){if(e&&typeof e!="object")return new Yp(t,e,eu(e));const n={},r=[];for(const s in e)n[s]=lu(e[s],t?`${t}.${s}`:s),r.push(n[s].hash);return new Yp(t,e,`{${r.join(":")}}`,n)}class Xp{constructor(t,n,r,s){this.key=t,this.type=n,this.newValue=r,this.oldValue=s}toString(){return this.toJSON()}toJSON(){switch(this.type){case"added":return`Added \`${this.key}\``;case"removed":return`Removed \`${this.key}\``;case"changed":return`Changed \`${this.key}\` from \`${this.oldValue?.toString()||"-"}\` to \`${this.newValue.toString()}\``}}}class Yp{constructor(t,n,r,s){this.key=t,this.value=n,this.hash=r,this.props=s}toString(){return this.props?`{${Object.keys(this.props).join(",")}}`:JSON.stringify(this.value)}toJSON(){const t=this.key||".";return this.props?`${t}({${Object.keys(this.props).join(",")}})`:`${t}(${this.value})`}}function j1(e,t){const n={...e};for(const r of t)delete n[r];return n}function q1(e,t,n){typeof t=="string"&&(t=t.split(".").map(s=>{const o=Number(s);return Number.isNaN(o)?s:o}));let r=e;for(const s of t){if(r==null)return n;r=r[s]}return r!==void 0?r:n}function _C(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function xa(e,t){return!e&&!t?"":[...Array.isArray(e)?e:[e],t].filter(Boolean)}const[CC]=dr("UTheme","RootContext");function Vn(e,t){const{ui:n}=CC({ui:P(()=>({}))});return P(()=>{const r=q1(n.value,e)||{};return zn(t.ui??{},r)})}var kC=/\s+/g,SC=e=>typeof e!="string"||!e?e:e.replace(kC," ").trim(),_a=(...e)=>{const t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let o=0,i=r.length;o<i;o++)n(r[o]);return}const s=typeof r;if(s==="string"||s==="number"||s==="bigint"){if(s==="number"&&r!==r)return;t.push(String(r))}else if(s==="object"){const o=Object.keys(r);for(let i=0,a=o.length;i<a;i++){const l=o[i];r[l]&&t.push(l)}}};for(let r=0,s=e.length;r<s;r++){const o=e[r];o!=null&&n(o)}return t.length>0?SC(t.join(" ")):void 0},Jp=e=>e===!1?"false":e===!0?"true":e===0?"0":e,jt=e=>{if(!e||typeof e!="object")return!0;for(const t in e)return!1;return!0},EC=(e,t)=>{if(e===t)return!0;if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let s=0;s<n.length;s++){const o=n[s];if(!r.includes(o)||e[o]!==t[o])return!1}return!0},AC=(e,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in e?e[n]=_a(e[n],r):e[n]=r}return e},z1=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)?z1(r,t):r&&t.push(r)}},H1=(...e)=>{const t=[];z1(e,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},cu=(e,t)=>{const n={};for(const r in e){const s=e[r];if(r in t){const o=t[r];Array.isArray(s)||Array.isArray(o)?n[r]=H1(o,s):typeof s=="object"&&typeof o=="object"&&s&&o?n[r]=cu(s,o):n[r]=o+" "+s}else n[r]=s}for(const r in t)r in e||(n[r]=t[r]);return n},TC={twMerge:!0,twMergeConfig:{}};function PC(){let e=null,t={},n=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){e=null,t={},n=!1}}}var er=PC(),RC=e=>{const t=(r,s)=>{const{extend:o=null,slots:i={},variants:a={},compoundVariants:l=[],compoundSlots:u=[],defaultVariants:c={}}=r,f={...TC,...s},p=o?.base?_a(o.base,r?.base):r?.base,d=o?.variants&&!jt(o.variants)?cu(a,o.variants):a,h=o?.defaultVariants&&!jt(o.defaultVariants)?{...o.defaultVariants,...c}:c;!jt(f.twMergeConfig)&&!EC(f.twMergeConfig,er.cachedTwMergeConfig)&&(er.didTwMergeConfigChange=!0,er.cachedTwMergeConfig=f.twMergeConfig);const g=jt(o?.slots),y=jt(i)?{}:{base:_a(r?.base,g&&o?.base),...i},b=g?y:AC({...o?.slots},jt(y)?{base:r?.base}:y),v=jt(o?.compoundVariants)?l:H1(o?.compoundVariants,l),m=x=>{if(jt(d)&&jt(i)&&g)return e(p,x?.class,x?.className)(f);if(v&&!Array.isArray(v))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof v}`);if(u&&!Array.isArray(u))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof u}`);const S=(N,q=d,L=null,W=null)=>{const $=q[N];if(!$||jt($))return null;const ie=W?.[N]??x?.[N];if(ie===null)return null;const te=Jp(ie);if(typeof te=="object")return null;const Ze=h?.[N],Ne=te??Jp(Ze);return $[Ne||"false"]},E=()=>{if(!d)return null;const N=Object.keys(d),q=[];for(let L=0;L<N.length;L++){const W=S(N[L],d);W&&q.push(W)}return q},T=(N,q)=>{if(!d||typeof d!="object")return null;const L=[];for(const W in d){const $=S(W,d,N,q),ie=N==="base"&&typeof $=="string"?$:$&&$[N];ie&&L.push(ie)}return L},A={};for(const N in x){const q=x[N];q!==void 0&&(A[N]=q)}const M=(N,q)=>{const L=typeof x?.[N]=="object"?{[N]:x[N]?.initial}:{};return{...h,...A,...L,...q}},j=(N=[],q)=>{const L=[],W=N.length;for(let $=0;$<W;$++){const{class:ie,className:te,...Ze}=N[$];let Ne=!0;const pt=M(null,q);for(const kt in Ze){const Te=Ze[kt],Pe=pt[kt];if(Array.isArray(Te)){if(!Te.includes(Pe)){Ne=!1;break}}else{if((Te==null||Te===!1)&&(Pe==null||Pe===!1))continue;if(Pe!==Te){Ne=!1;break}}}Ne&&(ie&&L.push(ie),te&&L.push(te))}return L},R=N=>{const q=j(v,N);if(!Array.isArray(q))return q;const L={},W=e;for(let $=0;$<q.length;$++){const ie=q[$];if(typeof ie=="string")L.base=W(L.base,ie)(f);else if(typeof ie=="object")for(const te in ie)L[te]=W(L[te],ie[te])(f)}return L},G=N=>{if(u.length<1)return null;const q={},L=M(null,N);for(let W=0;W<u.length;W++){const{slots:$=[],class:ie,className:te,...Ze}=u[W];if(!jt(Ze)){let Ne=!0;for(const pt in Ze){const kt=L[pt],Te=Ze[pt];if(kt===void 0||(Array.isArray(Te)?!Te.includes(kt):Te!==kt)){Ne=!1;break}}if(!Ne)continue}for(let Ne=0;Ne<$.length;Ne++){const pt=$[Ne];q[pt]||(q[pt]=[]),q[pt].push([ie,te])}}return q};if(!jt(i)||!g){const N={};if(typeof b=="object"&&!jt(b)){const q=e;for(const L in b)N[L]=W=>{const $=R(W),ie=G(W);return q(b[L],T(L,W),$?$[L]:void 0,ie?ie[L]:void 0,W?.class,W?.className)(f)}}return N}return e(p,E(),j(v),x?.class,x?.className)(f)},w=()=>{if(!(!d||typeof d!="object"))return Object.keys(d)};return m.variantKeys=w(),m.extend=o,m.base=p,m.slots=b,m.variants=d,m.defaultVariants=h,m.compoundSlots=u,m.compoundVariants=v,m};return{tv:t,createTV:r=>(s,o)=>t(s,o?cu(r,o):r)}};const IC=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},OC=(e,t)=>({classGroupId:e,validator:t}),V1=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ca="-",Qp=[],MC="arbitrary..",NC=e=>{const t=$C(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return LC(i);const a=i.split(Ca),l=a[0]===""&&a.length>1?1:0;return U1(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],u=n[i];return l?u?IC(u,l):l:u||Qp}return n[i]||Qp}}},U1=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],o=n.nextPart.get(s);if(o){const u=U1(e,t+1,o);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(Ca):e.slice(t).join(Ca),l=i.length;for(let u=0;u<l;u++){const c=i[u];if(c.validator(a))return c.classGroupId}},LC=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?MC+r:void 0})(),$C=e=>{const{theme:t,classGroups:n}=e;return DC(n,t)},DC=(e,t)=>{const n=V1();for(const r in e){const s=e[r];Tf(s,n,r,t)}return n},Tf=(e,t,n,r)=>{const s=e.length;for(let o=0;o<s;o++){const i=e[o];BC(i,t,n,r)}},BC=(e,t,n,r)=>{if(typeof e=="string"){FC(e,t,n);return}if(typeof e=="function"){jC(e,t,n,r);return}qC(e,t,n,r)},FC=(e,t,n)=>{const r=e===""?t:G1(t,e);r.classGroupId=n},jC=(e,t,n,r)=>{if(zC(e)){Tf(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(OC(n,e))},qC=(e,t,n,r)=>{const s=Object.entries(e),o=s.length;for(let i=0;i<o;i++){const[a,l]=s[i];Tf(l,G1(t,a),n,r)}},G1=(e,t)=>{let n=e;const r=t.split(Ca),s=r.length;for(let o=0;o<s;o++){const i=r[o];let a=n.nextPart.get(i);a||(a=V1(),n.nextPart.set(i,a)),n=a}return n},zC=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,HC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const s=(o,i)=>{n[o]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(o){let i=n[o];if(i!==void 0)return i;if((i=r[o])!==void 0)return s(o,i),i},set(o,i){o in n?n[o]=i:s(o,i)}}},uu="!",Zp=":",VC=[],eh=(e,t,n,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),UC=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=s=>{const o=[];let i=0,a=0,l=0,u;const c=s.length;for(let g=0;g<c;g++){const y=s[g];if(i===0&&a===0){if(y===Zp){o.push(s.slice(l,g)),l=g+1;continue}if(y==="/"){u=g;continue}}y==="["?i++:y==="]"?i--:y==="("?a++:y===")"&&a--}const f=o.length===0?s:s.slice(l);let p=f,d=!1;f.endsWith(uu)?(p=f.slice(0,-1),d=!0):f.startsWith(uu)&&(p=f.slice(1),d=!0);const h=u&&u>l?u-l:void 0;return eh(o,d,p,h)};if(t){const s=t+Zp,o=r;r=i=>i.startsWith(s)?o(i.slice(s.length)):eh(VC,!1,i,void 0,!0)}if(n){const s=r;r=o=>n({className:o,parseClassName:s})}return r},GC=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let s=[];for(let o=0;o<n.length;o++){const i=n[o],a=i[0]==="[",l=t.has(i);a||l?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(i)):s.push(i)}return s.length>0&&(s.sort(),r.push(...s)),r}},WC=e=>({cache:HC(e.cacheSize),parseClassName:UC(e),sortModifiers:GC(e),...NC(e)}),KC=/\s+/,XC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:o}=t,i=[],a=e.trim().split(KC);let l="";for(let u=a.length-1;u>=0;u-=1){const c=a[u],{isExternal:f,modifiers:p,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:g}=n(c);if(f){l=c+(l.length>0?" "+l:l);continue}let y=!!g,b=r(y?h.substring(0,g):h);if(!b){if(!y){l=c+(l.length>0?" "+l:l);continue}if(b=r(h),!b){l=c+(l.length>0?" "+l:l);continue}y=!1}const v=p.length===0?"":p.length===1?p[0]:o(p).join(":"),m=d?v+uu:v,w=m+b;if(i.indexOf(w)>-1)continue;i.push(w);const x=s(b,y);for(let S=0;S<x.length;++S){const E=x[S];i.push(m+E)}l=c+(l.length>0?" "+l:l)}return l},YC=(...e)=>{let t=0,n,r,s="";for(;t<e.length;)(n=e[t++])&&(r=W1(n))&&(s&&(s+=" "),s+=r);return s},W1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=W1(e[r]))&&(n&&(n+=" "),n+=t);return n},fu=(e,...t)=>{let n,r,s,o;const i=l=>{const u=t.reduce((c,f)=>f(c),e());return n=WC(u),r=n.cache.get,s=n.cache.set,o=a,a(l)},a=l=>{const u=r(l);if(u)return u;const c=XC(l,n);return s(l,c),c};return o=i,(...l)=>o(YC(...l))},JC=[],gt=e=>{const t=n=>n[e]||JC;return t.isThemeGetter=!0,t},K1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,X1=/^\((?:(\w[\w-]*):)?(.+)\)$/i,QC=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ZC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ek=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tk=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,nk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,rk=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mr=e=>QC.test(e),Se=e=>!!e&&!Number.isNaN(Number(e)),yr=e=>!!e&&Number.isInteger(Number(e)),Zl=e=>e.endsWith("%")&&Se(e.slice(0,-1)),Xn=e=>ZC.test(e),Y1=()=>!0,sk=e=>ek.test(e)&&!tk.test(e),Pf=()=>!1,ok=e=>nk.test(e),ik=e=>rk.test(e),ak=e=>!ae(e)&&!le(e),lk=e=>Or(e,Z1,Pf),ae=e=>K1.test(e),Br=e=>Or(e,ey,sk),th=e=>Or(e,mk,Se),ck=e=>Or(e,ny,Y1),uk=e=>Or(e,ty,Pf),nh=e=>Or(e,J1,Pf),fk=e=>Or(e,Q1,ik),Ri=e=>Or(e,ry,ok),le=e=>X1.test(e),co=e=>cs(e,ey),dk=e=>cs(e,ty),rh=e=>cs(e,J1),pk=e=>cs(e,Z1),hk=e=>cs(e,Q1),Ii=e=>cs(e,ry,!0),gk=e=>cs(e,ny,!0),Or=(e,t,n)=>{const r=K1.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},cs=(e,t,n=!1)=>{const r=X1.exec(e);return r?r[1]?t(r[1]):n:!1},J1=e=>e==="position"||e==="percentage",Q1=e=>e==="image"||e==="url",Z1=e=>e==="length"||e==="size"||e==="bg-size",ey=e=>e==="length",mk=e=>e==="number",ty=e=>e==="family-name",ny=e=>e==="number"||e==="weight",ry=e=>e==="shadow",du=()=>{const e=gt("color"),t=gt("font"),n=gt("text"),r=gt("font-weight"),s=gt("tracking"),o=gt("leading"),i=gt("breakpoint"),a=gt("container"),l=gt("spacing"),u=gt("radius"),c=gt("shadow"),f=gt("inset-shadow"),p=gt("text-shadow"),d=gt("drop-shadow"),h=gt("blur"),g=gt("perspective"),y=gt("aspect"),b=gt("ease"),v=gt("animate"),m=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...w(),le,ae],S=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],T=()=>[le,ae,l],A=()=>[mr,"full","auto",...T()],M=()=>[yr,"none","subgrid",le,ae],j=()=>["auto",{span:["full",yr,le,ae]},yr,le,ae],R=()=>[yr,"auto",le,ae],G=()=>["auto","min","max","fr",le,ae],N=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...T()],W=()=>[mr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],$=()=>[mr,"screen","full","dvw","lvw","svw","min","max","fit",...T()],ie=()=>[mr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],te=()=>[e,le,ae],Ze=()=>[...w(),rh,nh,{position:[le,ae]}],Ne=()=>["no-repeat",{repeat:["","x","y","space","round"]}],pt=()=>["auto","cover","contain",pk,lk,{size:[le,ae]}],kt=()=>[Zl,co,Br],Te=()=>["","none","full",u,le,ae],Pe=()=>["",Se,co,Br],B=()=>["solid","dashed","dotted","double"],oe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>[Se,Zl,rh,nh],fe=()=>["","none",h,le,ae],we=()=>["none",Se,le,ae],Fe=()=>["none",Se,le,ae],C=()=>[Se,le,ae],k=()=>[mr,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xn],breakpoint:[Xn],color:[Y1],container:[Xn],"drop-shadow":[Xn],ease:["in","out","in-out"],font:[ak],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xn],shadow:[Xn],spacing:["px",Se],text:[Xn],"text-shadow":[Xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",mr,ae,le,y]}],container:["container"],columns:[{columns:[Se,ae,le,a]}],"break-after":[{"break-after":m()}],"break-before":[{"break-before":m()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{"inset-s":A(),start:A()}],end:[{"inset-e":A(),end:A()}],"inset-bs":[{"inset-bs":A()}],"inset-be":[{"inset-be":A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[yr,"auto",le,ae]}],basis:[{basis:[mr,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Se,mr,"auto","initial","none",ae]}],grow:[{grow:["",Se,le,ae]}],shrink:[{shrink:["",Se,le,ae]}],order:[{order:[yr,"first","last","none",le,ae]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...N(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...N()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":N()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],"inline-size":[{inline:["auto",...$()]}],"min-inline-size":[{"min-inline":["auto",...$()]}],"max-inline-size":[{"max-inline":["none",...$()]}],"block-size":[{block:["auto",...ie()]}],"min-block-size":[{"min-block":["auto",...ie()]}],"max-block-size":[{"max-block":["none",...ie()]}],w:[{w:[a,"screen",...W()]}],"min-w":[{"min-w":[a,"screen","none",...W()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",n,co,Br]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,gk,ck]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Zl,ae]}],"font-family":[{font:[dk,uk,t]}],"font-features":[{"font-features":[ae]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,le,ae]}],"line-clamp":[{"line-clamp":[Se,"none",le,th]}],leading:[{leading:[o,...T()]}],"list-image":[{"list-image":["none",le,ae]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,ae]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:te()}],"text-color":[{text:te()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:[Se,"from-font","auto",le,Br]}],"text-decoration-color":[{decoration:te()}],"underline-offset":[{"underline-offset":[Se,"auto",le,ae]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,ae]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",le,ae]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ze()}],"bg-repeat":[{bg:Ne()}],"bg-size":[{bg:pt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},yr,le,ae],radial:["",le,ae],conic:[yr,le,ae]},hk,fk]}],"bg-color":[{bg:te()}],"gradient-from-pos":[{from:kt()}],"gradient-via-pos":[{via:kt()}],"gradient-to-pos":[{to:kt()}],"gradient-from":[{from:te()}],"gradient-via":[{via:te()}],"gradient-to":[{to:te()}],rounded:[{rounded:Te()}],"rounded-s":[{"rounded-s":Te()}],"rounded-e":[{"rounded-e":Te()}],"rounded-t":[{"rounded-t":Te()}],"rounded-r":[{"rounded-r":Te()}],"rounded-b":[{"rounded-b":Te()}],"rounded-l":[{"rounded-l":Te()}],"rounded-ss":[{"rounded-ss":Te()}],"rounded-se":[{"rounded-se":Te()}],"rounded-ee":[{"rounded-ee":Te()}],"rounded-es":[{"rounded-es":Te()}],"rounded-tl":[{"rounded-tl":Te()}],"rounded-tr":[{"rounded-tr":Te()}],"rounded-br":[{"rounded-br":Te()}],"rounded-bl":[{"rounded-bl":Te()}],"border-w":[{border:Pe()}],"border-w-x":[{"border-x":Pe()}],"border-w-y":[{"border-y":Pe()}],"border-w-s":[{"border-s":Pe()}],"border-w-e":[{"border-e":Pe()}],"border-w-bs":[{"border-bs":Pe()}],"border-w-be":[{"border-be":Pe()}],"border-w-t":[{"border-t":Pe()}],"border-w-r":[{"border-r":Pe()}],"border-w-b":[{"border-b":Pe()}],"border-w-l":[{"border-l":Pe()}],"divide-x":[{"divide-x":Pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...B(),"hidden","none"]}],"divide-style":[{divide:[...B(),"hidden","none"]}],"border-color":[{border:te()}],"border-color-x":[{"border-x":te()}],"border-color-y":[{"border-y":te()}],"border-color-s":[{"border-s":te()}],"border-color-e":[{"border-e":te()}],"border-color-bs":[{"border-bs":te()}],"border-color-be":[{"border-be":te()}],"border-color-t":[{"border-t":te()}],"border-color-r":[{"border-r":te()}],"border-color-b":[{"border-b":te()}],"border-color-l":[{"border-l":te()}],"divide-color":[{divide:te()}],"outline-style":[{outline:[...B(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Se,le,ae]}],"outline-w":[{outline:["",Se,co,Br]}],"outline-color":[{outline:te()}],shadow:[{shadow:["","none",c,Ii,Ri]}],"shadow-color":[{shadow:te()}],"inset-shadow":[{"inset-shadow":["none",f,Ii,Ri]}],"inset-shadow-color":[{"inset-shadow":te()}],"ring-w":[{ring:Pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:te()}],"ring-offset-w":[{"ring-offset":[Se,Br]}],"ring-offset-color":[{"ring-offset":te()}],"inset-ring-w":[{"inset-ring":Pe()}],"inset-ring-color":[{"inset-ring":te()}],"text-shadow":[{"text-shadow":["none",p,Ii,Ri]}],"text-shadow-color":[{"text-shadow":te()}],opacity:[{opacity:[Se,le,ae]}],"mix-blend":[{"mix-blend":[...oe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Se]}],"mask-image-linear-from-pos":[{"mask-linear-from":Y()}],"mask-image-linear-to-pos":[{"mask-linear-to":Y()}],"mask-image-linear-from-color":[{"mask-linear-from":te()}],"mask-image-linear-to-color":[{"mask-linear-to":te()}],"mask-image-t-from-pos":[{"mask-t-from":Y()}],"mask-image-t-to-pos":[{"mask-t-to":Y()}],"mask-image-t-from-color":[{"mask-t-from":te()}],"mask-image-t-to-color":[{"mask-t-to":te()}],"mask-image-r-from-pos":[{"mask-r-from":Y()}],"mask-image-r-to-pos":[{"mask-r-to":Y()}],"mask-image-r-from-color":[{"mask-r-from":te()}],"mask-image-r-to-color":[{"mask-r-to":te()}],"mask-image-b-from-pos":[{"mask-b-from":Y()}],"mask-image-b-to-pos":[{"mask-b-to":Y()}],"mask-image-b-from-color":[{"mask-b-from":te()}],"mask-image-b-to-color":[{"mask-b-to":te()}],"mask-image-l-from-pos":[{"mask-l-from":Y()}],"mask-image-l-to-pos":[{"mask-l-to":Y()}],"mask-image-l-from-color":[{"mask-l-from":te()}],"mask-image-l-to-color":[{"mask-l-to":te()}],"mask-image-x-from-pos":[{"mask-x-from":Y()}],"mask-image-x-to-pos":[{"mask-x-to":Y()}],"mask-image-x-from-color":[{"mask-x-from":te()}],"mask-image-x-to-color":[{"mask-x-to":te()}],"mask-image-y-from-pos":[{"mask-y-from":Y()}],"mask-image-y-to-pos":[{"mask-y-to":Y()}],"mask-image-y-from-color":[{"mask-y-from":te()}],"mask-image-y-to-color":[{"mask-y-to":te()}],"mask-image-radial":[{"mask-radial":[le,ae]}],"mask-image-radial-from-pos":[{"mask-radial-from":Y()}],"mask-image-radial-to-pos":[{"mask-radial-to":Y()}],"mask-image-radial-from-color":[{"mask-radial-from":te()}],"mask-image-radial-to-color":[{"mask-radial-to":te()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[Se]}],"mask-image-conic-from-pos":[{"mask-conic-from":Y()}],"mask-image-conic-to-pos":[{"mask-conic-to":Y()}],"mask-image-conic-from-color":[{"mask-conic-from":te()}],"mask-image-conic-to-color":[{"mask-conic-to":te()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ze()}],"mask-repeat":[{mask:Ne()}],"mask-size":[{mask:pt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,ae]}],filter:[{filter:["","none",le,ae]}],blur:[{blur:fe()}],brightness:[{brightness:[Se,le,ae]}],contrast:[{contrast:[Se,le,ae]}],"drop-shadow":[{"drop-shadow":["","none",d,Ii,Ri]}],"drop-shadow-color":[{"drop-shadow":te()}],grayscale:[{grayscale:["",Se,le,ae]}],"hue-rotate":[{"hue-rotate":[Se,le,ae]}],invert:[{invert:["",Se,le,ae]}],saturate:[{saturate:[Se,le,ae]}],sepia:[{sepia:["",Se,le,ae]}],"backdrop-filter":[{"backdrop-filter":["","none",le,ae]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[Se,le,ae]}],"backdrop-contrast":[{"backdrop-contrast":[Se,le,ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Se,le,ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Se,le,ae]}],"backdrop-invert":[{"backdrop-invert":["",Se,le,ae]}],"backdrop-opacity":[{"backdrop-opacity":[Se,le,ae]}],"backdrop-saturate":[{"backdrop-saturate":[Se,le,ae]}],"backdrop-sepia":[{"backdrop-sepia":["",Se,le,ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,ae]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Se,"initial",le,ae]}],ease:[{ease:["linear","initial",b,le,ae]}],delay:[{delay:[Se,le,ae]}],animate:[{animate:["none",v,le,ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,le,ae]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:we()}],"rotate-x":[{"rotate-x":we()}],"rotate-y":[{"rotate-y":we()}],"rotate-z":[{"rotate-z":we()}],scale:[{scale:Fe()}],"scale-x":[{"scale-x":Fe()}],"scale-y":[{"scale-y":Fe()}],"scale-z":[{"scale-z":Fe()}],"scale-3d":["scale-3d"],skew:[{skew:C()}],"skew-x":[{"skew-x":C()}],"skew-y":[{"skew-y":C()}],transform:[{transform:[le,ae,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:k()}],"translate-x":[{"translate-x":k()}],"translate-y":[{"translate-y":k()}],"translate-z":[{"translate-z":k()}],"translate-none":["translate-none"],accent:[{accent:te()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:te()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",le,ae]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",le,ae]}],fill:[{fill:["none",...te()]}],"stroke-w":[{stroke:[Se,co,Br,th]}],stroke:[{stroke:["none",...te()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},yk=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:s={},override:o={}})=>(mo(e,"cacheSize",t),mo(e,"prefix",n),mo(e,"experimentalParseClassName",r),Oi(e.theme,o.theme),Oi(e.classGroups,o.classGroups),Oi(e.conflictingClassGroups,o.conflictingClassGroups),Oi(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),mo(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Mi(e.theme,s.theme),Mi(e.classGroups,s.classGroups),Mi(e.conflictingClassGroups,s.conflictingClassGroups),Mi(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),sy(e,s,"orderSensitiveModifiers"),e),mo=(e,t,n)=>{n!==void 0&&(e[t]=n)},Oi=(e,t)=>{if(t)for(const n in t)mo(e,n,t[n])},Mi=(e,t)=>{if(t)for(const n in t)sy(e,t,n)},sy=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},vk=(e,...t)=>typeof e=="function"?fu(du,e,...t):fu(()=>yk(du(),e),...t),bk=fu(du);var wk=e=>jt(e)?bk:vk({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),xk=(e,t)=>{const n=_a(e);return!n||!(t?.twMerge??!0)?n:((!er.cachedTwMerge||er.didTwMergeConfigChange)&&(er.didTwMergeConfigChange=!1,er.cachedTwMerge=wk(er.cachedTwMergeConfig)),er.cachedTwMerge(n)||void 0)},_k=(...e)=>t=>xk(e,t),{createTV:Ck}=RC(_k);const kk=l1,tt=Ck(kk.ui?.tv),Sk="img",sh=Symbol("nuxt-ui.avatar-group");function oy(e){const t=Ve(sh,void 0),n=P(()=>e.size??t?.value.size);return Zt(sh,P(()=>({size:n.value}))),{size:n}}const Ek={slots:{root:"relative inline-flex items-center justify-center shrink-0",base:"rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"},variants:{color:{primary:"bg-primary",secondary:"bg-secondary",success:"bg-success",info:"bg-info",warning:"bg-warning",error:"bg-error",neutral:"bg-inverted"},size:{"3xs":"h-[4px] min-w-[4px] text-[4px]","2xs":"h-[5px] min-w-[5px] text-[5px]",xs:"h-[6px] min-w-[6px] text-[6px]",sm:"h-[7px] min-w-[7px] text-[7px]",md:"h-[8px] min-w-[8px] text-[8px]",lg:"h-[9px] min-w-[9px] text-[9px]",xl:"h-[10px] min-w-[10px] text-[10px]","2xl":"h-[11px] min-w-[11px] text-[11px]","3xl":"h-[12px] min-w-[12px] text-[12px]"},position:{"top-right":"top-0 right-0","bottom-right":"bottom-0 right-0","top-left":"top-0 left-0","bottom-left":"bottom-0 left-0"},inset:{false:""},standalone:{false:"absolute"}},compoundVariants:[{position:"top-right",inset:!1,class:"-translate-y-1/2 translate-x-1/2 transform"},{position:"bottom-right",inset:!1,class:"translate-y-1/2 translate-x-1/2 transform"},{position:"top-left",inset:!1,class:"-translate-y-1/2 -translate-x-1/2 transform"},{position:"bottom-left",inset:!1,class:"translate-y-1/2 -translate-x-1/2 transform"}],defaultVariants:{size:"md",color:"primary",position:"top-right"}},Ak=Object.assign({inheritAttrs:!1},{__name:"UChip",props:_c({as:{type:null,required:!1},text:{type:[String,Number],required:!1},color:{type:null,required:!1},size:{type:null,required:!1},position:{type:null,required:!1},inset:{type:Boolean,required:!1,default:!1},standalone:{type:Boolean,required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{show:{type:Boolean,default:!0},showModifiers:{}}),emits:["update:show"],setup(e){const t=e,n=s0(e,"show",{type:Boolean,default:!0}),{size:r}=oy(t),s=Ct(),o=Vn("chip",t),i=P(()=>tt({extend:tt(Ek),...s.ui?.chip||{}})({color:t.color,size:r.value,position:t.position,inset:t.inset,standalone:t.standalone}));return(a,l)=>(D(),X(_(rt),{as:e.as,"data-slot":"root",class:ke(i.value.root({class:[_(o)?.root,t.class]}))},{default:Z(()=>[re(_(Uo),Vt(En(a.$attrs)),{default:Z(()=>[ce(a.$slots,"default")]),_:3},16),n.value?(D(),Ee("span",{key:0,"data-slot":"base",class:ke(i.value.base({class:_(o)?.base}))},[ce(a.$slots,"content",{},()=>[Ft(Je(e.text),1)])],2)):Ce("",!0)]),_:3},8,["as","class"]))}}),Tk={slots:{root:"inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-elevated",image:"h-full w-full rounded-[inherit] object-cover",fallback:"font-medium leading-none text-muted truncate",icon:"text-muted shrink-0"},variants:{size:{"3xs":{root:"size-4 text-[8px]"},"2xs":{root:"size-5 text-[10px]"},xs:{root:"size-6 text-xs"},sm:{root:"size-7 text-sm"},md:{root:"size-8 text-base"},lg:{root:"size-9 text-lg"},xl:{root:"size-10 text-xl"},"2xl":{root:"size-11 text-[22px]"},"3xl":{root:"size-12 text-2xl"}}},defaultVariants:{size:"md"}},pl=Object.assign({inheritAttrs:!1},{__name:"UAvatar",props:{as:{type:null,required:!1},src:{type:String,required:!1},alt:{type:String,required:!1},icon:{type:null,required:!1},text:{type:String,required:!1},size:{type:null,required:!1},chip:{type:[Boolean,Object],required:!1},class:{type:null,required:!1},style:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,n=P(()=>typeof t.as=="string"||typeof t.as?.render=="function"?{root:t.as}:zn(t.as,{root:"span"})),r=P(()=>t.text||(t.alt||"").split(" ").map(p=>p.charAt(0)).join("").substring(0,2)),s=Ct(),o=Vn("avatar",t),{size:i}=oy(t),a=P(()=>tt({extend:tt(Tk),...s.ui?.avatar||{}})({size:i.value})),l=P(()=>a.value.root({class:[o.value?.root,t.class]})),u=P(()=>{const p=l.value.split(" ").find(d=>/^size-\d+$/.test(d));if(p){const d=Number.parseFloat(p.split("-")[1]??"");if(!Number.isNaN(d))return d*4}return null}),c=J(!1);Be(()=>t.src,()=>{c.value&&(c.value=!1)});function f(){c.value=!0}return(p,d)=>(D(),X(Nn(t.chip?Ak:_(rt)),ve({as:n.value.root},t.chip?typeof t.chip=="object"?{inset:!0,...t.chip}:{inset:!0}:{},{"data-slot":"root",class:l.value,style:t.style}),{default:Z(()=>[e.src&&!c.value?(D(),X(Nn(n.value.img||_(Sk)),ve({key:0,src:e.src,alt:e.alt,width:u.value,height:u.value},p.$attrs,{"data-slot":"image",class:a.value.image({class:_(o)?.image}),onError:f}),null,16,["src","alt","width","height","class"])):(D(),X(_(Uo),Vt(ve({key:1},p.$attrs)),{default:Z(()=>[ce(p.$slots,"default",{},()=>[e.icon?(D(),X(Sn,{key:0,name:e.icon,"data-slot":"icon",class:ke(a.value.icon({class:_(o)?.icon}))},null,8,["name","class"])):(D(),Ee("span",{key:1,"data-slot":"fallback",class:ke(a.value.fallback({class:_(o)?.fallback}))},Je(r.value||" "),3))])]),_:3},16))]),_:3},16,["as","class","style"]))}}),Pk={slots:{base:"font-medium inline-flex items-center",label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{xs:{base:"text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},sm:{base:"text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",leadingIcon:"size-3",leadingAvatarSize:"3xs",trailingIcon:"size-3"},md:{base:"text-xs px-2 py-1 gap-1 rounded-md",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},lg:{base:"text-sm px-2 py-1 gap-1.5 rounded-md",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"text-base px-2.5 py-1 gap-1.5 rounded-md",leadingIcon:"size-6",leadingAvatarSize:"2xs",trailingIcon:"size-6"}},square:{true:""}},compoundVariants:[{color:"primary",variant:"solid",class:"bg-primary text-inverted"},{color:"secondary",variant:"solid",class:"bg-secondary text-inverted"},{color:"success",variant:"solid",class:"bg-success text-inverted"},{color:"info",variant:"solid",class:"bg-info text-inverted"},{color:"warning",variant:"solid",class:"bg-warning text-inverted"},{color:"error",variant:"solid",class:"bg-error text-inverted"},{color:"primary",variant:"outline",class:"text-primary ring ring-inset ring-primary/50"},{color:"secondary",variant:"outline",class:"text-secondary ring ring-inset ring-secondary/50"},{color:"success",variant:"outline",class:"text-success ring ring-inset ring-success/50"},{color:"info",variant:"outline",class:"text-info ring ring-inset ring-info/50"},{color:"warning",variant:"outline",class:"text-warning ring ring-inset ring-warning/50"},{color:"error",variant:"outline",class:"text-error ring ring-inset ring-error/50"},{color:"primary",variant:"soft",class:"bg-primary/10 text-primary"},{color:"secondary",variant:"soft",class:"bg-secondary/10 text-secondary"},{color:"success",variant:"soft",class:"bg-success/10 text-success"},{color:"info",variant:"soft",class:"bg-info/10 text-info"},{color:"warning",variant:"soft",class:"bg-warning/10 text-warning"},{color:"error",variant:"soft",class:"bg-error/10 text-error"},{color:"primary",variant:"subtle",class:"bg-primary/10 text-primary ring ring-inset ring-primary/25"},{color:"secondary",variant:"subtle",class:"bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"},{color:"success",variant:"subtle",class:"bg-success/10 text-success ring ring-inset ring-success/25"},{color:"info",variant:"subtle",class:"bg-info/10 text-info ring ring-inset ring-info/25"},{color:"warning",variant:"subtle",class:"bg-warning/10 text-warning ring ring-inset ring-warning/25"},{color:"error",variant:"subtle",class:"bg-error/10 text-error ring ring-inset ring-error/25"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"},{size:"xs",square:!0,class:"p-0.5"},{size:"sm",square:!0,class:"p-1"},{size:"md",square:!0,class:"p-1"},{size:"lg",square:!0,class:"p-1"},{size:"xl",square:!0,class:"p-1"}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},Rk={__name:"UBadge",props:{as:{type:null,required:!1,default:"span"},label:{type:[String,Number],required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1}},setup(e){const t=e,n=Vs(),r=Ct(),s=Vn("badge",t),{orientation:o,size:i}=Ef(t),{isLeading:a,isTrailing:l,leadingIconName:u,trailingIconName:c}=Af(t),f=P(()=>tt({extend:tt(Pk),...r.ui?.badge||{}})({color:t.color,variant:t.variant,size:i.value||t.size,square:t.square||!n.default&&!t.label,fieldGroup:o.value}));return(p,d)=>(D(),X(_(rt),{as:e.as,"data-slot":"base",class:ke(f.value.base({class:[_(s)?.base,t.class]}))},{default:Z(()=>[ce(p.$slots,"leading",{ui:f.value},()=>[_(a)&&_(u)?(D(),X(Sn,{key:0,name:_(u),"data-slot":"leadingIcon",class:ke(f.value.leadingIcon({class:_(s)?.leadingIcon}))},null,8,["name","class"])):e.avatar?(D(),X(pl,ve({key:1,size:_(s)?.leadingAvatarSize||f.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:f.value.leadingAvatar({class:_(s)?.leadingAvatar})}),null,16,["size","class"])):Ce("",!0)]),ce(p.$slots,"default",{ui:f.value},()=>[e.label!==void 0&&e.label!==null?(D(),Ee("span",{key:0,"data-slot":"label",class:ke(f.value.label({class:_(s)?.label}))},Je(e.label),3)):Ce("",!0)]),ce(p.$slots,"trailing",{ui:f.value},()=>[_(l)&&_(c)?(D(),X(Sn,{key:0,name:_(c),"data-slot":"trailingIcon",class:ke(f.value.trailingIcon({class:_(s)?.trailingIcon}))},null,8,["name","class"])):Ce("",!0)])]),_:3},8,["as","class"]))}},iy=Symbol("nuxt-ui.portal-target");function ay(e){const t=Ve(iy,void 0),n=P(()=>e.value===!0?t?.value:e.value),r=P(()=>typeof n.value=="boolean"?!n.value:!1),s=P(()=>typeof n.value=="boolean"?"body":n.value);return P(()=>({to:s.value,disabled:r.value}))}const Ni={meta:"",ctrl:"",alt:"",win:"⊞",command:"⌘",shift:"⇧",control:"⌃",option:"⌥",enter:"↵",delete:"⌦",backspace:"⌫",escape:"Esc",tab:"⇥",capslock:"⇪",arrowup:"↑",arrowright:"→",arrowdown:"↓",arrowleft:"←",pageup:"⇞",pagedown:"⇟",home:"↖",end:"↘"},Ik=()=>{const e=P(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=_t({meta:" ",alt:" ",ctrl:" "});Mt(()=>{t.meta=e.value?Ni.command:"Ctrl",t.ctrl=e.value?Ni.control:"Ctrl",t.alt=e.value?Ni.option:"Alt"});function n(r){if(r)return["meta","alt","ctrl"].includes(r)?t[r]:Ni[r]||r}return{macOS:e,getKbdKey:n}},Ok=Zu(Ik),Mk={base:"inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans uppercase",variants:{color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:""},size:{sm:"h-4 min-w-[16px] text-[10px]",md:"h-5 min-w-[20px] text-[11px]",lg:"h-6 min-w-[24px] text-[12px]"}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success"},{color:"info",variant:"solid",class:"text-inverted bg-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default"},{color:"neutral",variant:"soft",class:"text-default bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated"}],defaultVariants:{variant:"outline",color:"neutral",size:"md"}},Nk={__name:"UKbd",props:{as:{type:null,required:!1,default:"kbd"},value:{type:null,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(e){const t=e,{getKbdKey:n}=Ok(),r=Ct(),s=Vn("kbd",t),o=P(()=>tt({extend:tt(Mk),...r.ui?.kbd||{}}));return(i,a)=>(D(),X(_(rt),{as:e.as,class:ke(o.value({class:[_(s)?.base,t.class],color:t.color,variant:t.variant,size:t.size}))},{default:Z(()=>[ce(i.$slots,"default",{},()=>[Ft(Je(_(n)(e.value)),1)])]),_:3},8,["as","class"]))}},Lk={slots:{content:"flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2.5 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",arrow:"fill-bg stroke-default",text:"truncate",kbds:"hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-['·'] not-first-of-type:before:me-0.5",kbdsSize:"sm"}},$k={__name:"UTooltip",props:{text:{type:String,required:!1},kbds:{type:Array,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},reference:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},delayDuration:{type:Number,required:!1},disableHoverableContent:{type:Boolean,required:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=t,s=Vs(),o=Ct(),i=Vn("tooltip",n),a=ai(),l=il(is(n,"defaultOpen","open","delayDuration","disableHoverableContent","disableClosingTrigger","ignoreNonKeyboardFocus"),r),u=ay(Bt(()=>n.portal)),c=Bt(()=>zn(n.content,a.content.value,{side:"bottom",sideOffset:8,collisionPadding:8})),f=Bt(()=>zn(n.arrow,{rounded:!0})),p=P(()=>tt({extend:tt(Lk),...o.ui?.tooltip||{}})({side:c.value.side}));return(d,h)=>(D(),X(_(uC),ve(_(l),{disabled:!(e.text||e.kbds?.length||s.content)||n.disabled}),{default:Z(({open:g})=>[s.default||e.reference?(D(),X(_(bC),ve({key:0},d.$attrs,{"as-child":"",reference:e.reference,class:n.class}),{default:Z(()=>[ce(d.$slots,"default",{open:g})]),_:2},1040,["reference","class"])):Ce("",!0),re(_(yC),Vt(En(_(u))),{default:Z(()=>[re(_(gC),ve(c.value,{"data-slot":"content",class:p.value.content({class:[!s.default&&n.class,_(i)?.content]})}),{default:Z(()=>[ce(d.$slots,"content",{ui:p.value},()=>[e.text?(D(),Ee("span",{key:0,"data-slot":"text",class:ke(p.value.text({class:_(i)?.text}))},Je(e.text),3)):Ce("",!0),e.kbds?.length?(D(),Ee("span",{key:1,"data-slot":"kbds",class:ke(p.value.kbds({class:_(i)?.kbds}))},[(D(!0),Ee(qe,null,Ar(e.kbds,(y,b)=>(D(),X(Nk,ve({key:b,size:_(i)?.kbdsSize||p.value.kbdsSize()},{ref_for:!0},typeof y=="string"?{value:y}:y),null,16,["size"]))),128))],2)):Ce("",!0)]),e.arrow?(D(),X(_(sC),ve({key:0},f.value,{"data-slot":"arrow",class:p.value.arrow({class:_(i)?.arrow})}),null,16,["class"])):Ce("",!0)]),_:3},16,["class"])]),_:3},16)]),_:3},16,["disabled"]))}},Dk=(...e)=>e.find(t=>t!==void 0);function Bk(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i,a){const l=a??e.trailingSlash;if(!o||l!=="append"&&l!=="remove")return o;if(typeof o=="string")return Li(o,l);const u="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Li(u,l)}}function s(o){const i=Ut(),a=si(),l=P(()=>!!_(o.target)&&_(o.target)!=="_self"),u=P(()=>{const y=_(o.to)||_(o.href)||"";return typeof y=="string"&&fr(y,{acceptRelative:!0})}),c=sd("RouterLink"),f=typeof c!="string"?c.useLink:void 0,p=P(()=>{if(_(o.external))return!0;const y=_(o.to)||_(o.href)||"";return typeof y=="object"?!1:y===""||u.value}),d=P(()=>{const y=_(o.to)||_(o.href)||"";return p.value?y:r(y,i.resolve,_(o.trailingSlash))}),h=p.value?void 0:f?.({...o,to:d,viewTransition:_(o.viewTransition)}),g=P(()=>{const y=_(o.trailingSlash)??e.trailingSlash;if(!d.value||u.value||n(d.value))return d.value;if(p.value){const b=typeof d.value=="object"&&"path"in d.value?Bc(d.value):d.value,v=typeof b=="object"?i.resolve(b).href:b;return Li(v,y)}return typeof d.value=="object"?i.resolve(d.value)?.href??null:Li(qo(a.app.baseURL,d.value),y)});return{to:d,hasTarget:l,isAbsoluteUrl:u,isExternal:p,href:g,isActive:h?.isActive??P(()=>d.value===i.currentRoute.value.path),isExactActive:h?.isExactActive??P(()=>d.value===i.currentRoute.value.path),route:h?.route??P(()=>i.resolve(d.value)),async navigate(y){await J4(g.value,{replace:_(o.replace),external:p.value||l.value})}}}return me({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=Ut(),{to:l,href:u,navigate:c,isExternal:f,hasTarget:p,isAbsoluteUrl:d}=s(o),h=ft(!1),g=J(null),y=m=>{g.value=o.custom?m?.$el?.nextElementSibling:m?.$el};function b(m){return!h.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===m:o.prefetchOn?.[m]??e.prefetchOn?.[m])&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!qk()}async function v(m=ze()){if(h.value)return;h.value=!0;const w=typeof l.value=="string"?l.value:f.value?Bc(l.value):a.resolve(l.value).fullPath,x=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",x)?.catch(()=>{}),!f.value&&!p.value&&c1(l.value,a).catch(()=>{})])}if(b("visibility")){const m=ze();let w,x=null;Mt(()=>{const S=Fk();uf(()=>{w=Wc(()=>{g?.value?.tagName&&(x=S.observe(g.value,async()=>{x?.(),x=null,await v(m)}))})})}),Hs(()=>{w&&C8(w),x?.(),x=null})}return()=>{if(!f.value&&!p.value&&!n(l.value)){const x={ref:y,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(b("interaction")&&(x.onPointerenter=v.bind(null,void 0),x.onFocus=v.bind(null,void 0)),h.value&&(x.class=o.prefetchedClass||e.prefetchedClass),x.rel=o.rel||void 0),Ke(sd("RouterLink"),x,i.default)}const m=o.target||null,w=Dk(o.noRel?"":o.rel,e.externalRelAttribute,d.value||p.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:u.value,navigate:c,prefetch:v,get route(){if(!u.value)return;const x=new URL(u.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return Xu(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:w,target:m,isExternal:f.value||p.value,isActive:!1,isExactActive:!1}):null:Ke("a",{ref:g,href:u.value||null,rel:w,target:m,onClick:async x=>{if(!(f.value||p.value)){x.preventDefault();try{const S=_m(u.value);return await(o.replace?a.replace(S):a.push(S))}finally{if(n(l.value)){const S=l.value.slice(1);let E=S;try{E=decodeURIComponent(S)}catch{}document.getElementById(E)?.focus()}}}}},i.default?.())}}})}const ly=Bk(N4);function Li(e,t){const n=t==="append"?j0:jo;return fr(e)&&!e.startsWith("http")?e:n(e,!0)}function Fk(){const e=ze();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||=new IntersectionObserver(a=>{for(const l of a){const u=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}}),n.set(o,i),t.observe(o),()=>{n.delete(o),t?.unobserve(o),n.size===0&&(t?.disconnect(),t=null)});return e._observer={observe:r}}const jk=/2g/;function qk(){const e=navigator.connection;return!!(e&&(e.saveData||jk.test(e.effectiveType)))}const zk=Symbol("nuxt-ui.form-options"),Hk=Symbol("nuxt-ui.form-events"),oh=Symbol("nuxt-ui.form-field"),Vk=Symbol("nuxt-ui.input-id"),Uk=Symbol("nuxt-ui.form-loading");function Gk(e,t){const n=Ve(zk,void 0),r=Ve(Hk,void 0),s=Ve(oh,void 0),o=Ve(Vk,void 0);Zt(oh,void 0),s&&o&&(t?.bind===!1?o.value=void 0:e?.id&&(o.value=e?.id));function i(f,p,d){r&&s&&p&&r.emit({type:f,name:p,eager:d})}function a(){i("blur",s?.value.name)}function l(){i("focus",s?.value.name)}function u(){i("change",s?.value.name)}const c=rm(()=>{i("input",s?.value.name,s?.value.eagerValidation)},s?.value.validateOnInputDelay??n?.value.validateOnInputDelay??0);return{id:P(()=>e?.id??o?.value),name:P(()=>e?.name??s?.value.name),size:P(()=>e?.size??s?.value.size),color:P(()=>s?.value.error?"error":e?.color),highlight:P(()=>s?.value.error?!0:e?.highlight),disabled:P(()=>n?.value.disabled||e?.disabled),emitFormBlur:a,emitFormInput:c,emitFormChange:u,emitFormFocus:l,ariaAttrs:P(()=>{if(!s?.value)return;const f=["error","hint","description","help"].filter(d=>s?.value?.[d]).map(d=>`${s?.value.ariaId}-${d}`)||[],p={"aria-invalid":!!s?.value.error};return f.length>0&&(p["aria-describedby"]=f.join(" ")),p})}}const Wk=["active","activeClass","ariaCurrentValue","as","disabled","download","exact","exactActiveClass","exactHash","exactQuery","external","form","formaction","formenctype","formmethod","formnovalidate","formtarget","href","hreflang","inactiveClass","media","noPrefetch","noRel","onClick","ping","prefetch","prefetchOn","prefetchedClass","referrerpolicy","rel","replace","target","title","to","trailingSlash","type","viewTransition"];function Kk(e){const t=Object.keys(e),n=t.filter(o=>o.startsWith("aria-")),r=t.filter(o=>o.startsWith("data-")),s=[...Wk,...n,...r];return is(e,...s)}function Xk(e,t){const n=xC(e,t).reduce((o,i)=>(i.type==="added"&&o.add(i.key),o),new Set),r=Object.fromEntries(Object.entries(e).filter(([o])=>!n.has(o))),s=Object.fromEntries(Object.entries(t).filter(([o])=>!n.has(o)));return h1(r,s)}const cy={__name:"ULinkBase",props:{as:{type:String,required:!1,default:"button"},type:{type:String,required:!1,default:"button"},disabled:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},href:{type:String,required:!1},navigate:{type:Function,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},active:{type:Boolean,required:!1},isExternal:{type:Boolean,required:!1}},setup(e){const t=e;function n(r){if(t.disabled){r.stopPropagation(),r.preventDefault();return}if(t.onClick)for(const s of Array.isArray(t.onClick)?t.onClick:[t.onClick])s(r);t.href&&t.navigate&&!t.isExternal&&t.navigate(r)}return(r,s)=>(D(),X(_(rt),ve(e.href?{as:"a",href:e.disabled?void 0:e.href,"aria-disabled":e.disabled?"true":void 0,role:e.disabled?"link":void 0,tabindex:e.disabled?-1:void 0}:e.as==="button"?{as:e.as,type:e.type,disabled:e.disabled}:{as:e.as},{rel:e.rel,target:e.target,onClick:n}),{default:Z(()=>[ce(r.$slots,"default")]),_:3},16,["rel","target"]))}},Yk={base:"focus-visible:outline-primary",variants:{active:{true:"text-primary",false:"text-muted"},disabled:{true:"cursor-not-allowed opacity-75"}},compoundVariants:[{active:!1,disabled:!1,class:["hover:text-default","transition-colors"]}]},Jk=Object.assign({inheritAttrs:!1},{__name:"ULink",props:{as:{type:null,required:!1,default:"button"},type:{type:null,required:!1,default:"button"},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1,default:void 0},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},custom:{type:Boolean,required:!1},raw:{type:Boolean,required:!1},class:{type:null,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1,default:"page"},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=sf(),r=Ct(),s=as(W5(t,"as","type","disabled","active","exact","exactQuery","exactHash","activeClass","inactiveClass","to","href","raw","custom","class")),o=P(()=>tt({extend:tt(Yk),...zn({variants:{active:{true:xa(r.ui?.link?.variants?.active?.true,t.activeClass),false:xa(r.ui?.link?.variants?.active?.false,t.inactiveClass)}}},r.ui?.link||{})})),i=P(()=>t.to??t.href);function a({route:u,isActive:c,isExactActive:f}){if(t.active!==void 0)return t.active;if(t.exactQuery==="partial"){if(!Xk(u.query,n.query))return!1}else if(t.exactQuery===!0&&!h1(u.query,n.query))return!1;return t.exactHash&&u.hash!==n.hash?!1:!!(t.exact&&f||!t.exact&&c)}function l({route:u,isActive:c,isExactActive:f}){const p=a({route:u,isActive:c,isExactActive:f});return t.raw?[t.class,p?t.activeClass:t.inactiveClass]:o.value({class:t.class,active:p,disabled:t.disabled})}return(u,c)=>{const f=ly;return D(),X(f,ve(_(s),{to:i.value,custom:""}),{default:Z(({href:p,navigate:d,route:h,isActive:g,isExactActive:y,...b})=>[e.custom?ce(u.$slots,"default",Vt(ve({key:0},{...u.$attrs,...e.exact&&y?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:p,navigate:d,rel:b.rel,target:b.target,isExternal:b.isExternal,active:a({route:h,isActive:g,isExactActive:y})}))):(D(),X(cy,ve({key:1},{...u.$attrs,...e.exact&&y?{"aria-current":t.ariaCurrentValue}:{},as:e.as,type:e.type,disabled:e.disabled,href:p,navigate:d,rel:b.rel,target:b.target,isExternal:b.isExternal},{class:l({route:h,isActive:g,isExactActive:y})}),{default:Z(()=>[ce(u.$slots,"default",{active:a({route:h,isActive:g,isExactActive:y})})]),_:2},1040,["class"]))]),_:3},16,["to"])}}}),Qk={slots:{base:["rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75","transition-colors"],label:"truncate",leadingIcon:"shrink-0",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailingIcon:"shrink-0"},variants:{fieldGroup:{horizontal:"not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",vertical:"not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},variant:{solid:"",outline:"",soft:"",subtle:"",ghost:"",link:""},size:{xs:{base:"px-2 py-1 text-xs gap-1",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},block:{true:{base:"w-full justify-center",trailingIcon:"ms-auto"}},square:{true:""},leading:{true:""},trailing:{true:""},loading:{true:""},active:{true:{base:""},false:{base:""}}},compoundVariants:[{color:"primary",variant:"solid",class:"text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"},{color:"secondary",variant:"solid",class:"text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"},{color:"success",variant:"solid",class:"text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"},{color:"info",variant:"solid",class:"text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"},{color:"warning",variant:"solid",class:"text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"},{color:"error",variant:"solid",class:"text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"},{color:"primary",variant:"outline",class:"ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"outline",class:"ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"outline",class:"ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"outline",class:"ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"outline",class:"ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"outline",class:"ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"soft",class:"text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 focus:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"},{color:"secondary",variant:"soft",class:"text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"},{color:"success",variant:"soft",class:"text-success bg-success/10 hover:bg-success/15 active:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"},{color:"info",variant:"soft",class:"text-info bg-info/10 hover:bg-info/15 active:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"},{color:"warning",variant:"soft",class:"text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"},{color:"error",variant:"soft",class:"text-error bg-error/10 hover:bg-error/15 active:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"},{color:"primary",variant:"subtle",class:"text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"},{color:"secondary",variant:"subtle",class:"text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"},{color:"success",variant:"subtle",class:"text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"},{color:"info",variant:"subtle",class:"text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"},{color:"warning",variant:"subtle",class:"text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"},{color:"error",variant:"subtle",class:"text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"},{color:"primary",variant:"ghost",class:"text-primary hover:bg-primary/10 active:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"secondary",variant:"ghost",class:"text-secondary hover:bg-secondary/10 active:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"success",variant:"ghost",class:"text-success hover:bg-success/10 active:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"info",variant:"ghost",class:"text-info hover:bg-info/10 active:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"warning",variant:"ghost",class:"text-warning hover:bg-warning/10 active:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"error",variant:"ghost",class:"text-error hover:bg-error/10 active:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"},{color:"primary",variant:"link",class:"text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:"link",class:"text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:"link",class:"text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:"link",class:"text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:"link",class:"text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:"link",class:"text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"neutral",variant:"solid",class:"text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"},{color:"neutral",variant:"outline",class:"ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"soft",class:"text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"},{color:"neutral",variant:"subtle",class:"ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"},{color:"neutral",variant:"ghost",class:"text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"},{color:"neutral",variant:"link",class:"text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"},{size:"xs",square:!0,class:"p-1"},{size:"sm",square:!0,class:"p-1.5"},{size:"md",square:!0,class:"p-1.5"},{size:"lg",square:!0,class:"p-2"},{size:"xl",square:!0,class:"p-2"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{color:"primary",variant:"solid",size:"md"}},Po={__name:"UButton",props:{label:{type:String,required:!1},color:{type:null,required:!1},activeColor:{type:null,required:!1},variant:{type:null,required:!1},activeVariant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},block:{type:Boolean,required:!1},loadingAuto:{type:Boolean,required:!1},onClick:{type:[Function,Array],required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},as:{type:null,required:!1},type:{type:null,required:!1},disabled:{type:Boolean,required:!1},active:{type:Boolean,required:!1},exact:{type:Boolean,required:!1},exactQuery:{type:[Boolean,String],required:!1},exactHash:{type:Boolean,required:!1},inactiveClass:{type:String,required:!1},to:{type:null,required:!1},href:{type:null,required:!1},external:{type:Boolean,required:!1},target:{type:[String,Object,null],required:!1},rel:{type:[String,Object,null],required:!1},noRel:{type:Boolean,required:!1},prefetchedClass:{type:String,required:!1},prefetch:{type:Boolean,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,required:!1},trailingSlash:{type:String,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},ariaCurrentValue:{type:String,required:!1},viewTransition:{type:Boolean,required:!1},replace:{type:Boolean,required:!1}},setup(e){const t=e,n=Vs(),r=Ct(),s=Vn("button",t),{orientation:o,size:i}=Ef(t),a=as(Kk(t)),l=J(!1),u=Ve(Uk,void 0);async function c(b){l.value=!0;const v=Array.isArray(t.onClick)?t.onClick:[t.onClick];try{await Promise.all(v.map(m=>m?.(b)))}finally{l.value=!1}}const f=P(()=>t.loading||t.loadingAuto&&(l.value||u?.value&&t.type==="submit")),{isLeading:p,isTrailing:d,leadingIconName:h,trailingIconName:g}=Af(P(()=>({...t,loading:f.value}))),y=P(()=>tt({extend:tt(Qk),...zn({variants:{active:{true:{base:xa(r.ui?.button?.variants?.active?.true?.base,t.activeClass)},false:{base:xa(r.ui?.button?.variants?.active?.false?.base,t.inactiveClass)}}}},r.ui?.button||{})})({color:t.color,variant:t.variant,size:i.value,loading:f.value,block:t.block,square:t.square||!n.default&&!t.label,leading:p.value,trailing:d.value,fieldGroup:o.value}));return(b,v)=>(D(),X(Jk,ve({type:e.type,disabled:e.disabled||f.value},_(j1)(_(a),["type","disabled","onClick"]),{custom:""}),{default:Z(({active:m,...w})=>[re(cy,ve(w,{"data-slot":"base",class:y.value.base({class:[_(s)?.base,t.class],active:m,...m&&e.activeVariant?{variant:e.activeVariant}:{},...m&&e.activeColor?{color:e.activeColor}:{}}),onClick:c}),{default:Z(()=>[ce(b.$slots,"leading",{ui:y.value},()=>[_(p)&&_(h)?(D(),X(Sn,{key:0,name:_(h),"data-slot":"leadingIcon",class:ke(y.value.leadingIcon({class:_(s)?.leadingIcon,active:m}))},null,8,["name","class"])):e.avatar?(D(),X(pl,ve({key:1,size:_(s)?.leadingAvatarSize||y.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:y.value.leadingAvatar({class:_(s)?.leadingAvatar,active:m})}),null,16,["size","class"])):Ce("",!0)]),ce(b.$slots,"default",{ui:y.value},()=>[e.label!==void 0&&e.label!==null?(D(),Ee("span",{key:0,"data-slot":"label",class:ke(y.value.label({class:_(s)?.label,active:m}))},Je(e.label),3)):Ce("",!0)]),ce(b.$slots,"trailing",{ui:y.value},()=>[_(d)&&_(g)?(D(),X(Sn,{key:0,name:_(g),"data-slot":"trailingIcon",class:ke(y.value.trailingIcon({class:_(s)?.trailingIcon,active:m}))},null,8,["name","class"])):Ce("",!0)])]),_:2},1040,["class"])]),_:3},16,["type","disabled"]))}},Zk={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute inset-y-0 start-0 flex items-center",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute inset-y-0 end-0 flex items-center",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-sm/4 gap-1",leading:"ps-2",trailing:"pe-2",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-sm/4 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-base/5 gap-1.5",leading:"ps-2.5",trailing:"pe-2.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-base/5 gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3",trailing:"pe-3",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},fixed:{false:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}},{fixed:!1,size:"xs",class:"md:text-xs"},{fixed:!1,size:"sm",class:"md:text-xs"},{fixed:!1,size:"md",class:"md:text-sm"},{fixed:!1,size:"lg",class:"md:text-sm"}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},eS=["id","type","value","name","placeholder","disabled","required","autocomplete"],tS=Object.assign({inheritAttrs:!1},{__name:"UInput",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},type:{type:null,required:!1,default:"text"},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autocomplete:{type:[String,Object],required:!1,default:"off"},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},fixed:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["update:modelValue","blur","change"],setup(e,{expose:t,emit:n}){const r=e,s=n,o=Vs(),i=zo(r,"modelValue",s,{defaultValue:r.defaultValue}),a=Ct(),l=Vn("input",r),{emitFormBlur:u,emitFormInput:c,emitFormChange:f,size:p,color:d,id:h,name:g,highlight:y,disabled:b,emitFormFocus:v,ariaAttrs:m}=Gk(r,{}),{orientation:w,size:x}=Ef(r),{isLeading:S,isTrailing:E,leadingIconName:T,trailingIconName:A}=Af(r),M=P(()=>x.value||p.value),j=P(()=>tt({extend:tt(Zk),...a.ui?.input||{}})({type:r.type,color:d.value,variant:r.variant,size:M?.value,loading:r.loading,highlight:y.value,fixed:r.fixed,leading:S.value||!!r.avatar||!!o.leading,trailing:E.value||!!o.trailing,fieldGroup:w.value})),R=Ug("inputRef");function G($){r.modelModifiers?.trim&&(typeof $=="string"||$===null||$===void 0)&&($=$?.trim()??null),(r.modelModifiers?.number||r.type==="number")&&($=_C($)),r.modelModifiers?.nullable&&($||=null),r.modelModifiers?.optional&&!r.modelModifiers?.nullable&&$!==null&&($||=void 0),i.value=$,c()}function N($){r.modelModifiers?.lazy||G($.target.value)}function q($){const ie=$.target.value;r.modelModifiers?.lazy&&G(ie),r.modelModifiers?.trim&&($.target.value=ie.trim()),f(),s("change",$)}function L($){u(),s("blur",$)}function W(){r.autofocus&&R.value?.focus()}return Mt(()=>{setTimeout(()=>{W()},r.autofocusDelay)}),t({inputRef:R}),($,ie)=>(D(),X(_(rt),{as:e.as,"data-slot":"root",class:ke(j.value.root({class:[_(l)?.root,r.class]}))},{default:Z(()=>[xe("input",ve({id:_(h),ref_key:"inputRef",ref:R,type:e.type,value:_(i),name:_(g),placeholder:e.placeholder,"data-slot":"base",class:j.value.base({class:_(l)?.base}),disabled:_(b),required:e.required,autocomplete:e.autocomplete},{...$.$attrs,..._(m)},{onInput:N,onBlur:L,onChange:q,onFocus:ie[0]||(ie[0]=(...te)=>_(v)&&_(v)(...te))}),null,16,eS),ce($.$slots,"default",{ui:j.value}),_(S)||e.avatar||o.leading?(D(),Ee("span",{key:0,"data-slot":"leading",class:ke(j.value.leading({class:_(l)?.leading}))},[ce($.$slots,"leading",{ui:j.value},()=>[_(S)&&_(T)?(D(),X(Sn,{key:0,name:_(T),"data-slot":"leadingIcon",class:ke(j.value.leadingIcon({class:_(l)?.leadingIcon}))},null,8,["name","class"])):e.avatar?(D(),X(pl,ve({key:1,size:_(l)?.leadingAvatarSize||j.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:j.value.leadingAvatar({class:_(l)?.leadingAvatar})}),null,16,["size","class"])):Ce("",!0)])],2)):Ce("",!0),_(E)||o.trailing?(D(),Ee("span",{key:1,"data-slot":"trailing",class:ke(j.value.trailing({class:_(l)?.trailing}))},[ce($.$slots,"trailing",{ui:j.value},()=>[_(A)?(D(),X(Sn,{key:0,name:_(A),"data-slot":"trailingIcon",class:ke(j.value.trailingIcon({class:_(l)?.trailingIcon}))},null,8,["name","class"])):Ce("",!0)])],2)):Ce("",!0)]),_:3},8,["as","class"]))}}),nS={class:"standalone-connect"},rS={class:"standalone-connect-card"},sS={key:0,class:"text-xs text-[var(--color-warning)] text-center max-w-sm"},oS=me({__name:"DevtoolsStandaloneConnect",setup(e){const t=/\/+$/,n=J(Zr.value||"http://localhost:3000"),r=J(""),s=J(!1);async function o(){r.value="",s.value=!0;const i=n.value.replace(t,"");try{await fetch(i,{mode:"no-cors",signal:AbortSignal.timeout(5e3)}),Zr.value=i}catch{r.value=`Could not reach ${i}. Is the dev server running?`}finally{s.value=!1}}return(i,a)=>{const l=Sn,u=tS,c=Po;return D(),Ee("div",nS,[xe("div",rS,[re(l,{name:"carbon:plug",class:"text-4xl text-[var(--seo-green)]"}),a[2]||(a[2]=E0('<h2 class="text-lg font-semibold" data-v-b53a764e> Connect to Dev Server </h2><p class="text-sm text-[var(--color-text-muted)] text-center max-w-sm leading-relaxed" data-v-b53a764e> Running in standalone mode. Enter the URL of your Nuxt dev server to start inspecting. </p><p class="text-xs text-[var(--color-text-subtle)] text-center max-w-sm leading-relaxed" data-v-b53a764e> Requires <code class="font-mono px-1 py-0.5 rounded bg-[var(--color-surface-sunken)]" data-v-b53a764e>standaloneDevtools: true</code> in your <code class="font-mono px-1 py-0.5 rounded bg-[var(--color-surface-sunken)]" data-v-b53a764e>scripts</code> module config. </p>',3)),xe("form",{class:"standalone-connect-form",onSubmit:As(o,["prevent"])},[re(u,{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=f=>n.value=f),placeholder:"http://localhost:3000",size:"lg",icon:"carbon:link",class:"flex-1",disabled:s.value},null,8,["modelValue","disabled"]),re(c,{type:"submit",icon:"carbon:connect",size:"lg",loading:s.value},{default:Z(()=>[...a[1]||(a[1]=[Ft(" Connect ",-1)])]),_:1},8,["loading"])],32),r.value?(D(),Ee("p",sS,Je(r.value),1)):Ce("",!0)])])}}}),iS=Object.assign(ol(oS,[["__scopeId","data-v-b53a764e"]]),{__name:"DevtoolsStandaloneConnect"}),aS={},lS={class:"flex flex-col items-center justify-center gap-3 py-20"};function cS(e,t){const n=Sn;return D(),Ee("div",lS,[re(n,{name:"carbon:circle-dash",class:"animate-spin text-3xl text-[var(--color-text-muted)]"}),t[0]||(t[0]=xe("p",{class:"text-sm text-[var(--color-text-muted)]"}," Connecting to devtools… ",-1))])}const uS=Object.assign(ol(aS,[["render",cS]]),{__name:"DevtoolsLoading"});function fS(e){return(t,n)=>dS(t,n,_(e))}function dS(e,t,n){return q1(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(s,o)=>`${t?.[o]??`{${o}}`}`)}function pS(e){const t=P(()=>_(e).name),n=P(()=>_(e).code),r=P(()=>_(e).dir);return{lang:t,code:n,dir:r,locale:Xe(e)?e:J(e),t:fS(e)}}function hS(e){return zn(e,{dir:"ltr"})}const ih=hS({name:"English",code:"en",messages:{alert:{close:"Close"},authForm:{hidePassword:"Hide password",showPassword:"Show password",submit:"Continue"},banner:{close:"Close"},calendar:{nextMonth:"Next month",nextYear:"Next year",prevMonth:"Previous month",prevYear:"Previous year"},carousel:{dots:"Choose slide to display",goto:"Go to slide {slide}",next:"Next",prev:"Prev"},chatPrompt:{placeholder:"Type your message here…"},chatPromptSubmit:{label:"Send prompt"},colorMode:{dark:"Dark",light:"Light",switchToDark:"Switch to dark mode",switchToLight:"Switch to light mode",system:"System"},commandPalette:{back:"Back",close:"Close",noData:"No data",noMatch:"No matching data",placeholder:"Type a command or search…"},contentSearch:{links:"Links",theme:"Theme"},contentSearchButton:{label:"Search…"},contentToc:{title:"On this page"},dropdownMenu:{noMatch:"No matching data",search:"Search…"},dashboardSearch:{theme:"Theme"},dashboardSearchButton:{label:"Search…"},dashboardSidebarCollapse:{collapse:"Collapse sidebar",expand:"Expand sidebar"},dashboardSidebarToggle:{close:"Close sidebar",open:"Open sidebar"},error:{clear:"Back to home"},fileUpload:{removeFile:"Remove {filename}"},header:{close:"Close menu",open:"Open menu"},inputMenu:{create:'Create "{label}"',noData:"No data",noMatch:"No matching data"},inputNumber:{decrement:"Decrement",increment:"Increment"},modal:{close:"Close"},pricingTable:{caption:"Pricing plan comparison"},prose:{codeCollapse:{closeText:"Collapse",name:"code",openText:"Expand"},collapsible:{closeText:"Hide",name:"properties",openText:"Show"},pre:{copy:"Copy code to clipboard"}},chatReasoning:{thinking:"Thinking...",thought:"Thought",thoughtFor:"Thought for {duration}"},sidebar:{close:"Close",toggle:"Toggle"},selectMenu:{create:'Create "{label}"',noData:"No data",noMatch:"No matching data",search:"Search…"},slideover:{close:"Close"},table:{noData:"No data"},toast:{close:"Close"}}}),uy=Symbol.for("nuxt-ui.locale-context"),gS=e=>{const t=e||Bt(Ve(uy,ih));return pS(P(()=>t.value||ih))},fy=Zu(gS),dy=Symbol("nuxt-ui.toast-max");function mS(){const e=Gm("toasts",()=>[]),t=Ve(dy,void 0),n=J(!1),r=[],s=()=>`${Date.now()}-${Math.random().toString(36).slice(2,9)}`;async function o(){if(!(n.value||r.length===0)){for(n.value=!0;r.length>0;){const c=r.shift();await At(),e.value=[...e.value,c].slice(-(t?.value??5))}n.value=!1}}function i(c){const f={id:s(),open:!0,...c},p=e.value.findIndex(d=>d.id===f.id);return p!==-1?(e.value[p]={...e.value[p],...f,_duplicate:(e.value[p]._duplicate||0)+1},f):(r.push(f),o(),f)}function a(c,f){const p=e.value.findIndex(d=>d.id===c);p!==-1&&(e.value[p]={...e.value[p],...f,duration:f.duration,open:!0,_updated:!0},At(()=>{const d=e.value.findIndex(h=>h.id===c);d!==-1&&e.value[d]._updated&&(e.value[d]={...e.value[d],_updated:void 0})}))}function l(c){const f=e.value.findIndex(p=>p.id===c);f!==-1&&e.value[f]._updated||(f!==-1&&(e.value[f]={...e.value[f],open:!1}),setTimeout(()=>{e.value=e.value.filter(p=>p.id!==c)},200))}function u(){e.value=[]}return{toasts:e,add:i,update:a,remove:l,clear:u}}const yS={slots:{root:"gap-2",base:"relative overflow-hidden rounded-full bg-accented",indicator:"rounded-full size-full transition-transform duration-200 ease-out",status:"flex text-dimmed transition-[width] duration-200",steps:"grid items-end",step:"truncate text-end row-start-1 col-start-1 transition-opacity"},variants:{animation:{carousel:"","carousel-inverse":"",swing:"",elastic:""},color:{primary:{indicator:"bg-primary",steps:"text-primary"},secondary:{indicator:"bg-secondary",steps:"text-secondary"},success:{indicator:"bg-success",steps:"text-success"},info:{indicator:"bg-info",steps:"text-info"},warning:{indicator:"bg-warning",steps:"text-warning"},error:{indicator:"bg-error",steps:"text-error"},neutral:{indicator:"bg-inverted",steps:"text-inverted"}},size:{"2xs":{status:"text-xs",steps:"text-xs"},xs:{status:"text-xs",steps:"text-xs"},sm:{status:"text-sm",steps:"text-sm"},md:{status:"text-sm",steps:"text-sm"},lg:{status:"text-sm",steps:"text-sm"},xl:{status:"text-base",steps:"text-base"},"2xl":{status:"text-base",steps:"text-base"}},step:{active:{step:"opacity-100"},first:{step:"opacity-100 text-muted"},other:{step:"opacity-0"},last:{step:""}},orientation:{horizontal:{root:"w-full flex flex-col",base:"w-full",status:"flex-row items-center justify-end min-w-fit"},vertical:{root:"h-full flex flex-row-reverse",base:"h-full",status:"flex-col justify-end min-h-fit"}},inverted:{true:{status:"self-end"}}},compoundVariants:[{inverted:!0,orientation:"horizontal",class:{step:"text-start",status:"flex-row-reverse"}},{inverted:!0,orientation:"vertical",class:{steps:"items-start",status:"flex-col-reverse"}},{orientation:"horizontal",size:"2xs",class:"h-px"},{orientation:"horizontal",size:"xs",class:"h-0.5"},{orientation:"horizontal",size:"sm",class:"h-1"},{orientation:"horizontal",size:"md",class:"h-2"},{orientation:"horizontal",size:"lg",class:"h-3"},{orientation:"horizontal",size:"xl",class:"h-4"},{orientation:"horizontal",size:"2xl",class:"h-5"},{orientation:"vertical",size:"2xs",class:"w-px"},{orientation:"vertical",size:"xs",class:"w-0.5"},{orientation:"vertical",size:"sm",class:"w-1"},{orientation:"vertical",size:"md",class:"w-2"},{orientation:"vertical",size:"lg",class:"w-3"},{orientation:"vertical",size:"xl",class:"w-4"},{orientation:"vertical",size:"2xl",class:"w-5"},{orientation:"horizontal",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel",class:{indicator:"data-[state=indeterminate]:animate-[carousel-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"carousel-inverse",class:{indicator:"data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"swing",class:{indicator:"data-[state=indeterminate]:animate-[swing-vertical_2s_ease-in-out_infinite]"}},{orientation:"horizontal",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic_2s_ease-in-out_infinite]"}},{orientation:"vertical",animation:"elastic",class:{indicator:"data-[state=indeterminate]:animate-[elastic-vertical_2s_ease-in-out_infinite]"}}],defaultVariants:{animation:"carousel",color:"primary",size:"md"}},vS={__name:"UProgress",props:{as:{type:null,required:!1},max:{type:[Number,Array],required:!1},status:{type:Boolean,required:!1},inverted:{type:Boolean,required:!1,default:!1},size:{type:null,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"horizontal"},animation:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},getValueLabel:{type:Function,required:!1},getValueText:{type:Function,required:!1},modelValue:{type:[Number,null],required:!1,default:null}},emits:["update:modelValue","update:max"],setup(e,{emit:t}){const n=e,r=t,s=Vs(),{dir:o}=fy(),i=Ct(),a=Vn("progress",n),l=il(is(n,"getValueLabel","getValueText","modelValue"),r),u=P(()=>l.value.modelValue===null),c=P(()=>Array.isArray(n.max)),f=P(()=>{if(!(u.value||!n.max))return Array.isArray(n.max)?n.max.length-1:Number(n.max)}),p=P(()=>{if(!u.value)switch(!0){case l.value.modelValue<0:return 0;case l.value.modelValue>(f.value??100):return 100;default:return Math.round(l.value.modelValue/(f.value??100)*100)}}),d=P(()=>{if(p.value!==void 0)return n.orientation==="vertical"?{transform:`translateY(${n.inverted?"":"-"}${100-p.value}%)`}:o.value==="rtl"?{transform:`translateX(${n.inverted?"-":""}${100-p.value}%)`}:{transform:`translateX(${n.inverted?"":"-"}${100-p.value}%)`}}),h=P(()=>{const w=`${Math.max(p.value??0,0)}%`;return n.orientation==="vertical"?{height:w}:{width:w}});function g(w){return w===Number(n.modelValue)}function y(w){return w===0}function b(w){return w===f.value}function v(w){return w=Number(w),g(w)&&!y(w)?"active":y(w)&&g(w)?"first":b(w)&&g(w)?"last":"other"}const m=P(()=>tt({extend:tt(yS),...i.ui?.progress||{}})({animation:n.animation,size:n.size,color:n.color,orientation:n.orientation,inverted:n.inverted}));return(w,x)=>(D(),X(_(rt),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:ke(m.value.root({class:[_(a)?.root,n.class]}))},{default:Z(()=>[!u.value&&(e.status||s.status)?(D(),Ee("div",{key:0,"data-slot":"status",class:ke(m.value.status({class:_(a)?.status})),style:bn(h.value)},[ce(w.$slots,"status",{percent:p.value},()=>[Ft(Je(p.value)+"% ",1)])],6)):Ce("",!0),re(_(E_),ve(_(l),{max:f.value,"data-slot":"base",class:m.value.base({class:_(a)?.base}),style:{transform:"translateZ(0)"}}),{default:Z(()=>[re(_(T_),{"data-slot":"indicator",class:ke(m.value.indicator({class:_(a)?.indicator})),style:bn(d.value)},null,8,["class","style"])]),_:1},16,["max","class"]),c.value?(D(),Ee("div",{key:1,"data-slot":"steps",class:ke(m.value.steps({class:_(a)?.steps}))},[(D(!0),Ee(qe,null,Ar(e.max,(S,E)=>(D(),Ee("div",{key:E,"data-slot":"step",class:ke(m.value.step({class:_(a)?.step,step:v(E)}))},[ce(w.$slots,`step-${E}`,{step:S},()=>[Ft(Je(S),1)])],2))),128))],2)):Ce("",!0)]),_:3},8,["as","data-orientation","class"]))}},bS={slots:{root:"relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none",wrapper:"w-0 flex-1 flex flex-col",title:"text-sm font-medium text-highlighted",description:"text-sm text-muted",icon:"shrink-0 size-5",avatar:"shrink-0",avatarSize:"2xl",actions:"flex gap-1.5 shrink-0",progress:"absolute inset-x-0 bottom-0",close:"p-0"},variants:{color:{primary:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary",icon:"text-primary"},secondary:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary",icon:"text-secondary"},success:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success",icon:"text-success"},info:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info",icon:"text-info"},warning:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning",icon:"text-warning"},error:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error",icon:"text-error"},neutral:{root:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted",icon:"text-highlighted"}},orientation:{horizontal:{root:"items-center",actions:"items-center"},vertical:{root:"items-start",actions:"items-start mt-2.5"}},title:{true:{description:"mt-1"}}},defaultVariants:{color:"primary"}},wS={__name:"UToast",props:{as:{type:null,required:!1},title:{type:[String,Object,Function],required:!1},description:{type:[String,Object,Function],required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},color:{type:null,required:!1},orientation:{type:null,required:!1,default:"vertical"},close:{type:[Boolean,Object],required:!1,default:!0},closeIcon:{type:null,required:!1},actions:{type:Array,required:!1},progress:{type:[Boolean,Object],required:!1,default:!0},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},type:{type:String,required:!1},duration:{type:Number,required:!1}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(e,{expose:t,emit:n}){const r=e,s=n,o=Vs(),{t:i}=fy(),a=Ct(),l=Vn("toast",r),u=il(is(r,"as","defaultOpen","open","duration","type"),s),c=P(()=>tt({extend:tt(bS),...a.ui?.toast||{}})({color:r.color,orientation:r.orientation,title:!!r.title||!!o.title})),f=Ug("rootRef"),p=J(0);return Mt(()=>{f.value?.$el?.getBoundingClientRect&&(p.value=f.value.$el.getBoundingClientRect().height)}),t({height:p}),(d,h)=>(D(),X(_(J_),ve({ref_key:"rootRef",ref:f},_(u),{"data-orientation":e.orientation,"data-slot":"root",class:c.value.root({class:[_(l)?.root,r.class]}),style:{"--height":p.value}}),{default:Z(({remaining:g,duration:y,open:b})=>[ce(d.$slots,"leading",{ui:c.value},()=>[e.avatar?(D(),X(pl,ve({key:0,size:_(l)?.avatarSize||c.value.avatarSize()},e.avatar,{"data-slot":"avatar",class:c.value.avatar({class:_(l)?.avatar})}),null,16,["size","class"])):e.icon?(D(),X(Sn,{key:1,name:e.icon,"data-slot":"icon",class:ke(c.value.icon({class:_(l)?.icon}))},null,8,["name","class"])):Ce("",!0)]),xe("div",{"data-slot":"wrapper",class:ke(c.value.wrapper({class:_(l)?.wrapper}))},[e.title||o.title?(D(),X(_(Z_),{key:0,"data-slot":"title",class:ke(c.value.title({class:_(l)?.title}))},{default:Z(()=>[ce(d.$slots,"title",{},()=>[typeof e.title=="function"?(D(),X(Nn(e.title()),{key:0})):typeof e.title=="object"?(D(),X(Nn(e.title),{key:1})):(D(),Ee(qe,{key:2},[Ft(Je(e.title),1)],64))])]),_:3},8,["class"])):Ce("",!0),e.description||o.description?(D(),X(_(W_),{key:1,"data-slot":"description",class:ke(c.value.description({class:_(l)?.description}))},{default:Z(()=>[ce(d.$slots,"description",{},()=>[typeof e.description=="function"?(D(),X(Nn(e.description()),{key:0})):typeof e.description=="object"?(D(),X(Nn(e.description),{key:1})):(D(),Ee(qe,{key:2},[Ft(Je(e.description),1)],64))])]),_:3},8,["class"])):Ce("",!0),e.orientation==="vertical"&&(e.actions?.length||o.actions)?(D(),Ee("div",{key:2,"data-slot":"actions",class:ke(c.value.actions({class:_(l)?.actions}))},[ce(d.$slots,"actions",{},()=>[(D(!0),Ee(qe,null,Ar(e.actions,(v,m)=>(D(),X(_(Wp),{key:m,"alt-text":v.label||"Action","as-child":"",onClick:h[0]||(h[0]=As(()=>{},["stop"]))},{default:Z(()=>[re(Po,ve({size:"xs",color:e.color},{ref_for:!0},v),null,16,["color"])]),_:2},1032,["alt-text"]))),128))])],2)):Ce("",!0)],2),e.orientation==="horizontal"&&(e.actions?.length||o.actions)||e.close?(D(),Ee("div",{key:0,"data-slot":"actions",class:ke(c.value.actions({class:_(l)?.actions,orientation:"horizontal"}))},[e.orientation==="horizontal"&&(e.actions?.length||o.actions)?ce(d.$slots,"actions",{key:0},()=>[(D(!0),Ee(qe,null,Ar(e.actions,(v,m)=>(D(),X(_(Wp),{key:m,"alt-text":v.label||"Action","as-child":"",onClick:h[1]||(h[1]=As(()=>{},["stop"]))},{default:Z(()=>[re(Po,ve({size:"xs",color:e.color},{ref_for:!0},v),null,16,["color"])]),_:2},1032,["alt-text"]))),128))]):Ce("",!0),e.close||o.close?(D(),X(_($1),{key:1,"as-child":""},{default:Z(()=>[ce(d.$slots,"close",{ui:c.value},()=>[e.close?(D(),X(Po,ve({key:0,icon:e.closeIcon||_(a).ui.icons.close,color:"neutral",variant:"link","aria-label":_(i)("toast.close")},typeof e.close=="object"?e.close:{},{"data-slot":"close",class:c.value.close({class:_(l)?.close}),onClick:h[2]||(h[2]=As(()=>{},["stop"]))}),null,16,["icon","aria-label","class"])):Ce("",!0)])]),_:3})):Ce("",!0)],2)):Ce("",!0),e.progress&&b&&g>0&&y?(D(),X(vS,ve({key:1,"model-value":g/y*100,color:e.color},typeof e.progress=="object"?e.progress:{},{size:"sm","data-slot":"progress",class:c.value.progress({class:_(l)?.progress})}),null,16,["model-value","color","class"])):Ce("",!0)]),_:3},16,["data-orientation","class","style"]))}},xS={slots:{viewport:"fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",base:"pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[state=open]:data-[pulsing=odd]:animate-[toast-pulse-a_300ms_ease-out] data-[state=open]:data-[pulsing=even]:animate-[toast-pulse-b_300ms_ease-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"},variants:{position:{"top-left":{viewport:"left-4"},"top-center":{viewport:"left-1/2 transform -translate-x-1/2"},"top-right":{viewport:"right-4"},"bottom-left":{viewport:"left-4"},"bottom-center":{viewport:"left-1/2 transform -translate-x-1/2"},"bottom-right":{viewport:"right-4"}},swipeDirection:{up:"data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]",right:"data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]",down:"data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]",left:"data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]"}},compoundVariants:[{position:["top-left","top-center","top-right"],class:{viewport:"top-4",base:"top-0 data-[state=open]:animate-[toast-slide-in-from-top_200ms_ease-in-out]"}},{position:["bottom-left","bottom-center","bottom-right"],class:{viewport:"bottom-4",base:"bottom-0 data-[state=open]:animate-[toast-slide-in-from-bottom_200ms_ease-in-out]"}},{swipeDirection:["left","right"],class:"data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0"},{swipeDirection:["up","down"],class:"data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0"}],defaultVariants:{position:"bottom-right"}},_S={name:"Toaster"},CS=Object.assign(_S,{props:{position:{type:null,required:!1},expand:{type:Boolean,required:!1,default:!0},progress:{type:Boolean,required:!1,default:!0},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},max:{type:Number,required:!1,default:5},class:{type:null,required:!1},ui:{type:Object,required:!1},label:{type:String,required:!1},duration:{type:Number,required:!1,default:5e3},disableSwipe:{type:Boolean,required:!1},swipeThreshold:{type:Number,required:!1}},setup(e){const t=e,{toasts:n,remove:r}=mS(),s=Ct(),o=Vn("toaster",t);Zt(dy,Bt(()=>t.max));const i=as(is(t,"duration","label","swipeThreshold","disableSwipe")),a=ay(Bt(()=>t.portal)),l=P(()=>{switch(t.position){case"top-center":return"up";case"top-right":case"bottom-right":return"right";case"bottom-center":return"down";case"top-left":case"bottom-left":return"left"}return"right"}),u=P(()=>tt({extend:tt(xS),...s.ui?.toaster||{}})({position:t.position,swipeDirection:l.value}));function c(b,v){b||r(v)}const f=J(!1),p=P(()=>t.expand||f.value),d=J([]),h=P(()=>d.value.reduce((b,{height:v})=>b+v+16,0)),g=P(()=>d.value[d.value.length-1]?.height||0);function y(b){return d.value.slice(b+1).reduce((v,{height:m})=>v+m+16,0)}return(b,v)=>(D(),X(_(O_),ve({"swipe-direction":l.value},_(i)),{default:Z(()=>[ce(b.$slots,"default"),(D(!0),Ee(qe,null,Ar(_(n),(m,w)=>(D(),X(wS,ve({key:m.id,ref_for:!0,ref_key:"refs",ref:d,progress:e.progress},{ref_for:!0},_(j1)(m,["id","close","_duplicate","_updated"]),{close:m.close,"data-expanded":p.value,"data-front":!p.value&&w===_(n).length-1,"data-pulsing":m._duplicate?m._duplicate%2===0?"even":"odd":void 0,style:{"--index":w-_(n).length+_(n).length,"--before":_(n).length-1-w,"--offset":y(w),"--scale":p.value?"1":"calc(1 - var(--before) * var(--scale-factor))","--translate":p.value?"calc(var(--offset) * var(--translate-factor))":"calc(var(--before) * var(--gap))","--transform":"translateY(var(--translate)) scale(var(--scale))"},"data-slot":"base",class:u.value.base({class:[_(o)?.base,m.onClick?"cursor-pointer":void 0]}),"onUpdate:open":x=>c(x,m.id),onClick:x=>m.onClick&&m.onClick(m)}),null,16,["progress","close","data-expanded","data-front","data-pulsing","style","class","onUpdate:open","onClick"]))),128)),re(_(X_),Vt(En(_(a))),{default:Z(()=>[re(_(nC),{"data-expanded":p.value,"data-slot":"viewport",class:ke(u.value.viewport({class:[_(o)?.viewport,t.class]})),style:bn({"--scale-factor":"0.05","--translate-factor":e.position?.startsWith("top")?"1px":"-1px","--gap":e.position?.startsWith("top")?"16px":"-16px","--front-height":`${g.value}px`,"--height":`${h.value}px`}),onMouseenter:v[0]||(v[0]=m=>f.value=!0),onMouseleave:v[1]||(v[1]=m=>f.value=!1)},null,8,["data-expanded","class","style"])]),_:1},16)]),_:3},16,["swipe-direction"]))}}),kS=Object.assign(CS,{__name:"UToaster"});function SS(){const e=pn([]),t=(u,c)=>{const{props:f,defaultOpen:p,destroyOnClose:d}=c||{},h=_t({id:Symbol(""),isOpen:!!p,component:ju(u),isMounted:!!p,destroyOnClose:!!d,originalProps:f||{},props:{...f}});return e.push(h),{...h,open:g=>n(h.id,g),close:g=>r(h.id,g),patch:g=>i(h.id,g)}},n=(u,c)=>{const f=a(u);c?f.props={...f.originalProps,...c}:f.props={...f.originalProps},f.isOpen=!0,f.isMounted=!0;const p=new Promise(d=>f.resolvePromise=d);return Object.assign(p,{id:u,isMounted:f.isMounted,isOpen:f.isOpen,result:p})},r=(u,c)=>{const f=a(u);f.isOpen=!1,f.resolvePromise&&(f.resolvePromise(c),f.resolvePromise=void 0)},s=()=>{e.forEach(u=>r(u.id))},o=u=>{const c=a(u);if(c.isMounted=!1,c.destroyOnClose){const f=e.findIndex(p=>p.id===u);e.splice(f,1)}},i=(u,c)=>{const f=a(u);f.props={...f.props,...c}},a=u=>{const c=e.find(f=>f.id===u);if(!c)throw new Error("Overlay not found");return c};return{overlays:e,open:n,close:r,closeAll:s,create:t,patch:i,unmount:o,isOpen:u=>a(u).isOpen}}const ES=Zu(SS),AS={__name:"UOverlayProvider",setup(e){const{overlays:t,unmount:n,close:r}=ES(),s=P(()=>t.filter(a=>a.isMounted)),o=a=>{r(a),n(a)},i=(a,l)=>{r(a,l)};return(a,l)=>(D(!0),Ee(qe,null,Ar(s.value,u=>(D(),X(Nn(u.component),ve({key:u.id},{ref_for:!0},u.props,{open:u.isOpen,"onUpdate:open":c=>u.isOpen=c,onClose:c=>i(u.id,c),"onAfter:leave":c=>o(u.id)}),null,16,["open","onUpdate:open","onClose","onAfter:leave"]))),128))}},TS={name:"App"},PS=Object.assign(TS,{props:{tooltip:{type:Object,required:!1},toaster:{type:[Object,null],required:!1},locale:{type:Object,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:"body"},dir:{type:String,required:!1},scrollBody:{type:[Boolean,Object],required:!1},nonce:{type:String,required:!1}},setup(e){const t=e,n=as(is(t,"scrollBody")),r=Bt(()=>t.tooltip),s=Bt(()=>t.toaster),o=Bt(()=>t.locale);return Zt(uy,o),Zt(iy,Bt(()=>t.portal)),(a,l)=>(D(),X(_(M9),ve({"use-id":()=>Vg(),dir:t.dir||o.value?.dir,locale:o.value?.code},_(n)),{default:Z(()=>[re(_(aC),Vt(En(r.value)),{default:Z(()=>[e.toaster!==null?(D(),X(kS,Vt(ve({key:0},s.value)),{default:Z(()=>[ce(a.$slots,"default")]),_:3},16)):ce(a.$slots,"default",{key:1}),re(AS)]),_:3},16)]),_:3},16,["use-id","dir","locale"]))}}),RS=Object.assign(PS,{__name:"UApp"});let IS;const uo=[];function OS(e){if(uo.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&uo.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&uo.forEach(n=>n(t))},get(){return IS.value},configurable:!0}),()=>{uo.splice(uo.indexOf(e),1)}}const MS=globalThis.setInterval,ah=J(),NS=J(),pu=J("dark"),LS="/__nuxt-scripts-api/state",$S=2e3;function DS(e={}){window.parent!==window&&OS(async r=>{if(da.value=!0,ah.value=r.host.app.$fetch,nn(()=>{pu.value=r.host.app.colorMode.value}),NS.value=r.devtools,e.onConnected?.(r),e.onRouteChange){const s=r.host.nuxt.vueApp.config.globalProperties?.$route;e.onRouteChange(s);const o=r.host.nuxt.$router.afterEach(i=>{e.onRouteChange(i)});r.host.nuxt.hook("app:unmount",o)}});let n;Be(()=>Zr.value,r=>{n&&(clearInterval(n),n=void 0),r&&!da.value&&(ah.value=W0.create({baseURL:r}),pu.value=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",g4(),lh(r),n=MS(lh,$S,r))},{immediate:!0}),qa(()=>{n&&clearInterval(n)})}async function lh(e){try{const t=await fetch(`${e}${LS}`,{signal:AbortSignal.timeout(3e3)});if(!t.ok)return;const n=await t.json();n.version&&(tf.value=n.version),n.firstPartyData&&(Ls.value=n.firstPartyData),n.scripts&&Mc(n.scripts),n.route?.path&&!n.route.path.startsWith("/__nuxt-scripts")&&(cm.value=n.route.path,h4.value=n.route.query)}catch{}}DS({onConnected:e=>{e.host.nuxt.hooks.hook("scripts:updated",t=>{Mc(t.scripts)}),tf.value=e.host.nuxt.$config.public["nuxt-scripts"].version,Ls.value=e.host.nuxt.$config.public["nuxt-scripts-devtools"]||null,Mc(e.host.nuxt._scripts||{})}});const BS={class:"relative bg-base flex flex-col min-h-screen"},FS={class:"devtools-header glass sticky top-0 z-50"},jS={class:"devtools-header-content"},qS={class:"flex items-center gap-3 sm:gap-4"},zS={href:"https://scripts.nuxt.com",target:"_blank",rel:"noopener","aria-label":"Nuxt Scripts",class:"flex items-center opacity-90 hover:opacity-100 transition-opacity"},HS={class:"flex items-center gap-2"},VS={class:"devtools-brand-icon","aria-hidden":"true"},US={class:"text-sm sm:text-base font-semibold tracking-tight text-[var(--color-text)]"},GS={class:"hidden sm:inline"},WS={key:0,class:"devtools-production-badge"},KS={key:0,class:"mode-dropdown-menu"},XS={class:"devtools-production-badge text-[10px]"},YS={key:2,class:"standalone-indicator"},JS={class:"text-xs font-mono"},QS={class:"flex items-center gap-1 sm:gap-2"},ZS={class:"devtools-nav-tabs"},eE={class:"devtools-nav-tab-inner"},tE={class:"devtools-nav-label"},nE=["onClick"],rE={class:"devtools-nav-tab-inner"},sE={class:"devtools-nav-label"},oE={class:"flex items-center gap-1"},iE={key:0,class:"standalone-path-bar"},aE={class:"standalone-path-inner"},lE={class:"standalone-path-display"},cE={class:"devtools-main"},uE={class:"devtools-main-content"},fE=me({__name:"DevtoolsLayout",props:_c({title:{},icon:{},version:{},navItems:{},githubUrl:{},loading:{type:Boolean,default:!1}},{activeTab:{},activeTabModifiers:{}}),emits:_c(["refresh"],["update:activeTab"]),setup(e,{emit:t}){const n=t,r=s0(e,"activeTab"),s=P(()=>pu.value==="dark");Tm({title:`Nuxt ${e.title}`,htmlAttrs:{class:()=>s.value?"dark":""}});const o=P(()=>_i.value?e.navItems.filter(h=>!h.devOnly):e.navItems),i=P(()=>{try{return new URL(Oc.value).hostname}catch{return Oc.value}}),a=P(()=>e.navItems.some(h=>h.to)),l=J(!1),u=J();e4(u,()=>{l.value=!1});function c(h){um.value=h,l.value=!1}const f=P(()=>{try{return new URL(Zr.value).host}catch{return Zr.value}}),p=P(()=>!da.value&&!go.value);function d(){Zr.value=""}return(h,g)=>{const y=Q7,b=Sn,v=Rk,m=$k,w=ly,x=Po,S=iS,E=uS,T=RS;return D(),X(T,null,{default:Z(()=>[xe("div",BS,[g[11]||(g[11]=xe("div",{class:"gradient-bg"},null,-1)),xe("header",FS,[xe("div",jS,[xe("div",qS,[xe("a",zS,[re(y,{class:"h-6 sm:h-7"})]),g[8]||(g[8]=xe("div",{class:"devtools-divider"},null,-1)),xe("div",HS,[xe("div",VS,[re(b,{name:e.icon,class:"text-base sm:text-lg"},null,8,["name"])]),xe("h1",US,Je(e.title),1),e.version?(D(),X(v,{key:0,class:"font-mono text-[10px] sm:text-xs hidden sm:inline-flex"},{default:Z(()=>[Ft(" v"+Je(e.version),1)]),_:1})):Ce("",!0),_(fm)&&!_(go)?(D(),Ee("div",{key:1,ref_key:"modeDropdownRef",ref:u,class:"mode-dropdown-wrapper"},[xe("button",{type:"button",class:"devtools-mode-btn",onClick:g[0]||(g[0]=A=>l.value=!l.value)},[re(b,{name:_(_i)?"carbon:cloud":"carbon:laptop",class:"w-3.5 h-3.5"},null,8,["name"]),xe("span",GS,Je(_(_i)?"Production":"Local"),1),_(_i)?(D(),Ee("span",WS,[g[4]||(g[4]=xe("span",{class:"devtools-production-dot"},null,-1)),Ft(" "+Je(i.value),1)])):Ce("",!0),re(b,{name:"carbon:chevron-down",class:ke(["w-3 h-3 opacity-50 transition-transform",l.value?"rotate-180":""])},null,8,["class"])]),re(O0,{name:"dropdown"},{default:Z(()=>[l.value?(D(),Ee("div",KS,[xe("button",{type:"button",class:"mode-dropdown-item",onClick:g[1]||(g[1]=A=>c("local"))},[re(b,{name:"carbon:laptop",class:"w-4 h-4"}),g[5]||(g[5]=xe("span",null,"Local",-1))]),xe("button",{type:"button",class:"mode-dropdown-item",onClick:g[2]||(g[2]=A=>c("production"))},[re(b,{name:"carbon:cloud",class:"w-4 h-4"}),g[7]||(g[7]=xe("span",null,"Production",-1)),xe("span",XS,[g[6]||(g[6]=xe("span",{class:"devtools-production-dot"},null,-1)),Ft(" "+Je(i.value),1)])])])):Ce("",!0)]),_:1})],512)):Ce("",!0),_(go)?(D(),Ee("div",YS,[re(b,{name:"carbon:plug",class:"w-3.5 h-3.5 text-[var(--seo-green)]"}),xe("span",JS,Je(f.value),1),re(m,{text:"Disconnect"},{default:Z(()=>[xe("button",{type:"button",class:"standalone-disconnect",onClick:d},[re(b,{name:"carbon:close",class:"w-3 h-3"})])]),_:1})])):Ce("",!0)])]),xe("nav",QS,[xe("div",ZS,[a.value?(D(!0),Ee(qe,{key:0},Ar(o.value,A=>(D(),X(w,{key:A.value,to:A.to,class:ke(["devtools-nav-tab",[r.value===A.value?"active":"",e.loading?"opacity-50 pointer-events-none":""]])},{default:Z(()=>[re(m,{text:A.label},{default:Z(()=>[xe("div",eE,[re(b,{name:A.icon,class:ke(["text-base sm:text-lg",r.value===A.value?"text-[var(--seo-green)]":""])},null,8,["name","class"]),xe("span",tE,Je(A.label),1)])]),_:2},1032,["text"])]),_:2},1032,["to","class"]))),128)):(D(!0),Ee(qe,{key:1},Ar(o.value,A=>(D(),Ee("button",{key:A.value,type:"button",class:ke(["devtools-nav-tab",[r.value===A.value?"active":"",e.loading?"opacity-50 pointer-events-none":""]]),onClick:M=>r.value=A.value},[re(m,{text:A.label},{default:Z(()=>[xe("div",rE,[re(b,{name:A.icon,class:ke(["text-base sm:text-lg",r.value===A.value?"text-[var(--seo-green)]":""])},null,8,["name","class"]),xe("span",sE,Je(A.label),1)])]),_:2},1032,["text"])],10,nE))),128))]),xe("div",oE,[ce(h.$slots,"actions",{},void 0,!0),re(m,{text:"Refresh"},{default:Z(()=>[re(x,{icon:"carbon:reset","aria-label":"Refresh",class:"devtools-nav-action",onClick:g[3]||(g[3]=A=>n("refresh"))})]),_:1}),re(m,{text:"GitHub"},{default:Z(()=>[re(x,{icon:"simple-icons:github","aria-label":"GitHub",to:e.githubUrl,target:"_blank",class:"devtools-nav-action hidden sm:flex"},null,8,["to"])]),_:1})])])])]),_(go)?(D(),Ee("div",iE,[xe("div",aE,[re(b,{name:"carbon:document",class:"w-3.5 h-3.5 text-[var(--color-text-muted)]"}),g[9]||(g[9]=xe("span",{class:"text-xs text-[var(--color-text-muted)]"},"Page:",-1)),xe("span",lE,Je(_(cm)),1),g[10]||(g[10]=xe("span",{class:"text-[10px] text-[var(--color-text-subtle)] italic"},"synced from app",-1))])])):Ce("",!0),xe("div",cE,[xe("main",uE,[p.value?(D(),X(S,{key:0})):Ce("",!0),Yf(re(E,null,null,512),[[xd,!p.value&&e.loading]]),Yf(xe("div",null,[ce(h.$slots,"default",{},void 0,!0)],512),[[xd,!p.value&&!e.loading]])])])])]),_:3})}}}),dE=Object.assign(ol(fE,[["__scopeId","data-v-9cc38050"]]),{__name:"DevtoolsLayout"});var Qe=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function pE(e){return Rf(e)}function Rf(e){return Array.isArray(e)?hE(e):e instanceof RegExp?e:typeof e=="object"?gE(e):e}function hE(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Rf(e[n]);return t}function gE(e){let t={};for(let n in e)t[n]=Rf(e[n]);return t}function py(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function hy(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?hy(e.substring(0,e.length-1)):e.substr(~t+1)}var ec=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,$i=class{static hasCaptures(e){return e===null?!1:(ec.lastIndex=0,ec.test(e))}static replaceCaptures(e,t,n){return e.replace(ec,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function gy(e,t){return e<t?-1:e>t?1:0}function my(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let s=0;s<n;s++){let o=gy(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function ch(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function yy(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var vy=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},ka=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(vE(e),t)}static createFromParsedTheme(e,t){return wE(e,t)}_cachedMatchRoot=new vy(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(s=>mE(e.parent,s.parentScopes));return r?new by(r.fontStyle,r.foreground,r.background):null}},tc=class Xi{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Xi(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Xi(n,t[r]);return n}push(t){return new Xi(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function mE(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!yE(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function yE(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var by=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function vE(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let p=0,d=f.length;p<d;p++)switch(f[p]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let u=null;typeof i.settings.foreground=="string"&&ch(i.settings.foreground)&&(u=i.settings.foreground);let c=null;typeof i.settings.background=="string"&&ch(i.settings.background)&&(c=i.settings.background);for(let f=0,p=a.length;f<p;f++){let h=a[f].trim().split(" "),g=h[h.length-1],y=null;h.length>1&&(y=h.slice(0,h.length-1),y.reverse()),n[r++]=new bE(g,y,s,l,u,c)}}return n}var bE=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},Ot=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Ot||{});function wE(e,t){e.sort((l,u)=>{let c=gy(l.scope,u.scope);return c!==0||(c=my(l.parentScopes,u.parentScopes),c!==0)?c:l.index-u.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new xE(t),i=new by(n,o.getId(r),o.getId(s)),a=new CE(new hu(0,null,-1,0,0),[]);for(let l=0,u=e.length;l<u;l++){let c=e[l];a.insert(0,c.scope,c.parentScopes,c.fontStyle,o.getId(c.foreground),o.getId(c.background))}return new ka(o,i,a)}var xE=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},_E=Object.freeze([]),hu=class wy{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,s,o){this.scopeDepth=t,this.parentScopes=n||_E,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new wy(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},CE=class gu{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(gu._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,u;a===-1?(l=n,u=""):(l=n.substring(0,a),u=n.substring(a+1));let c;this._children.hasOwnProperty(l)?c=this._children[l]:(c=new gu(this._mainRule.clone(),hu.cloneArr(this._rulesWithParentScopes)),this._children[l]=c),c.insert(t+1,u,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(my(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new hu(t,n,r,s,o))}},js=class sn{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=sn.getLanguageId(t),r=sn.getTokenType(t),s=sn.getFontStyle(t),o=sn.getForeground(t),i=sn.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,s,o,i,a){let l=sn.getLanguageId(t),u=sn.getTokenType(t),c=sn.containsBalancedBrackets(t)?1:0,f=sn.getFontStyle(t),p=sn.getForeground(t),d=sn.getBackground(t);return n!==0&&(l=n),r!==8&&(u=r),s!==null&&(c=s?1:0),o!==-1&&(f=o),i!==0&&(p=i),a!==0&&(d=a),(l<<0|u<<8|c<<10|f<<11|p<<15|d<<24)>>>0}};function Sa(e,t){const n=[],r=kE(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let u=i();if(n.push({matcher:u,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return u=>!!l&&!l(u)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(uh(s)){const l=[];do l.push(s),s=r.next();while(uh(s));return u=>t(l,u)}return null}function i(){const l=[];let u=o();for(;u;)l.push(u),u=o();return c=>l.every(f=>f(c))}function a(){const l=[];let u=i();for(;u&&(l.push(u),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");u=i()}return c=>l.some(f=>f(c))}}function uh(e){return!!e&&!!e.match(/[\w\.:]+/)}function kE(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function xy(e){typeof e.dispose=="function"&&e.dispose()}var Ko=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},SE=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},EE=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},AE=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Ko(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new EE;for(const n of e)TE(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Ko){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function TE(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof Ko?Yi({baseGrammar:o,selfGrammar:s},r):mu(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Ko(a))}function mu(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Ea([r],t,n)}}function Yi(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Ea(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Ea(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Ea(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?py({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Ea(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=_y(o);switch(i.kind){case 0:Yi({...t,selfGrammar:t.baseGrammar},n);break;case 1:Yi(t,n);break;case 2:mu(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?mu(i.ruleName,l,n):Yi(l,n)}else i.kind===4?n.add(new SE(i.scopeName,i.ruleName)):n.add(new Ko(i.scopeName));break}}}var PE=class{kind=0},RE=class{kind=1},IE=class{constructor(e){this.ruleName=e}kind=2},OE=class{constructor(e){this.scopeName=e}kind=3},ME=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function _y(e){if(e==="$base")return new PE;if(e==="$self")return new RE;const t=e.indexOf("#");if(t===-1)return new OE(e);if(t===0)return new IE(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new ME(n,r)}}var NE=/\\(\d+)/,fh=/\\(\d+)/g,LE=-1,Cy=-2;var li=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=$i.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=$i.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${hy(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:$i.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:$i.replaceCaptures(this._contentName,e,t)}},$E=class extends li{retokenizeCapturedWithRuleId;constructor(e,t,n,r,s){super(e,t,n,r),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},DE=class extends li{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,null),this._match=new Xo(r,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Yo,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},dh=class extends li{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,r),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Yo,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},yu=class extends li{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,s,o,i,a,l,u){super(e,t,n,r),this._begin=new Xo(s,this.id),this.beginCaptures=o,this._end=new Xo(i||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Yo;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Aa=class extends li{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,s,o,i,a,l){super(e,t,n,r),this._begin=new Xo(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new Xo(i,Cy),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Yo;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Yo,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}},ky=class Tt{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new $E(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new DE(t.$vscodeTextmateLocation,t.id,t.name,t.match,Tt._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=py({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new dh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Tt._compilePatterns(o,n,r))}return t.while?new Aa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Tt._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Tt._compileCaptures(t.whileCaptures||t.captures,n,r),Tt._compilePatterns(t.patterns,n,r)):new yu(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Tt._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Tt._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Tt._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=Tt.getCompiledRuleId(t[i],n,r)),s[a]=Tt.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const u=_y(a.include);switch(u.kind){case 0:case 1:l=Tt.getCompiledRuleId(r[a.include],n,r);break;case 2:let c=r[u.ruleName];c&&(l=Tt.getCompiledRuleId(c,n,r));break;case 3:case 4:const f=u.scopeName,p=u.kind===4?u.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(p){let h=d.repository[p];h&&(l=Tt.getCompiledRuleId(h,n,d.repository))}else l=Tt.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=Tt.getCompiledRuleId(a,n,r);if(l!==-1){const u=n.getRule(l);let c=!1;if((u instanceof dh||u instanceof yu||u instanceof Aa)&&u.hasMissingPatterns&&u.patterns.length===0&&(c=!0),c)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},Xo=class Sy{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const u=t.charAt(a+1);u==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(u==="A"||u==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=NE.test(this.source):this.hasBackReferences=!1}clone(){return new Sy(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(s=>t.substring(s.start,s.end));return fh.lastIndex=0,this.source.replace(fh,(s,o)=>yy(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="￿",n[o+1]="￿",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="￿",n[o+1]="G",r[o+1]="￿",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Yo=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new ph(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(s=>s.resolveAnchors(t,n));return new ph(e,r,this._items.map(s=>s.ruleId))}},ph=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
38
+ `)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},nc=class{constructor(e,t){this.languageId=e,this.tokenType=t}},BE=class vu{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new nc(t,8),this._embeddedLanguagesMatcher=new FE(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?vu._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new nc(0,0);_getBasicScopeAttributes=new vy(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new nc(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(vu.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},FE=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>yy(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},hh=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Ey(e,t,n,r,s,o,i,a){const l=t.content.length;let u=!1,c=-1;if(i){const d=jE(e,t,n,r,s,o);s=d.stack,r=d.linePos,n=d.isFirstLine,c=d.anchorPosition}const f=Date.now();for(;!u;){if(a!==0&&Date.now()-f>a)return new hh(s,!0);p()}return new hh(s,!1);function p(){const d=qE(e,t,n,r,s,c);if(!d){o.produce(s,l),u=!0;return}const h=d.captureIndices,g=d.matchedRuleId,y=h&&h.length>0?h[0].end>r:!1;if(g===LE){const b=s.getRule(e);o.produce(s,h[0].start),s=s.withContentNameScopesList(s.nameScopesList),yo(e,t,n,s,o,b.endCaptures,h),o.produce(s,h[0].end);const v=s;if(s=s.parent,c=v.getAnchorPos(),!y&&v.getEnterPos()===r){s=v,o.produce(s,l),u=!0;return}}else{const b=e.getRule(g);o.produce(s,h[0].start);const v=s,m=b.getName(t.content,h),w=s.contentNameScopesList.pushAttributed(m,e);if(s=s.push(g,r,c,h[0].end===l,null,w,w),b instanceof yu){const x=b;yo(e,t,n,s,o,x.beginCaptures,h),o.produce(s,h[0].end),c=h[0].end;const S=x.getContentName(t.content,h),E=w.pushAttributed(S,e);if(s=s.withContentNameScopesList(E),x.endHasBackReferences&&(s=s.withEndRule(x.getEndWithResolvedBackReferences(t.content,h))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(b instanceof Aa){const x=b;yo(e,t,n,s,o,x.beginCaptures,h),o.produce(s,h[0].end),c=h[0].end;const S=x.getContentName(t.content,h),E=w.pushAttributed(S,e);if(s=s.withContentNameScopesList(E),x.whileHasBackReferences&&(s=s.withEndRule(x.getWhileWithResolvedBackReferences(t.content,h))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(yo(e,t,n,s,o,b.captures,h),o.produce(s,h[0].end),s=s.pop(),!y){s=s.safePop(),o.produce(s,l),u=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function jE(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const u=l.getRule(e);u instanceof Aa&&a.push({rule:u,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:u,findOptions:c}=VE(l.rule,e,l.stack.endRule,n,r===i),f=u.findNextMatchSync(t,r,c);if(f){if(f.ruleId!==Cy){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),yo(e,t,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:r,anchorPosition:i,isFirstLine:n}}function qE(e,t,n,r,s,o){const i=zE(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=HE(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const u=i.captureIndices[0].start,c=l.captureIndices[0].start;return c<u||l.priorityMatch&&c===u?l:i}function zE(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=Ay(i,e,s.endRule,n,r===o),u=a.findNextMatchSync(t,r,l);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function HE(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,u,c=0;const f=o.contentNameScopesList.getScopeNames();for(let p=0,d=e.length;p<d;p++){const h=e[p];if(!h.matcher(f))continue;const g=t.getRule(h.ruleId),{ruleScanner:y,findOptions:b}=Ay(g,t,null,r,s===i),v=y.findNextMatchSync(n,s,b);if(!v)continue;const m=v.captureIndices[0].start;if(!(m>=a)&&(a=m,l=v.captureIndices,u=v.ruleId,c=h.priority,a===s))break}return l?{priorityMatch:c===-1,captureIndices:l,matchedRuleId:u}:null}function Ay(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function VE(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function yo(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),u=[],c=i[0].end;for(let f=0;f<l;f++){const p=o[f];if(p===null)continue;const d=i[f];if(d.length===0)continue;if(d.start>c)break;for(;u.length>0&&u[u.length-1].endPos<=d.start;)s.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop();if(u.length>0?s.produceFromScopes(u[u.length-1].scopes,d.start):s.produce(r,d.start),p.retokenizeCapturedWithRuleId){const g=p.getName(a,i),y=r.contentNameScopesList.pushAttributed(g,e),b=p.getContentName(a,i),v=y.pushAttributed(b,e),m=r.push(p.retokenizeCapturedWithRuleId,d.start,-1,!1,null,y,v),w=e.createOnigString(a.substring(0,d.end));Ey(e,w,n&&d.start===0,d.start,m,s,!1,0),xy(w);continue}const h=p.getName(a,i);if(h!==null){const y=(u.length>0?u[u.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);u.push(new UE(y,d.end))}}for(;u.length>0;)s.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var UE=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function GE(e,t,n,r,s,o,i,a){return new KE(e,t,n,r,s,o,i,a)}function gh(e,t,n,r,s){const o=Sa(t,Ta),i=ky.getCompiledRuleId(n,r,s.repository);for(const a of o)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function Ta(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let s=n;s<t.length;s++)if(WE(t[s],r))return n=s+1,!0;return!1})}function WE(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var KE=class{constructor(e,t,n,r,s,o,i,a){if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new BE(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=mh(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const u=Sa(l,Ta);for(const c of u)this._tokenTypeMatchers.push({matcher:c.matcher,type:s[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const s=r.injections;if(s)for(let i in s)gh(t,i,s[i],this,r);const o=this._grammarRepository.injections(n);o&&o.forEach(i=>{const a=this.getExternalGrammar(i);if(a){const l=a.injectionSelector;l&&gh(t,l,a,this,a)}})}return t.sort((s,o)=>s.priority-o.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=mh(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=ky.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===bu.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),f=js.set(0,u.languageId,u.tokenType,null,c.fontStyle,c.foregroundId,c.backgroundId),p=this.getRule(this._rootId).getName(null,null);let d;p?d=Ro.createRootAndLookUpScopeName(p,f,this):d=Ro.createRoot("unknown",f),t=new bu(null,this._rootId,-1,-1,!1,null,d,d)}else s=!1,t.reset();e=e+`
39
+ `;const o=this.createOnigString(e),i=o.content.length,a=new YE(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Ey(this,o,s,0,t,a,!0,r);return xy(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function mh(e,t){return e=pE(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Ro=class Pn{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,s=t?.scopePath??null;for(const o of n)s=tc.push(s,o.scopeNames),r=new Pn(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new Pn(null,new tc(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new tc(null,t),i=r.themeProvider.themeMatch(o),a=Pn.mergeAttributes(n,s,i);return new Pn(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Pn.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let s=-1,o=0,i=0;return r!==null&&(s=r.fontStyle,o=r.foregroundId,i=r.backgroundId),js.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Pn._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=Pn._pushAttributed(s,o,n);return s}static _pushAttributed(t,n,r){const s=r.getMetadataForScope(n),o=t.scopePath.push(n),i=r.themeProvider.themeMatch(o),a=Pn.mergeAttributes(t.tokenAttributes,s,i);return new Pn(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},bu=class Hr{constructor(t,n,r,s,o,i,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=s}_stackElementBrand=void 0;static NULL=new Hr(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:Hr._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ro.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){Hr._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new Hr(this,t,n,r,s,o,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new Hr(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Ro.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new Hr(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ro.fromExtension(r,n.contentNameScopesList))}},XE=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Sa(n,Ta).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Sa(n,Ta).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},YE=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=e?.getScopeNames()??[];for(const i of this._tokenTypeOverrides)i.matcher(o)&&(r=js.set(r,0,i.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(r=js.set(r,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,s=this._binaryTokens.length;r<s;r++)n[r]=this._binaryTokens[r];return n}},JE=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,s){if(!this._grammars.has(e)){let o=this._rawGrammars.get(e);if(!o)return null;this._grammars.set(e,GE(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},QE=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new JE(ka.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(ka.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new XE(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new AE(this._syncRegistry,t);for(;i.Q.length>0;)i.Q.map(a=>this._loadSingleGrammar(a.scopeName)),i.processQueue();return this._grammarForScopeName(t,n,r,s,o)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,s=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,s)}_grammarForScopeName(t,n=0,r=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(t,n,r,s,o)}},wu=bu.NULL;function Pa(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[s,o]of Object.entries(t?.colorReplacements||{}))typeof o=="string"?n[s]=o:s===r&&Object.assign(n,o);return n}function Sr(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function ZE(e){return Array.isArray(e)?e:[e]}async function Ty(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function hl(e){return!e||["plaintext","txt","text","plain"].includes(e)}function eA(e){return e==="ansi"||hl(e)}function gl(e){return e==="none"}function tA(e){return gl(e)}function ml(e,t=!1){if(e.length===0)return[["",0]];const n=e.split(/(\r?\n)/g);let r=0;const s=[];for(let o=0;o<n.length;o+=2){const i=t?n[o]+(n[o+1]||""):n[o];s.push([i,r]),r+=n[o].length,r+=n[o+1]?.length||0}return s}const yh={light:"#333333",dark:"#bbbbbb"},vh={light:"#fffffe",dark:"#1e1e1e"},bh="__shiki_resolved";function If(e){if(e?.[bh])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?yh.light:yh.dark),n||(n=t.type==="light"?vh.light:vh.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let s=0;const o=new Map;function i(a){if(o.has(a))return o.get(a);s+=1;const l=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?i(a):(o.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),u=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!u)return a;const c={...a,settings:{...a.settings}};if(l){const f=i(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,c.settings.foreground=f}if(u){const f=i(a.settings.background);t.colorReplacements[f]=a.settings.background,c.settings.background=f}return c});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=i(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,bh,{enumerable:!1,writable:!1,value:!0}),t}async function Py(e){return Array.from(new Set((await Promise.all(e.filter(t=>!eA(t)).map(async t=>await Ty(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Ry(e){return(await Promise.all(e.map(async t=>tA(t)?null:If(await Ty(t))))).filter(t=>!!t)}function Iy(e,t){if(!t)return e;if(t[e]){const n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new Qe(`Circular alias \`${Array.from(n).join(" -> ")} -> ${e}\``);n.add(e)}}return e}var nA=class extends QE{_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(e,t,n,r={}){super(e),this._resolver=e,this._themes=t,this._langs=n,this._alias=r,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(e){return typeof e=="string"?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){const t=If(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=ka.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Iy(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;const t=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(e.name)));this._resolver.addLanguage(e);const n={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);const r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(s=>{this._alias[s]=e.name}),this._loadedLanguagesCache=null,t.size)for(const s of t)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(const r of e)this.resolveEmbeddedLanguages(r);const t=Array.from(this._langGraph.entries()),n=t.filter(([r,s])=>!s);if(n.length){const r=t.filter(([s,o])=>o?(o.embeddedLanguages||o.embeddedLangs)?.some(i=>n.map(([a])=>a).includes(i)):!1).filter(s=>!n.includes(s));throw new Qe(`Missing languages ${n.map(([s])=>`\`${s}\``).join(", ")}, required by ${r.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[r,s]of t)this._resolver.addLanguage(s);for(const[r,s]of t)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){this._langMap.set(e.name,e),this._langGraph.set(e.name,e);const t=e.embeddedLanguages??e.embeddedLangs;if(t)for(const n of t)this._langGraph.set(n,this._langMap.get(n))}},rA=class{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(e,t){this._onigLib={createOnigScanner:n=>e.createScanner(n),createOnigString:n=>e.createString(n)},t.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let n=[];for(let r=1;r<=t.length;r++){const s=t.slice(0,r).join(".");n=[...n,...this._injections.get(s)||[]]}return n}};let fo=0;function sA(e){fo+=1,e.warnings!==!1&&fo>=10&&fo%10===0&&console.warn(`[Shiki] ${fo} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new Qe("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(If),s=new nA(new rA(e.engine,n),r,n,e.langAlias);let o;function i(v){return Iy(v,e.langAlias)}function a(v){y();const m=s.getGrammar(typeof v=="string"?v:v.name);if(!m)throw new Qe(`Language \`${v}\` not found, you may need to load it first`);return m}function l(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};y();const m=s.getTheme(v);if(!m)throw new Qe(`Theme \`${v}\` not found, you may need to load it first`);return m}function u(v){y();const m=l(v);return o!==v&&(s.setTheme(m),o=v),{theme:m,colorMap:s.getColorMap()}}function c(){return y(),s.getLoadedThemes()}function f(){return y(),s.getLoadedLanguages()}function p(...v){y(),s.loadLanguages(v.flat(1))}async function d(...v){return p(await Py(v))}function h(...v){y();for(const m of v.flat(1))s.loadTheme(m)}async function g(...v){return y(),h(await Ry(v))}function y(){if(t)throw new Qe("Shiki instance has been disposed")}function b(){t||(t=!0,s.dispose(),fo-=1)}return{setTheme:u,getTheme:l,getLanguage:a,getLoadedThemes:c,getLoadedLanguages:f,resolveLangAlias:i,loadLanguage:d,loadLanguageSync:p,loadTheme:g,loadThemeSync:h,dispose:b,[Symbol.dispose]:b}}async function oA(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([Ry(e.themes||[]),Py(e.langs||[]),e.engine]);return sA({...e,themes:t,langs:n,engine:r})}const Oy=new WeakMap;function yl(e,t){Oy.set(e,t)}function Jo(e){return Oy.get(e)}var vl=class My{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new My(Object.fromEntries(ZE(n).map(r=>[r,wu])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,s]=t;this.lang=r,this._stacks={[s]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return iA(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function iA(e){const t=[],n=new Set;function r(s){if(n.has(s))return;n.add(s);const o=s?.nameScopesList?.scopeName;o&&t.push(o),s.parent&&r(s.parent)}return r(e),t}function aA(e,t){if(!(e instanceof vl))throw new Qe("Invalid grammar state");return e.getInternalStack(t)}function Ny(e,t,n={}){const{theme:r=e.getLoadedThemes()[0]}=n;if(hl(e.resolveLangAlias(n.lang||"text"))||gl(r))return ml(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:s,colorMap:o}=e.setTheme(r),i=e.getLanguage(n.lang||"text");if(n.grammarState){if(n.grammarState.lang!==i.name)throw new Qe(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${i.name}"`);if(!n.grammarState.themes.includes(s.name))throw new Qe(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${s.name}"`)}return cA(t,i,s,o,n)}function lA(...e){if(e.length===2)return Jo(e[1]);const[t,n,r={}]=e,{lang:s="text",theme:o=t.getLoadedThemes()[0]}=r;if(hl(s)||gl(o))throw new Qe("Plain language does not have grammar state");if(s==="ansi")throw new Qe("ANSI language does not have grammar state");const{theme:i,colorMap:a}=t.setTheme(o),l=t.getLanguage(s);return new vl(Of(n,l,i,a,r).stateStack,l.name,i.name)}function cA(e,t,n,r,s){const o=Of(e,t,n,r,s),i=new vl(o.stateStack,t.name,n.name);return yl(o.tokens,i),o.tokens}function Of(e,t,n,r,s){const o=Pa(n,s),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=ml(e);let u=s.grammarState?aA(s.grammarState,n.name)??wu:s.grammarContextCode!=null?Of(s.grammarContextCode,t,n,r,{...s,grammarState:void 0,grammarContextCode:void 0}).stateStack:wu,c=[];const f=[];for(let p=0,d=l.length;p<d;p++){const[h,g]=l[p];if(h===""){c=[],f.push([]);continue}if(i>0&&h.length>=i){c=[],f.push([{content:h,offset:g,color:"",fontStyle:0}]);continue}let y,b,v;s.includeExplanation&&(y=t.tokenizeLine(h,u,a),b=y.tokens,v=0);const m=t.tokenizeLine2(h,u,a),w=m.tokens.length/2;for(let x=0;x<w;x++){const S=m.tokens[2*x],E=x+1<w?m.tokens[2*x+2]:h.length;if(S===E)continue;const T=m.tokens[2*x+1],A=Sr(r[js.getForeground(T)],o),M=js.getFontStyle(T),j={content:h.substring(S,E),offset:g+S,color:A,fontStyle:M};if(s.includeExplanation){const R=[];if(s.includeExplanation!=="scopeName")for(const N of n.settings){let q;switch(typeof N.scope){case"string":q=N.scope.split(/,/).map(L=>L.trim());break;case"object":q=N.scope;break;default:continue}R.push({settings:N,selectors:q.map(L=>L.split(/ /))})}j.explanation=[];let G=0;for(;S+G<E;){const N=b[v],q=h.substring(N.startIndex,N.endIndex);G+=q.length,j.explanation.push({content:q,scopes:s.includeExplanation==="scopeName"?uA(N.scopes):fA(R,N.scopes)}),v+=1}}c.push(j)}f.push(c),c=[],u=m.ruleStack}return{tokens:f,stateStack:u}}function uA(e){return e.map(t=>({scopeName:t}))}function fA(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t[r];n[r]={scopeName:o,themeMatches:pA(e,o,t.slice(0,r))}}return n}function wh(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function dA(e,t,n){if(!wh(e[e.length-1],t))return!1;let r=e.length-2,s=n.length-1;for(;r>=0&&s>=0;)wh(e[r],n[s])&&(r-=1),s-=1;return r===-1}function pA(e,t,n){const r=[];for(const{selectors:s,settings:o}of e)for(const i of s)if(dA(i,t,n)){r.push(o);break}return r}function Ly(e,t,n,r=Ny){const s=Object.entries(n.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),o=s.map(u=>{const c=r(e,t,{...n,theme:u.theme});return{tokens:c,state:Jo(c),theme:typeof u.theme=="string"?u.theme:u.theme.name}}),i=hA(...o.map(u=>u.tokens)),a=i[0].map((u,c)=>u.map((f,p)=>{const d={content:f.content,variants:{},offset:f.offset};return"includeExplanation"in n&&n.includeExplanation&&(d.explanation=f.explanation),i.forEach((h,g)=>{const{content:y,explanation:b,offset:v,...m}=h[c][p];d.variants[s[g].color]=m}),d})),l=o[0].state?new vl(Object.fromEntries(o.map(u=>[u.theme,u.state?.getInternalStack(u.theme)])),o[0].state.lang):void 0;return l&&yl(a,l),a}function hA(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,u)=>l.push(o[u]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(u=>u.content.length));for(let u=0;u<n;u++){const c=a[u];c.content.length===l?(o[u].push(c),i[u]+=1,a[u]=s[u][i[u]]):(o[u].push({...c,content:c.content.slice(0,l)}),a[u]={...c,content:c.content.slice(l),offset:c.offset+l})}}}return t}const gA=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class ci{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ci.prototype.normal={};ci.prototype.property={};ci.prototype.space=void 0;function $y(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new ci(n,r,t)}function xu(e){return e.toLowerCase()}class Gt{constructor(t,n){this.attribute=n,this.property=t}}Gt.prototype.attribute="";Gt.prototype.booleanish=!1;Gt.prototype.boolean=!1;Gt.prototype.commaOrSpaceSeparated=!1;Gt.prototype.commaSeparated=!1;Gt.prototype.defined=!1;Gt.prototype.mustUseProperty=!1;Gt.prototype.number=!1;Gt.prototype.overloadedBoolean=!1;Gt.prototype.property="";Gt.prototype.spaceSeparated=!1;Gt.prototype.space=void 0;let mA=0;const _e=us(),lt=us(),_u=us(),K=us(),Ge=us(),Ps=us(),Xt=us();function us(){return 2**++mA}const Cu=Object.freeze(Object.defineProperty({__proto__:null,boolean:_e,booleanish:lt,commaOrSpaceSeparated:Xt,commaSeparated:Ps,number:K,overloadedBoolean:_u,spaceSeparated:Ge},Symbol.toStringTag,{value:"Module"})),rc=Object.keys(Cu);class Mf extends Gt{constructor(t,n,r,s){let o=-1;if(super(t,n),xh(this,"space",s),typeof r=="number")for(;++o<rc.length;){const i=rc[o];xh(this,rc[o],(r&Cu[i])===Cu[i])}}}Mf.prototype.defined=!0;function xh(e,t,n){n&&(e[t]=n)}function Xs(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new Mf(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[xu(r)]=r,n[xu(o.attribute)]=r}return new ci(t,n,e.space)}const Dy=Xs({properties:{ariaActiveDescendant:null,ariaAtomic:lt,ariaAutoComplete:null,ariaBusy:lt,ariaChecked:lt,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:Ge,ariaCurrent:null,ariaDescribedBy:Ge,ariaDetails:null,ariaDisabled:lt,ariaDropEffect:Ge,ariaErrorMessage:null,ariaExpanded:lt,ariaFlowTo:Ge,ariaGrabbed:lt,ariaHasPopup:null,ariaHidden:lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ge,ariaLevel:K,ariaLive:null,ariaModal:lt,ariaMultiLine:lt,ariaMultiSelectable:lt,ariaOrientation:null,ariaOwns:Ge,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:lt,ariaReadOnly:lt,ariaRelevant:null,ariaRequired:lt,ariaRoleDescription:Ge,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:lt,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function By(e,t){return t in e?e[t]:t}function Fy(e,t){return By(e,t.toLowerCase())}const yA=Xs({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ps,acceptCharset:Ge,accessKey:Ge,action:null,allow:null,allowFullScreen:_e,allowPaymentRequest:_e,allowUserMedia:_e,alt:null,as:null,async:_e,autoCapitalize:null,autoComplete:Ge,autoFocus:_e,autoPlay:_e,blocking:Ge,capture:null,charSet:null,checked:_e,cite:null,className:Ge,cols:K,colSpan:null,content:null,contentEditable:lt,controls:_e,controlsList:Ge,coords:K|Ps,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_e,defer:_e,dir:null,dirName:null,disabled:_e,download:_u,draggable:lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_e,formTarget:null,headers:Ge,height:K,hidden:_u,high:K,href:null,hrefLang:null,htmlFor:Ge,httpEquiv:Ge,id:null,imageSizes:null,imageSrcSet:null,inert:_e,inputMode:null,integrity:null,is:null,isMap:_e,itemId:null,itemProp:Ge,itemRef:Ge,itemScope:_e,itemType:Ge,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_e,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:_e,muted:_e,name:null,nonce:null,noModule:_e,noValidate:_e,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:_e,optimum:K,pattern:null,ping:Ge,placeholder:null,playsInline:_e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_e,referrerPolicy:null,rel:Ge,required:_e,reversed:_e,rows:K,rowSpan:K,sandbox:Ge,scope:null,scoped:_e,seamless:_e,selected:_e,shadowRootClonable:_e,shadowRootDelegatesFocus:_e,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:lt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:_e,useMap:null,value:lt,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ge,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_e,declare:_e,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:_e,noHref:_e,noShade:_e,noWrap:_e,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:lt,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:_e,disableRemotePlayback:_e,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:Fy}),vA=Xs({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xt,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:Ge,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:_e,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ps,g2:Ps,glyphName:Ps,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:Xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ge,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xt,rev:Xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xt,requiredFeatures:Xt,requiredFonts:Xt,requiredFormats:Xt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:Xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xt,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:By}),jy=Xs({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),qy=Xs({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fy}),zy=Xs({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),bA=/[A-Z]/g,_h=/-[a-z]/g,wA=/^data[-\w.:]+$/i;function xA(e,t){const n=xu(t);let r=t,s=Gt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&wA.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(_h,CA);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!_h.test(o)){let i=o.replace(bA,_A);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=Mf}return new s(r,t)}function _A(e){return"-"+e.toLowerCase()}function CA(e){return e.charAt(1).toUpperCase()}const kA=$y([Dy,yA,jy,qy,zy],"html"),Hy=$y([Dy,vA,jy,qy,zy],"svg"),Ch={}.hasOwnProperty;function SA(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Ch.call(s,e)){const l=String(s[e]);i=Ch.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const EA=/["&'<>`]/g,AA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TA=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,PA=/[|\\{}()[\]^$+*?.]/g,kh=new WeakMap;function RA(e,t){if(e=e.replace(t.subset?IA(t.subset):EA,r),t.subset||t.escapeOnly)return e;return e.replace(AA,n).replace(TA,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function IA(e){let t=kh.get(e);return t||(t=OA(e),kh.set(e,t)),t}function OA(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(PA,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const MA=/[\dA-Fa-f]/;function NA(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!MA.test(String.fromCharCode(t))?r:r+";"}const LA=/\d/;function $A(e,t,n){const r="&#"+String(e);return n&&t&&!LA.test(String.fromCharCode(t))?r:r+";"}const DA=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],sc={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},BA=["cent","copy","divide","gt","lt","not","para","times"],Vy={}.hasOwnProperty,ku={};let Di;for(Di in sc)Vy.call(sc,Di)&&(ku[sc[Di]]=Di);const FA=/[^\dA-Za-z]/;function jA(e,t,n,r){const s=String.fromCharCode(e);if(Vy.call(ku,s)){const o=ku[s],i="&"+o;return n&&DA.includes(o)&&!BA.includes(o)&&(!r||t&&t!==61&&FA.test(String.fromCharCode(t)))?i:i+";"}return""}function qA(e,t,n){let r=NA(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=jA(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=$A(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Rs(e,t){return RA(e,Object.assign({format:qA},t))}const zA=/^>|^->|<!--|-->|--!>|<!-$/g,HA=[">"],VA=["<",">"];function UA(e,t,n,r){return r.settings.bogusComments?"<?"+Rs(e.value,Object.assign({},r.settings.characterReferences,{subset:HA}))+">":"<!--"+e.value.replace(zA,s)+"-->";function s(o){return Rs(o,Object.assign({},r.settings.characterReferences,{subset:VA}))}}function GA(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Sh(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function WA(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function KA(e){return e.join(" ").trim()}const XA=/[ \t\n\f\r]/g;function Nf(e){return typeof e=="object"?e.type==="text"?Eh(e.value):!1:Eh(e)}function Eh(e){return e.replace(XA,"")===""}const vt=Gy(1),Uy=Gy(-1),YA=[];function Gy(e){return t;function t(n,r,s){const o=n?n.children:YA;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Nf(a);)i+=e,a=o[i];return a}}const JA={}.hasOwnProperty;function Wy(e){return t;function t(n,r,s){return JA.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const Lf=Wy({body:ZA,caption:oc,colgroup:oc,dd:rT,dt:nT,head:oc,html:QA,li:tT,optgroup:sT,option:oT,p:eT,rp:Ah,rt:Ah,tbody:aT,td:Th,tfoot:lT,th:Th,thead:iT,tr:cT});function oc(e,t,n){const r=vt(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Nf(r.value.charAt(0)))}function QA(e,t,n){const r=vt(n,t);return!r||r.type!=="comment"}function ZA(e,t,n){const r=vt(n,t);return!r||r.type!=="comment"}function eT(e,t,n){const r=vt(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function tT(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&r.tagName==="li"}function nT(e,t,n){const r=vt(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function rT(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Ah(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function sT(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function oT(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function iT(e,t,n){const r=vt(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function aT(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function lT(e,t,n){return!vt(n,t)}function cT(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Th(e,t,n){const r=vt(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const uT=Wy({body:pT,colgroup:hT,head:dT,html:fT,tbody:gT});function fT(e){const t=vt(e,-1);return!t||t.type!=="comment"}function dT(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function pT(e){const t=vt(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Nf(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function hT(e,t,n){const r=Uy(n,t),s=vt(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Lf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function gT(e,t,n){const r=Uy(n,t),s=vt(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Lf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const Bi={name:[[`
40
+ \f\r &/=>`.split(""),`
41
+ \f\r "&'/=>\``.split("")],[`\0
42
+ \f\r "&'/<=>`.split(""),`\0
43
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
44
+ \f\r &>`.split(""),`\0
45
+ \f\r "&'<=>\``.split("")],[`\0
46
+ \f\r "&'<=>\``.split(""),`\0
47
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function mT(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=Hy);const u=yT(r,e.properties),c=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,c&&(i=!1),(u||!o||!uT(e,t,n))&&(a.push("<",e.tagName,u?" "+u:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=u.charAt(u.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(c),!i&&(!o||!Lf(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function yT(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=vT(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function vT(e,t,n){const r=xA(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Rs(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Bi.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?WA:KA)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Rs(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Bi.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&Sh(n,i)>Sh(n,e.alternative)&&(i=e.alternative),a=i+Rs(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Bi.single:Bi.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}const bT=["<","&"];function Ky(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Rs(e.value,Object.assign({},r.settings.characterReferences,{subset:bT}))}function wT(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ky(e,t,n,r)}function xT(e,t,n,r){return r.all(e)}const _T=SA("type",{invalid:CT,unknown:kT,handlers:{comment:UA,doctype:GA,element:mT,raw:wT,root:xT,text:Ky}});function CT(e){throw new Error("Expected node, not `"+e+"`")}function kT(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ST={},ET={},AT=[];function TT(e,t){const n=t||ST,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:PT,all:RT,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||gA,characterReferences:n.characterReferences||ET,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Hy:kA,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function PT(e,t,n){return _T(e,t,n,this)}function RT(e){const t=[],n=e&&e.children||AT;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Xy(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function IT(e){const t=ml(e,!0).map(([s])=>s);function n(s){if(s===e.length)return{line:t.length-1,character:t[t.length-1].length};let o=s,i=0;for(const a of t){if(o<a.length)break;o-=a.length,i++}return{line:i,character:o}}function r(s,o){let i=0;for(let a=0;a<s;a++)i+=t[a].length;return i+=o,i}return{lines:t,indexToPos:n,posToIndex:r}}const $f="light-dark()",OT=["color","background-color"];function MT(e,t){let n=0;const r=[];for(const s of t)s>n&&r.push({...e,content:e.content.slice(n,s),offset:e.offset+n}),n=s;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function NT(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,s)=>r-s);return n.length?e.map(r=>r.flatMap(s=>{const o=n.filter(i=>s.offset<i&&i<s.offset+s.content.length).map(i=>i-s.offset).sort((i,a)=>i-a);return o.length?MT(s,o):s})):e}function LT(e,t,n,r,s="css-vars"){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(c=>Ra(e.variants[c])),a=new Set(i.flatMap(c=>Object.keys(c))),l={},u=(c,f)=>{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`;return n+t[c]+(f==="color"?"":p)};return i.forEach((c,f)=>{for(const p of a){const d=c[p]||"inherit";if(f===0&&r&&OT.includes(p))if(r===$f&&i.length>1){const h=t.findIndex(y=>y==="light"),g=t.findIndex(y=>y==="dark");if(h===-1||g===-1)throw new Qe('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[p]=`light-dark(${i[h][p]||"inherit"}, ${i[g][p]||"inherit"})`,s==="css-vars"&&(l[u(f,p)]=d)}else l[p]=d;else s==="css-vars"&&(l[u(f,p)]=d)}}),o.htmlStyle=l,o}function Ra(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Ot.Italic&&(t["font-style"]="italic"),e.fontStyle&Ot.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Ot.Underline&&n.push("underline"),e.fontStyle&Ot.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function Su(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function $T(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let s=function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new Qe(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...r.indexToPos(i),offset:i}}else{const a=r.lines[i.line];if(a===void 0)throw new Qe(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${r.lines.length}`);let l=i.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new Qe(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${a.length}`);return{...i,character:l,offset:r.posToIndex(i.line,l)}}};const r=IT(n.source),o=(n.options.decorations||[]).map(i=>({...i,start:s(i.start),end:s(i.end)}));DT(o),e.set(n.meta,{decorations:o,converter:r,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(this.options.decorations?.length)return NT(n,t(this).decorations.flatMap(r=>[r.start.offset,r.end.offset]))},code(n){if(!this.options.decorations?.length)return;const r=t(this),s=Array.from(n.children).filter(c=>c.type==="element"&&c.tagName==="span");if(s.length!==r.converter.lines.length)throw new Qe(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function o(c,f,p,d){const h=s[c];let g="",y=-1,b=-1;if(f===0&&(y=0),p===0&&(b=0),p===Number.POSITIVE_INFINITY&&(b=h.children.length),y===-1||b===-1)for(let m=0;m<h.children.length;m++)g+=Yy(h.children[m]),y===-1&&g.length===f&&(y=m+1),b===-1&&g.length===p&&(b=m+1);if(y===-1)throw new Qe(`Failed to find start index for decoration ${JSON.stringify(d.start)}`);if(b===-1)throw new Qe(`Failed to find end index for decoration ${JSON.stringify(d.end)}`);const v=h.children.slice(y,b);if(!d.alwaysWrap&&v.length===h.children.length)a(h,d,"line");else if(!d.alwaysWrap&&v.length===1&&v[0].type==="element")a(v[0],d,"token");else{const m={type:"element",tagName:"span",properties:{},children:v};a(m,d,"wrapper"),h.children.splice(y,v.length,m)}}function i(c,f){s[c]=a(s[c],f,"line")}function a(c,f,p){const d=f.properties||{},h=f.transform||(g=>g);return c.tagName=f.tagName||"span",c.properties={...c.properties,...d,class:c.properties.class},f.properties?.class&&Xy(c,f.properties.class),c=h(c,p)||c,c}const l=[],u=r.decorations.sort((c,f)=>f.start.offset-c.start.offset||c.end.offset-f.end.offset);for(const c of u){const{start:f,end:p}=c;if(f.line===p.line)o(f.line,f.character,p.character,c);else if(f.line<p.line){o(f.line,f.character,Number.POSITIVE_INFINITY,c);for(let d=f.line+1;d<p.line;d++)l.unshift(()=>i(d,c));o(p.line,0,p.character,c)}}l.forEach(c=>c())}}}function DT(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new Qe(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const s=e[r],o=n.start.offset<=s.start.offset&&s.start.offset<n.end.offset,i=n.start.offset<s.end.offset&&s.end.offset<=n.end.offset,a=s.start.offset<=n.start.offset&&n.start.offset<s.end.offset,l=s.start.offset<n.end.offset&&n.end.offset<=s.end.offset;if(o||i||a||l){if(o&&i||a&&l||a&&n.start.offset===n.end.offset||i&&s.start.offset===s.end.offset)continue;throw new Qe(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(s.start)} intersect.`)}}}}function Yy(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Yy).join(""):""}const BT=[$T()];function Ia(e){const t=FT(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...BT]}function FT(e){const t=[],n=[],r=[];for(const s of e)switch(s.enforce){case"pre":t.push(s);break;case"post":n.push(s);break;default:r.push(s)}return{pre:t,post:n,normal:r}}var Wr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],ic={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function jT(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function Ph(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function qT(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)ic[r]&&t.push({type:"setDecoration",value:ic[r]});else if(r<=29){const s=ic[r-20];s&&(t.push({type:"resetDecoration",value:s}),s==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Wr[r-30]}});else if(r===38){const s=Ph(e);s&&t.push({type:"setForegroundColor",value:s})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Wr[r-40]}});else if(r===48){const s=Ph(e);s&&t.push({type:"setBackgroundColor",value:s})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Wr[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Wr[r-100+8]}})}return t}function zT(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=jT(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=qT(i.sequence);for(const u of l)u.type==="resetAll"?(e=null,t=null,n.clear()):u.type==="resetForegroundColor"?e=null:u.type==="resetBackgroundColor"?t=null:u.type==="resetDecoration"&&n.delete(u.value);for(const u of l)u.type==="setForegroundColor"?e=u.value:u.type==="setBackgroundColor"?t=u.value:u.type==="setDecoration"&&n.add(u.value)}o=i.position}while(o<r.length);return s}}}var HT={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function VT(e=HT){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let u=0;u<Wr.length;u++)r.push(t(Wr[u]));let a=[0,95,135,175,215,255];for(let u=0;u<6;u++)for(let c=0;c<6;c++)for(let f=0;f<6;f++)r.push(n([a[u],a[c],a[f]]));let l=8;for(let u=0;u<24;u++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}const UT={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function GT(e,t,n){const r=Pa(e,n),s=ml(t),o=VT(Object.fromEntries(Wr.map(a=>{const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,e.colors?.[l]||UT[a]]}))),i=zT();return s.map(a=>i.parse(a[0]).map(l=>{let u,c;l.decorations.has("reverse")?(u=l.background?o.value(l.background):e.bg,c=l.foreground?o.value(l.foreground):e.fg):(u=l.foreground?o.value(l.foreground):e.fg,c=l.background?o.value(l.background):void 0),u=Sr(u,r),c=Sr(c,r),l.decorations.has("dim")&&(u=WT(u));let f=Ot.None;return l.decorations.has("bold")&&(f|=Ot.Bold),l.decorations.has("italic")&&(f|=Ot.Italic),l.decorations.has("underline")&&(f|=Ot.Underline),l.decorations.has("strikethrough")&&(f|=Ot.Strikethrough),{content:l.value,offset:a[1],color:u,bgColor:c,fontStyle:f}}))}function WT(e){const t=e.match(/#([0-9a-f]{3,8})/i);if(t){const r=t[1];if(r.length===8){const s=Math.round(Number.parseInt(r.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${r.slice(0,6)}${s}`}else{if(r.length===6)return`#${r}80`;if(r.length===4){const s=r[0],o=r[1],i=r[2],a=r[3];return`#${s}${s}${o}${o}${i}${i}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(r.length===3){const s=r[0],o=r[1],i=r[2];return`#${s}${s}${o}${o}${i}${i}80`}}}const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Eu(e,t,n={}){const r=e.resolveLangAlias(n.lang||"text"),{theme:s=e.getLoadedThemes()[0]}=n;if(!hl(r)&&!gl(s)&&r==="ansi"){const{theme:o}=e.setTheme(s);return GT(o,t,n)}return Ny(e,t,n)}function Oa(e,t,n){let r,s,o,i,a,l;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:c="--shiki-",colorsRendering:f="css-vars"}=n,p=Object.entries(n.themes).filter(b=>b[1]).map(b=>({color:b[0],theme:b[1]})).sort((b,v)=>b.color===u?-1:v.color===u?1:0);if(p.length===0)throw new Qe("`themes` option must not be empty");const d=Ly(e,t,n,Eu);if(l=Jo(d),u&&$f!==u&&!p.find(b=>b.color===u))throw new Qe(`\`themes\` option must contain the defaultColor key \`${u}\``);const h=p.map(b=>e.getTheme(b.theme)),g=p.map(b=>b.color);o=d.map(b=>b.map(v=>LT(v,g,c,u,f))),l&&yl(o,l);const y=p.map(b=>Pa(b.theme,n));s=Rh(p,h,y,c,u,"fg",f),r=Rh(p,h,y,c,u,"bg",f),i=`shiki-themes ${h.map(b=>b.name).join(" ")}`,a=u?void 0:[s,r].join(";")}else if("theme"in n){const u=Pa(n.theme,n);o=Eu(e,t,n);const c=e.getTheme(n.theme);r=Sr(c.bg,u),s=Sr(c.fg,u),i=c.name,l=Jo(o)}else throw new Qe("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:r,themeName:i,rootStyle:a,grammarState:l}}function Rh(e,t,n,r,s,o,i){return e.map((a,l)=>{const u=Sr(t[l][o],n[l])||"inherit",c=`${r+a.color}${o==="bg"?"-bg":""}:${u}`;if(l===0&&s){if(s===$f&&e.length>1){const f=e.findIndex(d=>d.color==="light"),p=e.findIndex(d=>d.color==="dark");if(f===-1||p===-1)throw new Qe('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Sr(t[f][o],n[f])||"inherit"}, ${Sr(t[p][o],n[p])||"inherit"});${c}`}return u}return i==="css-vars"?c:null}).filter(a=>!!a).join(";")}function Ma(e,t,n,r={meta:{},options:n,codeToHast:(s,o)=>Ma(e,s,o),codeToTokens:(s,o)=>Oa(e,s,o)}){let s=t;for(const h of Ia(n))s=h.preprocess?.call(r,s,n)||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:u,grammarState:c}=Oa(e,s,n);const{mergeWhitespaces:f=!0,mergeSameStyleTokens:p=!1}=n;f===!0?o=XT(o):f==="never"&&(o=YT(o)),p&&(o=JT(o));const d={...r,get source(){return s}};for(const h of Ia(n))o=h.tokens?.call(d,o)||o;return KT(o,{...n,fg:i,bg:a,themeName:l,rootStyle:n.rootStyle===!1?!1:n.rootStyle??u},d,c)}function KT(e,t,n,r=Jo(e)){const s=Ia(t),o=[],i={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t,u={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?u.style=t.rootStyle:u.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(u.tabindex=l.toString());for(const[g,y]of Object.entries(t.meta||{}))g.startsWith("_")||(u[g]=y);let c={type:"element",tagName:"pre",properties:u,children:[],data:t.data},f={type:"element",tagName:"code",properties:{},children:o};const p=[],d={...n,structure:a,addClassToHast:Xy,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return c},get code(){return f},get lines(){return p}};if(e.forEach((g,y)=>{y&&(a==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&o.push({type:"text",value:`
48
+ `}));let b={type:"element",tagName:"span",properties:{class:"line"},children:[]},v=0;for(const m of g){let w={type:"element",tagName:"span",properties:{...m.htmlAttrs},children:[{type:"text",value:m.content}]};const x=Su(m.htmlStyle||Ra(m));x&&(w.properties.style=x);for(const S of s)w=S?.span?.call(d,w,y+1,v,b,m)||w;a==="inline"?i.children.push(w):a==="classic"&&b.children.push(w),v+=m.content.length}if(a==="classic"){for(const m of s)b=m?.line?.call(d,b,y+1)||b;p.push(b),o.push(b)}else a==="inline"&&p.push(b)}),a==="classic"){for(const g of s)f=g?.code?.call(d,f)||f;c.children.push(f);for(const g of s)c=g?.pre?.call(d,c)||c;i.children.push(c)}else if(a==="inline"){const g=[];let y={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const v of i.children)v.type==="element"&&v.tagName==="br"?(g.push(y),y={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(v.type==="element"||v.type==="text")&&y.children.push(v);g.push(y);let b={type:"element",tagName:"code",properties:{},children:g};for(const v of s)b=v?.code?.call(d,b)||b;i.children=[];for(let v=0;v<b.children.length;v++){v>0&&i.children.push({type:"element",tagName:"br",properties:{},children:[]});const m=b.children[v];m.type==="element"&&i.children.push(...m.children)}}let h=i;for(const g of s)h=g?.root?.call(d,h)||h;return r&&yl(h,r),h}function XT(e){return e.map(t=>{const n=[];let r="",s;return t.forEach((o,i)=>{const a=!(o.fontStyle&&(o.fontStyle&Ot.Underline||o.fontStyle&Ot.Strikethrough));a&&o.content.match(/^\s+$/)&&t[i+1]?(s===void 0&&(s=o.offset),r+=o.content):r?(a?n.push({...o,offset:s,content:r+o.content}):n.push({content:r,offset:s},o),s=void 0,r=""):n.push(o)}),n})}function YT(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,s,o,i]=r;if(!s&&!i)return n;const a=[{...n,offset:n.offset+s.length,content:o}];return s&&a.unshift({content:s,offset:n.offset}),i&&a.push({content:i,offset:n.offset+s.length+o.length}),a}))}function JT(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const s=n[n.length-1],o=Su(s.htmlStyle||Ra(s)),i=Su(r.htmlStyle||Ra(r)),a=s.fontStyle&&(s.fontStyle&Ot.Underline||s.fontStyle&Ot.Strikethrough),l=r.fontStyle&&(r.fontStyle&Ot.Underline||r.fontStyle&Ot.Strikethrough);!a&&!l&&o===i?s.content+=r.content:n.push({...r})}return n})}const QT=TT;function ZT(e,t,n){const r={meta:{},options:n,codeToHast:(o,i)=>Ma(e,o,i),codeToTokens:(o,i)=>Oa(e,o,i)};let s=QT(Ma(e,t,n,r));for(const o of Ia(n))s=o.postprocess?.call(r,s,n)||s;return s}async function eP(e){const t=await oA(e);return{getLastGrammarState:(...n)=>lA(t,...n),codeToTokensBase:(n,r)=>Eu(t,n,r),codeToTokensWithThemes:(n,r)=>Ly(t,n,r),codeToTokens:(n,r)=>Oa(t,n,r),codeToHast:(n,r)=>Ma(t,n,r),codeToHtml:(n,r)=>ZT(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const Ih=4294967295;var tP=class{regexps;constructor(e,t={}){this.patterns=e,this.options=t;const{forgiving:n=!1,cache:r,regexConstructor:s}=t;if(!s)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(o=>{if(typeof o!="string")return o;const i=r?.get(o);if(i){if(i instanceof RegExp)return i;if(n)return null;throw i}try{const a=s(o);return r?.set(o,a),a}catch(a){if(r?.set(o,a),n)return null;throw a}})}findNextMatchSync(e,t,n){const r=typeof e=="string"?e:e.content,s=[];function o(i,a,l=0){return{index:i,captureIndices:a.indices.map(u=>u==null?{start:Ih,end:Ih,length:0}:{start:u[0]+l,end:u[1]+l,length:u[1]-u[0]})}}for(let i=0;i<this.regexps.length;i++){const a=this.regexps[i];if(a)try{a.lastIndex=t;const l=a.exec(r);if(!l)continue;if(l.index===t)return o(i,l,0);s.push([i,l,0])}catch(l){if(this.options.forgiving)continue;throw l}}if(s.length){const i=Math.min(...s.map(a=>a[1].index));for(const[a,l,u]of s)if(l.index===i)return o(a,l,u)}return null}};function Ys(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function nP(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const Df=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),wt=String.raw;function Js(e,t){if(e==null)throw new Error(t??"Value expected");return e}const Jy=wt`\[\^?`,Qy=`c.? | C(?:-.?)?|${wt`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${wt`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${wt`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${wt`o\{[^\}]*\}?`}|${wt`\d{1,3}`}`,Bf=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Fi=new RegExp(wt`
49
+ \\ (?:
50
+ ${Qy}
51
+ | [gk]<[^>]*>?
52
+ | [gk]'[^']*'?
53
+ | .
54
+ )
55
+ | \( (?:
56
+ \? (?:
57
+ [:=!>({]
58
+ | <[=!]
59
+ | <[^>]*>
60
+ | '[^']*'
61
+ | ~\|?
62
+ | #(?:[^)\\]|\\.?)*
63
+ | [^:)]*[:)]
64
+ )?
65
+ | \*[^\)]*\)?
66
+ )?
67
+ | (?:${Bf.source})+
68
+ | ${Jy}
69
+ | .
70
+ `.replace(/\s+/g,""),"gsu"),ac=new RegExp(wt`
71
+ \\ (?:
72
+ ${Qy}
73
+ | .
74
+ )
75
+ | \[:(?:\^?\p{Alpha}+|\^):\]
76
+ | ${Jy}
77
+ | &&
78
+ | .
79
+ `.replace(/\s+/g,""),"gsu");function rP(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=_P(n.flags),s=[r.extended],o={captureGroup:n.rules.captureGroup,getCurrentModX(){return s.at(-1)},numOpenGroups:0,popModX(){s.pop()},pushModX(f){s.push(f)},replaceCurrentModX(f){s[s.length-1]=f},singleline:n.rules.singleline};let i=[],a;for(Fi.lastIndex=0;a=Fi.exec(e);){const f=sP(o,e,a[0],Fi.lastIndex);f.tokens?i.push(...f.tokens):f.token&&i.push(f.token),f.lastIndex!==void 0&&(Fi.lastIndex=f.lastIndex)}const l=[];let u=0;i.filter(f=>f.type==="GroupOpen").forEach(f=>{f.kind==="capturing"?f.number=++u:f.raw==="("&&l.push(f)}),u||l.forEach((f,p)=>{f.kind="capturing",f.number=p+1});const c=u||l.length;return{tokens:i.map(f=>f.type==="EscapedNumber"?kP(f,c):f).flat(),flags:r}}function sP(e,t,n,r){const[s,o]=n;if(n==="["||n==="[^"){const i=oP(t,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(s==="\\"){if("AbBGyYzZ".includes(o))return{token:Oh(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:gP(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:ev(n)}}if(o==="K")return{token:tv("keep",n)};if(o==="N"||o==="R")return{token:Kr("newline",n,{negate:o==="N"})};if(o==="O")return{token:Kr("any",n)};if(o==="X")return{token:Kr("text_segment",n)};const i=Zy(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(s==="("){if(o==="*")return{token:bP(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:vP(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:vs("group",n)};if(n==="(?>")return{token:vs("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:vs(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:vs("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:vs("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:dP(n)}}if(e.getCurrentModX()){if(n==="#"){const i=t.indexOf(`
80
+ `,r);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(n)){const i=/\s+/y;return i.lastIndex=r,{lastIndex:i.exec(t)?i.lastIndex:r}}}if(n===".")return{token:Kr("dot",n)};if(n==="^"||n==="$"){const i=e.singleline?{"^":wt`\A`,$:wt`\Z`}[n]:n;return{token:Oh(i,n)}}return n==="|"?{token:aP(n)}:Bf.test(n)?{tokens:SP(n)}:{token:rr(Ys(n),n)}}function oP(e,t,n){const r=[Mh(t[1]==="^",t)];let s=1,o;for(ac.lastIndex=n;o=ac.exec(e);){const i=o[0];if(i[0]==="["&&i[1]!==":")s++,r.push(Mh(i[1]==="^",i));else if(i==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(rr(93,i));else if(s--,r.push(lP(i)),!s)break}else{const a=iP(i);Array.isArray(a)?r.push(...a):r.push(a)}}return{tokens:r,lastIndex:ac.lastIndex||e.length}}function iP(e){if(e[0]==="\\")return Zy(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!Df.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return Kr("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?cP(e):e==="&&"?uP(e):rr(Ys(e),e)}function Zy(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return yP(e);if("dDhHsSwW".includes(n))return wP(e);if(e.startsWith(wt`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return xP(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),o=new TextEncoder;return[...s].map(i=>{const a=[...o.encode(i)].map(l=>`\\x${l.toString(16)}`).join("");return rr(Ys(i),a)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return rr(CP(e),e);if(Nh.has(n))return rr(Nh.get(n),e);if(/\d/.test(n))return fP(t,e);if(e==="\\")throw new Error(wt`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return rr(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function aP(e){return{type:"Alternator",raw:e}}function Oh(e,t){return{type:"Assertion",kind:e,raw:t}}function ev(e){return{type:"Backreference",raw:e}}function rr(e,t){return{type:"Character",value:e,raw:t}}function lP(e){return{type:"CharacterClassClose",raw:e}}function cP(e){return{type:"CharacterClassHyphen",raw:e}}function uP(e){return{type:"CharacterClassIntersector",raw:e}}function Mh(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function Kr(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function tv(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:Js(n.flags),raw:t}}function fP(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function dP(e){return{type:"GroupClose",raw:e}}function vs(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function pP(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function hP(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function gP(e){return{type:"Subroutine",raw:e}}const mP=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),Nh=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function yP(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return rr(Ys(t.toUpperCase())-64,e)}function vP(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const s=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),o=$h(n),i=$h(r),a={};if(o&&(a.enable=o),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(s),tv("flags",e,{flags:a});if(e.endsWith(":"))return t.pushModX(s),t.numOpenGroups++,vs("group",e,{...(o||i)&&{flags:a}});throw new Error(`Unexpected flag modifier "${e}"`)}function bP(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:s}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const o=s?s.split(",").filter(c=>c!=="").map(c=>/^[+-]?\d+$/.test(c)?+c:c):[],[i,a,l]=o,u=mP.has(n)?n.toLowerCase():"custom";switch(u){case"fail":case"mismatch":case"skip":if(o.length>0)throw new Error(`Named callout arguments not allowed "${o}"`);break;case"error":if(o.length>1)throw new Error(`Named callout allows only one argument "${o}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!o.length||o.length>2)throw new Error(`Named callout must have one or two arguments "${o}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(o.length===2&&(typeof a=="number"||!/^[<>X]$/.test(a)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${a}"`);break;case"count":case"total_count":if(o.length>1)throw new Error(`Named callout allows only one argument "${o}"`);if(o.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(o.length!==3)throw new Error(`Named callout must have three arguments "${o}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof a=="number"||!/^(?:[<>!=]=|[<>])$/.test(a))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${a}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${u}"`)}return pP(u,r??null,s?.split(",")??null,e)}function Lh(e){let t=null,n,r;if(e[0]==="{"){const{minStr:s,maxStr:o}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,i=1e5;if(+s>i||o&&+o>i)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+s,r=o===void 0?+s:o===""?1/0:+o,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return hP(t,n,r,e)}function wP(e){const t=e[1].toLowerCase();return Kr({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function xP(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return Kr("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function $h(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function _P(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}function CP(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function kP(e,t){const{raw:n,inCharClass:r}=e,s=n.slice(1);if(!r&&(s!=="0"&&s.length===1||s[0]!=="0"&&+s<=t))return[ev(n)];const o=[],i=s.match(/^[0-7]+|\d/g);for(let a=0;a<i.length;a++){const l=i[a];let u;if(a===0&&l!=="8"&&l!=="9"){if(u=parseInt(l,8),u>127)throw new Error(wt`Octal encoded byte above 177 unsupported "${n}"`)}else u=Ys(l);o.push(rr(u,(a===0?"\\":"")+l))}return o}function SP(e){const t=[],n=new RegExp(Bf,"gy");let r;for(;r=n.exec(e);){const s=r[0];if(s[0]==="{"){const o=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(s);if(o){const{min:i,max:a}=o.groups;if(+i>+a&&s.endsWith("?")){n.lastIndex--,t.push(Lh(s.slice(0,-1)));continue}}}t.push(Lh(s))}return t}function nv(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}function EP(e){return AP.has(e.type)}const AP=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function rv(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=rP(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),s=(p,d)=>{const h=r.tokens[o.nextIndex];switch(o.parent=p,o.nextIndex++,h.type){case"Alternator":return ss();case"Assertion":return TP(h);case"Backreference":return PP(h,o);case"Character":return bl(h.value,{useLastValid:!!d.isCheckingRangeEnd});case"CharacterClassHyphen":return RP(h,o,d);case"CharacterClassOpen":return IP(h,o,d);case"CharacterSet":return OP(h,o);case"Directive":return BP(h.kind,{flags:h.flags});case"GroupOpen":return MP(h,o,d);case"NamedCallout":return jP(h.kind,h.tag,h.arguments);case"Quantifier":return NP(h,o);case"Subroutine":return LP(h,o);default:throw new Error(`Unexpected token type "${h.type}"`)}},o={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:s},i=zP(FP(r.flags));let a=i.body[0];for(;o.nextIndex<r.tokens.length;){const p=s(a,{});p.type==="Alternative"?(i.body.push(p),a=p):a.body.push(p)}const{capturingGroups:l,hasNumberedRef:u,namedGroupsByName:c,subroutines:f}=o;if(u&&c.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:p}of f)if(typeof p=="number"){if(p>l.length)throw new Error("Subroutine uses a group number that's not defined");p&&(l[p-1].isSubroutined=!0)}else if(c.has(p)){if(c.get(p).length>1)throw new Error(wt`Subroutine uses a duplicate group name "\g<${p}>"`);c.get(p)[0].isSubroutined=!0}else throw new Error(wt`Subroutine uses a group name that's not defined "\g<${p}>"`);return i}function TP({kind:e}){return Au(Js({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===wt`\B`||e===wt`\Y`})}function PP({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),s=(o,i=!1)=>{const a=t.capturingGroups.length;let l=!1;if(o>a)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,Tu(i?a+1-o:o,{orphan:l})};if(n){const o=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(o)return s(+o.groups.num,!!o.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return Tu(r)}return s(+r)}function RP(e,t,n){const{tokens:r,walk:s}=t,o=t.parent,i=o.body.at(-1),a=r[t.nextIndex];if(!n.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&a&&a.type!=="CharacterClassOpen"&&a.type!=="CharacterClassClose"&&a.type!=="CharacterClassIntersector"){const l=s(o,{...n,isCheckingRangeEnd:!0});if(i.type==="Character"&&l.type==="Character")return o.body.pop(),DP(i,l);throw new Error("Invalid character class range")}return bl(Ys("-"))}function IP({negate:e},t,n){const{tokens:r,walk:s}=t,o=r[t.nextIndex],i=[Ji()];let a=Fh(o);for(;a.type!=="CharacterClassClose";){if(a.type==="CharacterClassIntersector")i.push(Ji()),t.nextIndex++;else{const u=i.at(-1);u.body.push(s(u,n))}a=Fh(r[t.nextIndex],o)}const l=Ji({negate:e});return i.length===1?l.body=i[0].body:(l.kind="intersection",l.body=i.map(u=>u.body.length===1?u.body[0]:u)),t.nextIndex++,l}function OP({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i}=r;if(e==="property"){const a=wl(n);if(Df.has(a)&&!i?.has(a))e="posix",n=a;else return bs(n,{negate:t,normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i})}return e==="posix"?qP(n,{negate:t}):Pu(e,{negate:t})}function MP(e,t,n){const{tokens:r,capturingGroups:s,namedGroupsByName:o,skipLookbehindValidation:i,walk:a}=t,l=HP(e),u=l.type==="AbsenceFunction",c=Bh(l),f=c&&l.negate;if(l.type==="CapturingGroup"&&(s.push(l),l.name&&nP(o,l.name,[]).push(l)),u&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let p=jh(r[t.nextIndex]);for(;p.type!=="GroupClose";){if(p.type==="Alternator")l.body.push(ss()),t.nextIndex++;else{const d=l.body.at(-1),h=a(d,{...n,isInAbsenceFunction:n.isInAbsenceFunction||u,isInLookbehind:n.isInLookbehind||c,isInNegLookbehind:n.isInNegLookbehind||f});if(d.body.push(h),(c||n.isInLookbehind)&&!i){const g="Lookbehind includes a pattern not allowed by Oniguruma";if(f||n.isInNegLookbehind){if(Dh(h)||h.type==="CapturingGroup")throw new Error(g)}else if(Dh(h)||Bh(h)&&h.negate)throw new Error(g)}}p=jh(r[t.nextIndex])}return t.nextIndex++,l}function NP({kind:e,min:t,max:n},r){const s=r.parent,o=s.body.at(-1);if(!o||!EP(o))throw new Error("Quantifier requires a repeatable token");const i=ov(e,t,n,o);return s.body.pop(),i}function LP({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let s=e.slice(3,-1);const o=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(s);if(o){const a=+o.groups.num,l=n.length;if(t.hasNumberedRef=!0,s={"":a,"+":l+a,"-":l+1-a}[o.groups.sign],s<1)throw new Error("Invalid subroutine number")}else s==="0"&&(s=0);const i=iv(s);return r.push(i),i}function $P(e,t){return{type:"AbsenceFunction",kind:e,body:ui(t?.body)}}function ss(e){return{type:"Alternative",body:av(e?.body)}}function Au(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function Tu(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function sv(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!VP(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:ui(t?.body)}}function bl(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}function Ji(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:av(e?.body)}}function DP(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function Pu(e,t){const n=!!t?.negate,r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}function BP(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:Js(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function FP(e){return{type:"Flags",...e}}function gn(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:ui(e?.body)}}function Ur(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:ui(e?.body)}}function jP(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function qP(e,t){const n=!!t?.negate;if(!Df.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function ov(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}function zP(e,t){return{type:"Regex",body:ui(t?.body),flags:e}}function iv(e){return{type:"Subroutine",ref:e}}function bs(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get(wl(e));if(!r){if(n.normalizeUnknownPropertyNames)r=UP(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(wt`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function HP({flags:e,kind:t,name:n,negate:r,number:s}){switch(t){case"absence_repeater":return $P("repeater");case"atomic":return gn({atomic:!0});case"capturing":return sv(s,{name:n});case"group":return gn({flags:e});case"lookahead":case"lookbehind":return Ur({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function ui(e){if(e===void 0)e=[ss()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function av(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function Dh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Bh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function VP(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function UP(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function wl(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Fh(e,t){return Js(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function jh(e){return Js(e,"Unclosed group")}function Io(e,t,n=null){function r(o,i){for(let a=0;a<o.length;a++){const l=s(o[a],i,a,o);a=Math.max(-1,a+l)}}function s(o,i=null,a=null,l=null){let u=0,c=!1;const f={node:o,parent:i,key:a,container:l,root:e,remove(){ji(l).splice(Math.max(0,ps(a)+u),1),u--,c=!0},removeAllNextSiblings(){return ji(l).splice(ps(a)+1)},removeAllPrevSiblings(){const b=ps(a)+u;return u-=b,ji(l).splice(0,Math.max(0,b))},replaceWith(b,v={}){const m=!!v.traverse;l?l[Math.max(0,ps(a)+u)]=b:Js(i,"Can't replace root node")[a]=b,m&&s(b,i,a,l),c=!0},replaceWithMultiple(b,v={}){const m=!!v.traverse;if(ji(l).splice(Math.max(0,ps(a)+u),1,...b),u+=b.length-1,m){let w=0;for(let x=0;x<b.length;x++)w+=s(b[x],i,ps(a)+x+w,l)}c=!0},skip(){c=!0}},{type:p}=o,d=t["*"],h=t[p],g=typeof d=="function"?d:d?.enter,y=typeof h=="function"?h:h?.enter;if(g?.(f,n),y?.(f,n),!c)switch(p){case"AbsenceFunction":case"CapturingGroup":case"Group":r(o.body,o);break;case"Alternative":case"CharacterClass":r(o.body,o);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":s(o.min,o,"min"),s(o.max,o,"max");break;case"LookaroundAssertion":r(o.body,o);break;case"Quantifier":s(o.body,o,"body");break;case"Regex":r(o.body,o),s(o.flags,o,"flags");break;default:throw new Error(`Unexpected node type "${p}"`)}return h?.exit?.(f,n),d?.exit?.(f,n),u}return s(e),e}function ji(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function ps(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const GP=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function WP(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function KP(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const cn=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function Ff(e,t,n,r){const s=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),o=[!1];let i=0,a="";for(const l of e.matchAll(s)){const{0:u,groups:{$skip:c}}=l;if(!c&&(!r||r===cn.DEFAULT==!i)){n instanceof Function?a+=n(l,{context:i?cn.CHAR_CLASS:cn.DEFAULT,negated:o[o.length-1]}):a+=n;continue}u[0]==="["?(i++,o.push(u[1]==="^")):u==="]"&&i&&(i--,o.pop()),a+=u}return a}function lv(e,t,n,r){Ff(e,t,n,r)}function XP(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const s=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");s.lastIndex=n;let o=0,i;for(;i=s.exec(e);){const{0:a,groups:{$skip:l}}=i;if(!l&&(!r||r===cn.DEFAULT==!o))return i;a==="["?o++:a==="]"&&o&&o--,s.lastIndex==i.index&&s.lastIndex++}return null}function qi(e,t,n){return!!XP(e,t,0,n)}function YP(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,s=0,o=1,i;for(;i=n.exec(e);){const[a]=i;if(a==="[")s++;else if(s)a==="]"&&s--;else if(a==="(")o++;else if(a===")"&&(o--,!o)){r=i.index;break}}return e.slice(t,r)}const qh=new RegExp(String.raw`(?<noncapturingStart>${GP})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function JP(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const s="(?>",o="(?:(?=(",i=[0],a=[];let l=0,u=0,c=NaN,f;do{f=!1;let p=0,d=0,h=!1,g;for(qh.lastIndex=Number.isNaN(c)?0:c+o.length;g=qh.exec(e);){const{0:y,index:b,groups:{capturingStart:v,noncapturingStart:m}}=g;if(y==="[")p++;else if(p)y==="]"&&p--;else if(y===s&&!h)c=b,h=!0;else if(h&&m)d++;else if(v)h?d++:(l++,i.push(l+u));else if(y===")"&&h){if(!d){u++;const w=l+u;if(e=`${e.slice(0,c)}${o}${e.slice(c+s.length,b)}))<$$${w}>)${e.slice(b+1)}`,f=!0,a.push(w),WP(n,w),r.size){const x=new Map;r.forEach((S,E)=>{x.set(E>=w?E+1:E,S.map(T=>T>=w?T+1:T))}),r=x}break}d--}}}while(f);return n.push(...a),e=Ff(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:p,groups:{backrefNum:d,wrappedBackrefNum:h}})=>{if(d){const g=+d;if(g>i.length-1)throw new Error(`Backref "${p}" greater than number of captures`);return`\\${i[g]}`}return`\\${h}`},cn.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const cv=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,lc=new RegExp(String.raw`
81
+ \\(?: \d+
82
+ | c[A-Za-z]
83
+ | [gk]<[^>]+>
84
+ | [pPu]\{[^\}]+\}
85
+ | u[A-Fa-f\d]{4}
86
+ | x[A-Fa-f\d]{2}
87
+ )
88
+ | \((?: \? (?: [:=!>]
89
+ | <(?:[=!]|[^>]+>)
90
+ | [A-Za-z\-]+:
91
+ | \(DEFINE\)
92
+ ))?
93
+ | (?<qBase>${cv})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
94
+ | \\?.
95
+ `.replace(/\s+/g,""),"gsu");function QP(e){if(!new RegExp(`${cv}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,s="",o=0,i;for(lc.lastIndex=0;i=lc.exec(e);){const{0:a,index:l,groups:{qBase:u,qMod:c,invalidQ:f}}=i;if(a==="[")o||(r=l),o++;else if(a==="]")o?o--:r=null;else if(!o)if(c==="+"&&s&&!s.startsWith("(")){if(f)throw new Error(`Invalid quantifier "${a}"`);let p=-1;if(/^\{\d+\}$/.test(u))e=KP(e,l+u.length,c,"");else{if(s===")"||s==="]"){const d=s===")"?n:r;if(d===null)throw new Error(`Invalid unmatched "${s}"`);e=`${e.slice(0,d)}(?>${e.slice(d,l)}${u})${e.slice(l+a.length)}`}else e=`${e.slice(0,l-s.length)}(?>${s}${u})${e.slice(l+a.length)}`;p+=4}lc.lastIndex+=p}else a[0]==="("?t.push(l):a===")"&&(n=t.length?t.pop():null);s=a}return{pattern:e}}const ln=String.raw,ZP=ln`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,Ru=ln`\(\?R=(?<rDepth>[^\)]+)\)|${ZP}`,xl=ln`\(\?<(?![=!])(?<captureName>[^>]+)>`,uv=ln`${xl}|(?<unnamed>\()(?!\?)`,Fr=new RegExp(ln`${xl}|${Ru}|\(\?|\\?.`,"gsu"),cc="Cannot use multiple overlapping recursions";function eR(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let s=t?.captureTransfers??new Map;if(!new RegExp(Ru,"su").test(e))return{pattern:e,captureTransfers:s,hiddenCaptures:n};if(r==="plugin"&&qi(e,ln`\(\?\(DEFINE\)`,cn.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const o=[],i=qi(e,ln`\\[1-9]`,cn.DEFAULT),a=new Map,l=[];let u=!1,c=0,f=0,p;for(Fr.lastIndex=0;p=Fr.exec(e);){const{0:d,groups:{captureName:h,rDepth:g,gRNameOrNum:y,gRDepth:b}}=p;if(d==="[")c++;else if(c)d==="]"&&c--;else if(g){if(zh(g),u)throw new Error(cc);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const v=e.slice(0,p.index),m=e.slice(Fr.lastIndex);if(qi(m,Ru,cn.DEFAULT))throw new Error(cc);const w=+g-1;e=Hh(v,m,w,!1,n,o,f),s=Uh(s,v,w,o.length,0,f);break}else if(y){zh(b);let v=!1;for(const R of l)if(R.name===y||R.num===+y){if(v=!0,R.hasRecursedWithin)throw new Error(cc);break}if(!v)throw new Error(ln`Recursive \g cannot be used outside the referenced group "${r==="external"?y:ln`\g<${y}&R=${b}>`}"`);const m=a.get(y),w=YP(e,m);if(i&&qi(w,ln`${xl}|\((?!\?)`,cn.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const x=e.slice(m,p.index),S=w.slice(x.length+d.length),E=o.length,T=+b-1,A=Hh(x,S,T,!0,n,o,f);s=Uh(s,x,T,o.length-E,E,f);const M=e.slice(0,m),j=e.slice(m+w.length);e=`${M}${A}${j}`,Fr.lastIndex+=A.length-d.length-x.length-S.length,l.forEach(R=>R.hasRecursedWithin=!0),u=!0}else if(h)f++,a.set(String(f),Fr.lastIndex),a.set(h,Fr.lastIndex),l.push({num:f,name:h});else if(d[0]==="("){const v=d==="(";v&&(f++,a.set(String(f),Fr.lastIndex)),l.push(v?{num:f}:{})}else d===")"&&l.pop()}return n.push(...o),{pattern:e,captureTransfers:s,hiddenCaptures:n}}function zh(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function Hh(e,t,n,r,s,o,i){const a=new Set;r&&lv(e+t,xl,({groups:{captureName:u}})=>{a.add(u)},cn.DEFAULT);const l=[n,r?a:null,s,o,i];return`${e}${Vh(`(?:${e}`,"forward",...l)}(?:)${Vh(`${t})`,"backward",...l)}${t}`}function Vh(e,t,n,r,s,o,i){const l=c=>t==="forward"?c+2:n-c+2-1;let u="";for(let c=0;c<n;c++){const f=l(c);u+=Ff(e,ln`${uv}|\\k<(?<backref>[^>]+)>`,({0:p,groups:{captureName:d,unnamed:h,backref:g}})=>{if(g&&r&&!r.has(g))return p;const y=`_$${f}`;if(h||d){const b=i+o.length+1;return o.push(b),tR(s,b),h?p:`(?<${d}${y}>`}return ln`\k<${g}${y}>`},cn.DEFAULT)}return u}function tR(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function Uh(e,t,n,r,s,o){if(e.size&&r){let i=0;lv(t,uv,()=>i++,cn.DEFAULT);const a=o-i+s,l=new Map;return e.forEach((u,c)=>{const f=(r-i*n)/n,p=i*n,d=c>a+i?c+r:c,h=[];for(const g of u)if(g<=a)h.push(g);else if(g>a+i+f)h.push(g+r);else if(g<=a+i)for(let y=0;y<=n;y++)h.push(g+i*y);else for(let y=0;y<=n;y++)h.push(g+p+f*y);l.set(d,h)}),l}return e}var yt=String.fromCodePoint,be=String.raw,vn={},_l=globalThis.RegExp;vn.flagGroups=(()=>{try{new _l("(?i:)")}catch{return!1}return!0})();vn.unicodeSets=(()=>{try{new _l("[[]]","v")}catch{return!1}return!0})();vn.bugFlagVLiteralHyphenIsRange=vn.unicodeSets?(()=>{try{new _l(be`[\d\-a]`,"v")}catch{return!0}return!1})():!1;vn.bugNestedClassIgnoresNegation=vn.unicodeSets&&new _l("[[^a]]","v").test("a");function Na(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function Qo(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Iu(e,t){return Gh[e]>=Gh[t]}function nR(e,t){if(e==null)throw new Error(t??"Value expected");return e}var Gh={ES2025:2025,ES2024:2024,ES2018:2018},rR={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function fv(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!rR[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=vn.flagGroups?"ES2025":vn.unicodeSets?"ES2024":"ES2018"),t}var sR="[ -\r ]",oR=new Set([yt(304),yt(305)]),Yn=be`[\p{L}\p{M}\p{N}\p{Pc}]`;function dv(e){if(oR.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),s=lR.get(n),o=iR.get(n),i=aR.get(n);return[...r].length===1&&t.add(r),i&&t.add(i),s&&t.add(s),t.add(n),o&&t.add(o),[...t]}var jf=new Map(`C Other
96
+ Cc Control cntrl
97
+ Cf Format
98
+ Cn Unassigned
99
+ Co Private_Use
100
+ Cs Surrogate
101
+ L Letter
102
+ LC Cased_Letter
103
+ Ll Lowercase_Letter
104
+ Lm Modifier_Letter
105
+ Lo Other_Letter
106
+ Lt Titlecase_Letter
107
+ Lu Uppercase_Letter
108
+ M Mark Combining_Mark
109
+ Mc Spacing_Mark
110
+ Me Enclosing_Mark
111
+ Mn Nonspacing_Mark
112
+ N Number
113
+ Nd Decimal_Number digit
114
+ Nl Letter_Number
115
+ No Other_Number
116
+ P Punctuation punct
117
+ Pc Connector_Punctuation
118
+ Pd Dash_Punctuation
119
+ Pe Close_Punctuation
120
+ Pf Final_Punctuation
121
+ Pi Initial_Punctuation
122
+ Po Other_Punctuation
123
+ Ps Open_Punctuation
124
+ S Symbol
125
+ Sc Currency_Symbol
126
+ Sk Modifier_Symbol
127
+ Sm Math_Symbol
128
+ So Other_Symbol
129
+ Z Separator
130
+ Zl Line_Separator
131
+ Zp Paragraph_Separator
132
+ Zs Space_Separator
133
+ ASCII
134
+ ASCII_Hex_Digit AHex
135
+ Alphabetic Alpha
136
+ Any
137
+ Assigned
138
+ Bidi_Control Bidi_C
139
+ Bidi_Mirrored Bidi_M
140
+ Case_Ignorable CI
141
+ Cased
142
+ Changes_When_Casefolded CWCF
143
+ Changes_When_Casemapped CWCM
144
+ Changes_When_Lowercased CWL
145
+ Changes_When_NFKC_Casefolded CWKCF
146
+ Changes_When_Titlecased CWT
147
+ Changes_When_Uppercased CWU
148
+ Dash
149
+ Default_Ignorable_Code_Point DI
150
+ Deprecated Dep
151
+ Diacritic Dia
152
+ Emoji
153
+ Emoji_Component EComp
154
+ Emoji_Modifier EMod
155
+ Emoji_Modifier_Base EBase
156
+ Emoji_Presentation EPres
157
+ Extended_Pictographic ExtPict
158
+ Extender Ext
159
+ Grapheme_Base Gr_Base
160
+ Grapheme_Extend Gr_Ext
161
+ Hex_Digit Hex
162
+ IDS_Binary_Operator IDSB
163
+ IDS_Trinary_Operator IDST
164
+ ID_Continue IDC
165
+ ID_Start IDS
166
+ Ideographic Ideo
167
+ Join_Control Join_C
168
+ Logical_Order_Exception LOE
169
+ Lowercase Lower
170
+ Math
171
+ Noncharacter_Code_Point NChar
172
+ Pattern_Syntax Pat_Syn
173
+ Pattern_White_Space Pat_WS
174
+ Quotation_Mark QMark
175
+ Radical
176
+ Regional_Indicator RI
177
+ Sentence_Terminal STerm
178
+ Soft_Dotted SD
179
+ Terminal_Punctuation Term
180
+ Unified_Ideograph UIdeo
181
+ Uppercase Upper
182
+ Variation_Selector VS
183
+ White_Space space
184
+ XID_Continue XIDC
185
+ XID_Start XIDS`.split(/\s/).map(e=>[wl(e),e])),iR=new Map([["s",yt(383)],[yt(383),"s"]]),aR=new Map([[yt(223),yt(7838)],[yt(107),yt(8490)],[yt(229),yt(8491)],[yt(969),yt(8486)]]),lR=new Map([vr(453),vr(456),vr(459),vr(498),...uc(8072,8079),...uc(8088,8095),...uc(8104,8111),vr(8124),vr(8140),vr(8188)]),cR=new Map([["alnum",be`[\p{Alpha}\p{Nd}]`],["alpha",be`\p{Alpha}`],["ascii",be`\p{ASCII}`],["blank",be`[\p{Zs}\t]`],["cntrl",be`\p{Cc}`],["digit",be`\p{Nd}`],["graph",be`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",be`\p{Lower}`],["print",be`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",be`[\p{P}\p{S}]`],["space",be`\p{space}`],["upper",be`\p{Upper}`],["word",be`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",be`\p{AHex}`]]);function uR(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function vr(e){const t=yt(e);return[t.toLowerCase(),t]}function uc(e,t){return uR(e,t).map(n=>vr(n))}var pv=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function fR(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};hv(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Iu(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};Io(e,dR,r);const s={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},o={currentFlags:s,prevFlags:null,globalFlags:s,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};Io(e,pR,o);const i={groupsByName:o.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:o.reffedNodesByReferencer};return Io(e,hR,i),e._originMap=o.groupOriginByCopy,e._strategy=r.strategy,e}var dR={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:s}=e;if(s==="repeater"){const o=gn();o.body[0].body.push(Ur({negate:!0,body:r}),bs("Any"));const i=gn();i.body[0].body.push(ov("greedy",0,1/0,o)),n(st(i,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const s=e.body.filter(o=>o.kind==="flags");for(let o=n+1;o<t.body.length;o++){const i=t.body[o];Qo(r,i,[]).push(...s)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=mv(t.get(e));if(n){const r=gn({flags:n});r.body[0].body=e.body,e.body=[st(r,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:s,remove:o,replaceWith:i},a){const{kind:l,negate:u}=e,{asciiWordBoundaries:c,avoidSubclass:f,supportedGNodes:p,wordIsAscii:d}=a;if(l==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${u?"Y":"y"}"`);if(l==="line_end")i(st(Ur({body:[ss({body:[Au("string_end")]}),ss({body:[bl(10)]})]}),t));else if(l==="line_start")i(st(Jn(be`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(l==="search_start")if(p.has(e))s.flags.sticky=!0,o();else{const h=r[n-1];if(h&&wR(h))i(st(Ur({negate:!0}),t));else{if(f)throw new Error(be`Uses "\G" in a way that requires a subclass`);i(br(Au("string_start"),t)),a.strategy="clip_search"}}else if(!(l==="string_end"||l==="string_start"))if(l==="string_end_newline")i(st(Jn(be`(?=\n?\z)`),t));else if(l==="word_boundary"){if(!d&&!c){const h=`(?:(?<=${Yn})(?!${Yn})|(?<!${Yn})(?=${Yn}))`,g=`(?:(?<=${Yn})(?=${Yn})|(?<!${Yn})(?!${Yn}))`;i(st(Jn(u?g:h),t))}}else throw new Error(`Unexpected assertion kind "${l}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!dc(n)&&(n=fc(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!dc(r)&&(r=fc(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=Ji({body:[e]});n(st(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:s,digitIsAscii:o,spaceIsAscii:i,wordIsAscii:a}){const{kind:l,negate:u,value:c}=e;if(o&&(l==="digit"||c==="digit")){n(br(Pu("digit",{negate:u}),t));return}if(i&&(l==="space"||c==="space")){n(st(pc(Jn(sR),u),t));return}if(a&&(l==="word"||c==="word")){n(br(Pu("word",{negate:u}),t));return}if(l==="any")n(br(bs("Any"),t));else if(l==="digit")n(br(bs("Nd",{negate:u}),t));else if(l!=="dot")if(l==="text_segment"){if(r==="strict")throw new Error(be`Use of "\X" requires non-strict accuracy`);const f="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",p=be`\p{RI}{2}|${f}(?:\u200D${f})*`;n(st(Jn(be`(?>\r\n|${s?be`\p{RGI_Emoji}`:p}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")n(br(bs("AHex",{negate:u}),t));else if(l==="newline")n(st(Jn(u?`[^
186
+ ]`:`(?>\r
187
+ ?|[
188
+ \v\f…\u2028\u2029])`),t));else if(l==="posix")if(!s&&(c==="graph"||c==="print")){if(r==="strict")throw new Error(`POSIX class "${c}" requires min target ES2024 or non-strict accuracy`);let f={graph:"!-~",print:" -~"}[c];u&&(f=`\0-${yt(f.codePointAt(0)-1)}${yt(f.codePointAt(2)+1)}-􏿿`),n(st(Jn(`[${f}]`),t))}else n(st(pc(Jn(cR.get(c)),u),t));else if(l==="property")jf.has(wl(c))||(e.key="sc");else if(l==="space")n(br(bs("space",{negate:u}),t));else if(l==="word")n(st(pc(Jn(Yn),u),t));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:s,removeAllPrevSiblings:o,removeAllNextSiblings:i}){const{kind:a,flags:l}=e;if(a==="flags")if(!l.enable&&!l.disable)r();else{const u=gn({flags:l});u.body[0].body=i(),s(st(u,t),{traverse:!0})}else if(a==="keep"){const u=n.body[0],f=n.body.length===1&&nv(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:n;if(t.parent!==f||f.body.length>1)throw new Error(be`Uses "\K" in a way that's unsupported`);const p=Ur({behind:!0});p.body[0].body=o(),s(st(p,t))}else throw new Error(`Unexpected directive kind "${a}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t?.extended&&delete t.extended,n?.extended&&delete n.extended,t?.dotAll&&n?.dotAll&&delete t.dotAll,t?.ignoreCase&&n?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(st(Ur({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=gn();t.body[0].body.push(e.body),e.body=st(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,s=!1;for(const o of e.body)if(o.body.length===1&&o.body[0].kind==="search_start")o.body.pop();else{const i=vv(o.body);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):s=!0}r&&!s&&n.forEach(o=>t.add(o))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(be`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!dc(n)&&(n=fc(n,t),e.ref=n)}},pR={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:s}=e;r||n.set(e,[...t.get(s).map(({node:o})=>o)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:s,groupsByName:o,multiplexCapturesToLeftByRef:i,openRefs:a,reffedNodesByReferencer:l}){const u=s.get(e);if(u&&a.has(e.number)){const f=br(Wh(e.number),t);l.set(f,a.get(e.number)),n(f);return}a.set(e.number,e),i.set(e.number,[]),e.name&&Qo(i,e.name,[]);const c=i.get(e.name??e.number);for(let f=0;f<c.length;f++){const p=c[f];if(u===p.node||u&&u===p.origin||e===p.origin){c.splice(f,1);break}}if(i.get(e.number).push({node:e,origin:u}),e.name&&i.get(e.name).push({node:e,origin:u}),e.name){const f=Qo(o,e.name,new Map);let p=!1;if(u)p=!0;else for(const d of f.values())if(!d.hasDuplicateNameToRemove){p=!0;break}o.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:p})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=Na(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:s,ref:o}=e;if(s){let c=t;for(;(c=c.parent)&&!(c.type==="CapturingGroup"&&(c.name===o||c.number===o)););r.reffedNodesByReferencer.set(e,c);return}const i=r.subroutineRefMap.get(o),a=o===0,l=a?Wh(0):gv(i,r.groupOriginByCopy,null);let u=l;if(!a){const c=mv(yR(i,p=>p.type==="Group"&&!!p.flags)),f=c?Na(r.globalFlags,c):r.globalFlags;gR(f,r.currentFlags)||(u=gn({flags:vR(f)}),u.body[0].body.push(l))}n(st(u,t),{traverse:!a})}},hR={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const o=r.reffedNodesByReferencer.get(e).filter(i=>mR(i,e));if(!o.length)n(st(Ur({negate:!0}),t));else if(o.length>1){const i=gn({atomic:!0,body:o.reverse().map(a=>ss({body:[Tu(a.number)]}))});n(st(i,t))}else e.ref=o[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const s=sv();e.body.at(-1).body.push(s)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function hv(e){Io(e,{"*"({node:t,parent:n}){t.parent=n}})}function gR(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function mR(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=yv(n.parent);for(const s of r){if(s===n)break;if(s===e||bv(s,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function gv(e,t,n,r){const s=Array.isArray(e)?[]:{};for(const[o,i]of Object.entries(e))o==="parent"?s.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?s[o]=gv(i,t,s,n):(o==="type"&&i==="CapturingGroup"&&t.set(s,t.get(e)??e),s[o]=i);return s}function Wh(e){const t=iv(e);return t.isRecursive=!0,t}function yR(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function fc(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function mv(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(s=>{r.enable?.[s]&&(delete n.disable[s],n.enable[s]=!0),r.disable?.[s]&&(n.disable[s]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function vR({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function yv(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function vv(e){const t=e.find(n=>n.kind==="search_start"||xR(n,{negate:!1})||!bR(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const s=vv(r.body);if(!s)return null;Array.isArray(s)?n.push(...s):n.push(s)}return n}return null}function bv(e,t){const n=yv(e)??[];for(const r of n)if(r===t||bv(r,t))return!0;return!1}function bR({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function wR(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function xR(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&nv(e.body[0],{type:"Assertion",kind:"search_start"})}function dc(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Jn(e,t){const r=rv(e,{...t,unicodePropertyMap:jf}).body;return r.length>1||r[0].body.length>1?gn({body:r}):r[0].body[0]}function pc(e,t){return e.negate=t,e}function br(e,t){return e.parent=t,e}function st(e,t){return hv(e),e.parent=t,e}function _R(e,t){const n=fv(t),r=Iu(n.target,"ES2024"),s=Iu(n.target,"ES2025"),o=n.rules.recursionLimit;if(!Number.isInteger(o)||o<2||o>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,a=null;if(!s){const d=[e.flags.ignoreCase];Io(e,CR,{getCurrentModI:()=>d.at(-1),popModI(){d.pop()},pushModI(h){d.push(h)},setHasCasedChar(){d.at(-1)?i=!0:a=!0}})}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let u=e;const c={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:u,originMap:e._originMap,recursionLimit:o,useAppliedIgnoreCase:!!(!s&&i&&a),useFlagMods:s,useFlagV:r,verbose:n.verbose};function f(d){return c.lastNode=u,u=d,nR(kR[d.type],`Unexpected node type "${d.type}"`)(d,c,f)}const p={pattern:e.body.map(f).join("|"),flags:f(e.flags),options:{...e.options}};return r||(delete p.options.force.v,p.options.disable.v=!0,p.options.unicodeSetsPlugin=null),p._captureTransfers=new Map,p._hiddenCaptures=[],c.captureMap.forEach((d,h)=>{d.hidden&&p._hiddenCaptures.push(h),d.transferTo&&Qo(p._captureTransfers,d.transferTo,[]).push(h)}),p}var CR={"*":{enter({node:e},t){if(Xh(e)){const n=t.getCurrentModI();t.pushModI(e.flags?Na({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){Xh(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){qf(yt(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),wv(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&pv.has(e.value)&&t.setHasCasedChar()}},kR={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?be`\B`:be`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:s,number:o}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,o>a.number&&(i.transferTo=a.number)),t.captureMap.set(o,i),`(${s?`?<${s}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=yt(e),r=hs(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&qf(n)){const s=dv(n);return t.inCharClass?s.join(""):s.length>1?`[${s.join("")}]`:s[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:s,parent:o}=e;let{body:i}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");vn.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&i.some(Yh)&&(i=[bl(45),...i.filter(u=>!Yh(u))]);const a=()=>`[${s?"^":""}${i.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||vn.bugNestedClassIgnoresNegation)&&!s){const c=i.filter(f=>f.type==="CharacterClass"&&f.kind==="union"&&f.negate);if(c.length){const f=gn(),p=f.body[0];return f.parent=o,p.parent=f,i=i.filter(d=>!c.includes(d)),e.body=i,i.length?(e.parent=p,p.body.push(e)):f.body.pop(),c.forEach(d=>{const h=ss({body:[d]});d.parent=h,h.parent=f,f.body.push(h)}),n(f)}}t.inCharClass=!0;const u=a();return t.inCharClass=!1,u}const l=i[0];if(r==="union"&&!s&&l&&((!t.useFlagV||!t.verbose)&&o.kind==="union"&&!(vn.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&o.kind==="intersection"&&i.length===1&&l.type!=="CharacterClassRange"))return i.map(n).join("");if(!t.useFlagV&&o.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return a()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,s={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},o=hs(n,s),i=hs(r,s),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=wv(e);PR(l).forEach(c=>{a.add(Array.isArray(c)?`${hs(c[0],s)}-${hs(c[1],s)}`:hs(c,s))})}return`${o}-${i}${[...a].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},s){if(e==="dot")return s.currentFlags.dotAll?s.appliedGlobalFlags.dotAll||s.useFlagMods?".":"[^]":be`[^\n]`;if(e==="digit")return t?be`\D`:be`\d`;if(e==="property"){if(s.useAppliedIgnoreCase&&s.currentFlags.ignoreCase&&pv.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?be`\P`:be`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?be`\W`:be`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},s,o){const i=s.currentFlags;n&&(s.currentFlags=Na(i,n));const a=t.map(o).join("|"),l=!s.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!s.useFlagMods||!n)?a:`(?${RR(e,n,s.useFlagMods)}${a})`;return s.currentFlags=i,l},LookaroundAssertion({body:e,kind:t,negate:n},r,s){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(s).join("|")})`},Quantifier(e,t,n){return n(e.body)+IR(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:be`\g<${t}&R=${r}>`}},SR=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),ER=new Set(["-","\\","]","^","["]),AR=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),Kh=new Map([[9,be`\t`],[10,be`\n`],[11,be`\v`],[12,be`\f`],[13,be`\r`],[8232,be`\u2028`],[8233,be`\u2029`],[65279,be`\uFEFF`]]),TR=new RegExp("^\\p{Cased}$","u");function qf(e){return TR.test(e)}function wv(e,t){const n=!!t?.firstOnly,r=e.min.value,s=e.max.value,o=[];if(r<65&&(s===65535||s>=131071)||r===65536&&s>=131071)return o;for(let i=r;i<=s;i++){const a=yt(i);if(!qf(a))continue;const l=dv(a).filter(u=>{const c=u.codePointAt(0);return c<r||c>s});if(l.length&&(o.push(...l),n))break}return o}function hs(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(Kh.has(e))return Kh.get(e);if(e<32||e>126&&e<160||e>262143||t&&OR(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const s=n?r?AR:ER:SR,o=yt(e);return(s.has(o)?"\\":"")+o}function PR(e){const t=e.map(s=>s.codePointAt(0)).sort((s,o)=>s-o),n=[];let r=null;for(let s=0;s<t.length;s++)t[s+1]===t[s]+1?r??=t[s]:r===null?n.push(t[s]):(n.push([r,t[s]]),r=null);return n}function RR(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:s,disable:o}=t;r=(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")+(o?"-":"")+(o?.ignoreCase?"i":"")+(o?.dotAll?"s":"")}return`${r}:`}function IR({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}function Xh({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function OR(e){return e>47&&e<58}function Yh({type:e,value:t}){return e==="Character"&&t===45}var MR=class Ou extends RegExp{#e=new Map;#t=null;#r;#n=null;#s=null;rawOptions={};get source(){return this.#r||"(?:)"}constructor(t,n,r){const s=!!r?.lazyCompile;if(t instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const o=t;super(o,n),this.#r=o.source,o instanceof Ou&&(this.#e=o.#e,this.#n=o.#n,this.#s=o.#s,this.rawOptions=o.rawOptions)}else{const o={hiddenCaptures:[],strategy:null,transfers:[],...r};super(s?"":t,n),this.#r=t,this.#e=LR(o.hiddenCaptures,o.transfers),this.#s=o.strategy,this.rawOptions=r??{}}s||(this.#t=this)}exec(t){if(!this.#t){const{lazyCompile:s,...o}=this.rawOptions;this.#t=new Ou(this.#r,this.flags,o)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#s==="clip_search"&&n&&r){this.lastIndex=0;const s=this.#o(t.slice(r));return s&&(NR(s,r,t,this.hasIndices),this.lastIndex+=r),s}return this.#o(t)}#o(t){this.#t.lastIndex=this.lastIndex;const n=super.exec.call(this.#t,t);if(this.lastIndex=this.#t.lastIndex,!n||!this.#e.size)return n;const r=[...n];n.length=1;let s;this.hasIndices&&(s=[...n.indices],n.indices.length=1);const o=[0];for(let i=1;i<r.length;i++){const{hidden:a,transferTo:l}=this.#e.get(i)??{};if(a?o.push(null):(o.push(n.length),n.push(r[i]),this.hasIndices&&n.indices.push(s[i])),l&&r[i]!==void 0){const u=o[l];if(!u)throw new Error(`Invalid capture transfer to "${u}"`);if(n[u]=r[i],this.hasIndices&&(n.indices[u]=s[i]),n.groups){this.#n||(this.#n=$R(this.source));const c=this.#n.get(l);c&&(n.groups[c]=r[i],this.hasIndices&&(n.indices.groups[c]=s[i]))}}}return n}};function NR(e,t,n,r){if(e.index+=t,e.input=n,r){const s=e.indices;for(let i=0;i<s.length;i++){const a=s[i];a&&(s[i]=[a[0]+t,a[1]+t])}const o=s.groups;o&&Object.keys(o).forEach(i=>{const a=o[i];a&&(o[i]=[a[0]+t,a[1]+t])})}}function LR(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,s]of t)for(const o of s)Qo(n,o,{}).transferTo=r;return n}function $R(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,s=0,o;for(;o=t.exec(e);){const{0:i,groups:{capture:a,name:l}}=o;i==="["?r++:r?i==="]"&&r--:a&&(s++,l&&n.set(s,l))}return n}function DR(e,t){const n=BR(e,t);return n.options?new MR(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function BR(e,t){const n=fv(t),r=rv(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:jf}),s=fR(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),o=_R(s,n),i=eR(o.pattern,{captureTransfers:o._captureTransfers,hiddenCaptures:o._hiddenCaptures,mode:"external"}),a=QP(i.pattern),l=JP(a.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),u={pattern:l.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${o.flags}${o.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const c=l.hiddenCaptures.sort((h,g)=>h-g),f=Array.from(l.captureTransfers),p=s._strategy,d=u.pattern.length>=n.lazyCompileLength;(c.length||f.length||p||d)&&(u.options={...c.length&&{hiddenCaptures:c},...f.length&&{transfers:f},...p&&{strategy:p},...d&&{lazyCompile:d}})}return u}function FR(e,t){return DR(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function jR(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>FR(n,{target:t.target}),{createScanner(n){return new tP(n,t)},createString(n){return{content:n}}}}const La=J();async function qR(e={}){const t=[an(()=>import("./B8PEiB0p.js"),[],import.meta.url),an(()=>import("./Cp-IABpG.js"),[],import.meta.url),an(()=>import("./wDzz0qaB.js"),[],import.meta.url)];return e.extraLangs&&t.push(...e.extraLangs),La.value=await eP({themes:[an(()=>import("./CVO1_9PV.js"),[],import.meta.url),an(()=>import("./D0r3Knsf.js"),[],import.meta.url)],langs:t,engine:jR()}).catch(n=>{console.warn("[nuxt-scripts] Failed to load shiki highlighter:",n)}),La.value}function oI(e,t){return P(()=>La.value&&La.value.codeToHtml(je(e)||"",{lang:t,themes:{light:"vitesse-light",dark:"vitesse-dark"}})||"")}const zR=me({__name:"app",async setup(e){let t,n;[t,n]=id(()=>qR()),await t,n(),[t,n]=id(()=>y4()),await t,n();const r=sf(),s=P(()=>{const a=r.path;return a.startsWith("/first-party")?"first-party":a.startsWith("/registry")?"registry":a.startsWith("/docs")?"docs":"scripts"}),o=[{value:"scripts",to:"/",icon:"carbon:script",label:"Scripts",devOnly:!1},{value:"first-party",to:"/first-party",icon:"carbon:security",label:"First-Party Mode",devOnly:!0},{value:"registry",to:"/registry",icon:"carbon:catalog",label:"Registry",devOnly:!0},{value:"docs",to:"/docs",icon:"carbon:book",label:"Docs",devOnly:!1}],i=P(()=>tf.value);return(a,l)=>{const u=U7,c=dE;return D(),X(c,{"active-tab":s.value,title:"Scripts",icon:"carbon:script",version:i.value,"nav-items":o,"github-url":"https://github.com/nuxt/scripts",loading:!1},{default:Z(()=>[re(u)]),_:1},8,["active-tab","version"])}}}),HR={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error,r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=s?wc(()=>an(()=>import("./ajngqPCs.js"),__vite__mapDeps([6,7]),import.meta.url)):wc(()=>an(()=>import("./B3kN3DAy.js"),__vite__mapDeps([8,9]),import.meta.url));return(f,p)=>(D(),X(_(c),Vt(En({status:_(r),statusText:_(o),statusCode:_(r),statusMessage:_(o),description:_(i),stack:_(a)})),null,16))}},VR={key:0},Jh={__name:"nuxt-root",setup(e){const t=()=>null,n=ze(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Ut().beforeEach(u)}const s=!1;Zt(el,sf()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=tl(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;Yg((u,c,f)=>{if(n.hooks.callHook("vue:error",u,c,f)?.catch(p=>console.error("[nuxt] Error in `vue:error` hook",p)),a.test(navigator.userAgent))return n.hooks.callHook("app:error",u),console.error(`[nuxt] Not rendering error page for bot with user agent \`${navigator.userAgent}\`:`,u),!1;if(km(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>zr(u)),!1});const l=!1;return(u,c)=>(D(),X(w0,{onResolve:_(r)},{default:Z(()=>[_(i)?(D(),Ee("div",VR)):_(o)?(D(),X(_(HR),{key:1,error:_(o)},null,8,["error"])):_(l)?(D(),X(_(t),{key:2,context:_(l)},null,8,["context"])):_(s)?(D(),X(Nn(_(s)),{key:3})):(D(),X(_(zR),{key:4}))]),_:1},8,["onResolve"]))}};let Qh;{let e;Qh=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?Xb(Jh):Kb(Jh),s=F4({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=kr(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&Hd.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Hd.id)?.remove()});try{await z4(s,H7)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount($4),await s.hooks.callHook("app:mounted",r),await At()}catch(i){o(i)}return r},e=Qh().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{bn as A,UR as B,Po as C,oI as D,ce as E,qe as F,Dd as G,tI as H,WR as I,YR as J,XR as K,Fd as L,JR as M,Bd as N,eI as O,ZR as P,GR as Q,QR as R,nI as S,J as T,ol as _,xe as a,re as b,Ee as c,Ft as d,ly as e,me as f,X as g,_ as h,Ls as i,Sn as j,E0 as k,$k as l,Ce as m,ke as n,D as o,Yf as p,_t as q,Ar as r,dm as s,Je as t,Tm as u,xd as v,Z as w,P as x,KR as y,d4 as z};