1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,47163,7670,t=>{"use strict";function e(){for(var t,e,i=0,r="",s=arguments.length;i<s;i++)(t=arguments[i])&&(e=function t(e){var i,r,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(i=0;i<n;i++)e[i]&&(r=t(e[i]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}(t))&&(r&&(r+=" "),r+=e);return r}t.s(["clsx",()=>e],7670);let i=(t,e)=>{if(0===t.length)return e.classGroupId;let r=t[0],s=e.nextPart.get(r),n=s?i(t.slice(1),s):void 0;if(n)return n;if(0===e.validators.length)return;let o=t.join("-");return e.validators.find(({validator:t})=>t(o))?.classGroupId},r=/^\[(.+)\]$/,s=(t,e,i,r)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:n(e,t)).classGroupId=i;return}"function"==typeof t?o(t)?s(t(r),e,i,r):e.validators.push({validator:t,classGroupId:i}):Object.entries(t).forEach(([t,o])=>{s(o,n(e,t),i,r)})})},n=(t,e)=>{let i=t;return e.split("-").forEach(t=>{i.nextPart.has(t)||i.nextPart.set(t,{nextPart:new Map,validators:[]}),i=i.nextPart.get(t)}),i},o=t=>t.isThemeGetter,a=(t,e)=>e?t.map(([t,i])=>[t,i.map(t=>"string"==typeof t?e+t:"object"==typeof t?Object.fromEntries(Object.entries(t).map(([t,i])=>[e+t,i])):t)]):t,l=t=>{if(t.length<=1)return t;let e=[],i=[];return t.forEach(t=>{"["===t[0]?(e.push(...i.sort(),t),i=[]):i.push(t)}),e.push(...i.sort()),e},u=/\s+/;function h(){let t,e,i=0,r="";for(;i<arguments.length;)(t=arguments[i++])&&(e=c(t))&&(r&&(r+=" "),r+=e);return r}let c=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=c(t[r]))&&(i&&(i+=" "),i+=e);return i},d=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},p=/^\[(?:([a-z-]+):)?(.+)\]$/i,m=/^\d+\/\d+$/,f=new Set(["px","full","screen"]),g=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,v=/\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$/,y=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,x=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,w=t=>T(t)||f.has(t)||m.test(t),P=t=>F(t,"length",O),T=t=>!!t&&!Number.isNaN(Number(t)),S=t=>F(t,"number",T),A=t=>!!t&&Number.isInteger(Number(t)),V=t=>t.endsWith("%")&&T(t.slice(0,-1)),M=t=>p.test(t),C=t=>g.test(t),D=new Set(["length","size","percentage"]),E=t=>F(t,D,I),k=t=>F(t,"position",I),R=new Set(["image","url"]),B=t=>F(t,R,U),L=t=>F(t,"",N),j=()=>!0,F=(t,e,i)=>{let r=p.exec(t);return!!r&&(r[1]?"string"==typeof e?r[1]===e:e.has(r[1]):i(r[2]))},O=t=>v.test(t)&&!y.test(t),I=()=>!1,N=t=>x.test(t),U=t=>b.test(t),z=function(t,...e){let n,o,c,d=function(l){let u;return o=(n={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=new Map,r=new Map,s=(s,n)=>{i.set(s,n),++e>t&&(e=0,r=i,i=new Map)};return{get(t){let e=i.get(t);return void 0!==e?e:void 0!==(e=r.get(t))?(s(t,e),e):void 0},set(t,e){i.has(t)?i.set(t,e):s(t,e)}}})((u=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{separator:e,experimentalParseClassName:i}=t,r=1===e.length,s=e[0],n=e.length,o=t=>{let i,o=[],a=0,l=0;for(let u=0;u<t.length;u++){let h=t[u];if(0===a){if(h===s&&(r||t.slice(u,u+n)===e)){o.push(t.slice(l,u)),l=u+n;continue}if("/"===h){i=u;continue}}"["===h?a++:"]"===h&&a--}let u=0===o.length?t:t.substring(l),h=u.startsWith("!"),c=h?u.substring(1):u;return{modifiers:o,hasImportantModifier:h,baseClassName:c,maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return i?t=>i({className:t,parseClassName:o}):o})(u),...(t=>{let e=(t=>{let{theme:e,prefix:i}=t,r={nextPart:new Map,validators:[]};return a(Object.entries(t.classGroups),i).forEach(([t,i])=>{s(i,r,t,e)}),r})(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{let s=t.split("-");return""===s[0]&&1!==s.length&&s.shift(),i(s,e)||(t=>{if(r.test(t)){let e=r.exec(t)[1],i=e?.substring(0,e.indexOf(":"));if(i)return"arbitrary.."+i}})(t)},getConflictingClassGroupIds:(t,e)=>{let i=n[t]||[];return e&&o[t]?[...i,...o[t]]:i}}})(u)}).cache.get,c=n.cache.set,d=p,p(l)};function p(t){let e=o(t);if(e)return e;let i=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:s}=e,n=[],o=t.trim().split(u),a="";for(let t=o.length-1;t>=0;t-=1){let e=o[t],{modifiers:u,hasImportantModifier:h,baseClassName:c,maybePostfixModifierPosition:d}=i(e),p=!!d,m=r(p?c.substring(0,d):c);if(!m){if(!p||!(m=r(c))){a=e+(a.length>0?" "+a:a);continue}p=!1}let f=l(u).join(":"),g=h?f+"!":f,v=g+m;if(n.includes(v))continue;n.push(v);let y=s(m,p);for(let t=0;t<y.length;++t){let e=y[t];n.push(g+e)}
vendor: 12,774 bytes, line 1
1a=e+(a.length>0?" "+a:a)}return a})(t,n);return c(t,i),i}return function(){return d(h.apply(null,arguments))}}(()=>{let t=d("colors"),e=d("spacing"),i=d("blur"),r=d("brightness"),s=d("borderColor"),n=d("borderRadius"),o=d("borderSpacing"),a=d("borderWidth"),l=d("contrast"),u=d("grayscale"),h=d("hueRotate"),c=d("invert"),p=d("gap"),m=d("gradientColorStops"),f=d("gradientColorStopPositions"),g=d("inset"),v=d("margin"),y=d("opacity"),x=d("padding"),b=d("saturate"),D=d("scale"),R=d("sepia"),F=d("skew"),O=d("space"),I=d("translate"),N=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",M,e],$=()=>[M,e],W=()=>["",w,P],G=()=>["auto",T,M],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],K=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",M],_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[T,M];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[w,P],blur:["none","",C,M],brightness:Z(),borderColor:[t],borderRadius:["none","","full",C,M],borderSpacing:$(),borderWidth:W(),contrast:Z(),grayscale:q(),hueRotate:Z(),invert:q(),gap:$(),gradientColorStops:[t],gradientColorStopPositions:[V,P],inset:z(),margin:z(),opacity:Z(),padding:$(),saturate:Z(),scale:Z(),sepia:q(),skew:Z(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",M]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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:[...H(),M]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],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",A,M]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",M]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",A,M]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",A,M]},M]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[A,M]},M]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",M]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",M]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...X()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...X(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...X(),"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":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",M,e]}],"min-w":[{"min-w":[M,e,"min","max","fit"]}],"max-w":[{"max-w":[M,e,"none","full","min","max","fit","prose",{screen:[C]},C]}],h:[{h:[M,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[M,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[M,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[M,e,"auto","min","max","fit"]}],"font-size":[{text:["base",C,P]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",S]}],"font-family":[{font:[j]}],"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",M]}],"line-clamp":[{"line-clamp":["none",T,S]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",w,M]}],"list-image":[{"list-image":["none",M]}],"list-style-type":[{list:["none","disc","decimal",M]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...K(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",w,P]}],"underline-offset":[{"underline-offset":["auto",w,M]}],"text-decoration-color":[{decoration:[t]}],"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",M]}],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",M]}],"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:[...H(),k]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",E]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},B]}],"bg-color":[{bg:[t]}],"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:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"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:[...K(),"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:K()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...K()]}],"outline-offset":[{"outline-offset":[w,M]}],"outline-w":[{outline:[w,P]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[w,P]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",C,L]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...Y(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",C,M]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[c]}],saturate:[{saturate:[b]}],sepia:[{sepia:[R]}],"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":[h]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[R]}],"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",M]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",M]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",M]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[D]}],"scale-x":[{"scale-x":[D]}],"scale-y":[{"scale-y":[D]}],rotate:[{rotate:[A,M]}],"translate-x":[{"translate-x":[I]}],"translate-y":[{"translate-y":[I]}],"skew-x":[{"skew-x":[F]}],"skew-y":[{"skew-y":[F]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",M]}],accent:[{accent:["auto",t]}],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",M]}],"caret-color":[{caret:[t]}],"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"]}
1],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",M]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[w,P,S]}],stroke:[{stroke:[t,"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"]}}});function $(...t){return z(e(t))}t.s(["cn",()=>$],47163)},7051,44974,43190,60830,65566,83920,63074,5369,30551,87333,49652,8648,42269,61200,81384,87519,28119,4840,28327,67406,3668,74015,68935,71329,98549,61252,79386,67369,68638,69175,74780,42308,30801,2254,19548,26553,73464,48838,58213,70272,23016,70170,35902,95510,13959,459,25711,30040,93521,82363,42531,89607,11129,23070,26368,65536,61054,81699,76673,72696,89234,45504,25522,33986,85651,t=>{"use strict";let e,i;function r(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}function s(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function n(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function o(t,e,i,r){if("function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=n(r);e=e(void 0!==i?i:t.custom,s,o)}return e}function a(t,e,i){let r=t.getProps();return o(r,e,void 0!==i?i:r.custom,t)}t.i(47167),t.s(["createDOMMotionComponentProxy",()=>r],7051),t.s(["isAnimationControls",()=>s],44974),t.s(["resolveVariantFromProps",()=>o],43190);let l=t=>t;function u(t){let e;return()=>(void 0===e&&(e=t()),e)}t.s(["noop",()=>l],60830),t.s(["invariant",()=>l,"warning",()=>l],65566);let h=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};t.s(["progress",()=>h],83920);let c=t=>1e3*t,d=t=>t/1e3;t.s(["millisecondsToSeconds",()=>d,"secondsToMilliseconds",()=>c],63074),t.s([],5369);let p=u(()=>void 0!==window.ScrollTimeline);t.s(["supportsScrollTimeline",()=>p],30551);class m{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>p()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>
1{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class f extends m{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function g(t,e){return t?t[e]||t.default||t:void 0}function v(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function y(t){return"function"==typeof t}function x(t,e){t.timeline=e,t.onfinish=null}t.s(["getValueTransition",()=>g],87333);let b=t=>Array.isArray(t)&&"number"==typeof t[0],w,P=(i=u(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0}),()=>{var t;return null!=(t=w)?t:i()}),T=(t,e,i=10)=>{let r="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)r+=t(h(0,s-1,e))+", ";return`linear(${r.substring(0,r.length-2)})`},S=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,A={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:S([0,.65,.55,1]),circOut:S([.55,0,1,.45]),backIn:S([.31,.01,.66,-.59]),backOut:S([.33,1.53,.69,.99])},V={x:!1,y:!1};function M(t,e,i){var r;if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let n=null!=(r=null==i?void 0:i[t])?r:s.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}function C(t,e){let i=M(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function D(t){return!("touch"===t.pointerType||V.x||V.y)}function E(t,e,i={}){let[r,s,n]=C(t,i),o=t=>{if(!D(t))return;let{target:i}=t,r=e(i,t);if("function"!=typeof r||!i)return;let n=t=>{D(t)&&(r(t),i.removeEventListener("pointerleave",n))};i.addEventListener("pointerleave",n,s)};return r.forEach(t=>{t.addEventListener("pointerenter",o,s)}),n}function k(t,e){let i=`${e}PointerCapture`;if(t.target instanceof Element&&i in t.target&&void 0!==t.pointerId)try{t.target[i](t.pointerId)}catch(t){}}t.s(["resolveElements",()=>M],49652),t.s(["hover",()=>E],8648);let R=(t,e)=>!!e&&(t===e||R(t,e.parentElement)),B=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,L=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),j=new WeakSet;function F(t){return e=>{"Enter"===e.key&&t(e)}}function O(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function I(t){return B(t)&&!(V.x||V.y)}function N(t,e,i={}){let[r,s,n]=C(t,i),o=t=>{let i=t.currentTarget;if(!i||!I(t)||j.has(i))return;j.add(i),k(t,"set");let r=e(i,t),n=(t,e)=>{i.removeEventListener("pointerup",o),i.removeEventListener("pointercancel",a),k(t,"release"),I(t)&&j.has(i)&&(j.delete(i),"function"==typeof r&&r(t,{success:e}))},o=t=>{var e,r;t.isTrusted&&(e=t,r=i instanceof Element?i.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight},e.clientX<r.left||e.clientX>r.right||e.clientY<r.top||e.clientY>r.bottom)?n(t,!1):n(t,!(i instanceof Element)||R(i,t.target))},a=t=>{n(t,!1)};i.addEventListener("pointerup",o,s),i.addEventListener("pointercancel",a,s),i.addEventListener("lostpointercapture",a,s)};return r.forEach(t=>{t=i.useGlobalTarget?window:t;let e=!1;if(t instanceof HTMLElement){var r;e=!0,r=t,L.has(r.tagName)||-1!==r.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0)}t.addEventListener("pointerdown",o,s),e&&t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=F(()=>{if(j.has(i))return;O(i,"down");let t=F(()=>{O(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>O(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,s),s)}),n}t.s(["press",()=>N],42269),t.s([],61200);let U=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],z=new Set(U);t.s(["transformPropOrder",()=>U,"transformProps",()=>z],81384);let $=new Set(["width","height","top","left","right","bottom",...U]),W=t=>Array.isArray(t),G=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),H=t=>W(t)?t[t.length-1]||0:t;t.s(["isCustomValue",()=>G,"resolveFinalValueInKeyframes",()=>H],87519);let K=["read","resolveKeyframes","update","preRender","render","postRender"],Y={value:null,addProjectionMetrics:null};function X(t,e){let i=!1,r=!0,s={delta:0,timestamp:0,isProcessing:!1},n=()=>i=!0,o=K.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,s=!1,n=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,n=!1)=>{let a=n&&s?i:r;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,s){n=!0;return}
1s=!0,[i,r]=[r,i],i.forEach(u),e&&Y.value&&Y.value.frameloop[e].push(l),l=0,i.clear(),s=!1,n&&(n=!1,h.process(t))}};return h}(n,e?i:void 0),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:c,postRender:d}=o,p=()=>{let n=performance.now();i=!1,s.delta=r?1e3/60:Math.max(Math.min(n-s.timestamp,40),1),s.timestamp=n,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),s.isProcessing=!1,i&&e&&(r=!1,t(p))};return{schedule:K.reduce((e,n)=>{let a=o[n];return e[n]=(e,n=!1,o=!1)=>(!i&&(i=!0,r=!0,s.isProcessing||t(p)),a.schedule(e,n,o)),e},{}),cancel:t=>{for(let e=0;e<K.length;e++)o[K[e]].cancel(t)},state:s,steps:o}}t.s(["statsBuffer",()=>Y],28119),t.s(["createRenderBatcher",()=>X],4840);let{schedule:q,cancel:_,state:Z,steps:J}=X("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:l,!0);function Q(){e=void 0}t.s(["cancelFrame",()=>_,"frame",()=>q,"frameData",()=>Z,"frameSteps",()=>J],28327);let tt={now:()=>(void 0===e&&tt.set(Z.isProcessing?Z.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(Q)}};function te(t,e){-1===t.indexOf(e)&&t.push(e)}function ti(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["time",()=>tt],67406),t.s(["addUniqueItem",()=>te,"removeItem",()=>ti],3668);class tr{constructor(){this.subscriptions=[]}add(t){return te(this.subscriptions,t),()=>ti(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let s=0;s<r;s++){let r=this.subscriptions[s];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function ts(t,e){return e?1e3/e*t:0}t.s(["SubscriptionManager",()=>tr],74015),t.s(["velocityPerSecond",()=>ts],68935);let tn={current:void 0};class to{constructor(t,e={}){this.version="12.4.7",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=tt.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tt.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tr);let i=this.events[t].add(e);return"change"===t?()=>{i(),q.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return tn.current&&tn.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=tt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ts(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ta(t,e){return new to(t,e)}t.s(["collectMotionValues",()=>tn,"motionValue",()=>ta],71329);let tl=t=>!!(t&&t.getVelocity);function tu(t,e){let i=t.getValue("willChange");if(tl(i)&&i.add)return i.add(e)}t.s(["isMotionValue",()=>tl],98549);let th=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase();t.s(["camelToDash",()=>th],61252);let tc="data-"+th("framerAppearId");function td(t){return t.props[tc]}t.s(["optimizedAppearDataAttribute",()=>tc],79386),t.s(["getOptimisedAppearId",()=>td],67369);let tp=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tm(t,e,i,r){return t===e&&i===r?l:s=>
10===s||1===s?s:tp(function(t,e,i,r,s){let n,o,a=0;do(n=tp(o=e+(i-e)/2,r,s)-t)>0?i=o:e=o;while(Math.abs(n)>1e-7&&++a<12)return o}(s,0,1,t,i),e,r)}let tf=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,tg=t=>e=>1-t(1-e),tv=tm(.33,1.53,.69,.99),ty=tg(tv),tx=tf(ty),tb=t=>(t*=2)<1?.5*ty(t):.5*(2-Math.pow(2,-10*(t-1))),tw=t=>1-Math.sin(Math.acos(t)),tP=tg(tw),tT=tf(tw);t.s(["circIn",()=>tw,"circInOut",()=>tT,"circOut",()=>tP],68638);let tS=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",()=>tS],69175);let tA=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",()=>tA],74780);let tV={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tM={...tV,transform:t=>tA(0,1,t)},tC={...tV,default:1},tD=t=>Math.round(1e5*t)/1e5,tE=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tR=(t,e)=>i=>!!("string"==typeof i&&tk.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tB=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,n,o,a]=r.match(tE);return{[t]:parseFloat(s),[e]:parseFloat(n),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tL={...tV,transform:t=>Math.round(tA(0,255,t))},tj={test:tR("rgb","red"),parse:tB("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+tL.transform(t)+", "+tL.transform(e)+", "+tL.transform(i)+", "+tD(tM.transform(r))+")"},tF={test:tR("#"),parse:function(t){let e="",i="",r="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}},transform:tj.transform},tO=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tI=tO("deg"),tN=tO("%"),tU=tO("px"),tz=tO("vh"),t$=tO("vw"),tW={...tN,parse:t=>tN.parse(t)/100,transform:t=>tN.transform(100*t)};t.s(["degrees",()=>tI,"percent",()=>tN,"progressPercentage",()=>tW,"px",()=>tU,"vh",()=>tz,"vw",()=>t$],42308);let tG={test:tR("hsl","hue"),parse:tB("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+tN.transform(tD(e))+", "+tN.transform(tD(i))+", "+tD(tM.transform(r))+")"},tH={test:t=>tj.test(t)||tF.test(t)||tG.test(t),parse:t=>tj.test(t)?tj.parse(t):tG.test(t)?tG.parse(t):tF.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tj.transform(t):tG.transform(t)};t.s(["color",()=>tH],30801);let tK=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tY="number",tX="color",tq=/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 t_(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],n=0,o=e.replace(tq,t=>(tH.test(t)?(r.color.push(n),s.push(tX),i.push(tH.parse(t))):t.startsWith("var(")?(r.var.push(n),s.push("var"),i.push(t)):(r.number.push(n),s.push(tY),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:r,types:s}}function tZ(t){return t_(t).values}function tJ(t){let{split:e,types:i}=t_(t),r=e.length;return t=>{let s="";for(let n=0;n<r;n++)if(s+=e[n],void 0!==t[n]){let e=i[n];e===tY?s+=tD(t[n]):e===tX?s+=tH.transform(t[n]):s+=t[n]}return s}}let tQ=t=>"number"==typeof t?0:t,t0={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null==(e=t.match(tE))?void 0:e.length)||0)+((null==(i=t.match(tK))?void 0:i.length)||0)>0},parse:tZ,createTransformer:tJ,getAnimatableNone:function(t){let e=tZ(t);return tJ(t)(e.map(tQ))}};t.s(["analyseComplexValue",()=>t_,"complex",()=>t0],2254);let t1=new Set(["brightness","contrast","saturate","opacity"]);function t5(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(tE)||[];if(!r)return t;let s=i.replace(r,""),n=+!!t1.has(e);return r!==i&&(n*=100),e+"("+n+s+")"}let t2=/\b([a-z-]*)\(.*?\)/gu,t3={...t0,getAnimatableNone:t=>{let e=t.match(t2);return e?e.map(t5).join(" "):t}},t6={...tV,transform:Math.round},t9={borderWidth:tU,borderTopWidth:tU,borderRightWidth:tU,borderBottomWidth:tU,borderLeftWidth:tU,borderRadius:tU,radius:tU,borderTopLeftRadius:tU,borderTopRightRadius:tU,borderBottomRightRadius:tU,borderBottomLeftRadius:tU,width:tU,maxWidth:tU,height:tU,maxHeight:tU,top:tU,right:tU,bottom:tU,left:tU,padding:tU,paddingTop:tU,paddingRight:tU,paddingBottom:tU,paddingLeft:tU,margin:tU,marginTop:tU,marginRight:tU,marginBottom:tU,marginLeft:tU,backgroundPositionX:tU,backgroundPositionY:tU,rotate:tI,rotateX:tI,rotateY:tI,rotateZ:tI,scale:tC,scaleX:tC,scaleY:tC,scaleZ:tC,skew:tI,skewX:tI,skewY:tI,distance:tU,translateX:tU,translateY:tU,translateZ:tU,x:tU,y:tU,z:tU,perspective:tU,transformPerspective:tU,opacity:tM,originX:tW,originY:tW,originZ:tU,zIndex:t6,size:tU,fillOpacity:tM,strokeOpacity:tM,numOctaves:t6};t.s(["numberValueTypes",()=>t9],19548);let t8={...t9,color:tH,backgroundColor:tH,outlineColor:tH,fill:tH,stroke:tH,borderColor:tH,borderTopColor:tH,borderRightColor:tH,borderBottomColor:tH,borderLeftColor:tH,filter:t3,WebkitFilter:t3},t4=t=>t8[t];function t7(t,e){let i=t4(t);return i!==t3&&(i=t0),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getDefaultValueType",()=>t4],26553),t.s(["getAnimatableNone",()=>t7],73464);
1let et=new Set(["auto","none","0"]),ee=t=>t===tV||t===tU,ei=(t,e)=>parseFloat(t.split(", ")[e]),er=(t,e)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let s=r.match(/^matrix3d\((.+)\)$/u);if(s)return ei(s[1],e);{let e=r.match(/^matrix\((.+)\)$/u);return e?ei(e[1],t):0}},es=new Set(["x","y","z"]),en=U.filter(t=>!es.has(t)),eo={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:er(4,13),y:er(5,14)};eo.translateX=eo.x,eo.translateY=eo.y;let ea=new Set,el=!1,eu=!1;function eh(){if(eu){let t=Array.from(ea).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],en.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var r;null==(r=t.getValue(e))||r.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}eu=!1,el=!1,ea.forEach(t=>t.complete()),ea.clear()}function ec(){ea.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(eu=!0)})}function ed(){ec(),eh()}class ep{constructor(t,e,i,r,s,n=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ea.add(this),el||(el=!0,q.read(ec),q.resolveKeyframes(eh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;for(let s=0;s<t.length;s++)if(null===t[s])if(0===s){let s=null==r?void 0:r.get(),n=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let r=i.readValue(e,n);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=n),r&&void 0===s&&r.set(t[0])}else t[s]=t[s-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ea.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ea.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}t.s(["KeyframeResolver",()=>ep,"flushKeyframeResolvers",()=>ed],48838);let em=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);t.s(["isNumericalString",()=>em],58213);let ef=t=>e=>"string"==typeof e&&e.startsWith(t),eg=ef("--"),ev=ef("var(--"),ey=t=>!!ev(t)&&ex.test(t.split("/*")[0].trim()),ex=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["isCSSVariableName",()=>eg,"isCSSVariableToken",()=>ey],70272);let eb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ew=t=>e=>e.test(t);t.s(["testValueType",()=>ew],23016);let eP=[tV,tU,tN,tI,t$,tz,{test:t=>"auto"===t,parse:t=>t}],eT=t=>eP.find(ew(t));t.s(["dimensionValueTypes",()=>eP,"findDimensionValueType",()=>eT],70170);class eS extends ep{constructor(t,e,i,r,s){super(t,e,i,r,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&ey(r=r.trim())){let s=function t(e,i,r=1){l(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[s,n]=function(t){let e=eb.exec(t);if(!e)return[,];let[,i,r,s]=e;return[`--${null!=i?i:r}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return em(t)?parseFloat(t):t}return ey(n)?t(n,i,r+1):n}(r,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!$.has(i)||2!==t.length)return;let[r,s]=t,n=eT(r),o=eT(s);if(n!==o)if(ee(n)&&ee(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||tS(r))&&i.push(e)}
1i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!et.has(e)&&t_(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=t7(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eo[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let s=e.getValue(i);s&&s.jump(this.measuredOrigin,!1);let n=r.length-1,o=r[n];r[n]=eo[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null==(t=this.removedTransforms)?void 0:t.length)&&this.removedTransforms.forEach(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",()=>eS],35902);let eA=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(t0.test(t)||"0"===t)&&!t.startsWith("url(")),eV=t=>null!==t;function eM(t,{repeat:e,repeatType:i="loop"},r){let s=t.filter(eV),n=e&&"loop"!==i&&e%2==1?0:s.length-1;return n&&void 0!==r?r:s[n]}class eC{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:n="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=tt.now(),this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:n,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||ed(),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=tt.now(),this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:s,delay:n,onComplete:o,onUpdate:a,isGenerator:u}=this.options;if(!u&&!function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=eA(s,e),a=eA(n,e);return l(o===a,`You are trying to animate ${e} from "${s}" to "${n}". ${s} is not an animatable value - to enable this animation set ${s} to a value animatable to ${n} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||y(i))&&r)}(t,i,r,s))if(n)this.options.duration=0;else{a&&a(eM(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}let h=this.initPlayback(t,e);!1!==h&&(this._resolved={keyframes:t,finalKeyframe:e,...h},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}let eD={layout:0,mainThread:0,waapi:0};t.s(["activeAnimations",()=>eD],95510);let eE=(t,e,i)=>t+(e-t)*i;function ek(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function eR(t,e){return i=>i>0?e:t}t.s(["mixNumber",()=>eE],13959);let eB=(t,e,i)=>{let r=t*t,s=i*(e*e-r)+r;return s<0?0:Math.sqrt(s)},eL=[tF,tj,tG];function ej(t){let e=eL.find(e=>e.test(t));if(l(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===tG&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,n=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;s=ek(a,r,t+1/3),n=ek(a,r,t),o=ek(a,r,t-1/3)}else s=n=o=i;return{red:Math.round(255*s),green:Math.round(255*n),blue:Math.round(255*o),alpha:r}}(i)),i}let eF=(t,e)=>{let i=ej(t),r=ej(e);if(!i||!r)return eR(t,e);let s={...i};return t=>(s.red=eB(i.red,r.red,t),s.green=eB(i.green,r.green,t),s.blue=eB(i.blue,r.blue,t),s.alpha=eE(i.alpha,r.alpha,t),tj.transform(s))},eO=(t,e)=>i=>e(t(i)),eI=(...t)=>t.reduce(eO);t.s(["pipe",()=>eI],459);let eN=new Set(["none","hidden"]);function eU(t,e){return i=>eE(t,e,i)}function ez(t){return"number"==typeof t?eU:"string"==typeof t?ey(t)?eR:tH.test(t)?eF:eG:Array.isArray(t)?e$:"object"==typeof t?tH.test(t)?eF:eW:eR}function e$(t,e){let i=[...t],r=i.length,s=t.map((t,i)=>ez(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=s[e](t);return i}}function eW(t,e){let i={...t,...e},r={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(r[s]=ez(t[s])(t[s],e[s]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let eG=(t,e)=>{let i=t0.createTransformer(e),r=t_(t),s=t_(e);if(!(r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length))return l(!0,`Complex values '${t}' and '${e}
1' 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.`),eR(t,e);if(eN.has(t)&&!s.values.length||eN.has(e)&&!r.values.length)return eN.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return eI(e$(function(t,e){var i;let r=[],s={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let o=e.types[n],a=t.indexes[o][s[o]],l=null!=(i=t.values[a])?i:0;r[n]=l,s[o]++}return r}(r,s),s.values),i)};function eH(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eE(t,e,i):ez(t)(t,e)}function eK(t,e,i){let r=Math.max(e-5,0);return ts(i-t(r),e-r)}let eY=.01,eX=2,eq=.005,e_=.5;function eZ(t,e){return t*Math.sqrt(1-e*e)}let eJ=["duration","bounce"],eQ=["stiffness","damping","mass"];function e0(t,e){return e.some(e=>void 0!==t[e])}function e1(t=.3,e=.3){let i,r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:n}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],u={done:!1,value:o},{stiffness:h,damping:p,mass:m,duration:f,velocity:g,isResolvedFromDuration:y}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!e0(t,eQ)&&e0(t,eJ))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*tA(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let s,n;l(t<=c(10),"Spring duration must be 10 seconds or less");let o=1-e;o=tA(.05,1,o),t=tA(.01,10,d(t)),o<1?(s=e=>{let r=e*o,s=r*t;return .001-(r-i)/eZ(e,o)*Math.exp(-s)},n=e=>{let r=e*o*t,n=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=eZ(Math.pow(e,2),o);return(r*i+i-n)*a*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(s,n,5/t);if(t=c(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...r,velocity:-d(r.velocity||0)}),x=g||0,b=p/(2*Math.sqrt(h*m)),w=a-o,P=d(Math.sqrt(h/m)),S=5>Math.abs(w);if(s||(s=S?eY:eX),n||(n=S?eq:e_),b<1){let t=eZ(P,b);i=e=>a-Math.exp(-b*P*e)*((x+b*P*w)/t*Math.sin(t*e)+w*Math.cos(t*e))}else if(1===b)i=t=>a-Math.exp(-P*t)*(w+(x+P*w)*t);else{let t=P*Math.sqrt(b*b-1);i=e=>{let i=Math.exp(-b*P*e),r=Math.min(t*e,300);return a-i*((x+b*P*w)*Math.sinh(r)+t*w*Math.cosh(r))/t}}let A={calculatedDuration:y&&f||null,next:t=>{let e=i(t);if(y)u.done=t>=f;else{let r=0;b<1&&(r=0===t?c(x):eK(i,t,e));let o=Math.abs(a-e)<=n;u.done=Math.abs(r)<=s&&o}return u.value=u.done?a:e,u},toString:()=>{let t=Math.min(v(A),2e4),e=T(e=>A.next(t*e).value,t,30);return t+"ms "+e}};return A}function e5({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,v=void 0===o?g:o(g);v!==g&&(f=v-p);let y=t=>-f*Math.exp(-t/r),x=t=>v+y(t),b=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?v:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=e1({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:eK(x,t,m.value),damping:s,stiffness:n,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,b(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||b(t),m)}}}let e2=tm(.42,0,1,1),e3=tm(0,0,.58,1),e6=tm(.42,0,.58,1),e9={linear:l,easeIn:e2,easeInOut:e6,easeOut:e3,circIn:tw,circInOut:tT,circOut:tP,backIn:ty,backInOut:tx,backOut:tv,anticipate:tb},e8=t=>{if(b(t)){l(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,s]=t;return tm(e,i,r,s)}return"string"==typeof t?(l(void 0!==e9[t],`Invalid easing type '${t}'`),e9[t]):t};function e4(t,e,{clamp:i=!0,ease:r,mixer:s}={}){let n=t.length;if(l(n===e.length,"Both input and output ranges must be the same length"),1===n)return()=>e[0];if(2===n&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());
1let a=function(t,e,i){let r=[],s=i||eH,n=t.length-1;for(let i=0;i<n;i++){let n=s(t[i],t[i+1]);e&&(n=eI(Array.isArray(e)?e[i]||l:e,n)),r.push(n)}return r}(e,r,s),u=a.length,c=i=>{if(o&&i<t[0])return e[0];let r=0;if(u>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let s=h(t[r],t[r+1],i);return a[r](s)};return i?e=>c(tA(t[0],t[n-1],e)):c}function e7(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let s=h(0,e,r);t.push(eE(i,1,s))}}(e,t.length-1),e}function it({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var s;let n=Array.isArray(r)&&"number"!=typeof r[0]?r.map(e8):e8(r),o={done:!1,value:e[0]},a=e4((s=i&&i.length===e.length?i:e7(e),s.map(e=>e*t)),e,{ease:Array.isArray(n)?n:e.map(()=>n||e6).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["interpolate",()=>e4],25711),t.s(["defaultOffset",()=>e7],30040);let ie=t=>{let e=({timestamp:e})=>t(e);return{start:()=>q.update(e,!0),stop:()=>_(e),now:()=>Z.isProcessing?Z.timestamp:tt.now()}},ii={decay:e5,inertia:e5,tween:it,keyframes:it,spring:e1},ir=t=>t/100;class is extends eC{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};const{name:e,motionValue:i,element:r,keyframes:s}=this.options,n=(null==r?void 0:r.KeyframeResolver)||ep,o=(t,e)=>this.onKeyframesResolved(t,e);this.resolver=new n(s,o,e,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i,{type:r="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:o,velocity:a=0}=this.options,l=y(r)?r:ii[r]||it;l!==it&&"number"!=typeof t[0]&&(e=eI(ir,eH(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=v(u));let{calculatedDuration:h}=u,c=h+n;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(s+1)-n}}onPostResolved(){let{autoplay:t=!0}=this.options;eD.mainThread++,this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:r,generator:s,mirroredGenerator:n,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return s.next(0);let{delay:c,repeat:d,repeatType:p,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,x=s;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/h)):"mirror"===p&&(x=n)),y=tA(0,1,i)*h}let b=v?{done:!1,value:a[0]}:x.next(y);o&&(b.value=o(b.value));let{done:w}=b;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&void 0!==r&&(b.value=eM(a,this.options,r)),f&&f(b.value),P&&this.finish(),b}get duration(){let{resolved:t}=this;return t?d(t.calculatedDuration):0}get time(){return d(this.currentTime)}set time(t){t=c(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=d(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=ie,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedProm
1ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(t=this.currentTime)?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel(),eD.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}function io(t){return new is(t)}t.s(["MainThreadAnimation",()=>is,"animateValue",()=>io],93521);let ia=new Set(["opacity","clipPath","filter","transform"]),il=u(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),iu={anticipate:tb,backInOut:tx,circInOut:tT};class ih extends eC{constructor(t){super(t);const{name:e,motionValue:i,element:r,keyframes:s}=this.options;this.resolver=new eS(s,(t,e)=>this.onKeyframesResolved(t,e),e,i,r),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:r=300,times:s,ease:n,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof n&&P()&&n in iu&&(n=iu[n]),y((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&P()||!e||"string"==typeof e&&(e in A||P())||b(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new is({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:t[0]},s=[],n=0;for(;!r.done&&n<2e4;)s.push((r=i.sample(n)).value),n+=10;return{times:void 0,keyframes:s,duration:n-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),r=h.duration,s=h.times,n=h.ease,o="keyframes"}let h=function(t,e,i,{delay:r=0,duration:s=300,repeat:n=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&&P()?T(e,i):b(e)?S(e):Array.isArray(e)?e.map(e=>t(e,i)||A.easeOut):A[e]}(a,s);Array.isArray(h)&&(u.easing=h),Y.value&&eD.waapi++;let c=t.animate(u,{delay:r,duration:s,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"});return Y.value&&c.finished.finally(()=>{eD.waapi--}),c}(a.owner.current,l,t,{...this.options,duration:r,times:s,ease:n});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(x(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set(eM(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:r,times:s,type:o,ease:n,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return d(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return d(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=c(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return l;let{animation:i}=e;x(i,t)}else this.pendingTimeline=t;return l}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:r,type:s,ease:n,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new is({...u,keyframes:i,duration:r,type:s,ease:n,times:o,isGenerator:!0}),d=c(this.time);t.setWithVelocity(h.sample(d-10).value,h.sample(d).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}
1static supports(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return il()&&i&&ia.has(i)&&!a&&!l&&!r&&"mirror"!==s&&0!==n&&"inertia"!==o}}let ic={type:"spring",stiffness:500,damping:25,restSpeed:10},id={type:"keyframes",duration:.8},ip={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},im=(t,e,i,r={},s,n)=>o=>{let a=g(r,t)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=c(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:n?void 0:s};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:s,repeat:n,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...((t,{keyframes:e})=>e.length>2?id:z.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:ic:ip)(t,h)}),h.duration&&(h.duration=c(h.duration)),h.repeatDelay&&(h.repeatDelay=c(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0===h.delay&&(d=!0)),d&&!n&&void 0!==e.get()){let t=eM(h.keyframes,a);if(void 0!==t)return q.update(()=>{h.onUpdate(t),h.onComplete()}),new f([])}return!n&&ih.supports(h)?new ih(h):new is(h)};function ig(t,e,{delay:i=0,transitionOverride:r,type:s}={}){var n;let{transition:o=t.getDefaultTransition(),transitionEnd:l,...u}=e;r&&(o=r);let h=[],c=s&&t.animationState&&t.animationState.getState()[s];for(let e in u){let r=t.getValue(e,null!=(n=t.latestValues[e])?n:null),s=u[e];if(void 0===s||c&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(c,e))continue;let a={delay:i,...g(o||{},e)},l=!1;if(window.MotionHandoffAnimation){let i=td(t);if(i){let t=window.MotionHandoffAnimation(i,e,q);null!==t&&(a.startTime=t,l=!0)}}tu(t,e),r.start(im(e,r,s,t.shouldReduceMotion&&$.has(e)?{type:!1}:a,t,l));let d=r.animation;d&&h.push(d)}return l&&Promise.all(h).then(()=>{q.update(()=>{l&&function(t,e){let{transitionEnd:i={},transition:r={},...s}=a(t,e)||{};for(let e in s={...s,...i}){let i=H(s[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ta(i))}}(t,l)})}),h}function iv(t,e,i={}){var r;let s=a(t,e,"exit"===i.type?null==(r=t.presenceContext)?void 0:r.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(n=i.transitionOverride);let o=s?()=>Promise.all(ig(t,s,i)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,s=1,n){let o=[],a=(t.variantChildren.size-1)*r,l=1===s?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(iy).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(iv(t,e,{...n,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,s+r,o,a,i)}:()=>Promise.resolve(),{when:u}=n;if(!u)return Promise.all([o(),l(i.delay)]);{let[t,e]="beforeChildren"===u?[o,l]:[l,o];return t().then(()=>e())}}function iy(t,e){return t.sortNodePosition(e)}function ix(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function ib(t){return"string"==typeof t||Array.isArray(t)}t.s(["animateMotionValue",()=>im],82363),t.s(["isVariantLabel",()=>ib],42531);let iw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],iP=["initial",...iw];t.s(["variantPriorityOrder",()=>iw,"variantProps",()=>iP],89607);let iT=iP.length,iS=[...iw].reverse(),iA=iw.length;function iV(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function iM(){return{animate:iV(!0),whileInView:iV(),whileHover:iV(),whileTap:iV(),whileDrag:iV(),whileFocus:iV(),exit:iV()}}class iC{constructor(t){this.isMounted=!1,this.node=t}update(){}}t.s(["Feature",()=>iC],11129);let iD=0,iE={animation:{Feature:class extends iC{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>
1(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>iv(t,e,i)));else if("string"==typeof e)r=iv(t,e,i);else{let s="function"==typeof e?a(t,e,i.custom):e;r=Promise.all(ig(t,s,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=iM(),r=!0,n=e=>(i,r)=>{var s;let n=a(t,r,"exit"===e?null==(s=t.presenceContext)?void 0:s.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function o(o){let{props:l}=t,u=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<iT;t++){let r=iP[t],s=e.props[r];(ib(s)||!1===s)&&(i[r]=s)}return i}(t.parent)||{},h=[],c=new Set,d={},p=1/0;for(let e=0;e<iA;e++){var m,f;let a=iS[e],g=i[a],v=void 0!==l[a]?l[a]:u[a],y=ib(v),x=a===o?g.isActive:null;!1===x&&(p=e);let b=v===u[a]&&v!==l[a]&&y;if(b&&r&&t.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...d},!g.isActive&&null===x||!v&&!g.prevProp||s(v)||"boolean"==typeof v)continue;let w=(m=g.prevProp,"string"==typeof(f=v)?f!==m:!!Array.isArray(f)&&!ix(f,m)),P=w||a===o&&g.isActive&&!b&&y||e>p&&y,T=!1,S=Array.isArray(v)?v:[v],A=S.reduce(n(a),{});!1===x&&(A={});let{prevResolvedValues:V={}}=g,M={...V,...A},C=e=>{P=!0,c.has(e)&&(T=!0,c.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in M){let e=A[t],i=V[t];if(!d.hasOwnProperty(t))(W(e)&&W(i)?ix(e,i):e===i)?void 0!==e&&c.has(t)?C(t):g.protectedKeys[t]=!0:null!=e?C(t):c.add(t)}g.prevProp=v,g.prevResolvedValues=A,g.isActive&&(d={...d,...A}),r&&t.blockInitialAnimation&&(P=!1);let D=!(b&&w)||T;P&&D&&h.push(...S.map(t=>({animation:t,options:{type:a}})))}if(c.size){let e={};if("boolean"!=typeof l.initial){let i=a(t,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(e.transition=i.transition)}c.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=null!=r?r:null}),h.push({animation:e})}let g=!!h.length;return r&&(!1===l.initial||l.initial===l.animate)&&!t.manuallyAnimateOnMount&&(g=!1),r=!1,g?e(h):Promise.resolve()}return{animateChanges:o,setActive:function(e,r){var s;if(i[e].isActive===r)return Promise.resolve();null==(s=t.variantChildren)||s.forEach(t=>{var i;return null==(i=t.animationState)?void 0:i.setActive(e,r)}),i[e].isActive=r;let n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=iM(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();s(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null==(t=this.unmountControls)||t.call(this)}}},exit:{Feature:class extends iC{constructor(){super(...arguments),this.id=iD++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}};function ik(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}function iR(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["animations",()=>iE],23070),t.s(["addDomEvent",()=>ik],26368);let iB=t=>e=>B(e)&&t(e,iR(e));function iL(t,e,i,r){return ik(t,e,iB(i),r)}function ij({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}t.s(["addPointerInfo",()=>iB,"extractEventInfo",()=>iR],65536);function iF(t){return t.max-t.min}function iO(t,e,i){return Math.abs(t-e)<=i}function iI(t,e,i,r=.5){t.origin=r,t.originPoint=eE(e.min,e.max,t.origin),t.scale=iF(i)/iF(e),t.translate=eE(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function iN(t,e,i,r){iI(t.x,e.x,i.x,r?r.originX:void 0),iI(t.y,e.y,i.y,r?r.originY:void 0)}function iU(t,e,i){t.min=i.min+e.min,t.max=t.min+iF(e)}function iz(t,e,i){iU(t.x,e.x,i.x),iU(t.y,e.y,i.y)}function i$(t,e,i){t.min=e.min-i.min,t.max=t.min+iF(e)}function iW(t,e,i){i$(t.x,e.x,i.x),i$(t.y,e.y,i.y)}t.s(["calcBoxDelta",()=>iN,"calcLength",()=>iF,"calcRelativeBox",()=>iz,"calcRelativePosition",()=>iW,"isNear",()=>iO],61054);let iG=()=>({translate:0,scale:1,origin:0,originPoint:0}),iH=()=>({x:iG(),y:iG()}),iK=()=>({min:0,max:0}),iY=()=>({x:iK(),y:iK()});function iX(t){return[t("x"),t("y")]}function iq(t){return void 0===t||1===t}function i_({scale:t,scaleX:e,scaleY:i}){return!iq(t)||!iq(e)||!iq(i)}function iZ(t){return i_(t)||iJ(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function iJ(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function iQ(t,e,i){return i+e*(t-i)}function i0(t,e,i,r,s){return void 0!==s&&(t=r+s*(t-r)),r+i*(t-r)+e}function i1(t,e=0,i=1,r,s){t.min=i0(t.min,e,i,r,s),t.max=i0(t.max,e,i,r,s)}function i5(t,{x:e,y:i}){i1(t.x,e.translate,e.scale,e.originPoint),i1(t.y,i.translate,i.scale,i.originPoint)}function i2(t,e,i,r=!1){let s,n,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){n=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&i9(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),n&&(e.x*=n.x.scale,e.y*=n.y.scale,i5(t,n)),r&&iZ(s.latestValues)&&i9(t,s.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}function i3(t,e){t.min=t.min+e,t.max=t.max+e}function i6(t,e,i,r,s=.5){let n=eE(t.min,t.max,s);i1(t,e,i,n,r)}function i9(t,e){i6(t.x,e.x,e.scaleX,e.scale,e.originX),i6(t.y,e.y,e.scaleY,e.scale,e.originY)}function i8(t,e){return ij(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}function i4(t,e,i){let r=i8(t,i),{scroll:s}=e;return s&&(i3(r.x,s.offset.x),i3(r.y,s.offset.y)),r}function i7(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}t.s(["createBox",()=>iY,"createDelta",()=>iH],81699),t.s(["eachAxis",()=>iX],76673),t.s(["has2DTranslate",()=>iJ,"hasScale",()=>i_,"hasTransform",()=>iZ],72696),t.s(["applyBoxDelta",()=>i5,"applyTreeDeltas",()=>i2,"scalePoint",()=>iQ,"transformBox",()=>i9,"translateAxis",()=>i3],89234),t.s(["measurePageBox",()=>i4,"measureViewportBox",()=>i8],45504),t.s(["isRefObject",()=>i7],25522);let rt=(t,e)=>Math.abs(t-e);class re{constructor(t,e,{transformPagePoint:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=rs(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(rt(t.x,e.x)**2+rt(t.y,e.y)**2)>=3);if(!r&&!s)return;let{point:n}=i,{timestamp:o}=Z;this.history.push({...n,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{if(t.target instanceof Element&&t.target.hasPointerCapture&&void 0!==t.pointerId)try{if
1(!t.target.hasPointerCapture(t.pointerId))return}catch(t){}this.lastMoveEvent=t,this.lastMoveEventInfo=ri(e,this.transformPagePoint),q.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{k(t,"release"),this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if(this.dragSnapToOrigin&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=rs("pointercancel"===t.type||"lostpointercapture"===t.type?this.lastMoveEventInfo:ri(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!B(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i;const s=ri(iR(t),this.transformPagePoint),{point:n}=s,{timestamp:o}=Z;this.history=[{...n,timestamp:o}];const{onSessionStart:a}=e;a&&a(t,rs(s,this.history)),k(t,"set"),this.removeListeners=eI(iL(t.currentTarget,"pointermove",this.handlePointerMove),iL(t.currentTarget,"pointerup",this.handlePointerUp),iL(t.currentTarget,"pointercancel",this.handlePointerUp),iL(t.currentTarget,"lostpointercapture",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),_(this.updatePoint)}}function ri(t,e){return e?{point:e(t.point)}:t}function rr(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rs({point:t},e){return{point:t,delta:rr(t,rn(e)),offset:rr(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,s=rn(t);for(;i>=0&&(r=t[i],!(s.timestamp-r.timestamp>c(.1)));)i--;if(!r)return{x:0,y:0};let n=d(s.timestamp-r.timestamp);if(0===n)return{x:0,y:0};let o={x:(s.x-r.x)/n,y:(s.y-r.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function rn(t){return t[t.length-1]}function ro(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function ra(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function rl(t,e,i){return{min:ru(t,e),max:ru(t,i)}}function ru(t,e){return"number"==typeof t?t:t[e]||0}let rh=new WeakMap;class rc{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iY(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(iR(t).point)},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:s}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(V[t])return null;else return V[t]=!0,()=>{V[t]=!1};return V.x||V.y?null:(V.x=V.y=!0,()=>{V.x=V.y=!1})}(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iX(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=iF(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&q.postRender(()=>s(t,e)),tu(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},n=(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:s,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),n&&n(t,e)},o=(t,e)=>this.stop(t,e),a=()=>iX(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new re(t,{onSessionStart:r,onStart:s,onMove:n,onSessionEnd:o,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:s}=this.getProps();s&&q.postRender(()=>s(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!rd(t,r,this.currentDirection))return;let s=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?eE(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?eE(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(t=this.visualElement.projection)?void 0:t.layout,s=this.constraints;e&&i7(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:ro(t.x,i,s),y:ro(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rl(t,"left","right"),y:rl(t,"top","bottom")}}(i),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&iX(t=>{var e,i;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=r.layoutBox[t],i=this.constraints[t],s={},void 0!==i.min&&(s.min=i.min-e.min),void 0!==i.max&&(s.max=i.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!i7(e))return!1;let r=e.current;l(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;let n=i4(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:ra(t.x,n.x),y:ra(t.y,n.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=ij(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iX(o=>
1{if(!rd(o,e,this.currentDirection))return;let l=a&&a[o]||{};n&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return tu(this.visualElement,t),i.start(im(t,i,0,e,this.visualElement,!1))}stopAnimation(){iX(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iX(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){iX(e=>{let{drag:i}=this.getProps();if(!rd(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:n}=r.layout.layoutBox[e];s.set(t[e]-eE(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!i7(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};iX(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,o,a,l=e.get();r[t]=(i={min:l,max:l},s=this.constraints[t],n=.5,o=iF(i),(a=iF(s))>o?n=h(s.min,s.max-o,i.min):o>a&&(n=h(i.min,i.max-a,s.min)),tA(0,1,n))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iX(e=>{if(!rd(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set(eE(s,n,r[e]))})}addListeners(){if(!this.visualElement.current)return;rh.set(this.visualElement,this);let t=iL(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();i7(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),q.read(e);let s=ik(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iX(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{s(),t(),r(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:n,dragMomentum:o}}}function rd(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class rp extends iC{constructor(t){super(t),this.removeGroupControls=l,this.removeListeners=l,this.controls=new rc(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||l}unmount(){this.removeGroupControls(),this.removeListeners()}}t.s(["DragGesture",()=>rp],33986);let rm=t=>(e,i)=>{t&&q.postRender(()=>t(e,i))};class rf extends iC{constructor(){super(...arguments),this.removePointerDownListener=l}onPointerDown(t){this.session=new re(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:rm(t),onStart:rm(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&q.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=iL(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",()=>rf],85651)},21476,t=>{"use strict";let e=(0,t.i(71645).createContext)(null);t.s(["PresenceContext",()=>e])},64978,t=>{"use strict";var e=t.i(71645),i=t.i(21476);function r(t=!0){let s=(0,e.useContext)(i.PresenceContext);if(null===s)return[!0,null];let{isPresent:n,onExitComplete:o,register:a}=s,l=(0,e.useId)();(0,e.useEffect)(()=>
1{if(t)return a(l)},[t]);let u=(0,e.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!n&&o?[!1,u]:[!0]}t.s(["usePresence",()=>r])},31178,t=>{"use strict";let e=(0,t.i(71645).createContext)({});t.s(["LayoutGroupContext",()=>e])},46816,4035,52383,30662,28987,8149,54292,48070,t=>{"use strict";var e=t.i(33986),i=t.i(85651),r=t.i(18050),s=t.i(71645),n=t.i(64978),o=t.i(31178);let a=(0,s.createContext)({});t.s(["SwitchLayoutGroupContext",()=>a],4035);let l={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var u=t.i(42308);function h(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let c={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!u.px.test(t))return t;else t=parseFloat(t);let i=h(t,e.target.x),r=h(t,e.target.y);return`${i}% ${r}%`}};var d=t.i(13959),p=t.i(2254),m=t.i(70272);let f={};function g(t){for(let e in t)f[e]=t[e],(0,m.isCSSVariableName)(e)&&(f[e].isCSSVariable=!0)}t.s(["addScaleCorrector",()=>g,"scaleCorrectors",()=>f],52383);let{schedule:v,cancel:y}=(0,t.i(4840).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",()=>v],30662);var x=t.i(28327);class b extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;g(P),s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),l.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:s}=this.props,n=i.projection;return n&&(n.isPresent=s,r||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?n.promote():n.relegate()||x.frame.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),v.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function w(t){let[e,i]=(0,n.usePresence)(),l=(0,s.useContext)(o.LayoutGroupContext);return(0,r.jsx)(b,{...t,layoutGroup:l,switchLayoutGroup:(0,s.useContext)(a),isPresent:e,safeToRemove:i})}let P={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=p.complex.parse(t);if(r.length>5)return t;let s=p.complex.createTransformer(t),n=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+n]/=o,r[1+n]/=a;let l=(0,d.mixNumber)(o,a,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}};t.i(61200);var T=t.i(87333);t.i(5369);var S=t.i(60830),A=t.i(71329),V=t.i(98549),M=t.i(82363),C=t.i(67369),D=t.i(67406),E=t.i(3668);let k=(t,e)=>t.depth-e.depth;class R{constructor(){this.children=[],this.isDirty=!1}add(t){(0,E.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,E.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(k),this.isDirty=!1,this.children.forEach(t)}}var B=t.i(95510),L=t.i(28119),j=t.i(74780);t.i(63074);var F=t.i(74015),O=t.i(87519);function I(t){let e=(0,V.isMotionValue)(t)?t.get():t;return(0,O.isCustomValue)(e)?e.toValue():e}t.s(["resolveMotionValue",()=>I],28987);var N=t.i(83920),U=t.i(68638);let z=["TopLeft","TopRight","BottomLeft","BottomRight"],$=z.length,W=t=>"string"==typeof t?parseFloat(t):t,G=t=>"number"==typeof t||u.px.test(t);function H(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let K=X(0,.5,U.circOut),Y=X(.5,.95,S.noop);function X(t,e,i){return r=>r<t?0:r>e?1:i((0,N.progress)(t,e,r))}function q(t,e){t.min=e.min,t.max=e.max}function _(t,e){q(t.x,e.x),q(t.y,e.y)}function Z(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var J=t.i(89234),Q=t.i(61054);function tt(t,e,i,r,s){return t-=e,t=(0,J.scalePoint)(t,1/i,r),void 0!==s&&(t=(0,J.scalePoint)(t,1/s,r)),t}function te(t,e,[i,r,s],n,o){!function(t,e=0,i=1,r=.5,s,n=t,o=t){if(u.percent.test(e)&&(e=parseFloat(e),e=(0,d.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,d.mixNumber)(n.min,n.max,r);t===n&&(a-=e),t.min=tt(t.min,e,i,a,s),t.max=tt(t.max,e,i,a,s)}(t,e[i],e[r],e[s],e.scale,n,o)}let ti=["x","scaleX","originX"],tr=["y","scaleY","originY"];function ts(t,e,i,r){te(t.x,e,ti,i?i.x:void 0,r?r.x:void 0),te(t.y,e,tr,i?i.y:void 0,r?r.y:void 0)}var tn=t.i(81699);function to(t){return 0===t.translate&&1===t.scale}function ta(t){return to(t.x)&&to(t.y)}function tl(t,e){return t.min===e.min&&t.max===e.max}function tu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function th(t,e){return tu(t.x,e.x)&&tu(t.y,e.y)}function tc(t){return(0,Q.calcLength)(t.x)/(0,Q.calcLength)(t.y)}function td(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class tp{constructor(){this.members=[]}add(t){(0,E.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,E.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var tm=t.i(76673),tf=t.i(72696);let tg={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tv=["","X","Y","Z"],ty={visibility:"hidden"},tx=0;function tb(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function tw({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(t={},i=null==e?void 0:e()){this.id=tx++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,L.statsBuffer.value&&(tg.nodes=tg.calculatedTargetDeltas=tg.calculatedProjections=0),this.nodes.forEach(tS),this.nodes.forEach(tk),this.nodes.forEach(tR),this.nodes.forEach(tA),L.statsBuffer.addProjectionMetrics&&L.statsBuffer.addProjectionMetrics(tg)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,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 t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new R)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new F.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(s||r)&&(this.isLayoutDirty=!0),t){let i,r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{let t,e;this.root.updateBlockedByResize=!0,i&&i(),t=D.time.now(),e=({timestamp:i})=>{let s=i-t;s>=250&&((0,x.cancelFrame)(e),r(s-250))},x.frame.read(e,!0),i=()=>(0,x.cancelFrame)(e),l.hasAnimatedSinceResize&&(l.hasAnimatedSinceResize=!1,this.nodes.forEach(tE))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&n&&(r||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||tI,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!th(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,T.getValueTransition)(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||tE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,x.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.forEac
1h(tB),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=(0,C.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",x.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tM);return}this.isUpdating||this.nodes.forEach(tC),this.isUpdating=!1,this.nodes.forEach(tD),this.nodes.forEach(tP),this.nodes.forEach(tT),this.clearAllSnapshots();let t=D.time.now();x.frameData.delta=(0,j.clamp)(0,1e3/60,t-x.frameData.timestamp),x.frameData.timestamp=t,x.frameData.isProcessing=!0,x.frameSteps.update.process(x.frameData),x.frameSteps.preRender.process(x.frameData),x.frameSteps.render.process(x.frameData),x.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,v.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tV),this.sharedNodes.forEach(tL)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,x.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){x.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,Q.calcLength)(this.snapshot.measuredBox.x)||(0,Q.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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,tn.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ta(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;t&&(e||(0,tf.hasTransform)(this.latestValues)||n)&&(s(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),tz((e=r).x),tz(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,tn.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tW))){let{scroll:t}=this.root;t&&((0,J.translateAxis)(i.x,t.offset.x),(0,J.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,tn.createBox)();if(_(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let r=this.path[e],{scroll:s,options:n}=r;r!==this.root&&s&&n.layoutScroll&&(s.wasRoot&&_(i,t),(0,J.translateAxis)(i.x,s.offset.x),(0,J.translateAxis)(i.y,s.offset.y))}return i}applyTransform(t,e=!1){let i=(0,tn.createBox)();_(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,J.transformBox)(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,tf.hasTransform)(r.latestValues)&&(0,J.transformBox)(i,r.latestValues)}return(0,tf.hasTransform)(this.latestValues)&&(0,J.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,tn.createBox)();_(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,tf.hasTransform)(i.latestValues))continue;(0,tf.hasScale)(i.latestValues)&&i.updateSnapshot();let r=(0,tn.createBox)();_(r,i.measurePageBox()),ts(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return(0,tf.hasTransform)(this.latestValues)&&ts(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==x.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==i;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:n}=this.options;if(this.layout&&(s||n)){if(this.resolvedRelativeTargetAt=x.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tn.createBox)(),this.relativeTargetOrigin=(0,tn.createBox)(),(0,Q.calcRelativePosition)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),_(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,tn.createBox)(),this.targetWithTransforms=(0,tn.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,Q.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):_(this.target,this.layout.layoutBox),(0,J.applyBoxDelta)(this.target,this.targetDelta)):_(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,tn.createBox)(),this.relativeTargetOrigin=(0,tn.createBox)(),(0,Q.calcRelativePosition)(this.relativeTargetOrigin,this.target,t.target),_(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}L.statsBuffer.value&&tg.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,tf.hasScale)(this.parent.latestValues)||(0,tf.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===x.frameData.timestamp&&(r=!1),r)return;let{layout:s,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||n))return;_(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;(0,J.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,tn.createBox)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(Z(this.prevProjectionDelta.x,this.projectionDelta.x),Z(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,Q.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&td(this.projectionDelta.x,this.prevProjectionDelta.x)&&td(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),L.statsBuffer.value&&tg.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,tn.createDelta)(),this.projectionDelta=(0,tn.createDelta)(),this.projectionDeltaWithTransform=(0,tn.createDelta)()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,s=r?r.latestValues:{},n={...this.latestValues},o=(0,tn.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,tn.createBox)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,p=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(tO));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(tj(o.x,t.x,r),tj(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,g,v,y;(0,Q.calcRelativePosition)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,g=this.relativeTargetOrigin,v=a,y=r,tF(f.x,g.x,v.x,y),tF(f.y,g.y,v.y,y),i&&(h=this.relativeTarget,m=i,tl(h.x,m.x)&&tl(h.y,m.y))&&(this.isProjectionDirty=!1),i||(i=(0,tn.createBox)()),_(i,this.relativeTarget)}
1l&&(this.animationValues=n,function(t,e,i,r,s,n){s?(t.opacity=(0,d.mixNumber)(0,void 0!==i.opacity?i.opacity:1,K(r)),t.opacityExit=(0,d.mixNumber)(void 0!==e.opacity?e.opacity:1,0,Y(r))):n&&(t.opacity=(0,d.mixNumber)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let s=0;s<$;s++){let n=`border${z[s]}Radius`,o=H(e,n),a=H(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||G(o)===G(a)?(t[n]=Math.max((0,d.mixNumber)(W(o),W(a),r),0),(u.percent.test(a)||u.percent.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,d.mixNumber)(e.rotate||0,i.rotate||0,r))}(n,s,this.latestValues,r,p,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,x.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=x.frame.update(()=>{var e;let i;l.hasAnimatedSinceResize=!0,B.activeAnimations.layout++,this.currentAnimation=(e={...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{B.activeAnimations.layout--},onComplete:()=>{B.activeAnimations.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(i=(0,V.isMotionValue)(0)?0:(0,A.motionValue)(0)).start((0,M.animateMotionValue)("",i,1e3,e)),i.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 t=this.getStack();t&&t.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 t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:s}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&t$(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,tn.createBox)();let e=(0,Q.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=(0,Q.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}_(e,i),(0,J.transformBox)(e,s),(0,Q.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tp),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null==(t=this.getStack())?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&tb("z",t,r,this.animationValues);for(let e=0;e<tv.length;e++)tb(`rotate${tv[e]}`,t,r,this.animationValues),tb(`skew${tv[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ty;let r={visibility:""},s=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=I(null==t?void 0:t.pointerEvents)||"",r.transform=s?s(this.latestValues,""):"none",r;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=I(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,tf.hasTransform)(this.latestValues)&&(e.transform=s?s({},""):"none",this.hasProjected=!1),e}let o=n.animationValues||n.latestValues;
1this.applyTransformsToTarget(),r.transform=function(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((s||n||o)&&(r=`translate3d(${s}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:s,rotateY:n,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),s&&(r+=`rotateX(${s}deg) `),n&&(r+=`rotateY(${n}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),s&&(r.transform=s(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?r.opacity=n===this?null!=(i=null!=(e=o.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=n===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,f){if(void 0===o[t])continue;let{correct:e,applyTo:i,isCSSVariable:s}=f[t],a="none"===r.transform?o[t]:e(o[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=a}else s?this.options.visualElement.renderState.vars[t]=a:r[t]=a}return this.options.layoutId&&(r.pointerEvents=n===this?I(null==t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(tM),this.root.sharedNodes.clear()}}}function tP(t){t.updateLayout()}function tT(t){var e;let i=(null==(e=t.resumeFrom)?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:s}=t.options,n=i.source!==t.layout.source;"size"===s?(0,tm.eachAxis)(t=>{let r=n?i.measuredBox[t]:i.layoutBox[t],s=(0,Q.calcLength)(r);r.min=e[t].min,r.max=r.min+s}):t$(s,i.layoutBox,e)&&(0,tm.eachAxis)(r=>{let s=n?i.measuredBox[r]:i.layoutBox[r],o=(0,Q.calcLength)(e[r]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=(0,tn.createDelta)();(0,Q.calcBoxDelta)(o,e,i.layoutBox);let a=(0,tn.createDelta)();n?(0,Q.calcBoxDelta)(a,t.applyTransform(r,!0),i.measuredBox):(0,Q.calcBoxDelta)(a,e,i.layoutBox);let l=!ta(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let o=(0,tn.createBox)();(0,Q.calcRelativePosition)(o,i.layoutBox,s.layoutBox);let a=(0,tn.createBox)();(0,Q.calcRelativePosition)(a,e,n.layoutBox),th(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tS(t){L.statsBuffer.value&&tg.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tA(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tV(t){t.clearSnapshot()}function tM(t){t.clearMeasurements()}function tC(t){t.isLayoutDirty=!1}function tD(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tE(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tk(t){t.resolveTargetDelta()}function tR(t){t.calcProjection()}function tB(t){t.resetSkewAndRotation()}function tL(t){t.removeLeadSnapshot()}function tj(t,e,i){t.translate=(0,d.mixNumber)(e.translate,0,i),t.scale=(0,d.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tF(t,e,i,r){t.min=(0,d.mixNumber)(e.min,i.min,r),t.max=(0,d.mixNumber)(e.max,i.max,r)}function tO(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tI={duration:.45,ease:[.4,0,.1,1]},tN=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tU=tN("applewebkit/")&&!tN("chrome/")?Math.round:S.noop;function tz(t){t.min=tU(t.min),t.max=tU(t.max)}function t$(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,Q.isNear)(tc(e),tc(i),.2)}function tW(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tG=t.i(26368);let tH=tw({attachResizeListener:(t,e)=>(0,tG.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tK={current:void 0},tY=tw({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tK.current){let t=new tH({});t.mount(window),t.setOptions({layoutScroll:!0}),tK.current=t}return tK.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position}),tX={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tY,MeasureLayout:w}};t.s(["drag",()=>tX],46816);var tq=t.i(8648),t_=t.i(65536),tZ=t.i(11129);function tJ(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&x.frame.postRender(()=>s(e,(0,t_.extractEventInfo)(e)))}class tQ extends tZ.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=(0,tq.hover)(t,(t,e)=>(tJ(this.node,e,"Start"),t=>tJ(this.node,t,"End"))))}unmount(){}}var t0=tZ,t1=t.i(459);class t5 extends t0.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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,t1.pipe)((0,tG.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tG.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var t2=t.i(42269),t3=tZ;function t6(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&x.frame.postRender(()=>s(e,(0,t_.extractEventInfo)(e)))}class t9 extends t3.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=(0,t2.press)(t,(t,e)=>(t6(this.node,e,"Start"),(t,{success:e})=>t6(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}var t8=tZ;let t4=new WeakMap,t7=new WeakMap,et=t=>{let e=t4.get(t.target);e&&e(t)}
1,ee=t=>{t.forEach(et)},ei={some:0,all:1};class er extends t8.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:r,margin:s,amount:n="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:s,threshold:"number"==typeof n?n:ei[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;t7.has(i)||t7.set(i,{});let r=t7.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(ee,{root:t,...e})),r[s]}(a),t4.set(t,l),e.observe(t),()=>{t4.delete(t),e.unobserve(t)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let es={inView:{Feature:er},tap:{Feature:t9},focus:{Feature:t5},hover:{Feature:tQ}};t.s(["gestureAnimations",()=>es],8149);let en={layout:{ProjectionNode:tY,MeasureLayout:w}};t.s(["layout",()=>en],54292);let eo=(0,s.createContext)({strict:!1});t.s(["LazyContext",()=>eo],48070)},37806,t=>{"use strict";let e=(0,t.i(71645).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>e])},88291,98922,82474,t=>{"use strict";var e=t.i(71645);let i=(0,e.createContext)({});t.s(["MotionContext",()=>i],88291);var r=t.i(44974),s=t.i(42531),n=t.i(89607);function o(t){return(0,r.isAnimationControls)(t.animate)||n.variantProps.some(e=>(0,s.isVariantLabel)(t[e]))}function a(t){return!!(o(t)||t.variants)}function l(t){let{initial:r,animate:n}=function(t,e){if(o(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,s.isVariantLabel)(e)?e:void 0,animate:(0,s.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e.useContext)(i));return(0,e.useMemo)(()=>({initial:r,animate:n}),[u(r),u(n)])}function u(t){return Array.isArray(t)?t.join(" "):t}t.s(["isControllingVariants",()=>o,"isVariantNode",()=>a],98922),t.s(["useCreateMotionContext",()=>l],82474)},92936,t=>{"use strict";let e="undefined"!=typeof window;t.s(["isBrowser",()=>e])},76948,13565,21967,77188,t=>{"use strict";let e={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"]},i={};for(let t in e)i[t]={isEnabled:i=>e[t].some(t=>!!i[t])};function r(t){for(let e in t)i[e]={...i[e],...t[e]}}t.s(["featureDefinitions",()=>i],76948),t.s(["loadFeatures",()=>r],13565);let s=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",()=>s],21967);var n=t.i(71645),o=t.i(25522);function a(t,e,i){return(0,n.useCallback)(r=>{r&&t.onMount&&t.onMount(r),e&&(r?e.mount(r):e.unmount()),i&&("function"==typeof i?i(r):(0,o.isRefObject)(i)&&(i.current=r))},[e])}t.s(["useMotionRef",()=>a],77188)},74008,t=>{"use strict";var e=t.i(71645);let i=t.i(92936).isBrowser?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",()=>i])},36091,19026,58768,86549,29098,33203,11587,50514,8576,t=>{"use strict";t.i(47167);var e,i=t.i(18050);t.i(5369);var r=t.i(71645),s=t.i(31178),n=t.i(48070),o=t.i(37806),a=t.i(88291),l=t.i(82474),u=t.i(92936),h=t.i(76948),c=t.i(13565),d=t.i(21967),p=t.i(77188),m=t.i(21476),f=t.i(74008),g=t.i(79386),v=t.i(30662),y=t.i(25522),x=t.i(4035);function b({preloadedFeatures:t,createVisualElement:e,useRender:b,useVisualState:w,Component:P}){var T,S;function A(t,c){let d,T={...(0,r.useContext)(o.MotionConfigContext),...t,layoutId:function({layoutId:t}){let e=(0,r.useContext)(s.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:S}=T,A=(0,l.useCreateMotionContext)(t),V=w(t,S);if(!S&&u.isBrowser){(0,r.useContext)(n.LazyContext).strict;let t=function(t){let{drag:e,layout:i}=h.featureDefinitions;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(T);d=t.MeasureLayout,A.visualElement=function(t,e,i,s,l){var u,h;let{visualElement:c}=(0,r.useContext)(a.MotionContext),d=(0,r.useContext)(n.LazyContext),p=(0,r.useContext)(m.PresenceContext),b=(0,r.useContext)(o.MotionConfigContext).reducedMotion,w=(0,r.useRef)(null);s=s||d.renderer,!w.current&&s&&(w.current=s(t,{visualState:e,parent:c,props:i,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:b}));let P=w.current,T=(0,r.useContext)(x.SwitchLayoutGroupContext);P&&!P.projection&&l&&("html"===P.type||"svg"===P.type)&&function(t,e,i,r){let{layoutId:s,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:n,alwaysMeasureLayout:!!o||a&&(0,y.isRefObject)(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(w.current,i,l,T);let S=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{P&&S.current&&P.update(i,p)});let A=i[g.optimizedAppearDataAttribute],V=(0,r.useRef)(!!A&&!(null==(u=window.MotionHandoffIsComplete)?void 0:u.call(window,A))&&(null==(h=window.MotionHasOptimisedAnimation)?void 0:h.call(window,A)));return(0,f.useIsomorphicLayoutEffect)(()=>{P&&(S.current=!0,window.MotionIsMounted=!0,P.updateFeatures(),v.microtask.render(P.render),V.current&&P.animationState&&P.animationState.animateChanges())}),(0,r.useEffect)(()=>{P&&(!V.current&&P.animationState&&P.animationState.animateChanges(),V.current&&(queueMicrotask(()=>{var t;null==(t=window.MotionHandoffMarkAsComplete)||t.call(window,A)}),V.current=!1))}),P}(P,V,T,e,t.ProjectionNode)}return(0,i.jsxs)(a.MotionContext.Provider,{value:A,children:[d&&A.visualElement?(0,i.jsx)(d,{visualElement:A.visualElement,...T}):null,b(P,t,(0,p.useMotionRef)(V,A.visualElement,c),V,S,A.visualElement)]})}t&&(0,c.loadFeatures)(t),A.displayName=`motion.${"string"==typeof P?P:`create(${null!=(S=null!=(T=P.displayName)?T:P.name)?S:""})`}`;let V=(0,r.forwardRef)(A);return V[d.motionComponentSymbol]=P,V}t.s(["createRendererMotionComponent",()=>b],36091);var w=t.i(52383),P=t.i(81384);function T(t,{layout:e,layoutId:i}){return P.transformProps.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!w.scaleCorrectors[t]||"opacity"===t)}t.s(["isForcedMotionValue",()=>T],19026);var S=t.i(98549),A=t.i(70272);let V=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var M=t.i(19548);let C={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},D=P.transformPropOrder.length;function E(t,e,i){let{style:r,vars:s,transformOrigin:n}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(P.transformProps.has(t)){o=!0;continue}if((0,A.isCSSVariableName)(t)){s[t]=i;continue}{let e=V(i,M.numberValueTypes[t]);t.startsWith("origin")?(a=!0,n[t]=e):r[t]=e}}if(!e.transform&&(o||i?r.transform=function(t,e,i){let r="",s=!0;for(let n=0;n<D;n++){let o=P.transformPropOrder[n],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===+!!o.startsWith("scale"):0===parseFloat(a))||i){let t=V(a,M.numberValueTypes[o]);if(!l){s=!1;let e=C[o]||o;r+=`${e}(${t}) `}i&&(e[o]=t)}}return r=r.trim(),i?r=i(e,s?"":r):s&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=n;r.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",()=>E],58768);let k=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function R(t,e,i){for(let r in e)(0,S.isMotionValue)(e[r])||T(r,i)||(t[r]=e[r])}t.s(["createHtmlRenderState",()=>k],86549);let B=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function L(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||B.has(t)}let j=t=>!L(t);try{(e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default)&&(j=t=>t.startsWith("on")?!L(t):e(t))}catch(t){}let F=["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 O(t){if("string"!=typeof t||t.includes("-"));else if(F.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",()=>O],29098);var I=t.i(42308);let N={offset:"stroke-dashoffset",array:"stroke-dasharray"},U={offset:"strokeDashoffset",array:"strokeDasharray"};function z(t,e,i){return"string"==typeof t?t:I.px.transform(e+i*t)}function $(t,{attrX:e,attrY:i,attrScale:r,originX:s,originY:n,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},h,c){let d,p;
1if(E(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:m,style:f,dimensions:g}=t;m.transform&&(g&&(f.transform=m.transform),delete m.transform),g&&(void 0!==s||void 0!==n||f.transform)&&(d=z(void 0!==s?s:.5,g.x,g.width),p=z(void 0!==n?n:.5,g.y,g.height),f.transformOrigin=`${d} ${p}`),void 0!==e&&(m.x=e),void 0!==i&&(m.y=i),void 0!==r&&(m.scale=r),void 0!==o&&function(t,e,i=1,r=0,s=!0){t.pathLength=1;let n=s?N:U;t[n.offset]=I.px.transform(-r);let o=I.px.transform(e),a=I.px.transform(i);t[n.array]=`${o} ${a}`}(m,o,a,l,!1)}t.s(["buildSVGAttrs",()=>$],33203);let W=()=>({...k(),attrs:{}});t.s(["createSvgRenderState",()=>W],11587);let G=t=>"string"==typeof t&&"svg"===t.toLowerCase();function H(t=!1){return(e,i,s,{latestValues:n},o)=>{let a=(O(e)?function(t,e,i,s){let n=(0,r.useMemo)(()=>{let i=W();return $(i,e,G(s),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};R(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,s,n={},o=(i=t.style||{},R(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,r.useMemo)(()=>{let i=k();return E(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=o,n})(i,n,o,e),l=function(t,e,i){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&(j(s)||!0===i&&L(s)||!e&&!L(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(i,"string"==typeof e,t),u=e!==r.Fragment?{...l,...a,ref:s}:{},{children:h}=i,c=(0,r.useMemo)(()=>(0,S.isMotionValue)(h)?h.get():h,[h]);return(0,r.createElement)(e,{...u,children:c})}}t.s(["isSVGTag",()=>G],50514),t.s(["createUseRender",()=>H],8576)},47414,t=>{"use strict";var e=t.i(71645);function i(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}t.s(["useConstant",()=>i])},46932,t=>{"use strict";var e,i,r=t.i(7051),s=t.i(23070),n=t.i(46816),o=t.i(8149),a=t.i(54292),l=t.i(36091),u=t.i(8576),h=t.i(29098),c=t.i(71645),d=t.i(44974),p=t.i(88291),m=t.i(21476),f=t.i(98922),g=t.i(43190),v=t.i(47414),y=t.i(28987);let x=t=>(e,i)=>{let r=(0,c.useContext)(p.MotionContext),s=(0,c.useContext)(m.PresenceContext),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},r,s,n){let o={latestValues:function(t,e,i,r){let s={},n=r(t,{});for(let t in n)s[t]=(0,y.resolveMotionValue)(n[t]);let{initial:o,animate:a}=t,l=(0,f.isControllingVariants)(t),u=(0,f.isVariantNode)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!(0,d.isAnimationControls)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let r=(0,g.resolveVariantFromProps)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(r,s,n,t),renderState:e()};return i&&(o.onMount=t=>i({props:r,current:t,...o}),o.onUpdate=t=>i(t)),o})(t,e,r,s);return i?n():(0,v.useConstant)(n)};var b=t.i(19026),w=t.i(98549);function P(t,e,i){var r;let{style:s}=t,n={};for(let o in s)((0,w.isMotionValue)(s[o])||e.style&&(0,w.isMotionValue)(e.style[o])||(0,b.isForcedMotionValue)(o,t)||(null==(r=null==i?void 0:i.getValue(o))?void 0:r.liveStyle)!==void 0)&&(n[o]=s[o]);return n}let T={useVisualState:x({scrapeMotionValuesFromProps:P,createRenderState:t.i(86549).createHtmlRenderState})};var S=t.i(28327),A=t.i(81384),V=t.i(33203),M=t.i(11587),C=t.i(50514);function D(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}var E=t.i(61252);function k(t,{style:e,vars:i},r,s){for(let n in Object.assign(t.style,e,s&&s.getProjectionStyles(r)),i)t.style.setProperty(n,i[n])}let R=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function B(t,e,i,r){for(let i in k(t,e,void 0,r),e.attrs)t.setAttribute(R.has(i)?i:(0,E.camelToDash)(i),e.attrs[i])}function L(t,e,i){let r=P(t,e,i);for(let i in t)((0,w.isMotionValue)(t[i])||(0,w.isMotionValue)(e[i]))&&(r[-1!==A.transformPropOrder.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}let j=["x","y","width","height","cx","cy","r"],F={useVisualState:x({scrapeMotionValuesFromProps:L,createRenderState:M.createSvgRenderState,onUpdate:({props:t,prevProps:e,current:i,renderState:r,latestValues:s})=>{if(!i)return;let n=!!t.drag;if(!n){for(let t in s)if(A.transformProps.has(t)){n=!0;break}}if(!n)return;let o=!e;if(e)for(let i=0;i<j.length;i++){let r=j[i];t[r]!==e[r]&&(o=!0)}o&&S.frame.read(()=>{D(i,r),S.frame.render(()=>{(0,V.buildSVGAttrs)(r,s,(0,C.isSVGTag)(i.tagName),t.transformTemplate),B(i,r)})})}})};var O=t.i(45504);t.i(47167);var I=t.i(67406),N=t.i(76948),U=t.i(81699),z=t.i(58213),$=t.i(69175),W=t.i(92936);let G={current:null},H={current:!1};
1var K=t.i(74015),Y=t.i(71329),X=t.i(2254),q=t.i(73464),_=t.i(30801),Z=t.i(70170),J=t.i(23016);let Q=[...Z.dimensionValueTypes,_.color,X.complex],tt=new WeakMap;var te=t.i(48838);let ti=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tr{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:s,visualState:n},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=te.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=I.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,S.frame.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:u}=n;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,f.isControllingVariants)(e),this.isVariantNode=(0,f.isVariantNode)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==a[t]&&(0,w.isMotionValue)(e)&&e.set(a[t],!1)}}mount(t){this.current=t,tt.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),H.current||function(){if(H.current=!0,W.isBrowser)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>G.current=t.matches;t.addListener(e),e()}else G.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||G.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,S.cancelFrame)(this.notifyUpdate),(0,S.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=A.transformProps.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&S.frame.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in N.featureDefinitions){let e=N.featureDefinitions[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,U.createBox)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ti.length;e++){let i=ti[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}
1this.prevMotionValues=function(t,e,i){for(let r in e){let s=e[r],n=i[r];if((0,w.isMotionValue)(s))t.addValue(r,s);else if((0,w.isMotionValue)(n))t.addValue(r,(0,Y.motionValue)(s,{owner:t}));else if(n!==s)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,(0,Y.motionValue)(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,Y.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let r=void 0===this.latestValues[t]&&this.current?null!=(i=this.getBaseTargetFromProps(this.props,t))?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=r){if("string"==typeof r&&((0,z.isNumericalString)(r)||(0,$.isZeroValueString)(r)))r=parseFloat(r);else{let i;i=r,!Q.find((0,J.testValueType)(i))&&X.complex.test(e)&&(r=(0,q.getAnimatableNone)(t,e))}this.setBaseTarget(t,(0,w.isMotionValue)(r)?r.get():r)}return(0,w.isMotionValue)(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let s=(0,g.resolveVariantFromProps)(this.props,r,null==(e=this.presenceContext)?void 0:e.custom);s&&(i=s[t])}if(r&&void 0!==i)return i;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,w.isMotionValue)(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new K.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}var ts=t.i(35902);class tn extends tr{constructor(){super(...arguments),this.KeyframeResolver=ts.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,w.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var to=t.i(70272),ta=t.i(26553),tl=t.i(58768);class tu extends tn{constructor(){super(...arguments),this.type="html",this.renderInstance=k}readValueFromInstance(t,e){if(A.transformProps.has(e)){let t=(0,ta.getDefaultValueType)(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=((0,to.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,O.measureViewportBox)(t,e)}build(t,e,i){(0,tl.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return P(t,e,i)}}class th extends tn{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=U.createBox,this.updateDimensions=()=>{this.current&&!this.renderState.dimensions&&D(this.current,this.renderState)}}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(A.transformProps.has(e)){let t=(0,ta.getDefaultValueType)(e);return t&&t.default||0}return e=R.has(e)?e:(0,E.camelToDash)(e),t.getAttribute(e)}
1scrapeMotionValuesFromProps(t,e,i){return L(t,e,i)}onBindTransform(){this.current&&!this.renderState.dimensions&&S.frame.postRender(this.updateDimensions)}build(t,e,i){(0,V.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,r){B(t,e,i,r)}mount(t){this.isSVGTag=(0,C.isSVGTag)(t.tagName),super.mount(t)}}let tc=(e={...s.animations,...o.gestureAnimations,...n.drag,...a.layout},i=(t,e)=>(0,h.isSVGComponent)(t)?new th(e):new tu(e,{allowProjection:t!==c.Fragment}),function(t,{forwardMotionProps:r}={forwardMotionProps:!1}){let s={...(0,h.isSVGComponent)(t)?F:T,preloadedFeatures:e,useRender:(0,u.createUseRender)(r),createVisualElement:i,Component:t};return(0,l.createRendererMotionComponent)(s)}),td=(0,r.createDOMMotionComponentProxy)(tc);t.s(["motion",()=>td],46932)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.