PageSourceSearch

https://aurifydash.com/_next/static/chunks/16b~t_ltei25u.js

js aurifydash.com collected 2026-10-02 00:46:27 UTC 214,755 bytes, 38 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,49574,e=>{"use strict";e.s(["WEB_APP_STORAGE_KEYS",0,{THEME:"theme",COOKIE_NOTICE_DISMISSED:"dw-cookie-notice-dismissed",ANALYTICS_CONSENT:"dw-analytics-consent"}])},10211,e=>{"use strict";var t=e.i(49574);let i="dw-analytics-consent-change";function r(){try{return globalThis.localStorage?.getItem(t.WEB_APP_STORAGE_KEYS.ANALYTICS_CONSENT)==="1"}catch{return!1}}e.s(["ANALYTICS_CONSENT_CHANGE_EVENT",0,i,"grantAnalyticsConsent",0,function(){try{globalThis.localStorage?.setItem(t.WEB_APP_STORAGE_KEYS.ANALYTICS_CONSENT,"1")}catch{}globalThis.dispatchEvent(new Event(i))},"readAnalyticsConsent",0,r,"revokeAnalyticsConsent",0,function(){let e=r();try{globalThis.localStorage?.removeItem(t.WEB_APP_STORAGE_KEYS.ANALYTICS_CONSENT)}catch{}if(e){!function(){for(let e of document.cookie.split(";")){let t=e.split("=")[0]?.trim();if(!t?.startsWith("_ym_"))continue;let i=globalThis.location.hostname,r=[void 0,i],n=i.split(".");for(let e of(n.length>2&&r.push(`.${n.slice(-2).join(".")}`),r)){let i=e?`; domain=${e}`:"";document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/${i}`}}}(),globalThis.location.reload();return}globalThis.dispatchEvent(new Event(i))}])},25462,e=>{"use strict";var t=e.i(49574),i=e.i(71645),r=e.i(10211);e.s(["useAnalyticsConsent",0,function(){let[e,n]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>n((0,r.readAnalyticsConsent)());e();let i=i=>{i.key===t.WEB_APP_STORAGE_KEYS.ANALYTICS_CONSENT&&e()};return globalThis.addEventListener(r.ANALYTICS_CONSENT_CHANGE_EVENT,e),globalThis.addEventListener("storage",i),()=>{globalThis.removeEventListener(r.ANALYTICS_CONSENT_CHANGE_EVENT,e),globalThis.removeEventListener("storage",i)}},[]),e}])},49049,e=>{"use strict";var t=e.i(25462),i=e.i(10211);e.s(["ANALYTICS_CONSENT_CHANGE_EVENT",()=>i.ANALYTICS_CONSENT_CHANGE_EVENT,"grantAnalyticsConsent",()=>i.grantAnalyticsConsent,"readAnalyticsConsent",()=>i.readAnalyticsConsent,"revokeAnalyticsConsent",()=>i.revokeAnalyticsConsent,"useAnalyticsConsent",()=>t.useAnalyticsConsent])},8341,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return s}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},19083,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return u},htmlEscapeJsonString:function(){return h}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,a={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},l=/[&"'<>]/g;function h(e){return e.replace(o,e=>s[e])}function u(e){return e.replace(l,e=>a[e])}},79520,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return b},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return v}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(55682),o=e.r(90809),a=e.r(43476),l=s._(e.r(74080)),h=o._(e.r(71645)),u=e.r(42732),c=e.r(22737),d=e.r(8341),m=e.r(19083),p=new Map,f=new Set,g=e=>{let{src:t,id:i,onLoad:r=()=>{},onReady:n=null,dangerouslySetInnerHTML:s,children:o="",strategy:a="afterInteractive",onError:h,stylesheets:u}=e,d=i||t;if(d&&f.has(d))return;if(p.has(t)){f.add(d),p.get(t).then(r,h);return}let m=()=>{n&&n(),f.add(d)},g=document.createElement("script"),y=new Promise((e,t)=>
1{g.addEventListener("load",function(t){e(),r&&r.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){h&&h(e)});s?(g.innerHTML=s.__html||"",m()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",m()):t&&(g.src=t,p.set(t,y)),(0,c.setAttributesFromProps)(g,e),"worker"===a&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",a),u&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let i=document.createElement("link");i.type="text/css",i.rel="stylesheet",i.href=e,t.appendChild(i)})}})(u),document.body.appendChild(g)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>g(e))}):g(e)}function v(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function E(e){let{id:t,src:i="",onLoad:r=()=>{},onReady:n=null,strategy:s="afterInteractive",onError:o,stylesheets:c,...p}=e,{updateScripts:y,scripts:v,getIsSsr:E,appDir:b,nonce:T}=(0,h.useContext)(u.HeadManagerContext);T=p.nonce||T;let S=(0,h.useRef)(!1);(0,h.useEffect)(()=>{let e=t||i;S.current||(n&&e&&f.has(e)&&n(),S.current=!0)},[n,t,i]);let x=(0,h.useRef)(!1);if((0,h.useEffect)(()=>{if(!x.current){if("afterInteractive"===s)g(e);else"lazyOnload"===s&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>g(e))}));x.current=!0}},[e,s]),("beforeInteractive"===s||"worker"===s)&&(y?(v[s]=(v[s]||[]).concat([{id:t,src:i,onLoad:r,onReady:n,onError:o,...p,nonce:T}]),y(v)):E&&E()?f.add(t||i):E&&!E()&&g({...e,nonce:T})),b){if(c&&c.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)if(!i)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:T,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:t}]))})`}});else return l.default.preload(i,p.integrity?{as:"script",integrity:p.integrity,nonce:T,crossOrigin:p.crossOrigin}:{as:"script",nonce:T,crossOrigin:p.crossOrigin}),(0,a.jsx)("script",{nonce:T,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,m.htmlEscapeJsonString)(JSON.stringify([i,{...p,id:t}]))})`}});"afterInteractive"===s&&i&&l.default.preload(i,p.integrity?{as:"script",integrity:p.integrity,nonce:T,crossOrigin:p.crossOrigin}:{as:"script",nonce:T,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(E,"__nextScript",{value:!0});let b=E;("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},3303,(e,t,i)=>{t.exports=e.r(79520)},57686,e=>{"use strict";e.i(47167);var t=e.i(43476),i=e.i(3303),r=e.i(25462);let n=function(e){let t=e?.trim();if(!t)return null;let i=Number(t);return!Number.isInteger(i)||i<=0?null:i}("110141080");e.s(["YandexMetrika",0,function(){let e=(0,r.useAnalyticsConsent)();return null!==n&&e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{id:"yandex-metrika",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:`
2(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
3m[i].l=1*new Date();for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
4k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
5(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
6
7ym(${n}, "init", {ssr:true, clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true});
8`.trim()}}),(0,t.jsx)("noscript",{children:(0,t.jsx)("div",{children:(0,t.jsx)("img",{src:`https://mc.yandex.ru/watch/${n}`,style:{position:"absolute",left:"-9999px"},alt:""})})})]}):null}],57686)},81393,48389,6693,67457,63640,37627,66712,19932,17847,56896,19605,7439,74449,5695,e=>{"use strict";let t=.1,i=.15,r=.2,n=.4,s=.55,o=.5,a=.8,l=.92,h=1,u=1,c=.8,d=.6,m=.5,p=.1,f=.2,g=.3,y=.4,v=.6,E=.7,b=1;function T(e,t,i){return`${e}-[${i===h?`rgb(var(${t}))`:`rgb(var(${t})/${i})`}]`}function S(e,t){return`${e}-[var(${t})]`}let x={visible:`outline-none focus-visible:ring-2 focus-visible:${T("ring","--primary",o)} focus-visible:ring-offset-2 focus-visible:ring-offset-[rgb(var(--surface-canvas))]`,inset:`outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:${T("ring","--primary",y)}`,menu:`outline-none focus-visible:ring-2 focus-visible:${T("ring","--primary",o)} focus-visible:ring-offset-0`,peer:`peer-focus-visible:ring-2 peer-focus-visible:${T("ring","--primary",o)} peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-[rgb(var(--surface-canvas))]`},A=x.visible;x.inset;let w=x.menu;
8x.peer,e.s(["FOCUS_RING",0,x,"focusVisibleRingClass",0,A,"focusVisibleRingMenuClass",0,w],48389);let L={primary:T("text","--label",u),secondary:T("text","--label",c),tertiary:T("text","--label",d),quaternary:T("text","--label",m),onBrand:T("text","--on-primary",u),onInverse:T("text","--surface-canvas",u),onAccent:T("text","--user-accent-on",u),brand:T("text","--primary",u),danger:T("text","--status-danger",u),success:T("text","--status-success",u),warning:T("text","--status-warning",u),info:T("text","--status-info",u),subscriptionFree:T("text","--subscription-free",u),subscriptionPlus:T("text","--subscription-plus",u)},P={primary:T("hover:text","--label",u),secondary:T("hover:text","--label",c),brand:T("hover:text","--primary",u),danger:T("hover:text","--status-danger",u)},C={tertiary:`placeholder:${T("text","--label",d)}`,quaternary:`placeholder:${T("text","--label",m)}`},_={plus:L.subscriptionPlus,free:L.subscriptionFree};e.s(["HOVER_LABEL",0,P,"LABEL",0,L,"PLACEHOLDER_LABEL",0,C,"TEXT_SUBSCRIPTION",0,_],6693);let M={canvas:T("bg","--surface-canvas",h),canvasOverlay:T("bg","--surface-canvas",a),canvasBlur:T("bg","--surface-canvas",o),canvasSubtle:T("bg","--surface-canvas",s),canvasHeavy:T("bg","--surface-canvas",l),grouped:T("bg","--surface-grouped",h),groupedSubtle:T("bg","--surface-grouped",s),raised:T("bg","--surface-raised",h),raisedGlass:"bg-[rgb(var(--surface-raised))]/95",overlay:T("bg","--surface-overlay",h),vignette:T("bg","--surface-vignette",h)};T("hover:bg","--surface-grouped",h),T("hover:bg","--surface-raised",h),e.s(["SURFACE",0,M],67457);let R={hover:T("hover:bg","--menu-nav-hover",h),selected:T("bg","--menu-nav-selected",h),press:T("active:bg","--menu-nav-hover",h)},I={faint:S("bg","--fill-faint"),subtle:S("bg","--fill-subtle"),soft:S("bg","--fill-soft"),medium:S("bg","--fill-medium"),strong:S("bg","--fill-strong"),solid:T("bg","--fill",h),translucent:T("bg","--fill",m),glass:T("bg","--fill",n),blur:T("bg","--fill",o),brand:T("bg","--primary",h),brandSoft:T("bg","--primary",r),brandSubtle:T("bg","--primary",t),inverse:T("bg","--label",h),track:T("bg","--stroke",f),dangerSubtle:T("bg","--status-danger",t),successSubtle:T("bg","--status-success",t),warningSubtle:T("bg","--status-warning",t),infoSubtle:T("bg","--status-info",i),subscriptionPlusSubtle:T("bg","--subscription-plus",r),subscriptionFreeSubtle:T("bg","--subscription-free",r)},N={faint:S("hover:bg","--fill-faint"),subtle:S("hover:bg","--fill-subtle"),soft:S("hover:bg","--fill-soft"),medium:S("hover:bg","--fill-medium"),strong:S("hover:bg","--fill-strong"),solid:T("hover:bg","--fill",h),brand:"hover:bg-[rgb(var(--primary-hover))]",brandSubtle:T("hover:bg","--primary",t),inverse:T("hover:bg","--label",a),dangerSubtle:T("hover:bg","--status-danger",t),grouped:T("hover:bg","--surface-grouped",h),menuNav:T("hover:bg","--menu-nav-hover",h)};T("active:bg","--primary",t),T("active:bg","--fill",t),T("active:bg","--menu-nav-selected",h),e.s(["FILL",0,I,"HOVER_FILL",0,N],63640);let k={faint:T("border","--stroke",p),soft:T("border","--stroke",f),medium:T("border","--stroke",g),default:T("border","--stroke",b),focus:T("border","--stroke",y),strong:T("border","--stroke",v),muted:T("border","--stroke",E),ring:T("ring","--stroke",y),strongVar:T("border","--stroke-strong",b),brand:T("border","--primary",b),label:T("border","--label",b),labelSoft:T("border","--label",y),labelFaint:T("border","--label",p),labelSoft10:T("border","--label",f),danger:T("border","--status-danger",b),dangerFaint:T("border","--status-danger",g),successFaint:T("border","--status-success",g),warningFaint:T("border","--status-warning",g),warningFocus:T("border","--status-warning",y),infoFaint:T("border","--status-info",g),subscriptionPlus:T("border","--subscription-plus",v),subscriptionFree:T("border","--subscription-free",b)},B={faint:`border ${k.faint}`,soft:`border ${k.soft}`,medium:`border ${k.medium}`,default:`border ${k.default}`,strong:`border ${k.strong}`,labelFaint:`border ${k.labelFaint}`,labelSoft10:`border ${k.labelSoft10}`,dangerFaint:`border ${k.dangerFaint}`,successFaint:`border ${k.successFaint}`,warningFaint:`border ${k.warningFaint}`,warningFocus:`border ${k.warningFocus}`,infoFaint:`border ${k.infoFaint}`,strongVar:`border ${k.strongVar}`};k.default,k.soft;let O={brand:"focus:border-[rgb(var(--primary))]",danger:"focus:border-[rgb(var(--status-danger))]"};e.s(["FOCUS_STROKE",0,O,"STROKE",0,k,"STROKE_BOX",0,B],37627),T("text","--u
8ser-accent",u),T("text","--user-accent-on",u),T("text","--user-accent",u),L.success,L.danger,L.secondary;let H={micro:"text-[0.625rem]",xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","8xl":"text-8xl","9xl":"text-9xl"},D={none:"leading-none",tight:"leading-tight",snug:"leading-snug",normal:"leading-normal",relaxed:"leading-relaxed"},F={tight:"tracking-tight",normal:"tracking-normal",wide:"tracking-wide"},j={normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"},V="text-[clamp(1.875rem,1.2rem+2.5vw,3rem)] font-bold tracking-tight leading-tight",U="text-[clamp(4.5rem,2rem+8vw,8rem)] font-bold tracking-tight leading-none opacity-20";function G(...e){return e.filter(Boolean).join(" ")}e.s(["FONT_SIZE",0,H,"FONT_WEIGHT",0,j,"LETTER_SPACING",0,F,"LINE_HEIGHT",0,D,"TYPE_DISPLAY_FLUID",0,V,"TYPE_DISPLAY_FLUID_XL",0,U],66712);let $={hero:{default:G(H["3xl"],j.bold,L.primary,F.tight,D.tight)},display:{default:G(H["2xl"],j.semibold,L.primary,F.tight)},displayFluid:{default:G(V,L.primary)},title:{default:G(H.lg,j.semibold,L.primary),compact:G(H.base,j.medium,L.primary)},titleMuted:{default:G(H.base,j.medium,L.primary),compact:G(H.xs,j.medium,L.tertiary)},label:{default:G(H.sm,j.medium,L.primary),compact:G(H.xs,j.medium,L.primary)},labelSoft:{default:G(H.sm,j.medium,L.secondary),compact:G(H.xs,j.medium,L.secondary)},body:{default:G(H.sm,j.normal,L.primary),compact:G(H.xs,j.normal,L.primary)},bodySecondary:{default:G(H.sm,j.normal,L.secondary),compact:G(H.xs,j.normal,L.secondary)},bodyLg:{default:G(H.lg,j.normal,L.secondary),compact:G(H.base,j.normal,L.secondary)},description:{default:G(H.xs,j.normal,L.tertiary,D.relaxed),compact:G(H.micro,j.normal,L.tertiary)},control:{default:G(H.sm,j.medium,L.primary),compact:G(H.xs,j.medium,L.primary)},caption:{default:G(H.xs,j.normal,L.tertiary),compact:G(H.micro,j.normal,L.tertiary)},error:{default:G(H.sm,j.normal,L.danger),compact:G(H.xs,j.normal,L.danger)},overline:{default:G(H.sm,j.medium,L.tertiary,"uppercase",F.wide)}};function Y(e,t){let i=t?.density??"default",r=$[e];return"compact"===i&&null!=r.compact?r.compact:r.default}e.s(["textStyle",0,Y],19932);let W={dropdown:"rounded-md",control:"rounded-lg",panel:"rounded-xl",panelSm:"sm:rounded-xl",shell:"rounded-2xl",pill:"rounded-full",none:"rounded-none"};
8e.s(["RADIUS",0,W],17847);let K={screenX:{default:"px-4 sm:px-6 lg:px-8",tight:"px-4"},section:{y:"py-12 sm:py-16 lg:py-20",yCompact:"py-8 sm:py-12",gap:"gap-8 sm:gap-10 lg:gap-12",stack:"gap-4 sm:gap-6",header:"mb-8 sm:mb-12",footer:"mt-8 sm:mt-12"},cardPadding:{default:"p-4 sm:p-6",fieldDefault:"px-4 py-3",fieldCompact:"px-4 py-2",modal:"p-6",callout:"px-6 py-6 sm:px-8 sm:py-7"}};e.s(["SPACE_LAYOUT",0,K],56896);let X="shadow-sm",z=K.cardPadding.fieldDefault,Z=[W.panel,M.canvas,B.default,"focus:outline-none",O.brand,C.tertiary,"transition-colors"].join(" ");[[W.panel,M.raised,B.default,"focus:outline-none",O.brand,C.tertiary,"transition-colors"].join(" "),x.visible].join(" "),["w-full",z,Z,`${H.base} ${L.primary}`].join(" "),[[W.shell,B.default,M.raised].join(" "),X].join(" "),[W.shell,B.medium,M.raised,`shadow-2xl ${K.cardPadding.modal}`].join(" "),[W.shell,"border",k.dangerFaint,M.raised,"overflow-hidden shadow-sm"].join(" "),[W.shell,k.medium,"bg-linear-to-br from-[rgb(var(--surface-raised))] to-[rgb(var(--surface-canvas))] p-4 shadow-2xl"].join(" ");let q=[W.shell,B.default,M.raisedGlass,"px-4 py-4 shadow-lg backdrop-blur-md"].join(" "),J=[W.panel,B.default,M.grouped,"p-1"].join(" ");["border",k.label,M.raised].join(" "),[B.default,M.grouped].join(" "),["flex h-9 w-9 shrink-0 cursor-pointer items-center justify-center rounded",B.soft,I.blur,L.primary,N.soft].join(" "),e.s(["BILLING_TOGGLE_SHELL_CLASS",0,J,"COOKIE_NOTICE_SURFACE_CLASS",0,q],19605);let Q={control:{sm:"min-h-8 px-3 py-2",md:"min-h-10 px-5 py-2.5",lg:"min-h-12 px-7 py-3"},controlPaddingY:{default:"py-3",compact:"py-2"},icon:{xs:"h-6 w-6",sm:"h-8 w-8",md:"h-9 w-9",lg:"h-11 w-11"},hit:{xs:"min-h-6 min-w-6",sm:"min-h-8 min-w-8",md:"min-h-10 min-w-10",lg:"min-h-12 min-w-12"},modal:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",full:"max-w-[90vw]"}};e.s(["SIZE",0,Q],7439),[[I.dangerSubtle,B.dangerFaint,L.danger,W.control,"p-3"].join(" "),Y("body")].join(" "),[[I.successSubtle,B.successFaint,L.success,W.control,"p-3"].join(" "),Y("body")].join(" "),[W.control,"border",k.danger,"px-4 py-3",Y("error")].join(" "),[L.danger,N.dangerSubtle,P.danger].join(" "),["flex w-full cursor-pointer items-center justify-center",W.control,B.default,I.solid,"px-3 py-2 text-center",Y("control"),"transition-colors",N.soft].join(" "),[W.control,B.default,M.raised,"px-3 py-2",Y("bodySecondary")].join(" "),["relative mx-auto overflow-hidden",W.panel,B.faint,I.glass].join(" "),M.canvasHeavy,[W.pill,"box-border h-full max-h-full w-full max-w-full border-2",k.labelSoft].join(" "),[W.panel,"ring-2",k.ring].join(" "),[[j.medium,L.brand,"hover:underline focus:outline-none focus:underline"].join(" "),"cursor-pointer"].join(" ");let ee=[M.raised,L.primary,"shadow-md",B.faint].join(" "),et=[L.secondary,P.primary].join(" "),ei=["flex w-full cursor-pointer items-center px-3 py-2 text-left",W.control,Y("control"),"transition-[background-color,color] duration-200 ease-out"].join(" "),er=R.hover,en=R.press,es=R.selected,eo=[er,en].join(" ");function ea(e){return[ei,e?es:eo].join(" ")}[ei,eo].join(" "),k.default,[V,"mb-2 text-center",L.primary].join(" "),["text-center mb-8",L.secondary].join(" "),[V,L.primary].join(" "),["px-6",H.xl,j.semibold,L.primary,F.tight,D.snug].join(" "),Y("overline");let el=[W.pill,"inline-flex items-center justify-center font-medium transition-colors cursor-pointer",I.solid,L.primary,N.soft,B.default,Q.control.sm,Y("control"),"leading-snug"].join(" ");[W.pill,I.brandSoft,L.brand,"flex items-center justify-center text-sm font-semibold shrink-0 ring-0 border-0 outline-none select-none",Q.icon.sm].join(" "),[I.inverse,L.onInverse,N.inverse].join(" "),["bg-transparent",L.primary,N.solid].join(" "),["inline-flex px-4 py-3 border-b-2 -mb-px transition-colors rounded-t-lg",Y("control")].join(" "),[k.brand,L.brand].join(" "),["border-transparent",L.secondary,P.primary,"hover:border-[rgb(var(--stroke))]"].join(" ");let eh=[W.pill,"inline-flex items-center justify-center shrink-0 whitespace-nowrap",I.brand,Q.control.sm,Y("control"),"leading-snug",L.onBrand,"transition-opacity hover:opacity-90"].join(" ");["inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full",Y("caption"),j.medium].join(" "),["inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full",Y("caption"),j.medium,I.successSubtle,L.success].join(" "),[W.pill,"size-1.5 bg-[rgb(var(--status-success))]"].join(" "),e.s(["COOKIE_ACCEPT_BUTTON_CLASS",0,eh,"MENU_NAV_ITEM_INTERACTIVE_CLASS",0,eo,"MENU_NAV_ITEM_SELECTED_CLASS",0,es,"SEGMENT_ACTIVE_CLASS",0,ee,"SEGMENT_INACTIVE_CLASS",0,et,"TERTIARY_ACTION_BUTTON_CLASS",0,el,"getMenuNavItemClass",0,ea],74449),[ea(!1),"gap-2.5"].join(" "),["h-fit w-full shrink-0 lg:w-56 xl:w-60",W.shell,B.default,M.raised,X].join(" ");let eu={label:Y("labelSoft"),labelPrimary:Y("label"),fieldError:Y("error"),fieldErrorCompact:Y("error",{density:"compact"}),fieldHelper:Y("bodySecondary"),title:Y("title"),modalTitle:`${Y("title")} mb-4 wrap-break-word`,navLink:Y("labelSoft"),mobileNavLink:`${H.base} ${j.medium} ${L.primary}`,settingsLabel:Y("labelSoft"),footerPreference:`${H.xs} ${j.medium}`,footerLink:`${L.secondary} transition-colors ${P.primary} cursor-pointer`,panelTitle:`${H.sm} ${j.semibold} ${L.primary}`,sectionTitle:`text-center ${V} ${L.primary}`,sectionSubtitleCentered:`mx-auto mt-4 max-w-2xl text-center ${L.secondary}`,sectionSubtitle:`mt-4 ${L.secondary}`,sectionFootnote:Y("bodySecondary"),sectionFootnoteCentered:`mx-auto mt-8 max-w-2xl text-center ${Y("bodySecondary")}`,pageTitle:`${V} ${L.primary}`,pageTitleHero:`${V} ${L.primary}`,pageSubtitle:`mt-3 max-w-3xl ${Y("bodyLg")}`,pageSubtitleCentered:`mx-auto mt-4 max-w-2xl text-center ${Y("bodyLg")}`,heroTitle:Y("displayFluid"),heroSubtitle:`mt-6 max-w-xl ${Y("bodyLg")}`,heroFootnote:`mt-6 ${Y("bodySecondary")}`,cardTitle:Y("title"),cardTitleLg:Y("display"),legalFootnote:`text-center ${Y("caption")}`,comparisonTitle:Y("display"),comparisonSubtitle:`mt-3 ${Y("bodySecondary")}`,categoryBadge:`rounded-full ${M.raised} px-2.5 py-0.5 ${j.medium} ${L.secondary}`,formErrorAlert:`rounded-lg ${B.dangerFaint} ${I.dangerSubtle} p-3 ${Y("error")}`,warningAlert:`rounded-xl ${B.warningFocus} ${I.warningSubtle} px-4 py-3 text-center ${H.sm} ${L.warning}`,marketingCallout:["rounded-3xl",B.labelSoft10,M.raised,K.cardPadding.callout,"shadow-sm"].join(" "),calloutLabel:`${H.sm} ${j.semibold} ${F.tight} ${L.primary}`,calloutTitle:Y("display"),formConsent:`text-center ${Y("description")}`,navLinkUnderline:`${Y("labelSoft")} underline transition-colors ${P.primary}`,contactPageTitle:`text-center ${V} ${L.primary}`,pricingPageIntro:`mx-auto mt-5 max-w-2xl ${Y("bodyLg")}
8`,notFoundCode:`${U} ${L.primary}`,notFoundTitle:`mt-4 ${Y("display")}`,notFoundDescription:`mx-auto mt-3 max-w-md ${Y("bodyLg")}`,audienceLabel:`text-center ${Y("overline")}`,audienceIntro:`mx-auto mt-3 max-w-3xl text-center ${H.lg} ${L.primary}`,personaPill:[W.pill,B.default,M.raised,"px-4 py-2",Y("labelSoft")].join(" "),faqItem:[W.shell,B.labelSoft10,M.raised,"px-5 py-4 shadow-sm"].join(" "),planPrice:`mt-2 ${V} ${L.primary}`,planFeature:`flex items-start gap-2 ${Y("bodySecondary")}`};e.s(["TYPOGRAPHY",0,eu],5695),e.s([],81393)},88653,71164,38544,46932,e=>{"use strict";let t,i,r;var n,s=e.i(47167),o=e.i(43476),a=e.i(71645);let l=(0,a.createContext)({});function h(e){let t=(0,a.useRef)(null);return null===t.current&&(t.current=e()),t.current}let u="u">typeof window?a.useLayoutEffect:a.useEffect,c=(0,a.createContext)(null),d=e=>"object"==typeof e&&null!==e;function m(e){return d(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}var p=a;let f=(0,a.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function g(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class y extends p.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(m(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=m(e)&&e.offsetWidth||0,r=m(e)&&e.offsetHeight||0,n=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(n.height),s.width=parseFloat(n.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=i-s.width-s.left,s.bottom=r-s.height-s.top,s.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function v({children:e,isPresent:t,anchorX:i,anchorY:r,root:n,pop:s}){let l=(0,p.useId)(),h=(0,p.useRef)(null),u=(0,p.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:c}=(0,p.useContext)(f),d=function(...e){return a.useCallback(function(...e){return t=>{let i=!1,r=e.map(e=>{let r=g(e,t);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let t=0;t<r.length;t++){let i=r[t];"function"==typeof i?i():g(e[t],null)}}}}(...e),e)}(h,e.props?.ref??e?.ref);return(0,p.useInsertionEffect)(()=>{let{width:e,height:o,top:a,left:d,right:m,bottom:p,direction:f}=u.current;if(t||!1===s||!h.current||!e||!o)return;let g="rtl"===f,y="left"===i?g?`right: ${m}`:`left: ${d}`:g?`left: ${d}`:`right: ${m}`,v="bottom"===r?`bottom: ${p}`:`top: ${a}`;h.current.dataset.motionPopId=l;let E=document.createElement("style");c&&(E.nonce=c);let b=n??document.head;return b.appendChild(E),E.sheet&&E.sheet.insertRule(`
9          [data-motion-pop-id="${l}"] {
10            position: absolute !important;
11            width: ${e}px !important;
12            height: ${o}px !important;
13            ${y}px !important;
14            ${v}px !important;
15          }
16        `),()=>{h.current?.removeAttribute("data-motion-pop-id"),b.contains(E)&&b.removeChild(E)}},[t]),(0,o.jsx)(y,{isPresent:t,childRef:h,sizeRef:u,pop:s,children:!1===s?e:p.cloneElement(e,{ref:d})})}let E=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:n,presenceAffectsLayout:s,mode:l,anchorX:u,anchorY:d,root:m})=>{let p=h(b),f=(0,a.useId)(),g=!0,y=(0,a.useMemo)(()=>(g=!1,{id:f,initial:t,isPresent:i,custom:n,onExitComplete:e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;r&&r()},register:e=>(p.set(e,!1),()=>p.delete(e))}),[i,p,r]);return s&&g&&(y={...y}),(0,a.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[i]),a.useEffect(()=>{i||p.size||!r||r()},[i]),e=(0,o.jsx)(v,{pop:"popLayout"===l,isPresent:i,anchorX:u,anchorY:d,root:m,children:e}),(0,o.jsx)(c.Provider,{value:y,children:e})};function b(){return new Map}function T(e=!0){let t=(0,a.useContext)(c);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=t,s=(0,a.useId)();(0,a.useEffect)(()=>{if(e)return n(s)},[e]);let o=(0,a.useCallback)(()=>e&&r&&r(s),[s,r,e]);return!i&&r?[!1,o]:[!0]}let S=e=>e.key||"";function x(e){let t=[];return a.Children.forEach(e,e=>{(0,a.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:t,initial:i=!0,onExitComplete:r,presenceAffectsLayout:n=!0,mode:s="sync",propagate:c=!1,anchorX:d="left",anchorY:m="top",root:p})=>{let[f,g]=T(c),y=(0,a.useMemo)(()=>x(e),[e]),v=c&&!f?[]:y.map(S),b=(0,a.useRef)(!0),A=(0,a.useRef)(y),w=h(()=>new Map),L=(0,a.useRef)(new Set),[P,C]=(0,a.useState)(y),[_,M]=(0,a.useState)(y);u(()=>{b.current=!1,A.current=y;for(let e=0;e<_.length;e++){let t=S(_[e]);v.includes(t)?(w.delete(t),L.current.delete(t)):!0!==w.get(t)&&w.set(t,!1)}},[_,v.length,v.join("-")]);let R=[];if(y!==P){let e=[...y];for(let t=0;t<_.length;t++){let i=_[t],r=S(i);v.includes(r)||(e.splice(t,0,i),R.push(i))}return"wait"===s&&R.length&&(e=R),M(x(e)),C(y),null}let{forceRender:I}=(0,a.useContext)(l);return(0,o.jsx)(o.Fragment,{children:_.map(e=>{let a=S(e),l=(!c||!!f)&&(y===_||v.includes(a));return(0,o.jsx)(E,{isPresent:l,initial:(!b.current||!!i)&&void 0,custom:t,presenceAffectsLayout:n,mode:s,root:p,onExitComplete:l?void 0:()=>
16{if(L.current.has(a)||!w.has(a))return;L.current.add(a),w.set(a,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(I?.(),M(A.current),c&&g?.(),r&&r())},anchorX:d,anchorY:m,children:e},a)})})}],88653);let A=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],w=new Set(A),L=(e,t,i)=>i>t?t:i<e?e:i,P={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},C={...P,transform:e=>L(0,1,e)},_={...P,default:1},M=e=>Math.round(1e5*e)/1e5,R=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,I=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,N=(e,t)=>i=>!!("string"==typeof i&&I.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),k=(e,t,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(R);return{[e]:parseFloat(n),[t]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},B={...P,transform:e=>Math.round(L(0,255,e))},O={test:N("rgb","red"),parse:k("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+B.transform(e)+", "+B.transform(t)+", "+B.transform(i)+", "+M(C.transform(r))+")"},H={test:N("#"),parse:function(e){let t="",i="",r="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:O.transform},D=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),F=D("deg"),j=D("%"),V=D("px"),U=D("vh"),G=D("vw"),$={...j,parse:e=>j.parse(e)/100,transform:e=>j.transform(100*e)},Y={test:N("hsl","hue"),parse:k("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+j.transform(M(t))+", "+j.transform(M(i))+", "+M(C.transform(r))+")"},W={test:e=>O.test(e)||H.test(e)||Y.test(e),parse:e=>O.test(e)?O.parse(e):Y.test(e)?Y.parse(e):H.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?O.transform(e):Y.transform(e),getAnimatableNone:e=>{let t=W.parse(e);return t.alpha=0,W.transform(t)}},K=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,X="number",z="color",Z=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function q(e){let t=e.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=t.replace(Z,e=>(W.test(e)?(r.color.push(s),n.push(z),i.push(W.parse(e))):e.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(e)):(r.number.push(s),n.push(X),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function J({split:e,types:t}){let i=e.length;return r=>{let n="";for(let s=0;s<i;s++)if(n+=e[s],void 0!==r[s]){let e=t[s];e===X?n+=M(r[s]):e===z?n+=W.transform(r[s]):n+=r[s]}return n}}let Q={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(R)?.length||0)+(e.match(K)?.length||0)>0},parse:function(e){return q(e).values},createTransformer:function(e){return J(q(e))},getAnimatableNone:function(e){let t=q(e);return J(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:W.test(e)?W.getAnimatableNone(e):e)(e,t.split[i])))}},ee=new Set(["brightness","contrast","saturate","opacity"]);function et(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=i.match(R)||[];if(!r)return e;let n=i.replace(r,""),s=+!!ee.has(t);return r!==i&&(s*=100),t+"("+s+n+")"}let ei=/\b([a-z-]*)\(.*?\)/gu,er={...Q,getAnimatableNone:e=>{let t=e.match(ei);return t?t.map(et).join(" "):e}},en={...Q,getAnimatableNone:e=>{let t=Q.parse(e);return Q.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},es={...P,transform:Math.round},eo={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,rotate:F,rotateX:F,rotateY:F,rotateZ:F,scale:_,scaleX:_,scaleY:_,scaleZ:_,skew:F,skewX:F,skewY:F,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:C,originX:$,originY:$,originZ:V,zIndex:es,fillOpacity:C,strokeOpacity:C,numOctaves:es},ea={...eo,color:W,backgroundColor:W,outlineColor:W,fill:W,stroke:W,borderColor:W,borderTopColor:W,borderRightColor:W,borderBottomColor:W,borderLeftColor:W,filter:er,WebkitFilter:er,mask:en,WebkitMask:en},el=e=>ea[e],eh=()=>({translate:0,scale:1,origin:0,originPoint:0}),eu=()=>({x:eh(),y:eh()}),ec=()=>({min:0,max:0}),ed=()=>({x:ec(),y:ec()}),em=e=>!!(e&&e.getVelocity),ep=new Set(["width","height","top","left","right","bottom",...A]),ef=e=>t=>t.test(e),eg=[P,V,j,F,G,U,{test:e=>"auto"===e,parse:e=>e}],ey=e=>eg.find(ef(e)),ev=()=>{},eE=()=>{};s.default;let eb=e=>t=>"string"==typeof t&&t.startsWith(e),eT=eb("--"),eS=eb("var(--"),ex=e=>!!eS(e)&&eA.test(e.split("/*")[0].trim()),eA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ew(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let eL=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eP=e=>180*e/Math.PI,eC=e=>eM(eP(Math.atan2(e[1],e[0]))),e_={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eC,rotateZ:eC,skewX:e=>eP(Math.atan(e[1])),skewY:e=>eP(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eM=e=>((e%=360)<0&&(e+=360),e),eR=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eI=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eN={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eR,scaleY:eI,scale:e=>(eR(e)+eI(e))/2,rotateX:e=>eM(eP(Math.atan2(e[6],e[5]))),rotateY:e=>eM(eP(Math.atan2(-e[2],e[0]))),rotateZ:eC,rotate:eC,skewX:e=>eP(Math.atan(e[4])),skewY:e=>eP(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ek(e){return+!!e.includes("scale")}function eB(e,t){let i,r;if(!e||"none"===e)return ek(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=eN,r=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=e_,r=t}if(!r)return ek(t);let s=i[t],o=r[1].split(",").map(eO);return"function"==typeof s?s(o):o[s]}function eO(e){return parseFloat(e.trim())}let eH=e=>e===P||e===V,eD=new Set(["x","y","z"]),eF=A.filter(e=>!eD.has(e)),ej={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>eB(t,"x"),y:(e,{transform:t})=>eB(t,"y")};ej.translateX=ej.x,ej.translateY=ej.y;let eV=e=>e,eU={},eG=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function e$(e,t){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=eG.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function h(t){o.has(t)&&(u.schedule(t),e()),l++,t(a)}let u={schedule:(e,t=!1,s=!1)=>{let a=s&&n?i:r;return t&&o.add(e),a.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(a=e,n){s=!0;return}n=!0;let o=i;
16i=r,r=o,i.forEach(h),t,l=0,i.clear(),n=!1,s&&(s=!1,u.process(e))}};return u}(s,t?i:void 0),e),{}),{setup:a,read:l,resolveKeyframes:h,preUpdate:u,update:c,preRender:d,render:m,postRender:p}=o,f=()=>{let s=eU.useManualTiming,o=s?n.timestamp:performance.now();i=!1,s||(n.delta=r?1e3/60:Math.max(Math.min(o-n.timestamp,40),1)),n.timestamp=o,n.isProcessing=!0,a.process(n),l.process(n),h.process(n),u.process(n),c.process(n),d.process(n),m.process(n),p.process(n),n.isProcessing=!1,i&&t&&(r=!1,e(f))};return{schedule:eG.reduce((t,s)=>{let a=o[s];return t[s]=(t,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||e(f)),a.schedule(t,s,o)),t},{}),cancel:e=>{for(let t=0;t<eG.length;t++)o[eG[t]].cancel(e)},state:n,steps:o}}let{schedule:eY,cancel:eW,state:eK,steps:eX}=e$("u">typeof requestAnimationFrame?requestAnimationFrame:eV,!0),ez=new Set,eZ=!1,eq=!1,eJ=!1;function eQ(){if(eq){let e=Array.from(ez).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,r=(t=[],eF.forEach(i=>{let r=e.getValue(i);void 0!==r&&(t.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),t);r.length&&(i.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eq=!1,eZ=!1,ez.forEach(e=>e.complete(eJ)),ez.clear()}function e0(){ez.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eq=!0)})}class e1{constructor(e,t,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(ez.add(this),eZ||(eZ=!0,eY.read(e0),eY.resolveKeyframes(eQ))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:r}=this;if(null===e[0]){let n=r?.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(i&&t){let r=i.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===n&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ez.delete(this)}cancel(){"scheduled"===this.state&&(ez.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let e2=new Set([er,en]);function e4(e,t){let i=el(e);return e2.has(i)||(i=Q),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let e3=new Set(["auto","none","0"]);class e5 extends e1{constructor(e,t,i,r,n){super(e,t,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let r=e[i];if("string"==typeof r&&ex(r=r.trim())){let n=function e(t,i,r=1){eE(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(e){let t=eL.exec(e);if(!t)return[,];let[,i,r,n]=t;return[`--${i??r}`,n]}(t);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return ex(s)?e(s,i,r+1):s}(r,t.current);void 0!==n&&(e[i]=n),i===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!ep.has(i)||2!==e.length)return;let[r,n]=e,s=ey(r),o=ey(n);if(ew(r)!==ew(n)&&ej[i]){this.needsMeasurement=!0;return}if(s!==o)if(eH(s)&&eH(o))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else ej[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let r,n=0;for(;n<e.length&&!r;){let t=e[n];"string"==typeof t&&!e3.has(t)&&q(t).values.length&&(r=e[n]),n++}if(r&&i)for(let n of t)e[n]=e4(i,r)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ej[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(i,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=ej[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
16h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let e6=e=>1e3*e;function e8(e,t){-1===e.indexOf(t)&&e.push(t)}function e9(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class e7{constructor(){this.subscriptions=[]}add(e){return e8(this.subscriptions,e),()=>e9(this.subscriptions,e)}notify(e,t,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function te(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}function tt(e){let t;return()=>(void 0===t&&(t=e()),t)}let ti={};function tr(e,t){let i=tt(e);return()=>ti[t]??i()}let tn=tr(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),ts=e=>null!==e;function to(e,{repeat:t,repeatType:i="loop"},r,n=1){let s=e.filter(ts),o=n<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}class ta{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let tl={layout:0,mainThread:0,waapi:0},th=e=>Array.isArray(e)&&"number"==typeof e[0],tu=tr(()=>{try{document.createElement("div").animate({opacity:0}
16,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tc=(e,t,i=10)=>{let r="",n=Math.max(Math.round(t/i),2);for(let t=0;t<n;t++)r+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},td=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,tm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:td([0,.65,.55,1]),circOut:td([.55,0,1,.45]),backIn:td([.31,.01,.66,-.59]),backOut:td([.33,1.53,.69,.99])};function tp(e){return"function"==typeof e&&"applyToOptions"in e}class tf extends ta{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=e;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=e,eE("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return tp(e)&&tu()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let u={[t]:i};l&&(u.offset=l);let c=function e(t,i){if(t)return"function"==typeof t?tu()?tc(t,i):"ease-out":th(t)?td(t):Array.isArray(t)?t.map(t=>e(t,i)||tm.easeOut):tm[t]}(a,n);Array.isArray(c)&&(u.easing=c);let d={delay:r,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};h&&(d.pseudoElement=h);let m=e.animate(u,d);return m}(t,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=to(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),te(t,i,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=e6(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:i,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&tn())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),eV):r(this)}}let tg=new Set(["opacity","clipPath","filter","transform"]),{schedule:ty}=e$(queueMicrotask,!1);function tv(){t=void 0}let tE={now:()=>(void 0===t&&tE.set(eK.isProcessing||eU.useManualTiming?eK.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(tv)}},tb=(e,t)=>t?1e3/t*e:0,tT;class tS{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tE.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tE.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new e7);let i=this.events[e].add(t);return"change"===e?()=>{i(),eY.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return tT&&tT.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=tE.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return tb(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tx(e,t){return new tS(e,t)}let tA=[...eg,W,Q],tw=new WeakMap;function tL(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tP(e){return"string"==typeof e||Array.isArray(e)}let tC=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],t_=["initial",...tC];function tM(e){return tL(e.animate)||t_.some(t=>tP(e[t]))}function tR(e){return!!(tM(e)||e.variants)}let tI={current:null},tN={current:!1};e.s(["hasReducedMotionListener",0,tN,"prefersReducedMotion",0,tI],71164);let tk="u">typeof window;function tB(){if(tN.current=!0,tk)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tI.current=e.matches;e.addEventListener("change",t),t()}else tI.current=!1}function tO(e){let t=[{},{}];
16return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tH(e,t,i,r){if("function"==typeof t){let[n,s]=tO(r);t=t(void 0!==i?i:e.custom,n,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,s]=tO(r);t=t(void 0!==i?i:e.custom,n,s)}return t}e.s(["initPrefersReducedMotion",0,tB],38544);let tD=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tF={};class tj{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:r,skipAnimations:n,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=e1,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=tE.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eY.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=h,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=tM(t),this.isVariantNode=tR(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==l[e]&&em(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,tw.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tN.current||tB(),this.shouldReduceMotion=tI.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eW(this.notifyUpdate),eW(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&tg.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:o}=t.accelerate,a=new tf({element:this.current,name:e,keyframes:r,times:n,ease:s,duration:e6(o)}),l=i(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let r=w.has(e);r&&this.onBindTransform&&this.onBindTransform();let n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eY.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tF){let t=tF[e];if(!t)continue;let{isEnabled:i,Feature:r}=t;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];
16t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ed()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tD.length;t++){let i=tD[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=e["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(e,t,i){for(let r in t){let n=t[r],s=i[r];if(em(n))e.addValue(r,n);else if(em(s))e.addValue(r,tx(n,{owner:e}));else if(s!==n)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(r);e.addValue(r,tx(void 0!==t?t:n,{owner:e}))}}for(let r in i)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=tx(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!tA.find(ef(r))&&Q.test(t)&&(i=e4(e,t))}this.setBaseTarget(e,em(i)?i.get():i)}return em(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=tH(this.props,i,this.presenceContext?.custom);r&&(t=r[e])}if(i&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||em(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new e7),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){ty.render(this.render)}}class tV extends tj{constructor(){super(...arguments),this.KeyframeResolver=e5}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;em(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tU(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tG=(e,t)=>t&&"number"==typeof e?t.transform(e):e,t$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tY=A.length;function tW(e,t,i){let{style:r,vars:n,transformOrigin:s}=e,o=!1,a=!1;for(let e in t){let i=t[e];if(w.has(e)){o=!0;continue}if(eT(e)){n[e]=i;continue}{let t=tG(i,eo[e]);e.startsWith("origin")?(a=!0,s[e]=t):r[e]=t}}if(!t.transform&&(o||i?r.transform=function(e,t,i){let r="",n=!0;for(let s=0;s<tY;s++){let o=A[s],a=e[o];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===+!!o.startsWith("scale");else{let e=parseFloat(a);l=o.startsWith("scale")?1===e:0===e}
16if(!l||i){let e=tG(a,eo[o]);if(!l){n=!1;let t=t$[o]||o;r+=`${t}(${e}) `}i&&(t[o]=e)}}return r=r.trim(),i?r=i(t,n?"":r):n&&(r="none"),r}(t,e.transform,i):r.transform&&(r.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:i=0}=s;r.transformOrigin=`${e} ${t} ${i}`}}let tK={offset:"stroke-dashoffset",array:"stroke-dasharray"},tX={offset:"strokeDashoffset",array:"strokeDasharray"},tz=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tZ(e,{attrX:t,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,h,u){if(tW(e,a,h),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:d}=e;for(let e of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=u?.transformBox??"fill-box",delete c.transformBox),tz))void 0!==c[e]&&(d[e]=c[e],delete c[e]);void 0!==t&&(c.x=t),void 0!==i&&(c.y=i),void 0!==r&&(c.scale=r),void 0!==n&&function(e,t,i=1,r=0,n=!0){e.pathLength=1;let s=n?tK:tX;e[s.offset]=`${-r}`,e[s.array]=`${t} ${i}`}(c,n,s,o,!1)}let tq=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tJ=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tQ(e,{style:t,vars:i},r,n){let s,o=e.style;for(s in t)o[s]=t[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}function t0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let t1={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!V.test(e))return e;else e=parseFloat(e);let i=t0(e,t.target.x),r=t0(e,t.target.y);return`${i}% ${r}%`}},t2=(e,t,i)=>e+(t-e)*i,t4={borderRadius:{...t1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:t1,borderTopRightRadius:t1,borderBottomLeftRadius:t1,borderBottomRightRadius:t1,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=Q.parse(e);if(r.length>5)return e;let n=Q.createTransformer(e),s=+("number"!=typeof r[0]),o=i.x.scale*t.x,a=i.y.scale*t.y;r[0+s]/=o,r[1+s]/=a;let l=t2(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function t3(e,{layout:t,layoutId:i}){return w.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!t4[e]||"opacity"===e)}function t5(e,t,i){let r=e.style,n=t?.style,s={};if(!r)return s;for(let t in r)(em(r[t])||n&&em(n[t])||t3(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=r[t]);return s}function t6(e,t,i){let r=t5(e,t,i);for(let i in e)(em(e[i])||em(t[i]))&&(r[-1!==A.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}class t8 extends tV{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ed}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(w.has(t)){let e=el(t);return e&&e.default||0}return t=tq.has(t)?t:tU(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return t6(e,t,i)}build(e,t,i){tZ(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,r){for(let i in tQ(e,t,void 0,r),t.attrs)e.setAttribute(tq.has(i)?i:tU(i),t.attrs[i])}mount(e){this.isSVGTag=tJ(e.tagName),super.mount(e)}}function t9({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function t7(e){return void 0===e||1===e}function ie({scale:e,scaleX:t,scaleY:i}){return!t7(e)||!t7(t)||!t7(i)}function it(e){return ie(e)||ii(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ii(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function ir(e,t,i,r,n){return void 0!==n&&(e=r+n*(e-r)),r+i*(e-r)+t}function is(e,t=0,i=1,r,n){e.min=ir(e.min,t,i,r,n),e.max=ir(e.max,t,i,r,n)}function io(e,{x:t,y:i}){is(e.x,t.translate,t.scale,t.originPoint),is(e.y,i.translate,i.scale,i.originPoint)}function ia(e,t){e.min+=t,e.max+=t}function il(e,t,i,r,n=.5){let s=t2(e.min,e.max,n);is(e,t,i,s,r)}function ih(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function iu(e,t,i){let r=i??e;il(e.x,ih(t.x,r.x),t.scaleX,t.scale,t.originX),il(e.y,ih(t.y,r.y),t.scaleY,t.scale,t.originY)}function ic(e,t){return t9(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}
16class id extends tV{constructor(){super(...arguments),this.type="html",this.renderInstance=tQ}readValueFromInstance(e,t){if(w.has(t))return this.projection?.isProjecting?ek(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return eB(i,t)})(e,t);{let i=window.getComputedStyle(e),r=(eT(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ic(e,t)}build(e,t,i){tW(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return t5(e,t,i)}}let im=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ip(e){if("string"!=typeof e||e.includes("-"));else if(im.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let ig=(0,a.createContext)({strict:!1}),iy=(0,a.createContext)({});function iv(e){return Array.isArray(e)?e.join(" "):e}let iE=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ib(e,t,i){for(let r in t)em(t[r])||t3(r,i)||(e[r]=t[r])}let iT=()=>({...iE(),attrs:{}}),iS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ix(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iS.has(e)}let iA=e=>!ix(e);try{n=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof n&&(iA=e=>e.startsWith("on")?!ix(e):n(e))}catch{}function iw(e){return em(e)?e.get():e}let iL=e=>(t,i)=>{let r=(0,a.useContext)(iy),n=(0,a.useContext)(c),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,r,n){return{latestValues:function(e,t,i,r){let n={},s=r(e,{});for(let e in s)n[e]=iw(s[e]);let{initial:o,animate:a}=e,l=tM(e),h=tR(e);t&&h&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let u=!!i&&!1===i.initial,c=(u=u||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!tL(c)){let t=Array.isArray(c)?c:[c];for(let i=0;i<t.length;i++){let r=tH(e,t[i]);if(r){let{transitionEnd:e,transition:t,...i}=r;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}null!==t&&(n[e]=t)}for(let t in e)n[t]=e[t]}}}return n}(i,r,n,e),renderState:t()}})(e,t,r,n);return i?s():h(s)},iP=iL({scrapeMotionValuesFromProps:t5,createRenderState:iE}),iC=iL({scrapeMotionValuesFromProps:t6,createRenderState:iT}),i_={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},iM=!1;function iR(){return!function(){if(iM)return;let e={};for(let t in i_)e[t]={isEnabled:e=>i_[t].some(t=>!!e[t])};tF=e,iM=!0}(),tF}let iI=Symbol.for("motionComponentSymbol"),iN="data-"+tU("framerAppearId"),ik=(0,a.createContext)({});function iB(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function iO(e,{forwardMotionProps:t=!1,type:i}={},r,n){r&&function(e){let t=iR();for(let i in e)t[i]={...t[i],...e[i]};tF=t}(r);let s=i?"svg"===i:ip(e),h=s?iC:iP;function d(i,r){var d;let m,p,g,y={...(0,a.useContext)(f),...i,layoutId:function({layoutId:e}){let t=(0,a.useContext)(l).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:v}=y,E=function(e){let{initial:t,animate:i}=function(e,t){if(tM(e)){let{initial:t,animate:i}=e;return{initial:!1===t||tP(t)?t:void 0,animate:tP(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(iy));return(0,a.useMemo)(()=>({initial:t,animate:i}),[iv(t),iv(i)])}(i),b=h(i,v);if(!v&&"u">typeof window){(0,a.useContext)(ig).strict;let t=function(e){let{drag:t,layout:i}=iR();if(!t&&!i)return{};let r={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
16(y);m=t.MeasureLayout,E.visualElement=function(e,t,i,r,n,s){let{visualElement:o}=(0,a.useContext)(iy),l=(0,a.useContext)(ig),h=(0,a.useContext)(c),d=(0,a.useContext)(f),m=d.reducedMotion,p=d.skipAnimations,g=(0,a.useRef)(null),y=(0,a.useRef)(!1);r=r||l.renderer,!g.current&&r&&(g.current=r(e,{visualState:t,parent:o,props:i,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:m,skipAnimations:p,isSVG:s}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let v=g.current,E=(0,a.useContext)(ik);v&&!v.projection&&n&&("html"===v.type||"svg"===v.type)&&function(e,t,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:c}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&iB(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(g.current,i,n,E);let b=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{v&&b.current&&v.update(i,h)});let T=i[iN],S=(0,a.useRef)(!!T&&"u">typeof window&&!window.MotionHandoffIsComplete?.(T)&&window.MotionHasOptimisedAnimation?.(T));return u(()=>{y.current=!0,v&&(b.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),S.current&&v.animationState&&v.animationState.animateChanges())}),(0,a.useEffect)(()=>{v&&(!S.current&&v.animationState&&v.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(T)}),S.current=!1),v.enteringChildren=void 0)}),v}(e,b,y,n,t.ProjectionNode,s)}return(0,o.jsxs)(iy.Provider,{value:E,children:[m&&E.visualElement?(0,o.jsx)(m,{visualElement:E.visualElement,...y}):null,function(e,t,i,{latestValues:r},n,s=!1,o){let l=(o??ip(e)?function(e,t,i,r){let n=(0,a.useMemo)(()=>{let i=iT();return tZ(i,t,tJ(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};ib(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t){let i,r,n={},s=(i=e.style||{},ib(r={},i,e),Object.assign(r,function({transformTemplate:e},t){return(0,a.useMemo)(()=>{let i=iE();return tW(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n})(t,r,n,e),h=function(e,t,i){let r={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&!em(e[n])&&(iA(n)||!0===i&&ix(n)||!t&&!ix(n)||e.draggable&&n.startsWith("onDrag"))&&(r[n]=e[n]);return r}(t,"string"==typeof e,s),u=e!==a.Fragment?{...h,...l,ref:i}:{},{children:c}=t,d=(0,a.useMemo)(()=>em(c)?c.get():c,[c]);return(0,a.createElement)(e,{...u,children:d})}(e,i,(d=E.visualElement,p=(0,a.useRef)(r),(0,a.useInsertionEffect)(()=>{p.current=r}),g=(0,a.useRef)(null),(0,a.useCallback)(e=>{e&&b.onMount?.(e),d&&(e?d.mount(e):d.unmount());let t=p.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(g.current=i)}else g.current?(g.current(),g.current=null):t(e);else t&&(t.current=e)},[d])),b,v,t,s)]})}d.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let m=(0,a.forwardRef)(d);return m[iI]=e,m}class iH{constructor(e){this.isMounted=!1,this.node=e}update(){}}function iD(e,t,i){let r=e.getProps();return tH(r,t,void 0!==i?i:r.custom,e)}function iF(e,t){if(e?.inherit&&t){let{inherit:i,...r}=e;return{...t,...r}}return e}function ij(e,t){let i=e?.[t]??e?.default??e;return i!==e?iF(i,e):i}let iV=e=>Array.isArray(e);function iU(e,t){let i=e.getValue("willChange");if(em(i)&&i.add)return i.add(t);if(!i&&eU.WillChange){let i=new eU.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let iG=(...e)=>e.reduce((e,t)=>i=>t(e(i)));function i$(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iY(e,t){return i=>i>0?t:e}let iW=(e,t,i)=>{let r=e*e,n=i*(t*t-r)+r;return n<0?0:Math.sqrt(n)},iK=[H,O,Y];function iX(e){let t=iK.find(t=>t.test(e));if(ev(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===Y&&(i=function({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,i/=100;let n=0,s=0,o=0;if(t/=100){let r=i<.5?i*(1+t):i+t-i*t,a=2*i-r;n=i$(a,r,e+1/3),s=i$(a,r,e),o=i$(a,r,e-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let iz=(e,t)=>
16{let i=iX(e),r=iX(t);if(!i||!r)return iY(e,t);let n={...i};return e=>(n.red=iW(i.red,r.red,e),n.green=iW(i.green,r.green,e),n.blue=iW(i.blue,r.blue,e),n.alpha=t2(i.alpha,r.alpha,e),O.transform(n))},iZ=new Set(["none","hidden"]);function iq(e,t){return i=>t2(e,t,i)}function iJ(e){return"number"==typeof e?iq:"string"==typeof e?ex(e)?iY:W.test(e)?iz:i1:Array.isArray(e)?iQ:"object"==typeof e?W.test(e)?iz:i0:iY}function iQ(e,t){let i=[...e],r=i.length,n=e.map((e,i)=>iJ(e)(e,t[i]));return e=>{for(let t=0;t<r;t++)i[t]=n[t](e);return i}}function i0(e,t){let i={...e,...t},r={};for(let n in i)void 0!==e[n]&&void 0!==t[n]&&(r[n]=iJ(e[n])(e[n],t[n]));return e=>{for(let t in r)i[t]=r[t](e);return i}}let i1=(e,t)=>{let i=Q.createTransformer(t),r=q(e),n=q(t);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return ev(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iY(e,t);if(iZ.has(e)&&!n.values.length||iZ.has(t)&&!r.values.length)return iZ.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return iG(iQ(function(e,t){let i=[],r={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let s=t.types[n],o=e.indexes[s][r[s]],a=e.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i)};function i2(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?t2(e,t,i):iJ(e)(e,t)}let i4=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eY.update(t,e),stop:()=>eW(t),now:()=>eK.isProcessing?eK.timestamp:tE.now()}};function i3(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let i5=.01,i6=2,i8=.005,i9=.5;function i7(e,t){return e*Math.sqrt(1-t*t)}let re=["duration","bounce"],rt=["stiffness","damping","mass"];function ri(e,t){return t.some(t=>void 0!==e[t])}function rr(e=.3,t=.3){let i,r,n,s,o,a,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:h,restDelta:u}=l,c=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],m={done:!1,value:c},{stiffness:p,damping:f,mass:g,duration:y,velocity:v,isResolvedFromDuration:E}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ri(e,rt)&&ri(e,re))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),r=i*i,n=2*L(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:1,stiffness:r,damping:n}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:r=1}){let n,s;ev(e<=e6(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=L(.05,1,o),e=L(.01,10,e/1e3),o<1?(n=t=>{let r=t*o,n=r*e;return .001-(r-i)/i7(t,o)*Math.exp(-n)},s=t=>{let r=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-r),l=i7(Math.pow(t,2),o);return(r*i+i-s)*a*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),s=t=>e*e*(i-t)*Math.exp(-t*e));let a=function(e,t,i){let r=i;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(n,s,5/e);if(e=e6(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*r;return{stiffness:t,damping:2*o*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),b=v||0,T=f/(2*Math.sqrt(p*g)),S=d-c,x=Math.sqrt(p/g)/1e3,A=5>Math.abs(S);if(h||(h=A?i5:i6),u||(u=A?i8:i9),T<1)n=i7(x,T),s=(b+T*x*S)/n,i=e=>d-Math.exp(-T*x*e)*(s*Math.sin(n*e)+S*Math.cos(n*e)),o=T*x*s+S*n,a=T*x*S-s*n,r=e=>Math.exp(-T*x*e)*(o*Math.sin(n*e)+a*Math.cos(n*e));else if(1===T){i=e=>d-Math.exp(-x*e)*(S+(b+x*S)*e);let e=b+x*S;r=t=>Math.exp(-x*t)*(x*e*t-b)}else{let e=x*Math.sqrt(T*T-1);i=t=>{let i=Math.exp(-T*x*t),r=Math.min(e*t,300);return d-i*((b+T*x*S)*Math.sinh(r)+e*S*Math.cosh(r))/e};let t=(b+T*x*S)/e,n=T*x*t-S*e,s=T*x*S-t*e;r=t=>{let i=Math.exp(-T*x*t),r=Math.min(e*t,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let w={calculatedDuration:E&&y||null,velocity:e=>e6(r(e)),next:e=>{if(!E&&T<1){let t=Math.exp(-T*x*e),i=Math.sin(n*e),r=Math.cos(n*e),l=d-t*(s*i+S*r);return m.done=Math.abs(e6(t*(o*i+a*r)))<=h&&Math.abs(d-l)<=u,m.value=m.done?d:l,m}let t=i(e);return E?m.done=e>=y:m.done=Math.abs(e6(r(e)))<=h&&Math.abs(d-t)<=u,m.value=m.done?d:t,m},toString:()=>{let e=Math.min(i3(w),2e4),t=tc(t=>w.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return w}function rn(e,t,i){let r=Math.max(t-5,0);return tb(i-e(r),t-r)}function rs({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let c,d,m=e[0],p={done:!1,value:m},f=i*t,g=m+f,y=void 0===o?g:o(g);y!==g&&(f=y-m);let v=e=>-f*Math.exp(-e/r),E=e=>y+v(e),b=e=>{let t=v(e),i=E(e);p.done=Math.abs(t)<=h,p.value=p.done?y:i},T=e=>{let t;if(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l){var i;c=e,d=rr({keyframes:[p.value,(i=p.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:rn(E,e,p.value),damping:n,stiffness:s,restDelta:h,restSpeed:u})}};return T(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==c||(t=!0,b(e),T(e)),void 0!==c&&e>
16=c)?d.next(e-c):(t||b(e),p)}}}rr.applyToOptions=e=>{let t=function(e,t=100,i){let r=i({...e,keyframes:[0,t]}),n=Math.min(i3(r),2e4);return{type:"keyframes",ease:e=>r.next(n*e).value/t,duration:n/1e3}}(e,100,rr);return e.ease=t.ease,e.duration=e6(t.duration),e.type="keyframes",e};let ro=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function ra(e,t,i,r){return e===t&&i===r?eV:n=>0===n||1===n?n:ro(function(e,t,i,r,n){let s,o,a=0;do(s=ro(o=t+(i-t)/2,r,n)-e)>0?i=o:t=o;while(Math.abs(s)>1e-7&&++a<12)return o}(n,0,1,e,i),t,r)}let rl=ra(.42,0,1,1),rh=ra(0,0,.58,1),ru=ra(.42,0,.58,1),rc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rd=e=>t=>1-e(1-t),rm=ra(.33,1.53,.69,.99),rp=rd(rm),rf=rc(rp),rg=e=>e>=1?1:(e*=2)<1?.5*rp(e):.5*(2-Math.pow(2,-10*(e-1))),ry=e=>1-Math.sin(Math.acos(e)),rv=rd(ry),rE=rc(ry),rb={linear:eV,easeIn:rl,easeInOut:ru,easeOut:rh,circIn:ry,circInOut:rE,circOut:rv,backIn:rp,backInOut:rf,backOut:rm,anticipate:rg},rT=e=>{if(th(e)){eE(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,r,n]=e;return ra(t,i,r,n)}return"string"==typeof e?(eE(void 0!==rb[e],`Invalid easing type '${e}'`,"invalid-easing-type"),rb[e]):e},rS=(e,t,i)=>{let r=t-e;return r?(i-e)/r:1};function rx({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){var n;let s,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(rT):rT(r),a={done:!1,value:t[0]},l=function(e,t,{clamp:i=!0,ease:r,mixer:n}={}){let s=e.length;if(eE(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,i){let r=[],n=i||eU.mix||i2,s=e.length-1;for(let i=0;i<s;i++){let s=n(e[i],e[i+1]);t&&(s=iG(Array.isArray(t)?t[i]||eV:t,s)),r.push(s)}return r}(t,r,n),l=a.length,h=i=>{if(o&&i<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(i<e[r+1]);r++);let n=rS(e[r],e[r+1],i);return a[r](n)};return i?t=>h(L(e[0],e[s-1],t)):h}((n=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let r=1;r<=t;r++){let n=rS(0,t,r);e.push(t2(i,1,n))}}(s=[0],t.length-1),s),n.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||ru).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}let rA={decay:rs,inertia:rs,tween:rx,keyframes:rx,spring:rr};function rw(e){"string"==typeof e.type&&(e.type=rA[e.type])}let rL=e=>e/100;class rP extends ta{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tE.now()&&this.tick(tE.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},tl.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;rw(e);let{type:t=rx,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=e,{keyframes:o}=e,a=t||rx;a!==rx&&"number"!=typeof o[0]&&(this.mixKeyframes=iG(rL,i2(o[0],o[1])),o=[0,100]);let l=a({...e,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...e,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=i3(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let i,{generator:r,totalDuration:n,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return r.next(0);let{delay:h=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let E=this.currentTime,b=r;if(c){let e=Math.min(this.currentTime,n)/a,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,c+1))%2&&("reverse"===d?(i=1-i,m&&(i-=m/a)):"mirror"===d&&(b=o)),E=L(0,1,i)*a}v?(this.delayState.value=u[0],i=this.delayState):i=b.next(E),s&&!v&&(i.value=s(i.value));let{done:T}=i;v||null===l||(T=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return S&&p!==rs&&(i.value=to(u,this.options,g,this.speed)),f&&f(i.value),S&&this.finish(),i}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=e6(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return rn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tE.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=i4,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tE.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,tl.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let rC={anticipate:rg,backInOut:rf,circInOut:rE};class r_ extends tf{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in rC&&(e.ease=rC[e.ease])}(e),rw(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new rP({...s,autoplay:!1}),a=Math.max(10,tE.now()-this.startTime),l=L(0,10,a-10),h=o.sample(a).value,{name:u}=this.options;n&&u&&te(n,u,h),t.setWithVelocity(o.sample(Math.max(0,a-l)).value,h,l),o.stop()}}let rM=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(Q.test(e)||"0"===e)&&!e.startsWith("url("));function rR(e){e.duration=0,e.type="keyframes"}let rI=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,rN=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rk=tt(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rB extends ta{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tE.now();const c={autoplay:e,delay:t,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:h,...u},d=h?.KeyframeResolver||e1;this.keyframeResolver=new d(o,(e,t,i)=>this.onKeyframesResolved(e,t,c,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,r){let n;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:u}=i;this.resolvedAt=tE.now();let c=!0;!function(e,t,i,r){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=rM(n,t),a=rM(s,t);return ev(o===a,`You are trying to animate ${t} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||tp(i))&&r)}(e,s,o,a)&&(c=!1,(eU.instantAnimations||!l)&&u?.(to(e,i,t)),e[0]=e[e.length-1],rR(i),i.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},m=c&&!h&&function(e){let{motionValue:t,name:i,repeatDelay:r,repeatType:n,damping:s,type:o,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
16let{onUpdate:l,transformTemplate:h}=t.owner.getProps();return rk()&&i&&(tg.has(i)||rN.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&rI.test(e[t]))return!0;return!1}(a))&&("transform"!==i||!h)&&!l&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(d),p=d.motionValue?.owner?.current;if(m)try{n=new r_({...d,element:p})}catch{n=new rP(d)}else n=new rP(d);n.finished.then(()=>{this.notifyFinished()}).catch(eV),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eJ=!0,e0(),eQ(),eJ=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rO={type:"spring",stiffness:500,damping:25,restSpeed:10},rH={type:"keyframes",duration:.8},rD={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rF=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rj=(e,t,i,r={},n,s)=>o=>{let a=ij(r,e)||{},l=a.delay||r.delay||0,{elapsed:h=0}=r;h-=e6(l);let u={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-h,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function(e){for(let t in e)if(!rF.has(t))return!0;return!1}(a)&&Object.assign(u,((e,{keyframes:t})=>t.length>2?rH:w.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:rO:rD)(e,u)),u.duration&&(u.duration=e6(u.duration)),u.repeatDelay&&(u.repeatDelay=e6(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let c=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(rR(u),0===u.delay&&(c=!0)),(eU.instantAnimations||eU.skipAnimations||n?.shouldSkipAnimations||a.skipAnimations)&&(c=!0,rR(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,c&&!s&&void 0!==t.get()){let e=to(u.keyframes,a);if(void 0!==e)return void eY.update(()=>{u.onUpdate(e),u.onComplete()})}return a.isSync?new rP(u):new rB(u)};function rV(e,t,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=t,l=e.getDefaultTransition();s=s?iF(s,l):l;let h=s?.reduceMotion,u=s?.skipAnimations;r&&(s=r);let c=[],d=n&&e.animationState&&e.animationState.getState()[n];for(let t in a){let r=e.getValue(t,e.latestValues[t]??null),n=a[t];if(void 0===n||d&&function({protectedKeys:e,needsAnimating:t},i){let r=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,r}(d,t))continue;let o={delay:i,...ij(s||{},t)};u&&(o.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){eY.update(()=>r.set(n));continue}let m=!1;if(window.MotionHandoffAnimation){let i=e.props[iN];if(i){let e=window.MotionHandoffAnimation(i,t,eY);null!==e&&(o.startTime=e,m=!0)}}iU(e,t);let p=h??e.shouldReduceMotion;r.start(rj(t,r,n,p&&ep.has(t)?{type:!1}:o,e,m));let f=r.animation;f&&c.push(f)}if(o){let t=()=>eY.update(()=>{o&&function(e,t){let{transitionEnd:i={},transition:r={},...n}=iD(e,t)||{};for(let t in n={...n,...i}){var s;let i=iV(s=n[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,tx(i))}}(e,o)});c.length?Promise.all(c).then(t):t()}return c}function rU(e,t,i,r=0,n=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function rG(e,t,i={}){let r=iD(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>
16Promise.all(rV(e,r,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(e,t,i=0,r=0,n=0,s=1,o){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(rG(l,t,{...o,delay:i+("function"==typeof r?0:r)+rU(e.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}let r$=t_.length;function rY(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}let rW=[...tC].reverse(),rK=tC.length;function rX(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rz(){return{animate:rX(!0),whileInView:rX(),whileHover:rX(),whileTap:rX(),whileDrag:rX(),whileFocus:rX(),exit:rX()}}let rZ=0;function rq(e){return[e("x"),e("y")]}function rJ(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i)}let rQ={x:!1,y:!1};function r0(e){return e.max-e.min}function r1(e,t,i,r=.5){e.origin=r,e.originPoint=t2(t.min,t.max,e.origin),e.scale=r0(i)/r0(t),e.translate=t2(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function r2(e,t,i,r){r1(e.x,t.x,i.x,r?r.originX:void 0),r1(e.y,t.y,i.y,r?r.originY:void 0)}function r4(e,t,i,r=0){e.min=(r?t2(i.min,i.max,r):i.min)+t.min,e.max=e.min+r0(t)}function r3(e,t,i,r=0){let n=r?t2(i.min,i.max,r):i.min;e.min=t.min-n,e.max=e.min+r0(t)}function r5(e,t,i,r){r3(e.x,t.x,i.x,r?.x),r3(e.y,t.y,i.y,r?.y)}function r6(e){return d(e)&&"ownerSVGElement"in e}function r8(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let n=i?.[e]??r.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}let r9=new WeakMap,r7=(e,t,i)=>(r,n)=>n&&n[0]?n[0][e+"Size"]:r6(r)&&"getBBox"in r?r.getBBox()[t]:r[i],ne=r7("inline","width","offsetWidth"),nt=r7("block","height","offsetHeight");function ni({target:e,borderBoxSize:t}){r9.get(e)?.forEach(i=>{i(e,{get width(){return ne(e,t)},get height(){return nt(e,t)}})})}function nr(e){e.forEach(ni)}let nn=new Set;function ns(e,t){let n;return"function"==typeof e?(nn.add(e),r||(r=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};nn.forEach(t=>t(e))},window.addEventListener("resize",r)),()=>{nn.delete(e),nn.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(nr)),(n=r8(e)).forEac
16h(e=>{let r=r9.get(e);r||(r=new Set,r9.set(e,r)),r.add(t),i?.observe(e)}),()=>{n.forEach(e=>{let r=r9.get(e);r?.delete(t),r?.size||i?.unobserve(e)})})}let no=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),na=new Set(["INPUT","SELECT","TEXTAREA"]),nl=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function nh(e){return{point:{x:e.pageX,y:e.pageY}}}function nu(e,t,i,r){return rJ(e,t,e=>nl(e)&&i(e,nh(e)),r)}let nc=({current:e})=>e?e.ownerDocument.defaultView:null,nd=(e,t)=>Math.abs(e-t),nm=new Set(["auto","scroll"]);class np{constructor(e,t,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=nf(this.lastRawMoveEventInfo,this.transformPagePoint));let i=ny(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(e=i.offset,t={x:0,y:0},Math.sqrt(nd(e.x,t.x)**2+nd(e.y,t.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=eK;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=nf(t,this.transformPagePoint),eY.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ny("pointercancel"===e.type?this.lastMoveEventInfo:nf(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),r&&r(e,s)},!nl(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const a=nf(nh(e),this.transformPagePoint),{point:l}=a,{timestamp:h}=eK;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=t;u&&u(e,ny(a,this.history)),this.removeListeners=iG(nu(this.contextWindow,"pointermove",this.handlePointerMove),nu(this.contextWindow,"pointerup",this.handlePointerUp),nu(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(nm.has(e.overflowX)||nm.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},n={x:r.x-t.x,y:r.y-t.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(e,r),eY.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eW(this.updatePoint)}}function nf(e,t){return t?{point:t(e.point)}:e}function ng(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ny({point:e},t){return{point:e,delta:ng(e,nv(t)),offset:ng(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,r=nv(e);for(;t>=0&&(i=e[t],!(r.timestamp-i.timestamp>e6(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&r.timestamp-i.timestamp>
162*e6(.1)&&(i=e[1]);let n=(r.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function nv(e){return e[e.length-1]}function nE(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function nb(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function nT(e,t,i){return{min:nS(e,t),max:nS(e,i)}}function nS(e,t){return"number"==typeof e?e:e[t]||0}let nx=new WeakMap;class nA{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ed(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{t&&this.snapToCursor(nh(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(rQ[e])return null;else return rQ[e]=!0,()=>{rQ[e]=!1};return rQ.x||rQ.y?null:(rQ.x=rQ.y=!0,()=>{rQ.x=rQ.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rq(e=>{let t=this.getAxisMotionValue(e).get()||0;if(j.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[e];r&&(t=r0(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&eY.update(()=>n(e,t),!1,!0),iU(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&eY.update(()=>s(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new np(e,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:nc(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,r=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&eY.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:r}=this.getProps();if(!i||!nL(e,r,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},r){return void 0!==t&&e<t?e=r?t2(t,e,r.min):Math.max(e,t):void 0!==i&&e>i&&(e=r?t2(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&iB(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:r,right:n}){return{x:nE(e.x,i,n),y:nE(e.y,t,r)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:nT(e,"left","right"),y:nT(e,"top","bottom")}}(t),r!==this.constraints&&!iB(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&rq(e=>{var t,r;let n;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],r=this.constraints[e],n={},void 0!==r.min&&(n.min=r.min-t.min),void 0!==r.max&&(n.max=r.max-t.min),n))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!iB(t))return!1;let r=t.current;eE(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;n.root&&(n.root.scroll=void 0,n.root.updateScroll());let s=function(e,t,i){let r=ic(e,i),{scroll:n}=t;return n&&(ia(r.x,n.offset.x),ia(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(e=n.layout.layoutBox,{x:nb(e.x,s.x),y:nb(e.y,s.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=t9(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rq(o=>{if(!nL(o,t,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return iU(this.visualElement,e),i.start(rj(e,i,0,t,this.visualElement,!1))}stopAnimation(){rq(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){rq(t=>{let{drag:i}=this.getProps();if(!nL(t,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(t);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[t],o=n.get()||0;n.set(e[t]-t2(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!iB(t)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rq(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,n;let s,o,a,l=t.get();r[e]=(i={min:l,max:l},n=this.constraints[e],s=.5,o=r0(i),(a=r0(n))>o?s=rS(n.min,n.max-o,i.min):o>a&&(s=rS(i.min,i.max-a,n.min)),L(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),rq(t=>{if(!nL(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set(t2(n,s,r[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;nx.set(this.visualElement,this);let t=this.visualElement.current,i=nu(t,"pointerdown",e=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=e.target,s=n!==t&&(na.has(n.tagName)||!0===n.isContentEditable);i&&r&&!s&&this.start(e)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();iB(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,r=a.current,s=ns(i,nw(n=()=>this.scalePositionWithinConstraints())),o=ns(r,nw(n)),e=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),eY.read(r);let o=rJ(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rq(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function nw(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function nL(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let nP=e=>(t,i)=>{e&&eY.update(()=>e(t,i),!1,!0)},nC={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var n_=a;let nM=!1;class nR extends n_.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=e;n&&(t.group&&t.group.add(n),i&&i.register&&r&&i.register(n),nM&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nC.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),nM=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==n?s.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?s.promote():s.relegate()||eY.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),ty.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:r}=e;nM=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function nI(e){let[t,i]=T(),r=(0,n_.useContext)(l);return(0,o.jsx)(nR,{...e,layoutGroup:r,switchLayoutGroup:(0,n_.useContext)(ik),isPresent:t,safeToRemove:i})}let nN=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nk=nN.length,nB=e=>"string"==typeof e?parseFloat(e):e,nO=e=>"number"==typeof e||V.test(e);function nH(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nD=nj(0,.5,rv),nF=nj(.5,.95,eV);function nj(e,t,i){return r=>r<e?0:r>t?1:i(rS(e,t,r))}function nV(e,t){e.min=t.min,e.max=t.max}function nU(e,t){nV(e.x,t.x),nV(e.y,t.y)}function nG(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function n$(e,t,i,r,n){return e-=t,e=r+1/i*(e-r),void 0!==n&&(e=r+1/n*(e-r)),e}function nY(e,t,[i,r,n],s,o){!function(e,t=0,i=1,r=.5,n,s=e,o=e){if(j.test(t)&&(t=parseFloat(t),t=t2(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=t2(s.min,s.max,r);e===s&&(a-=t),e.min=n$(e.min,t,i,a,n),e.max=n$(e.max,t,i,a,n)}(e,t[i],t[r],t[n],t.scale,s,o)}let nW=["x","scaleX","originX"],nK=["y","scaleY","originY"];function nX(e,t,i,r){nY(e.x,t,nW,i?i.x:void 0,r?r.x:void 0),nY(e.y,t,nK,i?i.y:void 0,r?r.y:void 0)}function nz(e){return 0===e.translate&&1===e.scale}function nZ(e){return nz(e.x)&&nz(e.y)}function nq(e,t){return e.min===t.min&&e.max===t.max}function nJ(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nQ(e,t){return nJ(e.x,t.x)&&nJ(e.y,t.y)}function n0(e){return r0(e.x)/r0(e.y)}function n1(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class n2{constructor(){this.members=[]}add(e){e8(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||(e9(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(e9(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:n}=e.options;(void 0===r||r!==n)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isU
16pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let n4=(e,t)=>e.depth-t.depth;class n3{constructor(){this.children=[],this.isDirty=!1}add(e){e8(this.children,e),this.isDirty=!0}remove(e){e9(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(n4),this.isDirty=!1,this.children.forEach(e)}}let n5=["","X","Y","Z"],n6=0;function n8(e,t,i,r){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function n9({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(e={},i=t?.()){this.id=n6++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(st),this.nodes.forEach(su),this.nodes.forEach(sc),this.nodes.forEach(si)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new n3)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new e7),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=r6(t)&&!(r6(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),e){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;eY.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==r){let t,s;r=e,this.root.updateBlockedByResize=!0,i&&i(),t=tE.now(),s=({timestamp:e})=>{let i=e-t;i>=250&&(eW(s),n(i-250))},eY.setup(s,!0),i=()=>eW(s),nC.hasAnimatedSinceResize&&(nC.hasAnimatedSinceResize=!1,this.nodes.forEach(sh))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||sy,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!nQ(this.targetLayout,r),h=!t&&i;if(this.options.layoutRoot||this.resumeFrom||h||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...ij(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,h)}else t||sh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eW(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
16h(sd),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let r=i.props[iN];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",eY,!(e||i))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(ss),this.nodes.forEach(sn);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(so);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(sa),this.nodes.forEach(sl),this.nodes.forEach(n7),this.nodes.forEach(se)):this.nodes.forEach(so),this.clearAllSnapshots();let e=tE.now();eK.delta=L(0,1e3/60,e-eK.timestamp),eK.timestamp=e,eK.isProcessing=!0,eX.update.process(eK),eX.preRender.process(eK),eX.render.process(eK),eK.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ty.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sr),this.sharedNodes.forEach(sm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eY.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eY.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||r0(this.snapshot.measuredBox.x)||r0(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=ed()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nZ(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||it(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),r=this.removeElementScroll(i);return e&&(r=this.removeTransform(r)),sb((t=r).x),sb(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return ed();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sS))){let{scroll:e}=this.root;e&&(ia(t.x,e.offset.x),ia(t.y,e.offset.y))}return t}removeElementScroll(e){let t=ed();if(nU(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&nU(t,e),ia(t.x,n.offset.x),ia(t.y,n.offset.y))}return t}applyTransform(e,t=!1,i){let r=i||ed();nU(r,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(ia(r.x,-i.scroll.offset.x),ia(r.y,-i.scroll.offset.y)),it(i.latestValues)&&iu(r,i.latestValues,i.layout?.layoutBox)}return it(this.latestValues)&&iu(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=ed();nU(t,e);for(let e=0;e<this.path.length;e++){let i,r=this.path[e];it(r.latestValues)&&(r.instance&&(ie(r.latestValues)&&r.updateSnapshot(),nU(i=ed(),r.measurePageBox())),nX(t,r.latestValues,r.snapshot?.layoutBox,i))}return it(this.latestValues)&&nX(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eK.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
16isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=eK.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=ed(),this.targetWithTransforms=ed()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,h;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,h=this.options.layoutAnchor||void 0,r4(o.x,a.x,l.x,h?.x),r4(o.y,a.y,l.y,h?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):nU(this.target,this.layout.layoutBox),io(this.target,this.targetDelta)):nU(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||ie(this.parent.latestValues)||ii(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ed(),this.relativeTargetOrigin=ed(),r5(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),nU(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===eK.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;nU(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(e,t,i,r=!1){let n,s,o=i.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(ia(e.x,-n.scroll.offset.x),ia(e.y,-n.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,io(e,s)),r&&it(n.latestValues)&&iu(e,n.latestValues,n.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=ed());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nG(this.prevProjectionDelta.x,this.projectionDelta.x),nG(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),r2(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&n1(this.projectionDelta.x,this.prevProjectionDelta.x)&&n1(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=eu(),this.projectionDelta=eu(),this.projectionDeltaWithTransform=eu()}setAnimationOrigin(e,t=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=eu();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=ed(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,c=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(sg));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(sp(o.x,e.x,r),sp(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,d,m,p,f,g;r5(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=r,sf(m.x,p.x,f.x,g),sf(m.y,p.y,f.y,g),i&&(h=this.relativeTarget,d=i,nq(h.x,d.x)&&nq(h.y,d.y))&&(this.isProjectionDirty=!1),i||(i=ed()),nU(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,r,n,s){n?(e.opacity=t2(0,i.opacity??1,nD(r)),e.opacityExit=t2(t.opacity??1,0,nF(r))):s&&(e.opacity=t2(t.opacity??1,i.opacity??1,r));for(let n=0;n<nk;
16n++){let s=nN[n],o=nH(t,s),a=nH(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||nO(o)===nO(a)?(e[s]=Math.max(t2(nB(o),nB(a),r),0),(j.test(a)||j.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||i.rotate)&&(e.rotate=t2(t.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eW(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eY.update(()=>{var t,i,r;let n;nC.hasAnimatedSinceResize=!0,tl.layout++,this.motionValue||(this.motionValue=tx(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],r={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{tl.layout--},onComplete:()=>{tl.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(n=em(t)?t:tx(t)).start(rj("",n,i,r)),n.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:r,latestValues:n}=e;if(t&&i&&r){if(this!==e&&this.layout&&r&&sT(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||ed();let t=r0(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let r=r0(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+r}nU(t,i),iu(t,n),r2(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new n2),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let r={};i.z&&n8("z",e,r,this.animationValues);for(let t=0;t<n5.length;t++)n8(`rotate${n5[t]}`,e,r,this.animationValues),n8(`skew${n5[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=iw(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=iw(t?.pointerEvents)||""),this.hasProjected&&!it(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(e,t,i){let r="",n=e.x.translate/t.x,s=e.y.translate/t.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l}
16)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,t4){if(void 0===n[t])continue;let{correct:i,applyTo:o,isCSSVariable:a}=t4[t],l="none"===s?n[t]:i(n[t],r);if(o){let t=o.length;for(let i=0;i<t;i++)e[o[i]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?iw(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(sn),this.root.sharedNodes.clear()}}}function n7(e){e.updateLayout()}function se(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=e.layout,{animationType:n}=e.options,s=t.source!==e.layout.source;if("size"===n)rq(e=>{let r=s?t.measuredBox[e]:t.layoutBox[e],n=r0(r);r.min=i[e].min,r.max=r.min+n});else if("x"===n||"y"===n){let e="x"===n?"y":"x";nV(s?t.measuredBox[e]:t.layoutBox[e],i[e])}else sT(n,t.layoutBox,i)&&rq(r=>{let n=s?t.measuredBox[r]:t.layoutBox[r],o=r0(i[r]);n.max=n.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=eu();r2(o,i,t.layoutBox);let a=eu();s?r2(a,e.applyTransform(r,!0),t.measuredBox):r2(a,i,t.layoutBox);let l=!nZ(o),h=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=e.options.layoutAnchor||void 0,a=ed();r5(a,t.layoutBox,n.layoutBox,o);let l=ed();r5(l,i,s.layoutBox,o),nQ(a,l)||(h=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function st(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function si(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function sr(e){e.clearSnapshot()}function sn(e){e.clearMeasurements()}function ss(e){e.isLayoutDirty=!0,e.updateLayout()}function so(e){e.isLayoutDirty=!1}function sa(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function sl(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function sh(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function su(e){e.resolveTargetDelta()}function sc(e){e.calcProjection()}function sd(e){e.resetSkewAndRotation()}function sm(e){e.removeLeadSnapshot()}function sp(e,t,i){e.translate=t2(t.translate,0,i),e.scale=t2(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function sf(e,t,i,r){e.min=t2(t.min,i.min,r),e.max=t2(t.max,i.max,r)}function sg(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let sy={duration:.45,ease:[.4,0,.1,1]},sv=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sE=sv("applewebkit/")&&!sv("chrome/")?Math.round:eV;function sb(e){e.min=sE(e.min),e.max=sE(e.max)}function sT(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(n0(t)-n0(i)))}function sS(e){return e!==e.root&&e.scroll?.wasRoot}let sx=n9({attachResizeListener:(e,t)=>rJ(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sA={current:void 0},sw=n9({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sA.current){let e=new sx({});e.mount(window),e.setOptions({layoutScroll:!0}),sA.current=e}return sA.current},resetTransform:(e,t)=>
16{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function sL(e,t){let i=r8(e),r=new AbortController;return[i,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function sP(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&eY.postRender(()=>n(t,nh(t)))}let sC=(e,t)=>!!t&&(e===t||sC(e,t.parentElement)),s_=new WeakSet;function sM(e){return t=>{"Enter"===t.key&&e(t)}}function sR(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function sI(e){return nl(e)&&!(rQ.x||rQ.y)}let sN=new WeakSet;function sk(e,t,i){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&eY.postRender(()=>n(t,nh(t)))}let sB=new WeakMap,sO=new WeakMap,sH=e=>{let t=sB.get(e.target);t&&t(e)},sD=e=>{e.forEach(sH)},sF={some:0,all:1},sj=function(e,t){if("u"<typeof Proxy)return iO;let i=new Map,r=(i,r)=>iO(i,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,iO(s,void 0,e,t)),i.get(s))})}({animation:{Feature:class extends iH{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>rG(e,t,i)));else if("string"==typeof t)r=rG(e,t,i);else{let n="function"==typeof t?iD(e,t,i.custom):t;r=Promise.all(rV(e,n,i))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=rz(),r=!0,n=!1,s=t=>(i,r)=>{let n=iD(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(n){let{transition:e,transitionEnd:t,...r}=n;i={...i,...r,...t}}return i};function o(o){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<r$;e++){let r=t_[e],n=t.props[r];(tP(n)||!1===n)&&(i[r]=n)}return i}(e.parent)||{},h=[],u=new Set,c={},d=1/0;for(let t=0;t<rK;t++){var m,p;let f=rW[t],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=tP(y),E=f===o?g.isActive:null;!1===E&&(d=t);let b=y===l[f]&&y!==a[f]&&v;if(b&&(r||n)&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...c},!g.isActive&&null===E||!y&&!g.prevProp||tL(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==E){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let T=(m=g.prevProp,"string"==typeof(p=y)?p!==m:!!Array.isArray(p)&&!rY(p,m)),S=T||f===o&&g.isActive&&!b&&v||t>d&&v,x=!1,A=Array.isArray(y)?y:[y],w=A.reduce(s(f),{});!1===E&&(w={});let{prevResolvedValues:L={}}=g,P={...L,...w},C=t=>{S=!0,u.has(t)&&(x=!0,u.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in P){let t=w[e],i=L[e];if(!c.hasOwnProperty(e))(iV(t)&&iV(i)?!rY(t,i)||T:t!==i)?null!=t?C(e):u.add(e):void 0!==t&&u.has(e)?C(e):g.protectedKeys[e]=!0}g.prevProp=y,g.prevResolvedValues=w,g.isActive&&(c={...c,...w}),(r||n)&&e.blockInitialAnimation&&(S=!1);let _=b&&T,M=!_||x;S&&M&&h.push(...A.map(t=>{let i={type:f};if("string"==typeof t&&(r||n)&&!_&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,n=iD(r,t);if(r.enteringChildren&&n){let{delayChildren:t}=n.transition||{};i.delay=rU(r.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(u.size){let t={};if("boolean"!=typeof a.initial){let i=iD(e,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(t.transition=i.transition)}u.forEach(i=>{let r=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=r??null}),h.push({animation:t})}let f=!!h.length;return r&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,n=!1,f?t(h):Promise.resolve()}return{animateChanges:o,setActive:function(t,r){if(i[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),i[t].isActive=r;let n=o(t);for(let e in i)i[e].protectedKeys={};return n},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=rz(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tL(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iH{constructor(){super(...arguments),this.id=rZ++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let i=iD(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...r}=i;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>
16{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends iH{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:sF[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=t?i:r;n&&n(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;sO.has(i)||sO.set(i,{});let r=sO.get(i),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(sD,{root:e,...t})),r[n]}(a),sB.set(e,l),t.observe(e),()=>{sB.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iH{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[r,n,s]=sL(e,i),o=e=>{let r=e.currentTarget;if(!sI(e)||sN.has(e))return;s_.add(r),i.stopPropagation&&sN.add(e);let s=t(r,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),s_.has(r)&&s_.delete(r),sI(e)&&"function"==typeof s&&s(e,{success:t})},a=e=>{o(e,r===window||r===document||i.useGlobalTarget||sC(r,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(e=>{((i.useGlobalTarget?window:e).addEventListener("pointerdown",o,n),m(e))&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let r=sM(()=>{if(s_.has(i))return;sR(i,"down");let e=sM(()=>{sR(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>sR(i,"cancel"),t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)})(e,n)),no.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(sk(this.node,t,"Start"),(e,{success:t})=>sk(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iH{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iG(rJ(this.node.current,"focus",()=>this.onFocus()),rJ(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iH{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=sL(e,i);return r.forEach(e=>{let i,r=!1,s=!1,o=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},a=e=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(e))},l=e=>{if("touch"!==e.pointerType){if(r){s=!0;return}o(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||rQ.x||rQ.y)return;s=!1;let o=t(e,r);"function"==typeof o&&(i=o,e.addEventListener("pointerleave",l,n))},n),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(e,(e,t)=>(sP(this.node,t,"Start"),e=>sP(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends iH{constructor(){super(...arguments),this.removePointerDownListener=eV}onPointerDown(e){this.session=new np(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nc(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:nP(e),onStart:nP(t),onMove:nP(i),onEnd:(e,t)=>{delete this.session,r&&eY.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=nu(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iH{constructor(e){super(e),this.removeGroupControls=eV,this.removeListeners=eV,this.controls=new nA(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eV}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:sw,MeasureLayout:nI},layout:{ProjectionNode:sw,MeasureLayout:nI}},(e,t)=>t.isSVG??ip(e)?new t8(t):new id(t,{allowProjection:e!==a.Fragment}));e.s(["motion",0,sj],46932)},70055,e=>{"use strict";e.i(81393),e.s([])},96661,5014,e=>{"use strict";let t=(...e)=>e.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim();e.s(["mergeClasses",0,t],96661);var i=e.i(71645),r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,i.createContext)({}),s=(0,i.forwardRef)(({color:e,size:s,strokeWidth:o,absoluteStrokeWidth:a,className:l="",children:h,iconNode:u,...c},d)=>
16{let{size:m=24,strokeWidth:p=2,absoluteStrokeWidth:f=!1,color:g="currentColor",className:y=""}=(0,i.useContext)(n)??{},v=a??f?24*Number(o??p)/Number(s??m):o??p;return(0,i.createElement)("svg",{ref:d,...r,width:s??m??r.width,height:s??m??r.height,stroke:e??g,strokeWidth:v,className:t("lucide",y,l),...!h&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,t])=>(0,i.createElement)(e,t)),...Array.isArray(h)?h:[h]])});e.s(["default",0,s],5014)},56420,e=>{"use strict";var t=e.i(71645),i=e.i(96661);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var n=e.i(5014);e.s(["default",0,(e,s)=>{let o=(0,t.forwardRef)(({className:o,...a},l)=>(0,t.createElement)(n.default,{ref:l,iconNode:s,className:(0,i.mergeClasses)(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...a}));return o.displayName=r(e),o}],56420)},83334,15170,9642,51898,e=>{"use strict";e.i(43476);var t=e.i(56420);(0,t.default)("bookmark",[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]),(0,t.default)("columns-3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);let i=(0,t.default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);e.s(["Image",0,i],15170);let r=(0,t.default)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);e.s(["LayoutGrid",0,r],9642),(0,t.default)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]);let n=(0,t.default)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);e.s(["Pin",0,n],51898),(0,t.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),(0,t.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),(0,t.default)("shopping-bag",[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]]),e.i(81393),`
17M511.955,204.025c-0.427-13.474-11.307-24.32-24.789-24.781l-3.55-0.043c-8.277,0-31.258,0.802-59.674,6.332
18c-5.086-38.4-15.386-65.664-16.239-67.84c-2.526-6.511-7.612-11.699-14.063-14.37c-3.14-1.297-6.468-1.946-9.796-1.946
19c-3.516,0-7.023,0.725-10.308,2.167c-1.877,0.828-22.554,10.146-48.35,28.305c-22.605-43.008-48.759-70.733-50.679-72.738
20c-4.838-5.052-11.52-7.902-18.5-7.902c-6.98,0-13.662,2.85-18.492,7.893c-1.92,2.005-28.109,29.773-50.722,72.823
21c-25.737-18.108-46.438-27.563-48.307-28.39c-3.285-1.442-6.793-2.167-10.308-2.167c-3.328,0-6.656,0.648-9.796,1.946
22c-6.451,2.671-11.529,7.868-14.063,14.37c-0.845,2.176-11.145,29.431-16.23,67.84c-28.433-5.538-51.405-6.323-59.682-6.323
23l-3.567,0.043c-13.474,0.461-24.363,11.307-24.789,24.781c-0.154,4.796-2.876,118.349,67.746,188.979
24c64.521,64.521,165.769,67.789,185.412,67.789l2.628-0.034c0.051,0,0.102,0.034,0.154,0.034c0.051,0,0.102-0.034,0.154-0.034
25l2.628,0.034c19.644,0,120.892-3.268,185.412-67.789C514.83,322.382,512.108,208.829,511.955,204.025z M383.844,126.969
26c0,0,10.257,26.863,14.942,64.563c-14.831,4.156-30.242,9.737-45.542,17.203c-3.968-19.055-9.916-36.915-16.922-53.248
27C362.468,136.543,383.844,126.969,383.844,126.969z M128.168,126.969c0,0,21.376,9.523,47.539,28.467
28c-7.023,16.384-12.996,34.313-16.964,53.436c-15.3-7.467-30.686-13.133-45.525-17.297
29C117.902,153.858,128.168,126.969,128.168,126.969z M85.911,374.905C22.303,311.298,25.64,204.836,25.64,204.836
30s0.964-0.026,2.756-0.026c13.414,0,73.199,2.133,126.182,30.677c-0.614,6.733-0.973,13.568-0.973,20.514
31c0,78.805,42.769,145.374,67.268,177.075C184.172,428.716,126.402,415.396,85.911,374.905z M256.569,434.596
32c-0.495-0.162-0.981-0.316-1.613-0.546c-9.011-9.822-75.75-85.76-75.75-178.048c0-98.97,76.8-179.2,76.8-179.2
33s76.8,80.23,76.8,179.2C332.806,350.969,262.286,428.469,256.569,434.596z M426.109,374.905
34c-40.491,40.491-98.261,53.811-134.963,58.172c24.491-31.701,67.26-98.27,67.26-177.075c0-6.989-0.358-13.867-0.99-20.642
35c52.983-28.518,112.794-30.558,126.199-30.558c1.792,0,2.756,0.026,2.756,0.026S489.708,311.298,426.109,374.905z
36`.replace(/\s+/g,""),e.s([],83334)},84791,e=>{"use strict";var t=e.i(43476);e.i(81393);var i=e.i(66712),r=e.i(6693),n=e.i(88653),s=e.i(46932);e.i(47167);var o=e.i(71164),a=e.i(38544),l=e.i(71645);function h(){o.hasReducedMotionListener.current||(0,a.initPrefersReducedMotion)();let[e]=(0,l.useState)(o.prefersReducedMotion.current);return e}e.i(70055);var u=e.i(48389);e.i(83334);let c=(0,e.i(56420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),d=[.22,1,.36,1],m=(0,l.createContext)(null),p=(0,l.createContext)(null);function f(){let e=(0,l.useContext)(m);if(!e)throw Error("Accordion components must be used within <Accordion>");return e}function g(){let e=(0,l.useContext)(p);if(!e)throw Error("Accordion item components must be used within <AccordionItem>");return e}let y=["flex w-full cursor-pointer select-none items-center justify-between gap-4 text-left",i.FONT_WEIGHT.medium,r.LABEL.primary,u.focusVisibleRingClass,"rounded-[inherit]"].join(" ");e.s(["Accordion",0,function({type:e="multiple",defaultValue:i,className:r,children:n}){let[s,o]=(0,l.useState)(()=>i?new Set(Array.isArray(i)?i:[i]):new Set),a=(0,l.useCallback)(t=>{o(i=>{let r=new Set(i);return r.has(t)?r.delete(t):("single"===e&&r.clear(),r.add(t)),r})},[e]),h=(0,l.useCallback)(e=>s.has(e),[s]),u=(0,l.useMemo)(()=>({toggle:a,isOpen:h}),[a,h]);return(0,t.jsx)(m.Provider,{value:u,children:(0,t.jsx)("div",{className:r,children:n})})},"AccordionContent",0,function({children:e,className:i}){let{isOpen:r}=f(),{value:o,contentId:a}=g(),l=r(o),u=h();return(0,t.jsx)(n.AnimatePresence,{initial:!1,children:l?(0,t.jsx)(s.motion.div,{id:a,role:"region",initial:!u&&{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:u?{duration:0}:{duration:.28,ease:d},className:"overflow-hidden",children:(0,t.jsx)("div",{className:["pt-3",i].filter(Boolean).join(" "),children:e})}):null})},"AccordionItem",0,function({value:e,className:i,children:r}){let n=(0,l.useId)(),{isOpen:s}=f(),o=s(e),a=(0,l.useMemo)(()=>({value:e,contentId:n}),[e,n]);return(0,t.jsx)(p.Provider,{value:a,children:(0,t.jsx)("div",{className:i,"data-state":o?"open":"closed",children:r})})},"AccordionTrigger",0,function({children:e,className:i}){let{toggle:n,isOpen:o}=f(),{value:a,contentId:l}=g(),u=o(a),m=h();return(0,t.jsxs)("button",{type:"button",className:[y,i].filter(
36Boolean).join(" "),"aria-expanded":u,"aria-controls":l,onClick:()=>n(a),children:[(0,t.jsx)("span",{className:"min-w-0 flex-1",children:e}),(0,t.jsx)(s.motion.span,{"aria-hidden":!0,className:`shrink-0 ${r.LABEL.tertiary}`,animate:{rotate:45*!!u},transition:m?{duration:0}:{duration:.28,ease:d},children:(0,t.jsx)(c,{className:"h-5 w-5",strokeWidth:2})})]})}],84791)},7207,e=>{"use strict";var t=e.i(43476),i=e.i(49574),r=e.i(71645),n=e.i(10211);e.i(70055);var s=e.i(48389);e.i(81393);var o=e.i(74449),a=e.i(19605),l=e.i(6693),h=e.i(19932);let u=i.WEB_APP_STORAGE_KEYS.COOKIE_NOTICE_DISMISSED;e.s(["CookieNotice",0,function({message:e,acceptEssentialLabel:i,acceptAllLabel:c,policyHref:d,policyLabel:m,dialogAriaLabel:p,className:f=""}){let[g,y]=(0,r.useState)(!1);function v(e){e&&(0,n.grantAnalyticsConsent)();try{globalThis.localStorage?.setItem(u,"1")}catch{}y(!1)}if((0,r.useEffect)(()=>{try{let e=globalThis.localStorage?.getItem(u);y("1"!==e)}catch{y(!0)}},[]),!g)return null;let E=["shrink-0 whitespace-nowrap",s.focusVisibleRingClass].join(" ");return(0,t.jsx)("div",{role:"dialog","aria-live":"polite","aria-label":p,className:["fixed bottom-4 left-4 z-(--z-layer-8) w-[calc(100%-2rem)] max-w-md sm:bottom-6 sm:left-6 sm:max-w-lg",a.COOKIE_NOTICE_SURFACE_CLASS,f].join(" "),children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("p",{className:(0,h.textStyle)("bodySecondary"),children:[e," ",(0,t.jsx)("a",{href:d,className:`underline transition-colors ${l.HOVER_LABEL.primary}`,children:m})]}),(0,t.jsxs)("div",{className:"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",children:[(0,t.jsx)("button",{type:"button",onClick:()=>v(!1),className:[o.TERTIARY_ACTION_BUTTON_CLASS,E].join(" "),children:i}),(0,t.jsx)("button",{type:"button",onClick:()=>v(!0),className:[o.COOKIE_ACCEPT_BUTTON_CLASS,E].join(" "),children:c})]})]})})}])},61745,e=>{"use strict";var t,i,r,n,s,o,a=e.i(71645);function l(e,t){let i=t&&t.cache?t.cache:m,r=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:function(e,t){var i,r;let n=1===e.length?h:u;return i=t.cache.create(),r=t.serializer,n.bind(this,e,i,r)})(e,{cache:i,serializer:r})}function h(e,t,i,r){let n=null==r||"number"==typeof r||"boolean"==typeof r?r:i(r),s=t.get(n);return void 0===s&&(s=e.call(this,r),t.set(n,s)),s}function u(e,t,i){let r=Array.prototype.slice.call(arguments,3),n=i(r),s=t.get(n);return void 0===s&&(s=e.apply(this,r),t.set(n,s)),s}let c=function(){return JSON.stringify(arguments)};var d=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let m={create:function(){return new d}},p={variadic:function(e,t){var i,r;return i=t.cache.create(),r=t.serializer,u.bind(this,e,i,r)},monadic:function(e,t){var i,r;return i=t.cache.create(),r=t.serializer,h.bind(this,e,i,r)}};class f extends Error{constructor(e,t){let i=e;t&&(i+=": "+t),super(i),this.code=e,t&&(this.originalMessage=t)}}var g=((t=g||{}).MISSING_MESSAGE="MISSING_MESSAGE",t.MISSING_FORMAT="MISSING_FORMAT",t.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",t.INSUFFICIENT_PATH="INSUFFICIENT_PATH",t.INVALID_MESSAGE="INVALID_MESSAGE",t.INVALID_KEY="INVALID_KEY",t.FORMATTING_ERROR="FORMATTING_ERROR",t);function y(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function v(e,t){return l(e,{cache:{create:()=>({get:e=>t[e],set(e,i){t[e]=i}})},strategy:p.variadic})}function E(e,t){return v((...t)=>new e(...t),t)}function b(e){return{getDateTimeFormat:E(Intl.DateTimeFormat,e.dateTime),getNumberFormat:E(Intl.NumberFormat,e.number),getPluralRules:E(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:E(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:E(Intl.ListFormat,e.list),getDisplayNames:E(Intl.DisplayNames,e.displayNames)}}let T=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,S=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,x=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,A=/^(@+)?(\+|#+)?[rs]?$/g,w=/(\*)(0+)|(#+)(0+)|(0+)/g,L=/^(0+)$/;function P(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(A,function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""}),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function _(e){let t=C(e);return t||{}}let M=((i={})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_
36NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",i),R=((r={})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",r),I=((n={})[n.number=0]="number",n[n.dateTime=1]="dateTime",n);function N(e){return e.type===R.literal}function k(e){return e.type===R.number}function B(e){return e.type===R.date}function O(e){return e.type===R.time}function H(e){return e.type===R.select}function D(e){return e.type===R.plural}function F(e){return e.type===R.tag}function j(e){return!!(e&&"object"==typeof e&&e.type===I.number)}function V(e){return!!(e&&"object"==typeof e&&e.type===I.dateTime)}let U=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,G={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
36:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},$=RegExp(`^${U.source}*`),Y=RegExp(`${U.source}*$`);function W(e,t){return{start:e,end:t}}let K=!!Object.fromEntries,X=!!String.prototype.trimStart,z=!!String.prototype.trimEnd,Z=K?Object.fromEntries:function(e){let t={};for(let[i,r]of e)t[i]=r;return t},q=X?function(e){return e.trimStart()}:function(e){return e.replace($,"")},J=z?function(e){return e.trimEnd()}:function(e){return e.replace(Y,"")},Q=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var ee=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(e,t,i){let r=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,i);if(t.err)return t;r.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),r.push({type:R.pound,location:W(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&et(this.peek()||0)){let i=this.parseTag(e,t);if(i.err)return i;r.push(i.val)}else{let i=this.parseLiteral(e,t);if(i.err)return i;r.push(i.val)}else if(!i)return this.error(M.UNMATCHED_CLOSING_TAG,W(this.clonePosition(),this.clonePosition()));else break}return{val:r,err:null}}parseTag(e,t){let i=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:R.literal,value:`<${r}/>`,location:W(i,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(M.INVALID_TAG,W(i,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(M.UNCLOSED_TAG,W(i,this.clonePosition()));{if(this.isEOF()||!et(this.char()))return this.error(M.INVALID_TAG,W(o,this.clonePosition()));let e=this.clonePosition();return r!==this.parseTagName()?this.error(M.UNMATCHED_CLOSING_TAG,W(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:R.tag,value:r,children:s,location:W(i,this.clonePosition())},err:null}:this.error(M.INVALID_TAG,W(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let i=this.clonePosition(),r="";for(;;){let i=this.tryParseQuote(t);if(i){r+=i;continue}let n=this.tryParseUnquoted(e,t);if(n){r+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){r+=s;continue}break}let n=W(i,this.clonePosition());return{val:{type:R.literal,value:r,location:n},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(et(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
36case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),String.fromCodePoint(i))}parseArgument(e,t){let i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,W(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(M.EMPTY_ARGUMENT,W(i,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(M.MALFORMED_ARGUMENT,W(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,W(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:R.argument,value:r,location:W(i,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,W(i,this.clonePosition()));return this.parseArgumentOptions(e,t,r,i);default:return this.error(M.MALFORMED_ARGUMENT,W(i,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),i=this.offset(),r=(e=this.message,Q.lastIndex=i,Q.exec(e)[1]??""),n=i+r.length;return this.bumpTo(n),{value:r,location:W(t,this.clonePosition())}}parseArgumentOptions(e,t,i,r){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(M.EXPECT_ARGUMENT_TYPE,W(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),i=this.parseSimpleArgStyleIfPossible();if(i.err)return i;let r=J(i.val);if(0===r.length)return this.error(M.EXPECT_ARGUMENT_STYLE,W(this.clonePosition(),this.clonePosition()));e={style:r,styleLocation:W(t,this.clonePosition())}}let t=this.tryParseArgumentClose(r);if(t.err)return t;let n=W(r,this.clonePosition());if(e&&e.style.startsWith("::")){let t=q(e.style.slice(2));if("number"===s){let r=this.parseNumberSkeletonFromString(t,e.styleLocation);if(r.err)return r;return{val:{type:R.number,value:i,location:n,style:r.val},err:null}}{let r;if(0===t.length)return this.error(M.EXPECT_DATE_TIME_SKELETON,n);let o=t;this.locale&&(o=function(e,t){let i="";for(let r=0;r<e.length;r++){let n=e.charAt(r);if("j"===n){let s=0;for(;r+1<e.length&&e.charAt(r+1)===n;)s++,r++;let o=1+(1&s),a=s<2?1:3+(s>>1),l=function(e){let t,i=e.hourCycle;if(void 0===i&&e.hourCycles&&e.hourCycles.length&&(i=e.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let r=e.language;return"root"!==r&&(t=e.maximize().region),(G[t||""]||G[r||""]||G[`${r}-001`]||G["001"])[0]}(t);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;o-- >0;)i=l+i}else"J"===n?i+="H":i+=n}return i}(t,this.locale));let a={type:I.dateTime,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},o.replace(T,e=>{let t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}};return{val:{type:"date"===s?R.date:R.time,value:i,location:n,style:a},err:null}}}return{val:{type:"number"===s?R.number:"date"===s?R.date:R.time,value:i,location:n,style:e?.style??null},err:null}}
36case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS,W(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,W(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=e.val}let l=this.tryParsePluralOrSelectOptions(e,s,t,o);if(l.err)return l;let h=this.tryParseArgumentClose(r);if(h.err)return h;let u=W(r,this.clonePosition());if("select"===s)return{val:{type:R.select,value:i,options:Z(l.val),location:u},err:null};return{val:{type:R.plural,value:i,options:Z(l.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(M.INVALID_ARGUMENT_TYPE,W(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,W(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,W(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let i=[];try{i=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(S).filter(e=>e.length>0),i=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[r,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");i.push({stem:r,options:n})}return i}(e)}catch{return this.error(M.INVALID_NUMBER_SKELETON,t)}return{val:{type:I.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let i of e){switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...i.options.reduce((e,t)=>({...e,..._(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...i.options.reduce((e,t)=>({...e,..._(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(w,function(e,i,r,n,s,o){if(i)t.minimumIntegerDigits=r.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(L.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(x.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(x,function(e,i,r,n,s,o){return"*"===r?t.minimumFractionDigits=i.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""});let e=i.options[0];
36"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...P(e)});continue}if(A.test(i.stem)){t={...t,...P(i.stem)};continue}let e=C(i.stem);e&&(t={...t,...e});let r=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!L.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem);r&&(t={...t,...r})}return t}(i):{}},err:null}}tryParsePluralOrSelectOptions(e,t,i,r){let n=!1,s=[],o=new Set,{value:a,location:l}=r;for(;;){if(0===a.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR,M.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;l=W(e,this.clonePosition()),a=this.message.slice(e.offset,this.offset())}else break}if(o.has(a))return this.error("select"===t?M.DUPLICATE_SELECT_ARGUMENT_SELECTOR:M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,W(this.clonePosition(),this.clonePosition()));let h=this.parseMessage(e+1,t,i);if(h.err)return h;let u=this.tryParseArgumentClose(r);if(u.err)return u;s.push([a,{value:h.val,location:W(r,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:l}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===t?M.EXPECT_SELECT_ARGUMENT_SELECTOR:M.EXPECT_PLURAL_ARGUMENT_SELECTOR,W(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(M.MISSING_OTHER_CLAUSE,W(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);let n=!1,s=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,s=10*s+(e-48),this.bump();else break}let o=W(r,this.clonePosition());return n?Number.isSafeInteger(s*=i)?{val:s,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function et(e){return e>=97&&e<=122||e>=65&&e<=90}function ei(e,t={}){let i=new ee(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(i.err){let e=SyntaxError(M[i.err.kind]);throw e.location=i.err.location,e.originalMessage=i.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,H(t)||D(t))for(let i in t.options)delete t.options[i].location,e(t.options[i].value);else k(t)&&j(t.style)||(B(t)||O(t))&&V(t.style)?delete t.style.location:F(t)&&e(t.children)})}(i.val),i.val}let er=((s={}).MISSING_VALUE="MISSING_VALUE",s.INVALID_VALUE="INVALID_VALUE",s.MISSING_INTL_API="MISSING_INTL_API",s);
36var en=class extends Error{constructor(e,t,i){super(e),this.code=t,this.originalMessage=i}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},es=class extends en{constructor(e,t,i,r){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(i).join('", "')}"`,er.INVALID_VALUE,r)}},eo=class extends en{constructor(e,t,i){super(`Value for "${e}" must be of type ${t}`,er.INVALID_VALUE,i)}},ea=class extends en{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,er.MISSING_VALUE,t)}};let el=((o={})[o.literal=0]="literal",o[o.object=1]="object",o);function eh(e){return{create:()=>({get:t=>e[t],set(t,i){e[t]=i}})}}var eu=class e{constructor(t,i=e.defaultLocale,r,n){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let i=t.reduce((e,t)=>(e.length&&t.type===el.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return i.length<=1?i[0]||"":i},this.formatToParts=e=>(function e(t,i,r,n,s,o,a){if(1===t.length&&N(t[0]))return[{type:el.literal,value:t[0].value}];let l=[];for(let h of t){if(N(h)){l.push({type:el.literal,value:h.value});continue}if(h.type===R.pound){"number"==typeof o&&l.push({type:el.literal,value:r.getNumberFormat(i).format(o)});continue}let{value:t}=h;if(!(s&&t in s))throw new ea(t,a);let u=s[t];if(h.type===R.argument){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),l.push({type:"string"==typeof u?el.literal:el.object,value:u});continue}if(B(h)){let e="string"==typeof h.style?n.date[h.style]:V(h.style)?h.style.parsedOptions:void 0;l.push({type:el.literal,value:r.getDateTimeFormat(i,e).format(u)});continue}if(O(h)){let e="string"==typeof h.style?n.time[h.style]:V(h.style)?h.style.parsedOptions:n.time.medium;l.push({type:el.literal,value:r.getDateTimeFormat(i,e).format(u)});continue}if(k(h)){let e="string"==typeof h.style?n.number[h.style]:j(h.style)?h.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}l.push({type:el.literal,value:r.getNumberFormat(i,e).format(u)});continue}if(F(h)){let{children:t,value:u}=h,c=s[u];if("function"!=typeof c)throw new eo(u,"function",a);let d=c(e(t,i,r,n,s,o).map(e=>e.value));Array.isArray(d)||(d=[d]),l.push(...d.map(e=>({type:"string"==typeof e?el.literal:el.object,value:e})))}if(H(h)){let t=u,o=(Object.prototype.hasOwnProperty.call(h.options,t)?h.options[t]:void 0)||h.options.other;if(!o)throw new es(h.value,u,Object.keys(h.options),a);l.push(...e(o.value,i,r,n,s));continue}if(D(h)){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(h.options,t)?h.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new en(`Intl.PluralRules is not available in this environment.
37Try polyfilling it using "@formatjs/intl-pluralrules"
38`,er.MISSING_INTL_API,a);let e="bigint"==typeof u?Number(u):u,t=r.getPluralRules(i,{type:h.pluralType}).select(e-(h.offset||0));o=(Object.prototype.hasOwnProperty.call(h.options,t)?h.options[t]:void 0)||h.options.other}if(!o)throw new es(h.value,u,Object.keys(h.options),a);let c="bigint"==typeof u?Number(u):u;l.push(...e(o.value,i,r,n,s,c-(h.offset||0)));continue}}return l.length<2?l:l.reduce((e,t)=>{let i=e[e.length-1];return i&&i.type===el.literal&&t.type===el.literal?i.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...i}=n||{};this.ast=e.__parse(t,{...i,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((i,r)=>{var n,s;return i[r]=(n=e[r],(s=t[r])?{...n,...s,...Object.keys(n).reduce((e,t)=>
38(e[t]={...n[t],...s[t]},e),{})}:n),i},{...e}):e}(e.formats,r),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:l((...e)=>new Intl.NumberFormat(...e),{cache:eh(e.number),strategy:p.variadic}),getDateTimeFormat:l((...e)=>new Intl.DateTimeFormat(...e),{cache:eh(e.dateTime),strategy:p.variadic}),getPluralRules:l((...e)=>new Intl.PluralRules(...e),{cache:eh(e.pluralRules),strategy:p.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=ei}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function ec(...[e,t,i,r]){let n;if(Array.isArray(t))throw new f(g.INVALID_MESSAGE,void 0);if("object"==typeof t)throw new f(g.INSUFFICIENT_PATH,void 0);if("string"==typeof t){let e=i||/'[{}]/.test(t)?void 0:t;if(e)return e}let{cache:s,formats:o,formatters:l,globalFormats:h,locale:u,timeZone:c}=r;l.getMessageFormat||(l.getMessageFormat=v((...e)=>new eu(e[0],e[1],e[2],{formatters:l,...e[3]}),s.message));try{let e,i,r,s;n=l.getMessageFormat(t,u,(e=eu.formats.date,i=eu.formats.time,r={...h?.dateTime,...o?.dateTime},s={date:{...e,...r},time:{...i,...r},number:{...h?.number,...o?.number}},c&&["date","time"].forEach(e=>{let t=s[e];for(let[e,i]of Object.entries(t))t[e]={timeZone:c,...i}}),s),{formatters:{...l,getDateTimeFormat:(e,t)=>l.getDateTimeFormat(e,{...t,timeZone:t?.timeZone??c})}})}catch(e){throw new f(g.INVALID_MESSAGE,void 0)}let d=n.format(i);return(0,a.isValidElement)(d)||Array.isArray(d)||"string"==typeof d?d:String(d)}function ed(...e){return e.filter(Boolean).join(".")}function em(e){return ed(e.namespace,e.key)}function ep(e){console.error(e)}function ef(e,t,i,r){let n=ed(r,i);if(!t)throw Error(n);let s=t;return i.split(".").forEach(t=>{let i=s[t];if(null==t||null==i)throw Error(n+` (${e})`);s=i}),s}ec.raw=!0;let eg={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var ey=e.i(43476);let ev=(0,a.createContext)(void 0);function eE(){let e=(0,a.useContext)(ev);if(!e)throw Error(void 0);return e}let eb=!1,eT="u"<typeof window;e.s(["IntlProvider",0,function({children:e,formats:t,getMessageFallback:i,locale:r,messages:n,now:s,onError:o,timeZone:l}){let h=(0,a.useContext)(ev),u=(0,a.useMemo)(()=>h?.cache||y(),[r,h?.cache]),c=(0,a.useMemo)(()=>h?.formatters||b(u),[u,h?.formatters]),d=(0,a.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:i,onError:r,...n}){return{...n,formats:e||void 0,messages:i||void 0,onError:r||ep,getMessageFallback:t||em}}({locale:r,formats:void 0===t?h?.formats:t,getMessageFallback:i||h?.getMessageFallback,messages:void 0===n?h?.messages:n,now:s||h?.now,onError:o||h?.onError,timeZone:l||h?.timeZone}),formatters:c,cache:u}),[u,t,c,i,r,n,s,o,h,l]);return(0,ey.jsx)(ev.Provider,{value:d,children:e})},"useFormatter",0,function(){let{formats:e,formatters:t,locale:i,now:r,onError:n,timeZone:s}=eE();return(0,a.useMemo)(()=>(function(e){let{_cache:t=y(),_formatters:i=b(t),formats:r,locale:n,onError:s=ep,timeZone:o}=e;function a(e){return e?.timeZone||(o?e={...e,timeZone:o}:s(new f(g.ENVIRONMENT_FALLBACK,void 0))),e}function l(e,t,i,r,n){let o;try{o=function(e,t,i){let r;if("string"==typeof t){if(!(r=e?.[t])){let e=new f(g.MISSING_FORMAT,void 0);throw s(e),e}}else r=t;return i&&(r={...r,...i}),r}(i,e,t)}catch{return n()}try{return r(o)}catch(e){return s(new f(g.FORMATTING_ERROR,e.message)),n()}}function h(e,t,s){return l(t,s,r?.dateTime,t=>(t=a(t),i.getDateTimeFormat(n,t).format(e)),()=>String(e))}function u(){return e.now?e.now:(s(new f(g.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:h,number:function(e,t,s){return l(t,s,r?.number,t=>i.getNumberFormat(n,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var r;let s,o,a,l={};t instanceof Date||"number"==typeof t?s=new Date(t):t&&(s=null!=t.now?new Date(t.now):u(),o=t.unit,l.style=t.style,l.numberingSystem=t.numberingSystem),s||(s=u());let h=(new Date(e).getTime()-s.getTime())/1e3;o||(o=(a=Math.abs(h))<60?"second":a<3600?"minute":a<86400?"hour":a<604800?"day":a<2628e3?"week":a<31536e3?"month":"year"),l.numeric="second"===o?"auto":"always";let c=(r=o,Math.round(h/eg[r]));return i.getRelativeTimeFormat(n,l).format(c,o)}catch(t){return s(new f(g.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,s){let o=[],a=new Map,h=0;for(let t of e){let e;"object"==typeof t?(e=String(h),a.set(e,t)):e=String(t),o.push(e),h++}return l(t,s,r?.list,e=>{let t=i.getListFormat(n,e).formatToParts(o).map(e=>
38"literal"===e.type?e.value:a.get(e.value)||e.value);return a.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,s,o){return l(s,o,r?.dateTime,r=>(r=a(r),i.getDateTimeFormat(n,r).formatRange(e,t)),()=>[h(e),h(t)].join(" – "))},displayName:function(e,t,s){return l(t,s,r?.displayName,t=>i.getDisplayNames(n,t).of(e),()=>e)}}})({formats:e,locale:i,now:r,onError:n,timeZone:s,_formatters:t}),[e,t,r,i,n,s])},"useLocale",0,function(){return eE().locale},"useTranslations",0,function(e){return function(e,t){let{cache:i,formats:r,formatters:n,getMessageFallback:s,locale:o,onError:l,timeZone:h}=eE(),u=e["!"],c="!"===t?void 0:t.slice(2);return h||eb||!eT||(eb=!0,l(new f(g.ENVIRONMENT_FALLBACK,void 0))),(0,a.useMemo)(()=>{var e;let t;return t=function(e,t,i){try{if(!t)throw Error(void 0);let r=i?ef(e,t,i):t;if(!r)throw Error(i);return r}catch(e){return new f(g.MISSING_MESSAGE,e.message)}}((e={cache:i,formatters:n,getMessageFallback:s,messages:u,namespace:c,onError:l,formats:r,locale:o,timeZone:h}).locale,e.messages,e.namespace),function({cache:e,formats:t,formatters:i,getMessageFallback:r=em,locale:n,messagesOrError:s,namespace:o,onError:l,timeZone:h}){let u=s instanceof f;function c(e,t,i,n){let s=new f(t,i);return l(s),n??r({error:s,key:e,namespace:o})}function d(d,m,p,y){let v;if(u){if(!y)return l(s),r({error:s,key:d,namespace:o});v=y}else try{v=ef(n,s,d,o)}catch(e){if(!y)return c(d,g.MISSING_MESSAGE,e.message,y);v=y}try{let r,s=ed(o,d);return ec(s,v,m?(r={},Object.keys(m).forEach(e=>{let t,i=0,n=m[e];t="function"==typeof n?t=>{let r=n(t);return(0,a.isValidElement)(r)?(0,a.cloneElement)(r,{key:e+i++}):r}:n,r[e]=t}),r):m,{cache:e,formatters:i,globalFormats:t,formats:p,locale:n,timeZone:h})}catch(i){let e,t;return i instanceof f?(e=i.code,t=i.originalMessage):(e=g.FORMATTING_ERROR,t=i.message),c(d,e,t,y)}}function m(e,t,i,r){let n=d(e,t,i,r);return"string"!=typeof n?c(e,g.INVALID_MESSAGE,void 0):n}return m.rich=d,m.markup=(e,t,i,r)=>d(e,t,i,r),m.raw=e=>{if(u)return l(s),r({error:s,key:e,namespace:o});try{return ef(n,s,e,o)}catch(t){return c(e,g.MISSING_MESSAGE,t.message)}},m.has=e=>{if(u)return!1;try{return ef(n,s,e,o),!0}catch{return!1}},m}({...e,messagesOrError:t})},[i,n,s,u,c,l,r,o,h])}({"!":eE().messages},e?`!.${e}`:"!")}],61745)},60581,40995,e=>{"use strict";let t=["en","ru"];function i(e){return t.includes(e)}e.s(["SUPPORTED_LANGUAGES",0,t],40995),e.s(["DEFAULT_LANGUAGE",0,"en","LANGUAGES",0,{en:{code:"en",name:"English",nativeName:"English",flag:"🇺🇸"},ru:{code:"ru",name:"Russian",nativeName:"Русский",flag:"🇷🇺"}},"isSupportedLanguage",0,i,"pickPromoWebsiteLocale",0,function(e){let t=e.split("-")[0]?.toLowerCase()??"";return i(t)?t:"en"}],60581)},17527,48148,e=>{"use strict";var t=e.i(43476),i=e.i(61745);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,i.useTranslations);r(0,i.useFormatter),e.s(["useTranslations",0,n],48148);var s=e.i(60581),o=e.i(7207);e.s(["SiteCookieNotice",0,function({site:e,promoBaseUrl:r,className:a}){let l=n("legal.cookieNotice"),h=function({site:e,promoBaseUrl:t,locale:i}){if("promo"===e){let e=(0,s.pickPromoWebsiteLocale)(i);return`/${e}/legal/cookies`}var r="/legal/cookies";let n=(0,s.pickPromoWebsiteLocale)(i),o=t.replace(/\/$/,""),a=r.startsWith("/")?r:`/${r}`;return`${o}/${n}${a}`}({site:e,promoBaseUrl:r,locale:(0,i.useLocale)()});return(0,t.jsx)(o.CookieNotice,{message:l("message"),acceptEssentialLabel:l("acceptEssential"),acceptAllLabel:l("acceptAll"),policyHref:h,policyLabel:l("policyLink"),dialogAriaLabel:l("dialogAriaLabel"),...void 0!==a?{className:a}:{}})}],17527)},49340,61515,e=>{"use strict";var t=e.i(56420);let i=(0,t.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["CloseIcon",0,i],49340);let r=(0,t.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["MenuIcon",0,r],61515)},35478,414,e=>{"use strict";e.i(70055);var t=e.i(48389);e.i(81393);var i=e.i(67457),r=e.i(63640),n=e.i(37627),s=e.i(6693),o=e.i(17847),a=e.i(7439),l=e.i(56896);let h={page:{container:"container mx-auto max-w-7xl",screenX:l.SPACE_LAYOUT.screenX.default,sectionY:l.SPACE_LAYOUT.section.y,sectionGap:l.SPACE_LAYOUT.section.gap,main:["container mx-auto max-w-7xl",l.SPACE_LAYOUT.screenX.default].join(" ")},shell:{headerRow:"relative grid grid-cols-[1fr_auto] items-center gap-3 px-4 md:grid-cols-[1fr_auto_1fr]",headerInsetX:l.SPACE_LAYOUT.screenX.tight},modal:{sm:a.SIZE.modal.sm,md:a.SIZE.modal.md,lg:a.SIZE.modal.lg,full:a.SIZE.modal.full,padding:l.SPACE_LAYOUT.cardPadding.modal}};e.s(["LAYOUT",0,h],414);var u=e.i(5695);[i.SURFACE.canvasBlur,"backdrop-blur-sm"].join(" ");let c=["pointer-events-none absolute inset-0",i.SURFACE.canvasBlur,"backdrop-blur-sm"].join(" "),d=h.shell.headerRow,m=[u.TYPOGRAPHY.navLink,"transition-colors",s.HOVER_LABEL.primary].join(" "),p=["inline-flex shrink-0 items-center justify-center",a.SIZE.icon.lg,a.SIZE.hit.lg,o.RADIUS.pill,s.LABEL.secondary,"transition-colors",r.HOVER_FILL.solid,s.HOVER_LABEL.primary,t.focusVisibleRingClass].join(" "),f=["block px-3 py-3.5 transition-colors",o.RADIUS.panel,u.TYPOGRAPHY.mobileNavLink,r.HOVER_FILL.solid].join(" "),g=`absolute inset-0 ${i.SURFACE.canvasSubtle}`,y=["absolute inset-y-0 right-0 flex w-[min(100%,20rem)] flex-col border-l shadow-xl",n.STROKE.default,i.SURFACE.raised].join(" "),v=["flex items-center justify-between border-b px-4 py-3",n.STROKE.default].join(" "),E=u.TYPOGRAPHY.panelTitle;["mt-6 space-y-3 p-4",o.RADIUS.shell,n.STROKE_BOX.default,i.SURFACE.raised].join(" "),u.TYPOGRAPHY.settingsLabel;let b=["border-t p-4",n.STROKE.default].join(" ");["space-y-2 border-t p-4",n.STROKE.default].join(" "),e.s(["SITE_HEADER_BLUR_LAYER_CLASS",0,c,"SITE_HEADER_DESKTOP_CENTER_NAV_CLASS",0,"hidden items-center justify-center justify-self-center gap-4 md:flex lg:gap-6","SITE_HEADER_DESKTOP_LEFT_CLASS",0,"min-w-0 justify-self-start","SITE_HEADER_DESKTOP_RIGHT_CLASS",0,"hidden items-center justify-self-end md:flex","SITE_HEADER_LOGO_LINK_CLASS",0,"inline-flex shrink-0 items-center leading-none transition-opacity hover:opacity-90","SITE_HEADER_MENU_BUTTON_CLASS",0,p,"SITE_HEADER_MOBILE_DRAWER_ROOT_CLASS",0,"fixed inset-0 z-(--z-layer-3) overflow-hidden md:hidden","SITE_HEADER_MOBILE_FOOTER_CLASS",0,b,"SITE_HEADER_MOBILE_NAV_CLASS",0,"flex-1 overflow-y-auto px-3 py-4","SITE_HEADER_MOBILE_NAV_LINK_CLASS",0,f,"SITE_HEADER_MOBILE_NAV_LIST_CLASS",0,"space-y-1","SITE_HEADER_MOBILE_OVERLAY_CLASS",0,g,"SITE_HEADER_MOBILE_PANEL_CLASS",0,y,"SITE_HEADER_MOBILE_PANEL_HEADER_CLASS",0,v,"SITE_HEADER_MOBILE_PANEL_TITLE_CLASS",0,E,"SITE_HEADER_MOBILE_SLOT_CLASS",0,"justify-self-end md:hidden","SITE_HEADER_NAV_LINK_CLASS",0,m,"SITE_HEADER_ROOT_CLASS",0,"fixed inset-x-0 top-0 z-(--z-layer-2) w-full max-w-[100vw]","SITE_HEADER_ROW_CLASS",0,d],35478)},96887,e=>{"use strict";var t=e.i(43476),i=e.i(88653),r=e.i(46932),n=e.i(74080);e.i(83334);var s=e.i(49340),o=e.i(61515),a=e.i(35478);e.s(["SiteHeaderMobileMenu",0,function({menu:e,labels:l,nav:h,settings:u,footer:c,footerClassName:d=a.SITE_HEADER_MOBILE_FOOTER_CLASS}){let{isOpen:m,isMounted:p,menuPanelId:f,toggleMenu:g,closeMenu:y}=e,v=d.trim().replace(/\s+/g," ");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:a.SITE_HEADER_MENU_BUTTON_CLASS,"aria-expanded":m,"aria-controls":f,"aria-label":m?l.close:l.open,onClick:g,children:m?(0,t.jsx)(s.CloseIcon,{}):(0,t.jsx)(o.MenuIcon,{})}),p?(0,n.createPortal)((0,t.jsx)(i.AnimatePresence,{children:m?(0,t.jsxs)("div",{className:a.SITE_HEADER_MOBILE_DRAWER_ROOT_CLASS,
38children:[(0,t.jsx)(r.motion.button,{type:"button","aria-label":l.close,className:a.SITE_HEADER_MOBILE_OVERLAY_CLASS,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},onClick:y}),(0,t.jsxs)(r.motion.aside,{id:f,role:"dialog","aria-modal":"true","aria-label":l.title,className:a.SITE_HEADER_MOBILE_PANEL_CLASS,initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{duration:.28,ease:[.22,1,.36,1]},children:[(0,t.jsxs)("div",{className:a.SITE_HEADER_MOBILE_PANEL_HEADER_CLASS,children:[(0,t.jsx)("p",{className:a.SITE_HEADER_MOBILE_PANEL_TITLE_CLASS,children:l.title}),(0,t.jsx)("button",{type:"button",className:a.SITE_HEADER_MENU_BUTTON_CLASS,"aria-label":l.close,onClick:y,children:(0,t.jsx)(s.CloseIcon,{})})]}),(0,t.jsxs)("nav",{className:a.SITE_HEADER_MOBILE_NAV_CLASS,"aria-label":l.title,children:[h,u]}),(0,t.jsx)("div",{className:v,children:c})]})]}):null}),document.body):null]})}])},11073,e=>{"use strict";var t=e.i(71645);e.s(["useSiteHeaderMobileMenu",0,function(e={}){let{closeOnRouteChangeKey:i}=e,[r,n]=(0,t.useState)(!1),[s,o]=(0,t.useState)(!1),a=(0,t.useId)();return(0,t.useEffect)(()=>{o(!0)},[]),(0,t.useEffect)(()=>{n(!1)},[i]),(0,t.useEffect)(()=>{if(!r)return;let e=document.documentElement,t=e.style.overflow,i=document.body.style.overflow;e.style.overflow="hidden",document.body.style.overflow="hidden";let s=e=>{"Escape"===e.key&&n(!1)};return globalThis.addEventListener("keydown",s),()=>{e.style.overflow=t,document.body.style.overflow=i,globalThis.removeEventListener("keydown",s)}},[r]),{isOpen:r,isMounted:s,menuPanelId:a,toggleMenu:()=>{n(e=>!e)},closeMenu:()=>{n(!1)}}}])},5888,21028,e=>{"use strict";var t=e.i(43476),i=e.i(60581);let r="locale",n="NEXT_LOCALE";function s(){if(!("localStorage"in globalThis))return null;try{let e=localStorage.getItem(r);return e&&(0,i.isSupportedLanguage)(e)?e:null}catch{return null}}function o(e){if(e.storedLocale&&(0,i.isSupportedLanguage)(e.storedLocale))return e.storedLocale;if(e.navigatorLanguage){var t;return t=e.navigatorLanguage,t?.trim()?(0,i.pickPromoWebsiteLocale)(t):i.DEFAULT_LANGUAGE}if(e.acceptLanguage){var r=e.acceptLanguage;if(!r?.trim())return i.DEFAULT_LANGUAGE;for(let{tag:e}of r.split(",").map(e=>{let[t,...i]=e.trim().split(";"),r=1;for(let e of i){let t=e.trim();if(t.startsWith("q=")){let e=Number.parseFloat(t.slice(2));Number.isNaN(e)||(r=e)}}return{tag:t?.trim()??"",q:r}}).filter(e=>e.tag.length>0).sort((e,t)=>t.q-e.q)){let t=(0,i.pickPromoWebsiteLocale)(e);if((0,i.isSupportedLanguage)(t))return t}}return i.DEFAULT_LANGUAGE}e.s(["getStoredLocale",0,s,"localeRoutingCookieOptions",0,{name:n,maxAge:31536e3},"persistLocalePreference",0,function(e){if("localStorage"in globalThis)try{localStorage.setItem(r,e)}catch{}if("document"in globalThis)try{document.cookie=`${n}=${e};path=/;max-age=31536000;samesite=lax`}catch{}},"resolvePreferredLocale",0,o],21028);var a=e.i(71645);e.i(81393);var l=e.i(5695);e.s(["RedirectToPreferredLocale",0,function({path:e=""}){let r=`/${i.DEFAULT_LANGUAGE}${e}`,n=(0,a.useMemo)(()=>{if(!("navigator"in globalThis))return r;let t=o({storedLocale:s(),navigatorLanguage:globalThis.navigator.language});return`/${t}${e}`},[r,e]);return(0,a.useEffect)(()=>{globalThis.location.replace(n)},[n]),(0,t.jsx)("main",{className:"flex min-h-screen items-center justify-center px-4 text-center",children:(0,t.jsx)("a",{href:n,className:`${l.TYPOGRAPHY.navLinkUnderline}`,children:"Redirecting…"})})}],5888)},28692,e=>{"use strict";let t=e.i(49574).WEB_APP_STORAGE_KEYS.THEME,i=["light","dark","auto"];function r(e){return"auto"!==e?e:"matchMedia"in globalThis&&globalThis.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function n(){if(!("localStorage"in globalThis))return"auto";try{let e=localStorage.getItem(t);return null!==e&&i.includes(e)?e:"auto"}catch{return"auto"}}function s(){return r(n())}function o(e){if(!("localStorage"in globalThis)||!("document"in globalThis))return;try{localStorage.setItem(t,e)}catch{}let i=r(e);document.documentElement.dataset.theme=i,document.documentElement.style.colorScheme=i,globalThis.dispatchEvent(new CustomEvent("themechange",{detail:{theme:e,effectiveTheme:i}}
38))}function a(){o(n())}function l(e){if(!("addEventListener"in globalThis))return()=>{};let t=t=>{e(t.detail.theme,t.detail.effectiveTheme)};return globalThis.addEventListener("themechange",t),()=>{globalThis.removeEventListener("themechange",t)}}e.s(["getTheme",0,n,"initTheme",0,a,"onThemeChange",0,l,"setTheme",0,o,"theme",0,{get:n,getEffective:s,set:o,toggle:function(){o("light"===s()?"dark":"light")},init:a,onChange:l}])},7054,e=>{"use strict";var t=e.i(71645),i=e.i(28692);e.s(["ThemeBootstrap",0,function(){return(0,t.useEffect)(()=>{if((0,i.initTheme)(),"document"in globalThis&&globalThis.requestAnimationFrame(()=>{document.documentElement.dataset.themeAnimate="1"}),!("matchMedia"in globalThis))return;let e=globalThis.matchMedia("(prefers-color-scheme: dark)"),t=()=>{"auto"===(0,i.getTheme)()&&(0,i.setTheme)("auto")};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),null}])},49918,e=>{"use strict";e.i(81393);var t=e.i(67457),i=e.i(37627),r=e.i(17847),n=e.i(5695);let s=["inline-flex items-center",r.RADIUS.pill,i.STROKE_BOX.default,t.SURFACE.grouped].join(" "),o=n.TYPOGRAPHY.footerPreference,a=["absolute bottom-full left-0 z-(--z-layer-5) mb-1.5 w-full min-w-full overflow-hidden shadow-md animate-in fade-in slide-in-from-bottom-2 duration-200",r.RADIUS.dropdown,i.STROKE_BOX.default,t.SURFACE.raised].join(" ");e.s(["FOOTER_PREFERENCE_DROPDOWN_CLASS",0,a,"FOOTER_PREFERENCE_ICON_CLASS",0,"h-3.5 w-3.5 shrink-0","FOOTER_PREFERENCE_PILL_SHELL_CLASS",0,s,"FOOTER_PREFERENCE_TEXT_CLASS",0,o])},55818,55952,e=>{"use strict";var t=e.i(43476),i=e.i(56420);let r=(0,i.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var n=e.i(71645);e.i(70055);var s=e.i(48389);e.i(81393);var o=e.i(63640),a=e.i(6693),l=e.i(74449),h=e.i(49918);let u=(0,i.default)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);function c(){return(0,t.jsx)(u,{className:h.FOOTER_PREFERENCE_ICON_CLASS,strokeWidth:2,"aria-hidden":!0})}e.s(["TranslateIcon",0,c],55952),e.s(["FooterLocalePillDropdown",0,function({value:e,options:i,onChange:u,ariaLabel:d,className:m}){let[p,f]=(0,n.useState)(!1),g=(0,n.useRef)(null),y=i.find(t=>t.value===e);(0,n.useEffect)(()=>{let e=e=>{g.current&&!g.current.contains(e.target)&&f(!1)};if(p)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[p]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&f(!1)};if(p)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[p]);let v=[h.FOOTER_PREFERENCE_PILL_SHELL_CLASS,h.FOOTER_PREFERENCE_TEXT_CLASS,`cursor-pointer gap-1.5 px-2 py-1 transition-colors ${a.LABEL.primary}`,o.HOVER_FILL.solid,s.focusVisibleRingClass].join(" "),E=["relative",m].filter(
38Boolean).join(" ");return(0,t.jsxs)("div",{className:E,ref:g,children:[(0,t.jsxs)("button",{type:"button",className:v,onClick:()=>f(e=>!e),"aria-label":d,"aria-expanded":p,"aria-haspopup":"listbox",children:[(0,t.jsx)(c,{}),(0,t.jsx)("span",{className:"whitespace-nowrap",children:y?.label??e})]}),p&&(0,t.jsx)("div",{className:h.FOOTER_PREFERENCE_DROPDOWN_CLASS,role:"listbox",children:i.map(i=>{let n=i.value===e;return(0,t.jsxs)("button",{type:"button",onClick:()=>{var e;return e=i.value,void(f(!1),u(e))},className:["flex w-full cursor-pointer items-center justify-between px-2.5 py-1.5 text-left transition-colors duration-150",h.FOOTER_PREFERENCE_TEXT_CLASS,s.focusVisibleRingMenuClass,n?l.MENU_NAV_ITEM_SELECTED_CLASS:l.MENU_NAV_ITEM_INTERACTIVE_CLASS].join(" "),role:"option","aria-selected":n,children:[i.label,n&&(0,t.jsx)(r,{className:"h-3 w-3 shrink-0",strokeWidth:2,"aria-hidden":!0})]},i.value)})})]})}],55818)},2616,e=>{"use strict";var t=e.i(28692);e.s(["subscribeToThemeChanges",0,function(e){let i=(0,t.onThemeChange)(()=>{e()});if(!("matchMedia"in globalThis))return i;let r=globalThis.matchMedia("(prefers-color-scheme: dark)"),n=()=>{"auto"===(0,t.getTheme)()&&((0,t.setTheme)("auto"),e())};return r.addEventListener("change",n),()=>{i(),r.removeEventListener("change",n)}}])},87503,e=>{"use strict";var t=e.i(43476);e.i(83334);var i=e.i(56420);let r=(0,i.default)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]),n=(0,i.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),s=(0,i.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["ThemeOptionIcon",0,function({value:e,className:i="h-4 w-4"}){switch(e){case"light":return(0,t.jsx)(s,{className:i,strokeWidth:2,"aria-hidden":!0});case"dark":return(0,t.jsx)(n,{className:i,strokeWidth:2,"aria-hidden":!0});case"auto":return(0,t.jsx)(r,{className:i,strokeWidth:2,"aria-hidden":!0});default:return null}}],87503)},1715,e=>{"use strict";var t=e.i(43476),i=e.i(71645);e.i(70055);var r=e.i(48389);e.i(81393);var n=e.i(74449),s=e.i(2616),o=e.i(28692),a=e.i(87503),l=e.i(49918);let h=["auto","dark","light"];e.s(["FooterThemeSegmentSwitch",0,function({autoLabel:e,themeLightAriaLabel:u,themeDarkAriaLabel:c,selectThemeAriaLabel:d,className:m}){let p=(0,i.useSyncExternalStore)(s.subscribeToThemeChanges,()=>o.theme.get(),()=>"auto"),f=[l.FOOTER_PREFERENCE_PILL_SHELL_CLASS,"p-px",m].filter(Boolean).join(" ");return(0,t.jsx)("div",{className:f,role:"group","aria-label":d,children:h.map(i=>{let s=i===p,h=["flex cursor-pointer items-center justify-center rounded-full px-2 py-1 transition-colors",l.FOOTER_PREFERENCE_TEXT_CLASS,r.focusVisibleRingClass,s?n.SEGMENT_ACTIVE_CLASS:n.SEGMENT_INACTIVE_CLASS].join(" "),d="light"===i?u:"dark"===i?c:e;return(0,t.jsx)("button",{type:"button",className:h,"aria-label":d,"aria-pressed":s,onClick:()=>o.theme.set(i),children:"auto"===i?(0,t.jsx)("span",{className:"px-0.5 leading-none",children:e}):(0,t.jsx)("span",{className:"inline-flex shrink-0",children:(0,t.jsx)(a.ThemeOptionIcon,{value:i,className:l.FOOTER_PREFERENCE_ICON_CLASS})})},i)})})}])},8643,e=>{"use strict";var t=e.i(71645);e.i(81393);var i=e.i(19932);let r=(0,t.createContext)("default");function n(){return(0,t.useContext)(r)}e.s(["DensityProvider",0,function({density:e="default",children:i,className:n,wrapperProps:s}){return(0,t.createElement)(r.Provider,{value:e},(0,t.createElement)("div",{...s,"data-density":e,className:n},i))},"useDensity",0,n,"useTextStyle",0,function(e,t){let r=n();return(0,i.textStyle)(e,{density:t?.density??r})}])}]);

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.