@nuxt/scripts 1.0.0-beta.7 → 1.0.0-rc.10
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.
- package/bin/cli.mjs +2 -0
- package/dist/cli.d.mts +2 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.mjs +50 -0
- package/dist/devtools-client/200.html +1 -0
- package/dist/devtools-client/404.html +1 -0
- package/dist/devtools-client/_fonts/4ppnHhMi-pBsWSPo7mY0avYxlDoAg1N3PTzCwXLZ5rA-d9oibkGnTd1JL3tc_xnaVgBLYmOB8kjrK2cvZaqwj9s.woff2 +0 -0
- package/dist/devtools-client/_fonts/4qBuU9MRVUlPZNPSF7Xom_sK8RBEnfYu-9VXFrdq8A8-8TDwLE1HAj1sQn7XxVWtM_7sIaPM-DTdO3Pf8U2DF1U.woff2 +0 -0
- package/dist/devtools-client/_fonts/6dYsbWUd_BpKJ7mdDihgOcya1gHXLpJBuMYXux3WMjE-q3fYNS8YbW5n7ZeXI2vSNgkRWW5VDPKAl51SNTjG2qk.woff2 +0 -0
- package/dist/devtools-client/_fonts/Lr-hqqZZsYmCt0ITUlr1CUrWim9fsKvoDFZliMxgNHY-iTa_Yt_PzhOY9TX7ZXdSlEPim6iRt92xhECwaxWxd5w.woff2 +0 -0
- package/dist/devtools-client/_fonts/OknHvWI6KtYn1JQBzX7eSpNDBQ8520F9TvSUJYkVf6A-xeZn9253svK_8Q2LD0XEruY_MnEsuCRO5LenPoggC0Y.woff2 +0 -0
- package/dist/devtools-client/_fonts/PV2hrQG6wq5BlIPDjdL1IcOflycaghyt5MHzlBqZtlo-lb_WexLz3VZqfTN0oi554iBH5tT2j2UFEV-XErCAS3E.woff2 +0 -0
- package/dist/devtools-client/_fonts/UA7OtwYHwGN_HjcVGTdmiQxUit7FlqkCwxVUWSeXVnQ-B4OXCFOL_tWrYODpQTc07aMaj0c2cewTOmBRWR9tD-A.woff2 +0 -0
- package/dist/devtools-client/_fonts/VE4cDVCv5MxbFM7ZLoLCGbIpNd71zhp7MDI9lmN5Y7I-xZyDYCUVrd6LV8eVGF3Um3UZjBFuUtDGtvdyTBBRYBo.woff2 +0 -0
- package/dist/devtools-client/_fonts/fVoGbnMbBFd5L9BBp9fUPavUSkZ_EmsQNSyadkT-108-U4T0khaeLQSIhtt9eVvaCEKJjtWJ4ioRJOf8hvqkWY0.woff2 +0 -0
- package/dist/devtools-client/_fonts/lQAxeCEs1R0Lw-H9XRU1RlOARQN8J6npRsPjyEDMe5s-_DUSLEkO3tKTuun_gSnDLoQPVEnpOnyqZMOw0ByZ6PA.woff2 +0 -0
- package/dist/devtools-client/_fonts/lntlqNHKLV2n82yTwMde70QqOjcfLE2XJ5oKZ3vRPWc-z6TxpIZQdWXztWLr9_OFWqt_WJJoeGtuK_-XQMZGQwE.woff2 +0 -0
- package/dist/devtools-client/_fonts/qxAYvKsXWeYv731eb-h5TRurcdIP_W44mpNdX-HABAk-zUDeMEFlNtNbrwvT9JxLEBg0TphGy70O6RfIoIX_ZwU.woff2 +0 -0
- package/dist/devtools-client/_nuxt/B8PEiB0p.js +1 -0
- package/dist/devtools-client/_nuxt/BgPDxVUn.js +1 -0
- package/dist/devtools-client/_nuxt/BmlapxLP.js +1 -0
- package/dist/devtools-client/_nuxt/CM2vefXI.js +188 -0
- package/dist/devtools-client/_nuxt/DAF5Qk9P.js +1 -0
- package/dist/devtools-client/_nuxt/Dx6HhVmj.js +1 -0
- package/dist/devtools-client/_nuxt/S8LiR9M1.js +1 -0
- package/dist/devtools-client/_nuxt/builds/latest.json +1 -0
- package/dist/devtools-client/_nuxt/builds/meta/5458a3f2-af35-479c-8852-bf6f92fed611.json +1 -0
- package/dist/devtools-client/_nuxt/entry.BKkVrcJj.css +1 -0
- package/dist/devtools-client/_nuxt/error-404.d44aGwWI.css +1 -0
- package/dist/devtools-client/_nuxt/error-500.NthMfIEt.css +1 -0
- package/dist/devtools-client/_nuxt/first-party.C8Ha4JLM.css +1 -0
- package/dist/devtools-client/_nuxt/index.DZD1lwyI.css +1 -0
- package/dist/devtools-client/_nuxt/registry.B9lnjF_b.css +1 -0
- package/dist/devtools-client/_nuxt/vBkR1GJq.js +1 -0
- package/dist/devtools-client/_nuxt/wDzz0qaB.js +1 -0
- package/dist/devtools-client/docs/index.html +1 -0
- package/dist/devtools-client/first-party/index.html +1 -0
- package/dist/devtools-client/index.html +1 -0
- package/dist/devtools-client/registry/index.html +1 -0
- package/dist/module.d.mts +89 -80
- package/dist/module.d.ts +185 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1056 -756
- package/dist/registry.d.mts +92 -4
- package/dist/registry.d.ts +94 -0
- package/dist/registry.mjs +668 -326
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +77 -165
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +148 -227
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +77 -165
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +6 -55
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +12 -83
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +6 -55
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.d.vue.ts +5 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue +24 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue.d.ts +5 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.d.vue.ts +43 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue +60 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue.d.ts +43 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.d.vue.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +22 -26
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue.d.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.d.vue.ts +11 -8
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue +57 -57
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue.d.ts +11 -8
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.d.vue.ts +24 -42
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +71 -74
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue.d.ts +24 -42
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +19 -20
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +85 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +19 -20
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.d.vue.ts +98 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue +263 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue.d.ts +98 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.d.vue.ts +10 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +9 -41
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue.d.ts +10 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue +23 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue +23 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue +24 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.d.vue.ts +200 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.vue +170 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsStaticMap.vue.d.ts +200 -0
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.d.ts +13 -0
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.js +8 -0
- package/dist/runtime/components/GoogleMaps/injectionKeys.d.ts +10 -0
- package/dist/runtime/components/GoogleMaps/injectionKeys.js +2 -0
- package/dist/runtime/components/GoogleMaps/types.d.ts +42 -0
- package/dist/runtime/components/GoogleMaps/types.js +1 -0
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.d.ts +98 -0
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.js +126 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.d.vue.ts +83 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.vue +91 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.vue.d.ts +83 -0
- package/dist/runtime/components/ScriptCarbonAds.d.vue.ts +4 -7
- package/dist/runtime/components/ScriptCarbonAds.vue +1 -0
- package/dist/runtime/components/ScriptCarbonAds.vue.d.ts +4 -7
- package/dist/runtime/components/ScriptCrisp.d.vue.ts +7 -11
- package/dist/runtime/components/ScriptCrisp.vue +2 -1
- package/dist/runtime/components/ScriptCrisp.vue.d.ts +7 -11
- package/dist/runtime/components/ScriptGoogleAdsense.d.vue.ts +4 -7
- package/dist/runtime/components/ScriptGoogleAdsense.vue +2 -1
- package/dist/runtime/components/ScriptGoogleAdsense.vue.d.ts +4 -7
- package/dist/runtime/components/ScriptGravatar.d.vue.ts +22 -0
- package/dist/runtime/components/ScriptGravatar.vue +46 -0
- package/dist/runtime/components/ScriptGravatar.vue.d.ts +22 -0
- package/dist/runtime/components/ScriptInstagramEmbed.d.vue.ts +12 -15
- package/dist/runtime/components/ScriptInstagramEmbed.vue +11 -3
- package/dist/runtime/components/ScriptInstagramEmbed.vue.d.ts +12 -15
- package/dist/runtime/components/ScriptIntercom.d.vue.ts +7 -11
- package/dist/runtime/components/ScriptIntercom.vue +5 -3
- package/dist/runtime/components/ScriptIntercom.vue.d.ts +7 -11
- package/dist/runtime/components/ScriptLemonSqueezy.d.vue.ts +2 -3
- package/dist/runtime/components/ScriptLemonSqueezy.vue +1 -0
- package/dist/runtime/components/ScriptLemonSqueezy.vue.d.ts +2 -3
- package/dist/runtime/components/ScriptPayPalButtons.d.vue.ts +43 -37
- package/dist/runtime/components/ScriptPayPalButtons.vue +49 -79
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +43 -37
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +37 -28
- package/dist/runtime/components/ScriptPayPalMessages.vue +47 -50
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +37 -28
- package/dist/runtime/components/ScriptStripePricingTable.d.vue.ts +5 -9
- package/dist/runtime/components/ScriptStripePricingTable.vue +3 -2
- package/dist/runtime/components/ScriptStripePricingTable.vue.d.ts +5 -9
- package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +17 -11
- package/dist/runtime/components/ScriptVimeoPlayer.vue +14 -10
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +17 -11
- package/dist/runtime/components/ScriptXEmbed.d.vue.ts +10 -14
- package/dist/runtime/components/ScriptXEmbed.vue +21 -12
- package/dist/runtime/components/ScriptXEmbed.vue.d.ts +10 -14
- package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +10 -15
- package/dist/runtime/components/ScriptYouTubePlayer.vue +12 -5
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +10 -15
- package/dist/runtime/composables/useScript.js +159 -8
- package/dist/runtime/composables/useScriptEventPage.js +2 -2
- package/dist/runtime/composables/useScriptProxyToken.d.ts +12 -0
- package/dist/runtime/composables/useScriptProxyToken.js +4 -0
- package/dist/runtime/composables/useScriptProxyUrl.d.ts +12 -0
- package/dist/runtime/composables/useScriptProxyUrl.js +27 -0
- package/dist/runtime/composables/useScriptTriggerConsent.d.ts +10 -0
- package/dist/runtime/composables/useScriptTriggerConsent.js +33 -20
- package/dist/runtime/composables/useScriptTriggerElement.js +1 -1
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +1 -1
- package/dist/runtime/devtools-standalone-bridge.client.d.ts +8 -0
- package/dist/runtime/devtools-standalone-bridge.client.js +50 -0
- package/dist/runtime/plugins/proxy-token.server.d.ts +10 -0
- package/dist/runtime/plugins/proxy-token.server.js +17 -0
- package/dist/runtime/registry/bing-uet.d.ts +198 -0
- package/dist/runtime/registry/bing-uet.js +43 -0
- package/dist/runtime/registry/bluesky-embed.d.ts +112 -0
- package/dist/runtime/registry/bluesky-embed.js +68 -0
- package/dist/runtime/registry/clarity.d.ts +16 -17
- package/dist/runtime/registry/clarity.js +33 -31
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +2 -13
- package/dist/runtime/registry/cloudflare-web-analytics.js +2 -14
- package/dist/runtime/registry/crisp.d.ts +10 -40
- package/dist/runtime/registry/crisp.js +2 -33
- package/dist/runtime/registry/databuddy-analytics.d.ts +2 -35
- package/dist/runtime/registry/databuddy-analytics.js +20 -45
- package/dist/runtime/registry/fathom-analytics.d.ts +7 -26
- package/dist/runtime/registry/fathom-analytics.js +3 -25
- package/dist/runtime/registry/google-adsense.d.ts +3 -11
- package/dist/runtime/registry/google-adsense.js +2 -11
- package/dist/runtime/registry/google-analytics.d.ts +9 -7
- package/dist/runtime/registry/google-analytics.js +15 -9
- package/dist/runtime/registry/google-maps.d.ts +3 -9
- package/dist/runtime/registry/google-maps.js +2 -8
- package/dist/runtime/registry/google-recaptcha.d.ts +2 -6
- package/dist/runtime/registry/google-recaptcha.js +4 -12
- package/dist/runtime/registry/google-sign-in.d.ts +2 -13
- package/dist/runtime/registry/google-sign-in.js +2 -22
- package/dist/runtime/registry/google-tag-manager.d.ts +8 -29
- package/dist/runtime/registry/google-tag-manager.js +14 -28
- package/dist/runtime/registry/gravatar.d.ts +26 -0
- package/dist/runtime/registry/gravatar.js +33 -0
- package/dist/runtime/registry/hotjar.d.ts +4 -6
- package/dist/runtime/registry/hotjar.js +2 -5
- package/dist/runtime/registry/instagram-embed.d.ts +3 -18
- package/dist/runtime/registry/instagram-embed.js +4 -19
- package/dist/runtime/registry/intercom.d.ts +5 -13
- package/dist/runtime/registry/intercom.js +2 -12
- package/dist/runtime/registry/matomo-analytics.d.ts +12 -15
- package/dist/runtime/registry/matomo-analytics.js +31 -13
- package/dist/runtime/registry/meta-pixel.d.ts +12 -8
- package/dist/runtime/registry/meta-pixel.js +12 -5
- package/dist/runtime/registry/mixpanel-analytics.d.ts +32 -0
- package/dist/runtime/registry/mixpanel-analytics.js +58 -0
- package/dist/runtime/registry/npm.d.ts +3 -7
- package/dist/runtime/registry/npm.js +2 -9
- package/dist/runtime/registry/paypal.d.ts +4 -25
- package/dist/runtime/registry/paypal.js +3 -66
- package/dist/runtime/registry/plausible-analytics.js +19 -14
- package/dist/runtime/registry/posthog.d.ts +18 -14
- package/dist/runtime/registry/posthog.js +18 -16
- package/dist/runtime/registry/reddit-pixel.d.ts +5 -6
- package/dist/runtime/registry/reddit-pixel.js +2 -4
- package/dist/runtime/registry/rybbit-analytics.d.ts +2 -14
- package/dist/runtime/registry/rybbit-analytics.js +10 -20
- package/dist/runtime/registry/schemas.d.ts +1047 -0
- package/dist/runtime/registry/schemas.js +1004 -0
- package/dist/runtime/registry/segment.d.ts +2 -5
- package/dist/runtime/registry/segment.js +2 -5
- package/dist/runtime/registry/snapchat-pixel.d.ts +5 -34
- package/dist/runtime/registry/snapchat-pixel.js +2 -20
- package/dist/runtime/registry/stripe.d.ts +3 -4
- package/dist/runtime/registry/stripe.js +2 -4
- package/dist/runtime/registry/tiktok-pixel.d.ts +20 -9
- package/dist/runtime/registry/tiktok-pixel.js +24 -7
- package/dist/runtime/registry/umami-analytics.d.ts +2 -31
- package/dist/runtime/registry/umami-analytics.js +2 -36
- package/dist/runtime/registry/vercel-analytics.d.ts +29 -0
- package/dist/runtime/registry/vercel-analytics.js +84 -0
- package/dist/runtime/registry/vimeo-player.d.ts +2 -2
- package/dist/runtime/registry/vimeo-player.js +1 -1
- package/dist/runtime/registry/x-embed.d.ts +3 -21
- package/dist/runtime/registry/x-embed.js +2 -21
- package/dist/runtime/registry/x-pixel.d.ts +4 -7
- package/dist/runtime/registry/x-pixel.js +2 -5
- package/dist/runtime/registry/youtube-player.d.ts +7 -7
- package/dist/runtime/registry/youtube-player.js +1 -1
- package/dist/runtime/server/bluesky-embed-image.d.ts +2 -0
- package/dist/runtime/server/bluesky-embed-image.js +7 -0
- package/dist/runtime/server/bluesky-embed.d.ts +2 -0
- package/dist/runtime/server/bluesky-embed.js +78 -0
- package/dist/runtime/server/google-maps-geocode-proxy.d.ts +2 -0
- package/dist/runtime/server/google-maps-geocode-proxy.js +38 -0
- package/dist/runtime/server/google-static-maps-proxy.d.ts +1 -1
- package/dist/runtime/server/google-static-maps-proxy.js +18 -23
- package/dist/runtime/server/gravatar-proxy.d.ts +2 -0
- package/dist/runtime/server/gravatar-proxy.js +46 -0
- package/dist/runtime/server/instagram-embed-asset.d.ts +1 -1
- package/dist/runtime/server/instagram-embed-asset.js +8 -41
- package/dist/runtime/server/instagram-embed-image.d.ts +1 -1
- package/dist/runtime/server/instagram-embed-image.js +6 -53
- package/dist/runtime/server/instagram-embed.d.ts +1 -0
- package/dist/runtime/server/instagram-embed.js +82 -40
- package/dist/runtime/server/proxy-handler.js +102 -85
- package/dist/runtime/server/utils/cached-upstream.d.ts +55 -0
- package/dist/runtime/server/utils/cached-upstream.js +65 -0
- package/dist/runtime/server/utils/embed-rewriters.d.ts +19 -0
- package/dist/runtime/server/utils/embed-rewriters.js +41 -0
- package/dist/runtime/server/utils/image-proxy.d.ts +14 -0
- package/dist/runtime/server/utils/image-proxy.js +73 -0
- package/dist/runtime/server/utils/instagram-embed.d.ts +16 -0
- package/dist/runtime/server/utils/instagram-embed.js +153 -0
- package/dist/runtime/server/utils/privacy.d.ts +1 -10
- package/dist/runtime/server/utils/privacy.js +60 -40
- package/dist/runtime/server/utils/proxy-url.d.ts +9 -0
- package/dist/runtime/server/utils/proxy-url.js +21 -0
- package/dist/runtime/server/utils/sign-constants.d.ts +16 -0
- package/dist/runtime/server/utils/sign-constants.js +5 -0
- package/dist/runtime/server/utils/sign.d.ts +101 -0
- package/dist/runtime/server/utils/sign.js +91 -0
- package/dist/runtime/server/utils/withSigning.d.ts +23 -0
- package/dist/runtime/server/utils/withSigning.js +19 -0
- package/dist/runtime/server/x-embed-image.d.ts +1 -1
- package/dist/runtime/server/x-embed-image.js +5 -49
- package/dist/runtime/server/x-embed.js +26 -6
- package/dist/runtime/types.d.ts +311 -55
- package/dist/runtime/types.js +1 -2
- package/dist/runtime/utils/pure.d.ts +1 -1
- package/dist/runtime/utils.d.ts +6 -4
- package/dist/runtime/utils.js +31 -14
- package/dist/stats.d.mts +202 -0
- package/dist/stats.d.ts +202 -0
- package/dist/stats.mjs +3835 -0
- package/dist/types-source.d.mts +17 -0
- package/dist/types-source.d.ts +17 -0
- package/dist/types-source.mjs +3787 -0
- package/dist/types.d.mts +4 -2
- package/package.json +41 -63
- package/README.md +0 -86
- package/dist/client/200.html +0 -1
- package/dist/client/404.html +0 -1
- package/dist/client/_nuxt/BJa0m50V.js +0 -1
- package/dist/client/_nuxt/BPQ3VLAy.js +0 -1
- package/dist/client/_nuxt/Ci5iXYuB.js +0 -1
- package/dist/client/_nuxt/DaI2y8Uz.js +0 -162
- package/dist/client/_nuxt/builds/latest.json +0 -1
- package/dist/client/_nuxt/builds/meta/9b4fb16a-3c62-48b0-8295-126cb077b5d3.json +0 -1
- package/dist/client/_nuxt/entry.D45OuV0w.css +0 -1
- package/dist/client/_nuxt/error-404.B57D-jUQ.css +0 -1
- package/dist/client/_nuxt/error-500.DTHUW7BI.css +0 -1
- package/dist/client/_nuxt/vPLZfVXe.js +0 -1
- package/dist/client/index.html +0 -1
- package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +0 -52
- package/dist/runtime/components/ScriptPayPalMarks.vue +0 -69
- package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +0 -52
- package/dist/runtime/validation/mock.d.ts +0 -42
- package/dist/runtime/validation/mock.js +0 -21
- package/dist/runtime/validation/valibot.d.ts +0 -1
- package/dist/runtime/validation/valibot.js +0 -1
- /package/dist/{client → devtools-client}/_nuxt/CVO1_9PV.js +0 -0
- /package/dist/{client → devtools-client}/_nuxt/Cp-IABpG.js +0 -0
- /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=["./BmlapxLP.js","./first-party.C8Ha4JLM.css","./S8LiR9M1.js","./registry.B9lnjF_b.css","./vBkR1GJq.js","./index.DZD1lwyI.css","./BgPDxVUn.js","./error-404.d44aGwWI.css","./Dx6HhVmj.js","./error-500.NthMfIEt.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 Bu(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Me={},Es=[],Dn=()=>{},og=()=>!1,ri=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ja=e=>e.startsWith("onUpdate:"),ut=Object.assign,Fu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Av=Object.prototype.hasOwnProperty,De=(e,t)=>Av.call(e,t),pe=Array.isArray,As=e=>Us(e)==="[object Map]",ig=e=>Us(e)==="[object Set]",Yf=e=>Us(e)==="[object Date]",Tv=e=>Us(e)==="[object RegExp]",ge=e=>typeof e=="function",Je=e=>typeof e=="string",en=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",ju=e=>(Ne(e)||ge(e))&&ge(e.then)&&ge(e.catch),ag=Object.prototype.toString,Us=e=>ag.call(e),Pv=e=>Us(e).slice(8,-1),lg=e=>Us(e)==="[object Object]",qa=e=>Je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zr=Bu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),za=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Rv=/-\w/g,_t=za(e=>e.replace(Rv,t=>t.slice(1).toUpperCase())),Ov=/\B([A-Z])/g,Or=za(e=>e.replace(Ov,"-$1").toLowerCase()),Ha=za(e=>e.charAt(0).toUpperCase()+e.slice(1)),xo=za(e=>e?`on${Ha(e)}`:""),Rt=(e,t)=>!Object.is(e,t),Co=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},cg=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Iv=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ug=e=>{const t=Je(e)?Number(e):NaN;return isNaN(t)?e:t};let Jf;const Va=()=>Jf||(Jf=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=Je(r)?$v(r):bn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Je(e)||Ne(e))return e}const Mv=/;(?![^(]*\))/g,Nv=/:([^]+)/,Lv=/\/\*[^]*?\*\//g;function $v(e){const t={};return e.replace(Lv,"").split(Mv).forEach(n=>{if(n){const r=n.split(Nv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Se(e){let t="";if(Je(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const r=Se(e[n]);r&&(t+=r+" ")}else if(Ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function tn(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Je(t)&&(e.class=Se(t)),n&&(e.style=bn(n)),e}const Dv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bv=Bu(Dv);function fg(e){return!!e||e===""}function Fv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=qu(e[r],t[r]);return n}function qu(e,t){if(e===t)return!0;let n=Yf(e),r=Yf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=en(e),r=en(t),n||r)return e===t;if(n=pe(e),r=pe(t),n||r)return n&&r?Fv(e,t):!1;if(n=Ne(e),r=Ne(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||!qu(e[i],t[i]))return!1}}return String(e)===String(t)}const dg=e=>!!(e&&e.__v_isRef===!0),Ze=e=>Je(e)?e:e==null?"":pe(e)||Ne(e)&&(e.toString===ag||!ge(e.toString))?dg(e)?Ze(e.value):JSON.stringify(e,pg,2):String(e),pg=(e,t)=>dg(t)?pg(e,t.value):As(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Tl(r,o)+" =>"]=s,n),{})}:ig(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Tl(n))}:en(t)?Tl(t):Ne(t)&&!pe(t)&&!lg(t)?String(t):t,Tl=(e,t="")=>{var n;return en(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Pt;class hg{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 zu(e){return new hg(e)}function si(){return Pt}function Ua(e,t=!1){Pt&&Pt.cleanups.push(e)}let Ke;const Pl=new WeakSet;class gg{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,Pl.has(this)&&(Pl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||yg(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Zf(this),vg(this);const t=Ke,n=yn;Ke=this,yn=!0;try{return this.fn()}finally{bg(this),Ke=t,yn=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Uu(t);this.deps=this.depsTail=void 0,Zf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Pl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bc(this)&&this.run()}get dirty(){return bc(this)}}let mg=0,ko,So;function yg(e,t=!1){if(e.flags|=8,t){e.next=So,So=e;return}e.next=ko,ko=e}function Hu(){mg++}function Vu(){if(--mg>0)return;if(So){let t=So;for(So=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ko;){let t=ko;for(ko=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 vg(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function bg(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Uu(r),jv(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function bc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(wg(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function wg(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Lo)||(e.globalVersion=Lo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!bc(e))))return;e.flags|=2;const t=e.dep,n=Ke,r=yn;Ke=e,yn=!0;try{vg(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{Ke=n,yn=r,bg(e),e.flags&=-3}}function Uu(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)Uu(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function jv(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 _g=[];function or(){_g.push(yn),yn=!1}function ir(){const e=_g.pop();yn=e===void 0?!0:e}function Zf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ke;Ke=void 0;try{t()}finally{Ke=n}}}let Lo=0;class qv{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 Ga{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(!Ke||!yn||Ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ke)n=this.activeLink=new qv(Ke,this),Ke.deps?(n.prevDep=Ke.depsTail,Ke.depsTail.nextDep=n,Ke.depsTail=n):Ke.deps=Ke.depsTail=n,xg(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=Ke.depsTail,n.nextDep=void 0,Ke.depsTail.nextDep=n,Ke.depsTail=n,Ke.deps===n&&(Ke.deps=r)}return n}trigger(t){this.version++,Lo++,this.notify(t)}notify(t){Hu();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Vu()}}}function xg(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)xg(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ta=new WeakMap,Qr=Symbol(""),wc=Symbol(""),$o=Symbol("");function Ot(e,t,n){if(yn&&Ke){let r=ta.get(e);r||ta.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Ga),s.map=r,s.key=n),s.track()}}function tr(e,t,n,r,s,o){const i=ta.get(e);if(!i){Lo++;return}const a=l=>{l&&l.trigger()};if(Hu(),t==="clear")i.forEach(a);else{const l=pe(e),u=l&&qa(n);if(l&&n==="length"){const c=Number(r);i.forEach((f,p)=>{(p==="length"||p===$o||!en(p)&&p>=c)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get($o)),t){case"add":l?u&&a(i.get("length")):(a(i.get(Qr)),As(e)&&a(i.get(wc)));break;case"delete":l||(a(i.get(Qr)),As(e)&&a(i.get(wc)));break;case"set":As(e)&&a(i.get(Qr));break}}Vu()}function zv(e,t){const n=ta.get(e);return n&&n.get(t)}function ms(e){const t=Oe(e);return t===e?t:(Ot(t,"iterate",$o),Jt(e)?t:t.map(wn))}function Wa(e){return Ot(e=Oe(e),"iterate",$o),e}function Mn(e,t){return jn(e)?$s(kr(e)?wn(t):t):wn(t)}const Hv={__proto__:null,[Symbol.iterator](){return Rl(this,Symbol.iterator,e=>Mn(this,e))},concat(...e){return ms(this).concat(...e.map(t=>pe(t)?ms(t):t))},entries(){return Rl(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 Ol(this,"includes",e)},indexOf(...e){return Ol(this,"indexOf",e)},join(e){return ms(this).join(e)},lastIndexOf(...e){return Ol(this,"lastIndexOf",e)},map(e,t){return Un(this,"map",e,t,void 0,arguments)},pop(){return no(this,"pop")},push(...e){return no(this,"push",e)},reduce(e,...t){return Qf(this,"reduce",e,t)},reduceRight(e,...t){return Qf(this,"reduceRight",e,t)},shift(){return no(this,"shift")},some(e,t){return Un(this,"some",e,t,void 0,arguments)},splice(...e){return no(this,"splice",e)},toReversed(){return ms(this).toReversed()},toSorted(e){return ms(this).toSorted(e)},toSpliced(...e){return ms(this).toSpliced(...e)},unshift(...e){return no(this,"unshift",e)},values(){return Rl(this,"values",e=>Mn(this,e))}};function Rl(e,t,n){const r=Wa(e),s=r[t]();return r!==e&&!Jt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Vv=Array.prototype;function Un(e,t,n,r,s,o){const i=Wa(e),a=i!==e&&!Jt(e),l=i[t];if(l!==Vv[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 Qf(e,t,n,r){const s=Wa(e),o=s!==e&&!Jt(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 Ol(e,t,n){const r=Oe(e);Ot(r,"iterate",$o);const s=r[t](...n);return(s===-1||s===!1)&&Ya(n[0])?(n[0]=Oe(n[0]),r[t](...n)):s}function no(e,t,n=[]){or(),Hu();const r=Oe(e)[t].apply(e,n);return Vu(),ir(),r}const Uv=Bu("__proto__,__v_isRef,__isVue"),Cg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(en));function Gv(e){en(e)||(e=String(e));const t=Oe(this);return Ot(t,"has",e),t.hasOwnProperty(e)}class kg{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?Rg:Pg:o?Tg:Ag).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=pe(t);if(!s){let l;if(i&&(l=Hv[n]))return l;if(n==="hasOwnProperty")return Gv}const a=Reflect.get(t,n,Ye(t)?t:r);if((en(n)?Cg.has(n):Uv(n))||(s||Ot(t,"get",n),o))return a;if(Ye(a)){const l=i&&qa(n)?a:a.value;return s&&Ne(l)?ar(l):l}return Ne(a)?s?ar(a):xt(a):a}}class Sg extends kg{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=pe(t)&&qa(n);if(!this._isShallow){const u=jn(o);if(!Jt(r)&&!jn(r)&&(o=Oe(o),r=Oe(r)),!i&&Ye(o)&&!Ye(r))return u||(o.value=r),!0}const a=i?Number(n)<t.length:De(t,n),l=Reflect.set(t,n,r,Ye(t)?t:s);return t===Oe(s)&&(a?Rt(r,o)&&tr(t,"set",n,r):tr(t,"add",n,r)),l}deleteProperty(t,n){const r=De(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(!en(n)||!Cg.has(n))&&Ot(t,"has",n),r}ownKeys(t){return Ot(t,"iterate",pe(t)?"length":Qr),Reflect.ownKeys(t)}}class Eg extends kg{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Wv=new Sg,Kv=new Eg,Xv=new Sg(!0),Yv=new Eg(!0),_c=e=>e,gi=e=>Reflect.getPrototypeOf(e);function Jv(e,t,n){return function(...r){const s=this.__v_raw,o=Oe(s),i=As(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=s[e](...r),c=n?_c:t?$s:wn;return!t&&Ot(o,"iterate",l?wc:Qr),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 mi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zv(e,t){const n={get(s){const o=this.__v_raw,i=Oe(o),a=Oe(s);e||(Rt(s,a)&&Ot(i,"get",s),Ot(i,"get",a));const{has:l}=gi(i),u=t?_c:e?$s: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&&Ot(Oe(s),"iterate",Qr),s.size},has(s){const o=this.__v_raw,i=Oe(o),a=Oe(s);return e||(Rt(s,a)&&Ot(i,"has",s),Ot(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=Oe(a),u=t?_c:e?$s:wn;return!e&&Ot(l,"iterate",Qr),a.forEach((c,f)=>s.call(o,u(c),u(f),i))}};return ut(n,e?{add:mi("add"),set:mi("set"),delete:mi("delete"),clear:mi("clear")}:{add(s){const o=Oe(this),i=gi(o),a=Oe(s),l=!t&&!Jt(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&&!Jt(o)&&!jn(o)&&(o=Oe(o));const i=Oe(this),{has:a,get:l}=gi(i);let u=a.call(i,s);u||(s=Oe(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=Oe(this),{has:i,get:a}=gi(o);let l=i.call(o,s);l||(s=Oe(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=Oe(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]=Jv(s,e,t)}),n}function Ka(e,t){const n=Zv(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(De(n,s)&&s in r?n:r,s,o)}const Qv={get:Ka(!1,!1)},e2={get:Ka(!1,!0)},t2={get:Ka(!0,!1)},n2={get:Ka(!0,!0)},Ag=new WeakMap,Tg=new WeakMap,Pg=new WeakMap,Rg=new WeakMap;function r2(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function s2(e){return e.__v_skip||!Object.isExtensible(e)?0:r2(Pv(e))}function xt(e){return jn(e)?e:Xa(e,!1,Wv,Qv,Ag)}function pn(e){return Xa(e,!1,Xv,e2,Tg)}function ar(e){return Xa(e,!0,Kv,t2,Pg)}function zr(e){return Xa(e,!0,Yv,n2,Rg)}function Xa(e,t,n,r,s){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s2(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 kr(e){return jn(e)?kr(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function Jt(e){return!!(e&&e.__v_isShallow)}function Ya(e){return e?!!e.__v_raw:!1}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function Gu(e){return!De(e,"__v_skip")&&Object.isExtensible(e)&&cg(e,"__v_skip",!0),e}const wn=e=>Ne(e)?xt(e):e,$s=e=>Ne(e)?ar(e):e;function Ye(e){return e?e.__v_isRef===!0:!1}function J(e){return Og(e,!1)}function ft(e){return Og(e,!0)}function Og(e,t){return Ye(e)?e:new o2(e,t)}class o2{constructor(t,n){this.dep=new Ga,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Oe(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||Jt(t)||jn(t);t=r?t:Oe(t),Rt(t,n)&&(this._rawValue=t,this._value=r?t:wn(t),this.dep.trigger())}}function i2(e){e.dep&&e.dep.trigger()}function x(e){return Ye(e)?e.value:e}function je(e){return ge(e)?e():x(e)}const a2={get:(e,t,n)=>t==="__v_raw"?e:x(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Ye(s)&&!Ye(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ig(e){return kr(e)?e:new Proxy(e,a2)}class l2{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ga,{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 Wu(e){return new l2(e)}function Ar(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=Mg(e,n);return t}class c2{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=en(n)?n:String(n),this._raw=Oe(t);let s=!0,o=t;if(!pe(t)||en(this._key)||!qa(this._key))do s=!Ya(o)||Jt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=x(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ye(this._raw[this._key])){const n=this._object[this._key];if(Ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return zv(this._raw,this._key)}}class u2{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 Ye(e)?e:ge(e)?new u2(e):Ne(e)&&arguments.length>1?Mg(e,t,n):J(e)}function Mg(e,t,n){return new c2(e,t,n)}class f2{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ga(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Lo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ke!==this)return yg(this,!0),!0}get value(){const t=this.dep.track();return wg(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function d2(e,t,n=!1){let r,s;return ge(e)?r=e:(r=e.get,s=e.set),new f2(r,s,n)}const yi={},na=new WeakMap;let Hr;function p2(e,t=!1,n=Hr){if(n){let r=na.get(n);r||na.set(n,r=[]),r.push(e)}}function h2(e,t,n=Me){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,u=w=>s?w:Jt(w)||s===!1||s===0?nr(w,1):nr(w);let c,f,p,d,h=!1,g=!1;if(Ye(e)?(f=()=>e.value,h=Jt(e)):kr(e)?(f=()=>u(e),h=!0):pe(e)?(g=!0,h=e.some(w=>kr(w)||Jt(w)),f=()=>e.map(w=>{if(Ye(w))return w.value;if(kr(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=Hr;Hr=c;try{return l?l(e,3,[d]):e(d)}finally{Hr=w}}:f=Dn,t&&s){const w=f,_=s===!0?1/0:s;f=()=>nr(w(),_)}const y=si(),b=()=>{c.stop(),y&&y.active&&Fu(y.effects,c)};if(o&&t){const w=t;t=(..._)=>{w(..._),b()}}let v=g?new Array(e.length).fill(yi):yi;const m=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(t){const _=c.run();if(s||h||(g?_.some((k,E)=>Rt(k,v[E])):Rt(_,v))){p&&p();const k=Hr;Hr=c;try{const E=[_,v===yi?void 0:g&&v[0]===yi?[]:v,d];v=_,l?l(t,3,E):t(...E)}finally{Hr=k}}}else c.run()};return a&&a(m),c=new gg(f),c.scheduler=i?()=>i(m,!1):m,d=w=>p2(w,!1,c),p=c.onStop=()=>{const w=na.get(c);if(w){if(l)l(w,4);else for(const _ of w)_();na.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||!Ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ye(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(ig(e)||As(e))e.forEach(r=>{nr(r,t,n)});else if(lg(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 oi(e,t,n,r){try{return r?e(...r):e()}catch(s){Gs(s,t,n)}}function _n(e,t,n,r){if(ge(e)){const s=oi(e,t,n,r);return s&&ju(s)&&s.catch(o=>{Gs(o,t,n)}),s}if(pe(e)){const s=[];for(let o=0;o<e.length;o++)s.push(_n(e[o],t,n,r));return s}}function Gs(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Me;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(),oi(o,null,10,[e,l,u]),ir();return}}g2(e,n,s,r,i)}function g2(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Dt=[];let Rn=-1;const Ts=[];let _r=null,ws=0;const Ng=Promise.resolve();let ra=null;function At(e){const t=ra||Ng;return e?t.then(this?e.bind(this):e):t}function m2(e){let t=Rn+1,n=Dt.length;for(;t<n;){const r=t+n>>>1,s=Dt[r],o=Bo(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Ku(e){if(!(e.flags&1)){const t=Bo(e),n=Dt[Dt.length-1];!n||!(e.flags&2)&&t>=Bo(n)?Dt.push(e):Dt.splice(m2(t),0,e),e.flags|=1,Lg()}}function Lg(){ra||(ra=Ng.then($g))}function Do(e){pe(e)?Ts.push(...e):_r&&e.id===-1?_r.splice(ws+1,0,e):e.flags&1||(Ts.push(e),e.flags|=1),Lg()}function ed(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 sa(e){if(Ts.length){const t=[...new Set(Ts)].sort((n,r)=>Bo(n)-Bo(r));if(Ts.length=0,_r){_r.push(...t);return}for(_r=t,ws=0;ws<_r.length;ws++){const n=_r[ws];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_r=null,ws=0}}const Bo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function $g(e){try{for(Rn=0;Rn<Dt.length;Rn++){const t=Dt[Rn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),oi(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,sa(),ra=null,(Dt.length||Ts.length)&&$g()}}let Et=null,Dg=null;function oa(e){const t=Et;return Et=e,Dg=e&&e.type.__scopeId||null,t}function Q(e,t=Et,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ua(-1);const o=oa(t);let i;try{i=e(...s)}finally{oa(o),r._d&&ua(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function td(e,t){if(Et===null)return e;const n=tl(Et),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=Me]=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 On(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(),_n(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||es){let s=es?es._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 Ja(){return!!(dt()||es)}const y2=Symbol.for("v-scx"),v2=()=>Ve(y2);function nn(e,t){return ii(e,null,t)}function Bg(e,t){return ii(e,null,{flush:"post"})}function b2(e,t){return ii(e,null,{flush:"sync"})}function Be(e,t,n){return ii(e,t,n)}function ii(e,t,n=Me){const{immediate:r,deep:s,flush:o,once:i}=n,a=ut({},n),l=t&&r||!t&&o!=="post";let u;if(ss){if(o==="sync"){const d=v2();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)=>_n(d,c,h,g);let f=!1;o==="post"?a.scheduler=d=>{ct(d,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(d,h)=>{h?d():Ku(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const p=h2(e,t,a);return ss&&(u?u.push(p):l&&p()),p}function w2(e,t,n){const r=this.proxy,s=Je(e)?e.includes(".")?Fg(r,e):()=>r[e]:e.bind(r,r);let o;ge(t)?o=t:(o=t.handler,n=t);const i=Ks(this),a=ii(s,o.bind(r),n);return i(),a}function Fg(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 Nr=new WeakMap,jg=Symbol("_vte"),qg=e=>e.__isTeleport,Gr=e=>e&&(e.disabled||e.disabled===""),_2=e=>e&&(e.defer||e.defer===""),nd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,xc=(e,t)=>{const n=e&&e.to;return Je(n)?t?t(n):null:n},x2={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=Gr(t.props);let{dynamicChildren:v}=t;const m=(k,E,A)=>{k.shapeFlag&16&&c(k.children,E,A,s,o,i,a,l)},w=(k=t)=>{const E=Gr(k.props),A=k.target=xc(k.props,h),T=Cc(A,k,g,d);A&&(i!=="svg"&&nd(A)?i="svg":i!=="mathml"&&rd(A)&&(i="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(A),E||(m(k,A,T),mo(k,!1)))},_=k=>{const E=()=>{Nr.get(k)===E&&(Nr.delete(k),Gr(k.props)&&(m(k,n,k.anchor),mo(k,!0)),w(k))};Nr.set(k,E),ct(E,o)};if(e==null){const k=t.el=g(""),E=t.anchor=g("");if(d(k,n,r),d(E,n,r),_2(t.props)||o&&o.pendingBranch){_(t);return}b&&(m(t,n,E),mo(t,!0)),w()}else{t.el=e.el;const k=t.anchor=e.anchor,E=Nr.get(e);if(E){E.flags|=8,Nr.delete(e),_(t);return}t.targetStart=e.targetStart;const A=t.target=e.target,T=t.targetAnchor=e.targetAnchor,M=Gr(e.props),j=M?n:A,O=M?k:T;if(i==="svg"||nd(A)?i="svg":(i==="mathml"||rd(A))&&(i="mathml"),v?(p(e.dynamicChildren,v,j,s,o,i,a),Qu(e,t,!0)):l||f(e,t,j,O,s,o,i,a,!1),b)M?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):vi(t,n,k,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=xc(t.props,h);G&&vi(t,G,null,u,0)}else M&&vi(t,A,T,u,1);mo(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;let d=o||!Gr(p);const h=Nr.get(e);if(h&&(h.flags|=8,Nr.delete(e),d=!1),f&&(s(u),s(c)),o&&s(l),i&16)for(let g=0;g<a.length;g++){const y=a[g];r(y,t,n,d,!!y.dynamicChildren)}},move:vi,hydrate:C2};function vi(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||Gr(c))&&l&16)for(let p=0;p<u.length;p++)s(u[p],t,n,2);f&&r(a,t,n)}function C2(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=xc(t.props,l),g=Gr(t.props);if(h){const y=h._lpa||h.firstChild;t.shapeFlag&16&&(g?(d(e,t),p(h,y),t.targetAnchor||Cc(h,t,c,u,a(e)===h?e:null)):(t.anchor=i(e),p(h,y),t.targetAnchor||Cc(h,t,c,u),f(y&&i(y),t,h,n,r,s,o))),mo(t,g)}else g&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const zg=x2;function mo(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 Cc(e,t,n,r,s=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[jg]=i,e&&(r(o,e,s),r(i,e,s)),i}const In=Symbol("_leaveCb"),ro=Symbol("_enterCb");function k2(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mt(()=>{e.isMounted=!0}),cs(()=>{e.isUnmounting=!0}),e}const rn=[Function,Array],Hg={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},Vg=e=>{const t=e.subTree;return t.component?Vg(t.component):t},S2={name:"BaseTransition",props:Hg,setup(e,{slots:t}){const n=dt(),r=k2();return()=>{const s=t.default&&Wg(t.default(),!0);if(!s||!s.length)return;const o=Ug(s),i=Oe(e),{mode:a}=i;if(r.isLeaving)return Il(o);const l=sd(o);if(!l)return Il(o);let u=kc(l,i,r,n,f=>u=f);l.type!==it&&Ds(l,u);let c=n.subTree&&sd(n.subTree);if(c&&c.type!==it&&!hn(c,l)&&Vg(n).type!==it){let f=kc(c,i,r,n);if(Ds(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},Il(o);a==="in-out"&&l.type!==it?f.delayLeave=(p,d,h)=>{const g=Gg(r,c);g[String(c.key)]=c,p[In]=()=>{d(),p[In]=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 Ug(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==it){t=n;break}}return t}const E2=S2;function Gg(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 kc(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),_=Gg(n,e),k=(T,M)=>{T&&_n(T,r,9,M)},E=(T,M)=>{const j=M[1];k(T,M),pe(T)?T.every(O=>O.length<=1)&&j():T.length<=1&&j()},A={mode:i,persisted:a,beforeEnter(T){let M=l;if(!n.isMounted)if(o)M=y||l;else return;T[In]&&T[In](!0);const j=_[w];j&&hn(e,j)&&j.el[In]&&j.el[In](),k(M,[T])},enter(T){if(_[w]===e)return;let M=u,j=c,O=f;if(!n.isMounted)if(o)M=b||u,j=v||c,O=m||f;else return;let G=!1;T[ro]=q=>{G||(G=!0,q?k(O,[T]):k(j,[T]),A.delayedLeave&&A.delayedLeave(),T[ro]=void 0)};const N=T[ro].bind(null,!1);M?E(M,[T,N]):N()},leave(T,M){const j=String(e.key);if(T[ro]&&T[ro](!0),n.isUnmounting)return M();k(p,[T]);let O=!1;T[In]=N=>{O||(O=!0,M(),N?k(g,[T]):k(h,[T]),T[In]=void 0,_[j]===e&&delete _[j])};const G=T[In].bind(null,!1);_[j]=e,d?E(d,[T,G]):G()},clone(T){const M=kc(T,t,n,r,s);return s&&s(M),M}};return A}function Il(e){if(ai(e))return e=qn(e),e.children=null,e}function sd(e){if(!ai(e))return qg(e.type)&&e.children?Ug(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 Ds(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ds(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 Wg(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(Wg(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 Kg(){const e=dt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Xu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Xg(e){const t=dt(),n=ft(null);if(t){const s=t.refs===Me?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function od(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ia=new WeakMap;function Ps(e,t,n,r,s=!1){if(pe(e)){e.forEach((g,y)=>Ps(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&&Ps(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?tl(r.component):r.el,i=s?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Me?a.refs={}:a.refs,f=a.setupState,p=Oe(f),d=f===Me?og:g=>od(c,g)?!1:De(p,g),h=(g,y)=>!(y&&od(c,y));if(u!=null&&u!==l){if(id(t),Je(u))c[u]=null,d(u)&&(f[u]=null);else if(Ye(u)){const g=t;h(u,g.k)&&(u.value=null),g.k&&(c[g.k]=null)}}if(ge(l))oi(l,a,12,[i,c]);else{const g=Je(l),y=Ye(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)&&Fu(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(),ia.delete(e)};v.id=-1,ia.set(e,v),ct(v,n)}else id(e),b()}}}function id(e){const t=ia.get(e);t&&(t.flags|=8,ia.delete(e))}let ad=!1;const ys=()=>{ad||(console.error("Hydration completed but contains mismatches."),ad=!0)},A2=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",T2=e=>e.namespaceURI.includes("MathML"),bi=e=>{if(e.nodeType===1){if(A2(e))return"svg";if(T2(e))return"mathml"}},Ss=e=>e.nodeType===8;function P2(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),sa(),w._vnode=m;return}f(w.firstChild,m,null,null,null),sa(),w._vnode=m},f=(m,w,_,k,E,A=!1)=>{A=A||!!w.dynamicChildren;const T=Ss(m)&&m.data==="[",M=()=>g(m,w,_,k,E,T),{type:j,ref:O,shapeFlag:G,patchFlag:N}=w;let q=m.nodeType;w.el=m,N===-2&&(A=!1,w.dynamicChildren=null);let L=null;switch(j){case ts:q!==3?w.children===""?(l(w.el=s(""),i(m),m),L=m):L=M():(m.data!==w.children&&(ys(),m.data=w.children),L=o(m));break;case it:v(m)?(L=o(m),b(w.el=m.content.firstChild,m,_)):q!==8||T?L=M():L=o(m);break;case Ao:if(T&&(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 T?o(L):L}else M();break;case qe:T?L=h(m,w,_,k,E,A):L=M();break;default:if(G&1)(q!==1||w.type.toLowerCase()!==m.tagName.toLowerCase())&&!v(m)?L=M():L=p(m,w,_,k,E,A);else if(G&6){w.slotScopeIds=E;const W=i(m);if(T?L=y(m):Ss(m)&&m.data==="teleport start"?L=y(m,m.data,"teleport end"):L=o(m),t(w,W,null,_,k,bi(W),A),sr(w)&&!w.type.__asyncResolved){let $;T?($=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,_,k,E,A,e,d):G&128&&(L=w.type.hydrate(m,w,_,k,bi(i(m)),E,A,e,f))}return O!=null&&Ps(O,null,k,w),L},p=(m,w,_,k,E,A)=>{A=A||!!w.dynamicChildren;const{type:T,props:M,patchFlag:j,shapeFlag:O,dirs:G,transition:N}=w,q=T==="input"||T==="option";if(q||j!==-1){G&&On(w,null,_,"created");let L=!1;if(v(m)){L=_0(null,N)&&_&&_.vnode.props&&_.vnode.props.appear;const $=m.content.firstChild;if(L){const ie=$.getAttribute("class");ie&&($.$cls=ie),N.beforeEnter($)}b($,m,_),w.el=m=$}if(O&16&&!(M&&(M.innerHTML||M.textContent))){let $=d(m.firstChild,w,m,_,k,E,A);for(;$;){wi(m,1)||ys();const ie=$;$=$.nextSibling,a(ie)}}else if(O&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
|
+
`)&&(wi(m,0)||ys(),m.textContent=w.children)}if(M){if(q||!A||j&48){const $=m.tagName.includes("-");for(const ie in M)(q&&(ie.endsWith("value")||ie==="indeterminate")||ri(ie)&&!Zr(ie)||ie[0]==="."||$&&!Zr(ie))&&r(m,ie,null,M[ie],void 0,_)}else if(M.onClick)r(m,"onClick",null,M.onClick,void 0,_);else if(j&4&&kr(M.style))for(const $ in M.style)M.style[$]}let W;(W=M&&M.onVnodeBeforeMount)&&zt(W,_,w),G&&On(w,null,_,"beforeMount"),((W=M&&M.onVnodeMounted)||G||L)&&E0(()=>{W&&zt(W,_,w),L&&N.enter(m),G&&On(w,null,_,"mounted")},k)}return m.nextSibling},d=(m,w,_,k,E,A,T)=>{T=T||!!w.dynamicChildren;const M=w.children,j=M.length;for(let O=0;O<j;O++){const G=T?M[O]:M[O]=Xt(M[O]),N=G.type===ts;m?(N&&!T&&O+1<j&&Xt(M[O+1]).type===ts&&(l(s(m.data.slice(G.children.length)),_,o(m)),m.data=G.children),m=f(m,G,k,E,A,T)):N&&!G.children?l(G.el=s(""),_):(wi(_,1)||ys(),n(null,G,_,null,k,E,bi(_),A))}return m},h=(m,w,_,k,E,A)=>{const{slotScopeIds:T}=w;T&&(E=E?E.concat(T):T);const M=i(m),j=d(o(m),w,M,_,k,E,A);return j&&Ss(j)&&j.data==="]"?o(w.anchor=j):(ys(),l(w.anchor=u("]"),M,j),j)},g=(m,w,_,k,E,A)=>{if(wi(m.parentElement,1)||ys(),w.el=null,A){const j=y(m);for(;;){const O=o(m);if(O&&O!==j)a(O);else break}}const T=o(m),M=i(m);return a(m),n(null,w,M,T,_,k,bi(M),E),_&&(_.vnode.el=w.el,el(_,w.el)),T},y=(m,w="[",_="]")=>{let k=0;for(;m;)if(m=o(m),m&&Ss(m)&&(m.data===w&&k++,m.data===_)){if(k===0)return o(m);k--}return m},b=(m,w,_)=>{const k=w.parentNode;k&&k.replaceChild(m,w);let E=_;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 ld="data-allow-mismatch",R2={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function wi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ld);)e=e.parentElement;const n=e&&e.getAttribute(ld);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(R2[t])}}Va().requestIdleCallback;Va().cancelIdleCallback;function O2(e,t){if(Ss(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ss(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 Sc(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,_=>O2(h,_));w&&(g.bum||(g.bum=[])).push(w)}:v;c?m():d().then(()=>!g.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const h=St;if(Xu(h),c)return()=>_i(c,h);const g=m=>{u=null,Gs(m,h,13,!r)};if(a&&h.suspense||ss)return d().then(m=>()=>_i(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&&ai(h.parent.vnode)&&h.parent.update()}).catch(m=>{g(m),b.value=m}),()=>{if(y.value&&c)return _i(c,h);if(b.value&&r)return re(r,{error:b.value});if(n&&!v.value)return _i(n,h)}}})}function _i(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 ai=e=>e.type.__isKeepAlive,I2={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,_,k)=>{const E=v.component;u(v,m,w,0,a),l(E.vnode,v,m,w,E,a,_,v.slotScopeIds,k),ct(()=>{E.isDeactivated=!1,E.a&&Co(E.a);const A=v.props&&v.props.onVnodeMounted;A&&zt(A,E.parent,v)},a)},r.deactivate=v=>{const m=v.component;la(m.m),la(m.a),u(v,p,null,1,a),ct(()=>{m.da&&Co(m.da);const w=v.props&&v.props.onVnodeUnmounted;w&&zt(w,m.parent,v),m.isDeactivated=!0},a)};function d(v){Ml(v),c(v,n,a,!0)}function h(v){s.forEach((m,w)=>{const _=Mc(sr(m)?m.type.__asyncResolved||{}:m.type);_&&!v(_)&&g(w)})}function g(v){const m=s.get(v);m&&(!i||!hn(m,i))?d(m):i&&Ml(i),s.delete(v),o.delete(v)}Be(()=>[e.include,e.exclude],([v,m])=>{v&&h(w=>yo(v,w)),m&&h(w=>!yo(m,w))},{flush:"post",deep:!0});let y=null;const b=()=>{y!=null&&(ca(n.subTree.type)?ct(()=>{s.set(y,xi(n.subTree))},n.subTree.suspense):s.set(y,xi(n.subTree)))};return Mt(b),Yu(b),cs(()=>{s.forEach(v=>{const{subTree:m,suspense:w}=n,_=xi(m);if(v.type===_.type&&v.key===_.key){Ml(_);const k=_.component.da;k&&ct(k,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(!rs(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return i=null,m;let w=xi(m);if(w.type===it)return i=null,w;const _=w.type,k=Mc(sr(w)?w.type.__asyncResolved||{}:_),{include:E,exclude:A,max:T}=e;if(E&&(!k||!yo(E,k))||A&&k&&yo(A,k))return w.shapeFlag&=-257,i=w,m;const M=w.key==null?_: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&&Ds(w,w.transition),w.shapeFlag|=512,o.delete(M),o.add(M)):(o.add(M),T&&o.size>parseInt(T,10)&&g(o.values().next().value)),w.shapeFlag|=256,i=w,ca(m.type)?m:w}}},M2=I2;function yo(e,t){return pe(e)?e.some(n=>yo(n,t)):Je(e)?e.split(",").includes(t):Tv(e)?(e.lastIndex=0,e.test(t)):!1}function Yg(e,t){Zg(e,"a",t)}function Jg(e,t){Zg(e,"da",t)}function Zg(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(Za(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ai(s.parent.vnode)&&N2(r,t,n,s),s=s.parent}}function N2(e,t,n,r){const s=Za(t,e,r,!0);us(()=>{Fu(r[t],s)},n)}function Ml(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function xi(e){return e.shapeFlag&128?e.ssContent:e}function Za(e,t,n=St,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{or();const a=Ks(n),l=_n(t,n,e,i);return a(),ir(),l});return r?s.unshift(o):s.push(o),o}}const ur=e=>(t,n=St)=>{(!ss||e==="sp")&&Za(e,(...r)=>t(...r),n)},Qg=ur("bm"),Mt=ur("m"),L2=ur("bu"),Yu=ur("u"),cs=ur("bum"),us=ur("um"),$2=ur("sp"),D2=ur("rtg"),B2=ur("rtc");function e0(e,t=St){Za("ec",e,t)}const t0="components";function cd(e,t){return r0(t0,e,!0,t)||e}const n0=Symbol.for("v-ndc");function Nn(e){return Je(e)?r0(t0,e,!1)||e:e||n0}function r0(e,t,n=!0,r=!1){const s=Et||St;if(s){const o=s.type;{const a=Mc(o,!1);if(a&&(a===t||a===_t(t)||a===Ha(_t(t))))return o}const i=ud(s[e]||o[e],t)||ud(s.appContext[e],t);return!i&&r?o:i}}function ud(e,t){return e&&(e[t]||e[_t(t)]||e[Ha(_t(t))])}function Tr(e,t,n,r){let s;const o=n,i=pe(e);if(i||Je(e)){const a=i&&kr(e);let l=!1,u=!1;a&&(l=!Jt(e),u=jn(e),e=Wa(e)),s=new Array(e.length);for(let c=0,f=e.length;c<f;c++)s[c]=t(l?u?$s(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(Ne(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&&s0(o(n)),a=n.key||i&&i.key,l=X(qe,{key:(a&&!en(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 s0(e){return e.some(t=>rs(t)?!(t.type===it||t.type===qe&&!s0(t.children)):!0)?e:null}function F2(e,t){const n={};for(const r in e)n[xo(r)]=e[r];return n}const Ec=e=>e?O0(e)?tl(e):Ec(e.parent):null,Eo=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=>Ec(e.parent),$root:e=>Ec(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>i0(e),$forceUpdate:e=>e.f||(e.f=()=>{Ku(e.update)}),$nextTick:e=>e.n||(e.n=At.bind(e.proxy)),$watch:e=>w2.bind(e)}),Nl=(e,t)=>e!==Me&&!e.__isScriptSetup&&De(e,t),j2={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(Nl(r,t))return i[t]=1,r[t];if(s!==Me&&De(s,t))return i[t]=2,s[t];if(De(o,t))return i[t]=3,o[t];if(n!==Me&&De(n,t))return i[t]=4,n[t];Tc&&(i[t]=0)}}const u=Eo[t];let c,f;if(u)return t==="$attrs"&&Ot(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Me&&De(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,De(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Nl(s,t)?(s[t]=n,!0):r!==Me&&De(r,t)?(r[t]=n,!0):De(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!==Me&&a[0]!=="$"&&De(e,a)||Nl(t,a)||De(o,a)||De(r,a)||De(Eo,a)||De(s.config.globalProperties,a)||(l=i.__cssModules)&&l[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:De(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ws(){return q2().slots}function q2(e){const t=dt();return t.setupContext||(t.setupContext=M0(t))}function Fo(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function z2(e,t){const n=Fo(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 Ac(e,t){return!e||!t?e||t:pe(e)&&pe(t)?e.concat(t):ut({},Fo(e),Fo(t))}function fd(e){const t=dt(),n=ss;let r=e();qo(),n&&Os(!1);const s=()=>{Ks(t),n&&Os(!0)},o=()=>{dt()!==t&&t.scope.off(),qo(),n&&Os(!1)};return ju(r)&&(r=r.catch(i=>{throw s(),Promise.resolve().then(()=>Promise.resolve().then(o)),i})),[r,()=>{s(),Promise.resolve().then(o)}]}let Tc=!0;function H2(e){const t=i0(e),n=e.proxy,r=e.ctx;Tc=!1,t.beforeCreate&&dd(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:_,renderTracked:k,renderTriggered:E,errorCaptured:A,serverPrefetch:T,expose:M,inheritAttrs:j,components:O,directives:G,filters:N}=t;if(u&&V2(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);Ne(W)&&(e.data=xt(W))}if(Tc=!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,et=R({get:ie,set:te});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>et.value,set:Le=>et.value=Le})}if(a)for(const W in a)o0(a[W],r,n,W);if(l){const W=ge(l)?l.call(n):l;Reflect.ownKeys(W).forEach($=>{Zt($,W[$])})}c&&dd(c,e,"c");function L(W,$){pe($)?$.forEach(ie=>W(ie.bind(n))):$&&W($.bind(n))}if(L(Qg,f),L(Mt,p),L(L2,d),L(Yu,h),L(Yg,g),L(Jg,y),L(e0,A),L(B2,k),L(D2,E),L(cs,v),L(us,w),L($2,T),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={});_&&e.render===Dn&&(e.render=_),j!=null&&(e.inheritAttrs=j),O&&(e.components=O),G&&(e.directives=G),T&&Xu(e)}function V2(e,t,n=Dn){pe(e)&&(e=Pc(e));for(const r in e){const s=e[r];let o;Ne(s)?"default"in s?o=Ve(s.from||r,s.default,!0):o=Ve(s.from||r):o=Ve(s),Ye(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function dd(e,t,n){_n(pe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function o0(e,t,n,r){let s=r.includes(".")?Fg(n,r):()=>n[r];if(Je(e)){const o=t[e];ge(o)&&Be(s,o)}else if(ge(e))Be(s,e.bind(n));else if(Ne(e))if(pe(e))e.forEach(o=>o0(o,t,n,r));else{const o=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(o)&&Be(s,o,e)}}function i0(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=>aa(l,u,i,!0)),aa(l,t,i)),Ne(t)&&o.set(t,l),l}function aa(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&aa(e,o,n,!0),s&&s.forEach(i=>aa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=U2[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const U2={data:pd,props:hd,emits:hd,methods:vo,computed:vo,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:vo,directives:vo,watch:W2,provide:pd,inject:G2};function pd(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 G2(e,t){return vo(Pc(e),Pc(t))}function Pc(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 vo(e,t){return e?ut(Object.create(null),e,t):t}function hd(e,t){return e?pe(e)&&pe(t)?[...new Set([...e,...t])]:ut(Object.create(null),Fo(e),Fo(t??{})):t}function W2(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 a0(){return{app:null,config:{isNativeTag:og,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 K2=0;function X2(e,t){return function(r,s=null){ge(r)||(r=ut({},r)),s!=null&&!Ne(s)&&(s=null);const o=a0(),i=new WeakSet,a=[];let l=!1;const u=o.app={_uid:K2++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Sb,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,tl(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(_n(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=es;es=u;try{return c()}finally{es=f}}};return u}}let es=null;function l0(e,t,n=Me){const r=dt(),s=_t(t),o=Or(t),i=c0(e,s),a=Wu((l,u)=>{let c,f=Me,p;return b2(()=>{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!==Me&&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||Me:a,done:!1}:{done:!0}}}},a}const c0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_t(t)}Modifiers`]||e[`${Or(t)}Modifiers`];function Y2(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Me;let s=n;const o=t.startsWith("update:"),i=o&&c0(r,t.slice(7));i&&(i.trim&&(s=n.map(c=>Je(c)?c.trim():c)),i.number&&(s=n.map(Iv)));let a,l=r[a=xo(t)]||r[a=xo(_t(t))];!l&&o&&(l=r[a=xo(Or(t))]),l&&_n(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,_n(u,e,6,s)}}const J2=new WeakMap;function u0(e,t,n=!1){const r=n?J2: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=u0(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?(Ne(e)&&r.set(e,null),null):(pe(o)?o.forEach(l=>i[l]=null):ut(i,o),Ne(e)&&r.set(e,i),i)}function Qa(e,t){return!e||!ri(t)?!1:(t=t.slice(2).replace(/Once$/,""),De(e,t[0].toLowerCase()+t.slice(1))||De(e,Or(t))||De(e,t))}function Ll(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=oa(e);let b,v;try{if(n.shapeFlag&4){const w=s||r,_=w;b=Xt(u.call(_,w,c,f,d,p,h)),v=a}else{const w=t;b=Xt(w.length>1?w(f,{attrs:a,slots:i,emit:l}):w(f,null)),v=t.props?a:Q2(a)}}catch(w){To.length=0,Gs(w,e,1),b=re(it)}let m=b;if(v&&g!==!1){const w=Object.keys(v),{shapeFlag:_}=m;w.length&&_&7&&(o&&w.some(ja)&&(v=eb(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&&Ds(m,n.transition),b=m,oa(y),b}function Z2(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(rs(s)){if(s.type!==it||s.children==="v-if"){if(n)return;n=s}}else return}return n}const Q2=e=>{let t;for(const n in e)(n==="class"||n==="style"||ri(n))&&((t||(t={}))[n]=e[n]);return t},eb=(e,t)=>{const n={};for(const r in e)(!ja(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tb(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?gd(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const p=c[f];if(f0(i,r,p)&&!Qa(u,p))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?gd(r,i,u):!0:!!i;return!1}function gd(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(f0(t,e,o)&&!Qa(n,o))return!0}return!1}function f0(e,t,n){const r=e[n],s=t[n];return n==="style"&&Ne(r)&&Ne(s)?!qu(r,s):r!==s}function el({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 d0={},p0=()=>Object.create(d0),h0=e=>Object.getPrototypeOf(e)===d0;function nb(e,t,n,r=!1){const s={},o=p0();e.propsDefaults=Object.create(null),g0(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 rb(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=Oe(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(Qa(e.emitsOptions,p))continue;const d=t[p];if(l)if(De(o,p))d!==o[p]&&(o[p]=d,u=!0);else{const h=_t(p);s[h]=Rc(l,a,h,d,e,!1)}else d!==o[p]&&(o[p]=d,u=!0)}}}else{g0(e,t,s,o)&&(u=!0);let c;for(const f in a)(!t||!De(t,f)&&((c=Or(f))===f||!De(t,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=Rc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!De(t,f))&&(delete o[f],u=!0)}u&&tr(e.attrs,"set","")}function g0(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Zr(l))continue;const u=t[l];let c;s&&De(s,c=_t(l))?!o||!o.includes(c)?n[c]=u:(a||(a={}))[c]=u:Qa(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(o){const l=Oe(n),u=a||Me;for(let c=0;c<o.length;c++){const f=o[c];n[f]=Rc(s,l,f,u[f],e,!De(u,f))}}return i}function Rc(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=De(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=Ks(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===Or(n))&&(r=!0))}return r}const sb=new WeakMap;function m0(e,t,n=!1){const r=n?sb: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]=m0(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 Ne(e)&&r.set(e,Es),Es;if(pe(o))for(let c=0;c<o.length;c++){const f=_t(o[c]);md(f)&&(i[f]=Me)}else if(o)for(const c in o){const f=_t(c);if(md(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||De(d,"default"))&&a.push(f)}}const u=[i,a];return Ne(e)&&r.set(e,u),u}function md(e){return e[0]!=="$"&&!Zr(e)}const Ju=e=>e==="_"||e==="_ctx"||e==="$stable",Zu=e=>pe(e)?e.map(Xt):[Xt(e)],ob=(e,t,n)=>{if(t._n)return t;const r=Q((...s)=>Zu(t(...s)),n);return r._c=!1,r},y0=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ju(s))continue;const o=e[s];if(ge(o))t[s]=ob(s,o,r);else if(o!=null){const i=Zu(o);t[s]=()=>i}}},v0=(e,t)=>{const n=Zu(t);e.slots.default=()=>n},b0=(e,t,n)=>{for(const r in t)(n||!Ju(r))&&(e[r]=t[r])},ib=(e,t,n)=>{const r=e.slots=p0();if(e.vnode.shapeFlag&32){const s=t._;s?(b0(r,t,n),n&&cg(r,"_",s,!0)):y0(t,r)}else t&&v0(e,t)},ab=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Me;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:b0(s,t,n):(o=!t.$stable,y0(t,s)),i=t}else t&&(v0(e,t),i={default:1});if(o)for(const a in s)!Ju(a)&&i[a]==null&&delete s[a]},ct=E0;function lb(e){return w0(e)}function cb(e){return w0(e,P2)}function w0(e,t){const n=Va();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,S,I,z=null,F=null,V=null,ne=void 0,ee=null,Z=!!S.dynamicChildren)=>{if(C===S)return;C&&!hn(C,S)&&(z=B(C),Le(C,F,V,!0),C=null),S.patchFlag===-2&&(Z=!1,S.dynamicChildren=null);const{type:U,ref:he,shapeFlag:se}=S;switch(U){case ts:y(C,S,I,z);break;case it:b(C,S,I,z);break;case Ao:C==null&&v(S,I,z,ne);break;case qe:O(C,S,I,z,F,V,ne,ee,Z);break;default:se&1?_(C,S,I,z,F,V,ne,ee,Z):se&6?G(C,S,I,z,F,V,ne,ee,Z):(se&64||se&128)&&U.process(C,S,I,z,F,V,ne,ee,Z,fe)}he!=null&&F?Ps(he,C&&C.ref,V,S||C,!S):he==null&&C&&C.ref!=null&&Ps(C.ref,null,V,C,!0)},y=(C,S,I,z)=>{if(C==null)r(S.el=a(S.children),I,z);else{const F=S.el=C.el;S.children!==C.children&&u(F,S.children)}},b=(C,S,I,z)=>{C==null?r(S.el=l(S.children||""),I,z):S.el=C.el},v=(C,S,I,z)=>{[C.el,C.anchor]=h(C.children,S,I,z,C.el,C.anchor)},m=({el:C,anchor:S},I,z)=>{let F;for(;C&&C!==S;)F=p(C),r(C,I,z),C=F;r(S,I,z)},w=({el:C,anchor:S})=>{let I;for(;C&&C!==S;)I=p(C),s(C),C=I;s(S)},_=(C,S,I,z,F,V,ne,ee,Z)=>{if(S.type==="svg"?ne="svg":S.type==="math"&&(ne="mathml"),C==null)k(S,I,z,F,V,ne,ee,Z);else{const U=C.el&&C.el._isVueCE?C.el:null;try{U&&U._beginPatch(),T(C,S,F,V,ne,ee,Z)}finally{U&&U._endPatch()}}},k=(C,S,I,z,F,V,ne,ee)=>{let Z,U;const{props:he,shapeFlag:se,transition:de,dirs:ye}=C;if(Z=C.el=i(C.type,V,he&&he.is,he),se&8?c(Z,C.children):se&16&&A(C.children,Z,null,z,F,$l(C,V),ne,ee),ye&&On(C,null,z,"created"),E(Z,C,C.scopeId,ne,z),he){for(const He in he)He!=="value"&&!Zr(He)&&o(Z,He,null,he[He],V,z);"value"in he&&o(Z,"value",null,he.value,V),(U=he.onVnodeBeforeMount)&&zt(U,z,C)}ye&&On(C,null,z,"beforeMount");const Ie=_0(F,de);Ie&&de.beforeEnter(Z),r(Z,S,I),((U=he&&he.onVnodeMounted)||Ie||ye)&&ct(()=>{U&&zt(U,z,C),Ie&&de.enter(Z),ye&&On(C,null,z,"mounted")},F)},E=(C,S,I,z,F)=>{if(I&&d(C,I),z)for(let V=0;V<z.length;V++)d(C,z[V]);if(F){let V=F.subTree;if(S===V||ca(V.type)&&(V.ssContent===S||V.ssFallback===S)){const ne=F.vnode;E(C,ne,ne.scopeId,ne.slotScopeIds,F.parent)}}},A=(C,S,I,z,F,V,ne,ee,Z=0)=>{for(let U=Z;U<C.length;U++){const he=C[U]=ee?Qn(C[U]):Xt(C[U]);g(null,he,S,I,z,F,V,ne,ee)}},T=(C,S,I,z,F,V,ne)=>{const ee=S.el=C.el;let{patchFlag:Z,dynamicChildren:U,dirs:he}=S;Z|=C.patchFlag&16;const se=C.props||Me,de=S.props||Me;let ye;if(I&&Lr(I,!1),(ye=de.onVnodeBeforeUpdate)&&zt(ye,I,S,C),he&&On(S,C,I,"beforeUpdate"),I&&Lr(I,!0),(se.innerHTML&&de.innerHTML==null||se.textContent&&de.textContent==null)&&c(ee,""),U?M(C.dynamicChildren,U,ee,I,z,$l(S,F),V):ne||$(C,S,ee,null,I,z,$l(S,F),V,!1),Z>0){if(Z&16)j(ee,se,de,I,F);else if(Z&2&&se.class!==de.class&&o(ee,"class",null,de.class,F),Z&4&&o(ee,"style",se.style,de.style,F),Z&8){const Ie=S.dynamicProps;for(let He=0;He<Ie.length;He++){const Ge=Ie[He],at=se[Ge],ht=de[Ge];(ht!==at||Ge==="value")&&o(ee,Ge,at,ht,F,I)}}Z&1&&C.children!==S.children&&c(ee,S.children)}else!ne&&U==null&&j(ee,se,de,I,F);((ye=de.onVnodeUpdated)||he)&&ct(()=>{ye&&zt(ye,I,S,C),he&&On(S,C,I,"updated")},z)},M=(C,S,I,z,F,V,ne)=>{for(let ee=0;ee<S.length;ee++){const Z=C[ee],U=S[ee],he=Z.el&&(Z.type===qe||!hn(Z,U)||Z.shapeFlag&198)?f(Z.el):I;g(Z,U,he,null,z,F,V,ne,!0)}},j=(C,S,I,z,F)=>{if(S!==I){if(S!==Me)for(const V in S)!Zr(V)&&!(V in I)&&o(C,V,S[V],null,F,z);for(const V in I){if(Zr(V))continue;const ne=I[V],ee=S[V];ne!==ee&&V!=="value"&&o(C,V,ee,ne,F,z)}"value"in I&&o(C,"value",S.value,I.value,F)}},O=(C,S,I,z,F,V,ne,ee,Z)=>{const U=S.el=C?C.el:a(""),he=S.anchor=C?C.anchor:a("");let{patchFlag:se,dynamicChildren:de,slotScopeIds:ye}=S;ye&&(ee=ee?ee.concat(ye):ye),C==null?(r(U,I,z),r(he,I,z),A(S.children||[],I,he,F,V,ne,ee,Z)):se>0&&se&64&&de&&C.dynamicChildren&&C.dynamicChildren.length===de.length?(M(C.dynamicChildren,de,I,F,V,ne,ee),(S.key!=null||F&&S===F.subTree)&&Qu(C,S,!0)):$(C,S,I,he,F,V,ne,ee,Z)},G=(C,S,I,z,F,V,ne,ee,Z)=>{S.slotScopeIds=ee,C==null?S.shapeFlag&512?F.ctx.activate(S,I,z,ne,Z):N(S,I,z,F,V,ne,Z):q(C,S,Z)},N=(C,S,I,z,F,V,ne)=>{const ee=C.component=wb(C,z,F);if(ai(C)&&(ee.ctx.renderer=fe),_b(ee,!1,ne),ee.asyncDep){if(F&&F.registerDep(ee,L,ne),!C.el){const Z=ee.subTree=re(it);b(null,Z,S,I),C.placeholder=Z.el}}else L(ee,C,S,I,F,V,ne)},q=(C,S,I)=>{const z=S.component=C.component;if(tb(C,S,I))if(z.asyncDep&&!z.asyncResolved){W(z,S,I);return}else z.next=S,z.update();else S.el=C.el,z.vnode=S},L=(C,S,I,z,F,V,ne)=>{const ee=()=>{if(C.isMounted){let{next:se,bu:de,u:ye,parent:Ie,vnode:He}=C;{const Gt=x0(C);if(Gt){se&&(se.el=He.el,W(C,se,ne)),Gt.asyncDep.then(()=>{ct(()=>{C.isUnmounted||U()},F)});return}}let Ge=se,at;Lr(C,!1),se?(se.el=He.el,W(C,se,ne)):se=He,de&&Co(de),(at=se.props&&se.props.onVnodeBeforeUpdate)&&zt(at,Ie,se,He),Lr(C,!0);const ht=Ll(C),dn=C.subTree;C.subTree=ht,g(dn,ht,f(dn.el),B(dn),C,F,V),se.el=ht.el,Ge===null&&el(C,ht.el),ye&&ct(ye,F),(at=se.props&&se.props.onVnodeUpdated)&&ct(()=>zt(at,Ie,se,He),F)}else{let se;const{el:de,props:ye}=S,{bm:Ie,m:He,parent:Ge,root:at,type:ht}=C,dn=sr(S);if(Lr(C,!1),Ie&&Co(Ie),!dn&&(se=ye&&ye.onVnodeBeforeMount)&&zt(se,Ge,S),Lr(C,!0),de&&Fe){const Gt=()=>{C.subTree=Ll(C),Fe(de,C.subTree,C,F,null)};dn&&ht.__asyncHydrate?ht.__asyncHydrate(de,C,Gt):Gt()}else{at.ce&&at.ce._hasShadowRoot()&&at.ce._injectChildStyle(ht,C.parent?C.parent.type:void 0);const Gt=C.subTree=Ll(C);g(null,Gt,I,z,C,F,V),S.el=Gt.el}if(He&&ct(He,F),!dn&&(se=ye&&ye.onVnodeMounted)){const Gt=S;ct(()=>zt(se,Ge,Gt),F)}(S.shapeFlag&256||Ge&&sr(Ge.vnode)&&Ge.vnode.shapeFlag&256)&&C.a&&ct(C.a,F),C.isMounted=!0,S=I=z=null}};C.scope.on();const Z=C.effect=new gg(ee);C.scope.off();const U=C.update=Z.run.bind(Z),he=C.job=Z.runIfDirty.bind(Z);he.i=C,he.id=C.uid,Z.scheduler=()=>Ku(he),Lr(C,!0),U()},W=(C,S,I)=>{S.component=C;const z=C.vnode.props;C.vnode=S,C.next=null,rb(C,S.props,z,I),ab(C,S.children,I),or(),ed(C),ir()},$=(C,S,I,z,F,V,ne,ee,Z=!1)=>{const U=C&&C.children,he=C?C.shapeFlag:0,se=S.children,{patchFlag:de,shapeFlag:ye}=S;if(de>0){if(de&128){te(U,se,I,z,F,V,ne,ee,Z);return}else if(de&256){ie(U,se,I,z,F,V,ne,ee,Z);return}}ye&8?(he&16&&Re(U,F,V),se!==U&&c(I,se)):he&16?ye&16?te(U,se,I,z,F,V,ne,ee,Z):Re(U,F,V,!0):(he&8&&c(I,""),ye&16&&A(se,I,z,F,V,ne,ee,Z))},ie=(C,S,I,z,F,V,ne,ee,Z)=>{C=C||Es,S=S||Es;const U=C.length,he=S.length,se=Math.min(U,he);let de;for(de=0;de<se;de++){const ye=S[de]=Z?Qn(S[de]):Xt(S[de]);g(C[de],ye,I,null,F,V,ne,ee,Z)}U>he?Re(C,F,V,!0,!1,se):A(S,I,z,F,V,ne,ee,Z,se)},te=(C,S,I,z,F,V,ne,ee,Z)=>{let U=0;const he=S.length;let se=C.length-1,de=he-1;for(;U<=se&&U<=de;){const ye=C[U],Ie=S[U]=Z?Qn(S[U]):Xt(S[U]);if(hn(ye,Ie))g(ye,Ie,I,null,F,V,ne,ee,Z);else break;U++}for(;U<=se&&U<=de;){const ye=C[se],Ie=S[de]=Z?Qn(S[de]):Xt(S[de]);if(hn(ye,Ie))g(ye,Ie,I,null,F,V,ne,ee,Z);else break;se--,de--}if(U>se){if(U<=de){const ye=de+1,Ie=ye<he?S[ye].el:z;for(;U<=de;)g(null,S[U]=Z?Qn(S[U]):Xt(S[U]),I,Ie,F,V,ne,ee,Z),U++}}else if(U>de)for(;U<=se;)Le(C[U],F,V,!0),U++;else{const ye=U,Ie=U,He=new Map;for(U=Ie;U<=de;U++){const Wt=S[U]=Z?Qn(S[U]):Xt(S[U]);Wt.key!=null&&He.set(Wt.key,U)}let Ge,at=0;const ht=de-Ie+1;let dn=!1,Gt=0;const to=new Array(ht);for(U=0;U<ht;U++)to[U]=0;for(U=ye;U<=se;U++){const Wt=C[U];if(at>=ht){Le(Wt,F,V,!0);continue}let Tn;if(Wt.key!=null)Tn=He.get(Wt.key);else for(Ge=Ie;Ge<=de;Ge++)if(to[Ge-Ie]===0&&hn(Wt,S[Ge])){Tn=Ge;break}Tn===void 0?Le(Wt,F,V,!0):(to[Tn-Ie]=U+1,Tn>=Gt?Gt=Tn:dn=!0,g(Wt,S[Tn],I,null,F,V,ne,ee,Z),at++)}const Wf=dn?ub(to):Es;for(Ge=Wf.length-1,U=ht-1;U>=0;U--){const Wt=Ie+U,Tn=S[Wt],Kf=S[Wt+1],Xf=Wt+1<he?Kf.el||C0(Kf):z;to[U]===0?g(null,Tn,I,Xf,F,V,ne,ee,Z):dn&&(Ge<0||U!==Wf[Ge]?et(Tn,I,Xf,2):Ge--)}}},et=(C,S,I,z,F=null)=>{const{el:V,type:ne,transition:ee,children:Z,shapeFlag:U}=C;if(U&6){et(C.component.subTree,S,I,z);return}if(U&128){C.suspense.move(S,I,z);return}if(U&64){ne.move(C,S,I,fe);return}if(ne===qe){r(V,S,I);for(let se=0;se<Z.length;se++)et(Z[se],S,I,z);r(C.anchor,S,I);return}if(ne===Ao){m(C,S,I);return}if(z!==2&&U&1&&ee)if(z===0)ee.beforeEnter(V),r(V,S,I),ct(()=>ee.enter(V),F);else{const{leave:se,delayLeave:de,afterLeave:ye}=ee,Ie=()=>{C.ctx.isUnmounted?s(V):r(V,S,I)},He=()=>{V._isLeaving&&V[In](!0),se(V,()=>{Ie(),ye&&ye()})};de?de(V,Ie,He):He()}else r(V,S,I)},Le=(C,S,I,z=!1,F=!1)=>{const{type:V,props:ne,ref:ee,children:Z,dynamicChildren:U,shapeFlag:he,patchFlag:se,dirs:de,cacheIndex:ye,memo:Ie}=C;if(se===-2&&(F=!1),ee!=null&&(or(),Ps(ee,null,I,C,!0),ir()),ye!=null&&(S.renderCache[ye]=void 0),he&256){S.ctx.deactivate(C);return}const He=he&1&&de,Ge=!sr(C);let at;if(Ge&&(at=ne&&ne.onVnodeBeforeUnmount)&&zt(at,S,C),he&6)Pe(C.component,I,z);else{if(he&128){C.suspense.unmount(I,z);return}He&&On(C,null,S,"beforeUnmount"),he&64?C.type.remove(C,S,I,fe,z):U&&!U.hasOnce&&(V!==qe||se>0&&se&64)?Re(U,S,I,!1,!0):(V===qe&&se&384||!F&&he&16)&&Re(Z,S,I),z&&pt(C)}const ht=Ie!=null&&ye==null;(Ge&&(at=ne&&ne.onVnodeUnmounted)||He||ht)&&ct(()=>{at&&zt(at,S,C),He&&On(C,null,S,"unmounted"),ht&&(C.el=null)},I)},pt=C=>{const{type:S,el:I,anchor:z,transition:F}=C;if(S===qe){kt(I,z);return}if(S===Ao){w(C);return}const V=()=>{s(I),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(C.shapeFlag&1&&F&&!F.persisted){const{leave:ne,delayLeave:ee}=F,Z=()=>ne(I,V);ee?ee(C.el,V,Z):Z()}else V()},kt=(C,S)=>{let I;for(;C!==S;)I=p(C),s(C),C=I;s(S)},Pe=(C,S,I)=>{const{bum:z,scope:F,job:V,subTree:ne,um:ee,m:Z,a:U}=C;la(Z),la(U),z&&Co(z),F.stop(),V&&(V.flags|=8,Le(ne,C,S,I)),ee&&ct(ee,S),ct(()=>{C.isUnmounted=!0},S)},Re=(C,S,I,z=!1,F=!1,V=0)=>{for(let ne=V;ne<C.length;ne++)Le(C[ne],S,I,z,F)},B=C=>{if(C.shapeFlag&6)return B(C.component.subTree);if(C.shapeFlag&128)return C.suspense.next();const S=p(C.anchor||C.el),I=S&&S[jg];return I?p(I):S};let oe=!1;const Y=(C,S,I)=>{let z;C==null?S._vnode&&(Le(S._vnode,null,null,!0),z=S._vnode.component):g(S._vnode||null,C,S,null,null,null,I),S._vnode=C,oe||(oe=!0,ed(z),sa(),oe=!1)},fe={p:g,um:Le,m:et,r:pt,mt:N,mc:A,pc:$,pbc:M,n:B,o:e};let _e,Fe;return t&&([_e,Fe]=t(fe)),{render:Y,hydrate:_e,createApp:X2(Y,_e)}}function $l({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Lr({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function _0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qu(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]=Qn(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Qu(i,a)),a.type===ts&&(a.patchFlag===-1&&(a=s[o]=Qn(a)),a.el=i.el),a.type===it&&!a.el&&(a.el=i.el)}}function ub(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 x0(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:x0(t)}function la(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function C0(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?C0(t.subTree):null}const ca=e=>e.__isSuspense;let Oc=0;const fb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,u){if(e==null)db(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}pb(e,t,n,r,s,i,a,l,u)}},hydrate:hb,normalize:gb},k0=fb;function jo(e,t){const n=e.props&&e.props[t];ge(n)&&n()}function db(e,t,n,r,s,o,i,a,l){const{p:u,o:{createElement:c}}=l,f=c("div"),p=e.suspense=S0(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?(jo(e,"onPending"),jo(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,i),Rs(p,e.ssFallback)):p.resolve(!1,!0)}function pb(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),Rs(f,d)))):(f.pendingId=Oc++,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),Rs(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),Rs(f,p);else if(jo(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=Oc++,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 S0(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=mb(e);v&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const m=e.props?ug(e.props.timeout):void 0,w=o,_={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Oc++,timeout:typeof m=="number"?m:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(k=!1,E=!1){const{vnode:A,activeBranch:T,pendingBranch:M,pendingId:j,effects:O,parentComponent:G,container:N,isInFallback:q}=_;let L=!1;_.isHydrating?_.isHydrating=!1:k||(L=T&&M.transition&&M.transition.mode==="out-in",L&&(T.transition.afterLeave=()=>{j===_.pendingId&&(p(M,N,o===w?h(T):o,0),Do(O),q&&A.ssFallback&&(A.ssFallback.el=null))}),T&&!_.isFallbackMountPending&&(g(T.el)===N&&(o=h(T)),d(T,G,_,!0),!L&&q&&A.ssFallback&&ct(()=>A.ssFallback.el=null,_)),L||p(M,N,o,0)),_.isFallbackMountPending=!1,Rs(_,M),_.pendingBranch=null,_.isInFallback=!1;let W=_.parent,$=!1;for(;W;){if(W.pendingBranch){W.effects.push(...O),$=!0;break}W=W.parent}!$&&!L&&Do(O),_.effects=[],v&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),jo(A,"onResolve")},fallback(k){if(!_.pendingBranch)return;const{vnode:E,activeBranch:A,parentComponent:T,container:M,namespace:j}=_;jo(E,"onFallback");const O=h(A),G=()=>{_.isFallbackMountPending=!1,_.isInFallback&&(f(null,k,M,O,T,null,j,a,l),Rs(_,k))},N=k.transition&&k.transition.mode==="out-in";N&&(_.isFallbackMountPending=!0,A.transition.afterLeave=G),_.isInFallback=!0,d(A,T,null,!0),N||G()},move(k,E,A){_.activeBranch&&p(_.activeBranch,k,E,A),_.container=k},next(){return _.activeBranch&&h(_.activeBranch)},registerDep(k,E,A){const T=!!_.pendingBranch;T&&_.deps++;const M=k.vnode.el;k.asyncDep.catch(j=>{Gs(j,k,0)}).then(j=>{if(k.isUnmounted||_.isUnmounted||_.pendingId!==k.suspenseId)return;qo(),k.asyncResolved=!0;const{vnode:O}=k;Ic(k,j),M&&(O.el=M);const G=!M&&k.subTree.el;E(k,O,g(M||k.subTree.el),M?null:h(k.subTree),_,i,A),G&&(O.placeholder=null,y(G)),el(k,O.el),T&&--_.deps===0&&_.resolve()})},unmount(k,E){_.isUnmounted=!0,_.activeBranch&&d(_.activeBranch,n,k,E),_.pendingBranch&&d(_.pendingBranch,n,k,E)}};return _}function hb(e,t,n,r,s,o,i,a,l){const u=t.suspense=S0(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 gb(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=yd(r?n.default:n),e.ssFallback=r?yd(n.fallback):re(it)}function yd(e){let t;if(ge(e)){const n=Bs&&e._c;n&&(e._d=!1,D()),e=e(),n&&(e._d=!0,t=Ht,A0())}return pe(e)&&(e=Z2(e)),e=Xt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function E0(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):Do(e)}function Rs(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,el(r,s))}function mb(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const qe=Symbol.for("v-fgt"),ts=Symbol.for("v-txt"),it=Symbol.for("v-cmt"),Ao=Symbol.for("v-stc"),To=[];let Ht=null;function D(e=!1){To.push(Ht=e?null:[])}function A0(){To.pop(),Ht=To[To.length-1]||null}let Bs=1;function ua(e,t=!1){Bs+=e,e<0&&Ht&&t&&(Ht.hasOnce=!0)}function T0(e){return e.dynamicChildren=Bs>0?Ht||Es:null,A0(),Bs>0&&Ht&&Ht.push(e),e}function Ae(e,t,n,r,s,o){return T0(xe(e,t,n,r,s,o,!0))}function X(e,t,n,r,s){return T0(re(e,t,n,r,s,!0))}function rs(e){return e?e.__v_isVNode===!0:!1}function hn(e,t){return e.type===t.type&&e.key===t.key}const P0=({key:e})=>e??null,Gi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Je(e)||Ye(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&&P0(t),ref:t&&Gi(t),scopeId:Dg,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?(ef(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Je(n)?8:16),Bs>0&&!i&&Ht&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ht.push(l),l}const re=yb;function yb(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===n0)&&(e=it),rs(e)){const a=qn(e,t,!0);return n&&ef(a,n),Bs>0&&!o&&Ht&&(a.shapeFlag&6?Ht[Ht.indexOf(e)]=a:Ht.push(a)),a.patchFlag=-2,a}if(kb(e)&&(e=e.__vccOpts),t){t=En(t);let{class:a,style:l}=t;a&&!Je(a)&&(t.class=Se(a)),Ne(l)&&(Ya(l)&&!pe(l)&&(l=ut({},l)),t.style=bn(l))}const i=Je(e)?1:ca(e)?128:qg(e)?64:Ne(e)?4:ge(e)?2:0;return xe(e,t,n,r,s,i,o,!0)}function En(e){return e?Ya(e)||h0(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&&P0(u),ref:t&&t.ref?n&&o?pe(o)?o.concat(Gi(t)):[o,Gi(t)]:Gi(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&&Ds(c,l.clone(c)),c}function Ft(e=" ",t=0){return re(ts,null,e,t)}function R0(e,t){const n=re(Ao,null,e);return n.staticCount=t,n}function ke(e="",t=!1){return t?(D(),X(it,null,e)):re(it,null,e)}function Xt(e){return e==null||typeof e=="boolean"?re(it):pe(e)?re(qe,null,e.slice()):rs(e)?Qn(e):re(ts,null,String(e))}function Qn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function ef(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),ef(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!h0(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=Se([t.class,r.class]));else if(s==="style")t.style=bn([t.style,r.style]);else if(ri(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&&!ja(s)&&(t[s]=i)}else s!==""&&(t[s]=r[s])}return t}function zt(e,t,n,r=null){_n(e,t,7,[n,r])}const vb=a0();let bb=0;function wb(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||vb,o={uid:bb++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hg(!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:m0(r,s),emitsOptions:u0(r,s),emit:null,emitted:null,propsDefaults:Me,inheritAttrs:r.inheritAttrs,ctx:Me,data:Me,props:Me,attrs:Me,slots:Me,refs:Me,setupState:Me,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=Y2.bind(null,o),e.ce&&e.ce(o),o}let St=null;const dt=()=>St||Et;let fa,Os;{const e=Va(),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)}};fa=t("__VUE_INSTANCE_SETTERS__",n=>St=n),Os=t("__VUE_SSR_SETTERS__",n=>ss=n)}const Ks=e=>{const t=St;return fa(e),e.scope.on(),()=>{e.scope.off(),fa(t)}},qo=()=>{St&&St.scope.off(),fa(null)};function O0(e){return e.vnode.shapeFlag&4}let ss=!1;function _b(e,t=!1,n=!1){t&&Os(t);const{props:r,children:s}=e.vnode,o=O0(e);nb(e,r,o,t),ib(e,s,n||t);const i=o?xb(e,t):void 0;return t&&Os(!1),i}function xb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,j2);const{setup:r}=n;if(r){or();const s=e.setupContext=r.length>1?M0(e):null,o=Ks(e),i=oi(r,e,0,[e.props,s]),a=ju(i);if(ir(),o(),(a||e.sp)&&!sr(e)&&Xu(e),a){if(i.then(qo,qo),t)return i.then(l=>{Ic(e,l)}).catch(l=>{Gs(l,e,0)});e.asyncDep=i}else Ic(e,i)}else I0(e)}function Ic(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=Ig(t)),I0(e)}function I0(e,t,n){const r=e.type;e.render||(e.render=r.render||Dn);{const s=Ks(e);or();try{H2(e)}finally{ir(),s()}}}const Cb={get(e,t){return Ot(e,"get",""),e[t]}};function M0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cb),slots:e.slots,emit:e.emit,expose:t}}function tl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ig(Gu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Eo)return Eo[n](e)},has(t,n){return n in t||n in Eo}})):e.proxy}function Mc(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function kb(e){return ge(e)&&"__vccOpts"in e}const R=(e,t)=>d2(e,t,ss);function Xe(e,t,n){try{ua(-1);const r=arguments.length;return r===2?Ne(t)&&!pe(t)?rs(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rs(n)&&(n=[n]),re(e,t,n))}finally{ua(1)}}const Sb="3.5.32";let Nc;const vd=typeof window<"u"&&window.trustedTypes;if(vd)try{Nc=vd.createPolicy("vue",{createHTML:e=>e})}catch{}const N0=Nc?e=>Nc.createHTML(e):e=>e,Eb="http://www.w3.org/2000/svg",Ab="http://www.w3.org/1998/Math/MathML",Zn=typeof document<"u"?document:null,bd=Zn&&Zn.createElement("template"),Tb={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"?Zn.createElementNS(Eb,e):t==="mathml"?Zn.createElementNS(Ab,e):n?Zn.createElement(e,{is:n}):Zn.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Zn.createTextNode(e),createComment:e=>Zn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zn.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{bd.innerHTML=N0(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=bd.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",so="animation",zo=Symbol("_vtc"),L0={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},Pb=ut({},Hg,L0),Rb=e=>(e.displayName="Transition",e.props=Pb,e),$0=Rb((e,{slots:t})=>Xe(E2,Ob(e),t)),$r=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},wd=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function Ob(e){const t={};for(const O in e)O in L0||(t[O]=e[O]);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=Ib(s),g=h&&h[0],y=h&&h[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:m,onLeave:w,onLeaveCancelled:_,onBeforeAppear:k=b,onAppear:E=v,onAppearCancelled:A=m}=t,T=(O,G,N,q)=>{O._enterCancelled=q,Dr(O,G?c:a),Dr(O,G?u:i),N&&N()},M=(O,G)=>{O._isLeaving=!1,Dr(O,f),Dr(O,d),Dr(O,p),G&&G()},j=O=>(G,N)=>{const q=O?E:v,L=()=>T(G,O,N);$r(q,[G,L]),_d(()=>{Dr(G,O?l:o),Gn(G,O?c:a),wd(q)||xd(G,r,g,L)})};return ut(t,{onBeforeEnter(O){$r(b,[O]),Gn(O,o),Gn(O,i)},onBeforeAppear(O){$r(k,[O]),Gn(O,l),Gn(O,u)},onEnter:j(!1),onAppear:j(!0),onLeave(O,G){O._isLeaving=!0;const N=()=>M(O,G);Gn(O,f),O._enterCancelled?(Gn(O,p),Sd(O)):(Sd(O),Gn(O,p)),_d(()=>{O._isLeaving&&(Dr(O,f),Gn(O,d),wd(w)||xd(O,r,y,N))}),$r(w,[O,N])},onEnterCancelled(O){T(O,!1,void 0,!0),$r(m,[O])},onAppearCancelled(O){T(O,!0,void 0,!0),$r(A,[O])},onLeaveCancelled(O){M(O),$r(_,[O])}})}function Ib(e){if(e==null)return null;if(Ne(e))return[Dl(e.enter),Dl(e.leave)];{const t=Dl(e);return[t,t]}}function Dl(e){return ug(e)}function Gn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zo]||(e[zo]=new Set)).add(t)}function Dr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zo];n&&(n.delete(t),n.size||(e[zo]=void 0))}function _d(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mb=0;function xd(e,t,n,r){const s=e._endId=++Mb,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Nb(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 Nb(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${hr}Delay`),o=r(`${hr}Duration`),i=Cd(s,o),a=r(`${so}Delay`),l=r(`${so}Duration`),u=Cd(a,l);let c=null,f=0,p=0;t===hr?i>0&&(c=hr,f=i,p=o.length):t===so?u>0&&(c=so,f=u,p=l.length):(f=Math.max(i,u),c=f>0?i>u?hr:so: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 Cd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>kd(n)+kd(e[r])))}function kd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Sd(e){return(e?e.ownerDocument:document).body.offsetHeight}function Lb(e,t,n){const r=e[zo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const da=Symbol("_vod"),D0=Symbol("_vsh"),Ed={name:"show",beforeMount(e,{value:t},{transition:n}){e[da]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):oo(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),oo(e,!0),r.enter(e)):r.leave(e,()=>{oo(e,!1)}):oo(e,t))},beforeUnmount(e,{value:t}){oo(e,t)}};function oo(e,t){e.style.display=t?e[da]:"none",e[D0]=!t}const $b=Symbol(""),Db=/(?:^|;)\s*display\s*:/;function Bb(e,t,n){const r=e.style,s=Je(n);let o=!1;if(n&&!s){if(t)if(Je(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Wi(r,a,"")}else for(const i in t)n[i]==null&&Wi(r,i,"");for(const i in n)i==="display"&&(o=!0),Wi(r,i,n[i])}else if(s){if(t!==n){const i=r[$b];i&&(n+=";"+i),r.cssText=n,o=Db.test(n)}}else t&&e.removeAttribute("style");da in e&&(e[da]=o?r.display:"",e[D0]&&(r.display="none"))}const Ad=/\s*!important$/;function Wi(e,t,n){if(pe(n))n.forEach(r=>Wi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Fb(e,t);Ad.test(n)?e.setProperty(Or(r),n.replace(Ad,""),"important"):e[r]=n}}const Td=["Webkit","Moz","ms"],Bl={};function Fb(e,t){const n=Bl[t];if(n)return n;let r=_t(t);if(r!=="filter"&&r in e)return Bl[t]=r;r=Ha(r);for(let s=0;s<Td.length;s++){const o=Td[s]+r;if(o in e)return Bl[t]=o}return t}const Pd="http://www.w3.org/1999/xlink";function Rd(e,t,n,r,s,o=Bv(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Pd,t.slice(6,t.length)):e.setAttributeNS(Pd,t,n):n==null||o&&!fg(n)?e.removeAttribute(t):e.setAttribute(t,o?"":en(n)?String(n):n)}function Od(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?N0(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=fg(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 jb(e,t,n,r){e.addEventListener(t,n,r)}function qb(e,t,n,r){e.removeEventListener(t,n,r)}const Id=Symbol("_vei");function zb(e,t,n,r,s=null){const o=e[Id]||(e[Id]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Hb(t);if(r){const u=o[t]=Gb(r,s);jb(e,a,u,l)}else i&&(qb(e,a,i,l),o[t]=void 0)}}const Md=/(?:Once|Passive|Capture)$/;function Hb(e){let t;if(Md.test(e)){t={};let r;for(;r=e.match(Md);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Or(e.slice(2)),t]}let Fl=0;const Vb=Promise.resolve(),Ub=()=>Fl||(Vb.then(()=>Fl=0),Fl=Date.now());function Gb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;_n(Wb(r,n.value),t,5,[r])};return n.value=e,n.attached=Ub(),n}function Wb(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 Nd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kb=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Lb(e,r,i):t==="style"?Bb(e,n,r):ri(t)?ja(t)||zb(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xb(e,t,r,i))?(Od(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Rd(e,t,r,i,o,t!=="value")):e._isVueCE&&(Yb(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Je(r)))?Od(e,_t(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Rd(e,t,r,i))};function Xb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Nd(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 Nd(t)&&Je(n)?!1:t in e}function Yb(e,t){const n=e._def.props;if(!n)return!1;const r=_t(t);return Array.isArray(n)?n.some(s=>_t(s)===r):Object.keys(n).some(s=>_t(s)===r)}const Jb=["ctrl","shift","alt","meta"],Zb={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)=>Jb.some(n=>e[`${n}Key`]&&!t.includes(n))},Is=(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=Zb[t[i]];if(a&&a(s,t))return}return e(s,...o)}))},B0=ut({patchProp:Kb},Tb);let Po,Ld=!1;function Qb(){return Po||(Po=lb(B0))}function e3(){return Po=Ld?Po:cb(B0),Ld=!0,Po}const t3=((...e)=>{const t=Qb().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=j0(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,F0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t}),n3=((...e)=>{const t=e3().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=j0(r);if(s)return n(s,!0,F0(s))},t});function F0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function j0(e){return Je(e)?document.querySelector(e):e}const r3=/"(?:_|\\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*:/,s3=/"(?: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*:/,o3=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function i3(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){a3(e);return}return t}function a3(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function l3(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(!o3.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(r3.test(e)||s3.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,i3)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const q0=/#/g,z0=/&/g,c3=/\//g,u3=/=/g,f3=/\?/g,nl=/\+/g,d3=/%5e/gi,p3=/%60/gi,h3=/%7c/gi,g3=/%20/gi,m3=/%2f/gi,y3=/%252f/gi;function H0(e){return encodeURI(""+e).replace(h3,"|")}function Lc(e){return H0(typeof e=="string"?e:JSON.stringify(e)).replace(nl,"%2B").replace(g3,"+").replace(q0,"%23").replace(z0,"%26").replace(p3,"`").replace(d3,"^").replace(c3,"%2F")}function jl(e){return Lc(e).replace(u3,"%3D")}function v3(e){return H0(e).replace(q0,"%23").replace(f3,"%3F").replace(y3,"%2F").replace(z0,"%26").replace(nl,"%2B")}function Ho(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function b3(e){return Ho(e.replace(m3,"%252F"))}function w3(e){return Ho(e.replace(nl," "))}function _3(e){return Ho(e.replace(nl," "))}function tf(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=w3(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=_3(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 x3(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${jl(e)}=${Lc(n)}`).join("&"):`${jl(e)}=${Lc(t)}`:jl(e)}function C3(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>x3(t,e[t])).filter(Boolean).join("&")}const k3=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,S3=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,E3=/^([/\\]\s*){2,}[^/\\]/,A3=/^[\s\0]*(blob|data|javascript|vbscript):$/i,T3=/\/$|\/\?|\/#/,P3=/^\.?\//;function R3(e){return["./","../"].some(t=>e.startsWith(t))}function fr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?k3.test(e):S3.test(e)||(t.acceptRelative?E3.test(e):!1)}function O3(e){return!!e&&A3.test(e)}function $c(e="",t){return t?T3.test(e):e.endsWith("/")}function Vo(e="",t){if(!t)return($c(e)?e.slice(0,-1):e)||"/";if(!$c(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 V0(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if($c(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 U0(e,t){if(G0(t)||fr(e))return e;const n=Vo(t);if(e.startsWith(n)){const r=e[n.length];if(!r||r==="/"||r==="?")return e}return Uo(n,e)}function $d(e,t){if(G0(t))return e;const n=Vo(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 Wr(e,t){const n=nf(e),r={...tf(n.search),...t};return n.search=C3(r),M3(n)}function G0(e){return!e||e==="/"}function I3(e){return e&&e!=="/"}function Uo(e,...t){let n=e||"";for(const r of t.filter(s=>I3(s)))if(n){const s=r.replace(P3,"");n=V0(n)+s}else n=r;return n}function W0(...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 K0(e,t){return Ho(Vo(e))===Ho(Vo(t))}const X0=Symbol.for("ufo:protocolRelative");function nf(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 Dd(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}=Dd(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:u,hash:c,[X0]:!r}}function Dd(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function M3(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[X0]?(e.protocol||"")+"//":"")+s+o+t+n+r}class N3 extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function L3(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 N3(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 $3=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Bd(e="GET"){return $3.has(e.toUpperCase())}function D3(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 B3=new Set(["image/svg","application/xml","application/xhtml","application/html"]),F3=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function j3(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return F3.test(t)?"json":t==="text/event-stream"?"stream":B3.has(t)||t.startsWith("text/")?"text":"blob"}function q3(e,t,n,r){const s=z3(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 z3(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 Ci(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const H3=new Set([408,409,425,429,500,502,503,504]),V3=new Set([101,204,205,304]);function Y0(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=Bd(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):H3.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=L3(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,o),u}const o=async function(l,u={}){const c={request:l,options:q3(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 Ci(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=U0(c.request,c.options.baseURL)),c.options.query&&(c.request=Wr(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&&Bd(c.options.method))if(D3(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 Ci(c,c.options.onRequestError),await s(c)}finally{f&&clearTimeout(f)}if((c.response.body||c.response._bodyInit)&&!V3.has(c.response.status)&&c.options.method!=="HEAD"){const d=(c.options.parseResponse?"json":c.options.responseType)||j3(c.response.headers.get("content-type")||"");switch(d){case"json":{const h=await c.response.text(),g=c.options.parseResponse||l3;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 Ci(c,c.options.onResponse),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await Ci(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={})=>Y0({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const pa=(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")})(),U3=pa.fetch?(...e)=>pa.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),G3=pa.Headers,W3=pa.AbortController,J0=Y0({fetch:U3,Headers:G3,AbortController:W3}),K3=J0,X3=()=>window?.__NUXT__?.config||window?.useNuxtApp?.().payload?.config;let ql;function Y3(e){return{lang:e?.lang??ql?.lang,message:e?.message,abortEarly:e?.abortEarly??ql?.abortEarly,abortPipeEarly:e?.abortPipeEarly??ql?.abortPipeEarly}}let J3;function Z3(e){return J3?.get(e)}let Q3;function e5(e){return Q3?.get(e)}let t5;function n5(e,t){return t5?.get(e)?.get(t)}function Z0(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??Z0(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??n5(e.reference,l.lang)??(u?e5(l.lang):null)??r.message??Z3(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},Y3())}}}function r5(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function s5(e,t){const n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??"never"}function rf(e,t){return{kind:"validation",type:"min_length",reference:rf,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 o5(e,t,n){return typeof e.fallback=="function"?e.fallback(t,n):e.fallback}function Q0(e,t,n){return typeof e.default=="function"?e.default(t,n):e.default}function em(){return{kind:"schema",type:"any",reference:em,expects:"any",async:!1,get"~standard"(){return fn(this)},"~run"(e){return e.typed=!0,e}}}function os(e,t){return{kind:"schema",type:"array",reference:os,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 tm(e,t){return{kind:"schema",type:"custom",reference:tm,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 be(e,t){return{kind:"schema",type:"literal",reference:be,expects:Z0(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 vt(e){return{kind:"schema",type:"number",reference:vt,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 Te(e,t){return{kind:"schema",type:"object",reference:Te,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]:Q0(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]=o5(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 P(e,t){return{kind:"schema",type:"optional",reference:P,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=Q0(this,n,r)),n.value===void 0)?(n.typed=!0,n):this.wrapped["~run"](n,r)}}}function rl(e,t,n){return{kind:"schema",type:"record",reference:rl,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(r5(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 H(e){return{kind:"schema",type:"string",reference:H,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 Fd(e){let t;if(e)for(const n of e)t?t.push(...n.issues):t=n.issues;return t}function Ue(e,t){return{kind:"schema",type:"union",reference:Ue,expects:s5(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:Fd(o)}),n.typed=!0}else{if(i?.length===1)return i[0];un(this,"type",n,r,{issues:Fd(i)})}return n}}}function nm(...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 vr=Ue([be("granted"),be("denied")]),i5=Te({ad_storage:P(vr),ad_user_data:P(vr),ad_personalization:P(vr),analytics_storage:P(vr),functionality_storage:P(vr),personalization_storage:P(vr),security_storage:P(vr),wait_for_update:P(vt()),region:P(os(H()))}),a5=Te({postUrl:H(),apiEndpoint:P(H()),imageProxyEndpoint:P(H())}),l5=Te({id:nm(H(),rf(10)),defaultConsent:P(Ue([ue(),rl(H(),H())]))}),c5=Te({token:nm(H(),rf(32)),spa:P(ue())}),u5=Te({id:H(),runtimeConfig:P(Te({locale:P(H())})),tokenId:P(H()),cookieDomain:P(H()),cookieExpiry:P(vt())}),f5=Te({clientId:H(),scriptUrl:P(H()),apiUrl:P(H()),disabled:P(ue()),trackScreenViews:P(ue()),trackPerformance:P(ue()),trackSessions:P(ue()),trackWebVitals:P(ue()),trackErrors:P(ue()),trackOutgoingLinks:P(ue()),trackScrollDepth:P(ue()),trackEngagement:P(ue()),trackInteractions:P(ue()),trackAttributes:P(ue()),trackHashChanges:P(ue()),trackExitIntent:P(ue()),trackBounceRate:P(ue()),enableBatching:P(ue()),batchSize:P(vt()),batchTimeout:P(vt()),enableRetries:P(ue()),maxRetries:P(vt()),initialRetryDelay:P(vt()),samplingRate:P(vt()),sdk:P(H()),sdkVersion:P(H()),enableObservability:P(ue()),observabilityService:P(H()),observabilityEnvironment:P(H()),observabilityVersion:P(H()),enableLogging:P(ue()),enableTracing:P(ue()),enableErrorTracking:P(ue())}),d5=Te({site:H(),spa:P(Ue([be("auto"),be("history"),be("hash")])),auto:P(ue()),canonical:P(ue()),honorDnt:P(ue())}),p5=Te({client:P(H()),autoAds:P(ue())}),h5=Te({id:P(H()),l:P(H()),defaultConsent:P(i5)}),g5=Te({apiKey:H(),libraries:P(os(H())),language:P(H()),region:P(H()),v:P(Ue([be("weekly"),be("quarterly"),be("beta"),be("alpha"),H()]))}),m5=Te({siteKey:H(),enterprise:P(ue()),recaptchaNet:P(ue()),hl:P(H())}),y5=Te({clientId:H(),autoSelect:P(ue()),context:P(Ue([be("signin"),be("signup"),be("use")])),useFedcmForPrompt:P(ue()),cancelOnTapOutside:P(ue()),uxMode:P(Ue([be("popup"),be("redirect")])),loginUri:P(H()),itpSupport:P(ue()),allowedParentOrigin:P(Ue([H(),os(H())])),hd:P(H())}),v5=Te({id:H(),l:P(H()),auth:P(H()),preview:P(H()),cookiesWin:P(Ue([ue(),be("x")])),debug:P(Ue([ue(),be("x")])),npa:P(Ue([ue(),be("1")])),dataLayer:P(H()),envName:P(H()),authReferrerPolicy:P(H()),defaultConsent:P(rl(H(),Ue([H(),vt()])))}),b5=Te({id:vt(),sv:P(vt())}),w5=Te({postUrl:H(),captions:P(ue()),apiEndpoint:P(H())}),_5=Te({app_id:H(),api_base:P(Ue([be("https://api-iam.intercom.io"),be("https://api-iam.eu.intercom.io"),be("https://api-iam.au.intercom.io")])),name:P(H()),email:P(H()),user_id:P(H()),alignment:P(Ue([be("left"),be("right")])),horizontal_padding:P(vt()),vertical_padding:P(vt())}),x5=Te({matomoUrl:P(H()),siteId:P(Ue([H(),vt()])),cloudId:P(H()),trackerUrl:P(H()),trackPageView:P(ue()),enableLinkTracking:P(ue()),disableCookies:P(ue()),watch:P(ue()),defaultConsent:P(Ue([be("required"),be("given"),be("not-required")]))}),C5=Te({id:Ue([H(),vt()]),defaultConsent:P(Ue([be("granted"),be("denied")]))}),k5=Te({packageName:H(),file:P(H()),version:P(H()),provider:P(Ue([be("jsdelivr"),be("cdnjs"),be("unpkg")]))}),S5=Te({apiKey:H(),region:P(Ue([be("us"),be("eu")])),apiHost:P(H()),autocapture:P(ue()),capturePageview:P(Ue([ue(),be("history_change")])),capturePageleave:P(ue()),disableSessionRecording:P(ue()),config:P(rl(H(),em())),defaultConsent:P(Ue([be("opt-in"),be("opt-out")]))}),E5=Te({id:H()}),A5=Te({siteId:Ue([H(),vt()]),autoTrackPageview:P(ue()),trackSpa:P(ue()),trackQuery:P(ue()),trackOutbound:P(ue()),trackErrors:P(ue()),sessionReplay:P(ue()),webVitals:P(ue()),skipPatterns:P(os(H())),maskPatterns:P(os(H())),debounce:P(vt()),apiKey:P(H()),analyticsHost:P(H())}),T5=Te({token:H(),defaultConsent:P(Ue([be("opt-in"),be("opt-out")]))}),P5=Te({id:H(),enableAutoSpaTracking:P(ue()),defaultConsent:P(Te({ad_storage:P(vr)}))}),R5=Te({writeKey:H(),analyticsKey:P(H())}),O5=Te({user_email:P(H()),ip_address:P(H()),user_phone_number:P(H()),user_hashed_email:P(H()),user_hashed_phone_number:P(H()),firstname:P(H()),lastname:P(H()),geo_city:P(H()),geo_region:P(H()),geo_postal_code:P(H()),geo_country:P(H()),age:P(H())}),I5=Te({id:H(),trackPageView:P(ue()),...O5?.entries||{}}),M5=Te({advancedFraudSignals:P(ue())}),N5=Te({id:H(),trackPageView:P(ue()),defaultConsent:P(Ue([be("granted"),be("denied"),be("hold")]))}),L5=Te({websiteId:H(),hostUrl:P(H()),autoTrack:P(ue()),domains:P(os(H())),tag:P(H()),beforeSend:P(Ue([tm(e=>typeof e=="function"),H()]))}),$5=Te({tweetId:H(),apiEndpoint:P(H()),imageProxyEndpoint:P(H())}),D5=Te({dsn:P(H()),disableAutoTrack:P(ue()),mode:P(Ue([be("auto"),be("development"),be("production")])),debug:P(ue()),endpoint:P(H())}),B5=Te({id:H(),version:P(H())}),F5=Te({cacheMaxAge:P(vt()),default:P(H()),size:P(vt()),rating:P(H())}),j5={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>'},io={ip:!0,userAgent:!0,language:!0,screen:!0,timezone:!0,hardware:!0},zl={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},q5=/[A-Z]/g;function z5(e){return e.replace(q5,t=>`-${t.toLowerCase()}`)}async function H5(e,t,n){const{composableName:r,serverHandlers:s,...o}=n,i={registryKey:t,logo:j5[t],...o};return r!==!1&&(i.import={name:r||`useScript${t.charAt(0).toUpperCase()}${t.slice(1)}`,from:await e(`./runtime/registry/${z5(t)}`)}),s&&(i.serverHandlers=await Promise.all(s.map(async a=>({...a,handler:await e(a.handler)})))),i}async function V5(e){e=e||(n=>Promise.resolve(n));const t=(n,r)=>H5(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:c5,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:D5,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:S5,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:d5,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:x5,label:"Matomo Analytics",category:"analytics",envDefaults:{matomoUrl:""},proxy:{domains:["cdn.matomo.cloud"],privacy:Nt},partytown:{forwards:["_paq.push"]}}),t("rybbitAnalytics",{schema:A5,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:f5,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:R5,label:"Segment",category:"analytics",envDefaults:{writeKey:""},bundle:{resolve:n=>Uo("https://cdn.segment.com/analytics.js/v1",n?.writeKey||"","analytics.min.js")},partytown:{forwards:["analytics","analytics.track","analytics.page","analytics.identify"]}}),t("mixpanelAnalytics",{schema:T5,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","mixpanel.opt_in_tracking","mixpanel.opt_out_tracking"]}}),t("bingUet",{schema:P5,label:"Bing UET",src:"https://bat.bing.com/bat.js",category:"ad",envDefaults:{id:""},bundle:!0,partytown:{forwards:["uetq.push"]}}),t("metaPixel",{schema:C5,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:io},partytown:{forwards:["fbq"]}}),t("xPixel",{schema:B5,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:io},partytown:{forwards:["twq"]}}),t("tiktokPixel",{composableName:"useScriptTikTokPixel",schema:N5,label:"TikTok Pixel",category:"ad",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Wr("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:io},partytown:{forwards:["ttq.track","ttq.page","ttq.identify","ttq.grantConsent","ttq.revokeConsent","ttq.holdConsent"]}}),t("snapchatPixel",{schema:I5,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:io},partytown:{forwards:["snaptr"]}}),t("redditPixel",{schema:E5,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:io},partytown:{forwards:["rdt"]}}),t("googleAdsense",{schema:p5,label:"Google Adsense",category:"ad",envDefaults:{client:""},bundle:{resolve:n=>n?.client?Wr("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:_5,label:"Intercom",category:"support",envDefaults:{app_id:""},bundle:{resolve(n){return n?.app_id?Uo("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:b5,label:"Hotjar",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Wr(`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:zl}}),t("clarity",{schema:l5,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:zl},partytown:{forwards:["clarity"]}}),t("stripe",{schema:M5,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:g5,label:"Google Maps",envDefaults:{apiKey:""},category:"content",serverHandlers:[{route:"/_scripts/proxy/google-static-maps",handler:"./runtime/server/google-static-maps-proxy",requiresSigning:!0},{route:"/_scripts/proxy/google-maps-geocode",handler:"./runtime/server/google-maps-geocode-proxy",requiresSigning:!0}]}),t("blueskyEmbed",{composableName:!1,schema:a5,label:"Bluesky Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/bluesky",handler:"./runtime/server/bluesky-embed",requiresSigning:!0},{route:"/_scripts/embed/bluesky-image",handler:"./runtime/server/bluesky-embed-image",requiresSigning:!0}]}),t("instagramEmbed",{composableName:!1,schema:w5,label:"Instagram Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/instagram",handler:"./runtime/server/instagram-embed",requiresSigning:!0},{route:"/_scripts/embed/instagram-image",handler:"./runtime/server/instagram-embed-image",requiresSigning:!0},{route:"/_scripts/embed/instagram-asset",handler:"./runtime/server/instagram-embed-asset",requiresSigning:!0}]}),t("xEmbed",{composableName:!1,schema:$5,label:"X Embed",category:"content",serverHandlers:[{route:"/_scripts/embed/x",handler:"./runtime/server/x-embed",requiresSigning:!0},{route:"/_scripts/embed/x-image",handler:"./runtime/server/x-embed-image",requiresSigning:!0}]}),t("crisp",{schema:u5,label:"Crisp",category:"support",envDefaults:{id:""},bundle:!0}),t("npm",{schema:k5,label:"NPM",category:"cdn",bundle:{resolve(n){return U0(n?.file||"",`https://unpkg.com/${n?.packageName||""}@${n?.version||"latest"}`)}}}),t("googleRecaptcha",{schema:m5,label:"Google reCAPTCHA",envDefaults:{siteKey:""},category:"utility"}),t("googleSignIn",{schema:y5,label:"Google Sign-In",src:"https://accounts.google.com/gsi/client",envDefaults:{clientId:""},category:"utility"}),t("googleTagManager",{schema:v5,label:"Google Tag Manager",category:"tag-manager",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Wr("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:h5,label:"Google Analytics",category:"analytics",envDefaults:{id:""},bundle:{resolve(n){return n?.id?Wr("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:zl},partytown:{forwards:["dataLayer.push","gtag"]}}),t("umamiAnalytics",{schema:L5,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:F5,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",requiresSigning:!0}]})])}function U5(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 Xs(e,t){return si()?(Ua(e,t),!0):!1}function G5(){const e=new Set,t=o=>{e.delete(o)};return{on:o=>{e.add(o);const i=()=>t(o);return Xs(i),{off:i}},off:t,trigger:(...o)=>Promise.all(Array.from(e).map(i=>i(...o))),clear:()=>{e.clear()}}}function JR(e){let t=!1,n;const r=zu(!0);return((...s)=>(t||(n=r.run(()=>e(...s)),t=!0),n))}const Ir=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const W5=e=>typeof e<"u",K5=Object.prototype.toString,X5=e=>K5.call(e)==="[object Object]",Cr=()=>{};function rm(...e){if(e.length!==1)return Bt(...e);const t=e[0];return typeof t=="function"?ar(Wu(()=>({get:t,set:Cr}))):J(t)}function sm(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 om=e=>e();function Y5(e,t={}){let n,r,s=Cr;const o=l=>{clearTimeout(l),s(),s=Cr};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 J5(e=om,t={}){const{initialState:n="active"}=t,r=rm(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 Z5(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 Hl(e){return Array.isArray(e)?e:[e]}function im(e){return dt()}function sf(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=zu(!0),n=r.run(()=>e(...o))),Xs(s),n))}function Q5(e){return xt(Ye(e)?new Proxy({},{get(t,n,r){return x(Reflect.get(e.value,n,r))},set(t,n,r){return Ye(e.value[n])&&!Ye(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 am(e){return Q5(R(e))}function e4(e,...t){const n=t.flat(),r=n[0];return am(()=>Object.fromEntries(typeof r=="function"?Object.entries(Ar(e)).filter(([s,o])=>!r(je(o),s)):Object.entries(Ar(e)).filter(s=>!n.includes(s[0]))))}function fs(e,...t){const n=t.flat(),r=n[0];return am(()=>Object.fromEntries(typeof r=="function"?Object.entries(Ar(e)).filter(([s,o])=>r(je(o),s)):n.map(s=>[s,rm(e,s)])))}function t4(e,t=1e4){return Wu((n,r)=>{let s=je(e),o;const i=()=>setTimeout(()=>{s=je(e),r()},je(t));return Xs(()=>{clearTimeout(o)}),{get(){return n(),s},set(a){s=a,r(),clearTimeout(o),o=i()}}})}function lm(e,t=200,n={}){return sm(Y5(t,n),e)}function n4(e,t,n={}){const{eventFilter:r=om,...s}=n;return Be(e,sm(r,t),s)}function Dc(e,t,n={}){const{eventFilter:r,initialState:s="active",...o}=n,{eventFilter:i,pause:a,resume:l,isActive:u}=J5(r,{initialState:s});return{stop:n4(e,t,{...o,eventFilter:i}),pause:a,resume:l,isActive:u}}function ZR(e,t,...[n]){const{flush:r="sync",deep:s=!1,immediate:o=!0,direction:i="both",transform:a={}}=n||{},l=[],u="ltr"in a&&a.ltr||(p=>p),c="rtl"in a&&a.rtl||(p=>p);return(i==="both"||i==="ltr")&&l.push(Dc(e,p=>{l.forEach(d=>d.pause()),t.value=u(p),l.forEach(d=>d.resume())},{flush:r,deep:s,immediate:o})),(i==="both"||i==="rtl")&&l.push(Dc(t,p=>{l.forEach(d=>d.pause()),e.value=c(p),l.forEach(d=>d.resume())},{flush:r,deep:s,immediate:o})),()=>{l.forEach(p=>p.stop())}}function QR(e,t){im()&&cs(e,t)}function r4(e,t=!0,n){im()?Mt(e,n):t?e():At(e)}function sl(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()),Xs(l),{isPending:zr(o),start:u,stop:l}}function s4(e=1e3,t={}){const{controls:n=!1,callback:r}=t,s=sl(r??Cr,e,t),o=R(()=>!s.isPending.value);return n?{ready:o,...s}:o}function o4(e,t,n){return Be(e,t,{...n,immediate:!0})}const Ln=Ir?window:void 0,cm=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=R(()=>{const r=Hl(je(e[0])).filter(s=>s!=null);return r.every(s=>typeof s!="string")?r:void 0});return o4(()=>{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),Hl(je(n.value?e[1]:e[0])),Hl(x(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=X5(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 i4(e,t,n={}){const{window:r=Ln,ignore:s=[],capture:o=!0,detectIframe:i=!1,controls:a=!1}=n;if(!r)return a?{stop:Cr,cancel:Cr,trigger:Cr}:Cr;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 um(){const e=ft(!1),t=dt();return t&&Mt(()=>{e.value=!0},t),e}function fm(e){const t=um();return R(()=>(t.value,!!e()))}function a4(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function of(...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=a4(t);return Bn(s,o,c=>{c.repeat&&je(a)||l(c)&&n(c)},i)}function dm(e,t={}){const{immediate:n=!0,fpsLimit:r=null,window:s=Ln,once:o=!1}=t,i=ft(!1),a=R(()=>{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(),Xs(p),{isActive:ar(i),pause:p,resume:f}}function jd(e,t={}){const{controls:n=!1,navigator:r=cm}=t,s=fm(()=>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=Z5(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 Oe(o.value)}});return u(),n?{state:a,isSupported:s,query:u}:a}function eO(e={}){const{navigator:t=cm,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=fm(()=>t&&"clipboard"in t),a=jd("clipboard-read"),l=jd("clipboard-write"),u=R(()=>i.value||o),c=ft(""),f=ft(!1),p=sl(()=>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 l4(e){return JSON.parse(JSON.stringify(e))}const ki=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Si="__vueuse_ssr_handlers__",c4=u4();function u4(){return Si in ki||(ki[Si]=ki[Si]||{}),ki[Si]}function f4(e,t){return c4[e]||t}function d4(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 p4={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()}},qd="vueuse-storage";function h4(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=R(()=>je(e));if(!n)try{n=f4("getDefaultStorage",()=>Ln?.localStorage)()}catch(N){d(N)}if(!n)return g;const b=je(t),v=d4(b),m=(s=r.serializer)!==null&&s!==void 0?s:p4[v],{pause:w,resume:_}=Dc(g,N=>M(N),{flush:o,deep:i,eventFilter:p});Be(y,()=>O(),{flush:o});let k=!1;const E=N=>{h&&!k||O(N)},A=N=>{h&&!k||G(N)};f&&a&&(n instanceof Storage?Bn(f,"storage",E,{passive:!0}):Bn(f,qd,A)),h?r4(()=>{k=!0,O()}):O();function T(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(qd,{detail:L}))}}function M(N){try{const q=n.getItem(y.value);if(N==null)T(q,null),n.removeItem(y.value);else{const L=m.write(N);q!==L&&(n.setItem(y.value,L),T(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 O(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(_):_()}}}}function G(N){O(N.detail)}return g}function pm(e,t,n={}){const{window:r=Ln}=n;return h4(e,t,r?.localStorage,n)}function Go(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):l4(v):v,y=()=>W5(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 R({get(){return y()},set(v){b(v)}})}async function g4(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 m4(t);return r?{size:y4(r)}:{size:null}}async function m4(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 y4(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 tO(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function nO(e){return R3(e)?e:new URL(e).origin}function v4(e){return e<1e3?`${e}ms`:e<6e4?`${(e/1e3).toFixed(2)}s`:`${(e/6e4).toFixed(2)}m`}function rO(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 b4=J(Date.now()),hm=J("/"),w4=J(),ns=pm("nuxt-scripts:standalone-url",""),ha=J(!1),bo=R(()=>!ha.value&&!!ns.value),_4=lm(()=>{b4.value=Date.now()},200),gm=pm("nuxt-scripts:preview-source","local"),Bc=J(""),mm=R(()=>{const e=Bc.value;return!e||!fr(e)?!1:!e.includes("localhost")&&!e.includes("127.0.0.1")}),Ei=R(()=>gm.value==="production"&&mm.value),x4=V5(),ym=J([]),zd=J({}),Hd=xt({}),Vd=xt({}),vm=xt({}),af=J(null),Fs=J(null);let ga=null;async function C4(){ym.value=await x4,ga&&ma(ga)}const k4=/([\s_-])+/g,S4=/ /g,E4=/\(([^)]*)\)/;function A4(e){return e.replace(k4," ").split(" ").map((t,n)=>n===0?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()).join("")}function ma(e){if(!e||typeof e!="object"){ga=null,zd.value={};return}ga=e,zd.value=Object.fromEntries(Object.entries({...e}).map(([t,n])=>{if(n.registry=ym.value.find(i=>A4(i.label)===n.registryKey),n.registry){const i=n.registry.label.toLowerCase().replace(S4,"-");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=v4(s-r));const o=n.src;return!Hd[o]&&n.src&&!bo.value&&g4(n.src).then(i=>{i.size&&(Hd[o]=i.size,n.size=i.size),i.error&&(Vd[o]=i.error instanceof Error?i.error.message:String(i.error),n.error=Vd[o])}),[t,n]}))}function sO(e){const t=e?.$script?.status;return t?typeof t=="object"&&"value"in t?t.value:String(t):"unknown"}function oO(e){return typeof e?.$script?.load=="function"}function iO(e){return!e||!Fs.value?.enabled?!1:Fs.value.scripts.some(t=>t.registryKey===e)}function aO(e){if(!(!e||!Fs.value?.enabled))return Fs.value.scripts.find(t=>t.registryKey===e)}function lO(e){return vm[e]||"events"}function cO(e,t){vm[e]=t}function uO(e){const t=e.registry?.logo;return t?typeof t=="object"?t.dark||t.light:t:null}function T4(e,t){const n=t.toString(),s=n.match(E4)?.[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 P4(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 fO(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"?` ${T4(n,r)}`:` ${P4(n,r)}`);return t.length?`interface ScriptInstance {
|
|
7
|
+
${t.join(`
|
|
8
|
+
`)}
|
|
9
|
+
}`:`interface ScriptInstance {
|
|
10
|
+
// No API available
|
|
11
|
+
}`}const lf=()=>X3().app,R4=()=>lf().baseURL,O4=()=>lf().buildAssetsDir,cf=(...e)=>W0(bm(),O4(),...e),bm=(...e)=>{const t=lf(),n=t.cdnURL||t.baseURL;return e.length?W0(n,...e):n};globalThis.__buildAssetsURL=cf,globalThis.__publicAssetsURL=bm;globalThis.$fetch||(globalThis.$fetch=K3.create({baseURL:R4()}));"global"in globalThis||(globalThis.global=globalThis);function Fc(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Fc(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const wm=(()=>{if(console.createTask)return console.createTask;const e={run:t=>t()};return()=>e})();function _m(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(()=>_m(e,t,s+1,r))}catch(o){return Promise.reject(o)}}function I4(e,t,n){if(e.length>0)return _m(e,t,0,wm(n))}function M4(e,t,n){if(e.length>0){const r=wm(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}}function Vl(e,t){for(const n of[...e])n(t)}var N4=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=Fc(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=Fc(e);for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(I4,e,t)}callHookParallel(e,...t){return this.callHookWith(M4,e,t)}callHookWith(e,t,n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&Vl(this._before,r);const s=e(this._hooks[t]?[...this._hooks[t]]:[],n,t);return s instanceof Promise?s.finally(()=>{this._after&&r&&Vl(this._after,r)}):(this._after&&r&&Vl(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 xm(){return new N4}function L4(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;jc.add(u);try{const c=s?s.run(i,a):a();return n||(t=void 0),await c}finally{jc.delete(u)}}}}function $4(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=L4({...e,...r})),t[n]}}}const ya=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ud="__unctx__",D4=ya[Ud]||(ya[Ud]=$4()),B4=(e,t={})=>D4.get(e,t),Gd="__unctx_async_handlers__",jc=ya[Gd]||(ya[Gd]=new Set);function Ro(e){const t=[];for(const s of jc){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 Wd=!1,F4=!1,Kd={id:"__nuxt-loader"},j4={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},q4={deep:!1},z4="#__nuxt",Cm="nuxt-app",Xd=36e5,H4="vite:preloadError";function km(e=Cm){return B4(e,{asyncContext:!1})}const V4="__nuxt_plugin";function U4(e){let t=0;const n={_id:e.id||Cm||"nuxt-app",_scope:zu(),provide:void 0,versions:{get nuxt(){return"4.4.2"},get vue(){return n.vueApp.version}},payload:pn({...e.ssrContext?.payload||{},data:pn({}),state:xt({}),once:new Set,_errors:pn({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!si()?n._scope.run(()=>Yd(n,s)):Yd(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=xm(),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;Ai(n,i,o),Ai(n.vueApp.config.globalProperties,i,o)},Ai(n.vueApp,"$nuxt",n),Ai(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(H4,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 G4(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function W4(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 K4(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=W4(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)G4(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,{[V4]:!0,_name:t})}function Yd(e,t,n){const r=()=>t();return km(e._id).set(e),e.vueApp.runWithContext(r)}function X4(e){let t;return Ja()&&(t=dt()?.appContext.app.$nuxt),t||=km(e).tryUse(),t||null}function ze(e){const t=X4(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function li(e){return ze().$config}function Ai(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Ul(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 qc(e,t,n=".",r){if(!Ul(t))return qc(e,{},n,r);const s={...t};for(const o of Object.keys(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]]:Ul(i)&&Ul(s[o])?s[o]=qc(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function Sm(e){return(...t)=>t.reduce((n,r)=>qc(n,r,"",e),{})}const zn=Sm(),Y4=Sm((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function J4(e,t){try{return t in e}catch{return!1}}class Jd 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:zc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Em(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}function Z4(e){if(typeof e=="string")return new Jd(e);if(Q4(e))return e;const t=new Jd(e.message??e.statusMessage??"",{cause:e.cause||e});if(J4(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=zc(e.statusCode,t.statusCode):e.status&&(t.statusCode=zc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Em(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 Q4(e){return e?.constructor?.__h3_error__===!0}const ew=/[^\u0009\u0020-\u007E]/g;function Em(e=""){return e.replace(ew,"")}function zc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const tw=Symbol("layout-meta"),ol=Symbol("route");import.meta.url.replace(/\/app\/.*$/,"/");const Vt=()=>ze()?.$router,uf=()=>Ja()?Ve(ol,ze()._route):ze()._route;const nw=()=>{try{if(ze()._processingMiddleware)return!0}catch{return!1}return!1},rw=(e,t)=>{e||="/";const n=typeof e=="string"?e:"path"in e?Hc(e):Vt().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&&O3(u))throw new Error(`Cannot navigate to a URL with '${u}' protocol.`)}const o=nw();if(!s&&o){if(t?.replace){if(typeof e=="string"){const{pathname:u,search:c,hash:f}=nf(e);return{path:u,...c&&{query:tf(c)},...f&&{hash:f},replace:!0}}return{...e,replace:!0}}return e}const i=Vt(),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"?Am(e):e;return t?.replace?i.replace(l):i.push(l)};function Hc(e){return Wr(e.path||"",e.query||{})+(e.hash||"")}function Am(e){const t=nf(e);return v3(b3(t.pathname))+t.search+t.hash}const Tm="__nuxt_error",il=()=>Bt(ze().payload,"error"),Vr=e=>{const t=Sr(e);try{const n=il();ze().hooks.callHook("app:error",t),n.value||=t}catch{throw t}return t},sw=async(e={})=>{const t=ze(),n=il();t.callHook("app:error:cleared",e),e.redirect&&await Vt().replace(e.redirect),n.value=void 0},Pm=e=>!!e&&typeof e=="object"&&Tm in e,Sr=e=>{typeof e!="string"&&e.statusText&&(e.message??=e.statusText);const t=Z4(e);return Object.defineProperty(t,Tm,{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 ow(e){const t=aw(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 iw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function aw(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|=iw.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 lw=-1,cw=-2,uw=-3,fw=-4,dw=-5,pw=-6,hw=-7;function gw(e,t){return mw(JSON.parse(e),t)}function mw(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===lw)return;if(i===uw)return NaN;if(i===fw)return 1/0;if(i===dw)return-1/0;if(i===pw)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=ow(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]===hw){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!==cw&&(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 yw=new Set(["link","style","script","noscript"]),vw=new Set(["title","titleTemplate","script","style","noscript"]),Vc=new Set(["base","meta","link","style","script","noscript"]),bw=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ww=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),_w=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),xw=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Cw=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),kw=["name","property","http-equiv"],Sw=new Set(["viewport","description","keywords","robots"]);function Rm(e){const t=e.split(":");return t.length?Cw.has(t[1]):!1}function Uc(e){const{props:t,tag:n}=e;if(ww.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 kw)if(t[r]!==void 0){const s=t[r],o=s&&typeof s=="string"&&s.includes(":"),i=s&&Sw.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(vw.has(n)){const r=e.textContent||e.innerHTML;if(r)return`${n}:content:${r}`}}function Om(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 va(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=>va(o,t));if(s?.constructor===Object){const o={};for(const i of Object.keys(s))o[i]=va(s[i],t,i);return o}return s}function Ew(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 Im(e,t){if(e.props=e.props||{},!t)return e;if(e.tag==="templateParams")return e.props=t,e;const n=Vc.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]=Ew(r,s);return}if(_w.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 Aw(e,t){const n=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},r=Im({tag:e,props:{}},n);return r.key&&yw.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 Tw(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=va(e,n),Object.entries(e||{}).forEach(([s,o])=>{if(o!==void 0)for(const i of Array.isArray(o)?o:[o])r.push(Aw(s,i))}),r.flat()}const Zd=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Qd={base:-10,title:10},Pw={critical:-8,high:-1,low:2},ep={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}},Rw=/@import/,ao=e=>e===""||e===!0;function Ow(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let n=100;const r=Pw[t.tagPriority]||0,s=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:ep;if(t.tag in Qd)n=Qd[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=ep.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);ao(t.props.async)?n=s.script.async:t.props.src&&!ao(t.props.defer)&&!ao(t.props.async)&&o!=="module"&&!o.endsWith("json")||t.innerHTML&&!o.endsWith("json")?n=s.script.sync:(ao(t.props.defer)&&t.props.src&&!ao(t.props.async)||o==="module")&&(n=s.script.defer)}else t.tag==="style"&&(n=t.innerHTML&&Rw.test(t.innerHTML)?s.style.imported:s.style.sync);return(n||100)+r}function tp(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 Iw(e={}){const t=xm();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=>tp(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:Tw(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=Ow(i,g),g._p=(d._i<<10)+y,g._d=Uc(g),g._d||(g._h=Om(g)),g))}}let l=!1;a.entries.flatMap(p=>(p._tags||[]).map(d=>({...d,props:{...d.props}}))).sort(Zd).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||(xw.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"&&Rm(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(Zd)),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(bw.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=Uc(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=>tp(i,a)),i.hooks.callHook("init",i),e.init?.forEach(a=>a&&i.push(a)),i}const Mw=(e,t)=>Ye(t)?je(t):t,ff="usehead";function Nw(e){return{install(n){n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ff,e)}}.install}function Lw(){if(Ja()){const e=Ve(ff);if(e)return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function $w(e,t={}){const n=t.head||Lw();return n.ssr?n.push(e||{},t):Dw(n,e,t)}function Dw(e,t,n={}){const r=J(!1);let s;return nn(()=>{const i=r.value?{}:va(t,Mw);s?s.patch(i):s=e.push(i,n)}),dt()&&(cs(()=>{s.dispose()}),Jg(()=>{r.value=!0}),Yg(()=>{r.value=!1})),s}function Bw(e){const t=e||ze();return t.ssrContext?.head||t.runWithContext(()=>{if(Ja()){const n=Ve(ff);if(!n)throw new Error("[nuxt] [unhead] Missing Unhead instance.");return n}})}function Mm(e,t={}){const n=t.head||Bw(t.nuxt);return $w(e,{head:n,...t})}const Fw=(e,t)=>[],jw=e=>zn({},...Fw().map(t=>t.data).reverse()),qw=jw;let Ki;function zw(){return Ki=$fetch(cf(`builds/meta/${li().app.buildId}.json`),{responseType:"json"}),Ki.catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Ki}function Hw(){return Ki||zw()}function Nm(e){const t=typeof e=="string"?e:e.path;try{return qw(t)}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Vw(e){return null}let Br=null;async function Uw(){if(Br)return Br;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Gw(e.textContent||""),n=e.dataset.src?await Vw(e.dataset.src):void 0;return Br={...t,...n,...window.__NUXT__},Br.config?.public&&(Br.config.public=xt(Br.config.public)),Br}async function Gw(e){return await gw(e,ze()._payloadRevivers)}function Ww(e,t){ze()._payloadRevivers[e]=t}function np(e){try{return JSON.parse(e)}catch{return e}}const Kw=[["NuxtError",e=>Sr(e)],["EmptyShallowRef",e=>ft(e==="_"?void 0:e==="0n"?BigInt(0):np(e))],["EmptyRef",e=>J(e==="_"?void 0:e==="0n"?BigInt(0):np(e))],["ShallowRef",e=>ft(e)],["ShallowReactive",e=>pn(e)],["Ref",e=>J(e)],["Reactive",e=>xt(e)]],Xw=An({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of Kw)Ww(r,s);Object.assign(e.payload,([t,n]=Ro(()=>e.runWithContext(Uw)),t=await t,n(),t)),delete window.__NUXT__}});async function df(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&&Rm(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(!Vc.has(y))continue;const b=Im({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=Uc(b)||Om(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 _=b.slice(0,-5);v.call(h,new Event(_.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,_]of v)l(d,`${m}:${w}`,()=>{h.style.removeProperty(w)}),h.style.setProperty(w,_)}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):Vc.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 Yw(e={}){const t=e.domOptions?.render||df;e.document=e.document||(typeof window<"u"?document:void 0);const n=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Iw({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[n?JSON.parse(n):!1,...e.init||[]]})}function Jw(e,t){let n=0;return()=>{const r=++n;t(()=>{n===r&&e()})}}function Zw(e={}){const t=Yw({domOptions:{render:Jw(()=>df(t),n=>setTimeout(n,0))},...e});return t.install=Nw(t),t}const Qw={disableDefaults:!0},e6=An({name:"nuxt:head",enforce:"pre",setup(e){const t=Zw(Qw);e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await df(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 _s=typeof document<"u";function Lm(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function t6(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Lm(e.default)}const $e=Object.assign;function Gl(e,t){const n={};for(const r in t){const s=t[r];n[r]=xn(s)?s.map(e):e(s)}return n}const Oo=()=>{},xn=Array.isArray;function rp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let tt=(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 $m=Symbol("");tt.MATCHER_NOT_FOUND+"",tt.NAVIGATION_GUARD_REDIRECT+"",tt.NAVIGATION_ABORTED+"",tt.NAVIGATION_CANCELLED+"",tt.NAVIGATION_DUPLICATED+"";function js(e,t){return $e(new Error,{type:e,[$m]:!0},t)}function Wn(e,t){return e instanceof Error&&$m in e&&(t==null||!!(e.type&t))}const n6=["params","query","hash"];function r6(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of n6)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const s6=Symbol(""),sp=Symbol(""),pf=Symbol(""),Dm=Symbol(""),Gc=Symbol(""),o6={trailing:!0};function i6(e,t=25,n={}){if(n={...o6,...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=a6(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 a6(e,t,n){return await e.apply(t,n)}const Bm=/#/g,l6=/&/g,c6=/\//g,u6=/=/g,f6=/\?/g,Fm=/\+/g,d6=/%5B/g,p6=/%5D/g,jm=/%5E/g,h6=/%60/g,qm=/%7B/g,g6=/%7C/g,zm=/%7D/g,m6=/%20/g;function hf(e){return e==null?"":encodeURI(""+e).replace(g6,"|").replace(d6,"[").replace(p6,"]")}function y6(e){return hf(e).replace(qm,"{").replace(zm,"}").replace(jm,"^")}function Wc(e){return hf(e).replace(Fm,"%2B").replace(m6,"+").replace(Bm,"%23").replace(l6,"%26").replace(h6,"`").replace(qm,"{").replace(zm,"}").replace(jm,"^")}function v6(e){return Wc(e).replace(u6,"%3D")}function b6(e){return hf(e).replace(Bm,"%23").replace(f6,"%3F")}function w6(e){return b6(e).replace(c6,"%2F")}function Wo(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const _6=/\/$/,x6=e=>e.replace(_6,"");function Wl(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=E6(r??t,n),{fullPath:r+o+i,path:r,query:s,hash:Wo(i)}}function C6(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function op(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function k6(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&qs(t.matched[r],n.matched[s])&&Hm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Hm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!S6(e[n],t[n]))return!1;return!0}function S6(e,t){return xn(e)?ip(e,t):xn(t)?ip(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function ip(e,t){return xn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function E6(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 Kc=(function(e){return e.pop="pop",e.push="push",e})({}),Kl=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function A6(e){if(!e)if(_s){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),x6(e)}const T6=/^[^#]+#/;function P6(e,t){return e.replace(T6,"#")+t}function R6(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 al=()=>({left:window.scrollX,top:window.scrollY});function O6(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=R6(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 ap(e,t){return(history.state?history.state.position-t:-1)+e}const Xc=new Map;function I6(e,t){Xc.set(e,t)}function M6(e){const t=Xc.get(e);return Xc.delete(e),t}function N6(e){return typeof e=="string"||e&&typeof e=="object"}function Vm(e){return typeof e=="string"||typeof e=="symbol"}function L6(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(Fm," "),o=s.indexOf("="),i=Wo(o<0?s:s.slice(0,o)),a=o<0?null:Wo(s.slice(o+1));if(i in t){let l=t[i];xn(l)||(l=t[i]=[l]),l.push(a)}else t[i]=a}return t}function lp(e){let t="";for(let n in e){const r=e[n];if(n=v6(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(xn(r)?r.map(s=>s&&Wc(s)):[r&&Wc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function $6(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=xn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function lo(){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(js(tt.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?l(p):N6(p)?l(js(tt.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 Xl(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(Lm(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=t6(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 D6(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=>qs(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>qs(u,l))||s.push(l))}return[n,r,s]}let B6=()=>location.protocol+"//"+location.host;function Um(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),op(a,"")}return op(n,e)+r+s}function F6(e,t,n,r){let s=[],o=[],i=null;const a=({state:p})=>{const d=Um(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:Kc.pop,direction:y?y>0?Kl.forward:Kl.back:Kl.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($e({},p.state,{scroll:al()}),"")}}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 cp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?al():null}}function j6(e){const{history:t,location:n}=window,r={value:Um(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:B6()+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,$e({},t.state,cp(s.value.back,l,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=l}function a(l,u){const c=$e({},s.value,t.state,{forward:l,scroll:al()});o(c.current,c,!0),o(l,$e({},cp(r.value,l,null),{position:c.position+1},u),!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function q6(e){e=A6(e);const t=j6(e),n=F6(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=$e({location:"",base:e,go:r,createHref:P6.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 Xr=(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 z6={type:Xr.Static,value:""},H6=/[a-zA-Z0-9_]/;function V6(e){if(!e)return[[]];if(e==="/")return[[z6]];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:Xr.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:Xr.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:H6.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 up="[^/]+?",U6={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 G6=/[.+*?^${}()[\]/\\]/g;function W6(e,t){const n=$e({},U6,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===Xr.Static)f||(s+="/"),s+=p.value.replace(G6,"\\$&"),d+=$t.Static;else if(p.type===Xr.Param){const{value:h,repeatable:g,optional:y,regexp:b}=p;o.push({name:h,repeatable:g,optional:y});const v=b||up;if(v!==up){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===Xr.Static)c+=d.value;else if(d.type===Xr.Param){const{value:h,repeatable:g,optional:y}=d,b=h in u?u[h]:"";if(xn(b)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=xn(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 K6(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 Gm(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=K6(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(fp(r))return 1;if(fp(s))return-1}return s.length-r.length}function fp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const X6={strict:!1,end:!0,sensitive:!1};function Y6(e,t,n){const r=W6(V6(e.path),n),s=$e(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function J6(e,t){const n=[],r=new Map;t=rp(X6,t);function s(f){return r.get(f)}function o(f,p,d){const h=!d,g=pp(f);g.aliasOf=d&&d.record;const y=rp(t,f),b=[g];if("alias"in f){const w=typeof f.alias=="string"?[f.alias]:f.alias;for(const _ of w)b.push(pp($e({},g,{components:d?d.record.components:g.components,path:_,aliasOf:d?d.record:g})))}let v,m;for(const w of b){const{path:_}=w;if(p&&_[0]!=="/"){const k=p.record.path,E=k[k.length-1]==="/"?"":"/";w.path=p.record.path+(_&&E+_)}if(v=Y6(w,p,y),d?d.alias.push(v):(m=m||v,m!==v&&m.alias.push(v),h&&f.name&&!hp(v)&&i(f.name)),Wm(v)&&l(v),g.children){const k=g.children;for(let E=0;E<k.length;E++)o(k[E],v,d&&d.children[E])}d=d||v}return m?()=>{i(m)}:Oo}function i(f){if(Vm(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=e8(f,n);n.splice(p,0,f),f.record.name&&!hp(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 js(tt.MATCHER_NOT_FOUND,{location:f});y=d.record.name,h=$e(dp(p.params,d.keys.filter(m=>!m.optional).concat(d.parent?d.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),f.params&&dp(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 js(tt.MATCHER_NOT_FOUND,{location:f,currentLocation:p});y=d.record.name,h=$e({},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:Q6(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 dp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function pp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Z6(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 Z6(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 hp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Q6(e){return e.reduce((t,n)=>$e(t,n.meta),{})}function e8(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Gm(e,t[o])<0?r=o:n=o+1}const s=t8(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function t8(e){let t=e;for(;t=t.parent;)if(Wm(t)&&Gm(e,t)===0)return t}function Wm({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gp(e){const t=Ve(pf),n=Ve(Dm),r=R(()=>{const l=x(e.to);return t.resolve(l)}),s=R(()=>{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(qs.bind(null,c));if(p>-1)return p;const d=mp(l[u-2]);return u>1&&mp(c)===d&&f[f.length-1].path!==d?f.findIndex(qs.bind(null,l[u-2])):p}),o=R(()=>s.value>-1&&i8(n.params,r.value.params)),i=R(()=>s.value>-1&&s.value===n.matched.length-1&&Hm(n.params,r.value.params));function a(l={}){if(o8(l)){const u=t[x(e.replace)?"replace":"push"](x(e.to)).catch(Oo);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function n8(e){return e.length===1?e[0]:e}const r8=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:gp,setup(e,{slots:t}){const n=xt(gp(e)),{options:r}=Ve(pf),s=R(()=>({[yp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[yp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&n8(t.default(n));return e.custom?o:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),s8=r8;function o8(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 i8(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(!xn(s)||s.length!==r.length||r.some((o,i)=>o.valueOf()!==s[i].valueOf()))return!1}return!0}function mp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const yp=(e,t,n)=>e??t??n,a8=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(Gc),s=R(()=>e.route||r.value),o=Ve(sp,0),i=R(()=>{let u=x(o);const{matched:c}=s.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=R(()=>s.value.matched[i.value]);Zt(sp,R(()=>i.value+1)),Zt(s6,a),Zt(Gc,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||!qs(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 vp(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=Xe(p,$e({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return vp(n.default,{Component:y,route:u})||y}}});function vp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Km=a8;function l8(e){const t=J6(e.routes,e),n=e.parseQuery||L6,r=e.stringifyQuery||lp,s=e.history,o=lo(),i=lo(),a=lo(),l=ft(on);let u=on;_s&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Gl.bind(null,B=>""+B),f=Gl.bind(null,w6),p=Gl.bind(null,Wo);function d(B,oe){let Y,fe;return Vm(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=$e({},oe||l.value),typeof B=="string"){const S=Wl(n,B,oe.path),I=t.resolve({path:S.path},oe),z=s.createHref(S.fullPath);return $e(S,I,{params:p(I.params),hash:Wo(S.hash),redirectedFrom:void 0,href:z})}let Y;if(B.path!=null)Y=$e({},B,{path:Wl(n,B.path,oe.path).path});else{const S=$e({},B.params);for(const I in S)S[I]==null&&delete S[I];Y=$e({},B,{params:f(S)}),oe.params=f(oe.params)}const fe=t.resolve(Y,oe),_e=B.hash||"";fe.params=c(p(fe.params));const Fe=C6(r,$e({},B,{hash:y6(_e),path:fe.path})),C=s.createHref(Fe);return $e({fullPath:Fe,hash:_e,query:r===lp?$6(B.query):B.query||{}},fe,{redirectedFrom:void 0,href:C})}function v(B){return typeof B=="string"?Wl(n,B,l.value.path):$e({},B)}function m(B,oe){if(u!==B)return js(tt.NAVIGATION_CANCELLED,{from:oe,to:B})}function w(B){return E(B)}function _(B){return w($e(v(B),{replace:!0}))}function k(B,oe){const Y=B.matched[B.matched.length-1];if(Y&&Y.redirect){const{redirect:fe}=Y;let _e=typeof fe=="function"?fe(B,oe):fe;return typeof _e=="string"&&(_e=_e.includes("?")||_e.includes("#")?_e=v(_e):{path:_e},_e.params={}),$e({query:B.query,hash:B.hash,params:_e.path!=null?{}:B.params},_e)}}function E(B,oe){const Y=u=b(B),fe=l.value,_e=B.state,Fe=B.force,C=B.replace===!0,S=k(Y,fe);if(S)return E($e(v(S),{state:typeof S=="object"?$e({},_e,S.state):_e,force:Fe,replace:C}),oe||Y);const I=Y;I.redirectedFrom=oe;let z;return!Fe&&k6(r,fe,Y)&&(z=js(tt.NAVIGATION_DUPLICATED,{to:I,from:fe}),et(fe,fe,!0,!1)),(z?Promise.resolve(z):M(I,fe)).catch(F=>Wn(F)?Wn(F,tt.NAVIGATION_GUARD_REDIRECT)?F:te(F):$(F,I,fe)).then(F=>{if(F){if(Wn(F,tt.NAVIGATION_GUARD_REDIRECT))return E($e({replace:C},v(F.to),{state:typeof F.to=="object"?$e({},_e,F.to.state):_e,force:Fe}),oe||I)}else F=O(I,fe,!0,C,_e);return j(I,fe,F),F})}function A(B,oe){const Y=m(B,oe);return Y?Promise.reject(Y):Promise.resolve()}function T(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,_e,Fe]=D6(B,oe);Y=Xl(fe.reverse(),"beforeRouteLeave",B,oe);for(const S of fe)S.leaveGuards.forEach(I=>{Y.push(xr(I,B,oe))});const C=A.bind(null,B,oe);return Y.push(C),Re(Y).then(()=>{Y=[];for(const S of o.list())Y.push(xr(S,B,oe));return Y.push(C),Re(Y)}).then(()=>{Y=Xl(_e,"beforeRouteUpdate",B,oe);for(const S of _e)S.updateGuards.forEach(I=>{Y.push(xr(I,B,oe))});return Y.push(C),Re(Y)}).then(()=>{Y=[];for(const S of Fe)if(S.beforeEnter)if(xn(S.beforeEnter))for(const I of S.beforeEnter)Y.push(xr(I,B,oe));else Y.push(xr(S.beforeEnter,B,oe));return Y.push(C),Re(Y)}).then(()=>(B.matched.forEach(S=>S.enterCallbacks={}),Y=Xl(Fe,"beforeRouteEnter",B,oe,T),Y.push(C),Re(Y))).then(()=>{Y=[];for(const S of i.list())Y.push(xr(S,B,oe));return Y.push(C),Re(Y)}).catch(S=>Wn(S,tt.NAVIGATION_CANCELLED)?S:Promise.reject(S))}function j(B,oe,Y){a.list().forEach(fe=>T(()=>fe(B,oe,Y)))}function O(B,oe,Y,fe,_e){const Fe=m(B,oe);if(Fe)return Fe;const C=oe===on,S=_s?history.state:{};Y&&(fe||C?s.replace(B.fullPath,$e({scroll:C&&S&&S.scroll},_e)):s.push(B.fullPath,_e)),l.value=B,et(B,oe,Y,C),te()}let G;function N(){G||(G=s.listen((B,oe,Y)=>{if(!Pe.listening)return;const fe=b(B),_e=k(fe,Pe.currentRoute.value);if(_e){E($e(_e,{replace:!0,force:!0}),fe).catch(Oo);return}u=fe;const Fe=l.value;_s&&I6(ap(Fe.fullPath,Y.delta),al()),M(fe,Fe).catch(C=>Wn(C,tt.NAVIGATION_ABORTED|tt.NAVIGATION_CANCELLED)?C:Wn(C,tt.NAVIGATION_GUARD_REDIRECT)?(E($e(v(C.to),{force:!0}),fe).then(S=>{Wn(S,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&!Y.delta&&Y.type===Kc.pop&&s.go(-1,!1)}).catch(Oo),Promise.reject()):(Y.delta&&s.go(-Y.delta,!1),$(C,fe,Fe))).then(C=>{C=C||O(fe,Fe,!1),C&&(Y.delta&&!Wn(C,tt.NAVIGATION_CANCELLED)?s.go(-Y.delta,!1):Y.type===Kc.pop&&Wn(C,tt.NAVIGATION_ABORTED|tt.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),j(fe,Fe,C)}).catch(Oo)}))}let q=lo(),L=lo(),W;function $(B,oe,Y){te(B);const fe=L.list();return fe.length?fe.forEach(_e=>_e(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 et(B,oe,Y,fe){const{scrollBehavior:_e}=e;if(!_s||!_e)return Promise.resolve();const Fe=!Y&&M6(ap(B.fullPath,0))||(fe||!Y)&&history.state&&history.state.scroll||null;return At().then(()=>_e(B,oe,Fe)).then(C=>C&&O6(C)).catch(C=>$(C,B,oe))}const Le=B=>s.go(B);let pt;const kt=new Set,Pe={currentRoute:l,listening:!0,addRoute:d,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:g,resolve:b,options:e,push:w,replace:_,go:Le,back:()=>Le(-1),forward:()=>Le(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:L.add,isReady:ie,install(B){B.component("RouterLink",s8),B.component("RouterView",Km),B.config.globalProperties.$router=Pe,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>x(l)}),_s&&!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(pf,Pe),B.provide(Dm,pn(oe)),B.provide(Gc,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 Re(B){return B.reduce((oe,Y)=>oe.then(()=>T(Y)),Promise.resolve())}return Pe}const c8=/(:\w+)\([^)]+\)/g,u8=/(:\w+)[?+*]/g,f8=/:\w+/g,d8=(e,t)=>t.path.replace(c8,"$1").replace(u8,"$1").replace(f8,n=>e.params[n.slice(1)]?.toString()||""),Yc=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&d8(e.route,n));return typeof r=="function"?r(e.route):r},p8=(e,t)=>({default:()=>e?Xe(M2,e===!0?{}:e,t):t});function Xm(e){return Array.isArray(e)?e:[e]}const h8="modulepreload",g8=function(e,t){return new URL(e,t).href},bp={},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=g8(c,r),c in bp)return;bp[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":h8,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)})},Yl=[{name:"docs",path:"/docs",component:()=>an(()=>import("./DAF5Qk9P.js"),[],import.meta.url)},{name:"first-party",path:"/first-party",component:()=>an(()=>import("./BmlapxLP.js"),__vite__mapDeps([0,1]),import.meta.url)},{name:"registry",path:"/registry",component:()=>an(()=>import("./S8LiR9M1.js"),__vite__mapDeps([2,3]),import.meta.url)},{name:"index",path:"/",component:()=>an(()=>import("./vBkR1GJq.js"),__vite__mapDeps([4,5]),import.meta.url)}],m8=(e,t)=>({default:()=>e?Xe($0,e===!0?{}:e,t):t.default?.()}),y8=/(:\w+)\([^)]+\)/g,v8=/(:\w+)[?+*]/g,b8=/:\w+/g;function wp(e){const t=e?.meta.key??e.path.replace(y8,"$1").replace(v8,"$1").replace(b8,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function w8(e,t){return e===t||t===on?!1:wp(e)!==wp(t)?!0:!e.matched.every((r,s)=>r.components&&r.components.default===t.matched[s]?.components?.default)}function _p(e){return Array.isArray(e)?e:[e]}function _8(e){const t=[];for(const n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?_p(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?_p(n.onBeforeLeave):void 0});return zn(...t)}const x8={scrollBehavior(e,t,n){const r=ze(),s=Vt().options?.scrollBehaviorType??"auto";return e.path.replace(/\/$/,"")===t.path.replace(/\/$/,"")?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Ym(e.hash),behavior:s}:!1:(typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===on?xp(e,t,n,s):new Promise(i=>{const a=()=>{requestAnimationFrame(()=>i(xp(e,t,n,s)))};r.hooks.hookOnce("page:loading:end",()=>{const l=r["~transitionPromise"];l?l.then(a):a()})})}};function Ym(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 xp(e,t,n,r){if(n)return n;const s=w8(e,t);return e.hash?{el:e.hash,top:Ym(e.hash),behavior:s?r:"instant"}:{left:0,top:0}}const C8={hashMode:!1,scrollBehaviorType:"auto"},gr={...C8,...x8},k8=async(e,t)=>{let n,r;if(!e.meta?.validate)return;const s=([n,r]=Ro(()=>Promise.resolve(e.meta.validate(e))),n=await n,r(),n);if(s===!0)return;const o=Sr({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},S8=e=>{const t=Nm({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}},E8=[k8,S8],Jc={};function A8(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),$d(c,"")}const a=$d(r,e),l=!n||K0(a,n)?a:n;return l+(l.includes("?")?"":s)+o}const T8=An({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=li().app.baseURL;const s=gr.history?.(r)??q6(r),o=gr.routes?([t,n]=Ro(()=>gr.routes(Yl)),t=await t,n(),t??Yl):Yl;let i;const a=l8({...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=A8(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=il();a.afterEach(async(b,v,m)=>{delete e._processingMiddleware,!e.isHydrating&&d.value&&await e.runWithContext(sw),m&&await e.callHook("page:loading:end")});try{[t,n]=Ro(()=>a.isReady()),await t,n()}catch(b){[t,n]=Ro(()=>e.runWithContext(()=>Vr(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&&K0(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=xt(b.meta),e.isHydrating&&y&&!jn(b.meta.layout)&&(b.meta.layout=y),e._processingMiddleware=!0;{const m=new Set([...E8,...e._middleware.global]);for(const _ of b.matched){const k=_.meta.middleware;if(k)for(const E of Xm(k))m.add(E)}const w=Nm({path:b.path});if(w.appMiddleware)for(const _ in w.appMiddleware)w.appMiddleware[_]?m.add(_):m.delete(_);for(const _ of m){const k=typeof _=="string"?e._middleware.named[_]||await Jc[_]?.().then(E=>E.default||E):_;if(!k)throw new Error(`Unknown route middleware: '${_}'.`);try{const E=await e.runWithContext(()=>k(b,v));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const A=E||Sr({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>Vr(A)),!1}if(E===!0)continue;if(E===!1)return E;if(E)return Pm(E)&&E.fatal&&await e.runWithContext(()=>Vr(E)),E}catch(E){const A=Sr(E);return A.fatal&&await e.runWithContext(()=>Vr(A)),A}}}}),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(()=>Vr(Sr({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(()=>Vr(b))}}),{provide:{router:a}}}}),Zc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),P8=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),gf=e=>{const t=ze();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Zc(()=>e())}):Zc(()=>e())},R8=An(()=>{const e=Vt();gf(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),O8=An(e=>{let t;async function n(){let r;try{r=await Hw()}catch(s){const o=s;if(!("status"in o&&(o.status===404||o.status===403)))throw o}t&&clearTimeout(t),t=setTimeout(n,Xd);try{const s=await $fetch(cf("builds/latest.json")+`?${Date.now()}`);s.id!==r?.id&&(e.hooks.callHook("app:manifest:update",s),t&&clearTimeout(t))}catch{}}gf(()=>{t=setTimeout(n,Xd)})});function I8(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 M8=An({name:"nuxt:chunk-reload",setup(e){const t=Vt(),n=li(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const i=Uo(n.app.baseURL,o.fullPath);I8({path:i,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),N8="__NUXT_COLOR_MODE__",Jl="nuxt-color-mode",L8="localStorage",$8="$s";function Jm(...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=$8+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(Ye(a))return o.payload.state[s]=a,a;i.value=a}return i}const Kn=window[N8]||{},D8=An(e=>{const t=Jm("color-mode",()=>xt({preference:Kn.preference,value:Kn.value,unknown:!1,forced:!1})).value;Vt().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=Jl+"="+i;break;case"sessionStorage":window.sessionStorage?.setItem(Jl,i);break;default:window.localStorage?.setItem(Jl,i)}}Be(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=Kn.getColorScheme(),r()):t.value=o,s(L8,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)}),Zm=/^[a-z0-9]+(-[a-z0-9]+)*$/,ci=(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&&!Xi(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&&!Xi(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:o};return t&&!Xi(a,n)?null:a}return null},Xi=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Qm=Object.freeze({left:0,top:0,width:16,height:16}),ba=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ys=Object.freeze({...Qm,...ba}),Qc=Object.freeze({...Ys,body:"",hidden:!1});function B8(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 Cp(e,t){const n=B8(e,t);for(const r in Qc)r in ba?r in e&&!(r in n)&&(n[r]=ba[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function F8(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 j8(e,t,n){const r=e.icons,s=e.aliases||Object.create(null);let o={};function i(a){o=Cp(r[a]||s[a],o)}return i(t),n.forEach(i),Cp(e,o)}function e1(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=F8(e);for(const s in r){const o=r[s];o&&(t(s,j8(e,s,o)),n.push(s))}return n}const q8={provider:"",aliases:{},not_found:{},...Qm};function Zl(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function t1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Zl(e,q8))return null;const n=t.icons;for(const s in n){const o=n[s];if(!s||typeof o.body!="string"||!Zl(o,Qc))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]||!Zl(o,Qc))return null}return t}const kp=Object.create(null);function z8(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function is(e,t){const n=kp[e]||(kp[e]=Object.create(null));return n[t]||(n[t]=z8(e,t))}function n1(e,t){return t1(t)?e1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function H8(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ko=!1;function r1(e){return typeof e=="boolean"&&(Ko=e),Ko}function mf(e){const t=typeof e=="string"?ci(e,!0,Ko):e;if(t){const n=is(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function yf(e,t){const n=ci(e,!0,Ko);if(!n)return!1;const r=is(n.provider,n.prefix);return t?H8(r,n.name,t):(r.missing.add(n.name),!0)}function V8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ko&&!t&&!e.prefix){let s=!1;return t1(e)&&(e.prefix="",e1(e,(o,i)=>{yf(o,i)&&(s=!0)})),s}const n=e.prefix;if(!Xi({prefix:n,name:"a"}))return!1;const r=is(t,n);return!!n1(r,e)}function eu(e){const t=mf(e);return t&&{...Ys,...t}}const s1=Object.freeze({width:null,height:null}),o1=Object.freeze({...s1,...ba}),U8=/(-?[0-9.]*[0-9]+[0-9.]*)/g,G8=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Sp(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(U8);if(r===null||!r.length)return e;const s=[];let o=r.shift(),i=G8.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 W8(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 K8(e,t){return e?"<defs>"+e+"</defs>"+t:t}function X8(e,t,n){const r=W8(e);return K8(r.defs,t+r.content+n)}const Y8=e=>e==="unset"||e==="undefined"||e==="none";function J8(e,t){const n={...Ys,...e},r={...o1,...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=X8(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=Sp(f,l/u)):(c=i==="auto"?l:i,f=a===null?Sp(c,u/l):a==="auto"?u:a);const p={},d=(g,y)=>{Y8(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 Z8=/\sid="(\S+)"/g,Q8="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let e7=0;function t7(e,t=Q8){const n=[];let r;for(;r=Z8.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+(e7++).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 tu=Object.create(null);function i1(e,t){tu[e]=t}function nu(e){return tu[e]||tu[""]}function vf(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 ll=Object.create(null),co=["https://api.simplesvg.com","https://api.unisvg.com"],Yi=[];for(;co.length>0;)co.length===1||Math.random()>.5?Yi.push(co.shift()):Yi.push(co.pop());ll[""]=vf({resources:["https://api.iconify.design"].concat(Yi)});function a1(e,t){const n=vf(t);return n===null?!1:(ll[e]=n,!0)}function cl(e){return ll[e]}function n7(){return Object.keys(ll)}const r7=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let wa=r7();function s7(e){wa=e}function o7(){return wa}function i7(e,t){const n=cl(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 a7(e){return e===404}const l7=(e,t,n)=>{const r=[],s=i7(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 c7(e){if(typeof e=="string"){const t=cl(e);if(t)return t.path}return"/"}const u7=(e,t,n)=>{if(!wa){n("abort",424);return}let r=c7(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;wa(e+r).then(o=>{const i=o.status;if(i!==200){setTimeout(()=>{n(a7(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)})},f7={prepare:l7,send:u7};function d7(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]=is(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 l1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(s=>s.id!==t))})}function p7(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||l1([e],o.id),o.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),o.abort))})}))}let h7=0;function g7(e,t,n){const r=h7++,s=l1.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 m7(e,t=!0,n=!1){const r=[];return e.forEach(s=>{const o=typeof s=="string"?ci(s,t,n):s;o&&r.push(o)}),r}var y7={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function v7(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 k=e.resources.slice(0);for(i=[];k.length>1;){const E=Math.floor(Math.random()*k.length);i.push(k[E]),k=k.slice(0,E).concat(k.slice(E+1))}i=i.concat(k)}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(k=>{k.status==="pending"&&(k.status="aborted")}),p=[]}function y(k,E){E&&(d=[]),typeof k=="function"&&d.push(k)}function b(){return{startTime:a,payload:t,status:l,queriesSent:u,queriesPending:p.length,subscribe:y,abort:g}}function v(){l="failed",d.forEach(k=>{k(void 0,c)})}function m(){p.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),p=[]}function w(k,E,A){const T=E!=="success";switch(p=p.filter(M=>M!==k),l){case"pending":break;case"failed":if(T||!e.dataAfterTimeout)return;break;default:return}if(E==="abort"){c=A,v();return}if(T){c=A,p.length||(i.length?_():v());return}if(h(),m(),!e.random){const M=e.resources.indexOf(k.resource);M!==-1&&M!==e.index&&(e.index=M)}l="completed",d.forEach(M=>{M(A)})}function _(){if(l!=="pending")return;h();const k=i.shift();if(k===void 0){if(p.length){f=setTimeout(()=>{h(),l==="pending"&&(m(),v())},e.timeout);return}v();return}const E={status:"pending",resource:k,callback:(A,T)=>{w(E,A,T)}};p.push(E),u++,f=setTimeout(_,e.rotate),n(k,t,E.callback)}return setTimeout(_),b}function c1(e){const t={...y7,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function s(a,l,u){const c=v7(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 Ep(){}const Ql=Object.create(null);function b7(e){if(!Ql[e]){const t=cl(e);if(!t)return;const n=c1(t),r={config:t,redundancy:n};Ql[e]=r}return Ql[e]}function u1(e,t,n){let r,s;if(typeof e=="string"){const o=nu(e);if(!o)return n(void 0,424),Ep;s=o.send;const i=b7(e);i&&(r=i.redundancy)}else{const o=vf(e);if(o){r=c1(o);const i=e.resources?e.resources[0]:"",a=nu(i);a&&(s=a.send)}}return!r||!s?(n(void 0,424),Ep):r.query(t,s,n)().abort}function Ap(){}function w7(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,p7(e)}))}function _7(e){const t=[],n=[];return e.forEach(r=>{(r.match(Zm)?t:n).push(r)}),{valid:t,invalid:n}}function uo(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(!n1(e,n).length){r();return}}catch(s){console.error(s)}r(),w7(e)}function Tp(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function x7(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)){Tp(e.loadIcons(s,r,n),c=>{uo(e,s,c)});return}if(o){s.forEach(c=>{const f=o(c,r,n);Tp(f,p=>{const d=p?{prefix:r,icons:{[c]:p}}:null;uo(e,[c],d)})});return}const{valid:i,invalid:a}=_7(s);if(a.length&&uo(e,a,null),!i.length)return;const l=r.match(Zm)?nu(n):null;if(!l){uo(e,i,null);return}l.prepare(n,r,i).forEach(c=>{u1(n,c,f=>{uo(e,c.icons,f)})})}))}const f1=(e,t)=>{const n=m7(e,!0,r1()),r=d7(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,Ap)}),()=>{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(is(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=is(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&&x7(l,u)}),t?g7(t,r,o):Ap},C7=e=>new Promise((t,n)=>{const r=typeof e=="string"?ci(e,!0):e;if(!r){n(e);return}f1([r||e],s=>{if(s.length&&r){const o=mf(r);if(o){t({...Ys,...o});return}}n(e)})});function k7(e,t,n){is("",t).loadIcons=e}function S7(e,t){const n={...e};for(const r in t){const s=t[r],o=typeof s;r in s1?(s===null||s&&(o==="string"||o==="number"))&&(n[r]=s):o===typeof n[r]&&(n[r]=r==="rotate"?s%4:s)}return n}const E7=/[\s,]+/;function A7(e,t){t.split(E7).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function T7(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 P7(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 R7(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function O7(e){return"data:image/svg+xml,"+R7(e)}function I7(e){return'url("'+O7(e)+'")'}const Pp={...o1,inline:!1},M7={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},N7={display:"inline-block"},ru={backgroundColor:"currentColor"},d1={backgroundColor:"transparent"},Rp={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Op={webkitMask:ru,mask:ru,background:d1};for(const e in Op){const t=Op[e];for(const n in Rp)t[e+n]=Rp[n]}const Ji={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Ji[e+"-flip"]=t,Ji[e.slice(0,1)+"-flip"]=t,Ji[e+"Flip"]=t});function Ip(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Mp=(e,t)=>{const n=S7(Pp,t),r={...M7},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"&&A7(n,y);break;case"color":o.color=y;break;case"rotate":typeof y=="string"?n[g]=T7(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=Ji[g];b?(y===!0||y==="true"||y===1)&&(n[b]=!0):Pp[g]===void 0&&(r[g]=y)}}}const l=J8(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=t7(l.body,y?()=>y+"ID"+g++:"iconifyVue"),Xe("svg",r)}const{body:c,width:f,height:p}=e,d=s==="mask"||(s==="bg"?!1:c.indexOf("currentColor")!==-1),h=P7(c,{...u,width:f+"",height:p+""});return r.style={...o,"--svg":I7(h),width:Ip(u.width),height:Ip(u.height),...N7,...d?ru:d1,...a},Xe("span",r)};r1(!0);i1("",f7);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"||!V8(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;a1(n,s)||console.error(r)}catch{console.error(r)}}}}const L7={...Ys,body:""},$7=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=ci(u,!1,!0))===null)return null;let f=mf(c);if(!f){const h=n.value;return(!h||h.name!==u)&&(f===null?n.value={name:u}:n.value={name:u,abort:f1([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),us(r),()=>{const u=i.value;if(!u)return Mp(L7,e);let c=e;return u.classes&&(c={...e,class:u.classes.join(" ")}),Mp({...Ys,...u.data},c)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]}),Np={getAPIConfig:cl,setAPIModule:i1,sendAPIQuery:u1,setFetch:s7,getFetch:o7,listAPIProviders:n7},D7={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}}}},B7={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}},p1=Y4(D7,B7);function Ct(){const e=ze();return e._appConfig||=xt(p1),e._appConfig}const F7=An({name:"@nuxt/icon",setup(){const e=li(),t=Ct().icon;Np.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"?Np.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}}a1("",{resources:n});for(const s of t.customCollections||[])s&&k7(r,s)}}),j7=Sc(()=>an(()=>Promise.resolve().then(()=>$9),void 0,import.meta.url).then(e=>e.default||e.default||e)),q7=[["Icon",j7]],z7=An({name:"nuxt:global-components",setup(e){for(const[t,n]of q7)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),Ti={};function H7(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function h1(e,t=Vt()){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(()=>h1(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 V7=An({name:"nuxt:prefetch",setup(e){const t=Vt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Ti[r]=="function"&&await Ti[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=Xm(r.meta.middleware);o=o.filter(i=>typeof i=="string");for(const i of o)typeof Jc[i]=="function"&&Jc[i]();typeof s=="string"&&s in Ti&&H7(Ti[s])})}});var Pi={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 U7=[50,100,200,300,400,500,600,700,800,900,950];function G7(e,t){return e in Pi&&typeof Pi[e]=="object"&&t in Pi[e]?Pi[e][t]:""}function W7(e,t,n){const r=n?`${n}-`:"";return`${U7.map(s=>`--ui-color-${e}-${s}: var(--${r}color-${t==="neutral"?"old-neutral":t}-${s}, ${G7(t,s)});`).join(`
|
|
12
|
+
`)}`}function Lp(e,t){return`--ui-${e}: var(--ui-color-${e}-${t});`}const K7=An(()=>{const e=Ct(),t=ze(),n=R(()=>{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])=>W7(a,l,i)).join(`
|
|
15
|
+
`)}
|
|
16
|
+
}
|
|
17
|
+
:root, :host, .light {
|
|
18
|
+
${Object.keys(o).map(a=>Lp(a,500)).join(`
|
|
19
|
+
`)}
|
|
20
|
+
}
|
|
21
|
+
.dark {
|
|
22
|
+
${Object.keys(o).map(a=>Lp(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]'))"}]}Mm(r)}),X7=[Xw,e6,T8,R8,O8,M8,D8,F7,z7,V7,K7],g1=(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(ol,pn(s)),()=>t.vnode?Xe(t.vnode,{ref:t.vnodeRef}):t.vnode}}),Y7=g1(),$p=new WeakMap,J7=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(ol,null);let a;r({pageRef:o});const l=Ve(tw,null);let u;const c=s.deferHydration();let f=!1,p=0;if(s.isHydrating){const h=s.hooks.hookOnce("app:error",c);Vt().beforeEach(h)}e.pageKey&&Be(()=>e.pageKey,(h,g)=>{h!==g&&s.callHook("page:loading:start")});let d=!1;{const h=Vt().beforeResolve(()=>{d=!1});cs(()=>{h(),c()})}return()=>Xe(Km,{name:e.name,route:e.route,...t},{default:h=>{const g=Z7(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=Yc(h,e.pageKey),v=Q7(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??Wd),w=m&&_8([e.transition,h.route.meta.pageTransition,Wd,{onAfterLeave(){s["~transitionFinish"]?.(),delete s["~transitionFinish"],delete s["~transitionPromise"],s.callHook("page:transition:finish",h.Component)}}]),_=e.keepalive??h.route.meta.keepalive??F4;return u=m8(m&&w,p8(_,Xe(k0,{key:p,suspensible:!0,onPending:()=>{f=!0,m&&!s["~transitionPromise"]&&(s["~transitionPromise"]=new Promise(k=>{s["~transitionFinish"]=k})),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 k={key:b||void 0,vnode:n.default?e9(n.default,h):h.Component,route:h.route,renderKey:b||void 0,trackRootNodes:m,vnodeRef:o};if(!_)return Xe(Y7,k);const E=h.Component.type,A=E;let T=$p.get(A);return T||(T=g1(E.name||E.__name),$p.set(A,T)),Xe(T,k)}}))).default(),u}})}});function Z7(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&&Yc({route:t,Component:n})!==Yc({route:e,Component:n})}function Q7(e,t,n){return e?t.matched.findIndex(s=>s.components?.default===n?.type)<t.matched.length-1:!1}function e9(e,t){const n=e(t);return n.length===1?Xe(n[0]):Xe(qe,void 0,n)}const ul=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},t9={},n9={height:"25",viewBox:"0 0 1467 238",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function r9(e,t){return D(),Ae("svg",n9,[...t[0]||(t[0]=[R0('<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 s9=Object.assign(ul(t9,[["render",r9]]),{__name:"Logo"}),o9=Object.freeze({left:0,top:0,width:16,height:16}),m1=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),bf=Object.freeze({...o9,...m1});Object.freeze({...bf,body:"",hidden:!1});function i9(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 a9=/(-?[0-9.]*[0-9]+[0-9.]*)/g,l9=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function su(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(a9);if(r===null||!r.length)return e;const s=[];let o=r.shift(),i=l9.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 c9=Object.freeze({width:null,height:null}),u9=Object.freeze({...c9,...m1});function f9(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 d9(e,t){return e?"<defs>"+e+"</defs>"+t:t}function p9(e,t,n){const r=f9(e);return d9(r.defs,t+r.content+n)}const h9=e=>e==="unset"||e==="undefined"||e==="none";function g9(e,t){const n={...bf,...e},r={...u9,...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=p9(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=su(f,l/u)):(c=i==="auto"?l:i,f=a===null?su(c,u/l):a==="auto"?u:a);const p={},d=(g,y)=>{h9(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 m9(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function y9(e){return"data:image/svg+xml,"+m9(e)}function v9(e){return'url("'+y9(e)+'")'}function b9(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 w9(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 _9(e,t){const n={},r=t.varName,s=g9(e);let o=s.viewBox;o[2]!==o[3]&&(t.forceSquare?o=i9(o):n.width=su("1em",o[2]/o[3]));const i=v9(b9(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 ec={selectorStart:{compressed:"{",compact:" {",expanded:" {"},selectorEnd:{compressed:"}",compact:`; }
|
|
26
|
+
`,expanded:`;
|
|
27
|
+
}
|
|
28
|
+
`},rule:{compressed:"{key}:",compact:" {key}: ",expanded:`
|
|
29
|
+
{key}: `}};function x9(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)+ec.selectorStart[t],a=!0;for(const l in o)a||(i+=";"),i+=ec.rule[t].replace("{key}",l)+o[l],a=!1;i+=ec.selectorEnd[t],n.push(i)}return n.join(t==="compressed"?"":`
|
|
30
|
+
`)}function C9(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,...w9(o),..._9({...bf,...e,body:n},o)};return x9([{selector:t.iconSelector||".icon",rules:i}],o.format)}async function k9(e,t){if(!e)return null;const n=eu(e);return n||(await C7(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null)),eu(e))}function y1(e){const t=Ct().icon,n=(t.collections||[]).sort((r,s)=>s.length-r.length);return R(()=>{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 v1(e,t){if(e!==!1)return e===!0||e===null?t:e}let fo;function S9(e){return e.replace(/([^\w-])/g,"\\$1")}function E9(){if(fo)return fo;fo=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&&fo.add(o)}}};if(typeof document<"u")for(const n of document.styleSheets)try{const r=n.cssRules||n.rules;t(r)}catch{}return fo}const A9=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=R(()=>e.name?n.cssSelectorPrefix+e.name:"");function s(a){if(!a)return;const l=eu(a);if(l)return l;const u=t.payload?.data?.[a];if(u)return yf(a,u),u}const o=R(()=>"."+S9(r.value));function i(a,l=!0){let u=o.value;n.cssWherePseudo&&(u=`:where(${u})`);const c=C9(a,{iconSelector:u,format:"compressed",customise:v1(e.customize,n.customize)});return n.cssLayer&&l?`@layer ${n.cssLayer} { ${c} }`:c}{const a=E9();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):k9(e.name).then(c=>{c&&l(c)}).catch(()=>null)},{immediate:!0})}return()=>Xe("span",{class:["iconify",r.value]})}});function ou(e){return typeof e=="string"?`'${e}'`:new T9().serialize(e)}const T9=(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 b1(e,t){return e===t||ou(e)===ou(t)}const P9=Symbol.for("nuxt:client-only");function R9(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 w1=R9({name:"createUseAsyncData",factory(e={}){function t(...n){const r=typeof n[n.length-1]=="string"?n.pop():void 0;O9(n[0],n[1])&&n.unshift(r);let[s,o,i={}]=n,a=!1;const l=R(()=>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??=M9,i.getCachedData??=x1,i.lazy??=!1,i.immediate??=!0,i.deep??=q4.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]=Dp(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(A){const T=c._asyncData[A];T?._deps&&(T._deps--,T._deps===0&&T?._off())};const m=dt();if(m&&g&&i.immediate&&!m.sp&&(m.sp=[]),m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const A=m._nuxtOnBeforeMountCbs;Qg(()=>{A.forEach(T=>{T()}),A.splice(0,A.length)}),us(()=>A.splice(0,A.length))}const w=m&&(m._nuxtClientOnly||Ve(P9,!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 _=si(),k=Be(l,(A,T)=>{if((A||T)&&A!==T){a=!0;const M=c._asyncData[T]?.data.value!==void 0,j=c._asyncDataPromises[T]!==void 0,O={cause:"initial",dedupe:i.dedupe};if(!c._asyncData[A]?._init){let G;T&&M?G=c._asyncData[T].data.value:(G=i.getCachedData(A,c,{cause:"initial"}),O.cachedData=G),c._asyncData[A]=Dp(c,A,o,i,G)}c._asyncData[A]._deps++,T&&v(T),(i.immediate||M||j)&&c._asyncData[A].execute(O),Do(()=>{a=!1})}},{flush:"sync"}),E=i.watch?Be(i.watch,()=>{a||(c._asyncData[l.value]?._execute.isPending()&&Do(()=>{c._asyncData[l.value]?._execute.flush()}),c._asyncData[l.value]?._execute({cause:"watch",dedupe:i.dedupe}))}):()=>{};_&&Ua(()=>{k(),E(),v(l.value)})}const y={data:Ri(()=>c._asyncData[l.value]?.data),pending:Ri(()=>c._asyncData[l.value]?.pending),status:Ri(()=>c._asyncData[l.value]?.status),error:Ri(()=>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}_1(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}});w1.__nuxt_factory();w1.__nuxt_factory({lazy:!0,_functionName:"useLazyAsyncData"});function Ri(e){return R({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function O9(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function _1(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=x(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 I9(e,t){const n={};for(const r of t)n[r]=e[r];return n}function Dp(e,t,n,r,s){e.payload._errors[t]??=void 0;const o=r.getCachedData!==x1,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:R(()=>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=N9([c._abortController?.signal,h?.signal],g.signal,m);if(w.aborted){const _=w.reason;v(_ instanceof Error?_:new DOMException(String(_??"Aborted"),"AbortError"));return}return w.addEventListener("abort",()=>{const _=w.reason;v(_ instanceof Error?_:new DOMException(String(_??"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=I9(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=Sr(b),c.data.value=x(r.default()),c.status.value="error"}).finally(()=>{g.abort(),delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=y,e._asyncDataPromises[t]},_execute:i6((...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||(_1(e,t),c.execute=()=>Promise.resolve())})}};return c}const M9=()=>{},x1=(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 N9(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 L9=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=y1(()=>e.name),o="i-"+s.value;if(s.value){const i=n.payload.data[o];i&&yf(s.value,i)}return()=>Xe($7,{icon:s.value,ssr:!0,customise:v1(e.customize,r.customize)},t)}}),C1=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=y1(()=>e.name),o=R(()=>n.vueApp?.component(s.value)||((e.mode||r.mode)==="svg"?L9:A9)),i=R(()=>{const a=e.size||r.size;return a?{fontSize:Number.isNaN(+a)?a:a+"px"}:null});return()=>Xe(o.value,{...r.attrs,name:s.value,class:r.class,style:i.value,customize:e.customize},t)}}),$9=Object.freeze(Object.defineProperty({__proto__:null,default:C1},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 zs(){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 k1(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 wf(e){return e==null}function _f(e){return e?e.flatMap(t=>t.type===qe?_f(t.children):[t]):[]}const[dO,D9]=dr("ConfigProvider");var B9=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}=Ar(t);return D9({dir:n,locale:r,scrollBody:s,nonce:o,useId:t.useId}),(i,a)=>ce(i.$slots,"default")}}),F9=B9;function j9(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[xo(_t(s))]=(...o)=>e(s,...o)}),r}function rt(){const e=dt(),t=J(),n=R(()=>r());Yu(()=>{n.value!==r()&&i2(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 ds(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 R(()=>{const s={},o=t?.vnode.props??{};return Object.keys(o).forEach(i=>{s[_t(i)]=o[i]}),Object.keys({...n,...s}).reduce((i,a)=>(r.value[a]!==void 0&&(i[a]=r.value[a]),i),{})})}function fl(e,t){const n=ds(e),r=t?j9(t):{};return R(()=>({...n.value,...r}))}function q9(e,t){const n=t4(!1,300);Xs(()=>{n.value=!1});const r=J(null),s=G5();function o(){r.value=null,n.value=!1}function i(a,l){if(!l)return;const u=a.currentTarget,c={x:a.clientX,y:a.clientY},f=z9(c,u.getBoundingClientRect()),p=H9(c,f,1),d=V9(l.getBoundingClientRect()),h=G9([...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=!U9(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 z9(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 H9(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 V9(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 U9(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 G9(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),W9(t)}function W9(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 K9(e,t="reka"){let n;return n=Kg?.(),t?`${t}-${n}`:n}function X9(e){const t=J(),n=R(()=>t.value?.width??0),r=R(()=>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 Y9(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 J9(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}=Y9(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=Oi(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=Oi(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=Oi(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=Oi(t.value);r.value=l.value==="mounted"?y:"none"});return us(()=>{d(),h()}),{isPresent:R(()=>["mounted","unmountSuspended"].includes(l.value))}}function Oi(e){return e&&getComputedStyle(e).animationName||"none"}var S1=me({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:r,forceMount:s}=Ar(e),o=J(),{isPresent:i}=J9(r,o);n({present:i});let a=t.default({present:i.value});a=_f(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?Xe(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 Xo=me({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const r=_f(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)}}}),Z9=["area","img","input"],st=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"&&Z9.includes(r)?()=>Xe(r,t):r!=="template"?()=>Xe(e.as,t,{default:n.default}):()=>Xe(Xo,t,{default:n.default})}});function Bp(){const e=J(),t=R(()=>["#text","#comment"].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:mn(e));return{primitiveElement:e,currentElement:t}}const Q9="dismissableLayer.pointerDownOutside",e_="dismissableLayer.focusOutside";function E1(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 t_(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(E1(t.value,c)){s.value=!1;return}if(u.target&&!s.value){let p=function(){k1(Q9,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 n_(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||E1(t.value,l)||a.target&&!s.value&&k1(e_,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=xt({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var r_=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}=rt(),i=R(()=>o.value?.ownerDocument??globalThis.document),a=R(()=>qt.layersRoot),l=R(()=>o.value?Array.from(a.value).indexOf(o.value):-1),u=R(()=>qt.layersWithOutsidePointerEventsDisabled.size>0),c=R(()=>{const d=Array.from(a.value),[h]=[...qt.layersWithOutsidePointerEventsDisabled].slice(-1),g=d.indexOf(h);return l.value>=g}),f=t_(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=n_(d=>{[...qt.branches].some(g=>g?.contains(d.target))||(r("focusOutside",d),r("interactOutside",d),d.defaultPrevented||r("dismiss"))},o);return of("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&&!wf(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(x(st),{ref:x(s),"as-child":d.asChild,as:d.as,"data-dismissable-layer":"",style:bn({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:x(p).onFocusCapture,onBlurCapture:x(p).onBlurCapture,onPointerdownCapture:x(f).onPointerDownCapture},{default:Q(()=>[ce(d.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),s_=r_,o_=me({__name:"DismissableLayerBranch",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:r}=rt();return Mt(()=>{qt.branches.add(r.value)}),us(()=>{qt.branches.delete(r.value)}),(s,o)=>(D(),X(x(st),ve({ref:x(n)},t),{default:Q(()=>[ce(s.$slots,"default")]),_:3},16))}}),i_=o_;const pO="focusScope.autoFocusOnMount",hO="focusScope.autoFocusOnUnmount",gO={bubbles:!1,cancelable:!0};function tc(e,{select:t=!1}={}){const n=zs();for(const r of e)if(c_(r,{select:t}),zs()!==n)return!0}function mO(e){const t=A1(e),n=Fp(t,e),r=Fp(t.reverse(),e);return[n,r]}function A1(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 Fp(e,t){for(const n of e)if(!a_(n,{upTo:t}))return n}function a_(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function l_(e){return e instanceof HTMLInputElement&&"select"in e}function c_(e,{select:t=!1}={}){if(e&&e.focus){const n=zs();e.focus({preventScroll:!0}),e!==n&&l_(e)&&t&&e.select()}}var u_=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=um();return(n,r)=>x(t)||n.forceMount?(D(),X(zg,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[ce(n.$slots,"default")],8,["to","disabled","defer"])):ke("v-if",!0)}}),T1=u_;const jp="data-reka-collection-item";function xf(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(`[${jp}]`)),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}=Bp();return Be(h,()=>{s.collectionRef.value=h.value}),()=>Xe(Xo,{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}=Bp();return nn(g=>{if(h.value){const y=Gu(h.value);s.itemMap.value.set(y,{ref:h.value,value:c.value}),g(()=>s.itemMap.value.delete(y))}}),()=>Xe(Xo,{...p,[jp]:"",ref:d},f)}}),l=R(()=>Array.from(s.itemMap.value.values())),u=R(()=>s.itemMap.value.size);return{getItems:o,reactiveItems:l,itemMapSize:u,CollectionSlot:i,CollectionItem:a}}var f_=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(x(st),{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:Q(()=>[ce(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),Cf=f_;const[P1,d_]=dr("PopperRoot");var p_=me({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=J();return d_({anchor:t,onAnchorChange:n=>t.value=n}),(n,r)=>ce(n.$slots,"default")}}),h_=p_,g_=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}=rt(),s=P1();return Bg(()=>{s.onAnchorChange(t.reference??r.value)}),(o,i)=>(D(),X(x(st),{ref:x(n),as:o.as,"as-child":o.asChild},{default:Q(()=>[ce(o.$slots,"default")]),_:3},8,["as","as-child"]))}}),m_=g_;const y_={key:0,d:"M0 0L6 6L12 0"},v_={key:1,d:"M0 0L4.58579 4.58579C5.36683 5.36683 6.63316 5.36684 7.41421 4.58579L12 0"};var b_=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 rt(),(n,r)=>(D(),X(x(st),ve(t,{width:n.width,height:n.height,viewBox:n.asChild?void 0:"0 0 12 6",preserveAspectRatio:n.asChild?void 0:"none"}),{default:Q(()=>[ce(n.$slots,"default",{},()=>[n.rounded?(D(),Ae("path",v_)):(D(),Ae("path",y_))])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),w_=b_;function __(e){return e!==null}function x_(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]=iu(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 iu(e){const[t,n="center"]=e.split("-");return[t,n]}const C_=["top","right","bottom","left"],Pr=Math.min,Yt=Math.max,_a=Math.round,Ii=Math.floor,Fn=e=>({x:e,y:e}),k_={left:"right",right:"left",bottom:"top",top:"bottom"};function au(e,t,n){return Yt(e,Pr(t,n))}function lr(e,t){return typeof e=="function"?e(t):e}function cr(e){return e.split("-")[0]}function Js(e){return e.split("-")[1]}function kf(e){return e==="x"?"y":"x"}function Sf(e){return e==="y"?"height":"width"}function $n(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ef(e){return kf($n(e))}function S_(e,t,n){n===void 0&&(n=!1);const r=Js(e),s=Ef(e),o=Sf(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=xa(i)),[i,xa(i)]}function E_(e){const t=xa(e);return[lu(e),t,lu(t)]}function lu(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const qp=["left","right"],zp=["right","left"],A_=["top","bottom"],T_=["bottom","top"];function P_(e,t,n){switch(e){case"top":case"bottom":return n?t?zp:qp:t?qp:zp;case"left":case"right":return t?A_:T_;default:return[]}}function R_(e,t,n,r){const s=Js(e);let o=P_(cr(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(lu)))),o}function xa(e){const t=cr(e);return k_[t]+e.slice(t.length)}function O_(e){return{top:0,right:0,bottom:0,left:0,...e}}function R1(e){return typeof e!="number"?O_(e):{top:e,right:e,bottom:e,left:e}}function Ca(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 Hp(e,t,n){let{reference:r,floating:s}=e;const o=$n(t),i=Ef(t),a=Sf(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(Js(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 I_(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=R1(d),y=a[p?f==="floating"?"reference":"floating":f],b=Ca(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},_=Ca(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:m,strategy:l}):v);return{top:(b.top-_.top+h.top)/w.y,bottom:(_.bottom-b.bottom+h.bottom)/w.y,left:(b.left-_.left+h.left)/w.x,right:(_.right-b.right+h.right)/w.x}}const M_=50,N_=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=i.detectOverflow?i:{...i,detectOverflow:I_},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}=Hp(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:_,reset:k}=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],..._},k&&d<M_&&(d++,typeof k=="object"&&(k.placement&&(p=k.placement),k.rects&&(u=k.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):k.rects),{x:c,y:f}=Hp(u,p,l)),g=-1)}return{x:c,y:f,placement:p,strategy:s,middlewareData:h}},L_=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=R1(c),p={x:n,y:r},d=Ef(s),h=Sf(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],_=p[d]-o.reference[d],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let E=k?k[m]:0;(!E||!await(i.isElement==null?void 0:i.isElement(k)))&&(E=a.floating[m]||o.floating[h]);const A=w/2-_/2,T=E/2-g[h]/2-1,M=Pr(f[b],T),j=Pr(f[v],T),O=M,G=E-g[h]-j,N=E/2-g[h]/2+A,q=au(O,N,G),L=!l.arrow&&Js(s)!=null&&N!==q&&o.reference[h]/2-(N<O?M:j)-g[h]/2<0,W=L?N<O?N-O:N-G:0;return{[d]:p[d]+W,data:{[d]:q,centerOffset:N-q-W,...L&&{alignmentOffset:W}},reset:L}}}),$_=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)),_=p||(m||!g?[xa(a)]:E_(a)),k=h!=="none";!p&&k&&_.push(...R_(a,g,h,w));const E=[a,..._],A=await l.detectOverflow(t,y),T=[];let M=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&T.push(A[b]),f){const N=S_(s,i,w);T.push(A[N[0]],A[N[1]])}if(M=[...M,{placement:s,overflows:T}],!T.every(N=>N<=0)){var j,O;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=(O=M.filter(W=>W.overflows[0]<=0).sort((W,$)=>W.overflows[1]-$.overflows[1])[0])==null?void 0:O.placement;if(!L)switch(d){case"bestFit":{var G;const W=(G=M.filter($=>{if(k){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 Vp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Up(e){return C_.some(t=>e[t]>=0)}const D_=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=Vp(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Up(a)}}}case"escaped":{const i=await r.detectOverflow(t,{...o,altBoundary:!0}),a=Vp(i,n.floating);return{data:{escapedOffsets:a,escaped:Up(a)}}}default:return{}}}}},O1=new Set(["left","top"]);async function B_(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=Js(n),l=$n(n)==="y",u=O1.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 F_=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 B_(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}}}}},j_=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=kf(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=au(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=au(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}}}}}},q_=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=kf(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,_=o.reference[p]+o.reference[m]-y.mainAxis;d<w?d=w:d>_&&(d=_)}if(u){var b,v;const m=p==="y"?"width":"height",w=O1.has(cr(s)),_=o.reference[f]-o.floating[m]+(w&&((b=i.offset)==null?void 0:b[f])||0)+(w?0:y.crossAxis),k=o.reference[f]+o.reference[m]+(w?0:((v=i.offset)==null?void 0:v[f])||0)-(w?y.crossAxis:0);h<_?h=_:h>k&&(h=k)}return{[p]:d,[f]:h}}}},z_=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=Js(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=Pr(g-c[y],v),_=Pr(h-c[b],m),k=!t.middlewareData.shift;let E=w,A=_;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=m),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=v),k&&!p){const M=Yt(c.left,0),j=Yt(c.right,0),O=Yt(c.top,0),G=Yt(c.bottom,0);d?A=h-2*(M!==0||j!==0?M+j:Yt(c.left,c.right)):E=g-2*(O!==0||G!==0?O+G:Yt(c.top,c.bottom))}await l({...t,availableWidth:A,availableHeight:E});const T=await i.getDimensions(a.floating);return h!==T.width||g!==T.height?{reset:{rects:!0}}:{}}}};function dl(){return typeof window<"u"}function ps(e){return Af(e)?(e.nodeName||"").toLowerCase():"#document"}function Qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Hn(e){var t;return(t=(Af(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Af(e){return dl()?e instanceof Node||e instanceof Qt(e).Node:!1}function Cn(e){return dl()?e instanceof Element||e instanceof Qt(e).Element:!1}function pr(e){return dl()?e instanceof HTMLElement||e instanceof Qt(e).HTMLElement:!1}function Gp(e){return!dl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Qt(e).ShadowRoot}function ui(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 H_(e){return/^(table|td|th)$/.test(ps(e))}function pl(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const V_=/transform|translate|scale|rotate|perspective|filter/,U_=/paint|layout|strict|content/,Fr=e=>!!e&&e!=="none";let nc;function Tf(e){const t=Cn(e)?kn(e):e;return Fr(t.transform)||Fr(t.translate)||Fr(t.scale)||Fr(t.rotate)||Fr(t.perspective)||!Pf()&&(Fr(t.backdropFilter)||Fr(t.filter))||V_.test(t.willChange||"")||U_.test(t.contain||"")}function G_(e){let t=Rr(e);for(;pr(t)&&!Hs(t);){if(Tf(t))return t;if(pl(t))return null;t=Rr(t)}return null}function Pf(){return nc==null&&(nc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),nc}function Hs(e){return/^(html|body|#document)$/.test(ps(e))}function kn(e){return Qt(e).getComputedStyle(e)}function hl(e){return Cn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Rr(e){if(ps(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Gp(e)&&e.host||Hn(e);return Gp(t)?t.host:t}function I1(e){const t=Rr(e);return Hs(t)?e.ownerDocument?e.ownerDocument.body:e.body:pr(t)&&ui(t)?t:I1(t)}function Yo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=I1(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=Qt(s);if(o){const a=cu(i);return t.concat(i,i.visualViewport||[],ui(s)?s:[],a&&n?Yo(a):[])}else return t.concat(s,Yo(s,[],n))}function cu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function M1(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=_a(n)!==o||_a(r)!==i;return a&&(n=o,r=i),{width:n,height:r,$:a}}function Rf(e){return Cn(e)?e:e.contextElement}function Ms(e){const t=Rf(e);if(!pr(t))return Fn(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=M1(t);let i=(o?_a(n.width):n.width)/r,a=(o?_a(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const W_=Fn(0);function N1(e){const t=Qt(e);return!Pf()||!t.visualViewport?W_:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function K_(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Qt(e)?!1:t}function as(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Rf(e);let i=Fn(1);t&&(r?Cn(r)&&(i=Ms(r)):i=Ms(e));const a=K_(o,n,r)?N1(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=Qt(o),d=r&&Cn(r)?Qt(r):r;let h=p,g=cu(h);for(;g&&r&&d!==h;){const y=Ms(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=Qt(g),g=cu(h)}}return Ca({width:c,height:f,x:l,y:u})}function gl(e,t){const n=hl(e).scrollLeft;return t?t.left+n:as(Hn(e)).left+n}function L1(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-gl(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function X_(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=Hn(r),a=t?pl(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)&&((ps(r)!=="body"||ui(i))&&(l=hl(r)),f)){const d=as(r);u=Ms(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const p=i&&!f&&!o?L1(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 Y_(e){return Array.from(e.getClientRects())}function J_(e){const t=Hn(e),n=hl(e),r=e.ownerDocument.body,s=Yt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Yt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+gl(e);const a=-n.scrollTop;return kn(r).direction==="rtl"&&(i+=Yt(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:a}}const Wp=25;function Z_(e,t){const n=Qt(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=Pf();(!c||c&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}const u=gl(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<=Wp&&(o-=h)}else u<=Wp&&(o+=u);return{width:o,height:i,x:a,y:l}}function Q_(e,t){const n=as(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=pr(e)?Ms(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 Kp(e,t,n){let r;if(t==="viewport")r=Z_(e,n);else if(t==="document")r=J_(Hn(e));else if(Cn(t))r=Q_(t,n);else{const s=N1(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Ca(r)}function $1(e,t){const n=Rr(e);return n===t||!Cn(n)||Hs(n)?!1:kn(n).position==="fixed"||$1(n,t)}function ex(e,t){const n=t.get(e);if(n)return n;let r=Yo(e,[],!1).filter(a=>Cn(a)&&ps(a)!=="body"),s=null;const o=kn(e).position==="fixed";let i=o?Rr(e):e;for(;Cn(i)&&!Hs(i);){const a=kn(i),l=Tf(i);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||ui(i)&&!l&&$1(e,i))?r=r.filter(c=>c!==i):s=a,i=Rr(i)}return t.set(e,r),r}function tx(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?pl(t)?[]:ex(t,this._c):[].concat(n),r],a=Kp(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=Kp(t,i[p],s);l=Yt(d.top,l),u=Pr(d.right,u),c=Pr(d.bottom,c),f=Yt(d.left,f)}return{width:u-f,height:c-l,x:f,y:l}}function nx(e){const{width:t,height:n}=M1(e);return{width:t,height:n}}function rx(e,t,n){const r=pr(t),s=Hn(t),o=n==="fixed",i=as(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=Fn(0);function u(){l.x=gl(s)}if(r||!r&&!o)if((ps(t)!=="body"||ui(s))&&(a=hl(t)),r){const d=as(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?L1(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 rc(e){return kn(e).position==="static"}function Xp(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 D1(e,t){const n=Qt(e);if(pl(e))return n;if(!pr(e)){let s=Rr(e);for(;s&&!Hs(s);){if(Cn(s)&&!rc(s))return s;s=Rr(s)}return n}let r=Xp(e,t);for(;r&&H_(r)&&rc(r);)r=Xp(r,t);return r&&Hs(r)&&rc(r)&&!Tf(r)?n:r||G_(e)||n}const sx=async function(e){const t=this.getOffsetParent||D1,n=this.getDimensions,r=await n(e.floating);return{reference:rx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ox(e){return kn(e).direction==="rtl"}const ix={convertOffsetParentRelativeRectToViewportRelativeRect:X_,getDocumentElement:Hn,getClippingRect:tx,getOffsetParent:D1,getElementRects:sx,getClientRects:Y_,getDimensions:nx,getScale:Ms,isElement:Cn,isRTL:ox};function B1(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ax(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=Ii(f),g=Ii(s.clientWidth-(c+p)),y=Ii(s.clientHeight-(f+d)),b=Ii(c),m={rootMargin:-h+"px "+-g+"px "+-y+"px "+-b+"px",threshold:Yt(0,Pr(1,l))||1};let w=!0;function _(k){const E=k[0].intersectionRatio;if(E!==l){if(!w)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!B1(u,e.getBoundingClientRect())&&i(),w=!1}try{n=new IntersectionObserver(_,{...m,root:s.ownerDocument})}catch{n=new IntersectionObserver(_,m)}n.observe(e)}return i(!0),o}function lx(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=Rf(e),c=s||o?[...u?Yo(u):[],...t?Yo(t):[]]:[];c.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});const f=u&&a?ax(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?as(e):null;l&&y();function y(){const b=as(e);g&&!B1(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 cx=F_,ux=j_,Yp=$_,fx=z_,dx=D_,px=L_,hx=q_,gx=(e,t,n)=>{const r=new Map,s={platform:ix,...n},o={...s.platform,_c:r};return N_(e,t,{...s,platform:o})};function mx(e){return e!=null&&typeof e=="object"&&"$el"in e}function uu(e){if(mx(e)){const t=e.$el;return Af(t)&&ps(t)==="#comment"?null:t}return e}function xs(e){return typeof e=="function"?e():x(e)}function yx(e){return{name:"arrow",options:e,fn(t){const n=uu(xs(e.element));return n==null?{}:px({element:n,padding:e.padding}).fn(t)}}}function F1(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Jp(e,t){const n=F1(e);return Math.round(t*n)/n}function vx(e,t,n){n===void 0&&(n={});const r=n.whileElementsMounted,s=R(()=>{var E;return(E=xs(n.open))!=null?E:!0}),o=R(()=>xs(n.middleware)),i=R(()=>{var E;return(E=xs(n.placement))!=null?E:"bottom"}),a=R(()=>{var E;return(E=xs(n.strategy))!=null?E:"absolute"}),l=R(()=>{var E;return(E=xs(n.transform))!=null?E:!0}),u=R(()=>uu(e.value)),c=R(()=>uu(t.value)),f=J(0),p=J(0),d=J(a.value),h=J(i.value),g=ft({}),y=J(!1),b=R(()=>{const E={position:d.value,left:"0",top:"0"};if(!c.value)return E;const A=Jp(c.value,f.value),T=Jp(c.value,p.value);return l.value?{...E,transform:"translate("+A+"px, "+T+"px)",...F1(c.value)>=1.5&&{willChange:"transform"}}:{position:d.value,left:A+"px",top:T+"px"}});let v;function m(){if(u.value==null||c.value==null)return;const E=s.value;gx(u.value,c.value,{middleware:o.value,placement:i.value,strategy:a.value}).then(A=>{f.value=A.x,p.value=A.y,d.value=A.strategy,h.value=A.placement,g.value=A.middlewareData,y.value=E!==!1})}function w(){typeof v=="function"&&(v(),v=void 0)}function _(){if(w(),r===void 0){m();return}if(u.value!=null&&c.value!=null){v=r(u.value,c.value,m);return}}function k(){s.value||(y.value=!1)}return Be([o,i,a,s],m,{flush:"sync"}),Be([u,c],_,{flush:"sync"}),Be(s,k,{flush:"sync"}),si()&&Ua(w),{x:zr(f),y:zr(p),strategy:zr(d),placement:zr(h),middlewareData:zr(g),isPositioned:zr(y),floatingStyles:b,update:m}}const bx={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},[wx,_x]=dr("PopperContent");var xx=me({inheritAttrs:!1,__name:"PopperContent",props:z2({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}},{...bx}),emits:["placed"],setup(e,{emit:t}){const n=e,r=t,s=P1(),{forwardRef:o,currentElement:i}=rt(),a=J(),l=J(),{width:u,height:c}=X9(l),f=R(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=R(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),d=R(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=R(()=>({padding:p.value,boundary:d.value.filter(__),altBoundary:d.value.length>0})),g=R(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),y=U5(()=>[cx({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Yp({...h.value,...g.value}),n.avoidCollisions&&ux({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?hx():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&Yp({...h.value,...g.value}),fx({...h.value,apply:({elements:O,rects:G,availableWidth:N,availableHeight:q})=>{const{width:L,height:W}=G.reference,$=O.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&&yx({element:l.value,padding:n.arrowPadding}),x_({arrowWidth:u.value,arrowHeight:c.value}),n.hideWhenDetached&&dx({strategy:"referenceHidden",...h.value})]),b=R(()=>n.reference??s.anchor.value),{floatingStyles:v,placement:m,isPositioned:w,middlewareData:_}=vx(b,a,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...O)=>lx(...O,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:y}),k=R(()=>iu(m.value)[0]),E=R(()=>iu(m.value)[1]);Bg(()=>{w.value&&r("placed")});const A=R(()=>{const O=_.value.arrow?.centerOffset!==0;return n.hideShiftedArrow&&O}),T=J("");nn(()=>{i.value&&(T.value=window.getComputedStyle(i.value).zIndex)});const M=R(()=>_.value.arrow?.x??0),j=R(()=>_.value.arrow?.y??0);return _x({placedSide:k,onArrowChange:O=>l.value=O,arrowX:M,arrowY:j,shouldHideArrow:A}),(O,G)=>(D(),Ae("div",{ref_key:"floatingRef",ref:a,"data-reka-popper-content-wrapper":"",style:bn({...x(v),transform:x(w)?x(v).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:T.value,"--reka-popper-transform-origin":[x(_).transformOrigin?.x,x(_).transformOrigin?.y].join(" "),...x(_).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[re(x(st),ve({ref:x(o)},O.$attrs,{"as-child":n.asChild,as:O.as,"data-side":k.value,"data-align":E.value,style:{animation:x(w)?void 0:"none"}}),{default:Q(()=>[ce(O.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),Cx=xx;const kx={top:"bottom",right:"left",bottom:"top",left:"right"};var Sx=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}=rt(),n=wx(),r=R(()=>kx[n.placedSide.value]);return(s,o)=>(D(),Ae("span",{ref:i=>{x(n).onArrowChange(i)},style:bn({position:"absolute",left:x(n).arrowX?.value?`${x(n).arrowX?.value}px`:void 0,top:x(n).arrowY?.value?`${x(n).arrowY?.value}px`:void 0,[r.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[x(n).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[x(n).placedSide.value],visibility:x(n).shouldHideArrow.value?"hidden":void 0})},[re(w_,ve(s.$attrs,{ref:x(t),style:{display:"block"},as:s.as,"as-child":s.asChild,rounded:s.rounded,width:s.width,height:s.height}),{default:Q(()=>[ce(s.$slots,"default")]),_:3},16,["as","as-child","rounded","width","height"])],4))}}),Ex=Sx;const Jo=100,[Ax,Tx]=dr("ProgressRoot"),ka=e=>typeof e=="number";function Px(e,t){return wf(e)||ka(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 ${Jo} if no \`max\` prop is set)
|
|
35
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
36
|
+
|
|
37
|
+
Defaulting to \`null\`.`),null)}function Rx(e){return ka(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 \`${Jo}\`.`),Jo)}var Ox=me({__name:"ProgressRoot",props:{modelValue:{type:[Number,null],required:!1},max:{type:Number,required:!1,default:Jo},getValueLabel:{type:Function,required:!1,default:(e,t)=>ka(e)?`${Math.round(e/t*Jo)}%`: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;rt();const s=Go(n,"modelValue",r,{passive:n.modelValue===void 0}),o=Go(n,"max",r,{passive:n.max===void 0});Be(()=>s.value,async a=>{const l=Px(a,n.max);l!==a&&(await At(),s.value=l)},{immediate:!0}),Be(()=>n.max,a=>{const l=Rx(n.max);l!==a&&(o.value=l)},{immediate:!0});const i=R(()=>wf(s.value)?"indeterminate":s.value===o.value?"complete":"loading");return Tx({modelValue:s,max:o,progressState:i}),(a,l)=>(D(),X(x(st),{"as-child":a.asChild,as:a.as,"aria-valuemax":x(o),"aria-valuemin":0,"aria-valuenow":ka(x(s))?x(s):void 0,"aria-valuetext":a.getValueText?.(x(s),x(o)),"aria-label":a.getValueLabel(x(s),x(o)),role:"progressbar","data-state":i.value,"data-value":x(s)??void 0,"data-max":x(o)},{default:Q(()=>[ce(a.$slots,"default",{modelValue:x(s)})]),_:3},8,["as-child","as","aria-valuemax","aria-valuenow","aria-valuetext","aria-label","data-state","data-value","data-max"]))}}),Ix=Ox,Mx=me({__name:"ProgressIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=Ax();return rt(),(r,s)=>(D(),X(x(st),ve(t,{"data-state":x(n).progressState.value,"data-value":x(n).modelValue?.value??void 0,"data-max":x(n).max.value}),{default:Q(()=>[ce(r.$slots,"default")]),_:3},16,["data-state","data-value","data-max"]))}}),Nx=Mx,Lx=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(x(st),{as:t.as,"as-child":t.asChild,"data-reka-toast-announce-exclude":"","data-reka-toast-announce-alt":t.altText||void 0},{default:Q(()=>[ce(t.$slots,"default")]),_:3},8,["as","as-child","data-reka-toast-announce-alt"]))}}),j1=Lx;const[ml,$x]=dr("ToastProvider");var Dx=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}=Ar(t);xf({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 $x({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")}}),Bx=Dx,Fx=me({__name:"ToastAnnounce",setup(e){const t=ml(),n=s4(1e3),r=J(!1);return dm(()=>{r.value=!0}),(s,o)=>x(n)||r.value?(D(),X(x(Cf),{key:0,feature:"fully-hidden"},{default:Q(()=>[Ft(Ze(x(t).label.value)+" ",1),ce(s.$slots,"default")]),_:3})):ke("v-if",!0)}}),jx=Fx;const qx="toast.swipeStart",zx="toast.swipeMove",Hx="toast.swipeCancel",Vx="toast.swipeEnd",fu="toast.viewportPause",du="toast.viewportResume";function Mi(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 Zp(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 Ux(e){return e.nodeType===e.ELEMENT_NODE}function q1(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Ux(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(...q1(r))}}),t}const[Gx,Wx]=dr("ToastRoot");var Kx=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}=rt(),{CollectionItem:i}=xf(),a=ml(),l=J(null),u=J(null),c=R(()=>typeof n.duration=="number"?n.duration:a.duration.value),f=J(0),p=J(c.value),d=J(0),h=J(c.value),g=dm(()=>{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(zs())&&w&&a.viewport.value?.focus(),w&&(a.isClosePausedRef.value=!1),r("close")}const v=R(()=>o.value?q1(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 _=()=>{y(p.value),g.resume(),r("resume")},k=()=>{const E=new Date().getTime()-f.value;p.value=p.value-E,window.clearTimeout(d.value),g.pause(),r("pause")};return w.addEventListener(fu,k),w.addEventListener(du,_),()=>{w.removeEventListener(fu,k),w.removeEventListener(du,_)}}}),Be(()=>[n.open,c.value],()=>{p.value=c.value,n.open&&!a.isClosePausedRef.value&&y(c.value)},{immediate:!0}),of("Escape",m=>{r("escapeKeyDown",m),m.defaultPrevented||(a.isFocusedToastEscapeKeyDownRef.value=!0,b())}),Mt(()=>{a.onToastAdd()}),us(()=>{a.onToastRemove()}),Wx({onClose:b}),(m,w)=>(D(),Ae(qe,null,[v.value?(D(),X(jx,{key:0,role:"alert","aria-live":m.type==="foreground"?"assertive":"polite"},{default:Q(()=>[Ft(Ze(v.value),1)]),_:1},8,["aria-live"])):ke("v-if",!0),x(a).viewport.value?(D(),X(zg,{key:1,to:x(a).viewport.value},[re(x(i),null,{default:Q(()=>[re(x(st),ve({ref:x(s),tabindex:"0"},m.$attrs,{as:m.as,"as-child":m.asChild,"data-state":m.open?"open":"closed","data-swipe-direction":x(a).swipeDirection.value,style:x(a).disableSwipe.value?void 0:{userSelect:"none",touchAction:"none"},onPointerdown:w[0]||(w[0]=Is(_=>{x(a).disableSwipe.value||(l.value={x:_.clientX,y:_.clientY})},["left"])),onPointermove:w[1]||(w[1]=_=>{if(x(a).disableSwipe.value||!l.value)return;const k=_.clientX-l.value.x,E=_.clientY-l.value.y,A=!!u.value,T=["left","right"].includes(x(a).swipeDirection.value),M=["left","up"].includes(x(a).swipeDirection.value)?Math.min:Math.max,j=T?M(0,k):0,O=T?0:M(0,E),G=_.pointerType==="touch"?10:2,N={x:j,y:O},q={originalEvent:_,delta:N};A?(u.value=N,x(Mi)(x(zx),L=>r("swipeMove",L),q)):x(Zp)(N,x(a).swipeDirection.value,G)?(u.value=N,x(Mi)(x(qx),L=>r("swipeStart",L),q),_.target.setPointerCapture(_.pointerId)):(Math.abs(k)>G||Math.abs(E)>G)&&(l.value=null)}),onPointerup:w[2]||(w[2]=_=>{if(x(a).disableSwipe.value)return;const k=u.value,E=_.target;if(E.hasPointerCapture(_.pointerId)&&E.releasePointerCapture(_.pointerId),u.value=null,l.value=null,k){const A=_.currentTarget,T={originalEvent:_,delta:k};x(Zp)(k,x(a).swipeDirection.value,x(a).swipeThreshold.value)?x(Mi)(x(Vx),M=>r("swipeEnd",M),T):x(Mi)(x(Hx),M=>r("swipeCancel",M),T),A?.addEventListener("click",M=>M.preventDefault(),{once:!0})}})}),{default:Q(()=>[ce(m.$slots,"default",{remaining:h.value,duration:c.value})]),_:3},16,["as","as-child","data-state","data-swipe-direction","style"])]),_:3})],8,["to"])):ke("v-if",!0)],64))}}),Xx=Kx,Yx=me({__name:"ToastClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Gx(),{forwardRef:r}=rt();return(s,o)=>(D(),X(j1,{"as-child":""},{default:Q(()=>[re(x(st),ve(t,{ref:x(r),type:s.as==="button"?"button":void 0,onClick:x(n).onClose}),{default:Q(()=>[ce(s.$slots,"default")]),_:3},16,["type","onClick"])]),_:3}))}}),z1=Yx,Jx=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}=rt();return(r,s)=>r.altText?(D(),X(j1,{key:0,"alt-text":r.altText,"as-child":""},{default:Q(()=>[re(z1,{ref:x(n),as:r.as,"as-child":r.asChild},{default:Q(()=>[ce(r.$slots,"default")]),_:3},8,["as","as-child"])]),_:3},8,["alt-text"])):ke("v-if",!0)}}),Qp=Jx,Zx=me({__name:"ToastDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return rt(),(n,r)=>(D(),X(x(st),tn(En(t)),{default:Q(()=>[ce(n.$slots,"default")]),_:3},16))}}),Qx=Zx,eC=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(x(T1),tn(En(t)),{default:Q(()=>[ce(n.$slots,"default")]),_:3},16))}}),tC=eC,nC=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}=rt(),o=Go(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});return(i,a)=>(D(),X(x(S1),{present:i.forceMount||x(o)},{default:Q(()=>[re(Xx,ve({ref:x(s),open:x(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:Q(({remaining:l,duration:u})=>[ce(i.$slots,"default",{remaining:l,duration:u,open:x(o)})]),_:3},16,["open","type","as","as-child","duration"])]),_:3},8,["present"]))}}),rC=nC,sC=me({__name:"ToastTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return rt(),(n,r)=>(D(),X(x(st),tn(En(t)),{default:Q(()=>[ce(n.$slots,"default")]),_:3},16))}}),oC=sC,iC=me({__name:"FocusProxy",emits:["focusFromOutsideViewport"],setup(e,{emit:t}){const n=t,r=ml();return(s,o)=>(D(),X(x(Cf),{tabindex:"0",style:{position:"fixed"},onFocus:o[0]||(o[0]=i=>{const a=i.relatedTarget;!x(r).viewport.value?.contains(a)&&n("focusFromOutsideViewport")})},{default:Q(()=>[ce(s.$slots,"default")]),_:3}))}}),eh=iC,aC=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}=Ar(t),{forwardRef:s,currentElement:o}=rt(),{CollectionSlot:i,getItems:a}=xf(),l=ml(),u=R(()=>l.toastCount.value>0),c=J(),f=J(),p=R(()=>n.value.join("+").replace(/Key/g,"").replace(/Digit/g,""));of(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 _=new CustomEvent(fu);g.dispatchEvent(_),l.isClosePausedRef.value=!0}},b=()=>{if(l.isClosePausedRef.value){const _=new CustomEvent(du);g.dispatchEvent(_),l.isClosePausedRef.value=!1}},v=_=>{!g.contains(_.relatedTarget)&&b()},m=()=>{g.contains(zs())||b()},w=_=>{const k=_.altKey||_.ctrlKey||_.metaKey;if(_.key==="Tab"&&!k){const A=zs(),T=_.shiftKey;if(_.target===g&&T){c.value?.focus();return}const O=d({tabbingDirection:T?"backwards":"forwards"}),G=O.findIndex(N=>N===A);tc(O.slice(G+1))?_.preventDefault():T?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,...A1(b)];return h==="forwards"?v:v.reverse()});return(h==="forwards"?y.reverse():y).flat()}return(h,g)=>(D(),X(x(i_),{role:"region","aria-label":typeof x(r)=="string"?x(r).replace("{hotkey}",p.value):x(r)(p.value),tabindex:"-1",style:bn({pointerEvents:u.value?void 0:"none"})},{default:Q(()=>[u.value?(D(),X(eh,{key:0,ref:y=>{c.value=x(mn)(y)},onFocusFromOutsideViewport:g[0]||(g[0]=()=>{const y=d({tabbingDirection:"forwards"});x(tc)(y)})},null,512)):ke("v-if",!0),re(x(i),null,{default:Q(()=>[re(x(st),ve({ref:x(s),tabindex:"-1",as:h.as,"as-child":h.asChild},h.$attrs),{default:Q(()=>[ce(h.$slots,"default")]),_:3},16,["as","as-child"])]),_:3}),u.value?(D(),X(eh,{key:1,ref:y=>{f.value=x(mn)(y)},onFocusFromOutsideViewport:g[1]||(g[1]=()=>{const y=d({tabbingDirection:"backwards"});x(tc)(y)})},null,512)):ke("v-if",!0)]),_:3},8,["aria-label","style"]))}}),lC=aC,cC=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 rt(),(n,r)=>(D(),X(x(Ex),tn(En(t)),{default:Q(()=>[ce(n.$slots,"default")]),_:3},16))}}),uC=cC;const[fi,fC]=dr("TooltipProvider");var dC=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}=Ar(t);rt();const u=J(!0),c=J(!1),{start:f,stop:p}=sl(()=>{u.value=!0},r,{immediate:!1});return fC({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")}}),pC=dC;const H1="tooltip.open",[yl,hC]=dr("TooltipRoot");var gC=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;rt();const s=fi(),o=R(()=>n.disableHoverableContent??s.disableHoverableContent.value),i=R(()=>n.disableClosingTrigger??s.disableClosingTrigger.value),a=R(()=>n.disabled??s.disabled.value),l=R(()=>n.delayDuration??s.delayDuration.value),u=R(()=>n.ignoreNonKeyboardFocus??s.ignoreNonKeyboardFocus.value),c=Go(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0});Be(c,m=>{s.onClose&&(m?(s.onOpen(),document.dispatchEvent(new CustomEvent(H1))):s.onClose())});const f=J(!1),p=J(),d=R(()=>c.value?f.value?"delayed-open":"instant-open":"closed"),{start:h,stop:g}=sl(()=>{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 hC({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(x(h_),null,{default:Q(()=>[ce(m.$slots,"default",{open:x(c)})]),_:3}))}}),mC=gC,yC=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=yl(),o=fi(),{forwardRef:i,currentElement:a}=rt(),l=R(()=>n.ariaLabel||a.value?.textContent),u=R(()=>{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()},{capture:!0}),Bn(window,H1,s.onClose)}),(c,f)=>(D(),X(x(s_),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=p=>r("escapeKeyDown",p)),onPointerDownOutside:f[1]||(f[1]=p=>{x(s).disableClosingTrigger.value&&x(s).trigger.value?.contains(p.target)&&p.preventDefault(),r("pointerDownOutside",p)}),onFocusOutside:f[2]||(f[2]=Is(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=p=>x(s).onClose())},{default:Q(()=>[re(x(Cx),ve({ref:x(i),"data-state":x(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:Q(()=>[ce(c.$slots,"default"),re(x(Cf),{id:x(s).contentId,role:"tooltip"},{default:Q(()=>[Ft(Ze(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),V1=yC,vC=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=ds(e),{forwardRef:r,currentElement:s}=rt(),{trigger:o,onClose:i}=yl(),a=fi(),{isPointerInTransit:l,onPointerExit:u}=q9(o,s);return a.isPointerInTransitRef=l,u(()=>{i()}),(c,f)=>(D(),X(V1,ve({ref:x(r)},x(n)),{default:Q(()=>[ce(c.$slots,"default")]),_:3},16))}}),bC=vC,wC=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=yl(),o=fl(n,r),{forwardRef:i}=rt();return(a,l)=>(D(),X(x(S1),{present:a.forceMount||x(s).open.value},{default:Q(()=>[(D(),X(Nn(x(s).disableHoverableContent.value?V1:bC),ve({ref:x(i)},x(o)),{default:Q(()=>[ce(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),_C=wC,xC=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(x(T1),tn(En(t)),{default:Q(()=>[ce(n.$slots,"default")]),_:3},16))}}),CC=xC,kC=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=yl(),r=fi();n.contentId||=K9(void 0,"reka-tooltip-content");const{forwardRef:s,currentElement:o}=rt(),i=J(!1),a=J(!1),l=R(()=>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(x(m_),{"as-child":"",reference:y.reference},{default:Q(()=>[re(x(st),ve({ref:x(s),"aria-describedby":x(n).open.value?x(n).contentId:void 0,"data-state":x(n).stateAttribute.value,as:y.as,"as-child":t.asChild,"data-grace-area-trigger":""},F2(l.value)),{default:Q(()=>[ce(y.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),SC=kC;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=ds(fs(e,"mode","size","customize"));return(r,s)=>{const o=C1;return typeof e.name=="string"?(D(),X(o,ve({key:0,name:e.name},x(n)),null,16,["name"])):(D(),X(Nn(e.name),{key:1}))}}},EC=Symbol("nuxt-ui.field-group");function Of(e){const t=Ve(EC,void 0);return{orientation:R(()=>t?.value.orientation),size:R(()=>e?.size??t?.value.size)}}function If(e){const t=Ct(),n=R(()=>je(e)),r=R(()=>n.value.icon&&n.value.leading||n.value.icon&&!n.value.trailing||n.value.loading&&!n.value.trailing||!!n.value.leadingIcon),s=R(()=>n.value.icon&&n.value.trailing||n.value.loading&&n.value.trailing||!!n.value.trailingIcon),o=R(()=>n.value.loading?n.value.loadingIcon||t.ui.icons.loading:n.value.leadingIcon||n.value.icon),i=R(()=>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 AC(e,t){const n=pu(e),r=pu(t);return U1(n,r)}function U1(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(...U1(e.props?.[s],t.props?.[s])):(o||i)&&n.push(new th((i||o).key,o?"removed":"added",i,o))}return r.size===0&&e.hash!==t.hash&&n.push(new th((t||e).key,"changed",t,e)),n}function pu(e,t=""){if(e&&typeof e!="object")return new nh(t,e,ou(e));const n={},r=[];for(const s in e)n[s]=pu(e[s],t?`${t}.${s}`:s),r.push(n[s].hash);return new nh(t,e,`{${r.join(":")}}`,n)}class th{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 nh{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 G1(e,t){const n={...e};for(const r of t)delete n[r];return n}function W1(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 TC(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function Sa(e,t){return!e&&!t?"":[...Array.isArray(e)?e:[e],t].filter(Boolean)}const[PC]=dr("UTheme","RootContext");function Vn(e,t){const{ui:n}=PC({ui:R(()=>({}))});return R(()=>{const r=W1(n.value,e)||{};return zn(t.ui??{},r)})}var RC=/\s+/g,OC=e=>typeof e!="string"||!e?e:e.replace(RC," ").trim(),Ea=(...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?OC(t.join(" ")):void 0},rh=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},IC=(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},MC=(e,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in e?e[n]=Ea(e[n],r):e[n]=r}return e},K1=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];Array.isArray(r)?K1(r,t):r&&t.push(r)}},X1=(...e)=>{const t=[];K1(e,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},hu=(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]=X1(o,s):typeof s=="object"&&typeof o=="object"&&s&&o?n[r]=hu(s,o):n[r]=o+" "+s}else n[r]=s}for(const r in t)r in e||(n[r]=t[r]);return n},NC={twMerge:!0,twMergeConfig:{}};function LC(){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=LC(),$C=e=>{const t=(r,s)=>{const{extend:o=null,slots:i={},variants:a={},compoundVariants:l=[],compoundSlots:u=[],defaultVariants:c={}}=r,f={...NC,...s},p=o?.base?Ea(o.base,r?.base):r?.base,d=o?.variants&&!jt(o.variants)?hu(a,o.variants):a,h=o?.defaultVariants&&!jt(o.defaultVariants)?{...o.defaultVariants,...c}:c;!jt(f.twMergeConfig)&&!IC(f.twMergeConfig,er.cachedTwMergeConfig)&&(er.didTwMergeConfigChange=!0,er.cachedTwMergeConfig=f.twMergeConfig);const g=jt(o?.slots),y=jt(i)?{}:{base:Ea(r?.base,g&&o?.base),...i},b=g?y:MC({...o?.slots},jt(y)?{base:r?.base}:y),v=jt(o?.compoundVariants)?l:X1(o?.compoundVariants,l),m=_=>{if(jt(d)&&jt(i)&&g)return e(p,_?.class,_?.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 k=(N,q=d,L=null,W=null)=>{const $=q[N];if(!$||jt($))return null;const ie=W?.[N]??_?.[N];if(ie===null)return null;const te=rh(ie);if(typeof te=="object")return null;const et=h?.[N],Le=te??rh(et);return $[Le||"false"]},E=()=>{if(!d)return null;const N=Object.keys(d),q=[];for(let L=0;L<N.length;L++){const W=k(N[L],d);W&&q.push(W)}return q},A=(N,q)=>{if(!d||typeof d!="object")return null;const L=[];for(const W in d){const $=k(W,d,N,q),ie=N==="base"&&typeof $=="string"?$:$&&$[N];ie&&L.push(ie)}return L},T={};for(const N in _){const q=_[N];q!==void 0&&(T[N]=q)}const M=(N,q)=>{const L=typeof _?.[N]=="object"?{[N]:_[N]?.initial}:{};return{...h,...T,...L,...q}},j=(N=[],q)=>{const L=[],W=N.length;for(let $=0;$<W;$++){const{class:ie,className:te,...et}=N[$];let Le=!0;const pt=M(null,q);for(const kt in et){const Pe=et[kt],Re=pt[kt];if(Array.isArray(Pe)){if(!Pe.includes(Re)){Le=!1;break}}else{if((Pe==null||Pe===!1)&&(Re==null||Re===!1))continue;if(Re!==Pe){Le=!1;break}}}Le&&(ie&&L.push(ie),te&&L.push(te))}return L},O=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,...et}=u[W];if(!jt(et)){let Le=!0;for(const pt in et){const kt=L[pt],Pe=et[pt];if(kt===void 0||(Array.isArray(Pe)?!Pe.includes(kt):Pe!==kt)){Le=!1;break}}if(!Le)continue}for(let Le=0;Le<$.length;Le++){const pt=$[Le];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 $=O(W),ie=G(W);return q(b[L],A(L,W),$?$[L]:void 0,ie?ie[L]:void 0,W?.class,W?.className)(f)}}return N}return e(p,E(),j(v),_?.class,_?.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?hu(r,o):r)}};const DC=(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},BC=(e,t)=>({classGroupId:e,validator:t}),Y1=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Aa="-",sh=[],FC="arbitrary..",jC=e=>{const t=zC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return qC(i);const a=i.split(Aa),l=a[0]===""&&a.length>1?1:0;return J1(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=r[i],u=n[i];return l?u?DC(u,l):l:u||sh}return n[i]||sh}}},J1=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const s=e[t],o=n.nextPart.get(s);if(o){const u=J1(e,t+1,o);if(u)return u}const i=n.validators;if(i===null)return;const a=t===0?e.join(Aa):e.slice(t).join(Aa),l=i.length;for(let u=0;u<l;u++){const c=i[u];if(c.validator(a))return c.classGroupId}},qC=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?FC+r:void 0})(),zC=e=>{const{theme:t,classGroups:n}=e;return HC(n,t)},HC=(e,t)=>{const n=Y1();for(const r in e){const s=e[r];Mf(s,n,r,t)}return n},Mf=(e,t,n,r)=>{const s=e.length;for(let o=0;o<s;o++){const i=e[o];VC(i,t,n,r)}},VC=(e,t,n,r)=>{if(typeof e=="string"){UC(e,t,n);return}if(typeof e=="function"){GC(e,t,n,r);return}WC(e,t,n,r)},UC=(e,t,n)=>{const r=e===""?t:Z1(t,e);r.classGroupId=n},GC=(e,t,n,r)=>{if(KC(e)){Mf(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(BC(n,e))},WC=(e,t,n,r)=>{const s=Object.entries(e),o=s.length;for(let i=0;i<o;i++){const[a,l]=s[i];Mf(l,Z1(t,a),n,r)}},Z1=(e,t)=>{let n=e;const r=t.split(Aa),s=r.length;for(let o=0;o<s;o++){const i=r[o];let a=n.nextPart.get(i);a||(a=Y1(),n.nextPart.set(i,a)),n=a}return n},KC=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,XC=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)}}},gu="!",oh=":",YC=[],ih=(e,t,n,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:s}),JC=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===oh){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(gu)?(p=f.slice(0,-1),d=!0):f.startsWith(gu)&&(p=f.slice(1),d=!0);const h=u&&u>l?u-l:void 0;return ih(o,d,p,h)};if(t){const s=t+oh,o=r;r=i=>i.startsWith(s)?o(i.slice(s.length)):ih(YC,!1,i,void 0,!0)}if(n){const s=r;r=o=>n({className:o,parseClassName:s})}return r},ZC=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}},QC=e=>({cache:XC(e.cacheSize),parseClassName:JC(e),sortModifiers:ZC(e),...jC(e)}),ek=/\s+/,tk=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:o}=t,i=[],a=e.trim().split(ek);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+gu:v,w=m+b;if(i.indexOf(w)>-1)continue;i.push(w);const _=s(b,y);for(let k=0;k<_.length;++k){const E=_[k];i.push(m+E)}l=c+(l.length>0?" "+l:l)}return l},nk=(...e)=>{let t=0,n,r,s="";for(;t<e.length;)(n=e[t++])&&(r=Q1(n))&&(s&&(s+=" "),s+=r);return s},Q1=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Q1(e[r]))&&(n&&(n+=" "),n+=t);return n},mu=(e,...t)=>{let n,r,s,o;const i=l=>{const u=t.reduce((c,f)=>f(c),e());return n=QC(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=tk(l,n);return s(l,c),c};return o=i,(...l)=>o(nk(...l))},rk=[],gt=e=>{const t=n=>n[e]||rk;return t.isThemeGetter=!0,t},ey=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ty=/^\((?:(\w[\w-]*):)?(.+)\)$/i,sk=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ok=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ik=/\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$/,ak=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,lk=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ck=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,mr=e=>sk.test(e),Ee=e=>!!e&&!Number.isNaN(Number(e)),yr=e=>!!e&&Number.isInteger(Number(e)),sc=e=>e.endsWith("%")&&Ee(e.slice(0,-1)),Xn=e=>ok.test(e),ny=()=>!0,uk=e=>ik.test(e)&&!ak.test(e),Nf=()=>!1,fk=e=>lk.test(e),dk=e=>ck.test(e),pk=e=>!ae(e)&&!le(e),hk=e=>Mr(e,oy,Nf),ae=e=>ey.test(e),jr=e=>Mr(e,iy,uk),ah=e=>Mr(e,xk,Ee),gk=e=>Mr(e,ly,ny),mk=e=>Mr(e,ay,Nf),lh=e=>Mr(e,ry,Nf),yk=e=>Mr(e,sy,dk),Ni=e=>Mr(e,cy,fk),le=e=>ty.test(e),po=e=>hs(e,iy),vk=e=>hs(e,ay),ch=e=>hs(e,ry),bk=e=>hs(e,oy),wk=e=>hs(e,sy),Li=e=>hs(e,cy,!0),_k=e=>hs(e,ly,!0),Mr=(e,t,n)=>{const r=ey.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},hs=(e,t,n=!1)=>{const r=ty.exec(e);return r?r[1]?t(r[1]):n:!1},ry=e=>e==="position"||e==="percentage",sy=e=>e==="image"||e==="url",oy=e=>e==="length"||e==="size"||e==="bg-size",iy=e=>e==="length",xk=e=>e==="number",ay=e=>e==="family-name",ly=e=>e==="number"||e==="weight",cy=e=>e==="shadow",yu=()=>{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"],_=()=>[...w(),le,ae],k=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],A=()=>[le,ae,l],T=()=>[mr,"full","auto",...A()],M=()=>[yr,"none","subgrid",le,ae],j=()=>["auto",{span:["full",yr,le,ae]},yr,le,ae],O=()=>[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",...A()],W=()=>[mr,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],$=()=>[mr,"screen","full","dvw","lvw","svw","min","max","fit",...A()],ie=()=>[mr,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],te=()=>[e,le,ae],et=()=>[...w(),ch,lh,{position:[le,ae]}],Le=()=>["no-repeat",{repeat:["","x","y","space","round"]}],pt=()=>["auto","cover","contain",bk,hk,{size:[le,ae]}],kt=()=>[sc,po,jr],Pe=()=>["","none","full",u,le,ae],Re=()=>["",Ee,po,jr],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=()=>[Ee,sc,ch,lh],fe=()=>["","none",h,le,ae],_e=()=>["none",Ee,le,ae],Fe=()=>["none",Ee,le,ae],C=()=>[Ee,le,ae],S=()=>[mr,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xn],breakpoint:[Xn],color:[ny],container:[Xn],"drop-shadow":[Xn],ease:["in","out","in-out"],font:[pk],"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",Ee],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:[Ee,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:_()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[yr,"auto",le,ae]}],basis:[{basis:[mr,"full","auto",a,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ee,mr,"auto","initial","none",ae]}],grow:[{grow:["",Ee,le,ae]}],shrink:[{shrink:["",Ee,le,ae]}],order:[{order:[yr,"first","last","none",le,ae]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"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:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],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":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"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,po,jr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,_k,gk]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",sc,ae]}],"font-family":[{font:[vk,mk,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":[Ee,"none",le,ah]}],leading:[{leading:[o,...A()]}],"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:[Ee,"from-font","auto",le,jr]}],"text-decoration-color":[{decoration:te()}],"underline-offset":[{"underline-offset":[Ee,"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:A()}],"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:et()}],"bg-repeat":[{bg:Le()}],"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]},wk,yk]}],"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:Pe()}],"rounded-s":[{"rounded-s":Pe()}],"rounded-e":[{"rounded-e":Pe()}],"rounded-t":[{"rounded-t":Pe()}],"rounded-r":[{"rounded-r":Pe()}],"rounded-b":[{"rounded-b":Pe()}],"rounded-l":[{"rounded-l":Pe()}],"rounded-ss":[{"rounded-ss":Pe()}],"rounded-se":[{"rounded-se":Pe()}],"rounded-ee":[{"rounded-ee":Pe()}],"rounded-es":[{"rounded-es":Pe()}],"rounded-tl":[{"rounded-tl":Pe()}],"rounded-tr":[{"rounded-tr":Pe()}],"rounded-br":[{"rounded-br":Pe()}],"rounded-bl":[{"rounded-bl":Pe()}],"border-w":[{border:Re()}],"border-w-x":[{"border-x":Re()}],"border-w-y":[{"border-y":Re()}],"border-w-s":[{"border-s":Re()}],"border-w-e":[{"border-e":Re()}],"border-w-bs":[{"border-bs":Re()}],"border-w-be":[{"border-be":Re()}],"border-w-t":[{"border-t":Re()}],"border-w-r":[{"border-r":Re()}],"border-w-b":[{"border-b":Re()}],"border-w-l":[{"border-l":Re()}],"divide-x":[{"divide-x":Re()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Re()}],"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":[Ee,le,ae]}],"outline-w":[{outline:["",Ee,po,jr]}],"outline-color":[{outline:te()}],shadow:[{shadow:["","none",c,Li,Ni]}],"shadow-color":[{shadow:te()}],"inset-shadow":[{"inset-shadow":["none",f,Li,Ni]}],"inset-shadow-color":[{"inset-shadow":te()}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:te()}],"ring-offset-w":[{"ring-offset":[Ee,jr]}],"ring-offset-color":[{"ring-offset":te()}],"inset-ring-w":[{"inset-ring":Re()}],"inset-ring-color":[{"inset-ring":te()}],"text-shadow":[{"text-shadow":["none",p,Li,Ni]}],"text-shadow-color":[{"text-shadow":te()}],opacity:[{opacity:[Ee,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":[Ee]}],"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":[Ee]}],"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:et()}],"mask-repeat":[{mask:Le()}],"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:[Ee,le,ae]}],contrast:[{contrast:[Ee,le,ae]}],"drop-shadow":[{"drop-shadow":["","none",d,Li,Ni]}],"drop-shadow-color":[{"drop-shadow":te()}],grayscale:[{grayscale:["",Ee,le,ae]}],"hue-rotate":[{"hue-rotate":[Ee,le,ae]}],invert:[{invert:["",Ee,le,ae]}],saturate:[{saturate:[Ee,le,ae]}],sepia:[{sepia:["",Ee,le,ae]}],"backdrop-filter":[{"backdrop-filter":["","none",le,ae]}],"backdrop-blur":[{"backdrop-blur":fe()}],"backdrop-brightness":[{"backdrop-brightness":[Ee,le,ae]}],"backdrop-contrast":[{"backdrop-contrast":[Ee,le,ae]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ee,le,ae]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ee,le,ae]}],"backdrop-invert":[{"backdrop-invert":["",Ee,le,ae]}],"backdrop-opacity":[{"backdrop-opacity":[Ee,le,ae]}],"backdrop-saturate":[{"backdrop-saturate":[Ee,le,ae]}],"backdrop-sepia":[{"backdrop-sepia":["",Ee,le,ae]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"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:[Ee,"initial",le,ae]}],ease:[{ease:["linear","initial",b,le,ae]}],delay:[{delay:[Ee,le,ae]}],animate:[{animate:["none",v,le,ae]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,le,ae]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:_e()}],"rotate-x":[{"rotate-x":_e()}],"rotate-y":[{"rotate-y":_e()}],"rotate-z":[{"rotate-z":_e()}],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:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:S()}],"translate-x":[{"translate-x":S()}],"translate-y":[{"translate-y":S()}],"translate-z":[{"translate-z":S()}],"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":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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:[Ee,po,jr,ah]}],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"]}},Ck=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:s={},override:o={}})=>(wo(e,"cacheSize",t),wo(e,"prefix",n),wo(e,"experimentalParseClassName",r),$i(e.theme,o.theme),$i(e.classGroups,o.classGroups),$i(e.conflictingClassGroups,o.conflictingClassGroups),$i(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),wo(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Di(e.theme,s.theme),Di(e.classGroups,s.classGroups),Di(e.conflictingClassGroups,s.conflictingClassGroups),Di(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),uy(e,s,"orderSensitiveModifiers"),e),wo=(e,t,n)=>{n!==void 0&&(e[t]=n)},$i=(e,t)=>{if(t)for(const n in t)wo(e,n,t[n])},Di=(e,t)=>{if(t)for(const n in t)uy(e,t,n)},uy=(e,t,n)=>{const r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},kk=(e,...t)=>typeof e=="function"?mu(yu,e,...t):mu(()=>Ck(yu(),e),...t),Sk=mu(yu);var Ek=e=>jt(e)?Sk:kk({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),Ak=(e,t)=>{const n=Ea(e);return!n||!(t?.twMerge??!0)?n:((!er.cachedTwMerge||er.didTwMergeConfigChange)&&(er.didTwMergeConfigChange=!1,er.cachedTwMerge=Ek(er.cachedTwMergeConfig)),er.cachedTwMerge(n)||void 0)},Tk=(...e)=>t=>Ak(e,t),{createTV:Pk}=$C(Tk);const Rk=p1,nt=Pk(Rk.ui?.tv),Ok="img",uh=Symbol("nuxt-ui.avatar-group");function fy(e){const t=Ve(uh,void 0),n=R(()=>e.size??t?.value.size);return Zt(uh,R(()=>({size:n.value}))),{size:n}}const Ik={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"}},Mk=Object.assign({inheritAttrs:!1},{__name:"UChip",props:Ac({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=l0(e,"show",{type:Boolean,default:!0}),{size:r}=fy(t),s=Ct(),o=Vn("chip",t),i=R(()=>nt({extend:nt(Ik),...s.ui?.chip||{}})({color:t.color,size:r.value,position:t.position,inset:t.inset,standalone:t.standalone}));return(a,l)=>(D(),X(x(st),{as:e.as,"data-slot":"root",class:Se(i.value.root({class:[x(o)?.root,t.class]}))},{default:Q(()=>[re(x(Xo),tn(En(a.$attrs)),{default:Q(()=>[ce(a.$slots,"default")]),_:3},16),n.value?(D(),Ae("span",{key:0,"data-slot":"base",class:Se(i.value.base({class:x(o)?.base}))},[ce(a.$slots,"content",{},()=>[Ft(Ze(e.text),1)])],2)):ke("",!0)]),_:3},8,["as","class"]))}}),Nk={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"}},vl=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=R(()=>typeof t.as=="string"||typeof t.as?.render=="function"?{root:t.as}:zn(t.as,{root:"span"})),r=R(()=>t.text||(t.alt||"").split(" ").map(p=>p.charAt(0)).join("").substring(0,2)),s=Ct(),o=Vn("avatar",t),{size:i}=fy(t),a=R(()=>nt({extend:nt(Nk),...s.ui?.avatar||{}})({size:i.value})),l=R(()=>a.value.root({class:[o.value?.root,t.class]})),u=R(()=>{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?Mk:x(st)),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:Q(()=>[e.src&&!c.value?(D(),X(Nn(n.value.img||x(Ok)),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:x(o)?.image}),onError:f}),null,16,["src","alt","width","height","class"])):(D(),X(x(Xo),tn(ve({key:1},p.$attrs)),{default:Q(()=>[ce(p.$slots,"default",{},()=>[e.icon?(D(),X(Sn,{key:0,name:e.icon,"data-slot":"icon",class:Se(a.value.icon({class:x(o)?.icon}))},null,8,["name","class"])):(D(),Ae("span",{key:1,"data-slot":"fallback",class:Se(a.value.fallback({class:x(o)?.fallback}))},Ze(r.value||" "),3))])]),_:3},16))]),_:3},16,["as","class","style"]))}}),Lk={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"}},$k={__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=Ws(),r=Ct(),s=Vn("badge",t),{orientation:o,size:i}=Of(t),{isLeading:a,isTrailing:l,leadingIconName:u,trailingIconName:c}=If(t),f=R(()=>nt({extend:nt(Lk),...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(x(st),{as:e.as,"data-slot":"base",class:Se(f.value.base({class:[x(s)?.base,t.class]}))},{default:Q(()=>[ce(p.$slots,"leading",{ui:f.value},()=>[x(a)&&x(u)?(D(),X(Sn,{key:0,name:x(u),"data-slot":"leadingIcon",class:Se(f.value.leadingIcon({class:x(s)?.leadingIcon}))},null,8,["name","class"])):e.avatar?(D(),X(vl,ve({key:1,size:x(s)?.leadingAvatarSize||f.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:f.value.leadingAvatar({class:x(s)?.leadingAvatar})}),null,16,["size","class"])):ke("",!0)]),ce(p.$slots,"default",{ui:f.value},()=>[e.label!==void 0&&e.label!==null?(D(),Ae("span",{key:0,"data-slot":"label",class:Se(f.value.label({class:x(s)?.label}))},Ze(e.label),3)):ke("",!0)]),ce(p.$slots,"trailing",{ui:f.value},()=>[x(l)&&x(c)?(D(),X(Sn,{key:0,name:x(c),"data-slot":"trailingIcon",class:Se(f.value.trailingIcon({class:x(s)?.trailingIcon}))},null,8,["name","class"])):ke("",!0)])]),_:3},8,["as","class"]))}},dy=Symbol("nuxt-ui.portal-target");function py(e){const t=Ve(dy,void 0),n=R(()=>e.value===!0?t?.value:e.value),r=R(()=>typeof n.value=="boolean"?!n.value:!1),s=R(()=>typeof n.value=="boolean"?"body":n.value);return R(()=>({to:s.value,disabled:r.value}))}const Bi={meta:"",ctrl:"",alt:"",win:"⊞",command:"⌘",shift:"⇧",control:"⌃",option:"⌥",enter:"↵",delete:"⌦",backspace:"⌫",escape:"Esc",tab:"⇥",capslock:"⇪",arrowup:"↑",arrowright:"→",arrowdown:"↓",arrowleft:"←",pageup:"⇞",pagedown:"⇟",home:"↖",end:"↘"},Dk=()=>{const e=R(()=>navigator&&navigator.userAgent&&navigator.userAgent.match(/Macintosh;/)),t=xt({meta:" ",alt:" ",ctrl:" "});Mt(()=>{t.meta=e.value?Bi.command:"Ctrl",t.ctrl=e.value?Bi.control:"Ctrl",t.alt=e.value?Bi.option:"Alt"});function n(r){if(r)return["meta","alt","ctrl"].includes(r)?t[r]:Bi[r]||r}return{macOS:e,getKbdKey:n}},Bk=sf(Dk),Fk={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"}},jk={__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}=Bk(),r=Ct(),s=Vn("kbd",t),o=R(()=>nt({extend:nt(Fk),...r.ui?.kbd||{}}));return(i,a)=>(D(),X(x(st),{as:e.as,class:Se(o.value({class:[x(s)?.base,t.class],color:t.color,variant:t.variant,size:t.size}))},{default:Q(()=>[ce(i.$slots,"default",{},()=>[Ft(Ze(x(n)(e.value)),1)])]),_:3},8,["as","class"]))}},qk={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"}},zk={__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=Ws(),o=Ct(),i=Vn("tooltip",n),a=fi(),l=fl(fs(n,"defaultOpen","open","delayDuration","disableHoverableContent","disableClosingTrigger","ignoreNonKeyboardFocus"),r),u=py(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=R(()=>nt({extend:nt(qk),...o.ui?.tooltip||{}})({side:c.value.side}));return(d,h)=>(D(),X(x(mC),ve(x(l),{disabled:!(e.text||e.kbds?.length||s.content)||n.disabled}),{default:Q(({open:g})=>[s.default||e.reference?(D(),X(x(SC),ve({key:0},d.$attrs,{"as-child":"",reference:e.reference,class:n.class}),{default:Q(()=>[ce(d.$slots,"default",{open:g})]),_:2},1040,["reference","class"])):ke("",!0),re(x(CC),tn(En(x(u))),{default:Q(()=>[re(x(_C),ve(c.value,{"data-slot":"content",class:p.value.content({class:[!s.default&&n.class,x(i)?.content]})}),{default:Q(()=>[ce(d.$slots,"content",{ui:p.value},()=>[e.text?(D(),Ae("span",{key:0,"data-slot":"text",class:Se(p.value.text({class:x(i)?.text}))},Ze(e.text),3)):ke("",!0),e.kbds?.length?(D(),Ae("span",{key:1,"data-slot":"kbds",class:Se(p.value.kbds({class:x(i)?.kbds}))},[(D(!0),Ae(qe,null,Tr(e.kbds,(y,b)=>(D(),X(jk,ve({key:b,size:x(i)?.kbdsSize||p.value.kbdsSize()},{ref_for:!0},typeof y=="string"?{value:y}:y),null,16,["size"]))),128))],2)):ke("",!0)]),e.arrow?(D(),X(x(uC),ve({key:0},f.value,{"data-slot":"arrow",class:p.value.arrow({class:x(i)?.arrow})}),null,16,["class"])):ke("",!0)]),_:3},16,["class"])]),_:3},16)]),_:3},16,["disabled"]))}},Hk=(...e)=>e.find(t=>t!==void 0);function Vk(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 Fi(o,l);const u="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Fi(u,l)}}function s(o){const i=Vt(),a=li(),l=R(()=>!!x(o.target)&&x(o.target)!=="_self"),u=R(()=>{const y=x(o.to)||x(o.href)||"";return typeof y=="string"&&fr(y,{acceptRelative:!0})}),c=cd("RouterLink"),f=typeof c!="string"?c.useLink:void 0,p=R(()=>{if(x(o.external))return!0;const y=x(o.to)||x(o.href)||"";return typeof y=="object"?!1:y===""||u.value}),d=R(()=>{const y=x(o.to)||x(o.href)||"";return p.value?y:r(y,i.resolve,x(o.trailingSlash))}),h=p.value?void 0:f?.({...o,to:d,viewTransition:x(o.viewTransition)}),g=R(()=>{const y=x(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?Hc(d.value):d.value,v=typeof b=="object"?i.resolve(b).href:b;return Fi(v,y)}return typeof d.value=="object"?i.resolve(d.value)?.href??null:Fi(Uo(a.app.baseURL,d.value),y)});return{to:d,hasTarget:l,isAbsoluteUrl:u,isExternal:p,href:g,isActive:h?.isActive??R(()=>d.value===i.currentRoute.value.path),isExactActive:h?.isExactActive??R(()=>d.value===i.currentRoute.value.path),route:h?.route??R(()=>i.resolve(d.value)),async navigate(y){await rw(g.value,{replace:x(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=Vt(),{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"&&!Wk()}async function v(m=ze()){if(h.value)return;h.value=!0;const w=typeof l.value=="string"?l.value:f.value?Hc(l.value):a.resolve(l.value).fullPath,_=f.value?new URL(w,window.location.href).href:w;await Promise.all([m.hooks.callHook("link:prefetch",_)?.catch(()=>{}),!f.value&&!p.value&&h1(l.value,a).catch(()=>{})])}if(b("visibility")){const m=ze();let w,_=null;Mt(()=>{const k=Uk();gf(()=>{w=Zc(()=>{g?.value?.tagName&&(_=k.observe(g.value,async()=>{_?.(),_=null,await v(m)}))})})}),cs(()=>{w&&P8(w),_?.(),_=null})}return()=>{if(!f.value&&!p.value&&!n(l.value)){const _={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")&&(_.onPointerenter=v.bind(null,void 0),_.onFocus=v.bind(null,void 0)),h.value&&(_.class=o.prefetchedClass||e.prefetchedClass),_.rel=o.rel||void 0),Xe(cd("RouterLink"),_,i.default)}const m=o.target||null,w=Hk(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 _=new URL(u.value,window.location.href);return{path:_.pathname,fullPath:_.pathname,get query(){return tf(_.search)},hash:_.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:Xe("a",{ref:g,href:u.value||null,rel:w,target:m,onClick:async _=>{if(!(f.value||p.value)){_.preventDefault();try{const k=Am(u.value);return await(o.replace?a.replace(k):a.push(k))}finally{if(n(l.value)){const k=l.value.slice(1);let E=k;try{E=decodeURIComponent(k)}catch{}document.getElementById(E)?.focus()}}}}},i.default?.())}}})}const hy=Vk(j4);function Fi(e,t){const n=t==="append"?V0:Vo;return fr(e)&&!e.startsWith("http")?e:n(e,!0)}function Uk(){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 Gk=/2g/;function Wk(){const e=navigator.connection;return!!(e&&(e.saveData||Gk.test(e.effectiveType)))}const Kk=Symbol("nuxt-ui.form-options"),Xk=Symbol("nuxt-ui.form-events"),fh=Symbol("nuxt-ui.form-field"),Yk=Symbol("nuxt-ui.input-id"),Jk=Symbol("nuxt-ui.form-loading");function Zk(e,t){const n=Ve(Kk,void 0),r=Ve(Xk,void 0),s=Ve(fh,void 0),o=Ve(Yk,void 0);Zt(fh,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=lm(()=>{i("input",s?.value.name,s?.value.eagerValidation)},s?.value.validateOnInputDelay??n?.value.validateOnInputDelay??0);return{id:R(()=>e?.id??o?.value),name:R(()=>e?.name??s?.value.name),size:R(()=>e?.size??s?.value.size),color:R(()=>s?.value.error?"error":e?.color),highlight:R(()=>s?.value.error?!0:e?.highlight),disabled:R(()=>n?.value.disabled||e?.disabled),emitFormBlur:a,emitFormInput:c,emitFormChange:u,emitFormFocus:l,ariaAttrs:R(()=>{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 Qk=["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 eS(e){const t=Object.keys(e),n=t.filter(o=>o.startsWith("aria-")),r=t.filter(o=>o.startsWith("data-")),s=[...Qk,...n,...r];return fs(e,...s)}function tS(e,t){const n=AC(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 b1(r,s)}const gy={__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(x(st),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:Q(()=>[ce(r.$slots,"default")]),_:3},16,["rel","target"]))}},nS={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"]}]},rS=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=uf(),r=Ct(),s=ds(e4(t,"as","type","disabled","active","exact","exactQuery","exactHash","activeClass","inactiveClass","to","href","raw","custom","class")),o=R(()=>nt({extend:nt(nS),...zn({variants:{active:{true:Sa(r.ui?.link?.variants?.active?.true,t.activeClass),false:Sa(r.ui?.link?.variants?.active?.false,t.inactiveClass)}}},r.ui?.link||{})})),i=R(()=>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(!tS(u.query,n.query))return!1}else if(t.exactQuery===!0&&!b1(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=hy;return D(),X(f,ve(x(s),{to:i.value,custom:""}),{default:Q(({href:p,navigate:d,route:h,isActive:g,isExactActive:y,...b})=>[e.custom?ce(u.$slots,"default",tn(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(gy,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:Q(()=>[ce(u.$slots,"default",{active:a({route:h,isActive:g,isExactActive:y})})]),_:2},1040,["class"]))]),_:3},16,["to"])}}}),sS={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"}},Io={__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=Ws(),r=Ct(),s=Vn("button",t),{orientation:o,size:i}=Of(t),a=ds(eS(t)),l=J(!1),u=Ve(Jk,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=R(()=>t.loading||t.loadingAuto&&(l.value||u?.value&&t.type==="submit")),{isLeading:p,isTrailing:d,leadingIconName:h,trailingIconName:g}=If(R(()=>({...t,loading:f.value}))),y=R(()=>nt({extend:nt(sS),...zn({variants:{active:{true:{base:Sa(r.ui?.button?.variants?.active?.true?.base,t.activeClass)},false:{base:Sa(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(rS,ve({type:e.type,disabled:e.disabled||f.value},x(G1)(x(a),["type","disabled","onClick"]),{custom:""}),{default:Q(({active:m,...w})=>[re(gy,ve(w,{"data-slot":"base",class:y.value.base({class:[x(s)?.base,t.class],active:m,...m&&e.activeVariant?{variant:e.activeVariant}:{},...m&&e.activeColor?{color:e.activeColor}:{}}),onClick:c}),{default:Q(()=>[ce(b.$slots,"leading",{ui:y.value},()=>[x(p)&&x(h)?(D(),X(Sn,{key:0,name:x(h),"data-slot":"leadingIcon",class:Se(y.value.leadingIcon({class:x(s)?.leadingIcon,active:m}))},null,8,["name","class"])):e.avatar?(D(),X(vl,ve({key:1,size:x(s)?.leadingAvatarSize||y.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:y.value.leadingAvatar({class:x(s)?.leadingAvatar,active:m})}),null,16,["size","class"])):ke("",!0)]),ce(b.$slots,"default",{ui:y.value},()=>[e.label!==void 0&&e.label!==null?(D(),Ae("span",{key:0,"data-slot":"label",class:Se(y.value.label({class:x(s)?.label,active:m}))},Ze(e.label),3)):ke("",!0)]),ce(b.$slots,"trailing",{ui:y.value},()=>[x(d)&&x(g)?(D(),X(Sn,{key:0,name:x(g),"data-slot":"trailingIcon",class:Se(y.value.trailingIcon({class:x(s)?.trailingIcon,active:m}))},null,8,["name","class"])):ke("",!0)])]),_:2},1040,["class"])]),_:3},16,["type","disabled"]))}},oS={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"}},iS=["id","type","value","name","placeholder","disabled","required","autocomplete"],aS=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=Ws(),i=Go(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}=Zk(r,{}),{orientation:w,size:_}=Of(r),{isLeading:k,isTrailing:E,leadingIconName:A,trailingIconName:T}=If(r),M=R(()=>_.value||p.value),j=R(()=>nt({extend:nt(oS),...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:k.value||!!r.avatar||!!o.leading,trailing:E.value||!!o.trailing,fieldGroup:w.value})),O=Xg("inputRef");function G($){r.modelModifiers?.trim&&(typeof $=="string"||$===null||$===void 0)&&($=$?.trim()??null),(r.modelModifiers?.number||r.type==="number")&&($=TC($)),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&&O.value?.focus()}return Mt(()=>{setTimeout(()=>{W()},r.autofocusDelay)}),t({inputRef:O}),($,ie)=>(D(),X(x(st),{as:e.as,"data-slot":"root",class:Se(j.value.root({class:[x(l)?.root,r.class]}))},{default:Q(()=>[xe("input",ve({id:x(h),ref_key:"inputRef",ref:O,type:e.type,value:x(i),name:x(g),placeholder:e.placeholder,"data-slot":"base",class:j.value.base({class:x(l)?.base}),disabled:x(b),required:e.required,autocomplete:e.autocomplete},{...$.$attrs,...x(m)},{onInput:N,onBlur:L,onChange:q,onFocus:ie[0]||(ie[0]=(...te)=>x(v)&&x(v)(...te))}),null,16,iS),ce($.$slots,"default",{ui:j.value}),x(k)||e.avatar||o.leading?(D(),Ae("span",{key:0,"data-slot":"leading",class:Se(j.value.leading({class:x(l)?.leading}))},[ce($.$slots,"leading",{ui:j.value},()=>[x(k)&&x(A)?(D(),X(Sn,{key:0,name:x(A),"data-slot":"leadingIcon",class:Se(j.value.leadingIcon({class:x(l)?.leadingIcon}))},null,8,["name","class"])):e.avatar?(D(),X(vl,ve({key:1,size:x(l)?.leadingAvatarSize||j.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:j.value.leadingAvatar({class:x(l)?.leadingAvatar})}),null,16,["size","class"])):ke("",!0)])],2)):ke("",!0),x(E)||o.trailing?(D(),Ae("span",{key:1,"data-slot":"trailing",class:Se(j.value.trailing({class:x(l)?.trailing}))},[ce($.$slots,"trailing",{ui:j.value},()=>[x(T)?(D(),X(Sn,{key:0,name:x(T),"data-slot":"trailingIcon",class:Se(j.value.trailingIcon({class:x(l)?.trailingIcon}))},null,8,["name","class"])):ke("",!0)])],2)):ke("",!0)]),_:3},8,["as","class"]))}}),lS={class:"standalone-connect"},cS={class:"standalone-connect-card"},uS={key:0,class:"text-xs text-[var(--color-warning)] text-center max-w-sm"},fS=me({__name:"DevtoolsStandaloneConnect",setup(e){const t=/\/+$/,n=J(ns.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)}),ns.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=aS,c=Io;return D(),Ae("div",lS,[xe("div",cS,[re(l,{name:"carbon:plug",class:"text-4xl text-[var(--seo-green)]"}),a[2]||(a[2]=R0('<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:Is(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:Q(()=>[...a[1]||(a[1]=[Ft(" Connect ",-1)])]),_:1},8,["loading"])],32),r.value?(D(),Ae("p",uS,Ze(r.value),1)):ke("",!0)])])}}}),dS=Object.assign(ul(fS,[["__scopeId","data-v-b53a764e"]]),{__name:"DevtoolsStandaloneConnect"}),pS={},hS={class:"flex flex-col items-center justify-center gap-3 py-20"};function gS(e,t){const n=Sn;return D(),Ae("div",hS,[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 mS=Object.assign(ul(pS,[["render",gS]]),{__name:"DevtoolsLoading"});function yS(e){return(t,n)=>vS(t,n,x(e))}function vS(e,t,n){return W1(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(s,o)=>`${t?.[o]??`{${o}}`}`)}function bS(e){const t=R(()=>x(e).name),n=R(()=>x(e).code),r=R(()=>x(e).dir);return{lang:t,code:n,dir:r,locale:Ye(e)?e:J(e),t:yS(e)}}function wS(e){return zn(e,{dir:"ltr"})}const dh=wS({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"}}}),my=Symbol.for("nuxt-ui.locale-context"),_S=e=>{const t=e||Bt(Ve(my,dh));return bS(R(()=>t.value||dh))},yy=sf(_S),vy=Symbol("nuxt-ui.toast-max");function xS(){const e=Jm("toasts",()=>[]),t=Ve(vy,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 CS={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"}},kS={__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=Ws(),{dir:o}=yy(),i=Ct(),a=Vn("progress",n),l=fl(fs(n,"getValueLabel","getValueText","modelValue"),r),u=R(()=>l.value.modelValue===null),c=R(()=>Array.isArray(n.max)),f=R(()=>{if(!(u.value||!n.max))return Array.isArray(n.max)?n.max.length-1:Number(n.max)}),p=R(()=>{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=R(()=>{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=R(()=>{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=R(()=>nt({extend:nt(CS),...i.ui?.progress||{}})({animation:n.animation,size:n.size,color:n.color,orientation:n.orientation,inverted:n.inverted}));return(w,_)=>(D(),X(x(st),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:Se(m.value.root({class:[x(a)?.root,n.class]}))},{default:Q(()=>[!u.value&&(e.status||s.status)?(D(),Ae("div",{key:0,"data-slot":"status",class:Se(m.value.status({class:x(a)?.status})),style:bn(h.value)},[ce(w.$slots,"status",{percent:p.value},()=>[Ft(Ze(p.value)+"% ",1)])],6)):ke("",!0),re(x(Ix),ve(x(l),{max:f.value,"data-slot":"base",class:m.value.base({class:x(a)?.base}),style:{transform:"translateZ(0)"}}),{default:Q(()=>[re(x(Nx),{"data-slot":"indicator",class:Se(m.value.indicator({class:x(a)?.indicator})),style:bn(d.value)},null,8,["class","style"])]),_:1},16,["max","class"]),c.value?(D(),Ae("div",{key:1,"data-slot":"steps",class:Se(m.value.steps({class:x(a)?.steps}))},[(D(!0),Ae(qe,null,Tr(e.max,(k,E)=>(D(),Ae("div",{key:E,"data-slot":"step",class:Se(m.value.step({class:x(a)?.step,step:v(E)}))},[ce(w.$slots,`step-${E}`,{step:k},()=>[Ft(Ze(k),1)])],2))),128))],2)):ke("",!0)]),_:3},8,["as","data-orientation","class"]))}},SS={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"}},ES={__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=Ws(),{t:i}=yy(),a=Ct(),l=Vn("toast",r),u=fl(fs(r,"as","defaultOpen","open","duration","type"),s),c=R(()=>nt({extend:nt(SS),...a.ui?.toast||{}})({color:r.color,orientation:r.orientation,title:!!r.title||!!o.title})),f=Xg("rootRef"),p=J(0);return Mt(()=>{f.value?.$el?.getBoundingClientRect&&(p.value=f.value.$el.getBoundingClientRect().height)}),t({height:p}),(d,h)=>(D(),X(x(rC),ve({ref_key:"rootRef",ref:f},x(u),{"data-orientation":e.orientation,"data-slot":"root",class:c.value.root({class:[x(l)?.root,r.class]}),style:{"--height":p.value}}),{default:Q(({remaining:g,duration:y,open:b})=>[ce(d.$slots,"leading",{ui:c.value},()=>[e.avatar?(D(),X(vl,ve({key:0,size:x(l)?.avatarSize||c.value.avatarSize()},e.avatar,{"data-slot":"avatar",class:c.value.avatar({class:x(l)?.avatar})}),null,16,["size","class"])):e.icon?(D(),X(Sn,{key:1,name:e.icon,"data-slot":"icon",class:Se(c.value.icon({class:x(l)?.icon}))},null,8,["name","class"])):ke("",!0)]),xe("div",{"data-slot":"wrapper",class:Se(c.value.wrapper({class:x(l)?.wrapper}))},[e.title||o.title?(D(),X(x(oC),{key:0,"data-slot":"title",class:Se(c.value.title({class:x(l)?.title}))},{default:Q(()=>[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(),Ae(qe,{key:2},[Ft(Ze(e.title),1)],64))])]),_:3},8,["class"])):ke("",!0),e.description||o.description?(D(),X(x(Qx),{key:1,"data-slot":"description",class:Se(c.value.description({class:x(l)?.description}))},{default:Q(()=>[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(),Ae(qe,{key:2},[Ft(Ze(e.description),1)],64))])]),_:3},8,["class"])):ke("",!0),e.orientation==="vertical"&&(e.actions?.length||o.actions)?(D(),Ae("div",{key:2,"data-slot":"actions",class:Se(c.value.actions({class:x(l)?.actions}))},[ce(d.$slots,"actions",{},()=>[(D(!0),Ae(qe,null,Tr(e.actions,(v,m)=>(D(),X(x(Qp),{key:m,"alt-text":v.label||"Action","as-child":"",onClick:h[0]||(h[0]=Is(()=>{},["stop"]))},{default:Q(()=>[re(Io,ve({size:"xs",color:e.color},{ref_for:!0},v),null,16,["color"])]),_:2},1032,["alt-text"]))),128))])],2)):ke("",!0)],2),e.orientation==="horizontal"&&(e.actions?.length||o.actions)||e.close?(D(),Ae("div",{key:0,"data-slot":"actions",class:Se(c.value.actions({class:x(l)?.actions,orientation:"horizontal"}))},[e.orientation==="horizontal"&&(e.actions?.length||o.actions)?ce(d.$slots,"actions",{key:0},()=>[(D(!0),Ae(qe,null,Tr(e.actions,(v,m)=>(D(),X(x(Qp),{key:m,"alt-text":v.label||"Action","as-child":"",onClick:h[1]||(h[1]=Is(()=>{},["stop"]))},{default:Q(()=>[re(Io,ve({size:"xs",color:e.color},{ref_for:!0},v),null,16,["color"])]),_:2},1032,["alt-text"]))),128))]):ke("",!0),e.close||o.close?(D(),X(x(z1),{key:1,"as-child":""},{default:Q(()=>[ce(d.$slots,"close",{ui:c.value},()=>[e.close?(D(),X(Io,ve({key:0,icon:e.closeIcon||x(a).ui.icons.close,color:"neutral",variant:"link","aria-label":x(i)("toast.close")},typeof e.close=="object"?e.close:{},{"data-slot":"close",class:c.value.close({class:x(l)?.close}),onClick:h[2]||(h[2]=Is(()=>{},["stop"]))}),null,16,["icon","aria-label","class"])):ke("",!0)])]),_:3})):ke("",!0)],2)):ke("",!0),e.progress&&b&&g>0&&y?(D(),X(kS,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:x(l)?.progress})}),null,16,["model-value","color","class"])):ke("",!0)]),_:3},16,["data-orientation","class","style"]))}},AS={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"}},TS={name:"Toaster"},PS=Object.assign(TS,{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}=xS(),s=Ct(),o=Vn("toaster",t);Zt(vy,Bt(()=>t.max));const i=ds(fs(t,"duration","label","swipeThreshold","disableSwipe")),a=py(Bt(()=>t.portal)),l=R(()=>{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=R(()=>nt({extend:nt(AS),...s.ui?.toaster||{}})({position:t.position,swipeDirection:l.value}));function c(b,v){b||r(v)}const f=J(!1),p=R(()=>t.expand||f.value),d=J([]),h=R(()=>d.value.reduce((b,{height:v})=>b+v+16,0)),g=R(()=>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(x(Bx),ve({"swipe-direction":l.value},x(i)),{default:Q(()=>[ce(b.$slots,"default"),(D(!0),Ae(qe,null,Tr(x(n),(m,w)=>(D(),X(ES,ve({key:m.id,ref_for:!0,ref_key:"refs",ref:d,progress:e.progress},{ref_for:!0},x(G1)(m,["id","close","_duplicate","_updated"]),{close:m.close,"data-expanded":p.value,"data-front":!p.value&&w===x(n).length-1,"data-pulsing":m._duplicate?m._duplicate%2===0?"even":"odd":void 0,style:{"--index":w-x(n).length+x(n).length,"--before":x(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:[x(o)?.base,m.onClick?"cursor-pointer":void 0]}),"onUpdate:open":_=>c(_,m.id),onClick:_=>m.onClick&&m.onClick(m)}),null,16,["progress","close","data-expanded","data-front","data-pulsing","style","class","onUpdate:open","onClick"]))),128)),re(x(tC),tn(En(x(a))),{default:Q(()=>[re(x(lC),{"data-expanded":p.value,"data-slot":"viewport",class:Se(u.value.viewport({class:[x(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"]))}}),RS=Object.assign(PS,{__name:"UToaster"});function OS(){const e=pn([]),t=(u,c)=>{const{props:f,defaultOpen:p,destroyOnClose:d}=c||{},h=xt({id:Symbol(""),isOpen:!!p,component:Gu(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 IS=sf(OS),MS={__name:"UOverlayProvider",setup(e){const{overlays:t,unmount:n,close:r}=IS(),s=R(()=>t.filter(a=>a.isMounted)),o=a=>{r(a),n(a)},i=(a,l)=>{r(a,l)};return(a,l)=>(D(!0),Ae(qe,null,Tr(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))}},NS={name:"App"},LS=Object.assign(NS,{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=ds(fs(t,"scrollBody")),r=Bt(()=>t.tooltip),s=Bt(()=>t.toaster),o=Bt(()=>t.locale);return Zt(my,o),Zt(dy,Bt(()=>t.portal)),(a,l)=>(D(),X(x(F9),ve({"use-id":()=>Kg(),dir:t.dir||o.value?.dir,locale:o.value?.code},x(n)),{default:Q(()=>[re(x(pC),tn(En(r.value)),{default:Q(()=>[e.toaster!==null?(D(),X(RS,tn(ve({key:0},s.value)),{default:Q(()=>[ce(a.$slots,"default")]),_:3},16)):ce(a.$slots,"default",{key:1}),re(MS)]),_:3},16)]),_:3},16,["use-id","dir","locale"]))}}),$S=Object.assign(LS,{__name:"UApp"});let DS;const ho=[];function BS(e){if(ho.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&ho.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&ho.forEach(n=>n(t))},get(){return DS.value},configurable:!0}),()=>{ho.splice(ho.indexOf(e),1)}}const FS=globalThis.setInterval,ph=J(),jS=J(),vu=J("dark"),qS="/__nuxt-scripts-api/state",zS=2e3;function HS(e={}){window.parent!==window&&BS(async r=>{if(ha.value=!0,ph.value=r.host.app.$fetch,nn(()=>{vu.value=r.host.app.colorMode.value}),jS.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(()=>ns.value,r=>{n&&(clearInterval(n),n=void 0),r&&!ha.value&&(ph.value=J0.create({baseURL:r}),vu.value=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",_4(),hh(r),n=FS(hh,zS,r))},{immediate:!0}),Ua(()=>{n&&clearInterval(n)})}async function hh(e){try{const t=await fetch(`${e}${qS}`,{signal:AbortSignal.timeout(3e3)});if(!t.ok)return;const n=await t.json();n.version&&(af.value=n.version),n.firstPartyData&&(Fs.value=n.firstPartyData),n.scripts&&ma(n.scripts),n.route?.path&&!n.route.path.startsWith("/__nuxt-scripts")&&(hm.value=n.route.path,w4.value=n.route.query)}catch{}}HS({onConnected:e=>{e.host.nuxt.hooks.hook("scripts:updated",t=>{ma(t.scripts)}),af.value=e.host.nuxt.$config.public["nuxt-scripts"].version,Fs.value=e.host.nuxt.$config.public["nuxt-scripts-devtools"]||null,ma(e.host.nuxt._scripts||{})}});const VS={class:"relative bg-base flex flex-col min-h-screen"},US={class:"devtools-header glass sticky top-0 z-50"},GS={class:"devtools-header-content"},WS={class:"flex items-center gap-3 sm:gap-4"},KS={href:"https://scripts.nuxt.com",target:"_blank",rel:"noopener","aria-label":"Nuxt Scripts",class:"flex items-center opacity-90 hover:opacity-100 transition-opacity"},XS={class:"flex items-center gap-2"},YS={class:"devtools-brand-icon","aria-hidden":"true"},JS={class:"text-sm sm:text-base font-semibold tracking-tight text-[var(--color-text)]"},ZS={class:"hidden sm:inline"},QS={key:0,class:"devtools-production-badge"},eE={key:0,class:"mode-dropdown-menu"},tE={class:"devtools-production-badge text-[10px]"},nE={key:2,class:"standalone-indicator"},rE={class:"text-xs font-mono"},sE={class:"flex items-center gap-1 sm:gap-2"},oE={class:"devtools-nav-tabs"},iE={class:"devtools-nav-tab-inner"},aE={class:"devtools-nav-label"},lE=["onClick"],cE={class:"devtools-nav-tab-inner"},uE={class:"devtools-nav-label"},fE={class:"flex items-center gap-1"},dE={key:0,class:"standalone-path-bar"},pE={class:"standalone-path-inner"},hE={class:"standalone-path-display"},gE={class:"devtools-main"},mE={class:"devtools-main-content"},yE=me({__name:"DevtoolsLayout",props:Ac({title:{},icon:{},version:{},navItems:{},githubUrl:{},loading:{type:Boolean,default:!1}},{activeTab:{},activeTabModifiers:{}}),emits:Ac(["refresh"],["update:activeTab"]),setup(e,{emit:t}){const n=t,r=l0(e,"activeTab"),s=R(()=>vu.value==="dark");Mm({title:`Nuxt ${e.title}`,htmlAttrs:{class:()=>s.value?"dark":""}});const o=R(()=>Ei.value?e.navItems.filter(h=>!h.devOnly):e.navItems),i=R(()=>{try{return new URL(Bc.value).hostname}catch{return Bc.value}}),a=R(()=>e.navItems.some(h=>h.to)),l=J(!1),u=J();i4(u,()=>{l.value=!1});function c(h){gm.value=h,l.value=!1}const f=R(()=>{try{return new URL(ns.value).host}catch{return ns.value}}),p=R(()=>!ha.value&&!bo.value);function d(){ns.value=""}return(h,g)=>{const y=s9,b=Sn,v=$k,m=zk,w=hy,_=Io,k=dS,E=mS,A=$S;return D(),X(A,null,{default:Q(()=>[xe("div",VS,[g[11]||(g[11]=xe("div",{class:"gradient-bg"},null,-1)),xe("header",US,[xe("div",GS,[xe("div",WS,[xe("a",KS,[re(y,{class:"h-6 sm:h-7"})]),g[8]||(g[8]=xe("div",{class:"devtools-divider"},null,-1)),xe("div",XS,[xe("div",YS,[re(b,{name:e.icon,class:"text-base sm:text-lg"},null,8,["name"])]),xe("h1",JS,Ze(e.title),1),e.version?(D(),X(v,{key:0,class:"font-mono text-[10px] sm:text-xs hidden sm:inline-flex"},{default:Q(()=>[Ft(" v"+Ze(e.version),1)]),_:1})):ke("",!0),x(mm)&&!x(bo)?(D(),Ae("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]=T=>l.value=!l.value)},[re(b,{name:x(Ei)?"carbon:cloud":"carbon:laptop",class:"w-3.5 h-3.5"},null,8,["name"]),xe("span",ZS,Ze(x(Ei)?"Production":"Local"),1),x(Ei)?(D(),Ae("span",QS,[g[4]||(g[4]=xe("span",{class:"devtools-production-dot"},null,-1)),Ft(" "+Ze(i.value),1)])):ke("",!0),re(b,{name:"carbon:chevron-down",class:Se(["w-3 h-3 opacity-50 transition-transform",l.value?"rotate-180":""])},null,8,["class"])]),re($0,{name:"dropdown"},{default:Q(()=>[l.value?(D(),Ae("div",eE,[xe("button",{type:"button",class:"mode-dropdown-item",onClick:g[1]||(g[1]=T=>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]=T=>c("production"))},[re(b,{name:"carbon:cloud",class:"w-4 h-4"}),g[7]||(g[7]=xe("span",null,"Production",-1)),xe("span",tE,[g[6]||(g[6]=xe("span",{class:"devtools-production-dot"},null,-1)),Ft(" "+Ze(i.value),1)])])])):ke("",!0)]),_:1})],512)):ke("",!0),x(bo)?(D(),Ae("div",nE,[re(b,{name:"carbon:plug",class:"w-3.5 h-3.5 text-[var(--seo-green)]"}),xe("span",rE,Ze(f.value),1),re(m,{text:"Disconnect"},{default:Q(()=>[xe("button",{type:"button",class:"standalone-disconnect",onClick:d},[re(b,{name:"carbon:close",class:"w-3 h-3"})])]),_:1})])):ke("",!0)])]),xe("nav",sE,[xe("div",oE,[a.value?(D(!0),Ae(qe,{key:0},Tr(o.value,T=>(D(),X(w,{key:T.value,to:T.to,class:Se(["devtools-nav-tab",[r.value===T.value?"active":"",e.loading?"opacity-50 pointer-events-none":""]])},{default:Q(()=>[re(m,{text:T.label},{default:Q(()=>[xe("div",iE,[re(b,{name:T.icon,class:Se(["text-base sm:text-lg",r.value===T.value?"text-[var(--seo-green)]":""])},null,8,["name","class"]),xe("span",aE,Ze(T.label),1)])]),_:2},1032,["text"])]),_:2},1032,["to","class"]))),128)):(D(!0),Ae(qe,{key:1},Tr(o.value,T=>(D(),Ae("button",{key:T.value,type:"button",class:Se(["devtools-nav-tab",[r.value===T.value?"active":"",e.loading?"opacity-50 pointer-events-none":""]]),onClick:M=>r.value=T.value},[re(m,{text:T.label},{default:Q(()=>[xe("div",cE,[re(b,{name:T.icon,class:Se(["text-base sm:text-lg",r.value===T.value?"text-[var(--seo-green)]":""])},null,8,["name","class"]),xe("span",uE,Ze(T.label),1)])]),_:2},1032,["text"])],10,lE))),128))]),xe("div",fE,[ce(h.$slots,"actions",{},void 0,!0),re(m,{text:"Refresh"},{default:Q(()=>[re(_,{icon:"carbon:reset","aria-label":"Refresh",class:"devtools-nav-action",onClick:g[3]||(g[3]=T=>n("refresh"))})]),_:1}),re(m,{text:"GitHub"},{default:Q(()=>[re(_,{icon:"simple-icons:github","aria-label":"GitHub",to:e.githubUrl,target:"_blank",class:"devtools-nav-action hidden sm:flex"},null,8,["to"])]),_:1})])])])]),x(bo)?(D(),Ae("div",dE,[xe("div",pE,[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",hE,Ze(x(hm)),1),g[10]||(g[10]=xe("span",{class:"text-[10px] text-[var(--color-text-subtle)] italic"},"synced from app",-1))])])):ke("",!0),xe("div",gE,[xe("main",mE,[p.value?(D(),X(k,{key:0})):ke("",!0),td(re(E,null,null,512),[[Ed,!p.value&&e.loading]]),td(xe("div",null,[ce(h.$slots,"default",{},void 0,!0)],512),[[Ed,!p.value&&!e.loading]])])])])]),_:3})}}}),vE=Object.assign(ul(yE,[["__scopeId","data-v-7bf91aea"]]),{__name:"DevtoolsLayout"});var Qe=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function bE(e){return Lf(e)}function Lf(e){return Array.isArray(e)?wE(e):e instanceof RegExp?e:typeof e=="object"?_E(e):e}function wE(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Lf(e[n]);return t}function _E(e){let t={};for(let n in e)t[n]=Lf(e[n]);return t}function by(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function wy(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?wy(e.substring(0,e.length-1)):e.substr(~t+1)}var oc=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ji=class{static hasCaptures(e){return e===null?!1:(oc.lastIndex=0,oc.test(e))}static replaceCaptures(e,t,n){return e.replace(oc,(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 _y(e,t){return e<t?-1:e>t?1:0}function xy(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=_y(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function gh(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 Cy(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var ky=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}},Ta=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(kE(e),t)}static createFromParsedTheme(e,t){return EE(e,t)}_cachedMatchRoot=new ky(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=>xE(e.parent,s.parentScopes));return r?new Sy(r.fontStyle,r.foreground,r.background):null}},ic=class Zi{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Zi(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Zi(n,t[r]);return n}push(t){return new Zi(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 xE(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&&!CE(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function CE(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Sy=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function kE(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"&&gh(i.settings.foreground)&&(u=i.settings.foreground);let c=null;typeof i.settings.background=="string"&&gh(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 SE(g,y,s,l,u,c)}}return n}var SE=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}},It=(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))(It||{});function EE(e,t){e.sort((l,u)=>{let c=_y(l.scope,u.scope);return c!==0||(c=xy(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 AE(t),i=new Sy(n,o.getId(r),o.getId(s)),a=new PE(new bu(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 Ta(o,i,a)}var AE=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)}},TE=Object.freeze([]),bu=class Ey{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,s,o){this.scopeDepth=t,this.parentScopes=n||TE,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new Ey(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)}},PE=class wu{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(wu._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 wu(this._mainRule.clone(),bu.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(xy(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 bu(t,n,r,s,o))}},Vs=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 Pa(e,t){const n=[],r=RE(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(mh(s)){const l=[];do l.push(s),s=r.next();while(mh(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 mh(e){return!!e&&!!e.match(/[\w\.:]+/)}function RE(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 Ay(e){typeof e.dispose=="function"&&e.dispose()}var Zo=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},OE=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},IE=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))}},ME=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Zo(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new IE;for(const n of e)NE(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Zo){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 NE(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 Zo?Qi({baseGrammar:o,selfGrammar:s},r):_u(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 Zo(a))}function _u(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Ra([r],t,n)}}function Qi(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Ra(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Ra(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Ra(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?by({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Ra(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=Ty(o);switch(i.kind){case 0:Qi({...t,selfGrammar:t.baseGrammar},n);break;case 1:Qi(t,n);break;case 2:_u(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?_u(i.ruleName,l,n):Qi(l,n)}else i.kind===4?n.add(new OE(i.scopeName,i.ruleName)):n.add(new Zo(i.scopeName));break}}}var LE=class{kind=0},$E=class{kind=1},DE=class{constructor(e){this.ruleName=e}kind=2},BE=class{constructor(e){this.scopeName=e}kind=3},FE=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Ty(e){if(e==="$base")return new LE;if(e==="$self")return new $E;const t=e.indexOf("#");if(t===-1)return new BE(e);if(t===0)return new DE(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new FE(n,r)}}var jE=/\\(\d+)/,yh=/\\(\d+)/g,qE=-1,Py=-2;var di=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=ji.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=ji.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${wy(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:ji.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ji.replaceCaptures(this._contentName,e,t)}},zE=class extends di{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!")}},HE=class extends di{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,s){super(e,t,n,null),this._match=new Qo(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 ei,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},vh=class extends di{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 ei,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},xu=class extends di{_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 Qo(s,this.id),this.beginCaptures=o,this._end=new Qo(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 ei;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}},Oa=class extends di{_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 Qo(s,this.id),this.beginCaptures=o,this.whileCaptures=a,this._while=new Qo(i,Py),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 ei;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 ei,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Ry=class Tt{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new zE(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new HE(t.$vscodeTextmateLocation,t.id,t.name,t.match,Tt._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=by({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new vh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Tt._compilePatterns(o,n,r))}return t.while?new Oa(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 xu(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=Ty(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 vh||u instanceof xu||u instanceof Oa)&&u.hasMissingPatterns&&u.patterns.length===0&&(c=!0),c)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},Qo=class Oy{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=jE.test(this.source):this.hasBackReferences=!1}clone(){return new Oy(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 yh.lastIndex=0,this.source.replace(yh,(s,o)=>Cy(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}},ei=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 bh(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 bh(e,r,this._items.map(s=>s.ruleId))}},bh=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}},ac=class{constructor(e,t){this.languageId=e,this.tokenType=t}},VE=class Cu{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new ac(t,8),this._embeddedLanguagesMatcher=new UE(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Cu._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new ac(0,0);_getBasicScopeAttributes=new ky(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new ac(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Cu.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/},UE=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])=>Cy(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])}},wh=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Iy(e,t,n,r,s,o,i,a){const l=t.content.length;let u=!1,c=-1;if(i){const d=GE(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 wh(s,!0);p()}return new wh(s,!1);function p(){const d=WE(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===qE){const b=s.getRule(e);o.produce(s,h[0].start),s=s.withContentNameScopesList(s.nameScopesList),_o(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 xu){const _=b;_o(e,t,n,s,o,_.beginCaptures,h),o.produce(s,h[0].end),c=h[0].end;const k=_.getContentName(t.content,h),E=w.pushAttributed(k,e);if(s=s.withContentNameScopesList(E),_.endHasBackReferences&&(s=s.withEndRule(_.getEndWithResolvedBackReferences(t.content,h))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(b instanceof Oa){const _=b;_o(e,t,n,s,o,_.beginCaptures,h),o.produce(s,h[0].end),c=h[0].end;const k=_.getContentName(t.content,h),E=w.pushAttributed(k,e);if(s=s.withContentNameScopesList(E),_.whileHasBackReferences&&(s=s.withEndRule(_.getWhileWithResolvedBackReferences(t.content,h))),!y&&v.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),u=!0;return}}else if(_o(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 GE(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 Oa&&a.push({rule:u,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:u,findOptions:c}=YE(l.rule,e,l.stack.endRule,n,r===i),f=u.findNextMatchSync(t,r,c);if(f){if(f.ruleId!==Py){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),_o(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 WE(e,t,n,r,s,o){const i=KE(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=XE(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 KE(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=My(i,e,s.endRule,n,r===o),u=a.findNextMatchSync(t,r,l);return u?{captureIndices:u.captureIndices,matchedRuleId:u.ruleId}:null}function XE(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}=My(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 My(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function YE(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function _o(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));Iy(e,w,n&&d.start===0,d.start,m,s,!1,0),Ay(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 JE(y,d.end))}}for(;u.length>0;)s.produceFromScopes(u[u.length-1].scopes,u[u.length-1].endPos),u.pop()}var JE=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function ZE(e,t,n,r,s,o,i,a){return new eA(e,t,n,r,s,o,i,a)}function _h(e,t,n,r,s){const o=Pa(t,Ia),i=Ry.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 Ia(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(QE(t[s],r))return n=s+1,!0;return!1})}function QE(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 eA=class{constructor(e,t,n,r,s,o,i,a){if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new VE(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=xh(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const u=Pa(l,Ia);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)_h(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&&_h(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]=xh(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=Ry.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===ku.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),c=this.themeProvider.getDefaults(),f=Vs.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=Mo.createRootAndLookUpScopeName(p,f,this):d=Mo.createRoot("unknown",f),t=new ku(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 nA(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Iy(this,o,s,0,t,a,!0,r);return Ay(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function xh(e,t){return e=bE(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 Mo=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=ic.push(s,o.scopeNames),r=new Pn(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new Pn(null,new ic(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new ic(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),Vs.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}},ku=class Ur{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 Ur(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:Ur._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Mo.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(){Ur._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new Ur(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 Ur(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=Mo.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new Ur(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Mo.fromExtension(r,n.contentNameScopesList))}},tA=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Pa(n,Ia).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Pa(n,Ia).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}},nA=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=Vs.set(r,0,i.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(r=Vs.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}},rA=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,ZE(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},sA=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new rA(Ta.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Ta.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 tA(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new ME(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)}},Su=ku.NULL;function Ma(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 Er(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function oA(e){return Array.isArray(e)?e:[e]}async function Ny(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function bl(e){return!e||["plaintext","txt","text","plain"].includes(e)}function iA(e){return e==="ansi"||bl(e)}function wl(e){return e==="none"}function aA(e){return wl(e)}function _l(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 Ch={light:"#333333",dark:"#bbbbbb"},kh={light:"#fffffe",dark:"#1e1e1e"},Sh="__shiki_resolved";function $f(e){if(e?.[Sh])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"?Ch.light:Ch.dark),n||(n=t.type==="light"?kh.light:kh.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,Sh,{enumerable:!1,writable:!1,value:!0}),t}async function Ly(e){return Array.from(new Set((await Promise.all(e.filter(t=>!iA(t)).map(async t=>await Ny(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function $y(e){return(await Promise.all(e.map(async t=>aA(t)?null:$f(await Ny(t))))).filter(t=>!!t)}function Dy(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 lA=class extends sA{_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=$f(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=Ta.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=Dy(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))}},cA=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 go=0;function uA(e){go+=1,e.warnings!==!1&&go>=10&&go%10===0&&console.warn(`[Shiki] ${go} 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($f),s=new lA(new cA(e.engine,n),r,n,e.langAlias);let o;function i(v){return Dy(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 Ly(v))}function h(...v){y();for(const m of v.flat(1))s.loadTheme(m)}async function g(...v){return y(),h(await $y(v))}function y(){if(t)throw new Qe("Shiki instance has been disposed")}function b(){t||(t=!0,s.dispose(),go-=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 fA(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([$y(e.themes||[]),Ly(e.langs||[]),e.engine]);return uA({...e,themes:t,langs:n,engine:r})}const By=new WeakMap;function xl(e,t){By.set(e,t)}function ti(e){return By.get(e)}var Cl=class Fy{_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 Fy(Object.fromEntries(oA(n).map(r=>[r,Su])),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 dA(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function dA(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 pA(e,t){if(!(e instanceof Cl))throw new Qe("Invalid grammar state");return e.getInternalStack(t)}function jy(e,t,n={}){const{theme:r=e.getLoadedThemes()[0]}=n;if(bl(e.resolveLangAlias(n.lang||"text"))||wl(r))return _l(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 gA(t,i,s,o,n)}function hA(...e){if(e.length===2)return ti(e[1]);const[t,n,r={}]=e,{lang:s="text",theme:o=t.getLoadedThemes()[0]}=r;if(bl(s)||wl(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 Cl(Df(n,l,i,a,r).stateStack,l.name,i.name)}function gA(e,t,n,r,s){const o=Df(e,t,n,r,s),i=new Cl(o.stateStack,t.name,n.name);return xl(o.tokens,i),o.tokens}function Df(e,t,n,r,s){const o=Ma(n,s),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=_l(e);let u=s.grammarState?pA(s.grammarState,n.name)??Su:s.grammarContextCode!=null?Df(s.grammarContextCode,t,n,r,{...s,grammarState:void 0,grammarContextCode:void 0}).stateStack:Su,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 _=0;_<w;_++){const k=m.tokens[2*_],E=_+1<w?m.tokens[2*_+2]:h.length;if(k===E)continue;const A=m.tokens[2*_+1],T=Er(r[Vs.getForeground(A)],o),M=Vs.getFontStyle(A),j={content:h.substring(k,E),offset:g+k,color:T,fontStyle:M};if(s.includeExplanation){const O=[];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}O.push({settings:N,selectors:q.map(L=>L.split(/ /))})}j.explanation=[];let G=0;for(;k+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"?mA(N.scopes):yA(O,N.scopes)}),v+=1}}c.push(j)}f.push(c),c=[],u=m.ruleStack}return{tokens:f,stateStack:u}}function mA(e){return e.map(t=>({scopeName:t}))}function yA(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t[r];n[r]={scopeName:o,themeMatches:bA(e,o,t.slice(0,r))}}return n}function Eh(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function vA(e,t,n){if(!Eh(e[e.length-1],t))return!1;let r=e.length-2,s=n.length-1;for(;r>=0&&s>=0;)Eh(e[r],n[s])&&(r-=1),s-=1;return r===-1}function bA(e,t,n){const r=[];for(const{selectors:s,settings:o}of e)for(const i of s)if(vA(i,t,n)){r.push(o);break}return r}function qy(e,t,n,r=jy){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:ti(c),theme:typeof u.theme=="string"?u.theme:u.theme.name}}),i=wA(...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 Cl(Object.fromEntries(o.map(u=>[u.theme,u.state?.getInternalStack(u.theme)])),o[0].state.lang):void 0;return l&&xl(a,l),a}function wA(...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 _A=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class pi{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}pi.prototype.normal={};pi.prototype.property={};pi.prototype.space=void 0;function zy(e,t){const n={},r={};for(const s of e)Object.assign(n,s.property),Object.assign(r,s.normal);return new pi(n,r,t)}function Eu(e){return e.toLowerCase()}class Ut{constructor(t,n){this.attribute=n,this.property=t}}Ut.prototype.attribute="";Ut.prototype.booleanish=!1;Ut.prototype.boolean=!1;Ut.prototype.commaOrSpaceSeparated=!1;Ut.prototype.commaSeparated=!1;Ut.prototype.defined=!1;Ut.prototype.mustUseProperty=!1;Ut.prototype.number=!1;Ut.prototype.overloadedBoolean=!1;Ut.prototype.property="";Ut.prototype.spaceSeparated=!1;Ut.prototype.space=void 0;let xA=0;const Ce=gs(),lt=gs(),Au=gs(),K=gs(),We=gs(),Ns=gs(),Kt=gs();function gs(){return 2**++xA}const Tu=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ce,booleanish:lt,commaOrSpaceSeparated:Kt,commaSeparated:Ns,number:K,overloadedBoolean:Au,spaceSeparated:We},Symbol.toStringTag,{value:"Module"})),lc=Object.keys(Tu);class Bf extends Ut{constructor(t,n,r,s){let o=-1;if(super(t,n),Ah(this,"space",s),typeof r=="number")for(;++o<lc.length;){const i=lc[o];Ah(this,lc[o],(r&Tu[i])===Tu[i])}}}Bf.prototype.defined=!0;function Ah(e,t,n){n&&(e[t]=n)}function Zs(e){const t={},n={};for(const[r,s]of Object.entries(e.properties)){const o=new Bf(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Eu(r)]=r,n[Eu(o.attribute)]=r}return new pi(t,n,e.space)}const Hy=Zs({properties:{ariaActiveDescendant:null,ariaAtomic:lt,ariaAutoComplete:null,ariaBusy:lt,ariaChecked:lt,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:We,ariaCurrent:null,ariaDescribedBy:We,ariaDetails:null,ariaDisabled:lt,ariaDropEffect:We,ariaErrorMessage:null,ariaExpanded:lt,ariaFlowTo:We,ariaGrabbed:lt,ariaHasPopup:null,ariaHidden:lt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:We,ariaLevel:K,ariaLive:null,ariaModal:lt,ariaMultiLine:lt,ariaMultiSelectable:lt,ariaOrientation:null,ariaOwns:We,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:lt,ariaReadOnly:lt,ariaRelevant:null,ariaRequired:lt,ariaRoleDescription:We,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 Vy(e,t){return t in e?e[t]:t}function Uy(e,t){return Vy(e,t.toLowerCase())}const CA=Zs({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ns,acceptCharset:We,accessKey:We,action:null,allow:null,allowFullScreen:Ce,allowPaymentRequest:Ce,allowUserMedia:Ce,alt:null,as:null,async:Ce,autoCapitalize:null,autoComplete:We,autoFocus:Ce,autoPlay:Ce,blocking:We,capture:null,charSet:null,checked:Ce,cite:null,className:We,cols:K,colSpan:null,content:null,contentEditable:lt,controls:Ce,controlsList:We,coords:K|Ns,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ce,defer:Ce,dir:null,dirName:null,disabled:Ce,download:Au,draggable:lt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ce,formTarget:null,headers:We,height:K,hidden:Au,high:K,href:null,hrefLang:null,htmlFor:We,httpEquiv:We,id:null,imageSizes:null,imageSrcSet:null,inert:Ce,inputMode:null,integrity:null,is:null,isMap:Ce,itemId:null,itemProp:We,itemRef:We,itemScope:Ce,itemType:We,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ce,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:Ce,muted:Ce,name:null,nonce:null,noModule:Ce,noValidate:Ce,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:Ce,optimum:K,pattern:null,ping:We,placeholder:null,playsInline:Ce,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ce,referrerPolicy:null,rel:We,required:Ce,reversed:Ce,rows:K,rowSpan:K,sandbox:We,scope:null,scoped:Ce,seamless:Ce,selected:Ce,shadowRootClonable:Ce,shadowRootDelegatesFocus:Ce,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:Ce,useMap:null,value:lt,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:We,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:Ce,declare:Ce,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:Ce,noHref:Ce,noShade:Ce,noWrap:Ce,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:Ce,disableRemotePlayback:Ce,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:Uy}),kA=Zs({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:Kt,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:We,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:Ce,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:Ns,g2:Ns,glyphName:Ns,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:Kt,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:We,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Kt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Kt,rev:Kt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Kt,requiredFeatures:Kt,requiredFonts:Kt,requiredFormats:Kt,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:Kt,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:Kt,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:Kt,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:Vy}),Gy=Zs({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()}}),Wy=Zs({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Uy}),Ky=Zs({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),SA=/[A-Z]/g,Th=/-[a-z]/g,EA=/^data[-\w.:]+$/i;function AA(e,t){const n=Eu(t);let r=t,s=Ut;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&EA.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Th,PA);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Th.test(o)){let i=o.replace(SA,TA);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=Bf}return new s(r,t)}function TA(e){return"-"+e.toLowerCase()}function PA(e){return e.charAt(1).toUpperCase()}const RA=zy([Hy,CA,Gy,Wy,Ky],"html"),Xy=zy([Hy,kA,Gy,Wy,Ky],"svg"),Ph={}.hasOwnProperty;function OA(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Ph.call(s,e)){const l=String(s[e]);i=Ph.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 IA=/["&'<>`]/g,MA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,NA=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,LA=/[|\\{}()[\]^$+*?.]/g,Rh=new WeakMap;function $A(e,t){if(e=e.replace(t.subset?DA(t.subset):IA,r),t.subset||t.escapeOnly)return e;return e.replace(MA,n).replace(NA,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 DA(e){let t=Rh.get(e);return t||(t=BA(e),Rh.set(e,t)),t}function BA(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(LA,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const FA=/[\dA-Fa-f]/;function jA(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!FA.test(String.fromCharCode(t))?r:r+";"}const qA=/\d/;function zA(e,t,n){const r="&#"+String(e);return n&&t&&!qA.test(String.fromCharCode(t))?r:r+";"}const HA=["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"],cc={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:"€"},VA=["cent","copy","divide","gt","lt","not","para","times"],Yy={}.hasOwnProperty,Pu={};let qi;for(qi in cc)Yy.call(cc,qi)&&(Pu[cc[qi]]=qi);const UA=/[^\dA-Za-z]/;function GA(e,t,n,r){const s=String.fromCharCode(e);if(Yy.call(Pu,s)){const o=Pu[s],i="&"+o;return n&&HA.includes(o)&&!VA.includes(o)&&(!r||t&&t!==61&&UA.test(String.fromCharCode(t)))?i:i+";"}return""}function WA(e,t,n){let r=jA(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=GA(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=zA(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function Ls(e,t){return $A(e,Object.assign({format:WA},t))}const KA=/^>|^->|<!--|-->|--!>|<!-$/g,XA=[">"],YA=["<",">"];function JA(e,t,n,r){return r.settings.bogusComments?"<?"+Ls(e.value,Object.assign({},r.settings.characterReferences,{subset:XA}))+">":"<!--"+e.value.replace(KA,s)+"-->";function s(o){return Ls(o,Object.assign({},r.settings.characterReferences,{subset:YA}))}}function ZA(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Oh(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 QA(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function eT(e){return e.join(" ").trim()}const tT=/[ \t\n\f\r]/g;function Ff(e){return typeof e=="object"?e.type==="text"?Ih(e.value):!1:Ih(e)}function Ih(e){return e.replace(tT,"")===""}const bt=Zy(1),Jy=Zy(-1),nT=[];function Zy(e){return t;function t(n,r,s){const o=n?n.children:nT;let i=(r||0)+e,a=o[i];if(!s)for(;a&&Ff(a);)i+=e,a=o[i];return a}}const rT={}.hasOwnProperty;function Qy(e){return t;function t(n,r,s){return rT.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const jf=Qy({body:oT,caption:uc,colgroup:uc,dd:cT,dt:lT,head:uc,html:sT,li:aT,optgroup:uT,option:fT,p:iT,rp:Mh,rt:Mh,tbody:pT,td:Nh,tfoot:hT,th:Nh,thead:dT,tr:gT});function uc(e,t,n){const r=bt(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ff(r.value.charAt(0)))}function sT(e,t,n){const r=bt(n,t);return!r||r.type!=="comment"}function oT(e,t,n){const r=bt(n,t);return!r||r.type!=="comment"}function iT(e,t,n){const r=bt(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 aT(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&r.tagName==="li"}function lT(e,t,n){const r=bt(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function cT(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Mh(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function uT(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function fT(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function dT(e,t,n){const r=bt(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function pT(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function hT(e,t,n){return!bt(n,t)}function gT(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Nh(e,t,n){const r=bt(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const mT=Qy({body:bT,colgroup:wT,head:vT,html:yT,tbody:_T});function yT(e){const t=bt(e,-1);return!t||t.type!=="comment"}function vT(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 bT(e){const t=bt(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ff(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function wT(e,t,n){const r=Jy(n,t),s=bt(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&jf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function _T(e,t,n){const r=Jy(n,t),s=bt(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&jf(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const zi={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 xT(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=Xy);const u=CT(r,e.properties),c=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,c&&(i=!1),(u||!o||!mT(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||!jf(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function CT(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=kT(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 kT(e,t,n){const r=AA(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=Ls(r.attribute,Object.assign({},e.settings.characterReferences,{subset:zi.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?QA:eT)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Ls(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:zi.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&Oh(n,i)>Oh(n,e.alternative)&&(i=e.alternative),a=i+Ls(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?zi.single:zi.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}const ST=["<","&"];function ev(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Ls(e.value,Object.assign({},r.settings.characterReferences,{subset:ST}))}function ET(e,t,n,r){return r.settings.allowDangerousHtml?e.value:ev(e,t,n,r)}function AT(e,t,n,r){return r.all(e)}const TT=OA("type",{invalid:PT,unknown:RT,handlers:{comment:JA,doctype:ZA,element:xT,raw:ET,root:AT,text:ev}});function PT(e){throw new Error("Expected node, not `"+e+"`")}function RT(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const OT={},IT={},MT=[];function NT(e,t){const n=t||OT,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:LT,all:$T,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||_A,characterReferences:n.characterReferences||IT,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Xy:RA,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function LT(e,t,n){return TT(e,t,n,this)}function $T(e){const t=[],n=e&&e.children||MT;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function tv(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 DT(e){const t=_l(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 qf="light-dark()",BT=["color","background-color"];function FT(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 jT(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?FT(s,o):s})):e}function qT(e,t,n,r,s="css-vars"){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(c=>Na(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&&BT.includes(p))if(r===qf&&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 Na(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&It.Italic&&(t["font-style"]="italic"),e.fontStyle&It.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&It.Underline&&n.push("underline"),e.fontStyle&It.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function Ru(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function zT(){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=DT(n.source),o=(n.options.decorations||[]).map(i=>({...i,start:s(i.start),end:s(i.end)}));HT(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 jT(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+=nv(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&&tv(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 HT(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 nv(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(nv).join(""):""}const VT=[zT()];function La(e){const t=UT(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...VT]}function UT(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 Yr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],fc={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function GT(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 Lh(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 WT(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)fc[r]&&t.push({type:"setDecoration",value:fc[r]});else if(r<=29){const s=fc[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:Yr[r-30]}});else if(r===38){const s=Lh(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:Yr[r-40]}});else if(r===48){const s=Lh(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:Yr[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Yr[r-100+8]}})}return t}function KT(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=GT(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=WT(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 XT={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 YT(e=XT){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<Yr.length;u++)r.push(t(Yr[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 JT={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 ZT(e,t,n){const r=Ma(e,n),s=_l(t),o=YT(Object.fromEntries(Yr.map(a=>{const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,e.colors?.[l]||JT[a]]}))),i=KT();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=Er(u,r),c=Er(c,r),l.decorations.has("dim")&&(u=QT(u));let f=It.None;return l.decorations.has("bold")&&(f|=It.Bold),l.decorations.has("italic")&&(f|=It.Italic),l.decorations.has("underline")&&(f|=It.Underline),l.decorations.has("strikethrough")&&(f|=It.Strikethrough),{content:l.value,offset:a[1],color:u,bgColor:c,fontStyle:f}}))}function QT(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 Ou(e,t,n={}){const r=e.resolveLangAlias(n.lang||"text"),{theme:s=e.getLoadedThemes()[0]}=n;if(!bl(r)&&!wl(s)&&r==="ansi"){const{theme:o}=e.setTheme(s);return ZT(o,t,n)}return jy(e,t,n)}function $a(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=qy(e,t,n,Ou);if(l=ti(d),u&&qf!==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=>qT(v,g,c,u,f))),l&&xl(o,l);const y=p.map(b=>Ma(b.theme,n));s=$h(p,h,y,c,u,"fg",f),r=$h(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=Ma(n.theme,n);o=Ou(e,t,n);const c=e.getTheme(n.theme);r=Er(c.bg,u),s=Er(c.fg,u),i=c.name,l=ti(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 $h(e,t,n,r,s,o,i){return e.map((a,l)=>{const u=Er(t[l][o],n[l])||"inherit",c=`${r+a.color}${o==="bg"?"-bg":""}:${u}`;if(l===0&&s){if(s===qf&&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(${Er(t[f][o],n[f])||"inherit"}, ${Er(t[p][o],n[p])||"inherit"});${c}`}return u}return i==="css-vars"?c:null}).filter(a=>!!a).join(";")}function Da(e,t,n,r={meta:{},options:n,codeToHast:(s,o)=>Da(e,s,o),codeToTokens:(s,o)=>$a(e,s,o)}){let s=t;for(const h of La(n))s=h.preprocess?.call(r,s,n)||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:u,grammarState:c}=$a(e,s,n);const{mergeWhitespaces:f=!0,mergeSameStyleTokens:p=!1}=n;f===!0?o=tP(o):f==="never"&&(o=nP(o)),p&&(o=rP(o));const d={...r,get source(){return s}};for(const h of La(n))o=h.tokens?.call(d,o)||o;return eP(o,{...n,fg:i,bg:a,themeName:l,rootStyle:n.rootStyle===!1?!1:n.rootStyle??u},d,c)}function eP(e,t,n,r=ti(e)){const s=La(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:tv,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 _=Ru(m.htmlStyle||Na(m));_&&(w.properties.style=_);for(const k of s)w=k?.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&&xl(h,r),h}function tP(e){return e.map(t=>{const n=[];let r="",s;return t.forEach((o,i)=>{const a=!(o.fontStyle&&(o.fontStyle&It.Underline||o.fontStyle&It.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 nP(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 rP(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=Ru(s.htmlStyle||Na(s)),i=Ru(r.htmlStyle||Na(r)),a=s.fontStyle&&(s.fontStyle&It.Underline||s.fontStyle&It.Strikethrough),l=r.fontStyle&&(r.fontStyle&It.Underline||r.fontStyle&It.Strikethrough);!a&&!l&&o===i?s.content+=r.content:n.push({...r})}return n})}const sP=NT;function oP(e,t,n){const r={meta:{},options:n,codeToHast:(o,i)=>Da(e,o,i),codeToTokens:(o,i)=>$a(e,o,i)};let s=sP(Da(e,t,n,r));for(const o of La(n))s=o.postprocess?.call(r,s,n)||s;return s}async function iP(e){const t=await fA(e);return{getLastGrammarState:(...n)=>hA(t,...n),codeToTokensBase:(n,r)=>Ou(t,n,r),codeToTokensWithThemes:(n,r)=>qy(t,n,r),codeToTokens:(n,r)=>$a(t,n,r),codeToHast:(n,r)=>Da(t,n,r),codeToHtml:(n,r)=>oP(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const Dh=4294967295;var aP=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:Dh,end:Dh,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 Qs(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function lP(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const zf=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),wt=String.raw;function eo(e,t){if(e==null)throw new Error(t??"Value expected");return e}const rv=wt`\[\^?`,sv=`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}`}`,Hf=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Hi=new RegExp(wt`
|
|
49
|
+
\\ (?:
|
|
50
|
+
${sv}
|
|
51
|
+
| [gk]<[^>]*>?
|
|
52
|
+
| [gk]'[^']*'?
|
|
53
|
+
| .
|
|
54
|
+
)
|
|
55
|
+
| \( (?:
|
|
56
|
+
\? (?:
|
|
57
|
+
[:=!>({]
|
|
58
|
+
| <[=!]
|
|
59
|
+
| <[^>]*>
|
|
60
|
+
| '[^']*'
|
|
61
|
+
| ~\|?
|
|
62
|
+
| #(?:[^)\\]|\\.?)*
|
|
63
|
+
| [^:)]*[:)]
|
|
64
|
+
)?
|
|
65
|
+
| \*[^\)]*\)?
|
|
66
|
+
)?
|
|
67
|
+
| (?:${Hf.source})+
|
|
68
|
+
| ${rv}
|
|
69
|
+
| .
|
|
70
|
+
`.replace(/\s+/g,""),"gsu"),dc=new RegExp(wt`
|
|
71
|
+
\\ (?:
|
|
72
|
+
${sv}
|
|
73
|
+
| .
|
|
74
|
+
)
|
|
75
|
+
| \[:(?:\^?\p{Alpha}+|\^):\]
|
|
76
|
+
| ${rv}
|
|
77
|
+
| &&
|
|
78
|
+
| .
|
|
79
|
+
`.replace(/\s+/g,""),"gsu");function cP(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=TP(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(Hi.lastIndex=0;a=Hi.exec(e);){const f=uP(o,e,a[0],Hi.lastIndex);f.tokens?i.push(...f.tokens):f.token&&i.push(f.token),f.lastIndex!==void 0&&(Hi.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"?RP(f,c):f).flat(),flags:r}}function uP(e,t,n,r){const[s,o]=n;if(n==="["||n==="[^"){const i=fP(t,n,r);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(s==="\\"){if("AbBGyYzZ".includes(o))return{token:Bh(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:_P(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:iv(n)}}if(o==="K")return{token:av("keep",n)};if(o==="N"||o==="R")return{token:Jr("newline",n,{negate:o==="N"})};if(o==="O")return{token:Jr("any",n)};if(o==="X")return{token:Jr("text_segment",n)};const i=ov(n,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(s==="("){if(o==="*")return{token:SP(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:kP(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:Cs("group",n)};if(n==="(?>")return{token:Cs("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:Cs(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:Cs("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:Cs("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:vP(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:Jr("dot",n)};if(n==="^"||n==="$"){const i=e.singleline?{"^":wt`\A`,$:wt`\Z`}[n]:n;return{token:Bh(i,n)}}return n==="|"?{token:pP(n)}:Hf.test(n)?{tokens:OP(n)}:{token:rr(Qs(n),n)}}function fP(e,t,n){const r=[Fh(t[1]==="^",t)];let s=1,o;for(dc.lastIndex=n;o=dc.exec(e);){const i=o[0];if(i[0]==="["&&i[1]!==":")s++,r.push(Fh(i[1]==="^",i));else if(i==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(rr(93,i));else if(s--,r.push(hP(i)),!s)break}else{const a=dP(i);Array.isArray(a)?r.push(...a):r.push(a)}}return{tokens:r,lastIndex:dc.lastIndex||e.length}}function dP(e){if(e[0]==="\\")return ov(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!zf.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return Jr("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?gP(e):e==="&&"?mP(e):rr(Qs(e),e)}function ov(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return CP(e);if("dDhHsSwW".includes(n))return EP(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 AP(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(Qs(i),a)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return rr(PP(e),e);if(jh.has(n))return rr(jh.get(n),e);if(/\d/.test(n))return yP(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 pP(e){return{type:"Alternator",raw:e}}function Bh(e,t){return{type:"Assertion",kind:e,raw:t}}function iv(e){return{type:"Backreference",raw:e}}function rr(e,t){return{type:"Character",value:e,raw:t}}function hP(e){return{type:"CharacterClassClose",raw:e}}function gP(e){return{type:"CharacterClassHyphen",raw:e}}function mP(e){return{type:"CharacterClassIntersector",raw:e}}function Fh(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function Jr(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function av(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:eo(n.flags),raw:t}}function yP(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function vP(e){return{type:"GroupClose",raw:e}}function Cs(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function bP(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function wP(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function _P(e){return{type:"Subroutine",raw:e}}const xP=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),jh=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function CP(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(Qs(t.toUpperCase())-64,e)}function kP(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=zh(n),i=zh(r),a={};if(o&&(a.enable=o),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(s),av("flags",e,{flags:a});if(e.endsWith(":"))return t.pushModX(s),t.numOpenGroups++,Cs("group",e,{...(o||i)&&{flags:a}});throw new Error(`Unexpected flag modifier "${e}"`)}function SP(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=xP.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 bP(u,r??null,s?.split(",")??null,e)}function qh(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 wP(t,n,r,e)}function EP(e){const t=e[1].toLowerCase();return Jr({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function AP(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return Jr("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function zh(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 TP(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 PP(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 RP(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[iv(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=Qs(l);o.push(rr(u,(a===0?"\\":"")+l))}return o}function OP(e){const t=[],n=new RegExp(Hf,"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(qh(s.slice(0,-1)));continue}}}t.push(qh(s))}return t}function lv(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 IP(e){return MP.has(e.type)}const MP=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function cv(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=cP(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 ls();case"Assertion":return NP(h);case"Backreference":return LP(h,o);case"Character":return kl(h.value,{useLastValid:!!d.isCheckingRangeEnd});case"CharacterClassHyphen":return $P(h,o,d);case"CharacterClassOpen":return DP(h,o,d);case"CharacterSet":return BP(h,o);case"Directive":return VP(h.kind,{flags:h.flags});case"GroupOpen":return FP(h,o,d);case"NamedCallout":return GP(h.kind,h.tag,h.arguments);case"Quantifier":return jP(h,o);case"Subroutine":return qP(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=KP(UP(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 NP({kind:e}){return Iu(eo({"^":"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 LP({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,Mu(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 Mu(r)}return s(+r)}function $P(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(),HP(i,l);throw new Error("Invalid character class range")}return kl(Qs("-"))}function DP({negate:e},t,n){const{tokens:r,walk:s}=t,o=r[t.nextIndex],i=[ea()];let a=Uh(o);for(;a.type!=="CharacterClassClose";){if(a.type==="CharacterClassIntersector")i.push(ea()),t.nextIndex++;else{const u=i.at(-1);u.body.push(s(u,n))}a=Uh(r[t.nextIndex],o)}const l=ea({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 BP({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i}=r;if(e==="property"){const a=Sl(n);if(zf.has(a)&&!i?.has(a))e="posix",n=a;else return ks(n,{negate:t,normalizeUnknownPropertyNames:s,skipPropertyNameValidation:o,unicodePropertyMap:i})}return e==="posix"?WP(n,{negate:t}):Nu(e,{negate:t})}function FP(e,t,n){const{tokens:r,capturingGroups:s,namedGroupsByName:o,skipLookbehindValidation:i,walk:a}=t,l=XP(e),u=l.type==="AbsenceFunction",c=Vh(l),f=c&&l.negate;if(l.type==="CapturingGroup"&&(s.push(l),l.name&&lP(o,l.name,[]).push(l)),u&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let p=Gh(r[t.nextIndex]);for(;p.type!=="GroupClose";){if(p.type==="Alternator")l.body.push(ls()),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(Hh(h)||h.type==="CapturingGroup")throw new Error(g)}else if(Hh(h)||Vh(h)&&h.negate)throw new Error(g)}}p=Gh(r[t.nextIndex])}return t.nextIndex++,l}function jP({kind:e,min:t,max:n},r){const s=r.parent,o=s.body.at(-1);if(!o||!IP(o))throw new Error("Quantifier requires a repeatable token");const i=fv(e,t,n,o);return s.body.pop(),i}function qP({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=dv(s);return r.push(i),i}function zP(e,t){return{type:"AbsenceFunction",kind:e,body:hi(t?.body)}}function ls(e){return{type:"Alternative",body:pv(e?.body)}}function Iu(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function Mu(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function uv(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!YP(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:hi(t?.body)}}function kl(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 ea(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:pv(e?.body)}}function HP(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function Nu(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 VP(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:eo(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function UP(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:hi(e?.body)}}function Kr(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:hi(e?.body)}}function GP(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function WP(e,t){const n=!!t?.negate;if(!zf.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function fv(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 KP(e,t){return{type:"Regex",body:hi(t?.body),flags:e}}function dv(e){return{type:"Subroutine",ref:e}}function ks(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get(Sl(e));if(!r){if(n.normalizeUnknownPropertyNames)r=JP(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 XP({flags:e,kind:t,name:n,negate:r,number:s}){switch(t){case"absence_repeater":return zP("repeater");case"atomic":return gn({atomic:!0});case"capturing":return uv(s,{name:n});case"group":return gn({flags:e});case"lookahead":case"lookbehind":return Kr({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function hi(e){if(e===void 0)e=[ls()];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 pv(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 Hh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function Vh(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function YP(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function JP(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 Sl(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Uh(e,t){return eo(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function Gh(e){return eo(e,"Unclosed group")}function No(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(){Vi(l).splice(Math.max(0,vs(a)+u),1),u--,c=!0},removeAllNextSiblings(){return Vi(l).splice(vs(a)+1)},removeAllPrevSiblings(){const b=vs(a)+u;return u-=b,Vi(l).splice(0,Math.max(0,b))},replaceWith(b,v={}){const m=!!v.traverse;l?l[Math.max(0,vs(a)+u)]=b:eo(i,"Can't replace root node")[a]=b,m&&s(b,i,a,l),c=!0},replaceWithMultiple(b,v={}){const m=!!v.traverse;if(Vi(l).splice(Math.max(0,vs(a)+u),1,...b),u+=b.length-1,m){let w=0;for(let _=0;_<b.length;_++)w+=s(b[_],i,vs(a)+_+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 Vi(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function vs(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const ZP=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function QP(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function eR(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 Vf(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 hv(e,t,n,r){Vf(e,t,n,r)}function tR(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 Ui(e,t,n){return!!tR(e,t,0,n)}function nR(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 Wh=new RegExp(String.raw`(?<noncapturingStart>${ZP})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function rR(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(Wh.lastIndex=Number.isNaN(c)?0:c+o.length;g=Wh.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),QP(n,w),r.size){const _=new Map;r.forEach((k,E)=>{_.set(E>=w?E+1:E,k.map(A=>A>=w?A+1:A))}),r=_}break}d--}}}while(f);return n.push(...a),e=Vf(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 gv=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,pc=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>${gv})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
|
|
94
|
+
| \\?.
|
|
95
|
+
`.replace(/\s+/g,""),"gsu");function sR(e){if(!new RegExp(`${gv}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,s="",o=0,i;for(pc.lastIndex=0;i=pc.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=eR(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}pc.lastIndex+=p}else a[0]==="("?t.push(l):a===")"&&(n=t.length?t.pop():null);s=a}return{pattern:e}}const ln=String.raw,oR=ln`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,Lu=ln`\(\?R=(?<rDepth>[^\)]+)\)|${oR}`,El=ln`\(\?<(?![=!])(?<captureName>[^>]+)>`,mv=ln`${El}|(?<unnamed>\()(?!\?)`,qr=new RegExp(ln`${El}|${Lu}|\(\?|\\?.`,"gsu"),hc="Cannot use multiple overlapping recursions";function iR(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let s=t?.captureTransfers??new Map;if(!new RegExp(Lu,"su").test(e))return{pattern:e,captureTransfers:s,hiddenCaptures:n};if(r==="plugin"&&Ui(e,ln`\(\?\(DEFINE\)`,cn.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const o=[],i=Ui(e,ln`\\[1-9]`,cn.DEFAULT),a=new Map,l=[];let u=!1,c=0,f=0,p;for(qr.lastIndex=0;p=qr.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(Kh(g),u)throw new Error(hc);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(qr.lastIndex);if(Ui(m,Lu,cn.DEFAULT))throw new Error(hc);const w=+g-1;e=Xh(v,m,w,!1,n,o,f),s=Jh(s,v,w,o.length,0,f);break}else if(y){Kh(b);let v=!1;for(const O of l)if(O.name===y||O.num===+y){if(v=!0,O.hasRecursedWithin)throw new Error(hc);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=nR(e,m);if(i&&Ui(w,ln`${El}|\((?!\?)`,cn.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const _=e.slice(m,p.index),k=w.slice(_.length+d.length),E=o.length,A=+b-1,T=Xh(_,k,A,!0,n,o,f);s=Jh(s,_,A,o.length-E,E,f);const M=e.slice(0,m),j=e.slice(m+w.length);e=`${M}${T}${j}`,qr.lastIndex+=T.length-d.length-_.length-k.length,l.forEach(O=>O.hasRecursedWithin=!0),u=!0}else if(h)f++,a.set(String(f),qr.lastIndex),a.set(h,qr.lastIndex),l.push({num:f,name:h});else if(d[0]==="("){const v=d==="(";v&&(f++,a.set(String(f),qr.lastIndex)),l.push(v?{num:f}:{})}else d===")"&&l.pop()}return n.push(...o),{pattern:e,captureTransfers:s,hiddenCaptures:n}}function Kh(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 Xh(e,t,n,r,s,o,i){const a=new Set;r&&hv(e+t,El,({groups:{captureName:u}})=>{a.add(u)},cn.DEFAULT);const l=[n,r?a:null,s,o,i];return`${e}${Yh(`(?:${e}`,"forward",...l)}(?:)${Yh(`${t})`,"backward",...l)}${t}`}function Yh(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+=Vf(e,ln`${mv}|\\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),aR(s,b),h?p:`(?<${d}${y}>`}return ln`\k<${g}${y}>`},cn.DEFAULT)}return u}function aR(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function Jh(e,t,n,r,s,o){if(e.size&&r){let i=0;hv(t,mv,()=>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,we=String.raw,vn={},Al=globalThis.RegExp;vn.flagGroups=(()=>{try{new Al("(?i:)")}catch{return!1}return!0})();vn.unicodeSets=(()=>{try{new Al("[[]]","v")}catch{return!1}return!0})();vn.bugFlagVLiteralHyphenIsRange=vn.unicodeSets?(()=>{try{new Al(we`[\d\-a]`,"v")}catch{return!0}return!1})():!1;vn.bugNestedClassIgnoresNegation=vn.unicodeSets&&new Al("[[^a]]","v").test("a");function Ba(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function ni(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function $u(e,t){return Zh[e]>=Zh[t]}function lR(e,t){if(e==null)throw new Error(t??"Value expected");return e}var Zh={ES2025:2025,ES2024:2024,ES2018:2018},cR={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function yv(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!cR[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 uR="[ -\r ]",fR=new Set([yt(304),yt(305)]),Yn=we`[\p{L}\p{M}\p{N}\p{Pc}]`;function vv(e){if(fR.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),s=hR.get(n),o=dR.get(n),i=pR.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 Uf=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=>[Sl(e),e])),dR=new Map([["s",yt(383)],[yt(383),"s"]]),pR=new Map([[yt(223),yt(7838)],[yt(107),yt(8490)],[yt(229),yt(8491)],[yt(969),yt(8486)]]),hR=new Map([br(453),br(456),br(459),br(498),...gc(8072,8079),...gc(8088,8095),...gc(8104,8111),br(8124),br(8140),br(8188)]),gR=new Map([["alnum",we`[\p{Alpha}\p{Nd}]`],["alpha",we`\p{Alpha}`],["ascii",we`\p{ASCII}`],["blank",we`[\p{Zs}\t]`],["cntrl",we`\p{Cc}`],["digit",we`\p{Nd}`],["graph",we`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",we`\p{Lower}`],["print",we`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",we`[\p{P}\p{S}]`],["space",we`\p{space}`],["upper",we`\p{Upper}`],["word",we`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",we`\p{AHex}`]]);function mR(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function br(e){const t=yt(e);return[t.toLowerCase(),t]}function gc(e,t){return mR(e,t).map(n=>br(n))}var bv=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function yR(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};wv(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:$u(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};No(e,vR,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};No(e,bR,o);const i={groupsByName:o.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:o.reffedNodesByReferencer};return No(e,wR,i),e._originMap=o.groupOriginByCopy,e._strategy=r.strategy,e}var vR={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:s}=e;if(s==="repeater"){const o=gn();o.body[0].body.push(Kr({negate:!0,body:r}),ks("Any"));const i=gn();i.body[0].body.push(fv("greedy",0,1/0,o)),n(ot(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];ni(r,i,[]).push(...s)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=xv(t.get(e));if(n){const r=gn({flags:n});r.body[0].body=e.body,e.body=[ot(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(ot(Kr({body:[ls({body:[Iu("string_end")]}),ls({body:[kl(10)]})]}),t));else if(l==="line_start")i(ot(Jn(we`(?<=\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&&ER(h))i(ot(Kr({negate:!0}),t));else{if(f)throw new Error(we`Uses "\G" in a way that requires a subclass`);i(wr(Iu("string_start"),t)),a.strategy="clip_search"}}else if(!(l==="string_end"||l==="string_start"))if(l==="string_end_newline")i(ot(Jn(we`(?=\n?\z)`),t));else if(l==="word_boundary"){if(!d&&!c){const h=`(?:(?<=${Yn})(?!${Yn})|(?<!${Yn})(?=${Yn}))`,g=`(?:(?<=${Yn})(?=${Yn})|(?<!${Yn})(?!${Yn}))`;i(ot(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"&&!yc(n)&&(n=mc(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!yc(r)&&(r=mc(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=ea({body:[e]});n(ot(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(wr(Nu("digit",{negate:u}),t));return}if(i&&(l==="space"||c==="space")){n(ot(vc(Jn(uR),u),t));return}if(a&&(l==="word"||c==="word")){n(wr(Nu("word",{negate:u}),t));return}if(l==="any")n(wr(ks("Any"),t));else if(l==="digit")n(wr(ks("Nd",{negate:u}),t));else if(l!=="dot")if(l==="text_segment"){if(r==="strict")throw new Error(we`Use of "\X" requires non-strict accuracy`);const f="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",p=we`\p{RI}{2}|${f}(?:\u200D${f})*`;n(ot(Jn(we`(?>\r\n|${s?we`\p{RGI_Emoji}`:p}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")n(wr(ks("AHex",{negate:u}),t));else if(l==="newline")n(ot(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(ot(Jn(`[${f}]`),t))}else n(ot(vc(Jn(gR.get(c)),u),t));else if(l==="property")Uf.has(Sl(c))||(e.key="sc");else if(l==="space")n(wr(ks("space",{negate:u}),t));else if(l==="word")n(ot(vc(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(ot(u,t),{traverse:!0})}else if(a==="keep"){const u=n.body[0],f=n.body.length===1&&lv(u,{type:"Group"})&&u.body[0].body.length===1?u.body[0]:n;if(t.parent!==f||f.body.length>1)throw new Error(we`Uses "\K" in a way that's unsupported`);const p=Kr({behind:!0});p.body[0].body=o(),s(ot(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(ot(Kr({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=ot(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=kv(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(we`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!yc(n)&&(n=mc(n,t),e.ref=n)}},bR={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=wr(Qh(e.number),t);l.set(f,a.get(e.number)),n(f);return}a.set(e.number,e),i.set(e.number,[]),e.name&&ni(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=ni(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=Ba(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?Qh(0):_v(i,r.groupOriginByCopy,null);let u=l;if(!a){const c=xv(CR(i,p=>p.type==="Group"&&!!p.flags)),f=c?Ba(r.globalFlags,c):r.globalFlags;_R(f,r.currentFlags)||(u=gn({flags:kR(f)}),u.body[0].body.push(l))}n(ot(u,t),{traverse:!a})}},wR={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=>xR(i,e));if(!o.length)n(ot(Kr({negate:!0}),t));else if(o.length>1){const i=gn({atomic:!0,body:o.reverse().map(a=>ls({body:[Mu(a.number)]}))});n(ot(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=uv();e.body.at(-1).body.push(s)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function wv(e){No(e,{"*"({node:t,parent:n}){t.parent=n}})}function _R(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function xR(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=Cv(n.parent);for(const s of r){if(s===n)break;if(s===e||Sv(s,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function _v(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]=_v(i,t,s,n):(o==="type"&&i==="CapturingGroup"&&t.set(s,t.get(e)??e),s[o]=i);return s}function Qh(e){const t=dv(e);return t.isRecursive=!0,t}function CR(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function mc(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 xv(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 kR({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 Cv(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function kv(e){const t=e.find(n=>n.kind==="search_start"||AR(n,{negate:!1})||!SR(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=kv(r.body);if(!s)return null;Array.isArray(s)?n.push(...s):n.push(s)}return n}return null}function Sv(e,t){const n=Cv(e)??[];for(const r of n)if(r===t||Sv(r,t))return!0;return!1}function SR({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function ER(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function AR(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&lv(e.body[0],{type:"Assertion",kind:"search_start"})}function yc(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Jn(e,t){const r=cv(e,{...t,unicodePropertyMap:Uf}).body;return r.length>1||r[0].body.length>1?gn({body:r}):r[0].body[0]}function vc(e,t){return e.negate=t,e}function wr(e,t){return e.parent=t,e}function ot(e,t){return wv(e),e.parent=t,e}function TR(e,t){const n=yv(t),r=$u(n.target,"ES2024"),s=$u(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];No(e,PR,{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,lR(RR[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&&ni(p._captureTransfers,d.transferTo,[]).push(h)}),p}var PR={"*":{enter({node:e},t){if(tg(e)){const n=t.getCurrentModI();t.pushModI(e.flags?Ba({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){tg(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){Gf(yt(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),Ev(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&bv.has(e.value)&&t.setHasCasedChar()}},RR={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?we`\B`:we`\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=bs(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Gf(n)){const s=vv(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(ng)&&(i=[kl(45),...i.filter(u=>!ng(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=ls({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=bs(n,s),i=bs(r,s),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=Ev(e);LR(l).forEach(c=>{a.add(Array.isArray(c)?`${bs(c[0],s)}-${bs(c[1],s)}`:bs(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?".":"[^]":we`[^\n]`;if(e==="digit")return t?we`\D`:we`\d`;if(e==="property"){if(s.useAppliedIgnoreCase&&s.currentFlags.ignoreCase&&bv.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?we`\P`:we`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?we`\W`:we`\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=Ba(i,n));const a=t.map(o).join("|"),l=!s.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!s.useFlagMods||!n)?a:`(?${$R(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)+DR(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})`:we`\g<${t}&R=${r}>`}},OR=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),IR=new Set(["-","\\","]","^","["]),MR=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),eg=new Map([[9,we`\t`],[10,we`\n`],[11,we`\v`],[12,we`\f`],[13,we`\r`],[8232,we`\u2028`],[8233,we`\u2029`],[65279,we`\uFEFF`]]),NR=new RegExp("^\\p{Cased}$","u");function Gf(e){return NR.test(e)}function Ev(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(!Gf(a))continue;const l=vv(a).filter(u=>{const c=u.codePointAt(0);return c<r||c>s});if(l.length&&(o.push(...l),n))break}return o}function bs(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(eg.has(e))return eg.get(e);if(e<32||e>126&&e<160||e>262143||t&&BR(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const s=n?r?MR:IR:OR,o=yt(e);return(s.has(o)?"\\":"")+o}function LR(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 $R(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 DR({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 tg({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function BR(e){return e>47&&e<58}function ng({type:e,value:t}){return e==="Character"&&t===45}var FR=class Du 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 Du&&(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=qR(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 Du(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&&(jR(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=zR(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 jR(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 qR(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)ni(n,o,{}).transferTo=r;return n}function zR(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 HR(e,t){const n=VR(e,t);return n.options?new FR(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function VR(e,t){const n=yv(t),r=cv(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Uf}),s=yR(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),o=TR(s,n),i=iR(o.pattern,{captureTransfers:o._captureTransfers,hiddenCaptures:o._hiddenCaptures,mode:"external"}),a=sR(i.pattern),l=rR(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 UR(e,t){return HR(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function GR(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>UR(n,{target:t.target}),{createScanner(n){return new aP(n,t)},createString(n){return{content:n}}}}const Fa=J();async function WR(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),Fa.value=await iP({themes:[an(()=>import("./CVO1_9PV.js"),[],import.meta.url),an(()=>import("./D0r3Knsf.js"),[],import.meta.url)],langs:t,engine:GR()}).catch(n=>{console.warn("[nuxt-scripts] Failed to load shiki highlighter:",n)}),Fa.value}function vO(e,t){return R(()=>Fa.value&&Fa.value.codeToHtml(je(e)||"",{lang:t,themes:{light:"vitesse-light",dark:"vitesse-dark"}})||"")}const KR=me({__name:"app",async setup(e){let t,n;[t,n]=fd(()=>WR()),await t,n(),[t,n]=fd(()=>C4()),await t,n();const r=uf(),s=R(()=>{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:"Active 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=R(()=>af.value);return(a,l)=>{const u=J7,c=vE;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:Q(()=>[re(u)]),_:1},8,["active-tab","version"])}}}),XR={__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?Sc(()=>an(()=>import("./BgPDxVUn.js"),__vite__mapDeps([6,7]),import.meta.url)):Sc(()=>an(()=>import("./Dx6HhVmj.js"),__vite__mapDeps([8,9]),import.meta.url));return(f,p)=>(D(),X(x(c),tn(En({status:x(r),statusText:x(o),statusCode:x(r),statusMessage:x(o),description:x(i),stack:x(a)})),null,16))}},YR={key:0},rg={__name:"nuxt-root",setup(e){const t=()=>null,n=ze(),r=n.deferHydration();if(n.isHydrating){const u=n.hooks.hookOnce("app:error",r);Vt().beforeEach(u)}const s=!1;Zt(ol,uf()),n.hooks.callHookWith(u=>u.map(c=>c()),"vue:setup");const o=il(),i=!1,a=/bot\b|chrome-lighthouse|facebookexternalhit|google\b/i;e0((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(Pm(u)&&(u.fatal||u.unhandled))return n.runWithContext(()=>Vr(u)),!1});const l=!1;return(u,c)=>(D(),X(k0,{onResolve:x(r)},{default:Q(()=>[x(i)?(D(),Ae("div",YR)):x(o)?(D(),X(x(XR),{key:1,error:x(o)},null,8,["error"])):x(l)?(D(),X(x(t),{key:2,context:x(l)},null,8,["context"])):x(s)?(D(),X(Nn(x(s)),{key:3})):(D(),X(x(KR),{key:4}))]),_:1},8,["onResolve"]))}};let sg;{let e;sg=async function(){if(e)return e;const n=!!(window.__NUXT__?.serverRendered??document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true"),r=n?n3(rg):t3(rg),s=U4({vueApp:r});async function o(i){await s.callHook("app:error",i),s.payload.error||=Sr(i)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)}),!n&&Kd.id&&s.hook("app:suspense:resolve",()=>{document.getElementById(Kd.id)?.remove()});try{await K4(s,X7)}catch(i){o(i)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(z4),await s.hooks.callHook("app:mounted",r),await At()}catch(i){o(i)}return r},e=sg().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Qg as $,J as A,Be as B,Ir as C,zn as D,At as E,qe as F,R as G,nn as H,mn as I,us as J,JR as K,rt as L,c_ as M,zs as N,pO as O,tc as P,A1 as Q,hO as R,gO as S,ce as T,st as U,mO as V,Ar as W,Go as X,h_ as Y,dr as Z,ul as _,xe as a,tn as a0,En as a1,m_ as a2,Ex as a3,ds as a4,e4 as a5,s_ as a6,Cx as a7,ve as a8,fl as a9,oO as aA,sO as aB,Vd as aC,iO as aD,Hd as aE,cO as aF,lO as aG,tO as aH,aO as aI,fO as aJ,Is as aa,K9 as ab,S1 as ac,T1 as ad,Mt as ae,Nn as af,q9 as ag,ZR as ah,Bn as ai,Ws as aj,Ct as ak,Vn as al,fs as am,py as an,Bt as ao,F2 as ap,nt as aq,rO as ar,v4 as as,bn as at,eO as au,Io as av,vO as aw,zd as ax,uO as ay,nO as az,re as b,Ae as c,Ft as d,hy as e,me as f,X as g,x as h,Fs as i,Sn as j,R0 as k,zk as l,ke as m,Se as n,D as o,td as p,xt as q,Tr as r,ym as s,Ze as t,Mm as u,Ed as v,Q as w,QR as x,sf as y,dO as z};
|