1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,59917,e=>{"use strict";var t=e.i(4137);e.i(43858);var n=e.i(33950),r=e.i(96515);e.s(["CookieSettingsLink",0,function(){let{t:e}=(0,n.useTranslation)();return(0,t.jsx)("button",{className:"site-footer-button",type:"button",onClick:r.openCookieConsentSettings,children:e("cookieConsent.settings","Cookie settings")})}])},55460,e=>{"use strict";var t=e.i(62398),n=e.i(47039),r=e.i(12755),i=e.i(45029);e.s(["AnalyticsPageTracker",0,function(){let e=(0,t.usePathname)(),a=(0,t.useSearchParams)(),o="/downloads"===e||"/congratulations-mac"===e||e.startsWith("/desktop/mac-apple-silicon/download")||e.startsWith("/desktop/mac-intel/download");return(0,n.useEffect)(()=>{let t=a.toString();(0,i.trackMixpanelPageView)(e,t?`?${t}`:""),"/"===e&&((0,i.trackMixpanelEvent)("Landing Page Viewed",{page_type:"home"}),(0,i.trackMixpanelEvent)("Landing Hero Viewed",{headline_variant:"AI voice typing for Mac",primary_cta_variant:"Download for Apple chip / Download for Intel chip",page_type:"home",is_new_user:!0})),"/pricing"===e&&(0,i.trackMixpanelEvent)("Pricing Page Viewed",{displayed_plans:["whisperinput-pro-USD-Yearly","whisperinput-pro-USD-Monthly"],currency:"USD"}),o||(0,r.trackGoogleAdsFirstVisit)()},[o,e,a]),null}])},63005,e=>{"use strict";var t=e.i(62398),n=e.i(47039),r=e.i(45029),i=e.i(15940);let a="whisperinput_login_return_path";function o(e,t){let n=new URLSearchParams(t);["code","provider","error","error_code","error_description"].forEach(e=>n.delete(e));let r=n.toString();return`${e}${r?`?${r}`:""}`}e.s(["AuthCodeHandler",0,function(){let e=(0,t.useRouter)(),l=(0,t.usePathname)(),s=(0,t.useSearchParams)(),c=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{if(c.current||l.startsWith("/login"))return;let t=s.get("code");if(!t)return;let n=(0,i.getSupabaseBrowserClient)();if(!n)return;c.current=!0;let d=new URLSearchParams(s.toString()),u=function(){try{var e;return!(e=window.sessionStorage.getItem(a))||!e.startsWith("/")||e.startsWith("//")?null:e}catch{return null}}()??o(l,d);n.auth.exchangeCodeForSession(t).then(({data:t,error:n})=>{if(n){(0,r.trackMixpanelEvent)("Auth Global Code Exchange Failed",{pathname:l,error_message:n.message}),e.replace(o(l,d));return}t.session?.user.id&&(0,r.identifyMixpanelUser)(t.session.user.id,{email:t.session.user.email??null,auth_source:"global_code_handler"});try{window.sessionStorage.removeItem(a)}catch{}(0,r.trackMixpanelEvent)("Auth Global Code Exchange Succeeded",{pathname:l,next_path:u}),e.replace(u)}).catch(t=>{(0,r.trackMixpanelEvent)("Auth Global Code Exchange Failed",{pathname:l,error_message:t.message}),e.replace(o(l,d))})},[l,e,s]),null}])},44997,e=>{"use strict";let t,n;var r,i,a,o,l,s,c,d,u=e.i(4137),h=e.i(47039);function f(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function v(...e){return t=>{let n=!1,r=e.map(e=>{let r=m(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():m(e[t],null)}}}}function p(...e){return h.useCallback(v(...e),e)}function g(e,t=[]){let n=[],r=()=>{let t=n.map(e=>h.createContext(e));return function(n){let r=n?.[e]||t;return h.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=h.createContext(r),a=n.length;n=[...n,r];let o=t=>{let{scope:n,children:r,...o}=t,l=n?.[e]?.[a]||i,s=h.useMemo(()=>o,Object.values(o));return(0,u.jsx)(l.Provider,{value:s,children:r})};return o.displayName=t+"Provider",[o,function(n,o){let l=o?.[e]?.[a]||i,s=h.useContext(l);if(s)return s;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}"u">typeof window&&window.document&&window.document.createElement;var w=e.i(27600);function x(e){var t;let n,r=(t=e,(n=h.forwardRef((e,t)=>
1{let{children:n,...r}=e;if(h.isValidElement(n)){var i;let e,a,o=(i=n,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),l=function(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...a}:"className"===r&&(n[r]=[i,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==h.Fragment&&(l.ref=t?v(t,o):o),h.cloneElement(n,l)}return h.Children.count(n)>1?h.Children.only(null):null})).displayName=`${t}.SlotClone`,n),i=h.forwardRef((e,t)=>{let{children:n,...i}=e,a=h.Children.toArray(n),o=a.find(j);if(o){let e=o.props.children,n=a.map(t=>t!==o?t:h.Children.count(e)>1?h.Children.only(null):h.isValidElement(e)?e.props.children:null);return(0,u.jsx)(r,{...i,ref:t,children:h.isValidElement(e)?h.cloneElement(e,void 0,n):null})}return(0,u.jsx)(r,{...i,ref:t,children:n})});return i.displayName=`${e}.Slot`,i}var y=Symbol("radix.slottable");function j(e){return h.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===y}var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=x(`Primitive.${t}`),r=h.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(i?n:t,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function N(e){let t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...e)=>t.current?.(...e),[])}var z="dismissableLayer.update",E=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),M=h.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:l,...s}=e,d=h.useContext(E),[m,v]=h.useState(null),g=m?.ownerDocument??globalThis?.document,[,w]=h.useState({}),x=p(t,e=>v(e)),y=Array.from(d.layers),[j]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),M=y.indexOf(j),H=m?y.indexOf(m):-1,S=d.layersWithOutsidePointerEventsDisabled.size>0,A=H>=M,R=function(e,t=globalThis?.document){let n=N(e),r=h.useRef(!1),i=h.useRef(()=>{});return h.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){C("dismissableLayer.pointerDownOutside",n,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));A&&!n&&(i?.(e),o?.(e),e.defaultPrevented||l?.())},g),k=function(e,t=globalThis?.document){let n=N(e),r=h.useRef(!1);return h.useEffect(()=>{let e=e=>{e.target&&!r.current&&C("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...d.branches].some(e=>e.contains(t))&&(a?.(e),o?.(e),e.defaultPrevented||l?.())},g);return!function(e,t=globalThis?.document){let n=N(e);h.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{H===d.layers.size-1&&(r?.(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},g),h.useEffect(()=>{if(m)return n&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(c=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(m)),d.layers.add(m),F(),()=>{n&&1===d.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=c)}},[m,g,n,d]),h.useEffect(()=>()=>{m&&(d.layers.delete(m),d.layersWithOutsidePointerEventsDisabled.delete(m),F())},[m,d]),h.useEffect(()=>{let e=()=>w({});return document.addEventListener(z,e),()=>document.removeEventListener(z,e)},[]),(0,u.jsx)(b.div,{...s,ref:x,style:{pointerEvents:S?A?"auto":"none":void 0,...e.style},onFocusCapture:f(e.onFocusCapture,k.onFocusCapture),onBlurCapture:f(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:f(e.onPointerDownCapture,R.onPointerDownCapture)})});function F(){let e=new CustomEvent(z);document.dispatchEvent(e)}function C(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});if(t&&i.addEventListener(e,t,{once:!0}),r)i&&w.flushSync(()=>i.dispatchEvent(a));else i.dispatchEvent(a)}M.displayName="DismissableLayer",h.forwardRef((e,t)=>
1{let n=h.useContext(E),r=h.useRef(null),i=p(t,r);return h.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(b.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var H=0;function S(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var A="focusScope.autoFocusOnMount",R="focusScope.autoFocusOnUnmount",k={bubbles:!1,cancelable:!0},L=h.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[l,s]=h.useState(null),c=N(i),d=N(a),f=h.useRef(null),m=p(t,e=>s(e)),v=h.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;h.useEffect(()=>{if(r){let e=function(e){if(v.paused||!l)return;let t=e.target;l.contains(t)?f.current=t:T(f.current,{select:!0})},t=function(e){if(v.paused||!l)return;let t=e.relatedTarget;null!==t&&(l.contains(t)||T(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&T(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,v.paused]),h.useEffect(()=>{if(l){O.add(v);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(A,k);l.addEventListener(A,c),l.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(T(r,{select:t}),document.activeElement!==n)return}(D(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&T(l))}return()=>{l.removeEventListener(A,c),setTimeout(()=>{let t=new CustomEvent(R,k);l.addEventListener(R,d),l.dispatchEvent(t),t.defaultPrevented||T(e??document.body,{select:!0}),l.removeEventListener(R,d),O.remove(v)},0)}}},[l,c,d,v]);let g=h.useCallback(e=>{if(!n&&!r||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var a;let t,r=e.currentTarget,[o,l]=[P(t=D(a=r),a),P(t.reverse(),a)];o&&l?e.shiftKey||i!==l?e.shiftKey&&i===o&&(e.preventDefault(),n&&T(l,{select:!0})):(e.preventDefault(),n&&T(o,{select:!0})):i===r&&e.preventDefault()}},[n,r,v.paused]);return(0,u.jsx)(b.div,{tabIndex:-1,...o,ref:m,onKeyDown:g})});function D(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function P(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function T(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}L.displayName="FocusScope";var O=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=_(n,e)).unshift(e)},remove(e){n=_(n,e),n[0]?.resume()}});function _(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var B=globalThis?.document?h.useLayoutEffect:()=>{},I=h[" useId ".trim().toString()]||(()=>void 0),V=0;let W=["top","right","bottom","left"],U=Math.min,$=Math.max,G=Math.round,K=Math.floor,Z=e=>({x:e,y:e}),q={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e,t){return"function"==typeof e?e(t):e}function X(e){return e.split("-")[0]}function J(e){return e.split("-")[1]}function Q(e){return"x"===e?"y":"x"}function ee(e){return"y"===e?"height":"width"}function et(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function en(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let er=["left","right"],ei=["right","left"],ea=["top","bottom"],eo=["bottom","top"];function el(e){let t=X(e);return q[t]+e.slice(t.length)}function es(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function ec(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ed(e,t,n){let r,{reference:i,floating:a}=e,o=et(t),l=Q(et(t)),s=ee(l),c=X(t),d="y"===o,u=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,f=i[s]/2-a[s]/2;switch(c){case"top":r={x:u,y:i.y-a.height};break;case"bottom":r={x:u,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:h};break;case"left":r={x:i.x-a.width,y:h};break;default:r={x:i.x,y:i.y}}switch(J(t)){case"start":r[l]-=f*(n&&d?-1:1);break;case"end":r[l]+=f*(n&&d?-1:1)}return r}async function eu(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:a,rects:o,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:h=!1,padding:f=0}=Y(t,e),m=es(f),v=l[h?"floating"===u?"reference":"floating":u],p=ec(await a.getClippingRect
1({element:null==(n=await (null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await (null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:s})),g="floating"===u?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await (null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await (null==a.isElement?void 0:a.isElement(w))&&await (null==a.getScale?void 0:a.getScale(w))||{x:1,y:1},y=ec(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:w,strategy:s}):g);return{top:(p.top-y.top+m.top)/x.y,bottom:(y.bottom-p.bottom+m.bottom)/x.y,left:(p.left-y.left+m.left)/x.x,right:(y.right-p.right+m.right)/x.x}}let eh=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:o}=n,l=o.detectOverflow?o:{...o,detectOverflow:eu},s=await (null==o.isRTL?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:u}=ed(c,r,s),h=r,f=0,m={};for(let n=0;n<a.length;n++){let v=a[n];if(!v)continue;let{name:p,fn:g}=v,{x:w,y:x,data:y,reset:j}=await g({x:d,y:u,initialPlacement:r,placement:h,strategy:i,middlewareData:m,rects:c,platform:l,elements:{reference:e,floating:t}});d=null!=w?w:d,u=null!=x?x:u,m[p]={...m[p],...y},j&&f<50&&(f++,"object"==typeof j&&(j.placement&&(h=j.placement),j.rects&&(c=!0===j.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):j.rects),{x:d,y:u}=ed(c,h,s)),n=-1)}return{x:d,y:u,placement:h,strategy:i,middlewareData:m}};function ef(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function em(e){return W.some(t=>e[t]>=0)}let ev=new Set(["left","top"]);async function ep(e,t){let{placement:n,platform:r,elements:i}=e,a=await (null==r.isRTL?void 0:r.isRTL(i.floating)),o=X(n),l=J(n),s="y"===et(n),c=ev.has(o)?-1:1,d=a&&s?-1:1,u=Y(t,e),{mainAxis:h,crossAxis:f,alignmentAxis:m}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&"number"==typeof m&&(f="end"===l?-1*m:m),s?{x:f*d,y:h*c}:{x:h*c,y:f*d}}function eg(){return"u">typeof window}function ew(e){return ej(e)?(e.nodeName||"").toLowerCase():"#document"}function ex(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ey(e){var t;return null==(t=(ej(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ej(e){return!!eg()&&(e instanceof Node||e instanceof ex(e).Node)}function eb(e){return!!eg()&&(e instanceof Element||e instanceof ex(e).Element)}function eN(e){return!!eg()&&(e instanceof HTMLElement||e instanceof ex(e).HTMLElement)}function ez(e){return!(!eg()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ex(e).ShadowRoot)}function eE(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ek(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function eM(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let eF=/transform|translate|scale|rotate|perspective|filter/,eC=/paint|layout|strict|content/,eH=e=>!!e&&"none"!==e;function eS(e){let t=eb(e)?ek(e):e;return eH(t.transform)||eH(t.translate)||eH(t.scale)||eH(t.rotate)||eH(t.perspective)||!eA()&&(eH(t.backdropFilter)||eH(t.filter))||eF.test(t.willChange||"")||eC.test(t.contain||"")}function eA(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function eR(e){return/^(html|body|#document)$/.test(ew(e))}function ek(e){return ex(e).getComputedStyle(e)}function eL(e){return eb(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eD(e){if("html"===ew(e))return e;let t=e.assignedSlot||e.parentNode||ez(e)&&e.host||ey(e);return ez(t)?t.host:t}function eP(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=eD(t);return eR(n)?t.ownerDocument?t.ownerDocument.body:t.body:eN(n)&&eE(n)?n:e(n)}(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),o=ex(i);if(!a)return t.concat(i,eP(i,[],n));{let e=eT(o);
1return t.concat(o,o.visualViewport||[],eE(i)?i:[],e&&n?eP(e):[])}}function eT(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eO(e){let t=ek(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=eN(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,l=G(n)!==a||G(r)!==o;return l&&(n=a,r=o),{width:n,height:r,$:l}}function e_(e){return eb(e)?e:e.contextElement}function eB(e){let t=e_(e);if(!eN(t))return Z(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=eO(t),o=(a?G(n.width):n.width)/r,l=(a?G(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),l&&Number.isFinite(l)||(l=1),{x:o,y:l}}let eI=Z(0);function eV(e){let t=ex(e);return eA()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eI}function eW(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let a=e.getBoundingClientRect(),o=e_(e),l=Z(1);t&&(r?eb(r)&&(l=eB(r)):l=eB(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===ex(o))&&i)?eV(o):Z(0),c=(a.left+s.x)/l.x,d=(a.top+s.y)/l.y,u=a.width/l.x,h=a.height/l.y;if(o){let e=ex(o),t=r&&eb(r)?ex(r):r,n=e,i=eT(n);for(;i&&r&&t!==n;){let e=eB(i),t=i.getBoundingClientRect(),r=ek(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,u*=e.x,h*=e.y,c+=a,d+=o,i=eT(n=ex(i))}}return ec({width:u,height:h,x:c,y:d})}function eU(e,t){let n=eL(e).scrollLeft;return t?t.left+n:eW(ey(e)).left+n}function e$(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eU(e,n),y:n.top+t.scrollTop}}function eG(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=ex(e),r=ey(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,l=0,s=0;if(i){a=i.width,o=i.height;let e=eA();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,s=i.offsetTop)}let c=eU(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=25&&(a-=o)}else c<=25&&(a+=c);return{width:a,height:o,x:l,y:s}}(e,n);else if("document"===t){let t,n,a,o,l,s,c;r=ey(e),t=ey(r),n=eL(r),a=r.ownerDocument.body,o=$(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),l=$(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),s=-n.scrollLeft+eU(r),c=-n.scrollTop,"rtl"===ek(a).direction&&(s+=$(t.clientWidth,a.clientWidth)-o),i={width:o,height:l,x:s,y:c}}else if(eb(t)){let e,r,a,o,l,s;r=(e=eW(t,!0,"fixed"===n)).top+t.clientTop,a=e.left+t.clientLeft,o=eN(t)?eB(t):Z(1),l=t.clientWidth*o.x,s=t.clientHeight*o.y,i={width:l,height:s,x:a*o.x,y:r*o.y}}else{let n=eV(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return ec(i)}function eK(e){return"static"===ek(e).position}function eZ(e,t){if(!eN(e)||"fixed"===ek(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ey(e)===n&&(n=n.ownerDocument.body),n}function eq(e,t){var n;let r=ex(e);if(eM(e))return r;if(!eN(e)){let t=eD(e);for(;t&&!eR(t);){if(eb(t)&&!eK(t))return t;t=eD(t)}return r}let i=eZ(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(ew(n)))&&eK(i);)i=eZ(i,t);return i&&eR(i)&&eK(i)&&!eS(i)?r:i||function(e){let t=eD(e);for(;eN(t)&&!eR(t);){if(eS(t))return t;if(eM(t))break;t=eD(t)}return null}(e)||r}let eY=async function(e){let t=this.getOffsetParent||eq,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=eN(t),i=ey(t),a="fixed"===n,o=eW(e,!0,a,t),l={scrollLeft:0,scrollTop:0},s=Z(0);if(r||!r&&!a)if(("body"!==ew(t)||eE(i))&&(l=eL(t)),r){let e=eW(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=eU(i));a&&!r&&i&&(s.x=eU(i));let c=!i||r||a?Z(0):e$(i,l);return{x:o.left+l.scrollLeft-s.x-c.x,y:o.top+l.scrollTop-s.y-c.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eX={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a="fixed"===i,o=ey(r),l=!!t&&eM(t.floating);if(r===o||l&&a)return n;let s={scrollLeft:0,scrollTop:0},c=Z(1),d=Z(0),u=eN(r);if((u||!u&&!a)&&(("body"!==ew(r)||eE(o))&&(s=eL(r)),u)){let e=eW(r);c=eB(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let h=!o||u||a?Z(0):e$(o,s);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-s.scrollLeft*c.x+d.x+h.x,y:n.y*c.y-s.scrollTop*c.y+d.y+h.y}},getDocumentElement:ey,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[..."clippingAncestors"===n?eM(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eP(e,[],!1).filter(e=>eb(e)&&"body"!==ew(e)),i=null,a="fixed"===ek(e).position,o=a?eD(e):e;for(;eb(o)&&!eR(o);){let t=ek(o),n=eS(o);n||"fixed"!==t.position||(i=null),(a?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||eE(o)&&!n&&function e(t,n){let r=eD(t);return!(r===n||!eb(r)||eR(r))&&("fixed"===ek(r).position||e(r,n))}(e,o)))?i=t:r=r.filter(e=>e!==o),o=eD(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=eG(t,a[0],i),l=o.top,s=o.right,c=o.bottom,d=o.left;for(let e=1;e<a.length;e++){let n=eG(t,a[e],i);l=$(n.top,l),s=U(n.right,s),c=U(n.bottom,c),d=$(n.left,d)}return{width:s-d,height:c-l,x:d,y:l}},getOffsetParent:eq,getElementRects:eY,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eO(e);return{width:t,height:n}},getScale:eB,isElement:eb,isRTL:function(e){return"rtl"===ek(e).direction}};function eJ(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eQ=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:l,middlewareData:s}=t,{element:c,padding:d=0}=Y(e,t)||{};if(null==c)return{};let u=es(d),h={x:n,y:r},f=Q(et(i)),m=ee(f),v=await o.getDimensions(c),p="y"===f,g=p?"clientHeight":"clientWidth",w=a.reference[m]+a.reference[f]-h[f]-a.floating[m],x=h[f]-a.reference[f],y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(c)),j=y?y[g]:0;j&&await (null==o.isElement?void 0:o.isElement(y))||(j=l.floating[g]||a.floating[m]);let b=j/2-v[m]/2-1,N=U(u[p?"top":"left"],b),z=U(u[p?"bottom":"right"],b),E=j-v[m]-z,M=j/2-v[m]/2+(w/2-x/2),F=$(N,U(M,E)),C=!s.arrow&&null!=J(i)&&M!==F&&a.reference[m]/2-(M<N?N:z)-v[m]/2<0,H=C?M<N?M-N:M-E:0;return{[f]:h[f]+H,data:{[f]:F,centerOffset:M-F-H,...C&&{alignmentOffset:H}},reset:C}}});var e0="u">typeof document?h.useLayoutEffect:function(){};function e1(e,t){let n,r,i;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!e1(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!e1(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function e2(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e3(e,t){let n=e2(e);return Math.round(t*n)/n}function e4(e){let t=h.useRef(e);return e0(()=>{t.current=e}),t}var e5=h.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...a}=e;return(0,u.jsx)(b.svg,{...a,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,u.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e5.displayName="Arrow";var e6="Popper",[e8,e7]=g(e6),[e9,te]=e8(e6),tt=e=>{let{__scopePopper:t,children:n}=e,[r,i]=h.useState(null);return(0,u.jsx)(e9,{scope:t,anchor:r,onAnchorChange:i,children:n})};tt.displayName=e6;var tn="PopperAnchor",tr=h.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...i}=e,a=te(tn,n),o=h.useRef(null),l=p(t,o),s=h.useRef(null);return h.useEffect(()=>{let e=s.current;s.current=r?.current||o.current,e!==s.current&&a.onAnchorChange(s.current)}),r?null:(0,u.jsx)(b.div,{...i,ref:l})});tr.displayName=tn;var ti="PopperContent",[ta,to]=e8(ti),tl=h.forwardRef((e,t)=>{var n,r,i,a,o,l,s,c,d,f,m,v,g;let x,y,j,z,E,M,{__scopePopper:F,side:C="bottom",sideOffset:H=0,align:S="center",alignOffset:A=0,arrowPadding:R=0,avoidCollisions:k=!0,collisionBoundary:L=[],collisionPadding:D=0,sticky:P="partial",hideWhenDetached:T=!1,updatePositionStrategy:O="optimized",onPlaced:_,...I}=e,V=te(ti,F),[W,G]=h.useState(null),Z=p(t,e=>G(e)),[q,es]=h.useState(null),ec=function(e){let[t,n]=h.useState(void 0);return B(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let a=t[0];if("borderBoxSize"in a){let e=a.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(q),ed=ec?.width??0,eu=ec?.height??0,eg="number"==typeof D?D:{top:0,right:0,bottom:0,left:0,...D},ew=Array.isArray(L)?L:[L],ex=ew.length>0,ej={padding:eg,boundary:ew.filter(tu),altBoundary:ex},{refs:eb,floatingStyles:eN,placement:ez,isPositioned:eE,middlewareData:eM}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[d,u]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,m]=h.useState(r);e1(f,r)||m(r);let[v,p]=h.useState(null),[g,x]=h.useState(null),y=h.useCallback(e=>{e!==z.current&&(z.current=e,p(e))},[]),j=h.useCallback(e=>{e!==E.current&&(E.current=e,x(e))},[]),b=a||v,N=o||g,z=h.useRef(null),E=h.useRef(null),M=h.useRef(d),F=null!=s,C=e4(s),H=e4(i),S=e4(c),A=h.useCallback(()=>{var e,r;let i,a,o;if(!z.current||!E.current)return;let l={placement:t,strategy:n,middleware:f};H.current&&(l.platform=H.current),(e=z.current,r=E.current,i=new Map,o={...(a={platform:eX,...l}).platform,_c:i},eh(e,r,{...a,platform:o})).then(e=>{let t={...e,isPositioned:!1!==S.current};R.current&&!e1(M.current,t)&&(M.current=t,w.flushSync(()=>{u(t)}))})},[f,t,n,H,S]);e0(()=>{!1===c&&M.current.isPositioned&&(M.current.isPositioned=!1,u(e=>({...e,isPositioned:!1})))},[c]);let R=h.useRef(!1);e0(()=>(R.current=!0,()=>{R.current=!1}),[]),e0(()=>{if(b&&(z.current=b),N&&(E.current=N),b&&N){if(C.current)return C.current(b,N,A);A()}},[b,N,A,C,F]);let k=h.useMemo(()=>({reference:z,floating:E,setReference:y,setFloating:j}),[y,j]),L=h.useMemo(()=>({reference:b,floating:N}),[b,N]),D=h.useMemo(()=>{let e={position:n,left:0,top:0};if(!L.floating)return e;let t=e3(L.floating,d.x),r=e3(L.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...e2(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,L.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:A,refs:k,elements:L,floatingStyles:D}),[d,A,k,L,D])}({strategy:"fixed",placement:C+("center"!==S?"-"+S:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,d=e_(e),u=a||o?[...d?eP(d):[],...t?eP(t):[]]:[];
1u.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});let h=d&&s?function(e,t){let n,r=null,i=ey(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function o(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();let c=e.getBoundingClientRect(),{left:d,top:u,width:h,height:f}=c;if(l||t(),!h||!f)return;let m={rootMargin:-K(u)+"px "+-K(i.clientWidth-(d+h))+"px "+-K(i.clientHeight-(u+f))+"px "+-K(d)+"px",threshold:$(0,U(1,s))||1},v=!0;function p(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return o();r?o(!1,r):n=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==r||eJ(c,e.getBoundingClientRect())||o(),v=!1}try{r=new IntersectionObserver(p,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(p,m)}r.observe(e)}(!0),a}(d,n):null,f=-1,m=null;l&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&m&&t&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),d&&!c&&m.observe(d),t&&m.observe(t));let v=c?eW(e):null;return c&&function t(){let r=eW(e);v&&!eJ(v,r)&&n(),v=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{a&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==h||h(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===O}),elements:{reference:V.anchor},middleware:[{name:(x={name:"offset",options:r=n={mainAxis:H+eu,alignmentAxis:A},async fn(e){var t,n;let{x:i,y:a,placement:o,middlewareData:l}=e,s=await ep(e,r);return o===(null==(t=l.offset)?void 0:t.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:i+s.x,y:a+s.y,data:{...s,placement:o}}}}).name,fn:x.fn,options:[n,void 0]},k&&{name:(y={name:"shift",options:o=a={mainAxis:!0,crossAxis:!1,limiter:"partial"===P?{fn:(i=void 0,{options:i={},fn(e){let{x:t,y:n,placement:r,rects:a,middlewareData:o}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=Y(i,e),d={x:t,y:n},u=et(r),h=Q(u),f=d[h],m=d[u],v=Y(l,e),p="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===h?"height":"width",t=a.reference[h]-a.floating[e]+p.mainAxis,n=a.reference[h]+a.reference[e]-p.mainAxis;f<t?f=t:f>n&&(f=n)}if(c){var g,w;let e="y"===h?"width":"height",t=ev.has(X(r)),n=a.reference[u]-a.floating[e]+(t&&(null==(g=o.offset)?void 0:g[u])||0)+(t?0:p.crossAxis),i=a.reference[u]+a.reference[e]+(t?0:(null==(w=o.offset)?void 0:w[u])||0)-(t?p.crossAxis:0);m<n?m=n:m>i&&(m=i)}return{[h]:f,[u]:m}}}).fn,options:[void 0,void 0]}:void 0,...ej},async fn(e){let{x:t,y:n,placement:r,platform:i}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Y(o,e),d={x:t,y:n},u=await i.detectOverflow(e,c),h=et(X(r)),f=Q(h),m=d[f],v=d[h];if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=m+u[e],r=m-u[t];m=$(n,U(m,r))}if(l){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=v+u[e],r=v-u[t];v=$(n,U(v,r))}let p=s.fn({...e,[f]:m,[h]:v});return{...p,data:{x:p.x-t,y:p.y-n,enabled:{[f]:a,[h]:l}}}}}).name,fn:y.fn,options:[a,void 0]},k&&{name:(j={name:"flip",options:s=l={...ej},async fn(e){var t,n,r,i,a,o,l,c;let d,u,h,{placement:f,middlewareData:m,rects:v,initialPlacement:p,platform:g,elements:w}=e,{mainAxis:x=!0,crossAxis:y=!0,fallbackPlacements:j,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:z=!0,...E}=Y(s,e);if(null!=(t=m.arrow)&&t.alignmentOffset)return{};let M=X(f),F=et(p),C=X(p)===p,H=await (null==g.isRTL?void 0:g.isRTL(w.floating)),S=j||(C||!z?[el(p)]:(d=el(p),[en(p),d,en(d)])),A="none"!==N;!j&&A&&S.push(...(u=J(p),h=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?ei:er;return t?er:ei;case"left":case"right":return t?ea:eo;default:return[]}}(X(p),"start"===N,H),u&&(h=h.map(e=>e+"-"+u),z&&(h=h.concat(h.map(en)))),h));let R=[p,...S],k=await g.detectOverflow(e,E),L=[],D=(null==(n=m.flip)?void 0:n.overflows)||[];if(x&&L.push(k[M]),y){let e,t,n,r,i=(o=f,l=v,void 0===(c=H)&&(c=!1),e=J(o),n=ee(t=Q(et(o))),r="x"===t?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",l.reference[n]>l.floating[n]&&(r=el(r)),[r,el(r)]);L.push(k[i[0]],k[i[1]])}if(D=[...D,{placement:f,overflows:L}],!L.every(e=>e<=0)){let e=((null==(r=m.flip)?void 0:r.index)||0)+1,t=R[e];if(t&&("alignment"!==y||F===et(t)||D.every(e=>et(e.placement)!==F||e.overflows[0]>0)))return{data:{index:e,overflows:D},reset:{placement:t}};let n=null==(i=D.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(b){case"bestFit":{let e=null==(a=D.filter(e=>{if(A){let t=et(e.placement);return t===F||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=p}if(f!==n)return{reset:{placement:n}}}return{}}}).name,fn:j.fn,options:[l,void 0]},{name:(z={name:"size",options:d=c={...ej,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty("--radix-popper-available-width",`${n}px`),o.setProperty("--radix-popper-available-height",`${r}px`),o.setProperty("--radix-popper-anchor-width",`${i}px`),o.setProperty("--radix-popper-anchor-height",`${a}px`)}},async fn(e){var t,n;let r,i,{placement:a,rects:o,platform:l,elements:s}=e,{apply:c=()=>{},...u}=Y(d,e),h=await l.detectOverflow(e,u),f=X(a),m=J(a),v="y"===et(a),{width:p,height:g}=o.floating;"top"===f||"bottom"===f?(r=f,i=m===(await (null==l.isRTL?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(i=f,r="end"===m?"top":"bottom");let w=g-h.top-h.bottom,x=p-h.left-h.right,y=U(g-h[r],w),j=U(p-h[i],x),b=!e.middlewareData.shift,N=y,z=j;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(z=x),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(N=w),b&&!m){let e=$(h.left,0),t=$(h.right,0),n=$(h.top,0),r=$(h.bottom,0);v?z=p-2*(0!==e||0!==t?e+t:$(h.left,h.right)):N=g-2*(0!==n||0!==r?n+r:$(h.top,h.bottom))}await c({...e,availableWidth:z,availableHeight:N});let E=await l.getDimensions(s.floating);return p!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}).name,fn:z.fn,options:[c,void 0]},q&&{name:(E={name:"arrow",options:m=f={element:q,padding:R},fn(e){let{element:t,padding:n}="function"==typeof m?m(e):m;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?eQ({element:t.current,padding:n}).fn(e):{}:t?eQ({element:t,padding:n}).fn(e):{}}}).name,fn:E.fn,options:[f,void 0]},th({arrowWidth:ed,arrowHeight:eu}),T&&{name:(M={name:"hide",options:g=v={strategy:"referenceHidden",...ej},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=Y(g,e);switch(r){case"referenceHidden":{let r=ef(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:em(r)}}}case"escaped":{let r=ef(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:em(r)}}}default:return{}}}}).name,fn:M.fn,options:[v,void 0]}]}),[eF,eC]=tf(ez),eH=N(_);B(()=>{eE&&eH?.()},[eE,eH]);let eS=eM.arrow?.x,eA=eM.arrow?.y,eR=eM.arrow?.centerOffset!==0,[ek,eL]=h.useState();return B(()=>{W&&eL(window.getComputedStyle(W).zIndex)},[W]),(0,u.jsx)("div",{ref:eb.setFloating,"data-radix-popper-content-wrapper":"",style:{...eN,transform:eE?eN.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ek,"--radix-popper-transform-origin":[eM.transformOrigin?.x,eM.transformOrigin?.y].join(" "),...eM.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,u.jsx)(ta,{scope:F,placedSide:eF,onArrowChange:es,arrowX:eS,arrowY:eA,shouldHideArrow:eR,children:(0,u.jsx)(b.div,{"data-side":eF,"data-align":eC,...I,ref:Z,style:{...I.style,animation:eE?void 0:"none"}})})})});tl.displayName=ti;var ts="PopperArrow",tc={top:"bottom",right:"left",bottom:"top",left:"right"},td=h.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=to(ts,n),a=tc[i.placedSide];return(0,u.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,u.jsx)(e5,{...r,ref:t,style:{...r.style,display:"block"}})})});function tu(e){return null!==e}td.displayName=ts;var th=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[s,c]=tf(n),d={start:"0%",center:"50%",end:"100%"}[c],u=(i.arrow?.x??0)+o/2,h=(i.arrow?.y??0)+l/2,f="",m="";return"bottom"===s?(f=a?d:`${u}px`,m=`${-l}px`):"top"===s?(f=a?d:`${u}px`,m=`${r.floating.height+l}px`):"right"===s?(f=`${-l}px`,m=a?d:`${h}px`):"left"===s&&(f=`${r.floating.width+l}px`,m=a?d:`${h}px`),{data:{x:f,y:m}}}});function tf(e){let[t,n="center"]=e.split("-");return[t,n]}var tm=h.forwardRef((e,t)=>
1{let{container:n,...r}=e,[i,a]=h.useState(!1);B(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?w.default.createPortal((0,u.jsx)(b.div,{...r,ref:t}),o):null});tm.displayName="Portal";var tv=e=>{var t;let n,r,{present:i,children:a}=e,o=function(e){var t,n;let[r,i]=h.useState(),a=h.useRef(null),o=h.useRef(e),l=h.useRef("none"),[s,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},h.useReducer((e,t)=>n[e][t]??e,t));return h.useEffect(()=>{let e=tp(a.current);l.current="mounted"===s?e:"none"},[s]),B(()=>{let t=a.current,n=o.current;if(n!==e){let r=l.current,i=tp(t);e?c("MOUNT"):"none"===i||t?.display==="none"?c("UNMOUNT"):n&&r!==i?c("ANIMATION_OUT"):c("UNMOUNT"),o.current=e}},[e,c]),B(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=n=>{let i=tp(a.current).includes(CSS.escape(n.animationName));if(n.target===r&&i&&(c("ANIMATION_END"),!o.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},i=e=>{e.target===r&&(l.current=tp(a.current))};return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}c("ANIMATION_END")},[r,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h.useCallback(e=>{a.current=e?getComputedStyle(e):null,i(e)},[])}}(i),l="function"==typeof a?a({present:o.isPresent}):h.Children.only(a),s=p(o.ref,(t=l,(r=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(r=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof a||o.isPresent?h.cloneElement(l,{ref:s}):null};function tp(e){return e?.animationName||"none"}tv.displayName="Presence",h[" useEffectEvent ".trim().toString()],h[" useInsertionEffect ".trim().toString()];var tg=h[" useInsertionEffect ".trim().toString()]||B;Symbol("RADIX:SYNC_STATE");var tw=new WeakMap,tx=new WeakMap,ty={},tj=0,tb=function(e){return e&&(e.host||tb(e.parentNode))},tN=function(e,t,n,r){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tb(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});ty[n]||(ty[n]=new WeakMap);var a=ty[n],o=[],l=new Set,s=new Set(i),c=function(e){!e||l.has(e)||(l.add(e),c(e.parentNode))};i.forEach(c);var d=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))d(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,s=(tw.get(e)||0)+1,c=(a.get(e)||0)+1;tw.set(e,s),a.set(e,c),o.push(e),1===s&&i&&tx.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return d(t),l.clear(),tj++,function(){o.forEach(function(e){var t=tw.get(e)-1,i=a.get(e)-1;tw.set(e,t),a.set(e,i),t||(tx.has(e)||e.removeAttribute(r),tx.delete(e)),i||e.removeAttribute(n)}),--tj||(tw=new WeakMap,tw=new WeakMap,tx=new WeakMap,ty={})}},tz=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),tN(r,i,n,"aria-hidden")):function(){return null}},tE=e.i(24627),tM="right-scroll-bar-position",tF="width-before-scroll-bar";function tC(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tH="u">typeof window?h.useLayoutEffect:h.useEffect,tS=new WeakMap,tA=(void 0===r&&(r={}),(void 0===i&&(i=function(e){return e}),a=[],o=!1,l={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=i(e,o);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){o=!0;var t=[];if(a.length){var n=a;
1a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),a={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),a}}}}).options=(0,tE.__assign)({async:!0,ssr:!1},r),l),tR=function(){},tk=h.forwardRef(function(e,t){var n,r,i,a,o=h.useRef(null),l=h.useState({onScrollCapture:tR,onWheelCapture:tR,onTouchMoveCapture:tR}),s=l[0],c=l[1],d=e.forwardProps,u=e.children,f=e.className,m=e.removeScrollBar,v=e.enabled,p=e.shards,g=e.sideCar,w=e.noRelative,x=e.noIsolation,y=e.inert,j=e.allowPinchZoom,b=e.as,N=e.gapMode,z=(0,tE.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=(n=[o,t],r=function(e){return n.forEach(function(t){return tC(t,e)})},(i=(0,h.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,a=i.facade,tH(function(){var e=tS.get(a);if(e){var t=new Set(e),r=new Set(n),i=a.current;t.forEach(function(e){r.has(e)||tC(e,null)}),r.forEach(function(e){t.has(e)||tC(e,i)})}tS.set(a,n)},[n]),a),M=(0,tE.__assign)((0,tE.__assign)({},z),s);return h.createElement(h.Fragment,null,v&&h.createElement(g,{sideCar:tA,removeScrollBar:m,shards:p,noRelative:w,noIsolation:x,inert:y,setCallbacks:c,allowPinchZoom:!!j,lockRef:o,gapMode:N}),d?h.cloneElement(h.Children.only(u),(0,tE.__assign)((0,tE.__assign)({},M),{ref:E})):h.createElement(void 0===b?"div":b,(0,tE.__assign)({},M,{className:f,ref:E}),u))});tk.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tk.classNames={fullWidth:tF,zeroRight:tM};var tL=function(e){var t=e.sideCar,n=(0,tE.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return h.createElement(r,(0,tE.__assign)({},n))};tL.isSideCarExport=!0;var tD=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=d||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,i;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tP=function(){var e=tD();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tT=function(){var e=tP();return function(t){return e(t.styles,t.dynamic),null}},tO={left:0,top:0,right:0,gap:0},t_=function(e){return parseInt(e||"",10)||0},tB=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[t_(n),t_(r),t_(i)]},tI=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return tO;var t=tB(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},tV=tT(),tW="data-scroll-locked",tU=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(tW,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(o,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tM," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(tF," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(tM," .").concat(tM," {\n right: 0 ").concat(r,";\n }\n \n .").concat(tF," .").concat(tF," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(tW,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},t$=function(){var e=parseInt(document.body.getAttribute(tW)||"0",10);return isFinite(e)?e:0},tG=function(){h.useEffect(function(){return document.body.setAttribute(tW,(t$()+1).toString()),function(){var e=t$()-1;e<=0?document.body.removeAttribute(tW):document.body.setAttribute(tW,e.toString())}},[])},tK=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;tG();var a=h.useMemo(function(){return tI(i)},[i]);return h.createElement(tV,{styles:tU(a,!t,i,n?"":"!important")})},tZ=!1;if("u">typeof window)try{var tq=Object.defineProperty({},"passive",{get:function(){return tZ=!0,!0}});window.addEventListener("test",tq,tq),window.removeEventListener("test",tq,tq)}catch(e){tZ=!1}var tY=!!tZ&&{passive:!1},tX=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},tJ=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),tQ(e,r)){var i=t0(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},tQ=function(e,t){return"v"===e?tX(t,"overflowY"):tX(t,"overflowX")},t0=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},t1=function(e,t,n,r,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=o*r,s=n.target,c=t.contains(s),d=!1,u=l>0,h=0,f=0;do{if(!s)break;
1var m=t0(e,s),v=m[0],p=m[1]-m[2]-o*v;(v||p)&&tQ(e,s)&&(h+=p,f+=v);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s))return u&&(i&&1>Math.abs(h)||!i&&l>h)?d=!0:!u&&(i&&1>Math.abs(f)||!i&&-l>f)&&(d=!0),d},t2=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},t3=function(e){return[e.deltaX,e.deltaY]},t4=function(e){return e&&"current"in e?e.current:e},t5=0,t6=[];let t8=(s=function(e){var t=h.useRef([]),n=h.useRef([0,0]),r=h.useRef(),i=h.useState(t5++)[0],a=h.useState(tT)[0],o=h.useRef(e);h.useEffect(function(){o.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,tE.__spreadArray)([e.lockRef.current],(e.shards||[]).map(t4),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var i,a=t2(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-a[0],c="deltaY"in e?e.deltaY:l[1]-a[1],d=e.target,u=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===u&&"range"===d.type)return!1;var h=window.getSelection(),f=h&&h.anchorNode;if(f&&(f===d||f.contains(d)))return!1;var m=tJ(u,d);if(!m)return!0;
1if(m?i=u:(i="v"===u?"h":"v",m=tJ(u,d)),!m)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=i),!i)return!0;var v=r.current||i;return t1(v,t,e,"h"===v?s:c,!0)},[]),s=h.useCallback(function(e){if(t6.length&&t6[t6.length-1]===a){var n="deltaY"in e?t3(e):t2(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(o.current.shards||[]).map(t4).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?l(e,i[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=h.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=h.useCallback(function(e){n.current=t2(e),r.current=void 0},[]),u=h.useCallback(function(t){c(t.type,t3(t),t.target,l(t,e.lockRef.current))},[]),f=h.useCallback(function(t){c(t.type,t2(t),t.target,l(t,e.lockRef.current))},[]);h.useEffect(function(){return t6.push(a),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:f}),document.addEventListener("wheel",s,tY),document.addEventListener("touchmove",s,tY),document.addEventListener("touchstart",d,tY),function(){t6=t6.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,tY),document.removeEventListener("touchmove",s,tY),document.removeEventListener("touchstart",d,tY)}},[]);var m=e.removeScrollBar,v=e.inert;return h.createElement(h.Fragment,null,v?h.createElement(a,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?h.createElement(tK,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tA.useMedium(s),tL);var t7=h.forwardRef(function(e,t){return h.createElement(tk,(0,tE.__assign)({},e,{ref:t,sideCar:t8}))});t7.classNames=tk.classNames;var t9="Popover",[ne,nt]=g(t9,[e7]),nn=e7(),[nr,ni]=ne(t9),na=e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,l=nn(t),s=h.useRef(null),[c,d]=h.useState(!1),[f,m]=function({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[i,a,o]=function({defaultProp:e,onChange:t}){let[n,r]=h.useState(e),i=h.useRef(n),a=h.useRef(t);return tg(()=>{a.current=t},[t]),h.useEffect(()=>{i.current!==n&&(a.current?.(n),i.current=n)},[n,i]),[n,r,a]}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:i;{let t=h.useRef(void 0!==e);h.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}return[s,h.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&o.current?.(n)}else a(t)},[l,e,a,o])]}({prop:r,defaultProp:i??!1,onChange:a,caller:t9});return(0,u.jsx)(tt,{...l,children:(0,u.jsx)(nr,{scope:t,contentId:function(){let[e,t]=h.useState(I());return B(()=>{t(e=>e??String(V++))},[void 0]),e?`radix-${e}`:""}(),triggerRef:s,open:f,onOpenChange:m,onOpenToggle:h.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:c,onCustomAnchorAdd:h.useCallback(()=>d(!0),[]),onCustomAnchorRemove:h.useCallback(()=>d(!1),[]),modal:o,children:n})})};na.displayName=t9;var no="PopoverAnchor";h.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ni(no,n),a=nn(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:l}=i;return h.useEffect(()=>(o(),()=>l()),[o,l]),(0,u.jsx)(tr,{...a,...r,ref:t})}).displayName=no;var nl="PopoverTrigger",ns=h.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ni(nl,n),a=nn(n),o=p(t,i.triggerRef),l=(0,u.jsx)(b.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ny(i.open),...r,ref:o,onClick:f(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?l:(0,u.jsx)(tr,{asChild:!0,...a,children:l})});ns.displayName=nl;var nc="PopoverPortal",[nd,nu]=ne(nc,{forceMount:void 0}),nh=e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=ni(nc,t);return(0,u.jsx)(nd,{scope:t,forceMount:n,children:(0,u.jsx)(tv,{present:n||a.open,children:(0,u.jsx)(tm,{asChild:!0,container:i,children:r})})})};nh.displayName=nc;var nf="PopoverContent",nm=h.forwardRef((e,t)=>
1{let n=nu(nf,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=ni(nf,e.__scopePopover);return(0,u.jsx)(tv,{present:r||a.open,children:a.modal?(0,u.jsx)(np,{...i,ref:t}):(0,u.jsx)(ng,{...i,ref:t})})});nm.displayName=nf;var nv=x("PopoverContent.RemoveScroll"),np=h.forwardRef((e,t)=>{let n=ni(nf,e.__scopePopover),r=h.useRef(null),i=p(t,r),a=h.useRef(!1);return h.useEffect(()=>{let e=r.current;if(e)return tz(e)},[]),(0,u.jsx)(t7,{as:nv,allowPinchZoom:!0,children:(0,u.jsx)(nw,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,e=>{e.preventDefault(),a.current||n.triggerRef.current?.focus()}),onPointerDownOutside:f(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;a.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:f(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),ng=h.forwardRef((e,t)=>{let n=ni(nf,e.__scopePopover),r=h.useRef(!1),i=h.useRef(!1);return(0,u.jsx)(nw,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),nw=h.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:d,...f}=e,m=ni(nf,n),v=nn(n);return h.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??S()),document.body.insertAdjacentElement("beforeend",e[1]??S()),H++,()=>{1===H&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),H--}},[]),(0,u.jsx)(L,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,u.jsx)(M,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:c,onDismiss:()=>m.onOpenChange(!1),children:(0,u.jsx)(tl,{"data-state":ny(m.open),role:"dialog",id:m.contentId,...v,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),nx="PopoverClose";function ny(e){return e?"open":"closed"}h.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=ni(nx,n);return(0,u.jsx)(b.button,{type:"button",...r,ref:t,onClick:f(e.onClick,()=>i.onOpenChange(!1))})}).displayName=nx,h.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=nn(n);return(0,u.jsx)(td,{...i,...r,ref:t})}).displayName="PopoverArrow";var nj=e.i(77622),nb=e.i(62398);e.i(43858);var nN=e.i(33950),nz=e.i(69948);let nE={en:{code:"US",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"US"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),(0,u.jsx)("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),(0,u.jsx)("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),(0,u.jsx)("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 9
16l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"})]})},bg:{code:"BG",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4",children:[(0,u.jsx)("title",{children:"BG"}),(0,u.jsx)("path",{fill:"#00966e",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.337h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#d62612",d:"M0 312.888h512v113.775H0z"})]})},"zh-CN":{code:"CN",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"CN"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),(0,u.jsx)("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"})]})},"zh-TW":{code:"TW",svg:(0,u.jsxs)("svg",{className:"icon",width:"24",height:"16",viewBox:"0 0 1218 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,u.jsx)("path",{d:"M294.841379 144.772414c194.206897-241.875862 743.282759-123.586207 812.137931 247.172414 54.731034 287.77931-268.358621 769.765517-
1512 564.965517-220.689655-185.37931-504.937931-31.77931-564.965517-317.793104-51.2-247.172414 60.027586-238.344828 264.827586-494.344827z",fill:"#4D95D8"}),(0,u.jsx)("path",{d:"M979.862069 559.668966c121.82069 0 220.689655 98.868966 220.689655 220.689655s-98.868966 220.689655-220.689655 220.689655S759.172414 902.17931 759.172414 780.358621s98.868966-220.689655 220.689655-220.689655z",fill:"#6DA5DA"}),(0,u.jsx)("path",{d:"M416.662069 317.793103l-19.42069 21.186207h197.737931c0 22.951724 0 44.137931-1.765517 63.558621h33.544828V441.37931h-37.075862c0 8.827586-1.765517 21.186207-5.296552 33.544828h22.951724v31.77931h-30.013793l-3.531035 10.593104 15.889656 12.35862c-30.013793 14.124138-61.793103 28.248276-93.572414 38.84138l114.758621-3.531035c19.42069-10.593103 45.903448-24.717241 74.151724-40.606896l44.137931 28.248276c-68.855172 38.841379-141.241379 67.089655-215.393104 88.275862 67.089655-1.765517 137.710345-7.062069 213.627586-12.358621-15.889655-12.358621-30.013793-21.186207-38.841379-26.482759l42.372414-26.482758c45.903448 28.248276 91.806897 58.262069 132.413793 93.572413l-49.434483 33.544828c-10.593103-10.593103-24.717241-22.951724-42.372414-37.075862l-137.710344 5.296552v65.324138c0 33.544828-19.42069 49.434483-60.027587 49.434482h-52.965517l-10.593103-49.434482c15.889655 1.765517 31.77931 3.531034 47.668965 3.531034 5.296552 0 8.827586 0 12.358621-3.531034 3.531034-3.531034 5.296552-7.062069 5.296552-12.358621v-49.434483c-60.027586 3.531034-123.586207 5.296552-195.972414 7.062069l-12.358621-49.434483c15.889655 1.765517 33.544828 1.765517 49.434483 1.765518 42.372414-8.827586 84.744828-22.951724 123.586207-38.84138l-125.351724 5.296552-8.827586-44.137931c15.889655 0 31.77931-1.765517 45.903448-5.296552 24.717241-8.827586 49.434483-21.186207 74.151724-31.77931l3.531034-12.358621h-169.489655c5.296552-28.248276 8.827586-51.2 10.593104-65.324138h-37.075862v-38.841379h40.606896c1.765517-19.42069 3.531034-33.544828 5.296552-44.137931l-19.42069 15.889655-31.77931-37.075862c35.310345-26.482759 63.558621-60.027586 84.744827-98.868965l51.2 10.593103-14.124137 26.482759h173.020689V317.793103H416.662069z m105.931034 402.537931c-51.2 26.482759-105.931034 47.668966-162.427586 61.793104l-22.951724-47.668966c52.965517-10.593103 104.165517-28.248276 153.6-51.2l31.77931 37.075862z m-104.165517-284.248275l-7.062069 38.841379h84.744828c-19.42069-8.827586-38.841379-15.889655-60.027586-21.186207l12.35862-19.42069h-30.013793z m40.606897-67.089656h-31.779311l-3.531034 40.606897h74.151724c-15.889655-8.827586-33.544828-14.124138-51.2-19.42069l12.358621-21.186207z m44.137931 105.931035h35.310345l7.062069-38.841379H459.034483c19.42069 5.296552 37.075862 12.358621 56.496551 19.420689l-12.35862 19.42069z m42.372414-65.324138L547.310345 370.758621h-81.213793c19.42069 5.296552 37.075862 12.358621 54.731034 21.186207l-12.35862 17.655172h37.075862z m116.524138-31.77931c-5.296552 7.062069-14.124138 17.655172-26.482759 30.013793l-33.544828-38.84138c35.310345-37.075862 61.793103-82.97931 79.448276-130.648275l52.965517 12.35862-19.420689 40.606897h153.6v49.434483h-33.544828c-8.827586 37.075862-26.482759 72.386207-49.434483 102.4 30.013793 17.655172 61.793103 31.77931 95.337931 42.372413l-28.248275 49.434483c-37.075862-12.358621-72.386207-31.77931-105.931035-52.965517-31.77931 24.717241-68.855172 40.606897-107.696552 51.2l-28.248275-44.137931c35.310345-7.062069 67.089655-21.186207 97.103448-40.606897-19.42069-22.951724-35.310345-45.903448-45.903448-70.620689z m40.606896 303.668965c54.731034 12.358621 109.462069 30.013793 162.427586 51.2l-31.77931 49.434483c-52.965517-22.951724-107.696552-42.372414-164.193104-54.731035l33.544828-45.903448z m-8.827586-344.275862c10.593103 28.248276 26.482759 52.965517 49.434483 74.151724 17.655172-21.186207 31.77931-47.668966 40.606896-74.151724h-90.041379z m0 0",fill:"#FFFFFF"})]})},ja:{code:"JP",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"JP"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),(0,u.jsx)("circle",{fill:"#D80027",cx:"256",cy:"255.994",r:"96"})]})},da:{code:"DK",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"DK"}),(0,u.jsx)("path",{fill:"#c60c30",d:"M0 0h513v342H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"})]})},de:{code:"DE",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"DE"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),(0,u.jsx)("path",{d:"M0 85.331h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#FFDA44",d:"M0 312.882h512v113.775H0z"})]})},es:{code:"ES",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"ES"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),(0,u.jsx)("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),(0,u.jsx)("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),(0,u.jsx)("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),(0,u.jsx)("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"})]})},fr:{code:"FR",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"FR"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"})]})},it:{code:"IT",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"IT"}),(0,u.jsx)("path",{fill:"#FFF",d:"M341.334 85.33H0v341.332h512V85.33z"}),(0,u.jsx)("path",{fill:"#6DA544",d:"M0 85.333h170.663V426.67H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M341.337 85.333H512V426.67H341.337z"})]})},hu:{code:"HU",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"HU"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#6DA544",d:"M0 312.888h512v113.775H0z"})]})},nl:{code:"NL",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.5 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"NL"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),(0,u.jsx)("path",{fill:"#cd1f2a",d:"M0 85.5h513v114H0z"}),(0,u.jsx)("path",{fill:"#1d4185",d:"M0 312h513v114H0z"})]})},no:{code:"NO",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"NO"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),(0,u.jsx)("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"})]})},pl:{code:"PL",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"PL"}),(0,u.jsxs)("g",{fill:"#FFF",children:[(0,u.jsx)("path",{d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{d:"M0 85.337h512V256H0z"})]}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 256h512v170.663H0z"})]})},pt:{code:"PT",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"PT"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#6DA544",d:"M196.641 85.337v341.326H0V85.337z"}),(0,u.jsx)("circle",{fill:"#FFDA44",cx:"196.641",cy:"256",r:"64"}),(0,u.jsx)("path",{fill:"#D80027",d:"M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"})]})},fi:{code:"FI",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"FI"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h512v341.3H0z"}),(0,u.jsx)("path",{fill:"#2E52B2",d:"M512 129.3V212H203.7v129.3H121V212H0v-82.7h121V0h82.7v129.3z"})]})},sv:{code:"SE",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"SE"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),(0,u.jsx)("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"})]})},tr:{code:"TR",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"TR"}),(0,u.jsx)("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c
15.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"})]})},el:{code:"GR",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"GR"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),(0,u.jsxs)("g",{fill:"#0d5eaf",children:[(0,u.jsx)("path",{d:"M0 0h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z"}),(0,u.jsx)("path",{d:"M0 0h190v190H0z"})]}),(0,u.jsxs)("g",{fill:"#FFF",children:[(0,u.jsx)("path",{d:"M0 76h190v38H0z"}),(0,u.jsx)("path",{d:"M76 0h38v190H76z"})]})]})},ru:{code:"RU",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"RU"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.33v341.332h512V85.33z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.333h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 312.884h512v113.775H0z"})]})},uk:{code:"UA",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"UA"}),(0,u.jsx)("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"})]})},he:{code:"IL",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"IL"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),(0,u.jsx)("path",{d:"M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zm0 256h512V320H0z",fill:"#2E52B2"})]})},ko:{code:"KR",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"KR"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h900v600H0z"}),(0,u.jsxs)("g",{transform:"rotate(-56.31)",children:[(0,u.jsx)("path",{d:"M-75 228.3H75m-150 37.5H75m-150 37.5H75m-150 475H75m-150 37.5H75m-150 37.5H75",stroke:"#000",strokeWidth:"25"}),(0,u.jsx)("path",{stroke:"#FFF",strokeWidth:"12.5",d:"M0 753.3v125"}),(0,u.jsx)("circle",{fill:"#ca163a",cy:"540.8",r:"150"}),(0,u.jsx)("path",{fill:"#0e4896",d:"M0 390.8c-41.4 0-75 33.6-75 75s33.6 75 75 75 75 33.6 75 75-33.6 75-75 75c-82.8 0-150-67.2-150-150s67.2-150 150-150z"})]}),(0,u.jsx)("path",{d:"m231.56 535.73-83.205-124.808M262.76 514.928l-83.205-124.807m114.407 104.006-83.205-124.808m478.43-138.675-83.205-124.807M720.39 209.843 637.184 85.036m114.407 104.006L668.386 64.234",stroke:"#000",strokeWidth:"25"}),(0,u.jsx)("path",{stroke:"#FFF",strokeWidth:"12.5",d:"m205.6 462.897 31.202-20.8m389.981-259.989 36.444-24.296m31.202-20.801 31.202-20.801"})]})},ar:{code:"SA",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"SA"}),(0,u.jsx)("path",{fill:"#055e1c",d:"M0 85.333h512v341.333H0z"}),(0,u.jsxs)("g",{fill:"#FFF",children:[(0,u.jsx)("path",{d:"M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zm146.716-107.595v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zm-155.773 51.943c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"}),(0,u.jsx)("path",{d:"M297.661 181.788h21.736v51.942h-21.736zm-32.604 29.685c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"}),(0,u.jsx)("path",{d:"M207.093 248.57h32.601v22.261h-32.601z"})]})]})},id:{code:"ID",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"ID"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.333h512v341.333H0z"}),(0,u.jsx)("path",{fill:"#E00",d:"M0 85.333h512V256H0z"})]})},ca:{code:"CA",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 9 6",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"CA"}),(0,u.jsx)("rect",{width:"9",height:"6",fill:"#ffca00"}),(0,u.jsxs)("g",{fill:"#c8102e",children:[(0,u.jsx)("rect",{y:"0.6667",width:"9",height:"0.6667"}),(0,u.jsx)("rect",{y:"2.0000",width:"9",height:"0.6667"}),(0,u.jsx)("rect",{y:"3.3333",width:"9",height:"0.6667"}),(0,u.jsx)("rect",{y:"4.6667",width:"9",height:"0.6667"})]})]})},cs:{code:"CZ",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"CZ"}),(0,u.jsx)("path",{fill:"#11457e",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#d7141a",d:"M512 256v170.663H0L215.185 256z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M512 85.337V256H215.185L0 85.337z"})]})},et:{code:"EE",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"EE"}),(0,u.jsx)("path",{fill:"#111",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#368FD8",d:"M0 85.337h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 312.888h512v113.775H0z"})]})},hr:{code:"HR",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"HR"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}),(0,u.jsx)("path",{d:"M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zm-105.6 0v-44l-17.3-14.4-17.9 14.4v44zm35.2 0v-44l17.6-14.4 17.6 14.4v44z",fill:"#338AF3"}),(0,u.jsx)("path",{d:"M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zm-70.4 0h-35.2v-44l17.5-14.4 17.7 14.4z",fill:"#0052B4"}),(0,u.jsx)("path",{stroke:"#D80027",fill:"#FFF",d:"M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"}),(0,u.jsx)("path",{d:"M168.5 113.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm35.2 35.2h35.2V254h-35.2zm35.2-35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-35.2 35.2h35.2V254h-35.2zm35.2 55.5c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zm57.2 0v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z",fill:"#D80027"})]})},lv:{code:"LV",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"LV"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),(0,u.jsx)("path",{className:"prefix__st1",d:"M0 0h513v127.6H0zm0 214.4h513V342H0z",fill:"#A2001D"})]})},lt:{code:"LT",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"LT"}),(0,u.jsx)("path",{fill:"#6DA544",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#FFDA44",d:"M0 85.337h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"})]})},ro:{code:"RO",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"RO"}),(0,u.jsx)("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"})]})},sq:{code:"AL",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"AL"}),(0,u.jsx)("path",{fill:"#ED2024",d:"M0 0h90v60H0z"}),(0,u.jsx)("path",{fill:"#212121",d:"M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"}),(0,u.jsx)("path",{d:"M26.2 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM57.4 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM53.4 36.1h6.4V38h-6.4zm-23.2 0h6.4V38h-6.4z",fill:"#212121"})]})},sk:{code:"SK",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"SK"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 196.641h512v118.717H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 315.359h512v111.304H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"})]})},sl:{code:"SI",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"SI"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 199.112h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522
1-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"})]})},vi:{code:"VN",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"VN"}),(0,u.jsx)("path",{fill:"#D80027",d:"M196.641 85.337H0v341.326h512V85.337z"}),(0,u.jsx)("path",{fill:"#FFDA44",d:"m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"})]})},uz:{code:"UZ",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"UZ"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),(0,u.jsx)("path",{fill:"#6DA544",d:"M0 322.783h512v103.88H0z"}),(0,u.jsx)("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 210.877h512v89.656H0z"}),(0,u.jsx)("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),(0,u.jsx)("path",{d:"M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zm45.97 15.177 2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm23.347 0 2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zm23.347 0 2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm-70.042-24.284 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm23.347 0 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm-46.695-24.284 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z",fill:"#FFF"})]})},sr:{code:"RS",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"RS"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 85.331h512v341.337H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M0 85.331h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 312.882h512v113.775H0z"}),(0,u.jsx)("path",{fill:"#D80027",d:"M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"}),(0,u.jsx)("path",{d:"M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zm85.526 82.148-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z",fill:"#FFDA44"}),(0,u.jsx)("path",{fill:"#FFF",d:"M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"})]})},fa:{code:"IR",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"IR"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),(0,u.jsx)("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),(0,u.jsx)("path",{d:"M0 227.9h513v114H0zm278.8-93.1c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z",fill:"#D80027"}),(0,u.jsx)("path",{d:"M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zm89.2 0h22.3v24.4H89.2zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4H223zm44.7 0H290v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0H513v24.4h-22.3zm-446.1 118h22.3v25.5H44.6zm-44.6 0h22.3v25.5H0zm89.2 0h22.3v25.5H89.2zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5H223zm44.7 0H290v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0H513v25.5h-22.3z",fill:"#FFF",opacity:"0.5"})]})},hi:{code:"IN",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"IN"}),(0,u.jsx)("path",{fill:"#181A93",d:"M17.3 0h478.4v342H17.3V0z"}),(0,u.jsx)("path",{fill:"#FFA44A",d:"M0 0h513v114H0V0z"}),(0,u.jsx)("path",{fill:"#1A9F0B",d:"M0 228h513v114H0V228z"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 114h513v114H0V114z"}
1),(0,u.jsx)("circle",{fill:"#FFF",cx:"256.5",cy:"171",r:"34.2"}),(0,u.jsx)("path",{fill:"#181A93",d:"M256.5 216.6c-25.1 0-45.6-20.5-45.6-45.6s20.5-45.6 45.6-45.6 45.6 20.5 45.6 45.6-20.5 45.6-45.6 45.6zm0-11.4c18.2 0 34.2-16 34.2-34.2s-15.9-34.2-34.2-34.2-34.2 16-34.2 34.2 16 34.2 34.2 34.2z"}),(0,u.jsx)("circle",{fill:"#181A93",cx:"256.5",cy:"171",r:"22.8"})]})},th:{code:"TH",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"TH"}),(0,u.jsx)("path",{fill:"#FFF",d:"M0 85.334h512V426.66H0z"}),(0,u.jsx)("path",{fill:"#0052B4",d:"M0 194.056h512v123.882H0z"}),(0,u.jsx)("path",{d:"M0 85.334h512v54.522H0zm0 286.809h512v54.522H0z",fill:"#D80027"})]})},ms:{code:"MY",svg:(0,u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13440 6720",fill:"none",className:"w-6 h-4 rounded-sm",children:[(0,u.jsx)("title",{children:"Flag of Malaysia"}),(0,u.jsxs)("g",{transform:"scale(480)",children:[(0,u.jsx)("path",{fill:"#fff",d:"m0 0h28v14H0z"}),(0,u.jsx)("path",{stroke:"#c00",d:"m1 .5h27m0 2H1m0 2h27m0 2H1"}),(0,u.jsx)("path",{fill:"#006",d:"m0 0h14v8.5H0z"}),(0,u.jsx)("path",{stroke:"#c00",d:"m0 8.5h28m0 2H0m0 2h28"})]}),(0,u.jsx)("path",{fill:"#fc0",d:"m4200 720 107 732 414-613-222 706 639-373-506 540 738-59-690 267 690 267-738-59 506 540-639-373 222 706-414-613-107 732-107-732-414 613 222-706-639 373 506-540-738 59 690-267-690-267 738 59-506-540 639 373-222-706 414 613zm-600 30a1280 1280 0 1 0 0 2340 1440 1440 0 1 1 0-2340z"})]})}},nM={en:{code:"en",nativeName:"English",englishName:"English",chineseName:"è±è¯",flag:nE.en.svg},"zh-CN":{code:"zh-CN",nativeName:"ç®ä½ä¸æ",englishName:"Simplified Chinese",chineseName:"ç®ä½ä¸æ",flag:nE["zh-CN"].svg},"zh-TW":{code:"zh-TW",nativeName:"ç¹é«ä¸æ",englishName:"Traditional Chinese",chineseName:"ç¹ä½ä¸æ",flag:nE["zh-TW"].svg},ja:{code:"ja",nativeName:"æ¥æ¬èª",englishName:"Japanese",chineseName:"æ¥è¯",flag:nE.ja.svg},ko:{code:"ko",nativeName:"íêµì´",englishName:"Korean",chineseName:"é©è¯",flag:nE.ko.svg},fr:{code:"fr",nativeName:"Français",englishName:"French",chineseName:"æ³è¯",flag:nE.fr.svg},de:{code:"de",nativeName:"Deutsch",englishName:"German",chineseName:"å¾·è¯",flag:nE.de.svg},es:{code:"es",nativeName:"Español",englishName:"Spanish",chineseName:"西ççè¯",flag:nE.es.svg},it:{code:"it",nativeName:"Italiano",englishName:"Italian",chineseName:"æå¤§å©è¯",flag:nE.it.svg},ru:{code:"ru",nativeName:"Ð ÑÑÑкий",englishName:"Russian",chineseName:"ä¿è¯",flag:nE.ru.svg},pt:{code:"pt",nativeName:"Português",englishName:"Portuguese",chineseName:"è¡èçè¯",flag:nE.pt.svg},nl:{code:"nl",nativeName:"Nederlands",englishName:"Dutch",chineseName:"è·å
°è¯",flag:nE.nl.svg},pl:{code:"pl",nativeName:"Polski",englishName:"Polish",chineseName:"æ³¢å
°è¯",flag:nE.pl.svg},tr:{code:"tr",nativeName:"Türkçe",englishName:"Turkish",chineseName:"åè³å
¶è¯",flag:nE.tr.svg},ar:{code:"ar",nativeName:"Ø§ÙØ¹Ø±Ø¨ÙØ©",englishName:"Arabic",chineseName:"é¿æä¼¯è¯",flag:nE.ar.svg},he:{code:"he",nativeName:"×¢×ר×ת",englishName:"Hebrew",chineseName:"å¸ä¼¯æ¥è¯",flag:nE.he.svg},da:{code:"da",nativeName:"Dansk",englishName:"Danish",chineseName:"丹麦è¯",flag:nE.da.svg},sv:{code:"sv",nativeName:"Svenska",englishName:"Swedish",chineseName:"çå
¸è¯",flag:nE.sv.svg},fi:{code:"fi",nativeName:"Suomi",englishName:"Finnish",chineseName:"è¬å
°è¯",flag:nE.fi.svg},el:{code:"el",nativeName:"Îλληνικά",englishName:"Greek",chineseName:"å¸è
è¯",flag:nE.el.svg},hu:{code:"hu",nativeName:"Magyar",englishName:"Hungarian",chineseName:"åçå©è¯",flag:nE.hu.svg},no:{code:"no",nativeName:"Norsk",englishName:"Norwegian",chineseName:"æªå¨è¯",flag:nE.no.svg},uk:{code:"uk",nativeName:"УкÑаÑнÑÑка",englishName:"Ukrainian",chineseName:"ä¹å
å
°è¯",flag:nE.uk.svg},zh:{code:"zh",nativeName:"䏿",englishName:"Chinese",chineseName:"䏿",flag:nE["zh-CN"].svg},id:{code:"id",nativeName:"Bahasa Indonesia",englishName:"Indonesian",chineseName:"å°åº¦å°¼è¥¿äºè¯",flag:nE.id.svg},ca:{code:"ca",nativeName:"Català ",englishName:"Catalan",chineseName:"å æ³°ç½å°¼äºè¯",flag:nE.ca.svg},cs:{code:"cs",nativeName:"ÄeÅ¡tina",englishName:"Czech",chineseName:"æ·å
è¯",flag:nE.cs.svg},et:{code:"et",nativeName:"Eesti",englishName:"Estonian",chineseName:"ç±æ²å°¼äºè¯",flag:nE.et.svg},hr:{code:"hr",nativeName:"Hrvatski",englishName:"Croatian",chineseName:"å
ç½å°äºè¯",flag:nE.hr.svg},lv:{code:"lv",nativeName:"LatvieÅ¡u",englishName:"Latvian",chineseName:"æè±ç»´äºè¯",flag:nE.lv.svg},lt:{code:"lt",nativeName:"Lietuvių",englishName:"Lithuanian",chineseName:"ç«é¶å®è¯",flag:nE.lt.svg},ro:{code:"ro",nativeName:"RomânÄ",englishName:"Romanian",chineseName:"ç½é©¬å°¼äºè¯",flag:nE.ro.svg},sq:{code:"sq",nativeName:"Shqip",englishName:"Albanian",chineseName:"é¿å°å·´å°¼äºè¯",flag:nE.sq.svg},sk:{code:"sk",nativeName:"SlovenÄina",englishName:"Slovak",chineseName:"æ¯æ´ä¼å
è¯",flag:nE.sk.svg},sl:{code:"sl",nativeName:"SlovenÅ¡Äina",englishName:"Slovenian",chineseName:"æ¯æ´æå°¼äºè¯",flag:nE.sl.svg},vi:{code:"vi",nativeName:"Tiếng Viá»t",englishName:"Vietnamese",chineseName:"è¶åè¯",flag:nE.vi.svg},uz:{code:"uz",nativeName:"OÊ»zbekcha",englishName:"Uzbek",chineseName:"ä¹å
¹å«å
è¯",flag:nE.uz.svg},sr:{code:"sr",nativeName:"СÑпÑки",englishName:"Serbian",chineseName:"å¡å°ç»´äºè¯",flag:nE.sr.svg},fa:{code:"fa",nativeName:"ÙØ§Ø±Ø³Û",englishName:"Persian",chineseName:"æ³¢æ¯è¯",flag:nE.fa.svg},hi:{code:"hi",nativeName:"हिनà¥à¤¦à¥",englishName:"Hindi",chineseName:"å°å°è¯",flag:nE.hi.svg},th:{code:"th",nativeName:"à¹à¸à¸¢",englishName:"Thai",chineseName:"æ³°è¯",flag:nE.th.svg},bg:{code:"bg",nativeName:"ÐÑлгаÑÑки",englishName:"Bulgarian",chineseName:"ä¿å å©äºè¯",flag:nE.bg.svg},ms:{code:"ms",nativeName:"Bahasa Melayu",englishName:"Malay",chineseName:"马æ¥è¯",flag:nE.ms.svg}},nF=["en","ja","id","ms","ca","cs","sr","da","de","et","es","el","fr","hr","
1it","lv","lt","hu","nl","no","uz","pl","pt","ru","ro","sq","sk","sl","fi","sv","vi","tr","uk","he","ko","ar","bg","zh-CN","zh-TW","fa","hi","th"].filter(e=>nz.SUPPORTED_LANGUAGES.includes(e)).map(e=>nM[e]),nC="NEXT_LOCALE";function nH(){return(0,u.jsx)("svg",{className:"language-selector-heading-icon",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,u.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.9",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0c2.15-2.18 3.3-5.2 3.3-9S14.15 5.18 12 3m0 18c-2.15-2.18-3.3-5.2-3.3-9S9.85 5.18 12 3M3.6 9h16.8M3.6 15h16.8"})})}function nS(){var e;let t=(0,nb.useParams)(),n=(0,nb.usePathname)(),{t:r}=(0,nN.useTranslation)("common"),i="string"==typeof t.lang?t.lang:null,a=function(e){if("u"<typeof document)return null;let t=document.cookie.split("; ").find(t=>t.startsWith(`${e}=`));return t?decodeURIComponent(t.split("=").slice(1).join("=")):null}(nC),o="zh"===(e=i||a||nz.DEFAULT_LANGUAGE)?nM["zh-CN"]:nM[e]??nM.en,[l,s]=(0,h.useState)(!1),[c,d]=(0,h.useState)(null),f=(0,h.useRef)(null),m=(0,h.useRef)(null),v=(0,h.useCallback)(()=>{let e=f.current;if(!e)return;let t=e.getBoundingClientRect();window.innerWidth<=720?d({position:"fixed",top:64,right:12,left:12,width:"auto"}):d({position:"fixed",top:t.bottom+10,right:Math.max(12,window.innerWidth-t.right),width:Math.min(320,window.innerWidth-32)})},[]);return(0,h.useEffect)(()=>{if(l)return v(),window.addEventListener("resize",v),window.addEventListener("scroll",v,!0),document.addEventListener("mousedown",e),()=>{window.removeEventListener("resize",v),window.removeEventListener("scroll",v,!0),document.removeEventListener("mousedown",e)};function e(e){let t=e.target;f.current&&!f.current.contains(t)&&m.current&&!m.current.contains(t)&&s(!1)}},[l,v]),(0,u.jsxs)("div",{className:"language-selector",ref:f,children:[(0,u.jsxs)("button",{className:"language-selector-trigger",type:"button","aria-expanded":l,"aria-label":r("language.selectorLabel"),onClick:()=>{v(),s(e=>!e)},children:[(0,u.jsx)("span",{className:"language-selector-flag","aria-hidden":"true",children:o.flag}),(0,u.jsx)("span",{className:"language-selector-current",children:o.nativeName})]}),l&&c&&"u">typeof document?(0,w.createPortal)((0,u.jsxs)("div",{className:"language-selector-menu",ref:m,role:"menu",style:c,children:[(0,u.jsxs)("div",{className:"language-selector-heading",children:[(0,u.jsx)(nH,{}),(0,u.jsx)("span",{children:r("language.interfaceLanguage")})]}),(0,u.jsx)("div",{className:"language-selector-list",children:nF.map(e=>{let t=o.code===e.code;return(0,u.jsxs)("button",{className:`language-selector-option${t?" language-selector-option-active":""}`,role:"menuitemradio","aria-checked":t,type:"button",onClick:()=>{var t;let r,i,a;return t=e.code,document.cookie=`${nC}=${encodeURIComponent(t)}; path=/; max-age=31536000`,r=window.location.search,void window.location.replace(`${(a=(i=n.split("/").filter(Boolean))[0],(0,nz.isSupportedLanguage)(a)&&i.shift(),e.code!==nz.DEFAULT_LANGUAGE&&i.unshift(e.code),`/${i.join("/")}`||"/")}${r}`)},children:[(0,u.jsx)("span",{className:"language-selector-flag","aria-hidden":"true",children:e.flag}),(0,u.jsxs)("span",{className:"language-selector-option-copy",children:[(0,u.jsx)("strong",{children:e.nativeName}),e.nativeName!==e.englishName?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("span",{className:"language-selector-name-separator","aria-hidden":"true",children:"·"}),(0,u.jsx)("span",{children:e.englishName})]}):null]}),t?(0,u.jsx)("span",{"aria-hidden":"true",children:"â"}):null]},e.code)})})]}),document.body):null]})}var nA=e.i(45029),nR=e.i(66065),nk=e.i(15940);function nL({compact:e=!1}){return(0,u.jsxs)("span",{className:`brand-logo${e?" brand-logo-compact":""}`,"aria-label":nR.siteConfig.name,children:[(0,u.jsx)("img",{className:"brand-logo-mark",src:`/icon.svg?v=${nR.siteConfig.assetVersion}`,alt:"","aria-hidden":"true"}),e?null:(0,u.jsx)("span",{children:nR.siteConfig.name})]})}let nD=[{href:"/",label:"Home",match:e=>"/"===e},{href:"/pricing",label:"Pricing",match:e=>"/pricing"===e},{href:"/support",label:"Support",match:e=>"/support"===e}];
1function nP(e,t){let n,r=(n=t.split("/").filter(Boolean)[0],(0,nz.isSupportedLanguage)(n)?n:nz.DEFAULT_LANGUAGE);return r===nz.DEFAULT_LANGUAGE?e:"/"===e?`/${r}`:`/${r}${e}`}function nT(e){let t=new URLSearchParams;return("/pricing"===e&&t.set("next","/pricing"),0===t.size)?"/login":`/login?${t.toString()}`}function nO(){return(0,u.jsx)("svg",{className:"top-tab-download-icon",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.15 6.9c-.95 0-2.42-1.08-3.96-1.04-2.04.03-3.91 1.18-4.96 3.01-2.12 3.68-.55 9.1 1.52 12.09 1.01 1.45 2.21 3.09 3.79 3.04 1.52-.07 2.09-.99 3.94-.99 1.83 0 2.35.99 3.96.95 1.64-.03 2.68-1.48 3.68-2.95 1.16-1.69 1.64-3.33 1.66-3.42-.04-.01-3.18-1.22-3.22-4.86-.03-3.04 2.48-4.49 2.6-4.56-1.43-2.09-3.62-2.32-4.39-2.38-2-.16-3.68 1.09-4.61 1.09Zm3.38-3.07c.84-1.01 1.4-2.43 1.25-3.83-1.21.05-2.66.81-3.53 1.82-.78.9-1.45 2.34-1.27 3.71 1.34.1 2.72-.69 3.56-1.7Z"})})}function n_(){return(0,u.jsx)("svg",{className:"top-tab-auth-icon",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,u.jsx)("path",{fill:"currentColor",d:"M12 12.25a4.4 4.4 0 1 0 0-8.8 4.4 4.4 0 0 0 0 8.8Zm0 2.05c-4.02 0-7.25 2.2-7.25 4.95 0 .72.58 1.3 1.3 1.3h11.9c.72 0 1.3-.58 1.3-1.3 0-2.75-3.23-4.95-7.25-4.95Z"})})}function nB(){return(0,u.jsx)("svg",{className:"top-tab-menu-icon",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,u.jsx)("path",{fill:"currentColor",d:"M4 6.75h16v1.8H4v-1.8Zm0 4.35h16v1.8H4v-1.8Zm0 4.35h16v1.8H4v-1.8Z"})})}function nI(){return(0,u.jsx)("svg",{className:"top-tab-menu-icon",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,u.jsx)("path",{fill:"currentColor",d:"m6.4 5.1 5.6 5.58 5.6-5.58 1.3 1.3-5.58 5.6 5.58 5.6-1.3 1.3-5.6-5.58-5.6 5.58-1.3-1.3 5.58-5.6L5.1 6.4l1.3-1.3Z"})})}e.s(["HeaderTabs",0,function(){let e,t=(0,nb.usePathname)(),n=(e=t.split("/").filter(Boolean),(0,nz.isSupportedLanguage)(e[0])&&e.shift(),`/${e.join("/")}`||"/"),{t:r}
1=(0,nN.useTranslation)("common"),i=(0,nk.getSupabaseBrowserClient)(),[a,o]=(0,h.useState)(null),[l,s]=(0,h.useState)(!1),[c,d]=(0,h.useState)(!1),[f,m]=(0,h.useState)(!1),v=(a?.trim().charAt(0)||"A").toUpperCase();function p(){(0,nA.trackMixpanelEvent)("Header Sign Out Requested",{pathname:t});let e=nP("/",t);(0,nk.clearSupabaseBrowserSessionOnly)(),(0,nA.resetMixpanelIdentity)(),o(null),s(!1),window.location.replace(e)}function g(){(0,nA.trackMixpanelEvent)("Landing Download Clicked",{button_position:"header",page_path:n,download_platform:"macos"})}function x(e){(0,nA.trackMixpanelEvent)("signin"===e?"Header Sign In Clicked":"Header Sign Up Clicked",{pathname:n})}return(0,h.useEffect)(()=>{m(!0)},[]),(0,h.useEffect)(()=>{if(!i)return;let e=!0;i.auth.getSession().then(({data:t})=>{e&&o(t.session?.user.email??null)});let{data:{subscription:t}}=i.auth.onAuthStateChange((e,t)=>{o(t?.user.email??null),t||s(!1)});return()=>{e=!1,t.unsubscribe()}},[i]),(0,h.useEffect)(()=>{if(!c)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[c]),(0,h.useEffect)(()=>{d(!1)},[t]),(0,u.jsxs)("nav",{className:"top-tabs-shell","aria-label":"Primary",children:[(0,u.jsx)(nj.default,{className:"top-tab-brand",href:nP("/",t),"aria-label":"WhisperInput.ai home",children:(0,u.jsx)(nL,{})}),(0,u.jsx)("button",{className:"top-tab-mobile-menu-trigger",type:"button","aria-label":"Open menu","aria-expanded":c,onClick:function(){(0,nA.trackMixpanelEvent)("Mobile Menu Opened",{pathname:n}),d(!0)},children:(0,u.jsx)(nB,{})}),(0,u.jsx)("div",{className:"top-tabs-group",children:nD.map(e=>{let i=e.match(n);return(0,u.jsx)(nj.default,{className:`top-tab-link${i?" top-tab-link-active":""}`,href:nP(e.href,t),"aria-current":i?"page":void 0,children:r(`nav.${"Home"===e.label?"home":e.label.toLowerCase()}`)},e.href)})}),(0,u.jsxs)(nj.default,{className:"top-tab-download",href:nP(nR.siteConfig.desktopDownloadPageUrl,t),onClick:g,children:[(0,u.jsx)(nO,{}),(0,u.jsx)("span",{children:r("nav.downloadForMac")})]}),(0,u.jsx)(nS,{}),a?(0,u.jsxs)(na,{open:l,onOpenChange:s,children:[(0,u.jsx)(ns,{asChild:!0,children:(0,u.jsx)("button",{className:"top-tab-account top-tab-account-button",type:"button","aria-label":r("nav.accountMenu"),children:v})}),(0,u.jsx)(nh,{children:(0,u.jsxs)(nm,{className:"top-tab-account-menu",align:"end",sideOffset:12,collisionPadding:14,children:[(0,u.jsxs)("div",{className:"top-tab-account-email",children:[(0,u.jsx)("span",{children:v}),(0,u.jsx)("strong",{children:a})]}),(0,u.jsxs)(nj.default,{className:"top-tab-account-menu-item",href:"/account",role:"menuitem",onClick:()=>{(0,nA.trackMixpanelEvent)("Header Account Settings Clicked",{pathname:n}),s(!1)},children:[(0,u.jsx)("span",{"aria-hidden":"true",children:"@"}),r("nav.accountSettings")]}),(0,u.jsxs)("button",{className:"top-tab-account-signout",type:"button",role:"menuitem",onClick:p,children:[(0,u.jsx)("span",{"aria-hidden":"true",children:"âª"}),r("nav.signOut")]})]})})]}):(0,u.jsx)("div",{className:"top-tab-auth-actions","aria-label":"Account access",children:(0,u.jsxs)(nj.default,{className:"top-tab-auth-link top-tab-auth-link-primary",href:nP(nT(n),t),onClick:()=>x("signin"),children:[(0,u.jsx)(n_,{}),(0,u.jsx)("span",{children:r("nav.signInSignUp")})]})}),f&&c?(0,w.createPortal)((0,u.jsxs)("div",{className:"mobile-menu-layer",role:"presentation",children:[(0,u.jsx)("button",{className:"mobile-menu-backdrop",type:"button","aria-label":"Close menu",onClick:()=>d(!1)}),(0,u.jsxs)("div",{className:"mobile-menu-panel",role:"dialog","aria-modal":"true","aria-label":"Menu",children:[(0,u.jsxs)("div",{className:"mobile-menu-heading",children:[(0,u.jsx)(nL,{}),(0,u.jsx)("button",{className:"mobile-menu-close",type:"button","aria-label":"Close menu",onClick:()=>d(!1),children:(0,u.jsx)(nI,{})})]}),(0,u.jsxs)("nav",{className:"mobile-menu-list","aria-label":"Mobile navigation",children:[nD.map(e=>{let i=e.match(n);return(0,u.jsx)(nj.default,{className:`mobile-menu-item${i?" mobile-menu-item-active":""}`,href:nP(e.href,t),onClick:()=>d(!1),children:r(`nav.${"Home"===e.label?"home":e.label.toLowerCase()}`)},e.href)}),(0,u.jsx)(nj.default,{className:"mobile-menu-item mobile-menu-item-strong",href:nP(nR.siteConfig.desktopDownloadPageUrl,t),onClick:()=>{g(),d(!1)},children:r("nav.downloadForMac")}),a?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(nj.default,{className:"mobile-menu-item",href:nP("/account",t),onClick:()=>d(!1),children:r("nav.accountSettings")}),(0,u.jsx)("button",{className:"mobile-menu-item mobile-menu-button",type:"button",onClick:p,children:r("nav.signOut")})]}):(0,u.jsx)(nj.default,{className:"mobile-menu-item",href:nP(nT(n),t),onClick:()=>{x("signin"),d(!1)},children:r("nav.signInSignUp")})]})]})]}),document.body):null]})}],44997)},97400,(e,t,n)=>{t.exports=e.r(74780)},2667,e=>{"use strict";var t=e.i(4137),n=e.i(47039),r=e.i(97400),i=e.i(96515);e.s(["HubSpotScript",0,()=>
1{let[e,a]=(0,n.useState)(void 0),[o,l]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{let e=()=>{a(window.innerWidth<=768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,n.useEffect)(()=>{let e=()=>{l((0,i.hasAcceptedCookieConsent)())};return e(),window.addEventListener(i.COOKIE_CONSENT_CHANGED_EVENT,e),()=>window.removeEventListener(i.COOKIE_CONSENT_CHANGED_EVENT,e)},[]),void 0===e||e||!o)?null:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.default,{type:"text/javascript",id:"hs-script-loader",src:"https://js-na2.hs-scripts.com/242313251.js",strategy:"lazyOnload",async:!0,defer:!0})})}])},270,e=>{"use strict";var t=e.i(4137),n=e.i(62398),r=e.i(97400),i=e.i(47039),a=e.i(96515),o=e.i(76112),l=e.i(12755);e.s(["ThirdPartyScripts",0,function(){let e=(0,n.usePathname)(),[s,c]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>{c((0,a.hasAcceptedCookieConsent)())};return e(),window.addEventListener(a.COOKIE_CONSENT_CHANGED_EVENT,e),()=>window.removeEventListener(a.COOKIE_CONSENT_CHANGED_EVENT,e)},[]),"/downloads"===e||"/congratulations-mac"===e||e.startsWith("/desktop/mac-apple-silicon/download")||e.startsWith("/desktop/mac-intel/download")?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{id:"google-ads-tag",src:`https://www.googletagmanager.com/gtag/js?id=${l.googleAdsId}`,strategy:"lazyOnload"}),(0,t.jsx)(r.default,{id:"google-ads-config",strategy:"lazyOnload",children:` 2 window.dataLayer = window.dataLayer || []; 3 function gtag(){dataLayer.push(arguments);} 4 gtag('js', new Date()); 5 ${l.googleAdsIds.map(e=>`gtag('config', '${e}');`).join("\n ")} 6 `}),s?(0,t.jsx)(r.default,{id:"microsoft-clarity",strategy:"lazyOnload",children:` 7 (function(c,l,a,r,i,t,y){ 8 c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)}; 9 t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i; 10 y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y); 11 })(window, document, "clarity", "script", "wek315rvqg"); 12 `}):null,"/pricing"===e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{id:"fsc-api",src:"https://sbl.onfastspring.com/sbl/1.0.7/fastspring-builder.min.js",type:"text/javascript","data-storefront":o.fastSpringStorefront,"data-popup-closed":"onFSPopupClosed",strategy:"afterInteractive"}),(0,t.jsx)(r.default,{id:"fastspring-popup-closed",strategy:"afterInteractive",children:` 13 window.onFSPopupClosed = function(orderReference) { 14 window.dispatchEvent(new Event('fastspring-popup-closed')); 15 try { 16 if (window.fastspring && window.fastspring.builder) window.fastspring.builder.reset(); 17 } catch (e) {} 18 if (typeof window === 'undefined') { 19 return; 20 } 21 if (orderReference && orderReference.id) { 22 var nextUrl = new URL('/account', window.location.origin); 23 nextUrl.searchParams.set('checkout', 'completed'); 24 nextUrl.searchParams.set('order_id', orderReference.id || ''); 25 nextUrl.searchParams.set('source', 'fastspring'); 26 if (orderReference.reference) { 27 nextUrl.searchParams.set('reference', orderReference.reference); 28 } 29 try { 30 var planType = window.sessionStorage.getItem('fastspring_plan_type'); 31 if (planType) { 32 nextUrl.searchParams.set('plan_type', planType); 33 } 34 window.sessionStorage.removeItem('fastspring_plan'); 35 window.sessionStorage.removeItem('fastspring_plan_type'); 36 } catch (e) {} 37 window.location.replace(nextUrl.toString()); 38 return; 39 } 40 try { 41 window.sessionStorage.removeItem('fastspring_plan'); 42 window.sessionStorage.removeItem('fastspring_plan_type'); 43 } catch (e) {} 44 }; 45 `})]}):null]})}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.