(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,11196,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=e.r(50394);function n(e,t){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=i.current;e&&(i.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(i.current=s(e,r)),t&&(n.current=s(t,r))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(null)}}("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)},86476,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useIntersection",{enumerable:!0,get:function(){return l}});let r=e.r(50394),n=e.r(13661),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l({rootRef:e,rootMargin:t,disabled:i}){let l=i||!s,[u,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),h=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(s){if(l||u)return;let i=d.current;if(i&&i.tagName)return function(e,t,i){let{id:r,observer:n,elements:s}=function(e){let t,i={root:e.root||null,margin:e.rootMargin||""},r=a.find(e=>e.root===i.root&&e.margin===i.margin);if(r&&(t=o.get(r)))return t;let n=new Map;return t={id:i,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=n.get(e.target),i=e.isIntersecting||e.intersectionRatio>0;t&&i&&t(i)})},e),elements:n},a.push(i),o.set(i,t),t}(i);return s.set(e,t),n.observe(e),function(){if(s.delete(e),n.unobserve(e),0===s.size){n.disconnect(),o.delete(r);let e=a.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&a.splice(e,1)}}}(i,e=>e&&c(e),{root:e?.current,rootMargin:t})}else if(!u){let e=(0,n.requestIdleCallback)(()=>c(!0));return()=>(0,n.cancelIdleCallback)(e)}},[l,t,e,u,d.current]),[h,u,(0,r.useCallback)(()=>{c(!1)},[])]}("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)},14784,(e,t,i)=>{"use strict";function r(e,t,i,r){return!1}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getDomainLocale",{enumerable:!0,get:function(){return r}}),e.r(83905),("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)},50033,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},75911,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return T},useLinkStatus:function(){return P}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(87602),o=e.r(15497),a=s._(e.r(50394)),l=e.r(72163),u=e.r(61172),c=e.r(38560),d=e.r(64561),h=e.r(79664),p=e.r(14906),m=e.r(86476),f=e.r(14784),g=e.r(5429),v=e.r(11196);e.r(50033);let y=new Set;function x(e,t,i,r){if(!("u"{})}}function b(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let w=a.default.forwardRef(function(e,t){let i,r,{href:n,as:s,children:c,prefetch:y=null,passHref:w,replace:S,shallow:P,scroll:T,locale:k,onClick:j,onNavigate:C,onMouseEnter:A,onTouchStart:M,legacyBehavior:E=!1,...V}=e;i=c,E&&("string"==typeof i||"number"==typeof i)&&(i=(0,o.jsx)("a",{children:i}));let D=a.default.useContext(p.RouterContext),L=!1!==y,{href:R,as:N}=a.default.useMemo(()=>{if(!D){let e=b(n);return{href:e,as:s?b(s):e}}let[e,t]=(0,l.resolveHref)(D,n,!0);return{href:e,as:s?(0,l.resolveHref)(D,s):t||e}},[D,n,s]),B=a.default.useRef(R),I=a.default.useRef(N);E&&(r=a.default.Children.only(i));let O=E?r&&"object"==typeof r&&r.ref:t,[F,z,U]=(0,m.useIntersection)({rootMargin:"200px"}),$=a.default.useCallback(e=>{(I.current!==N||B.current!==R)&&(U(),I.current=N,B.current=R),F(e)},[N,R,U,F]),W=(0,v.useMergedRef)($,O);a.default.useEffect(()=>{!D||z&&L&&x(D,R,N,{locale:k})},[N,R,z,k,L,D?.locale,D]);let H={ref:W,onClick(e){E||"function"!=typeof j||j(e),E&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),!D||e.defaultPrevented||function(e,t,i,r,n,s,o,a,l){let c,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,u.isLocalURL)(i)){n&&(e.preventDefault(),location.replace(i));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=o??!0;"beforePopState"in t?t[n?"replace":"push"](i,r,{shallow:s,locale:a,scroll:e}):t[n?"replace":"push"](r||i,{scroll:e})})()}}(e,D,R,N,S,P,T,k,C)},onMouseEnter(e){E||"function"!=typeof A||A(e),E&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),D&&x(D,R,N,{locale:k,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){E||"function"!=typeof M||M(e),E&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),D&&x(D,R,N,{locale:k,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(N))H.href=N;else if(!E||w||"a"===r.type&&!("href"in r.props)){let e=void 0!==k?k:D?.locale;H.href=D?.isLocaleDomain&&(0,f.getDomainLocale)(N,e,D?.locales,D?.domainLocales)||(0,g.addBasePath)((0,h.addLocale)(N,e,D?.defaultLocale))}return E?a.default.cloneElement(r,H):(0,o.jsx)("a",{...V,...H,children:i})}),S=(0,a.createContext)({pending:!1}),P=()=>(0,a.useContext)(S),T=w;("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)},10757,(e,t,i)=>{t.exports=e.r(75911)},97649,e=>{"use strict";function t(){for(var e,t,i=0,r="",n=arguments.length;it])},66181,e=>{"use strict";var t=e.i(97649);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=t.clsx;e.s(["cva",0,(e,t)=>n=>{var s;if((null==t?void 0:t.variants)==null)return r(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:a}=t,l=Object.keys(o).map(e=>{let t=null==n?void 0:n[e],r=null==a?void 0:a[e];if(null===t)return null;let s=i(t)||i(r);return o[e][s]}),u=n&&Object.entries(n).reduce((e,t)=>{let[i,r]=t;return void 0===r||(e[i]=r),e},{});return r(e,l,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:i,className:r,...n}=t;return Object.entries(n).every(e=>{let[t,i]=e;return Array.isArray(i)?i.includes({...a,...u}[t]):({...a,...u})[t]===i})?[...e,i,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}])},85037,33131,e=>{"use strict";var t=e.i(50394);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;tr,"useComposedRefs",()=>n],33131);var s=e.i(15497);function o(e){var i;let n,o=(i=e,(n=t.forwardRef((e,i)=>{let{children:n,...s}=e;if(t.isValidElement(n)){var o;let e,a,l=(o=n,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let i={...t};for(let r in t){let n=e[r],s=t[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...e)=>{let t=s(...e);return n(...e),t}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...e,...i}}(s,n.props);return n.type!==t.Fragment&&(u.ref=i?r(i,l):l),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,n),a=t.forwardRef((e,i)=>{let{children:r,...n}=e,a=t.Children.toArray(r),l=a.find(c);if(l){let e=l.props.children,r=a.map(i=>i!==l?i:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,s.jsx)(o,{...n,ref:i,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,s.jsx)(o,{...n,ref:i,children:r})});return a.displayName=`${e}.Slot`,a}var a=o("Slot"),l=Symbol("radix.slottable");function u(e){let t=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}e.s(["Slot",()=>a,"createSlot",()=>o,"createSlottable",()=>u],85037)},2346,e=>{"use strict";let t=(e,i)=>{if(0===e.length)return i.classGroupId;let r=e[0],n=i.nextPart.get(r),s=n?t(e.slice(1),n):void 0;if(s)return s;if(0===i.validators.length)return;let o=e.join("-");return i.validators.find(({validator:e})=>e(o))?.classGroupId},i=/^\[(.+)\]$/,r=(e,t,i,o)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:n(t,e)).classGroupId=i;return}"function"==typeof e?s(e)?r(e(o),t,i,o):t.validators.push({validator:e,classGroupId:i}):Object.entries(e).forEach(([e,s])=>{r(s,n(t,e),i,o)})})},n=(e,t)=>{let i=e;return t.split("-").forEach(e=>{i.nextPart.has(e)||i.nextPart.set(e,{nextPart:new Map,validators:[]}),i=i.nextPart.get(e)}),i},s=e=>e.isThemeGetter,o=(e,t)=>t?e.map(([e,i])=>[e,i.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,i])=>[t+e,i])):e)]):e,a=e=>{if(e.length<=1)return e;let t=[],i=[];return e.forEach(e=>{"["===e[0]?(t.push(...i.sort(),e),i=[]):i.push(e)}),t.push(...i.sort()),t},l=/\s+/;function u(){let e,t,i=0,r="";for(;i{let t;if("string"==typeof e)return e;let i="";for(let r=0;r{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},h=/^\[(?:([a-z-]+):)?(.+)\]$/i,p=/^\d+\/\d+$/,m=new Set(["px","full","screen"]),f=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,v=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,y=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,x=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,b=e=>S(e)||m.has(e)||p.test(e),w=e=>N(e,"length",B),S=e=>!!e&&!Number.isNaN(Number(e)),P=e=>N(e,"number",S),T=e=>!!e&&Number.isInteger(Number(e)),k=e=>e.endsWith("%")&&S(e.slice(0,-1)),j=e=>h.test(e),C=e=>f.test(e),A=new Set(["length","size","percentage"]),M=e=>N(e,A,I),E=e=>N(e,"position",I),V=new Set(["image","url"]),D=e=>N(e,V,F),L=e=>N(e,"",O),R=()=>!0,N=(e,t,i)=>{let r=h.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):i(r[2]))},B=e=>g.test(e)&&!v.test(e),I=()=>!1,O=e=>y.test(e),F=e=>x.test(e),z=function(e,...n){let s,c,d,h=function(a){let l;return c=(s={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,i=new Map,r=new Map,n=(n,s)=>{i.set(n,s),++t>e&&(t=0,r=i,i=new Map)};return{get(e){let t=i.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(n(e,t),t):void 0},set(e,t){i.has(e)?i.set(e,t):n(e,t)}}})((l=n.reduce((e,t)=>t(e),e())).cacheSize),parseClassName:(e=>{let{separator:t,experimentalParseClassName:i}=e,r=1===t.length,n=t[0],s=t.length,o=e=>{let i,o=[],a=0,l=0;for(let u=0;ul?i-l:void 0}};return i?e=>i({className:e,parseClassName:o}):o})(l),...(e=>{let n=(e=>{let{theme:t,prefix:i}=e,n={nextPart:new Map,validators:[]};return o(Object.entries(e.classGroups),i).forEach(([e,i])=>{r(i,n,e,t)}),n})(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),t(r,n)||(e=>{if(i.test(e)){let t=i.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}})(e)},getConflictingClassGroupIds:(e,t)=>{let i=s[e]||[];return t&&a[e]?[...i,...a[e]]:i}}})(l)}).cache.get,d=s.cache.set,h=p,p(a)};function p(e){let t=c(e);if(t)return t;let i=((e,t)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n}=t,s=[],o=e.trim().split(l),u="";for(let e=o.length-1;e>=0;e-=1){let t=o[e],{modifiers:l,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:h}=i(t),p=!!h,m=r(p?d.substring(0,h):d);if(!m){if(!p||!(m=r(d))){u=t+(u.length>0?" "+u:u);continue}p=!1}let f=a(l).join(":"),g=c?f+"!":f,v=g+m;if(s.includes(v))continue;s.push(v);let y=n(m,p);for(let e=0;e0?" "+u:u)}return u})(e,s);return d(e,i),i}return function(){return h(u.apply(null,arguments))}}(()=>{let e=d("colors"),t=d("spacing"),i=d("blur"),r=d("brightness"),n=d("borderColor"),s=d("borderRadius"),o=d("borderSpacing"),a=d("borderWidth"),l=d("contrast"),u=d("grayscale"),c=d("hueRotate"),h=d("invert"),p=d("gap"),m=d("gradientColorStops"),f=d("gradientColorStopPositions"),g=d("inset"),v=d("margin"),y=d("opacity"),x=d("padding"),A=d("saturate"),V=d("scale"),N=d("sepia"),B=d("skew"),I=d("space"),O=d("translate"),F=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],U=()=>["auto",j,t],$=()=>[j,t],W=()=>["",b,w],H=()=>["auto",S,j],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],_=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",j],q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[S,j];return{cacheSize:500,separator:":",theme:{colors:[R],spacing:[b,w],blur:["none","",C,j],brightness:Z(),borderColor:[e],borderRadius:["none","","full",C,j],borderSpacing:$(),borderWidth:W(),contrast:Z(),grayscale:Y(),hueRotate:Z(),invert:Y(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[k,w],inset:U(),margin:U(),opacity:Z(),padding:$(),saturate:Z(),scale:Z(),sepia:Y(),skew:Z(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",j]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":q()}],"break-before":[{"break-before":q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),j]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,j]}],basis:[{basis:U()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",j]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",T,j]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",T,j]},j]}],"col-start":[{"col-start":H()}],"col-end":[{"col-end":H()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[T,j]},j]}],"row-start":[{"row-start":H()}],"row-end":[{"row-end":H()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",j]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",j]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",j,t]}],"min-w":[{"min-w":[j,t,"min","max","fit"]}],"max-w":[{"max-w":[j,t,"none","full","min","max","fit","prose",{screen:[C]},C]}],h:[{h:[j,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[j,t,"auto","min","max","fit"]}],"font-size":[{text:["base",C,w]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",P]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",j]}],"line-clamp":[{"line-clamp":["none",S,P]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",b,j]}],"list-image":[{"list-image":["none",j]}],"list-style-type":[{list:["none","disc","decimal",j]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",b,w]}],"underline-offset":[{"underline-offset":["auto",b,j]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),E]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",M]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},D]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...X(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:X()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...X()]}],"outline-offset":[{"outline-offset":[b,j]}],"outline-w":[{outline:[b,w]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[b,w]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,L]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[..._(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":_()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",C,j]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[h]}],saturate:[{saturate:[A]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",j]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",j]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",j]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[V]}],"scale-x":[{"scale-x":[V]}],"scale-y":[{"scale-y":[V]}],rotate:[{rotate:[T,j]}],"translate-x":[{"translate-x":[O]}],"translate-y":[{"translate-y":[O]}],"skew-x":[{"skew-x":[B]}],"skew-y":[{"skew-y":[B]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",j]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",j]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",j]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[b,w,P]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});e.s(["twMerge",()=>z])},51327,20830,e=>{"use strict";var t=e.i(97649),i=e.i(2346);function r(...e){return(0,i.twMerge)((0,t.clsx)(e))}e.s(["cn",()=>r],20830),e.s([],51327)},16749,37007,62520,64075,38140,e=>{"use strict";var t=e.i(15497),i=e.i(50394),r=e.i(85037),n=e.i(66181);e.i(51327);var s=e.i(20830);e.s(["ax",()=>s.cn],37007);var s=s;let o=(0,n.cva)("ring-offset-background inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:ring-ring focus-visible:border-ring-border focus-visible:outline-none focus-visible:ring-4 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-btn-primary text-btn-primary-foreground hover:bg-btn-primary-hover",destructive:"bg-btn-destructive text-btn-destructive-foreground hover:bg-btn-destructive-hover",outline:"hover:bg-muted hover:text-foreground border bg-transparent",secondary:"bg-btn-secondary text-btn-secondary-foreground hover:bg-btn-secondary-hover border-btn-secondary hover:border-btn-secondary-hover border",ghost:"hover:bg-muted hover:text-foreground bg-transparent",link:"text-btn-primary underline-offset-4 hover:underline"},size:{default:"h-7 px-3 py-1.5",sm:"h-6 px-2 text-xs",lg:"h-9 px-8",icon:"size-7"}},defaultVariants:{variant:"default",size:"default"}}),a=i.forwardRef(({className:e,variant:i,size:n,asChild:a=!1,...l},u)=>{let c=a?r.Slot:"button";return(0,t.jsx)(c,{className:(0,s.cn)(o({variant:i,size:n,className:e})),ref:u,...l})});a.displayName="Button",e.s(["Button",()=>a,"buttonVariants",()=>o],62520);var s=s;e.s(["CircularButton",0,e=>{let{children:i,loading:r,disabled:n,className:o,...a}=e;return(0,t.jsx)("button",{disabled:n||r,className:(0,s.cn)("ax-btn-circular",r?"loading":"",o),...a,children:i})}],64075);let l=({children:e})=>(0,t.jsx)("div",{className:"ax-btn-loading",children:(0,t.jsxs)("span",{children:[e&&(0,t.jsx)("label",{children:e}),(0,t.jsx)("i",{}),(0,t.jsx)("i",{}),(0,t.jsx)("i",{})]})});var s=s;let u=({className:e})=>(0,t.jsx)("svg",{className:(0,s.cn)("h-full",e),version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",xmlSpace:"preserve",children:(0,t.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("rect",{fillOpacity:"0",x:"0",y:"0",width:"24",height:"24",rx:"2"}),(0,t.jsx)("polygon",{points:"19 11.9998911 5 5 10.659842 11.9998911 5 19"})]})})});var s=s;e.s(["LinkButton",0,e=>{let{children:i,className:r,component:n,disabled:o,href:a,inverted:c,loading:d,...h}=e,p=o||d;return(0,t.jsxs)(n||"a",{disabled:p,href:p?void 0:a,className:(0,s.cn)("inline-flex items-center justify-center rounded-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background h-full","text-primary hover:text-purple-800 dark:hover:text-purple-600",{"text-white/10 hover:text-white":c},r),...h,children:[d&&(0,t.jsx)(l,{}),i,(0,t.jsx)("span",{className:"ml-2 inline-flex h-full items-center py-0.5",children:(0,t.jsx)(u,{})})]})}],38140),e.s([],16749)},47806,e=>{"use strict";var t=e.i(50394);let i=(...e)=>e.filter((e,t,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===t).join(" ").trim(),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={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 s=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:u,...c},d)=>(0,t.createElement)("svg",{ref:d,...n,width:r,height:r,stroke:e,strokeWidth:o?24*Number(s)/Number(r):s,className:i("lucide",a),...!l&&!(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,i])=>(0,t.createElement)(e,i)),...Array.isArray(l)?l:[l]])),o=(e,n)=>{let o=(0,t.forwardRef)(({className:o,...a},l)=>(0,t.createElement)(s,{ref:l,iconNode:n,className:i(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...a}));return o.displayName=r(e),o};e.s(["default",()=>o],47806)},86561,25753,8622,e=>{"use strict";e.i(8176);var t=e.i(50394),i=e.i(15497);let r={"error-title":"Hoppla","error-with-status-404":"Diese Seite konnte nicht gefunden werden.","error-without-status":"Auf dem Server ist ein Fehler aufgetreten",nav:{overview:"Übersicht",company:{contactUs:"Kontakt",aboutUs:"Über Uns",jobs:"Jobs",press:"Presse",noteworthy:"New & Noteworthy",caseStudies:"Case Studies"},platform:{secondary:"Entdecke unsere Plattform"},solutions:{devOps:"DevOps Automation",iot:"IoT & Edge Computing",smartProducts:"Entwicklung Smarter Produkte",cloudNative:"Cloud Native Transformation",secondary:"Kontaktiere Solutions Team"},journey:{architecture:"Software Architektur",maintenance:"Wartung & Support",createTicket:"Support Ticket erstellen",comparePackages:"Vergleiche Support Pakete"}},cta:{meetUs:"Meet Us",emailPlaceholder:"Email Adresse",requestDemo:"Demo anfordern",learnMore:"Mehr erfahren",getHelp:"Hilfe anfordern",experts:"Sprich mit unseren Tech-Experten",pricing:"Preise anfordern"},footer:{cookies:"Cookies",cookiesTitle:"Cookie Manager",terms:"AGB",privacy:"Privatsphäre",imprint:"Impressum",privacyPolicy:"Privacy Policy",status:"Status",statusTitle:"AX Status Page"},journey:{sectionTitle:"Plane deine Reise mit AX",intro:"Ermächtige Software-Teams, Änderungen schneller zu veröffentlichen. Inklusive intuitiver Abläufe, welche die Kollaboration verschiedener Organisationen vereinfacht."}};e.s(["common",()=>r],25753);let n={common:r,jobs:{roles:{developer:"Software Entwickler*in",architect:"Software Architekt*in","project-manager":"Projektleiter*in"},posting:{openUntil:"Offen bis",ctaText:"Auf diese Stelle bewerben"},nojobs:{title:"Keine offenen Stellen",info:"Derzeit sind keine offenen Stellen für diese Position verfügbar.",text:"Wir sind jedoch immer daran interessiert, energische und talentierte Kreative zu treffen, die sich unserem Team anschliessen möchten. Lass uns wissen, dass du für zukünftige Positionen in Betracht gezogen werden möchtest!",linkText:"Schick uns deinen Lebenslauf mit Anschreiben"}},platform:{hero:{text:"AX kombiniert Software-Entwicklungserfahrung mit einem klaren Fokus auf Kollaboration. Unsere Plattform-Integrationen ermöglichen Teams, effizient zusammen zu arbeiten und die Auslieferung eigener Lösungen zu beschleunigen."},idea:{title:"Erwecke deine Ideen zum Leben",text:"Plane, recherchiere, konzipiere und prototypisiere deine Ideen mit uns zusammen. Gemeinsam kombinieren wir erprobte Produktentwicklungsmethoden mit modernen Technologien – und vitalisieren deinen Softwareentwicklungsprozess."},prototype:{title:"Beschleunige mit deinem Team",text:"Die brudi Plattform ist gebaut für serverlose Applikationen und Microservices. Sie bietet einen Baukasten an Cloud-Native Projekten, um den Softwareherstellungszyklus und dessen Management zu erleichtern."},features:{platform:{title:"Free your apps",text:"Verbinde, sichere, kontrolliere und vergrössere jegliche Applikation über die gesamte Infrastruktur hinweg. Ermögliche die Auslieferung von Kubernetes Applikationen und transformiere Legacy-Applikationen."},console:{title:"Vereinheitliche deine Interfaces",text:"Ein einheitliches Design und ein kohärenter Aufbau deiner Interfaces ermöglichen vereinfachte User-Experiences und effiziente Kollaboration im Team. Die brudi Plattform bietet einheitliches Infrastruktur-Tooling und Dokumentationen."},graph:{title:"Organisiere und teile Daten",text:"Ein konsolidierter Daten-Graph über alle Applikationen und Dienste. Ermöglicht sicheren Datenaustausch und -zugriff über einheitliche API Server."},cli:{title:"Baue wirkungsvolle Developer-Tools",text:"Unterstütze deine DevOps-Prozesse mit personalisierten Erweiterungen und fortgeschrittenen CLIs. brudi macht es dir einfach, eigene Tools für dein Team und deine Kunden zu bauen und miteinander verschmelzen zu lassen."}},ground:{title:"Ein solides Fundament dafür geschaffen, Grossartiges entstehen zu lassen",text:"Mit einem Set an Apps, Tools und Methoden ermöglicht brudi zusammen mit deinen Software-Teams die Konzeption, Entwicklung, Wartung und Erschliessung neuester Technologien für deine Ideen und digitalen Lösungen."},products:{learnMore:"Erfahre mehr"}}},s={de:n},o=t.default.createContext({localization:{locale:"de",translations:n.common,namespace:"common"},setLocale:()=>null});function a(e,t){}function l(){let{localization:e}=(0,t.useContext)(o);return{t:function(t,i){let r=e.translations[t];return r?!i||(r=r[i])?r||t:(a(`${t}:${i}`,e.locale),`${t}:${i}`):(a(t,e.locale),t)},locale:e.locale}}e.s(["LanguageContext",0,o,"LanguageProvider",0,({localization:e,children:r})=>{let[,n]=t.default.useState({locale:e?.locale,translations:e?.translations,namespace:e?.namespace});return(0,i.jsx)(o.Provider,{value:{localization:e,setLocale:n},children:r})},"getLocalizationProps",0,(e="de",t)=>{let i=s[e];if(!i)return{locale:e,translations:n,namespace:"common"};let r=t?i[t]:[];return{locale:e,translations:{common:i.common,...r},namespace:t||"common"}}],8622),e.s(["default",()=>l],86561)},49721,73966,e=>{"use strict";e.s(["companyLinks",0,()=>[{text:"aboutUs",href:"/about",title:"AX Unternehmen und Vision"},{text:"Blog",href:"/blog",title:"AX Blog"},{text:"jobs",href:"/jobs",title:"Stellenangebote - mit AX arbeiten"},{text:"caseStudies",href:"/case-studies",title:"AX Success Stories & Case Studies"},{text:"contactUs",href:"/contact",title:"AX kontaktieren"}],"journeyLinks",0,()=>[{text:"Understand",href:"/journey/understand",title:"Ideation & Prototyping mit AX"},{text:"Design & Accelerate",href:"/journey/design-and-accelerate",title:"Softwarearchitektur und Entwicklung mit AX"},{text:"Operate & Evolve",href:"/journey/operate-and-evolve",title:"Kontinuierliche Softwareentwicklung mit AX"}],"legalLinks",0,e=>[{name:e("common").footer.status,href:"https://axtech.statuspage.io/",title:e("common").footer.statusTitle},{name:e("common").footer.terms,href:"/terms",title:e("common").footer.terms},{name:e("common").footer.privacy,href:"/privacy",title:e("common").footer.privacyPolicy},{name:e("common").footer.imprint,href:"/imprint",title:e("common").footer.imprint}],"socialLinks",0,[{network:"twitter",href:"https://x.com/axltd_ch",title:"AX Twitter Profil"},{network:"linkedin",href:"https://www.linkedin.com/company/axag",title:"AX LinkedIn Profil"},{network:"instagram",href:"https://www.instagram.com/brudisocial",title:"AX Instagram Profil"},{network:"facebook",href:"https://www.facebook.com/brudisocial",title:"AX Facebook Page"}],"solutionLinks",0,()=>[{text:"IoT",href:"/solutions/iot",title:"IoT & Edge Computing"},{text:"DevOps",href:"/solutions/devops-automation",title:"DevOps Automation"},{text:"Cloud Native",href:"/solutions/cloud-native-transformation",title:"Cloud Native Transformation"}],"suiteLinks",0,()=>[{text:"Komponenten",href:"/suite",title:"AX Suite"},{text:"Dokumentation",href:"https://dev.ax.tech",title:"AX Suite Dokumentation"},{text:"Preise",href:"/suite/pricing",title:"AX Suite Preise"},{text:"Changelog",href:"/suite/changelog",title:"New & Noteworthy"}],"supportLinks",0,()=>[{text:"Insights",href:"/blog",title:"AX Insights & Blog"},{text:"Help Center",href:"https://axtech.atlassian.net/servicedesk/customer/portal/38",title:"AX Help Center öffnen"},{text:"Customer Success",href:"/journey",title:"AX Customer Success & Support"}]],49721);var t=e.i(15497);e.i(51327);var i=e.i(20830);let r={twitter:function({className:e,...i}){return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 1200 1227",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,t.jsx)("path",{d:` M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z`})})},facebook:function({className:e,...i}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...i,children:(0,t.jsx)("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})})},instagram:function({className:e,...i}){return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 36 36",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,t.jsxs)("g",{fillRule:"evenodd",children:[(0,t.jsx)("path",{d:"M18 0c-4.889 0-5.501.02-7.421.108C8.663.196 7.354.5 6.209.945a8.823 8.823 0 0 0-3.188 2.076A8.83 8.83 0 0 0 .945 6.209C.5 7.354.195 8.663.108 10.58.021 12.499 0 13.11 0 18s.02 5.501.108 7.421c.088 1.916.392 3.225.837 4.37a8.823 8.823 0 0 0 2.076 3.188c1 1 2.005 1.616 3.188 2.076 1.145.445 2.454.75 4.37.837 1.92.087 2.532.108 7.421.108s5.501-.02 7.421-.108c1.916-.088 3.225-.392 4.37-.837a8.824 8.824 0 0 0 3.188-2.076c1-1 1.616-2.005 2.076-3.188.445-1.145.75-2.454.837-4.37.087-1.92.108-2.532.108-7.421s-.02-5.501-.108-7.421c-.088-1.916-.392-3.225-.837-4.37a8.824 8.824 0 0 0-2.076-3.188A8.83 8.83 0 0 0 29.791.945C28.646.5 27.337.195 25.42.108 23.501.021 22.89 0 18 0zm0 3.243c4.806 0 5.376.019 7.274.105 1.755.08 2.708.373 3.342.62.84.326 1.44.717 2.07 1.346.63.63 1.02 1.23 1.346 2.07.247.634.54 1.587.62 3.342.086 1.898.105 2.468.105 7.274s-.019 5.376-.105 7.274c-.08 1.755-.373 2.708-.62 3.342a5.576 5.576 0 0 1-1.346 2.07c-.63.63-1.23 1.02-2.07 1.346-.634.247-1.587.54-3.342.62-1.898.086-2.467.105-7.274.105s-5.376-.019-7.274-.105c-1.755-.08-2.708-.373-3.342-.62a5.576 5.576 0 0 1-2.07-1.346 5.577 5.577 0 0 1-1.346-2.07c-.247-.634-.54-1.587-.62-3.342-.086-1.898-.105-2.468-.105-7.274s.019-5.376.105-7.274c.08-1.755.373-2.708.62-3.342.326-.84.717-1.44 1.346-2.07.63-.63 1.23-1.02 2.07-1.346.634-.247 1.587-.54 3.342-.62 1.898-.086 2.468-.105 7.274-.105z"}),(0,t.jsx)("path",{d:"M18 24.006a6.006 6.006 0 1 1 0-12.012 6.006 6.006 0 0 1 0 12.012zm0-15.258a9.252 9.252 0 1 0 0 18.504 9.252 9.252 0 0 0 0-18.504zm11.944-.168a2.187 2.187 0 1 1-4.374 0 2.187 2.187 0 0 1 4.374 0"})]})})},linkedin:function({className:e,...i}){return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,t.jsx)("path",{d:"M20.452 20.45h-3.56v-5.57c0-1.328-.022-3.036-1.85-3.036-1.851 0-2.134 1.447-2.134 2.941v5.665H9.352V8.997h3.413v1.566h.049c.474-.9 1.636-1.85 3.367-1.85 3.605 0 4.27 2.371 4.27 5.456v6.281zM5.339 7.432a2.063 2.063 0 1 1 0-4.128 2.065 2.065 0 0 1 0 4.128zM7.12 20.45H3.557V8.997H7.12V20.45zM23 0H1a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z",fillRule:"evenodd"})})}};e.s(["SocialNetwork",0,({className:e,network:n,networkProps:s})=>{let o=r[n];return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("span",{className:(0,i.cn)("h-5 w-5 md:h-6 md:w-6",e),children:(0,t.jsx)(o,{className:"h-full max-w-full overflow-hidden fill-slate-50 transition duration-150 hover:fill-white",...s})})})}],73966)},98741,e=>{"use strict";var t=e.i(15497),i=e.i(50394),r=e.i(10757);e.i(4647);var n=e.i(28585),s=e.i(86561);e.i(51327);var o=e.i(20830),a=e.i(49721),l=e.i(73966);let u=(0,i.forwardRef)(function({wrapperClassName:e,containerClassName:i,borderColorClassName:u,inverted:c,...d},h){let{t:p}=(0,s.default)(),m="container w-full md:px-14 md:pt-14 text-foreground/80 mx-auto bg-slate-50",f=c?(0,o.cn)(m,"bg-slate-900"):m,g=(0,o.cn)("text-base transition duration-100 hover:text-foreground",c&&"hover:text-slate-50");return(0,t.jsx)("footer",{ref:h,className:(0,o.cn)("bg-slate-50 pb-28 md:pb-0",e,c&&"bg-slate-900"),"aria-labelledby":"footer-heading",children:(0,t.jsxs)("div",{className:(0,o.cn)(f,i),...d,children:[(0,t.jsx)("h2",{id:"footer-heading",className:"sr-only",children:"Footer"}),(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between gap-8 py-8 sm:flex-row sm:gap-0",children:[(0,t.jsxs)("div",{id:"ax-footer-logo",className:(0,o.cn)("flex flex-col items-center justify-center gap-4 text-foreground sm:flex-row",c&&"text-slate-50"),children:[(0,t.jsx)(n.AXLogo,{}),(0,t.jsx)("p",{className:"text-xl text-center",children:"Dedicated Software"})]}),(0,t.jsx)("div",{className:"flex gap-2",children:a.socialLinks.map(e=>{let i={className:"h-6 w-6",fill:"white",stroke:"none"};return"facebook"===e.network&&(i.fill="none",i.stroke="white"),(0,t.jsxs)(r.default,{title:e.title,href:e.href,className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary hover:bg-primary-800",children:[(0,t.jsx)("span",{className:"sr-only",children:e.title}),(0,t.jsx)(l.SocialNetwork,{"aria-hidden":"true",network:e.network,className:"flex items-center justify-center",networkProps:i})]},e.title+e.href)})})]})}),(0,t.jsxs)("div",{className:(0,o.cn)("grid grid-cols-1 gap-6 border-t border-t-muted-foreground/20 py-8 text-center text-muted-foreground/80 md:grid-cols-6 md:text-left",u),children:[(0,t.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold",children:"AX AG"}),(0,t.jsx)("span",{className:"text-base",children:"Kernstrasse 37"}),(0,t.jsx)("span",{className:"text-base",children:"CH-8004 Zürich"}),(0,t.jsx)("span",{className:"text-base",children:"hello@ax.tech"})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold",children:"Support"}),(0,t.jsx)("ul",{role:"list",className:"space-y-1.5",children:(0,a.supportLinks)().map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,title:e.title,className:g,children:e.text})},e.text+e.href))})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold",children:"Lösungen"}),(0,t.jsx)("ul",{role:"list",className:"space-y-1.5",children:(0,a.solutionLinks)().map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{title:e.title,href:e.href,className:g,children:e.text})},e.text+e.href))})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold",children:"Entwicklung"}),(0,t.jsx)("ul",{role:"list",className:"space-y-1.5",children:(0,a.journeyLinks)().map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{title:e.title,href:e.href,className:g,children:e.text})},e.text+e.href))})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold",children:"Suite"}),(0,t.jsx)("ul",{role:"list",className:"space-y-1.5",children:(0,a.suiteLinks)().map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,title:e.title,className:g,children:e.text})},e.text+e.href))})]}),(0,t.jsxs)("div",{className:"flex flex-col space-y-1.5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold",children:"Unternehmen"}),(0,t.jsx)("ul",{role:"list",className:"space-y-1.5",children:(0,a.companyLinks)().map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,title:e.title,className:g,children:p("common").nav.company[e.text]})},e.text+e.href))})]})]}),(0,t.jsxs)("div",{className:(0,o.cn)("grid grid-cols-1 items-center gap-y-6 border-t border-t-muted-foreground/20 py-8 text-muted-foreground/80 md:grid-cols-11",u),children:[(0,t.jsxs)("span",{className:"col-span-5 text-center text-base md:text-start",children:["© ",new Date().getFullYear()," by AX AG"]}),(0,t.jsx)("span",{className:"col-span-1 text-center text-lg",children:"🚀"}),(0,t.jsx)("ul",{role:"list",className:"col-span-5 flex flex-wrap items-center justify-center gap-y-1.5 first:flex-none md:justify-end md:gap-6",children:(0,a.legalLinks)(p).map(e=>(0,t.jsx)("li",{className:"w-1/3 md:w-auto",children:(0,t.jsx)("a",{href:e.href,className:(0,o.cn)(g,"line-clamp-1 text-center md:text-end"),children:e.name})},e.name))})]})]})})});e.s(["PageFooter",()=>u])},36713,e=>{"use strict";var t=e.i(15497),i=e.i(50394);e.i(16749);var r=e.i(62520);e.i(51327);var n=e.i(20830);let s=i.default.forwardRef(({className:e,variant:i="outline",...s},o)=>(0,t.jsx)(r.Button,{variant:i,className:(0,n.cn)("ax-cta-button-border-no-spin ax-cta-button rounded-md !border-2 text-base text-black",e),...s,ref:o}));s.displayName="AXSitesCtaButton",e.s(["CtaButton",0,s])},87047,e=>{"use strict";e.i(36713),e.s([])},17216,e=>{"use strict";function t(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)}e.s(["resolveElements",()=>t])},49435,e=>{"use strict";var t=e.i(50394),i=e.i(17216);let r={some:0,all:1};function n(e,{root:s,margin:o,amount:a,once:l=!1,initial:u=!1}={}){let[c,d]=(0,t.useState)(u);return(0,t.useEffect)(()=>{if(!e.current||l&&c)return;let t={root:s&&s.current||void 0,margin:o,amount:a};return function(e,t,{root:n,margin:s,amount:o="some"}={}){let a=(0,i.resolveElements)(e),l=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let i=l.get(e.target);if(!!i!==e.isIntersecting)if(e.isIntersecting){let i=t(e.target,e);"function"==typeof i?l.set(e.target,i):u.unobserve(e.target)}else"function"==typeof i&&(i(e),l.delete(e.target))})},{root:n,rootMargin:s,threshold:"number"==typeof o?o:r[o]});return a.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(d(!0),l?void 0:()=>d(!1)),t)},[s,e,o,l,a]),c}e.s(["useInView",()=>n],49435)},89949,e=>{"use strict";let t=(0,e.i(47806).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeftIcon",()=>t],89949)},46770,e=>{"use strict";let t=(0,e.i(47806).default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",()=>t])},57703,e=>{"use strict";var t=e.i(46770);e.s(["CalendarIcon",()=>t.default])},72863,e=>{"use strict";let t=(0,e.i(50394).createContext)({});e.s(["LayoutGroupContext",()=>t])},49047,e=>{"use strict";var t=e.i(50394);function i(e){let i=(0,t.useRef)(null);return null===i.current&&(i.current=e()),i.current}e.s(["useConstant",()=>i])},52458,e=>{"use strict";let t="u">typeof window;e.s(["isBrowser",()=>t])},79431,e=>{"use strict";var t=e.i(50394);let i=e.i(52458).isBrowser?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",()=>i])},96259,e=>{"use strict";let t=(0,e.i(50394).createContext)(null);e.s(["PresenceContext",()=>t])},10403,e=>{"use strict";function t(e){return"object"==typeof e&&null!==e}e.s(["isObject",()=>t])},81379,e=>{"use strict";var t=e.i(10403);function i(e){return(0,t.isObject)(e)&&"offsetHeight"in e}e.s(["isHTMLElement",()=>i])},29380,e=>{"use strict";let t=(0,e.i(50394).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",()=>t])},1829,e=>{"use strict";var t=e.i(15497),i=e.i(50394),r=e.i(96259),n=e.i(49047),s=e.i(81379),o=i,a=e.i(29380);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=(0,s.isHTMLElement)(e)&&e.offsetWidth||0,r=(0,s.isHTMLElement)(e)&&e.offsetHeight||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=i-n.width-n.left,n.bottom=r-n.height-n.top}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:r,anchorX:n,anchorY:s,root:c,pop:d}){let h=(0,o.useId)(),p=(0,o.useRef)(null),m=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=(0,o.useContext)(a.MotionConfigContext),g=function(...e){return i.useCallback(function(...e){return t=>{let i=!1,r=e.map(e=>{let r=l(e,t);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let t=0;t{let{width:e,height:t,top:i,left:o,right:a,bottom:l}=m.current;if(r||!1===d||!p.current||!e||!t)return;let u="left"===n?`left: ${o}`:`right: ${a}`,g="bottom"===s?`bottom: ${l}`:`top: ${i}`;p.current.dataset.motionPopId=h;let v=document.createElement("style");f&&(v.nonce=f);let y=c??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(` [data-motion-pop-id="${h}"] { position: absolute !important; width: ${e}px !important; height: ${t}px !important; ${u}px !important; ${g}px !important; } `),()=>{y.contains(v)&&y.removeChild(v)}},[r]),(0,t.jsx)(u,{isPresent:r,childRef:p,sizeRef:m,pop:d,children:!1===d?e:o.cloneElement(e,{ref:g})})}let d=({children:e,initial:s,isPresent:o,onExitComplete:a,custom:l,presenceAffectsLayout:u,mode:d,anchorX:p,anchorY:m,root:f})=>{let g=(0,n.useConstant)(h),v=(0,i.useId)(),y=!0,x=(0,i.useMemo)(()=>(y=!1,{id:v,initial:s,isPresent:o,custom:l,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;a&&a()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[o,g,a]);return u&&y&&(x={...x}),(0,i.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[o]),i.useEffect(()=>{o||g.size||!a||a()},[o]),e=(0,t.jsx)(c,{pop:"popLayout"===d,isPresent:o,anchorX:p,anchorY:m,root:f,children:e}),(0,t.jsx)(r.PresenceContext.Provider,{value:x,children:e})};function h(){return new Map}e.s(["PresenceChild",()=>d],1829)},71979,e=>{"use strict";var t=e.i(50394),i=e.i(96259);function r(e=!0){let n=(0,t.useContext)(i.PresenceContext);if(null===n)return[!0,null];let{isPresent:s,onExitComplete:o,register:a}=n,l=(0,t.useId)();(0,t.useEffect)(()=>{if(e)return a(l)},[e]);let u=(0,t.useCallback)(()=>e&&o&&o(l),[l,o,e]);return!s&&o?[!1,u]:[!0]}e.s(["usePresence",()=>r])},8958,e=>{"use strict";e.i(8176);var t=e.i(15497),i=e.i(50394),r=e.i(72863),n=e.i(49047),s=e.i(79431),o=e.i(1829),a=e.i(71979);let l=e=>e.key||"";function u(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let c=({children:e,custom:c,initial:d=!0,onExitComplete:h,presenceAffectsLayout:p=!0,mode:m="sync",propagate:f=!1,anchorX:g="left",anchorY:v="top",root:y})=>{let[x,b]=(0,a.usePresence)(f),w=(0,i.useMemo)(()=>u(e),[e]),S=f&&!x?[]:w.map(l),P=(0,i.useRef)(!0),T=(0,i.useRef)(w),k=(0,n.useConstant)(()=>new Map),j=(0,i.useRef)(new Set),[C,A]=(0,i.useState)(w),[M,E]=(0,i.useState)(w);(0,s.useIsomorphicLayoutEffect)(()=>{P.current=!1,T.current=w;for(let e=0;e{let i=l(e),r=(!f||!!x)&&(w===M||S.includes(i));return(0,t.jsx)(o.PresenceChild,{isPresent:r,initial:(!P.current||!!d)&&void 0,custom:c,presenceAffectsLayout:p,mode:m,root:y,onExitComplete:r?void 0:()=>{if(j.current.has(i)||(j.current.add(i),!k.has(i)))return;k.set(i,!0);let e=!0;k.forEach(t=>{t||(e=!1)}),e&&(D?.(),E(T.current),f&&b?.(),h&&h())},anchorX:g,anchorY:v,children:e},i)})})};e.s(["AnimatePresence",()=>c],8958)},12327,30818,20458,62385,49370,34007,64991,43540,24431,5395,38169,60301,80361,49345,8846,43528,70590,41578,58685,43493,3799,26841,36836,44435,98022,21108,45001,84975,88176,35867,50724,1127,4393,58246,1761,72972,60037,38702,38788,6268,79408,57729,63081,59262,4080,23084,5500,98943,58785,81651,27107,36429,40035,9476,e=>{"use strict";let t,i,r,n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(n);e.s(["transformPropOrder",()=>n,"transformProps",()=>s],30818);let o=(e,t,i)=>i>t?t:io],20458);let a={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},l={...a,transform:e=>o(0,1,e)},u={...a,default:1},c=e=>Math.round(1e5*e)/1e5,d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(e,t)=>i=>!!("string"==typeof i&&h.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),m=(e,t,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(d);return{[e]:parseFloat(n),[t]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},f={...a,transform:e=>Math.round(o(0,255,e))},g={test:p("rgb","red"),parse:m("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+f.transform(e)+", "+f.transform(t)+", "+f.transform(i)+", "+c(l.transform(r))+")"};e.s(["rgba",()=>g],62385);let v={test:p("#"),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:g.transform};e.s(["hex",()=>v],49370);let y=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),x=y("deg"),b=y("%"),w=y("px"),S=y("vh"),P=y("vw"),T={...b,parse:e=>b.parse(e)/100,transform:e=>b.transform(100*e)};e.s(["degrees",()=>x,"percent",()=>b,"progressPercentage",()=>T,"px",()=>w,"vh",()=>S,"vw",()=>P],34007);let k={test:p("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+b.transform(c(t))+", "+b.transform(c(i))+", "+c(l.transform(r))+")"};e.s(["hsla",()=>k],64991);let j={test:e=>g.test(e)||v.test(e)||k.test(e),parse:e=>g.test(e)?g.parse(e):k.test(e)?k.parse(e):v.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?g.transform(e):k.transform(e),getAnimatableNone:e=>{let t=j.parse(e);return t.alpha=0,j.transform(t)}};e.s(["color",()=>j],43540);let C=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",M="color",E=/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 V(e){let t=e.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=t.replace(E,e=>(j.test(e)?(r.color.push(s),n.push(M),i.push(j.parse(e))):e.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(e)):(r.number.push(s),n.push(A),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function D(e){return V(e).values}function L(e){let{split:t,types:i}=V(e),r=t.length;return e=>{let n="";for(let s=0;s"number"==typeof e?0:j.test(e)?j.getAnimatableNone(e):e,N={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(d)?.length||0)+(e.match(C)?.length||0)>0},parse:D,createTransformer:L,getAnimatableNone:function(e){let t=D(e);return L(e)(t.map(R))}};e.s(["analyseComplexValue",()=>V,"complex",()=>N],24431);let B=new Set(["brightness","contrast","saturate","opacity"]);function I(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=i.match(d)||[];if(!r)return e;let n=i.replace(r,""),s=+!!B.has(t);return r!==i&&(s*=100),t+"("+s+n+")"}let O=/\b([a-z-]*)\(.*?\)/gu,F={...N,getAnimatableNone:e=>{let t=e.match(O);return t?t.map(I).join(" "):e}},z={...a,transform:Math.round},U={borderWidth:w,borderTopWidth:w,borderRightWidth:w,borderBottomWidth:w,borderLeftWidth:w,borderRadius:w,borderTopLeftRadius:w,borderTopRightRadius:w,borderBottomRightRadius:w,borderBottomLeftRadius:w,width:w,maxWidth:w,height:w,maxHeight:w,top:w,right:w,bottom:w,left:w,inset:w,insetBlock:w,insetBlockStart:w,insetBlockEnd:w,insetInline:w,insetInlineStart:w,insetInlineEnd:w,padding:w,paddingTop:w,paddingRight:w,paddingBottom:w,paddingLeft:w,paddingBlock:w,paddingBlockStart:w,paddingBlockEnd:w,paddingInline:w,paddingInlineStart:w,paddingInlineEnd:w,margin:w,marginTop:w,marginRight:w,marginBottom:w,marginLeft:w,marginBlock:w,marginBlockStart:w,marginBlockEnd:w,marginInline:w,marginInlineStart:w,marginInlineEnd:w,fontSize:w,backgroundPositionX:w,backgroundPositionY:w,rotate:x,rotateX:x,rotateY:x,rotateZ:x,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:x,skewX:x,skewY:x,distance:w,translateX:w,translateY:w,translateZ:w,x:w,y:w,z:w,perspective:w,transformPerspective:w,opacity:l,originX:T,originY:T,originZ:w,zIndex:z,fillOpacity:l,strokeOpacity:l,numOctaves:z},$={...U,color:j,backgroundColor:j,outlineColor:j,fill:j,stroke:j,borderColor:j,borderTopColor:j,borderRightColor:j,borderBottomColor:j,borderLeftColor:j,filter:F,WebkitFilter:F},W=e=>$[e],H=()=>({translate:0,scale:1,origin:0,originPoint:0}),G=()=>({x:H(),y:H()}),X=()=>({min:0,max:0}),_=()=>({x:X(),y:X()});e.s(["createBox",()=>_,"createDelta",()=>G],5395);let K=e=>!!(e&&e.getVelocity);e.s(["isMotionValue",()=>K],38169);let Y=new Set(["width","height","top","left","right","bottom",...n]);e.s(["positionalKeys",()=>Y],60301);let q=e=>t=>t.test(e),Z=[a,w,b,x,P,S,{test:e=>"auto"===e,parse:e=>e}],J=e=>Z.find(q(e));var Q=e.i(8176);let ee=()=>{},et=()=>{};Q.default,e.s(["invariant",()=>et,"warning",()=>ee],80361);let ei=e=>t=>"string"==typeof t&&t.startsWith(e),er=ei("--"),en=ei("var(--"),es=e=>!!en(e)&&eo.test(e.split("/*")[0].trim()),eo=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ea(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}e.s(["containsCSSVariable",()=>ea,"isCSSVariableName",()=>er,"isCSSVariableToken",()=>es],49345);let el=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eu=e=>180*e/Math.PI,ec=e=>eh(eu(Math.atan2(e[1],e[0]))),ed={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=>eu(Math.atan(e[1])),skewY:e=>eu(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eh=e=>((e%=360)<0&&(e+=360),e),ep=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),em=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ef={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ep,scaleY:em,scale:e=>(ep(e)+em(e))/2,rotateX:e=>eh(eu(Math.atan2(e[6],e[5]))),rotateY:e=>eh(eu(Math.atan2(-e[2],e[0]))),rotateZ:ec,rotate:ec,skewX:e=>eu(Math.atan(e[4])),skewY:e=>eu(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eg(e){return+!!e.includes("scale")}function ev(e,t){let i,r;if(!e||"none"===e)return eg(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=ef,r=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ed,r=t}if(!r)return eg(t);let s=i[t],o=r[1].split(",").map(ey);return"function"==typeof s?s(o):o[s]}function ey(e){return parseFloat(e.trim())}let ex=e=>e===a||e===w,eb=new Set(["x","y","z"]),ew=n.filter(e=>!eb.has(e)),eS={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-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})=>ev(t,"x"),y:(e,{transform:t})=>ev(t,"y")};eS.translateX=eS.x,eS.translateY=eS.y;let eP=e=>e;e.s(["noop",()=>eP],8846);let eT={};e.s(["MotionGlobalConfig",()=>eT],43528);let ek=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ej={value:null,addProjectionMetrics:null};function eC(e,t){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=ek.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 u(t){o.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,s=!1)=>{let a=s&&n?i:r;return t&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(a=e,n){s=!0;return}n=!0,[i,r]=[r,i],i.forEach(u),t&&ej.value&&ej.value.frameloop[t].push(l),l=0,i.clear(),n=!1,s&&(s=!1,c.process(e))}};return c}(s,t?i:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:p,postRender:m}=o,f=()=>{let s=eT.useManualTiming?n.timestamp:performance.now();i=!1,eT.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),c.process(n),d.process(n),h.process(n),p.process(n),m.process(n),n.isProcessing=!1,i&&t&&(r=!1,e(f))};return{schedule:ek.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;tej],70590);let{schedule:eA,cancel:eM,state:eE,steps:eV}=eC("u">typeof requestAnimationFrame?requestAnimationFrame:eP,!0);e.s(["cancelFrame",()=>eM,"frame",()=>eA,"frameData",()=>eE,"frameSteps",()=>eV],41578);let eD=new Set,eL=!1,eR=!1,eN=!1;function eB(){if(eR){let e=Array.from(eD).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t,r=(t=[],ew.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)})}eR=!1,eL=!1,eD.forEach(e=>e.complete(eN)),eD.clear()}function eI(){eD.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eR=!0)})}function eO(){eN=!0,eI(),eB(),eN=!1}class eF{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?(eD.add(this),eL||(eL=!0,eA.read(eI),eA.resolveKeyframes(eB))):(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;teF,"flushKeyframeResolvers",()=>eO],58685);let eU=new Set(["auto","none","0"]);class e$ extends eF{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.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let eW=e=>1e3*e,eH=e=>e/1e3;function eG(e,t){-1===e.indexOf(t)&&e.push(t)}function eX(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}e.s(["millisecondsToSeconds",()=>eH,"secondsToMilliseconds",()=>eW],43493),e.s(["addUniqueItem",()=>eG,"removeItem",()=>eX],3799);class e_{constructor(){this.subscriptions=[]}add(e){return eG(this.subscriptions,e),()=>eX(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(void 0===t&&(t=e()),t)}e.s(["SubscriptionManager",()=>e_],26841),e.s(["memo",()=>eK],36836);let eY=eK(()=>void 0!==window.ScrollTimeline),eq=e=>null!==e;function eZ(e,{repeat:t,repeatType:i="loop"},r,n=1){let s=e.filter(eq),o=n<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}e.s(["getFinalKeyframe",()=>eZ],44435);class eJ{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)}}e.s(["WithPromise",()=>eJ],98022);let eQ={layout:0,mainThread:0,waapi:0};e.s(["activeAnimations",()=>eQ],21108);let e0=e=>Array.isArray(e)&&"number"==typeof e[0];e.s(["isBezierDefinition",()=>e0],45001);let e1={},e5=(r=eK(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),()=>e1.linearEasing??r()),e2=(e,t,i=10)=>{let r="",n=Math.max(Math.round(t/i),2);for(let t=0;te2],84975);let e3=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,e4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e3([0,.65,.55,1]),circOut:e3([.55,0,1,.45]),backIn:e3([.31,.01,.66,-.59]),backOut:e3([.33,1.53,.69,.99])};function e7(e){return"function"==typeof e&&"applyToOptions"in e}e.s(["isGenerator",()=>e7],88176);class e8 extends eJ{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,et("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e7(e)&&e5()?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}={},u){let c={[t]:i};l&&(c.offset=l);let d=function e(t,i){if(t)return"function"==typeof t?e5()?e2(t,i):"ease-out":e0(t)?e3(t):Array.isArray(t)?t.map(t=>e(t,i)||e4.easeOut):e4[t]}(a,n);Array.isArray(d)&&(c.easing=d),ej.value&&eQ.waapi++;let h={delay:r,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(h.pseudoElement=u);let p=e.animate(c,h);return ej.value&&p.finished.finally(()=>{eQ.waapi--}),p}(t,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=eZ(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(e):i.startsWith("--")?t.style.setProperty(i,e):t.style[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 eH(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+eH(e)}get time(){return eH(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eW(e)}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,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eY())?(this.animation.timeline=e,eP):t(this)}}e.s(["NativeAnimation",()=>e8],35867);let e6=new Set(["opacity","clipPath","filter","transform"]),{schedule:e9}=eC(queueMicrotask,!1);function te(){i=void 0}e.s(["microtask",()=>e9],50724);let tt={now:()=>(void 0===i&&tt.set(eE.isProcessing||eT.useManualTiming?eE.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(te)}};function ti(e,t){return t?1e3/t*e:0}e.s(["time",()=>tt],1127),e.s(["velocityPerSecond",()=>ti],4393);class tr{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tt.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=tt.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 e_);let i=this.events[e].add(t);return"change"===e?()=>{i(),eA.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 t&&t.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=tt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ti(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 tn(e,t){return new tr(e,t)}e.s(["motionValue",()=>tn],58246);let ts=[...Z,j,N],to=new WeakMap;function ta(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tl(e){return"string"==typeof e||Array.isArray(e)}e.s(["isAnimationControls",()=>ta],1761),e.s(["isVariantLabel",()=>tl],72972);let tu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tc=["initial",...tu];function td(e){return ta(e.animate)||tc.some(t=>tl(e[t]))}function th(e){return!!(td(e)||e.variants)}e.s(["variantPriorityOrder",()=>tu,"variantProps",()=>tc],60037),e.s(["isControllingVariants",()=>td,"isVariantNode",()=>th],38702);let tp={current:null},tm={current:!1},tf="u">typeof window;function tg(e){let t=[{},{}];return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tv(e,t,i,r){if("function"==typeof t){let[n,s]=tg(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]=tg(r);t=t(void 0!==i?i:e.custom,n,s)}return t}e.s(["resolveVariantFromProps",()=>tv],38788);let ty=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tx={};function tb(e){tx=e}function tw(){return tx}class tS{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=eF,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=tt.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tm.current||function(){if(tm.current=!0,tf)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tp.current=e.matches;e.addEventListener("change",t),t()}else tp.current=!1}(),this.shouldReduceMotion=tp.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(),eM(this.notifyUpdate),eM(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&&e6.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:o}=t.accelerate,a=new e8({element:this.current,name:e,keyframes:r,times:n,ease:s,duration:eW(o)}),l=i(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let r=s.has(e);r&&this.onBindTransform&&this.onBindTransform();let n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eA.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(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tx){let t=tx[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];t.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):_()}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;tt.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=tn(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,!ts.find(q(r))&&N.test(t)&&(i=ez(e,t))}this.setBaseTarget(e,K(i)?i.get():i)}return K(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=tv(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||K(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 e_),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e9.render(this.render)}}e.s(["VisualElement",()=>tS,"getFeatureDefinitions",()=>tw,"setFeatureDefinitions",()=>tb],6268);class tP extends tS{constructor(){super(...arguments),this.KeyframeResolver=e$}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;K(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tT(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}e.s(["camelToDash",()=>tT],79408);let tk=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tC=n.length;function tA(e,t,i){let{style:r,vars:o,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let i=t[e];if(s.has(e)){l=!0;continue}if(er(e)){o[e]=i;continue}{let t=tk(i,U[e]);e.startsWith("origin")?(u=!0,a[e]=t):r[e]=t}}if(!t.transform&&(l||i?r.transform=function(e,t,i){let r="",s=!0;for(let o=0;otA],57729);let tM={offset:"stroke-dashoffset",array:"stroke-dasharray"},tE={offset:"strokeDashoffset",array:"strokeDasharray"},tV=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tD(e,{attrX:t,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(tA(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:h}=e;for(let e of(d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete d.transformBox),tV))void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==n&&function(e,t,i=1,r=0,n=!0){e.pathLength=1;let s=n?tM:tE;e[s.offset]=`${-r}`,e[s.array]=`${t} ${i}`}(d,n,s,o,!1)}e.s(["buildSVGAttrs",()=>tD],63081);let tL=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"]),tR=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tN(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 tB(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}e.s(["isSVGTag",()=>tR],59262);let tI={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!w.test(e))return e;else e=parseFloat(e);let i=tB(e,t.target.x),r=tB(e,t.target.y);return`${i}% ${r}%`}},tO=(e,t,i)=>e+(t-e)*i;e.s(["mixNumber",()=>tO],4080);let tF={borderRadius:{...tI,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tI,borderTopRightRadius:tI,borderBottomLeftRadius:tI,borderBottomRightRadius:tI,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=N.parse(e);if(r.length>5)return e;let n=N.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=tO(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 tz(e,{layout:t,layoutId:i}){return s.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!tF[e]||"opacity"===e)}function tU(e,t,i){let r=e.style,n=t?.style,s={};if(!r)return s;for(let t in r)(K(r[t])||n&&K(n[t])||tz(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=r[t]);return s}function t$(e,t,i){let r=tU(e,t,i);for(let i in e)(K(e[i])||K(t[i]))&&(r[-1!==n.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}e.s(["scaleCorrectors",()=>tF],23084),e.s(["isForcedMotionValue",()=>tz],5500),e.s(["scrapeMotionValuesFromProps",()=>tU],98943),e.s(["scrapeMotionValuesFromProps",()=>t$],58785);class tW extends tP{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=_}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(s.has(t)){let e=W(t);return e&&e.default||0}return t=tL.has(t)?t:tT(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return t$(e,t,i)}build(e,t,i){tD(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,r){for(let i in tN(e,t,void 0,r),t.attrs)e.setAttribute(tL.has(i)?i:tT(i),t.attrs[i])}mount(e){this.isSVGTag=tR(e.tagName),super.mount(e)}}function tH({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function tG({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tX(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}}function t_(e){return void 0===e||1===e}function tK({scale:e,scaleX:t,scaleY:i}){return!t_(e)||!t_(t)||!t_(i)}function tY(e){return tK(e)||tq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tq(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function tZ(e,t,i){return i+t*(e-i)}function tJ(e,t,i,r,n){return void 0!==n&&(e=r+n*(e-r)),r+i*(e-r)+t}function tQ(e,t=0,i=1,r,n){e.min=tJ(e.min,t,i,r,n),e.max=tJ(e.max,t,i,r,n)}function t0(e,{x:t,y:i}){tQ(e.x,t.translate,t.scale,t.originPoint),tQ(e.y,i.translate,i.scale,i.originPoint)}function t1(e,t,i,r=!1){let n,s,o=i.length;if(o){t.x=t.y=1;for(let a=0;a.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function t5(e,t){e.min=e.min+t,e.max=e.max+t}function t2(e,t,i,r,n=.5){let s=tO(e.min,e.max,n);tQ(e,t,i,s,r)}function t3(e,t){t2(e.x,t.x,t.scaleX,t.scale,t.originX),t2(e.y,t.y,t.scaleY,t.scale,t.originY)}function t4(e,t){return tH(tX(e.getBoundingClientRect(),t))}function t7(e,t,i){let r=t4(e,i),{scroll:n}=t;return n&&(t5(r.x,n.offset.x),t5(r.y,n.offset.y)),r}e.s(["convertBoundingBoxToBox",()=>tH,"convertBoxToBoundingBox",()=>tG,"transformBoxPoints",()=>tX],81651),e.s(["has2DTranslate",()=>tq,"hasScale",()=>tK,"hasTransform",()=>tY],27107),e.s(["applyBoxDelta",()=>t0,"applyTreeDeltas",()=>t1,"scalePoint",()=>tZ,"transformBox",()=>t3,"translateAxis",()=>t5],36429),e.s(["measurePageBox",()=>t7,"measureViewportBox",()=>t4],40035);class t8 extends tP{constructor(){super(...arguments),this.type="html",this.renderInstance=tN}readValueFromInstance(e,t){if(s.has(t))return this.projection?.isProjecting?eg(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return ev(i,t)})(e,t);{let i=window.getComputedStyle(e),r=(er(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t4(e,t)}build(e,t,i){tA(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return tU(e,t,i)}}var t6=e.i(50394);let t9=["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 ie(e){if("string"!=typeof e||e.includes("-"));else if(t9.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}e.s(["isSVGComponent",()=>ie],9476);let it=(e,t)=>t.isSVG??ie(e)?new tW(t):new t8(t,{allowProjection:e!==t6.Fragment});e.s(["createDomVisualElement",()=>it],12327)},92706,e=>{"use strict";let t=(0,e.i(50394).createContext)({strict:!1});e.s(["LazyContext",()=>t])},14653,e=>{"use strict";var t,i,r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,n=(t=function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=t(e)),i[e]});e.s(["default",()=>n],14653)},23836,42373,82487,74548,21345,7918,25687,e=>{"use strict";var t,i=e.i(50394);let r=(0,i.createContext)({});e.s(["MotionContext",()=>r],23836);var n=e.i(38702),s=e.i(72972);function o(e){let{initial:t,animate:o}=function(e,t){if((0,n.isControllingVariants)(e)){let{initial:t,animate:i}=e;return{initial:!1===t||(0,s.isVariantLabel)(t)?t:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(r));return(0,i.useMemo)(()=>({initial:t,animate:o}),[a(t),a(o)])}function a(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",()=>o],42373);var l=e.i(38169),u=e.i(5500),c=e.i(57729);let d=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function h(e,t,i){for(let r in t)(0,l.isMotionValue)(t[r])||(0,u.isForcedMotionValue)(r,i)||(e[r]=t[r])}e.s(["createHtmlRenderState",()=>d],82487);var p=e.i(63081),m=e.i(59262);let f=()=>({...d(),attrs:{}});e.s(["createSvgRenderState",()=>f],74548);let g=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 v(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||g.has(e)}let y=e=>!v(e);try{t=e.r(14653).default,"function"==typeof t&&(y=e=>e.startsWith("on")?!v(e):t(e))}catch{}var x=e.i(9476);function b(e,t,r,{latestValues:n},s,o=!1,a){let u=(a??(0,x.isSVGComponent)(e)?function(e,t,r,n){let s=(0,i.useMemo)(()=>{let i=f();return(0,p.buildSVGAttrs)(i,t,(0,m.isSVGTag)(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};h(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let r,n,s={},o=(r=e.style||{},h(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,i.useMemo)(()=>{let i=d();return(0,c.buildHTMLStyles)(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=o,s})(t,n,s,e),g=function(e,t,i){let r={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&(y(n)||!0===i&&v(n)||!t&&!v(n)||e.draggable&&n.startsWith("onDrag"))&&(r[n]=e[n]);return r}(t,"string"==typeof e,o),w=e!==i.Fragment?{...g,...u,ref:r}:{},{children:S}=t,P=(0,i.useMemo)(()=>(0,l.isMotionValue)(S)?S.get():S,[S]);return(0,i.createElement)(e,{...w,children:P})}e.s(["useRender",()=>b],21345);var w=e.i(98943);function S(e){return(0,l.isMotionValue)(e)?e.get():e}e.s(["scrapeHTMLMotionValuesFromProps",()=>w.scrapeMotionValuesFromProps],7918),e.s(["resolveMotionValue",()=>S],25687)},29796,21228,e=>{"use strict";var t=e.i(7918),i=e.i(25687),r=e.i(38702),n=e.i(1761),s=e.i(38788),o=e.i(50394),a=e.i(23836),l=e.i(96259),u=e.i(49047);let c=e=>(t,c)=>{let d=(0,o.useContext)(a.MotionContext),h=(0,o.useContext)(l.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},o,a,l){return{latestValues:function(e,t,o,a){let l={},u=a(e,{});for(let e in u)l[e]=(0,i.resolveMotionValue)(u[e]);let{initial:c,animate:d}=e,h=(0,r.isControllingVariants)(e),p=(0,r.isVariantNode)(e);t&&p&&!h&&!1!==e.inherit&&(void 0===c&&(c=t.initial),void 0===d&&(d=t.animate));let m=!!o&&!1===o.initial,f=(m=m||!1===c)?d:c;if(f&&"boolean"!=typeof f&&!(0,n.isAnimationControls)(f)){let t=Array.isArray(f)?f:[f];for(let i=0;ih],29796);var p=e.i(58785),p=p,m=e.i(74548);let f=c({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});e.s(["useSVGVisualState",()=>f],21228)},55179,94113,15201,40652,2831,41498,197,e=>{"use strict";var t=e.i(6268);let 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"]},r=!1;function n(){return!function(){if(r)return;let e={};for(let t in i)e[t]={isEnabled:e=>i[t].some(t=>!!e[t])};(0,t.setFeatureDefinitions)(e),r=!0}(),(0,t.getFeatureDefinitions)()}function s(e){let i=n();for(let t in e)i[t]={...i[t],...e[t]};(0,t.setFeatureDefinitions)(i)}e.s(["getInitializedFeatureDefinitions",()=>n],55179),e.s(["loadFeatures",()=>s],94113);let o=Symbol.for("motionComponentSymbol");e.s(["motionComponentSymbol",()=>o],15201);var a=e.i(50394);function l(e,t,i){let r=(0,a.useRef)(i);(0,a.useInsertionEffect)(()=>{r.current=i});let n=(0,a.useRef)(null);return(0,a.useCallback)(i=>{i&&e.onMount?.(i),t&&(i?t.mount(i):t.unmount());let s=r.current;if("function"==typeof s)if(i){let e=s(i);"function"==typeof e&&(n.current=e)}else n.current?(n.current(),n.current=null):s(i);else s&&(s.current=i)},[t])}e.s(["useMotionRef",()=>l],40652);let u="data-"+(0,e.i(79408).camelToDash)("framerAppearId");e.s(["optimizedAppearDataAttribute",()=>u],2831);let c=(0,a.createContext)({});function d(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}e.s(["SwitchLayoutGroupContext",()=>c],41498),e.s(["isRefObject",()=>d],197)},25288,46891,68890,98163,17742,84780,2136,17284,45167,67867,35755,71781,2503,68309,65707,63766,e=>{"use strict";e.i(8176);var t=e.i(15497),i=e.i(50394),r=e.i(72863),n=e.i(92706),s=e.i(29380),o=e.i(23836),a=e.i(42373),l=e.i(21345),u=e.i(9476),c=e.i(29796),d=e.i(21228),h=e.i(52458),p=e.i(55179),m=e.i(94113),f=e.i(15201),g=e.i(40652),v=e.i(2831),y=e.i(96259),x=e.i(41498),b=e.i(197),w=e.i(79431);function S(e,{forwardMotionProps:P=!1,type:T}={},k,j){k&&(0,m.loadFeatures)(k);let C=T?"svg"===T:(0,u.isSVGComponent)(e),A=C?d.useSVGVisualState:c.useHTMLVisualState;function M(u,c){let d,m={...(0,i.useContext)(s.MotionConfigContext),...u,layoutId:function({layoutId:e}){let t=(0,i.useContext)(r.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(u)},{isStatic:f}=m,S=(0,a.useCreateMotionContext)(u),T=A(u,f);if(!f&&h.isBrowser){(0,i.useContext)(n.LazyContext).strict;let t=function(e){let{drag:t,layout:i}=(0,p.getInitializedFeatureDefinitions)();if(!t&&!i)return{};let r={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(m);d=t.MeasureLayout,S.visualElement=function(e,t,r,a,l,u){let{visualElement:c}=(0,i.useContext)(o.MotionContext),d=(0,i.useContext)(n.LazyContext),h=(0,i.useContext)(y.PresenceContext),p=(0,i.useContext)(s.MotionConfigContext),m=p.reducedMotion,f=p.skipAnimations,g=(0,i.useRef)(null),S=(0,i.useRef)(!1);a=a||d.renderer,!g.current&&a&&(g.current=a(e,{visualState:t,parent:c,props:r,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:u}),S.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let P=g.current,T=(0,i.useContext)(x.SwitchLayoutGroupContext);P&&!P.projection&&l&&("html"===P.type||"svg"===P.type)&&function(e,t,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot: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&&(0,b.isRefObject)(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(g.current,r,l,T);let k=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{P&&k.current&&P.update(r,h)});let j=r[v.optimizedAppearDataAttribute],C=(0,i.useRef)(!!j&&!window.MotionHandoffIsComplete?.(j)&&window.MotionHasOptimisedAnimation?.(j));return(0,w.useIsomorphicLayoutEffect)(()=>{S.current=!0,P&&(k.current=!0,window.MotionIsMounted=!0,P.updateFeatures(),P.scheduleRenderMicrotask(),C.current&&P.animationState&&P.animationState.animateChanges())}),(0,i.useEffect)(()=>{P&&(!C.current&&P.animationState&&P.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(j)}),C.current=!1),P.enteringChildren=void 0)}),P}(e,T,m,j,t.ProjectionNode,C)}return(0,t.jsxs)(o.MotionContext.Provider,{value:S,children:[d&&S.visualElement?(0,t.jsx)(d,{visualElement:S.visualElement,...m}):null,(0,l.useRender)(e,u,(0,g.useMotionRef)(T,S.visualElement,c),T,f,P,C)]})}M.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let E=(0,i.forwardRef)(M);return E[f.motionComponentSymbol]=e,E}function P(e,t){if("u"S(i,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,S(s,void 0,e,t)),i.get(s))})}e.s(["createMotionProxy",()=>P],25288);class T{constructor(e){this.isMounted=!1,this.node=e}update(){}}e.s(["Feature",()=>T],46891);var k=e.i(38788);function j(e,t,i){let r=e.getProps();return(0,k.resolveVariantFromProps)(r,t,void 0!==i?i:r.custom,e)}function C(e,t){if(e?.inherit&&t){let{inherit:i,...r}=e;return{...t,...r}}return e}function A(e,t){let i=e?.[t]??e?.default??e;return i!==e?C(i,e):i}e.s(["getValueTransition",()=>A],68890);var M=e.i(60301),E=e.i(58246);let V=e=>Array.isArray(e);var D=e.i(43528),L=e.i(38169);function R(e,t){let i=e.getValue("willChange");if((0,L.isMotionValue)(i)&&i.add)return i.add(t);if(!i&&D.MotionGlobalConfig.WillChange){let i=new D.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function N(e){return e.props[v.optimizedAppearDataAttribute]}e.s(["addValueToWillChange",()=>R],98163),e.s(["getOptimisedAppearId",()=>N],17742);var B=e.i(43493),I=e.i(8846),O=e.i(1127);let F=(e,t)=>i=>t(e(i)),z=(...e)=>e.reduce(F);e.s(["pipe",()=>z],84780);var U=e.i(20458),$=e.i(21108),W=e.i(80361),H=e.i(49345),G=e.i(43540),X=e.i(24431),_=e.i(49370),K=e.i(64991);function Y(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}var q=e.i(62385);function Z(e,t){return i=>i>0?t:e}var J=e.i(4080);let Q=(e,t,i)=>{let r=e*e,n=i*(t*t-r)+r;return n<0?0:Math.sqrt(n)},ee=[_.hex,q.rgba,K.hsla];function et(e){let t=ee.find(t=>t.test(e));if((0,W.warning)(!!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===K.hsla&&(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=Y(a,r,e+1/3),s=Y(a,r,e),o=Y(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 ei=(e,t)=>{let i=et(e),r=et(t);if(!i||!r)return Z(e,t);let n={...i};return e=>(n.red=Q(i.red,r.red,e),n.green=Q(i.green,r.green,e),n.blue=Q(i.blue,r.blue,e),n.alpha=(0,J.mixNumber)(i.alpha,r.alpha,e),q.rgba.transform(n))},er=new Set(["none","hidden"]);function en(e,t){return i=>(0,J.mixNumber)(e,t,i)}function es(e){return"number"==typeof e?en:"string"==typeof e?(0,H.isCSSVariableToken)(e)?Z:G.color.test(e)?ei:el:Array.isArray(e)?eo:"object"==typeof e?G.color.test(e)?ei:ea:Z}function eo(e,t){let i=[...e],r=i.length,n=e.map((e,i)=>es(e)(e,t[i]));return e=>{for(let t=0;t{for(let t in r)i[t]=r[t](e);return i}}let el=(e,t)=>{let i=X.complex.createTransformer(t),r=(0,X.analyseComplexValue)(e),n=(0,X.analyseComplexValue)(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(0,W.warning)(!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"),Z(e,t);if(er.has(e)&&!n.values.length||er.has(t)&&!r.values.length)return er.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return z(eo(function(e,t){let i=[],r={color:0,var:0,number:0};for(let n=0;n{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>ec.frame.update(t,e),stop:()=>(0,ec.cancelFrame)(t),now:()=>ec.frameData.isProcessing?ec.frameData.timestamp:O.time.now()}};var eh=e.i(84975);function ep(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}var em=e.i(4393);function ef(e,t,i){let r=Math.max(t-5,0);return(0,em.velocityPerSecond)(i-e(r),t-r)}let eg=.01,ev=2,ey=.005,ex=.5;function eb(e,t){return e*Math.sqrt(1-t*t)}let ew=["duration","bounce"],eS=["stiffness","damping","mass"];function eP(e,t){return t.some(t=>void 0!==e[t])}function eT(e=.3,t=.3){let i,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:d,duration:h,velocity:p,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!eP(e,eS)&&eP(e,ew))if(e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),r=i*i,n=2*(0,U.clamp)(.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;(0,W.warning)(e<=(0,B.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=(0,U.clamp)(.05,1,o),e=(0,U.clamp)(.01,10,(0,B.millisecondsToSeconds)(e)),o<1?(n=t=>{let r=t*o,n=r*e;return .001-(r-i)/eb(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=eb(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=(0,B.secondsToMilliseconds)(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);(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-(0,B.millisecondsToSeconds)(r.velocity||0)}),f=p||0,g=c/(2*Math.sqrt(u*d)),v=a-o,y=(0,B.millisecondsToSeconds)(Math.sqrt(u/d)),x=5>Math.abs(v);if(n||(n=x?eg:ev),s||(s=x?ey:ex),g<1){let e=eb(y,g);i=t=>a-Math.exp(-g*y*t)*((f+g*y*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===g)i=e=>a-Math.exp(-y*e)*(v+(f+y*v)*e);else{let e=y*Math.sqrt(g*g-1);i=t=>{let i=Math.exp(-g*y*t),r=Math.min(e*t,300);return a-i*((f+g*y*v)*Math.sinh(r)+e*v*Math.cosh(r))/e}}let b={calculatedDuration:m&&h||null,next:e=>{let t=i(e);if(m)l.done=e>=h;else{let r=0===e?f:0;g<1&&(r=0===e?(0,B.secondsToMilliseconds)(f):ef(i,e,t));let o=Math.abs(a-t)<=s;l.done=Math.abs(r)<=n&&o}return l.value=l.done?a:t,l},toString:()=>{let e=Math.min(ep(b),2e4),t=(0,eh.generateLinearEasing)(t=>b.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return b}function ek({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h,p=e[0],m={done:!1,value:p},f=i*t,g=p+f,v=void 0===o?g:o(g);v!==g&&(f=v-p);let y=e=>-f*Math.exp(-e/r),x=e=>v+y(e),b=e=>{let t=y(e),i=x(e);m.done=Math.abs(t)<=u,m.value=m.done?v:i},w=e=>{let t;if(t=m.value,void 0!==a&&tl){var i;d=e,h=eT({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i){let t=!1;return(h||void 0!==d||(t=!0,b(e),w(e)),void 0!==d&&e>=d)?h.next(e-d):(t||b(e),m)}}}eT.applyToOptions=e=>{let t=function(e,t=100,i){let r=i({...e,keyframes:[0,t]}),n=Math.min(ep(r),2e4);return{type:"keyframes",ease:e=>r.next(n*e).value/t,duration:(0,B.millisecondsToSeconds)(n)}}(e,100,eT);return e.ease=t.ease,e.duration=(0,B.secondsToMilliseconds)(t.duration),e.type="keyframes",e};let ej=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function eC(e,t,i,r){return e===t&&i===r?I.noop:n=>0===n||1===n?n:ej(function(e,t,i,r,n){let s,o,a=0;do(s=ej(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 eA=eC(.42,0,1,1),eM=eC(0,0,.58,1),eE=eC(.42,0,.58,1),eV=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eD=e=>t=>1-e(1-t),eL=eC(.33,1.53,.69,.99),eR=eD(eL),eN=eV(eR),eB=e=>(e*=2)<1?.5*eR(e):.5*(2-Math.pow(2,-10*(e-1))),eI=e=>1-Math.sin(Math.acos(e)),eO=eD(eI),eF=eV(eI);e.s(["circIn",()=>eI,"circInOut",()=>eF,"circOut",()=>eO],2136);var ez=e.i(45001);let eU={linear:I.noop,easeIn:eA,easeInOut:eE,easeOut:eM,circIn:eI,circInOut:eF,circOut:eO,backIn:eR,backInOut:eN,backOut:eL,anticipate:eB},e$=e=>{if((0,ez.isBezierDefinition)(e)){(0,W.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,r,n]=e;return eC(t,i,r,n)}return"string"==typeof e?((0,W.invariant)(void 0!==eU[e],`Invalid easing type '${e}'`,"invalid-easing-type"),eU[e]):e},eW=(e,t,i)=>{let r=t-e;return 0===r?1:(i-e)/r};function eH({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){var n;let s,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(e$):e$(r),a={done:!1,value:t[0]},l=function(e,t,{clamp:i=!0,ease:r,mixer:n}={}){let s=e.length;if((0,W.invariant)(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||D.MotionGlobalConfig.mix||eu,s=e.length-1;for(let i=0;i{if(o&&i1)for(;ru((0,U.clamp)(e[0],e[s-1],t)):u}((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=eW(0,t,r);e.push((0,J.mixNumber)(i,1,n))}}(s=[0],t.length-1),s),n.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||eE).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}e.s(["progress",()=>eW],17284);var eG=e.i(44435);let eX={decay:ek,inertia:ek,tween:eH,keyframes:eH,spring:eT};function e_(e){"string"==typeof e.type&&(e.type=eX[e.type])}var eK=e.i(98022);let eY=e=>e/100;class eq extends eK.WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==O.time.now()&&this.tick(O.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},$.activeAnimations.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;e_(e);let{type:t=eH,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=e,{keyframes:o}=e,a=t||eH;a!==eH&&"number"!=typeof o[0]&&(this.mixKeyframes=z(eY,eu(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=ep(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+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{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:h,type:p,onUpdate:m,finalKeyframe:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let y=this.currentTime,x=i;if(c){let e=Math.min(this.currentTime,r)/o,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,h&&(i-=h/o)):"mirror"===d&&(x=s)),y=(0,U.clamp)(0,1,i)*o}let b=v?{done:!1,value:u[0]}:x.next(y);n&&(b.value=n(b.value));let{done:w}=b;v||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&p!==ek&&(b.value=(0,eG.getFinalKeyframe)(u,this.options,f,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return(0,B.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,B.millisecondsToSeconds)(e)}get time(){return(0,B.millisecondsToSeconds)(this.currentTime)}set time(e){e=(0,B.secondsToMilliseconds)(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(O.time.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,B.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=ed,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(O.time.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,$.activeAnimations.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)}}var eZ=e.i(58685),eJ=e.i(35867);let eQ={anticipate:eB,backInOut:eN,circInOut:eF};class e0 extends eJ.NativeAnimation{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in eQ&&(e.ease=eQ[e.ease])}(e),e_(e),super(e),void 0!==e.startTime&&(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 eq({...s,autoplay:!1}),a=Math.max(10,O.time.now()-this.startTime),l=(0,U.clamp)(0,10,a-10);t.setWithVelocity(o.sample(Math.max(0,a-l)).value,o.sample(a).value,l),o.stop()}}var e1=e.i(88176);let e5=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(X.complex.test(e)||"0"===e)&&!e.startsWith("url("));function e2(e){e.duration=0,e.type="keyframes"}var e3=eK,e4=e.i(36836);let e7=new Set(["opacity","clipPath","filter","transform"]),e8=(0,e4.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class e6 extends e3.WithPromise{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:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=O.time.now();const d={autoplay:e,delay:t,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...c},h=u?.KeyframeResolver||eZ.KeyframeResolver;this.keyframeResolver=new h(o,(e,t,i)=>this.onKeyframesResolved(e,t,d,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;this.resolvedAt=O.time.now(),!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=e5(n,t),a=e5(s,t);return(0,W.warning)(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;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},d=!l&&function(e){let{motionValue:t,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return e8()&&i&&e7.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(c),h=c.motionValue?.owner?.current,p=d?new e0({...c,element:h}):new eq(c);p.finished.then(()=>{this.notifyFinished()}).catch(I.noop),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}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(),(0,eZ.flushKeyframeResolvers)()),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()}}var e9=e.i(30818);let te={type:"spring",stiffness:500,damping:25,restSpeed:10},tt={type:"keyframes",duration:.8},ti={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tr=e=>null!==e,tn=(e,t,i,r={},n,s)=>o=>{let a=A(r,e)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=(0,B.secondsToMilliseconds)(l);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,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({when:e,delay:t,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?tt:e9.transformProps.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:te:ti)(e,c)),c.duration&&(c.duration=(0,B.secondsToMilliseconds)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,B.secondsToMilliseconds)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(e2(c),0===c.delay&&(d=!0)),(D.MotionGlobalConfig.instantAnimations||D.MotionGlobalConfig.skipAnimations||n?.shouldSkipAnimations)&&(d=!0,e2(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:i="loop"},r){let n=e.filter(tr),s=t&&"loop"!==i&&t%2==1?0:n.length-1;return n[s]}(c.keyframes,a);if(void 0!==e)return void ec.frame.update(()=>{c.onUpdate(e),c.onComplete()})}return a.isSync?new eq(c):new e6(c)};function ts(e,t,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=t,l=e.getDefaultTransition();s=s?C(s,l):l;let u=s?.reduceMotion;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,...A(s||{},t)},l=r.get();if(void 0!==l&&!r.isAnimating&&!Array.isArray(n)&&n===l&&!o.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let i=N(e);if(i){let e=window.MotionHandoffAnimation(i,t,ec.frame);null!==e&&(o.startTime=e,h=!0)}}R(e,t);let p=u??e.shouldReduceMotion;r.start(tn(t,r,n,p&&M.positionalKeys.has(t)?{type:!1}:o,e,h));let m=r.animation;m&&c.push(m)}if(o){let t=()=>ec.frame.update(()=>{o&&function(e,t){let{transitionEnd:i={},transition:r={},...n}=j(e,t)||{};for(let t in n={...n,...i}){var s;let i=V(s=n[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,(0,E.motionValue)(i))}}(e,o)});c.length?Promise.all(c).then(t):t()}return c}function to(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 ta(e,t,i={}){let r=j(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(ts(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(ta(l,t,{...o,delay:i+("function"==typeof r?0:r)+to(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())}}e.s(["animateMotionValue",()=>tn],45167);var tl=e.i(72972),tu=e.i(60037);let tc=tu.variantProps.length;var td=e.i(1761);function th(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let r=0;rPromise.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=>ta(e,t,i)));else if("string"==typeof t)r=ta(e,t,i);else{let n="function"==typeof t?j(e,t,i.custom):t;r=Promise.all(ts(e,n,i))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=tg(),r=!0,n=t=>(i,r)=>{let n=j(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 s(s){let{props:o}=e,a=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;ed&&v,S=!1,P=Array.isArray(g)?g:[g],T=P.reduce(n(m),{});!1===y&&(T={});let{prevResolvedValues:k={}}=f,C={...k,...T},A=t=>{w=!0,u.has(t)&&(S=!0,u.delete(t)),f.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in C){let t=T[e],i=k[e];if(!c.hasOwnProperty(e))(V(t)&&V(i)?th(t,i):t===i)?void 0!==t&&u.has(e)?A(e):f.protectedKeys[e]=!0:null!=t?A(e):u.add(e)}f.prevProp=g,f.prevResolvedValues=T,f.isActive&&(c={...c,...T}),r&&e.blockInitialAnimation&&(w=!1);let M=x&&b,E=!M||S;w&&E&&l.push(...P.map(t=>{let i={type:m};if("string"==typeof t&&r&&!M&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,n=j(r,t);if(r.enteringChildren&&n){let{delayChildren:t}=n.transition||{};i.delay=to(r.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(u.size){let t={};if("boolean"!=typeof o.initial){let i=j(e,Array.isArray(o.initial)?o.initial[0]:o.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}),l.push({animation:t})}let m=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(l):Promise.resolve()}return{animateChanges:s,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=s(t);for(let e in i)i[e].protectedKeys={};return n},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=tg()}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,td.isAnimationControls)(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 T{constructor(){super(...arguments),this.id=tv++}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;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function tx(e){return[e("x"),e("y")]}e.s(["animations",()=>ty],67867),e.s(["eachAxis",()=>tx],35755);let tb=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function tw(e){return tb.has(e.tagName)||!0===e.isContentEditable}let tS=new Set(["INPUT","SELECT","TEXTAREA"]);function tP(e){return tS.has(e.tagName)||!0===e.isContentEditable}function tT(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i)}e.s(["isElementKeyboardAccessible",()=>tw,"isElementTextInput",()=>tP],71781),e.s(["addDomEvent",()=>tT],2503);let tk={x:!1,y:!1};function tj(){return tk.x||tk.y}function tC(e){if("x"===e||"y"===e)if(tk[e])return null;else return tk[e]=!0,()=>{tk[e]=!1};return tk.x||tk.y?null:(tk.x=tk.y=!0,()=>{tk.x=tk.y=!1})}e.s(["isDragActive",()=>tj,"isDragging",()=>tk],68309),e.s(["setDragLock",()=>tC],65707);function tA(e){return e.max-e.min}function tM(e,t,i){return Math.abs(e-t)<=i}function tE(e,t,i,r=.5){e.origin=r,e.originPoint=(0,J.mixNumber)(t.min,t.max,e.origin),e.scale=tA(i)/tA(t),e.translate=(0,J.mixNumber)(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 tV(e,t,i,r){tE(e.x,t.x,i.x,r?r.originX:void 0),tE(e.y,t.y,i.y,r?r.originY:void 0)}function tD(e,t,i){e.min=i.min+t.min,e.max=e.min+tA(t)}function tL(e,t,i){tD(e.x,t.x,i.x),tD(e.y,t.y,i.y)}function tR(e,t,i){e.min=t.min-i.min,e.max=e.min+tA(t)}function tN(e,t,i){tR(e.x,t.x,i.x),tR(e.y,t.y,i.y)}e.s(["calcBoxDelta",()=>tV,"calcLength",()=>tA,"calcRelativeBox",()=>tL,"calcRelativePosition",()=>tN,"isNear",()=>tM],63766)},31665,e=>{"use strict";var t=e.i(10403);function i(e){return(0,t.isObject)(e)&&"ownerSVGElement"in e}e.s(["isSVGElement",()=>i])},55955,37931,50507,24808,77308,e=>{"use strict";let t,i;var r=e.i(46891),n=e.i(8846),s=e.i(5395),o=e.i(41578),a=e.i(35755),l=e.i(40035),u=e.i(81651),c=e.i(98163),d=e.i(45167),h=e.i(4080),p=e.i(71781),m=e.i(2503),f=e.i(65707),g=e.i(34007),v=e.i(63766),y=e.i(31665),x=e.i(17216);let b=new WeakMap,w=(e,t,i)=>(r,n)=>n&&n[0]?n[0][e+"Size"]:(0,y.isSVGElement)(r)&&"getBBox"in r?r.getBBox()[t]:r[i],S=w("inline","width","offsetWidth"),P=w("block","height","offsetHeight");function T({target:e,borderBoxSize:t}){b.get(e)?.forEach(i=>{i(e,{get width(){return S(e,t)},get height(){return P(e,t)}})})}function k(e){e.forEach(T)}let j=new Set;function C(e,r){let n;return"function"==typeof e?(j.add(e),i||(i=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};j.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{j.delete(e),j.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!t&&"u">typeof ResizeObserver&&(t=new ResizeObserver(k)),(n=(0,x.resolveElements)(e)).forEach(e=>{let i=b.get(e);i||(i=new Set,b.set(e,i)),i.add(r),t?.observe(e)}),()=>{n.forEach(e=>{let i=b.get(e);i?.delete(r),i?.size||t?.unobserve(e)})})}var A=e.i(80361);let M=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function E(e){return{point:{x:e.pageX,y:e.pageY}}}e.s(["isPrimaryPointer",()=>M],37931);let V=e=>t=>M(t)&&e(t,E(t));function D(e,t,i,r){return(0,m.addDomEvent)(e,t,V(i),r)}e.s(["addPointerInfo",()=>V,"extractEventInfo",()=>E],50507);let L=({current:e})=>e?e.ownerDocument.defaultView:null;var R=e.i(197),N=e.i(84780),B=e.i(43493);let I=(e,t)=>Math.abs(e-t),O=new Set(["auto","scroll"]);class F{constructor(e,t,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=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;let i=$(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(e=i.offset,t={x:0,y:0},Math.sqrt(I(e.x,t.x)**2+I(e.y,t.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:a}=o.frameData;this.history.push({...s,timestamp:a});let{onStart:l,onMove:u}=this.handlers;r||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=z(t,this.transformPagePoint),o.frame.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=$("pointercancel"===e.type?this.lastMoveEventInfo:z(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),r&&r(e,s)},!M(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const l=z(E(e),this.transformPagePoint),{point:u}=l,{timestamp:c}=o.frameData;this.history=[{...u,timestamp:c}];const{onSessionStart:d}=t;d&&d(e,$(l,this.history)),this.removeListeners=(0,N.pipe)(D(this.contextWindow,"pointermove",this.handlePointerMove),D(this.contextWindow,"pointerup",this.handlePointerUp),D(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(O.has(e.overflowX)||O.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,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),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),o.frame.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function z(e,t){return t?{point:t(e.point)}:e}function U(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $({point:e},t){return{point:e,delta:U(e,W(t)),offset:U(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,r=null,n=W(e);for(;i>=0&&(r=e[i],!(n.timestamp-r.timestamp>(0,B.secondsToMilliseconds)(.1)));)i--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>2*(0,B.secondsToMilliseconds)(.1)&&(r=e[1]);let s=(0,B.millisecondsToSeconds)(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,.1)}}function W(e){return e[e.length-1]}var H=e.i(17284),G=e.i(20458);function X(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 _(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min{t&&this.snapToCursor(E(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=(0,f.setDragLock)(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),(0,a.eachAxis)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(g.percent.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[e];r&&(t=(0,v.calcLength)(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&o.frame.update(()=>n(e,t),!1,!0),(0,c.addValueToWillChange)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},l=(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:a}=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}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&o.frame.update(()=>s(e,t),!1,!0)},u=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new F(e,{onSessionStart:n,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:L(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:a}=this.getProps();a&&o.frame.postRender(()=>a(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||!Q(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&&ei&&(e=r?(0,h.mixNumber)(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&&(0,R.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:r,right:n}){return{x:X(e.x,i,n),y:X(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:K(e,"left","right"),y:K(e,"top","bottom")}}(t),r!==this.constraints&&!(0,R.isRefObject)(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(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||!(0,R.isRefObject)(t))return!1;let r=t.current;(0,A.invariant)(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;let s=(0,l.measurePageBox)(r,n.root,this.visualElement.getTransformPagePoint()),o=(e=n.layout.layoutBox,{x:_(e.x,s.x),y:_(e.y,s.y)});if(i){let e=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!e,e&&(o=(0,u.convertBoundingBoxToBox)(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!Q(o,t,this.currentDirection))return;let a=l&&l[o]||{};s&&(a={min:0,max:0});let u={type:"inertia",velocity:i?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return(0,c.addValueToWillChange)(this.visualElement,e),i.start((0,d.animateMotionValue)(e,i,0,t,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){(0,a.eachAxis)(t=>{let{drag:i}=this.getProps();if(!Q(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]-(0,h.mixNumber)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!(0,R.isRefObject)(t)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};(0,a.eachAxis)(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=(0,v.calcLength)(i),(a=(0,v.calcLength)(n))>o?s=(0,H.progress)(n.min,n.max-o,i.min):o>a&&(s=(0,H.progress)(i.min,i.max-a,n.min)),(0,G.clamp)(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(),(0,a.eachAxis)(t=>{if(!Q(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set((0,h.mixNumber)(n,s,r[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;q.set(this.visualElement,this);let t=this.visualElement.current,i=D(t,"pointerdown",e=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=e.target,s=n!==t&&(0,p.isElementTextInput)(n);i&&r&&!s&&this.start(e)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();(0,R.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,r=a.current,s=C(i,J(n=()=>this.scalePositionWithinConstraints())),o=C(r,J(n)),e=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),o.frame.read(r);let l=(0,m.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,a.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),i(),s(),u&&u(),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 J(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Q(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class ee extends r.Feature{constructor(e){super(e),this.removeGroupControls=n.noop,this.removeListeners=n.noop,this.controls=new Z(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||n.noop}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()}}e.s(["DragGesture",()=>ee],55955);var et=r;let ei=e=>(t,i)=>{e&&o.frame.update(()=>e(t,i),!1,!0)};class er extends et.Feature{constructor(){super(...arguments),this.removePointerDownListener=n.noop}onPointerDown(e){this.session=new F(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:L(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:ei(e),onStart:ei(t),onMove:ei(i),onEnd:(e,t)=>{delete this.session,r&&o.frame.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=D(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}e.s(["PanGesture",()=>er],24808);let en={hasAnimatedSinceResize:!0,hasEverUpdated:!1};e.s(["globalProjectionState",()=>en],77308)},68323,96769,88869,20926,42769,53093,e=>{"use strict";var t=e.i(55955),i=e.i(24808),r=e.i(15497),n=e.i(77308),s=e.i(41578),o=e.i(50724),a=e.i(50394),l=e.i(71979),u=e.i(72863),c=e.i(41498);let d=!1;class h extends a.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=e;s&&(t.group&&t.group.add(s),i&&i.register&&r&&i.register(s),d&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),n.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:n}=this.props,{projection:o}=i;return o&&(o.isPresent=n,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),d=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==n?o.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?o.promote():o.relegate()||s.frame.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),o.microtask.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:r}=e;d=!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 p(e){let[t,i]=(0,l.usePresence)(),n=(0,a.useContext)(u.LayoutGroupContext);return(0,r.jsx)(h,{...e,layoutGroup:n,switchLayoutGroup:(0,a.useContext)(c.SwitchLayoutGroupContext),isPresent:t,safeToRemove:i})}e.s(["MeasureLayout",()=>p],96769);var m=e.i(26841),f=e.i(20458),g=e.i(8846),v=e.i(45167),y=e.i(58246),x=e.i(38169),b=e.i(17742),w=e.i(68890),S=e.i(1127),P=e.i(23084),T=e.i(21108),k=e.i(70590);e.i(43493);var j=e.i(31665),C=e.i(4080),A=e.i(25687),M=e.i(34007),E=e.i(17284),V=e.i(2136);let D=["TopLeft","TopRight","BottomLeft","BottomRight"],L=D.length,R=e=>"string"==typeof e?parseFloat(e):e,N=e=>"number"==typeof e||M.px.test(e);function B(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let I=F(0,.5,V.circOut),O=F(.5,.95,g.noop);function F(e,t,i){return r=>rt?1:i((0,E.progress)(e,t,r))}function z(e,t){e.min=t.min,e.max=t.max}function U(e,t){z(e.x,t.x),z(e.y,t.y)}function $(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var W=e.i(36429),H=e.i(63766);function G(e,t,i,r,n){return e-=t,e=(0,W.scalePoint)(e,1/i,r),void 0!==n&&(e=(0,W.scalePoint)(e,1/n,r)),e}function X(e,t,[i,r,n],s,o){!function(e,t=0,i=1,r=.5,n,s=e,o=e){if(M.percent.test(t)&&(t=parseFloat(t),t=(0,C.mixNumber)(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=(0,C.mixNumber)(s.min,s.max,r);e===s&&(a-=t),e.min=G(e.min,t,i,a,n),e.max=G(e.max,t,i,a,n)}(e,t[i],t[r],t[n],t.scale,s,o)}let _=["x","scaleX","originX"],K=["y","scaleY","originY"];function Y(e,t,i,r){X(e.x,t,_,i?i.x:void 0,r?r.x:void 0),X(e.y,t,K,i?i.y:void 0,r?r.y:void 0)}var q=e.i(5395);function Z(e){return 0===e.translate&&1===e.scale}function J(e){return Z(e.x)&&Z(e.y)}function Q(e,t){return e.min===t.min&&e.max===t.max}function ee(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function et(e,t){return ee(e.x,t.x)&&ee(e.y,t.y)}function ei(e){return(0,H.calcLength)(e.x)/(0,H.calcLength)(e.y)}function er(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var en=e.i(3799);class es{constructor(){this.members=[]}add(e){(0,en.addUniqueItem)(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&&!1!==i.isPresent&&!i.snapshot&&(0,en.removeItem)(this.members,i)}e.scheduleRender()}remove(e){if((0,en.removeItem)(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){let t,i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e],r=i.instance;if(!1!==i.isPresent&&(!r||!1!==r.isConnected)){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender();let r=i.options.layoutDependency,n=e.options.layoutDependency;if(void 0===r||void 0===n||r!==n){let r=i.instance;!(r&&!1===r.isConnected&&!i.snapshot)&&(e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0))}let{crossfade:s}=e.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var eo=e.i(35755);let ea=(e,t)=>e.depth-t.depth;class el{constructor(){this.children=[],this.isDirty=!1}add(e){(0,en.addUniqueItem)(this.children,e),this.isDirty=!0}remove(e){(0,en.removeItem)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ea),this.isDirty=!1,this.children.forEach(e)}}var eu=e.i(27107);let ec={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ed=["","X","Y","Z"],eh=0;function ep(e,t,i,r){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function em({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:a}){return class{constructor(e={},i=t?.()){this.id=eh++,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,k.statsBuffer.value&&(ec.nodes=ec.calculatedTargetDeltas=ec.calculatedProjections=0),this.nodes.forEach(ev),this.nodes.forEach(eT),this.nodes.forEach(ek),this.nodes.forEach(ey),k.statsBuffer.addProjectionMetrics&&k.statsBuffer.addProjectionMetrics(ec)},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;ethis.root.updateBlockedByResize=!1;s.frame.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==r){let t,a;r=e,this.root.updateBlockedByResize=!0,i&&i(),t=S.time.now(),a=({timestamp:e})=>{let i=e-t;i>=250&&((0,s.cancelFrame)(a),o(i-250))},s.frame.setup(a,!0),i=()=>(0,s.cancelFrame)(a),n.globalProjectionState.hasAnimatedSinceResize&&(n.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(eP))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(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 n=this.options.transition||o.getDefaultTransition()||eV,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!et(this.targetLayout,r),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,w.getValueTransition)(n,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||eP(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(),(0,s.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ej),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=(0,b.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",s.frame,!(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.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,H.calcLength)(this.snapshot.measuredBox.x)||(0,H.calcLength)(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{let r=t/1e3;if(eA(o.x,e.x,r),eA(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,m,f,g;(0,H.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,eM(p.x,m.x,f.x,g),eM(p.y,m.y,f.y,g),i&&(u=this.relativeTarget,h=i,Q(u.x,h.x)&&Q(u.y,h.y))&&(this.isProjectionDirty=!1),i||(i=(0,q.createBox)()),U(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,r,n,s){n?(e.opacity=(0,C.mixNumber)(0,i.opacity??1,I(r)),e.opacityExit=(0,C.mixNumber)(t.opacity??1,0,O(r))):s&&(e.opacity=(0,C.mixNumber)(t.opacity??1,i.opacity??1,r));for(let n=0;n{var t,i,r;let s;n.globalProjectionState.hasAnimatedSinceResize=!0,T.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,y.motionValue)(0)),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:()=>{T.activeAnimations.layout--},onComplete:()=>{T.activeAnimations.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(s=(0,x.isMotionValue)(t)?t:(0,y.motionValue)(t)).start((0,v.animateMotionValue)("",s,i,r)),s.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&&eN(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,q.createBox)();let t=(0,H.calcLength)(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let r=(0,H.calcLength)(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+r}U(t,i),(0,W.transformBox)(t,n),(0,H.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new es),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&&ep("z",e,r,this.animationValues);for(let t=0;te.currentAnimation?.stop()),this.root.nodes.forEach(eb),this.root.sharedNodes.clear()}}}function ef(e){e.updateLayout()}function eg(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;"size"===n?(0,eo.eachAxis)(e=>{let r=s?t.measuredBox[e]:t.layoutBox[e],n=(0,H.calcLength)(r);r.min=i[e].min,r.max=r.min+n}):eN(n,t.layoutBox,i)&&(0,eo.eachAxis)(r=>{let n=s?t.measuredBox[r]:t.layoutBox[r],o=(0,H.calcLength)(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=(0,q.createDelta)();(0,H.calcBoxDelta)(o,i,t.layoutBox);let a=(0,q.createDelta)();s?(0,H.calcBoxDelta)(a,e.applyTransform(r,!0),t.measuredBox):(0,H.calcBoxDelta)(a,i,t.layoutBox);let l=!J(o),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=(0,q.createBox)();(0,H.calcRelativePosition)(o,t.layoutBox,n.layoutBox);let a=(0,q.createBox)();(0,H.calcRelativePosition)(a,i,s.layoutBox),et(o,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ev(e){k.statsBuffer.value&&ec.nodes++,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 ey(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ex(e){e.clearSnapshot()}function eb(e){e.clearMeasurements()}function ew(e){e.isLayoutDirty=!1}function eS(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function eP(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eT(e){e.resolveTargetDelta()}function ek(e){e.calcProjection()}function ej(e){e.resetSkewAndRotation()}function eC(e){e.removeLeadSnapshot()}function eA(e,t,i){e.translate=(0,C.mixNumber)(t.translate,0,i),e.scale=(0,C.mixNumber)(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function eM(e,t,i,r){e.min=(0,C.mixNumber)(t.min,i.min,r),e.max=(0,C.mixNumber)(t.max,i.max,r)}function eE(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let eV={duration:.45,ease:[.4,0,.1,1]},eD=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eL=eD("applewebkit/")&&!eD("chrome/")?Math.round:g.noop;function eR(e){e.min=eL(e.min),e.max=eL(e.max)}function eN(e,t,i){return"position"===e||"preserve-aspect"===e&&!(0,H.isNear)(ei(t),ei(i),.2)}function eB(e){return e!==e.root&&e.scroll?.wasRoot}var eI=e.i(2503);let eO=em({attachResizeListener:(e,t)=>(0,eI.addDomEvent)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eF={current:void 0},ez=em({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eF.current){let e=new eO({});e.mount(window),e.setOptions({layoutScroll:!0}),eF.current=e}return eF.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});e.s(["HTMLProjectionNode",()=>ez],88869);let eU={pan:{Feature:i.PanGesture},drag:{Feature:t.DragGesture,ProjectionNode:ez,MeasureLayout:p}};e.s(["drag",()=>eU],68323);var e$=e.i(46891),eW=e.i(68309),eH=e.i(17216);function eG(e,t){let i=(0,eH.resolveElements)(e),r=new AbortController;return[i,{passive:!0,...t,signal:r.signal},()=>r.abort()]}e.s(["setupGesture",()=>eG],20926);var eX=e.i(50507);function e_(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&s.frame.postRender(()=>n(t,(0,eX.extractEventInfo)(t)))}class eK extends e$.Feature{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=eG(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||(0,eW.isDragActive)())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)=>(e_(this.node,t,"Start"),e=>e_(this.node,e,"End"))))}unmount(){}}e.s(["HoverGesture",()=>eK],42769);var eY=e$,eq=e.i(84780);class eZ extends eY.Feature{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=(0,eq.pipe)((0,eI.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,eI.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}e.s(["FocusGesture",()=>eZ],53093)},43394,e=>{"use strict";var t=e.i(12327),i=e.i(25288),r=e.i(67867),n=e.i(68323),s=e.i(42769),o=e.i(53093),a=e.i(46891),l=e.i(81379),u=e.i(68309);let c=(e,t)=>!!t&&(e===t||c(e,t.parentElement));var d=e.i(37931),h=e.i(20926),p=e.i(71781);let m=new WeakSet;function f(e){return t=>{"Enter"===t.key&&e(t)}}function g(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function v(e){return(0,d.isPrimaryPointer)(e)&&!(0,u.isDragActive)()}let y=new WeakSet;var x=e.i(41578),b=e.i(50507);function w(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&&x.frame.postRender(()=>n(t,(0,b.extractEventInfo)(t)))}class S extends a.Feature{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]=(0,h.setupGesture)(e,i),o=e=>{let r=e.currentTarget;if(!v(e)||y.has(e))return;m.add(r),i.stopPropagation&&y.add(e);let s=t(r,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),m.has(r)&&m.delete(r),v(e)&&"function"==typeof s&&s(e,{success:t})},a=e=>{o(e,r===window||r===document||i.useGlobalTarget||c(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),(0,l.isHTMLElement)(e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let r=f(()=>{if(m.has(i))return;g(i,"down");let e=f(()=>{g(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>g(i,"cancel"),t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)})(e,n)),(0,p.isElementKeyboardAccessible)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(w(this.node,t,"Start"),(e,{success:t})=>w(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}var P=a;let T=new WeakMap,k=new WeakMap,j=e=>{let t=T.get(e.target);t&&t(e)},C=e=>{e.forEach(j)},A={some:0,all:1};class M extends P.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();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:A[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)};return e=this.node.current,t=function({root:e,...t}){let i=e||document;k.has(i)||k.set(i,{});let r=k.get(i),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(C,{root:e,...t})),r[n]}(a),T.set(e,l),t.observe(e),()=>{T.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}let E={inView:{Feature:M},tap:{Feature:S},focus:{Feature:o.FocusGesture},hover:{Feature:s.HoverGesture}};var V=e.i(88869),D=e.i(96769);let L={layout:{ProjectionNode:V.HTMLProjectionNode,MeasureLayout:D.MeasureLayout}},R={...r.animations,...E,...n.drag,...L},N=(0,i.createMotionProxy)(R,t.createDomVisualElement);e.s(["motion",()=>N],43394)},99360,13924,e=>{"use strict";var t=e.i(47806);let i=(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",()=>i],99360);let r=(0,t.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["XIcon",()=>r],13924)},19655,16855,77784,e=>{"use strict";function t(e,i,{checkForDefaultPrevented:r=!0}={}){return function(t){if(e?.(t),!1===r||!t.defaultPrevented)return i?.(t)}}e.s(["composeEventHandlers",()=>t],19655);var i=e.i(50394),r=e.i(15497);function n(e,t){let n=i.createContext(t),s=e=>{let{children:t,...s}=e,o=i.useMemo(()=>s,Object.values(s));return(0,r.jsx)(n.Provider,{value:o,children:t})};return s.displayName=e+"Provider",[s,function(r){let s=i.useContext(n);if(s)return s;if(void 0!==t)return t;throw Error(`\`${r}\` must be used within \`${e}\``)}]}function s(e,t=[]){let n=[],o=()=>{let t=n.map(e=>i.createContext(e));return function(r){let n=r?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return o.scopeName=e,[function(t,s){let o=i.createContext(s),a=n.length;n=[...n,s];let l=t=>{let{scope:n,children:s,...l}=t,u=n?.[e]?.[a]||o,c=i.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:s})};return l.displayName=t+"Provider",[l,function(r,n){let l=n?.[e]?.[a]||o,u=i.useContext(l);if(u)return u;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:i,scopeName:r})=>{let n=i(e)[`__scope${r}`];return{...t,...n}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(o,...t)]}e.s(["createContext",()=>n,"createContextScope",()=>s],16855);var o=globalThis?.document?i.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>o],77784)},37231,e=>{"use strict";var t=e.i(50394),i=e.i(77784);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||i.useLayoutEffect;function n({prop:e,defaultProp:i,onChange:n=()=>{},caller:s}){let[o,a,l]=function({defaultProp:e,onChange:i}){let[n,s]=t.useState(e),o=t.useRef(n),a=t.useRef(i);return r(()=>{a.current=i},[i]),t.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,s,a]}({defaultProp:i,onChange:n}),u=void 0!==e,c=u?e:o;{let i=t.useRef(void 0!==e);t.useEffect(()=>{let e=i.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${s} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}i.current=u},[u,s])}return[c,t.useCallback(t=>{if(u){let i="function"==typeof t?t(e):t;i!==e&&l.current?.(i)}else a(t)},[u,e,a,l])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>n],37231)},74053,e=>{"use strict";var t=e.i(50394),i=e.i(8303),r=e.i(85037),n=e.i(15497),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{let s=(0,r.createSlot)(`Primitive.${i}`),o=t.forwardRef((e,t)=>{let{asChild:r,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(r?s:i,{...o,ref:t})});return o.displayName=`Primitive.${i}`,{...e,[i]:o}},{});function o(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>s,"dispatchDiscreteCustomEvent",()=>o])},43798,e=>{"use strict";var t=e.i(50394),i=e.i(33131),r=e.i(77784),n=e=>{var n;let o,a,{present:l,children:u}=e,c=function(e){var i,n;let[o,a]=t.useState(),l=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,h]=(i=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>n[e][t]??e,i));return t.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,r.useLayoutEffect)(()=>{let t=l.current,i=u.current;if(i!==e){let r=c.current,n=s(t);e?h("MOUNT"):"none"===n||t?.display==="none"?h("UNMOUNT"):i&&r!==n?h("ANIMATION_OUT"):h("UNMOUNT"),u.current=e}},[e,h]),(0,r.useLayoutEffect)(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,i=i=>{let r=s(l.current).includes(i.animationName);if(i.target===o&&r&&(h("ANIMATION_END"),!u.current)){let i=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=i)})}},r=e=>{e.target===o&&(c.current=s(l.current))};return o.addEventListener("animationstart",r),o.addEventListener("animationcancel",i),o.addEventListener("animationend",i),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",r),o.removeEventListener("animationcancel",i),o.removeEventListener("animationend",i)}}h("ANIMATION_END")},[o,h]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),h=(0,i.useComposedRefs)(c.ref,(n=d,(a=(o=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?n.ref:(a=(o=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?n.props.ref:n.props.ref||n.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:h}):null};function s(e){return e?.animationName||"none"}n.displayName="Presence",e.s(["Presence",()=>n])},32643,e=>{"use strict";var t=e.i(50394),i=e.i(77784),r=t[" useId ".trim().toString()]||(()=>void 0),n=0;function s(e){let[s,o]=t.useState(r());return(0,i.useLayoutEffect)(()=>{e||o(e=>e??String(n++))},[e]),e||(s?`radix-${s}`:"")}e.s(["useId",()=>s])},71072,58489,e=>{"use strict";var t=e.i(15497);e.i(51327);var i=e.i(37007),r=e.i(50394),n=e.i(19655),s=e.i(16855),o=e.i(37231),a=e.i(77784),l=e.i(33131),u=e.i(74053),c=e.i(43798),d=e.i(32643),h="Collapsible",[p,m]=(0,s.createContextScope)(h),[f,g]=p(h),v=r.forwardRef((e,i)=>{let{__scopeCollapsible:n,open:s,defaultOpen:a,disabled:l,onOpenChange:c,...p}=e,[m,g]=(0,o.useControllableState)({prop:s,defaultProp:a??!1,onChange:c,caller:h});return(0,t.jsx)(f,{scope:n,disabled:l,contentId:(0,d.useId)(),open:m,onOpenToggle:r.useCallback(()=>g(e=>!e),[g]),children:(0,t.jsx)(u.Primitive.div,{"data-state":P(m),"data-disabled":l?"":void 0,...p,ref:i})})});v.displayName=h;var y="CollapsibleTrigger",x=r.forwardRef((e,i)=>{let{__scopeCollapsible:r,...s}=e,o=g(y,r);return(0,t.jsx)(u.Primitive.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":P(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...s,ref:i,onClick:(0,n.composeEventHandlers)(e.onClick,o.onOpenToggle)})});x.displayName=y;var b="CollapsibleContent",w=r.forwardRef((e,i)=>{let{forceMount:r,...n}=e,s=g(b,e.__scopeCollapsible);return(0,t.jsx)(c.Presence,{present:r||s.open,children:({present:e})=>(0,t.jsx)(S,{...n,ref:i,present:e})})});w.displayName=b;var S=r.forwardRef((e,i)=>{let{__scopeCollapsible:n,present:s,children:o,...c}=e,d=g(b,n),[h,p]=r.useState(s),m=r.useRef(null),f=(0,l.useComposedRefs)(i,m),v=r.useRef(0),y=v.current,x=r.useRef(0),w=x.current,S=d.open||h,T=r.useRef(S),k=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>T.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,a.useLayoutEffect)(()=>{let e=m.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,x.current=t.width,T.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),p(s)}},[d.open,s]),(0,t.jsx)(u.Primitive.div,{"data-state":P(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!S,...c,ref:f,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:S&&o})});function P(e){return e?"open":"closed"}e.s(["Collapsible",()=>v,"CollapsibleContent",()=>w,"CollapsibleTrigger",()=>x],58489),e.s([],71072)},35997,6735,e=>{"use strict";var t=e.i(15497),i=e.i(50394);e.i(51327);var r=e.i(37007),n=e.i(74053),s="horizontal",o=["horizontal","vertical"],a=i.forwardRef((e,i)=>{var r;let{decorative:a,orientation:l=s,...u}=e,c=(r=l,o.includes(r))?l:s;return(0,t.jsx)(n.Primitive.div,{"data-orientation":c,...a?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:i})});a.displayName="Separator";let l=i.forwardRef(({className:e,orientation:i="horizontal",decorative:n=!0,...s},o)=>(0,t.jsx)(a,{ref:o,decorative:n,orientation:i,className:(0,r.ax)("shrink-0 bg-border","horizontal"===i?"h-[1px] w-full":"h-full w-[1px]",e),...s}));l.displayName=a.displayName,e.s(["Separator",()=>l],6735),e.s([],35997)},17595,e=>{"use strict";var t=e.i(15497),i=e.i(60395),r=e.i(50394),n=e.i(10757),s=e.i(49435),o=e.i(89949),a=e.i(57703),l=e.i(2346);e.i(16749);var u=e.i(62520),c=e.i(28585);e.i(87047);var d=e.i(36713),h=e.i(8958),p=e.i(43394),m=e.i(99360),f=e.i(13924);e.i(71072);var g=e.i(58489);e.i(35997);var v=e.i(6735);e.i(51327);var y=e.i(20830);function x({active:e,page:i}){let[n,s]=(0,r.useState)(!1),o=e=>{"Escape"===e.key&&s(!1)};return(0,r.useEffect)(()=>{let e="visible";return n?(window.addEventListener("keydown",o),e=document.body.style.overflow,document.body.style.overflow="hidden"):(window.removeEventListener("keydown",o),document.body.style.overflow=e),()=>{window.removeEventListener("keydown",o),document.body.style.overflow=e}},[n]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{onClick:()=>s(!1),className:(0,y.cn)("fixed inset-0 z-40 bg-primary-300/10 opacity-0 transition-opacity delay-75 duration-150 md:hidden",{"opacity-100":n,invisible:!n})}),(0,t.jsx)("div",{className:"fixed bottom-6 z-50 w-full px-6 md:hidden",children:(0,t.jsx)("div",{className:"shadow-nav rounded-xl border bg-background",children:(0,t.jsx)(w,{page:i,open:n,onOpenChange:s,active:e})})})]})}function b(){return(0,t.jsxs)(n.default,{href:"/",className:"flex h-16 items-center pl-4 pr-6",children:[(0,t.jsx)("div",{className:"flex size-10 items-center py-px",children:(0,t.jsx)(c.AXLogo,{className:"h-full text-black"})}),(0,t.jsx)("span",{className:"ml-2 whitespace-nowrap text-lg text-black",children:"Dedicated Software"})]})}function w({open:e,onOpenChange:i,page:s,active:a}){let[l,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{e&&!l&&c(!0)},[e]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(g.Collapsible,{open:e,onOpenChange:i,children:[(0,t.jsxs)(g.CollapsibleContent,{className:"site-nav-collapsible-content pb-12",children:[(0,t.jsx)(b,{}),(0,t.jsx)(v.Separator,{}),(0,t.jsx)(S,{href:"/solutions",active:"solutions"===a||"case-studies"===a,children:"Lösungen"}),(0,t.jsx)(v.Separator,{}),(0,t.jsx)(S,{href:"/suite",active:"suite"===a,children:"Produkt"}),(0,t.jsx)(v.Separator,{}),(0,t.jsx)(S,{href:"/journey",active:"journey"===a,children:"Entwicklung"}),(0,t.jsx)(v.Separator,{})]}),(0,t.jsx)("div",{className:"flex h-16 w-full items-center justify-between gap-2 px-4",children:(0,t.jsxs)(h.AnimatePresence,{mode:"popLayout",children:[!e&&(0,t.jsxs)(p.motion.div,{initial:{opacity:+!l},animate:{opacity:1},transition:{duration:.15},exit:{opacity:0},className:"flex grow items-center",children:[s?.back?(0,t.jsx)(n.default,{href:s?.back?.href,children:(0,t.jsx)(u.Button,{variant:"outline",className:"h-10 w-10 p-0",children:(0,t.jsx)(o.ArrowLeftIcon,{className:"size-4"})})}):(0,t.jsx)("div",{className:"w-10"}),(0,t.jsx)("span",{className:"mx-auto truncate px-2 text-[17px] leading-[130%] tracking-[0.2px] text-primary-600",children:s?.title||"Home"})]},"nav-closed"),e&&(0,t.jsxs)(p.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.15},exit:{opacity:0},className:"flex grow gap-2",children:[(0,t.jsx)(u.Button,{className:"h-10 grow",children:"Karriere"}),(0,t.jsx)(d.CtaButton,{className:"h-10 grow",children:"Triff uns"})]}),(0,t.jsx)(g.CollapsibleTrigger,{asChild:!0,className:"h-10 w-10 p-0",children:(0,t.jsx)(u.Button,{variant:"outline",children:e?(0,t.jsx)(f.XIcon,{className:"size-4"}):(0,t.jsx)(m.MenuIcon,{className:"size-4"})})})]})})]})})}function S({href:e,children:i,active:r}){return(0,t.jsx)(n.default,{href:e,className:(0,y.cn)("flex items-center px-6 py-2 pl-16 text-lg",{"text-muted-foreground":r}),children:i})}function P({children:e}){return(0,t.jsx)("nav",{"aria-label":"Hauptnavigation",dir:"ltr",className:(0,y.cn)("container hidden md:block"),children:(0,t.jsx)("div",{className:"container fixed left-1/2 top-4 z-20 h-16 -translate-x-1/2 px-4",children:(0,t.jsx)("div",{className:"shadow-nav flex h-full items-center rounded-xl bg-background px-4",children:e})})})}function T({children:e,className:i}){return(0,t.jsx)("ul",{"aria-label":"Site navigation",dir:"ltr",className:(0,y.cn)("flex items-center",i),children:e})}function k({children:e,href:i,active:r,className:s}){return(0,t.jsx)("li",{className:"flex h-10 items-center py-px",children:(0,t.jsx)(n.default,{href:i,className:(0,y.cn)("flex h-full items-center px-2 text-muted-foreground",{"text-purple-500":r},s),children:e})})}let j=({active:e,page:i})=>{let d=(0,r.useRef)(null),[h,p]=(0,r.useState)(!1),m=(0,s.useInView)(d,{amount:"some"});(0,r.useEffect)(()=>{d.current=document.querySelector(".hero-section-title")},[]),(0,r.useEffect)(()=>{p(!!i?.back&&!!d.current&&!m)},[m,d.current,i?.back]);let f=(0,t.jsxs)(n.default,{href:"/",className:(0,l.twMerge)("mr-3 flex h-10 items-center opacity-100 transition-all duration-500"),children:[(0,t.jsx)(c.AXLogo,{className:"h-full text-black"}),(0,t.jsx)("span",{className:"ml-1.5 text-base text-black",children:"Dedicated Software"})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P,{children:(0,t.jsxs)("ul",{className:"grid w-full grid-cols-3 items-center gap-4",children:[h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{children:(0,t.jsxs)(n.default,{href:i?.back?.href||"/",className:"group flex items-center gap-3",children:[(0,t.jsx)(u.Button,{variant:"outline",className:"h-10 w-10 p-0 group-hover:bg-muted",children:(0,t.jsx)(o.ArrowLeftIcon,{className:"size-4"})}),(0,t.jsx)("span",{className:"text-muted-foreground group-hover:text-foreground",children:i.back.text})]})},"back"),(0,t.jsx)("li",{className:"text-center text-primary hover:cursor-pointer",onClick:()=>window.scrollTo(0,0),children:i?.title})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("li",{initial:{opacity:+!!d.current},children:f},"logo"),(0,t.jsx)(C,{active:e})]}),(0,t.jsx)("li",{className:"justify-self-end",children:(0,t.jsxs)(T,{className:"gap-3",children:[!h&&(0,t.jsx)(k,{href:"/jobs",active:"jobs"===e,children:"Karriere"}),(0,t.jsxs)(k,{href:"/meet-us",className:"ax-cta-button-border-no-spin ax-cta-button flex h-10 items-center gap-2 rounded border-2 px-3 py-1 text-black",children:[(0,t.jsx)(a.CalendarIcon,{className:"size-4"}),"Triff uns"]})]})})]})}),(0,t.jsx)(x,{page:i,active:e})]})};function C({active:e}){return(0,t.jsx)("li",{className:"justify-self-center",children:(0,t.jsxs)(T,{children:[(0,t.jsx)(k,{href:"/solutions",active:"solutions"===e,children:"Lösungen"}),(0,t.jsx)(k,{href:"/suite",active:"suite"===e,children:"Produkt"}),(0,t.jsx)(k,{href:"/journey",active:"journey"===e,children:"Entwicklung"})]})})}let A=["","journey","suite","solutions","meet-us","jobs","case-studies"];e.s(["default",0,({page:e})=>{let{pathname:r}=(0,i.useRouter)(),n=r?.split("/"),s=n[1];s||(s=n[0]);let o=A.includes(s)?s:"company";return(0,t.jsx)(j,{page:e,active:o})}],17595)},54726,75386,e=>{"use strict";var t=e.i(15497),i=e.i(17595),r=e.i(98741),n=e.i(8622);e.i(16749);var s=e.i(62520),o=e.i(10757),a=e.i(50394);let l=()=>{let[e,i]=(0,a.useState)(!1);return e?null:(0,t.jsxs)("div",{className:"fixed bottom-0 z-20 flex w-full items-center bg-slate-200 p-4",children:[(0,t.jsx)("span",{className:"info flex-1 text-slate-700",children:"You're looking at a preview version."}),(0,t.jsx)(s.Button,{variant:"outline",onClick:()=>i(!0),className:"mr-4",children:"Hide this"}),(0,t.jsx)(o.default,{href:"/api/preview/exit",children:(0,t.jsx)(s.Button,{children:"Exit Preview Mode"})})]})};function u({children:e,preview:s,localization:o,header:a=!0,footer:u=!0,page:c,customFooter:d}){return(0,t.jsxs)(n.LanguageProvider,{localization:o,children:[!0===s&&(0,t.jsx)(l,{}),a&&(0,t.jsx)(i.default,{page:c}),e,u&&d?d:(0,t.jsx)(r.PageFooter,{})]})}e.s(["Page",()=>u],75386),e.s([],54726)}]);