From c5247afb1d811c33a66e892dace98144c856e4ee Mon Sep 17 00:00:00 2001 From: vitonsky Date: Mon, 24 Jun 2024 22:29:14 +0000 Subject: [PATCH] vitonsky published a site update --- 404.html | 4 +- CNAME | 1 - assets/js/1df93b7f.b2d25416.js | 1 + assets/js/1df93b7f.fea993d2.js | 1 - assets/js/446.a921c9a8.js | 280 ++++++++++++++++++ assets/js/71.79e133dc.js | 280 ------------------ assets/js/main.44cd1935.js | 2 - assets/js/main.c1832aa0.js | 2 + ...CENSE.txt => main.c1832aa0.js.LICENSE.txt} | 0 assets/js/runtime~main.554cc6e1.js | 1 - assets/js/runtime~main.c1db68e4.js | 1 + index.html | 8 +- 12 files changed, 290 insertions(+), 291 deletions(-) delete mode 100644 CNAME create mode 100644 assets/js/1df93b7f.b2d25416.js delete mode 100644 assets/js/1df93b7f.fea993d2.js create mode 100644 assets/js/446.a921c9a8.js delete mode 100644 assets/js/71.79e133dc.js delete mode 100644 assets/js/main.44cd1935.js create mode 100644 assets/js/main.c1832aa0.js rename assets/js/{main.44cd1935.js.LICENSE.txt => main.c1832aa0.js.LICENSE.txt} (100%) delete mode 100644 assets/js/runtime~main.554cc6e1.js create mode 100644 assets/js/runtime~main.c1db68e4.js diff --git a/404.html b/404.html index 33948b31..68b4a215 100644 --- a/404.html +++ b/404.html @@ -4,8 +4,8 @@ Page Not Found | Linguist Translate - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/CNAME b/CNAME deleted file mode 100644 index 8e3f41b5..00000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -linguister.io \ No newline at end of file diff --git a/assets/js/1df93b7f.b2d25416.js b/assets/js/1df93b7f.b2d25416.js new file mode 100644 index 00000000..4474162a --- /dev/null +++ b/assets/js/1df93b7f.b2d25416.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[583],{5494:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var s=n(6540),a=n(5260),i=n(4586),r=n(7255),o=n(4164),l=n(8539),c=n(4194),u=n(4393),d=n(8493),h=n(4045),g=n(8639),p=n(2581);const m=e=>t=>[e,t].join("/").replace(/\/{2,}/g,"/"),x=(0,s.createContext)(null),f=JSON.parse('{"navigation":{"features":{"content":"Features"},"github":{"content":"GitHub"}},"install":{"chrome":"Install for Chrome","firefox":"Install for Firefox"},"sections":{"hero":{"title":"Linguist is a privacy\u2011focused, full\u2011featured translation solution.","description":"Translate web pages, highlighted text, Netflix subtitles, and private messages. Speak the translated text and save important translations to your personal dictionary to learn words even offline."},"opensource":{"title":"Open source","content":"Linguist is completely free, <0>open-source, and it does not collect any user data to sell.

You may <1>support the project with your donations to help Linguist maintain its independence and high quality. Share Linguist with your friends to make it popular together!"},"support":{"title":"Support","content":"For support contact <0/>. If you have bug - <1>create issue on GitHub."},"createdBy":{"content":"Created by <0/>."}},"features":{"title":"Features","items":{"offlineTranslation":{"title":"Offline translation and privacy","content":"Linguist can translate texts even without the internet - a feature that no other extension has. The offline translator allows you to translate texts on your device without sending any private messages over the internet, ensuring your privacy. Simply enable the feature on the options page to maintain your privacy while translating work emails and personal messages."},"fullPageTranslation":{"title":"Full page translation","content":"Fast and high-quality whole-page translation in one click, even for private pages that need login. Flexible configuration for auto-translation based on domain name and languages. Translation is available by hotkey. You may see the original text by hovering over it."},"selectedTextTranslation":{"title":"Translation for selected text","content":"Encountering unfamiliar words while reading an online article? Just select the text on the page and click the button to translate it. You can speak the translated and original text and save the translation to your dictionary."},"textTranslation":{"title":"Text translation always at hand","content":"If you need to translate any text, just click the Linguist button to open the pop-up window. No more tabs with translation services, just use Linguist."},"knowledgeBase":{"title":"Make your own personal knowledge base","content":"Any translated text is saved in the history, and you can add your favorite translations to your dictionary. You can search for translations in both your dictionary and history, and even filter your translations by language. The dictionary feature is available even when you are offline, making it an ideal tool for language learners or travelers who require constant access to their word lists."},"customTranslators":{"title":"Custom translators","content":"Unlike other browser extensions, Linguist is not just a wrapper over the Google Translator Widget; it\'s a complete and independent translation system. If you are not satisfied with embedded translators, you can use Linguist with your favorite translation service by adding a custom translator. Read more about it in <0>docs."}}}}');var j;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:n,...a}=e;return s.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",width:600,height:160,viewBox:"0 0 158.75 42.333","aria-labelledby":n},a),t?s.createElement("title",{id:n},t):null,j||(j=s.createElement("path",{d:"m144.45 7.469 5.706-3.274v7.156l3.648.047.047 4.396h-3.648l-.094 10.243c-.138 1.496.967 2.635 3.695 1.263l.328 4.163c-3.726 1.181-6.551.614-7.858-.094-1.39-.891-1.799-2.23-1.824-3.741l.047-11.693-2.386-.094v-4.49l2.433.14zM133.97 17.478l5.098-1.029c-1.051-3.632-3.408-5.27-6.829-5.285l-3.975-.094c-9.084 1.038-8.588 9.25-3.274 11.553 5.203 2.355 9.248 1.244 9.027 3.976-.79 2.388-6.899 2.56-7.858-1.357l-5.66.842c3.328 6.77 5.236 6.141 11.88 6.174 9.282-.368 10.235-11.87.843-12.862-14.581-2.286-1.499-7.253.748-1.918zM111.521 3.4h5.52l.046 5.051h-5.472zM111.521 11.164h5.613l.046 20.627h-5.706zM105.97 32.181l.14-20.627h-5.472l-.094 12.301c-.099 3.05-2.227 4.366-4.21 4.443-2.545-.113-3.384-1.58-3.32-3.367l-.187-13.33h-5.52v14.172c.096 5.519 4.228 6.785 8.467 6.641 2.443-.211 3.584-1.42 5.004-2.9l.047 2.667zM70.946 10.844c-4.59.098-9.06 4.782-8.723 10.61-.393 9.587 7.961 13.764 14.616 7.624v4.256c-1.227 3.567-6.51 3.949-7.74.561l-6.128-.842c-.675 5.137 4.066 7.399 10.337 6.97 5.31-.188 8.156-1.118 8.84-7.718V11.351l-5.309-.047v2.572c-1.696-2.173-3.807-3.076-5.893-3.032m.747 4.691q.259-.001.54.025c3.24-.134 4.074 2.237 4.349 5.192.105 4.587-1.457 6.483-3.929 6.548-3.502.267-4.804-2.248-4.77-6.501.242-3.11 1.222-5.246 3.81-5.264zM39.492 11.304l-.14 20.627h5.472l.094-12.301c.099-3.05 2.227-4.366 4.209-4.443 2.546.113 3.385 1.58 3.32 3.367l.188 13.33h5.519V17.712c-.096-5.519-4.228-6.785-8.466-6.642-2.443.212-3.584 1.421-5.004 2.9l-.047-2.666zM28.454 3.587h5.52l.046 5.051h-5.472zM28.454 11.351h5.613l.046 20.627h-5.706zM4.647 3.727h5.846l.094 23.2 13.845.046.14 4.958-19.785-.047z"})))},w={PageContainer:"PageContainer_V3KN",TopScreen:"TopScreen_jSlb",Features:"Features_E43p",FeatureImage:"FeatureImage_z4XH",FeatureDescription:"FeatureDescription_OLQE",HeroContainer:"HeroContainer_tMAt",ButtonsGroup:"ButtonsGroup_a9Ot",Feature:"Feature_SNVv",TopScreenImage:"TopScreenImage_IEvc",TopScreenContent:"TopScreenContent_pRyH"};var b=n(4848);const T=e=>{let{baseUrl:t}=e;const{t:n,i18n:a}=(0,r.Bd)("landing");a.addResourceBundle("en","landing",f);const i=m(t),{trackEvent:j}=(()=>{const e=(0,s.useContext)(x);if(null===e)throw new Error("Analytics context is not available. Make sure component is wrapped with AnalyticsProvider");return e})();return(0,b.jsxs)(l.T,{w:"100%",spacing:0,children:[(0,b.jsxs)(l.T,{w:"100%",className:(0,o.$)(w.TopScreen),children:[(0,b.jsxs)(c.z,{w:"100%",className:(0,o.$)(w.Head,w.PageContainer),children:[(0,b.jsx)(u.I,{as:y,h:"24px",w:"auto",boxSizing:"content-box",py:"1rem"}),(0,b.jsxs)(c.z,{marginLeft:"auto",py:"1rem",spacing:6,sx:{"& > a":{fontWeight:"500"}},children:[(0,b.jsx)(d.N,{variant:"base",href:"#features",children:n("navigation.features.content")}),(0,b.jsx)(d.N,{variant:"base",href:"https://github.com/translate-tools/linguist",children:n("navigation.github.content")})]})]}),(0,b.jsx)(c.z,{spacing:10,py:20,w:"100%",className:(0,o.$)(w.HeroContainer,w.PageContainer),children:(0,b.jsxs)(c.z,{spacing:10,w:"100%",justifyContent:"space-between",className:(0,o.$)(w.TopScreenContent),children:[(0,b.jsxs)(l.T,{alignItems:"start",children:[(0,b.jsx)(h.E,{as:"h1",fontSize:"38px",children:n(["sections.hero.title"])}),(0,b.jsx)(h.E,{fontSize:"24px",maxW:750,children:n(["sections.hero.description"])}),(0,b.jsxs)(c.z,{w:"100%",className:(0,o.$)(w.ButtonsGroup),children:[(0,b.jsx)(g.$,{leftIcon:(0,b.jsx)(p._,{src:i("icons/chrome.png"),boxSize:"2em"}),variant:"action",size:"lg",as:"a",target:"_blank",href:"https://chrome.google.com/webstore/detail/gbefmodhlophhakmoecijeppjblibmie",px:4,onClick:()=>{j("Download link: Click",{target:"chrome"})},children:n("install.chrome")}),(0,b.jsx)(g.$,{leftIcon:(0,b.jsx)(p._,{src:i("icons/firefox.png"),boxSize:"2em"}),variant:"action",size:"lg",as:"a",target:"_blank",href:"https://addons.mozilla.org/addon/linguist-translator/",px:4,onClick:()=>{j("Download link: Click",{target:"firefox"})},children:n("install.firefox")})]})]}),(0,b.jsx)(p._,{className:(0,o.$)(w.TopScreenImage),src:i("screenshots/text-translation-popup.png"),maxW:600,minW:400})]})})]}),(0,b.jsx)(l.T,{w:"100%",alignItems:"center",spacing:0,py:"3rem",className:(0,o.$)(w.Features),children:(0,b.jsxs)(l.T,{w:"100%",alignItems:"start",spacing:"8rem",className:(0,o.$)(w.PageContainer),children:[(0,b.jsxs)(l.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,b.jsx)(h.E,{id:"features",as:"h2",fontSize:32,children:n("features.title")}),(0,b.jsxs)(l.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,b.jsxs)(c.z,{alignItems:"start",spacing:8,className:w.Feature,children:[(0,b.jsx)("div",{className:(0,o.$)(w.FeatureImage),children:(0,b.jsx)(p._,{src:i("screenshots/settings.png")})}),(0,b.jsxs)(l.T,{className:(0,o.$)(w.FeatureDescription),alignItems:"start",spacing:6,children:[(0,b.jsx)(h.E,{as:"h2",fontSize:26,children:n("features.items.offlineTranslation.title")}),(0,b.jsx)(h.E,{variant:"description",children:n("features.items.offlineTranslation.content")})]})]}),(0,b.jsxs)(c.z,{alignItems:"start",spacing:8,className:w.Feature,children:[(0,b.jsx)("div",{className:(0,o.$)(w.FeatureImage),children:(0,b.jsx)(p._,{src:i("screenshots/page-translation.png")})}),(0,b.jsxs)(l.T,{className:(0,o.$)(w.FeatureDescription),alignItems:"start",spacing:6,children:[(0,b.jsx)(h.E,{as:"h2",fontSize:26,children:n("features.items.fullPageTranslation.title")}),(0,b.jsx)(h.E,{variant:"description",children:n("features.items.fullPageTranslation.content")})]})]}),(0,b.jsxs)(c.z,{alignItems:"start",spacing:8,className:w.Feature,children:[(0,b.jsx)("div",{className:(0,o.$)(w.FeatureImage),children:(0,b.jsx)(p._,{src:i("screenshots/selected-text-translation.png")})}),(0,b.jsxs)(l.T,{className:(0,o.$)(w.FeatureDescription),alignItems:"start",spacing:6,children:[(0,b.jsx)(h.E,{as:"h2",fontSize:26,children:n("features.items.selectedTextTranslation.title")}),(0,b.jsx)(h.E,{variant:"description",children:n("features.items.selectedTextTranslation.content")})]})]}),(0,b.jsxs)(c.z,{alignItems:"start",spacing:8,className:w.Feature,children:[(0,b.jsx)("div",{className:(0,o.$)(w.FeatureImage),children:(0,b.jsx)(p._,{src:i("screenshots/text-translation.png")})}),(0,b.jsxs)(l.T,{className:(0,o.$)(w.FeatureDescription),alignItems:"start",spacing:6,children:[(0,b.jsx)(h.E,{as:"h2",fontSize:26,children:n("features.items.textTranslation.title")}),(0,b.jsx)(h.E,{variant:"description",children:n("features.items.textTranslation.content")})]})]}),(0,b.jsxs)(c.z,{alignItems:"start",spacing:8,className:w.Feature,children:[(0,b.jsx)("div",{className:(0,o.$)(w.FeatureImage),children:(0,b.jsx)(p._,{src:i("screenshots/dictionary.png")})}),(0,b.jsxs)(l.T,{className:(0,o.$)(w.FeatureDescription),alignItems:"start",spacing:6,children:[(0,b.jsx)(h.E,{as:"h2",fontSize:26,children:n("features.items.knowledgeBase.title")}),(0,b.jsx)(h.E,{variant:"description",children:n("features.items.knowledgeBase.content")})]})]}),(0,b.jsxs)(c.z,{alignItems:"start",spacing:8,className:w.Feature,children:[(0,b.jsx)("div",{className:(0,o.$)(w.FeatureImage),children:(0,b.jsx)(p._,{src:i("screenshots/custom-translators.png")})}),(0,b.jsxs)(l.T,{className:(0,o.$)(w.FeatureDescription),alignItems:"start",spacing:6,children:[(0,b.jsx)(h.E,{as:"h2",fontSize:26,children:n("features.items.customTranslators.title")}),(0,b.jsx)(h.E,{variant:"description",children:(0,b.jsx)(r.x6,{t:n,i18nKey:"features.items.customTranslators.content",components:[(0,b.jsx)(d.N,{href:"https://github.com/translate-tools/linguist/blob/master/docs/CustomTranslator.md"})]})})]})]})]})]}),(0,b.jsxs)(l.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,b.jsx)(h.E,{as:"h2",fontSize:32,children:n("sections.opensource.title")}),(0,b.jsx)(h.E,{variant:"description",children:(0,b.jsx)(r.x6,{t:n,i18nKey:"sections.opensource.content",components:[(0,b.jsx)(d.N,{href:"https://github.com/translate-tools/linguist"}),(0,b.jsx)(d.N,{href:"https://github.com/translate-tools/linguist#donations"})]})})]}),(0,b.jsxs)(l.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,b.jsx)(h.E,{as:"h2",fontSize:32,children:n("sections.support.title")}),(0,b.jsx)(h.E,{variant:"description",children:(0,b.jsx)(r.x6,{t:n,i18nKey:"sections.support.content",components:[(0,b.jsx)(d.N,{href:"mailto:support@linguister.io",children:"support@linguister.io"}),(0,b.jsx)(d.N,{href:"https://github.com/translate-tools/linguist/issues/new/choose"})]})})]})]})}),(0,b.jsx)(c.z,{py:"3rem",sx:{"& p":{margin:"unset"}},children:(0,b.jsx)(h.E,{children:(0,b.jsx)(r.x6,{t:n,i18nKey:"sections.createdBy.content",components:[(0,b.jsx)(d.N,{href:"https://fluidminds.org",children:"FluidMinds team"})]})})})]})};n(2635).Ay.use(r.r9).init({lng:"en",interpolation:{escapeValue:!1}});var I=n(3832),N=n(8844);const k=e=>{let{options:t,children:n}=e;const[a]=(0,s.useState)((()=>(0,N.A)(t))),i=(0,s.useCallback)(((e,t)=>{const n=performance.now();a.trackEvent(e,{props:{location:location.toString(),timestamp:n,timestampSeconds:n/1e3,...t}})}),[a]);return(0,s.useEffect)((()=>{a.enableAutoPageviews(),a.enableAutoOutboundTracking(),document.body.addEventListener("click",(e=>{const t=e?.composedPath()||[e.target];for(const n of t)if(n instanceof HTMLAnchorElement){i("Link click",{url:n.href,text:n.innerText});break}}))}),[a,i]),(0,b.jsx)(x.Provider,{value:{trackEvent:i},children:n})};var z=n(6621),S=n(1310);const F=(0,z.oY)({styles:{global:{body:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif"}}},components:{Button:{...S.w4.components.Button,variants:{action:e=>({bg:"#4f113f",color:"#ffedfa",transition:"all 0s","&:hover":{bg:"#842d6e",color:"#ffedfa",textDecoration:"none"}})}},Link:{variants:{accent:{color:"#a2006a",textDecoration:"underline dotted","&:hover":{color:"#a2006a",textDecoration:"underline"}}},defaultProps:{variant:"accent"}},Text:{variants:{description:{fontSize:"20px"}}}}}),E=e=>{let{children:t}=e;return(0,b.jsxs)(I.R,{theme:F,children:[(0,b.jsxs)(a.A,{children:[(0,b.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,b.jsx)("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=G-NGGDLX42RQ"}),(0,b.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n\t\t\t\t\t\twindow.dataLayer = window.dataLayer || [];\n\t\t\t\t\t\tfunction gtag(){dataLayer.push(arguments);}\n\t\t\t\t\t\tgtag('js', new Date());\n\n\t\t\t\t\t\tgtag('config', 'G-NGGDLX42RQ');\n\t\t\t\t\t".replace(/\t/g,"").trim()}})]}),(0,b.jsx)(k,{options:{domain:"linguister.io",apiHost:"https://pulse2.vitonsky.net"},children:t})]})};function C(){const{siteConfig:e}=(0,i.A)(),t=m(e.baseUrl);return(0,b.jsxs)(E,{children:[(0,b.jsx)(a.A,{children:(0,b.jsx)("meta",{property:"og:image",content:t("screenshots/page-translation.png")})}),(0,b.jsx)(T,{baseUrl:e.baseUrl})]})}}}]); \ No newline at end of file diff --git a/assets/js/1df93b7f.fea993d2.js b/assets/js/1df93b7f.fea993d2.js deleted file mode 100644 index 12fb8af4..00000000 --- a/assets/js/1df93b7f.fea993d2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksite=self.webpackChunksite||[]).push([[583],{7252:(e,t,s)=>{s.r(t),s.d(t,{default:()=>N});var a,n=s(6540),i=s(4586),r=s(4164),o=s(8539),l=s(4194),c=s(4393),h=s(8493),d=s(4045),u=s(8639),g=s(2581);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{title:t,titleId:s,...i}=e;return n.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:600,height:160,viewBox:"0 0 158.75 42.333","aria-labelledby":s},i),t?n.createElement("title",{id:s},t):null,a||(a=n.createElement("path",{d:"m144.45 7.469 5.706-3.274v7.156l3.648.047.047 4.396h-3.648l-.094 10.243c-.138 1.496.967 2.635 3.695 1.263l.328 4.163c-3.726 1.181-6.551.614-7.858-.094-1.39-.891-1.799-2.23-1.824-3.741l.047-11.693-2.386-.094v-4.49l2.433.14zM133.97 17.478l5.098-1.029c-1.051-3.632-3.408-5.27-6.829-5.285l-3.975-.094c-9.084 1.038-8.588 9.25-3.274 11.553 5.203 2.355 9.248 1.244 9.027 3.976-.79 2.388-6.899 2.56-7.858-1.357l-5.66.842c3.328 6.77 5.236 6.141 11.88 6.174 9.282-.368 10.235-11.87.843-12.862-14.581-2.286-1.499-7.253.748-1.918zM111.521 3.4h5.52l.046 5.051h-5.472zM111.521 11.164h5.613l.046 20.627h-5.706zM105.97 32.181l.14-20.627h-5.472l-.094 12.301c-.099 3.05-2.227 4.366-4.21 4.443-2.545-.113-3.384-1.58-3.32-3.367l-.187-13.33h-5.52v14.172c.096 5.519 4.228 6.785 8.467 6.641 2.443-.211 3.584-1.42 5.004-2.9l.047 2.667zM70.946 10.844c-4.59.098-9.06 4.782-8.723 10.61-.393 9.587 7.961 13.764 14.616 7.624v4.256c-1.227 3.567-6.51 3.949-7.74.561l-6.128-.842c-.675 5.137 4.066 7.399 10.337 6.97 5.31-.188 8.156-1.118 8.84-7.718V11.351l-5.309-.047v2.572c-1.696-2.173-3.807-3.076-5.893-3.032m.747 4.691q.259-.001.54.025c3.24-.134 4.074 2.237 4.349 5.192.105 4.587-1.457 6.483-3.929 6.548-3.502.267-4.804-2.248-4.77-6.501.242-3.11 1.222-5.246 3.81-5.264zM39.492 11.304l-.14 20.627h5.472l.094-12.301c.099-3.05 2.227-4.366 4.209-4.443 2.546.113 3.385 1.58 3.32 3.367l.188 13.33h5.519V17.712c-.096-5.519-4.228-6.785-8.466-6.642-2.443.212-3.584 1.421-5.004 2.9l-.047-2.666zM28.454 3.587h5.52l.046 5.051h-5.472zM28.454 11.351h5.613l.046 20.627h-5.706zM4.647 3.727h5.846l.094 23.2 13.845.046.14 4.958-19.785-.047z"})))},x={PageContainer:"PageContainer_V3KN",TopScreen:"TopScreen_jSlb",Features:"Features_E43p",FeatureImage:"FeatureImage_z4XH",FeatureDescription:"FeatureDescription_OLQE",HeroContainer:"HeroContainer_tMAt",ButtonsGroup:"ButtonsGroup_a9Ot",Feature:"Feature_SNVv",TopScreenImage:"TopScreenImage_IEvc",TopScreenContent:"TopScreenContent_pRyH"};var j=s(4848);const f=e=>{let{baseUrl:t}=e;const s=e=>[t,e].join("/").replace(/\/{2,}/g,"/");return(0,j.jsxs)(o.T,{w:"100%",spacing:0,children:[(0,j.jsxs)(o.T,{w:"100%",className:(0,r.$)(x.TopScreen),children:[(0,j.jsxs)(l.z,{w:"100%",className:(0,r.$)(x.Head,x.PageContainer),children:[(0,j.jsx)(c.I,{as:m,h:"24px",w:"auto",boxSizing:"content-box",py:"1rem"}),(0,j.jsxs)(l.z,{marginLeft:"auto",py:"1rem",spacing:6,sx:{"& > a":{fontWeight:"500"}},children:[(0,j.jsx)(h.N,{variant:"base",href:"#features",children:"Features"}),(0,j.jsx)(h.N,{variant:"base",href:"https://github.com/translate-tools/linguist",children:"GitHub"})]})]}),(0,j.jsx)(l.z,{spacing:10,py:20,className:(0,r.$)(x.HeroContainer,x.PageContainer),children:(0,j.jsxs)(l.z,{spacing:10,className:(0,r.$)(x.TopScreenContent),children:[(0,j.jsxs)(o.T,{alignItems:"start",children:[(0,j.jsx)(d.E,{as:"h1",fontSize:"38px",children:"Linguist is a privacy focused, full\u2011featured translation solution"}),(0,j.jsx)(d.E,{fontSize:"24px",maxW:750,children:"Translate web pages, highlighted text, Netflix subtitles and private messages. Speak the translated text, and save important translations to your personal dictionary to learn words even offline."}),(0,j.jsxs)(l.z,{w:"100%",className:(0,r.$)(x.ButtonsGroup),children:[(0,j.jsx)(u.$,{leftIcon:(0,j.jsx)(g._,{src:s("icons/chrome.png"),boxSize:"2em"}),variant:"action",size:"lg",as:"a",target:"_blank",href:"https://chrome.google.com/webstore/detail/gbefmodhlophhakmoecijeppjblibmie",px:4,children:"Install for Chrome"}),(0,j.jsx)(u.$,{leftIcon:(0,j.jsx)(g._,{src:s("icons/firefox.png"),boxSize:"2em"}),variant:"action",size:"lg",as:"a",target:"_blank",href:"https://addons.mozilla.org/addon/linguist-translator/",px:4,children:"Install for Firefox"})]})]}),(0,j.jsx)(g._,{className:(0,r.$)(x.TopScreenImage),src:s("screenshots/text-translation-popup.png"),maxW:600,minW:400})]})})]}),(0,j.jsx)(o.T,{w:"100%",alignItems:"center",spacing:0,py:"3rem",className:(0,r.$)(x.Features),children:(0,j.jsxs)(o.T,{w:"100%",alignItems:"start",spacing:"8rem",className:(0,r.$)(x.PageContainer),children:[(0,j.jsxs)(o.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,j.jsx)(d.E,{id:"features",as:"h2",fontSize:32,children:"Features"}),(0,j.jsxs)(o.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,j.jsxs)(l.z,{alignItems:"start",spacing:8,className:x.Feature,children:[(0,j.jsx)("div",{className:(0,r.$)(x.FeatureImage),children:(0,j.jsx)(g._,{src:s("screenshots/settings.png")})}),(0,j.jsxs)(o.T,{className:(0,r.$)(x.FeatureDescription),alignItems:"start",spacing:6,children:[(0,j.jsx)(d.E,{as:"h2",fontSize:26,children:"Offline translation and privacy"}),(0,j.jsx)(d.E,{variant:"description",children:"Linguist can translate texts even without the internet - a feature that no other extension has. The offline translator allows you to translate texts on your device without sending any private messages over the internet, ensuring your privacy. Simply enable the feature on the options page to maintain your privacy while translating work emails and personal messages."})]})]}),(0,j.jsxs)(l.z,{alignItems:"start",spacing:8,className:x.Feature,children:[(0,j.jsx)("div",{className:(0,r.$)(x.FeatureImage),children:(0,j.jsx)(g._,{src:s("screenshots/page-translation.png")})}),(0,j.jsxs)(o.T,{className:(0,r.$)(x.FeatureDescription),alignItems:"start",spacing:6,children:[(0,j.jsx)(d.E,{as:"h2",fontSize:26,children:"Full page translation"}),(0,j.jsx)(d.E,{variant:"description",children:"Fast and high quality whole page translation in one click, even for a private pages that need login. Flexible configuration for auto translation based on domain name and languages. Translation is available by hotkey. You may see an original text by hover on it."})]})]}),(0,j.jsxs)(l.z,{alignItems:"start",spacing:8,className:x.Feature,children:[(0,j.jsx)("div",{className:(0,r.$)(x.FeatureImage),children:(0,j.jsx)(g._,{src:s("screenshots/selected-text-translation.png")})}),(0,j.jsxs)(o.T,{className:(0,r.$)(x.FeatureDescription),alignItems:"start",spacing:6,children:[(0,j.jsx)(d.E,{as:"h2",fontSize:26,children:"Translation for selected text"}),(0,j.jsx)(d.E,{variant:"description",children:"Encountering unfamiliar words while reading an online article? Just select text on the page and click the button to translate it. You can speak the translated and original text, and save the translation to your dictionary."})]})]}),(0,j.jsxs)(l.z,{alignItems:"start",spacing:8,className:x.Feature,children:[(0,j.jsx)("div",{className:(0,r.$)(x.FeatureImage),children:(0,j.jsx)(g._,{src:s("screenshots/text-translation.png")})}),(0,j.jsxs)(o.T,{className:(0,r.$)(x.FeatureDescription),alignItems:"start",spacing:6,children:[(0,j.jsx)(d.E,{as:"h2",fontSize:26,children:"Text translation always at hand"}),(0,j.jsx)(d.E,{variant:"description",children:"If you need to translate any text - just click the Linguist button to open the pop-up window. No more tabs with translation services, just use Linguist."})]})]}),(0,j.jsxs)(l.z,{alignItems:"start",spacing:8,className:x.Feature,children:[(0,j.jsx)("div",{className:(0,r.$)(x.FeatureImage),children:(0,j.jsx)(g._,{src:s("screenshots/dictionary.png")})}),(0,j.jsxs)(o.T,{className:(0,r.$)(x.FeatureDescription),alignItems:"start",spacing:6,children:[(0,j.jsx)(d.E,{as:"h2",fontSize:26,children:"Make your own personal knowledge base"}),(0,j.jsx)(d.E,{variant:"description",children:"Any translated text is saved in the history, and you can add your favorite translations to your dictionary. You can search for translations in both your dictionary and history, and even filter your translations by language. The dictionary feature is available even when you are offline, making it an ideal tool for language learners or travelers who require constant access to their word lists."})]})]}),(0,j.jsxs)(l.z,{alignItems:"start",spacing:8,className:x.Feature,children:[(0,j.jsx)("div",{className:(0,r.$)(x.FeatureImage),children:(0,j.jsx)(g._,{src:s("screenshots/custom-translators.png")})}),(0,j.jsxs)(o.T,{className:(0,r.$)(x.FeatureDescription),alignItems:"start",spacing:6,children:[(0,j.jsx)(d.E,{as:"h2",fontSize:26,children:"Custom translators"}),(0,j.jsxs)(d.E,{variant:"description",children:["Unlike other browser extensions, Linguist is not just a wrapper over the Google Translator Widget; it's a complete and independent translation system. If you are not satisfied with embedded translators, you may use Linguist with your favorite translation service, just by add a custom translator. Read more about in"," ",(0,j.jsx)(h.N,{href:"https://github.com/translate-tools/linguist/blob/master/docs/CustomTranslator.md",children:"docs"}),"."]})]})]})]})]}),(0,j.jsxs)(o.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,j.jsx)(d.E,{as:"h2",fontSize:32,children:"Open source"}),(0,j.jsxs)(d.E,{variant:"description",children:["Linguist is completely free,"," ",(0,j.jsx)(h.N,{href:"https://github.com/translate-tools/linguist",children:"open-source"}),", and it does not collect any user data to sell. You may"," ",(0,j.jsx)(h.N,{href:"https://github.com/translate-tools/linguist#donations",children:"support the project"})," ","with your donations to help Linguist maintain its independence and high quality. Share Linguist with your friends, to make it popular together!"]})]}),(0,j.jsxs)(o.T,{w:"100%",alignItems:"start",spacing:"2rem",children:[(0,j.jsx)(d.E,{as:"h2",fontSize:32,children:"Support"}),(0,j.jsxs)(d.E,{variant:"description",children:["For support contact"," ",(0,j.jsx)(h.N,{href:"mailto:support@linguister.io",children:"support@linguister.io"}),". If you have bug -"," ",(0,j.jsx)(h.N,{href:"https://github.com/translate-tools/linguist/issues/new/choose",children:"create issue"})," ","on GitHub."]})]})]})}),(0,j.jsx)(l.z,{py:"3rem",sx:{"& p":{margin:"unset"}},children:(0,j.jsxs)(d.E,{children:["Created by ",(0,j.jsx)(h.N,{href:"https://fluidminds.org",children:"FluidMinds team"}),"."]})})]})};var y=s(3832),v=s(5260),b=s(6621),w=s(1310);const I=(0,b.oY)({styles:{global:{body:{fontFamily:"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif"}}},components:{Button:{...w.w4.components.Button,variants:{action:e=>({bg:"#4f113f",color:"#ffedfa",transition:"all 0s","&:hover":{bg:"#842d6e",color:"#ffedfa",textDecoration:"none"}})}},Link:{variants:{accent:{color:"#a2006a",textDecoration:"underline dotted","&:hover":{color:"#a2006a",textDecoration:"underline"}}},defaultProps:{variant:"accent"}},Text:{variants:{description:{fontSize:"20px"}}}}}),z=e=>{let{children:t}=e;return(0,j.jsxs)(y.R,{theme:I,children:[(0,j.jsxs)(v.A,{children:[(0,j.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),(0,j.jsx)("script",{defer:!0,"data-domain":"linguister.io",src:"https://pulse2.vitonsky.net/js/script.js"}),(0,j.jsx)("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=G-NGGDLX42RQ"}),(0,j.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n\t\t\t\t\t\twindow.dataLayer = window.dataLayer || [];\n\t\t\t\t\t\tfunction gtag(){dataLayer.push(arguments);}\n\t\t\t\t\t\tgtag('js', new Date());\n\n\t\t\t\t\t\tgtag('config', 'G-NGGDLX42RQ');\n\t\t\t\t\t".replace(/\t/g,"").trim()}})]}),t]})};function N(){const{siteConfig:e}=(0,i.A)();return(0,j.jsx)(z,{children:(0,j.jsx)(f,{baseUrl:e.baseUrl})})}}}]); \ No newline at end of file diff --git a/assets/js/446.a921c9a8.js b/assets/js/446.a921c9a8.js new file mode 100644 index 00000000..45339c32 --- /dev/null +++ b/assets/js/446.a921c9a8.js @@ -0,0 +1,280 @@ +(self.webpackChunksite=self.webpackChunksite||[]).push([[446],{5055:(e,t,r)=>{"use strict";r.d(t,{A:()=>oe});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?u(x,--b):0,g--,10===y&&(g=1,m--),y}function C(){return y=b2||_(y)>3?"":" "}function z(e,t){for(;--t&&C()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return E(e,T()+(t<6&&32==P()&&32==C()))}function B(e){for(;C();)switch(y){case e:return b;case 34:case 39:34!==e&&39!==e&&B(y);break;case 40:41===e&&B(e);break;case 92:C()}return b}function L(e,t){for(;C()&&e+y!==57&&(e+y!==84||47!==P()););return"/*"+E(t,b-1)+"*"+i(47===e?e:C())}function M(e){for(;!_(P());)C();return E(e,b)}var V="-ms-",O="-moz-",F="-webkit-",D="comm",I="rule",N="decl",H="@keyframes";function W(e,t){for(var r="",n=p(e),o=0;o0&&h(O)-v&&f(y>32?X(O+";",n,r,v-1):X(l(O," ","")+";",n,r,v-2),p);break;case 59:O+=";";default:if(f(V=K(O,t,r,m,g,o,d,A,R=[],B=[],v),s),123===_)if(0===g)q(O,t,V,V,R,s,v,d,B);else switch(99===b&&110===u(O,3)?100:b){case 100:case 108:case 109:case 115:q(e,V,V,n&&f(K(e,V,V,0,0,o,d,A,o,R=[],v),B),o,B,v,d,n?R:B);break;default:q(O,V,V,V,[""],B,0,d,B)}}m=g=y=0,S=E=1,A=O="",v=a;break;case 58:v=1+h(O),y=x;default:if(S<1)if(123==_)--S;else if(125==_&&0==S++&&125==w())continue;switch(O+=i(_),_*S){case 38:E=g>0?1:(O+="\f",-1);break;case 44:d[m++]=(h(O)-1)*E,E=1;break;case 64:45===P()&&(O+=j(C())),b=P(),g=v=h(A=O+=M(T())),_++;break;case 45:45===x&&2==h(O)&&(S=0)}}return s}function K(e,t,r,n,i,s,c,u,h,f,m){for(var g=i-1,v=0===i?s:[""],b=p(v),y=0,x=0,k=0;y0?v[w]+" "+C:l(C,/&\f/g,v[w])))&&(h[k++]=P);return S(e,t,r,0===i?I:u,h,f,m)}function G(e,t,r){return S(e,t,r,D,i(y),d(e,2,-2),0)}function X(e,t,r,n){return S(e,t,r,N,d(e,0,n),d(e,n+1,-1),n)}var J=function(e,t,r){for(var n=0,o=0;n=o,o=P(),38===n&&12===o&&(t[r]=1),!_(o);)C();return E(e,b)},Z=function(e,t){return R(function(e,t){var r=-1,n=44;do{switch(_(n)){case 0:38===n&&12===P()&&(t[r]=1),e[r]+=J(b-1,t,r);break;case 2:e[r]+=j(n);break;case 4:if(44===n){e[++r]=58===P()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=C());return e}(A(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(r))&&!n){Q.set(e,!0);for(var o=[],i=Z(t,o),s=r.props,a=0,l=0;a6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+O+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?re(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,h(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===u(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+V+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return F+e+V+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+V+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+V+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+V+e+e}return e}var ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case N:e.return=re(e.value,e.length);break;case H:return W([k(e,{value:l(e.value,"@","@"+F)})],n);case I:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([k(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return W([k(e,{props:[l(t,/:(plac\w+)/,":"+F+"input-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,V+"input-$1")]})],n)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||ne;var i,s,a={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},4765:(e,t,r)=>{"use strict";r.d(t,{T:()=>u,a:()=>h,i:()=>a,w:()=>c});var n=r(6540),o=r(5055),i=r(8168),s=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},a=(r(7521),r(1287),!0),l=n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null);l.Provider;var c=function(e){return(0,n.forwardRef)((function(t,r){var o=(0,n.useContext)(l);return e(t,o,r)}))};a||(c=function(e){return function(t){var r=(0,n.useContext)(l);return null===r?(r=(0,o.A)({key:"css"}),n.createElement(l.Provider,{value:r},e(t,r))):e(t,r)}});var u=n.createContext({});var d=s((function(e){return s((function(t){return function(e,t){return"function"==typeof t?t(e):(0,i.A)({},e,t)}(e,t)}))})),h=function(e){var t=n.useContext(u);return e.theme!==t&&(t=d(t)(e.theme)),n.createElement(u.Provider,{value:t},e.children)}},7437:(e,t,r)=>{"use strict";r.d(t,{i7:()=>u,mL:()=>l});var n=r(4765),o=r(6540),i=r(41),s=r(1287),a=r(7521),l=(r(5055),r(4146),(0,n.w)((function(e,t){var r=e.styles,l=(0,a.J)([r],void 0,o.useContext(n.T));if(!n.i){for(var c,u=l.name,d=l.styles,h=l.next;void 0!==h;)u+=" "+h.name,d+=h.styles,h=h.next;var p=!0===t.compat,f=t.insert("",{name:u,styles:d},t.sheet,p);return p?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:f},c.nonce=t.sheet.nonce,c))}var m=o.useRef();return(0,s.i)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),m.current=[r,n],function(){r.flush()}}),[t]),(0,s.i)((function(){var e=m.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.d(t,{J:()=>f});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(6289),i=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)((function(e){return a(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,r){return h={name:t,styles:r,next:h},t}))}return 1===n[e]||a(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return h={name:r.name,styles:r.styles,next:h},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)h={name:n.name,styles:n.styles,next:h},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},1287:(e,t,r)=>{"use strict";var n;r.d(t,{i:()=>a,s:()=>s});var o=r(6540),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,s=i||function(e){return e()},a=i||o.useLayoutEffect},41:(e,t,r)=>{"use strict";r.d(t,{Rk:()=>n,SF:()=>o,sk:()=>i});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},8394:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object AsyncFunction]",a="[object Function]",l="[object GeneratorFunction]",c="[object Null]",u="[object Object]",d="[object Proxy]",h="[object Undefined]",p=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[i]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[a]=m["[object Map]"]=m["[object Number]"]=m[u]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var g="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,v="object"==typeof self&&self&&self.Object===Object&&self,b=g||v||Function("return this")(),y=t&&!t.nodeType&&t,x=y&&e&&!e.nodeType&&e,S=x&&x.exports===y,k=S&&g.process,w=function(){try{var e=x&&x.require&&x.require("util").types;return e||k&&k.binding&&k.binding("util")}catch(t){}}(),C=w&&w.isTypedArray;var P,T,E,_=Array.prototype,A=Function.prototype,R=Object.prototype,j=b["__core-js_shared__"],$=A.toString,z=R.hasOwnProperty,B=(P=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"",L=R.toString,M=$.call(Object),V=RegExp("^"+$.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=S?b.Buffer:void 0,F=b.Symbol,D=b.Uint8Array,I=O?O.allocUnsafe:void 0,N=(T=Object.getPrototypeOf,E=Object,function(e){return T(E(e))}),H=Object.create,W=R.propertyIsEnumerable,U=_.splice,Y=F?F.toStringTag:void 0,q=function(){try{var e=ye(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),K=O?O.isBuffer:void 0,G=Math.max,X=Date.now,J=ye(b,"Map"),Z=ye(Object,"create"),Q=function(){function e(){}return function(t){if(!je(t))return{};if(H)return H(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function ee(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1},te.prototype.set=function(e,t){var r=this.__data__,n=ae(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},re.prototype.clear=function(){this.size=0,this.__data__={hash:new ee,map:new(J||te),string:new ee}},re.prototype.delete=function(e){var t=be(this,e).delete(e);return this.size-=t?1:0,t},re.prototype.get=function(e){return be(this,e).get(e)},re.prototype.has=function(e){return be(this,e).has(e)},re.prototype.set=function(e,t){var r=be(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},ne.prototype.clear=function(){this.__data__=new te,this.size=0},ne.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ne.prototype.get=function(e){return this.__data__.get(e)},ne.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.set=function(e,t){var r=this.__data__;if(r instanceof te){var n=r.__data__;if(!J||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new re(n)}return r.set(e,t),this.size=r.size,this};var ce,ue=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),s=i.length;s--;){var a=i[ce?s:++n];if(!1===t(o[a],a,o))break}return e};function de(e){return null==e?void 0===e?h:c:Y&&Y in Object(e)?function(e){var t=z.call(e,Y),r=e[Y];try{e[Y]=void 0;var n=!0}catch(i){}var o=L.call(e);n&&(t?e[Y]=r:delete e[Y]);return o}(e):function(e){return L.call(e)}(e)}function he(e){return $e(e)&&de(e)==i}function pe(e){return!(!je(e)||function(e){return!!B&&B in e}(e))&&(Ae(e)?V:p).test(function(e){if(null!=e){try{return $.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function fe(e){if(!je(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=Se(e),r=[];for(var n in e)("constructor"!=n||!t&&z.call(e,n))&&r.push(n);return r}function me(e,t,r,n,o){e!==t&&ue(t,(function(i,s){if(o||(o=new ne),je(i))!function(e,t,r,n,o,i,s){var a=ke(e,r),l=ke(t,r),c=s.get(l);if(c)return void ie(e,r,c);var d=i?i(a,l,r+"",e,t,s):void 0,h=void 0===d;if(h){var p=Te(l),f=!p&&_e(l),m=!p&&!f&&ze(l);d=l,p||f||m?Te(a)?d=a:$e(x=a)&&Ee(x)?d=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ve);function Ce(e,t){return e===t||e!=e&&t!=t}var Pe=he(function(){return arguments}())?he:function(e){return $e(e)&&z.call(e,"callee")&&!W.call(e,"callee")},Te=Array.isArray;function Ee(e){return null!=e&&Re(e.length)&&!Ae(e)}var _e=K||function(){return!1};function Ae(e){if(!je(e))return!1;var t=de(e);return t==a||t==l||t==s||t==d}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function je(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function $e(e){return null!=e&&"object"==typeof e}var ze=C?function(e){return function(t){return e(t)}}(C):function(e){return $e(e)&&Re(e.length)&&!!m[de(e)]};function Be(e){return Ee(e)?oe(e,!0):fe(e)}var Le,Me=(Le=function(e,t,r,n){me(e,t,r,n)},ge((function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=Le.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(e,t,r){if(!je(r))return!1;var n=typeof t;return!!("number"==n?Ee(r)&&xe(t,r.length):"string"==n&&t in r)&&Ce(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r{"use strict";r.d(t,{A:()=>n});const n=function(e){const t=(t,r,n)=>{!function(e,t,r){const n=/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(location.hostname)||"file:"===location.protocol;if(!t.trackLocalhost&&n)return console.warn("[Plausible] Ignoring event because website is running locally");try{if("true"===window.localStorage.plausible_ignore)return console.warn('[Plausible] Ignoring event because "plausible_ignore" is set to "true" in localStorage')}catch(s){}const o={n:e,u:t.url,d:t.domain,r:t.referrer,w:t.deviceWidth,h:t.hashMode?1:0,p:r&&r.props?JSON.stringify(r.props):void 0},i=new XMLHttpRequest;i.open("POST",`${t.apiHost}/api/event`,!0),i.setRequestHeader("Content-Type","text/plain"),i.send(JSON.stringify(o)),i.onreadystatechange=()=>{4===i.readyState&&r&&r.callback&&r.callback()}}(t,{...{hashMode:!1,trackLocalhost:!1,url:location.href,domain:location.hostname,referrer:document.referrer||null,deviceWidth:window.innerWidth,apiHost:"https://plausible.io",...e},...n},r)},r=(e,r)=>{t("pageview",r,e)};return{trackEvent:t,trackPageview:r,enableAutoPageviews:()=>{const t=()=>r(),n=history.pushState;return n&&(history.pushState=function(e,r,o){n.apply(this,[e,r,o]),t()},addEventListener("popstate",t)),e&&e.hashMode&&addEventListener("hashchange",t),r(),function(){n&&(history.pushState=n,removeEventListener("popstate",t)),e&&e.hashMode&&removeEventListener("hashchange",t)}},enableAutoOutboundTracking:(e=document,r={subtree:!0,childList:!0,attributes:!0,attributeFilter:["href"]})=>{function n(e){t("Outbound Link: Click",{props:{url:this.href}}),"undefined"!=typeof process&&process,setTimeout((()=>{location.href=this.href}),150),e.preventDefault()}const o=new Set;function i(e){e instanceof HTMLAnchorElement?e.host!==location.host&&(e.addEventListener("click",n),o.add(e)):"querySelectorAll"in e&&e.querySelectorAll("a").forEach(i)}function s(e){e instanceof HTMLAnchorElement?(e.removeEventListener("click",n),o.delete(e)):"querySelectorAll"in e&&e.querySelectorAll("a").forEach(s)}const a=new MutationObserver((e=>{e.forEach((e=>{"attributes"===e.type?(s(e.target),i(e.target)):"childList"===e.type&&(e.addedNodes.forEach(i),e.removedNodes.forEach(s))}))}));return e.querySelectorAll("a").forEach(i),a.observe(e,r),function(){o.forEach((e=>{e.removeEventListener("click",n)})),o.clear(),a.disconnect()}}}}},4915:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},8639:(e,t,r)=>{"use strict";r.d(t,{$:()=>b});var n=r(6540);var o=r(61),[i,s]=(0,o.q)({strict:!1,name:"ButtonGroupContext"}),a=r(6447),l=r(9857),c=r(4848);function u(e){const{children:t,className:r,...o}=e,i=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,s=(0,l.cx)("chakra-button__icon",r);return(0,c.jsx)(a.B.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:s,children:i})}u.displayName="ButtonIcon";var d=r(5599);function h(e){const{label:t,placement:r,spacing:o="0.5rem",children:i=(0,c.jsx)(d.y,{color:"currentColor",width:"1em",height:"1em"}),className:s,__css:u,...h}=e,p=(0,l.cx)("chakra-button__spinner",s),f="start"===r?"marginEnd":"marginStart",m=(0,n.useMemo)((()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[f]:t?o:0,fontSize:"1em",lineHeight:"normal",...u})),[u,t,f,o]);return(0,c.jsx)(a.B.div,{className:p,...h,__css:m,children:i})}function p(...e){return t=>{e.forEach((e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(r){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)}))}}function f(...e){return(0,n.useMemo)((()=>p(...e)),e)}h.displayName="ButtonSpinner";var m=r(8855),g=r(64),v=r(4515),b=(0,m.R)(((e,t)=>{const r=s(),o=(0,g.Vl)("Button",{...r,...e}),{isDisabled:i=(null==r?void 0:r.isDisabled),isLoading:u,isActive:d,children:p,leftIcon:m,rightIcon:b,loadingText:x,iconSpacing:S="0.5rem",type:k,spinner:w,spinnerPlacement:C="start",className:P,as:T,...E}=(0,v.MN)(e),_=(0,n.useMemo)((()=>{const e={...null==o?void 0:o._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...o,...!!r&&{_focus:e}}}),[o,r]),{ref:A,type:R}=function(e){const[t,r]=(0,n.useState)(!e);return{ref:(0,n.useCallback)((e=>{e&&r("BUTTON"===e.tagName)}),[]),type:t?"button":void 0}}(T),j={rightIcon:b,leftIcon:m,iconSpacing:S,children:p};return(0,c.jsxs)(a.B.button,{ref:f(t,A),as:T,type:null!=k?k:R,"data-active":(0,l.sE)(d),"data-loading":(0,l.sE)(u),__css:_,className:(0,l.cx)("chakra-button",P),...E,disabled:i||u,children:[u&&"start"===C&&(0,c.jsx)(h,{className:"chakra-button__spinner--start",label:x,placement:"start",spacing:S,children:w}),u?x||(0,c.jsx)(a.B.span,{opacity:0,children:(0,c.jsx)(y,{...j})}):(0,c.jsx)(y,{...j}),u&&"end"===C&&(0,c.jsx)(h,{className:"chakra-button__spinner--end",label:x,placement:"end",spacing:S,children:w})]})}));function y(e){const{leftIcon:t,rightIcon:r,children:n,iconSpacing:o}=e;return(0,c.jsxs)(c.Fragment,{children:[t&&(0,c.jsx)(u,{marginEnd:o,children:t}),n,r&&(0,c.jsx)(u,{marginStart:o,children:r})]})}b.displayName="Button"},763:(e,t,r)=>{"use strict";r.d(t,{G6:()=>i,Ig:()=>o});var n=r(6540),o=(0,n.createContext)({});function i(){const e=(0,n.useContext)(o);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}o.displayName="ColorModeContext"},4393:(e,t,r)=>{"use strict";r.d(t,{I:()=>c});var n=r(8855),o=r(64),i=r(6447),s=r(9857),a=r(4848),l={path:(0,a.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,a.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,a.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,a.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},c=(0,n.R)(((e,t)=>{const{as:r,viewBox:n,color:c="currentColor",focusable:u=!1,children:d,className:h,__css:p,...f}=e,m={ref:t,focusable:u,className:(0,s.cx)("chakra-icon",h),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:c,...p,...(0,o.Vl)("Icon",e)}},g=null!=n?n:l.viewBox;if(r&&"string"!=typeof r)return(0,a.jsx)(i.B.svg,{as:r,...m,...f});const v=null!=d?d:l.path;return(0,a.jsx)(i.B.svg,{verticalAlign:"middle",viewBox:g,...m,...f,children:v})}));c.displayName="Icon"},2581:(e,t,r)=>{"use strict";r.d(t,{_:()=>u});var n=r(8855),o=r(4848),i=(0,n.R)((function(e,t){const{htmlWidth:r,htmlHeight:n,alt:i,...s}=e;return(0,o.jsx)("img",{width:r,height:n,ref:t,alt:i,...s})}));i.displayName="NativeImage";var s=r(1600),a=r(6540);var l=r(6447);function c(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}var u=(0,n.R)((function(e,t){const{fallbackSrc:r,fallback:n,src:u,srcSet:d,align:h,fit:p,loading:f,ignoreFallback:m,crossOrigin:g,fallbackStrategy:v="beforeLoadOrError",referrerPolicy:b,...y}=e,x=null!=f||m||!(void 0!==r||void 0!==n),S=function(e){const{loading:t,src:r,srcSet:n,onLoad:o,onError:i,crossOrigin:l,sizes:c,ignoreFallback:u}=e,[d,h]=(0,a.useState)("pending");(0,a.useEffect)((()=>{h(r?"loading":"pending")}),[r]);const p=(0,a.useRef)(),f=(0,a.useCallback)((()=>{if(!r)return;m();const e=new Image;e.src=r,l&&(e.crossOrigin=l),n&&(e.srcset=n),c&&(e.sizes=c),t&&(e.loading=t),e.onload=e=>{m(),h("loaded"),null==o||o(e)},e.onerror=e=>{m(),h("failed"),null==i||i(e)},p.current=e}),[r,l,n,c,o,i,t]),m=()=>{p.current&&(p.current.onload=null,p.current.onerror=null,p.current=null)};return(0,s.U)((()=>{if(!u)return"loading"===d&&f(),()=>{m()}}),[d,f,u]),u?"loaded":d}({...e,crossOrigin:g,ignoreFallback:x}),k=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(S,v),w={ref:t,objectFit:p,objectPosition:h,...x?y:c(y,["onError","onLoad"])};return k?n||(0,o.jsx)(l.B.img,{as:i,className:"chakra-image__placeholder",src:r,...w}):(0,o.jsx)(l.B.img,{as:i,src:u,srcSet:d,crossOrigin:g,loading:f,referrerPolicy:b,className:"chakra-image",...w})}));u.displayName="Image"},4045:(e,t,r)=>{"use strict";r.d(t,{E:()=>c});var n=r(8855),o=r(64),i=r(4515),s=r(6447),a=r(9857);var l=r(4848),c=(0,n.R)((function(e,t){const r=(0,o.Vl)("Text",e),{className:n,align:c,decoration:u,casing:d,...h}=(0,i.MN)(e),p=function(e){const t=Object.assign({},e);for(let r in t)void 0===t[r]&&delete t[r];return t}({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,l.jsx)(s.B.p,{ref:t,className:(0,a.cx)("chakra-text",e.className),...p,...h,__css:r})}));c.displayName="Text"},4194:(e,t,r)=>{"use strict";r.d(t,{z:()=>s});var n=r(9101),o=r(8855),i=r(4848),s=(0,o.R)(((e,t)=>(0,i.jsx)(n.B,{align:"center",...e,direction:"row",ref:t})));s.displayName="HStack"},8493:(e,t,r)=>{"use strict";r.d(t,{N:()=>c});var n=r(8855),o=r(64),i=r(4515),s=r(6447),a=r(9857),l=r(4848),c=(0,n.R)((function(e,t){const r=(0,o.Vl)("Link",e),{className:n,isExternal:c,...u}=(0,i.MN)(e);return(0,l.jsx)(s.B.a,{target:c?"_blank":void 0,rel:c?"noopener":void 0,ref:t,className:(0,a.cx)("chakra-link",n),...u,__css:r})}));c.displayName="Link"},8539:(e,t,r)=>{"use strict";r.d(t,{T:()=>s});var n=r(9101),o=r(8855),i=r(4848),s=(0,o.R)(((e,t)=>(0,i.jsx)(n.B,{align:"center",...e,direction:"column",ref:t})));s.displayName="VStack"},9101:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var n=r(6447),o=r(4848),i=e=>(0,o.jsx)(n.B.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});i.displayName="StackItem";var s=r(9857);Object.freeze(["base","sm","md","lg","xl","2xl"]);var a=r(6540);var l=(0,r(8855).R)(((e,t)=>{const{isInline:r,direction:l,align:c,justify:u,spacing:d="0.5rem",wrap:h,children:p,divider:f,className:m,shouldWrapChildren:g,...v}=e,b=r?"row":null!=l?l:"column",y=(0,a.useMemo)((()=>function(e){const{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(o=r,i=e=>n[e],Array.isArray(o)?o.map((e=>null===e?null:i(e))):(0,s.Gv)(o)?Object.keys(o).reduce(((e,t)=>(e[t]=i(o[t]),e)),{}):null!=o?i(o):null)};var o,i}({spacing:d,direction:b})),[d,b]),x=!!f,S=!g&&!x,k=(0,a.useMemo)((()=>{const e=function(e){return a.Children.toArray(e).filter((e=>(0,a.isValidElement)(e)))}(p);return S?e:e.map(((t,r)=>{const n=void 0!==t.key?t.key:r,s=r+1===e.length,l=g?(0,o.jsx)(i,{children:t},n):t;if(!x)return l;const c=(0,a.cloneElement)(f,{__css:y}),u=s?null:c;return(0,o.jsxs)(a.Fragment,{children:[l,u]},n)}))}),[f,y,x,S,g,p]),w=(0,s.cx)("chakra-stack",m);return(0,o.jsx)(n.B.div,{ref:t,display:"flex",alignItems:c,justifyContent:u,flexDirection:b,flexWrap:h,gap:x?void 0:d,className:w,...v,children:k})}));l.displayName="Stack"},61:(e,t,r)=>{"use strict";r.d(t,{q:()=>o});var n=r(6540);function o(e={}){const{name:t,strict:r=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:s,defaultValue:a}=e,l=(0,n.createContext)(a);return l.displayName=t,[l.Provider,function e(){var t;const a=(0,n.useContext)(l);if(!a&&r){const r=new Error(null!=s?s:`${o} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return a},l]}},1600:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});var n=r(6540),o=Boolean(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},3832:(e,t,r)=>{"use strict";r.d(t,{R:()=>ul});var n=r(7437),o=r(4848),i=String.raw,s=i` + :root, + :host { + --chakra-vh: 100vh; + } + + @supports (height: -webkit-fill-available) { + :root, + :host { + --chakra-vh: -webkit-fill-available; + } + } + + @supports (height: -moz-fill-available) { + :root, + :host { + --chakra-vh: -moz-fill-available; + } + } + + @supports (height: 100dvh) { + :root, + :host { + --chakra-vh: 100dvh; + } + } +`,a=()=>(0,o.jsx)(n.mL,{styles:s}),l=({scope:e=""})=>(0,o.jsx)(n.mL,{styles:i` + html { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + font-family: system-ui, sans-serif; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + -moz-osx-font-smoothing: grayscale; + touch-action: manipulation; + } + + body { + position: relative; + min-height: 100%; + margin: 0; + font-feature-settings: "kern"; + } + + ${e} :where(*, *::before, *::after) { + border-width: 0; + border-style: solid; + box-sizing: border-box; + word-wrap: break-word; + } + + main { + display: block; + } + + ${e} hr { + border-top-width: 1px; + box-sizing: content-box; + height: 0; + overflow: visible; + } + + ${e} :where(pre, code, kbd,samp) { + font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; + font-size: 1em; + } + + ${e} a { + background-color: transparent; + color: inherit; + text-decoration: inherit; + } + + ${e} abbr[title] { + border-bottom: none; + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + } + + ${e} :where(b, strong) { + font-weight: bold; + } + + ${e} small { + font-size: 80%; + } + + ${e} :where(sub,sup) { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + + ${e} sub { + bottom: -0.25em; + } + + ${e} sup { + top: -0.5em; + } + + ${e} img { + border-style: none; + } + + ${e} :where(button, input, optgroup, select, textarea) { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; + } + + ${e} :where(button, input) { + overflow: visible; + } + + ${e} :where(button, select) { + text-transform: none; + } + + ${e} :where( + button::-moz-focus-inner, + [type="button"]::-moz-focus-inner, + [type="reset"]::-moz-focus-inner, + [type="submit"]::-moz-focus-inner + ) { + border-style: none; + padding: 0; + } + + ${e} fieldset { + padding: 0.35em 0.75em 0.625em; + } + + ${e} legend { + box-sizing: border-box; + color: inherit; + display: table; + max-width: 100%; + padding: 0; + white-space: normal; + } + + ${e} progress { + vertical-align: baseline; + } + + ${e} textarea { + overflow: auto; + } + + ${e} :where([type="checkbox"], [type="radio"]) { + box-sizing: border-box; + padding: 0; + } + + ${e} input[type="number"]::-webkit-inner-spin-button, + ${e} input[type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none !important; + } + + ${e} input[type="number"] { + -moz-appearance: textfield; + } + + ${e} input[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; + } + + ${e} input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none !important; + } + + ${e} ::-webkit-file-upload-button { + -webkit-appearance: button; + font: inherit; + } + + ${e} details { + display: block; + } + + ${e} summary { + display: list-item; + } + + template { + display: none; + } + + [hidden] { + display: none !important; + } + + ${e} :where( + blockquote, + dl, + dd, + h1, + h2, + h3, + h4, + h5, + h6, + hr, + figure, + p, + pre + ) { + margin: 0; + } + + ${e} button { + background: transparent; + padding: 0; + } + + ${e} fieldset { + margin: 0; + padding: 0; + } + + ${e} :where(ol, ul) { + margin: 0; + padding: 0; + } + + ${e} textarea { + resize: vertical; + } + + ${e} :where(button, [role="button"]) { + cursor: pointer; + } + + ${e} button::-moz-focus-inner { + border: 0 !important; + } + + ${e} table { + border-collapse: collapse; + } + + ${e} :where(h1, h2, h3, h4, h5, h6) { + font-size: inherit; + font-weight: inherit; + } + + ${e} :where(button, input, optgroup, select, textarea) { + padding: 0; + line-height: inherit; + color: inherit; + } + + ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) { + display: block; + } + + ${e} :where(img, video) { + max-width: 100%; + height: auto; + } + + [data-js-focus-visible] + :focus:not([data-focus-visible-added]):not( + [data-focus-visible-disabled] + ) { + outline: none; + box-shadow: none; + } + + ${e} select::-ms-expand { + display: none; + } + + ${s} + `}),c=r(61),[u,d]=(0,c.q)({strict:!1,name:"PortalManagerContext"});function h(e){const{children:t,zIndex:r}=e;return(0,o.jsx)(u,{value:{zIndex:r},children:t})}h.displayName="PortalManager";var p=r(763),f=r(6540);var m=r(4515),g=r(4159),v=r(3291),b=r(4765);function y(e){const{cssVarsRoot:t,theme:r,children:n}=e,i=(0,f.useMemo)((()=>(0,m.gd)(r)),[r]);return(0,o.jsxs)(b.a,{theme:i,children:[(0,o.jsx)(x,{root:t}),n]})}function x({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,o.jsx)(n.mL,{styles:e=>({[t]:e.__cssVars})})}var[S,k]=function(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=(0,f.createContext)(void 0);return o.displayName=n,[o.Provider,function e(){var n;const i=(0,f.useContext)(o);if(!i&&t){const t=new Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return i},o]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function w(){const{colorMode:e}=(0,p.G6)();return(0,o.jsx)(n.mL,{styles:t=>{const r=(0,g.rY)(t,"styles.global"),n=(0,v.Jg)(r,{theme:t,colorMode:e});if(!n)return;return(0,m.AH)(n)(t)}})}var C={light:"chakra-ui-light",dark:"chakra-ui-dark"};var P="chakra-ui-color-mode";var T,E=(T=P,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(T)||e}catch(r){}return t||e},set(e){try{localStorage.setItem(T,e)}catch(t){}}});function _(e,t){const r=e.match(new RegExp(`(^| )${t}=([^;]+)`));return null==r?void 0:r[2]}function A(e,t){return{ssr:!!t,type:"cookie",get:r=>t?_(t,e):(null==globalThis?void 0:globalThis.document)&&_(document.cookie,e)||r,set(t){document.cookie=`${e}=${t}; max-age=31536000; path=/`}}}A(P);var R=r(1600),j=()=>{};function $(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function z(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:i,disableTransitionOnChange:s}={},colorModeManager:a=E}=e,l="dark"===i?"dark":"light",[c,u]=(0,f.useState)((()=>$(a,l))),[d,h]=(0,f.useState)((()=>$(a))),{getSystemTheme:m,setClassName:g,setDataset:v,addListener:b}=(0,f.useMemo)((()=>function(e={}){const{preventTransition:t=!0}=e,r={setDataset:e=>{const n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?C.dark:C.light),document.body.classList.remove(e?C.light:C.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=r.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){const t=r.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(e)}))}))}}};return r}({preventTransition:s})),[s]),y="system"!==i||c?c:d,x=(0,f.useCallback)((e=>{const t="system"===e?m():e;u(t),g("dark"===t),v(t),a.set(t)}),[a,m,g,v]);(0,R.U)((()=>{"system"===i&&h(m())}),[]),(0,f.useEffect)((()=>{const e=a.get();x(e||("system"!==i?l:"system"))}),[a,l,i,x]);const S=(0,f.useCallback)((()=>{x("dark"===y?"light":"dark")}),[y,x]);(0,f.useEffect)((()=>{if(n)return b(x)}),[n,b,x]);const k=(0,f.useMemo)((()=>({colorMode:null!=t?t:y,toggleColorMode:t?j:S,setColorMode:t?j:x,forced:void 0!==t})),[y,S,x,t]);return(0,o.jsx)(p.Ig.Provider,{value:k,children:r})}z.displayName="ColorModeProvider";var B=(0,f.createContext)({getDocument:()=>document,getWindow:()=>window});function L(e){const{children:t,environment:r,disabled:n}=e,i=(0,f.useRef)(null),s=(0,f.useMemo)((()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument.defaultView)?t:window}}),[r]),a=!n||!r;return(0,o.jsxs)(B.Provider,{value:s,children:[t,a&&(0,o.jsx)("span",{id:"__chakra_env",hidden:!0,ref:i})]})}B.displayName="EnvironmentContext",L.displayName="EnvironmentProvider";var M=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:i,resetCSS:s=!0,theme:c={},environment:u,cssVarsRoot:d,disableEnvironment:p,disableGlobalStyle:f}=e,m=(0,o.jsx)(L,{environment:u,disabled:p,children:t});return(0,o.jsx)(y,{theme:c,cssVarsRoot:d,children:(0,o.jsxs)(z,{colorModeManager:r,options:c.config,children:[s?(0,o.jsx)(l,{scope:i}):(0,o.jsx)(a,{}),!f&&(0,o.jsx)(w,{}),n?(0,o.jsx)(h,{zIndex:n,children:m}):m]})})},V=r(1310),O=(e,t)=>e.find((e=>e.id===t));function F(e,t){const r=D(e,t);return{position:r,index:r?e[r].findIndex((e=>e.id===t)):-1}}function D(e,t){for(const[r,n]of Object.entries(e))if(O(n,t))return r}function I(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}function N(e,t){const r=function(e,t=[]){const r=(0,f.useRef)(e);return(0,f.useEffect)((()=>{r.current=e})),(0,f.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),t)}(e);(0,f.useEffect)((()=>{if(null==t)return;let e=null;return e=window.setTimeout((()=>{r()}),t),()=>{e&&window.clearTimeout(e)}}),[t,r])}function H(e,t){const r=(0,f.useRef)(!1),n=(0,f.useRef)(!1);(0,f.useEffect)((()=>{if(r.current&&n.current)return e();n.current=!0}),t),(0,f.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}var W=r(9857);const U=(0,f.createContext)(null);function Y(){return null===(e=(0,f.useContext)(U))||e.isPresent;var e}const q=(0,f.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),K=(0,f.createContext)({}),G="undefined"!=typeof document,X=G?f.useLayoutEffect:f.useEffect,J=(0,f.createContext)({strict:!1}),Z=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Q="data-"+Z("framerAppearId"),ee=!1,te=!1;class re{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}const ne=["read","resolveKeyframes","update","preRender","render","postRender"];function oe(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=ne.reduce(((e,t)=>(e[t]=function(e){let t=new re,r=new re,n=0,o=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&o,c=l?t:r;return i&&s.add(e),c.add(e)&&l&&o&&(n=t.order.length),e},cancel:e=>{r.remove(e),s.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let r=0;rr=!0)),e)),{}),s=e=>{i[e].process(o)},a=()=>{const i=te?o.timestamp:performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,ne.forEach(s),o.isProcessing=!1,r&&t&&(n=!1,e(a))},l=ne.reduce(((t,s)=>{const l=i[s];return t[s]=(t,i=!1,s=!1)=>(r||(r=!0,n=!0,o.isProcessing||e(a)),l.schedule(t,i,s)),t}),{});return{schedule:l,cancel:e=>ne.forEach((t=>i[t].cancel(e))),state:o,steps:i}}const{schedule:ie,cancel:se}=oe(queueMicrotask,!1);function ae(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const le=(0,f.createContext)({});let ce=!1;function ue(e,t,r,n,o){const{visualElement:i}=(0,f.useContext)(K),s=(0,f.useContext)(J),a=(0,f.useContext)(U),l=(0,f.useContext)(q).reducedMotion,c=(0,f.useRef)();n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current,d=(0,f.useContext)(le);!u||u.projection||!o||"html"!==u.type&&"svg"!==u.type||function(e,t,r,n){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:he(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(s)||a&&ae(a),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:c})}(c.current,r,o,d),(0,f.useInsertionEffect)((()=>{u&&u.update(r,a)}));const h=(0,f.useRef)(Boolean(r[Q]&&!window.HandoffComplete));return X((()=>{u&&(u.updateFeatures(),ie.render(u.render),h.current&&u.animationState&&u.animationState.animateChanges())})),(0,f.useEffect)((()=>{u&&(!h.current&&u.animationState&&u.animationState.animateChanges(),h.current&&(h.current=!1,ce||(ce=!0,queueMicrotask(de))))})),u}function de(){window.HandoffComplete=!0}function he(e){if(e)return!1!==e.options.allowProjection?e.projection:he(e.parent)}function pe(e,t,r){return(0,f.useCallback)((n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):ae(r)&&(r.current=n))}),[t])}function fe(e){return"string"==typeof e||Array.isArray(e)}function me(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const ge=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ve=["initial",...ge];function be(e){return me(e.animate)||ve.some((t=>fe(e[t])))}function ye(e){return Boolean(be(e)||e.variants)}function xe(e){const{initial:t,animate:r}=function(e,t){if(be(e)){const{initial:t,animate:r}=e;return{initial:!1===t||fe(t)?t:void 0,animate:fe(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,f.useContext)(K));return(0,f.useMemo)((()=>({initial:t,animate:r})),[Se(t),Se(r)])}function Se(e){return Array.isArray(e)?e.join(" "):e}const ke={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},we={};for(const hl in ke)we[hl]={isEnabled:e=>ke[hl].some((t=>!!e[t]))};const Ce=(0,f.createContext)({}),Pe=Symbol.for("motionComponentSymbol");function Te({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&function(e){for(const t in e)we[t]={...we[t],...e[t]}}(e);const s=(0,f.forwardRef)((function(e,s){let a;const l={...(0,f.useContext)(q),...e,layoutId:Ee(e)},{isStatic:c}=l,u=xe(e),d=n(e,c);if(!c&&G){!function(e,t){(0,f.useContext)(J).strict;0}();const e=function(e){const{drag:t,layout:r}=we;if(!t&&!r)return{};const n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(l);a=e.MeasureLayout,u.visualElement=ue(i,d,l,t,e.ProjectionNode)}return(0,o.jsxs)(K.Provider,{value:u,children:[a&&u.visualElement?(0,o.jsx)(a,{visualElement:u.visualElement,...l}):null,r(i,e,pe(d,u.visualElement,s),d,c,u.visualElement)]})}));return s[Pe]=i,s}function Ee({layoutId:e}){const t=(0,f.useContext)(Ce).id;return t&&void 0!==e?t+"-"+e:e}function _e(e){function t(t,r={}){return Te(e(t,r))}if("undefined"==typeof Proxy)return t;const r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}const Ae=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Re(e){return"string"==typeof e&&!e.includes("-")&&!!(Ae.indexOf(e)>-1||/[A-Z]/u.test(e))}const je={};const $e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ze=new Set($e);function Be(e,{layout:t,layoutId:r}){return ze.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!je[e]||"opacity"===e)}const Le=e=>Boolean(e&&e.getVelocity),Me={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ve=$e.length;const Oe=e=>t=>"string"==typeof t&&t.startsWith(e),Fe=Oe("--"),De=Oe("var(--"),Ie=e=>!!De(e)&&Ne.test(e.split("/*")[0].trim()),Ne=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,He=(e,t)=>t&&"number"==typeof e?t.transform(e):e,We=(e,t,r)=>r>t?t:r"number"==typeof e,parse:parseFloat,transform:e=>e},Ye={...Ue,transform:e=>We(0,1,e)},qe={...Ue,default:1},Ke=e=>Math.round(1e5*e)/1e5,Ge=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Xe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Je=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Ze(e){return"string"==typeof e}const Qe=e=>({test:t=>Ze(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),et=Qe("deg"),tt=Qe("%"),rt=Qe("px"),nt=Qe("vh"),ot=Qe("vw"),it={...tt,parse:e=>tt.parse(e)/100,transform:e=>tt.transform(100*e)},st={...Ue,transform:Math.round},at={borderWidth:rt,borderTopWidth:rt,borderRightWidth:rt,borderBottomWidth:rt,borderLeftWidth:rt,borderRadius:rt,radius:rt,borderTopLeftRadius:rt,borderTopRightRadius:rt,borderBottomRightRadius:rt,borderBottomLeftRadius:rt,width:rt,maxWidth:rt,height:rt,maxHeight:rt,size:rt,top:rt,right:rt,bottom:rt,left:rt,padding:rt,paddingTop:rt,paddingRight:rt,paddingBottom:rt,paddingLeft:rt,margin:rt,marginTop:rt,marginRight:rt,marginBottom:rt,marginLeft:rt,rotate:et,rotateX:et,rotateY:et,rotateZ:et,scale:qe,scaleX:qe,scaleY:qe,scaleZ:qe,skew:et,skewX:et,skewY:et,distance:rt,translateX:rt,translateY:rt,translateZ:rt,x:rt,y:rt,z:rt,perspective:rt,transformPerspective:rt,opacity:Ye,originX:it,originY:it,originZ:rt,zIndex:st,backgroundPositionX:rt,backgroundPositionY:rt,fillOpacity:Ye,strokeOpacity:Ye,numOctaves:st};function lt(e,t,r,n){const{style:o,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const d in t){const e=t[d];if(Fe(d)){i[d]=e;continue}const r=at[d],n=He(e,r);if(ze.has(d)){if(l=!0,s[d]=n,!u)continue;e!==(r.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,a[d]=n):o[d]=n}if(t.transform||(l||n?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let s=0;s({style:{},transform:{},transformOrigin:{},vars:{}});function ut(e,t,r){for(const n in t)Le(t[n])||Be(n,r)||(e[n]=t[n])}function dt(e,t,r){const n={};return ut(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t,r){return(0,f.useMemo)((()=>{const n=ct();return lt(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)}),[t])}(e,t,r)),n}function ht(e,t,r){const n={},o=dt(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const pt=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ft(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||pt.has(e)}let mt=e=>!ft(e);try{(gt=require("@emotion/is-prop-valid").default)&&(mt=e=>e.startsWith("on")?!ft(e):gt(e))}catch(dl){}var gt;function vt(e,t,r){return"string"==typeof e?e:rt.transform(t+r*e)}const bt={offset:"stroke-dashoffset",array:"stroke-dasharray"},yt={offset:"strokeDashoffset",array:"strokeDasharray"};function xt(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,h){if(lt(e,c,u,h),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:f,dimensions:m}=e;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,r){return`${vt(t,e.x,e.width)} ${vt(r,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==s&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?bt:yt;e[i.offset]=rt.transform(-n);const s=rt.transform(t),a=rt.transform(r);e[i.array]=`${s} ${a}`}(p,s,a,l,!1)}const St=()=>({...ct(),attrs:{}}),kt=e=>"string"==typeof e&&"svg"===e.toLowerCase();function wt(e,t,r,n){const o=(0,f.useMemo)((()=>{const r=St();return xt(r,t,{enableHardwareAcceleration:!1},kt(n),e.transformTemplate),{...r.attrs,style:{...r.style}}}),[t]);if(e.style){const t={};ut(t,e.style,e),o.style={...t,...o.style}}return o}function Ct(e=!1){return(t,r,n,{latestValues:o},i)=>{const s=(Re(t)?wt:ht)(r,o,i,t),a=function(e,t,r){const n={};for(const o in e)"values"===o&&"object"==typeof e.values||(mt(o)||!0===r&&ft(o)||!t&&!ft(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),l=t!==f.Fragment?{...a,...s,ref:n}:{},{children:c}=r,u=(0,f.useMemo)((()=>Le(c)?c.get():c),[c]);return(0,f.createElement)(t,{...l,children:u})}}function Pt(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const i in r)e.style.setProperty(i,r[i])}const Tt=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Et(e,t,r,n){Pt(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(Tt.has(o)?o:Z(o),t.attrs[o])}function _t(e,t,r){var n;const{style:o}=e,i={};for(const s in o)(Le(o[s])||t.style&&Le(t.style[s])||Be(s,e)||void 0!==(null===(n=null==r?void 0:r.getValue(s))||void 0===n?void 0:n.liveStyle))&&(i[s]=o[s]);return i}function At(e,t,r){const n=_t(e,t,r);for(const o in e)if(Le(e[o])||Le(t[o])){n[-1!==$e.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function Rt(e){const t=[{},{}];return null==e||e.values.forEach(((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()})),t}function jt(e,t,r,n){if("function"==typeof t){const[o,i]=Rt(n);t=t(void 0!==r?r:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=Rt(n);t=t(void 0!==r?r:e.custom,o,i)}return t}function $t(e){const t=(0,f.useRef)(null);return null===t.current&&(t.current=e()),t.current}const zt=e=>Array.isArray(e),Bt=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),Lt=e=>zt(e)?e[e.length-1]||0:e;function Mt(e){const t=Le(e)?e.get():e;return Bt(t)?t.toValue():t}const Vt=e=>(t,r)=>{const n=(0,f.useContext)(K),o=(0,f.useContext)(U),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const s={latestValues:Ot(n,o,i,e),renderState:t()};return r&&(s.mount=e=>r(n,e,s)),s}(e,t,n,o);return r?i():$t(i)};function Ot(e,t,r,n){const o={},i=n(e,{});for(const h in i)o[h]=Mt(i[h]);let{initial:s,animate:a}=e;const l=be(e),c=ye(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!r&&!1===r.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!me(d)){(Array.isArray(d)?d:[d]).forEach((t=>{const r=jt(e,t);if(!r)return;const{transitionEnd:n,transition:i,...s}=r;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in n)o[e]=n[e]}))}return o}const Ft=e=>e,{schedule:Dt,cancel:It,state:Nt,steps:Ht}=oe("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Ft,!0),Wt={useVisualState:Vt({scrapeMotionValuesFromProps:At,createRenderState:St,onMount:(e,t,{renderState:r,latestValues:n})=>{Dt.read((()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}})),Dt.render((()=>{xt(r,n,{enableHardwareAcceleration:!1},kt(t.tagName),e.transformTemplate),Et(t,r)}))}})},Ut={useVisualState:Vt({scrapeMotionValuesFromProps:_t,createRenderState:ct})};function Yt(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const qt=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Kt(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const Gt=e=>t=>qt(t)&&e(t,Kt(t));function Xt(e,t,r,n){return Yt(e,t,Gt(r),n)}const Jt=(e,t)=>r=>t(e(r)),Zt=(...e)=>e.reduce(Jt);function Qt(e){let t=null;return()=>{const r=()=>{t=null};return null===t&&(t=e,r)}}const er=Qt("dragHorizontal"),tr=Qt("dragVertical");function rr(e){let t=!1;if("y"===e)t=tr();else if("x"===e)t=er();else{const e=er(),r=tr();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function nr(){const e=rr(!0);return!e||(e(),!1)}class or{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ir(e,t){const r=t?"pointerenter":"pointerleave",n=t?"onHoverStart":"onHoverEnd";return Xt(e.current,r,((r,o)=>{if("touch"===r.pointerType||nr())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);const s=i[n];s&&Dt.postRender((()=>s(r,o)))}),{passive:!e.getProps()[n]})}const sr=(e,t)=>!!t&&(e===t||sr(e,t.parentElement));function ar(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Kt(r))}const lr=new WeakMap,cr=new WeakMap,ur=e=>{const t=lr.get(e.target);t&&t(e)},dr=e=>{e.forEach(ur)};function hr(e,t,r){const n=function({root:e,...t}){const r=e||document;cr.has(r)||cr.set(r,{});const n=cr.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(dr,{root:e,...t})),n[o]}(t);return lr.set(e,r),n.observe(e),()=>{lr.delete(e),n.unobserve(e)}}const pr={some:0,all:1};const fr={inView:{Feature:class extends or{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:pr[n]};return hr(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends or{constructor(){super(...arguments),this.removeStartListeners=Ft,this.removeEndListeners=Ft,this.removeAccessibleListeners=Ft,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),n=Xt(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps(),i=o||sr(this.node.current,e.target)?r:n;i&&Dt.update((()=>i(e,t)))}),{passive:!(r.onTap||r.onPointerUp)}),o=Xt(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Zt(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Yt(this.node.current,"keydown",(e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Yt(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&ar("up",((e,t)=>{const{onTap:r}=this.node.getProps();r&&Dt.postRender((()=>r(e,t)))}))})),ar("down",((e,t)=>{this.startPress(e,t)}))})),t=Yt(this.node.current,"blur",(()=>{this.isPressing&&ar("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=Zt(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Dt.postRender((()=>r(e,t)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!nr()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Dt.postRender((()=>r(e,t)))}mount(){const e=this.node.getProps(),t=Xt(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Yt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Zt(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends or{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zt(Yt(this.node.current,"focus",(()=>this.onFocus())),Yt(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends or{mount(){this.unmount=Zt(ir(this.node,!0),ir(this.node,!1))}unmount(){}}}};function mr(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n1e3*e,br=e=>e/1e3,yr={type:"spring",stiffness:500,damping:25,restSpeed:10},xr={type:"keyframes",duration:.8},Sr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},kr=(e,{keyframes:t})=>t.length>2?xr:ze.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:yr:Sr;function wr(e,t){return e[t]||e.default||e}const Cr=!1,Pr=e=>null!==e;function Tr(e,{repeat:t,repeatType:r="loop"},n){const o=e.filter(Pr),i=t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}let Er;function _r(){Er=void 0}const Ar={now:()=>(void 0===Er&&Ar.set(Nt.isProcessing||te?Nt.timestamp:performance.now()),Er),set:e=>{Er=e,queueMicrotask(_r)}},Rr=e=>/^0[^.\s]+$/u.test(e);let jr=Ft,$r=Ft;const zr=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Br=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Lr(e,t,r=1){$r(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,o]=function(e){const t=Br.exec(e);if(!t)return[,];const[,r,n,o]=t;return[`--${null!=r?r:n}`,o]}(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const e=i.trim();return zr(e)?parseFloat(e):e}return Ie(o)?Lr(o,t,r+1):o}const Mr=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Vr=e=>e===Ue||e===rt,Or=(e,t)=>parseFloat(e.split(", ")[t]),Fr=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/u);if(o)return Or(o[1],t);{const t=n.match(/^matrix\((.+)\)$/u);return t?Or(t[1],e):0}},Dr=new Set(["x","y","z"]),Ir=$e.filter((e=>!Dr.has(e)));const Nr={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Fr(4,13),y:Fr(5,14)};Nr.translateX=Nr.x,Nr.translateY=Nr.y;const Hr=e=>t=>t.test(e),Wr=[Ue,rt,tt,et,ot,nt,{test:e=>"auto"===e,parse:e=>e}],Ur=e=>Wr.find(Hr(e)),Yr=new Set;let qr=!1,Kr=!1;function Gr(){if(Kr){const e=Array.from(Yr).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),r=new Map;t.forEach((e=>{const t=function(e){const t=[];return Ir.forEach((r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t}(e);t.length&&(r.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=r.get(e);t&&t.forEach((([t,r])=>{var n;null===(n=e.getValue(t))||void 0===n||n.set(r)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}Kr=!1,qr=!1,Yr.forEach((e=>e.complete())),Yr.clear()}function Xr(){Yr.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Kr=!0)}))}class Jr{constructor(e,t,r,n,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Yr.add(this),qr||(qr=!0,Dt.read(Xr),Dt.resolveKeyframes(Gr))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let o=0;or=>Boolean(Ze(r)&&Je.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Qr=(e,t,r)=>n=>{if(!Ze(n))return n;const[o,i,s,a]=n.match(Ge);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},en={...Ue,transform:e=>Math.round((e=>We(0,255,e))(e))},tn={test:Zr("rgb","red"),parse:Qr("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+en.transform(e)+", "+en.transform(t)+", "+en.transform(r)+", "+Ke(Ye.transform(n))+")"};const rn={test:Zr("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:tn.transform},nn={test:Zr("hsl","hue"),parse:Qr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+tt.transform(Ke(t))+", "+tt.transform(Ke(r))+", "+Ke(Ye.transform(n))+")"},on={test:e=>tn.test(e)||rn.test(e)||nn.test(e),parse:e=>tn.test(e)?tn.parse(e):nn.test(e)?nn.parse(e):rn.parse(e),transform:e=>Ze(e)?e:e.hasOwnProperty("red")?tn.transform(e):nn.transform(e)};const sn="number",an="color",ln="var",cn="var(",un="${}",dn=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function hn(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[];let i=0;const s=t.replace(dn,(e=>(on.test(e)?(n.color.push(i),o.push(an),r.push(on.parse(e))):e.startsWith(cn)?(n.var.push(i),o.push(ln),r.push(e)):(n.number.push(i),o.push(sn),r.push(parseFloat(e))),++i,un))).split(un);return{values:r,split:s,indexes:n,types:o}}function pn(e){return hn(e).values}function fn(e){const{split:t,types:r}=hn(e),n=t.length;return e=>{let o="";for(let i=0;i"number"==typeof e?0:e;const gn={test:function(e){var t,r;return isNaN(e)&&Ze(e)&&((null===(t=e.match(Ge))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(Xe))||void 0===r?void 0:r.length)||0)>0},parse:pn,createTransformer:fn,getAnimatableNone:function(e){const t=pn(e);return fn(e)(t.map(mn))}},vn=new Set(["brightness","contrast","saturate","opacity"]);function bn(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Ge)||[];if(!n)return e;const o=r.replace(n,"");let i=vn.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const yn=/\b([a-z-]*)\(.*?\)/gu,xn={...gn,getAnimatableNone:e=>{const t=e.match(yn);return t?t.map(bn).join(" "):e}},Sn={...at,color:on,backgroundColor:on,outlineColor:on,fill:on,stroke:on,borderColor:on,borderTopColor:on,borderRightColor:on,borderBottomColor:on,borderLeftColor:on,filter:xn,WebkitFilter:xn},kn=e=>Sn[e];function wn(e,t){let r=kn(e);return r!==xn&&(r=gn),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Cn=new Set(["auto","none","0"]);class Pn extends Jr{constructor(e,t,r,n){super(e,t,r,n,null==n?void 0:n.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let a=0;a{t.getValue(e).set(r)})),this.resolveNoneKeyframes()}}function Tn(e){let t;return()=>(void 0===t&&(t=e()),t)}const En=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!gn.test(e)&&"0"!==e||e.startsWith("url(")));class _n{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:o,repeatType:i,...s},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(Xr(),Gr()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;const{name:r,type:n,velocity:o,delay:i,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],s=En(o,t),a=En(i,t);return jr(s===a,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let r=0;r{this.resolveFinishedPromise=e}))}}function An(e,t){return t?e*(1e3/t):0}const Rn=5;function jn(e,t,r){const n=Math.max(t-Rn,0);return An(r-e(n),t-n)}const $n=.001,zn=.01,Bn=10,Ln=.05,Mn=1;function Vn({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;jr(e<=vr(Bn),"Spring duration must be 10 seconds or less");let s=1-t;s=We(Ln,Mn,s),e=We(zn,Bn,br(e)),s<1?(o=t=>{const n=t*s,o=n*e,i=n-r,a=Fn(t,s),l=Math.exp(-o);return $n-i/a*l},i=t=>{const n=t*s*e,i=n*r+r,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=Fn(Math.pow(t,2),s);return(-o(t)+$n>0?-1:1)*((i-a)*l)/c}):(o=t=>Math.exp(-t*e)*((t-r)*e+1)-$n,i=t=>Math.exp(-t*e)*(e*e*(r-t)));const a=function(e,t,r){let n=r;for(let o=1;ovoid 0!==e[t]))}function Hn({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:c,duration:u,velocity:d,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Nn(e,In)&&Nn(e,Dn)){const r=Vn(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-br(n.velocity||0)}),p=d||0,f=l/(2*Math.sqrt(a*c)),m=i-o,g=br(Math.sqrt(a/c)),v=Math.abs(m)<5;let b;if(r||(r=v?.01:2),t||(t=v?.005:.5),f<1){const e=Fn(g,f);b=t=>{const r=Math.exp(-f*g*t);return i-r*((p+f*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===f)b=e=>i-Math.exp(-g*e)*(m+(p+g*m)*e);else{const e=g*Math.sqrt(f*f-1);b=t=>{const r=Math.exp(-f*g*t),n=Math.min(e*t,300);return i-r*((p+f*g*m)*Math.sinh(n)+e*m*Math.cosh(n))/e}}return{calculatedDuration:h&&u||null,next:e=>{const n=b(e);if(h)s.done=e>=u;else{let o=p;0!==e&&(o=f<1?jn(b,e,n):0);const a=Math.abs(o)<=r,l=Math.abs(i-n)<=t;s.done=a&&l}return s.value=s.done?i:n,s}}}function Wn({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},p=e=>void 0===a?l:void 0===l||Math.abs(a-e)-f*Math.exp(-e/n),b=e=>g+v(e),y=e=>{const t=v(e),r=b(e);h.done=Math.abs(t)<=c,h.value=h.done?g:r};let x,S;const k=e=>{var t;(t=h.value,void 0!==a&&tl)&&(x=e,S=Hn({keyframes:[h.value,p(h.value)],velocity:jn(b,e,h.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return S||void 0!==x||(t=!0,y(e),k(e)),void 0!==x&&e>=x?S.next(e-x):(!t&&y(e),h)}}}const Un=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Yn=1e-7,qn=12;function Kn(e,t,r,n){if(e===t&&r===n)return Ft;const o=t=>function(e,t,r,n,o){let i,s,a=0;do{s=t+(r-t)/2,i=Un(s,n,o)-e,i>0?r=s:t=s}while(Math.abs(i)>Yn&&++a0===e||1===e?e:Un(o(e),t,n)}const Gn=Kn(.42,0,1,1),Xn=Kn(0,0,.58,1),Jn=Kn(.42,0,.58,1),Zn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Qn=e=>t=>1-e(1-t),eo=e=>1-Math.sin(Math.acos(e)),to=Qn(eo),ro=Zn(eo),no=Kn(.33,1.53,.69,.99),oo=Qn(no),io=Zn(oo),so={linear:Ft,easeIn:Gn,easeInOut:Jn,easeOut:Xn,circIn:eo,circInOut:ro,circOut:to,backIn:oo,backInOut:io,backOut:no,anticipate:e=>(e*=2)<1?.5*oo(e):.5*(2-Math.pow(2,-10*(e-1)))},ao=e=>{if(Array.isArray(e)){$r(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return Kn(t,r,n,o)}return"string"==typeof e?($r(void 0!==so[e],`Invalid easing type '${e}'`),so[e]):e},lo=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},co=(e,t,r)=>e+(t-e)*r;function uo(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ho(e,t){return r=>r>0?t:e}const po=(e,t,r)=>{const n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},fo=[rn,tn,nn];function mo(e){const t=(r=e,fo.find((e=>e.test(r))));var r;if(jr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let n=t.parse(e);return t===nn&&(n=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,s=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;o=uo(a,n,e+1/3),i=uo(a,n,e),s=uo(a,n,e-1/3)}else o=i=s=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:n}}(n)),n}const go=(e,t)=>{const r=mo(e),n=mo(t);if(!r||!n)return ho(e,t);const o={...r};return e=>(o.red=po(r.red,n.red,e),o.green=po(r.green,n.green,e),o.blue=po(r.blue,n.blue,e),o.alpha=co(r.alpha,n.alpha,e),tn.transform(o))},vo=new Set(["none","hidden"]);function bo(e,t){return r=>co(e,t,r)}function yo(e){return"number"==typeof e?bo:"string"==typeof e?Ie(e)?ho:on.test(e)?go:ko:Array.isArray(e)?xo:"object"==typeof e?on.test(e)?go:So:ho}function xo(e,t){const r=[...e],n=r.length,o=e.map(((e,r)=>yo(e)(e,t[r])));return e=>{for(let t=0;t{for(const t in n)r[t]=n[t](e);return r}}const ko=(e,t)=>{const r=gn.createTransformer(t),n=hn(e),o=hn(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?vo.has(e)&&!o.values.length||vo.has(t)&&!n.values.length?function(e,t){return vo.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}(e,t):Zt(xo(function(e,t){var r;const n=[],o={color:0,var:0,number:0};for(let i=0;it[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,r){const n=[],o=r||wo,i=e.length-1;for(let s=0;s{let r=0;if(a>1)for(;rl(We(e[0],e[i-1],t)):l}function Po(e){const t=[0];return function(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=lo(0,t,n);e.push(co(r,1,o))}}(t,e.length-1),t}function To({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(n)?n.map(ao):ao(n),i={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(r&&r.length===t.length?r:Po(t),e),a=Co(s,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map((()=>c||Jn)).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}const Eo=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Dt.update(t,!0),stop:()=>It(t),now:()=>Nt.isProcessing?Nt.timestamp:Ar.now()}},_o={decay:Wn,inertia:Wn,tween:To,keyframes:To,spring:Hn},Ao=e=>e/100;class Ro extends _n{constructor({KeyframeResolver:e=Jr,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:r,motionValue:n,keyframes:o}=this.options,i=(e,t)=>this.onKeyframesResolved(e,t);r&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(o,i,r,n):this.resolver=new e(o,i,r,n),this.resolver.scheduleResolve()}initPlayback(e){const{type:t="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:i=0}=this.options,s=_o[t]||To;let a,l;s!==To&&"number"!=typeof e[0]&&(a=Zt(Ao,wo(e[0],e[1])),e=[0,100]);const c=s({...this.options,keyframes:e});"mirror"===o&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===c.calculatedDuration&&(c.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(c));const{calculatedDuration:u}=c,d=u+n;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(r+1)-n}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:r}=this;if(!r){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:n,generator:o,mirroredGenerator:i,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=r;if(null===this.startTime)return o.next(0);const{delay:d,repeat:h,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let b=this.currentTime,y=o;if(h){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,h+1);Boolean(t%2)&&("reverse"===p?(r=1-r,f&&(r-=f/u)):"mirror"===p&&(y=i)),b=We(0,1,r)*u}const x=v?{done:!1,value:a[0]}:y.next(b);s&&(x.value=s(x.value));let{done:S}=x;v||null===l||(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return k&&void 0!==n&&(x.value=Tr(a,this.options,n)),m&&m(x.value),k&&this.finish(),x}get duration(){const{resolved:e}=this;return e?br(e.calculatedDuration):0}get time(){return br(this.currentTime)}set time(e){e=vr(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=br(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Eo,onPlay:t}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const jo=e=>Array.isArray(e)&&"number"==typeof e[0];function $o(e){return Boolean(!e||"string"==typeof e&&e in Bo||jo(e)||Array.isArray(e)&&e.every($o))}const zo=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Bo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:zo([0,.65,.55,1]),circOut:zo([.55,0,1,.45]),backIn:zo([.31,.01,.66,-.59]),backOut:zo([.33,1.53,.69,.99])};function Lo(e){return Mo(e)||Bo.easeOut}function Mo(e){return e?jo(e)?zo(e):Array.isArray(e)?e.map(Lo):Bo[e]:void 0}const Vo=Tn((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),Oo=new Set(["opacity","clipPath","filter","transform"]);class Fo extends _n{constructor(e){super(e);const{name:t,motionValue:r,keyframes:n}=this.options;this.resolver=new Pn(n,((e,t)=>this.onKeyframesResolved(e,t)),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r;let{duration:n=300,times:o,ease:i,type:s,motionValue:a,name:l}=this.options;if(!(null===(r=a.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(c=this.options).type||"backgroundColor"===c.name||!$o(c.ease)){const{onComplete:t,onUpdate:r,motionValue:a,...l}=this.options,c=function(e,t){const r=new Ro({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let n={done:!1,value:e[0]};const o=[];let i=0;for(;!n.done&&i<2e4;)n=r.sample(i),o.push(n.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,l);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,o=c.times,i=c.ease,s="keyframes"}var c;const u=function(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:r};l&&(c.offset=l);const u=Mo(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(a.owner.current,l,e,{...this.options,duration:n,times:o,ease:i});return u.startTime=Ar.now(),this.pendingTimeline?(u.timeline=this.pendingTimeline,this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:r}=this.options;a.set(Tr(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:n,times:o,type:s,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return br(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return br(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.currentTime=vr(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return Ft;const{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return Ft}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:r,duration:n,type:o,ease:i,times:s}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,...l}=this.options,c=new Ro({...l,keyframes:r,duration:n,type:o,ease:i,times:s,isGenerator:!0}),u=vr(this.time);e.setWithVelocity(c.sample(u-10).value,c.sample(u).value,10)}this.cancel()}}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:r,repeatDelay:n,repeatType:o,damping:i,type:s}=e;return Vo()&&r&&Oo.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!n&&"mirror"!==o&&0!==i&&"inertia"!==s}}const Do=Tn((()=>void 0!==window.ScrollTimeline));class Io{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r{if(!Do()||!t.attachTimeline)return t.pause(),function(e,t){let r;const n=()=>{const{currentTime:n}=t,o=(null===n?0:n.value)/100;r!==o&&e(o),r=o};return Dt.update(n,!0),()=>It(n)}((e=>{t.time=t.duration*e}),e);t.attachTimeline(e)}));return()=>{t.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let t=0;tt[e]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const No=(e,t,r,n={},o,i)=>s=>{const a=wr(n,e)||{},l=a.delay||n.delay||0;let{elapsed:c=0}=n;c-=vr(l);let u={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(a)||(u={...u,...kr(e,u)}),u.duration&&(u.duration=vr(u.duration)),u.repeatDelay&&(u.repeatDelay=vr(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(d=!0)),(Cr||ee)&&(d=!0,u.duration=0,u.delay=0),d&&!i&&void 0!==t.get()){const e=Tr(u.keyframes,a);if(void 0!==e)return Dt.update((()=>{u.onUpdate(e),u.onComplete()})),new Io([])}return!i&&Fo.supports(u)?new Fo(u):new Ro(u)};function Ho(e){return Boolean(Le(e)&&e.add)}function Wo(e,t){-1===e.indexOf(t)&&e.push(t)}function Uo(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Yo{constructor(){this.subscriptions=[]}add(e){return Wo(this.subscriptions,e),()=>Uo(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o{const r=Ar.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Ar.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Yo);const r=this.events[e].add(t);return"change"===e?()=>{r(),Dt.read((()=>{this.events.change.getSize()||this.stop()}))}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return qo.current&&qo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Ar.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return An(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Go(e,t){return new Ko(e,t)}function Xo(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Go(r))}function Jo(e){return e.getProps()[Q]}function Zo({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function Qo(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;const c=e.getValue("willChange");n&&(s=n);const u=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const h in l){const t=e.getValue(h,null!==(i=e.latestValues[h])&&void 0!==i?i:null),n=l[h];if(void 0===n||d&&Zo(d,h))continue;const o={delay:r,elapsed:0,...wr(s||{},h)};let a=!1;if(window.HandoffAppearAnimations){const r=Jo(e);if(r){const e=window.HandoffAppearAnimations(r,h,t,Dt);null!==e&&(o.elapsed=e,a=!0)}}t.start(No(h,t,n,e.shouldReduceMotion&&ze.has(h)?{type:!1}:o,e,a));const p=t.animation;p&&(Ho(c)&&(c.add(h),p.then((()=>c.remove(h)))),u.push(p))}return a&&Promise.all(u).then((()=>{Dt.update((()=>{a&&function(e,t){const r=gr(e,t);let{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(const s in i)Xo(e,s,Lt(i[s]))}(e,a)}))})),u}function ei(e,t,r={}){var n;const o=gr(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);const s=o?()=>Promise.all(Qo(e,o,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,r=0,n=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>a-e*n;return Array.from(e.variantChildren).sort(ti).forEach(((e,n)=>{e.notify("AnimationStart",t),s.push(ei(e,t,{...i,delay:r+l(n)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,o+n,s,a,r)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(r.delay)])}function ti(e,t){return e.sortNodePosition(t)}const ri=[...ge].reverse(),ni=ge.length;function oi(e){return t=>Promise.all(t.map((({animation:t,options:r})=>function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>ei(e,t,r)));n=Promise.all(o)}else if("string"==typeof t)n=ei(e,t,r);else{const o="function"==typeof t?gr(e,t,r.custom):t;n=Promise.all(Qo(e,o,r))}return n.then((()=>{Dt.postRender((()=>{e.notify("AnimationComplete",t)}))}))}(e,t,r))))}function ii(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!mr(t,e)}function si(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ai(){return{animate:si(!0),whileInView:si(),whileHover:si(),whileTap:si(),whileDrag:si(),whileFocus:si(),exit:si()}}let li=0;const ci={animation:{Feature:class extends or{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=oi(e),r=ai(),n=!0;const o=t=>(r,n)=>{var o;const i=gr(e,n,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function i(i){const s=e.getProps(),a=e.getVariantContext(!0)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;td&&m,y=!1;const x=Array.isArray(f)?f:[f];let S=x.reduce(o(h),{});!1===g&&(S={});const{prevResolvedValues:k={}}=p,w={...k,...S},C=t=>{b=!0,c.has(t)&&(y=!0,c.delete(t)),p.needsAnimating[t]=!0;const r=e.getValue(t);r&&(r.liveStyle=!1)};for(const e in w){const t=S[e],r=k[e];if(u.hasOwnProperty(e))continue;let n=!1;n=zt(t)&&zt(r)?!mr(t,r):t!==r,n?null!=t?C(e):c.add(e):void 0!==t&&c.has(e)?C(e):p.protectedKeys[e]=!0}p.prevProp=f,p.prevResolvedValues=S,p.isActive&&(u={...u,...S}),n&&e.blockInitialAnimation&&(b=!1),!b||v&&!y||l.push(...x.map((e=>({animation:e,options:{type:h}}))))}if(c.size){const t={};c.forEach((r=>{const n=e.getBaseTarget(r),o=e.getValue(r);o&&(o.liveStyle=!0),t[r]=null!=n?n:null})),l.push({animation:t})}let h=Boolean(l.length);return!n||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(h=!1),n=!1,h?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){var o;if(r[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;const s=i(t);for(const e in r)r[e].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=ai(),n=!0}}}(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();me(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends or{constructor(){super(...arguments),this.id=li++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},ui=(e,t)=>Math.abs(e-t);class di{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=fi(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=ui(e.x,t.x),n=ui(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;const{point:n}=e,{timestamp:o}=Nt;this.history.push({...n,timestamp:o});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=hi(t,this.transformPagePoint),Dt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:r,onSessionEnd:n,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=fi("pointercancel"===e.type?this.lastMoveEventInfo:hi(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!qt(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;const i=hi(Kt(e),this.transformPagePoint),{point:s}=i,{timestamp:a}=Nt;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,fi(i,this.history)),this.removeListeners=Zt(Xt(this.contextWindow,"pointermove",this.handlePointerMove),Xt(this.contextWindow,"pointerup",this.handlePointerUp),Xt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),It(this.updatePoint)}}function hi(e,t){return t?{point:t(e.point)}:e}function pi(e,t){return{x:e.x-t.x,y:e.y-t.y}}function fi({point:e},t){return{point:e,delta:pi(e,gi(t)),offset:pi(e,mi(t)),velocity:vi(t,.1)}}function mi(e){return e[0]}function gi(e){return e[e.length-1]}function vi(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=gi(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>vr(t)));)r--;if(!n)return{x:0,y:0};const i=br(o.timestamp-n.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function bi(e){return e.max-e.min}function yi(e,t=0,r=.01){return Math.abs(e-t)<=r}function xi(e,t,r,n=.5){e.origin=n,e.originPoint=co(t.min,t.max,e.origin),e.scale=bi(r)/bi(t),(yi(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=co(r.min,r.max,e.origin)-e.originPoint,(yi(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Si(e,t,r,n){xi(e.x,t.x,r.x,n?n.originX:void 0),xi(e.y,t.y,r.y,n?n.originY:void 0)}function ki(e,t,r){e.min=r.min+t.min,e.max=e.min+bi(t)}function wi(e,t,r){e.min=t.min-r.min,e.max=e.min+bi(t)}function Ci(e,t,r){wi(e.x,t.x,r.x),wi(e.y,t.y,r.y)}function Pi(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Ti(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),ji=()=>({x:{min:0,max:0},y:{min:0,max:0}});function $i(e){return[e("x"),e("y")]}function zi({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Bi(e){return void 0===e||1===e}function Li({scale:e,scaleX:t,scaleY:r}){return!Bi(e)||!Bi(t)||!Bi(r)}function Mi(e){return Li(e)||Vi(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Vi(e){return Oi(e.x)||Oi(e.y)}function Oi(e){return e&&"0%"!==e}function Fi(e,t,r){return r+t*(e-r)}function Di(e,t,r,n,o){return void 0!==o&&(e=Fi(e,o,n)),Fi(e,r,n)+t}function Ii(e,t=0,r=1,n,o){e.min=Di(e.min,t,r,n,o),e.max=Di(e.max,t,r,n,o)}function Ni(e,{x:t,y:r}){Ii(e.x,t.translate,t.scale,t.originPoint),Ii(e.y,r.translate,r.scale,r.originPoint)}function Hi(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Wi(e,t){e.min=e.min+t,e.max=e.max+t}function Ui(e,t,[r,n,o]){const i=void 0!==t[o]?t[o]:.5,s=co(e.min,e.max,i);Ii(e,t[r],t[n],s,t.scale)}const Yi=["x","scaleX","originX"],qi=["y","scaleY","originY"];function Ki(e,t){Ui(e.x,t,Yi),Ui(e.y,t,qi)}function Gi(e,t){return zi(function(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const Xi=({current:e})=>e?e.ownerDocument.defaultView:null,Ji=new WeakMap;class Zi{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ji(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:n}=this.getProps();this.panSession=new di(e,{onSessionStart:e=>{const{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Kt(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=rr(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$i((e=>{let t=this.getAxisMotionValue(e).get()||0;if(tt.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];if(n){t=bi(n)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),o&&Dt.postRender((()=>o(e,t)));const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:s}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>$i((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:Xi(this.visualElement)})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:o}=this.getProps();o&&Dt.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!Qi(e,n,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:r},n){return void 0!==t&&er&&(e=n?co(r,e,n.max):Math.min(e,r)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&ae(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(e,{top:t,left:r,bottom:n,right:o}){return{x:Pi(e.x,r,o),y:Pi(e.y,t,n)}}(n.layoutBox,t),this.elastic=function(e=Ei){return!1===e?e=0:!0===e&&(e=Ei),{x:_i(e,"left","right"),y:_i(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&$i((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!ae(e))return!1;const r=e.current;$r(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const o=function(e,t,r){const n=Gi(e,r),{scroll:o}=t;return o&&(Wi(n.x,o.offset.x),Wi(n.y,o.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Ti(e.x,t.x),y:Ti(e.y,t.y)}}(n.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=zi(e))}return i}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=$i((s=>{if(!Qi(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=n?200:1e6,u=n?40:1e7,d={type:"inertia",velocity:r?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(No(e,r,0,t,this.visualElement))}stopAnimation(){$i((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){$i((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){$i((t=>{const{drag:r}=this.getProps();if(!Qi(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){const{min:r,max:i}=n.layout.layoutBox[t];o.set(e[t]-co(r,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!ae(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};$i((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const r=t.get();n[e]=function(e,t){let r=.5;const n=bi(e),o=bi(t);return o>n?r=lo(t.min,t.max-n,e.min):n>o&&(r=lo(e.min,e.max-o,t.min)),We(0,1,r)}({min:r,max:r},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),$i((t=>{if(!Qi(t,e,null))return;const r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(co(o,i,n[t]))}))}addListeners(){if(!this.visualElement.current)return;Ji.set(this.visualElement,this);const e=Xt(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();ae(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Dt.read(t);const o=Yt(window,"resize",(()=>this.scalePositionWithinConstraints())),i=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&($i((t=>{const r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),n(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=Ei,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function Qi(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const es=e=>(t,r)=>{e&&Dt.postRender((()=>e(t,r)))};const ts={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ns={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!rt.test(e))return e;e=parseFloat(e)}return`${rs(e,t.target.x)}% ${rs(e,t.target.y)}%`}},os={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=gn.parse(e);if(o.length>5)return n;const i=gn.createTransformer(e),s="number"!=typeof o[0]?1:0,a=r.x.scale*t.x,l=r.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=co(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),i(o)}};class is extends f.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;var i;i=as,Object.assign(je,i),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ts.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,i=r.projection;return i?(i.isPresent=o,n||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||Dt.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ie.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ss(e){const[t,r]=function(){const e=(0,f.useContext)(U);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=(0,f.useId)();return(0,f.useEffect)((()=>n(o)),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}(),n=(0,f.useContext)(Ce);return(0,o.jsx)(is,{...e,layoutGroup:n,switchLayoutGroup:(0,f.useContext)(le),isPresent:t,safeToRemove:r})}const as={borderRadius:{...ns,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ns,borderTopRightRadius:ns,borderBottomLeftRadius:ns,borderBottomRightRadius:ns,boxShadow:os},ls=["TopLeft","TopRight","BottomLeft","BottomRight"],cs=ls.length,us=e=>"string"==typeof e?parseFloat(e):e,ds=e=>"number"==typeof e||rt.test(e);function hs(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const ps=ms(0,.5,to),fs=ms(.5,.95,Ft);function ms(e,t,r){return n=>nt?1:r(lo(e,t,n))}function gs(e,t){e.min=t.min,e.max=t.max}function vs(e,t){gs(e.x,t.x),gs(e.y,t.y)}function bs(e,t,r,n,o){return e=Fi(e-=t,1/r,n),void 0!==o&&(e=Fi(e,1/o,n)),e}function ys(e,t,[r,n,o],i,s){!function(e,t=0,r=1,n=.5,o,i=e,s=e){tt.test(t)&&(t=parseFloat(t),t=co(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=co(i.min,i.max,n);e===i&&(a-=t),e.min=bs(e.min,t,r,a,o),e.max=bs(e.max,t,r,a,o)}(e,t[r],t[n],t[o],t.scale,i,s)}const xs=["x","scaleX","originX"],Ss=["y","scaleY","originY"];function ks(e,t,r,n){ys(e.x,t,xs,r?r.x:void 0,n?n.x:void 0),ys(e.y,t,Ss,r?r.y:void 0,n?n.y:void 0)}function ws(e){return 0===e.translate&&1===e.scale}function Cs(e){return ws(e.x)&&ws(e.y)}function Ps(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Ts(e){return bi(e.x)/bi(e.y)}class Es{constructor(){this.members=[]}add(e){Wo(this.members,e),e.scheduleRender()}remove(e){if(Uo(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let r;for(let n=t;n>=0;n--){const e=this.members[n];if(!1!==e.isPresent){r=e;break}}return!!r&&(this.promote(r),!0)}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function _s(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(null==r?void 0:r.z)||0;if((o||i||s)&&(n=`translate3d(${o}px, ${i}px, ${s}px) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:s,skewY:a}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),o&&(n+=`rotateX(${o}deg) `),i&&(n+=`rotateY(${i}deg) `),s&&(n+=`skewX(${s}deg) `),a&&(n+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(n+=`scale(${a}, ${l})`),n||"none"}const As=(e,t)=>e.depth-t.depth;class Rs{constructor(){this.children=[],this.isDirty=!1}add(e){Wo(this.children,e),this.isDirty=!0}remove(e){Uo(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(As),this.isDirty=!1,this.children.forEach(e)}}const js=["","X","Y","Z"],$s={visibility:"hidden"};let zs=0;const Bs={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Ls(e,t,r,n){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Ms(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return!!t&&(!!Jo(t)||!(!e.parent||e.parent.hasCheckedOptimisedAppear)&&Ms(e.parent))}function Vs({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=zs++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;this.projectionUpdateScheduled=!1,Bs.totalNodes=Bs.resolvedTargetDeltas=Bs.recalculatedProjection=0,this.nodes.forEach(Ds),this.nodes.forEach(qs),this.nodes.forEach(Ks),this.nodes.forEach(Is),e=Bs,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){const r=Ar.now(),n=({timestamp:o})=>{const i=o-r;i>=t&&(It(n),e(i-t))};return Dt.read(n,!0),()=>It(n)}(n,250),ts.hasAnimatedSinceResize&&(ts.hasAnimatedSinceResize=!1,this.nodes.forEach(Ys))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||ea,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Ps(this.targetLayout,n)||r,c=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...wr(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Ys(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,It(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Gs),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.HandoffCancelAllAnimations&&Ms(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let r=0;r{const r=t/1e3;var l,h;Js(i.x,e.x,r),Js(i.y,e.y,r),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ci(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,r,n){Zs(e.x,t.x,r.x,n),Zs(e.y,t.y,r.y,n)}(this.relativeTarget,this.relativeTargetOrigin,s,r),d&&(l=this.relativeTarget,h=d,l.x.min===h.x.min&&l.x.max===h.x.max&&l.y.min===h.y.min&&l.y.max===h.y.max)&&(this.isProjectionDirty=!1),d||(d=ji()),vs(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,r,n,o,i){o?(e.opacity=co(0,void 0!==r.opacity?r.opacity:1,ps(n)),e.opacityExit=co(void 0!==t.opacity?t.opacity:1,0,fs(n))):i&&(e.opacity=co(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let s=0;s{ts.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){const n=Le(e)?e:Go(e);return n.start(No("",n,t,r)),n.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:r,layout:n,latestValues:o}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&oa(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||ji();const t=bi(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=bi(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}vs(t,r),Ki(t,o),Si(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Es);this.sharedNodes.get(e).add(t);const r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;const n={};r.z&&Ls("z",e,n,this.animationValues);for(let o=0;o{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Hs),this.root.sharedNodes.clear()}}}function Os(e){e.updateLayout()}function Fs(e){var t;const r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;"size"===o?$i((e=>{const n=i?r.measuredBox[e]:r.layoutBox[e],o=bi(n);n.min=t[e].min,n.max=n.min+o})):oa(o,r.layoutBox,t)&&$i((n=>{const o=i?r.measuredBox[n]:r.layoutBox[n],s=bi(t[n]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)}));const s=Ri();Si(s,t,r.layoutBox);const a=Ri();i?Si(a,e.applyTransform(n,!0),r.measuredBox):Si(a,t,r.layoutBox);const l=!Cs(s);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:o,layout:i}=n;if(o&&i){const s=ji();Ci(s,r.layoutBox,o.layoutBox);const a=ji();Ci(a,t,i.layoutBox),Ps(s,a)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ds(e){Bs.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Is(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ns(e){e.clearSnapshot()}function Hs(e){e.clearMeasurements()}function Ws(e){e.isLayoutDirty=!1}function Us(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ys(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function qs(e){e.resolveTargetDelta()}function Ks(e){e.calcProjection()}function Gs(e){e.resetSkewAndRotation()}function Xs(e){e.removeLeadSnapshot()}function Js(e,t,r){e.translate=co(t.translate,0,r),e.scale=co(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Zs(e,t,r,n){e.min=co(t.min,r.min,n),e.max=co(t.max,r.max,n)}function Qs(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ea={duration:.45,ease:[.4,0,.1,1]},ta=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ra=ta("applewebkit/")&&!ta("chrome/")?Math.round:Ft;function na(e){e.min=ra(e.min),e.max=ra(e.max)}function oa(e,t,r){return"position"===e||"preserve-aspect"===e&&!yi(Ts(t),Ts(r),.2)}const ia=Vs({attachResizeListener:(e,t)=>Yt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sa={current:void 0},aa=Vs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sa.current){const e=new ia({});e.mount(window),e.setOptions({layoutScroll:!0}),sa.current=e}return sa.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),la={pan:{Feature:class extends or{constructor(){super(...arguments),this.removePointerDownListener=Ft}onPointerDown(e){this.session=new di(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Xi(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:es(e),onStart:es(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&Dt.postRender((()=>n(e,t)))}}}mount(){this.removePointerDownListener=Xt(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends or{constructor(e){super(e),this.removeGroupControls=Ft,this.removeListeners=Ft,this.controls=new Zi(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ft}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:aa,MeasureLayout:ss}},ca={current:null},ua={current:!1};const da=new WeakMap,ha=[...Wr,on,gn],pa=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],fa=ve.length;class ma{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:o,visualState:i},s={}){this.resolveKeyframes=(e,t,r,n)=>new this.KeyframeResolver(e,t,r,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Jr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Dt.render(this.render,!1,!0);const{latestValues:a,renderState:l}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=be(t),this.isVariantNode=ye(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(const d in u){const e=u[d];void 0!==a[d]&&Le(e)&&(e.set(a[d],!1),Ho(c)&&c.add(d))}}mount(e){this.current=e,da.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),ua.current||function(){if(ua.current=!0,G)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ca.current=e.matches;e.addListener(t),t()}else ca.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ca.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){da.delete(this.current),this.projection&&this.projection.unmount(),It(this.notifyUpdate),It(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){const r=ze.has(e),n=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&Dt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{n(),o(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in we){const t=we[e];if(!t)continue;const{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ji()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let r=0;rt.variantChildren.delete(e)}addValue(e,t){const r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=Go(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=n&&("string"==typeof n&&(zr(n)||Rr(n))?n=parseFloat(n):(o=n,!ha.find(Hr(o))&&gn.test(t)&&(n=wn(e,t))),this.setBaseTarget(e,Le(n)?n.get():n)),Le(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:r}=this.props;let n;if("string"==typeof r||"object"==typeof r){const o=jt(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(n=o[e])}if(r&&void 0!==n)return n;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Le(o)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Yo),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ga extends ma{constructor(){super(...arguments),this.KeyframeResolver=Pn}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class va extends ga{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(ze.has(t)){const e=kn(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),o=(Fe(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof o?o.trim():o}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return Gi(e,t)}build(e,t,r,n){lt(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return _t(e,t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Le(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}renderInstance(e,t,r,n){Pt(e,t,r,n)}}class ba extends ga{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(ze.has(t)){const e=kn(t);return e&&e.default||0}return t=Tt.has(t)?t:Z(t),e.getAttribute(t)}measureInstanceViewportBox(){return ji()}scrapeMotionValuesFromProps(e,t,r){return At(e,t,r)}build(e,t,r,n){xt(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Et(e,t,0,n)}mount(e){this.isSVGTag=kt(e.tagName),super.mount(e)}}const ya=(e,t)=>Re(e)?new ba(t,{enableHardwareAcceleration:!1}):new va(t,{allowProjection:e!==f.Fragment,enableHardwareAcceleration:!0}),xa={...ci,...fr,...la,...{layout:{ProjectionNode:aa,MeasureLayout:ss}}},Sa=_e(((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...Re(e)?Wt:Ut,preloadedFeatures:r,useRender:Ct(t),createVisualElement:n,Component:e}}(e,t,xa,ya)));var ka=r(6447),wa={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},Ca=(0,f.memo)((e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:i,requestClose:s=!1,position:a="bottom",duration:l=5e3,containerStyle:c,motionVariants:u=wa,toastSpacing:d="0.5rem"}=e,[h,p]=(0,f.useState)(l),m=Y();H((()=>{m||null==n||n()}),[m]),H((()=>{p(l)}),[l]);const g=()=>{m&&i()};(0,f.useEffect)((()=>{m&&s&&i()}),[m,s,i]),N(g,h);const v=(0,f.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...c})),[c,d]),b=(0,f.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(a)),[a]);return(0,o.jsx)(Sa.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>p(null),onHoverEnd:()=>p(l),custom:{position:a},style:b,children:(0,o.jsx)(ka.B.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:v,children:(0,W.Jg)(r,{id:t,onClose:g})})})}));Ca.displayName="ToastComponent";var Pa=r(4393);function Ta(e){return(0,o.jsx)(Pa.I,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var Ea=r(5599),[_a,Aa]=(0,c.q)({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Ra,ja]=(0,c.q)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),$a={info:{icon:function(e){return(0,o.jsx)(Pa.I,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:Ta,colorScheme:"orange"},success:{icon:function(e){return(0,o.jsx)(Pa.I,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:Ta,colorScheme:"red"},loading:{icon:Ea.y,colorScheme:"blue"}};var za=r(8855),Ba=r(64),La=(0,za.R)((function(e,t){var r;const{status:n="info",addRole:i=!0,...s}=(0,m.MN)(e),a=null!=(r=e.colorScheme)?r:function(e){return $a[e].colorScheme}(n),l=(0,Ba.o5)("Alert",{...e,colorScheme:a}),c={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return(0,o.jsx)(_a,{value:{status:n},children:(0,o.jsx)(Ra,{value:l,children:(0,o.jsx)(ka.B.div,{"data-status":n,role:i?"alert":void 0,ref:t,...s,className:(0,W.cx)("chakra-alert",e.className),__css:c})})})}));function Ma(e){const{status:t}=Aa(),r=function(e){return $a[e].icon}(t),n=ja(),i="loading"===t?n.spinner:n.icon;return(0,o.jsx)(ka.B.span,{display:"inherit","data-status":t,...e,className:(0,W.cx)("chakra-alert__icon",e.className),__css:i,children:e.children||(0,o.jsx)(r,{h:"100%",w:"100%"})})}La.displayName="Alert",Ma.displayName="AlertIcon";var Va=(0,za.R)((function(e,t){const r=ja(),{status:n}=Aa();return(0,o.jsx)(ka.B.div,{ref:t,"data-status":n,...e,className:(0,W.cx)("chakra-alert__title",e.className),__css:r.title})}));Va.displayName="AlertTitle";var Oa=(0,za.R)((function(e,t){const r=ja(),{status:n}=Aa(),i={display:"inline",...r.description};return(0,o.jsx)(ka.B.div,{ref:t,"data-status":n,...e,className:(0,W.cx)("chakra-alert__desc",e.className),__css:i})}));function Fa(e){return(0,o.jsx)(Pa.I,{focusable:"false","aria-hidden":!0,...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}Oa.displayName="AlertDescription";var Da=(0,za.R)((function(e,t){const r=(0,Ba.Vl)("CloseButton",e),{children:n,isDisabled:i,__css:s,...a}=(0,m.MN)(e);return(0,o.jsx)(ka.B.button,{type:"button","aria-label":"Close",ref:t,disabled:i,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...s},...a,children:n||(0,o.jsx)(Fa,{width:"1em",height:"1em"})})}));Da.displayName="CloseButton";var Ia=function(e){let t=e;const r=new Set,n=e=>{t=e(t),r.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n((()=>e)),r.delete(t)}),removeToast:(e,t)=>{n((r=>({...r,[t]:r[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const r=function(e,t={}){var r,n;Na+=1;const o=null!=(r=t.id)?r:Na,i=null!=(n=t.position)?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Ia.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=r;return n((e=>{var t,n;const i=o.includes("top")?[r,...null!=(t=e[o])?t:[]]:[...null!=(n=e[o])?n:[],r];return{...e,[o]:i}})),i},update:(e,t)=>{e&&n((r=>{const n={...r},{position:o,index:i}=F(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:Wa(t)}),n}))},closeAll:({positions:e}={})=>{n((t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,r)=>(e[r]=t[r].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{n((t=>{const r=D(t,e);return r?{...t,[r]:t[r].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean(F(Ia.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});var Na=0;var Ha=e=>{const{status:t,variant:r="solid",id:n,title:i,isClosable:s,onClose:a,description:l,colorScheme:c,icon:u}=e,d=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,o.jsxs)(La,{addRole:!1,status:t,variant:r,id:null==d?void 0:d.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:c,children:[(0,o.jsx)(Ma,{children:u}),(0,o.jsxs)(ka.B.div,{flex:"1",maxWidth:"100%",children:[i&&(0,o.jsx)(Va,{id:null==d?void 0:d.title,children:i}),l&&(0,o.jsx)(Oa,{id:null==d?void 0:d.description,display:"block",children:l})]}),s&&(0,o.jsx)(Da,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function Wa(e={}){const{render:t,toastComponent:r=Ha}=e;return n=>"function"==typeof t?t({...n,...e}):(0,o.jsx)(r,{...n,...e})}function Ua(){const e=(0,f.useRef)(!1);return X((()=>(e.current=!0,()=>{e.current=!1})),[]),e}class Ya extends f.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function qa({children:e,isPresent:t}){const r=(0,f.useId)(),n=(0,f.useRef)(null),i=(0,f.useRef)({width:0,height:0,top:0,left:0}),{nonce:s}=(0,f.useContext)(q);return(0,f.useInsertionEffect)((()=>{const{width:e,height:o,top:a,left:l}=i.current;if(t||!n.current||!e||!o)return;n.current.dataset.motionPopId=r;const c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${o}px !important;\n top: ${a}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(c)}}),[t]),(0,o.jsx)(Ya,{isPresent:t,childRef:n,sizeRef:i,children:f.cloneElement(e,{ref:n})})}const Ka=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:s,mode:a})=>{const l=$t(Ga),c=(0,f.useId)(),u=(0,f.useMemo)((()=>({id:c,initial:t,isPresent:r,custom:i,onExitComplete:e=>{l.set(e,!0);for(const t of l.values())if(!t)return;n&&n()},register:e=>(l.set(e,!1),()=>l.delete(e))})),s?[Math.random()]:[r]);return(0,f.useMemo)((()=>{l.forEach(((e,t)=>l.set(t,!1)))}),[r]),f.useEffect((()=>{!r&&!l.size&&n&&n()}),[r]),"popLayout"===a&&(e=(0,o.jsx)(qa,{isPresent:r,children:e})),(0,o.jsx)(U.Provider,{value:u,children:e})};function Ga(){return new Map}const Xa=e=>e.key||"";const Ja=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:s=!0,mode:a="sync"})=>{$r(!i,"Replace exitBeforeEnter with mode='wait'");const l=(0,f.useContext)(Ce).forceRender||function(){const e=Ua(),[t,r]=(0,f.useState)(0),n=(0,f.useCallback)((()=>{e.current&&r(t+1)}),[t]);return[(0,f.useCallback)((()=>Dt.postRender(n)),[n]),t]}()[0],c=Ua(),u=function(e){const t=[];return f.Children.forEach(e,(e=>{(0,f.isValidElement)(e)&&t.push(e)})),t}(e);let d=u;const h=(0,f.useRef)(new Map).current,p=(0,f.useRef)(d),m=(0,f.useRef)(new Map).current,g=(0,f.useRef)(!0);var v;if(X((()=>{g.current=!1,function(e,t){e.forEach((e=>{const r=Xa(e);t.set(r,e)}))}(u,m),p.current=d})),v=()=>{g.current=!0,m.clear(),h.clear()},(0,f.useEffect)((()=>()=>v()),[]),g.current)return(0,o.jsx)(o.Fragment,{children:d.map((e=>(0,o.jsx)(Ka,{isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a,children:e},Xa(e))))});d=[...d];const b=p.current.map(Xa),y=u.map(Xa),x=b.length;for(let o=0;o{if(-1!==y.indexOf(r))return;const i=m.get(r);if(!i)return;const f=b.indexOf(r);let g=e;if(!g){const e=()=>{h.delete(r);const e=Array.from(m.keys()).filter((e=>!y.includes(e)));if(e.forEach((e=>m.delete(e))),p.current=u.filter((t=>{const n=Xa(t);return n===r||e.includes(n)})),!h.size){if(!1===c.current)return;l(),n&&n()}};g=(0,o.jsx)(Ka,{isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:s,mode:a,children:i},Xa(i)),h.set(r,g)}d.splice(f,0,g)})),d=d.map((e=>{const t=e.key;return h.has(t)?e:(0,o.jsx)(Ka,{isPresent:!0,presenceAffectsLayout:s,mode:a,children:e},Xa(e))})),(0,o.jsx)(o.Fragment,{children:h.size?d:d.map((e=>(0,f.cloneElement)(e)))})};var Za=r(961),[Qa,el]=(0,c.q)({strict:!1,name:"PortalContext"}),tl="chakra-portal",rl=e=>(0,o.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),nl=e=>{const{appendToParentPortal:t,children:r}=e,[n,i]=(0,f.useState)(null),s=(0,f.useRef)(null),[,a]=(0,f.useState)({});(0,f.useEffect)((()=>a({})),[]);const l=el(),c=d();(0,R.U)((()=>{if(!n)return;const e=n.ownerDocument,r=t&&null!=l?l:e.body;if(!r)return;s.current=e.createElement("div"),s.current.className=tl,r.appendChild(s.current),a({});const o=s.current;return()=>{r.contains(o)&&r.removeChild(o)}}),[n]);const u=(null==c?void 0:c.zIndex)?(0,o.jsx)(rl,{zIndex:null==c?void 0:c.zIndex,children:r}):r;return s.current?(0,Za.createPortal)((0,o.jsx)(Qa,{value:s.current,children:u}),s.current):(0,o.jsx)("span",{ref:e=>{e&&i(e)}})},ol=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,i=r.current,s=null!=i?i:"undefined"!=typeof window?document.body:void 0,a=(0,f.useMemo)((()=>{const e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className=tl),e}),[i]),[,l]=(0,f.useState)({});return(0,R.U)((()=>l({})),[]),(0,R.U)((()=>{if(a&&s)return s.appendChild(a),()=>{s.removeChild(a)}}),[a,s]),s&&a?(0,Za.createPortal)((0,o.jsx)(Qa,{value:n?a:null,children:t}),a):null};function il(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,o.jsx)(ol,{containerRef:r,...n}):(0,o.jsx)(nl,{...n})}il.className=tl,il.selector=".chakra-portal",il.displayName="Portal";var[sl,al]=(0,c.q)({name:"ToastOptionsContext",strict:!1}),ll=e=>{const t=(0,f.useSyncExternalStore)(Ia.subscribe,Ia.getState,Ia.getState),{motionVariants:r,component:n=Ca,portalProps:i}=e,s=Object.keys(t).map((e=>{const i=t[e];return(0,o.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:I(e),children:(0,o.jsx)(Ja,{initial:!1,children:i.map((e=>(0,o.jsx)(n,{motionVariants:r,...e},e.id)))})},e)}));return(0,o.jsx)(il,{...i,children:s})},cl=e=>function({children:t,theme:r=e,toastOptions:n,...i}){return(0,o.jsxs)(M,{theme:r,...i,children:[(0,o.jsx)(sl,{value:null==n?void 0:n.defaultOptions,children:t}),(0,o.jsx)(ll,{...n})]})},ul=(cl(V.w4),cl(V.$7))},9857:(e,t,r)=>{"use strict";r.d(t,{Gv:()=>o,Jg:()=>i,cx:()=>n,sE:()=>a});var n=(...e)=>e.filter(Boolean).join(" ");function o(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function i(e,...t){return s(e)?e(...t):e}var s=e=>"function"==typeof e,a=e=>e?"":void 0},5599:(e,t,r)=>{"use strict";r.d(t,{y:()=>d});var n=r(7437),o=r(8855),i=r(64),s=r(4515),a=r(6447),l=r(9857),c=r(4848),u=(0,n.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,o.R)(((e,t)=>{const r=(0,i.Vl)("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:d="0.45s",emptyColor:h="transparent",className:p,...f}=(0,s.MN)(e),m=(0,l.cx)("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:h,borderLeftColor:h,animation:`${u} ${d} linear infinite`,...r};return(0,c.jsx)(a.B.div,{ref:t,__css:g,className:m,...f,children:n&&(0,c.jsx)(a.B.span,{srOnly:!0,children:n})})}));d.displayName="Spinner"},4515:(e,t,r)=>{"use strict";r.d(t,{AH:()=>De,Dt:()=>Ne,H2:()=>Ie,HU:()=>Me,MN:()=>qe,Vg:()=>ne,YU:()=>He,gd:()=>je,lL:()=>oe,q8:()=>Be,uB:()=>Ye});var n=r(9857),o=r(8394),i=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,s=(e,t)=>r=>{const o=String(t),s=(e=>/!(important)?$/.test(e))(o),a=i(o),l=e?`${e}.${a}`:a;let c=(0,n.Gv)(r.__cssMap)&&l in r.__cssMap?r.__cssMap[l].varRef:t;return c=i(c),s?`${c} !important`:c};function a(e){const{scale:t,transform:r,compose:n}=e;return(e,o)=>{var i;const a=s(t,e)(o);let l=null!=(i=null==r?void 0:r(a,o))?i:a;return n&&(l=n(l,o)),l}}var l=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function c(e,t){return r=>{const n={property:r,scale:e};return n.transform=a({scale:e,transform:t}),n}}var u=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t;var d=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var h={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},p={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var f={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},m={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},g=new Set(Object.values(m)),v=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),b=e=>e.trim();var y=e=>"string"==typeof e&&e.includes("(")&&e.includes(")");var x=e=>t=>`${e}(${t})`,S={filter:e=>"auto"!==e?e:h,backdropFilter:e=>"auto"!==e?e:p,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(S.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...d].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...d].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||v.has(e))return e;if(!y(e)&&!v.has(e))return`url('${e}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!n||!o)return e;const i=n.includes("-gradient")?n:`${n}-gradient`,[s,...a]=o.split(",").map(b).filter(Boolean);if(0===(null==a?void 0:a.length))return e;const l=s in m?m[s]:s;return a.unshift(l),`${i}(${a.map((e=>{if(g.has(e))return e;const r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=y(o)?o:o&&o.split(" "),s=`colors.${n}`,a=s in t.__cssMap?t.__cssMap[s].varRef:n;return i?[a,...Array.isArray(i)?i:[i]].join(" "):a})).join(", ")})`}(e,null!=t?t:{}),blur:x("blur"),opacity:x("opacity"),brightness:x("brightness"),contrast:x("contrast"),dropShadow:x("drop-shadow"),grayscale:x("grayscale"),hueRotate:e=>x("hue-rotate")(S.degree(e)),invert:x("invert"),saturate:x("saturate"),sepia:x("sepia"),bgImage(e){if(null==e)return e;return y(e)||v.has(e)?e:`url(${e})`},outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:r,divide:n}=null!=(t=f[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},k={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),gradients:c("gradients",S.gradient),radii:c("radii",S.px),space:c("space",l(S.vh,S.px)),spaceT:c("space",l(S.vh,S.px)),degreeT:e=>({property:e,transform:S.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:a({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:c("sizes",l(S.vh,S.px)),sizesT:c("sizes",l(S.vh,S.fraction)),shadows:c("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:u(t),transform:r?a({scale:r,compose:n}):n}},blur:c("blur",S.blur)},w={background:k.colors("background"),backgroundColor:k.colors("backgroundColor"),backgroundImage:k.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:S.bgClip},bgSize:k.prop("backgroundSize"),bgPosition:k.prop("backgroundPosition"),bg:k.colors("background"),bgColor:k.colors("backgroundColor"),bgPos:k.prop("backgroundPosition"),bgRepeat:k.prop("backgroundRepeat"),bgAttachment:k.prop("backgroundAttachment"),bgGradient:k.gradients("backgroundImage"),bgClip:{transform:S.bgClip}};Object.assign(w,{bgImage:w.backgroundImage,bgImg:w.backgroundImage});var C={border:k.borders("border"),borderWidth:k.borderWidths("borderWidth"),borderStyle:k.borderStyles("borderStyle"),borderColor:k.colors("borderColor"),borderRadius:k.radii("borderRadius"),borderTop:k.borders("borderTop"),borderBlockStart:k.borders("borderBlockStart"),borderTopLeftRadius:k.radii("borderTopLeftRadius"),borderStartStartRadius:k.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:k.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:k.radii("borderTopRightRadius"),borderStartEndRadius:k.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:k.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:k.borders("borderRight"),borderInlineEnd:k.borders("borderInlineEnd"),borderBottom:k.borders("borderBottom"),borderBlockEnd:k.borders("borderBlockEnd"),borderBottomLeftRadius:k.radii("borderBottomLeftRadius"),borderBottomRightRadius:k.radii("borderBottomRightRadius"),borderLeft:k.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:k.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:k.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:k.borders(["borderLeft","borderRight"]),borderInline:k.borders("borderInline"),borderY:k.borders(["borderTop","borderBottom"]),borderBlock:k.borders("borderBlock"),borderTopWidth:k.borderWidths("borderTopWidth"),borderBlockStartWidth:k.borderWidths("borderBlockStartWidth"),borderTopColor:k.colors("borderTopColor"),borderBlockStartColor:k.colors("borderBlockStartColor"),borderTopStyle:k.borderStyles("borderTopStyle"),borderBlockStartStyle:k.borderStyles("borderBlockStartStyle"),borderBottomWidth:k.borderWidths("borderBottomWidth"),borderBlockEndWidth:k.borderWidths("borderBlockEndWidth"),borderBottomColor:k.colors("borderBottomColor"),borderBlockEndColor:k.colors("borderBlockEndColor"),borderBottomStyle:k.borderStyles("borderBottomStyle"),borderBlockEndStyle:k.borderStyles("borderBlockEndStyle"),borderLeftWidth:k.borderWidths("borderLeftWidth"),borderInlineStartWidth:k.borderWidths("borderInlineStartWidth"),borderLeftColor:k.colors("borderLeftColor"),borderInlineStartColor:k.colors("borderInlineStartColor"),borderLeftStyle:k.borderStyles("borderLeftStyle"),borderInlineStartStyle:k.borderStyles("borderInlineStartStyle"),borderRightWidth:k.borderWidths("borderRightWidth"),borderInlineEndWidth:k.borderWidths("borderInlineEndWidth"),borderRightColor:k.colors("borderRightColor"),borderInlineEndColor:k.colors("borderInlineEndColor"),borderRightStyle:k.borderStyles("borderRightStyle"),borderInlineEndStyle:k.borderStyles("borderInlineEndStyle"),borderTopRadius:k.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:k.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:k.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:k.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(C,{rounded:C.borderRadius,roundedTop:C.borderTopRadius,roundedTopLeft:C.borderTopLeftRadius,roundedTopRight:C.borderTopRightRadius,roundedTopStart:C.borderStartStartRadius,roundedTopEnd:C.borderStartEndRadius,roundedBottom:C.borderBottomRadius,roundedBottomLeft:C.borderBottomLeftRadius,roundedBottomRight:C.borderBottomRightRadius,roundedBottomStart:C.borderEndStartRadius,roundedBottomEnd:C.borderEndEndRadius,roundedLeft:C.borderLeftRadius,roundedRight:C.borderRightRadius,roundedStart:C.borderInlineStartRadius,roundedEnd:C.borderInlineEndRadius,borderStart:C.borderInlineStart,borderEnd:C.borderInlineEnd,borderTopStartRadius:C.borderStartStartRadius,borderTopEndRadius:C.borderStartEndRadius,borderBottomStartRadius:C.borderEndStartRadius,borderBottomEndRadius:C.borderEndEndRadius,borderStartRadius:C.borderInlineStartRadius,borderEndRadius:C.borderInlineEndRadius,borderStartWidth:C.borderInlineStartWidth,borderEndWidth:C.borderInlineEndWidth,borderStartColor:C.borderInlineStartColor,borderEndColor:C.borderInlineEndColor,borderStartStyle:C.borderInlineStartStyle,borderEndStyle:C.borderInlineEndStyle});var P={color:k.colors("color"),textColor:k.colors("color"),fill:k.colors("fill"),stroke:k.colors("stroke")},T={boxShadow:k.shadows("boxShadow"),mixBlendMode:!0,blendMode:k.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:k.prop("backgroundBlendMode"),opacity:!0};Object.assign(T,{shadow:T.boxShadow});var E={filter:{transform:S.filter},blur:k.blur("--chakra-blur"),brightness:k.propT("--chakra-brightness",S.brightness),contrast:k.propT("--chakra-contrast",S.contrast),hueRotate:k.propT("--chakra-hue-rotate",S.hueRotate),invert:k.propT("--chakra-invert",S.invert),saturate:k.propT("--chakra-saturate",S.saturate),dropShadow:k.propT("--chakra-drop-shadow",S.dropShadow),backdropFilter:{transform:S.backdropFilter},backdropBlur:k.blur("--chakra-backdrop-blur"),backdropBrightness:k.propT("--chakra-backdrop-brightness",S.brightness),backdropContrast:k.propT("--chakra-backdrop-contrast",S.contrast),backdropHueRotate:k.propT("--chakra-backdrop-hue-rotate",S.hueRotate),backdropInvert:k.propT("--chakra-backdrop-invert",S.invert),backdropSaturate:k.propT("--chakra-backdrop-saturate",S.saturate)},_={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:S.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:k.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:k.space("gap"),rowGap:k.space("rowGap"),columnGap:k.space("columnGap")};Object.assign(_,{flexDir:_.flexDirection});var A={gridGap:k.space("gridGap"),gridColumnGap:k.space("gridColumnGap"),gridRowGap:k.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},R={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:S.outline},outlineOffset:!0,outlineColor:k.colors("outlineColor")},j={width:k.sizesT("width"),inlineSize:k.sizesT("inlineSize"),height:k.sizes("height"),blockSize:k.sizes("blockSize"),boxSize:k.sizes(["width","height"]),minWidth:k.sizes("minWidth"),minInlineSize:k.sizes("minInlineSize"),minHeight:k.sizes("minHeight"),minBlockSize:k.sizes("minBlockSize"),maxWidth:k.sizes("maxWidth"),maxInlineSize:k.sizes("maxInlineSize"),maxHeight:k.sizes("maxHeight"),maxBlockSize:k.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (min-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?o:e})`;return{[i]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (max-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?o:e})`;return{[i]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:k.propT("float",S.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(j,{w:j.width,h:j.height,minW:j.minWidth,maxW:j.maxWidth,minH:j.minHeight,maxH:j.maxHeight,overscroll:j.overscrollBehavior,overscrollX:j.overscrollBehaviorX,overscrollY:j.overscrollBehaviorY});var $={listStyleType:!0,listStylePosition:!0,listStylePos:k.prop("listStylePosition"),listStyleImage:!0,listStyleImg:k.prop("listStyleImage")};var z=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(n))return s.get(n);const a=e(r,n,o,i);return s.set(n,a),a}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n{const n={},o=z(e,t,{});for(const i in o){i in r&&null!=r[i]||(n[i]=o[i])}return n},V={srOnly:{transform:e=>!0===e?B:"focusable"===e?L:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>M(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>M(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>M(t,e,r)}},O={position:!0,pos:k.prop("position"),zIndex:k.prop("zIndex","zIndices"),inset:k.spaceT("inset"),insetX:k.spaceT(["left","right"]),insetInline:k.spaceT("insetInline"),insetY:k.spaceT(["top","bottom"]),insetBlock:k.spaceT("insetBlock"),top:k.spaceT("top"),insetBlockStart:k.spaceT("insetBlockStart"),bottom:k.spaceT("bottom"),insetBlockEnd:k.spaceT("insetBlockEnd"),left:k.spaceT("left"),insetInlineStart:k.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:k.spaceT("right"),insetInlineEnd:k.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(O,{insetStart:O.insetInlineStart,insetEnd:O.insetInlineEnd});var F={ring:{transform:S.ring},ringColor:k.colors("--chakra-ring-color"),ringOffset:k.prop("--chakra-ring-offset-width"),ringOffsetColor:k.colors("--chakra-ring-offset-color"),ringInset:k.prop("--chakra-ring-inset")},D={margin:k.spaceT("margin"),marginTop:k.spaceT("marginTop"),marginBlockStart:k.spaceT("marginBlockStart"),marginRight:k.spaceT("marginRight"),marginInlineEnd:k.spaceT("marginInlineEnd"),marginBottom:k.spaceT("marginBottom"),marginBlockEnd:k.spaceT("marginBlockEnd"),marginLeft:k.spaceT("marginLeft"),marginInlineStart:k.spaceT("marginInlineStart"),marginX:k.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:k.spaceT("marginInline"),marginY:k.spaceT(["marginTop","marginBottom"]),marginBlock:k.spaceT("marginBlock"),padding:k.space("padding"),paddingTop:k.space("paddingTop"),paddingBlockStart:k.space("paddingBlockStart"),paddingRight:k.space("paddingRight"),paddingBottom:k.space("paddingBottom"),paddingBlockEnd:k.space("paddingBlockEnd"),paddingLeft:k.space("paddingLeft"),paddingInlineStart:k.space("paddingInlineStart"),paddingInlineEnd:k.space("paddingInlineEnd"),paddingX:k.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:k.space("paddingInline"),paddingY:k.space(["paddingTop","paddingBottom"]),paddingBlock:k.space("paddingBlock")};Object.assign(D,{m:D.margin,mt:D.marginTop,mr:D.marginRight,me:D.marginInlineEnd,marginEnd:D.marginInlineEnd,mb:D.marginBottom,ml:D.marginLeft,ms:D.marginInlineStart,marginStart:D.marginInlineStart,mx:D.marginX,my:D.marginY,p:D.padding,pt:D.paddingTop,py:D.paddingY,px:D.paddingX,pb:D.paddingBottom,pl:D.paddingLeft,ps:D.paddingInlineStart,paddingStart:D.paddingInlineStart,pr:D.paddingRight,pe:D.paddingInlineEnd,paddingEnd:D.paddingInlineEnd});var I={textDecorationColor:k.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:k.shadows("textShadow")},N={clipPath:!0,transform:k.propT("transform",S.transform),transformOrigin:!0,translateX:k.spaceT("--chakra-translate-x"),translateY:k.spaceT("--chakra-translate-y"),skewX:k.degreeT("--chakra-skew-x"),skewY:k.degreeT("--chakra-skew-y"),scaleX:k.prop("--chakra-scale-x"),scaleY:k.prop("--chakra-scale-y"),scale:k.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:k.degreeT("--chakra-rotate")},H={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:k.prop("transitionDuration","transition.duration"),transitionProperty:k.prop("transitionProperty","transition.property"),transitionTimingFunction:k.prop("transitionTimingFunction","transition.easing")},W={fontFamily:k.prop("fontFamily","fonts"),fontSize:k.prop("fontSize","fontSizes",S.px),fontWeight:k.prop("fontWeight","fontWeights"),lineHeight:k.prop("lineHeight","lineHeights"),letterSpacing:k.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},U={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:k.spaceT("scrollMargin"),scrollMarginTop:k.spaceT("scrollMarginTop"),scrollMarginBottom:k.spaceT("scrollMarginBottom"),scrollMarginLeft:k.spaceT("scrollMarginLeft"),scrollMarginRight:k.spaceT("scrollMarginRight"),scrollMarginX:k.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:k.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:k.spaceT("scrollPadding"),scrollPaddingTop:k.spaceT("scrollPaddingTop"),scrollPaddingBottom:k.spaceT("scrollPaddingBottom"),scrollPaddingLeft:k.spaceT("scrollPaddingLeft"),scrollPaddingRight:k.spaceT("scrollPaddingRight"),scrollPaddingX:k.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:k.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Y(e){return(0,n.Gv)(e)&&e.reference?e.reference:String(e)}var q=(e,...t)=>t.map(Y).join(` ${e} `).replace(/calc/g,""),K=(...e)=>`calc(${q("+",...e)})`,G=(...e)=>`calc(${q("-",...e)})`,X=(...e)=>`calc(${q("*",...e)})`,J=(...e)=>`calc(${q("/",...e)})`,Z=e=>{const t=Y(e);return null==t||Number.isNaN(parseFloat(t))?X(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Q=Object.assign((e=>({add:(...t)=>Q(K(e,...t)),subtract:(...t)=>Q(G(e,...t)),multiply:(...t)=>Q(X(e,...t)),divide:(...t)=>Q(J(e,...t)),negate:()=>Q(Z(e)),toString:()=>e.toString()})),{add:K,subtract:G,multiply:X,divide:J,negate:Z});function ee(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){if(e.includes("\\."))return e;const t=!Number.isInteger(parseFloat(e.toString()));return t?e.replace(".","\\."):e}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}function te(e,t){return`var(${e}${t?`, ${t}`:""})`}function re(e,t=""){return ee(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function ne(e,t,r){const n=re(e,r);return{variable:n,reference:te(n,t)}}function oe(e,t){const r={};for(const n of t)if(Array.isArray(n)){const[t,o]=n;r[t]=ne(`${e}-${t}`,o)}else r[n]=ne(`${e}-${n}`);return r}function ie(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function se(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var ae=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,le=e=>Object.fromEntries(Object.entries(e).sort(ae));function ce(e){const t=le(e);return Object.assign(Object.values(t),t)}function ue(e){var t;if(!e)return e;e=null!=(t=se(e))?t:e;return"number"==typeof e?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`))}function de(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${se(e)})`),t&&r.push("and",`(max-width: ${se(t)})`),r.join(" ")}function he(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const r=ce(e),o=Object.entries(e).sort(ae).map((([e,t],r,n)=>{var o;let[,i]=null!=(o=n[r+1])?o:[];return i=parseFloat(i)>0?ue(i):void 0,{_minW:ue(t),breakpoint:e,minW:t,maxW:i,maxWQuery:de(null,i),minWQuery:de(t),minMaxQuery:de(t,i)}})),i=function(e){const t=Object.keys(le(e));return new Set(t)}(e),s=Array.from(i.values());return{keys:i,normalized:r,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>i.has(e)))},asObject:le(e),asArray:ce(e),details:o,get:e=>o.find((t=>t.breakpoint===e)),media:[null,...r.map((e=>de(e))).slice(1)],toArrayValue(e){if(!(0,n.Gv)(e))throw new Error("toArrayValue: value must be an object");const t=s.map((t=>{var r;return null!=(r=e[t])?r:null}));for(;null===ie(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,r)=>{const n=s[r];return null!=n&&null!=t&&(e[n]=t),e}),{})}}}var pe=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,fe=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,me=(e,t)=>`${e}:focus-visible ${t}`,ge=(e,t)=>`${e}:focus-within ${t}`,ve=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,be=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,ye=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,xe=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,Se=(e,t)=>`${e}:placeholder-shown ${t}`,ke=e=>Ce((t=>e(t,"&")),"[role=group]","[data-group]",".group"),we=e=>Ce((t=>e(t,"~ &")),"[data-peer]",".peer"),Ce=(e,...t)=>t.map(e).join(", "),Pe={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:ke(pe),_peerHover:we(pe),_groupFocus:ke(fe),_peerFocus:we(fe),_groupFocusVisible:ke(me),_peerFocusVisible:we(me),_groupActive:ke(ve),_peerActive:we(ve),_groupDisabled:ke(be),_peerDisabled:we(be),_groupInvalid:ke(ye),_peerInvalid:we(ye),_groupChecked:ke(xe),_peerChecked:we(xe),_groupFocusWithin:ke(ge),_peerFocusWithin:we(ge),_peerPlaceholderShown:we(Se),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Te=Object.keys(Pe);function Ee(e,t){return ne(String(e).replace(/\./g,"-"),void 0,t)}function _e(e,t,r={}){const{stop:n,getKey:o}=r;return function e(r,i=[]){var s;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(r)||Array.isArray(r)){const a={};for(const[l,c]of Object.entries(r)){const u=null!=(s=null==o?void 0:o(l))?s:l,d=[...i,u];if(null==n?void 0:n(r,d))return t(r,i);a[u]=e(c,d)}return a}return t(r,i)}(e)}var Ae=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];var Re=e=>Te.includes(e)||"default"===e;function je(e){var t;const r=function(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}(e),i=function(e){return function(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}(e,Ae)}(r),s=function(e){return e.semanticTokens}(r),a=function({tokens:e,semanticTokens:t}){const r={};return _e(e,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})})),_e(t,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(Re)}),r}({tokens:i,semanticTokens:s}),l=null==(t=r.config)?void 0:t.cssVarPrefix,{cssMap:c,cssVars:u}=function(e,t){let r={};const i={};for(const[s,a]of Object.entries(e)){const{isSemantic:l,value:c}=a,{variable:u,reference:d}=Ee(s,null==t?void 0:t.cssVarPrefix);if(!l){if(s.startsWith("space")){const e=s.split("."),[t,...r]=e,n=`${t}.-${r.join(".")}`,o=Q.negate(c),a=Q.negate(d);i[n]={value:o,var:u,varRef:a}}r[u]=c,i[s]={value:c,var:u,varRef:d};continue}const h=r=>{const n=[String(s).split(".")[0],r].join(".");if(!e[n])return r;const{reference:o}=Ee(n,null==t?void 0:t.cssVarPrefix);return o},p=(0,n.Gv)(c)?c:{default:c};r=o(r,Object.entries(p).reduce(((e,[t,r])=>{var n,o;if(!r)return e;const i=h(`${r}`);return"default"===t?(e[u]=i,e):(e[null!=(o=null==(n=Pe)?void 0:n[t])?o:t]={[u]:i},e)}),{})),i[s]={value:d,var:u,varRef:d}}return{cssVars:r,cssMap:i}}(a,{cssVarPrefix:l});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...u},__cssMap:c,__breakpoints:he(r.breakpoints)}),r}var $e=o({},w,C,P,_,j,E,F,R,A,V,O,T,D,U,W,I,N,$,H),ze=Object.assign({},D,j,_,A,O),Be=(Object.keys(ze),[...Object.keys($e),...Te]),Le={...$e,...Pe},Me=e=>e in Le;var Ve=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),Oe=(e,t)=>{var r,n;if(null==t)return t;const o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[s,a]=function(e){const t=[];let r="",n=!1;for(let o=0;o{var l,c,u;const d=(0,n.Jg)(e,i),h=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:o,media:i}=t.__breakpoints,s={};for(const a in e){let l=(0,n.Jg)(e[a],t);if(null==l)continue;if(l=(0,n.Gv)(l)&&r(l)?o(l):l,!Array.isArray(l)){s[a]=l;continue}const c=l.slice(0,i.length).length;for(let e=0;et=>Fe({theme:t,pseudos:Pe,configs:$e})(e);function Ie(e){return e}function Ne(e){return e}function He(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function We(e,t){for(let r=t+1;r{o(c,{[e]:h?g[e]:{[m]:g[e]}})})):p?c[m]=g:h?o(c,g):c[m]=g)}return c}}function Ye(e){return t=>{var r;const{variant:i,size:s,theme:a}=t,l=Ue(a);return o({},(0,n.Jg)(null!=(r=e.baseStyle)?r:{},t),l(e,"sizes",s,t),l(e,"variants",i,t))}}function qe(e){return function(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}(e,["styleConfig","size","variant","colorScheme"])}},64:(e,t,r)=>{"use strict";r.d(t,{o5:()=>p,Vl:()=>h});var n=r(4765),o=r(6540);var i=r(763);function s(){return{...(0,i.G6)(),theme:function(){const e=(0,o.useContext)(n.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}()}}var a=r(4515),l=r(4159),c=r(8394),u=r(115);function d(e,t={}){var r;const{styleConfig:n,...i}=t,{theme:d,colorMode:h}=s(),p=e?(0,l.rY)(d,`components.${e}`):void 0,f=n||p,m=c({theme:d,colorMode:h},null!=(r=null==f?void 0:f.defaultProps)?r:{},(0,l.TB)((0,l.cJ)(i,["children"]))),g=(0,o.useRef)({});if(f){const e=(0,a.uB)(f)(m);u(g.current,e)||(g.current=e)}return g.current}function h(e,t={}){return d(e,t)}function p(e,t={}){return d(e,t)}},6447:(e,t,r)=>{"use strict";r.d(t,{B:()=>A});var n=r(4515),o=new Set([...n.q8,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),i=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function s(e){return i.has(e)||!o.has(e)}var a=r(763),l=r(4159),c=r(3291);var u,d=r(8168),h=r(6540),p=r(6289),f=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,p.A)((function(e){return f.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),g=r(4765),v=r(41),b=r(7521),y=r(1287),x=m,S=function(e){return"theme"!==e},k=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?x:S},w=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},C=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,v.SF)(t,r,n),(0,y.s)((function(){return(0,v.sk)(t,r,n)})),null},P=function e(t,r){var n,o,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var a=w(t,r,i),l=a||k(s),c=!l("as");return function(){var u=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&p.push("label:"+n+";"),null==u[0]||void 0===u[0].raw)p.push.apply(p,u);else{0,p.push(u[0][0]);for(var f=u.length,m=1;mt=>{const{theme:r,css:o,__css:i,sx:s,...a}=t,u=(0,l.I$)(a,((e,t)=>(0,n.HU)(t))),d=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const n of t)if(null!=n)for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(e in r&&delete r[e],r[e]=n[e]);return r}({},i,(0,c.Jg)(e,t),(0,l.TB)(u),s),h=(0,n.AH)(d)(t.theme);return o?[h,o]:h};function _(e,t){const{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=s);const o=E({baseStyle:r}),i=T(e,n)(o);return h.forwardRef((function(e,t){const{colorMode:r,forced:n}=(0,a.G6)();return h.createElement(i,{ref:t,"data-theme":n?r:void 0,...e})}))}var A=function(){const e=new Map;return new Proxy(_,{apply:(e,t,r)=>_(...r),get:(t,r)=>(e.has(r)||e.set(r,_(r)),e.get(r))})}()},8855:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(6540);function o(e){return(0,n.forwardRef)(e)}},6621:(e,t,r)=>{"use strict";r.d(t,{oY:()=>c});var n=r(9857),o=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];var i=r(1310),s=r(8394);function a(e){return"function"==typeof e}var l=e=>function(...t){let r=[...t],i=t[t.length-1];var l;return l=i,(0,n.Gv)(l)&&o.every((e=>Object.prototype.hasOwnProperty.call(l,e)))&&r.length>1?r=r.slice(0,r.length-1):i=e,function(...e){return t=>e.reduce(((e,t)=>t(e)),t)}(...r.map((e=>t=>a(e)?e(t):function(...e){return s({},...e,u)}(t,e))))(i)},c=l(i.w4);l(i.$7);function u(e,t,r,n){if((a(e)||a(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...r)=>{const n=a(e)?e(...r):e,o=a(t)?t(...r):t;return s({},n,o,u)}}},1310:(e,t,r)=>{"use strict";r.d(t,{$7:()=>ds,w4:()=>us});var n={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},o={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},i={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},s={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},a={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},l={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},c={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},u={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},d={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},h={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},p={...h,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},f={breakpoints:s,zIndices:o,radii:l,blur:u,colors:a,...d,sizes:p,shadows:c,space:h,borders:i,transition:n},m=r(4515),{defineMultiStyleConfig:g,definePartsStyle:v}=(0,m.YU)(["stepper","step","title","description","indicator","separator","icon","number"]),b=(0,m.Vg)("stepper-indicator-size"),y=(0,m.Vg)("stepper-icon-size"),x=(0,m.Vg)("stepper-title-font-size"),S=(0,m.Vg)("stepper-description-font-size"),k=(0,m.Vg)("stepper-accent-color"),w=g({baseStyle:v((({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[k.variable]:`colors.${e}.500`,_dark:{[k.variable]:`colors.${e}.200`}},title:{fontSize:x.reference,fontWeight:"medium"},description:{fontSize:S.reference,color:"chakra-subtle-text"},number:{fontSize:x.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:y.reference,height:y.reference},indicator:{flexShrink:0,borderRadius:"full",width:b.reference,height:b.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:k.reference},"&[data-status=complete]":{bg:k.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:k.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${b.reference} - 8px)`,top:`calc(${b.reference} + 4px)`,insetStart:`calc(${b.reference} / 2 - 1px)`}}}))),sizes:{xs:v({stepper:{[b.variable]:"sizes.4",[y.variable]:"sizes.3",[x.variable]:"fontSizes.xs",[S.variable]:"fontSizes.xs"}}),sm:v({stepper:{[b.variable]:"sizes.6",[y.variable]:"sizes.4",[x.variable]:"fontSizes.sm",[S.variable]:"fontSizes.xs"}}),md:v({stepper:{[b.variable]:"sizes.8",[y.variable]:"sizes.5",[x.variable]:"fontSizes.md",[S.variable]:"fontSizes.sm"}}),lg:v({stepper:{[b.variable]:"sizes.10",[y.variable]:"sizes.6",[x.variable]:"fontSizes.lg",[S.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function C(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of o)t[e]=n(e);return C(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return C(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}var P=C("accordion").parts("root","container","button","panel").extend("icon"),T=C("alert").parts("title","description","container").extend("icon","spinner"),E=C("avatar").parts("label","badge","container").extend("excessLabel","group"),_=C("breadcrumb").parts("link","item","container").extend("separator"),A=(C("button").parts(),C("checkbox").parts("control","icon","container").extend("label")),R=(C("progress").parts("track","filledTrack").extend("label"),C("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),j=C("editable").parts("preview","input","textarea"),$=C("form").parts("container","requiredIndicator","helperText"),z=C("formError").parts("text","icon"),B=C("input").parts("addon","field","element","group"),L=C("list").parts("container","item","icon"),M=C("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),V=C("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),O=C("numberinput").parts("root","field","stepperGroup","stepper"),F=(C("pininput").parts("field"),C("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),D=C("progress").parts("label","filledTrack","track"),I=C("radio").parts("container","control","label"),N=C("select").parts("field","icon"),H=C("slider").parts("container","track","thumb","filledTrack","mark"),W=C("stat").parts("container","label","helpText","number","icon"),U=C("switch").parts("container","track","thumb","label"),Y=C("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),q=C("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),K=C("tag").parts("container","label","closeButton"),G=C("card").parts("container","header","body","footer");C("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function X(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function J(e,t){return`var(${X(e)}${t?`, ${t}`:""})`}function Z(e,t=""){return`--${function(e,t=""){return[t,X(e)].filter(Boolean).join("-")}(e,t)}`}function Q(e,t){const r=Z(e,null==t?void 0:t.prefix);return{variable:r,reference:J(r,ee(null==t?void 0:t.fallback))}}function ee(e){return"string"==typeof e?e:null==e?void 0:e.reference}var te=r(9857);function re(e){return(0,te.Gv)(e)&&e.reference?e.reference:String(e)}var ne=(e,...t)=>t.map(re).join(` ${e} `).replace(/calc/g,""),oe=(...e)=>`calc(${ne("+",...e)})`,ie=(...e)=>`calc(${ne("-",...e)})`,se=(...e)=>`calc(${ne("*",...e)})`,ae=(...e)=>`calc(${ne("/",...e)})`,le=e=>{const t=re(e);return null==t||Number.isNaN(parseFloat(t))?se(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ce=Object.assign((e=>({add:(...t)=>ce(oe(e,...t)),subtract:(...t)=>ce(ie(e,...t)),multiply:(...t)=>ce(se(e,...t)),divide:(...t)=>ce(ae(e,...t)),negate:()=>ce(le(e)),toString:()=>e.toString()})),{add:oe,subtract:ie,multiply:se,divide:ae,negate:le}),{defineMultiStyleConfig:ue,definePartsStyle:de}=(0,m.YU)(U.keys),he=Q("switch-track-width"),pe=Q("switch-track-height"),fe=Q("switch-track-diff"),me=ce.subtract(he,pe),ge=Q("switch-thumb-x"),ve=Q("switch-bg"),be=(0,m.H2)((e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[he.reference],height:[pe.reference],transitionProperty:"common",transitionDuration:"fast",[ve.variable]:"colors.gray.300",_dark:{[ve.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ve.variable]:`colors.${t}.500`,_dark:{[ve.variable]:`colors.${t}.200`}},bg:ve.reference}})),ye=(0,m.H2)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[pe.reference],height:[pe.reference],_checked:{transform:`translateX(${ge.reference})`}}),xe=ue({baseStyle:de((e=>({container:{[fe.variable]:me,[ge.variable]:fe.reference,_rtl:{[ge.variable]:ce(fe).negate().toString()}},track:be(e),thumb:ye}))),sizes:{sm:de({container:{[he.variable]:"1.375rem",[pe.variable]:"sizes.3"}}),md:de({container:{[he.variable]:"1.875rem",[pe.variable]:"sizes.4"}}),lg:de({container:{[he.variable]:"2.875rem",[pe.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Se(e,t){return r=>"dark"===r.colorMode?t:e}function ke(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:we,definePartsStyle:Ce}=(0,m.YU)(Y.keys),Pe=Ce({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Te=(0,m.H2)({"&[data-is-numeric=true]":{textAlign:"end"}}),Ee=we({baseStyle:Pe,variants:{simple:Ce((e=>{const{colorScheme:t}=e;return{th:{color:Se("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},td:{borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},caption:{color:Se("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),striped:Ce((e=>{const{colorScheme:t}=e;return{th:{color:Se("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},td:{borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},caption:{color:Se("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e)},td:{background:Se(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),unstyled:(0,m.H2)({})},sizes:{sm:Ce({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Ce({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Ce({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function _e(e,t,r){return Math.min(Math.max(e,r),t)}class Ae extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Re=Ae;function je(e){if("string"!=typeof e)throw new Re(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Fe.test(e)?function(e){const t=e.toLowerCase().trim(),r=ze[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new Re(e);return`#${r}`}(e):e;const r=Le.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(Be(e,2),16))),parseInt(Be(e[3]||"f",2),16)/255]}const n=Me.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const o=Ve.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const i=Oe.exec(t);if(i){const[t,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(_e(0,100,r)!==r)throw new Re(e);if(_e(0,100,n)!==n)throw new Re(e);return[...Ie(t,r,n),Number.isNaN(o)?1:o]}throw new Re(e)}const $e=e=>parseInt(e.replace(/_/g,""),36),ze="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=$e(t.substring(0,3)),n=$e(t.substring(3)).toString(16);let o="";for(let i=0;i<6-n.length;i++)o+="0";return e[r]=`${o}${n}`,e}),{});const Be=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),Le=new RegExp(`^#${Be("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Me=new RegExp(`^#${Be("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Ve=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Be(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Oe=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Fe=/^[a-z]+$/i,De=e=>Math.round(255*e),Ie=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(De);const o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*(t/100),s=i*(1-Math.abs(o%2-1));let a=0,l=0,c=0;o>=0&&o<1?(a=i,l=s):o>=1&&o<2?(a=s,l=i):o>=2&&o<3?(l=i,c=s):o>=3&&o<4?(l=s,c=i):o>=4&&o<5?(a=s,c=i):o>=5&&o<6&&(a=i,c=s);const u=n-i/2;return[a+u,l+u,c+u].map(De)};function Ne(e,t,r,n){return`rgba(${_e(0,255,e).toFixed()}, ${_e(0,255,t).toFixed()}, ${_e(0,255,r).toFixed()}, ${parseFloat(_e(0,1,n).toFixed(3))})`}function He(e,t){const[r,n,o,i]=je(e);return Ne(r,n,o,i-t)}var We=(e,t,r)=>{const n=function(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;n{const t=_e(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(r),i(n),o<1&&i(Math.round(255*o))}(n),n}catch{return null!=r?r:"#000000"}},Ue=e=>t=>{const r=(e=>{const[t,r,n]=je(e);return(299*t+587*r+114*n)/1e3})(We(t,e));return r<128?"dark":"light"},Ye=(e,t)=>r=>He(We(r,e),1-t);function qe(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n 45deg,\n ${t} 25%,\n transparent 25%,\n transparent 50%,\n ${t} 50%,\n ${t} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${e} ${e}`}}function Ke(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(r=e,0!==Object.keys(r).length)?e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let n=0;n>8*n&255).toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(n=e.colors)[Math.floor(Math.random()*n.length)]:t:t;var r,n}var Ge=(0,m.Vg)("tabs-color"),Xe=(0,m.Vg)("tabs-bg"),Je=(0,m.Vg)("tabs-border-color"),{defineMultiStyleConfig:Ze,definePartsStyle:Qe}=(0,m.YU)(q.keys),et=(0,m.H2)((e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}})),tt=(0,m.H2)((e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}})),rt=(0,m.H2)((e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}})),nt=(0,m.H2)({p:4}),ot=Qe((e=>({root:et(e),tab:tt(e),tablist:rt(e),tabpanel:nt}))),it={sm:Qe({tab:{py:1,px:4,fontSize:"sm"}}),md:Qe({tab:{fontSize:"md",py:2,px:4}}),lg:Qe({tab:{fontSize:"lg",py:3,px:4}})},st=Qe((e=>{const{colorScheme:t,orientation:r}=e,n="vertical"===r,o=n?"borderStart":"borderBottom",i=n?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Ge.variable]:`colors.${t}.600`,_dark:{[Ge.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Xe.variable]:"colors.gray.200",_dark:{[Xe.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ge.reference,bg:Xe.reference}}})),at=Qe((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Je.variable]:"transparent",_selected:{[Ge.variable]:`colors.${t}.600`,[Je.variable]:"colors.white",_dark:{[Ge.variable]:`colors.${t}.300`,[Je.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Je.reference},color:Ge.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),lt=Qe((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Xe.variable]:"colors.gray.50",_dark:{[Xe.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Xe.variable]:"colors.white",[Ge.variable]:`colors.${t}.600`,_dark:{[Xe.variable]:"colors.gray.800",[Ge.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ge.reference,bg:Xe.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),ct=Qe((e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:We(r,`${t}.700`),bg:We(r,`${t}.100`)}}}})),ut=Ze({baseStyle:ot,sizes:it,variants:{line:st,enclosed:at,"enclosed-colored":lt,"soft-rounded":ct,"solid-rounded":Qe((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ge.variable]:"colors.gray.600",_dark:{[Ge.variable]:"inherit"},_selected:{[Ge.variable]:"colors.white",[Xe.variable]:`colors.${t}.600`,_dark:{[Ge.variable]:"colors.gray.800",[Xe.variable]:`colors.${t}.300`}},color:Ge.reference,bg:Xe.reference}}})),unstyled:Qe({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),dt=(0,m.lL)("badge",["bg","color","shadow"]),ht=(0,m.H2)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:dt.bg.reference,color:dt.color.reference,boxShadow:dt.shadow.reference}),pt=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e,n=Ye(`${t}.500`,.6)(r);return{[dt.bg.variable]:`colors.${t}.500`,[dt.color.variable]:"colors.white",_dark:{[dt.bg.variable]:n,[dt.color.variable]:"colors.whiteAlpha.800"}}})),ft=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e,n=Ye(`${t}.200`,.16)(r);return{[dt.bg.variable]:`colors.${t}.100`,[dt.color.variable]:`colors.${t}.800`,_dark:{[dt.bg.variable]:n,[dt.color.variable]:`colors.${t}.200`}}})),mt=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e,n=Ye(`${t}.200`,.8)(r);return{[dt.color.variable]:`colors.${t}.500`,_dark:{[dt.color.variable]:n},[dt.shadow.variable]:`inset 0 0 0px 1px ${dt.color.reference}`}})),gt={solid:pt,subtle:ft,outline:mt},vt=(0,m.Dt)({baseStyle:ht,variants:gt,defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:bt,definePartsStyle:yt}=(0,m.YU)(K.keys),xt=(0,m.Vg)("tag-bg"),St=(0,m.Vg)("tag-color"),kt=(0,m.Vg)("tag-shadow"),wt=(0,m.Vg)("tag-min-height"),Ct=(0,m.Vg)("tag-min-width"),Pt=(0,m.Vg)("tag-font-size"),Tt=(0,m.Vg)("tag-padding-inline"),Et=yt({container:(0,m.H2)({fontWeight:"medium",lineHeight:1.2,outline:0,[St.variable]:dt.color.reference,[xt.variable]:dt.bg.reference,[kt.variable]:dt.shadow.reference,color:St.reference,bg:xt.reference,boxShadow:kt.reference,borderRadius:"md",minH:wt.reference,minW:Ct.reference,fontSize:Pt.reference,px:Tt.reference,_focusVisible:{[kt.variable]:"shadows.outline"}}),label:(0,m.H2)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,m.H2)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),_t={sm:yt({container:{[wt.variable]:"sizes.5",[Ct.variable]:"sizes.5",[Pt.variable]:"fontSizes.xs",[Tt.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:yt({container:{[wt.variable]:"sizes.6",[Ct.variable]:"sizes.6",[Pt.variable]:"fontSizes.sm",[Tt.variable]:"space.2"}}),lg:yt({container:{[wt.variable]:"sizes.8",[Ct.variable]:"sizes.8",[Pt.variable]:"fontSizes.md",[Tt.variable]:"space.3"}})},At={subtle:yt((e=>{var t;return{container:null==(t=vt.variants)?void 0:t.subtle(e)}})),solid:yt((e=>{var t;return{container:null==(t=vt.variants)?void 0:t.solid(e)}})),outline:yt((e=>{var t;return{container:null==(t=vt.variants)?void 0:t.outline(e)}}))},Rt=bt({variants:At,baseStyle:Et,sizes:_t,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:jt,defineMultiStyleConfig:$t}=(0,m.YU)(B.keys),zt=(0,m.Vg)("input-height"),Bt=(0,m.Vg)("input-font-size"),Lt=(0,m.Vg)("input-padding"),Mt=(0,m.Vg)("input-border-radius"),Vt=jt({addon:{height:zt.reference,fontSize:Bt.reference,px:Lt.reference,borderRadius:Mt.reference},field:{width:"100%",height:zt.reference,fontSize:Bt.reference,px:Lt.reference,borderRadius:Mt.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Ot={lg:(0,m.H2)({[Bt.variable]:"fontSizes.lg",[Lt.variable]:"space.4",[Mt.variable]:"radii.md",[zt.variable]:"sizes.12"}),md:(0,m.H2)({[Bt.variable]:"fontSizes.md",[Lt.variable]:"space.4",[Mt.variable]:"radii.md",[zt.variable]:"sizes.10"}),sm:(0,m.H2)({[Bt.variable]:"fontSizes.sm",[Lt.variable]:"space.3",[Mt.variable]:"radii.sm",[zt.variable]:"sizes.8"}),xs:(0,m.H2)({[Bt.variable]:"fontSizes.xs",[Lt.variable]:"space.2",[Mt.variable]:"radii.sm",[zt.variable]:"sizes.6"})},Ft={lg:jt({field:Ot.lg,group:Ot.lg}),md:jt({field:Ot.md,group:Ot.md}),sm:jt({field:Ot.sm,group:Ot.sm}),xs:jt({field:Ot.xs,group:Ot.xs})};function Dt(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||Se("blue.500","blue.300")(e),errorBorderColor:r||Se("red.500","red.300")(e)}}var It,Nt,Ht,Wt,Ut,Yt,qt,Kt,Gt,Xt,Jt,Zt=jt((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Dt(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Se("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:We(t,n),boxShadow:`0 0 0 1px ${We(t,n)}`},_focusVisible:{zIndex:1,borderColor:We(t,r),boxShadow:`0 0 0 1px ${We(t,r)}`}},addon:{border:"1px solid",borderColor:Se("inherit","whiteAlpha.50")(e),bg:Se("gray.100","whiteAlpha.300")(e)}}})),Qt=jt((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Dt(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Se("gray.100","whiteAlpha.50")(e),_hover:{bg:Se("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:We(t,n)},_focusVisible:{bg:"transparent",borderColor:We(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Se("gray.100","whiteAlpha.50")(e)}}})),er=jt((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Dt(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:We(t,n),boxShadow:`0px 1px 0px 0px ${We(t,n)}`},_focusVisible:{borderColor:We(t,r),boxShadow:`0px 1px 0px 0px ${We(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),tr=$t({baseStyle:Vt,sizes:Ft,variants:{outline:Zt,filled:Qt,flushed:er,unstyled:jt({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),rr=(0,m.H2)({...null==(It=tr.baseStyle)?void 0:It.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),nr={outline:(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.outline(e).field)?r:{}})),flushed:(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.flushed(e).field)?r:{}})),filled:(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.filled(e).field)?r:{}})),unstyled:null!=(Ht=null==(Nt=tr.variants)?void 0:Nt.unstyled.field)?Ht:{}},or={xs:null!=(Ut=null==(Wt=tr.sizes)?void 0:Wt.xs.field)?Ut:{},sm:null!=(qt=null==(Yt=tr.sizes)?void 0:Yt.sm.field)?qt:{},md:null!=(Gt=null==(Kt=tr.sizes)?void 0:Kt.md.field)?Gt:{},lg:null!=(Jt=null==(Xt=tr.sizes)?void 0:Xt.lg.field)?Jt:{}},ir=(0,m.Dt)({baseStyle:rr,sizes:or,variants:nr,defaultProps:{size:"md",variant:"outline"}}),sr=Q("tooltip-bg"),ar=Q("tooltip-fg"),lr=Q("popper-arrow-bg"),cr=(0,m.H2)({bg:sr.reference,color:ar.reference,[sr.variable]:"colors.gray.700",[ar.variable]:"colors.whiteAlpha.900",_dark:{[sr.variable]:"colors.gray.300",[ar.variable]:"colors.gray.900"},[lr.variable]:sr.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),ur=(0,m.Dt)({baseStyle:cr}),{defineMultiStyleConfig:dr,definePartsStyle:hr}=(0,m.YU)(D.keys),pr=(0,m.H2)((e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=Se(qe(),qe("1rem","rgba(0,0,0,0.1)"))(e),s=Se(`${t}.500`,`${t}.200`)(e),a=`linear-gradient(\n to right,\n transparent 0%,\n ${We(r,s)} 50%,\n transparent 100%\n )`;return{...!n&&o&&i,...n?{bgImage:a}:{bgColor:s}}})),fr=(0,m.H2)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),mr=(0,m.H2)((e=>({bg:Se("gray.100","whiteAlpha.300")(e)}))),gr=(0,m.H2)((e=>({transitionProperty:"common",transitionDuration:"slow",...pr(e)}))),vr=hr((e=>({label:fr,filledTrack:gr(e),track:mr(e)}))),br=dr({sizes:{xs:hr({track:{h:"1"}}),sm:hr({track:{h:"2"}}),md:hr({track:{h:"3"}}),lg:hr({track:{h:"4"}})},baseStyle:vr,defaultProps:{size:"md",colorScheme:"blue"}});function yr(e,...t){return"function"==typeof e?e(...t):e}var xr,Sr,kr,wr,Cr,Pr,Tr,Er,_r,{definePartsStyle:Ar,defineMultiStyleConfig:Rr}=(0,m.YU)(A.keys),jr=(0,m.Vg)("checkbox-size"),$r=(0,m.H2)((e=>{const{colorScheme:t}=e;return{w:jr.reference,h:jr.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Se(`${t}.500`,`${t}.200`)(e),borderColor:Se(`${t}.500`,`${t}.200`)(e),color:Se("white","gray.900")(e),_hover:{bg:Se(`${t}.600`,`${t}.300`)(e),borderColor:Se(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Se("gray.200","transparent")(e),bg:Se("gray.200","whiteAlpha.300")(e),color:Se("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Se(`${t}.500`,`${t}.200`)(e),borderColor:Se(`${t}.500`,`${t}.200`)(e),color:Se("white","gray.900")(e)},_disabled:{bg:Se("gray.100","whiteAlpha.100")(e),borderColor:Se("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Se("red.500","red.300")(e)}}})),zr=(0,m.H2)({_disabled:{cursor:"not-allowed"}}),Br=(0,m.H2)({userSelect:"none",_disabled:{opacity:.4}}),Lr=(0,m.H2)({transitionProperty:"transform",transitionDuration:"normal"}),Mr=Rr({baseStyle:Ar((e=>({icon:Lr,container:zr,control:yr($r,e),label:Br}))),sizes:{sm:Ar({control:{[jr.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ar({control:{[jr.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ar({control:{[jr.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Vr,definePartsStyle:Or}=(0,m.YU)(I.keys),Fr=(0,m.H2)((e=>{var t;const r=null==(t=yr(Mr.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}})),Dr=Or((e=>{var t,r,n,o;return{label:null==(r=(t=Mr).baseStyle)?void 0:r.call(t,e).label,container:null==(o=(n=Mr).baseStyle)?void 0:o.call(n,e).container,control:Fr(e)}})),Ir=Vr({baseStyle:Dr,sizes:{md:Or({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Or({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Or({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Nr,definePartsStyle:Hr}=(0,m.YU)(N.keys),Wr=(0,m.Vg)("select-bg"),Ur=Hr({field:(0,m.H2)({...null==(xr=tr.baseStyle)?void 0:xr.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Wr.reference,[Wr.variable]:"colors.white",_dark:{[Wr.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Wr.reference}}),icon:(0,m.H2)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),Yr=(0,m.H2)({paddingInlineEnd:"8"}),qr=Nr({baseStyle:Ur,sizes:{lg:{...null==(Sr=tr.sizes)?void 0:Sr.lg,field:{...null==(kr=tr.sizes)?void 0:kr.lg.field,...Yr}},md:{...null==(wr=tr.sizes)?void 0:wr.md,field:{...null==(Cr=tr.sizes)?void 0:Cr.md.field,...Yr}},sm:{...null==(Pr=tr.sizes)?void 0:Pr.sm,field:{...null==(Tr=tr.sizes)?void 0:Tr.sm.field,...Yr}},xs:{...null==(Er=tr.sizes)?void 0:Er.xs,field:{...null==(_r=tr.sizes)?void 0:_r.xs.field,...Yr},icon:{insetEnd:"1"}}},variants:tr.variants,defaultProps:tr.defaultProps}),Kr=(0,m.Vg)("skeleton-start-color"),Gr=(0,m.Vg)("skeleton-end-color"),Xr=(0,m.H2)({[Kr.variable]:"colors.gray.100",[Gr.variable]:"colors.gray.400",_dark:{[Kr.variable]:"colors.gray.800",[Gr.variable]:"colors.gray.600"},background:Kr.reference,borderColor:Gr.reference,opacity:.7,borderRadius:"sm"}),Jr=(0,m.Dt)({baseStyle:Xr}),Zr=(0,m.Vg)("skip-link-bg"),Qr=(0,m.H2)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Zr.variable]:"colors.white",_dark:{[Zr.variable]:"colors.gray.700"},bg:Zr.reference}}),en=(0,m.Dt)({baseStyle:Qr}),{defineMultiStyleConfig:tn,definePartsStyle:rn}=(0,m.YU)(H.keys),nn=(0,m.Vg)("slider-thumb-size"),on=(0,m.Vg)("slider-track-size"),sn=(0,m.Vg)("slider-bg"),an=(0,m.H2)((e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...ke({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}})),ln=(0,m.H2)((e=>({...ke({orientation:e.orientation,horizontal:{h:on.reference},vertical:{w:on.reference}}),overflow:"hidden",borderRadius:"sm",[sn.variable]:"colors.gray.200",_dark:{[sn.variable]:"colors.whiteAlpha.200"},_disabled:{[sn.variable]:"colors.gray.300",_dark:{[sn.variable]:"colors.whiteAlpha.300"}},bg:sn.reference}))),cn=(0,m.H2)((e=>{const{orientation:t}=e;return{...ke({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:nn.reference,h:nn.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}})),un=(0,m.H2)((e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[sn.variable]:`colors.${t}.500`,_dark:{[sn.variable]:`colors.${t}.200`},bg:sn.reference}})),dn=tn({baseStyle:rn((e=>({container:an(e),track:ln(e),thumb:cn(e),filledTrack:un(e)}))),sizes:{lg:rn({container:{[nn.variable]:"sizes.4",[on.variable]:"sizes.1"}}),md:rn({container:{[nn.variable]:"sizes.3.5",[on.variable]:"sizes.1"}}),sm:rn({container:{[nn.variable]:"sizes.2.5",[on.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),hn=Q("spinner-size"),pn=(0,m.H2)({width:[hn.reference],height:[hn.reference]}),fn={xs:(0,m.H2)({[hn.variable]:"sizes.3"}),sm:(0,m.H2)({[hn.variable]:"sizes.4"}),md:(0,m.H2)({[hn.variable]:"sizes.6"}),lg:(0,m.H2)({[hn.variable]:"sizes.8"}),xl:(0,m.H2)({[hn.variable]:"sizes.12"})},mn=(0,m.Dt)({baseStyle:pn,sizes:fn,defaultProps:{size:"md"}}),{defineMultiStyleConfig:gn,definePartsStyle:vn}=(0,m.YU)(W.keys),bn=gn({baseStyle:vn({container:{},label:(0,m.H2)({fontWeight:"medium"}),helpText:(0,m.H2)({opacity:.8,marginBottom:"2"}),number:(0,m.H2)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,m.H2)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:vn({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),yn=(0,m.Vg)("kbd-bg"),xn=(0,m.H2)({[yn.variable]:"colors.gray.100",_dark:{[yn.variable]:"colors.whiteAlpha.100"},bg:yn.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),Sn=(0,m.Dt)({baseStyle:xn}),kn=(0,m.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),wn=(0,m.Dt)({baseStyle:kn}),{defineMultiStyleConfig:Cn,definePartsStyle:Pn}=(0,m.YU)(L.keys),Tn=Cn({baseStyle:Pn({icon:(0,m.H2)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:En,definePartsStyle:_n}=(0,m.YU)(M.keys),An=(0,m.Vg)("menu-bg"),Rn=(0,m.Vg)("menu-shadow"),jn=(0,m.H2)({[An.variable]:"#fff",[Rn.variable]:"shadows.sm",_dark:{[An.variable]:"colors.gray.700",[Rn.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:An.reference,boxShadow:Rn.reference}),$n=(0,m.H2)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[An.variable]:"colors.gray.100",_dark:{[An.variable]:"colors.whiteAlpha.100"}},_active:{[An.variable]:"colors.gray.200",_dark:{[An.variable]:"colors.whiteAlpha.200"}},_expanded:{[An.variable]:"colors.gray.100",_dark:{[An.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:An.reference}),zn=(0,m.H2)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),Bn=(0,m.H2)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),Ln=(0,m.H2)({opacity:.6}),Mn=(0,m.H2)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),Vn=En({baseStyle:_n({button:(0,m.H2)({transitionProperty:"common",transitionDuration:"normal"}),list:jn,item:$n,groupTitle:zn,icon:Bn,command:Ln,divider:Mn})}),{defineMultiStyleConfig:On,definePartsStyle:Fn}=(0,m.YU)(V.keys),Dn=(0,m.Vg)("modal-bg"),In=(0,m.Vg)("modal-shadow"),Nn=(0,m.H2)({bg:"blackAlpha.600",zIndex:"modal"}),Hn=(0,m.H2)((e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}})),Wn=(0,m.H2)((e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[Dn.variable]:"colors.white",[In.variable]:"shadows.lg",_dark:{[Dn.variable]:"colors.gray.700",[In.variable]:"shadows.dark-lg"},bg:Dn.reference,boxShadow:In.reference}})),Un=(0,m.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),Yn=(0,m.H2)({position:"absolute",top:"2",insetEnd:"3"}),qn=(0,m.H2)((e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}})),Kn=(0,m.H2)({px:"6",py:"4"});function Gn(e){return Fn("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var Xn=On({baseStyle:Fn((e=>({overlay:Nn,dialogContainer:yr(Hn,e),dialog:yr(Wn,e),header:Un,closeButton:Yn,body:yr(qn,e),footer:Kn}))),sizes:{xs:Gn("xs"),sm:Gn("sm"),md:Gn("md"),lg:Gn("lg"),xl:Gn("xl"),"2xl":Gn("2xl"),"3xl":Gn("3xl"),"4xl":Gn("4xl"),"5xl":Gn("5xl"),"6xl":Gn("6xl"),full:Gn("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Jn,definePartsStyle:Zn}=(0,m.YU)(O.keys),Qn=Q("number-input-stepper-width"),eo=Q("number-input-input-padding"),to=ce(Qn).add("0.5rem").toString(),ro=Q("number-input-bg"),no=Q("number-input-color"),oo=Q("number-input-border-color"),io=(0,m.H2)({[Qn.variable]:"sizes.6",[eo.variable]:to}),so=(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=yr(tr.baseStyle,e))?void 0:t.field)?r:{}})),ao=(0,m.H2)({width:Qn.reference}),lo=(0,m.H2)({borderStart:"1px solid",borderStartColor:oo.reference,color:no.reference,bg:ro.reference,[no.variable]:"colors.chakra-body-text",[oo.variable]:"colors.chakra-border-color",_dark:{[no.variable]:"colors.whiteAlpha.800",[oo.variable]:"colors.whiteAlpha.300"},_active:{[ro.variable]:"colors.gray.200",_dark:{[ro.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}}),co=Zn((e=>{var t;return{root:io,field:null!=(t=yr(so,e))?t:{},stepperGroup:ao,stepper:lo}}));function uo(e){var t,r,n;const o=null==(t=tr.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},s=null!=(n=null==(r=o.field)?void 0:r.fontSize)?n:"md",a=d.fontSizes[s];return Zn({field:{...o.field,paddingInlineEnd:eo.reference,verticalAlign:"top"},stepper:{fontSize:ce(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var ho,po,fo,mo=Jn({baseStyle:co,sizes:{xs:uo("xs"),sm:uo("sm"),md:uo("md"),lg:uo("lg")},variants:tr.variants,defaultProps:tr.defaultProps}),go=(0,m.H2)({...null==(ho=tr.baseStyle)?void 0:ho.field,textAlign:"center"}),vo={lg:(0,m.H2)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,m.H2)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,m.H2)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,m.H2)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},bo={outline:(0,m.H2)((e=>{var t,r,n;return null!=(n=null==(r=yr(null==(t=tr.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}})),flushed:(0,m.H2)((e=>{var t,r,n;return null!=(n=null==(r=yr(null==(t=tr.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}})),filled:(0,m.H2)((e=>{var t,r,n;return null!=(n=null==(r=yr(null==(t=tr.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}})),unstyled:null!=(fo=null==(po=tr.variants)?void 0:po.unstyled.field)?fo:{}},yo=(0,m.Dt)({baseStyle:go,sizes:vo,variants:bo,defaultProps:tr.defaultProps}),{defineMultiStyleConfig:xo,definePartsStyle:So}=(0,m.YU)(F.keys),ko=Q("popper-bg"),wo=Q("popper-arrow-bg"),Co=Q("popper-arrow-shadow-color"),Po=xo({baseStyle:So({popper:(0,m.H2)({zIndex:10}),content:(0,m.H2)({[ko.variable]:"colors.white",bg:ko.reference,[wo.variable]:ko.reference,[Co.variable]:"colors.gray.200",_dark:{[ko.variable]:"colors.gray.700",[Co.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,m.H2)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,m.H2)({px:3,py:2}),footer:(0,m.H2)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,m.H2)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:To,defineMultiStyleConfig:Eo}=(0,m.YU)(R.keys),_o=(0,m.Vg)("drawer-bg"),Ao=(0,m.Vg)("drawer-box-shadow");function Ro(e){return To("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var jo=(0,m.H2)({bg:"blackAlpha.600",zIndex:"modal"}),$o=(0,m.H2)({display:"flex",zIndex:"modal",justifyContent:"center"}),zo=(0,m.H2)((e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[_o.variable]:"colors.white",[Ao.variable]:"shadows.lg",_dark:{[_o.variable]:"colors.gray.700",[Ao.variable]:"shadows.dark-lg"},bg:_o.reference,boxShadow:Ao.reference}})),Bo=(0,m.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),Lo=(0,m.H2)({position:"absolute",top:"2",insetEnd:"3"}),Mo=(0,m.H2)({px:"6",py:"2",flex:"1",overflow:"auto"}),Vo=(0,m.H2)({px:"6",py:"4"}),Oo=Eo({baseStyle:To((e=>({overlay:jo,dialogContainer:$o,dialog:yr(zo,e),header:Bo,closeButton:Lo,body:Mo,footer:Vo}))),sizes:{xs:Ro("xs"),sm:Ro("md"),md:Ro("lg"),lg:Ro("2xl"),xl:Ro("4xl"),full:Ro("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Fo,defineMultiStyleConfig:Do}=(0,m.YU)(j.keys),Io=Do({baseStyle:Fo({preview:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:No,defineMultiStyleConfig:Ho}=(0,m.YU)($.keys),Wo=(0,m.Vg)("form-control-color"),Uo=Ho({baseStyle:No({container:{width:"100%",position:"relative"},requiredIndicator:(0,m.H2)({marginStart:"1",[Wo.variable]:"colors.red.500",_dark:{[Wo.variable]:"colors.red.300"},color:Wo.reference}),helperText:(0,m.H2)({mt:"2",[Wo.variable]:"colors.gray.600",_dark:{[Wo.variable]:"colors.whiteAlpha.600"},color:Wo.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:Yo,defineMultiStyleConfig:qo}=(0,m.YU)(z.keys),Ko=(0,m.Vg)("form-error-color"),Go=qo({baseStyle:Yo({text:(0,m.H2)({[Ko.variable]:"colors.red.500",_dark:{[Ko.variable]:"colors.red.300"},color:Ko.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,m.H2)({marginEnd:"0.5em",[Ko.variable]:"colors.red.500",_dark:{[Ko.variable]:"colors.red.300"},color:Ko.reference})})}),Xo=(0,m.H2)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),Jo=(0,m.Dt)({baseStyle:Xo}),Zo=(0,m.H2)({fontFamily:"heading",fontWeight:"bold"}),Qo={"4xl":(0,m.H2)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,m.H2)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,m.H2)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,m.H2)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,m.H2)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,m.H2)({fontSize:"xl",lineHeight:1.2}),sm:(0,m.H2)({fontSize:"md",lineHeight:1.2}),xs:(0,m.H2)({fontSize:"sm",lineHeight:1.2})},ei=(0,m.Dt)({baseStyle:Zo,sizes:Qo,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:ti,definePartsStyle:ri}=(0,m.YU)(_.keys),ni=(0,m.Vg)("breadcrumb-link-decor"),oi=ti({baseStyle:ri({link:(0,m.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:ni.reference,[ni.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[ni.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),ii=(0,m.H2)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),si=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:Se("gray.800","whiteAlpha.900")(e),_hover:{bg:Se("gray.100","whiteAlpha.200")(e)},_active:{bg:Se("gray.200","whiteAlpha.300")(e)}};const n=Ye(`${t}.200`,.12)(r),o=Ye(`${t}.200`,.24)(r);return{color:Se(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Se(`${t}.50`,n)(e)},_active:{bg:Se(`${t}.100`,o)(e)}}})),ai=(0,m.H2)((e=>{const{colorScheme:t}=e,r=Se("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...yr(si,e)}})),li={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},ci=(0,m.H2)((e=>{var t;const{colorScheme:r}=e;if("gray"===r){const t=Se("gray.100","whiteAlpha.200")(e);return{bg:t,color:Se("gray.800","whiteAlpha.900")(e),_hover:{bg:Se("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Se("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:s=`${r}.700`}=null!=(t=li[r])?t:{},a=Se(n,`${r}.200`)(e);return{bg:a,color:Se(o,"gray.800")(e),_hover:{bg:Se(i,`${r}.300`)(e),_disabled:{bg:a}},_active:{bg:Se(s,`${r}.400`)(e)}}})),ui=(0,m.H2)((e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Se(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Se(`${t}.700`,`${t}.500`)(e)}}})),di=(0,m.H2)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),hi={ghost:si,outline:ai,solid:ci,link:ui,unstyled:di},pi={lg:(0,m.H2)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,m.H2)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,m.H2)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,m.H2)({h:"6",minW:"6",fontSize:"xs",px:"2"})},fi=(0,m.Dt)({baseStyle:ii,variants:hi,sizes:pi,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:mi,defineMultiStyleConfig:gi}=(0,m.YU)(G.keys),vi=(0,m.Vg)("card-bg"),bi=(0,m.Vg)("card-padding"),yi=(0,m.Vg)("card-shadow"),xi=(0,m.Vg)("card-radius"),Si=(0,m.Vg)("card-border-width","0"),ki=(0,m.Vg)("card-border-color"),wi=mi({container:{[vi.variable]:"colors.chakra-body-bg",backgroundColor:vi.reference,boxShadow:yi.reference,borderRadius:xi.reference,color:"chakra-body-text",borderWidth:Si.reference,borderColor:ki.reference},body:{padding:bi.reference,flex:"1 1 0%"},header:{padding:bi.reference},footer:{padding:bi.reference}}),Ci={sm:mi({container:{[xi.variable]:"radii.base",[bi.variable]:"space.3"}}),md:mi({container:{[xi.variable]:"radii.md",[bi.variable]:"space.5"}}),lg:mi({container:{[xi.variable]:"radii.xl",[bi.variable]:"space.7"}})},Pi=gi({baseStyle:wi,variants:{elevated:mi({container:{[yi.variable]:"shadows.base",_dark:{[vi.variable]:"colors.gray.700"}}}),outline:mi({container:{[Si.variable]:"1px",[ki.variable]:"colors.chakra-border-color"}}),filled:mi({container:{[vi.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[bi.variable]:0},header:{[bi.variable]:0},footer:{[bi.variable]:0}}},sizes:Ci,defaultProps:{variant:"elevated",size:"md"}}),Ti=Q("close-button-size"),Ei=Q("close-button-bg"),_i=(0,m.H2)({w:[Ti.reference],h:[Ti.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Ei.variable]:"colors.blackAlpha.100",_dark:{[Ei.variable]:"colors.whiteAlpha.100"}},_active:{[Ei.variable]:"colors.blackAlpha.200",_dark:{[Ei.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Ei.reference}),Ai={lg:(0,m.H2)({[Ti.variable]:"sizes.10",fontSize:"md"}),md:(0,m.H2)({[Ti.variable]:"sizes.8",fontSize:"xs"}),sm:(0,m.H2)({[Ti.variable]:"sizes.6",fontSize:"2xs"})},Ri=(0,m.Dt)({baseStyle:_i,sizes:Ai,defaultProps:{size:"md"}}),{variants:ji,defaultProps:$i}=vt,zi=(0,m.H2)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:dt.bg.reference,color:dt.color.reference,boxShadow:dt.shadow.reference}),Bi=(0,m.Dt)({baseStyle:zi,variants:ji,defaultProps:$i}),Li=(0,m.H2)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),Mi=(0,m.Dt)({baseStyle:Li}),Vi=(0,m.H2)({opacity:.6,borderColor:"inherit"}),Oi={solid:(0,m.H2)({borderStyle:"solid"}),dashed:(0,m.H2)({borderStyle:"dashed"})},Fi=(0,m.Dt)({baseStyle:Vi,variants:Oi,defaultProps:{variant:"solid"}}),{definePartsStyle:Di,defineMultiStyleConfig:Ii}=(0,m.YU)(P.keys),Ni=Ii({baseStyle:Di({container:(0,m.H2)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,m.H2)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,m.H2)({pt:"2",px:"4",pb:"5"}),icon:(0,m.H2)({fontSize:"1.25em"})})}),{definePartsStyle:Hi,defineMultiStyleConfig:Wi}=(0,m.YU)(T.keys),Ui=(0,m.Vg)("alert-fg"),Yi=(0,m.Vg)("alert-bg");function qi(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:Ye(`${r}.200`,.16)(t)}}var Ki=Wi({baseStyle:Hi({container:{bg:Yi.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ui.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ui.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:Hi((e=>{const{colorScheme:t}=e,r=qi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[Yi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[Yi.variable]:r.dark}}}})),"left-accent":Hi((e=>{const{colorScheme:t}=e,r=qi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[Yi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[Yi.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ui.reference}}})),"top-accent":Hi((e=>{const{colorScheme:t}=e,r=qi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[Yi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[Yi.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ui.reference}}})),solid:Hi((e=>{const{colorScheme:t}=e;return{container:{[Ui.variable]:"colors.white",[Yi.variable]:`colors.${t}.600`,_dark:{[Ui.variable]:"colors.gray.900",[Yi.variable]:`colors.${t}.200`},color:Ui.reference}}}))},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Gi,defineMultiStyleConfig:Xi}=(0,m.YU)(E.keys),Ji=(0,m.Vg)("avatar-border-color"),Zi=(0,m.Vg)("avatar-bg"),Qi=(0,m.Vg)("avatar-font-size"),es=(0,m.Vg)("avatar-size"),ts=(0,m.H2)({borderRadius:"full",border:"0.2em solid",borderColor:Ji.reference,[Ji.variable]:"white",_dark:{[Ji.variable]:"colors.gray.800"}}),rs=(0,m.H2)({bg:Zi.reference,fontSize:Qi.reference,width:es.reference,height:es.reference,lineHeight:"1",[Zi.variable]:"colors.gray.200",_dark:{[Zi.variable]:"colors.whiteAlpha.400"}}),ns=(0,m.H2)((e=>{const{name:t,theme:r}=e,n=t?Ke({string:t}):"colors.gray.400",o=(e=>t=>"dark"===Ue(e)(t))(n)(r);let i="white";return o||(i="gray.800"),{bg:Zi.reference,fontSize:Qi.reference,color:i,borderColor:Ji.reference,verticalAlign:"top",width:es.reference,height:es.reference,"&:not([data-loaded])":{[Zi.variable]:n},[Ji.variable]:"colors.white",_dark:{[Ji.variable]:"colors.gray.800"}}})),os=(0,m.H2)({fontSize:Qi.reference,lineHeight:"1"});function is(e){const t="100%"!==e?p[e]:void 0;return Gi({container:{[es.variable]:null!=t?t:e,[Qi.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[es.variable]:null!=t?t:e,[Qi.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var ss={Accordion:Ni,Alert:Ki,Avatar:Xi({baseStyle:Gi((e=>({badge:yr(ts,e),excessLabel:yr(rs,e),container:yr(ns,e),label:os}))),sizes:{"2xs":is(4),xs:is(6),sm:is(8),md:is(12),lg:is(16),xl:is(24),"2xl":is(32),full:is("100%")},defaultProps:{size:"md"}}),Badge:vt,Breadcrumb:oi,Button:fi,Checkbox:Mr,CloseButton:Ri,Code:Bi,Container:Mi,Divider:Fi,Drawer:Oo,Editable:Io,Form:Uo,FormError:Go,FormLabel:Jo,Heading:ei,Input:tr,Kbd:Sn,Link:wn,List:Tn,Menu:Vn,Modal:Xn,NumberInput:mo,PinInput:yo,Popover:Po,Progress:br,Radio:Ir,Select:qr,Skeleton:Jr,SkipLink:en,Slider:dn,Spinner:mn,Stat:bn,Switch:xe,Table:Ee,Tabs:ut,Tag:Rt,Textarea:ir,Tooltip:ur,Card:Pi,Stepper:w},as={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},ls={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},cs={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},us={semanticTokens:as,direction:"ltr",...f,components:ss,styles:ls,config:cs},ds={semanticTokens:as,direction:"ltr",components:{},...f,styles:ls,config:cs}},3291:(e,t,r)=>{"use strict";r.d(t,{Jg:()=>n});function n(e,...t){return"function"==typeof e?e(...t):e}},4159:(e,t,r)=>{"use strict";r.d(t,{I$:()=>i,TB:()=>s,cJ:()=>n,rY:()=>o});r(8394);function n(e,t){const r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}var o=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const s=t.get(r);if(s.has(n))return s.get(n);const a=e(r,n,o,i);return s.set(n,a),a}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n{const o=e[n];t(o,n,e)&&(r[n]=o)})),r}var s=e=>i(e,(e=>null!=e))},2635:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>N});const n={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||n,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),r=0;r{this.observers[e]||(this.observers[e]=new Map);const r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{let[t,n]=e;for(let o=0;o{let[n,o]=t;for(let i=0;i{e=r,t=n}));return r.resolve=e,r.reject=t,r}function l(e){return null==e?"":""+e}const c=/###/g;function u(e,t,r){function n(e){return e&&e.indexOf("###")>-1?e.replace(c,"."):e}function o(){return!e||"string"==typeof e}const i="string"!=typeof t?t:t.split(".");let s=0;for(;s":">",'"':""","'":"'","/":"/"};function g(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>m[e])):e}const v=[" ",",","?","!",";"],b=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20);function y(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(r);let o=e;for(let i=0;i-1&&s0?e.replace("_","-"):e}class S extends s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,t],r&&(Array.isArray(r)?s.push(...r):"string"==typeof r&&o?s.push(...r.split(o)):s.push(r)));const a=h(this.data,s);return!a&&!t&&!r&&e.indexOf(".")>-1&&(e=s[0],t=s[1],r=s.slice(2).join(".")),a||!i||"string"!=typeof r?a:y(this.data&&this.data[e]&&this.data[e][t],r,o)}addResource(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let s=[e,t];r&&(s=s.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(s=e.split("."),n=t,t=s[1]),this.addNamespaces(t),d(this.data,s,n),o.silent||this.emit("added",e,t,r,n)}addResources(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const o in r)("string"==typeof r[o]||Array.isArray(r[o]))&&this.addResource(e,t,o,r[o],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),n=r,r=t,t=s[1]),this.addNamespaces(t);let a=h(this.data,s)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?p(a,r,o):a={...a,...r},d(this.data,s,a),i.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var k={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,o){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,r,n,o))})),t}};const w={};class C extends s{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,r){e.forEach((e=>{t[e]&&(r[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=i.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const i=r&&e.indexOf(r)>-1,s=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,r){t=t||"",r=r||"";const n=v.filter((e=>t.indexOf(e)<0&&r.indexOf(e)<0));if(0===n.length)return!0;const o=b.getRegExp(`(${n.map((e=>"?"===e?"\\?":e)).join("|")})`);let i=!o.test(e);if(!i){const t=e.indexOf(r);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i}(e,r,n));if(i&&!s){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:o};const i=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(n)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(e[e.length-1],t),a=s[s.length-1],l=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(c){const e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${a}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:`${a}${e}${i}`}return n?{res:i,usedKey:i,exactUsedKey:i,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:i}const u=this.resolve(e,t);let d=u&&u.res;const h=u&&u.usedKey||i,p=u&&u.exactUsedKey||i,f=Object.prototype.toString.apply(d),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject;if(g&&d&&("string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(f)<0&&("string"!=typeof m||!Array.isArray(d))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,d,{...t,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return n?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(o){const e=Array.isArray(d),r=e?[]:{},n=e?p:h;for(const i in d)if(Object.prototype.hasOwnProperty.call(d,i)){const e=`${n}${o}${i}`;r[i]=this.translate(e,{...t,joinArrays:!1,ns:s}),r[i]===e&&(r[i]=d[i])}d=r}}else if(g&&"string"==typeof m&&Array.isArray(d))d=d.join(m),d&&(d=this.extendTranslation(d,e,t,r));else{let n=!1,s=!1;const c=void 0!==t.count&&"string"!=typeof t.count,h=C.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(l,t.count,t):"",f=t.ordinal&&c?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",m=c&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),g=m&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${p}`]||t[`defaultValue${f}`]||t.defaultValue;!this.isValidLookup(d)&&h&&(n=!0,d=g),this.isValidLookup(d)||(s=!0,d=i);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:d,b=h&&g!==d&&this.options.updateMissing;if(s||n||b){if(this.logger.log(b?"updateKey":"missingKey",l,a,i,b?g:d),o){const e=this.resolve(i,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t{const o=h&&n!==d?n:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,a,r,o,b,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,a,r,o,b,t),this.emit("missingKey",e,a,r,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach((e=>{const r=this.pluralResolver.getSuffixes(e,t);m&&t[`defaultValue${this.options.pluralSeparator}zero`]&&r.indexOf(`${this.options.pluralSeparator}zero`)<0&&r.push(`${this.options.pluralSeparator}zero`),r.forEach((r=>{n([e],i+r,t[`defaultValue${r}`]||g)}))})):n(e,i,g))}d=this.extendTranslation(d,e,t,u,r),s&&d===i&&this.options.appendNamespaceToMissingKey&&(d=`${a}:${i}`),(s||n)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${i}`:i,n?d:void 0):this.options.parseMissingKeyHandler(d))}return n?(u.res=d,u.usedParams=this.getUsedParamsDetails(t),u):d}extendTranslation(e,t,r,n,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const s="string"==typeof e&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(s){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=r.replace&&"string"!=typeof r.replace?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language,r),s){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&n&&n.res&&(r.lng=n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,n=new Array(e),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const a=this.extractFromKey(e,s),l=a.key;r=l;let c=a.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==s.count&&"string"!=typeof s.count,d=u&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,p=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(i=e,!w[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(w[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach((r=>{if(this.isValidLookup(t))return;o=r;const i=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,l,r,e,s);else{let e;u&&(e=this.pluralResolver.getSuffix(r,s.count,s));const t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(i.push(l+e),s.ordinal&&0===e.indexOf(n)&&i.push(l+e.replace(n,this.options.pluralSeparator)),d&&i.push(l+t)),h){const r=`${l}${this.options.contextSeparator}${s.context}`;i.push(r),u&&(i.push(r+e),s.ordinal&&0===e.indexOf(n)&&i.push(r+e.replace(n,this.options.pluralSeparator)),d&&i.push(r+t))}}let a;for(;a=i.pop();)this.isValidLookup(t)||(n=a,t=this.getResource(r,e,a,s))})))}))})),{res:t,usedKey:r,exactUsedKey:n,usedLng:o,usedNS:i}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&"string"!=typeof e.replace;let n=r?e.replace:e;if(r&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r){n={...n};for(const e of t)delete n[e]}return n}static hasDefaultValue(e){const t="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,12)&&void 0!==e[r])return!0;return!1}}function P(e){return e.charAt(0).toUpperCase()+e.slice(1)}class T{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=i.create("languageUtils")}getScriptPartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let r=e.split("-");return this.options.lowerCaseLng?r=r.map((e=>e.toLowerCase())):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=P(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=P(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=P(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const r=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(r)||(t=r)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find((e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],o=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((e=>{n.indexOf(e)<0&&o(this.formatLanguageCode(e))})),n}}let E=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],_={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const A=["v1","v2","v3"],R=["v4"],j={zero:0,one:1,two:2,few:3,many:4,other:5};class ${constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=i.create("pluralResolver"),this.options.compatibilityJSON&&!R.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return E.forEach((t=>{t.lngs.forEach((r=>{e[r]={numbers:t.nr,plurals:_[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(x("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(r){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(((e,t)=>j[e]-j[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):r.numbers.map((r=>this.getSuffix(e,r,t))):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getRule(e,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let n=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===n?n="plural":1===n&&(n=""));const o=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!A.includes(this.options.compatibilityJSON)}}function z(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=function(e,t,r){const n=h(e,r);return void 0!==n?n:h(t,r)}(e,t,r);return!i&&o&&"string"==typeof r&&(i=y(e,r,n),void 0===i&&(i=y(t,r,n))),i}class B{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=i.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:o,prefixEscaped:i,suffix:s,suffixEscaped:a,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:v,maxReplaces:b,alwaysFormat:y}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=o?f(o):i||"{{",this.suffix=s?f(s):a||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?f(d):h||f("$t("),this.nestingSuffix=p?f(p):m||f(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=b||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let o,i,s;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}const u=e=>{if(e.indexOf(this.formatSeparator)<0){const o=z(t,a,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,r,{...n,...t,interpolationkey:e}):o}const o=e.split(this.formatSeparator),i=o.shift().trim(),s=o.join(this.formatSeparator).trim();return this.format(z(t,a,i,this.options.keySeparator,this.options.ignoreJSONStructure),s,r,{...n,...t,interpolationkey:i})};this.resetRegExp();const d=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,h=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>c(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?c(this.escape(e)):c(e)}].forEach((t=>{for(s=0;o=t.regex.exec(e);){const r=o[1].trim();if(i=u(r),void 0===i)if("function"==typeof d){const t=d(e,o,n);i="string"==typeof t?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))i="";else{if(h){i=o[0];continue}this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),i=""}else"string"==typeof i||this.useRawValueToEscape||(i=l(i));const a=t.safeValue(i);if(e=e.replace(o[0],a),h?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,s++,s>=this.maxReplaces)break}})),e}nest(e,t){let r,n,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){const r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;const n=e.split(new RegExp(`${r}[ ]*{`));let i=`{${n[1]}`;e=n[0],i=this.interpolate(i,o);const s=i.match(/'/g),a=i.match(/"/g);(s&&s.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(l){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,l),`${e}${r}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e}for(;r=this.nestingRegexp.exec(e);){let a=[];o={...i},o=o.replace&&"string"!=typeof o.replace?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let c=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){const e=r[1].split(this.formatSeparator).map((e=>e.trim()));r[1]=e.shift(),a=e,c=!0}if(n=t(s.call(this,r[1].trim(),o),o),n&&r[0]===e&&"string"!=typeof n)return n;"string"!=typeof n&&(n=l(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),n=""),c&&(n=a.reduce(((e,t)=>this.format(e,t,i.lng,{...i,interpolationkey:r[1].trim()})),n.trim())),e=e.replace(r[0],n),this.regexp.lastIndex=0}return e}}function L(e){const t={};return function(r,n,o){const i=n+JSON.stringify(o);let s=t[i];return s||(s=e(x(n),o),t[i]=s),s(r)}}class M{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=i.create("formatter"),this.options=e,this.formats={number:L(((e,t)=>{const r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)})),currency:L(((e,t)=>{const r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)})),datetime:L(((e,t)=>{const r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)})),relativetime:L(((e,t)=>{const r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")})),list:L(((e,t)=>{const r=new Intl.ListFormat(e,{...t});return e=>r.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=L(t)}format(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:o,formatOptions:i}=function(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);"currency"===t&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach((e=>{if(e){const[t,...n]=e.split(":"),o=n.join(":").trim().replace(/^'+|'+$/g,""),i=t.trim();r[i]||(r[i]=o),"false"===o&&(r[i]=!1),"true"===o&&(r[i]=!0),isNaN(o)||(r[i]=parseInt(o,10))}}))}return{formatName:t,formatOptions:r}}(t);if(this.formats[o]){let t=e;try{const s=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},a=s.locale||s.lng||n.locale||n.lng||r;t=this.formats[o](e,a,{...i,...n,...s})}catch(s){this.logger.warn(s)}return t}return this.logger.warn(`there was no format function for ${o}`),e}),e)}}class V extends s{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=i.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(e,t,r,n){const o={},i={},s={},a={};return e.forEach((e=>{let n=!0;t.forEach((t=>{const s=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[s]=2:this.state[s]<0||(1===this.state[s]?void 0===i[s]&&(i[s]=!0):(this.state[s]=1,n=!1,void 0===i[s]&&(i[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===a[t]&&(a[t]=!0)))})),n||(s[e]=!0)})),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(a)}}loaded(e,t,r){const n=e.split("|"),o=n[0],i=n[1];t&&this.emit("failedLoading",o,i,t),r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const s={};this.queue.forEach((r=>{!function(e,t,r,n){const{obj:o,k:i}=u(e,t,Object);o[i]=o[i]||[],n&&(o[i]=o[i].concat(r)),n||o[i].push(r)}(r.loaded,[o],i),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach((e=>{s[e]||(s[e]={});const t=r.loaded[e];t.length&&t.forEach((t=>{void 0===s[e][t]&&(s[e][t]=!0)}))})),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())})),this.emit("loaded",s),this.queue=this.queue.filter((e=>!e.done))}read(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:o,callback:i});this.readingCalls++;const s=(s,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}s&&a&&n{this.read.call(this,e,t,r,n+1,2*o,i)}),o):i(s,a)},a=this.backend[r].bind(this.backend);if(2!==a.length)return a(e,t,s);try{const r=a(e,t);r&&"function"==typeof r.then?r.then((e=>s(null,e))).catch(s):s(null,r)}catch(l){s(l)}}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const o=this.queueLoad(e,t,r,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=e.split("|"),n=r[0],o=r[1];this.read(n,o,"read",void 0,void 0,((r,i)=>{r&&this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`,r),!r&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${n}`,i),this.loaded(e,r,i)}))}saveMissing(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=r&&""!==r){if(this.backend&&this.backend.create){const l={...i,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let o;o=5===c.length?c(e,t,r,n,l):c(e,t,r,n),o&&"function"==typeof o.then?o.then((e=>s(null,e))).catch(s):s(null,o)}catch(a){s(a)}else c(e,t,r,n,s,l)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}function O(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const r=e[3]||e[2];Object.keys(r).forEach((e=>{t[e]=r[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function F(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function D(){}class I extends s{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var r;if(super(),this.options=F(e),this.services={},this.logger=i,this.modules={external:[]},r=this,Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((e=>{"function"==typeof r[e]&&(r[e]=r[e].bind(r))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=O();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options={...n,...this.options,...F(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...n.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?i.init(o(this.modules.logger),this.options):i.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=M);const r=new T(this.options);this.store=new S(this.options.resources,this.options);const s=this.services;s.logger=i,s.resourceStore=this.store,s.languageUtils=r,s.pluralResolver=new $(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(s.formatter=o(t),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new B(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new V(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,r||(r=D),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const s=a(),l=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;const r="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],n=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(r)n(r);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>n(e)))}this.options.preload&&this.options.preload.forEach((e=>n(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,r){const n=a();return e||(e=this.languages),t||(t=this.options.ns),r||(r=D),this.services.backendConnector.reload(e,t,(e=>{n.resolve(),r(e)})),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&k.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;const n=a();this.emit("languageChanging",e);const o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve((function(){return r.t(...arguments)})),t&&t(e,(function(){return r.t(...arguments)}))},s=t=>{e||t||!this.services.languageDetector||(t=[]);const r="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||o(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,(e=>{i(e,r)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),n}getFixedT(e,t,r){var n=this;const o=function(e,t){let i;if("object"!=typeof t){for(var s=arguments.length,a=new Array(s>2?s-2:0),l=2;l`${i.keyPrefix}${c}${e}`)):i.keyPrefix?`${i.keyPrefix}${c}${e}`:e,n.t(u,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;const i=(e,t)=>{const r=this.services.backendConnector.state[`${e}|${t}`];return-1===r||2===r};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(r,e)||n&&!i(o,e)))}loadNamespaces(e,t){const r=a();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=a();"string"==typeof e&&(e=[e]);const n=this.options.preload||[],o=e.filter((e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return o.length?(this.options.preload=n.concat(o),this.loadResources((e=>{r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new T(O());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new I(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},o=new I(n);void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e));return["store","services","language"].forEach((e=>{o[e]=this[e]})),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new S(this.store.data,n),o.services.resourceStore=o.store),o.translator=new C(o.services,n),o.translator.on("*",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n{"use strict";r.d(t,{x6:()=>M,r9:()=>z,Bd:()=>F});var n=r(6540),o=r(4915),i=r.n(o),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function a(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(i()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("--\x3e");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var o=new RegExp(s),a=null;null!==(a=o.exec(e));)if(a[0].trim())if(a[1]){var l=a[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],o.lastIndex--}else a[2]&&(t.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return t}var l=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,c=/^\s*$/,u=Object.create(null);function d(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var r in e)t.push(r+'="'+e[r]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(d,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var h={parse:function(e,t){t||(t={}),t.components||(t.components=u);var r,n=[],o=[],i=-1,s=!1;if(0!==e.indexOf("<")){var d=e.indexOf("<");n.push({type:"text",content:-1===d?e:e.substring(0,d)})}return e.replace(l,(function(l,u){if(s){if(l!=="")return;s=!1}var d,h="/"!==l.charAt(1),p=l.startsWith("\x3c!--"),f=u+l.length,m=e.charAt(f);if(p){var g=a(l);return i<0?(n.push(g),n):((d=o[i]).children.push(g),n)}if(h&&(i++,"tag"===(r=a(l)).type&&t.components[r.name]&&(r.type="component",s=!0),r.voidElement||s||!m||"<"===m||r.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===i&&n.push(r),(d=o[i-1])&&d.children.push(r),o[i]=r),(!h||r.voidElement)&&(i>-1&&(r.voidElement||r.name===l.slice(2,-1))&&(i--,r=-1===i?n:o[i]),!s&&"<"!==m&&m)){d=-1===i?n:o[i].children;var v=e.indexOf("<",f),b=e.slice(f,-1===v?void 0:v);c.test(b)&&(b=" "),(v>-1&&i+d.length>=0||" "!==b)&&d.push({type:"text",content:b})}})),n},stringify:function(e){return e.reduce((function(e,t){return e+d("",t)}),"")}};const p=h;function f(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),r=0;r()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout((()=>{e.off("initialized",r)}),0),t()};e.on("initialized",r)}};function b(e,t,r){e.loadNamespaces(t,v(e,r))}function y(e,t,r,n){"string"==typeof r&&(r=[r]),r.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,v(e,n))}const x=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,S={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"\u2026","…":"\u2026","/":"/","/":"/"},k=e=>S[e];let w,C={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(x,k)};function P(){return C}function T(){return w}function E(e,t){if(!e)return!1;const r=e.props?e.props.children:e.children;return t?r.length>0:!!r}function _(e){if(!e)return[];const t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?A(t):t}function A(e){return Array.isArray(e)?e:[e]}function R(e,t){if(!e)return"";let r="";const o=A(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return o.forEach(((e,o)=>{if("string"==typeof e)r+=`${e}`;else if((0,n.isValidElement)(e)){const n=Object.keys(e.props).length,s=i.indexOf(e.type)>-1,a=e.props.children;if(!a&&s&&0===n)r+=`<${e.type}/>`;else if(a||s&&0===n)if(e.props.i18nIsDynamicList)r+=`<${o}>`;else if(s&&1===n&&"string"==typeof a)r+=`<${e.type}>${a}`;else{const e=R(a,t);r+=`<${o}>${e}`}else r+=`<${o}>`}else if(null===e)f("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"==typeof e){const{format:t,...n}=e,o=Object.keys(n);if(1===o.length){const e=t?`${o[0]}, ${t}`:o[0];r+=`{{${e}}}`}else f("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else f("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),r}function j(e,t,r,o,i,s){if(""===t)return[];const a=o.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(a.map((e=>`<${e}`)).join("|")).test(t);if(!e&&!l&&!s)return[t];const c={};!function e(t){A(t).forEach((t=>{"string"!=typeof t&&(E(t)?e(_(t)):"object"!=typeof t||(0,n.isValidElement)(t)||Object.assign(c,t))}))}(e);const u=p.parse(`<0>${t}`),d={...c,...i};function h(e,t,r){const o=_(e),i=m(o,t.children,r);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((e=>(0,n.isValidElement)(e)))}(o)&&0===i.length||e.props&&e.props.i18nIsDynamicList?o:i}function f(e,t,r,o,i){e.dummy?(e.children=t,r.push((0,n.cloneElement)(e,{key:o},i?void 0:t))):r.push(...n.Children.map([e],(e=>{const r={...e.props};return delete r.i18nIsDynamicList,(0,n.createElement)(e.type,{...r,key:o,ref:e.ref},i?null:t)})))}function m(t,i,c){const u=A(t);return A(i).reduce(((t,i,p)=>{const g=i.children&&i.children[0]&&i.children[0].content&&r.services.interpolator.interpolate(i.children[0].content,d,r.language);if("tag"===i.type){let s=u[parseInt(i.name,10)];1!==c.length||s||(s=c[0][i.name]),s||(s={});const v=0!==Object.keys(i.attrs).length?function(e,t){const r={...t};return r.props=Object.assign(e.props,t.props),r}({props:i.attrs},s):s,b=(0,n.isValidElement)(v),y=b&&E(i,!0)&&!i.voidElement,x=l&&"object"==typeof v&&v.dummy&&!b,S="object"==typeof e&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof v){const e=r.services.interpolator.interpolate(v,d,r.language);t.push(e)}else if(E(v)||y){f(v,h(v,i,c),t,p)}else if(x){f(v,m(u,i.children,c),t,p)}else if(Number.isNaN(parseFloat(i.name)))if(S){f(v,h(v,i,c),t,p,i.voidElement)}else if(o.transSupportBasicHtmlNodes&&a.indexOf(i.name)>-1)if(i.voidElement)t.push((0,n.createElement)(i.name,{key:`${i.name}-${p}`}));else{const e=m(u,i.children,c);t.push((0,n.createElement)(i.name,{key:`${i.name}-${p}`},e))}else if(i.voidElement)t.push(`<${i.name} />`);else{const e=m(u,i.children,c);t.push(`<${i.name}>${e}`)}else if("object"!=typeof v||b)f(v,g,t,p,1!==i.children.length||!g);else{const e=i.children[0]?g:null;e&&t.push(e)}}else if("text"===i.type){const e=o.transWrapTextNodes,a=s?o.unescape(r.services.interpolator.interpolate(i.content,d,r.language)):r.services.interpolator.interpolate(i.content,d,r.language);e?t.push((0,n.createElement)(e,{key:`${i.name}-${p}`},a)):t.push(a)}return t}),[])}return _(m([{dummy:!0,children:e||[]}],u,A(e||[]))[0])}function $(e){let{children:t,count:r,parent:o,i18nKey:i,context:s,tOptions:a={},values:l,defaults:c,components:u,ns:d,i18n:h,t:p,shouldUnescape:f,...m}=e;const v=h||T();if(!v)return g("You will need to pass in an i18next instance by using i18nextReactModule"),t;const b=p||v.t.bind(v)||(e=>e),y={...P(),...v.options&&v.options.react};let x=d||b.ns||v.options&&v.options.defaultNS;x="string"==typeof x?[x]:x||["translation"];const S=R(t,y),k=c||S||y.transEmptyNodeValue||i,{hashTransKey:w}=y,C=i||(w?w(S||k):S||k);v.options&&v.options.interpolation&&v.options.interpolation.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...v.options.interpolation.defaultVariables}:{...v.options.interpolation.defaultVariables});const E=l||void 0!==r||!t?a.interpolation:{interpolation:{...a.interpolation,prefix:"#$?",suffix:"?$#"}},_={...a,context:s||a.context,count:r,...l,...E,defaultValue:k,ns:x},A=C?b(C,_):k;u&&Object.keys(u).forEach((e=>{const t=u[e];"function"==typeof t.type||!t.props||!t.props.children||A.indexOf(`${e}/>`)<0&&A.indexOf(`${e} />`)<0||(u[e]=(0,n.createElement)((function(){return(0,n.createElement)(n.Fragment,null,t)})))}));const $=j(u||t,A,v,y,_,f),z=void 0!==o?o:y.defaultTransParent;return z?(0,n.createElement)(z,m,$):$}const z={type:"3rdParty",init(e){!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C={...C,...e}}(e.options.react),function(e){w=e}(e)}},B=(0,n.createContext)();class L{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function M(e){let{children:t,count:r,parent:o,i18nKey:i,context:s,tOptions:a={},values:l,defaults:c,components:u,ns:d,i18n:h,t:p,shouldUnescape:f,...m}=e;const{i18n:g,defaultNS:v}=(0,n.useContext)(B)||{},b=h||g||T(),y=p||b&&b.t.bind(b);return $({children:t,count:r,parent:o,i18nKey:i,context:s,tOptions:a,values:l,defaults:c,components:u,ns:d||y&&y.ns||v||b&&b.options&&b.options.defaultNS,i18n:b,t:p,shouldUnescape:f,...m})}const V=(e,t)=>{const r=(0,n.useRef)();return(0,n.useEffect)((()=>{r.current=t?r.current:e}),[e,t]),r.current};function O(e,t,r,n){return e.getFixedT(t,r,n)}function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:r}=t,{i18n:o,defaultNS:i}=(0,n.useContext)(B)||{},s=r||o||T();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new L),!s){g("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}s.options.react&&void 0!==s.options.react.wait&&g("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const a={...P(),...s.options.react,...t},{useSuspense:l,keyPrefix:c}=a;let u=e||i||s.options&&s.options.defaultNS;u="string"==typeof u?[u]:u||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(u);const d=(s.isInitialized||s.initializedStoreOnce)&&u.every((e=>function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=t.languages[0],o=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===n.toLowerCase())return!0;const s=(e,r)=>{const n=t.services.backendConnector.state[`${e}|${r}`];return-1===n||2===n};return!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)||!t.hasResourceBundle(n,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!s(n,e)||o&&!s(i,e)))}(e,t,r):(g("i18n.languages were undefined or empty",t.languages),!0)}(e,s,a))),h=function(e,t,r,o){return(0,n.useCallback)(O(e,t,r,o),[e,t,r,o])}(s,t.lng||null,"fallback"===a.nsMode?u:u[0],c),p=()=>h,f=()=>O(s,t.lng||null,"fallback"===a.nsMode?u:u[0],c),[m,v]=(0,n.useState)(p);let x=u.join();t.lng&&(x=`${t.lng}${x}`);const S=V(x),k=(0,n.useRef)(!0);(0,n.useEffect)((()=>{const{bindI18n:e,bindI18nStore:r}=a;function n(){k.current&&v(f)}return k.current=!0,d||l||(t.lng?y(s,t.lng,u,(()=>{k.current&&v(f)})):b(s,u,(()=>{k.current&&v(f)}))),d&&S&&S!==x&&k.current&&v(f),e&&s&&s.on(e,n),r&&s&&s.store.on(r,n),()=>{k.current=!1,e&&s&&e.split(" ").forEach((e=>s.off(e,n))),r&&s&&r.split(" ").forEach((e=>s.store.off(e,n)))}}),[s,x]),(0,n.useEffect)((()=>{k.current&&d&&v(p)}),[s,c,d]);const w=[m,s,d];if(w.t=m,w.i18n=s,w.ready=d,d)return w;if(!d&&!l)return w;throw new Promise((e=>{t.lng?y(s,t.lng,u,(()=>e())):b(s,u,(()=>e()))}))}}}]); \ No newline at end of file diff --git a/assets/js/71.79e133dc.js b/assets/js/71.79e133dc.js deleted file mode 100644 index 5889e095..00000000 --- a/assets/js/71.79e133dc.js +++ /dev/null @@ -1,280 +0,0 @@ -(self.webpackChunksite=self.webpackChunksite||[]).push([[71],{5055:(e,t,r)=>{"use strict";r.d(t,{A:()=>oe});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?d(x,--b):0,g--,10===y&&(g=1,m--),y}function C(){return y=b2||A(y)>3?"":" "}function B(e,t){for(;--t&&C()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return P(e,T()+(t<6&&32==_()&&32==C()))}function M(e){for(;C();)switch(y){case e:return b;case 34:case 39:34!==e&&39!==e&&M(y);break;case 40:41===e&&M(e);break;case 92:C()}return b}function $(e,t){for(;C()&&e+y!==57&&(e+y!==84||47!==_()););return"/*"+P(t,b-1)+"*"+i(47===e?e:C())}function V(e){for(;!A(_());)C();return P(e,b)}var D="-ms-",F="-moz-",I="-webkit-",L="comm",H="rule",O="decl",W="@keyframes";function N(e,t){for(var r="",n=p(e),o=0;o0&&h(F)-v&&f(y>32?K(F+";",n,r,v-1):K(l(F," ","")+";",n,r,v-2),p);break;case 59:F+=";";default:if(f(D=G(F,t,r,m,g,o,u,E,R=[],M=[],v),a),123===A)if(0===g)q(F,t,D,D,R,a,v,u,M);else switch(99===b&&110===d(F,3)?100:b){case 100:case 108:case 109:case 115:q(e,D,D,n&&f(G(e,D,D,0,0,o,u,E,o,R=[],v),M),o,M,v,u,n?R:M);break;default:q(F,D,D,D,[""],M,0,u,M)}}m=g=y=0,S=P=1,E=F="",v=s;break;case 58:v=1+h(F),y=x;default:if(S<1)if(123==A)--S;else if(125==A&&0==S++&&125==w())continue;switch(F+=i(A),A*S){case 38:P=g>0?1:(F+="\f",-1);break;case 44:u[m++]=(h(F)-1)*P,P=1;break;case 64:45===_()&&(F+=z(C())),b=_(),g=v=h(E=F+=V(T())),A++;break;case 45:45===x&&2==h(F)&&(S=0)}}return a}function G(e,t,r,n,i,a,c,d,h,f,m){for(var g=i-1,v=0===i?a:[""],b=p(v),y=0,x=0,k=0;y0?v[w]+" "+C:l(C,/&\f/g,v[w])))&&(h[k++]=_);return S(e,t,r,0===i?H:d,h,f,m)}function X(e,t,r){return S(e,t,r,L,i(y),u(e,2,-2),0)}function K(e,t,r,n){return S(e,t,r,O,u(e,0,n),u(e,n+1,-1),n)}var Z=function(e,t,r){for(var n=0,o=0;n=o,o=_(),38===n&&12===o&&(t[r]=1),!A(o);)C();return P(e,b)},J=function(e,t){return R(function(e,t){var r=-1,n=44;do{switch(A(n)){case 0:38===n&&12===_()&&(t[r]=1),e[r]+=Z(b-1,t,r);break;case 2:e[r]+=z(n);break;case 4:if(44===n){e[++r]=58===_()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=C());return e}(E(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(r))&&!n){Q.set(e,!0);for(var o=[],i=J(t,o),a=r.props,s=0,l=0;s6)switch(d(e,t+1)){case 109:if(45!==d(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+F+(108==d(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?re(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==d(e,t+1))break;case 6444:switch(d(e,h(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+I)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(45===d(e,14)?"inline-":"")+"box$3$1"+I+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(d(e,t+11)){case 114:return I+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+D+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+D+e+e}return e}var ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case O:e.return=re(e.value,e.length);break;case W:return N([k(e,{value:l(e.value,"@","@"+I)})],n);case H:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return N([k(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return N([k(e,{props:[l(t,/:(plac\w+)/,":"+I+"input-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[l(t,/:(plac\w+)/,D+"input-$1")]})],n)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||ne;var i,a,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},4765:(e,t,r)=>{"use strict";r.d(t,{T:()=>d,a:()=>h,i:()=>s,w:()=>c});var n=r(6540),o=r(5055),i=r(8168),a=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},s=(r(7521),r(1287),!0),l=n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null);l.Provider;var c=function(e){return(0,n.forwardRef)((function(t,r){var o=(0,n.useContext)(l);return e(t,o,r)}))};s||(c=function(e){return function(t){var r=(0,n.useContext)(l);return null===r?(r=(0,o.A)({key:"css"}),n.createElement(l.Provider,{value:r},e(t,r))):e(t,r)}});var d=n.createContext({});var u=a((function(e){return a((function(t){return function(e,t){return"function"==typeof t?t(e):(0,i.A)({},e,t)}(e,t)}))})),h=function(e){var t=n.useContext(d);return e.theme!==t&&(t=u(t)(e.theme)),n.createElement(d.Provider,{value:t},e.children)}},7437:(e,t,r)=>{"use strict";r.d(t,{i7:()=>d,mL:()=>l});var n=r(4765),o=r(6540),i=r(41),a=r(1287),s=r(7521),l=(r(5055),r(4146),(0,n.w)((function(e,t){var r=e.styles,l=(0,s.J)([r],void 0,o.useContext(n.T));if(!n.i){for(var c,d=l.name,u=l.styles,h=l.next;void 0!==h;)d+=" "+h.name,u+=h.styles,h=h.next;var p=!0===t.compat,f=t.insert("",{name:d,styles:u},t.sheet,p);return p?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+d,c.dangerouslySetInnerHTML={__html:f},c.nonce=t.sheet.nonce,c))}var m=o.useRef();return(0,a.i)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),m.current=[r,n],function(){r.flush()}}),[t]),(0,a.i)((function(){var e=m.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.d(t,{J:()=>f});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(6289),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,r){return h={name:t,styles:r,next:h},t}))}return 1===n[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function u(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return h={name:r.name,styles:r.styles,next:h},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)h={name:n.name,styles:n.styles,next:h},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},1287:(e,t,r)=>{"use strict";var n;r.d(t,{i:()=>s,s:()=>a});var o=r(6540),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},41:(e,t,r)=>{"use strict";r.d(t,{Rk:()=>n,SF:()=>o,sk:()=>i});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},8394:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",c="[object Null]",d="[object Object]",u="[object Proxy]",h="[object Undefined]",p=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[i]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[s]=m["[object Map]"]=m["[object Number]"]=m[d]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var g="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,v="object"==typeof self&&self&&self.Object===Object&&self,b=g||v||Function("return this")(),y=t&&!t.nodeType&&t,x=y&&e&&!e.nodeType&&e,S=x&&x.exports===y,k=S&&g.process,w=function(){try{var e=x&&x.require&&x.require("util").types;return e||k&&k.binding&&k.binding("util")}catch(t){}}(),C=w&&w.isTypedArray;var _,T,P,A=Array.prototype,E=Function.prototype,R=Object.prototype,z=b["__core-js_shared__"],j=E.toString,B=R.hasOwnProperty,M=(_=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",$=R.toString,V=j.call(Object),D=RegExp("^"+j.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=S?b.Buffer:void 0,I=b.Symbol,L=b.Uint8Array,H=F?F.allocUnsafe:void 0,O=(T=Object.getPrototypeOf,P=Object,function(e){return T(P(e))}),W=Object.create,N=R.propertyIsEnumerable,U=A.splice,Y=I?I.toStringTag:void 0,q=function(){try{var e=ye(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),G=F?F.isBuffer:void 0,X=Math.max,K=Date.now,Z=ye(b,"Map"),J=ye(Object,"create"),Q=function(){function e(){}return function(t){if(!ze(t))return{};if(W)return W(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function ee(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1},te.prototype.set=function(e,t){var r=this.__data__,n=se(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},re.prototype.clear=function(){this.size=0,this.__data__={hash:new ee,map:new(Z||te),string:new ee}},re.prototype.delete=function(e){var t=be(this,e).delete(e);return this.size-=t?1:0,t},re.prototype.get=function(e){return be(this,e).get(e)},re.prototype.has=function(e){return be(this,e).has(e)},re.prototype.set=function(e,t){var r=be(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},ne.prototype.clear=function(){this.__data__=new te,this.size=0},ne.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ne.prototype.get=function(e){return this.__data__.get(e)},ne.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.set=function(e,t){var r=this.__data__;if(r instanceof te){var n=r.__data__;if(!Z||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new re(n)}return r.set(e,t),this.size=r.size,this};var ce,de=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var s=i[ce?a:++n];if(!1===t(o[s],s,o))break}return e};function ue(e){return null==e?void 0===e?h:c:Y&&Y in Object(e)?function(e){var t=B.call(e,Y),r=e[Y];try{e[Y]=void 0;var n=!0}catch(i){}var o=$.call(e);n&&(t?e[Y]=r:delete e[Y]);return o}(e):function(e){return $.call(e)}(e)}function he(e){return je(e)&&ue(e)==i}function pe(e){return!(!ze(e)||function(e){return!!M&&M in e}(e))&&(Ee(e)?D:p).test(function(e){if(null!=e){try{return j.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function fe(e){if(!ze(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=Se(e),r=[];for(var n in e)("constructor"!=n||!t&&B.call(e,n))&&r.push(n);return r}function me(e,t,r,n,o){e!==t&&de(t,(function(i,a){if(o||(o=new ne),ze(i))!function(e,t,r,n,o,i,a){var s=ke(e,r),l=ke(t,r),c=a.get(l);if(c)return void ie(e,r,c);var u=i?i(s,l,r+"",e,t,a):void 0,h=void 0===u;if(h){var p=Te(l),f=!p&&Ae(l),m=!p&&!f&&Be(l);u=l,p||f||m?Te(s)?u=s:je(x=s)&&Pe(x)?u=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ve);function Ce(e,t){return e===t||e!=e&&t!=t}var _e=he(function(){return arguments}())?he:function(e){return je(e)&&B.call(e,"callee")&&!N.call(e,"callee")},Te=Array.isArray;function Pe(e){return null!=e&&Re(e.length)&&!Ee(e)}var Ae=G||function(){return!1};function Ee(e){if(!ze(e))return!1;var t=ue(e);return t==s||t==l||t==a||t==u}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function ze(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function je(e){return null!=e&&"object"==typeof e}var Be=C?function(e){return function(t){return e(t)}}(C):function(e){return je(e)&&Re(e.length)&&!!m[ue(e)]};function Me(e){return Pe(e)?oe(e,!0):fe(e)}var $e,Ve=($e=function(e,t,r,n){me(e,t,r,n)},ge((function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=$e.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(e,t,r){if(!ze(r))return!1;var n=typeof t;return!!("number"==n?Pe(r)&&xe(t,r.length):"string"==n&&t in r)&&Ce(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r{"use strict";r.d(t,{$:()=>b});var n=r(6540);var o=r(61),[i,a]=(0,o.q)({strict:!1,name:"ButtonGroupContext"}),s=r(6447),l=r(9857),c=r(4848);function d(e){const{children:t,className:r,...o}=e,i=(0,n.isValidElement)(t)?(0,n.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,a=(0,l.cx)("chakra-button__icon",r);return(0,c.jsx)(s.B.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...o,className:a,children:i})}d.displayName="ButtonIcon";var u=r(5599);function h(e){const{label:t,placement:r,spacing:o="0.5rem",children:i=(0,c.jsx)(u.y,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:d,...h}=e,p=(0,l.cx)("chakra-button__spinner",a),f="start"===r?"marginEnd":"marginStart",m=(0,n.useMemo)((()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[f]:t?o:0,fontSize:"1em",lineHeight:"normal",...d})),[d,t,f,o]);return(0,c.jsx)(s.B.div,{className:p,...h,__css:m,children:i})}function p(...e){return t=>{e.forEach((e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(r){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)}))}}function f(...e){return(0,n.useMemo)((()=>p(...e)),e)}h.displayName="ButtonSpinner";var m=r(8855),g=r(64),v=r(4515),b=(0,m.R)(((e,t)=>{const r=a(),o=(0,g.Vl)("Button",{...r,...e}),{isDisabled:i=(null==r?void 0:r.isDisabled),isLoading:d,isActive:u,children:p,leftIcon:m,rightIcon:b,loadingText:x,iconSpacing:S="0.5rem",type:k,spinner:w,spinnerPlacement:C="start",className:_,as:T,...P}=(0,v.MN)(e),A=(0,n.useMemo)((()=>{const e={...null==o?void 0:o._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...o,...!!r&&{_focus:e}}}),[o,r]),{ref:E,type:R}=function(e){const[t,r]=(0,n.useState)(!e);return{ref:(0,n.useCallback)((e=>{e&&r("BUTTON"===e.tagName)}),[]),type:t?"button":void 0}}(T),z={rightIcon:b,leftIcon:m,iconSpacing:S,children:p};return(0,c.jsxs)(s.B.button,{ref:f(t,E),as:T,type:null!=k?k:R,"data-active":(0,l.sE)(u),"data-loading":(0,l.sE)(d),__css:A,className:(0,l.cx)("chakra-button",_),...P,disabled:i||d,children:[d&&"start"===C&&(0,c.jsx)(h,{className:"chakra-button__spinner--start",label:x,placement:"start",spacing:S,children:w}),d?x||(0,c.jsx)(s.B.span,{opacity:0,children:(0,c.jsx)(y,{...z})}):(0,c.jsx)(y,{...z}),d&&"end"===C&&(0,c.jsx)(h,{className:"chakra-button__spinner--end",label:x,placement:"end",spacing:S,children:w})]})}));function y(e){const{leftIcon:t,rightIcon:r,children:n,iconSpacing:o}=e;return(0,c.jsxs)(c.Fragment,{children:[t&&(0,c.jsx)(d,{marginEnd:o,children:t}),n,r&&(0,c.jsx)(d,{marginStart:o,children:r})]})}b.displayName="Button"},763:(e,t,r)=>{"use strict";r.d(t,{G6:()=>i,Ig:()=>o});var n=r(6540),o=(0,n.createContext)({});function i(){const e=(0,n.useContext)(o);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}o.displayName="ColorModeContext"},4393:(e,t,r)=>{"use strict";r.d(t,{I:()=>c});var n=r(8855),o=r(64),i=r(6447),a=r(9857),s=r(4848),l={path:(0,s.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,s.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,s.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,s.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},c=(0,n.R)(((e,t)=>{const{as:r,viewBox:n,color:c="currentColor",focusable:d=!1,children:u,className:h,__css:p,...f}=e,m={ref:t,focusable:d,className:(0,a.cx)("chakra-icon",h),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:c,...p,...(0,o.Vl)("Icon",e)}},g=null!=n?n:l.viewBox;if(r&&"string"!=typeof r)return(0,s.jsx)(i.B.svg,{as:r,...m,...f});const v=null!=u?u:l.path;return(0,s.jsx)(i.B.svg,{verticalAlign:"middle",viewBox:g,...m,...f,children:v})}));c.displayName="Icon"},2581:(e,t,r)=>{"use strict";r.d(t,{_:()=>d});var n=r(8855),o=r(4848),i=(0,n.R)((function(e,t){const{htmlWidth:r,htmlHeight:n,alt:i,...a}=e;return(0,o.jsx)("img",{width:r,height:n,ref:t,alt:i,...a})}));i.displayName="NativeImage";var a=r(1600),s=r(6540);var l=r(6447);function c(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}var d=(0,n.R)((function(e,t){const{fallbackSrc:r,fallback:n,src:d,srcSet:u,align:h,fit:p,loading:f,ignoreFallback:m,crossOrigin:g,fallbackStrategy:v="beforeLoadOrError",referrerPolicy:b,...y}=e,x=null!=f||m||!(void 0!==r||void 0!==n),S=function(e){const{loading:t,src:r,srcSet:n,onLoad:o,onError:i,crossOrigin:l,sizes:c,ignoreFallback:d}=e,[u,h]=(0,s.useState)("pending");(0,s.useEffect)((()=>{h(r?"loading":"pending")}),[r]);const p=(0,s.useRef)(),f=(0,s.useCallback)((()=>{if(!r)return;m();const e=new Image;e.src=r,l&&(e.crossOrigin=l),n&&(e.srcset=n),c&&(e.sizes=c),t&&(e.loading=t),e.onload=e=>{m(),h("loaded"),null==o||o(e)},e.onerror=e=>{m(),h("failed"),null==i||i(e)},p.current=e}),[r,l,n,c,o,i,t]),m=()=>{p.current&&(p.current.onload=null,p.current.onerror=null,p.current=null)};return(0,a.U)((()=>{if(!d)return"loading"===u&&f(),()=>{m()}}),[u,f,d]),d?"loaded":u}({...e,crossOrigin:g,ignoreFallback:x}),k=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(S,v),w={ref:t,objectFit:p,objectPosition:h,...x?y:c(y,["onError","onLoad"])};return k?n||(0,o.jsx)(l.B.img,{as:i,className:"chakra-image__placeholder",src:r,...w}):(0,o.jsx)(l.B.img,{as:i,src:d,srcSet:u,crossOrigin:g,loading:f,referrerPolicy:b,className:"chakra-image",...w})}));d.displayName="Image"},4045:(e,t,r)=>{"use strict";r.d(t,{E:()=>c});var n=r(8855),o=r(64),i=r(4515),a=r(6447),s=r(9857);var l=r(4848),c=(0,n.R)((function(e,t){const r=(0,o.Vl)("Text",e),{className:n,align:c,decoration:d,casing:u,...h}=(0,i.MN)(e),p=function(e){const t=Object.assign({},e);for(let r in t)void 0===t[r]&&delete t[r];return t}({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,l.jsx)(a.B.p,{ref:t,className:(0,s.cx)("chakra-text",e.className),...p,...h,__css:r})}));c.displayName="Text"},4194:(e,t,r)=>{"use strict";r.d(t,{z:()=>a});var n=r(9101),o=r(8855),i=r(4848),a=(0,o.R)(((e,t)=>(0,i.jsx)(n.B,{align:"center",...e,direction:"row",ref:t})));a.displayName="HStack"},8493:(e,t,r)=>{"use strict";r.d(t,{N:()=>c});var n=r(8855),o=r(64),i=r(4515),a=r(6447),s=r(9857),l=r(4848),c=(0,n.R)((function(e,t){const r=(0,o.Vl)("Link",e),{className:n,isExternal:c,...d}=(0,i.MN)(e);return(0,l.jsx)(a.B.a,{target:c?"_blank":void 0,rel:c?"noopener":void 0,ref:t,className:(0,s.cx)("chakra-link",n),...d,__css:r})}));c.displayName="Link"},8539:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(9101),o=r(8855),i=r(4848),a=(0,o.R)(((e,t)=>(0,i.jsx)(n.B,{align:"center",...e,direction:"column",ref:t})));a.displayName="VStack"},9101:(e,t,r)=>{"use strict";r.d(t,{B:()=>l});var n=r(6447),o=r(4848),i=e=>(0,o.jsx)(n.B.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});i.displayName="StackItem";var a=r(9857);Object.freeze(["base","sm","md","lg","xl","2xl"]);var s=r(6540);var l=(0,r(8855).R)(((e,t)=>{const{isInline:r,direction:l,align:c,justify:d,spacing:u="0.5rem",wrap:h,children:p,divider:f,className:m,shouldWrapChildren:g,...v}=e,b=r?"row":null!=l?l:"column",y=(0,s.useMemo)((()=>function(e){const{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(o=r,i=e=>n[e],Array.isArray(o)?o.map((e=>null===e?null:i(e))):(0,a.Gv)(o)?Object.keys(o).reduce(((e,t)=>(e[t]=i(o[t]),e)),{}):null!=o?i(o):null)};var o,i}({spacing:u,direction:b})),[u,b]),x=!!f,S=!g&&!x,k=(0,s.useMemo)((()=>{const e=function(e){return s.Children.toArray(e).filter((e=>(0,s.isValidElement)(e)))}(p);return S?e:e.map(((t,r)=>{const n=void 0!==t.key?t.key:r,a=r+1===e.length,l=g?(0,o.jsx)(i,{children:t},n):t;if(!x)return l;const c=(0,s.cloneElement)(f,{__css:y}),d=a?null:c;return(0,o.jsxs)(s.Fragment,{children:[l,d]},n)}))}),[f,y,x,S,g,p]),w=(0,a.cx)("chakra-stack",m);return(0,o.jsx)(n.B.div,{ref:t,display:"flex",alignItems:c,justifyContent:d,flexDirection:b,flexWrap:h,gap:x?void 0:u,className:w,...v,children:k})}));l.displayName="Stack"},61:(e,t,r)=>{"use strict";r.d(t,{q:()=>o});var n=r(6540);function o(e={}){const{name:t,strict:r=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:a,defaultValue:s}=e,l=(0,n.createContext)(s);return l.displayName=t,[l.Provider,function e(){var t;const s=(0,n.useContext)(l);if(!s&&r){const r=new Error(null!=a?a:`${o} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return s},l]}},1600:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});var n=r(6540),o=Boolean(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},3832:(e,t,r)=>{"use strict";r.d(t,{R:()=>dl});var n=r(7437),o=r(4848),i=String.raw,a=i` - :root, - :host { - --chakra-vh: 100vh; - } - - @supports (height: -webkit-fill-available) { - :root, - :host { - --chakra-vh: -webkit-fill-available; - } - } - - @supports (height: -moz-fill-available) { - :root, - :host { - --chakra-vh: -moz-fill-available; - } - } - - @supports (height: 100dvh) { - :root, - :host { - --chakra-vh: 100dvh; - } - } -`,s=()=>(0,o.jsx)(n.mL,{styles:a}),l=({scope:e=""})=>(0,o.jsx)(n.mL,{styles:i` - html { - line-height: 1.5; - -webkit-text-size-adjust: 100%; - font-family: system-ui, sans-serif; - -webkit-font-smoothing: antialiased; - text-rendering: optimizeLegibility; - -moz-osx-font-smoothing: grayscale; - touch-action: manipulation; - } - - body { - position: relative; - min-height: 100%; - margin: 0; - font-feature-settings: "kern"; - } - - ${e} :where(*, *::before, *::after) { - border-width: 0; - border-style: solid; - box-sizing: border-box; - word-wrap: break-word; - } - - main { - display: block; - } - - ${e} hr { - border-top-width: 1px; - box-sizing: content-box; - height: 0; - overflow: visible; - } - - ${e} :where(pre, code, kbd,samp) { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; - font-size: 1em; - } - - ${e} a { - background-color: transparent; - color: inherit; - text-decoration: inherit; - } - - ${e} abbr[title] { - border-bottom: none; - text-decoration: underline; - -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; - } - - ${e} :where(b, strong) { - font-weight: bold; - } - - ${e} small { - font-size: 80%; - } - - ${e} :where(sub,sup) { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; - } - - ${e} sub { - bottom: -0.25em; - } - - ${e} sup { - top: -0.5em; - } - - ${e} img { - border-style: none; - } - - ${e} :where(button, input, optgroup, select, textarea) { - font-family: inherit; - font-size: 100%; - line-height: 1.15; - margin: 0; - } - - ${e} :where(button, input) { - overflow: visible; - } - - ${e} :where(button, select) { - text-transform: none; - } - - ${e} :where( - button::-moz-focus-inner, - [type="button"]::-moz-focus-inner, - [type="reset"]::-moz-focus-inner, - [type="submit"]::-moz-focus-inner - ) { - border-style: none; - padding: 0; - } - - ${e} fieldset { - padding: 0.35em 0.75em 0.625em; - } - - ${e} legend { - box-sizing: border-box; - color: inherit; - display: table; - max-width: 100%; - padding: 0; - white-space: normal; - } - - ${e} progress { - vertical-align: baseline; - } - - ${e} textarea { - overflow: auto; - } - - ${e} :where([type="checkbox"], [type="radio"]) { - box-sizing: border-box; - padding: 0; - } - - ${e} input[type="number"]::-webkit-inner-spin-button, - ${e} input[type="number"]::-webkit-outer-spin-button { - -webkit-appearance: none !important; - } - - ${e} input[type="number"] { - -moz-appearance: textfield; - } - - ${e} input[type="search"] { - -webkit-appearance: textfield; - outline-offset: -2px; - } - - ${e} input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none !important; - } - - ${e} ::-webkit-file-upload-button { - -webkit-appearance: button; - font: inherit; - } - - ${e} details { - display: block; - } - - ${e} summary { - display: list-item; - } - - template { - display: none; - } - - [hidden] { - display: none !important; - } - - ${e} :where( - blockquote, - dl, - dd, - h1, - h2, - h3, - h4, - h5, - h6, - hr, - figure, - p, - pre - ) { - margin: 0; - } - - ${e} button { - background: transparent; - padding: 0; - } - - ${e} fieldset { - margin: 0; - padding: 0; - } - - ${e} :where(ol, ul) { - margin: 0; - padding: 0; - } - - ${e} textarea { - resize: vertical; - } - - ${e} :where(button, [role="button"]) { - cursor: pointer; - } - - ${e} button::-moz-focus-inner { - border: 0 !important; - } - - ${e} table { - border-collapse: collapse; - } - - ${e} :where(h1, h2, h3, h4, h5, h6) { - font-size: inherit; - font-weight: inherit; - } - - ${e} :where(button, input, optgroup, select, textarea) { - padding: 0; - line-height: inherit; - color: inherit; - } - - ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) { - display: block; - } - - ${e} :where(img, video) { - max-width: 100%; - height: auto; - } - - [data-js-focus-visible] - :focus:not([data-focus-visible-added]):not( - [data-focus-visible-disabled] - ) { - outline: none; - box-shadow: none; - } - - ${e} select::-ms-expand { - display: none; - } - - ${a} - `}),c=r(61),[d,u]=(0,c.q)({strict:!1,name:"PortalManagerContext"});function h(e){const{children:t,zIndex:r}=e;return(0,o.jsx)(d,{value:{zIndex:r},children:t})}h.displayName="PortalManager";var p=r(763),f=r(6540);var m=r(4515),g=r(4159),v=r(3291),b=r(4765);function y(e){const{cssVarsRoot:t,theme:r,children:n}=e,i=(0,f.useMemo)((()=>(0,m.gd)(r)),[r]);return(0,o.jsxs)(b.a,{theme:i,children:[(0,o.jsx)(x,{root:t}),n]})}function x({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,o.jsx)(n.mL,{styles:e=>({[t]:e.__cssVars})})}var[S,k]=function(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,o=(0,f.createContext)(void 0);return o.displayName=n,[o.Provider,function e(){var n;const i=(0,f.useContext)(o);if(!i&&t){const t=new Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return i},o]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function w(){const{colorMode:e}=(0,p.G6)();return(0,o.jsx)(n.mL,{styles:t=>{const r=(0,g.rY)(t,"styles.global"),n=(0,v.Jg)(r,{theme:t,colorMode:e});if(!n)return;return(0,m.AH)(n)(t)}})}var C={light:"chakra-ui-light",dark:"chakra-ui-dark"};var _="chakra-ui-color-mode";var T,P=(T=_,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(T)||e}catch(r){}return t||e},set(e){try{localStorage.setItem(T,e)}catch(t){}}});function A(e,t){const r=e.match(new RegExp(`(^| )${t}=([^;]+)`));return null==r?void 0:r[2]}function E(e,t){return{ssr:!!t,type:"cookie",get:r=>t?A(t,e):(null==globalThis?void 0:globalThis.document)&&A(document.cookie,e)||r,set(t){document.cookie=`${e}=${t}; max-age=31536000; path=/`}}}E(_);var R=r(1600),z=()=>{};function j(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function B(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:i,disableTransitionOnChange:a}={},colorModeManager:s=P}=e,l="dark"===i?"dark":"light",[c,d]=(0,f.useState)((()=>j(s,l))),[u,h]=(0,f.useState)((()=>j(s))),{getSystemTheme:m,setClassName:g,setDataset:v,addListener:b}=(0,f.useMemo)((()=>function(e={}){const{preventTransition:t=!0}=e,r={setDataset:e=>{const n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?C.dark:C.light),document.body.classList.remove(e?C.light:C.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=r.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){const t=r.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(e)}))}))}}};return r}({preventTransition:a})),[a]),y="system"!==i||c?c:u,x=(0,f.useCallback)((e=>{const t="system"===e?m():e;d(t),g("dark"===t),v(t),s.set(t)}),[s,m,g,v]);(0,R.U)((()=>{"system"===i&&h(m())}),[]),(0,f.useEffect)((()=>{const e=s.get();x(e||("system"!==i?l:"system"))}),[s,l,i,x]);const S=(0,f.useCallback)((()=>{x("dark"===y?"light":"dark")}),[y,x]);(0,f.useEffect)((()=>{if(n)return b(x)}),[n,b,x]);const k=(0,f.useMemo)((()=>({colorMode:null!=t?t:y,toggleColorMode:t?z:S,setColorMode:t?z:x,forced:void 0!==t})),[y,S,x,t]);return(0,o.jsx)(p.Ig.Provider,{value:k,children:r})}B.displayName="ColorModeProvider";var M=(0,f.createContext)({getDocument:()=>document,getWindow:()=>window});function $(e){const{children:t,environment:r,disabled:n}=e,i=(0,f.useRef)(null),a=(0,f.useMemo)((()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=i.current)?void 0:e.ownerDocument.defaultView)?t:window}}),[r]),s=!n||!r;return(0,o.jsxs)(M.Provider,{value:a,children:[t,s&&(0,o.jsx)("span",{id:"__chakra_env",hidden:!0,ref:i})]})}M.displayName="EnvironmentContext",$.displayName="EnvironmentProvider";var V=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:i,resetCSS:a=!0,theme:c={},environment:d,cssVarsRoot:u,disableEnvironment:p,disableGlobalStyle:f}=e,m=(0,o.jsx)($,{environment:d,disabled:p,children:t});return(0,o.jsx)(y,{theme:c,cssVarsRoot:u,children:(0,o.jsxs)(B,{colorModeManager:r,options:c.config,children:[a?(0,o.jsx)(l,{scope:i}):(0,o.jsx)(s,{}),!f&&(0,o.jsx)(w,{}),n?(0,o.jsx)(h,{zIndex:n,children:m}):m]})})},D=r(1310),F=(e,t)=>e.find((e=>e.id===t));function I(e,t){const r=L(e,t);return{position:r,index:r?e[r].findIndex((e=>e.id===t)):-1}}function L(e,t){for(const[r,n]of Object.entries(e))if(F(n,t))return r}function H(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}function O(e,t){const r=function(e,t=[]){const r=(0,f.useRef)(e);return(0,f.useEffect)((()=>{r.current=e})),(0,f.useCallback)(((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)}),t)}(e);(0,f.useEffect)((()=>{if(null==t)return;let e=null;return e=window.setTimeout((()=>{r()}),t),()=>{e&&window.clearTimeout(e)}}),[t,r])}function W(e,t){const r=(0,f.useRef)(!1),n=(0,f.useRef)(!1);(0,f.useEffect)((()=>{if(r.current&&n.current)return e();n.current=!0}),t),(0,f.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}var N=r(9857);const U=(0,f.createContext)(null);function Y(){return null===(e=(0,f.useContext)(U))||e.isPresent;var e}const q=(0,f.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),G=(0,f.createContext)({}),X="undefined"!=typeof document,K=X?f.useLayoutEffect:f.useEffect,Z=(0,f.createContext)({strict:!1}),J=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Q="data-"+J("framerAppearId"),ee=!1,te=!1;class re{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}const ne=["read","resolveKeyframes","update","preRender","render","postRender"];function oe(e,t){let r=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=ne.reduce(((e,t)=>(e[t]=function(e){let t=new re,r=new re,n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(e,i=!1,s=!1)=>{const l=s&&o,c=l?t:r;return i&&a.add(e),c.add(e)&&l&&o&&(n=t.order.length),e},cancel:e=>{r.remove(e),a.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let r=0;rr=!0)),e)),{}),a=e=>{i[e].process(o)},s=()=>{const i=te?o.timestamp:performance.now();r=!1,o.delta=n?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,ne.forEach(a),o.isProcessing=!1,r&&t&&(n=!1,e(s))},l=ne.reduce(((t,a)=>{const l=i[a];return t[a]=(t,i=!1,a=!1)=>(r||(r=!0,n=!0,o.isProcessing||e(s)),l.schedule(t,i,a)),t}),{});return{schedule:l,cancel:e=>ne.forEach((t=>i[t].cancel(e))),state:o,steps:i}}const{schedule:ie,cancel:ae}=oe(queueMicrotask,!1);function se(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const le=(0,f.createContext)({});let ce=!1;function de(e,t,r,n,o){const{visualElement:i}=(0,f.useContext)(G),a=(0,f.useContext)(Z),s=(0,f.useContext)(U),l=(0,f.useContext)(q).reducedMotion,c=(0,f.useRef)();n=n||a.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:i,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));const d=c.current,u=(0,f.useContext)(le);!d||d.projection||!o||"html"!==d.type&&"svg"!==d.type||function(e,t,r,n){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:he(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(a)||s&&se(s),visualElement:e,scheduleRender:()=>e.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:c})}(c.current,r,o,u),(0,f.useInsertionEffect)((()=>{d&&d.update(r,s)}));const h=(0,f.useRef)(Boolean(r[Q]&&!window.HandoffComplete));return K((()=>{d&&(d.updateFeatures(),ie.render(d.render),h.current&&d.animationState&&d.animationState.animateChanges())})),(0,f.useEffect)((()=>{d&&(!h.current&&d.animationState&&d.animationState.animateChanges(),h.current&&(h.current=!1,ce||(ce=!0,queueMicrotask(ue))))})),d}function ue(){window.HandoffComplete=!0}function he(e){if(e)return!1!==e.options.allowProjection?e.projection:he(e.parent)}function pe(e,t,r){return(0,f.useCallback)((n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):se(r)&&(r.current=n))}),[t])}function fe(e){return"string"==typeof e||Array.isArray(e)}function me(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const ge=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ve=["initial",...ge];function be(e){return me(e.animate)||ve.some((t=>fe(e[t])))}function ye(e){return Boolean(be(e)||e.variants)}function xe(e){const{initial:t,animate:r}=function(e,t){if(be(e)){const{initial:t,animate:r}=e;return{initial:!1===t||fe(t)?t:void 0,animate:fe(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,f.useContext)(G));return(0,f.useMemo)((()=>({initial:t,animate:r})),[Se(t),Se(r)])}function Se(e){return Array.isArray(e)?e.join(" "):e}const ke={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},we={};for(const hl in ke)we[hl]={isEnabled:e=>ke[hl].some((t=>!!e[t]))};const Ce=(0,f.createContext)({}),_e=Symbol.for("motionComponentSymbol");function Te({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&function(e){for(const t in e)we[t]={...we[t],...e[t]}}(e);const a=(0,f.forwardRef)((function(e,a){let s;const l={...(0,f.useContext)(q),...e,layoutId:Pe(e)},{isStatic:c}=l,d=xe(e),u=n(e,c);if(!c&&X){!function(e,t){(0,f.useContext)(Z).strict;0}();const e=function(e){const{drag:t,layout:r}=we;if(!t&&!r)return{};const n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(l);s=e.MeasureLayout,d.visualElement=de(i,u,l,t,e.ProjectionNode)}return(0,o.jsxs)(G.Provider,{value:d,children:[s&&d.visualElement?(0,o.jsx)(s,{visualElement:d.visualElement,...l}):null,r(i,e,pe(u,d.visualElement,a),u,c,d.visualElement)]})}));return a[_e]=i,a}function Pe({layoutId:e}){const t=(0,f.useContext)(Ce).id;return t&&void 0!==e?t+"-"+e:e}function Ae(e){function t(t,r={}){return Te(e(t,r))}if("undefined"==typeof Proxy)return t;const r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}const Ee=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Re(e){return"string"==typeof e&&!e.includes("-")&&!!(Ee.indexOf(e)>-1||/[A-Z]/u.test(e))}const ze={};const je=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Be=new Set(je);function Me(e,{layout:t,layoutId:r}){return Be.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!ze[e]||"opacity"===e)}const $e=e=>Boolean(e&&e.getVelocity),Ve={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},De=je.length;const Fe=e=>t=>"string"==typeof t&&t.startsWith(e),Ie=Fe("--"),Le=Fe("var(--"),He=e=>!!Le(e)&&Oe.test(e.split("/*")[0].trim()),Oe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,We=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Ne=(e,t,r)=>r>t?t:r"number"==typeof e,parse:parseFloat,transform:e=>e},Ye={...Ue,transform:e=>Ne(0,1,e)},qe={...Ue,default:1},Ge=e=>Math.round(1e5*e)/1e5,Xe=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Ke=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Ze=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Je(e){return"string"==typeof e}const Qe=e=>({test:t=>Je(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),et=Qe("deg"),tt=Qe("%"),rt=Qe("px"),nt=Qe("vh"),ot=Qe("vw"),it={...tt,parse:e=>tt.parse(e)/100,transform:e=>tt.transform(100*e)},at={...Ue,transform:Math.round},st={borderWidth:rt,borderTopWidth:rt,borderRightWidth:rt,borderBottomWidth:rt,borderLeftWidth:rt,borderRadius:rt,radius:rt,borderTopLeftRadius:rt,borderTopRightRadius:rt,borderBottomRightRadius:rt,borderBottomLeftRadius:rt,width:rt,maxWidth:rt,height:rt,maxHeight:rt,size:rt,top:rt,right:rt,bottom:rt,left:rt,padding:rt,paddingTop:rt,paddingRight:rt,paddingBottom:rt,paddingLeft:rt,margin:rt,marginTop:rt,marginRight:rt,marginBottom:rt,marginLeft:rt,rotate:et,rotateX:et,rotateY:et,rotateZ:et,scale:qe,scaleX:qe,scaleY:qe,scaleZ:qe,skew:et,skewX:et,skewY:et,distance:rt,translateX:rt,translateY:rt,translateZ:rt,x:rt,y:rt,z:rt,perspective:rt,transformPerspective:rt,opacity:Ye,originX:it,originY:it,originZ:rt,zIndex:at,backgroundPositionX:rt,backgroundPositionY:rt,fillOpacity:Ye,strokeOpacity:Ye,numOctaves:at};function lt(e,t,r,n){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,d=!0;for(const u in t){const e=t[u];if(Ie(u)){i[u]=e;continue}const r=st[u],n=We(e,r);if(Be.has(u)){if(l=!0,a[u]=n,!d)continue;e!==(r.default||0)&&(d=!1)}else u.startsWith("origin")?(c=!0,s[u]=n):o[u]=n}if(t.transform||(l||n?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let a=0;a({style:{},transform:{},transformOrigin:{},vars:{}});function dt(e,t,r){for(const n in t)$e(t[n])||Me(n,r)||(e[n]=t[n])}function ut(e,t,r){const n={};return dt(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t,r){return(0,f.useMemo)((()=>{const n=ct();return lt(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)}),[t])}(e,t,r)),n}function ht(e,t,r){const n={},o=ut(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const pt=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ft(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||pt.has(e)}let mt=e=>!ft(e);try{(gt=require("@emotion/is-prop-valid").default)&&(mt=e=>e.startsWith("on")?!ft(e):gt(e))}catch(ul){}var gt;function vt(e,t,r){return"string"==typeof e?e:rt.transform(t+r*e)}const bt={offset:"stroke-dashoffset",array:"stroke-dasharray"},yt={offset:"strokeDashoffset",array:"strokeDasharray"};function xt(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},d,u,h){if(lt(e,c,d,h),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:f,dimensions:m}=e;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,r){return`${vt(t,e.x,e.width)} ${vt(r,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==a&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?bt:yt;e[i.offset]=rt.transform(-n);const a=rt.transform(t),s=rt.transform(r);e[i.array]=`${a} ${s}`}(p,a,s,l,!1)}const St=()=>({...ct(),attrs:{}}),kt=e=>"string"==typeof e&&"svg"===e.toLowerCase();function wt(e,t,r,n){const o=(0,f.useMemo)((()=>{const r=St();return xt(r,t,{enableHardwareAcceleration:!1},kt(n),e.transformTemplate),{...r.attrs,style:{...r.style}}}),[t]);if(e.style){const t={};dt(t,e.style,e),o.style={...t,...o.style}}return o}function Ct(e=!1){return(t,r,n,{latestValues:o},i)=>{const a=(Re(t)?wt:ht)(r,o,i,t),s=function(e,t,r){const n={};for(const o in e)"values"===o&&"object"==typeof e.values||(mt(o)||!0===r&&ft(o)||!t&&!ft(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),l=t!==f.Fragment?{...s,...a,ref:n}:{},{children:c}=r,d=(0,f.useMemo)((()=>$e(c)?c.get():c),[c]);return(0,f.createElement)(t,{...l,children:d})}}function _t(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const i in r)e.style.setProperty(i,r[i])}const Tt=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Pt(e,t,r,n){_t(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(Tt.has(o)?o:J(o),t.attrs[o])}function At(e,t,r){var n;const{style:o}=e,i={};for(const a in o)($e(o[a])||t.style&&$e(t.style[a])||Me(a,e)||void 0!==(null===(n=null==r?void 0:r.getValue(a))||void 0===n?void 0:n.liveStyle))&&(i[a]=o[a]);return i}function Et(e,t,r){const n=At(e,t,r);for(const o in e)if($e(e[o])||$e(t[o])){n[-1!==je.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function Rt(e){const t=[{},{}];return null==e||e.values.forEach(((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()})),t}function zt(e,t,r,n){if("function"==typeof t){const[o,i]=Rt(n);t=t(void 0!==r?r:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=Rt(n);t=t(void 0!==r?r:e.custom,o,i)}return t}function jt(e){const t=(0,f.useRef)(null);return null===t.current&&(t.current=e()),t.current}const Bt=e=>Array.isArray(e),Mt=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),$t=e=>Bt(e)?e[e.length-1]||0:e;function Vt(e){const t=$e(e)?e.get():e;return Mt(t)?t.toValue():t}const Dt=e=>(t,r)=>{const n=(0,f.useContext)(G),o=(0,f.useContext)(U),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:Ft(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a}(e,t,n,o);return r?i():jt(i)};function Ft(e,t,r,n){const o={},i=n(e,{});for(const h in i)o[h]=Vt(i[h]);let{initial:a,animate:s}=e;const l=be(e),c=ye(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let d=!!r&&!1===r.initial;d=d||!1===a;const u=d?s:a;if(u&&"boolean"!=typeof u&&!me(u)){(Array.isArray(u)?u:[u]).forEach((t=>{const r=zt(e,t);if(!r)return;const{transitionEnd:n,transition:i,...a}=r;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[d?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in n)o[e]=n[e]}))}return o}const It=e=>e,{schedule:Lt,cancel:Ht,state:Ot,steps:Wt}=oe("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:It,!0),Nt={useVisualState:Dt({scrapeMotionValuesFromProps:Et,createRenderState:St,onMount:(e,t,{renderState:r,latestValues:n})=>{Lt.read((()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}})),Lt.render((()=>{xt(r,n,{enableHardwareAcceleration:!1},kt(t.tagName),e.transformTemplate),Pt(t,r)}))}})},Ut={useVisualState:Dt({scrapeMotionValuesFromProps:At,createRenderState:ct})};function Yt(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const qt=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Gt(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const Xt=e=>t=>qt(t)&&e(t,Gt(t));function Kt(e,t,r,n){return Yt(e,t,Xt(r),n)}const Zt=(e,t)=>r=>t(e(r)),Jt=(...e)=>e.reduce(Zt);function Qt(e){let t=null;return()=>{const r=()=>{t=null};return null===t&&(t=e,r)}}const er=Qt("dragHorizontal"),tr=Qt("dragVertical");function rr(e){let t=!1;if("y"===e)t=tr();else if("x"===e)t=er();else{const e=er(),r=tr();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function nr(){const e=rr(!0);return!e||(e(),!1)}class or{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ir(e,t){const r=t?"pointerenter":"pointerleave",n=t?"onHoverStart":"onHoverEnd";return Kt(e.current,r,((r,o)=>{if("touch"===r.pointerType||nr())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);const a=i[n];a&&Lt.postRender((()=>a(r,o)))}),{passive:!e.getProps()[n]})}const ar=(e,t)=>!!t&&(e===t||ar(e,t.parentElement));function sr(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Gt(r))}const lr=new WeakMap,cr=new WeakMap,dr=e=>{const t=lr.get(e.target);t&&t(e)},ur=e=>{e.forEach(dr)};function hr(e,t,r){const n=function({root:e,...t}){const r=e||document;cr.has(r)||cr.set(r,{});const n=cr.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(ur,{root:e,...t})),n[o]}(t);return lr.set(e,r),n.observe(e),()=>{lr.delete(e),n.unobserve(e)}}const pr={some:0,all:1};const fr={inView:{Feature:class extends or{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:pr[n]};return hr(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends or{constructor(){super(...arguments),this.removeStartListeners=It,this.removeEndListeners=It,this.removeAccessibleListeners=It,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),n=Kt(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps(),i=o||ar(this.node.current,e.target)?r:n;i&&Lt.update((()=>i(e,t)))}),{passive:!(r.onTap||r.onPointerUp)}),o=Kt(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Jt(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Yt(this.node.current,"keydown",(e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Yt(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&sr("up",((e,t)=>{const{onTap:r}=this.node.getProps();r&&Lt.postRender((()=>r(e,t)))}))})),sr("down",((e,t)=>{this.startPress(e,t)}))})),t=Yt(this.node.current,"blur",(()=>{this.isPressing&&sr("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=Jt(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Lt.postRender((()=>r(e,t)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!nr()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Lt.postRender((()=>r(e,t)))}mount(){const e=this.node.getProps(),t=Kt(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Yt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Jt(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends or{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Jt(Yt(this.node.current,"focus",(()=>this.onFocus())),Yt(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends or{mount(){this.unmount=Jt(ir(this.node,!0),ir(this.node,!1))}unmount(){}}}};function mr(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n1e3*e,br=e=>e/1e3,yr={type:"spring",stiffness:500,damping:25,restSpeed:10},xr={type:"keyframes",duration:.8},Sr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},kr=(e,{keyframes:t})=>t.length>2?xr:Be.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:yr:Sr;function wr(e,t){return e[t]||e.default||e}const Cr=!1,_r=e=>null!==e;function Tr(e,{repeat:t,repeatType:r="loop"},n){const o=e.filter(_r),i=t&&"loop"!==r&&t%2==1?0:o.length-1;return i&&void 0!==n?n:o[i]}let Pr;function Ar(){Pr=void 0}const Er={now:()=>(void 0===Pr&&Er.set(Ot.isProcessing||te?Ot.timestamp:performance.now()),Pr),set:e=>{Pr=e,queueMicrotask(Ar)}},Rr=e=>/^0[^.\s]+$/u.test(e);let zr=It,jr=It;const Br=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Mr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $r(e,t,r=1){jr(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,o]=function(e){const t=Mr.exec(e);if(!t)return[,];const[,r,n,o]=t;return[`--${null!=r?r:n}`,o]}(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const e=i.trim();return Br(e)?parseFloat(e):e}return He(o)?$r(o,t,r+1):o}const Vr=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Dr=e=>e===Ue||e===rt,Fr=(e,t)=>parseFloat(e.split(", ")[t]),Ir=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/u);if(o)return Fr(o[1],t);{const t=n.match(/^matrix\((.+)\)$/u);return t?Fr(t[1],e):0}},Lr=new Set(["x","y","z"]),Hr=je.filter((e=>!Lr.has(e)));const Or={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Ir(4,13),y:Ir(5,14)};Or.translateX=Or.x,Or.translateY=Or.y;const Wr=e=>t=>t.test(e),Nr=[Ue,rt,tt,et,ot,nt,{test:e=>"auto"===e,parse:e=>e}],Ur=e=>Nr.find(Wr(e)),Yr=new Set;let qr=!1,Gr=!1;function Xr(){if(Gr){const e=Array.from(Yr).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),r=new Map;t.forEach((e=>{const t=function(e){const t=[];return Hr.forEach((r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t}(e);t.length&&(r.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=r.get(e);t&&t.forEach((([t,r])=>{var n;null===(n=e.getValue(t))||void 0===n||n.set(r)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}Gr=!1,qr=!1,Yr.forEach((e=>e.complete())),Yr.clear()}function Kr(){Yr.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Gr=!0)}))}class Zr{constructor(e,t,r,n,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Yr.add(this),qr||(qr=!0,Lt.read(Kr),Lt.resolveKeyframes(Xr))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let o=0;or=>Boolean(Je(r)&&Ze.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Qr=(e,t,r)=>n=>{if(!Je(n))return n;const[o,i,a,s]=n.match(Xe);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},en={...Ue,transform:e=>Math.round((e=>Ne(0,255,e))(e))},tn={test:Jr("rgb","red"),parse:Qr("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+en.transform(e)+", "+en.transform(t)+", "+en.transform(r)+", "+Ge(Ye.transform(n))+")"};const rn={test:Jr("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:tn.transform},nn={test:Jr("hsl","hue"),parse:Qr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+tt.transform(Ge(t))+", "+tt.transform(Ge(r))+", "+Ge(Ye.transform(n))+")"},on={test:e=>tn.test(e)||rn.test(e)||nn.test(e),parse:e=>tn.test(e)?tn.parse(e):nn.test(e)?nn.parse(e):rn.parse(e),transform:e=>Je(e)?e:e.hasOwnProperty("red")?tn.transform(e):nn.transform(e)};const an="number",sn="color",ln="var",cn="var(",dn="${}",un=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function hn(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(un,(e=>(on.test(e)?(n.color.push(i),o.push(sn),r.push(on.parse(e))):e.startsWith(cn)?(n.var.push(i),o.push(ln),r.push(e)):(n.number.push(i),o.push(an),r.push(parseFloat(e))),++i,dn))).split(dn);return{values:r,split:a,indexes:n,types:o}}function pn(e){return hn(e).values}function fn(e){const{split:t,types:r}=hn(e),n=t.length;return e=>{let o="";for(let i=0;i"number"==typeof e?0:e;const gn={test:function(e){var t,r;return isNaN(e)&&Je(e)&&((null===(t=e.match(Xe))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(Ke))||void 0===r?void 0:r.length)||0)>0},parse:pn,createTransformer:fn,getAnimatableNone:function(e){const t=pn(e);return fn(e)(t.map(mn))}},vn=new Set(["brightness","contrast","saturate","opacity"]);function bn(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Xe)||[];if(!n)return e;const o=r.replace(n,"");let i=vn.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const yn=/\b([a-z-]*)\(.*?\)/gu,xn={...gn,getAnimatableNone:e=>{const t=e.match(yn);return t?t.map(bn).join(" "):e}},Sn={...st,color:on,backgroundColor:on,outlineColor:on,fill:on,stroke:on,borderColor:on,borderTopColor:on,borderRightColor:on,borderBottomColor:on,borderLeftColor:on,filter:xn,WebkitFilter:xn},kn=e=>Sn[e];function wn(e,t){let r=kn(e);return r!==xn&&(r=gn),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Cn=new Set(["auto","none","0"]);class _n extends Zr{constructor(e,t,r,n){super(e,t,r,n,null==n?void 0:n.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let s=0;s{t.getValue(e).set(r)})),this.resolveNoneKeyframes()}}function Tn(e){let t;return()=>(void 0===t&&(t=e()),t)}const Pn=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!gn.test(e)&&"0"!==e||e.startsWith("url(")));class An{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(Kr(),Xr()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;const{name:r,type:n,velocity:o,delay:i,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=Pn(o,t),s=Pn(i,t);return zr(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let r=0;r{this.resolveFinishedPromise=e}))}}function En(e,t){return t?e*(1e3/t):0}const Rn=5;function zn(e,t,r){const n=Math.max(t-Rn,0);return En(r-e(n),t-n)}const jn=.001,Bn=.01,Mn=10,$n=.05,Vn=1;function Dn({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;zr(e<=vr(Mn),"Spring duration must be 10 seconds or less");let a=1-t;a=Ne($n,Vn,a),e=Ne(Bn,Mn,br(e)),a<1?(o=t=>{const n=t*a,o=n*e,i=n-r,s=In(t,a),l=Math.exp(-o);return jn-i/s*l},i=t=>{const n=t*a*e,i=n*r+r,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=In(Math.pow(t,2),a);return(-o(t)+jn>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-r)*e+1)-jn,i=t=>Math.exp(-t*e)*(e*e*(r-t)));const s=function(e,t,r){let n=r;for(let o=1;ovoid 0!==e[t]))}function Wn({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,duration:d,velocity:u,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!On(e,Hn)&&On(e,Ln)){const r=Dn(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-br(n.velocity||0)}),p=u||0,f=l/(2*Math.sqrt(s*c)),m=i-o,g=br(Math.sqrt(s/c)),v=Math.abs(m)<5;let b;if(r||(r=v?.01:2),t||(t=v?.005:.5),f<1){const e=In(g,f);b=t=>{const r=Math.exp(-f*g*t);return i-r*((p+f*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===f)b=e=>i-Math.exp(-g*e)*(m+(p+g*m)*e);else{const e=g*Math.sqrt(f*f-1);b=t=>{const r=Math.exp(-f*g*t),n=Math.min(e*t,300);return i-r*((p+f*g*m)*Math.sinh(n)+e*m*Math.cosh(n))/e}}return{calculatedDuration:h&&d||null,next:e=>{const n=b(e);if(h)a.done=e>=d;else{let o=p;0!==e&&(o=f<1?zn(b,e,n):0);const s=Math.abs(o)<=r,l=Math.abs(i-n)<=t;a.done=s&&l}return a.value=a.done?i:n,a}}}function Nn({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:d}){const u=e[0],h={done:!1,value:u},p=e=>void 0===s?l:void 0===l||Math.abs(s-e)-f*Math.exp(-e/n),b=e=>g+v(e),y=e=>{const t=v(e),r=b(e);h.done=Math.abs(t)<=c,h.value=h.done?g:r};let x,S;const k=e=>{var t;(t=h.value,void 0!==s&&tl)&&(x=e,S=Wn({keyframes:[h.value,p(h.value)],velocity:zn(b,e,h.value),damping:o,stiffness:i,restDelta:c,restSpeed:d}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return S||void 0!==x||(t=!0,y(e),k(e)),void 0!==x&&e>=x?S.next(e-x):(!t&&y(e),h)}}}const Un=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Yn=1e-7,qn=12;function Gn(e,t,r,n){if(e===t&&r===n)return It;const o=t=>function(e,t,r,n,o){let i,a,s=0;do{a=t+(r-t)/2,i=Un(a,n,o)-e,i>0?r=a:t=a}while(Math.abs(i)>Yn&&++s0===e||1===e?e:Un(o(e),t,n)}const Xn=Gn(.42,0,1,1),Kn=Gn(0,0,.58,1),Zn=Gn(.42,0,.58,1),Jn=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Qn=e=>t=>1-e(1-t),eo=e=>1-Math.sin(Math.acos(e)),to=Qn(eo),ro=Jn(eo),no=Gn(.33,1.53,.69,.99),oo=Qn(no),io=Jn(oo),ao={linear:It,easeIn:Xn,easeInOut:Zn,easeOut:Kn,circIn:eo,circInOut:ro,circOut:to,backIn:oo,backInOut:io,backOut:no,anticipate:e=>(e*=2)<1?.5*oo(e):.5*(2-Math.pow(2,-10*(e-1)))},so=e=>{if(Array.isArray(e)){jr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return Gn(t,r,n,o)}return"string"==typeof e?(jr(void 0!==ao[e],`Invalid easing type '${e}'`),ao[e]):e},lo=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},co=(e,t,r)=>e+(t-e)*r;function uo(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ho(e,t){return r=>r>0?t:e}const po=(e,t,r)=>{const n=e*e,o=r*(t*t-n)+n;return o<0?0:Math.sqrt(o)},fo=[rn,tn,nn];function mo(e){const t=(r=e,fo.find((e=>e.test(r))));var r;if(zr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let n=t.parse(e);return t===nn&&(n=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,a=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;o=uo(s,n,e+1/3),i=uo(s,n,e),a=uo(s,n,e-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(n)),n}const go=(e,t)=>{const r=mo(e),n=mo(t);if(!r||!n)return ho(e,t);const o={...r};return e=>(o.red=po(r.red,n.red,e),o.green=po(r.green,n.green,e),o.blue=po(r.blue,n.blue,e),o.alpha=co(r.alpha,n.alpha,e),tn.transform(o))},vo=new Set(["none","hidden"]);function bo(e,t){return r=>co(e,t,r)}function yo(e){return"number"==typeof e?bo:"string"==typeof e?He(e)?ho:on.test(e)?go:ko:Array.isArray(e)?xo:"object"==typeof e?on.test(e)?go:So:ho}function xo(e,t){const r=[...e],n=r.length,o=e.map(((e,r)=>yo(e)(e,t[r])));return e=>{for(let t=0;t{for(const t in n)r[t]=n[t](e);return r}}const ko=(e,t)=>{const r=gn.createTransformer(t),n=hn(e),o=hn(t);return n.indexes.var.length===o.indexes.var.length&&n.indexes.color.length===o.indexes.color.length&&n.indexes.number.length>=o.indexes.number.length?vo.has(e)&&!o.values.length||vo.has(t)&&!n.values.length?function(e,t){return vo.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}(e,t):Jt(xo(function(e,t){var r;const n=[],o={color:0,var:0,number:0};for(let i=0;it[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,r){const n=[],o=r||wo,i=e.length-1;for(let a=0;a{let r=0;if(s>1)for(;rl(Ne(e[0],e[i-1],t)):l}function _o(e){const t=[0];return function(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=lo(0,t,n);e.push(co(r,1,o))}}(t,e.length-1),t}function To({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(n)?n.map(so):so(n),i={done:!1,value:t[0]},a=function(e,t){return e.map((e=>e*t))}(r&&r.length===t.length?r:_o(t),e),s=Co(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map((()=>c||Zn)).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}const Po=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Lt.update(t,!0),stop:()=>Ht(t),now:()=>Ot.isProcessing?Ot.timestamp:Er.now()}},Ao={decay:Nn,inertia:Nn,tween:To,keyframes:To,spring:Wn},Eo=e=>e/100;class Ro extends An{constructor({KeyframeResolver:e=Zr,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:r,motionValue:n,keyframes:o}=this.options,i=(e,t)=>this.onKeyframesResolved(e,t);r&&n&&n.owner?this.resolver=n.owner.resolveKeyframes(o,i,r,n):this.resolver=new e(o,i,r,n),this.resolver.scheduleResolve()}initPlayback(e){const{type:t="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:i=0}=this.options,a=Ao[t]||To;let s,l;a!==To&&"number"!=typeof e[0]&&(s=Jt(Eo,wo(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});"mirror"===o&&(l=a({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===c.calculatedDuration&&(c.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(c));const{calculatedDuration:d}=c,u=d+n;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:s,calculatedDuration:d,resolvedDuration:u,totalDuration:u*(r+1)-n}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:r}=this;if(!r){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:n,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:c,resolvedDuration:d}=r;if(null===this.startTime)return o.next(0);const{delay:u,repeat:h,repeatType:p,repeatDelay:f,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-u*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let b=this.currentTime,y=o;if(h){const e=Math.min(this.currentTime,c)/d;let t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,h+1);Boolean(t%2)&&("reverse"===p?(r=1-r,f&&(r-=f/d)):"mirror"===p&&(y=i)),b=Ne(0,1,r)*d}const x=v?{done:!1,value:s[0]}:y.next(b);a&&(x.value=a(x.value));let{done:S}=x;v||null===l||(S=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return k&&void 0!==n&&(x.value=Tr(s,this.options,n)),m&&m(x.value),k&&this.finish(),x}get duration(){const{resolved:e}=this;return e?br(e.calculatedDuration):0}get time(){return br(this.currentTime)}set time(e){e=vr(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=br(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Po,onPlay:t}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const zo=e=>Array.isArray(e)&&"number"==typeof e[0];function jo(e){return Boolean(!e||"string"==typeof e&&e in Mo||zo(e)||Array.isArray(e)&&e.every(jo))}const Bo=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Mo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Bo([0,.65,.55,1]),circOut:Bo([.55,0,1,.45]),backIn:Bo([.31,.01,.66,-.59]),backOut:Bo([.33,1.53,.69,.99])};function $o(e){return Vo(e)||Mo.easeOut}function Vo(e){return e?zo(e)?Bo(e):Array.isArray(e)?e.map($o):Mo[e]:void 0}const Do=Tn((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),Fo=new Set(["opacity","clipPath","filter","transform"]);class Io extends An{constructor(e){super(e);const{name:t,motionValue:r,keyframes:n}=this.options;this.resolver=new _n(n,((e,t)=>this.onKeyframesResolved(e,t)),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r;let{duration:n=300,times:o,ease:i,type:a,motionValue:s,name:l}=this.options;if(!(null===(r=s.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(c=this.options).type||"backgroundColor"===c.name||!jo(c.ease)){const{onComplete:t,onUpdate:r,motionValue:s,...l}=this.options,c=function(e,t){const r=new Ro({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let n={done:!1,value:e[0]};const o=[];let i=0;for(;!n.done&&i<2e4;)n=r.sample(i),o.push(n.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,l);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,o=c.times,i=c.ease,a="keyframes"}var c;const d=function(e,t,r,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:r};l&&(c.offset=l);const d=Vo(s);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:n,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(s.owner.current,l,e,{...this.options,duration:n,times:o,ease:i});return d.startTime=Er.now(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{const{onComplete:r}=this.options;s.set(Tr(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:n,times:o,type:a,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return br(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return br(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.currentTime=vr(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:r}=t;r.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return It;const{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return It}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:r,duration:n,type:o,ease:i,times:a}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){const{motionValue:e,onUpdate:t,onComplete:s,...l}=this.options,c=new Ro({...l,keyframes:r,duration:n,type:o,ease:i,times:a,isGenerator:!0}),d=vr(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}this.cancel()}}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:r,repeatDelay:n,repeatType:o,damping:i,type:a}=e;return Do()&&r&&Fo.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!n&&"mirror"!==o&&0!==i&&"inertia"!==a}}const Lo=Tn((()=>void 0!==window.ScrollTimeline));class Ho{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r{if(!Lo()||!t.attachTimeline)return t.pause(),function(e,t){let r;const n=()=>{const{currentTime:n}=t,o=(null===n?0:n.value)/100;r!==o&&e(o),r=o};return Lt.update(n,!0),()=>Ht(n)}((e=>{t.time=t.duration*e}),e);t.attachTimeline(e)}));return()=>{t.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let t=0;tt[e]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const Oo=(e,t,r,n={},o,i)=>a=>{const s=wr(n,e)||{},l=s.delay||n.delay||0;let{elapsed:c=0}=n;c-=vr(l);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...d}){return!!Object.keys(d).length})(s)||(d={...d,...kr(e,d)}),d.duration&&(d.duration=vr(d.duration)),d.repeatDelay&&(d.repeatDelay=vr(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let u=!1;if((!1===d.type||0===d.duration&&!d.repeatDelay)&&(d.duration=0,0===d.delay&&(u=!0)),(Cr||ee)&&(u=!0,d.duration=0,d.delay=0),u&&!i&&void 0!==t.get()){const e=Tr(d.keyframes,s);if(void 0!==e)return Lt.update((()=>{d.onUpdate(e),d.onComplete()})),new Ho([])}return!i&&Io.supports(d)?new Io(d):new Ro(d)};function Wo(e){return Boolean($e(e)&&e.add)}function No(e,t){-1===e.indexOf(t)&&e.push(t)}function Uo(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Yo{constructor(){this.subscriptions=[]}add(e){return No(this.subscriptions,e),()=>Uo(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o{const r=Er.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Er.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Yo);const r=this.events[e].add(t);return"change"===e?()=>{r(),Lt.read((()=>{this.events.change.getSize()||this.stop()}))}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return qo.current&&qo.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Er.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return En(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Xo(e,t){return new Go(e,t)}function Ko(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Xo(r))}function Zo(e){return e.getProps()[Q]}function Jo({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function Qo(e,t,{delay:r=0,transitionOverride:n,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;const c=e.getValue("willChange");n&&(a=n);const d=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const h in l){const t=e.getValue(h,null!==(i=e.latestValues[h])&&void 0!==i?i:null),n=l[h];if(void 0===n||u&&Jo(u,h))continue;const o={delay:r,elapsed:0,...wr(a||{},h)};let s=!1;if(window.HandoffAppearAnimations){const r=Zo(e);if(r){const e=window.HandoffAppearAnimations(r,h,t,Lt);null!==e&&(o.elapsed=e,s=!0)}}t.start(Oo(h,t,n,e.shouldReduceMotion&&Be.has(h)?{type:!1}:o,e,s));const p=t.animation;p&&(Wo(c)&&(c.add(h),p.then((()=>c.remove(h)))),d.push(p))}return s&&Promise.all(d).then((()=>{Lt.update((()=>{s&&function(e,t){const r=gr(e,t);let{transitionEnd:n={},transition:o={},...i}=r||{};i={...i,...n};for(const a in i)Ko(e,a,$t(i[a]))}(e,s)}))})),d}function ei(e,t,r={}){var n;const o=gr(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};r.transitionOverride&&(i=r.transitionOverride);const a=o?()=>Promise.all(Qo(e,o,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,r=0,n=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(ti).forEach(((e,n)=>{e.notify("AnimationStart",t),a.push(ei(e,t,{...i,delay:r+l(n)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(a)}(e,t,o+n,a,s,r)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then((()=>t()))}return Promise.all([a(),s(r.delay)])}function ti(e,t){return e.sortNodePosition(t)}const ri=[...ge].reverse(),ni=ge.length;function oi(e){return t=>Promise.all(t.map((({animation:t,options:r})=>function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>ei(e,t,r)));n=Promise.all(o)}else if("string"==typeof t)n=ei(e,t,r);else{const o="function"==typeof t?gr(e,t,r.custom):t;n=Promise.all(Qo(e,o,r))}return n.then((()=>{Lt.postRender((()=>{e.notify("AnimationComplete",t)}))}))}(e,t,r))))}function ii(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!mr(t,e)}function ai(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function si(){return{animate:ai(!0),whileInView:ai(),whileHover:ai(),whileTap:ai(),whileDrag:ai(),whileFocus:ai(),exit:ai()}}let li=0;const ci={animation:{Feature:class extends or{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=oi(e),r=si(),n=!0;const o=t=>(r,n)=>{var o;const i=gr(e,n,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function i(i){const a=e.getProps(),s=e.getVariantContext(!0)||{},l=[],c=new Set;let d={},u=1/0;for(let t=0;tu&&m,y=!1;const x=Array.isArray(f)?f:[f];let S=x.reduce(o(h),{});!1===g&&(S={});const{prevResolvedValues:k={}}=p,w={...k,...S},C=t=>{b=!0,c.has(t)&&(y=!0,c.delete(t)),p.needsAnimating[t]=!0;const r=e.getValue(t);r&&(r.liveStyle=!1)};for(const e in w){const t=S[e],r=k[e];if(d.hasOwnProperty(e))continue;let n=!1;n=Bt(t)&&Bt(r)?!mr(t,r):t!==r,n?null!=t?C(e):c.add(e):void 0!==t&&c.has(e)?C(e):p.protectedKeys[e]=!0}p.prevProp=f,p.prevResolvedValues=S,p.isActive&&(d={...d,...S}),n&&e.blockInitialAnimation&&(b=!1),!b||v&&!y||l.push(...x.map((e=>({animation:e,options:{type:h}}))))}if(c.size){const t={};c.forEach((r=>{const n=e.getBaseTarget(r),o=e.getValue(r);o&&(o.liveStyle=!0),t[r]=null!=n?n:null})),l.push({animation:t})}let h=Boolean(l.length);return!n||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(h=!1),n=!1,h?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,n){var o;if(r[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)})),r[t].isActive=n;const a=i(t);for(const e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=si(),n=!0}}}(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();me(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends or{constructor(){super(...arguments),this.id=li++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},di=(e,t)=>Math.abs(e-t);class ui{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=fi(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=di(e.x,t.x),n=di(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;const{point:n}=e,{timestamp:o}=Ot;this.history.push({...n,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=hi(t,this.transformPagePoint),Lt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:r,onSessionEnd:n,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=fi("pointercancel"===e.type?this.lastMoveEventInfo:hi(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!qt(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;const i=hi(Gt(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=Ot;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,fi(i,this.history)),this.removeListeners=Jt(Kt(this.contextWindow,"pointermove",this.handlePointerMove),Kt(this.contextWindow,"pointerup",this.handlePointerUp),Kt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ht(this.updatePoint)}}function hi(e,t){return t?{point:t(e.point)}:e}function pi(e,t){return{x:e.x-t.x,y:e.y-t.y}}function fi({point:e},t){return{point:e,delta:pi(e,gi(t)),offset:pi(e,mi(t)),velocity:vi(t,.1)}}function mi(e){return e[0]}function gi(e){return e[e.length-1]}function vi(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=gi(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>vr(t)));)r--;if(!n)return{x:0,y:0};const i=br(o.timestamp-n.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function bi(e){return e.max-e.min}function yi(e,t=0,r=.01){return Math.abs(e-t)<=r}function xi(e,t,r,n=.5){e.origin=n,e.originPoint=co(t.min,t.max,e.origin),e.scale=bi(r)/bi(t),(yi(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=co(r.min,r.max,e.origin)-e.originPoint,(yi(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Si(e,t,r,n){xi(e.x,t.x,r.x,n?n.originX:void 0),xi(e.y,t.y,r.y,n?n.originY:void 0)}function ki(e,t,r){e.min=r.min+t.min,e.max=e.min+bi(t)}function wi(e,t,r){e.min=t.min-r.min,e.max=e.min+bi(t)}function Ci(e,t,r){wi(e.x,t.x,r.x),wi(e.y,t.y,r.y)}function _i(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Ti(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),zi=()=>({x:{min:0,max:0},y:{min:0,max:0}});function ji(e){return[e("x"),e("y")]}function Bi({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function Mi(e){return void 0===e||1===e}function $i({scale:e,scaleX:t,scaleY:r}){return!Mi(e)||!Mi(t)||!Mi(r)}function Vi(e){return $i(e)||Di(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Di(e){return Fi(e.x)||Fi(e.y)}function Fi(e){return e&&"0%"!==e}function Ii(e,t,r){return r+t*(e-r)}function Li(e,t,r,n,o){return void 0!==o&&(e=Ii(e,o,n)),Ii(e,r,n)+t}function Hi(e,t=0,r=1,n,o){e.min=Li(e.min,t,r,n,o),e.max=Li(e.max,t,r,n,o)}function Oi(e,{x:t,y:r}){Hi(e.x,t.translate,t.scale,t.originPoint),Hi(e.y,r.translate,r.scale,r.originPoint)}function Wi(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ni(e,t){e.min=e.min+t,e.max=e.max+t}function Ui(e,t,[r,n,o]){const i=void 0!==t[o]?t[o]:.5,a=co(e.min,e.max,i);Hi(e,t[r],t[n],a,t.scale)}const Yi=["x","scaleX","originX"],qi=["y","scaleY","originY"];function Gi(e,t){Ui(e.x,t,Yi),Ui(e.y,t,qi)}function Xi(e,t){return Bi(function(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const Ki=({current:e})=>e?e.ownerDocument.defaultView:null,Zi=new WeakMap;class Ji{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=zi(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:n}=this.getProps();this.panSession=new ui(e,{onSessionStart:e=>{const{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Gt(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=rr(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ji((e=>{let t=this.getAxisMotionValue(e).get()||0;if(tt.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];if(n){t=bi(n)*(parseFloat(t)/100)}}}this.originPoint[e]=t})),o&&Lt.postRender((()=>o(e,t)));const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:a}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>ji((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:Ki(this.visualElement)})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:o}=this.getProps();o&&Lt.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!Qi(e,n,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:r},n){return void 0!==t&&er&&(e=n?co(r,e,n.max):Math.min(e,r)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&se(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(e,{top:t,left:r,bottom:n,right:o}){return{x:_i(e.x,r,o),y:_i(e.y,t,n)}}(n.layoutBox,t),this.elastic=function(e=Pi){return!1===e?e=0:!0===e&&(e=Pi),{x:Ai(e,"left","right"),y:Ai(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ji((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!se(e))return!1;const r=e.current;jr(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const o=function(e,t,r){const n=Xi(e,r),{scroll:o}=t;return o&&(Ni(n.x,o.offset.x),Ni(n.y,o.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Ti(e.x,t.x),y:Ti(e.y,t.y)}}(n.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Bi(e))}return i}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=ji((a=>{if(!Qi(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=n?200:1e6,d=n?40:1e7,u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:c,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,u)}));return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(Oo(e,r,0,t,this.visualElement))}stopAnimation(){ji((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){ji((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){ji((t=>{const{drag:r}=this.getProps();if(!Qi(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){const{min:r,max:i}=n.layout.layoutBox[t];o.set(e[t]-co(r,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!se(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};ji((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const r=t.get();n[e]=function(e,t){let r=.5;const n=bi(e),o=bi(t);return o>n?r=lo(t.min,t.max-n,e.min):n>o&&(r=lo(e.min,e.max-o,t.min)),Ne(0,1,r)}({min:r,max:r},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ji((t=>{if(!Qi(t,e,null))return;const r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(co(o,i,n[t]))}))}addListeners(){if(!this.visualElement.current)return;Zi.set(this.visualElement,this);const e=Kt(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();se(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Lt.read(t);const o=Yt(window,"resize",(()=>this.scalePositionWithinConstraints())),i=r.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ji((t=>{const r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),n(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=Pi,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function Qi(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const ea=e=>(t,r)=>{e&&Lt.postRender((()=>e(t,r)))};const ta={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ra(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const na={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!rt.test(e))return e;e=parseFloat(e)}return`${ra(e,t.target.x)}% ${ra(e,t.target.y)}%`}},oa={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=gn.parse(e);if(o.length>5)return n;const i=gn.createTransformer(e),a="number"!=typeof o[0]?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=co(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}};class ia extends f.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;var i;i=sa,Object.assign(ze,i),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ta.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,i=r.projection;return i?(i.isPresent=o,n||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||Lt.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ie.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function aa(e){const[t,r]=function(){const e=(0,f.useContext)(U);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,o=(0,f.useId)();return(0,f.useEffect)((()=>n(o)),[]),!t&&r?[!1,()=>r&&r(o)]:[!0]}(),n=(0,f.useContext)(Ce);return(0,o.jsx)(ia,{...e,layoutGroup:n,switchLayoutGroup:(0,f.useContext)(le),isPresent:t,safeToRemove:r})}const sa={borderRadius:{...na,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:na,borderTopRightRadius:na,borderBottomLeftRadius:na,borderBottomRightRadius:na,boxShadow:oa},la=["TopLeft","TopRight","BottomLeft","BottomRight"],ca=la.length,da=e=>"string"==typeof e?parseFloat(e):e,ua=e=>"number"==typeof e||rt.test(e);function ha(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const pa=ma(0,.5,to),fa=ma(.5,.95,It);function ma(e,t,r){return n=>nt?1:r(lo(e,t,n))}function ga(e,t){e.min=t.min,e.max=t.max}function va(e,t){ga(e.x,t.x),ga(e.y,t.y)}function ba(e,t,r,n,o){return e=Ii(e-=t,1/r,n),void 0!==o&&(e=Ii(e,1/o,n)),e}function ya(e,t,[r,n,o],i,a){!function(e,t=0,r=1,n=.5,o,i=e,a=e){tt.test(t)&&(t=parseFloat(t),t=co(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=co(i.min,i.max,n);e===i&&(s-=t),e.min=ba(e.min,t,r,s,o),e.max=ba(e.max,t,r,s,o)}(e,t[r],t[n],t[o],t.scale,i,a)}const xa=["x","scaleX","originX"],Sa=["y","scaleY","originY"];function ka(e,t,r,n){ya(e.x,t,xa,r?r.x:void 0,n?n.x:void 0),ya(e.y,t,Sa,r?r.y:void 0,n?n.y:void 0)}function wa(e){return 0===e.translate&&1===e.scale}function Ca(e){return wa(e.x)&&wa(e.y)}function _a(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Ta(e){return bi(e.x)/bi(e.y)}class Pa{constructor(){this.members=[]}add(e){No(this.members,e),e.scheduleRender()}remove(e){if(Uo(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let r;for(let n=t;n>=0;n--){const e=this.members[n];if(!1!==e.isPresent){r=e;break}}return!!r&&(this.promote(r),!0)}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Aa(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=(null==r?void 0:r.z)||0;if((o||i||a)&&(n=`translate3d(${o}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:a,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),o&&(n+=`rotateX(${o}deg) `),i&&(n+=`rotateY(${i}deg) `),a&&(n+=`skewX(${a}deg) `),s&&(n+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(n+=`scale(${s}, ${l})`),n||"none"}const Ea=(e,t)=>e.depth-t.depth;class Ra{constructor(){this.children=[],this.isDirty=!1}add(e){No(this.children,e),this.isDirty=!0}remove(e){Uo(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ea),this.isDirty=!1,this.children.forEach(e)}}const za=["","X","Y","Z"],ja={visibility:"hidden"};let Ba=0;const Ma={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function $a(e,t,r,n){const{latestValues:o}=t;o[e]&&(r[e]=o[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Va(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return!!t&&(!!Zo(t)||!(!e.parent||e.parent.hasCheckedOptimisedAppear)&&Va(e.parent))}function Da({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=Ba++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;this.projectionUpdateScheduled=!1,Ma.totalNodes=Ma.resolvedTargetDeltas=Ma.recalculatedProjection=0,this.nodes.forEach(La),this.nodes.forEach(qa),this.nodes.forEach(Ga),this.nodes.forEach(Ha),e=Ma,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;tthis.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){const r=Er.now(),n=({timestamp:o})=>{const i=o-r;i>=t&&(Ht(n),e(i-t))};return Lt.read(n,!0),()=>Ht(n)}(n,250),ta.hasAnimatedSinceResize&&(ta.hasAnimatedSinceResize=!1,this.nodes.forEach(Ya))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||es,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!_a(this.targetLayout,n)||r,c=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...wr(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Ya(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ht(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Xa),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.HandoffCancelAllAnimations&&Va(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let r=0;r{const r=t/1e3;var l,h;Za(i.x,e.x,r),Za(i.y,e.y,r),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ci(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,r,n){Ja(e.x,t.x,r.x,n),Ja(e.y,t.y,r.y,n)}(this.relativeTarget,this.relativeTargetOrigin,a,r),u&&(l=this.relativeTarget,h=u,l.x.min===h.x.min&&l.x.max===h.x.max&&l.y.min===h.y.min&&l.y.max===h.y.max)&&(this.isProjectionDirty=!1),u||(u=zi()),va(u,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,r,n,o,i){o?(e.opacity=co(0,void 0!==r.opacity?r.opacity:1,pa(n)),e.opacityExit=co(void 0!==t.opacity?t.opacity:1,0,fa(n))):i&&(e.opacity=co(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let a=0;a{ta.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){const n=$e(e)?e:Xo(e);return n.start(Oo("",n,t,r)),n.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:r,layout:n,latestValues:o}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&os(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||zi();const t=bi(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=bi(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}va(t,r),Gi(t,o),Si(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Pa);this.sharedNodes.get(e).add(t);const r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;const n={};r.z&&$a("z",e,n,this.animationValues);for(let o=0;o{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Wa),this.root.sharedNodes.clear()}}}function Fa(e){e.updateLayout()}function Ia(e){var t;const r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;"size"===o?ji((e=>{const n=i?r.measuredBox[e]:r.layoutBox[e],o=bi(n);n.min=t[e].min,n.max=n.min+o})):os(o,r.layoutBox,t)&&ji((n=>{const o=i?r.measuredBox[n]:r.layoutBox[n],a=bi(t[n]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)}));const a=Ri();Si(a,t,r.layoutBox);const s=Ri();i?Si(s,e.applyTransform(n,!0),r.measuredBox):Si(s,t,r.layoutBox);const l=!Ca(a);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:o,layout:i}=n;if(o&&i){const a=zi();Ci(a,r.layoutBox,o.layoutBox);const s=zi();Ci(s,t,i.layoutBox),_a(a,s)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function La(e){Ma.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ha(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Oa(e){e.clearSnapshot()}function Wa(e){e.clearMeasurements()}function Na(e){e.isLayoutDirty=!1}function Ua(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ya(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function qa(e){e.resolveTargetDelta()}function Ga(e){e.calcProjection()}function Xa(e){e.resetSkewAndRotation()}function Ka(e){e.removeLeadSnapshot()}function Za(e,t,r){e.translate=co(t.translate,0,r),e.scale=co(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function Ja(e,t,r,n){e.min=co(t.min,r.min,n),e.max=co(t.max,r.max,n)}function Qa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const es={duration:.45,ease:[.4,0,.1,1]},ts=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rs=ts("applewebkit/")&&!ts("chrome/")?Math.round:It;function ns(e){e.min=rs(e.min),e.max=rs(e.max)}function os(e,t,r){return"position"===e||"preserve-aspect"===e&&!yi(Ta(t),Ta(r),.2)}const is=Da({attachResizeListener:(e,t)=>Yt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),as={current:void 0},ss=Da({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!as.current){const e=new is({});e.mount(window),e.setOptions({layoutScroll:!0}),as.current=e}return as.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ls={pan:{Feature:class extends or{constructor(){super(...arguments),this.removePointerDownListener=It}onPointerDown(e){this.session=new ui(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ki(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:ea(e),onStart:ea(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&Lt.postRender((()=>n(e,t)))}}}mount(){this.removePointerDownListener=Kt(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends or{constructor(e){super(e),this.removeGroupControls=It,this.removeListeners=It,this.controls=new Ji(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||It}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ss,MeasureLayout:aa}},cs={current:null},ds={current:!1};const us=new WeakMap,hs=[...Nr,on,gn],ps=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],fs=ve.length;class ms{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:o,visualState:i},a={}){this.resolveKeyframes=(e,t,r,n)=>new this.KeyframeResolver(e,t,r,n,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Zr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Lt.render(this.render,!1,!0);const{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=be(t),this.isVariantNode=ye(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const u in d){const e=d[u];void 0!==s[u]&&$e(e)&&(e.set(s[u],!1),Wo(c)&&c.add(u))}}mount(e){this.current=e,us.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),ds.current||function(){if(ds.current=!0,X)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cs.current=e.matches;e.addListener(t),t()}else cs.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||cs.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){us.delete(this.current),this.projection&&this.projection.unmount(),Ht(this.notifyUpdate),Ht(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){const r=Be.has(e),n=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&Lt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{n(),o(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in we){const t=we[e];if(!t)continue;const{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):zi()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let r=0;rt.variantChildren.delete(e)}addValue(e,t){const r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=Xo(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=n&&("string"==typeof n&&(Br(n)||Rr(n))?n=parseFloat(n):(o=n,!hs.find(Wr(o))&&gn.test(t)&&(n=wn(e,t))),this.setBaseTarget(e,$e(n)?n.get():n)),$e(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:r}=this.props;let n;if("string"==typeof r||"object"==typeof r){const o=zt(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(n=o[e])}if(r&&void 0!==n)return n;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||$e(o)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Yo),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class gs extends ms{constructor(){super(...arguments),this.KeyframeResolver=_n}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class vs extends gs{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(Be.has(t)){const e=kn(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),o=(Ie(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof o?o.trim():o}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return Xi(e,t)}build(e,t,r,n){lt(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return At(e,t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;$e(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}renderInstance(e,t,r,n){_t(e,t,r,n)}}class bs extends gs{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Be.has(t)){const e=kn(t);return e&&e.default||0}return t=Tt.has(t)?t:J(t),e.getAttribute(t)}measureInstanceViewportBox(){return zi()}scrapeMotionValuesFromProps(e,t,r){return Et(e,t,r)}build(e,t,r,n){xt(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Pt(e,t,0,n)}mount(e){this.isSVGTag=kt(e.tagName),super.mount(e)}}const ys=(e,t)=>Re(e)?new bs(t,{enableHardwareAcceleration:!1}):new vs(t,{allowProjection:e!==f.Fragment,enableHardwareAcceleration:!0}),xs={...ci,...fr,...ls,...{layout:{ProjectionNode:ss,MeasureLayout:aa}}},Ss=Ae(((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...Re(e)?Nt:Ut,preloadedFeatures:r,useRender:Ct(t),createVisualElement:n,Component:e}}(e,t,xs,ys)));var ks=r(6447),ws={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},Cs=(0,f.memo)((e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:i,requestClose:a=!1,position:s="bottom",duration:l=5e3,containerStyle:c,motionVariants:d=ws,toastSpacing:u="0.5rem"}=e,[h,p]=(0,f.useState)(l),m=Y();W((()=>{m||null==n||n()}),[m]),W((()=>{p(l)}),[l]);const g=()=>{m&&i()};(0,f.useEffect)((()=>{m&&a&&i()}),[m,a,i]),O(g,h);const v=(0,f.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...c})),[c,u]),b=(0,f.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(s)),[s]);return(0,o.jsx)(Ss.div,{layout:!0,className:"chakra-toast",variants:d,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>p(null),onHoverEnd:()=>p(l),custom:{position:s},style:b,children:(0,o.jsx)(ks.B.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:v,children:(0,N.Jg)(r,{id:t,onClose:g})})})}));Cs.displayName="ToastComponent";var _s=r(4393);function Ts(e){return(0,o.jsx)(_s.I,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var Ps=r(5599),[As,Es]=(0,c.q)({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[Rs,zs]=(0,c.q)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),js={info:{icon:function(e){return(0,o.jsx)(_s.I,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:Ts,colorScheme:"orange"},success:{icon:function(e){return(0,o.jsx)(_s.I,{viewBox:"0 0 24 24",...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:Ts,colorScheme:"red"},loading:{icon:Ps.y,colorScheme:"blue"}};var Bs=r(8855),Ms=r(64),$s=(0,Bs.R)((function(e,t){var r;const{status:n="info",addRole:i=!0,...a}=(0,m.MN)(e),s=null!=(r=e.colorScheme)?r:function(e){return js[e].colorScheme}(n),l=(0,Ms.o5)("Alert",{...e,colorScheme:s}),c={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return(0,o.jsx)(As,{value:{status:n},children:(0,o.jsx)(Rs,{value:l,children:(0,o.jsx)(ks.B.div,{"data-status":n,role:i?"alert":void 0,ref:t,...a,className:(0,N.cx)("chakra-alert",e.className),__css:c})})})}));function Vs(e){const{status:t}=Es(),r=function(e){return js[e].icon}(t),n=zs(),i="loading"===t?n.spinner:n.icon;return(0,o.jsx)(ks.B.span,{display:"inherit","data-status":t,...e,className:(0,N.cx)("chakra-alert__icon",e.className),__css:i,children:e.children||(0,o.jsx)(r,{h:"100%",w:"100%"})})}$s.displayName="Alert",Vs.displayName="AlertIcon";var Ds=(0,Bs.R)((function(e,t){const r=zs(),{status:n}=Es();return(0,o.jsx)(ks.B.div,{ref:t,"data-status":n,...e,className:(0,N.cx)("chakra-alert__title",e.className),__css:r.title})}));Ds.displayName="AlertTitle";var Fs=(0,Bs.R)((function(e,t){const r=zs(),{status:n}=Es(),i={display:"inline",...r.description};return(0,o.jsx)(ks.B.div,{ref:t,"data-status":n,...e,className:(0,N.cx)("chakra-alert__desc",e.className),__css:i})}));function Is(e){return(0,o.jsx)(_s.I,{focusable:"false","aria-hidden":!0,...e,children:(0,o.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}Fs.displayName="AlertDescription";var Ls=(0,Bs.R)((function(e,t){const r=(0,Ms.Vl)("CloseButton",e),{children:n,isDisabled:i,__css:a,...s}=(0,m.MN)(e);return(0,o.jsx)(ks.B.button,{type:"button","aria-label":"Close",ref:t,disabled:i,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...a},...s,children:n||(0,o.jsx)(Is,{width:"1em",height:"1em"})})}));Ls.displayName="CloseButton";var Hs=function(e){let t=e;const r=new Set,n=e=>{t=e(t),r.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n((()=>e)),r.delete(t)}),removeToast:(e,t)=>{n((r=>({...r,[t]:r[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const r=function(e,t={}){var r,n;Os+=1;const o=null!=(r=t.id)?r:Os,i=null!=(n=t.position)?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Hs.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=r;return n((e=>{var t,n;const i=o.includes("top")?[r,...null!=(t=e[o])?t:[]]:[...null!=(n=e[o])?n:[],r];return{...e,[o]:i}})),i},update:(e,t)=>{e&&n((r=>{const n={...r},{position:o,index:i}=I(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:Ns(t)}),n}))},closeAll:({positions:e}={})=>{n((t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,r)=>(e[r]=t[r].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{n((t=>{const r=L(t,e);return r?{...t,[r]:t[r].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean(I(Hs.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});var Os=0;var Ws=e=>{const{status:t,variant:r="solid",id:n,title:i,isClosable:a,onClose:s,description:l,colorScheme:c,icon:d}=e,u=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,o.jsxs)($s,{addRole:!1,status:t,variant:r,id:null==u?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:c,children:[(0,o.jsx)(Vs,{children:d}),(0,o.jsxs)(ks.B.div,{flex:"1",maxWidth:"100%",children:[i&&(0,o.jsx)(Ds,{id:null==u?void 0:u.title,children:i}),l&&(0,o.jsx)(Fs,{id:null==u?void 0:u.description,display:"block",children:l})]}),a&&(0,o.jsx)(Ls,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1})]})};function Ns(e={}){const{render:t,toastComponent:r=Ws}=e;return n=>"function"==typeof t?t({...n,...e}):(0,o.jsx)(r,{...n,...e})}function Us(){const e=(0,f.useRef)(!1);return K((()=>(e.current=!0,()=>{e.current=!1})),[]),e}class Ys extends f.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function qs({children:e,isPresent:t}){const r=(0,f.useId)(),n=(0,f.useRef)(null),i=(0,f.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,f.useContext)(q);return(0,f.useInsertionEffect)((()=>{const{width:e,height:o,top:s,left:l}=i.current;if(t||!n.current||!e||!o)return;n.current.dataset.motionPopId=r;const c=document.createElement("style");return a&&(c.nonce=a),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${o}px !important;\n top: ${s}px !important;\n left: ${l}px !important;\n }\n `),()=>{document.head.removeChild(c)}}),[t]),(0,o.jsx)(Ys,{isPresent:t,childRef:n,sizeRef:i,children:f.cloneElement(e,{ref:n})})}const Gs=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:a,mode:s})=>{const l=jt(Xs),c=(0,f.useId)(),d=(0,f.useMemo)((()=>({id:c,initial:t,isPresent:r,custom:i,onExitComplete:e=>{l.set(e,!0);for(const t of l.values())if(!t)return;n&&n()},register:e=>(l.set(e,!1),()=>l.delete(e))})),a?[Math.random()]:[r]);return(0,f.useMemo)((()=>{l.forEach(((e,t)=>l.set(t,!1)))}),[r]),f.useEffect((()=>{!r&&!l.size&&n&&n()}),[r]),"popLayout"===s&&(e=(0,o.jsx)(qs,{isPresent:r,children:e})),(0,o.jsx)(U.Provider,{value:d,children:e})};function Xs(){return new Map}const Ks=e=>e.key||"";const Zs=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:a=!0,mode:s="sync"})=>{jr(!i,"Replace exitBeforeEnter with mode='wait'");const l=(0,f.useContext)(Ce).forceRender||function(){const e=Us(),[t,r]=(0,f.useState)(0),n=(0,f.useCallback)((()=>{e.current&&r(t+1)}),[t]);return[(0,f.useCallback)((()=>Lt.postRender(n)),[n]),t]}()[0],c=Us(),d=function(e){const t=[];return f.Children.forEach(e,(e=>{(0,f.isValidElement)(e)&&t.push(e)})),t}(e);let u=d;const h=(0,f.useRef)(new Map).current,p=(0,f.useRef)(u),m=(0,f.useRef)(new Map).current,g=(0,f.useRef)(!0);var v;if(K((()=>{g.current=!1,function(e,t){e.forEach((e=>{const r=Ks(e);t.set(r,e)}))}(d,m),p.current=u})),v=()=>{g.current=!0,m.clear(),h.clear()},(0,f.useEffect)((()=>()=>v()),[]),g.current)return(0,o.jsx)(o.Fragment,{children:u.map((e=>(0,o.jsx)(Gs,{isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:a,mode:s,children:e},Ks(e))))});u=[...u];const b=p.current.map(Ks),y=d.map(Ks),x=b.length;for(let o=0;o{if(-1!==y.indexOf(r))return;const i=m.get(r);if(!i)return;const f=b.indexOf(r);let g=e;if(!g){const e=()=>{h.delete(r);const e=Array.from(m.keys()).filter((e=>!y.includes(e)));if(e.forEach((e=>m.delete(e))),p.current=d.filter((t=>{const n=Ks(t);return n===r||e.includes(n)})),!h.size){if(!1===c.current)return;l(),n&&n()}};g=(0,o.jsx)(Gs,{isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:a,mode:s,children:i},Ks(i)),h.set(r,g)}u.splice(f,0,g)})),u=u.map((e=>{const t=e.key;return h.has(t)?e:(0,o.jsx)(Gs,{isPresent:!0,presenceAffectsLayout:a,mode:s,children:e},Ks(e))})),(0,o.jsx)(o.Fragment,{children:h.size?u:u.map((e=>(0,f.cloneElement)(e)))})};var Js=r(961),[Qs,el]=(0,c.q)({strict:!1,name:"PortalContext"}),tl="chakra-portal",rl=e=>(0,o.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),nl=e=>{const{appendToParentPortal:t,children:r}=e,[n,i]=(0,f.useState)(null),a=(0,f.useRef)(null),[,s]=(0,f.useState)({});(0,f.useEffect)((()=>s({})),[]);const l=el(),c=u();(0,R.U)((()=>{if(!n)return;const e=n.ownerDocument,r=t&&null!=l?l:e.body;if(!r)return;a.current=e.createElement("div"),a.current.className=tl,r.appendChild(a.current),s({});const o=a.current;return()=>{r.contains(o)&&r.removeChild(o)}}),[n]);const d=(null==c?void 0:c.zIndex)?(0,o.jsx)(rl,{zIndex:null==c?void 0:c.zIndex,children:r}):r;return a.current?(0,Js.createPortal)((0,o.jsx)(Qs,{value:a.current,children:d}),a.current):(0,o.jsx)("span",{ref:e=>{e&&i(e)}})},ol=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,i=r.current,a=null!=i?i:"undefined"!=typeof window?document.body:void 0,s=(0,f.useMemo)((()=>{const e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className=tl),e}),[i]),[,l]=(0,f.useState)({});return(0,R.U)((()=>l({})),[]),(0,R.U)((()=>{if(s&&a)return a.appendChild(s),()=>{a.removeChild(s)}}),[s,a]),a&&s?(0,Js.createPortal)((0,o.jsx)(Qs,{value:n?s:null,children:t}),s):null};function il(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,o.jsx)(ol,{containerRef:r,...n}):(0,o.jsx)(nl,{...n})}il.className=tl,il.selector=".chakra-portal",il.displayName="Portal";var[al,sl]=(0,c.q)({name:"ToastOptionsContext",strict:!1}),ll=e=>{const t=(0,f.useSyncExternalStore)(Hs.subscribe,Hs.getState,Hs.getState),{motionVariants:r,component:n=Cs,portalProps:i}=e,a=Object.keys(t).map((e=>{const i=t[e];return(0,o.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:H(e),children:(0,o.jsx)(Zs,{initial:!1,children:i.map((e=>(0,o.jsx)(n,{motionVariants:r,...e},e.id)))})},e)}));return(0,o.jsx)(il,{...i,children:a})},cl=e=>function({children:t,theme:r=e,toastOptions:n,...i}){return(0,o.jsxs)(V,{theme:r,...i,children:[(0,o.jsx)(al,{value:null==n?void 0:n.defaultOptions,children:t}),(0,o.jsx)(ll,{...n})]})},dl=(cl(D.w4),cl(D.$7))},9857:(e,t,r)=>{"use strict";r.d(t,{Gv:()=>o,Jg:()=>i,cx:()=>n,sE:()=>s});var n=(...e)=>e.filter(Boolean).join(" ");function o(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function i(e,...t){return a(e)?e(...t):e}var a=e=>"function"==typeof e,s=e=>e?"":void 0},5599:(e,t,r)=>{"use strict";r.d(t,{y:()=>u});var n=r(7437),o=r(8855),i=r(64),a=r(4515),s=r(6447),l=r(9857),c=r(4848),d=(0,n.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),u=(0,o.R)(((e,t)=>{const r=(0,i.Vl)("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:u="0.45s",emptyColor:h="transparent",className:p,...f}=(0,a.MN)(e),m=(0,l.cx)("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:h,borderLeftColor:h,animation:`${d} ${u} linear infinite`,...r};return(0,c.jsx)(s.B.div,{ref:t,__css:g,className:m,...f,children:n&&(0,c.jsx)(s.B.span,{srOnly:!0,children:n})})}));u.displayName="Spinner"},4515:(e,t,r)=>{"use strict";r.d(t,{AH:()=>Le,Dt:()=>Oe,H2:()=>He,HU:()=>Ve,MN:()=>qe,Vg:()=>ne,YU:()=>We,gd:()=>ze,lL:()=>oe,q8:()=>Me,uB:()=>Ye});var n=r(9857),o=r(8394),i=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,a=(e,t)=>r=>{const o=String(t),a=(e=>/!(important)?$/.test(e))(o),s=i(o),l=e?`${e}.${s}`:s;let c=(0,n.Gv)(r.__cssMap)&&l in r.__cssMap?r.__cssMap[l].varRef:t;return c=i(c),a?`${c} !important`:c};function s(e){const{scale:t,transform:r,compose:n}=e;return(e,o)=>{var i;const s=a(t,e)(o);let l=null!=(i=null==r?void 0:r(s,o))?i:s;return n&&(l=n(l,o)),l}}var l=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function c(e,t){return r=>{const n={property:r,scale:e};return n.transform=s({scale:e,transform:t}),n}}var d=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t;var u=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var h={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},p={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var f={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},m={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},g=new Set(Object.values(m)),v=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),b=e=>e.trim();var y=e=>"string"==typeof e&&e.includes("(")&&e.includes(")");var x=e=>t=>`${e}(${t})`,S={filter:e=>"auto"!==e?e:h,backdropFilter:e=>"auto"!==e?e:p,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(S.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...u].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...u].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||v.has(e))return e;if(!y(e)&&!v.has(e))return`url('${e}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!n||!o)return e;const i=n.includes("-gradient")?n:`${n}-gradient`,[a,...s]=o.split(",").map(b).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in m?m[a]:a;return s.unshift(l),`${i}(${s.map((e=>{if(g.has(e))return e;const r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=y(o)?o:o&&o.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s})).join(", ")})`}(e,null!=t?t:{}),blur:x("blur"),opacity:x("opacity"),brightness:x("brightness"),contrast:x("contrast"),dropShadow:x("drop-shadow"),grayscale:x("grayscale"),hueRotate:e=>x("hue-rotate")(S.degree(e)),invert:x("invert"),saturate:x("saturate"),sepia:x("sepia"),bgImage(e){if(null==e)return e;return y(e)||v.has(e)?e:`url(${e})`},outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:r,divide:n}=null!=(t=f[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},k={borderWidths:c("borderWidths"),borderStyles:c("borderStyles"),colors:c("colors"),borders:c("borders"),gradients:c("gradients",S.gradient),radii:c("radii",S.px),space:c("space",l(S.vh,S.px)),spaceT:c("space",l(S.vh,S.px)),degreeT:e=>({property:e,transform:S.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:s({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:c("sizes",l(S.vh,S.px)),sizesT:c("sizes",l(S.vh,S.fraction)),shadows:c("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:d(t),transform:r?s({scale:r,compose:n}):n}},blur:c("blur",S.blur)},w={background:k.colors("background"),backgroundColor:k.colors("backgroundColor"),backgroundImage:k.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:S.bgClip},bgSize:k.prop("backgroundSize"),bgPosition:k.prop("backgroundPosition"),bg:k.colors("background"),bgColor:k.colors("backgroundColor"),bgPos:k.prop("backgroundPosition"),bgRepeat:k.prop("backgroundRepeat"),bgAttachment:k.prop("backgroundAttachment"),bgGradient:k.gradients("backgroundImage"),bgClip:{transform:S.bgClip}};Object.assign(w,{bgImage:w.backgroundImage,bgImg:w.backgroundImage});var C={border:k.borders("border"),borderWidth:k.borderWidths("borderWidth"),borderStyle:k.borderStyles("borderStyle"),borderColor:k.colors("borderColor"),borderRadius:k.radii("borderRadius"),borderTop:k.borders("borderTop"),borderBlockStart:k.borders("borderBlockStart"),borderTopLeftRadius:k.radii("borderTopLeftRadius"),borderStartStartRadius:k.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:k.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:k.radii("borderTopRightRadius"),borderStartEndRadius:k.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:k.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:k.borders("borderRight"),borderInlineEnd:k.borders("borderInlineEnd"),borderBottom:k.borders("borderBottom"),borderBlockEnd:k.borders("borderBlockEnd"),borderBottomLeftRadius:k.radii("borderBottomLeftRadius"),borderBottomRightRadius:k.radii("borderBottomRightRadius"),borderLeft:k.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:k.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:k.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:k.borders(["borderLeft","borderRight"]),borderInline:k.borders("borderInline"),borderY:k.borders(["borderTop","borderBottom"]),borderBlock:k.borders("borderBlock"),borderTopWidth:k.borderWidths("borderTopWidth"),borderBlockStartWidth:k.borderWidths("borderBlockStartWidth"),borderTopColor:k.colors("borderTopColor"),borderBlockStartColor:k.colors("borderBlockStartColor"),borderTopStyle:k.borderStyles("borderTopStyle"),borderBlockStartStyle:k.borderStyles("borderBlockStartStyle"),borderBottomWidth:k.borderWidths("borderBottomWidth"),borderBlockEndWidth:k.borderWidths("borderBlockEndWidth"),borderBottomColor:k.colors("borderBottomColor"),borderBlockEndColor:k.colors("borderBlockEndColor"),borderBottomStyle:k.borderStyles("borderBottomStyle"),borderBlockEndStyle:k.borderStyles("borderBlockEndStyle"),borderLeftWidth:k.borderWidths("borderLeftWidth"),borderInlineStartWidth:k.borderWidths("borderInlineStartWidth"),borderLeftColor:k.colors("borderLeftColor"),borderInlineStartColor:k.colors("borderInlineStartColor"),borderLeftStyle:k.borderStyles("borderLeftStyle"),borderInlineStartStyle:k.borderStyles("borderInlineStartStyle"),borderRightWidth:k.borderWidths("borderRightWidth"),borderInlineEndWidth:k.borderWidths("borderInlineEndWidth"),borderRightColor:k.colors("borderRightColor"),borderInlineEndColor:k.colors("borderInlineEndColor"),borderRightStyle:k.borderStyles("borderRightStyle"),borderInlineEndStyle:k.borderStyles("borderInlineEndStyle"),borderTopRadius:k.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:k.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:k.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:k.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(C,{rounded:C.borderRadius,roundedTop:C.borderTopRadius,roundedTopLeft:C.borderTopLeftRadius,roundedTopRight:C.borderTopRightRadius,roundedTopStart:C.borderStartStartRadius,roundedTopEnd:C.borderStartEndRadius,roundedBottom:C.borderBottomRadius,roundedBottomLeft:C.borderBottomLeftRadius,roundedBottomRight:C.borderBottomRightRadius,roundedBottomStart:C.borderEndStartRadius,roundedBottomEnd:C.borderEndEndRadius,roundedLeft:C.borderLeftRadius,roundedRight:C.borderRightRadius,roundedStart:C.borderInlineStartRadius,roundedEnd:C.borderInlineEndRadius,borderStart:C.borderInlineStart,borderEnd:C.borderInlineEnd,borderTopStartRadius:C.borderStartStartRadius,borderTopEndRadius:C.borderStartEndRadius,borderBottomStartRadius:C.borderEndStartRadius,borderBottomEndRadius:C.borderEndEndRadius,borderStartRadius:C.borderInlineStartRadius,borderEndRadius:C.borderInlineEndRadius,borderStartWidth:C.borderInlineStartWidth,borderEndWidth:C.borderInlineEndWidth,borderStartColor:C.borderInlineStartColor,borderEndColor:C.borderInlineEndColor,borderStartStyle:C.borderInlineStartStyle,borderEndStyle:C.borderInlineEndStyle});var _={color:k.colors("color"),textColor:k.colors("color"),fill:k.colors("fill"),stroke:k.colors("stroke")},T={boxShadow:k.shadows("boxShadow"),mixBlendMode:!0,blendMode:k.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:k.prop("backgroundBlendMode"),opacity:!0};Object.assign(T,{shadow:T.boxShadow});var P={filter:{transform:S.filter},blur:k.blur("--chakra-blur"),brightness:k.propT("--chakra-brightness",S.brightness),contrast:k.propT("--chakra-contrast",S.contrast),hueRotate:k.propT("--chakra-hue-rotate",S.hueRotate),invert:k.propT("--chakra-invert",S.invert),saturate:k.propT("--chakra-saturate",S.saturate),dropShadow:k.propT("--chakra-drop-shadow",S.dropShadow),backdropFilter:{transform:S.backdropFilter},backdropBlur:k.blur("--chakra-backdrop-blur"),backdropBrightness:k.propT("--chakra-backdrop-brightness",S.brightness),backdropContrast:k.propT("--chakra-backdrop-contrast",S.contrast),backdropHueRotate:k.propT("--chakra-backdrop-hue-rotate",S.hueRotate),backdropInvert:k.propT("--chakra-backdrop-invert",S.invert),backdropSaturate:k.propT("--chakra-backdrop-saturate",S.saturate)},A={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:S.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:k.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:k.space("gap"),rowGap:k.space("rowGap"),columnGap:k.space("columnGap")};Object.assign(A,{flexDir:A.flexDirection});var E={gridGap:k.space("gridGap"),gridColumnGap:k.space("gridColumnGap"),gridRowGap:k.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},R={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:S.outline},outlineOffset:!0,outlineColor:k.colors("outlineColor")},z={width:k.sizesT("width"),inlineSize:k.sizesT("inlineSize"),height:k.sizes("height"),blockSize:k.sizes("blockSize"),boxSize:k.sizes(["width","height"]),minWidth:k.sizes("minWidth"),minInlineSize:k.sizes("minInlineSize"),minHeight:k.sizes("minHeight"),minBlockSize:k.sizes("minBlockSize"),maxWidth:k.sizes("maxWidth"),maxInlineSize:k.sizes("maxInlineSize"),maxHeight:k.sizes("maxHeight"),maxBlockSize:k.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (min-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?o:e})`;return{[i]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (max-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?o:e})`;return{[i]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:k.propT("float",S.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(z,{w:z.width,h:z.height,minW:z.minWidth,maxW:z.maxWidth,minH:z.minHeight,maxH:z.maxHeight,overscroll:z.overscrollBehavior,overscrollX:z.overscrollBehaviorX,overscrollY:z.overscrollBehaviorY});var j={listStyleType:!0,listStylePosition:!0,listStylePos:k.prop("listStylePosition"),listStyleImage:!0,listStyleImg:k.prop("listStyleImage")};var B=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n{const n={},o=B(e,t,{});for(const i in o){i in r&&null!=r[i]||(n[i]=o[i])}return n},D={srOnly:{transform:e=>!0===e?M:"focusable"===e?$:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>V(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>V(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>V(t,e,r)}},F={position:!0,pos:k.prop("position"),zIndex:k.prop("zIndex","zIndices"),inset:k.spaceT("inset"),insetX:k.spaceT(["left","right"]),insetInline:k.spaceT("insetInline"),insetY:k.spaceT(["top","bottom"]),insetBlock:k.spaceT("insetBlock"),top:k.spaceT("top"),insetBlockStart:k.spaceT("insetBlockStart"),bottom:k.spaceT("bottom"),insetBlockEnd:k.spaceT("insetBlockEnd"),left:k.spaceT("left"),insetInlineStart:k.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:k.spaceT("right"),insetInlineEnd:k.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(F,{insetStart:F.insetInlineStart,insetEnd:F.insetInlineEnd});var I={ring:{transform:S.ring},ringColor:k.colors("--chakra-ring-color"),ringOffset:k.prop("--chakra-ring-offset-width"),ringOffsetColor:k.colors("--chakra-ring-offset-color"),ringInset:k.prop("--chakra-ring-inset")},L={margin:k.spaceT("margin"),marginTop:k.spaceT("marginTop"),marginBlockStart:k.spaceT("marginBlockStart"),marginRight:k.spaceT("marginRight"),marginInlineEnd:k.spaceT("marginInlineEnd"),marginBottom:k.spaceT("marginBottom"),marginBlockEnd:k.spaceT("marginBlockEnd"),marginLeft:k.spaceT("marginLeft"),marginInlineStart:k.spaceT("marginInlineStart"),marginX:k.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:k.spaceT("marginInline"),marginY:k.spaceT(["marginTop","marginBottom"]),marginBlock:k.spaceT("marginBlock"),padding:k.space("padding"),paddingTop:k.space("paddingTop"),paddingBlockStart:k.space("paddingBlockStart"),paddingRight:k.space("paddingRight"),paddingBottom:k.space("paddingBottom"),paddingBlockEnd:k.space("paddingBlockEnd"),paddingLeft:k.space("paddingLeft"),paddingInlineStart:k.space("paddingInlineStart"),paddingInlineEnd:k.space("paddingInlineEnd"),paddingX:k.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:k.space("paddingInline"),paddingY:k.space(["paddingTop","paddingBottom"]),paddingBlock:k.space("paddingBlock")};Object.assign(L,{m:L.margin,mt:L.marginTop,mr:L.marginRight,me:L.marginInlineEnd,marginEnd:L.marginInlineEnd,mb:L.marginBottom,ml:L.marginLeft,ms:L.marginInlineStart,marginStart:L.marginInlineStart,mx:L.marginX,my:L.marginY,p:L.padding,pt:L.paddingTop,py:L.paddingY,px:L.paddingX,pb:L.paddingBottom,pl:L.paddingLeft,ps:L.paddingInlineStart,paddingStart:L.paddingInlineStart,pr:L.paddingRight,pe:L.paddingInlineEnd,paddingEnd:L.paddingInlineEnd});var H={textDecorationColor:k.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:k.shadows("textShadow")},O={clipPath:!0,transform:k.propT("transform",S.transform),transformOrigin:!0,translateX:k.spaceT("--chakra-translate-x"),translateY:k.spaceT("--chakra-translate-y"),skewX:k.degreeT("--chakra-skew-x"),skewY:k.degreeT("--chakra-skew-y"),scaleX:k.prop("--chakra-scale-x"),scaleY:k.prop("--chakra-scale-y"),scale:k.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:k.degreeT("--chakra-rotate")},W={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:k.prop("transitionDuration","transition.duration"),transitionProperty:k.prop("transitionProperty","transition.property"),transitionTimingFunction:k.prop("transitionTimingFunction","transition.easing")},N={fontFamily:k.prop("fontFamily","fonts"),fontSize:k.prop("fontSize","fontSizes",S.px),fontWeight:k.prop("fontWeight","fontWeights"),lineHeight:k.prop("lineHeight","lineHeights"),letterSpacing:k.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},U={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:k.spaceT("scrollMargin"),scrollMarginTop:k.spaceT("scrollMarginTop"),scrollMarginBottom:k.spaceT("scrollMarginBottom"),scrollMarginLeft:k.spaceT("scrollMarginLeft"),scrollMarginRight:k.spaceT("scrollMarginRight"),scrollMarginX:k.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:k.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:k.spaceT("scrollPadding"),scrollPaddingTop:k.spaceT("scrollPaddingTop"),scrollPaddingBottom:k.spaceT("scrollPaddingBottom"),scrollPaddingLeft:k.spaceT("scrollPaddingLeft"),scrollPaddingRight:k.spaceT("scrollPaddingRight"),scrollPaddingX:k.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:k.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Y(e){return(0,n.Gv)(e)&&e.reference?e.reference:String(e)}var q=(e,...t)=>t.map(Y).join(` ${e} `).replace(/calc/g,""),G=(...e)=>`calc(${q("+",...e)})`,X=(...e)=>`calc(${q("-",...e)})`,K=(...e)=>`calc(${q("*",...e)})`,Z=(...e)=>`calc(${q("/",...e)})`,J=e=>{const t=Y(e);return null==t||Number.isNaN(parseFloat(t))?K(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Q=Object.assign((e=>({add:(...t)=>Q(G(e,...t)),subtract:(...t)=>Q(X(e,...t)),multiply:(...t)=>Q(K(e,...t)),divide:(...t)=>Q(Z(e,...t)),negate:()=>Q(J(e)),toString:()=>e.toString()})),{add:G,subtract:X,multiply:K,divide:Z,negate:J});function ee(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){if(e.includes("\\."))return e;const t=!Number.isInteger(parseFloat(e.toString()));return t?e.replace(".","\\."):e}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}function te(e,t){return`var(${e}${t?`, ${t}`:""})`}function re(e,t=""){return ee(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function ne(e,t,r){const n=re(e,r);return{variable:n,reference:te(n,t)}}function oe(e,t){const r={};for(const n of t)if(Array.isArray(n)){const[t,o]=n;r[t]=ne(`${e}-${t}`,o)}else r[n]=ne(`${e}-${n}`);return r}function ie(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function ae(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var se=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,le=e=>Object.fromEntries(Object.entries(e).sort(se));function ce(e){const t=le(e);return Object.assign(Object.values(t),t)}function de(e){var t;if(!e)return e;e=null!=(t=ae(e))?t:e;return"number"==typeof e?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`))}function ue(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${ae(e)})`),t&&r.push("and",`(max-width: ${ae(t)})`),r.join(" ")}function he(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const r=ce(e),o=Object.entries(e).sort(se).map((([e,t],r,n)=>{var o;let[,i]=null!=(o=n[r+1])?o:[];return i=parseFloat(i)>0?de(i):void 0,{_minW:de(t),breakpoint:e,minW:t,maxW:i,maxWQuery:ue(null,i),minWQuery:ue(t),minMaxQuery:ue(t,i)}})),i=function(e){const t=Object.keys(le(e));return new Set(t)}(e),a=Array.from(i.values());return{keys:i,normalized:r,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>i.has(e)))},asObject:le(e),asArray:ce(e),details:o,get:e=>o.find((t=>t.breakpoint===e)),media:[null,...r.map((e=>ue(e))).slice(1)],toArrayValue(e){if(!(0,n.Gv)(e))throw new Error("toArrayValue: value must be an object");const t=a.map((t=>{var r;return null!=(r=e[t])?r:null}));for(;null===ie(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,r)=>{const n=a[r];return null!=n&&null!=t&&(e[n]=t),e}),{})}}}var pe=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,fe=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,me=(e,t)=>`${e}:focus-visible ${t}`,ge=(e,t)=>`${e}:focus-within ${t}`,ve=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,be=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,ye=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,xe=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,Se=(e,t)=>`${e}:placeholder-shown ${t}`,ke=e=>Ce((t=>e(t,"&")),"[role=group]","[data-group]",".group"),we=e=>Ce((t=>e(t,"~ &")),"[data-peer]",".peer"),Ce=(e,...t)=>t.map(e).join(", "),_e={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:ke(pe),_peerHover:we(pe),_groupFocus:ke(fe),_peerFocus:we(fe),_groupFocusVisible:ke(me),_peerFocusVisible:we(me),_groupActive:ke(ve),_peerActive:we(ve),_groupDisabled:ke(be),_peerDisabled:we(be),_groupInvalid:ke(ye),_peerInvalid:we(ye),_groupChecked:ke(xe),_peerChecked:we(xe),_groupFocusWithin:ke(ge),_peerFocusWithin:we(ge),_peerPlaceholderShown:we(Se),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Te=Object.keys(_e);function Pe(e,t){return ne(String(e).replace(/\./g,"-"),void 0,t)}function Ae(e,t,r={}){const{stop:n,getKey:o}=r;return function e(r,i=[]){var a;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(r)||Array.isArray(r)){const s={};for(const[l,c]of Object.entries(r)){const d=null!=(a=null==o?void 0:o(l))?a:l,u=[...i,d];if(null==n?void 0:n(r,u))return t(r,i);s[d]=e(c,u)}return s}return t(r,i)}(e)}var Ee=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];var Re=e=>Te.includes(e)||"default"===e;function ze(e){var t;const r=function(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}(e),i=function(e){return function(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}(e,Ee)}(r),a=function(e){return e.semanticTokens}(r),s=function({tokens:e,semanticTokens:t}){const r={};return Ae(e,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})})),Ae(t,((e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(Re)}),r}({tokens:i,semanticTokens:a}),l=null==(t=r.config)?void 0:t.cssVarPrefix,{cssMap:c,cssVars:d}=function(e,t){let r={};const i={};for(const[a,s]of Object.entries(e)){const{isSemantic:l,value:c}=s,{variable:d,reference:u}=Pe(a,null==t?void 0:t.cssVarPrefix);if(!l){if(a.startsWith("space")){const e=a.split("."),[t,...r]=e,n=`${t}.-${r.join(".")}`,o=Q.negate(c),s=Q.negate(u);i[n]={value:o,var:d,varRef:s}}r[d]=c,i[a]={value:c,var:d,varRef:u};continue}const h=r=>{const n=[String(a).split(".")[0],r].join(".");if(!e[n])return r;const{reference:o}=Pe(n,null==t?void 0:t.cssVarPrefix);return o},p=(0,n.Gv)(c)?c:{default:c};r=o(r,Object.entries(p).reduce(((e,[t,r])=>{var n,o;if(!r)return e;const i=h(`${r}`);return"default"===t?(e[d]=i,e):(e[null!=(o=null==(n=_e)?void 0:n[t])?o:t]={[d]:i},e)}),{})),i[a]={value:u,var:d,varRef:u}}return{cssVars:r,cssMap:i}}(s,{cssVarPrefix:l});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...d},__cssMap:c,__breakpoints:he(r.breakpoints)}),r}var je=o({},w,C,_,A,z,P,I,R,E,D,F,T,L,U,N,H,O,j,W),Be=Object.assign({},L,z,A,E,F),Me=(Object.keys(Be),[...Object.keys(je),...Te]),$e={...je,..._e},Ve=e=>e in $e;var De=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),Fe=(e,t)=>{var r,n;if(null==t)return t;const o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[a,s]=function(e){const t=[];let r="",n=!1;for(let o=0;o{var l,c,d;const u=(0,n.Jg)(e,i),h=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:o,media:i}=t.__breakpoints,a={};for(const s in e){let l=(0,n.Jg)(e[s],t);if(null==l)continue;if(l=(0,n.Gv)(l)&&r(l)?o(l):l,!Array.isArray(l)){a[s]=l;continue}const c=l.slice(0,i.length).length;for(let e=0;et=>Ie({theme:t,pseudos:_e,configs:je})(e);function He(e){return e}function Oe(e){return e}function We(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function Ne(e,t){for(let r=t+1;r{o(c,{[e]:h?g[e]:{[m]:g[e]}})})):p?c[m]=g:h?o(c,g):c[m]=g)}return c}}function Ye(e){return t=>{var r;const{variant:i,size:a,theme:s}=t,l=Ue(s);return o({},(0,n.Jg)(null!=(r=e.baseStyle)?r:{},t),l(e,"sizes",a,t),l(e,"variants",i,t))}}function qe(e){return function(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}(e,["styleConfig","size","variant","colorScheme"])}},64:(e,t,r)=>{"use strict";r.d(t,{o5:()=>p,Vl:()=>h});var n=r(4765),o=r(6540);var i=r(763);function a(){return{...(0,i.G6)(),theme:function(){const e=(0,o.useContext)(n.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}()}}var s=r(4515),l=r(4159),c=r(8394),d=r(115);function u(e,t={}){var r;const{styleConfig:n,...i}=t,{theme:u,colorMode:h}=a(),p=e?(0,l.rY)(u,`components.${e}`):void 0,f=n||p,m=c({theme:u,colorMode:h},null!=(r=null==f?void 0:f.defaultProps)?r:{},(0,l.TB)((0,l.cJ)(i,["children"]))),g=(0,o.useRef)({});if(f){const e=(0,s.uB)(f)(m);d(g.current,e)||(g.current=e)}return g.current}function h(e,t={}){return u(e,t)}function p(e,t={}){return u(e,t)}},6447:(e,t,r)=>{"use strict";r.d(t,{B:()=>E});var n=r(4515),o=new Set([...n.q8,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),i=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function a(e){return i.has(e)||!o.has(e)}var s=r(763),l=r(4159),c=r(3291);var d,u=r(8168),h=r(6540),p=r(6289),f=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,p.A)((function(e){return f.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),g=r(4765),v=r(41),b=r(7521),y=r(1287),x=m,S=function(e){return"theme"!==e},k=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?x:S},w=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},C=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,v.SF)(t,r,n),(0,y.s)((function(){return(0,v.sk)(t,r,n)})),null},_=function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var s=w(t,r,i),l=s||k(a),c=!l("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&p.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{0,p.push(d[0][0]);for(var f=d.length,m=1;mt=>{const{theme:r,css:o,__css:i,sx:a,...s}=t,d=(0,l.I$)(s,((e,t)=>(0,n.HU)(t))),u=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const n of t)if(null!=n)for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(e in r&&delete r[e],r[e]=n[e]);return r}({},i,(0,c.Jg)(e,t),(0,l.TB)(d),a),h=(0,n.AH)(u)(t.theme);return o?[h,o]:h};function A(e,t){const{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=a);const o=P({baseStyle:r}),i=T(e,n)(o);return h.forwardRef((function(e,t){const{colorMode:r,forced:n}=(0,s.G6)();return h.createElement(i,{ref:t,"data-theme":n?r:void 0,...e})}))}var E=function(){const e=new Map;return new Proxy(A,{apply:(e,t,r)=>A(...r),get:(t,r)=>(e.has(r)||e.set(r,A(r)),e.get(r))})}()},8855:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(6540);function o(e){return(0,n.forwardRef)(e)}},6621:(e,t,r)=>{"use strict";r.d(t,{oY:()=>c});var n=r(9857),o=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];var i=r(1310),a=r(8394);function s(e){return"function"==typeof e}var l=e=>function(...t){let r=[...t],i=t[t.length-1];var l;return l=i,(0,n.Gv)(l)&&o.every((e=>Object.prototype.hasOwnProperty.call(l,e)))&&r.length>1?r=r.slice(0,r.length-1):i=e,function(...e){return t=>e.reduce(((e,t)=>t(e)),t)}(...r.map((e=>t=>s(e)?e(t):function(...e){return a({},...e,d)}(t,e))))(i)},c=l(i.w4);l(i.$7);function d(e,t,r,n){if((s(e)||s(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...r)=>{const n=s(e)?e(...r):e,o=s(t)?t(...r):t;return a({},n,o,d)}}},1310:(e,t,r)=>{"use strict";r.d(t,{$7:()=>ua,w4:()=>da});var n={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},o={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},i={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},a={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},s={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},l={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},c={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},d={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},u={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},h={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},p={...h,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},f={breakpoints:a,zIndices:o,radii:l,blur:d,colors:s,...u,sizes:p,shadows:c,space:h,borders:i,transition:n},m=r(4515),{defineMultiStyleConfig:g,definePartsStyle:v}=(0,m.YU)(["stepper","step","title","description","indicator","separator","icon","number"]),b=(0,m.Vg)("stepper-indicator-size"),y=(0,m.Vg)("stepper-icon-size"),x=(0,m.Vg)("stepper-title-font-size"),S=(0,m.Vg)("stepper-description-font-size"),k=(0,m.Vg)("stepper-accent-color"),w=g({baseStyle:v((({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[k.variable]:`colors.${e}.500`,_dark:{[k.variable]:`colors.${e}.200`}},title:{fontSize:x.reference,fontWeight:"medium"},description:{fontSize:S.reference,color:"chakra-subtle-text"},number:{fontSize:x.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:y.reference,height:y.reference},indicator:{flexShrink:0,borderRadius:"full",width:b.reference,height:b.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:k.reference},"&[data-status=complete]":{bg:k.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:k.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${b.reference} - 8px)`,top:`calc(${b.reference} + 4px)`,insetStart:`calc(${b.reference} / 2 - 1px)`}}}))),sizes:{xs:v({stepper:{[b.variable]:"sizes.4",[y.variable]:"sizes.3",[x.variable]:"fontSizes.xs",[S.variable]:"fontSizes.xs"}}),sm:v({stepper:{[b.variable]:"sizes.6",[y.variable]:"sizes.4",[x.variable]:"fontSizes.sm",[S.variable]:"fontSizes.xs"}}),md:v({stepper:{[b.variable]:"sizes.8",[y.variable]:"sizes.5",[x.variable]:"fontSizes.md",[S.variable]:"fontSizes.sm"}}),lg:v({stepper:{[b.variable]:"sizes.10",[y.variable]:"sizes.6",[x.variable]:"fontSizes.lg",[S.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function C(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of o)t[e]=n(e);return C(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return C(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}var _=C("accordion").parts("root","container","button","panel").extend("icon"),T=C("alert").parts("title","description","container").extend("icon","spinner"),P=C("avatar").parts("label","badge","container").extend("excessLabel","group"),A=C("breadcrumb").parts("link","item","container").extend("separator"),E=(C("button").parts(),C("checkbox").parts("control","icon","container").extend("label")),R=(C("progress").parts("track","filledTrack").extend("label"),C("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),z=C("editable").parts("preview","input","textarea"),j=C("form").parts("container","requiredIndicator","helperText"),B=C("formError").parts("text","icon"),M=C("input").parts("addon","field","element","group"),$=C("list").parts("container","item","icon"),V=C("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),D=C("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),F=C("numberinput").parts("root","field","stepperGroup","stepper"),I=(C("pininput").parts("field"),C("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),L=C("progress").parts("label","filledTrack","track"),H=C("radio").parts("container","control","label"),O=C("select").parts("field","icon"),W=C("slider").parts("container","track","thumb","filledTrack","mark"),N=C("stat").parts("container","label","helpText","number","icon"),U=C("switch").parts("container","track","thumb","label"),Y=C("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),q=C("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),G=C("tag").parts("container","label","closeButton"),X=C("card").parts("container","header","body","footer");C("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function K(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function Z(e,t){return`var(${K(e)}${t?`, ${t}`:""})`}function J(e,t=""){return`--${function(e,t=""){return[t,K(e)].filter(Boolean).join("-")}(e,t)}`}function Q(e,t){const r=J(e,null==t?void 0:t.prefix);return{variable:r,reference:Z(r,ee(null==t?void 0:t.fallback))}}function ee(e){return"string"==typeof e?e:null==e?void 0:e.reference}var te=r(9857);function re(e){return(0,te.Gv)(e)&&e.reference?e.reference:String(e)}var ne=(e,...t)=>t.map(re).join(` ${e} `).replace(/calc/g,""),oe=(...e)=>`calc(${ne("+",...e)})`,ie=(...e)=>`calc(${ne("-",...e)})`,ae=(...e)=>`calc(${ne("*",...e)})`,se=(...e)=>`calc(${ne("/",...e)})`,le=e=>{const t=re(e);return null==t||Number.isNaN(parseFloat(t))?ae(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ce=Object.assign((e=>({add:(...t)=>ce(oe(e,...t)),subtract:(...t)=>ce(ie(e,...t)),multiply:(...t)=>ce(ae(e,...t)),divide:(...t)=>ce(se(e,...t)),negate:()=>ce(le(e)),toString:()=>e.toString()})),{add:oe,subtract:ie,multiply:ae,divide:se,negate:le}),{defineMultiStyleConfig:de,definePartsStyle:ue}=(0,m.YU)(U.keys),he=Q("switch-track-width"),pe=Q("switch-track-height"),fe=Q("switch-track-diff"),me=ce.subtract(he,pe),ge=Q("switch-thumb-x"),ve=Q("switch-bg"),be=(0,m.H2)((e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[he.reference],height:[pe.reference],transitionProperty:"common",transitionDuration:"fast",[ve.variable]:"colors.gray.300",_dark:{[ve.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ve.variable]:`colors.${t}.500`,_dark:{[ve.variable]:`colors.${t}.200`}},bg:ve.reference}})),ye=(0,m.H2)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[pe.reference],height:[pe.reference],_checked:{transform:`translateX(${ge.reference})`}}),xe=de({baseStyle:ue((e=>({container:{[fe.variable]:me,[ge.variable]:fe.reference,_rtl:{[ge.variable]:ce(fe).negate().toString()}},track:be(e),thumb:ye}))),sizes:{sm:ue({container:{[he.variable]:"1.375rem",[pe.variable]:"sizes.3"}}),md:ue({container:{[he.variable]:"1.875rem",[pe.variable]:"sizes.4"}}),lg:ue({container:{[he.variable]:"2.875rem",[pe.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Se(e,t){return r=>"dark"===r.colorMode?t:e}function ke(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:we,definePartsStyle:Ce}=(0,m.YU)(Y.keys),_e=Ce({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Te=(0,m.H2)({"&[data-is-numeric=true]":{textAlign:"end"}}),Pe=we({baseStyle:_e,variants:{simple:Ce((e=>{const{colorScheme:t}=e;return{th:{color:Se("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},td:{borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},caption:{color:Se("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),striped:Ce((e=>{const{colorScheme:t}=e;return{th:{color:Se("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},td:{borderBottom:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e),...Te},caption:{color:Se("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Se(`${t}.100`,`${t}.700`)(e)},td:{background:Se(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),unstyled:(0,m.H2)({})},sizes:{sm:Ce({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Ce({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Ce({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function Ae(e,t,r){return Math.min(Math.max(e,r),t)}class Ee extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Re=Ee;function ze(e){if("string"!=typeof e)throw new Re(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Ie.test(e)?function(e){const t=e.toLowerCase().trim(),r=Be[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new Re(e);return`#${r}`}(e):e;const r=$e.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(Me(e,2),16))),parseInt(Me(e[3]||"f",2),16)/255]}const n=Ve.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const o=De.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const i=Fe.exec(t);if(i){const[t,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(Ae(0,100,r)!==r)throw new Re(e);if(Ae(0,100,n)!==n)throw new Re(e);return[...He(t,r,n),Number.isNaN(o)?1:o]}throw new Re(e)}const je=e=>parseInt(e.replace(/_/g,""),36),Be="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=je(t.substring(0,3)),n=je(t.substring(3)).toString(16);let o="";for(let i=0;i<6-n.length;i++)o+="0";return e[r]=`${o}${n}`,e}),{});const Me=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),$e=new RegExp(`^#${Me("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Ve=new RegExp(`^#${Me("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),De=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Me(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Fe=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Ie=/^[a-z]+$/i,Le=e=>Math.round(255*e),He=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(Le);const o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const d=n-i/2;return[s+d,l+d,c+d].map(Le)};function Oe(e,t,r,n){return`rgba(${Ae(0,255,e).toFixed()}, ${Ae(0,255,t).toFixed()}, ${Ae(0,255,r).toFixed()}, ${parseFloat(Ae(0,1,n).toFixed(3))})`}function We(e,t){const[r,n,o,i]=ze(e);return Oe(r,n,o,i-t)}var Ne=(e,t,r)=>{const n=function(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;n{const t=Ae(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(r),i(n),o<1&&i(Math.round(255*o))}(n),n}catch{return null!=r?r:"#000000"}},Ue=e=>t=>{const r=(e=>{const[t,r,n]=ze(e);return(299*t+587*r+114*n)/1e3})(Ne(t,e));return r<128?"dark":"light"},Ye=(e,t)=>r=>We(Ne(r,e),1-t);function qe(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n 45deg,\n ${t} 25%,\n transparent 25%,\n transparent 50%,\n ${t} 50%,\n ${t} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${e} ${e}`}}function Ge(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(r=e,0!==Object.keys(r).length)?e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let n=0;n>8*n&255).toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(n=e.colors)[Math.floor(Math.random()*n.length)]:t:t;var r,n}var Xe=(0,m.Vg)("tabs-color"),Ke=(0,m.Vg)("tabs-bg"),Ze=(0,m.Vg)("tabs-border-color"),{defineMultiStyleConfig:Je,definePartsStyle:Qe}=(0,m.YU)(q.keys),et=(0,m.H2)((e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}})),tt=(0,m.H2)((e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}})),rt=(0,m.H2)((e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}})),nt=(0,m.H2)({p:4}),ot=Qe((e=>({root:et(e),tab:tt(e),tablist:rt(e),tabpanel:nt}))),it={sm:Qe({tab:{py:1,px:4,fontSize:"sm"}}),md:Qe({tab:{fontSize:"md",py:2,px:4}}),lg:Qe({tab:{fontSize:"lg",py:3,px:4}})},at=Qe((e=>{const{colorScheme:t,orientation:r}=e,n="vertical"===r,o=n?"borderStart":"borderBottom",i=n?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Xe.variable]:`colors.${t}.600`,_dark:{[Xe.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Ke.variable]:"colors.gray.200",_dark:{[Ke.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Xe.reference,bg:Ke.reference}}})),st=Qe((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Ze.variable]:"transparent",_selected:{[Xe.variable]:`colors.${t}.600`,[Ze.variable]:"colors.white",_dark:{[Xe.variable]:`colors.${t}.300`,[Ze.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Ze.reference},color:Xe.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),lt=Qe((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Ke.variable]:"colors.gray.50",_dark:{[Ke.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Ke.variable]:"colors.white",[Xe.variable]:`colors.${t}.600`,_dark:{[Ke.variable]:"colors.gray.800",[Xe.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Xe.reference,bg:Ke.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),ct=Qe((e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ne(r,`${t}.700`),bg:Ne(r,`${t}.100`)}}}})),dt=Je({baseStyle:ot,sizes:it,variants:{line:at,enclosed:st,"enclosed-colored":lt,"soft-rounded":ct,"solid-rounded":Qe((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Xe.variable]:"colors.gray.600",_dark:{[Xe.variable]:"inherit"},_selected:{[Xe.variable]:"colors.white",[Ke.variable]:`colors.${t}.600`,_dark:{[Xe.variable]:"colors.gray.800",[Ke.variable]:`colors.${t}.300`}},color:Xe.reference,bg:Ke.reference}}})),unstyled:Qe({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),ut=(0,m.lL)("badge",["bg","color","shadow"]),ht=(0,m.H2)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:ut.bg.reference,color:ut.color.reference,boxShadow:ut.shadow.reference}),pt=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e,n=Ye(`${t}.500`,.6)(r);return{[ut.bg.variable]:`colors.${t}.500`,[ut.color.variable]:"colors.white",_dark:{[ut.bg.variable]:n,[ut.color.variable]:"colors.whiteAlpha.800"}}})),ft=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e,n=Ye(`${t}.200`,.16)(r);return{[ut.bg.variable]:`colors.${t}.100`,[ut.color.variable]:`colors.${t}.800`,_dark:{[ut.bg.variable]:n,[ut.color.variable]:`colors.${t}.200`}}})),mt=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e,n=Ye(`${t}.200`,.8)(r);return{[ut.color.variable]:`colors.${t}.500`,_dark:{[ut.color.variable]:n},[ut.shadow.variable]:`inset 0 0 0px 1px ${ut.color.reference}`}})),gt={solid:pt,subtle:ft,outline:mt},vt=(0,m.Dt)({baseStyle:ht,variants:gt,defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:bt,definePartsStyle:yt}=(0,m.YU)(G.keys),xt=(0,m.Vg)("tag-bg"),St=(0,m.Vg)("tag-color"),kt=(0,m.Vg)("tag-shadow"),wt=(0,m.Vg)("tag-min-height"),Ct=(0,m.Vg)("tag-min-width"),_t=(0,m.Vg)("tag-font-size"),Tt=(0,m.Vg)("tag-padding-inline"),Pt=yt({container:(0,m.H2)({fontWeight:"medium",lineHeight:1.2,outline:0,[St.variable]:ut.color.reference,[xt.variable]:ut.bg.reference,[kt.variable]:ut.shadow.reference,color:St.reference,bg:xt.reference,boxShadow:kt.reference,borderRadius:"md",minH:wt.reference,minW:Ct.reference,fontSize:_t.reference,px:Tt.reference,_focusVisible:{[kt.variable]:"shadows.outline"}}),label:(0,m.H2)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,m.H2)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),At={sm:yt({container:{[wt.variable]:"sizes.5",[Ct.variable]:"sizes.5",[_t.variable]:"fontSizes.xs",[Tt.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:yt({container:{[wt.variable]:"sizes.6",[Ct.variable]:"sizes.6",[_t.variable]:"fontSizes.sm",[Tt.variable]:"space.2"}}),lg:yt({container:{[wt.variable]:"sizes.8",[Ct.variable]:"sizes.8",[_t.variable]:"fontSizes.md",[Tt.variable]:"space.3"}})},Et={subtle:yt((e=>{var t;return{container:null==(t=vt.variants)?void 0:t.subtle(e)}})),solid:yt((e=>{var t;return{container:null==(t=vt.variants)?void 0:t.solid(e)}})),outline:yt((e=>{var t;return{container:null==(t=vt.variants)?void 0:t.outline(e)}}))},Rt=bt({variants:Et,baseStyle:Pt,sizes:At,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:zt,defineMultiStyleConfig:jt}=(0,m.YU)(M.keys),Bt=(0,m.Vg)("input-height"),Mt=(0,m.Vg)("input-font-size"),$t=(0,m.Vg)("input-padding"),Vt=(0,m.Vg)("input-border-radius"),Dt=zt({addon:{height:Bt.reference,fontSize:Mt.reference,px:$t.reference,borderRadius:Vt.reference},field:{width:"100%",height:Bt.reference,fontSize:Mt.reference,px:$t.reference,borderRadius:Vt.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Ft={lg:(0,m.H2)({[Mt.variable]:"fontSizes.lg",[$t.variable]:"space.4",[Vt.variable]:"radii.md",[Bt.variable]:"sizes.12"}),md:(0,m.H2)({[Mt.variable]:"fontSizes.md",[$t.variable]:"space.4",[Vt.variable]:"radii.md",[Bt.variable]:"sizes.10"}),sm:(0,m.H2)({[Mt.variable]:"fontSizes.sm",[$t.variable]:"space.3",[Vt.variable]:"radii.sm",[Bt.variable]:"sizes.8"}),xs:(0,m.H2)({[Mt.variable]:"fontSizes.xs",[$t.variable]:"space.2",[Vt.variable]:"radii.sm",[Bt.variable]:"sizes.6"})},It={lg:zt({field:Ft.lg,group:Ft.lg}),md:zt({field:Ft.md,group:Ft.md}),sm:zt({field:Ft.sm,group:Ft.sm}),xs:zt({field:Ft.xs,group:Ft.xs})};function Lt(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||Se("blue.500","blue.300")(e),errorBorderColor:r||Se("red.500","red.300")(e)}}var Ht,Ot,Wt,Nt,Ut,Yt,qt,Gt,Xt,Kt,Zt,Jt=zt((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lt(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Se("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ne(t,n),boxShadow:`0 0 0 1px ${Ne(t,n)}`},_focusVisible:{zIndex:1,borderColor:Ne(t,r),boxShadow:`0 0 0 1px ${Ne(t,r)}`}},addon:{border:"1px solid",borderColor:Se("inherit","whiteAlpha.50")(e),bg:Se("gray.100","whiteAlpha.300")(e)}}})),Qt=zt((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lt(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Se("gray.100","whiteAlpha.50")(e),_hover:{bg:Se("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ne(t,n)},_focusVisible:{bg:"transparent",borderColor:Ne(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Se("gray.100","whiteAlpha.50")(e)}}})),er=zt((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lt(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ne(t,n),boxShadow:`0px 1px 0px 0px ${Ne(t,n)}`},_focusVisible:{borderColor:Ne(t,r),boxShadow:`0px 1px 0px 0px ${Ne(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),tr=jt({baseStyle:Dt,sizes:It,variants:{outline:Jt,filled:Qt,flushed:er,unstyled:zt({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),rr=(0,m.H2)({...null==(Ht=tr.baseStyle)?void 0:Ht.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),nr={outline:(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.outline(e).field)?r:{}})),flushed:(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.flushed(e).field)?r:{}})),filled:(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.filled(e).field)?r:{}})),unstyled:null!=(Wt=null==(Ot=tr.variants)?void 0:Ot.unstyled.field)?Wt:{}},or={xs:null!=(Ut=null==(Nt=tr.sizes)?void 0:Nt.xs.field)?Ut:{},sm:null!=(qt=null==(Yt=tr.sizes)?void 0:Yt.sm.field)?qt:{},md:null!=(Xt=null==(Gt=tr.sizes)?void 0:Gt.md.field)?Xt:{},lg:null!=(Zt=null==(Kt=tr.sizes)?void 0:Kt.lg.field)?Zt:{}},ir=(0,m.Dt)({baseStyle:rr,sizes:or,variants:nr,defaultProps:{size:"md",variant:"outline"}}),ar=Q("tooltip-bg"),sr=Q("tooltip-fg"),lr=Q("popper-arrow-bg"),cr=(0,m.H2)({bg:ar.reference,color:sr.reference,[ar.variable]:"colors.gray.700",[sr.variable]:"colors.whiteAlpha.900",_dark:{[ar.variable]:"colors.gray.300",[sr.variable]:"colors.gray.900"},[lr.variable]:ar.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),dr=(0,m.Dt)({baseStyle:cr}),{defineMultiStyleConfig:ur,definePartsStyle:hr}=(0,m.YU)(L.keys),pr=(0,m.H2)((e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=Se(qe(),qe("1rem","rgba(0,0,0,0.1)"))(e),a=Se(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${Ne(r,a)} 50%,\n transparent 100%\n )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}})),fr=(0,m.H2)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),mr=(0,m.H2)((e=>({bg:Se("gray.100","whiteAlpha.300")(e)}))),gr=(0,m.H2)((e=>({transitionProperty:"common",transitionDuration:"slow",...pr(e)}))),vr=hr((e=>({label:fr,filledTrack:gr(e),track:mr(e)}))),br=ur({sizes:{xs:hr({track:{h:"1"}}),sm:hr({track:{h:"2"}}),md:hr({track:{h:"3"}}),lg:hr({track:{h:"4"}})},baseStyle:vr,defaultProps:{size:"md",colorScheme:"blue"}});function yr(e,...t){return"function"==typeof e?e(...t):e}var xr,Sr,kr,wr,Cr,_r,Tr,Pr,Ar,{definePartsStyle:Er,defineMultiStyleConfig:Rr}=(0,m.YU)(E.keys),zr=(0,m.Vg)("checkbox-size"),jr=(0,m.H2)((e=>{const{colorScheme:t}=e;return{w:zr.reference,h:zr.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Se(`${t}.500`,`${t}.200`)(e),borderColor:Se(`${t}.500`,`${t}.200`)(e),color:Se("white","gray.900")(e),_hover:{bg:Se(`${t}.600`,`${t}.300`)(e),borderColor:Se(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Se("gray.200","transparent")(e),bg:Se("gray.200","whiteAlpha.300")(e),color:Se("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Se(`${t}.500`,`${t}.200`)(e),borderColor:Se(`${t}.500`,`${t}.200`)(e),color:Se("white","gray.900")(e)},_disabled:{bg:Se("gray.100","whiteAlpha.100")(e),borderColor:Se("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Se("red.500","red.300")(e)}}})),Br=(0,m.H2)({_disabled:{cursor:"not-allowed"}}),Mr=(0,m.H2)({userSelect:"none",_disabled:{opacity:.4}}),$r=(0,m.H2)({transitionProperty:"transform",transitionDuration:"normal"}),Vr=Rr({baseStyle:Er((e=>({icon:$r,container:Br,control:yr(jr,e),label:Mr}))),sizes:{sm:Er({control:{[zr.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Er({control:{[zr.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Er({control:{[zr.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Dr,definePartsStyle:Fr}=(0,m.YU)(H.keys),Ir=(0,m.H2)((e=>{var t;const r=null==(t=yr(Vr.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}})),Lr=Fr((e=>{var t,r,n,o;return{label:null==(r=(t=Vr).baseStyle)?void 0:r.call(t,e).label,container:null==(o=(n=Vr).baseStyle)?void 0:o.call(n,e).container,control:Ir(e)}})),Hr=Dr({baseStyle:Lr,sizes:{md:Fr({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Fr({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Fr({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Or,definePartsStyle:Wr}=(0,m.YU)(O.keys),Nr=(0,m.Vg)("select-bg"),Ur=Wr({field:(0,m.H2)({...null==(xr=tr.baseStyle)?void 0:xr.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Nr.reference,[Nr.variable]:"colors.white",_dark:{[Nr.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Nr.reference}}),icon:(0,m.H2)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),Yr=(0,m.H2)({paddingInlineEnd:"8"}),qr=Or({baseStyle:Ur,sizes:{lg:{...null==(Sr=tr.sizes)?void 0:Sr.lg,field:{...null==(kr=tr.sizes)?void 0:kr.lg.field,...Yr}},md:{...null==(wr=tr.sizes)?void 0:wr.md,field:{...null==(Cr=tr.sizes)?void 0:Cr.md.field,...Yr}},sm:{...null==(_r=tr.sizes)?void 0:_r.sm,field:{...null==(Tr=tr.sizes)?void 0:Tr.sm.field,...Yr}},xs:{...null==(Pr=tr.sizes)?void 0:Pr.xs,field:{...null==(Ar=tr.sizes)?void 0:Ar.xs.field,...Yr},icon:{insetEnd:"1"}}},variants:tr.variants,defaultProps:tr.defaultProps}),Gr=(0,m.Vg)("skeleton-start-color"),Xr=(0,m.Vg)("skeleton-end-color"),Kr=(0,m.H2)({[Gr.variable]:"colors.gray.100",[Xr.variable]:"colors.gray.400",_dark:{[Gr.variable]:"colors.gray.800",[Xr.variable]:"colors.gray.600"},background:Gr.reference,borderColor:Xr.reference,opacity:.7,borderRadius:"sm"}),Zr=(0,m.Dt)({baseStyle:Kr}),Jr=(0,m.Vg)("skip-link-bg"),Qr=(0,m.H2)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Jr.variable]:"colors.white",_dark:{[Jr.variable]:"colors.gray.700"},bg:Jr.reference}}),en=(0,m.Dt)({baseStyle:Qr}),{defineMultiStyleConfig:tn,definePartsStyle:rn}=(0,m.YU)(W.keys),nn=(0,m.Vg)("slider-thumb-size"),on=(0,m.Vg)("slider-track-size"),an=(0,m.Vg)("slider-bg"),sn=(0,m.H2)((e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...ke({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}})),ln=(0,m.H2)((e=>({...ke({orientation:e.orientation,horizontal:{h:on.reference},vertical:{w:on.reference}}),overflow:"hidden",borderRadius:"sm",[an.variable]:"colors.gray.200",_dark:{[an.variable]:"colors.whiteAlpha.200"},_disabled:{[an.variable]:"colors.gray.300",_dark:{[an.variable]:"colors.whiteAlpha.300"}},bg:an.reference}))),cn=(0,m.H2)((e=>{const{orientation:t}=e;return{...ke({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:nn.reference,h:nn.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}})),dn=(0,m.H2)((e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[an.variable]:`colors.${t}.500`,_dark:{[an.variable]:`colors.${t}.200`},bg:an.reference}})),un=tn({baseStyle:rn((e=>({container:sn(e),track:ln(e),thumb:cn(e),filledTrack:dn(e)}))),sizes:{lg:rn({container:{[nn.variable]:"sizes.4",[on.variable]:"sizes.1"}}),md:rn({container:{[nn.variable]:"sizes.3.5",[on.variable]:"sizes.1"}}),sm:rn({container:{[nn.variable]:"sizes.2.5",[on.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),hn=Q("spinner-size"),pn=(0,m.H2)({width:[hn.reference],height:[hn.reference]}),fn={xs:(0,m.H2)({[hn.variable]:"sizes.3"}),sm:(0,m.H2)({[hn.variable]:"sizes.4"}),md:(0,m.H2)({[hn.variable]:"sizes.6"}),lg:(0,m.H2)({[hn.variable]:"sizes.8"}),xl:(0,m.H2)({[hn.variable]:"sizes.12"})},mn=(0,m.Dt)({baseStyle:pn,sizes:fn,defaultProps:{size:"md"}}),{defineMultiStyleConfig:gn,definePartsStyle:vn}=(0,m.YU)(N.keys),bn=gn({baseStyle:vn({container:{},label:(0,m.H2)({fontWeight:"medium"}),helpText:(0,m.H2)({opacity:.8,marginBottom:"2"}),number:(0,m.H2)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,m.H2)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:vn({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),yn=(0,m.Vg)("kbd-bg"),xn=(0,m.H2)({[yn.variable]:"colors.gray.100",_dark:{[yn.variable]:"colors.whiteAlpha.100"},bg:yn.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),Sn=(0,m.Dt)({baseStyle:xn}),kn=(0,m.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),wn=(0,m.Dt)({baseStyle:kn}),{defineMultiStyleConfig:Cn,definePartsStyle:_n}=(0,m.YU)($.keys),Tn=Cn({baseStyle:_n({icon:(0,m.H2)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:Pn,definePartsStyle:An}=(0,m.YU)(V.keys),En=(0,m.Vg)("menu-bg"),Rn=(0,m.Vg)("menu-shadow"),zn=(0,m.H2)({[En.variable]:"#fff",[Rn.variable]:"shadows.sm",_dark:{[En.variable]:"colors.gray.700",[Rn.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:En.reference,boxShadow:Rn.reference}),jn=(0,m.H2)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[En.variable]:"colors.gray.100",_dark:{[En.variable]:"colors.whiteAlpha.100"}},_active:{[En.variable]:"colors.gray.200",_dark:{[En.variable]:"colors.whiteAlpha.200"}},_expanded:{[En.variable]:"colors.gray.100",_dark:{[En.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:En.reference}),Bn=(0,m.H2)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),Mn=(0,m.H2)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),$n=(0,m.H2)({opacity:.6}),Vn=(0,m.H2)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),Dn=Pn({baseStyle:An({button:(0,m.H2)({transitionProperty:"common",transitionDuration:"normal"}),list:zn,item:jn,groupTitle:Bn,icon:Mn,command:$n,divider:Vn})}),{defineMultiStyleConfig:Fn,definePartsStyle:In}=(0,m.YU)(D.keys),Ln=(0,m.Vg)("modal-bg"),Hn=(0,m.Vg)("modal-shadow"),On=(0,m.H2)({bg:"blackAlpha.600",zIndex:"modal"}),Wn=(0,m.H2)((e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}})),Nn=(0,m.H2)((e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[Ln.variable]:"colors.white",[Hn.variable]:"shadows.lg",_dark:{[Ln.variable]:"colors.gray.700",[Hn.variable]:"shadows.dark-lg"},bg:Ln.reference,boxShadow:Hn.reference}})),Un=(0,m.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),Yn=(0,m.H2)({position:"absolute",top:"2",insetEnd:"3"}),qn=(0,m.H2)((e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}})),Gn=(0,m.H2)({px:"6",py:"4"});function Xn(e){return In("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var Kn=Fn({baseStyle:In((e=>({overlay:On,dialogContainer:yr(Wn,e),dialog:yr(Nn,e),header:Un,closeButton:Yn,body:yr(qn,e),footer:Gn}))),sizes:{xs:Xn("xs"),sm:Xn("sm"),md:Xn("md"),lg:Xn("lg"),xl:Xn("xl"),"2xl":Xn("2xl"),"3xl":Xn("3xl"),"4xl":Xn("4xl"),"5xl":Xn("5xl"),"6xl":Xn("6xl"),full:Xn("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Zn,definePartsStyle:Jn}=(0,m.YU)(F.keys),Qn=Q("number-input-stepper-width"),eo=Q("number-input-input-padding"),to=ce(Qn).add("0.5rem").toString(),ro=Q("number-input-bg"),no=Q("number-input-color"),oo=Q("number-input-border-color"),io=(0,m.H2)({[Qn.variable]:"sizes.6",[eo.variable]:to}),ao=(0,m.H2)((e=>{var t,r;return null!=(r=null==(t=yr(tr.baseStyle,e))?void 0:t.field)?r:{}})),so=(0,m.H2)({width:Qn.reference}),lo=(0,m.H2)({borderStart:"1px solid",borderStartColor:oo.reference,color:no.reference,bg:ro.reference,[no.variable]:"colors.chakra-body-text",[oo.variable]:"colors.chakra-border-color",_dark:{[no.variable]:"colors.whiteAlpha.800",[oo.variable]:"colors.whiteAlpha.300"},_active:{[ro.variable]:"colors.gray.200",_dark:{[ro.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}}),co=Jn((e=>{var t;return{root:io,field:null!=(t=yr(ao,e))?t:{},stepperGroup:so,stepper:lo}}));function uo(e){var t,r,n;const o=null==(t=tr.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(n=null==(r=o.field)?void 0:r.fontSize)?n:"md",s=u.fontSizes[a];return Jn({field:{...o.field,paddingInlineEnd:eo.reference,verticalAlign:"top"},stepper:{fontSize:ce(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var ho,po,fo,mo=Zn({baseStyle:co,sizes:{xs:uo("xs"),sm:uo("sm"),md:uo("md"),lg:uo("lg")},variants:tr.variants,defaultProps:tr.defaultProps}),go=(0,m.H2)({...null==(ho=tr.baseStyle)?void 0:ho.field,textAlign:"center"}),vo={lg:(0,m.H2)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,m.H2)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,m.H2)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,m.H2)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},bo={outline:(0,m.H2)((e=>{var t,r,n;return null!=(n=null==(r=yr(null==(t=tr.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}})),flushed:(0,m.H2)((e=>{var t,r,n;return null!=(n=null==(r=yr(null==(t=tr.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}})),filled:(0,m.H2)((e=>{var t,r,n;return null!=(n=null==(r=yr(null==(t=tr.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}})),unstyled:null!=(fo=null==(po=tr.variants)?void 0:po.unstyled.field)?fo:{}},yo=(0,m.Dt)({baseStyle:go,sizes:vo,variants:bo,defaultProps:tr.defaultProps}),{defineMultiStyleConfig:xo,definePartsStyle:So}=(0,m.YU)(I.keys),ko=Q("popper-bg"),wo=Q("popper-arrow-bg"),Co=Q("popper-arrow-shadow-color"),_o=xo({baseStyle:So({popper:(0,m.H2)({zIndex:10}),content:(0,m.H2)({[ko.variable]:"colors.white",bg:ko.reference,[wo.variable]:ko.reference,[Co.variable]:"colors.gray.200",_dark:{[ko.variable]:"colors.gray.700",[Co.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,m.H2)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,m.H2)({px:3,py:2}),footer:(0,m.H2)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,m.H2)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:To,defineMultiStyleConfig:Po}=(0,m.YU)(R.keys),Ao=(0,m.Vg)("drawer-bg"),Eo=(0,m.Vg)("drawer-box-shadow");function Ro(e){return To("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var zo=(0,m.H2)({bg:"blackAlpha.600",zIndex:"modal"}),jo=(0,m.H2)({display:"flex",zIndex:"modal",justifyContent:"center"}),Bo=(0,m.H2)((e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ao.variable]:"colors.white",[Eo.variable]:"shadows.lg",_dark:{[Ao.variable]:"colors.gray.700",[Eo.variable]:"shadows.dark-lg"},bg:Ao.reference,boxShadow:Eo.reference}})),Mo=(0,m.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),$o=(0,m.H2)({position:"absolute",top:"2",insetEnd:"3"}),Vo=(0,m.H2)({px:"6",py:"2",flex:"1",overflow:"auto"}),Do=(0,m.H2)({px:"6",py:"4"}),Fo=Po({baseStyle:To((e=>({overlay:zo,dialogContainer:jo,dialog:yr(Bo,e),header:Mo,closeButton:$o,body:Vo,footer:Do}))),sizes:{xs:Ro("xs"),sm:Ro("md"),md:Ro("lg"),lg:Ro("2xl"),xl:Ro("4xl"),full:Ro("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Io,defineMultiStyleConfig:Lo}=(0,m.YU)(z.keys),Ho=Lo({baseStyle:Io({preview:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:Oo,defineMultiStyleConfig:Wo}=(0,m.YU)(j.keys),No=(0,m.Vg)("form-control-color"),Uo=Wo({baseStyle:Oo({container:{width:"100%",position:"relative"},requiredIndicator:(0,m.H2)({marginStart:"1",[No.variable]:"colors.red.500",_dark:{[No.variable]:"colors.red.300"},color:No.reference}),helperText:(0,m.H2)({mt:"2",[No.variable]:"colors.gray.600",_dark:{[No.variable]:"colors.whiteAlpha.600"},color:No.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:Yo,defineMultiStyleConfig:qo}=(0,m.YU)(B.keys),Go=(0,m.Vg)("form-error-color"),Xo=qo({baseStyle:Yo({text:(0,m.H2)({[Go.variable]:"colors.red.500",_dark:{[Go.variable]:"colors.red.300"},color:Go.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,m.H2)({marginEnd:"0.5em",[Go.variable]:"colors.red.500",_dark:{[Go.variable]:"colors.red.300"},color:Go.reference})})}),Ko=(0,m.H2)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),Zo=(0,m.Dt)({baseStyle:Ko}),Jo=(0,m.H2)({fontFamily:"heading",fontWeight:"bold"}),Qo={"4xl":(0,m.H2)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,m.H2)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,m.H2)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,m.H2)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,m.H2)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,m.H2)({fontSize:"xl",lineHeight:1.2}),sm:(0,m.H2)({fontSize:"md",lineHeight:1.2}),xs:(0,m.H2)({fontSize:"sm",lineHeight:1.2})},ei=(0,m.Dt)({baseStyle:Jo,sizes:Qo,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:ti,definePartsStyle:ri}=(0,m.YU)(A.keys),ni=(0,m.Vg)("breadcrumb-link-decor"),oi=ti({baseStyle:ri({link:(0,m.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:ni.reference,[ni.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[ni.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),ii=(0,m.H2)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),ai=(0,m.H2)((e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:Se("gray.800","whiteAlpha.900")(e),_hover:{bg:Se("gray.100","whiteAlpha.200")(e)},_active:{bg:Se("gray.200","whiteAlpha.300")(e)}};const n=Ye(`${t}.200`,.12)(r),o=Ye(`${t}.200`,.24)(r);return{color:Se(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Se(`${t}.50`,n)(e)},_active:{bg:Se(`${t}.100`,o)(e)}}})),si=(0,m.H2)((e=>{const{colorScheme:t}=e,r=Se("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...yr(ai,e)}})),li={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},ci=(0,m.H2)((e=>{var t;const{colorScheme:r}=e;if("gray"===r){const t=Se("gray.100","whiteAlpha.200")(e);return{bg:t,color:Se("gray.800","whiteAlpha.900")(e),_hover:{bg:Se("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Se("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=li[r])?t:{},s=Se(n,`${r}.200`)(e);return{bg:s,color:Se(o,"gray.800")(e),_hover:{bg:Se(i,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:Se(a,`${r}.400`)(e)}}})),di=(0,m.H2)((e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Se(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Se(`${t}.700`,`${t}.500`)(e)}}})),ui=(0,m.H2)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),hi={ghost:ai,outline:si,solid:ci,link:di,unstyled:ui},pi={lg:(0,m.H2)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,m.H2)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,m.H2)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,m.H2)({h:"6",minW:"6",fontSize:"xs",px:"2"})},fi=(0,m.Dt)({baseStyle:ii,variants:hi,sizes:pi,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:mi,defineMultiStyleConfig:gi}=(0,m.YU)(X.keys),vi=(0,m.Vg)("card-bg"),bi=(0,m.Vg)("card-padding"),yi=(0,m.Vg)("card-shadow"),xi=(0,m.Vg)("card-radius"),Si=(0,m.Vg)("card-border-width","0"),ki=(0,m.Vg)("card-border-color"),wi=mi({container:{[vi.variable]:"colors.chakra-body-bg",backgroundColor:vi.reference,boxShadow:yi.reference,borderRadius:xi.reference,color:"chakra-body-text",borderWidth:Si.reference,borderColor:ki.reference},body:{padding:bi.reference,flex:"1 1 0%"},header:{padding:bi.reference},footer:{padding:bi.reference}}),Ci={sm:mi({container:{[xi.variable]:"radii.base",[bi.variable]:"space.3"}}),md:mi({container:{[xi.variable]:"radii.md",[bi.variable]:"space.5"}}),lg:mi({container:{[xi.variable]:"radii.xl",[bi.variable]:"space.7"}})},_i=gi({baseStyle:wi,variants:{elevated:mi({container:{[yi.variable]:"shadows.base",_dark:{[vi.variable]:"colors.gray.700"}}}),outline:mi({container:{[Si.variable]:"1px",[ki.variable]:"colors.chakra-border-color"}}),filled:mi({container:{[vi.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[bi.variable]:0},header:{[bi.variable]:0},footer:{[bi.variable]:0}}},sizes:Ci,defaultProps:{variant:"elevated",size:"md"}}),Ti=Q("close-button-size"),Pi=Q("close-button-bg"),Ai=(0,m.H2)({w:[Ti.reference],h:[Ti.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[Pi.variable]:"colors.blackAlpha.100",_dark:{[Pi.variable]:"colors.whiteAlpha.100"}},_active:{[Pi.variable]:"colors.blackAlpha.200",_dark:{[Pi.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:Pi.reference}),Ei={lg:(0,m.H2)({[Ti.variable]:"sizes.10",fontSize:"md"}),md:(0,m.H2)({[Ti.variable]:"sizes.8",fontSize:"xs"}),sm:(0,m.H2)({[Ti.variable]:"sizes.6",fontSize:"2xs"})},Ri=(0,m.Dt)({baseStyle:Ai,sizes:Ei,defaultProps:{size:"md"}}),{variants:zi,defaultProps:ji}=vt,Bi=(0,m.H2)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:ut.bg.reference,color:ut.color.reference,boxShadow:ut.shadow.reference}),Mi=(0,m.Dt)({baseStyle:Bi,variants:zi,defaultProps:ji}),$i=(0,m.H2)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),Vi=(0,m.Dt)({baseStyle:$i}),Di=(0,m.H2)({opacity:.6,borderColor:"inherit"}),Fi={solid:(0,m.H2)({borderStyle:"solid"}),dashed:(0,m.H2)({borderStyle:"dashed"})},Ii=(0,m.Dt)({baseStyle:Di,variants:Fi,defaultProps:{variant:"solid"}}),{definePartsStyle:Li,defineMultiStyleConfig:Hi}=(0,m.YU)(_.keys),Oi=Hi({baseStyle:Li({container:(0,m.H2)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,m.H2)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,m.H2)({pt:"2",px:"4",pb:"5"}),icon:(0,m.H2)({fontSize:"1.25em"})})}),{definePartsStyle:Wi,defineMultiStyleConfig:Ni}=(0,m.YU)(T.keys),Ui=(0,m.Vg)("alert-fg"),Yi=(0,m.Vg)("alert-bg");function qi(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:Ye(`${r}.200`,.16)(t)}}var Gi=Ni({baseStyle:Wi({container:{bg:Yi.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ui.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ui.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:Wi((e=>{const{colorScheme:t}=e,r=qi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[Yi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[Yi.variable]:r.dark}}}})),"left-accent":Wi((e=>{const{colorScheme:t}=e,r=qi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[Yi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[Yi.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ui.reference}}})),"top-accent":Wi((e=>{const{colorScheme:t}=e,r=qi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[Yi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[Yi.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ui.reference}}})),solid:Wi((e=>{const{colorScheme:t}=e;return{container:{[Ui.variable]:"colors.white",[Yi.variable]:`colors.${t}.600`,_dark:{[Ui.variable]:"colors.gray.900",[Yi.variable]:`colors.${t}.200`},color:Ui.reference}}}))},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Xi,defineMultiStyleConfig:Ki}=(0,m.YU)(P.keys),Zi=(0,m.Vg)("avatar-border-color"),Ji=(0,m.Vg)("avatar-bg"),Qi=(0,m.Vg)("avatar-font-size"),ea=(0,m.Vg)("avatar-size"),ta=(0,m.H2)({borderRadius:"full",border:"0.2em solid",borderColor:Zi.reference,[Zi.variable]:"white",_dark:{[Zi.variable]:"colors.gray.800"}}),ra=(0,m.H2)({bg:Ji.reference,fontSize:Qi.reference,width:ea.reference,height:ea.reference,lineHeight:"1",[Ji.variable]:"colors.gray.200",_dark:{[Ji.variable]:"colors.whiteAlpha.400"}}),na=(0,m.H2)((e=>{const{name:t,theme:r}=e,n=t?Ge({string:t}):"colors.gray.400",o=(e=>t=>"dark"===Ue(e)(t))(n)(r);let i="white";return o||(i="gray.800"),{bg:Ji.reference,fontSize:Qi.reference,color:i,borderColor:Zi.reference,verticalAlign:"top",width:ea.reference,height:ea.reference,"&:not([data-loaded])":{[Ji.variable]:n},[Zi.variable]:"colors.white",_dark:{[Zi.variable]:"colors.gray.800"}}})),oa=(0,m.H2)({fontSize:Qi.reference,lineHeight:"1"});function ia(e){const t="100%"!==e?p[e]:void 0;return Xi({container:{[ea.variable]:null!=t?t:e,[Qi.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[ea.variable]:null!=t?t:e,[Qi.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var aa={Accordion:Oi,Alert:Gi,Avatar:Ki({baseStyle:Xi((e=>({badge:yr(ta,e),excessLabel:yr(ra,e),container:yr(na,e),label:oa}))),sizes:{"2xs":ia(4),xs:ia(6),sm:ia(8),md:ia(12),lg:ia(16),xl:ia(24),"2xl":ia(32),full:ia("100%")},defaultProps:{size:"md"}}),Badge:vt,Breadcrumb:oi,Button:fi,Checkbox:Vr,CloseButton:Ri,Code:Mi,Container:Vi,Divider:Ii,Drawer:Fo,Editable:Ho,Form:Uo,FormError:Xo,FormLabel:Zo,Heading:ei,Input:tr,Kbd:Sn,Link:wn,List:Tn,Menu:Dn,Modal:Kn,NumberInput:mo,PinInput:yo,Popover:_o,Progress:br,Radio:Hr,Select:qr,Skeleton:Zr,SkipLink:en,Slider:un,Spinner:mn,Stat:bn,Switch:xe,Table:Pe,Tabs:dt,Tag:Rt,Textarea:ir,Tooltip:dr,Card:_i,Stepper:w},sa={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},la={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},ca={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},da={semanticTokens:sa,direction:"ltr",...f,components:aa,styles:la,config:ca},ua={semanticTokens:sa,direction:"ltr",components:{},...f,styles:la,config:ca}},3291:(e,t,r)=>{"use strict";r.d(t,{Jg:()=>n});function n(e,...t){return"function"==typeof e?e(...t):e}},4159:(e,t,r)=>{"use strict";r.d(t,{I$:()=>i,TB:()=>a,cJ:()=>n,rY:()=>o});r(8394);function n(e,t){const r={};return Object.keys(e).forEach((n=>{t.includes(n)||(r[n]=e[n])})),r}var o=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n{const o=e[n];t(o,n,e)&&(r[n]=o)})),r}var a=e=>i(e,(e=>null!=e))}}]); \ No newline at end of file diff --git a/assets/js/main.44cd1935.js b/assets/js/main.44cd1935.js deleted file mode 100644 index 00dd3e8b..00000000 --- a/assets/js/main.44cd1935.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.44cd1935.js.LICENSE.txt */ -(self.webpackChunksite=self.webpackChunksite||[]).push([[792],{8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"1df93b7f":[()=>Promise.all([n.e(869),n.e(71),n.e(583)]).then(n.bind(n,7252)),"@site/src/pages/index.tsx",7252],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],a7456010:[()=>n.e(235).then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552]};var l=n(4848);function s(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(t)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(6921),c=n(3102);function d(e,t){if("*"===e)return a()({loading:s,loader:()=>n.e(780).then(n.bind(n,6780)),modules:["@theme/NotFound"],webpack:()=>[6780],render(e,t){const n=e.default;return(0,l.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},f=[],p=[],m=(0,u.A)(r);return Object.entries(m).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const l=n.split(".");l.slice(0,-1).forEach((e=>{i=i[e]})),i[l[l.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;delete a.__context;const s=a.__props;return delete a.__props,(0,l.jsx)(c.W,{value:i,children:(0,l.jsx)(o,{...a,...s,...n})})}})}const f=[{path:"/",component:d("/","e5f"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},2324:(e,t,n)=>{"use strict";var r=n(6540),a=n(5338),o=n(545),i=n(4625),l=n(4784),s=n(8193);const u=[n(119),n(5726),n(6294)];var c=n(8328),d=n(6347),f=n(8168);function p(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var r=e.path?(0,d.B6)(t,e):n.length?n[n.length-1].match:d.Ix.computeRootMatch(t);return r&&(n.push({route:e,match:r}),e.routes&&p(e.routes,t,n)),r})),n}var m=n(4848);function g(e){let{children:t}=e;return(0,m.jsx)(m.Fragment,{children:t})}var h=n(5260),y=n(4586),b=n(6025),v=n(6342),w=n(1003),k=n(2131),x=n(4090);const S="default";var E=n(440);function C(e){let{locale:t,version:n,tag:r}=e;const a=t;return(0,m.jsxs)(h.A,{children:[t&&(0,m.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,m.jsx)("meta",{name:"docusaurus_version",content:n}),r&&(0,m.jsx)("meta",{name:"docusaurus_tag",content:r}),a&&(0,m.jsx)("meta",{name:"docsearch:language",content:a}),n&&(0,m.jsx)("meta",{name:"docsearch:version",content:n}),r&&(0,m.jsx)("meta",{name:"docsearch:docusaurus_tag",content:r})]})}function A(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,y.A)(),r=(0,k.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,m.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,m.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,m.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,m.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,m.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function T(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,y.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,y.A)(),{pathname:r}=(0,d.zy)();return e+(0,E.applyTrailingSlash)((0,b.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,m.jsxs)(h.A,{children:[(0,m.jsx)("meta",{property:"og:url",content:a}),(0,m.jsx)("link",{rel:"canonical",href:a})]})}function _(){const{i18n:{currentLocale:e}}=(0,y.A)(),{metadata:t,image:n}=(0,v.p)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(h.A,{children:[(0,m.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,m.jsx)("body",{className:x.w})]}),n&&(0,m.jsx)(w.be,{image:n}),(0,m.jsx)(T,{}),(0,m.jsx)(A,{}),(0,m.jsx)(C,{tag:S,locale:e}),(0,m.jsx)(h.A,{children:t.map(((e,t)=>(0,m.jsx)("meta",{...e},t)))})]})}const j=new Map;var N=n(6125),L=n(6988),R=n(205);function P(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const O=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,R.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),P("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function D(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>p(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class I extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?P("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=P("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),D(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,m.jsx)(O,{previousLocation:this.previousLocation,location:t,children:(0,m.jsx)(d.qh,{location:t,render:()=>e})})}}const F=I,M="__docusaurus-base-url-issue-banner-container",z="__docusaurus-base-url-issue-banner",B="__docusaurus-base-url-issue-banner-suggestion-container";function $(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${M}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{let{route:t}=e;return!0===t.exact})))return j.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,m.jsx)(F,{location:e,children:Q})}function Y(){return(0,m.jsx)(G.A,{children:(0,m.jsx)(L.l,{children:(0,m.jsxs)(N.x,{children:[(0,m.jsxs)(g,{children:[(0,m.jsx)(H,{}),(0,m.jsx)(_,{}),(0,m.jsx)(q,{}),(0,m.jsx)(K,{})]}),(0,m.jsx)(V,{})]})})})}var Z=n(4054);const X=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var J=n(6921);const ee=new Set,te=new Set,ne=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,re={prefetch:e=>{if(!(e=>!ne()&&!te.has(e)&&!ee.has(e))(e))return!1;ee.add(e);const t=p(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Z).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,J.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?X(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!ne()&&!te.has(e))(e)&&(te.add(e),D(e))},ae=Object.freeze(re);function oe(e){let{children:t}=e;return"hash"===l.default.future.experimental_router?(0,m.jsx)(i.I9,{children:t}):(0,m.jsx)(i.Kd,{children:t})}const ie=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=ae;const e=document.getElementById("__docusaurus"),t=(0,m.jsx)(o.vd,{children:(0,m.jsx)(oe,{children:(0,m.jsx)(Y,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ie)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};D(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>c,l:()=>d});var r=n(6540),a=n(4784);const o=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var i=n(2654);const l=JSON.parse('{"docusaurusVersion":"3.4.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.4.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.4.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.4.0"}}}');var s=n(4848);const u={siteConfig:a.default,siteMetadata:l,globalData:{},i18n:o,codeTranslations:i},c=r.createContext(u);function d(e){let{children:t}=e;return(0,s.jsx)(c.Provider,{value:u,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(6540),a=n(8193),o=n(5260),i=n(440),l=n(6412),s=n(3102),u=n(4848);function c(e){let{error:t,tryAgain:n}=e;return(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,u.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,u.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,u.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function f(e){let{children:t}=e;return(0,u.jsx)(s.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function p(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)(f,{children:(0,u.jsxs)(g,{fallback:()=>(0,u.jsx)(c,{error:t,tryAgain:n}),children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("title",{children:"Page Error"})}),(0,u.jsx)(l.A,{children:(0,u.jsx)(c,{error:t,tryAgain:n})})]})})}const m=e=>(0,u.jsx)(p,{...e});class g extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(6540),a=n(4625),o=n(440),i=n(4586),l=n(6654),s=n(8193),u=n(3427),c=n(6025),d=n(4848);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:m,isActive:g,"data-noBrokenLinkCheck":h,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,c.hH)(),E=(0,u.A)(),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>C.current));const A=f||p;const T=(0,l.A)(A),_=A?.replace("pathname://","");let j=void 0!==_?(N=_,y&&(e=>e.startsWith("/"))(N)?S(N):N):void 0;var N;"hash"===x&&j?.startsWith("./")&&(j=j?.slice(1)),j&&T&&(j=(0,o.applyTrailingSlash)(j,{trailingSlash:w,baseUrl:k}));const L=(0,r.useRef)(!1),R=n?a.k2:a.N_,P=s.A.canUseIntersectionObserver,O=(0,r.useRef)(),D=()=>{L.current||null==j||(window.docusaurus.preload(j),L.current=!0)};(0,r.useEffect)((()=>(!P&&T&&null!=j&&window.docusaurus.prefetch(j),()=>{P&&O.current&&O.current.disconnect()})),[O,j,P,T]);const I=j?.startsWith("#")??!1,F=!b.target||"_self"===b.target,M=!j||!T||!F;return h||!I&&M||E.collectLink(j),b.id&&E.collectAnchor(b.id),M?(0,d.jsx)("a",{ref:C,href:j,...A&&!T&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,d.jsx)(R,{...b,onMouseEnter:D,onTouchStart:D,innerRef:e=>{C.current=e,P&&e&&T&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))}))})),O.current.observe(e))},to:j,...n&&{isActive:g,activeClassName:m}})}const p=r.forwardRef(f)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function l(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function s(e,t){let{message:n,id:r}=e;return o(l({message:n,id:r}),t)}function u(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=l({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),a=n(4586),o=n(6654);function i(){const{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,l=(0,r.useCallback)(((e,r)=>function(e){let{siteUrl:t,baseUrl:n,url:r,options:{forcePrependBaseUrl:a=!1,absolute:i=!1}={},router:l}=e;if(!r||r.startsWith("#")||(0,o.z)(r))return r;if("hash"===l)return r.startsWith("/")?`.${r}`:`./${r}`;if(a)return n+r.replace(/^\//,"");if(r===n.replace(/\/$/,""))return n;const s=r.startsWith(n)?r:n+r.replace(/^\//,"");return i?t+s:s}({siteUrl:n,baseUrl:t,url:e,options:r,router:i})),[n,t,i]);return{withBaseUrl:l}}function l(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6540);n(4848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6540),a=n(4848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),l=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:l,children:t})}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},5726:(e,t,n)=>{"use strict";n.r(t);n(6540);var r,a,o,i,l,s,u,c=Object.create,d=Object.defineProperty,f=(Object.defineProperties,Object.getOwnPropertyDescriptor),p=(Object.getOwnPropertyDescriptors,Object.getOwnPropertyNames),m=(Object.getOwnPropertySymbols,Object.getPrototypeOf),g=Object.prototype.hasOwnProperty,h=(Object.prototype.propertyIsEnumerable,r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);S+=x.value.length,x=x.next){var E=x.value;if(t.length>e.length)return;if(!(E instanceof a)){var C,A=1;if(b){if(!(C=o(k,S,e,y))||C.index>=e.length)break;var T=C.index,_=C.index+C[0].length,j=S;for(j+=x.value.length;T>=j;)j+=(x=x.next).value.length;if(S=j-=x.value.length,x.value instanceof a)continue;for(var N=x;N!==t.tail&&(j<_||"string"==typeof N.value);N=N.next)A++,j+=N.value.length;A--,E=e.slice(S,j),C.index-=S}else if(!(C=o(k,0,E,y)))continue;T=C.index;var L=C[0],R=E.slice(0,T),P=E.slice(T+L.length),O=S+E.length;d&&O>d.reach&&(d.reach=O);var D=x.prev;if(R&&(D=s(t,D,R),S+=R.length),u(t,D,A),x=s(t,D,new a(f,h?r.tokenize(L,h):L,v,L)),P&&s(t,x,P),A>1){var I={cause:f+","+m,reach:O};i(e,t,n,x.prev,S,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}();t.exports=n,n.default=n}},function(){return a||(0,r[p(r)[0]])((a={exports:{}}).exports,a),a.exports}),y=((e,t,n)=>(n=null!=e?c(m(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of p(t))g.call(e,a)||a===n||d(e,a,{get:()=>t[a],enumerable:!(r=f(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:d(n,"default",{value:e,enumerable:!0}),e)))(h());y.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},y.languages.markup.tag.inside["attr-value"].inside.entity=y.languages.markup.entity,y.languages.markup.doctype.inside["internal-subset"].inside=y.languages.markup,y.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(y.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:y.languages[t]},n.cdata=/^$/i,{"included-cdata":{pattern://i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:y.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},y.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(y.languages.markup.tag,"addAttribute",{value:function(e,t){y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:y.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),y.languages.html=y.languages.markup,y.languages.mathml=y.languages.markup,y.languages.svg=y.languages.markup,y.languages.xml=y.languages.extend("markup",{}),y.languages.ssml=y.languages.xml,y.languages.atom=y.languages.xml,y.languages.rss=y.languages.xml,o=y,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},s="(?:[^\\\\-]|"+(l=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",s=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:l,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:l}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:l,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},y.languages.javascript=y.languages.extend("clike",{"class-name":[y.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,y.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:y.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),y.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:y.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),y.languages.markup&&(y.languages.markup.tag.addInlined("script","javascript"),y.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),y.languages.js=y.languages.javascript,y.languages.actionscript=y.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),y.languages.actionscript["class-name"].alias="function",delete y.languages.actionscript.parameter,delete y.languages.actionscript["literal-property"],y.languages.markup&&y.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:y.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(y),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var l=0,s=i.length;l|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(y),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(y),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(y),y.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:y.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},y.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function s(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},d=(s=l(s.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n})).join(""),n,i),Object.keys(c));return u=0,function t(n){for(var o=0;o=d.length)return;var i,s,f,p,m,g,h,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(h=(g="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=g.substring(0,h),m=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(m,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,m),p=g.substring(h+i.length),m=[],s&&m.push(s),m.push(f),p&&(t(g=[p]),m.push.apply(m,g)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):(h=y.content,Array.isArray(h)?t(h):t([h]))}}(s),new e.Token(i,s,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var u={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function c(e){return"string"==typeof e?e:Array.isArray(e)?e.map(c).join(""):c(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in u&&function t(n){for(var r=0,a=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(y),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(y),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(y),y.languages.n4js=y.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),y.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),y.languages.n4jsd=y.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r"!==a.content[a.content.length-1].content&&n.push({tagName:l(a.content[0].content[1]),openedBraces:0}):0+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var l=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(l).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(y),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(y),y.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},y.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=y.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(y),y.languages.c=y.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),y.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),y.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},y.languages.c.string],char:y.languages.c.char,comment:y.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:y.languages.c}}}}),y.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete y.languages.c.boolean,y.languages.objectivec=y.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete y.languages.objectivec["class-name"],y.languages.objc=y.languages.objectivec,y.languages.reason=y.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),y.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete y.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(y),y.languages.go=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete y.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(y),y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.python["string-interpolation"].inside.interpolation.inside.rest=y.languages.python,y.languages.py=y.languages.python;((e,t)=>{for(var n in t)d(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>b,duotoneDark:()=>v,duotoneLight:()=>w,github:()=>k,jettwaveDark:()=>O,jettwaveLight:()=>D,nightOwl:()=>x,nightOwlLight:()=>S,oceanicNext:()=>A,okaidia:()=>T,oneDark:()=>I,oneLight:()=>F,palenight:()=>_,shadesOfPurple:()=>j,synthwave84:()=>N,ultramin:()=>L,vsDark:()=>R,vsLight:()=>P});var b={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},v={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},w={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},k={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},x={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},S={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},E="#c5a5c5",C="#8dc891",A={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:E}},{types:["attr-value"],style:{color:C}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:C}},{types:["punctuation"],style:{color:C}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:E}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},T={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},_={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},j={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},N={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},L={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},R={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},P={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},O={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},D={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},I={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},F={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},M=n(4784);!function(e){const{themeConfig:{prism:t}}=M.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(8692)(`./prism-${e}`)})),delete globalThis.Prism}(y)},1107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6540);var r=n(4164),a=n(1312),o=n(6342),i=n(8774),l=n(3427);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var u=n(4848);function c(e){let{as:t,id:n,...c}=e;const d=(0,l.A)(),{navbar:{hideOnScroll:f}}=(0,o.p)();if("h1"===t||!n)return(0,u.jsx)(t,{...c,id:void 0});d.collectAnchor(n);const p=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,u.jsxs)(t,{...c,className:(0,r.A)("anchor",f?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,u.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200b"})]})}},6412:(e,t,n)=>{"use strict";n.d(t,{A:()=>Sn});var r=n(6540),a=n(4164),o=n(7489),i=n(1003),l=n(6347),s=n(1312),u=n(205),c=n(4848);function d(e){const t=(0,r.useRef)(e);return(0,u.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function f(e){const t=(0,r.useRef)();return(0,u.A)((()=>{t.current=e})),t.current}class p extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function m(e){const t=(0,l.zy)(),n=f(t),a=d(e);(0,r.useEffect)((()=>{n&&t!==n&&a({location:t,previousLocation:n})}),[a,t,n])}const g="__docusaurus_skipToContent_fallback";function h(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function y(){const e=(0,r.useRef)(null),{action:t}=(0,l.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(g);t&&h(t)}),[]);return m((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&h(e.current)})),{containerRef:e,onClick:n}}const b=(0,s.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function v(e){const t=e.children??b,{containerRef:n,onClick:r}=y();return(0,c.jsx)("div",{ref:n,role:"region","aria-label":b,children:(0,c.jsx)("a",{...e,href:`#${g}`,onClick:r,children:t})})}const w={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}};var k=n(4090);const x={skipToContent:"skipToContent_fXgn"};function S(){return(0,c.jsx)(v,{className:x.skipToContent})}var E=n(6342),C=n(2303);const A=JSON.parse('{"N":"localStorage","M":""}'),T=A.N;function _(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function j(e){if(void 0===e&&(e=T),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,N||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),N=!0),null}var t}let N=!1;const L={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function R(e,t){const n=function(e){return`${e}${A.M}`}(e);if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(n);const r=j(t?.persistence);return null===r?L:{get:()=>{try{return r.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{const t=r.getItem(n);r.setItem(n,e),_({key:n,oldValue:t,newValue:e,storage:r})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{const e=r.getItem(n);r.removeItem(n),_({key:n,oldValue:e,newValue:null,storage:r})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{const t=t=>{t.storageArea===r&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(t){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,t),()=>{}}}}}const P=R("docusaurus.announcement.dismiss"),O=R("docusaurus.announcement.id"),D=()=>"true"===P.get(),I=e=>P.set(String(e)),F=r.createContext(null);function M(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,c.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,c.jsx)("g",{stroke:r,strokeWidth:a,children:(0,c.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const z={closeButton:"closeButton_CVFx"};function B(e){return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",z.closeButton,e.className),children:(0,c.jsx)(M,{width:14,height:14,strokeWidth:3.1})})}const $={content:"content_knG7"};function U(e){const{announcementBar:t}=(0,E.p)(),{content:n}=t;return(0,c.jsx)("div",{...e,className:(0,a.A)($.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const q={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function H(){const{announcementBar:e}=(0,E.p)(),{isActive:t,close:n}=function(){const e=(0,r.useContext)(F);if(!e)throw new p("AnnouncementBarProvider");return e}();if(!t)return null;const{backgroundColor:a,textColor:o,isCloseable:i}=e;return(0,c.jsxs)("div",{className:q.announcementBar,style:{backgroundColor:a,color:o},role:"banner",children:[i&&(0,c.jsx)("div",{className:q.announcementBarPlaceholder}),(0,c.jsx)(U,{className:q.announcementBarContent}),i&&(0,c.jsx)(B,{onClick:n,className:q.announcementBarClose})]})}const G=r.createContext(null);function W(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,c.jsx)(G.Provider,{value:n,children:t})}function V(){const e=(0,r.useContext)(G);if(!e)throw new p("NavbarSecondaryMenuContentProvider");return e[0]}var Q=n(8193);const K={desktop:"desktop",mobile:"mobile",ssr:"ssr"},Y=996;function Z(e){let{desktopBreakpoint:t=Y}=void 0===e?{}:e;const[n,a]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){a(function(e){if(!Q.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?K.desktop:K.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}function X(e){!function(e){const t=(0,l.W6)(),n=d(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}const J=r.createContext(void 0);function ee(){const e=function(){const e=V(),{items:t}=(0,E.p)().navbar;return 0===t.length&&!e.component}(),t=Z(),n=!e&&"mobile"===t,[a,o]=(0,r.useState)(!1);X((()=>{if(a)return o(!1),!1}));const i=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&o(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:i,shown:a})),[e,n,i,a])}function te(e){let{children:t}=e;const n=ee();return(0,c.jsx)(J.Provider,{value:n,children:t})}function ne(){const e=r.useContext(J);if(void 0===e)throw new p("NavbarMobileSidebarProvider");return e}const re=r.createContext(void 0);function ae(){const e=(0,r.useContext)(re);if(null==e)throw new p("ScrollControllerProvider");return e}const oe=()=>Q.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function ie(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return function(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=ae(),a=(0,r.useRef)(oe()),o=d(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=oe();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=l?n(!1):i+u{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}const le=r.createContext(null);function se(e){let{children:t}=e;const n=function(){const e=ne(),t=V(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=f(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,c.jsx)(le.Provider,{value:n,children:t})}function ue(e){if(e.component){const t=e.component;return(0,c.jsx)(t,{...e.props})}}function ce(){const e=(0,r.useContext)(le);if(!e)throw new p("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=V();return(0,r.useMemo)((()=>({shown:t,hide:a,content:ue(o)})),[a,o,t])}function de(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=ce();return(0,c.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,c.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,c.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}const fe=r.createContext(void 0),pe="theme",me=R(pe),ge={light:"light",dark:"dark"},he=e=>e===ge.dark?ge.dark:ge.light,ye=e=>Q.A.canUseDOM?he(document.documentElement.getAttribute("data-theme")):he(e),be=e=>{me.set(he(e))};function ve(){const e=(0,r.useContext)(fe);if(null==e)throw new p("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}function we(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function ke(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const xe={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function Se(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,C.A)(),l=(0,s.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,s.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,s.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,c.jsx)("div",{className:(0,a.A)(xe.toggle,t),children:(0,c.jsxs)("button",{className:(0,a.A)("clean-btn",xe.toggleButton,!i&&xe.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite",children:[(0,c.jsx)(we,{className:(0,a.A)(xe.toggleIcon,xe.lightToggleIcon)}),(0,c.jsx)(ke,{className:(0,a.A)(xe.toggleIcon,xe.darkToggleIcon)})]})})}const Ee=r.memo(Se),Ce={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function Ae(e){let{className:t}=e;const n=(0,E.p)().navbar.style,r=(0,E.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=ve();return r?null:(0,c.jsx)(Ee,{className:t,buttonClassName:"dark"===n?Ce.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var Te=n(8774),_e=n(6025),je=n(4586);const Ne={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function Le(e){let{className:t,children:n}=e;const o=(0,C.A)(),{colorMode:i}=ve();return(0,c.jsx)(c.Fragment,{children:(o?"dark"===i?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,Ne.themedComponent,Ne[`themedComponent--${e}`])});return(0,c.jsx)(r.Fragment,{children:o},e)}))})}function Re(e){const{sources:t,className:n,alt:r,...a}=e;return(0,c.jsx)(Le,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,c.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}function Pe(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,_e.Ay)(t.src),dark:(0,_e.Ay)(t.srcDark||t.src)},o=(0,c.jsx)(Re,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,c.jsx)("div",{className:r,children:o}):o}function Oe(e){const{siteConfig:{title:t}}=(0,je.A)(),{navbar:{title:n,logo:r}}=(0,E.p)(),{imageClassName:a,titleClassName:o,...i}=e,l=(0,_e.Ay)(r?.href||"/"),s=n?"":t,u=r?.alt??s;return(0,c.jsxs)(Te.A,{to:l,...i,...r?.target&&{target:r.target},children:[r&&(0,c.jsx)(Pe,{logo:r,alt:u,imageClassName:a}),null!=n&&(0,c.jsx)("b",{className:o,children:n})]})}function De(){return(0,c.jsx)(Oe,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Ie(){const e=ne();return(0,c.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,c.jsx)(M,{color:"var(--ifm-color-emphasis-600)"})})}function Fe(){return(0,c.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,c.jsx)(De,{}),(0,c.jsx)(Ae,{className:"margin-right--md"}),(0,c.jsx)(Ie,{})]})}var Me=n(6654);function ze(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}const Be={iconExternalLink:"iconExternalLink_nPIU"};function $e(e){let{width:t=13.5,height:n=13.5}=e;return(0,c.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:Be.iconExternalLink,children:(0,c.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}function Ue(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...u}=e;const d=(0,_e.Ay)(r),f=(0,_e.Ay)(t),p=(0,_e.Ay)(a,{forcePrependBaseUrl:!0}),m=o&&a&&!(0,Me.A)(a),g=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,c.jsxs)(c.Fragment,{children:[o,m&&(0,c.jsx)($e,{...l&&{width:12,height:12}})]})};return a?(0,c.jsx)(Te.A,{href:s?p:a,...u,...g}):(0,c.jsx)(Te.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ze(n,t.pathname):t.pathname.startsWith(f)},...u,...g})}function qe(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,c.jsx)(Ue,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,c.jsx)("li",{children:o}):o}function He(e){let{className:t,isDropdownItem:n,...r}=e;return(0,c.jsx)("li",{className:"menu__list-item",children:(0,c.jsx)(Ue,{className:(0,a.A)("menu__link",t),...r})})}function Ge(e){let{mobile:t=!1,position:n,...r}=e;const a=t?He:qe;return(0,c.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}const We="ease-in-out";const Ve={display:"none",overflow:"hidden",height:"0px"},Qe={display:"block",overflow:"visible",height:"auto"};function Ke(e,t){const n=t?Ve:Qe;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function Ye(e){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Ze(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=function(){const t=e.scrollHeight;return{transition:`height ${a?.duration??Ye(t)}ms ${a?.easing??We}`,height:`${t}px`}}();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return Ke(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(r(),requestAnimationFrame((()=>{e.style.height=Ve.height,e.style.overflow=Ve.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{r()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function Xe(e){if(!Q.A.canUseDOM)return e?Ve:Qe}function Je(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:s}=e;const u=(0,r.useRef)(null);return Ze({collapsibleRef:u,collapsed:n,animation:o}),(0,c.jsx)(t,{ref:u,style:s?void 0:Xe(n),onTransitionEnd:e=>{"height"===e.propertyName&&(Ke(u.current,n),i?.(n))},className:l,children:a})}function et(e){let{collapsed:t,...n}=e;const[a,o]=(0,r.useState)(!t),[i,l]=(0,r.useState)(t);return(0,u.A)((()=>{t||o(!0)}),[t]),(0,u.A)((()=>{a&&l(t)}),[a,t]),a?(0,c.jsx)(Je,{...n,collapsed:i}):null}function tt(e){let{lazy:t,...n}=e;const r=t?et:Je;return(0,c.jsx)(r,{...n})}n(8328);const nt={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function rt(e,t){return e.some((e=>function(e,t){return!!function(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}(e.to,t)||!!ze(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function at(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[s]),(0,c.jsxs)("div",{ref:s,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u}),children:[(0,c.jsx)(Ue,{"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.A)("navbar__link",o),...l,onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))},children:l.children??l.label}),(0,c.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ot,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function ot(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const u=function(){const{siteConfig:{baseUrl:e}}=(0,je.A)(),{pathname:t}=(0,l.zy)();return t.replace(e,"/")}(),d=rt(t,u),{collapsed:f,toggleCollapsed:p,setCollapsed:m}=function(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&m(!d)}),[u,d,m]),(0,c.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":f}),children:[(0,c.jsx)(Ue,{role:"button",className:(0,a.A)(nt.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),p()},children:s.children??s.label}),(0,c.jsx)(tt,{lazy:!0,as:"ul",className:"menu__list",collapsed:f,children:t.map(((e,t)=>(0,r.createElement)(Ot,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function it(e){let{mobile:t=!1,...n}=e;const r=t?ot:at;return(0,c.jsx)(r,{...n})}var lt=n(2131);function st(e){let{width:t=20,height:n=20,...r}=e;return(0,c.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,c.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ut="iconLanguage_nlXk";const ct=()=>null,dt={navbarSearchContainer:"navbarSearchContainer_Bca1"};function ft(e){let{children:t,className:n}=e;return(0,c.jsx)("div",{className:(0,a.A)(n,dt.navbarSearchContainer),children:t})}const pt="default";function mt(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,je.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const gt=e=>e.versions.find((e=>e.isLast));function ht(e,t){const n=function(e,t){const n=gt(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,l.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),r=n?.docs.find((e=>!!(0,l.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:r,alternateDocVersions:r?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(r.id):{}}}const yt={},bt=()=>mt("docusaurus-plugin-content-docs")??yt,vt=e=>{try{return function(e,t,n){void 0===t&&(t=pt),void 0===n&&(n={});const r=mt(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function wt(e){const t=vt(e),{pathname:n}=(0,l.zy)();return ht(t,n)}const kt=e=>`docs-preferred-version-${e}`,xt={save:(e,t,n)=>{R(kt(e),{persistence:t}).set(n)},read:(e,t)=>R(kt(e),{persistence:t}).get(),clear:(e,t)=>{R(kt(e),{persistence:t}).del()}},St=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const Et=r.createContext(null);function Ct(){const e=bt(),t=(0,E.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,o]=(0,r.useState)((()=>St(n)));(0,r.useEffect)((()=>{o(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=xt.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(xt.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){xt.save(e,t,n),o((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function At(e){let{children:t}=e;const n=Ct();return(0,c.jsx)(Et.Provider,{value:n,children:t})}function Tt(){const e=(0,r.useContext)(Et);if(!e)throw new p("DocsPreferredVersionContextProvider");return e}function _t(e){void 0===e&&(e=pt);const t=vt(e),[n,a]=Tt(),{preferredVersionName:o}=n[e];return{preferredVersion:t.versions.find((e=>e.name===o))??null,savePreferredVersionName:(0,r.useCallback)((t=>{a.savePreferredVersion(e,t)}),[a,e])}}function jt(e){return Array.from(new Set(e))}const Nt=!!bt;function Lt(e){const{activeVersion:t}=wt(e),{preferredVersion:n}=_t(e),a=function(e){const t=vt(e);return gt(t)}(e);return(0,r.useMemo)((()=>jt([t,n,a].filter(Boolean))),[t,n,a])}const Rt=e=>e.docs.find((t=>t.id===e.mainDocId));const Pt={default:Ge,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:u,localeConfigs:d}}=(0,je.A)(),f=(0,lt.o)(),{search:p,hash:m}=(0,l.zy)(),g=[...n,...u.map((e=>{const n=`${`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`}${p}${m}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],h=t?(0,s.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,c.jsx)(it,{...o,mobile:t,label:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(st,{className:ut}),h]}),items:g})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,c.jsx)(ft,{className:n,children:(0,c.jsx)(ct,{})})},dropdown:it,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,c.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=wt(a),l=function(e,t){const n=Lt(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${jt(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}(t,a),s=i?.path===l?.path;return null===l||l.unlisted&&!s?null:(0,c.jsx)(Ge,{exact:!0,...o,isActive:()=>s||!!i?.sidebar&&i.sidebar===l.sidebar,label:n??l.id,to:l.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=wt(a),l=function(e,t){const n=Lt(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}(t,a).link;if(!l)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,c.jsx)(Ge,{exact:!0,...o,isActive:()=>i?.sidebar===t,label:n??l.label,to:l.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=Lt(r)[0],i=t??o.label,l=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,c.jsx)(Ge,{...a,label:i,to:l})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:u,hash:d}=(0,l.zy)(),f=wt(n),p=vt(n).versions,{savePreferredVersionName:m}=_t(n),g=[...a,...p.map((e=>{const t=f.alternateDocVersions[e.name]??Rt(e);return{label:e.label,to:`${t.path}${u}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>m(e.name)}})),...o],h=Lt(n)[0],y=t&&g.length>1?(0,s.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=t&&g.length>1?void 0:Rt(h).path;return g.length<=1?(0,c.jsx)(Ge,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,c.jsx)(it,{...i,mobile:t,label:y,to:b,items:g,isActive:r?()=>!1:void 0})}};function Ot(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Pt[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,c.jsx)(a,{...n})}function Dt(){const e=ne(),t=(0,E.p)().navbar.items;return(0,c.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ot,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function It(e){return(0,c.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,c.jsx)(s.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ft(){const e=0===(0,E.p)().navbar.items.length,t=ce();return(0,c.jsxs)(c.Fragment,{children:[!e&&(0,c.jsx)(It,{onClick:()=>t.hide()}),t.content]})}function Mt(){const e=ne();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,c.jsx)(de,{header:(0,c.jsx)(Fe,{}),primaryMenu:(0,c.jsx)(Dt,{}),secondaryMenu:(0,c.jsx)(Ft,{})}):null}const zt={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Bt(e){return(0,c.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function $t(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:r}}=(0,E.p)(),o=ne(),{navbarRef:i,isNavbarVisible:l}=ie(n);return(0,c.jsxs)("nav",{ref:i,"aria-label":(0,s.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[zt.navbarHideable,!l&&zt.navbarHidden],{"navbar--dark":"dark"===r,"navbar--primary":"primary"===r,"navbar-sidebar--show":o.shown}),children:[t,(0,c.jsx)(Bt,{onClick:o.toggle}),(0,c.jsx)(Mt,{})]})}var Ut=n(440);const qt={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Ht(e){return(0,c.jsx)("button",{type:"button",...e,children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function Gt(e){let{error:t}=e;const n=(0,Ut.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{className:qt.errorBoundaryError,children:n})}class Wt extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const Vt="right";function Qt(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,c.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,c.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Kt(){const{toggle:e,shown:t}=ne();return(0,c.jsx)("button",{onClick:e,"aria-label":(0,s.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,c.jsx)(Qt,{})})}const Yt={colorModeToggle:"colorModeToggle_DEke"};function Zt(e){let{items:t}=e;return(0,c.jsx)(c.Fragment,{children:t.map(((e,t)=>(0,c.jsx)(Wt,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,c.jsx)(Ot,{...e})},t)))})}function Xt(e){let{left:t,right:n}=e;return(0,c.jsxs)("div",{className:"navbar__inner",children:[(0,c.jsx)("div",{className:"navbar__items",children:t}),(0,c.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Jt(){const e=ne(),t=(0,E.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??Vt)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,c.jsx)(Xt,{left:(0,c.jsxs)(c.Fragment,{children:[!e.disabled&&(0,c.jsx)(Kt,{}),(0,c.jsx)(De,{}),(0,c.jsx)(Zt,{items:n})]}),right:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Zt,{items:r}),(0,c.jsx)(Ae,{className:Yt.colorModeToggle}),!a&&(0,c.jsx)(ft,{children:(0,c.jsx)(ct,{})})]})})}function en(){return(0,c.jsx)($t,{children:(0,c.jsx)(Jt,{})})}function tn(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,l=(0,_e.Ay)(n),s=(0,_e.Ay)(r,{forcePrependBaseUrl:!0});return(0,c.jsxs)(Te.A,{className:"footer__link-item",...r?{href:o?s:r}:{to:l},...i,children:[a,r&&!(0,Me.A)(r)&&(0,c.jsx)($e,{})]})}function nn(e){let{item:t}=e;return t.html?(0,c.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)("li",{className:"footer__item",children:(0,c.jsx)(tn,{item:t})},t.href??t.to)}function rn(e){let{column:t}=e;return(0,c.jsxs)("div",{className:"col footer__col",children:[(0,c.jsx)("div",{className:"footer__title",children:t.title}),(0,c.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,c.jsx)(nn,{item:e},t)))})]})}function an(e){let{columns:t}=e;return(0,c.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,c.jsx)(rn,{column:e},t)))})}function on(){return(0,c.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function ln(e){let{item:t}=e;return t.html?(0,c.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,c.jsx)(tn,{item:t})}function sn(e){let{links:t}=e;return(0,c.jsx)("div",{className:"footer__links text--center",children:(0,c.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,c.jsxs)(r.Fragment,{children:[(0,c.jsx)(ln,{item:e}),t.length!==n+1&&(0,c.jsx)(on,{})]},n)))})})}function un(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,c.jsx)(an,{columns:t}):(0,c.jsx)(sn,{links:t})}const cn={footerLogoLink:"footerLogoLink_BH7S"};function dn(e){let{logo:t}=e;const{withBaseUrl:n}=(0,_e.hH)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,c.jsx)(Re,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function fn(e){let{logo:t}=e;return t.href?(0,c.jsx)(Te.A,{href:t.href,className:cn.footerLogoLink,target:t.target,children:(0,c.jsx)(dn,{logo:t})}):(0,c.jsx)(dn,{logo:t})}function pn(e){let{copyright:t}=e;return(0,c.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function mn(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,c.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,c.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,c.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,c.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function gn(){const{footer:e}=(0,E.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,c.jsx)(mn,{style:a,links:n&&n.length>0&&(0,c.jsx)(un,{links:n}),logo:r&&(0,c.jsx)(fn,{logo:r}),copyright:t&&(0,c.jsx)(pn,{copyright:t})})}const hn=r.memo(gn),yn=(bn=[function(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,E.p)(),[a,o]=(0,r.useState)(ye(e));(0,r.useEffect)((()=>{t&&me.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&be(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?ge.dark:ge.light:e),me.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",he(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==pe)return;const t=me.get();null!==t&&i(he(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===ge.dark},setLightTheme(){i(ge.light)},setDarkTheme(){i(ge.dark)}})),[a,i])}();return(0,c.jsx)(fe.Provider,{value:n,children:t})},function(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,E.p)(),t=(0,C.A)(),[n,a]=(0,r.useState)((()=>!!t&&D()));(0,r.useEffect)((()=>{a(D())}),[]);const o=(0,r.useCallback)((()=>{I(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=O.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;O.set(t),r&&I(!1),!r&&D()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:o})),[e,n,o])}();return(0,c.jsx)(F.Provider,{value:n,children:t})},function(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,c.jsx)(re.Provider,{value:n,children:t})},function(e){let{children:t}=e;return Nt?(0,c.jsx)(At,{children:t}):(0,c.jsx)(c.Fragment,{children:t})},i.Jx,function(e){let{children:t}=e;return(0,c.jsx)(W,{children:(0,c.jsx)(te,{children:(0,c.jsx)(se,{children:t})})})}],e=>{let{children:t}=e;return(0,c.jsx)(c.Fragment,{children:bn.reduceRight(((e,t)=>(0,c.jsx)(t,{children:e})),t)})});var bn;function vn(e){let{children:t}=e;return(0,c.jsx)(yn,{children:t})}var wn=n(1107);function kn(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)("main",{className:"container margin-vert--xl",children:(0,c.jsx)("div",{className:"row",children:(0,c.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,c.jsx)(wn.A,{as:"h1",className:"hero__title",children:(0,c.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,c.jsx)("div",{className:"margin-vert--lg",children:(0,c.jsx)(Ht,{onClick:n,className:"button button--primary shadow--lw"})}),(0,c.jsx)("hr",{}),(0,c.jsx)("div",{className:"margin-vert--md",children:(0,c.jsx)(Gt,{error:t})})]})})})}const xn={mainWrapper:"mainWrapper_z2l0"};function Sn(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,k.J)(),(0,c.jsxs)(vn,{children:[(0,c.jsx)(i.be,{title:l,description:s}),(0,c.jsx)(S,{}),(0,c.jsx)(H,{}),(0,c.jsx)(en,{}),(0,c.jsx)("div",{id:g,className:(0,a.A)(w.wrapper.main,xn.mainWrapper,r),children:(0,c.jsx)(o.A,{fallback:e=>(0,c.jsx)(kn,{...e}),children:t})}),!n&&(0,c.jsx)(hn,{})]})}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},1003:(e,t,n)=>{"use strict";n.d(t,{be:()=>d,Jx:()=>m});var r=n(6540),a=n(4164),o=n(5260),i=n(3102);function l(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(6025),u=n(4586);var c=n(4848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const l=function(e){const{siteConfig:t}=(0,u.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.hH)(),f=a?d(a,{absolute:!0}):void 0;return(0,c.jsxs)(o.A,{children:[t&&(0,c.jsx)("title",{children:l}),t&&(0,c.jsx)("meta",{property:"og:title",content:l}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,c.jsx)("meta",{property:"og:image",content:f}),f&&(0,c.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),l=(0,a.A)(i,t);return(0,c.jsxs)(f.Provider,{value:l,children:[(0,c.jsx)(o.A,{children:(0,c.jsx)("html",{className:l})}),n]})}function m(e){let{children:t}=e;const n=l(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(p,{className:(0,a.A)(r,o),children:t})}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),a=n(6347),o=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:l}}=(0,r.A)(),{pathname:s}=(0,a.zy)(),u=(0,o.applyTrailingSlash)(s,{trailingSlash:n,baseUrl:e}),c=l===i?e:e.replace(`/${l}/`,"/"),d=u.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${c}`:`${c}${e}/`}(n)}${d}`}}}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.A)().siteConfig.themeConfig}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(2566);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=a,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),l="/"===i||i===r?i:(s=i,n?a(s):o(s));var s;return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return a.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return a.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return a.removeTrailingSlash}});var o=n(2566);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return o.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return o.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return o.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return o.removePrefix}});var i=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>A,yJ:()=>p,sC:()=>_,AO:()=>f});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,g(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),g=s(n),h=0;h{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},119:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},5302:(e,t,n)=>{var r=n(4634);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var m=e[i],g=n[2],h=n[3],y=n[4],b=n[5],v=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=g&&null!=m&&m!==g,x="+"===v||"*"===v,S="?"===v||"*"===v,E=n[2]||c,C=y||b;r.push({name:h||o++,prefix:g||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(E)+"]+?"})}}return i{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{const r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)}))}i.silent=!1,e.exports=i},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var g=f.substring(0,m),h=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(m+p.length),b=[];g&&b.push.apply(b,i([g])),b.push(h),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(Prism)},8692:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8692},3157:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(s),m=c;a(m);){for(var g in f={},m){var h=s[g];t(h&&h.modify,(function(e){e in d&&(f[e]=!0)}))}for(var y in d)if(!(y in c))for(var b in p(y))if(b in c){f[y]=!0;break}for(var v in m=f)c[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var f in s)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n