app.alicent.ai Open in urlscan Pro
2606:4700:3036::ac43:9cd9  Public Scan

Submitted URL: http://app.alicent.ai/_next/static/chunks/pages/_app-ba3a348dfbc2b3ed.js
Effective URL: https://app.alicent.ai/_next/static/chunks/pages/_app-ba3a348dfbc2b3ed.js
Submission: On October 27 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{2779:function(e,t){var n;/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var l=o.apply(null,n);l&&e.push(l)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},6570:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(1694)}])},8176:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2322),o=n(2025),i=n(9097),l=n.n(i),a=n(7062),s=n(380),u=n(9046);function c(){return(0,r.jsxs)("header",{className:"px-8 py-4 flex justify-between items-center",children:[(0,r.jsx)(l(),{href:"/welcome",className:"flex items-center space-x-3 w-36",children:(0,r.jsx)(s.ZP,{})}),(0,r.jsx)(u.Z,{api:o.ZP,baseUrl:o.FH,children:(0,r.jsx)(a.Z,{children:(0,r.jsx)(a.j,{})})})]})}},1694:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return S}});var r=n(2322),o=n(4049),i=n.n(o),l=n(8176);function a(e){return(0,r.jsxs)("div",{className:"h-full flex flex-col",children:[(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(l.Z,{})}),(0,r.jsx)("main",{className:"flex-grow sm:pt-12 flex justify-center",children:e.children})]})}var s=n(7729),u=n.n(s),c=n(5847),d=n.n(c),f=n(2784),p=n(5632);let v="rsi2hjpn",C=()=>{!function(){var e=window,t=e.Intercom;if("function"==typeof t)t("reattach_activator"),t("update",e.intercomSettings);else{var n=document,r=function(){r.c(arguments)};r.q=[],r.c=function(e){r.q.push(e)},e.Intercom=r;var o=function(){var e=n.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://widget.intercom.io/widget/"+v;var t=n.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)};"complete"===document.readyState?o():e.attachEvent?e.attachEvent("onload",o):e.addEventListener("load",o,!1)}}()},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null==window||window.Intercom("boot",{app_id:v,...e})},h=()=>{null==window||window.Intercom("update")};function b(e){let t=(0,p.useRouter)();C(),e.user?m({email:e.user.email,user_id:e.user.id,name:"".concat(e.user.first_name||""," ").concat(e.user.last_name||"")}):m();let{events:n}=t;return(0,f.useEffect)(()=>{let e=()=>{h()};return n.on("routeChangeStart",e),()=>{n.off("routeChangeStart",e)}},[n]),null}var g=n(7195);n(1494),n(2562),n(1783);let x="G-WBSJ8RK3WX",y=e=>{if(!x)throw Error("Must provide Tracking ID");window.gtag("config",x,{page_path:e})};var j=n(6277);let w="The ChatGPT Chrome extension to create compelling copy, fast.",R="https://framerusercontent.com/modules/tJRWOqDFuuGER5NJ66g3/lWUaiaQ0vpIC2O5m6r9O/assets/bvHhxCmXO2dP2NO0t7utMGpBKM.png",O="4656596",E=()=>O?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d(),{id:"linkedin-partner",children:'\n            _linkedin_partner_id = "'.concat(O,'";\n            window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];\n            window._linkedin_data_partner_ids.push(_linkedin_partner_id);\n          ')}),(0,r.jsx)(d(),{id:"linkedin-script",children:'\n            (function(l) {\n              if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};\n              window.lintrk.q=[]}\n              var s = document.getElementsByTagName("script")[0];\n              var b = document.createElement("script");\n              b.type = "text/javascript";b.async = true;\n              b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";\n              s.parentNode.insertBefore(b, s);}\n            )(window.lintrk);\n          '}),(0,r.jsx)("noscript",{children:(0,r.jsx)("img",{height:"1",width:"1",style:{display:"none"},alt:"",src:"https://px.ads.linkedin.com/collect/?pid=".concat(O,"&fmt=gif")})})]}):null;function S(e){var t,n,o;let{Component:l,pageProps:s}=e,c=null!==(n=l.getLayout)&&void 0!==n?n:e=>(0,r.jsx)(a,{children:e});(0,f.useEffect)(()=>(document.body.classList.add(i().className),()=>{document.body.classList.remove(i().className)}),[]);let{events:v}=(0,p.useRouter)();return(0,f.useEffect)(()=>(v.on("routeChangeComplete",y),()=>{v.off("routeChangeComplete",y)}),[v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u(),{children:[(0,r.jsx)("title",{children:"Alicent | ChatGPT Chrome Extension"}),(0,r.jsx)("meta",{name:"description",content:w}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:title",content:"Alicent | ChatGPT Chrome Extension"}),(0,r.jsx)("meta",{property:"og:description",content:w}),(0,r.jsx)("meta",{property:"og:image",content:R}),(0,r.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{property:"twitter:title",content:"Alicent | ChatGPT Chrome Extension"}),(0,r.jsx)("meta",{property:"twitter:description",content:w}),(0,r.jsx)("meta",{property:"twitter:image",content:R})]}),(0,r.jsxs)(g.Z,{user:s.user||null,children:[(0,r.jsx)(b,{user:s.user||null}),(0,r.jsx)(j.Z,{settings:null!==(o=null===(t=s.user)||void 0===t?void 0:t.settings)&&void 0!==o?o:null,globalSettingsOptions:s.globalSettingsOptions,children:c((0,r.jsx)(l,{...s}))})]}),(0,r.jsx)(E,{}),(0,r.jsx)(d(),{strategy:"afterInteractive",src:"https://www.googletagmanager.com/gtag/js?id=".concat(x)}),(0,r.jsx)(d(),{id:"gtag",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n              window.dataLayer = window.dataLayer || [];\n              function gtag() {\n                dataLayer.push(arguments);\n              }\n              gtag('js', new Date());\n              gtag('config', '".concat(x,"', {\n                page_path: window.location.pathname,\n              });\n              gtag('config', '").concat("GTM-5JG7J9K","');\n            ")}}),!1]})}},2025:function(e,t,n){"use strict";n.d(t,{FH:function(){return l},ZP:function(){return s}});var r=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function l(e){try{s(r.next(e))}catch(e){i(e)}}function a(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(l,a)}s((r=r.apply(e,t||[])).next())})};let o=e=>r(void 0,void 0,void 0,function*(){if(!1===e.ok){let t=Error("An error occurred while creating the resource."),n=yield e.json();throw t.status=e.status,t.message=n.message,t}return e.json()}),i=new Headers({"Content-Type":"application/json"}),l="https://my.alicent.ai",a="https://prompt.alicent.ai";var s={fetchPresets:()=>(function(e,t){return r(this,void 0,void 0,function*(){if("assistant"===t)return o((yield fetch(`${e}/api/filters/${t}s`,{method:"get",headers:i})));throw Error("Unsupported type")})})(l,"assistant"),createPreset:(e,t)=>(function(e,t,n){return r(this,void 0,void 0,function*(){return{type:t,item:yield o((yield fetch(`${e}/api/filters/${t}s`,{method:"post",headers:i,body:JSON.stringify(n)})))}})})(l,e,t),editPreset:(e,t)=>(function(e,t,n){return r(this,void 0,void 0,function*(){return yield o((yield fetch(`${e}/api/filters/${t}s/${n.id}`,{method:"put",headers:i,body:JSON.stringify(n)}))),{type:t,item:n}})})(l,e,t),duplicatePreset:(e,t)=>(function(e,t,n){return r(this,void 0,void 0,function*(){return{type:t,item:yield o((yield fetch(`${e}/api/filters/${t}s/${n.id}/duplicate`,{method:"post"})))}})})(l,e,t),deletePreset:(e,t)=>(function(e,t,n){return r(this,void 0,void 0,function*(){return{type:t,item:yield o((yield fetch(`${e}/api/filters/${t}s/${n.id}`,{method:"delete"})))}})})(l,e,t),fetchCustomTones:()=>(function(e){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/filters/tones/custom`,{method:"get",headers:i})))})})(l),createCustomTone:e=>(function(e,t){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/filters/tones/custom`,{method:"post",headers:i,body:JSON.stringify(t)})))})})(l,e),fetchRecommendedTones:()=>(function(e){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/filters/tones/recommended`,{method:"get",headers:i})))})})(l),createSummary:e=>(function(e,t){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/prompt/summarize`,{method:"post",headers:i,body:JSON.stringify(t)})))})})(l,e),streamSummary:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(e,t,n,o,l){let a=new AbortController;return fetch(`${e}/api/prompt/summarize`,{method:"post",headers:i,credentials:"include",body:JSON.stringify(t),signal:a.signal}).then(e=>{if(e.ok){let t=e.body;if(t){let e=t.getReader(),i=new TextDecoder;r(this,void 0,void 0,function*(){for(;;)try{let t=yield e.read();if(n(i.decode(t.value)),t.done)break}catch(e){e instanceof Error&&"The user aborted a request."!==e.message&&console.log(`Error code 'flaw':
${e.message}`),l("An error has occured, please try again.");break}o()})}}else 502===e.status?l("The servers are under heavy load, please try again."):e.json().then(e=>{l(e.message)})}).catch(e=>{e instanceof Error&&console.log(`Error code 'stumble':
${e.message}`),l("An error has occured, please try again.")}),()=>a.abort()}("beta"===e?a:l,...n)},streamCompletion:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(e,t,n,o,l){let a=new AbortController;return fetch(`${e}/api/prompt`,{method:"post",headers:i,body:JSON.stringify(t),credentials:"include",signal:a.signal}).then(e=>{if(e.ok){let t=e.body;if(t){let e=t.getReader(),i=new TextDecoder;r(this,void 0,void 0,function*(){for(;;)try{let t=yield e.read();if(n(i.decode(t.value)),t.done)break}catch(e){e instanceof Error&&"The user aborted a request."!==e.message&&console.log(`Error code 'flaw':
${e.message}`),l("An error has occured, please try again.");break}o()})}}else 502===e.status?l("The servers are under heavy load, please try again."):e.json().then(e=>{l(e.message)})}).catch(e=>{e instanceof Error&&console.log(`Error code 'stumble':
${e.message}`),l("An error has occured, please try again.")}),()=>a.abort()}("beta"===e?a:l,...n)},rateCompletion:(e,t)=>(function(e,t,n){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/completions/${t}/rate`,{method:"post",headers:i,body:JSON.stringify(n)})))})})(l,e,t),fetchRecipes:e=>(function(e,t){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/recipes${t?`?sort=${t}`:""}`)))})})(l,e),fetchRecipeCategories:()=>(function(e){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/recipes/categories`)))})})(l),searchRecipes:e=>(function(e,t){return r(this,void 0,void 0,function*(){let n=new URLSearchParams;return n.append("term",t),o((yield fetch(`${e}/api/recipes/search?${n.toString()}`)))})})(l,e),fetchFavoriteRecipes:()=>(function(e){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/recipes/favorites`)))})})(l),toggleFavoriteRecipe:e=>(function(e,t){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/recipes/${t}/favorite`)))})})(l,e),updateUserSettings:e=>(function(e,t){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/user/settings`,{method:"put",headers:i,body:JSON.stringify(t)})))})})(l,e),fetchChangelog:e=>(function(e,t=[]){return r(this,void 0,void 0,function*(){let n=new URLSearchParams;for(let e of t)n.append("entries",e);return o((yield fetch(`${e}/api/changelog?${n.toString()}`)))})})(l,e),fetchTokenUsage:()=>(function(e){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/user/usage`)))})})(l),fetchRecommendedPrompts:(e,t)=>(function(e,t,n){return r(this,void 0,void 0,function*(){let r=new URLSearchParams({seed:String(t),cursor:String(n)}),i=new URL(`${e}/api/prompt/recommended?${r.toString()}`);return o((yield fetch(i)))})})(l,e,t),createTrackingEvent:()=>(function(e){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/metrics`)))})})(l),fetchCompletionHistory:()=>(function(e){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/completions/history`)))})})(l),fetchCompletion:e=>(function(e,t){return r(this,void 0,void 0,function*(){return o((yield fetch(`${e}/api/completions/${t}/thread`)))})})(l,e)}},6074:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return i},ACTION_RESTORE:function(){return l},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return s},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c}});let o="refresh",i="navigate",l="restore",a="server-patch",s="prefetch",u="fast-refresh",c="server-action";(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8904:function(e,t,n){"use strict";function r(e,t,r,o){{let i=n(1860).normalizeLocalePath,l=n(3570).detectDomainLocale,a=t||i(e,r).detectedLocale,s=l(o,void 0,a);if(s){let t="http"+(s.http?"":"s")+"://",n=a===s.defaultLocale?"":"/"+a;return""+t+s.domain+n+e}return!1}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6850:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let r=n(7653),o=r._(n(2784)),i=n(6436),l=n(8944),a=n(2612),s=n(8119),u=n(2265),c=n(3981),d=n(9950),f=n(2544),p=n(8904),v=n(3890),C=n(6074),m=new Set;function h(e,t,n,r,o,i){if(!i&&!(0,l.isLocalURL)(t))return;if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(m.has(i))return;m.add(i)}let a=i?e.prefetch(t,o):e.prefetch(t,n,r);Promise.resolve(a).catch(e=>{})}function b(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}let g=o.default.forwardRef(function(e,t){let n,r;let{href:a,as:m,children:g,prefetch:x=null,passHref:y,replace:j,shallow:w,scroll:R,locale:O,onClick:E,onMouseEnter:S,onTouchStart:P,legacyBehavior:M=!1,...T}=e;n=g,M&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let I=!1!==x,L=null===x?C.PrefetchKind.AUTO:C.PrefetchKind.FULL,F=o.default.useContext(c.RouterContext),k=o.default.useContext(d.AppRouterContext),A=null!=F?F:k,N=!F,{href:_,as:z}=o.default.useMemo(()=>{if(!F){let e=b(a);return{href:e,as:m?b(m):e}}let[e,t]=(0,i.resolveHref)(F,a,!0);return{href:e,as:m?(0,i.resolveHref)(F,m):t||e}},[F,a,m]),D=o.default.useRef(_),Z=o.default.useRef(z);M&&(r=o.default.Children.only(n));let H=M?r&&"object"==typeof r&&r.ref:t,[$,V,B]=(0,f.useIntersection)({rootMargin:"200px"}),U=o.default.useCallback(e=>{(Z.current!==z||D.current!==_)&&(B(),Z.current=z,D.current=_),$(e),H&&("function"==typeof H?H(e):"object"==typeof H&&(H.current=e))},[z,H,_,B,$]);o.default.useEffect(()=>{A&&V&&I&&h(A,_,z,{locale:O},{kind:L},N)},[z,_,V,O,I,null==F?void 0:F.locale,A,N,L]);let G={ref:U,onClick(e){M||"function"!=typeof E||E(e),M&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,n,r,i,a,s,u,c,d){let{nodeName:f}=e.currentTarget,p="A"===f.toUpperCase();if(p&&(function(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,l.isLocalURL)(n)))return;e.preventDefault();let v=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:u,scroll:s}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!d})};c?o.default.startTransition(v):v()}(e,A,_,z,j,w,R,O,N,I)},onMouseEnter(e){M||"function"!=typeof S||S(e),M&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),A&&(I||!N)&&h(A,_,z,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:L},N)},onTouchStart(e){M||"function"!=typeof P||P(e),M&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),A&&(I||!N)&&h(A,_,z,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:L},N)}};if((0,s.isAbsoluteUrl)(z))G.href=z;else if(!M||y||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==F?void 0:F.locale,t=(null==F?void 0:F.isLocaleDomain)&&(0,p.getDomainLocale)(z,e,null==F?void 0:F.locales,null==F?void 0:F.domainLocales);G.href=t||(0,v.addBasePath)((0,u.addLocale)(z,e,null==F?void 0:F.defaultLocale))}return M?o.default.cloneElement(r,G):o.default.createElement("a",{...T,...G},n)}),x=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1860:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(245).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2544:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(2784),o=n(9282),i="function"==typeof IntersectionObserver,l=new Map,a=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,u=s||!i,[c,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{f.current=e},[]);(0,r.useEffect)(()=>{if(i){if(u||c)return;let e=f.current;if(e&&e.tagName){let r=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=l.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},a.push(n),l.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),l.delete(r);let e=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!c){let e=(0,o.requestIdleCallback)(()=>d(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,n,t,c,f.current]);let v=(0,r.useCallback)(()=>{d(!1)},[]);return[p,c,v]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2562:function(){},1494:function(){},1783:function(){},4049:function(e){e.exports={style:{fontFamily:"'__Inter_d9825c', '__Inter_Fallback_d9825c'",fontStyle:"normal"},className:"__className_d9825c"}},7729:function(e,t,n){e.exports=n(501)},9097:function(e,t,n){e.exports=n(6850)},5632:function(e,t,n){e.exports=n(6244)},5847:function(e,t,n){e.exports=n(2568)},10:function(e,t,n){"use strict";n.d(t,{h:function(){return U}});var r,o,i,l,a=n(2784),s=n(8064),u=n(1742);function c(e,t){let[n,r]=(0,a.useState)(e),o=(0,u.E)(e);return(0,s.e)(()=>r(o.current),[o,r,...t]),n}var d=n(3311),f=n(5559),p=n(586),v=n(2994),C=n(7352),m=n(3401),h=n(8685),b=n(3199),g=n(1869),x=n(544),y=n(5426),j=n(3703);function w(e,t){return e?e+"["+t+"]":t}var R=n(9573),O=n(6799),E=n(7215),S=n(9108);function P(e,t){let n=(0,a.useRef)([]),r=(0,f.z)(e);(0,a.useEffect)(()=>{let e=[...n.current];for(let[o,i]of t.entries())if(n.current[o]!==i){let o=r(t,e);return n.current=t,o}},[r,...t])}var M=n(2121),T=((r=T||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),I=((o=I||{})[o.Single=0]="Single",o[o.Multi=1]="Multi",o),L=((i=L||{})[i.Pointer=0]="Pointer",i[i.Other=1]="Other",i),F=((l=F||{})[l.OpenCombobox=0]="OpenCombobox",l[l.CloseCombobox=1]="CloseCombobox",l[l.GoToOption=2]="GoToOption",l[l.RegisterOption=3]="RegisterOption",l[l.UnregisterOption=4]="UnregisterOption",l[l.RegisterLabel=5]="RegisterLabel",l);function k(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,R.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return -1===o&&(o=null),{options:r,activeOptionIndex:o}}let A={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;let n=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:t}=e.dataRef.current,r=e.options.findIndex(e=>t(e.dataRef.current.value));-1!==r&&(n=r)}return{...e,comboboxState:0,activeOptionIndex:n}},2(e,t){var n,r,o,i;if(null!=(n=e.dataRef.current)&&n.disabled||null!=(r=e.dataRef.current)&&r.optionsRef.current&&!(null!=(o=e.dataRef.current)&&o.optionsPropsRef.current.static)&&1===e.comboboxState)return e;let l=k(e);if(null===l.activeOptionIndex){let e=l.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(l.activeOptionIndex=e)}let a=(0,b.d)(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...l,activeOptionIndex:a,activationTrigger:null!=(i=t.trigger)?i:1}},3:(e,t)=>{var n,r;let o={id:t.id,dataRef:t.dataRef},i=k(e,e=>[...e,o]);null===e.activeOptionIndex&&null!=(n=e.dataRef.current)&&n.isSelected(t.dataRef.current.value)&&(i.activeOptionIndex=i.options.indexOf(o));let l={...e,...i,activationTrigger:1};return null!=(r=e.dataRef.current)&&r.__demoMode&&void 0===e.dataRef.current.value&&(l.activeOptionIndex=0),l},4:(e,t)=>{let n=k(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},N=(0,a.createContext)(null);function _(e){let t=(0,a.useContext)(N);if(null===t){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_),t}return t}N.displayName="ComboboxActionsContext";let z=(0,a.createContext)(null);function D(e){let t=(0,a.useContext)(z);if(null===t){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,D),t}return t}function Z(e,t){return(0,j.E)(t.type,A,e,t)}z.displayName="ComboboxDataContext";let H=a.Fragment,$=x.AN.RenderStrategy|x.AN.Static,V=(0,x.yV)(function(e,t){let{value:n,defaultValue:r,onChange:o,form:i,name:l,by:u=(e,t)=>e===t,disabled:c=!1,__demoMode:p=!1,nullable:C=!1,multiple:m=!1,...h}=e,[g=m?[]:void 0,y]=function(e,t,n){let[r,o]=(0,a.useState)(n),i=void 0!==e,l=(0,a.useRef)(i),s=(0,a.useRef)(!1),u=(0,a.useRef)(!1);return!i||l.current||s.current?i||!l.current||u.current||(u.current=!0,l.current=i,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,l.current=i,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[i?e:r,(0,f.z)(e=>(i||o(e),null==t?void 0:t(e)))]}(n,o,r),[R,S]=(0,a.useReducer)(Z,{dataRef:(0,a.createRef)(),comboboxState:p?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),P=(0,a.useRef)(!1),M=(0,a.useRef)({static:!1,hold:!1}),T=(0,a.useRef)(null),I=(0,a.useRef)(null),L=(0,a.useRef)(null),F=(0,a.useRef)(null),k=(0,f.z)("string"==typeof u?(e,t)=>(null==e?void 0:e[u])===(null==t?void 0:t[u]):u),A=(0,a.useCallback)(e=>(0,j.E)(_.mode,{1:()=>g.some(t=>k(t,e)),0:()=>k(g,e)}),[g]),_=(0,a.useMemo)(()=>({...R,optionsPropsRef:M,labelRef:T,inputRef:I,buttonRef:L,optionsRef:F,value:g,defaultValue:r,disabled:c,mode:m?1:0,get activeOptionIndex(){if(P.current&&null===R.activeOptionIndex&&R.options.length>0){let e=R.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return R.activeOptionIndex},compare:k,isSelected:A,nullable:C,__demoMode:p}),[g,r,c,m,C,p,R]),D=(0,a.useRef)(null!==_.activeOptionIndex?_.options[_.activeOptionIndex]:null);(0,a.useEffect)(()=>{let e=null!==_.activeOptionIndex?_.options[_.activeOptionIndex]:null;D.current!==e&&(D.current=e)}),(0,s.e)(()=>{R.dataRef.current=_},[_]),(0,v.O)([_.buttonRef,_.inputRef,_.optionsRef],()=>q.closeCombobox(),0===_.comboboxState);let $=(0,a.useMemo)(()=>({open:0===_.comboboxState,disabled:c,activeIndex:_.activeOptionIndex,activeOption:null===_.activeOptionIndex?null:_.options[_.activeOptionIndex].dataRef.current.value,value:g}),[_,c,g]),V=(0,f.z)(e=>{let t=_.options.find(t=>t.id===e);t&&Y(t.dataRef.current.value)}),B=(0,f.z)(()=>{if(null!==_.activeOptionIndex){let{dataRef:e,id:t}=_.options[_.activeOptionIndex];Y(e.current.value),q.goToOption(b.T.Specific,t)}}),U=(0,f.z)(()=>{S({type:0}),P.current=!0}),G=(0,f.z)(()=>{S({type:1}),P.current=!1}),J=(0,f.z)((e,t,n)=>(P.current=!1,e===b.T.Specific?S({type:2,focus:b.T.Specific,id:t,trigger:n}):S({type:2,focus:e,trigger:n}))),K=(0,f.z)((e,t)=>(S({type:3,id:e,dataRef:t}),()=>{var t;(null==(t=D.current)?void 0:t.id)===e&&(P.current=!0),S({type:4,id:e})})),W=(0,f.z)(e=>(S({type:5,id:e}),()=>S({type:5,id:null}))),Y=(0,f.z)(e=>(0,j.E)(_.mode,{0:()=>null==y?void 0:y(e),1(){let t=_.value.slice(),n=t.findIndex(t=>k(t,e));return -1===n?t.push(e):t.splice(n,1),null==y?void 0:y(t)}})),q=(0,a.useMemo)(()=>({onChange:Y,registerOption:K,registerLabel:W,goToOption:J,closeCombobox:G,openCombobox:U,selectActiveOption:B,selectOption:V}),[]),Q=(0,a.useRef)(null),X=(0,d.G)();return(0,a.useEffect)(()=>{Q.current&&void 0!==r&&X.addEventListener(Q.current,"reset",()=>{Y(r)})},[Q,Y]),a.createElement(N.Provider,{value:q},a.createElement(z.Provider,{value:_},a.createElement(E.up,{value:(0,j.E)(_.comboboxState,{0:E.ZM.Open,1:E.ZM.Closed})},null!=l&&null!=g&&(function e(t={},n=null,r=[]){for(let[o,i]of Object.entries(t))!function t(n,r,o){if(Array.isArray(o))for(let[e,i]of o.entries())t(n,w(r,e.toString()),i);else o instanceof Date?n.push([r,o.toISOString()]):"boolean"==typeof o?n.push([r,o?"1":"0"]):"string"==typeof o?n.push([r,o]):"number"==typeof o?n.push([r,`${o}`]):null==o?n.push([r,""]):e(o,r,n)}(r,w(n,o),i);return r})({[l]:g}).map(([e,t],n)=>a.createElement(O._,{features:O.A.Hidden,ref:0===n?e=>{var t;Q.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,x.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:e,value:t})})),(0,x.sY)({ourProps:null===t?{}:{ref:t},theirProps:h,slot:$,defaultTag:H,name:"Combobox"}))))}),B=(0,x.yV)(function(e,t){var n;let r=D("Combobox.Button"),o=_("Combobox.Button"),i=(0,m.T)(r.buttonRef,t),l=(0,p.M)(),{id:s=`headlessui-combobox-button-${l}`,...u}=e,v=(0,d.G)(),h=(0,f.z)(e=>{switch(e.key){case S.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&o.openCombobox(),v.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case S.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&(o.openCombobox(),v.nextFrame(()=>{r.value||o.goToOption(b.T.Last)})),v.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case S.R.Escape:return 0!==r.comboboxState?void 0:(e.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&e.stopPropagation(),o.closeCombobox(),v.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));default:return}}),g=(0,f.z)(e=>{if((0,y.P)(e.currentTarget))return e.preventDefault();0===r.comboboxState?o.closeCombobox():(e.preventDefault(),o.openCombobox()),v.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),j=c(()=>{if(r.labelId)return[r.labelId,s].join(" ")},[r.labelId,s]),w=(0,a.useMemo)(()=>({open:0===r.comboboxState,disabled:r.disabled,value:r.value}),[r]),R={ref:i,id:s,type:(0,C.f)(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=r.optionsRef.current)?void 0:n.id,"aria-expanded":r.disabled?void 0:0===r.comboboxState,"aria-labelledby":j,disabled:r.disabled,onClick:g,onKeyDown:h};return(0,x.sY)({ourProps:R,theirProps:u,slot:w,defaultTag:"button",name:"Combobox.Button"})}),U=Object.assign(V,{Input:(0,x.yV)(function(e,t){var n,r,o,i,l;let s=(0,p.M)(),{id:u=`headlessui-combobox-input-${s}`,onChange:v,displayValue:C,type:h="text",...g}=e,y=D("Combobox.Input"),w=_("Combobox.Input"),R=(0,m.T)(y.inputRef,t),O=(0,a.useRef)(!1),E=(0,d.G)();P(([e,t],[n,r])=>{O.current||y.inputRef.current&&(0===r&&1===t||e!==n)&&(y.inputRef.current.value=e)},["function"==typeof C&&void 0!==y.value?null!=(l=C(y.value))?l:"":"string"==typeof y.value?y.value:"",y.comboboxState]),P(([e],[t])=>{if(0===e&&1===t){let e=y.inputRef.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:r,selectionDirection:o}=e;e.value="",e.value=t,null!==o?e.setSelectionRange(n,r,o):e.setSelectionRange(n,r)}},[y.comboboxState]);let M=(0,a.useRef)(!1),T=(0,f.z)(()=>{M.current=!0}),I=(0,f.z)(()=>{setTimeout(()=>{M.current=!1})}),L=(0,f.z)(e=>{switch(O.current=!0,e.key){case S.R.Backspace:case S.R.Delete:if(0!==y.mode||!y.nullable)return;let t=e.currentTarget;E.requestAnimationFrame(()=>{""===t.value&&(w.onChange(null),y.optionsRef.current&&(y.optionsRef.current.scrollTop=0),w.goToOption(b.T.Nothing))});break;case S.R.Enter:if(O.current=!1,0!==y.comboboxState||M.current)return;if(e.preventDefault(),e.stopPropagation(),null===y.activeOptionIndex){w.closeCombobox();return}w.selectActiveOption(),0===y.mode&&w.closeCombobox();break;case S.R.ArrowDown:return O.current=!1,e.preventDefault(),e.stopPropagation(),(0,j.E)(y.comboboxState,{0:()=>{w.goToOption(b.T.Next)},1:()=>{w.openCombobox()}});case S.R.ArrowUp:return O.current=!1,e.preventDefault(),e.stopPropagation(),(0,j.E)(y.comboboxState,{0:()=>{w.goToOption(b.T.Previous)},1:()=>{w.openCombobox(),E.nextFrame(()=>{y.value||w.goToOption(b.T.Last)})}});case S.R.Home:if(e.shiftKey)break;return O.current=!1,e.preventDefault(),e.stopPropagation(),w.goToOption(b.T.First);case S.R.PageUp:return O.current=!1,e.preventDefault(),e.stopPropagation(),w.goToOption(b.T.First);case S.R.End:if(e.shiftKey)break;return O.current=!1,e.preventDefault(),e.stopPropagation(),w.goToOption(b.T.Last);case S.R.PageDown:return O.current=!1,e.preventDefault(),e.stopPropagation(),w.goToOption(b.T.Last);case S.R.Escape:return O.current=!1,0!==y.comboboxState?void 0:(e.preventDefault(),y.optionsRef.current&&!y.optionsPropsRef.current.static&&e.stopPropagation(),w.closeCombobox());case S.R.Tab:if(O.current=!1,0!==y.comboboxState)return;0===y.mode&&w.selectActiveOption(),w.closeCombobox()}}),F=(0,f.z)(e=>{w.openCombobox(),null==v||v(e)}),k=(0,f.z)(()=>{O.current=!1}),A=c(()=>{if(y.labelId)return[y.labelId].join(" ")},[y.labelId]),N=(0,a.useMemo)(()=>({open:0===y.comboboxState,disabled:y.disabled}),[y]),z={ref:R,id:u,role:"combobox",type:h,"aria-controls":null==(n=y.optionsRef.current)?void 0:n.id,"aria-expanded":y.disabled?void 0:0===y.comboboxState,"aria-activedescendant":null===y.activeOptionIndex||null==(r=y.options[y.activeOptionIndex])?void 0:r.id,"aria-labelledby":A,"aria-autocomplete":"list",defaultValue:null!=(i=null!=(o=e.defaultValue)?o:void 0!==y.defaultValue?null==C?void 0:C(y.defaultValue):null)?i:y.defaultValue,disabled:y.disabled,onCompositionStart:T,onCompositionEnd:I,onKeyDown:L,onChange:F,onBlur:k};return(0,x.sY)({ourProps:z,theirProps:g,slot:N,defaultTag:"input",name:"Combobox.Input"})}),Button:B,Label:(0,x.yV)(function(e,t){let n=(0,p.M)(),{id:r=`headlessui-combobox-label-${n}`,...o}=e,i=D("Combobox.Label"),l=_("Combobox.Label"),u=(0,m.T)(i.labelRef,t);(0,s.e)(()=>l.registerLabel(r),[r]);let c=(0,f.z)(()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})}),d=(0,a.useMemo)(()=>({open:0===i.comboboxState,disabled:i.disabled}),[i]);return(0,x.sY)({ourProps:{ref:u,id:r,onClick:c},theirProps:o,slot:d,defaultTag:"label",name:"Combobox.Label"})}),Options:(0,x.yV)(function(e,t){let n=(0,p.M)(),{id:r=`headlessui-combobox-options-${n}`,hold:o=!1,...i}=e,l=D("Combobox.Options"),u=(0,m.T)(l.optionsRef,t),d=(0,E.oJ)(),f=null!==d?(d&E.ZM.Open)===E.ZM.Open:0===l.comboboxState;(0,s.e)(()=>{var t;l.optionsPropsRef.current.static=null!=(t=e.static)&&t},[l.optionsPropsRef,e.static]),(0,s.e)(()=>{l.optionsPropsRef.current.hold=o},[l.optionsPropsRef,o]),(0,h.B)({container:l.optionsRef.current,enabled:0===l.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let v=c(()=>{var e,t;return null!=(t=l.labelId)?t:null==(e=l.buttonRef.current)?void 0:e.id},[l.labelId,l.buttonRef.current]),C=(0,a.useMemo)(()=>({open:0===l.comboboxState}),[l]),b={"aria-labelledby":v,role:"listbox","aria-multiselectable":1===l.mode||void 0,id:r,ref:u};return(0,x.sY)({ourProps:b,theirProps:i,slot:C,defaultTag:"ul",features:$,visible:f,name:"Combobox.Options"})}),Option:(0,x.yV)(function(e,t){var n,r;let o=(0,p.M)(),{id:i=`headlessui-combobox-option-${o}`,disabled:l=!1,value:c,...d}=e,v=D("Combobox.Option"),C=_("Combobox.Option"),h=null!==v.activeOptionIndex&&v.options[v.activeOptionIndex].id===i,y=v.isSelected(c),j=(0,a.useRef)(null),w=(0,u.E)({disabled:l,value:c,domRef:j,textValue:null==(r=null==(n=j.current)?void 0:n.textContent)?void 0:r.toLowerCase()}),R=(0,m.T)(t,j),O=(0,f.z)(()=>C.selectOption(i));(0,s.e)(()=>C.registerOption(i,w),[w,i]);let E=(0,a.useRef)(!v.__demoMode);(0,s.e)(()=>{if(!v.__demoMode)return;let e=(0,g.k)();return e.requestAnimationFrame(()=>{E.current=!0}),e.dispose},[]),(0,s.e)(()=>{if(0!==v.comboboxState||!h||!E.current||0===v.activationTrigger)return;let e=(0,g.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=j.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[j,h,v.comboboxState,v.activationTrigger,v.activeOptionIndex]);let S=(0,f.z)(e=>{if(l)return e.preventDefault();O(),0===v.mode&&C.closeCombobox(),/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)||requestAnimationFrame(()=>{var e;return null==(e=v.inputRef.current)?void 0:e.focus()})}),P=(0,f.z)(()=>{if(l)return C.goToOption(b.T.Nothing);C.goToOption(b.T.Specific,i)}),T=(0,M.g)(),I=(0,f.z)(e=>T.update(e)),L=(0,f.z)(e=>{T.wasMoved(e)&&(l||h||C.goToOption(b.T.Specific,i,0))}),F=(0,f.z)(e=>{T.wasMoved(e)&&(l||h&&(v.optionsPropsRef.current.hold||C.goToOption(b.T.Nothing)))}),k=(0,a.useMemo)(()=>({active:h,selected:y,disabled:l}),[h,y,l]);return(0,x.sY)({ourProps:{id:i,ref:R,role:"option",tabIndex:!0===l?void 0:-1,"aria-disabled":!0===l||void 0,"aria-selected":y,disabled:void 0,onClick:S,onFocus:P,onPointerEnter:I,onMouseEnter:I,onPointerMove:L,onMouseMove:L,onPointerLeave:F,onMouseLeave:F},theirProps:d,slot:k,defaultTag:"li",name:"Combobox.Option"})})})},9108:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r,o=((r=o||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},9708:function(e,t,n){"use strict";n.d(t,{v:function(){return N}});var r,o,i,l=n(2784),a=n(3703),s=n(544),u=n(1869),c=n(3311),d=n(8064),f=n(3401),p=n(586),v=n(9108),C=n(3199),m=n(5426),h=n(9573),b=n(2994),g=n(8685),x=n(7215),y=n(7352),j=n(592),w=n(5559),R=n(2121),O=((r=O||{})[r.Open=0]="Open",r[r.Closed=1]="Closed",r),E=((o=E||{})[o.Pointer=0]="Pointer",o[o.Other=1]="Other",o),S=((i=S||{})[i.OpenMenu=0]="OpenMenu",i[i.CloseMenu=1]="CloseMenu",i[i.GoToItem=2]="GoToItem",i[i.Search=3]="Search",i[i.ClearSearch=4]="ClearSearch",i[i.RegisterItem=5]="RegisterItem",i[i.UnregisterItem=6]="UnregisterItem",i);function P(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,h.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),o=n?r.indexOf(n):null;return -1===o&&(o=null),{items:r,activeItemIndex:o}}let M={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var n;let r=P(e),o=(0,C.d)(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:o,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),o=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),i=o?e.items.indexOf(o):-1;return -1===i||i===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:i,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=P(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=P(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},T=(0,l.createContext)(null);function I(e){let t=(0,l.useContext)(T);if(null===t){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,I),t}return t}function L(e,t){return(0,a.E)(t.type,M,e,t)}T.displayName="MenuContext";let F=l.Fragment,k=s.AN.RenderStrategy|s.AN.Static,A=l.Fragment,N=Object.assign((0,s.yV)(function(e,t){let n=(0,l.useReducer)(L,{menuState:1,buttonRef:(0,l.createRef)(),itemsRef:(0,l.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:r,itemsRef:o,buttonRef:i},u]=n,c=(0,f.T)(t);(0,b.O)([i,o],(e,t)=>{var n;u({type:1}),(0,h.sP)(t,h.tJ.Loose)||(e.preventDefault(),null==(n=i.current)||n.focus())},0===r);let d=(0,w.z)(()=>{u({type:1})}),p=(0,l.useMemo)(()=>({open:0===r,close:d}),[r,d]);return l.createElement(T.Provider,{value:n},l.createElement(x.up,{value:(0,a.E)(r,{0:x.ZM.Open,1:x.ZM.Closed})},(0,s.sY)({ourProps:{ref:c},theirProps:e,slot:p,defaultTag:F,name:"Menu"})))}),{Button:(0,s.yV)(function(e,t){var n;let r=(0,p.M)(),{id:o=`headlessui-menu-button-${r}`,...i}=e,[a,u]=I("Menu.Button"),d=(0,f.T)(a.buttonRef,t),h=(0,c.G)(),b=(0,w.z)(e=>{switch(e.key){case v.R.Space:case v.R.Enter:case v.R.ArrowDown:e.preventDefault(),e.stopPropagation(),u({type:0}),h.nextFrame(()=>u({type:2,focus:C.T.First}));break;case v.R.ArrowUp:e.preventDefault(),e.stopPropagation(),u({type:0}),h.nextFrame(()=>u({type:2,focus:C.T.Last}))}}),g=(0,w.z)(e=>{e.key===v.R.Space&&e.preventDefault()}),x=(0,w.z)(t=>{if((0,m.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===a.menuState?(u({type:1}),h.nextFrame(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(t.preventDefault(),u({type:0})))}),j=(0,l.useMemo)(()=>({open:0===a.menuState}),[a]),R={ref:d,id:o,type:(0,y.f)(e,a.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=a.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===a.menuState,onKeyDown:b,onKeyUp:g,onClick:x};return(0,s.sY)({ourProps:R,theirProps:i,slot:j,defaultTag:"button",name:"Menu.Button"})}),Items:(0,s.yV)(function(e,t){var n,r;let o=(0,p.M)(),{id:i=`headlessui-menu-items-${o}`,...a}=e,[d,m]=I("Menu.Items"),b=(0,f.T)(d.itemsRef,t),y=(0,j.i)(d.itemsRef),R=(0,c.G)(),O=(0,x.oJ)(),E=null!==O?(O&x.ZM.Open)===x.ZM.Open:0===d.menuState;(0,l.useEffect)(()=>{let e=d.itemsRef.current;e&&0===d.menuState&&e!==(null==y?void 0:y.activeElement)&&e.focus({preventScroll:!0})},[d.menuState,d.itemsRef,y]),(0,g.B)({container:d.itemsRef.current,enabled:0===d.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let S=(0,w.z)(e=>{var t,n;switch(R.dispose(),e.key){case v.R.Space:if(""!==d.searchQuery)return e.preventDefault(),e.stopPropagation(),m({type:3,value:e.key});case v.R.Enter:if(e.preventDefault(),e.stopPropagation(),m({type:1}),null!==d.activeItemIndex){let{dataRef:e}=d.items[d.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,h.wI)(d.buttonRef.current);break;case v.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:C.T.Next});case v.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:C.T.Previous});case v.R.Home:case v.R.PageUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:C.T.First});case v.R.End:case v.R.PageDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:C.T.Last});case v.R.Escape:e.preventDefault(),e.stopPropagation(),m({type:1}),(0,u.k)().nextFrame(()=>{var e;return null==(e=d.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case v.R.Tab:e.preventDefault(),e.stopPropagation(),m({type:1}),(0,u.k)().nextFrame(()=>{(0,h.EO)(d.buttonRef.current,e.shiftKey?h.TO.Previous:h.TO.Next)});break;default:1===e.key.length&&(m({type:3,value:e.key}),R.setTimeout(()=>m({type:4}),350))}}),P=(0,w.z)(e=>{e.key===v.R.Space&&e.preventDefault()}),M=(0,l.useMemo)(()=>({open:0===d.menuState}),[d]),T={"aria-activedescendant":null===d.activeItemIndex||null==(n=d.items[d.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=d.buttonRef.current)?void 0:r.id,id:i,onKeyDown:S,onKeyUp:P,role:"menu",tabIndex:0,ref:b};return(0,s.sY)({ourProps:T,theirProps:a,slot:M,defaultTag:"div",features:k,visible:E,name:"Menu.Items"})}),Item:(0,s.yV)(function(e,t){let n=(0,p.M)(),{id:r=`headlessui-menu-item-${n}`,disabled:o=!1,...i}=e,[a,c]=I("Menu.Item"),v=null!==a.activeItemIndex&&a.items[a.activeItemIndex].id===r,m=(0,l.useRef)(null),b=(0,f.T)(t,m);(0,d.e)(()=>{if(0!==a.menuState||!v||0===a.activationTrigger)return;let e=(0,u.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=m.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[m,v,a.menuState,a.activationTrigger,a.activeItemIndex]);let g=(0,l.useRef)({disabled:o,domRef:m});(0,d.e)(()=>{g.current.disabled=o},[g,o]),(0,d.e)(()=>{var e,t;g.current.textValue=null==(t=null==(e=m.current)?void 0:e.textContent)?void 0:t.toLowerCase()},[g,m]),(0,d.e)(()=>(c({type:5,id:r,dataRef:g}),()=>c({type:6,id:r})),[g,r]);let x=(0,w.z)(()=>{c({type:1})}),y=(0,w.z)(e=>{if(o)return e.preventDefault();c({type:1}),(0,h.wI)(a.buttonRef.current)}),j=(0,w.z)(()=>{if(o)return c({type:2,focus:C.T.Nothing});c({type:2,focus:C.T.Specific,id:r})}),O=(0,R.g)(),E=(0,w.z)(e=>O.update(e)),S=(0,w.z)(e=>{O.wasMoved(e)&&(o||v||c({type:2,focus:C.T.Specific,id:r,trigger:0}))}),P=(0,w.z)(e=>{O.wasMoved(e)&&(o||v&&c({type:2,focus:C.T.Nothing}))}),M=(0,l.useMemo)(()=>({active:v,disabled:o,close:x}),[v,o,x]);return(0,s.sY)({ourProps:{id:r,ref:b,role:"menuitem",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,disabled:void 0,onClick:y,onFocus:j,onPointerEnter:E,onMouseEnter:E,onPointerMove:S,onMouseMove:S,onPointerLeave:P,onMouseLeave:P},theirProps:i,slot:M,defaultTag:A,name:"Menu.Item"})})})},3624:function(e,t,n){"use strict";n.d(t,{J:function(){return z}});var r,o,i,l=n(2784),a=n(3703),s=n(544),u=n(3401),c=n(586),d=n(9108),f=n(5426),p=n(9573),v=n(7215),C=n(7352),m=n(2994),h=n(9833),b=n(592),g=n(1742),x=n(6799),y=n(5559),j=((r=j||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r);function w(){var e;let t,n=(0,l.useRef)(0);return e="keydown",t=(0,g.E)(e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)}),(0,l.useEffect)(()=>{function n(e){t.current(e)}return window.addEventListener(e,n,!0),()=>window.removeEventListener(e,n,!0)},[e,!0]),n}var R=n(8064),O=((o=O||{})[o.Open=0]="Open",o[o.Closed=1]="Closed",o),E=((i=E||{})[i.TogglePopover=0]="TogglePopover",i[i.ClosePopover=1]="ClosePopover",i[i.SetButton=2]="SetButton",i[i.SetButtonId=3]="SetButtonId",i[i.SetPanel=4]="SetPanel",i[i.SetPanelId=5]="SetPanelId",i);let S={0:e=>({...e,popoverState:(0,a.E)(e.popoverState,{0:1,1:0})}),1:e=>1===e.popoverState?e:{...e,popoverState:1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},P=(0,l.createContext)(null);function M(e){let t=(0,l.useContext)(P);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,M),t}return t}P.displayName="PopoverContext";let T=(0,l.createContext)(null);function I(e){let t=(0,l.useContext)(T);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,I),t}return t}T.displayName="PopoverAPIContext";let L=(0,l.createContext)(null);function F(){return(0,l.useContext)(L)}L.displayName="PopoverGroupContext";let k=(0,l.createContext)(null);function A(e,t){return(0,a.E)(t.type,S,e,t)}k.displayName="PopoverPanelContext";let N=s.AN.RenderStrategy|s.AN.Static,_=s.AN.RenderStrategy|s.AN.Static,z=Object.assign((0,s.yV)(function(e,t){var n,r,o;let i;let c=(0,l.useRef)(null),d=(0,u.T)(t,(0,u.h)(e=>{c.current=e})),f=(0,l.useRef)([]),C=(0,l.useReducer)(A,{popoverState:1,buttons:f,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:(0,l.createRef)(),afterPanelSentinel:(0,l.createRef)()}),[{popoverState:h,button:x,buttonId:j,panel:w,panelId:R,beforePanelSentinel:O,afterPanelSentinel:E},S]=C,M=(0,b.i)(null!=(n=c.current)?n:x),I=(0,l.useMemo)(()=>{if(!x||!w)return!1;for(let e of document.querySelectorAll("body > *"))if(Number(null==e?void 0:e.contains(x))^Number(null==e?void 0:e.contains(w)))return!0;let e=(0,p.GO)(),t=e.indexOf(x),n=(t+e.length-1)%e.length,r=(t+1)%e.length,o=e[n],i=e[r];return!w.contains(o)&&!w.contains(i)},[x,w]),L=(0,g.E)(j),N=(0,g.E)(R),_=(0,l.useMemo)(()=>({buttonId:L,panelId:N,close:()=>S({type:1})}),[L,N,S]),z=F(),D=null==z?void 0:z.registerPopover,Z=(0,y.z)(()=>{var e;return null!=(e=null==z?void 0:z.isFocusWithinPopoverGroup())?e:(null==M?void 0:M.activeElement)&&((null==x?void 0:x.contains(M.activeElement))||(null==w?void 0:w.contains(M.activeElement)))});(0,l.useEffect)(()=>null==D?void 0:D(_),[D,_]),r=null==M?void 0:M.defaultView,o="focus",i=(0,g.E)(e=>{var t,n,r,o;0===h&&(Z()||x&&w&&e.target!==window&&(null!=(n=null==(t=O.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(o=null==(r=E.current)?void 0:r.contains)&&o.call(r,e.target)||S({type:1})))}),(0,l.useEffect)(()=>{function e(e){i.current(e)}return(r=null!=r?r:window).addEventListener(o,e,!0),()=>r.removeEventListener(o,e,!0)},[r,o,!0]),(0,m.O)([x,w],(e,t)=>{S({type:1}),(0,p.sP)(t,p.tJ.Loose)||(e.preventDefault(),null==x||x.focus())},0===h);let H=(0,y.z)(e=>{S({type:1});let t=e?e instanceof HTMLElement?e:"current"in e&&e.current instanceof HTMLElement?e.current:x:x;null==t||t.focus()}),$=(0,l.useMemo)(()=>({close:H,isPortalled:I}),[H,I]),V=(0,l.useMemo)(()=>({open:0===h,close:H}),[h,H]);return l.createElement(k.Provider,{value:null},l.createElement(P.Provider,{value:C},l.createElement(T.Provider,{value:$},l.createElement(v.up,{value:(0,a.E)(h,{0:v.ZM.Open,1:v.ZM.Closed})},(0,s.sY)({ourProps:{ref:d},theirProps:e,slot:V,defaultTag:"div",name:"Popover"})))))}),{Button:(0,s.yV)(function(e,t){let n=(0,c.M)(),{id:r=`headlessui-popover-button-${n}`,...o}=e,[i,v]=M("Popover.Button"),{isPortalled:m}=I("Popover.Button"),h=(0,l.useRef)(null),g=`headlessui-focus-sentinel-${(0,c.M)()}`,R=F(),O=null==R?void 0:R.closeOthers,E=null!==(0,l.useContext)(k);(0,l.useEffect)(()=>{if(!E)return v({type:3,buttonId:r}),()=>{v({type:3,buttonId:null})}},[E,r,v]);let[S]=(0,l.useState)(()=>Symbol()),P=(0,u.T)(h,t,E?null:e=>{if(e)i.buttons.current.push(S);else{let e=i.buttons.current.indexOf(S);-1!==e&&i.buttons.current.splice(e,1)}i.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&v({type:2,button:e})}),T=(0,u.T)(h,t),L=(0,b.i)(h),A=(0,y.z)(e=>{var t,n,r;if(E){if(1===i.popoverState)return;switch(e.key){case d.R.Space:case d.R.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),v({type:1}),null==(r=i.button)||r.focus()}}else switch(e.key){case d.R.Space:case d.R.Enter:e.preventDefault(),e.stopPropagation(),1===i.popoverState&&(null==O||O(i.buttonId)),v({type:0});break;case d.R.Escape:if(0!==i.popoverState)return null==O?void 0:O(i.buttonId);if(!h.current||null!=L&&L.activeElement&&!h.current.contains(L.activeElement))return;e.preventDefault(),e.stopPropagation(),v({type:1})}}),N=(0,y.z)(e=>{E||e.key===d.R.Space&&e.preventDefault()}),_=(0,y.z)(t=>{var n,r;(0,f.P)(t.currentTarget)||e.disabled||(E?(v({type:1}),null==(n=i.button)||n.focus()):(t.preventDefault(),t.stopPropagation(),1===i.popoverState&&(null==O||O(i.buttonId)),v({type:0}),null==(r=i.button)||r.focus()))}),z=(0,y.z)(e=>{e.preventDefault(),e.stopPropagation()}),D=0===i.popoverState,Z=(0,l.useMemo)(()=>({open:D}),[D]),H=(0,C.f)(e,h),$=E?{ref:T,type:H,onKeyDown:A,onClick:_}:{ref:P,id:i.buttonId,type:H,"aria-expanded":e.disabled?void 0:0===i.popoverState,"aria-controls":i.panel?i.panelId:void 0,onKeyDown:A,onKeyUp:N,onClick:_,onMouseDown:z},V=w(),B=(0,y.z)(()=>{let e=i.panel;e&&(0,a.E)(V.current,{[j.Forwards]:()=>(0,p.jA)(e,p.TO.First),[j.Backwards]:()=>(0,p.jA)(e,p.TO.Last)})===p.fE.Error&&(0,p.jA)((0,p.GO)().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,a.E)(V.current,{[j.Forwards]:p.TO.Next,[j.Backwards]:p.TO.Previous}),{relativeTo:i.button})});return l.createElement(l.Fragment,null,(0,s.sY)({ourProps:$,theirProps:o,slot:Z,defaultTag:"button",name:"Popover.Button"}),D&&!E&&m&&l.createElement(x._,{id:g,features:x.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:B}))}),Overlay:(0,s.yV)(function(e,t){let n=(0,c.M)(),{id:r=`headlessui-popover-overlay-${n}`,...o}=e,[{popoverState:i},a]=M("Popover.Overlay"),d=(0,u.T)(t),p=(0,v.oJ)(),C=null!==p?(p&v.ZM.Open)===v.ZM.Open:0===i,m=(0,y.z)(e=>{if((0,f.P)(e.currentTarget))return e.preventDefault();a({type:1})}),h=(0,l.useMemo)(()=>({open:0===i}),[i]);return(0,s.sY)({ourProps:{ref:d,id:r,"aria-hidden":!0,onClick:m},theirProps:o,slot:h,defaultTag:"div",features:N,visible:C,name:"Popover.Overlay"})}),Panel:(0,s.yV)(function(e,t){let n=(0,c.M)(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,...i}=e,[f,C]=M("Popover.Panel"),{close:m,isPortalled:h}=I("Popover.Panel"),g=`headlessui-focus-sentinel-before-${(0,c.M)()}`,O=`headlessui-focus-sentinel-after-${(0,c.M)()}`,E=(0,l.useRef)(null),S=(0,u.T)(E,t,e=>{C({type:4,panel:e})}),P=(0,b.i)(E);(0,R.e)(()=>(C({type:5,panelId:r}),()=>{C({type:5,panelId:null})}),[r,C]);let T=(0,v.oJ)(),L=null!==T?(T&v.ZM.Open)===v.ZM.Open:0===f.popoverState,F=(0,y.z)(e=>{var t;if(e.key===d.R.Escape){if(0!==f.popoverState||!E.current||null!=P&&P.activeElement&&!E.current.contains(P.activeElement))return;e.preventDefault(),e.stopPropagation(),C({type:1}),null==(t=f.button)||t.focus()}});(0,l.useEffect)(()=>{var t;e.static||1===f.popoverState&&(null==(t=e.unmount)||t)&&C({type:4,panel:null})},[f.popoverState,e.unmount,e.static,C]),(0,l.useEffect)(()=>{if(!o||0!==f.popoverState||!E.current)return;let e=null==P?void 0:P.activeElement;E.current.contains(e)||(0,p.jA)(E.current,p.TO.First)},[o,E,f.popoverState]);let A=(0,l.useMemo)(()=>({open:0===f.popoverState,close:m}),[f,m]),N={ref:S,id:r,onKeyDown:F,onBlur:o&&0===f.popoverState?e=>{var t,n,r,o,i;let l=e.relatedTarget;l&&E.current&&(null!=(t=E.current)&&t.contains(l)||(C({type:1}),(null!=(r=null==(n=f.beforePanelSentinel.current)?void 0:n.contains)&&r.call(n,l)||null!=(i=null==(o=f.afterPanelSentinel.current)?void 0:o.contains)&&i.call(o,l))&&l.focus({preventScroll:!0})))}:void 0,tabIndex:-1},z=w(),D=(0,y.z)(()=>{let e=E.current;e&&(0,a.E)(z.current,{[j.Forwards]:()=>{var t;(0,p.jA)(e,p.TO.First)===p.fE.Error&&(null==(t=f.afterPanelSentinel.current)||t.focus())},[j.Backwards]:()=>{var e;null==(e=f.button)||e.focus({preventScroll:!0})}})}),Z=(0,y.z)(()=>{let e=E.current;e&&(0,a.E)(z.current,{[j.Forwards]:()=>{var e;if(!f.button)return;let t=(0,p.GO)(),n=t.indexOf(f.button),r=t.slice(0,n+1),o=[...t.slice(n+1),...r];for(let t of o.slice())if("true"===t.dataset.headlessuiFocusGuard||null!=(e=f.panel)&&e.contains(t)){let e=o.indexOf(t);-1!==e&&o.splice(e,1)}(0,p.jA)(o,p.TO.First,{sorted:!1})},[j.Backwards]:()=>{var t;(0,p.jA)(e,p.TO.Previous)===p.fE.Error&&(null==(t=f.button)||t.focus())}})});return l.createElement(k.Provider,{value:r},L&&h&&l.createElement(x._,{id:g,ref:f.beforePanelSentinel,features:x.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:D}),(0,s.sY)({ourProps:N,theirProps:i,slot:A,defaultTag:"div",features:_,visible:L,name:"Popover.Panel"}),L&&h&&l.createElement(x._,{id:O,ref:f.afterPanelSentinel,features:x.A.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:Z}))}),Group:(0,s.yV)(function(e,t){let n=(0,l.useRef)(null),r=(0,u.T)(n,t),[o,i]=(0,l.useState)([]),a=(0,y.z)(e=>{i(t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t})}),c=(0,y.z)(e=>(i(t=>[...t,e]),()=>a(e))),d=(0,y.z)(()=>{var e;let t=(0,h.r)(n);if(!t)return!1;let r=t.activeElement;return!!(null!=(e=n.current)&&e.contains(r))||o.some(e=>{var n,o;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(r))||(null==(o=t.getElementById(e.panelId.current))?void 0:o.contains(r))})}),f=(0,y.z)(e=>{for(let t of o)t.buttonId.current!==e&&t.close()}),p=(0,l.useMemo)(()=>({registerPopover:c,unregisterPopover:a,isFocusWithinPopoverGroup:d,closeOthers:f}),[c,a,d,f]),v=(0,l.useMemo)(()=>({}),[]);return l.createElement(L.Provider,{value:p},(0,s.sY)({ourProps:{ref:r},theirProps:e,slot:v,defaultTag:"div",name:"Popover.Group"}))})})},6263:function(e,t,n){"use strict";n.d(t,{u:function(){return L}});var r,o=n(2784),i=n(544),l=n(7215),a=n(3703),s=n(8064);function u(){let e=(0,o.useRef)(!1);return(0,s.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var c=n(1742),d=n(6460),f=n(3401),p=n(1869);function v(e,...t){e&&t.length>0&&e.classList.add(...t)}function C(e,...t){e&&t.length>0&&e.classList.remove(...t)}var m=n(3311),h=n(5559),b=n(4020);function g(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let x=(0,o.createContext)(null);x.displayName="TransitionContext";var y=((r=y||{}).Visible="visible",r.Hidden="hidden",r);let j=(0,o.createContext)(null);function w(e){return"children"in e?w(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function R(e,t){let n=(0,c.E)(e),r=(0,o.useRef)([]),l=u(),s=(0,m.G)(),d=(0,h.z)((e,t=i.l4.Hidden)=>{let o=r.current.findIndex(({el:t})=>t===e);-1!==o&&((0,a.E)(t,{[i.l4.Unmount](){r.current.splice(o,1)},[i.l4.Hidden](){r.current[o].state="hidden"}}),s.microTask(()=>{var e;!w(r)&&l.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,h.z)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>d(e,i.l4.Unmount)}),p=(0,o.useRef)([]),v=(0,o.useRef)(Promise.resolve()),C=(0,o.useRef)({enter:[],leave:[],idle:[]}),b=(0,h.z)((e,n,r)=>{p.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{p.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(C.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?v.current=v.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),g=(0,h.z)((e,t,n)=>{Promise.all(C.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=p.current.shift())||e()}).then(()=>n(t))});return(0,o.useMemo)(()=>({children:r,register:f,unregister:d,onStart:b,onStop:g,wait:v,chains:C}),[f,d,r,b,g,C,v])}function O(){}j.displayName="NestingContext";let E=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function S(e){var t;let n={};for(let r of E)n[r]=null!=(t=e[r])?t:O;return n}let P=i.AN.RenderStrategy,M=(0,i.yV)(function(e,t){let{show:n,appear:r=!1,unmount:a,...u}=e,c=(0,o.useRef)(null),p=(0,f.T)(c,t);(0,d.H)();let v=(0,l.oJ)();if(void 0===n&&null!==v&&(n=(v&l.ZM.Open)===l.ZM.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,m]=(0,o.useState)(n?"visible":"hidden"),h=R(()=>{m("hidden")}),[b,g]=(0,o.useState)(!0),y=(0,o.useRef)([n]);(0,s.e)(()=>{!1!==b&&y.current[y.current.length-1]!==n&&(y.current.push(n),g(!1))},[y,n]);let O=(0,o.useMemo)(()=>({show:n,appear:r,initial:b}),[n,r,b]);(0,o.useEffect)(()=>{if(n)m("visible");else if(w(h)){let e=c.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&m("hidden")}else m("hidden")},[n,h]);let E={unmount:a};return o.createElement(j.Provider,{value:h},o.createElement(x.Provider,{value:O},(0,i.sY)({ourProps:{...E,as:o.Fragment,children:o.createElement(T,{ref:p,...E,...u})},theirProps:{},defaultTag:o.Fragment,features:P,visible:"visible"===C,name:"Transition"})))}),T=(0,i.yV)(function(e,t){var n;let r,{beforeEnter:y,afterEnter:O,beforeLeave:E,afterLeave:M,enter:T,enterFrom:I,enterTo:L,entered:F,leave:k,leaveFrom:A,leaveTo:N,..._}=e,z=(0,o.useRef)(null),D=(0,f.T)(z,t),Z=_.unmount?i.l4.Unmount:i.l4.Hidden,{show:H,appear:$,initial:V}=function(){let e=(0,o.useContext)(x);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[B,U]=(0,o.useState)(H?"visible":"hidden"),G=function(){let e=(0,o.useContext)(j);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:J,unregister:K}=G,W=(0,o.useRef)(null);(0,o.useEffect)(()=>J(z),[J,z]),(0,o.useEffect)(()=>{if(Z===i.l4.Hidden&&z.current){if(H&&"visible"!==B){U("visible");return}return(0,a.E)(B,{hidden:()=>K(z),visible:()=>J(z)})}},[B,z,J,K,H,Z]);let Y=(0,c.E)({enter:g(T),enterFrom:g(I),enterTo:g(L),entered:g(F),leave:g(k),leaveFrom:g(A),leaveTo:g(N)}),q=(n={beforeEnter:y,afterEnter:O,beforeLeave:E,afterLeave:M},r=(0,o.useRef)(S(n)),(0,o.useEffect)(()=>{r.current=S(n)},[n]),r),Q=(0,d.H)();(0,o.useEffect)(()=>{if(Q&&"visible"===B&&null===z.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[z,B,Q]);let X=V&&!$,ee=!Q||X||W.current===H?"idle":H?"enter":"leave",et=function(e=0){let[t,n]=(0,o.useState)(e),r=u(),i=(0,o.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),l=(0,o.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:l,removeFlag:(0,o.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,o.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),en=(0,h.z)(e=>(0,a.E)(e,{enter:()=>{et.addFlag(l.ZM.Opening),q.current.beforeEnter()},leave:()=>{et.addFlag(l.ZM.Closing),q.current.beforeLeave()},idle:()=>{}})),er=(0,h.z)(e=>(0,a.E)(e,{enter:()=>{et.removeFlag(l.ZM.Opening),q.current.afterEnter()},leave:()=>{et.removeFlag(l.ZM.Closing),q.current.afterLeave()},idle:()=>{}})),eo=R(()=>{U("hidden"),K(z)},G);(function({container:e,direction:t,classes:n,onStart:r,onStop:o}){let i=u(),l=(0,m.G)(),d=(0,c.E)(t);(0,s.e)(()=>{let t=(0,p.k)();l.add(t.dispose);let s=e.current;if(s&&"idle"!==d.current&&i.current){var u,c,f;let e,i,l,m,h,b,g;return t.dispose(),r.current(d.current),t.add((u=n.current,c="enter"===d.current,f=()=>{t.dispose(),o.current(d.current)},i=c?"enter":"leave",l=(0,p.k)(),m=void 0!==f?(e={called:!1},(...t)=>{if(!e.called)return e.called=!0,f(...t)}):()=>{},"enter"===i&&(s.removeAttribute("hidden"),s.style.display=""),h=(0,a.E)(i,{enter:()=>u.enter,leave:()=>u.leave}),b=(0,a.E)(i,{enter:()=>u.enterTo,leave:()=>u.leaveTo}),g=(0,a.E)(i,{enter:()=>u.enterFrom,leave:()=>u.leaveFrom}),C(s,...u.enter,...u.enterTo,...u.enterFrom,...u.leave,...u.leaveFrom,...u.leaveTo,...u.entered),v(s,...h,...g),l.nextFrame(()=>{C(s,...g),v(s,...b),function(e,t){let n=(0,p.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[i,l]=[r,o].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),a=i+l;if(0!==a){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},a),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();n.add(()=>t()),n.dispose}(s,()=>(C(s,...h),v(s,...u.entered),m()))}),l.dispose)),t.dispose}},[t])})({container:z,classes:Y,direction:ee,onStart:(0,c.E)(e=>{eo.onStart(z,e,en)}),onStop:(0,c.E)(e=>{eo.onStop(z,e,er),"leave"!==e||w(eo)||(U("hidden"),K(z))})}),(0,o.useEffect)(()=>{X&&(Z===i.l4.Hidden?W.current=null:W.current=H)},[H,X,B]);let ei=_;return $&&H&&(ei={...ei,className:(0,b.A)(_.className,...Y.current.enter,...Y.current.enterFrom)}),o.createElement(j.Provider,{value:eo},o.createElement(l.up,{value:(0,a.E)(B,{visible:l.ZM.Open,hidden:l.ZM.Closed})|et.flags},(0,i.sY)({ourProps:{ref:D},theirProps:ei,defaultTag:"div",features:P,visible:"visible"===B,name:"Transition.Child"})))}),I=(0,i.yV)(function(e,t){let n=null!==(0,o.useContext)(x),r=null!==(0,l.oJ)();return o.createElement(o.Fragment,null,!n&&r?o.createElement(M,{ref:t,...e}):o.createElement(T,{ref:t,...e}))}),L=Object.assign(M,{Child:I,Root:M})},3311:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(2784),o=n(1869);function i(){let[e]=(0,r.useState)(o.k);return(0,r.useEffect)(()=>()=>e.dispose(),[e]),e}},5559:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(2784),o=n(1742);let i=function(e){let t=(0,o.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},586:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r,o=n(2784),i=n(8064),l=n(6460),a=n(4727);let s=null!=(r=o.useId)?r:function(){let e=(0,l.H)(),[t,n]=o.useState(e?()=>a.O.nextId():null);return(0,i.e)(()=>{null===t&&n(a.O.nextId())},[t]),null!=t?""+t:void 0}},8064:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var r=n(2784),o=n(4727);let i=(e,t)=>{o.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},1742:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(2784),o=n(8064);function i(e){let t=(0,r.useRef)(e);return(0,o.e)(()=>{t.current=e},[e]),t}},2994:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(2784),o=n(9573),i=n(1742);function l(e,t,n){let o=(0,i.E)(t);(0,r.useEffect)(()=>{function t(e){o.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function a(e,t,n=!0){let i=(0,r.useRef)(!1);function a(n,r){if(!i.current||n.defaultPrevented)return;let l=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),a=r(n);if(null!==a&&a.getRootNode().contains(a)){for(let e of l){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(a)||n.composed&&n.composedPath().includes(t))return}return(0,o.sP)(a,o.tJ.Loose)||-1===a.tabIndex||n.preventDefault(),t(n,a)}}(0,r.useEffect)(()=>{requestAnimationFrame(()=>{i.current=n})},[n]);let s=(0,r.useRef)(null);l("mousedown",e=>{var t,n;i.current&&(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),l("click",e=>{s.current&&(a(e,()=>s.current),s.current=null)},!0),l("blur",e=>a(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}},592:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(2784),o=n(9833);function i(...e){return(0,r.useMemo)(()=>(0,o.r)(...e),[...e])}},7352:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var r=n(2784),o=n(8064);function i(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function l(e,t){let[n,l]=(0,r.useState)(()=>i(e));return(0,o.e)(()=>{l(i(e))},[e.type,e.as]),(0,o.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&l("button")},[n,t]),n}},6460:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(2784),o=n(4727);function i(){let[e,t]=(0,r.useState)(o.O.isHandoffComplete);return e&&!1===o.O.isHandoffComplete&&t(!1),(0,r.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,r.useEffect)(()=>o.O.handoff(),[]),e}},3401:function(e,t,n){"use strict";n.d(t,{T:function(){return a},h:function(){return l}});var r=n(2784),o=n(5559);let i=Symbol();function l(e,t=!0){return Object.assign(e,{[i]:t})}function a(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,o.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[i]))?void 0:n}},2121:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(2784);function o(e){return[e.screenX,e.screenY]}function i(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=o(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=o(t)}}}},8685:function(e,t,n){"use strict";n.d(t,{B:function(){return l}});var r=n(2784),o=n(8064),i=n(9833);function l({container:e,accept:t,walk:n,enabled:l=!0}){let a=(0,r.useRef)(t),s=(0,r.useRef)(n);(0,r.useEffect)(()=>{a.current=t,s.current=n},[t,n]),(0,o.e)(()=>{if(!e||!l)return;let t=(0,i.r)(e);if(!t)return;let n=a.current,r=s.current,o=Object.assign(e=>n(e),{acceptNode:n}),u=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,o,!1);for(;u.nextNode();)r(u.currentNode)},[e,l,a,s])}},6799:function(e,t,n){"use strict";n.d(t,{A:function(){return i},_:function(){return l}});var r,o=n(544),i=((r=i||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let l=(0,o.yV)(function(e,t){let{features:n=1,...r}=e,i={ref:t,"aria-hidden":(2&n)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,o.sY)({ourProps:i,theirProps:r,slot:{},defaultTag:"div",name:"Hidden"})})},7215:function(e,t,n){"use strict";n.d(t,{ZM:function(){return l},oJ:function(){return a},up:function(){return s}});var r,o=n(2784);let i=(0,o.createContext)(null);i.displayName="OpenClosedContext";var l=((r=l||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function a(){return(0,o.useContext)(i)}function s({value:e,children:t}){return o.createElement(i.Provider,{value:e},t)}},5426:function(e,t,n){"use strict";function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},3199:function(e,t,n){"use strict";n.d(t,{T:function(){return o},d:function(){return i}});var r,o=((r=o||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function i(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=null!=r?r:-1,i=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,r)=>(-1===o||!(r.length-n-1>=o))&&!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=o)&&!t.resolveDisabled(e));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}})();return -1===i?r:i}},4020:function(e,t,n){"use strict";function r(...e){return e.filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},1869:function(e,t,n){"use strict";n.d(t,{k:function(){return function e(){let t=[],n={addEventListener:(e,t,r,o)=>(e.addEventListener(t,r,o),n.add(()=>e.removeEventListener(t,r,o))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){var t;let r={current:!0};return t=()=>{r.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(t):Promise.resolve().then(t).catch(e=>setTimeout(()=>{throw e})),n.add(()=>{r.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(t){let n=e();return t(n),this.add(()=>n.dispose())},add:e=>(t.push(e),()=>{let n=t.indexOf(e);if(n>=0)for(let e of t.splice(n,1))e()}),dispose(){for(let e of t.splice(0))e()}};return n}}})},4727:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var r=Object.defineProperty,o=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i=(e,t,n)=>(o(e,"symbol"!=typeof t?t+"":t,n),n);let l=new class{constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},9573:function(e,t,n){"use strict";n.d(t,{EO:function(){return y},GO:function(){return C},TO:function(){return f},fE:function(){return p},jA:function(){return j},sP:function(){return h},tJ:function(){return m},wI:function(){return b},z2:function(){return x}});var r,o,i,l,a,s=n(1869),u=n(3703),c=n(9833);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var f=((r=f||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),p=((o=p||{})[o.Error=0]="Error",o[o.Overflow=1]="Overflow",o[o.Success=2]="Success",o[o.Underflow=3]="Underflow",o),v=((i=v||{})[i.Previous=-1]="Previous",i[i.Next=1]="Next",i);function C(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var m=((l=m||{})[l.Strict=0]="Strict",l[l.Loose=1]="Loose",l);function h(e,t=0){var n;return e!==(null==(n=(0,c.r)(e))?void 0:n.body)&&(0,u.E)(t,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function b(e){let t=(0,c.r)(e);(0,s.k)().nextFrame(()=>{t&&!h(t.activeElement,0)&&(null==e||e.focus({preventScroll:!0}))})}var g=((a=g||{})[a.Keyboard=0]="Keyboard",a[a.Mouse=1]="Mouse",a);function x(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function y(e,t){return j(C(),t,{relativeTo:e})}function j(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var i,l,a;let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?n?x(e):e:C(e);o.length>0&&u.length>1&&(u=u.filter(e=>!o.includes(e))),r=null!=r?r:s.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,u.indexOf(r))-1;if(4&t)return Math.max(0,u.indexOf(r))+1;if(8&t)return u.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),f=32&t?{preventScroll:!0}:{},p=0,v=u.length,m;do{if(p>=v||p+v<=0)return 0;let e=d+p;if(16&t)e=(e+v)%v;else{if(e<0)return 3;if(e>=v)return 1}null==(m=u[e])||m.focus(f),p+=c}while(m!==s.activeElement);return 6&t&&null!=(a=null==(l=null==(i=m)?void 0:i.matches)?void 0:l.call(i,"textarea,input"))&&a&&m.select(),2}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0))},3703:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let o=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{E:function(){return r}})},9833:function(e,t,n){"use strict";n.d(t,{r:function(){return o}});var r=n(4727);function o(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},544:function(e,t,n){"use strict";n.d(t,{AN:function(){return s},l4:function(){return u},oA:function(){return v},sY:function(){return c},yV:function(){return p}});var r,o,i=n(2784),l=n(4020),a=n(3703),s=((r=s||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((o=u||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:l}){let s=f(t,e);if(i)return d(s,n,r,l);let u=null!=o?o:0;if(2&u){let{static:e=!1,...t}=s;if(e)return d(t,n,r,l)}if(1&u){let{unmount:e=!0,...t}=s;return(0,a.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,l)})}return d(s,n,r,l)}function d(e,t={},n,r){let{as:o=n,children:a,refName:s="ref",...u}=C(e,["unmount","static"]),c=void 0!==e.ref?{[s]:e.ref}:{},d="function"==typeof a?a(t):a;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t));let p={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(o===i.Fragment&&Object.keys(v(u)).length>0){if(!(0,i.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(e=>`  - ${e}`).join(`
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>`  - ${e}`).join(`
`)].join(`
`));let e=d.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,l.A)(null==e?void 0:e.className(...t),u.className):(0,l.A)(null==e?void 0:e.className,u.className),n=t?{className:t}:{};return(0,i.cloneElement)(d,Object.assign({},f(d.props,v(C(u,["ref"]))),p,c,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(d.ref,c.ref),n))}return(0,i.createElement)(o,Object.assign({},C(u,["ref"]),o!==i.Fragment&&c,o!==i.Fragment&&p),d)}function f(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){for(let o of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;o(t,...r)}}});return t}function p(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function v(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function C(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},7062:function(e,t,n){"use strict";n.d(t,{j:function(){return O},Z:function(){return S}});var r=n(2322),o=n(7195),i=n(9046),l=n(6277),a=n(5792),s=n(6766),u=n(5666),c=n(6263),d=n(3624),f=n(10),p=n(2779),v=n(2784);function C(e){return(0,r.jsx)(c.u,Object.assign({enter:"transition ease-out duration-150",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-200",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},{children:e.children}))}function m(e){return(0,r.jsx)(f.h.Option,Object.assign({as:v.Fragment,value:e.id},{children:({active:t,selected:n})=>(0,r.jsxs)("li",Object.assign({className:p("pl-1.5 h-7 font-medium text-slate-600 text-sm cursor-pointer rounded-md flex items-center space-x-1",{"bg-slate-100":t})},{children:[(0,r.jsx)("div",Object.assign({className:"w-3.5 h-3.5"},{children:n&&(0,r.jsx)(u.Z,{size:14})})),(0,r.jsx)("span",{children:e.label})]}))}))}let h=e=>{let t=e.items.find(({id:t})=>e.selected===t);return(0,r.jsx)(b,Object.assign({label:void 0===t?"Default":t.label},{children:({close:t})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",Object.assign({className:"px-3 font-semibold text-xs text-slate-400"},{children:e.label})),(0,r.jsx)(f.h,Object.assign({as:"div",className:"multi_select__list px-1 flex-grow overflow-auto pb-2",nullable:!0,onChange:n=>{n&&(e.onSelect(n),t())},value:e.selected,multiple:!1},{children:(0,r.jsx)(f.h.Options,Object.assign({static:!0},{children:e.items.map(e=>(0,r.jsx)(m,{id:e.id,label:e.label},e.id))}))}))]})}))},b=e=>(0,r.jsxs)(d.J,Object.assign({className:"relative inline-block text-left"},{children:[(0,r.jsxs)(d.J.Button,Object.assign({className:p("px-2 py-1 bg-slate-100 rounded flex items-center space-x-1","bg-white-50 text-slate-400 border-slate-200 hover:bg-slate-100")},{children:[(0,r.jsx)("span",Object.assign({className:"text-slate-600 font-medium text-sm truncate max-w-[80px]"},{children:e.label})),(0,r.jsx)(s.G6,{size:14})]})),(0,r.jsx)(C,{children:(0,r.jsx)(d.J.Panel,Object.assign({className:p("absolute z-50 right-0 mt-1 min-w-[200px] max-h-64 origin-top-left","bg-white text-slate-600 border border-slate-200","rounded-lg pt-2.5 flex flex-col space-y-2.5 pr-0.5")},{children:e.children}))})]}));function g(e){return(0,r.jsx)("div",Object.assign({className:"rounded-full border border-slate-300 w-8 h-8"},{children:(0,r.jsx)("img",{src:e.src,alt:e.alt,className:"rounded-full"})}))}var x=n(9708),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let j={base:"No Plan",starter:"Starter",pro:"Pro",unpaid:"Unpaid"},w=e=>{var{recent:t=!1}=e,n=y(e,["recent"]);let{baseUrl:o}=(0,i.i)();return(0,r.jsx)(x.v.Item,{children:(0,r.jsxs)("a",Object.assign({href:`${o}/api/to/${n.link}`,target:"_blank",rel:"noreferrer",className:"h-9 flex w-full items-center space-x-1.5 rounded-md px-2 font-semibold hover:bg-slate-100"},{children:[(0,r.jsxs)("div",Object.assign({className:"flex items-center space-x-2"},{children:[(0,r.jsx)("span",Object.assign({className:"text-slate-400"},{children:n.icon})),(0,r.jsx)("span",Object.assign({className:"text-sm font-medium text-slate-700"},{children:n.label}))]})),t&&(0,r.jsx)("div",Object.assign({className:"px-2 py-1 uppercase font-bold text-[8px] text-white bg-violet-500 rounded-sm"},{children:"New"}))]}))})},R=e=>(0,r.jsxs)("div",Object.assign({className:"h-9 w-full rounded-md px-2 font-semibold flex items-center justify-between"},{children:[(0,r.jsxs)("div",Object.assign({className:"flex items-center  space-x-2"},{children:[(0,r.jsx)("span",Object.assign({className:"text-slate-400"},{children:e.icon})),(0,r.jsx)("span",Object.assign({className:"text-sm font-medium text-slate-700"},{children:e.label}))]})),e.children]})),O=({open:e=!1})=>{var t;let{user:n}=(0,o.a)();return n?(0,r.jsx)("div",Object.assign({className:"h-11 pl-2 pr-2.5 border border-slate-200 rounded-md flex items-center"},{children:(0,r.jsxs)("div",Object.assign({className:"flex items-center space-x-2"},{children:[(0,r.jsx)(g,{src:n.avatar,alt:n.name}),(0,r.jsxs)("div",Object.assign({className:"text-left"},{children:[(0,r.jsx)("h2",Object.assign({className:"max-w-[156px] text-sm font-semibold text-slate-600 truncate"},{children:n.email})),(0,r.jsx)("h3",Object.assign({className:"text-xs font-medium text-slate-500"},{children:j[(null===(t=n.subscription)||void 0===t?void 0:t.plan)||"base"]}))]})),e?(0,r.jsx)(s.Ms,{size:16}):(0,r.jsx)(s.G6,{size:16})]}))})):null},E=e=>{let{api:t}=(0,i.i)(),{open:n,setRemaining:o}=e;return(0,v.useEffect)(()=>{n&&t.fetchTokenUsage().then(({remaining:e})=>o(e))},[n,t,o]),(0,r.jsx)("div",Object.assign({className:"pl-11 h-3.5 text-xs font-medium text-slate-500"},{children:e.remaining?`${(0,a.J)(e.remaining)} Tokens Left`:0===e.remaining?"No Tokens Left":""}))};function S(e){var{showHeader:t=!1}=e,n=y(e,["showHeader"]);let{baseUrl:a}=(0,i.i)(),{user:s}=(0,o.a)(),{settings:u,updateSetting:d,globalSettingsOptions:f}=(0,l.r)(),[C,m]=(0,v.useState)(null);return null===s||null==u?null:(0,r.jsx)(x.v,Object.assign({as:"div",className:"relative inline-block text-left"},{children:({open:e})=>{var o,i,l,b,y;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.v.Button,Object.assign({className:p("text-slate-400 hover:bg-slate-100 rounded-md","flex items-center justify-center")},{children:v.Children.map(n.children,t=>v.isValidElement(t)?t&&v.cloneElement(t,Object.assign(Object.assign({},t.props),{open:e})):null)})),(0,r.jsx)(c.u,Object.assign({as:v.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},{children:(0,r.jsxs)(x.v.Items,Object.assign({className:"z-40 absolute right-0 mt-1 w-60 border border-slate-200 bg-white origin-top-right rounded-md shadow-lg focus:outline-none"},{children:[t&&(0,r.jsxs)("header",Object.assign({className:"px-3 py-2 border-b border-slate-200 flex flex-col space-y-1.5"},{children:[(0,r.jsxs)("div",Object.assign({className:"flex items-center space-x-3"},{children:[(0,r.jsx)(g,{src:s.avatar,alt:s.name}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",Object.assign({className:"text-sm max-w-[156px] font-semibold text-slate-600 truncate"},{children:s.email})),(0,r.jsxs)("h3",Object.assign({className:"text-xs font-medium text-slate-500"},{children:[j[(null===(o=s.subscription)||void 0===o?void 0:o.plan)||"base"]," •"," ",`Renews ${(null===(i=s.subscription)||void 0===i?void 0:i.period_end)?new Intl.DateTimeFormat("en-US",{year:"numeric",month:"short",day:"numeric"}).format(new Date(s.subscription.period_end)):"--"}
                        `]}))]})]})),(0,r.jsx)(E,{remaining:C,setRemaining:m,open:e})]})),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",Object.assign({className:"py-2 px-2"},{children:[(0,r.jsx)(w,{label:"Account",link:"account",icon:(0,r.jsx)(P,{size:16})}),(0,r.jsx)(w,{label:"Billing & Payments",link:"manage",icon:(0,r.jsx)(M,{size:16})}),(0,r.jsx)(w,{label:"Support",link:"support",icon:(0,r.jsx)(T,{size:16})}),(0,r.jsx)(w,{label:"Join Community",link:"community",icon:(0,r.jsx)(I,{size:16}),recent:!0})]})),(0,r.jsxs)("div",Object.assign({className:"border-t border-slate-200 px-2 py-2 flex flex-col-reverse"},{children:[(0,r.jsx)(R,Object.assign({label:"Output In",icon:(0,r.jsx)(F,{size:16})},{children:(0,r.jsx)(h,{items:null!==(l=null==f?void 0:f.language)&&void 0!==l?l:[],selected:u.language,label:"Select Output Langauge",onSelect:e=>{d({language:e})}})})),(0,r.jsx)(R,Object.assign({label:"Profile",icon:(0,r.jsx)(L,{size:16})},{children:(0,r.jsx)(h,{items:null!==(b=null==f?void 0:f.temperature)&&void 0!==b?b:[],selected:u.temperature,label:"Select Profile",onSelect:e=>{d({temperature:e})}})}))]})),(null===(y=s.subscription)||void 0===y?void 0:y.plan)==="starter"?(0,r.jsx)(x.v.Item,{children:(0,r.jsx)("div",Object.assign({className:"px-3 py-2"},{children:(0,r.jsxs)("a",Object.assign({href:`${a}/api/to/manage`,target:"_blank",rel:"noreferrer",className:"h-8 flex items-center justify-center w-full font-semibold text-sm text-white rounded-md bg-gradient-to-tr from-[#8c5df7] via-[#C384F9] via-70% to-[#DE97FA]"},{children:[(0,r.jsx)("span",Object.assign({className:"text-lg"},{children:"✨"}))," Upgrade To Pro"]}))}))}):null]})]}))}))]})}}))}let P=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M17.9825 18.7252C17.2838 17.8001 16.3798 17.0498 15.3417 16.5336C14.3036 16.0173 13.1599 15.7491 12.0005 15.7502C10.8411 15.7491 9.69739 16.0173 8.65932 16.5336C7.62125 17.0498 6.71724 17.8001 6.0185 18.7252M17.9825 18.7252C19.346 17.5124 20.3076 15.9137 20.7417 14.1413C21.1758 12.3688 21.0608 10.5063 20.412 8.80067C19.7632 7.09506 18.6112 5.62697 17.1089 4.59109C15.6066 3.55521 13.8248 3.00049 12 3.00049C10.1752 3.00049 8.39343 3.55521 6.89111 4.59109C5.38878 5.62697 4.23683 7.09506 3.58804 8.80067C2.93924 10.5063 2.82425 12.3688 3.25832 14.1413C3.69239 15.9137 4.655 17.5124 6.0185 18.7252M17.9825 18.7252C16.3365 20.1934 14.2061 21.0033 12.0005 21.0002C9.79453 21.0036 7.66474 20.1936 6.0185 18.7252M15.0005 9.75019C15.0005 10.5458 14.6844 11.3089 14.1218 11.8715C13.5592 12.4341 12.7962 12.7502 12.0005 12.7502C11.2049 12.7502 10.4418 12.4341 9.87918 11.8715C9.31657 11.3089 9.0005 10.5458 9.0005 9.75019C9.0005 8.95454 9.31657 8.19148 9.87918 7.62887C10.4418 7.06626 11.2049 6.75019 12.0005 6.75019C12.7962 6.75019 13.5592 7.06626 14.1218 7.62887C14.6844 8.19148 15.0005 8.95454 15.0005 9.75019Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})),M=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M2.5625 8.25H22.0625M2.5625 9H22.0625M5.5625 14.25H11.5625M5.5625 16.5H8.5625M4.8125 19.5H19.8125C20.4092 19.5 20.9815 19.2629 21.4035 18.841C21.8254 18.419 22.0625 17.8467 22.0625 17.25V6.75C22.0625 6.15326 21.8254 5.58097 21.4035 5.15901C20.9815 4.73705 20.4092 4.5 19.8125 4.5H4.8125C4.21576 4.5 3.64347 4.73705 3.22151 5.15901C2.79955 5.58097 2.5625 6.15326 2.5625 6.75V17.25C2.5625 17.8467 2.79955 18.419 3.22151 18.841C3.64347 19.2629 4.21576 19.5 4.8125 19.5Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})),T=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M16.8991 4.33014C17.4989 4.69953 18.0533 5.13784 18.5511 5.63614C19.0611 6.14614 19.4951 6.70014 19.8571 7.28814M16.8991 4.33014L13.4511 8.46814M16.8991 4.33014C15.4812 3.46068 13.8504 3.00049 12.1871 3.00049C10.5239 3.00049 8.89306 3.46068 7.47515 4.33014M19.8571 7.28814L15.7191 10.7361M19.8571 7.28814C20.7266 8.70605 21.1868 10.3369 21.1868 12.0001C21.1868 13.6634 20.7266 15.2942 19.8571 16.7121M13.4511 8.46814C13.9734 8.65484 14.4475 8.95544 14.8391 9.34814C15.2319 9.73975 15.5325 10.2139 15.7191 10.7361M13.4511 8.46814C12.6337 8.17678 11.7406 8.17678 10.9231 8.46814M7.47515 4.33014L10.9231 8.46814M7.47515 4.33014C6.8754 4.6995 6.32096 5.13782 5.82315 5.63614C5.32484 6.13395 4.88652 6.68839 4.51715 7.28814M15.7191 10.7361C16.0105 11.5536 16.0105 12.4467 15.7191 13.2641M19.8571 16.7121L15.7191 13.2641M19.8571 16.7121C19.4878 17.3119 19.0494 17.8663 18.5511 18.3641C18.0411 18.8741 17.4871 19.3081 16.8991 19.6701M15.7191 13.2641C15.5381 13.7701 15.2441 14.2461 14.8391 14.6521C14.4475 15.0449 13.9734 15.3455 13.4511 15.5321M10.9231 8.46814C10.4009 8.65481 9.92676 8.95541 9.53515 9.34814C9.13015 9.75414 8.83615 10.2301 8.65515 10.7361M13.4511 15.5321L16.8991 19.6701M13.4511 15.5321C12.6337 15.8235 11.7406 15.8235 10.9231 15.5321M16.8991 19.6701C15.4812 20.5396 13.8504 20.9998 12.1871 20.9998C10.5239 20.9998 8.89306 20.5396 7.47515 19.6701M7.47515 19.6701L10.9231 15.5321M7.47515 19.6701C6.8754 19.3008 6.32096 18.8625 5.82315 18.3641C5.32485 17.8663 4.88654 17.3119 4.51715 16.7121M10.9231 15.5321C10.4009 15.3455 9.92676 15.0449 9.53515 14.6521C9.14245 14.2605 8.84185 13.7864 8.65515 13.2641M8.65515 13.2641L4.51715 16.7121M8.65515 13.2641C8.36379 12.4467 8.36379 11.5536 8.65515 10.7361M4.51715 16.7121C3.64769 15.2942 3.1875 13.6634 3.1875 12.0001C3.1875 10.3369 3.64769 8.70605 4.51715 7.28814M4.51715 7.28814L8.65515 10.7361",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})),I=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M7.15362 6.52304C7.0502 6.34392 6.91252 6.18692 6.74843 6.06101C6.58433 5.9351 6.39705 5.84274 6.19727 5.7892C5.99748 5.73567 5.78911 5.72202 5.58405 5.74901C5.37898 5.77601 5.18125 5.84313 5.00213 5.94655C4.823 6.04996 4.66601 6.18765 4.54009 6.35174C4.41418 6.51583 4.32182 6.70311 4.26829 6.9029C4.21476 7.10268 4.2011 7.31105 4.2281 7.51612C4.2551 7.72118 4.32222 7.91892 4.42564 8.09804L5.92564 10.6961M7.15362 6.52304L6.40362 5.224C6.19476 4.86225 6.13816 4.43234 6.24627 4.02886C6.35439 3.62538 6.61835 3.28137 6.98011 3.07251C7.34186 2.86365 7.77176 2.80705 8.17525 2.91517C8.57873 3.02328 8.92274 3.28725 9.1316 3.649L9.8816 4.94804M7.15362 6.52304L10.1811 11.6167M5.92564 10.6961C5.71678 10.3344 5.37277 10.0704 4.96929 9.96228C4.5658 9.85417 4.1359 9.91077 3.77415 10.1196C3.41239 10.3285 3.14843 10.6725 3.04031 11.076C2.9322 11.4795 2.9888 11.9094 3.19766 12.2711L7.28516 19.3509C8.18026 20.9012 9.65459 22.0325 11.3838 22.4959C13.113 22.9592 14.9555 22.7166 16.5058 21.8215L18.2535 20.8125C19.4592 20.1162 20.3389 18.9695 20.6992 17.6246L21.3331 15.2586C21.6936 13.9138 21.5051 12.4808 20.8091 11.275L19.7997 9.52062C19.712 9.36681 19.689 9.18449 19.7356 9.01372C19.7892 8.81388 19.8028 8.60545 19.7758 8.40033C19.7488 8.19521 19.6817 7.99742 19.5782 7.81825C19.4748 7.63908 19.3371 7.48204 19.1729 7.35609C19.0088 7.23015 18.8215 7.13776 18.6216 7.08422C18.4218 7.03067 18.2134 7.01701 18.0082 7.04401C17.8031 7.07102 17.6053 7.13816 17.4262 7.2416C17.247 7.34505 17.0899 7.48277 16.964 7.6469C16.8381 7.81104 16.7457 7.99838 16.6921 8.19822C16.4305 9.17212 16.5648 10.21 17.0657 11.0852M5.92564 10.6961L8.13814 14.5283M9.8816 4.94804L13.2191 10.7288M9.8816 4.94804C9.67274 4.58629 9.61614 4.15638 9.72425 3.7529C9.83237 3.34942 10.0963 3.00541 10.4581 2.79655C10.8198 2.58769 11.2497 2.53109 11.6532 2.6392C12.0567 2.74732 12.4007 3.01128 12.6096 3.37304L17.8221 12.4014M17.8221 12.4014C17.3104 12.6965 16.8619 13.0896 16.5024 13.5583C16.1429 14.027 15.8795 14.5621 15.7271 15.1328M17.8221 12.4014L17.8238 12.4004",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})),L=e=>(0,r.jsxs)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[(0,r.jsx)("path",{d:"M9.59402 3.94C9.68402 3.398 10.154 3 10.704 3H13.297C13.847 3 14.317 3.398 14.407 3.94L14.62 5.221C14.683 5.595 14.933 5.907 15.265 6.091C15.339 6.131 15.412 6.174 15.485 6.218C15.809 6.414 16.205 6.475 16.56 6.342L17.777 5.886C18.0264 5.79221 18.301 5.78998 18.5519 5.87971C18.8028 5.96945 19.0137 6.14531 19.147 6.376L20.443 8.623C20.5761 8.8537 20.623 9.12413 20.5754 9.38617C20.5278 9.6482 20.3887 9.88485 20.183 10.054L19.18 10.881C18.887 11.121 18.742 11.494 18.749 11.873C18.7506 11.958 18.7506 12.043 18.749 12.128C18.742 12.506 18.887 12.878 19.179 13.118L20.184 13.946C20.608 14.296 20.718 14.9 20.444 15.376L19.146 17.623C19.0129 17.8536 18.8022 18.0296 18.5515 18.1195C18.3009 18.2094 18.0264 18.2074 17.777 18.114L16.56 17.658C16.205 17.525 15.81 17.586 15.484 17.782C15.4115 17.8261 15.3382 17.8688 15.264 17.91C14.933 18.093 14.683 18.405 14.62 18.779L14.407 20.059C14.317 20.602 13.847 21 13.297 21H10.703C10.153 21 9.68302 20.602 9.59302 20.06L9.38002 18.779C9.31802 18.405 9.06802 18.093 8.73602 17.909C8.66187 17.8681 8.58852 17.8258 8.51602 17.782C8.19102 17.586 7.79602 17.525 7.44002 17.658L6.22302 18.114C5.97375 18.2075 5.69939 18.2096 5.44872 18.1199C5.19806 18.0302 4.98733 17.8545 4.85402 17.624L3.55702 15.377C3.42397 15.1463 3.37707 14.8759 3.42468 14.6138C3.47229 14.3518 3.61131 14.1152 3.81702 13.946L4.82102 13.119C5.11302 12.879 5.25802 12.506 5.25102 12.127C5.24946 12.042 5.24946 11.957 5.25102 11.872C5.25802 11.494 5.11302 11.122 4.82102 10.882L3.81702 10.054C3.61156 9.88489 3.4727 9.64843 3.42509 9.38662C3.37749 9.12481 3.42424 8.8546 3.55702 8.624L4.85402 6.377C4.98721 6.14614 5.19803 5.97006 5.44893 5.88014C5.69983 5.79021 5.97451 5.79229 6.22402 5.886L7.44002 6.342C7.79602 6.475 8.19102 6.414 8.51602 6.218C8.58802 6.174 8.66202 6.131 8.73602 6.09C9.06802 5.907 9.31802 5.595 9.38002 5.221L9.59402 3.94Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15C11.2044 15 10.4413 14.6839 9.87868 14.1213C9.31607 13.5587 9 12.7956 9 12C9 11.2044 9.31607 10.4413 9.87868 9.87868C10.4413 9.31607 11.2044 9 12 9C12.7956 9 13.5587 9.31607 14.1213 9.87868C14.6839 10.4413 15 11.2044 15 12Z",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]})),F=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M10.5 21L15.75 9.75L21 21M12 18H19.5M3 5.621C4.9904 5.37332 6.99425 5.24941 9 5.25M9 5.25C10.12 5.25 11.233 5.288 12.334 5.364M9 5.25V3M12.334 5.364C11.176 10.658 7.69 15.08 3 17.502M12.334 5.364C13.23 5.425 14.119 5.511 15 5.621M10.411 14.116C8.77097 12.4486 7.47113 10.478 6.584 8.314",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})}))},380:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l},zs:function(){return o}});var r=n(2322);function o({size:e=20}){return(0,r.jsxs)("svg",Object.assign({width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99974 3.1684C10.2051 3.1684 10.4058 3.22931 10.5765 3.34343C10.7472 3.45755 10.8802 3.61973 10.9586 3.80947C11.0371 3.9992 11.0575 4.20796 11.0173 4.4093C10.9771 4.61065 10.8781 4.79555 10.7327 4.94059C10.5874 5.08562 10.4023 5.18429 10.2009 5.22409C9.99945 5.26389 9.79074 5.24304 9.60116 5.16417C9.41159 5.08531 9.24967 4.95198 9.1359 4.78105C9.02213 4.61013 8.96163 4.4093 8.96205 4.20397C8.9625 3.92909 9.07203 3.66563 9.2666 3.47146C9.46117 3.27729 9.72486 3.16829 9.99974 3.1684Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.08458 6.58397C4.18716 6.40622 4.34014 6.26287 4.52418 6.17206C4.70822 6.08125 4.91506 6.04706 5.11854 6.0738C5.32202 6.10053 5.513 6.18701 5.66733 6.32228C5.82167 6.45756 5.93242 6.63556 5.9856 6.83377C6.03877 7.03199 6.03197 7.24153 5.96606 7.43588C5.90016 7.63024 5.7781 7.80069 5.61532 7.92567C5.45254 8.05066 5.25636 8.12458 5.05158 8.13807C4.84679 8.15157 4.64261 8.10404 4.46484 8.00149C4.34674 7.93343 4.24322 7.84276 4.16019 7.73467C4.07715 7.62658 4.01624 7.50319 3.98092 7.37154C3.94561 7.23989 3.93658 7.10257 3.95437 6.96744C3.97216 6.8323 4.0164 6.702 4.08458 6.58397Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.08458 13.4147C3.98198 13.2369 3.93441 13.0327 3.94788 12.8279C3.96135 12.6231 4.03525 12.4269 4.16025 12.2641C4.28524 12.1013 4.45571 11.9792 4.65009 11.9133C4.84447 11.8474 5.05403 11.8406 5.25227 11.8938C5.45051 11.947 5.62852 12.0578 5.76379 12.2121C5.89905 12.3665 5.9855 12.5575 6.0122 12.761C6.0389 12.9645 6.00465 13.1714 5.91377 13.3554C5.8229 13.5395 5.67949 13.6924 5.50168 13.7949C5.38367 13.8631 5.2534 13.9072 5.11831 13.925C4.98321 13.9427 4.84595 13.9337 4.71435 13.8984C4.58275 13.8631 4.4594 13.8022 4.35134 13.7192C4.24328 13.6362 4.15264 13.5327 4.08458 13.4147Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99974 16.8319C9.79448 16.832 9.59382 16.7712 9.42311 16.6573C9.25241 16.5433 9.11934 16.3813 9.04074 16.1917C8.96213 16.0021 8.94152 15.7934 8.98151 15.5921C9.02151 15.3908 9.1203 15.2058 9.26541 15.0607C9.41052 14.9155 9.59541 14.8166 9.79672 14.7765C9.99802 14.7365 10.2067 14.757 10.3963 14.8355C10.586 14.9141 10.7481 15.0471 10.8621 15.2177C10.9761 15.3884 11.037 15.589 11.037 15.7943C11.0369 16.0694 10.9276 16.3332 10.7331 16.5277C10.5386 16.7223 10.2748 16.8317 9.99974 16.8319Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9149 13.4147C15.8124 13.5925 15.6594 13.7359 15.4754 13.8268C15.2913 13.9176 15.0845 13.9519 14.881 13.9252C14.6775 13.8985 14.4864 13.8121 14.3321 13.6768C14.1777 13.5415 14.0669 13.3635 14.0137 13.1653C13.9605 12.967 13.9673 12.7575 14.0332 12.5631C14.0991 12.3687 14.2212 12.1982 14.384 12.0733C14.5468 11.9483 14.743 11.8744 14.9479 11.8609C15.1527 11.8474 15.3569 11.895 15.5346 11.9976C15.7729 12.1351 15.9469 12.3617 16.0182 12.6274C16.0895 12.8931 16.0523 13.1763 15.9149 13.4147Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9149 6.58397C16.0175 6.76174 16.0651 6.96594 16.0516 7.17075C16.0381 7.37556 15.9642 7.57177 15.8392 7.73458C15.7142 7.89738 15.5438 8.01946 15.3494 8.08538C15.155 8.15129 14.9454 8.15808 14.7472 8.10489C14.549 8.05169 14.371 7.9409 14.2357 7.78653C14.1004 7.63216 14.014 7.44114 13.9873 7.23763C13.9606 7.03412 13.9948 6.82727 14.0857 6.64323C14.1766 6.45919 14.32 6.30624 14.4978 6.20371C14.7362 6.06627 15.0193 6.02912 15.2851 6.10043C15.5508 6.17174 15.7774 6.34566 15.9149 6.58397Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.27614 3.55035C6.42088 3.46678 6.58715 3.42801 6.75392 3.43893C6.9207 3.44986 7.08049 3.50999 7.21308 3.61173C7.34568 3.71347 7.44513 3.85225 7.49885 4.01051C7.55258 4.16877 7.55817 4.3394 7.51491 4.50084C7.47166 4.66228 7.3815 4.80726 7.25585 4.91746C7.13019 5.02766 6.97468 5.09812 6.80898 5.11993C6.64328 5.14175 6.47483 5.11394 6.32493 5.04002C6.17504 4.9661 6.05043 4.84939 5.96686 4.70465C5.85481 4.51056 5.82445 4.27992 5.88245 4.06345C5.94045 3.84697 6.08206 3.66241 6.27614 3.55035Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.55255 9.99996C2.55255 9.83283 2.60211 9.66946 2.69496 9.53049C2.78781 9.39153 2.91979 9.28322 3.0742 9.21926C3.22861 9.15531 3.39851 9.13857 3.56243 9.17118C3.72635 9.20378 3.87692 9.28426 3.9951 9.40244C4.11327 9.52062 4.19375 9.67119 4.22636 9.8351C4.25897 9.99902 4.24223 10.1689 4.17827 10.3233C4.11432 10.4777 4.00601 10.6097 3.86704 10.7026C3.72808 10.7954 3.5647 10.845 3.39757 10.845C3.17346 10.845 2.95853 10.756 2.80005 10.5975C2.64158 10.439 2.55255 10.2241 2.55255 9.99996Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.27614 16.4496C6.13134 16.3661 6.01457 16.2415 5.94058 16.0916C5.8666 15.9417 5.83873 15.7732 5.86051 15.6075C5.88228 15.4418 5.95272 15.2862 6.06291 15.1605C6.17311 15.0348 6.3181 14.9446 6.47956 14.9014C6.64102 14.8581 6.81168 14.8637 6.96997 14.9174C7.12825 14.9711 7.26704 15.0706 7.36879 15.2032C7.47053 15.3359 7.53065 15.4957 7.54155 15.6625C7.55245 15.8293 7.51364 15.9956 7.43002 16.1403C7.31796 16.3343 7.13347 16.4758 6.9171 16.5338C6.70073 16.5918 6.47019 16.5615 6.27614 16.4496Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.7233 16.4496C13.5786 16.5332 13.4123 16.572 13.2455 16.5611C13.0787 16.5502 12.9189 16.4901 12.7863 16.3883C12.6536 16.2866 12.5542 16.1478 12.5004 15.9895C12.4467 15.8312 12.4411 15.6606 12.4844 15.4991C12.5277 15.3377 12.6179 15.1927 12.7436 15.0825C12.8692 14.9723 13.0248 14.9018 13.1905 14.8801C13.3563 14.8583 13.5247 14.8862 13.6746 14.9601C13.8245 15.0341 13.9491 15.1509 14.0326 15.2957C14.1445 15.4897 14.1748 15.7203 14.1168 15.9367C14.0588 16.153 13.9173 16.3375 13.7233 16.4496Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.4469 9.99996C17.4469 10.1671 17.3974 10.3305 17.3045 10.4694C17.2117 10.6084 17.0797 10.7167 16.9253 10.7807C16.7709 10.8446 16.601 10.8613 16.437 10.8287C16.2731 10.7961 16.1226 10.7157 16.0044 10.5975C15.8862 10.4793 15.8057 10.3287 15.7731 10.1648C15.7405 10.0009 15.7572 9.83099 15.8212 9.67659C15.8852 9.52218 15.9935 9.3902 16.1324 9.29735C16.2714 9.2045 16.4348 9.15494 16.6019 9.15494C16.826 9.15494 17.041 9.24397 17.1994 9.40244C17.3579 9.56091 17.4469 9.77585 17.4469 9.99996Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.7233 3.55035C13.8681 3.63386 13.9849 3.75844 14.0589 3.90834C14.1329 4.05823 14.1607 4.22669 14.139 4.39242C14.1172 4.55815 14.0467 4.7137 13.9366 4.8394C13.8264 4.96509 13.6814 5.05528 13.5199 5.09855C13.3585 5.14183 13.1878 5.13625 13.0295 5.08252C12.8712 5.02878 12.7324 4.92932 12.6307 4.79669C12.5289 4.66407 12.4688 4.50425 12.4579 4.33745C12.447 4.17065 12.4858 4.00436 12.5694 3.85963C12.6815 3.66566 12.866 3.52413 13.0824 3.46614C13.2987 3.40814 13.5293 3.43843 13.7233 3.55035Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.71437 1.4716C7.84504 1.43652 7.98319 1.44098 8.11132 1.48442C8.23946 1.52786 8.35184 1.60831 8.43425 1.71562C8.51665 1.82293 8.56539 1.95226 8.57428 2.08727C8.58318 2.22227 8.55185 2.35688 8.48424 2.47408C8.41663 2.59127 8.31578 2.68579 8.19445 2.74566C8.07313 2.80554 7.93676 2.82809 7.80262 2.81047C7.66847 2.79285 7.54257 2.73584 7.44082 2.64666C7.33908 2.55747 7.26606 2.44012 7.23102 2.30944C7.18403 2.13424 7.20856 1.94755 7.29921 1.79043C7.38985 1.63331 7.53918 1.51863 7.71437 1.4716Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75671 3.75696C3.85236 3.66126 3.97424 3.59607 4.10695 3.56965C4.23965 3.54322 4.37721 3.55675 4.50222 3.60851C4.62723 3.66027 4.73409 3.74795 4.80927 3.86045C4.88445 3.97294 4.92458 4.10521 4.92458 4.24052C4.92458 4.37582 4.88445 4.50809 4.80927 4.62059C4.73409 4.73309 4.62723 4.82076 4.50222 4.87253C4.37721 4.92429 4.23965 4.93782 4.10695 4.91139C3.97424 4.88497 3.85236 4.81978 3.75671 4.72408C3.6285 4.59581 3.55649 4.42187 3.55649 4.24052C3.55649 4.05916 3.6285 3.88523 3.75671 3.75696Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.47134 7.71503C1.50629 7.58431 1.57922 7.4669 1.68091 7.37763C1.7826 7.28837 1.90848 7.23127 2.04262 7.21356C2.17676 7.19584 2.31315 7.21831 2.43452 7.27811C2.55589 7.33792 2.65681 7.43237 2.72449 7.54953C2.79217 7.6667 2.82359 7.8013 2.81477 7.93632C2.80595 8.07134 2.75728 8.20071 2.67492 8.30806C2.59256 8.41542 2.48022 8.49594 2.35209 8.53944C2.22396 8.58294 2.08582 8.58747 1.95512 8.55244C1.77995 8.5055 1.63058 8.39092 1.53987 8.23389C1.44915 8.07686 1.4245 7.89023 1.47134 7.71503Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.47134 12.2853C1.43632 12.1547 1.44081 12.0166 1.48425 11.8885C1.52769 11.7604 1.60812 11.6481 1.71539 11.5657C1.82266 11.4833 1.95194 11.4346 2.0869 11.4256C2.22186 11.4167 2.35644 11.448 2.47362 11.5155C2.59081 11.5831 2.68534 11.6838 2.74528 11.8051C2.80521 11.9263 2.82786 12.0626 2.81035 12.1967C2.79284 12.3308 2.73596 12.4568 2.64691 12.5586C2.55786 12.6604 2.44063 12.7335 2.31003 12.7687C2.13483 12.8157 1.94814 12.7911 1.79102 12.7005C1.6339 12.6098 1.51922 12.4605 1.47219 12.2853",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.75671 16.2455C3.66101 16.1498 3.59582 16.028 3.5694 15.8953C3.54297 15.7626 3.5565 15.625 3.60826 15.5C3.66002 15.375 3.7477 15.2681 3.8602 15.1929C3.9727 15.1178 4.10497 15.0776 4.24027 15.0776C4.37558 15.0776 4.50785 15.1178 4.62035 15.1929C4.73284 15.2681 4.82052 15.375 4.87228 15.5C4.92405 15.625 4.93757 15.7626 4.91115 15.8953C4.88472 16.028 4.81954 16.1498 4.72384 16.2455C4.66035 16.309 4.58497 16.3594 4.50199 16.3938C4.41902 16.4282 4.33009 16.4459 4.24027 16.4459C4.15046 16.4459 4.06152 16.4282 3.97855 16.3938C3.89558 16.3594 3.82019 16.309 3.75671 16.2455Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.71437 18.5271C7.5837 18.492 7.46634 18.4191 7.37715 18.3173C7.28795 18.2156 7.23091 18.0897 7.21326 17.9556C7.1956 17.8215 7.21811 17.6851 7.27794 17.5638C7.33778 17.4425 7.43224 17.3416 7.5494 17.2739C7.66656 17.2063 7.80115 17.1749 7.93614 17.1837C8.07114 17.1926 8.20048 17.2413 8.30782 17.3236C8.41516 17.4059 8.49567 17.5183 8.53917 17.6464C8.58267 17.7745 8.58721 17.9126 8.55221 18.0433C8.52902 18.1301 8.48894 18.2115 8.43427 18.2828C8.3796 18.3541 8.3114 18.4139 8.23359 18.4589C8.15577 18.5038 8.06986 18.5329 7.98077 18.5446C7.89168 18.5563 7.80115 18.5504 7.71437 18.5271Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2851 18.5271C12.1544 18.5622 12.0162 18.5577 11.8881 18.5143C11.7599 18.4708 11.6475 18.3904 11.5651 18.283C11.4827 18.1757 11.434 18.0464 11.4251 17.9113C11.4162 17.7763 11.4476 17.6417 11.5152 17.5245C11.5829 17.4073 11.6837 17.3128 11.8051 17.2529C11.9265 17.1931 12.0629 17.1706 12.197 17.1882C12.3312 17.2059 12.4571 17.263 12.5588 17.3523C12.6605 17.4415 12.7335 17.5589 12.7685 17.6896C12.7917 17.7764 12.7977 17.8668 12.786 17.9558C12.7743 18.0449 12.7451 18.1307 12.7002 18.2085C12.6554 18.2862 12.5956 18.3544 12.5244 18.4091C12.4531 18.4637 12.3718 18.5038 12.2851 18.5271Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2428 16.2455C16.1471 16.3411 16.0252 16.4063 15.8925 16.4326C15.7598 16.459 15.6223 16.4455 15.4973 16.3937C15.3723 16.3419 15.2655 16.2542 15.1904 16.1417C15.1152 16.0293 15.0751 15.897 15.0751 15.7617C15.0751 15.6264 15.1152 15.4942 15.1904 15.3817C15.2655 15.2692 15.3723 15.1816 15.4973 15.1298C15.6223 15.078 15.7598 15.0644 15.8925 15.0908C16.0252 15.1172 16.1471 15.1823 16.2428 15.278C16.3063 15.3415 16.3567 15.4169 16.3911 15.4999C16.4255 15.5829 16.4432 15.6719 16.4432 15.7617C16.4432 15.8516 16.4255 15.9405 16.3911 16.0236C16.3567 16.1066 16.3063 16.182 16.2428 16.2455Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5281 12.2853C18.4931 12.416 18.4201 12.5333 18.3184 12.6225C18.2167 12.7117 18.0908 12.7688 17.9567 12.7864C17.8226 12.8041 17.6862 12.7816 17.5649 12.7217C17.4435 12.6619 17.3427 12.5674 17.275 12.4503C17.2074 12.3331 17.176 12.1985 17.1848 12.0635C17.1937 11.9285 17.2423 11.7992 17.3247 11.6919C17.407 11.5845 17.5193 11.504 17.6474 11.4605C17.7755 11.417 17.9137 11.4125 18.0444 11.4475C18.1312 11.4707 18.2126 11.5107 18.2839 11.5654C18.3552 11.6201 18.415 11.6883 18.4599 11.7661C18.5049 11.8439 18.534 11.9298 18.5457 12.0189C18.5574 12.108 18.5514 12.1985 18.5281 12.2853Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5281 7.71503C18.5631 7.84568 18.5585 7.98375 18.515 8.11181C18.4715 8.23986 18.391 8.35215 18.2837 8.43447C18.1764 8.5168 18.0471 8.56547 17.9122 8.57434C17.7772 8.58321 17.6427 8.55188 17.5255 8.4843C17.4084 8.41673 17.3139 8.31594 17.254 8.19469C17.1941 8.07343 17.1715 7.93714 17.189 7.80304C17.2066 7.66894 17.2635 7.54305 17.3526 7.44128C17.4416 7.33951 17.5589 7.26642 17.6894 7.23125C17.7762 7.20794 17.8667 7.20196 17.9558 7.21366C18.0449 7.22536 18.1308 7.25451 18.2087 7.29944C18.2865 7.34438 18.3547 7.40421 18.4093 7.47552C18.464 7.54683 18.5041 7.62822 18.5273 7.71503",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2428 3.75696C16.3385 3.85261 16.4037 3.97449 16.4301 4.10719C16.4565 4.23989 16.443 4.37745 16.3912 4.50246C16.3394 4.62748 16.2518 4.73433 16.1393 4.80951C16.0268 4.88469 15.8945 4.92482 15.7592 4.92482C15.6239 4.92482 15.4916 4.88469 15.3791 4.80951C15.2666 4.73433 15.179 4.62748 15.1272 4.50246C15.0754 4.37745 15.0619 4.23989 15.0883 4.10719C15.1147 3.97449 15.1799 3.85261 15.2756 3.75696C15.3391 3.69338 15.4145 3.64293 15.4974 3.60852C15.5804 3.5741 15.6694 3.55638 15.7592 3.55638C15.849 3.55638 15.938 3.5741 16.021 3.60852C16.1039 3.64293 16.1793 3.69338 16.2428 3.75696Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2851 1.4716C12.4158 1.50662 12.5331 1.57961 12.6223 1.68132C12.7115 1.78304 12.7686 1.90892 12.7862 2.04304C12.8039 2.17717 12.7814 2.31352 12.7215 2.43486C12.6617 2.55619 12.5672 2.65706 12.4501 2.72471C12.3329 2.79236 12.1983 2.82375 12.0633 2.81491C11.9283 2.80607 11.799 2.7574 11.6917 2.67505C11.5843 2.59271 11.5038 2.48038 11.4603 2.35228C11.4168 2.22418 11.4123 2.08606 11.4473 1.95537C11.4705 1.86859 11.5106 1.78724 11.5653 1.71596C11.62 1.64468 11.6882 1.58487 11.766 1.53994C11.8438 1.49502 11.9297 1.46586 12.0187 1.45414C12.1078 1.44241 12.1983 1.44834 12.2851 1.4716Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99974 0C10.081 0 10.1604 0.0240862 10.2279 0.0692123C10.2954 0.114338 10.3481 0.178478 10.3792 0.253519C10.4102 0.328561 10.4184 0.411135 10.4025 0.490799C10.3867 0.570463 10.3476 0.643639 10.2901 0.701074C10.2327 0.758508 10.1595 0.797622 10.0799 0.813468C10.0002 0.829314 9.91762 0.821181 9.84258 0.790098C9.76753 0.759014 9.70339 0.706377 9.65827 0.638841C9.61314 0.571305 9.58906 0.491904 9.58906 0.41068C9.58906 0.301761 9.63232 0.197303 9.70934 0.120285C9.78636 0.043268 9.89082 0 9.99974 0Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.99974 1.33978C5.07009 1.29919 5.15089 1.28038 5.23193 1.28571C5.31298 1.29104 5.39062 1.32029 5.45504 1.36974C5.51947 1.4192 5.56778 1.48665 5.59387 1.56356C5.61997 1.64047 5.62267 1.72339 5.60164 1.80184C5.58061 1.88029 5.53679 1.95074 5.47573 2.00428C5.41466 2.05783 5.33909 2.09207 5.25856 2.10267C5.17804 2.11327 5.09618 2.09975 5.02334 2.06384C4.95049 2.02792 4.88994 1.9712 4.84932 1.90087C4.79496 1.8065 4.78026 1.69441 4.80846 1.58921C4.83666 1.48401 4.90545 1.3943 4.99974 1.33978Z",fill:"#0F172A"}),(0,r.jsx)("path",{d:"M5.41042 2.04917C5.48074 2.00852 5.53742 1.94793 5.5733 1.87506C5.60918 1.80219 5.62265 1.72031 5.612 1.63979C5.60135 1.55927 5.56706 1.48371 5.51347 1.42267C5.45988 1.36164 5.38939 1.31786 5.31092 1.29689C5.23245 1.27591 5.14953 1.27868 5.07263 1.30483C4.99573 1.33098 4.92831 1.37935 4.8789 1.44382C4.82949 1.50829 4.80031 1.58596 4.79505 1.66701C4.78978 1.74807 4.80867 1.82886 4.84932 1.89918C4.87628 1.94591 4.91218 1.98687 4.95498 2.01971C4.99778 2.05255 5.04664 2.07662 5.09876 2.09055C5.15088 2.10449 5.20523 2.108 5.25871 2.1009C5.31219 2.0938 5.36374 2.07622 5.41042 2.04917Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.33825 4.99998C1.37891 4.92966 1.4395 4.87298 1.51237 4.8371C1.58524 4.80122 1.66711 4.78775 1.74764 4.7984C1.82816 4.80905 1.90372 4.84334 1.96475 4.89693C2.02579 4.95052 2.06956 5.021 2.09054 5.09947C2.11152 5.17794 2.10875 5.26087 2.0826 5.33777C2.05645 5.41467 2.00808 5.48208 1.94361 5.53149C1.87914 5.5809 1.80147 5.61008 1.72041 5.61535C1.63936 5.62061 1.55856 5.60173 1.48824 5.56107C1.44155 5.53408 1.40064 5.49815 1.36783 5.45535C1.33502 5.41254 1.31097 5.36369 1.29704 5.31159C1.28311 5.25949 1.27958 5.20515 1.28665 5.15169C1.29373 5.09822 1.31126 5.04667 1.33825 4.99998Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000262718 9.99996C-0.00026203 9.91866 0.0238671 9.8392 0.0690685 9.77162C0.11427 9.70405 0.17851 9.65142 0.25365 9.62038C0.328791 9.58935 0.411452 9.58132 0.491162 9.5973C0.570872 9.61328 0.644045 9.65256 0.701412 9.71017C0.758779 9.76777 0.797759 9.84111 0.813413 9.92088C0.829068 10.0007 0.820693 10.0833 0.789351 10.1583C0.758008 10.2333 0.705108 10.2973 0.637349 10.3423C0.569591 10.3872 0.490024 10.411 0.408728 10.4106C0.354797 10.4106 0.301393 10.4 0.251567 10.3794C0.20174 10.3587 0.156468 10.3285 0.118333 10.2904C0.0801974 10.2522 0.0499471 10.2069 0.0293084 10.1571C0.00866978 10.1073 -0.00195312 10.0539 -0.00195312 9.99996",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.33825 14.9999C1.29762 14.9296 1.27876 14.8488 1.28407 14.7677C1.28938 14.6866 1.31861 14.609 1.36807 14.5445C1.41753 14.4801 1.485 14.4317 1.56193 14.4056C1.63887 14.3795 1.72182 14.3768 1.80028 14.3979C1.87875 14.4189 1.94921 14.4628 2.00275 14.5239C2.05629 14.585 2.09051 14.6606 2.10107 14.7412C2.11163 14.8217 2.09806 14.9036 2.06208 14.9764C2.02609 15.0493 1.96932 15.1098 1.89892 15.1504C1.85224 15.1773 1.8007 15.1948 1.74725 15.2019C1.6938 15.2089 1.63948 15.2053 1.58741 15.1914C1.53534 15.1774 1.48654 15.1533 1.44378 15.1204C1.40103 15.0876 1.36517 15.0467 1.33825 14.9999Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.99974 18.6601C4.92942 18.6195 4.87273 18.5589 4.83685 18.486C4.80097 18.4132 4.7875 18.3313 4.79815 18.2508C4.8088 18.1702 4.84309 18.0947 4.89668 18.0336C4.95028 17.9726 5.02076 17.9288 5.09923 17.9079C5.1777 17.8869 5.26063 17.8896 5.33753 17.9158C5.41443 17.942 5.48184 17.9903 5.53125 18.0548C5.58066 18.1193 5.60984 18.1969 5.61511 18.278C5.62037 18.359 5.60148 18.4398 5.56083 18.5102C5.53388 18.5569 5.49797 18.5978 5.45517 18.6307C5.41237 18.6635 5.36351 18.6876 5.31139 18.7015C5.25928 18.7155 5.20492 18.719 5.15144 18.7119C5.09797 18.7048 5.04641 18.6872 4.99974 18.6601Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99974 19.9999C9.91851 19.9999 9.83911 19.9758 9.77157 19.9307C9.70404 19.8856 9.6514 19.8214 9.62032 19.7464C9.58923 19.6714 9.5811 19.5888 9.59695 19.5091C9.61279 19.4295 9.6519 19.3563 9.70934 19.2988C9.76677 19.2414 9.83995 19.2023 9.91962 19.1865C9.99928 19.1706 10.0819 19.1787 10.1569 19.2098C10.2319 19.2409 10.2961 19.2935 10.3412 19.3611C10.3863 19.4286 10.4104 19.508 10.4104 19.5892C10.4104 19.6982 10.3672 19.8026 10.2901 19.8796C10.2131 19.9567 10.1087 19.9999 9.99974 19.9999Z",fill:"#0F172A"}),(0,r.jsx)("path",{d:"M10.4104 19.5892C10.4104 19.508 10.3863 19.4286 10.3412 19.3611C10.2961 19.2935 10.2319 19.2409 10.1569 19.2098C10.0819 19.1787 9.99928 19.1706 9.91962 19.1865C9.83995 19.2023 9.76677 19.2414 9.70934 19.2988C9.6519 19.3563 9.61279 19.4295 9.59695 19.5091C9.5811 19.5888 9.58923 19.6714 9.62032 19.7464C9.6514 19.8214 9.70404 19.8856 9.77157 19.9307C9.83911 19.9758 9.91851 19.9999 9.99974 19.9999C10.1087 19.9999 10.2131 19.9567 10.2901 19.8796C10.3672 19.8026 10.4104 19.6982 10.4104 19.5892Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9997 18.6601C14.9294 18.7008 14.8486 18.7196 14.7675 18.7143C14.6864 18.709 14.6088 18.6798 14.5443 18.6303C14.4798 18.5809 14.4315 18.5134 14.4054 18.4365C14.3793 18.3595 14.3766 18.2766 14.3977 18.1981C14.4187 18.1196 14.4626 18.0492 14.5237 17.9956C14.5848 17.9421 14.6604 17.9079 14.7409 17.8973C14.8215 17.8868 14.9034 17.9003 14.9762 17.9363C15.0491 17.9723 15.1096 18.0291 15.1502 18.0995C15.2045 18.1938 15.2192 18.3058 15.191 18.4109C15.1628 18.5161 15.094 18.6057 14.9997 18.6601Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6612 14.9999C18.6207 15.0703 18.5601 15.1271 18.4873 15.1631C18.4144 15.1991 18.3326 15.2126 18.252 15.2021C18.1715 15.1915 18.0959 15.1573 18.0347 15.1038C17.9736 15.0502 17.9298 14.9798 17.9087 14.9013C17.8877 14.8228 17.8904 14.7399 17.9165 14.6629C17.9426 14.586 17.9909 14.5185 18.0554 14.4691C18.1198 14.4196 18.1975 14.3904 18.2786 14.3851C18.3596 14.3798 18.4405 14.3986 18.5108 14.4393C18.6051 14.4937 18.6738 14.5833 18.702 14.6885C18.7303 14.7936 18.7156 14.9056 18.6612 14.9999Z",fill:"#0F172A"}),(0,r.jsx)("path",{d:"M18.6612 14.9999C18.7018 14.9296 18.7206 14.8488 18.7153 14.7677C18.71 14.6867 18.6807 14.6091 18.6313 14.5446C18.5818 14.4802 18.5144 14.4319 18.4374 14.4058C18.3605 14.3797 18.2776 14.377 18.1992 14.398C18.1207 14.4191 18.0503 14.4629 17.9967 14.524C17.9432 14.585 17.9089 14.6606 17.8983 14.7411C17.8877 14.8216 17.9012 14.9035 17.9372 14.9763C17.9731 15.0492 18.0298 15.1097 18.1001 15.1504C18.1468 15.1774 18.1985 15.195 18.252 15.2021C18.3055 15.2092 18.3598 15.2057 18.4119 15.1917C18.4641 15.1778 18.5129 15.1536 18.5557 15.1207C18.5985 15.0878 18.6343 15.0468 18.6612 14.9999Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.9997 9.99996C19.9997 10.0812 19.9756 10.1606 19.9305 10.2281C19.8854 10.2957 19.8213 10.3483 19.7462 10.3794C19.6712 10.4105 19.5886 10.4186 19.5089 10.4027C19.4293 10.3869 19.3561 10.3478 19.2987 10.2904C19.2412 10.2329 19.2021 10.1597 19.1863 10.0801C19.1704 10.0004 19.1786 9.91784 19.2096 9.8428C19.2407 9.76776 19.2934 9.70362 19.3609 9.65849C19.4284 9.61337 19.5078 9.58928 19.5891 9.58928C19.698 9.58928 19.8024 9.63255 19.8795 9.70957C19.9565 9.78658 19.9997 9.89104 19.9997 9.99996Z",fill:"#0F172A"}),(0,r.jsx)("path",{d:"M19.9976 10.0509C20.0253 9.82582 19.8653 9.62086 19.6402 9.59314C19.4151 9.56542 19.2101 9.72543 19.1824 9.95054C19.1547 10.1757 19.3147 10.3806 19.5398 10.4083C19.7649 10.4361 19.9699 10.276 19.9976 10.0509Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.6612 4.99998C18.7018 5.07033 18.7206 5.15113 18.7153 5.23218C18.71 5.31322 18.6807 5.39086 18.6313 5.45528C18.5818 5.51971 18.5144 5.56802 18.4374 5.59412C18.3605 5.62021 18.2776 5.62291 18.1992 5.60188C18.1207 5.58085 18.0503 5.53703 17.9967 5.47597C17.9432 5.4149 17.9089 5.33933 17.8983 5.25881C17.8877 5.17828 17.9012 5.09643 17.9372 5.02358C17.9731 4.95074 18.0298 4.89018 18.1001 4.84957C18.1468 4.82259 18.1984 4.80508 18.2519 4.79804C18.3054 4.791 18.3597 4.79457 18.4118 4.80853C18.4639 4.8225 18.5128 4.8466 18.5556 4.87945C18.5984 4.9123 18.6343 4.95325 18.6612 4.99998Z",fill:"#0F172A"}),(0,r.jsx)("path",{d:"M18.6523 5.42636C18.7735 5.23463 18.7162 4.98097 18.5245 4.8598C18.3328 4.73864 18.0791 4.79585 17.958 4.98759C17.8368 5.17933 17.894 5.43298 18.0857 5.55414C18.2775 5.67531 18.5311 5.6181 18.6523 5.42636Z",fill:"#0F172A"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.9997 1.33978C15.0701 1.38039 15.1268 1.44095 15.1627 1.51379C15.1986 1.58664 15.2121 1.6685 15.2015 1.74902C15.1909 1.82954 15.1567 1.90511 15.1031 1.96618C15.0496 2.02725 14.9791 2.07106 14.9007 2.09209C14.8223 2.11312 14.7393 2.11042 14.6624 2.08433C14.5855 2.05823 14.5181 2.00992 14.4686 1.9455C14.4191 1.88107 14.3899 1.80343 14.3846 1.72239C14.3792 1.64135 14.3981 1.56054 14.4386 1.49019C14.4656 1.44347 14.5015 1.40251 14.5443 1.36966C14.5871 1.33681 14.6359 1.31271 14.688 1.29875C14.7401 1.28478 14.7945 1.28121 14.848 1.28825C14.9014 1.29529 14.953 1.3128 14.9997 1.33978Z",fill:"#0F172A"}),(0,r.jsx)("path",{d:"M15.0411 2.02557C15.2227 1.8897 15.2598 1.63233 15.1239 1.45071C14.9881 1.2691 14.7307 1.23201 14.5491 1.36788C14.3675 1.50374 14.3304 1.76111 14.4662 1.94273C14.6021 2.12434 14.8595 2.16143 15.0411 2.02557Z",fill:"#0F172A"})]}))}function i(){return(0,r.jsx)("svg",Object.assign({width:"84",height:"19",viewBox:"0 0 84 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M0.344 14.688C0.344 15.936 0.824 18.24 4.232 18.24C7.016 18.24 8.312 16.536 8.768 14.76H9.248L9.008 15.96V16.68C9.008 17.52 9.488 18 10.328 18H12.344V16.656H10.592V11.232C10.592 8.208 8.792 5.88 5.456 5.88C2.072 5.88 0.344 8.16 0.344 10.512H1.928C1.928 8.04 3.68 7.224 5.456 7.224C7.592 7.224 8.864 8.4 9.008 10.824L4.064 11.28C1.448 11.52 0.344 12.84 0.344 14.688ZM1.928 14.544C1.928 13.272 2.72 12.768 4.304 12.624L9.008 12.168C9.008 14.832 7.208 16.896 4.376 16.896C2.84 16.896 1.928 16.056 1.928 14.544ZM22.3288 18V16.656H18.9928V1.68C18.9928 0.599999 18.5128 -1.43051e-06 17.4328 0.119998L15.0328 0.36V1.704L17.4088 1.464V16.656H14.0728V18H22.3288ZM28.2995 4.08C29.1875 4.08 29.9315 3.336 29.9315 2.448C29.9315 1.584 29.1875 0.839999 28.2995 0.839999C27.4115 0.839999 26.6915 1.584 26.6915 2.448C26.6915 3.336 27.4115 4.08 28.2995 4.08ZM32.6915 18V16.656H29.3555V7.2C29.3555 6.36 28.9715 5.784 27.8915 5.88L25.4915 6.12V7.464L27.8675 7.224V16.656H24.5315V18H32.6915ZM34.1643 12.048C34.1643 15.384 36.2763 18.24 40.1403 18.24C42.2523 18.24 45.1803 17.04 45.5163 13.584H43.9083C43.5243 16.104 41.9163 16.896 40.1403 16.896C37.1163 16.896 35.7483 14.64 35.7483 12.048C35.7483 9.48 37.1163 7.224 40.1403 7.224C41.9163 7.224 43.5243 8.016 43.9083 10.536H45.5163C45.1803 7.08 42.2523 5.88 40.1403 5.88C36.2763 5.88 34.1643 8.736 34.1643 12.048ZM47.969 11.904C47.969 15.336 49.697 18.24 53.873 18.24C57.593 18.24 58.937 15.72 59.417 13.848H57.833C57.353 15.84 55.985 16.896 53.873 16.896C50.777 16.896 49.697 14.76 49.553 12.336H59.009V11.664C59.009 7.992 56.897 5.88 53.609 5.88C50.321 5.88 47.969 8.064 47.969 11.904ZM49.553 10.992C49.553 8.88 51.233 7.224 53.609 7.224C56.057 7.224 57.425 8.88 57.425 10.992H49.553ZM68.3954 7.224C70.4834 7.224 71.5154 8.208 71.5154 10.752V18H73.0994V10.56C73.0994 7.344 71.3714 5.88 68.7554 5.88C66.1634 5.88 64.6514 7.344 64.1714 9.504H63.6914L63.9314 8.304V6.12H62.3474V18H63.9314V12.552C63.9314 9.384 65.7794 7.224 68.3954 7.224ZM79.2213 7.464H82.8933V6.12H79.2213V2.4L77.6373 2.88V6.12H75.0693V7.464H77.6373V16.68C77.6373 17.76 78.1173 18.312 79.1973 18.24L83.3733 18V16.656L79.2213 16.92V7.464Z",fill:"black"})}))}function l(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{}),(0,r.jsx)(i,{})]})}},6766:function(e,t,n){"use strict";n.d(t,{Es:function(){return l},G6:function(){return o},Hb:function(){return a},Ms:function(){return i},TJ:function(){return u},pf:function(){return s},y2:function(){return c}});var r=n(2322);let o=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})),i=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M18 15L12 9L6 15",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})),l=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.98545 12.8C7.79449 12.8 7.61134 12.7241 7.47631 12.5891C7.34128 12.454 7.26542 12.2709 7.26542 12.0799L7.26542 5.70713L5.38373 7.77891C5.24988 7.90986 5.07029 7.98351 4.88304 7.98425C4.69579 7.98499 4.51562 7.91276 4.38075 7.78288C4.24587 7.653 4.16689 7.47568 4.16057 7.28854C4.15424 7.1014 4.22107 6.91915 4.34688 6.78046L7.46703 3.4203C7.53419 3.35061 7.61472 3.29518 7.7038 3.25732C7.79287 3.21946 7.88866 3.19995 7.98545 3.19995C8.08224 3.19995 8.17803 3.21946 8.26711 3.25732C8.35618 3.29518 8.43671 3.35061 8.50388 3.4203L11.624 6.78046C11.6929 6.84785 11.7476 6.92838 11.7847 7.01728C11.8219 7.10618 11.8409 7.20164 11.8405 7.298C11.8401 7.39436 11.8204 7.48967 11.7825 7.57827C11.7446 7.66687 11.6894 7.74696 11.6199 7.8138C11.5505 7.88065 11.4684 7.93287 11.3784 7.9674C11.2885 8.00192 11.1925 8.01803 11.0962 8.01477C10.9999 8.01152 10.9052 7.98897 10.8178 7.94845C10.7303 7.90794 10.6519 7.85028 10.5872 7.77891L8.70549 5.70713V12.0799C8.70549 12.2709 8.62962 12.454 8.49459 12.5891C8.35956 12.7241 8.17642 12.8 7.98545 12.8Z",fill:"currentColor"})})),a=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.01455 3.20005C8.20551 3.20005 8.38866 3.27591 8.52369 3.41094C8.65872 3.54597 8.73458 3.72912 8.73458 3.92008L8.73458 10.2929L10.6163 8.22109C10.7501 8.09014 10.9297 8.01649 11.117 8.01575C11.3042 8.01501 11.4844 8.08724 11.6193 8.21712C11.7541 8.347 11.8331 8.52432 11.8394 8.71146C11.8458 8.8986 11.7789 9.08085 11.6531 9.21954L8.53297 12.5797C8.46581 12.6494 8.38528 12.7048 8.2962 12.7427C8.20713 12.7805 8.11134 12.8 8.01455 12.8C7.91776 12.8 7.82197 12.7805 7.73289 12.7427C7.64382 12.7048 7.56329 12.6494 7.49612 12.5797L4.37597 9.21954C4.30709 9.15215 4.25244 9.07162 4.21525 8.98272C4.17806 8.89382 4.1591 8.79836 4.15948 8.702C4.15986 8.60564 4.17958 8.51033 4.21747 8.42173C4.25536 8.33313 4.31065 8.25304 4.38006 8.1862C4.44947 8.11935 4.5316 8.06713 4.62156 8.0326C4.71153 7.99808 4.80751 7.98197 4.90382 7.98523C5.00013 7.98848 5.09481 8.01103 5.18224 8.05155C5.26967 8.09206 5.34808 8.14972 5.41282 8.22109L7.29451 10.2929L7.29451 3.92008C7.29451 3.72912 7.37038 3.54597 7.50541 3.41094C7.64044 3.27591 7.82358 3.20005 8.01455 3.20005Z",fill:"currentColor"})})),s=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.1004 12C22.1004 12.2728 21.992 12.5344 21.7991 12.7273C21.6062 12.9202 21.3446 13.0286 21.0718 13.0286H6.48203L12.1846 18.4597C12.2866 18.5521 12.3689 18.6642 12.4268 18.7891C12.4847 18.914 12.5169 19.0492 12.5216 19.1868C12.5262 19.3244 12.5032 19.4615 12.4539 19.59C12.4046 19.7185 12.33 19.8358 12.2345 19.935C12.139 20.0342 12.0246 20.1132 11.898 20.1673C11.7714 20.2214 11.6353 20.2496 11.4976 20.2501C11.36 20.2507 11.2236 20.2236 11.0966 20.1704C10.9696 20.1173 10.8546 20.0392 10.7583 19.9408L3.21517 12.7406C3.11562 12.6446 3.03644 12.5296 2.98235 12.4024C2.92827 12.2751 2.90039 12.1383 2.90039 12C2.90039 11.8617 2.92827 11.7249 2.98235 11.5976C3.03644 11.4704 3.11562 11.3554 3.21517 11.2594L10.7583 4.05916C10.8546 3.96076 10.9696 3.88268 11.0966 3.82956C11.2236 3.77643 11.36 3.74934 11.4976 3.74989C11.6353 3.75043 11.7714 3.7786 11.898 3.83273C12.0246 3.88686 12.139 3.96584 12.2345 4.065C12.33 4.16416 12.4046 4.28148 12.4539 4.41C12.5032 4.53852 12.5262 4.67564 12.5216 4.81322C12.5169 4.9508 12.4847 5.08605 12.4268 5.21095C12.3689 5.33585 12.2866 5.44787 12.1846 5.54035L6.48203 10.9714H21.0718C21.3446 10.9714 21.6062 11.0798 21.7991 11.2727C21.992 11.4656 22.1004 11.7272 22.1004 12Z",fill:"currentColor"})})),u=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.3481 17.7241C15.5135 17.5521 15.6038 17.3216 15.5993 17.0831C15.5948 16.8446 15.4958 16.6176 15.3241 16.4521L10.5985 12.0001L15.3241 7.54806C15.4133 7.46713 15.4853 7.36912 15.536 7.25984C15.5866 7.15055 15.6148 7.03222 15.6189 6.91184C15.6229 6.79146 15.6028 6.67149 15.5597 6.55903C15.5165 6.44658 15.4512 6.34393 15.3677 6.25717C15.2841 6.17041 15.184 6.1013 15.0733 6.05394C14.9625 6.00658 14.8434 5.98193 14.7229 5.98145C14.6025 5.98098 14.4832 6.00468 14.3721 6.05116C14.2609 6.09765 14.1603 6.16596 14.0761 6.25206L8.67606 11.3521C8.58895 11.436 8.51967 11.5367 8.47235 11.648C8.42502 11.7593 8.40063 11.8791 8.40063 12.0001C8.40063 12.121 8.42502 12.2408 8.47235 12.3521C8.51967 12.4634 8.58895 12.5641 8.67606 12.6481L14.0761 17.7481C14.248 17.9135 14.4785 18.0038 14.717 17.9993C14.9555 17.9948 15.1825 17.8958 15.3481 17.7241Z",fill:"currentColor"})})),c=e=>(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.65194 17.7241C8.48655 17.5521 8.39617 17.3216 8.40067 17.0831C8.40517 16.8446 8.50418 16.6176 8.67594 16.4521L13.4015 12.0001L8.67594 7.54806C8.58673 7.46713 8.51467 7.36912 8.46403 7.25984C8.41339 7.15055 8.3852 7.03222 8.38113 6.91184C8.37706 6.79146 8.3972 6.67149 8.44035 6.55903C8.4835 6.44658 8.54878 6.34393 8.63233 6.25717C8.71587 6.17041 8.81599 6.1013 8.92673 6.05394C9.03748 6.00658 9.15661 5.98193 9.27705 5.98145C9.3975 5.98098 9.51682 6.00468 9.62794 6.05116C9.73905 6.09765 9.83971 6.16596 9.92394 6.25206L15.3239 11.3521C15.411 11.436 15.4803 11.5367 15.5277 11.648C15.575 11.7593 15.5994 11.8791 15.5994 12.0001C15.5994 12.121 15.575 12.2408 15.5277 12.3521C15.4803 12.4634 15.411 12.5641 15.3239 12.6481L9.92394 17.7481C9.75203 17.9135 9.52149 18.0038 9.28298 17.9993C9.04446 17.9948 8.81749 17.8958 8.65194 17.7241Z",fill:"currentColor"})}))},5666:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2322);function o(e){return(0,r.jsx)("svg",Object.assign({width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,r.jsx)("path",{d:"M20 6L9 17L4 12",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})}))}},7195:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},a:function(){return a}});var r=n(2322),o=n(2784);let i=(0,o.createContext)({user:null,authenticated:!1});function l(e){return(0,r.jsx)(i.Provider,Object.assign({value:{user:e.user,authenticated:null!==e.user&&void 0!==e.user}},{children:e.children}))}let a=()=>(0,o.useContext)(i)},9046:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},i:function(){return s}});var r=n(2322),o=n(2784),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let l=(0,o.createContext)({api:{},baseUrl:""});function a(e){var{children:t}=e,n=i(e,["children"]);return(0,r.jsx)(l.Provider,Object.assign({value:n},{children:t}))}let s=()=>(0,o.useContext)(l)},6277:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},r:function(){return u}});var r=n(2322),o=n(9046),i=n(2784);let l=(0,i.createContext)({settings:null,globalSettingsOptions:{temperature:[],language:[],tone:[],style:[]},setSettings:()=>void 0});function a(e){var t;let[n,o]=(0,i.useState)(null!==(t=e.settings)&&void 0!==t?t:null);return(0,i.useEffect)(()=>{var t;o(null!==(t=e.settings)&&void 0!==t?t:null)},[e.settings]),(0,r.jsx)(l.Provider,Object.assign({value:{settings:n,globalSettingsOptions:e.globalSettingsOptions,setSettings:o}},{children:e.children}))}let s=(e,t)=>{if(void 0!==e)return e.length>1&&e[0]===t?e.filter(e=>e!==t):0===e.length||e.includes(t)?[t]:e},u=()=>{let{api:e}=(0,o.i)(),{settings:t,globalSettingsOptions:n,setSettings:r}=(0,i.useContext)(l);return{settings:t,globalSettingsOptions:n,updateSetting:o=>{var i,l,a,u;return i=void 0,l=void 0,a=void 0,u=function*(){var i,l,a,u,c,d;if(t){let f=null!==(i=s(o.tone,n.tone[0].id))&&void 0!==i?i:t.tone,p=null!==(l=s(o.style,n.style[0].id))&&void 0!==l?l:t.style;r(Object.assign(Object.assign({},t),{models:Object.assign(Object.assign({},t.models),{selected:null!==(a=o.model)&&void 0!==a?a:t.models.selected}),temperature:null!==(u=o.temperature)&&void 0!==u?u:t.temperature,tone:f,style:p,language:null!==(c=o.language)&&void 0!==c?c:t.language,defaultHomeTab:null!==(d=o.defaultHomeTab)&&void 0!==d?d:t.defaultHomeTab}));try{if(o.model){yield e.updateUserSettings({model:o.model});return}if(o.temperature){yield e.updateUserSettings({temperature:o.temperature});return}if(o.tone){yield e.updateUserSettings({tone:f});return}if(o.style){yield e.updateUserSettings({style:p});return}if(o.language){yield e.updateUserSettings({language:o.language});return}if(o.defaultHomeTab){yield e.updateUserSettings({defaultHomeTab:o.defaultHomeTab});return}}catch(e){r(t)}}},new(a||(a=Promise))(function(e,t){function n(e){try{o(u.next(e))}catch(e){t(e)}}function r(e){try{o(u.throw(e))}catch(e){t(e)}}function o(t){var o;t.done?e(t.value):((o=t.value)instanceof a?o:new a(function(e){e(o)})).then(n,r)}o((u=u.apply(i,l||[])).next())})}}}},5792:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});let r=e=>e>=1e3?Intl.NumberFormat("en",{notation:"compact",maximumSignificantDigits:2}).format(e).toLowerCase():e}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6570),t(6244)}),_N_E=e.O()}]);