1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7284,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",0,e,"default",0,e])},47163,t=>{"use strict";var e=t.i(7284);let i=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),r=[],s=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],n=i.nextPart.get(r);if(n){let i=s(t,e+1,n);if(i)return i}let o=i.validators;if(null===o)return;let a=0===e?t.join("-"):t.slice(e).join("-"),l=o.length;for(let t=0;t<l;t++){let e=o[t];if(e.validator(a))return e.classGroupId}},n=(t,e)=>{let r=i();for(let i in t)o(t[i],r,i,e);return r},o=(t,e,i,r)=>{let s=t.length;for(let n=0;n<s;n++)a(t[n],e,i,r)},a=(t,e,i,r)=>{"string"==typeof t?l(t,e,i):"function"==typeof t?h(t,e,i,r):u(t,e,i,r)},l=(t,e,i)=>{(""===t?e:d(e,t)).classGroupId=i},h=(t,e,i,r)=>{c(t)?o(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},u=(t,e,i,r)=>{let s=Object.entries(t),n=s.length;for(let t=0;t<n;t++){let[n,a]=s[t];o(a,d(e,n),i,r)}},d=(t,e)=>{let r=t,s=e.split("-"),n=s.length;for(let t=0;t<n;t++){let e=s[t],n=r.nextPart.get(e);n||(n=i(),r.nextPart.set(e,n)),r=n}return r},c=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,p=[],m=(t,e,i,r,s)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:s}),f=/\s+/,g=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=g(t[r]))&&(i&&(i+=" "),i+=e);return i},y=[],v=t=>{let e=e=>e[t]||y;return e.isThemeGetter=!0,e},x=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,b=/^\((?:(\w[\w-]*):)?(.+)\)$/i,w=/^\d+\/\d+$/,k=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\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$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,P=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,M=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,A=t=>w.test(t),j=t=>!!t&&!Number.isNaN(Number(t)),C=t=>!!t&&Number.isInteger(Number(t)),E=t=>t.endsWith("%")&&j(t.slice(0,-1)),V=t=>k.test(t),R=()=>!0,D=t=>T.test(t)&&!S.test(t),L=()=>!1,N=t=>P.test(t),B=t=>M.test(t),z=t=>!I(t)&&!Y(t),F=t=>J(t,ti,L),I=t=>x.test(t),O=t=>J(t,tr,D),$=t=>J(t,ts,j),U=t=>J(t,tt,L),W=t=>J(t,te,B),H=t=>J(t,to,N),Y=t=>b.test(t),X=t=>Q(t,tr),G=t=>Q(t,tn),_=t=>Q(t,tt),K=t=>Q(t,ti),q=t=>Q(t,te),Z=t=>Q(t,to,!0),J=(t,e,i)=>{let r=x.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},Q=(t,e,i=!1)=>{let r=b.exec(t);return!!r&&(r[1]?e(r[1]):i)},tt=t=>"position"===t||"percentage"===t,te=t=>"image"===t||"url"===t,ti=t=>"length"===t||"size"===t||"bg-size"===t,tr=t=>"length"===t,ts=t=>"number"===t,tn=t=>"family-name"===t,to=t=>"shadow"===t,ta=((t,...e)=>{let i,o,a,l,h=t=>{let e=o(t);if(e)return e;let r=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:n}=e,o=[],a=t.trim().split(f),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:h,modifiers:u,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=i(e);if(h){l=e+(l.length>0?" "+l:l);continue}let m=!!p,f=r(m?c.substring(0,p):c);if(!f){if(!m||!(f=r(c))){l=e+(l.length>0?" "+l:l);continue}m=!1}let g=0===u.length?"":1===u.length?u[0]:n(u).join(":"),y=d?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let x=s(f,m);for(let t=0;t<x.length;++t){let e=x[t];o.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,i);return a(t,r),r};return l=u=>{var d;let c;return o=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),s=(s,n)=>{i[s]=n,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(s(t,e),e):void 0},set(t,e){t in i?i[t]=e:s(t,e)}}})((d=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,s=0,n=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===s){if(":"===o){i.push(t.slice(n,a)),n=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?s++:")"===o&&s--}let a=0===i.length?t:t.slice(n),l=a,h=!1;return a.endsWith("!")?(l=a.slice(0,-1),h=!0):a.startsWith("!")&&(l=a.slice(1),h=!0),m(i,h,l,e&&e>n?e-n:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):m(p,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r}
1)(d),sortModifiers:(c=new Map,d.orderSensitiveModifiers.forEach((t,e)=>{c.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let s=t[r],n="["===s[0],o=c.has(s);n||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(s)):i.push(s)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return n(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,s;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(s=e.slice(0,r))?"arbitrary.."+s:void 0)}let r=t.split("-"),n=+(""===r[0]&&r.length>1);return s(r,n,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=o[t],s=i[t];if(e){if(s){let t=Array(s.length+e.length);for(let e=0;e<s.length;e++)t[e]=s[e];for(let i=0;i<e.length;i++)t[s.length+i]=e[i];return t}return e}return s||r}return i[t]||r}}})(d)}).cache.get,a=i.cache.set,l=h,h(u)},(...t)=>l(((...t)=>{let e,i,r=0,s="";for(;r<t.length;)(e=t[r++])&&(i=g(e))&&(s&&(s+=" "),s+=i);return s})(...t))})(()=>{let t=v("color"),e=v("font"),i=v("text"),r=v("font-weight"),s=v("tracking"),n=v("leading"),o=v("breakpoint"),a=v("container"),l=v("spacing"),h=v("radius"),u=v("shadow"),d=v("inset-shadow"),c=v("text-shadow"),p=v("drop-shadow"),m=v("blur"),f=v("perspective"),g=v("aspect"),y=v("ease"),x=v("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],k=()=>[...w(),Y,I],T=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],P=()=>[Y,I,l],M=()=>[A,"full","auto",...P()],D=()=>[C,"none","subgrid",Y,I],L=()=>["auto",{span:["full",C,Y,I]},C,Y,I],N=()=>[C,"auto",Y,I],B=()=>["auto","min","max","fr",Y,I],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],tt=()=>["auto",...P()],te=()=>[A,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],ti=()=>[t,Y,I],tr=()=>[...w(),_,U,{position:[Y,I]}],ts=()=>["no-repeat",{repeat:["","x","y","space","round"]}],tn=()=>["auto","cover","contain",K,F,{size:[Y,I]}],to=()=>[E,X,O],ta=()=>["","none","full",h,Y,I],tl=()=>["",j,X,O],th=()=>["solid","dashed","dotted","double"],tu=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],td=()=>[j,E,_,U],tc=()=>["","none",m,Y,I],tp=()=>["none",j,Y,I],tm=()=>["none",j,Y,I],tf=()=>[j,Y,I],tg=()=>[A,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[V],breakpoint:[V],color:[R],container:[V],"drop-shadow":[V],ease:["in","out","in-out"],font:[z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[V],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[V],shadow:[V],spacing:["px",j],text:[V],"text-shadow":[V],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",A,I,Y,g]}],container:["container"],columns:[{columns:[j,I,Y,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"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"],sr:["sr-only","not-sr-only"],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:k()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:M()}],"inset-x":[{"inset-x":M()}],"inset-y":[{"inset-y":M()}],start:[{start:M()}],end:[{end:M()}],top:[{top:M()}
vendor: 11,538 bytes, line 1
1],right:[{right:M()}],bottom:[{bottom:M()}],left:[{left:M()}],visibility:["visible","invisible","collapse"],z:[{z:[C,"auto",Y,I]}],basis:[{basis:[A,"full","auto",a,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[j,A,"auto","initial","none",I]}],grow:[{grow:["",j,Y,I]}],shrink:[{shrink:["",j,Y,I]}],order:[{order:[C,"first","last","none",Y,I]}],"grid-cols":[{"grid-cols":D()}],"col-start-end":[{col:L()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":D()}],"row-start-end":[{row:L()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":B()}],"auto-rows":[{"auto-rows":B()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:tt()}],mx:[{mx:tt()}],my:[{my:tt()}],ms:[{ms:tt()}],me:[{me:tt()}],mt:[{mt:tt()}],mr:[{mr:tt()}],mb:[{mb:tt()}],ml:[{ml:tt()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[a,"screen",...te()]}],"min-w":[{"min-w":[a,"screen","none",...te()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",i,X,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Y,$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",E,I]}],"font-family":[{font:[G,I,e]}],"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:[s,Y,I]}],"line-clamp":[{"line-clamp":[j,"none",Y,$]}],leading:[{leading:[n,...P()]}],"list-image":[{"list-image":["none",Y,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Y,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ti()}],"text-color":[{text:ti()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...th(),"wavy"]}],"text-decoration-thickness":[{decoration:[j,"from-font","auto",Y,O]}],"text-decoration-color":[{decoration:ti()}],"underline-offset":[{"underline-offset":[j,"auto",Y,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Y,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Y,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tr()}],"bg-repeat":[{bg:ts()}],"bg-size":[{bg:tn()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},C,Y,I],radial:["",Y,I],conic:[C,Y,I]},q,W]}],"bg-color":[{bg:ti()}],"gradient-from-pos":[{from:to()}],"gradient-via-pos":[{via:to()}],"gradient-to-pos":[{to:to()}],"gradient-from":[{from:ti()}],"gradient-via":[{via:ti()}],"gradient-to":[{to:ti()}],rounded:[{rounded:ta()}],"rounded-s":[{"rounded-s":ta()}],"rounded-e":[{"rounded-e":ta()}],"rounded-t":[{"rounded-t":ta()}],"rounded-r":[{"rounded-r":ta()}],"rounded-b":[{"rounded-b":ta()}],"rounded-l":[{"rounded-l":ta()}],"rounded-ss":[{"rounded-ss":ta()}],"rounded-se":[{"rounded-se":ta()}],"rounded-ee":[{"rounded-ee":ta()}],"rounded-es":[{"rounded-es":ta()}],"rounded-tl":[{"rounded-tl":ta()}],"rounded-tr":[{"rounded-tr":ta()}],"rounded-br":[{"rounded-br":ta()}],"rounded-bl":[{"rounded-bl":ta()}],"border-w":[{border:tl()}],"border-w-x":[{"border-x":tl()}],"border-w-y":[{"border-y":tl()}],"border-w-s":[{"border-s":tl()}],"border-w-e":[{"border-e":tl()}],"border-w-t":[{"border-t":tl()}],"border-w-r":[{"border-r":tl()}],"border-w-b":[{"border-b":tl()}],"border-w-l":[{"border-l":tl()}],"divide-x":[{"divide-x":tl()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tl()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...th(),"hidden","none"]}],"divide-style":[{divide:[...th(),"hidden","none"]}],"border-color":[{border:ti()}],"border-color-x":[{"border-x":ti()}],"border-color-y":[{"border-y":ti()}],"border-color-s":[{"border-s":ti()}],"border-color-e":[{"border-e":ti()}],"border-color-t":[{"border-t":ti()}],"border-color-r":[{"border-r":ti()}],"border-color-b":[{"border-b":ti()}],"border-color-l":[{"border-l":ti()}],"divide-color":[{divide:ti()}],"outline-style":[{outline:[...th(),"none","hidden"]}],"outline-offset":[{"outline-offset":[j,Y,I]}],"outline-w":[{outline:["",j,X,O]}],"outline-color":[{outline:ti()}],shadow:[{shadow:["","none",u,Z,H]}],"shadow-color":[{shadow:ti()}],"inset-shadow":[{"inset-shadow":["none",d,Z,H]}],"inset-shadow-color":[{"inset-shadow":ti()}],"ring-w":[{ring:tl()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ti()}],"ring-offset-w":[{"ring-offset":[j,O]}],"ring-offset-color":[{"ring-offset":ti()}],"inset-ring-w":[{"inset-ring":tl()}],"inset-ring-color":[{"inset-ring":ti()}],"text-shadow":[{"text-shadow":["none",c,Z,H]}],"text-shadow-color":[{"text-shadow":ti()}],opacity:[{opacity:[j,Y,I]}],"mix-blend":[{"mix-blend":[...tu(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tu()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[j]}],"mask-image-linear-from-pos":[{"mask-linear-from":td()}],"mask-image-linear-to-pos":[{"mask-linear-to":td()}],"mask-image-linear-from-color":[{"mask-linear-from":ti()}],"mask-image-linear-to-color":[{"mask-linear-to":ti()}],"mask-image-t-from-pos":[{"mask-t-from":td()}],"mask-image-t-to-pos":[{"mask-t-to":td()}],"mask-image-t-from-color":[{"mask-t-from":ti()}],"mask-image-t-to-color":[{"mask-t-to":ti()}],"mask-image-r-from-pos":[{"mask-r-from":td()}],"mask-image-r-to-pos":[{"mask-r-to":td()}],"mask-image-r-from-color":[{"mask-r-from":ti()}],"mask-image-r-to-color":[{"mask-r-to":ti()}],"mask-image-b-from-pos":[{"mask-b-from":td()}],"mask-image-b-to-pos":[{"mask-b-to":td()}],"mask-image-b-from-color":[{"mask-b-from":ti()}],"mask-image-b-to-color":[{"mask-b-to":ti()}],"mask-image-l-from-pos":[{"mask-l-from":td()}],"mask-image-l-to-pos":[{"mask-l-to":td()}],"mask-image-l-from-color":[{"mask-l-from":ti()}],"mask-image-l-to-color":[{"mask-l-to":ti()}],"mask-image-x-from-pos":[{"mask-x-from":td()}],"mask-image-x-to-pos":[{"mask-x-to":td()}],"mask-image-x-from-color":[{"mask-x-from":ti()}],"mask-image-x-to-color":[{"mask-x-to":ti()}],"mask-image-y-from-pos":[{"mask-y-from":td()}],"mask-image-y-to-pos":[{"mask-y-to":td()}],"mask-image-y-from-color":[{"mask-y-from":ti()}],"mask-image-y-to-color":[{"mask-y-to":ti()}],"mask-image-radial":[{"mask-radial":[Y,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":td()}],"mask-image-radial-to-pos":[{"mask-radial-to":td()}],"mask-image-radial-from-color":[{"mask-radial-from":ti()}],"mask-image-radial-to-color":[{"mask-radial-to":ti()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[j]}],"mask-image-conic-from-pos":[{"mask-conic-from":td()}],"mask-image-conic-to-pos":[{"mask-conic-to":td()}],"mask-image-conic-from-color":[{"mask-conic-from":ti()}],"mask-image-conic-to-color":[{"mask-conic-to":ti()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tr()}],"mask-repeat":[{mask:ts()}],"mask-size":[{mask:tn()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Y,I]}],filter:[{filter:["","none",Y,I]}],blur:[{blur:tc()}],brightness:[{brightness:[j,Y,I]}],contrast:[{contrast:[j,Y,I]}],"drop-shadow":[{"drop-shadow":["","none",p,Z,H]}],"drop-shadow-color":[{"drop-shadow":ti()}],grayscale:[{grayscale:["",j,Y,I]}],"hue-rotate":[{"hue-rotate":[j,Y,I]}],invert:[{invert:["",j,Y,I]}],saturate:[{saturate:[j,Y,I]}],sepia:[{sepia:["",j,Y,I]}],"backdrop-filter":[{"backdrop-filter":["","none",Y,I]}],"backdrop-blur":[{"backdrop-blur":tc()}],"backdrop-brightness":[{"backdrop-brightness":[j,Y,I]}],"backdrop-contrast":[{"backdrop-contrast":[j,Y,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",j,Y,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[j,Y,I]}],"backdrop-invert":[{"backdrop-invert":["",j,Y,I]}],"backdrop-opacity":[{"backdrop-opacity":[j,Y,I]}],"backdrop-saturate":[{"backdrop-saturate":[j,Y,I]}],"backdrop-sepia":[{"backdrop-sepia":["",j,Y,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Y,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[j,"initial",Y,I]}],ease:[{ease:["linear","initial",y,Y,I]}],delay:[{delay:[j,Y,I]}],animate:[{animate:["none",x,Y,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Y,I]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:tp()}],"rotate-x":[{"rotate-x":tp()}],"rotate-y":[{"rotate-y":tp()}],"rotate-z":[{"rotate-z":tp()}],scale:[{scale:tm()}],"scale-x":[{"scale-x":tm()}],"scale-y":[{"scale-y":tm()}],"scale-z":[{"scale-z":tm()}],"scale-3d":["scale-3d"],skew:[{skew:tf()}],"skew-x":[{"skew-x":tf()}],"skew-y":[{"skew-y":tf()}],transform:[{transform:[Y,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tg()}],"translate-x":[{"translate-x":tg()}],"translate-y":[{"translate-y":tg()}],"translate-z":[{"translate-z":tg()}],"translate-none":["translate-none"],accent:[{accent:ti()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ti()}
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",Y,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Y,I]}],fill:[{fill:["none",...ti()]}],"stroke-w":[{stroke:[j,X,O,$]}],stroke:[{stroke:["none",...ti()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});t.s(["cn",0,function(...t){return ta((0,e.clsx)(t))}],47163)},67881,t=>{"use strict";let e,i,r,s,n;var o=t.i(77117),a=t.i(91983);function l(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}var h=Symbol.for("react.lazy"),u=a[" use ".trim().toString()];function d(t){var e;return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===h&&"_payload"in t&&"object"==typeof(e=t._payload)&&null!==e&&"then"in e}var c=((n=a.forwardRef((t,e)=>{let{children:i,...r}=t;if(d(i)&&"function"==typeof u&&(i=u(i._payload)),a.isValidElement(i)){var s;let t,n,o=(s=i,(n=(t=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.ref:(n=(t=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?s.props.ref:s.props.ref||s.ref),h=function(t,e){let i={...e};for(let r in e){let s=t[r],n=e[r];/^on[A-Z]/.test(r)?s&&n?i[r]=(...t)=>{let e=n(...t);return s(...t),e}:s&&(i[r]=s):"style"===r?i[r]={...s,...n}
1:"className"===r&&(i[r]=[s,n].filter(Boolean).join(" "))}return{...t,...i}}(r,i.props);return i.type!==a.Fragment&&(h.ref=e?function(...t){return e=>{let i=!1,r=t.map(t=>{let r=l(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():l(t[e],null)}}}}(e,o):o),a.cloneElement(i,h)}return a.Children.count(i)>1?a.Children.only(null):null})).displayName="Slot.SlotClone",e=n,(i=a.forwardRef((t,i)=>{let{children:r,...s}=t;d(r)&&"function"==typeof u&&(r=u(r._payload));let n=a.Children.toArray(r),l=n.find(m);if(l){let t=l.props.children,r=n.map(e=>e!==l?e:a.Children.count(t)>1?a.Children.only(null):a.isValidElement(t)?t.props.children:null);return(0,o.jsx)(e,{...s,ref:i,children:a.isValidElement(t)?a.cloneElement(t,void 0,r):null})}return(0,o.jsx)(e,{...s,ref:i,children:r})})).displayName="Slot.Slot",i),p=Symbol("radix.slottable");function m(t){return a.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===p}var f=t.i(7284);let g=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,y=f.clsx;var v=t.i(47163);let x=(r="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",s={variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}},t=>{var e;if((null==s?void 0:s.variants)==null)return y(r,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:n}=s,o=Object.keys(i).map(e=>{let r=null==t?void 0:t[e],s=null==n?void 0:n[e];if(null===r)return null;let o=g(r)||g(s);return i[e][o]}),a=t&&Object.entries(t).reduce((t,e)=>{let[i,r]=e;return void 0===r||(t[i]=r),t},{});return y(r,o,null==s||null==(e=s.compoundVariants)?void 0:e.reduce((t,e)=>{let{class:i,className:r,...s}=e;return Object.entries(s).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...n,...a}[e]):({...n,...a})[e]===i})?[...t,i,r]:t},[]),null==t?void 0:t.class,null==t?void 0:t.className)});t.s(["Button",0,function({className:t,variant:e,size:i,asChild:r=!1,...s}){return(0,o.jsx)(r?c:"button",{"data-slot":"button",className:(0,v.cn)(x({variant:e,size:i,className:t})),...s})}],67881)},31763,t=>{"use strict";var e=t.i(91983);let i=(...t)=>t.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim(),r=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,e.forwardRef)(({color:t="currentColor",size:r=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:h,...u},d)=>(0,e.createElement)("svg",{ref:d,...s,width:r,height:r,stroke:t,strokeWidth:o?24*Number(n)/Number(r):n,className:i("lucide",a),...!l&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...h.map(([t,i])=>(0,e.createElement)(t,i)),...Array.isArray(l)?l:[l]]));t.s(["default",0,(t,s)=>{let o=(0,e.forwardRef)(({className:o,...a},l)=>(0,e.createElement)(n,{ref:l,iconNode:s,className:i(`lucide-${r(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,o),...a}));return o.displayName=r(t),o}],31763)},92013,t=>{"use strict";let e=(0,t.i(31763).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);t.s(["X",0,e],92013)},56454,t=>{"use strict";var e=t.i(77117),i=t.i(43871),r=t.i(91983),s=t.i(67881);let n=(0,t.i(31763).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var o=t.i(92013),a=t.i(23150);let l=[{key:"solutions",href:"/#soluciones"},{key:"platform",href:"/#plataforma"},{key:"clients",href:"/#clientes"},{key:"pricing",href:"/#precios"},{key:"contact",href:"/#contacto"}];t.s(["Header",0,function(){let{t}=(0,a.useTranslation)(),[h,u]=(0,r.useState)(!1),[d,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=()=>{c(window.scrollY>20)};return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},[]),(0,e.jsxs)("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ease-in-out ${d?"bg-[#011a2f] backdrop-blur-md border-b border-white/10 shadow-lg shadow-black/20":"bg-[#011a2f]/80 border-b border-transparent"}`,children:[(0,e.jsxs)("nav",{className:`mx-auto flex max-w-7xl items-center justify-between px-6 lg:px-8 transition-all duration-300 ${d?"py-3":"py-4"}`,children:[(0,e.jsx)("div",{className:"flex lg:flex-1",children:(0,e.jsx)(i.default,{href:"/",className:"flex items-center",children:(0,e.jsx)("img",{src:"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Imagotipo%20-%20White%20%281%29-YGG057BuzAbw9VuTYqrCsikASwiCsF.png",alt:"Bircle",className:"h-8 w-auto"})})}),(0,e.jsx)("div",{className:"flex lg:hidden",children:(0,e.jsxs)("button",{type:"button",className:"inline-flex items-center justify-center rounded-md p-2.5 text-white",onClick:()=>u(!h),children:[(0,e.jsx)("span",{className:"sr-only",children:t("header.openMenu")}),h?(0,e.jsx)(o.X,{className:"h-6 w-6","aria-hidden":"true"}):(0,e.jsx)(n,{className:"h-6 w-6","aria-hidden":"true"})]})}),(0,e.jsx)("div",{className:"hidden lg:flex lg:gap-x-10",children:l.map(r=>(0,e.jsx)(i.default,{href:r.href,className:"text-sm font-medium text-white/70 hover:text-white transition-colors",children:t(`header.nav.${r.key}`)},r.key))}),(0,e.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end lg:gap-x-3",children:(0,e.jsx)(s.Button,{size:"sm",className:"bg-white text-[#011a2f] hover:bg-white/90 font-semibold",asChild:!0,children:(0,e.jsx)(i.default,{href:"https://cal.com/marcoslozada/demo-bircleai",children:t("header.cta")})})})]}),h&&(0,e.jsx)("div",{className:"lg:hidden bg-[#011a2f] border-b border-white/10",children:(0,e.jsxs)("div",{className:"space-y-1 px-6 py-4",children:[l.map(r=>(0,e.jsx)(i.default,{href:r.href,className:"block py-3 text-base font-medium text-white/70 hover:text-white",onClick:()=>u(!1),children:t(`header.nav.${r.key}`)},r.key)),(0,e.jsx)("div",{className:"pt-4",children:(0,e.jsx)(s.Button,{className:"w-full bg-white text-[#011a2f] hover:bg-white/90 font-semibold",asChild:!0,children:(0,e.jsx)(i.default,{href:"https://cal.com/marcoslozada/demo-bircleai",children:t("header.cta")})})})]})})]})}],56454)},53747,t=>{"use strict";let e=(0,t.i(31763).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);t.s(["Mail",0,e],53747)},96918,t=>{"use strict";let e=(0,t.i(31763).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);t.s(["Phone",0,e],96918)},32757,t=>{"use strict";let e=(0,t.i(31763).default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);t.s(["ShieldCheck",0,e],32757)},1244,t=>{"use strict";var e=t.i(77117),i=t.i(43871),r=t.i(53747),s=t.i(96918);let n=(0,t.i(31763).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var o=t.i(32757),a=t.i(23150);let l=[{key:"chatgpt",label:"ChatGPT",url:t=>`https://chatgpt.com/?q=${encodeURIComponent(t)}&hints=search`,icon:function({className:t}
1){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,"aria-hidden":"true",children:(0,e.jsx)("path",{d:"M22.282 9.821a5.985 5.985 0 0 0-.516-4.91 6.046 6.046 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.985 5.985 0 0 0-3.998 2.9 6.046 6.046 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.051 6.051 0 0 0 6.515 2.9A5.985 5.985 0 0 0 13.26 24a6.056 6.056 0 0 0 5.772-4.206 5.99 5.99 0 0 0 3.998-2.9 6.056 6.056 0 0 0-.747-7.073zM13.26 22.43a4.476 4.476 0 0 1-2.876-1.04l.142-.08 4.778-2.758a.795.795 0 0 0 .393-.681v-6.737l2.02 1.168a.071.071 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.495 4.494zM3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.771.771 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646zM2.34 7.896a4.485 4.485 0 0 1 2.366-1.973V11.6a.766.766 0 0 0 .388.676l5.815 3.355-2.02 1.168a.076.076 0 0 1-.071 0l-4.83-2.787a4.504 4.504 0 0 1-1.648-6.116zm16.597 3.855L13.103 8.364 15.119 7.2a.076.076 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.677a.79.79 0 0 0-.407-.667zm2.01-3.023l-.142-.085-4.774-2.782a.776.776 0 0 0-.785 0L9.409 9.23V6.897a.066.066 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zM8.307 12.863l-2.02-1.164a.08.08 0 0 1-.038-.057V6.074a4.5 4.5 0 0 1 7.376-3.453l-.142.08L8.704 5.46a.795.795 0 0 0-.393.68zm1.097-2.366l2.602-1.5 2.607 1.5v3l-2.598 1.5-2.607-1.5z"})})}},{key:"claude",label:"Claude",url:t=>`https://claude.ai/new?q=${encodeURIComponent(t)}`,icon:function({className:t}){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,"aria-hidden":"true",children:(0,e.jsx)("path",{d:"M12 1.5c.5 4.6 2.4 6.5 7 7v1c-4.6.5-6.5 2.4-7 7h-1c-.5-4.6-2.4-6.5-7-7v-1c4.6-.5 6.5-2.4 7-7h1z"})})}},{key:"perplexity",label:"Perplexity",url:t=>`https://www.perplexity.ai/search/new?q=${encodeURIComponent(t)}`,icon:function({className:t}){return(0,e.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",className:t,"aria-hidden":"true",children:[(0,e.jsx)("path",{d:"M12 2v20"}),(0,e.jsx)("path",{d:"M3 7l9-5 9 5"}),(0,e.jsx)("path",{d:"M3 7v10l9 5 9-5V7"}),(0,e.jsx)("path",{d:"M3 7l9 5 9-5"})]})}},{key:"grok",label:"Grok",url:t=>`https://x.com/i/grok?text=${encodeURIComponent(t)}`,icon:function({className:t}){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,"aria-hidden":"true",children:(0,e.jsx)("path",{d:"M3.5 3h3.2l5.3 7.1L17.7 3h2.8l-6.5 8.7L21 21h-3.2l-5.7-7.6L6.3 21H3.5l6.9-9.3L3.5 3z"})})}}];function h(){let{t}=(0,a.useTranslation)(),i=t("askAnyAi.title"),r=t("askAnyAi.prompt");return(0,e.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-center gap-5 md:gap-8",children:[(0,e.jsx)("p",{className:"text-center md:text-right text-white/70 text-sm font-medium md:max-w-[200px]",children:i}),(0,e.jsx)("span",{"aria-hidden":!0,className:"hidden md:block h-8 w-px bg-white/15"}),(0,e.jsx)("div",{className:"flex justify-center items-center gap-6 sm:gap-9 flex-wrap",children:l.map(t=>{let s=t.icon;return(0,e.jsxs)("a",{href:t.url(r),target:"_blank",rel:"noopener noreferrer","aria-label":`${i} â ${t.label}`,className:"group flex flex-col items-center gap-1.5 text-white/60 hover:text-[#2dd4bf] transition-colors",children:[(0,e.jsx)(s,{className:"w-7 h-7 sm:w-8 sm:h-8"}),(0,e.jsx)("span",{className:"text-[11px] text-white/50 group-hover:text-[#2dd4bf] transition-colors",children:t.label})]},t.key)})})]})}let u=[{key:"solutions",items:[{key:"sales",href:"/#soluciones"},{key:"support",href:"/#soluciones"},{key:"collections",href:"/#soluciones"}]},{key:"platform",items:[{key:"aos",href:"/#plataforma"},{key:"dashboard",href:"/#plataforma"},{key:"integrations",href:"/#plataforma"}]},{key:"company",items:[{key:"clients",href:"/#clientes"},{key:"contact",href:"/#contacto"}]},{key:"legal",items:[{key:"privacy",href:"/privacidad"},{key:"terms",href:"/terminos"}]}],d={ar:"es",mx:"es",us:"en"};function c({className:t}){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,e.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}function p({className:t}
1){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,e.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function m({className:t}){return(0,e.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:t,children:(0,e.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}t.s(["Footer",0,function(){let{t,language:l,setLanguage:f}=(0,a.useTranslation)();return(0,e.jsxs)("footer",{id:"contacto",className:"bg-gradient-to-br from-[#011a2f] via-[#013966] to-[#011a2f] text-white",children:[(0,e.jsx)("div",{id:"demo",className:"border-b border-white/10",children:(0,e.jsxs)("div",{className:"mx-auto max-w-7xl px-6 py-16 lg:px-8",children:[(0,e.jsxs)("div",{className:"text-center mb-12",children:[(0,e.jsx)("h2",{className:"font-[family-name:var(--font-roboto)] text-3xl md:text-4xl font-bold mb-4",children:t("footer.demoTitle")}),(0,e.jsx)("p",{className:"text-white/70 max-w-xl mx-auto",children:t("footer.demoSubtitle")})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row sm:flex-wrap justify-center gap-4 sm:gap-6 lg:gap-8",children:[(0,e.jsxs)("a",{href:"https://wa.me/5493518131674",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 bg-white/10 hover:bg-white/20 transition-colors rounded-xl px-6 py-4",children:[(0,e.jsx)(s.Phone,{className:"w-5 h-5 text-[#2dd4bf]"}),(0,e.jsxs)("div",{className:"text-left",children:[(0,e.jsx)("p",{className:"text-xs text-white/60",children:t("footer.channels.whatsapp")}),(0,e.jsx)("p",{className:"font-medium",children:"+54 9 351 813 1674"})]})]}),(0,e.jsxs)("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 bg-white/10 hover:bg-white/20 transition-colors rounded-xl px-6 py-4",children:[(0,e.jsx)(r.Mail,{className:"w-5 h-5 text-[#2dd4bf]"}),(0,e.jsxs)("div",{className:"text-left",children:[(0,e.jsx)("p",{className:"text-xs text-white/60",children:t("footer.channels.email")}),(0,e.jsx)("p",{className:"font-medium",children:"[email protected]"})]})]}),(0,e.jsxs)("a",{href:"https://www.bircle.ai",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 bg-white/10 hover:bg-white/20 transition-colors rounded-xl px-6 py-4",children:[(0,e.jsx)(n,{className:"w-5 h-5 text-[#2dd4bf]"}),(0,e.jsxs)("div",{className:"text-left",children:[(0,e.jsx)("p",{className:"text-xs text-white/60",children:t("footer.channels.web")}),(0,e.jsx)("p",{className:"font-medium",children:"www.bircle.ai"})]})]})]}),(0,e.jsx)("div",{className:"mt-12",children:(0,e.jsx)(h,{})})]})}),(0,e.jsxs)("div",{className:"mx-auto max-w-7xl px-6 py-16 lg:px-8",children:[(0,e.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-8 lg:gap-10",children:[(0,e.jsxs)("div",{className:"col-span-2 md:col-span-3 lg:col-span-1 mb-8 lg:mb-0",children:[(0,e.jsx)(i.default,{href:"/",className:"flex items-center",children:(0,e.jsx)("img",{src:"https://hebbkx1anhila5yf.public.blob.vercel-storage.com/image-bClkA9tAEHwsW5LpG4YPSZiN4CWGXT.png",alt:"Bircle",className:"h-8 w-auto"})}),(0,e.jsx)("p",{className:"mt-4 text-sm text-white/60 max-w-xs",children:t("footer.tagline")})]}),u.map(r=>(0,e.jsxs)("div",{children:[(0,e.jsx)("h3",{className:"font-[family-name:var
1(--font-roboto)] font-semibold text-white mb-4",children:t(`footer.categories.${r.key}`)}),(0,e.jsx)("ul",{className:"space-y-3",children:r.items.map(s=>{let n=t(`footer.links.${r.key}.${s.key}`),o="text-sm text-white/60 hover:text-white transition-colors";return(0,e.jsx)("li",{children:s.external?(0,e.jsx)("a",{href:s.href,target:"_blank",rel:"noopener noreferrer",className:o,children:n}):(0,e.jsx)(i.default,{href:s.href,className:o,children:n})},s.key)})})]},r.key)),(0,e.jsxs)("div",{className:"col-span-2 md:col-span-1 mt-4 md:mt-0",children:[(0,e.jsx)("h3",{className:"font-[family-name:var(--font-roboto)] font-semibold text-white mb-4",children:t("footer.categories.trust")}),(0,e.jsxs)("a",{href:"https://app.vanta.com/bircle.ai/trust/xkco71ha0drh8nxa0owy1b",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm text-white/60 hover:text-white transition-colors",children:[(0,e.jsx)(o.ShieldCheck,{className:"w-4 h-4"}),t("footer.trustCenter")]})]})]}),(0,e.jsx)("div",{className:"mt-16 pt-8 border-t border-white/10",children:(0,e.jsxs)("div",{className:"flex flex-col gap-6 sm:grid sm:grid-cols-3 sm:items-center",children:[(0,e.jsx)("div",{className:"flex justify-center sm:justify-start",children:(0,e.jsxs)("select",{value:"en"===l?"us":"ar",onChange:t=>{let e=d[t.target.value];e&&f(e)},className:"bg-white/10 border border-white/20 rounded-lg px-4 py-2 text-sm text-white transition-colors hover:bg-white/20 focus:outline-none focus:ring-2 focus:ring-[#2dd4bf]/50",children:[(0,e.jsx)("option",{value:"ar",children:t("footer.regions.ar")}),(0,e.jsx)("option",{value:"mx",children:t("footer.regions.mx")}),(0,e.jsx)("option",{value:"us",children:t("footer.regions.us")})]})}),(0,e.jsxs)("div",{className:"order-last sm:order-none flex flex-col items-center gap-1.5 text-center",children:[(0,e.jsx)("p",{className:"text-sm text-white/60",children:t("footer.copyright").replace("{year}",String(new Date().getFullYear()))}),(0,e.jsx)("a",{href:"https://estudioromerovictorica.com.ar/",target:"_blank",rel:"noopener",className:"text-xs text-white/25 hover:text-white/60 transition-colors",children:t("footer.legalCredit")})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center sm:justify-end gap-5",children:[(0,e.jsxs)("a",{href:"https://www.linkedin.com/company/bircleai/",target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn",className:"text-white/60 hover:text-white hover:-translate-y-0.5 transition-all",children:[(0,e.jsx)(c,{className:"w-5 h-5"}),(0,e.jsx)("span",{className:"sr-only",children:"LinkedIn"})]}),(0,e.jsxs)("a",{href:"https://x.com/BircleAI",target:"_blank",rel:"noopener noreferrer","aria-label":"X (Twitter)",className:"text-white/60 hover:text-white hover:-translate-y-0.5 transition-all",children:[(0,e.jsx)(p,{className:"w-5 h-5"}),(0,e.jsx)("span",{className:"sr-only",children:"X (Twitter)"})]}),(0,e.jsxs)("a",{href:"https://instagram.com/bircleai",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram",className:"text-white/60 hover:text-white hover:-translate-y-0.5 transition-all",children:[(0,e.jsx)(m,{className:"w-5 h-5"}),(0,e.jsx)("span",{className:"sr-only",children:"Instagram"})]})]})]})})]}),(0,e.jsx)("div",{className:"h-20","aria-hidden":"true"})]})}],1244)},12086,20460,34907,7464,70338,36986,18015,50438,t=>{"use strict";let e,i,r,s,n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(n),a=(t,e,i)=>i>e?e:i<t?t:i,l={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},h={...l,transform:t=>a(0,1,t)},u={...l,default:1},d=t=>Math.round(1e5*t)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,p=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,m=(t,e)=>i=>!!("string"==typeof i&&p.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),f=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,n,o,a]=r.match(c);return{[t]:parseFloat(s),[e]:parseFloat(n),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},g={...l,transform:t=>Math.round(a(0,255,t))},y={test:m("rgb","red"),parse:f("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+g.transform(t)+", "+g.transform(e)+", "+g.transform(i)+", "+d(h.transform(r))+")"},v={test:m("#"),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),alph
1a:s?parseInt(s,16)/255:1}},transform:y.transform},x=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),b=x("deg"),w=x("%"),k=x("px"),T=x("vh"),S=x("vw"),P={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},M={test:m("hsl","hue"),parse:f("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+w.transform(d(e))+", "+w.transform(d(i))+", "+d(h.transform(r))+")"},A={test:t=>y.test(t)||v.test(t)||M.test(t),parse:t=>y.test(t)?y.parse(t):M.test(t)?M.parse(t):v.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?y.transform(t):M.transform(t),getAnimatableNone:t=>{let e=A.parse(t);return e.alpha=0,A.transform(e)}},j=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,C="number",E="color",V=/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 R(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],n=0,o=e.replace(V,t=>(A.test(t)?(r.color.push(n),s.push(E),i.push(A.parse(t))):t.startsWith("var(")?(r.var.push(n),s.push("var"),i.push(t)):(r.number.push(n),s.push(C),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:r,types:s}}function D({split:t,types:e}){let i=t.length;return r=>{let s="";for(let n=0;n<i;n++)if(s+=t[n],void 0!==r[n]){let t=e[n];t===C?s+=d(r[n]):t===E?s+=A.transform(r[n]):s+=r[n]}return s}}let L={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(c)?.length||0)+(t.match(j)?.length||0)>0},parse:function(t){return R(t).values},createTransformer:function(t){return D(R(t))},getAnimatableNone:function(t){let e=R(t);return D(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:A.test(t)?A.getAnimatableNone(t):t)(t,e.split[i])))}},N=new Set(["brightness","contrast","saturate","opacity"]);function B(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(c)||[];if(!r)return t;let s=i.replace(r,""),n=+!!N.has(e);return r!==i&&(n*=100),e+"("+n+s+")"}let z=/\b([a-z-]*)\(.*?\)/gu,F={...L,getAnimatableNone:t=>{let e=t.match(z);return e?e.map(B).join(" "):t}},I={...L,getAnimatableNone:t=>{let e=L.parse(t);return L.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},O={...l,transform:Math.round},$={borderWidth:k,borderTopWidth:k,borderRightWidth:k,borderBottomWidth:k,borderLeftWidth:k,borderRadius:k,borderTopLeftRadius:k,borderTopRightRadius:k,borderBottomRightRadius:k,borderBottomLeftRadius:k,width:k,maxWidth:k,height:k,maxHeight:k,top:k,right:k,bottom:k,left:k,inset:k,insetBlock:k,insetBlockStart:k,insetBlockEnd:k,insetInline:k,insetInlineStart:k,insetInlineEnd:k,padding:k,paddingTop:k,paddingRight:k,paddingBottom:k,paddingLeft:k,paddingBlock:k,paddingBlockStart:k,paddingBlockEnd:k,paddingInline:k,paddingInlineStart:k,paddingInlineEnd:k,margin:k,marginTop:k,marginRight:k,marginBottom:k,marginLeft:k,marginBlock:k,marginBlockStart:k,marginBlockEnd:k,marginInline:k,marginInlineStart:k,marginInlineEnd:k,fontSize:k,backgroundPositionX:k,backgroundPositionY:k,rotate:b,rotateX:b,rotateY:b,rotateZ:b,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:b,skewX:b,skewY:b,distance:k,translateX:k,translateY:k,translateZ:k,x:k,y:k,z:k,perspective:k,transformPerspective:k,opacity:h,originX:P,originY:P,originZ:k,zIndex:O,fillOpacity:h,strokeOpacity:h,numOctaves:O},U={...$,color:A,backgroundColor:A,outlineColor:A,fill:A,stroke:A,borderColor:A,borderTopColor:A,borderRightColor:A,borderBottomColor:A,borderLeftColor:A,filter:F,WebkitFilter:F,mask:I,WebkitMask:I},W=t=>U[t],H=()=>({translate:0,scale:1,origin:0,originPoint:0}),Y=()=>({x:H(),y:H()}),X=()=>({min:0,max:0}),G=()=>({x:X(),y:X()});var _=t.i(36585);let K=new Set(["width","height","top","left","right","bottom",...n]),q=t=>e=>e.test(t),Z=[l,k,w,b,S,T,{test:t=>"auto"===t,parse:t=>t}],J=t=>Z.find(q(t));var Q=t.i(50109);let tt=()=>{},te=()=>{};Q.default;let ti=t=>e=>"string"==typeof e&&e.startsWith(t),tr=ti("--"),ts=ti("var(--"),tn=t=>!!ts(t)&&to.test(t.split("/*")[0].trim()),to=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ta(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,th=t=>180*t/Math.PI,tu=t=>tc(th(Math.atan2(t[1],t[0]))),td={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tu,rotateZ:tu,skewX:t=>th(Math.atan(t[1])),skewY:t=>th(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tc=t=>((t%=360)<0&&(t+=360),t),tp=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tm,scale:t=>(tp(t)+tm(t))/2,rotateX:t=>tc(th(Math.atan2(t[6],t[5]))),rotateY:t=>tc(th(Math.atan2(-t[2],t[0]))),rotateZ:tu,rotate:tu,skewX:t=>th(Math.atan(t[4])),skewY:t=>th(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tg(t){return+!!t.includes("scale")}function ty(t,e){let i,r;if(!t||"none"===t)return tg(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=tf,r=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=td,r=e}if(!r)return tg(e);let n=i[e],o=r[1].split(",").map(tv);return"function"==typeof n?n(o):o[n]}function tv(t){return parseFloat(t.trim())}let tx=t=>t===l||t===k,tb=new Set(["x","y","z"]),tw=n.filter(t=>!tb.has(t)),tk={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:r})=>{let s=t.max-t.min;return"border-box"===r?s:s-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:r})=>{let s=t.max-t.min;return"border-box"===r?s:s-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:(t,{transform:e})=>ty(e,"x"),y:(t,{transform:e})=>ty(e,"y")};tk.translateX=tk.x,tk.translateY=tk.y;let tT=t=>t,tS={},tP=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tM(t,e){let i=!1,r=!0,s={delta:0,timestamp:0,isProcessing:!1},n=()=>i=!0,o=tP.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 h(e){o.has(e)&&(u.schedule(e),t()),l++,e(a)}let u={schedule:(t,e=!1,n=!1)=>{let a=n&&s?i:r;return e&&o.add(t),a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,s){n=!0;return}s=!0;let o=i;
1i=r,r=o,i.forEach(h),e,l=0,i.clear(),s=!1,n&&(n=!1,u.process(t))}};return u}(n,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:h,preUpdate:u,update:d,preRender:c,render:p,postRender:m}=o,f=()=>{let n=tS.useManualTiming,o=n?s.timestamp:performance.now();i=!1,n||(s.delta=r?1e3/60:Math.max(Math.min(o-s.timestamp,40),1)),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),h.process(s),u.process(s),d.process(s),c.process(s),p.process(s),m.process(s),s.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:tP.reduce((e,n)=>{let a=o[n];return e[n]=(e,n=!1,o=!1)=>(!i&&(i=!0,r=!0,s.isProcessing||t(f)),a.schedule(e,n,o)),e},{}),cancel:t=>{for(let e=0;e<tP.length;e++)o[tP[e]].cancel(t)},state:s,steps:o}}let{schedule:tA,cancel:tj,state:tC,steps:tE}=tM("u">typeof requestAnimationFrame?requestAnimationFrame:tT,!0),tV=new Set,tR=!1,tD=!1,tL=!1;function tN(){if(tD){let t=Array.from(tV).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],tw.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])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tD=!1,tR=!1,tV.forEach(t=>t.complete(tL)),tV.clear()}function tB(){tV.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tD=!0)})}class tz{constructor(t,e,i,r,s,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(tV.add(this),tR||(tR=!0,tA.read(tB),tA.resolveKeyframes(tN))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let s=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])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tV.delete(this)}cancel(){"scheduled"===this.state&&(tV.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tF=new Set([F,I]);function tI(t,e){let i=W(t);return tF.has(i)||(i=L),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tO=new Set(["auto","none","0"]);class t$ extends tz{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&&tn(r=r.trim())){let s=function t(e,i,r=1){te(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,n]=function(t){let e=tl.exec(t);if(!e)return[,];let[,i,r,s]=e;return[`--${i??r}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tn(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(),!K.has(i)||2!==t.length)return;let[r,s]=t,n=J(r),o=J(s);if(ta(r)!==ta(s)&&tk[i]){this.needsMeasurement=!0;return}if(n!==o)if(tx(n)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tk[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!tO.has(e)&&R(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=tI(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=tk[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(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,n=i[s];i[s]=tk[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tU=t=>1e3*t;function tW(t,e){-1===t.indexOf(e)&&t.push(e)}function tH(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tY{constructor(){this.subscriptions=[]}add(t){return tW(this.subscriptions,t),()=>tH(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 tX(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tG(t){let e;return()=>(void 0===e&&(e=t()),e)}let t_={};function tK(t,e){let i=tG(t);return()=>t_[e]??i()}let tq=tK(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tZ=t=>null!==t;function tJ(t,{repeat:e,repeatType:i="loop"},r,s=1){let n=t.filter(tZ),o=s<0||e&&"loop"!==i&&e%2==1?0:n.length-1;return o&&void 0!==r?r:n[o]}class tQ{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let t0={layout:0,mainThread:0,waapi:0},t1=t=>Array.isArray(t)&&"number"==typeof t[0],t2=tK(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t4=(t,e,i=10)=>{let r="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)r+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},t5=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,t3={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t5([0,.65,.55,1]),circOut:t5([.55,0,1,.45]),backIn:t5([.31,.01,.66,-.59]),backOut:t5([.33,1.53,.69,.99])};function t6(t){return"function"==typeof t&&"applyToOptions"in t}class t7 extends tQ{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:n=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=n,this.options=t,te("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t6(t)&&t2()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:s=300,repeat:n=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?t2()?t4(e,i):"ease-out":t1(e)?t5(e):Array.isArray(e)?e.map(e=>t(e,i)||t3.easeOut):t3[e]}(a,s);Array.isArray(d)&&(u.easing=d);let c={delay:r,duration:s,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:n+1,direction:"reverse"===o?"alternate":"normal"};h&&(c.pseudoElement=h);let p=t.animate(u,c);return p}(e,i,r,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=tJ(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tX(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tU(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tq())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tT):r(this)}}let t9=new Set(["opacity","clipPath","filter","transform"]),{schedule:t8}=tM(queueMicrotask,!1);function et(){i=void 0}let ee={now:()=>(void 0===i&&ee.set(tC.isProcessing||tS.useManualTiming?tC.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(et)}};class ei{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ee.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=ee.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 tY);let i=this.events[t].add(e);return"change"===t?()=>{i(),tA.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return e&&e.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=ee.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function er(t,e){return new ei(t,e)}let es=[...Z,A,L],en=new WeakMap;function eo(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ea(t){return"string"==typeof t||Array.isArray(t)}let el=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eh=["initial",...el];function eu(t){return eo(t.animate)||eh.some(e=>ea(t[e]))}function ed(t){return!!(eu(t)||t.variants)}let ec={current:null},ep={current:!1};t.s(["hasReducedMotionListener",0,ep,"prefersReducedMotion",0,ec],20460);let em="u">typeof window;function ef(){if(ep.current=!0,em)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>ec.current=t.matches;t.addEventListener("change",e),e()}else ec.current=!1}function eg(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ey(t,e,i,r){if("function"==typeof e){let[s,n]=eg(r);e=e(void 0!==i?i:t.custom,s,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,n]=eg(r);e=e(void 0!==i?i:t.custom,s,n)}return e}t.s(["initPrefersReducedMotion",0,ef],34907);let ev=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ex={};class eb{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,skipAnimations:s,blockInitialAnimation:n,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tz,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=ee.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tA.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=s,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=eu(e),this.isVariantNode=ed(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in d){const e=d[t];void 0!==l[t]&&(0,_.isMotionValue)(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,en.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)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ep.current||ef(),this.shouldReduceMotion=ec.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tj(this.notifyUpdate),tj(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&t9.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:s,ease:n,duration:o}=e.accelerate,a=new t7({element:this.current,name:t,keyframes:r,times:s,ease:n,duration:tU(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let r=o.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tA.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),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 ex){let e=ex[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];
1e.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):G()}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<ev.length;e++){let i=ev[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let s=e[r],n=i[r];if((0,_.isMotionValue)(s))t.addValue(r,s);else if((0,_.isMotionValue)(n))t.addValue(r,er(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,er(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()}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=er(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let r,s;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let r;r=i,!es.find(q(r))&&L.test(e)&&(i=tI(t,e))}this.setBaseTarget(t,(0,_.isMotionValue)(i)?i.get():i)}return(0,_.isMotionValue)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=ey(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,_.isMotionValue)(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new tY),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t8.render(this.render)}}class ew extends eb{constructor(){super(...arguments),this.KeyframeResolver=t$}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[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,_.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function ek(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eT=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eP=n.length;function eM(t,e,i){let{style:r,vars:s,transformOrigin:a}=t,l=!1,h=!1;for(let t in e){let i=e[t];if(o.has(t)){l=!0;continue}if(tr(t)){s[t]=i;continue}{let e=eT(i,$[t]);t.startsWith("origin")?(h=!0,a[t]=e):r[t]=e}}
1if(!e.transform&&(l||i?r.transform=function(t,e,i){let r="",s=!0;for(let o=0;o<eP;o++){let a=n[o],l=t[a];if(void 0===l)continue;let h=!0;if("number"==typeof l)h=l===+!!a.startsWith("scale");else{let t=parseFloat(l);h=a.startsWith("scale")?1===t:0===t}if(!h||i){let t=eT(l,$[a]);if(!h){s=!1;let e=eS[a]||a;r+=`${e}(${t}) `}i&&(e[a]=t)}}return r=r.trim(),i?r=i(e,s?"":r):s&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;r.transformOrigin=`${t} ${e} ${i}`}}let eA={offset:"stroke-dashoffset",array:"stroke-dasharray"},ej={offset:"strokeDashoffset",array:"strokeDasharray"},eC=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eE(t,{attrX:e,attrY:i,attrScale:r,pathLength:s,pathSpacing:n=1,pathOffset:o=0,...a},l,h,u){if(eM(t,a,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;for(let t of(d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=u?.transformBox??"fill-box",delete d.transformBox),eC))void 0!==d[t]&&(c[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==s&&function(t,e,i=1,r=0,s=!0){t.pathLength=1;let n=s?eA:ej;t[n.offset]=`${-r}`,t[n.array]=`${e} ${i}`}(d,s,n,o,!1)}let eV=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"]),eR=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eD(t,{style:e,vars:i},r,s){let n,o=t.style;for(n in e)o[n]=e[n];for(n in s?.applyProjectionStyles(o,r),i)o.setProperty(n,i[n])}function eL(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eN={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!k.test(t))return t;else t=parseFloat(t);let i=eL(t,e.target.x),r=eL(t,e.target.y);return`${i}% ${r}%`}},eB=(t,e,i)=>t+(e-t)*i,ez={borderRadius:{...eN,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eN,borderTopRightRadius:eN,borderBottomLeftRadius:eN,borderBottomRightRadius:eN,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=L.parse(t);if(r.length>5)return t;let s=L.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=eB(o,a,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}};function eF(t,{layout:e,layoutId:i}){return o.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ez[t]||"opacity"===t)}function eI(t,e,i){let r=t.style,s=e?.style,n={};if(!r)return n;for(let e in r)((0,_.isMotionValue)(r[e])||s&&(0,_.isMotionValue)(s[e])||eF(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(n[e]=r[e]);return n}function eO(t,e,i){let r=eI(t,e,i);for(let i in t)((0,_.isMotionValue)(t[i])||(0,_.isMotionValue)(e[i]))&&(r[-1!==n.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class e$ extends ew{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=G}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=W(e);return t&&t.default||0}return e=eV.has(e)?e:ek(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eO(t,e,i)}build(t,e,i){eE(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in eD(t,e,void 0,r),e.attrs)t.setAttribute(eV.has(i)?i:ek(i),e.attrs[i])}mount(t){this.isSVGTag=eR(t.tagName),super.mount(t)}}function eU({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function eW(t){return void 0===t||1===t}function eH({scale:t,scaleX:e,scaleY:i}){return!eW(t)||!eW(e)||!eW(i)}function eY(t){return eH(t)||eX(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eX(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eG(t,e,i,r,s){return void 0!==s&&(t=r+s*(t-r)),r+i*(t-r)+e}function e_(t,e=0,i=1,r,s){t.min=eG(t.min,e,i,r,s),t.max=eG(t.max,e,i,r,s)}function eK(t,{x:e,y:i}){e_(t.x,e.translate,e.scale,e.originPoint),e_(t.y,i.translate,i.scale,i.originPoint)}function eq(t,e){t.min+=e,t.max+=e}function eZ(t,e,i,r,s=.5){let n=eB(t.min,t.max,s);e_(t,e,i,n,r)}function eJ(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function eQ(t,e,i){let r=i??t;eZ(t.x,eJ(e.x,r.x),e.scaleX,e.scale,e.originX),eZ(t.y,eJ(e.y,r.y),e.scaleY,e.scale,e.originY)}function e0(t,e){return eU(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))}class e1 extends ew{constructor(){super(...arguments),this.type="html",this.renderInstance=eD}readValueFromInstance(t,e){if(o.has(e))return this.projection?.isProjecting?tg(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return ty(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(tr(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e0(t,e)}build(t,e,i){eM(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return eI(t,e,i)}}var e2=t.i(91983);let e4=["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 e5(t){if("string"!=typeof t||t.includes("-"));else if(e4.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e3=t.i(77117);let e6=(0,e2.createContext)({});t.s(["LayoutGroupContext",0,e6],7464);let e7=(0,e2.createContext)({strict:!1});var e9=t.i(53942);let e8=(0,e2.createContext)({});function it(t){return Array.isArray(t)?t.join(" "):t}let ie=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ii(t,e,i){for(let r in e)(0,_.isMotionValue)(e[r])||eF(r,i)||(t[r]=e[r])}let ir=()=>({...ie(),attrs:{}});var is=t.i(42070);function io(t){return(0,_.isMotionValue)(t)?t.get():t}let ia=(0,e2.createContext)(null);t.s(["PresenceContext",0,ia],70338);var il=t.i(34174);let ih=t=>(e,i)=>{let r=(0,e2.useContext)(e8),s=(0,e2.useContext)(ia),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,s){return{latestValues:function(t,e,i,r){let s={},n=r(t,{});for(let t in n)s[t]=io(n[t]);let{initial:o,animate:a}=t,l=eu(t),h=ed(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial,d=(u=u||!1===o)?a:o;if(d&&"boolean"!=typeof d&&!eo(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let r=ey(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=u?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,r,s,t),renderState:e()}})(t,e,r,s);return i?n():(0,il.useConstant)(n)},iu=ih({scrapeMotionValuesFromProps:eI,createRenderState:ie}),id=ih({scrapeMotionValuesFromProps:eO,createRenderState:ir}),ic={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"]},ip=!1;function im(){return!function(){if(ip)return;let t={};for(let e in ic)t[e]={isEnabled:t=>ic[e].some(e=>!!t[e])};ex=t,ip=!0}(),ex}let ig=Symbol.for("motionComponentSymbol"),iy="data-"+ek("framerAppearId"),iv=(0,e2.createContext)({});function ix(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let ib="u">typeof window?e2.useLayoutEffect:e2.useEffect;function iw(t,{forwardMotionProps:e=!1,type:i}={},r,s){r&&function(t){let e=im();for(let i in t)e[i]={...e[i],...t[i]};ex=e}(r);let n=i?"svg"===i:e5(t),o=n?id:iu;function a(i,r){var a;let l,h,u,d={...(0,e2.useContext)(e9.MotionConfigContext),...i,layoutId:function({layoutId:t}){let e=(0,e2.useContext)(e6).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:c}=d,p=function(t){let{initial:e,animate:i}=function(t,e){if(eu(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ea(e)?e:void 0,animate:ea(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e2.useContext)(e8));return(0,e2.useMemo)(()=>({initial:e,animate:i}),[it(e),it(i)])}(i),m=o(i,c);if(!c&&"u">typeof window){(0,e2.useContext)(e7).strict;let e=function(t){let{drag:e,layout:i}=im();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(d);l=e.MeasureLayout,p.visualElement=function(t,e,i,r,s,n){let{visualElement:o}=(0,e2.useContext)(e8),a=(0,e2.useContext)(e7),l=(0,e2.useContext)(ia),h=(0,e2.useContext)(e9.MotionConfigContext),u=h.reducedMotion,d=h.skipAnimations,c=(0,e2.useRef)(null),p=(0,e2.useRef)(!1);r=r||a.renderer,!c.current&&r&&(c.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:d,isSVG:n}),p.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let m=c.current,f=(0,e2.useContext)(iv);m&&!m.projection&&s&&("html"===m.type||"svg"===m.type)&&function(t,e,
1i,r){let{layoutId:s,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:d}=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&&ix(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(c.current,i,s,f);let g=(0,e2.useRef)(!1);(0,e2.useInsertionEffect)(()=>{m&&g.current&&m.update(i,l)});let y=i[iy],v=(0,e2.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return ib(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,e2.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),m.enteringChildren=void 0)}),m}(t,m,d,s,e.ProjectionNode,n)}return(0,e3.jsxs)(e8.Provider,{value:p,children:[l&&p.visualElement?(0,e3.jsx)(l,{visualElement:p.visualElement,...d}):null,function(t,e,i,{latestValues:r},s,n=!1,o){let a=(o??e5(t)?function(t,e,i,r){let s=(0,e2.useMemo)(()=>{let i=ir();return eE(i,e,eR(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ii(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,r,s={},n=(i=t.style||{},ii(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,e2.useMemo)(()=>{let i=ie();return eM(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=n,s})(e,r,s,t),l=(0,is.filterProps)(e,"string"==typeof t,n),h=t!==e2.Fragment?{...l,...a,ref:i}
1:{},{children:u}=e,d=(0,e2.useMemo)(()=>(0,_.isMotionValue)(u)?u.get():u,[u]);return(0,e2.createElement)(t,{...h,children:d})}(t,i,(a=p.visualElement,h=(0,e2.useRef)(r),(0,e2.useInsertionEffect)(()=>{h.current=r}),u=(0,e2.useRef)(null),(0,e2.useCallback)(t=>{t&&m.onMount?.(t);let e=h.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(u.current=i)}else u.current?(u.current(),u.current=null):e(t);else e&&(e.current=t);a&&(t?a.mount(t):a.unmount())},[a])),m,c,e,n)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,e2.forwardRef)(a);return l[ig]=t,l}t.s(["useIsomorphicLayoutEffect",0,ib],36986);class ik{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iT(t,e,i){let r=t.getProps();return ey(r,e,void 0!==i?i:r.custom,t)}var iS=t.i(56192);function iP(t,e){let i=t?.[e]??t?.default??t;return i!==t?(0,iS.resolveTransition)(i,t):i}let iM=t=>Array.isArray(t);function iA(t,e){let i=t.getValue("willChange");if((0,_.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&tS.WillChange){let i=new tS.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let ij=(t,e)=>i=>e(t(i)),iC=(...t)=>t.reduce(ij);function iE(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 iV(t,e){return i=>i>0?e:t}let iR=(t,e,i)=>{let r=t*t,s=i*(e*e-r)+r;return s<0?0:Math.sqrt(s)},iD=[v,y,M];function iL(t){let e=iD.find(e=>e.test(t));if(tt(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===M&&(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=iE(a,r,t+1/3),n=iE(a,r,t),o=iE(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 iN=(t,e)=>{let i=iL(t),r=iL(e);if(!i||!r)return iV(t,e);let s={...i};return t=>(s.red=iR(i.red,r.red,t),s.green=iR(i.green,r.green,t),s.blue=iR(i.blue,r.blue,t),s.alpha=eB(i.alpha,r.alpha,t),y.transform(s))},iB=new Set(["none","hidden"]);function iz(t,e){return i=>eB(t,e,i)}function iF(t){return"number"==typeof t?iz:"string"==typeof t?tn(t)?iV:A.test(t)?iN:i$:Array.isArray(t)?iI:"object"==typeof t?A.test(t)?iN:iO:iV}function iI(t,e){let i=[...t],r=i.length,s=t.map((t,i)=>iF(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=s[e](t);return i}}function iO(t,e){let i={...t,...e},r={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(r[s]=iF(t[s])(t[s],e[s]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let i$=(t,e)=>{let i=L.createTransformer(e),r=R(t),s=R(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 tt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iV(t,e);if(iB.has(t)&&!s.values.length||iB.has(e)&&!r.values.length)return iB.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iC(iI(function(t,e){let i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let n=e.types[s],o=t.indexes[n][r[n]],a=t.values[o]??0;i[s]=a,r[n]++}return i}(r,s),s.values),i)};function iU(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eB(t,e,i):iF(t)(t,e)}let iW=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tA.update(e,t),stop:()=>tj(e),now:()=>tC.isProcessing?tC.timestamp:ee.now()}};function iH(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}let iY=.01,iX=2,iG=.005,i_=.5;function iK(t,e){return t*Math.sqrt(1-e*e)}let iq=["duration","bounce"],iZ=["stiffness","damping","mass"];function iJ(t,e){return e.some(e=>void 0!==t[e])}function iQ(t=.3,e=.3){let i,r,s,n,o,l,h="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:u,restDelta:d}=h,c=h.keyframes[0],p=h.keyframes[h.keyframes.length-1],m={done:!1,value:c},{stiffness:f,damping:g,mass:y,duration:v,velocity:x,isResolvedFromDuration:b}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!iJ(t,iZ)&&iJ(t,iq))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*a(.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;tt(t<=tU(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=a(.05,1,o),t=a(.01,10,t/1e3),o<1?(s=e=>{let r=e*o,s=r*t;return .001-(r-i)/iK(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=iK(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));
1let l=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=tU(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...h,velocity:-((h.velocity||0)/1e3)}),w=x||0,k=g/(2*Math.sqrt(f*y)),T=p-c,S=Math.sqrt(f/y)/1e3,P=5>Math.abs(T);if(u||(u=P?iY:iX),d||(d=P?iG:i_),k<1)s=iK(S,k),n=(w+k*S*T)/s,i=t=>p-Math.exp(-k*S*t)*(n*Math.sin(s*t)+T*Math.cos(s*t)),o=k*S*n+T*s,l=k*S*T-n*s,r=t=>Math.exp(-k*S*t)*(o*Math.sin(s*t)+l*Math.cos(s*t));else if(1===k){i=t=>p-Math.exp(-S*t)*(T+(w+S*T)*t);let t=w+S*T;r=e=>Math.exp(-S*e)*(S*t*e-w)}else{let t=S*Math.sqrt(k*k-1);i=e=>{let i=Math.exp(-k*S*e),r=Math.min(t*e,300);return p-i*((w+k*S*T)*Math.sinh(r)+t*T*Math.cosh(r))/t};let e=(w+k*S*T)/t,s=k*S*e-T*t,n=k*S*T-e*t;r=e=>{let i=Math.exp(-k*S*e),r=Math.min(t*e,300);return i*(s*Math.sinh(r)+n*Math.cosh(r))}}let M={calculatedDuration:b&&v||null,velocity:t=>tU(r(t)),next:t=>{if(!b&&k<1){let e=Math.exp(-k*S*t),i=Math.sin(s*t),r=Math.cos(s*t),a=p-e*(n*i+T*r);return m.done=Math.abs(tU(e*(o*i+l*r)))<=u&&Math.abs(p-a)<=d,m.value=m.done?p:a,m}let e=i(t);return b?m.done=t>=v:m.done=Math.abs(tU(r(t)))<=u&&Math.abs(p-e)<=d,m.value=m.done?p:e,m},toString:()=>{let t=Math.min(iH(M),2e4),e=t4(e=>M.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return M}function i0(t,e,i){var r,s;let n=Math.max(e-5,0);return r=i-t(n),(s=e-n)?1e3/s*r:0}function i1({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:n=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/r),x=t=>y+v(t),b=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?y:i},w=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;d=t,c=iQ({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:i0(x,t,m.value),damping:s,stiffness:n,restDelta:h,restSpeed:u})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,b(t),w(t)),void 0!==d&&t>=d)?c.next(t-d):(e||b(t),m)}}}iQ.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),s=Math.min(iH(r),2e4);return{type:"keyframes",ease:t=>r.next(s*t).value/e,duration:s/1e3}}(t,100,iQ);return t.ease=e.ease,t.duration=tU(e.duration),t.type="keyframes",t};let i2=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i4(t,e,i,r){return t===e&&i===r?tT:s=>0===s||1===s?s:i2(function(t,e,i,r,s){let n,o,a=0;do(n=i2(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 i5=i4(.42,0,1,1),i3=i4(0,0,.58,1),i6=i4(.42,0,.58,1),i7=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i9=t=>e=>1-t(1-e),i8=i4(.33,1.53,.69,.99),rt=i9(i8),re=i7(rt),ri=t=>t>=1?1:(t*=2)<1?.5*rt(t):.5*(2-Math.pow(2,-10*(t-1))),rr=t=>1-Math.sin(Math.acos(t)),rs=i9(rr),rn=i7(rr),ro={linear:tT,easeIn:i5,easeInOut:i6,easeOut:i3,circIn:rr,circInOut:rn,circOut:rs,backIn:rt,backInOut:re,backOut:i8,anticipate:ri},ra=t=>{if(t1(t)){te(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return i4(e,i,r,s)}return"string"==typeof t?(te(void 0!==ro[t],`Invalid easing type '${t}'`,"invalid-easing-type"),ro[t]):t},rl=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function rh({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var s;let n,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(ra):ra(r),l={done:!1,value:e[0]},h=function(t,e,{clamp:i=!0,ease:r,mixer:s}={}){let n=t.length;if(te(n===e.length,"Both input and output ranges must be the same length","range-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());let l=function(t,e,i){let r=[],s=i||tS.mix||iU,n=t.length-1;for(let i=0;i<n;i++){let n=s(t[i],t[i+1]);e&&(n=iC(Array.isArray(e)?e[i]||tT:e,n)),r.push(n)}return r}(e,r,s),h=l.length,u=i=>{if(o&&i<t[0])return e[0];let r=0;if(h>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let s=rl(t[r],t[r+1],i);return l[r](s)};return i?e=>u(a(t[0],t[n-1],e)):u}
1((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let s=rl(0,e,r);t.push(eB(i,1,s))}}(n=[0],e.length-1),n),s.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||i6).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=h(e),l.done=e>=t,l)}}let ru={decay:i1,inertia:i1,tween:rh,keyframes:rh,spring:iQ};function rd(t){"string"==typeof t.type&&(t.type=ru[t.type])}let rc=t=>t/100;class rp extends tQ{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==ee.now()&&this.tick(ee.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},t0.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;rd(t);let{type:e=rh,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:n=0}=t,{keyframes:o}=t,a=e||rh;a!==rh&&"number"!=typeof o[0]&&(this.mixKeyframes=iC(rc,iU(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-n})),null===l.calculatedDuration&&(l.calculatedDuration=iH(l));let{calculatedDuration:h}=l;this.calculatedDuration=h,this.resolvedDuration=h+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:r,totalDuration:s,mixKeyframes:n,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:h}=this;if(null===this.startTime)return r.next(0);let{delay:u=0,keyframes:d,repeat:c,repeatType:p,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let b=this.currentTime,w=r;if(c){let t=Math.min(this.currentTime,s)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/l)):"mirror"===p&&(w=o)),b=a(0,1,i)*l}x?(this.delayState.value=d[0],i=this.delayState):i=w.next(b),n&&!x&&(i.value=n(i.value));let{done:k}=i;x||null===h||(k=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return T&&f!==i1&&(i.value=tJ(d,this.options,y,this.speed)),g&&g(i.value),T&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=tU(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return i0(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(ee.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iW,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ee.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,t0.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let rm={anticipate:ri,backInOut:re,circInOut:rn};class rf extends t7{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rm&&(t.ease=rm[t.ease])}(t),rd(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:s,...n}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new rp({...n,autoplay:!1}),l=Math.max(10,ee.now()-this.startTime),h=a(0,10,l-10),u=o.sample(l).value,{name:d}=this.options;s&&d&&tX(s,d,u),e.setWithVelocity(o.sample(Math.max(0,l-h)).value,u,h),o.stop()}}let rg=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(L.test(t)||"0"===t)&&!t.startsWith("url("));function ry(t){t.duration=0,t.type="keyframes"}let rv=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,rx=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rb=tG(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rw extends tQ{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:n="loop",keyframes:o,name:a,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ee.now();const d={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:n,name:a,motionValue:l,element:h,...u},c=h?.KeyframeResolver||tz;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){let s;this.keyframeResolver=void 0;let{name:n,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:u}=i;this.resolvedAt=ee.now();let d=!0;
1!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=rg(s,e),a=rg(n,e);return tt(o===a,`You are trying to animate ${e} from "${s}" to "${n}". "${o?n:s}" is not an animatable value.`,"value-not-animatable"),!!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||t6(i))&&r)}(t,n,o,a)&&(d=!1,(tS.instantAnimations||!l)&&u?.(tJ(t,i,e)),t[0]=t[t.length-1],ry(i),i.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=d&&!h&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return rb()&&i&&(t9.has(i)||rx.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&rv.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!l&&!r&&"mirror"!==s&&0!==n&&"inertia"!==o}(c),m=c.motionValue?.owner?.current;if(p)try{s=new rf({...c,element:m})}catch{s=new rp(c)}else s=new rp(c);s.finished.then(()=>{this.notifyFinished()}).catch(tT),this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tL=!0,tB(),tN(),tL=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rk={type:"spring",stiffness:500,damping:25,restSpeed:10},rT={type:"keyframes",duration:.8},rS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rP=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rM=(t,e,i,r={},s,n)=>a=>{let l=iP(r,t)||{},h=l.delay||r.delay||0,{elapsed:u=0}=r;u-=tU(h);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-u,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:n?void 0:s};!function(t){for(let e in t)if(!rP.has(e))return!0;return!1}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?rT:o.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rk:rS)(t,d)),d.duration&&(d.duration=tU(d.duration)),d.repeatDelay&&(d.repeatDelay=tU(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(ry(d),0===d.delay&&(c=!0)),(tS.instantAnimations||tS.skipAnimations||s?.shouldSkipAnimations)&&(c=!0,ry(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!n&&void 0!==e.get()){let t=tJ(d.keyframes,l);if(void 0!==t)return void tA.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new rp(d):new rw(d)};function rA(t,e,{delay:i=0,transitionOverride:r,type:s}={}){let{transition:n,transitionEnd:o,...a}=e,l=t.getDefaultTransition();n=n?(0,iS.resolveTransition)(n,l):l;let h=n?.reduceMotion;r&&(n=r);let u=[],d=s&&t.animationState&&t.animationState.getState()[s];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),s=a[e];if(void 0===s||d&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(d,e))continue;let o={delay:i,...iP(n||{},e)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(s)&&s===l&&!o.velocity){tA.update(()=>r.set(s));continue}let c=!1;if(window.MotionHandoffAnimation){let i=t.props[iy];if(i){let t=window.MotionHandoffAnimation(i,e,tA);null!==t&&(o.startTime=t,c=!0)}}iA(t,e);let p=h??t.shouldReduceMotion;r.start(rM(e,r,s,p&&K.has(e)?{type:!1}:o,t,c));let m=r.animation;m&&u.push(m)}if(o){let e=()=>tA.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...s}=iT(t,e)||{};for(let e in s={...s,...i}){var n;let i=iM(n=s[e])?n[n.length-1]||0:n;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,er(i))}}(t,o)});u.length?Promise.all(u).then(e):e()}return u}function rj(t,e,i,r=0,s=1){let n=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(n,o):1===s?n*r:a-n*r}function rC(t,e,i={}){let r=iT(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let n=r?()=>Promise.all(rA(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;
1return function(t,e,i=0,r=0,s=0,n=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(rC(l,e,{...o,delay:i+("function"==typeof r?0:r)+rj(t.variantChildren,l,r,s,n)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,n,o,a,i)}:()=>Promise.resolve(),{when:a}=s;if(!a)return Promise.all([n(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[n,o]:[o,n];return t().then(()=>e())}}let rE=eh.length;function rV(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}let rR=[...el].reverse(),rD=el.length;function rL(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rN(){return{animate:rL(!0),whileInView:rL(),whileHover:rL(),whileTap:rL(),whileDrag:rL(),whileFocus:rL(),exit:rL()}}let rB=0;function rz(t){return[t("x"),t("y")]}function rF(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let rI={x:!1,y:!1};function rO(t){return t.max-t.min}function r$(t,e,i,r=.5){t.origin=r,t.originPoint=eB(e.min,e.max,t.origin),t.scale=rO(i)/rO(e),t.translate=eB(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 rU(t,e,i,r){r$(t.x,e.x,i.x,r?r.originX:void 0),r$(t.y,e.y,i.y,r?r.originY:void 0)}function rW(t,e,i,r=0){t.min=(r?eB(i.min,i.max,r):i.min)+e.min,t.max=t.min+rO(e)}function rH(t,e,i,r=0){let s=r?eB(i.min,i.max,r):i.min;t.min=e.min-s,t.max=t.min+rO(e)}function rY(t,e,i,r){rH(t.x,e.x,i.x,r?.x),rH(t.y,e.y,i.y,r?.y)}function rX(t){return"object"==typeof t&&null!==t}function rG(t){return rX(t)&&"ownerSVGElement"in t}function r_(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=i?.[t]??r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}let rK=new WeakMap,rq=(t,e,i)=>(r,s)=>s&&s[0]?s[0][t+"Size"]:rG(r)&&"getBBox"in r?r.getBBox()[e]:r[i],rZ=rq("inline","width","offsetWidth"),rJ=rq("block","height","offsetHeight");function rQ({target:t,borderBoxSize:e}){rK.get(t)?.forEach(i=>{i(t,{get width(){return rZ(t,e)},get height(){return rJ(t,e)}})})}function r0(t){t.forEach(rQ)}let r1=new Set;function r2(t,e){let i;return"function"==typeof t?(r1.add(t),s||(s=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};r1.forEach(e=>e(t))},window.addEventListener("resize",s)),()=>{r1.delete(t),r1.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(r0)),(i=r_(t)).forEach(t=>{let i=rK.get(t);i||(i=new Set,rK.set(t,i)),i.add(e),r?.observe(t)}),()=>{i.forEach(t=>{let i=rK.get(t);i?.delete(e),i?.size||r?.unobserve(t)})})}let r4=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),r5=new Set(["INPUT","SELECT","TEXTAREA"]),r3=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function r6(t){return{point:{x:t.pageX,y:t.pageY}}}function r7(t,e,i,r){return rF(t,e,t=>r3(t)&&i(t,r6(t)),r)}let r9=({current:t})=>t?t.ownerDocument.defaultView:null,r8=(t,e)=>Math.abs(t-e),st=new Set(["auto","scroll"]);class se{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:s=!1,distanceThreshold:n=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=si(this.lastRawMoveEventInfo,this.transformPagePoint));let i=ss(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(r8(t.x,e.x)**2+r8(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!s)return;let{point:n}=i,{timestamp:o}=tC;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)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=si(e,this.transformPagePoint),tA.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=ss("pointercancel"===t.type?this.lastMoveEventInfo:si(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!r3(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=r||window;const a=si(r6(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=tC;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,ss(a,this.history)),this.removeListeners=iC(r7(this.contextWindow,"pointermove",this.handlePointerMove),r7(this.contextWindow,"pointerup",this.handlePointerUp),r7(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(st.has(t.overflowX)||st.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:r.x-e.x,y:r.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,r),tA.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tj(this.updatePoint)}}function si(t,e){return e?{point:e(t.point)}:t}function sr(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ss({point:t},e){return{point:t,delta:sr(t,sn(e)),offset:sr(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=sn(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>tU(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>
12*tU(.1)&&(i=t[1]);let s=(r.timestamp-i.timestamp)/1e3;if(0===s)return{x:0,y:0};let n={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function sn(t){return t[t.length-1]}function so(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 sa(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 sl(t,e,i){return{min:sh(t,e),max:sh(t,i)}}function sh(t,e){return"number"==typeof t?t:t[e]||0}let su=new WeakMap;class sd{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=G(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let s=t=>{e&&this.snapToCursor(r6(t).point),this.stopAnimation()},n=(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(rI[t])return null;else return rI[t]=!0,()=>{rI[t]=!1};return rI.x||rI.y?null:(rI.x=rI.y=!0,()=>{rI.x=rI.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rz(t=>{let e=this.getAxisMotionValue(t).get()||0;if(w.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=rO(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&tA.update(()=>s(t,e),!1,!0),iA(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=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&&tA.update(()=>n(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new se(t,{onSessionStart:s,onStart:n,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:r9(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!r||!i)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:o}=this.getProps();o&&tA.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!sp(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?eB(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?eB(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&ix(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:so(t.x,i,s),y:so(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:sl(t,"left","right"),y:sl(t,"top","bottom")}}(e),r!==this.constraints&&!ix(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&rz(t=>{var e,r;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],s={},void 0!==r.min&&(s.min=r.min-e.min),void 0!==r.max&&(s.max=r.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!ix(e))return!1;let r=e.current;te(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;
1let n=function(t,e,i){let r=e0(t,i),{scroll:s}=e;return s&&(eq(r.x,s.offset.x),eq(r.y,s.offset.y)),r}(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:sa(t.x,n.x),y:sa(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=eU(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(rz(o=>{if(!sp(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===n||n===o)&&(l={min:0,max:0});let h={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,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iA(this.visualElement,t),i.start(rM(t,i,0,e,this.visualElement,!1))}stopAnimation(){rz(t=>this.getAxisMotionValue(t).stop())}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){rz(e=>{let{drag:i}=this.getProps();if(!sp(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],o=s.get()||0;s.set(t[e]-eB(i,n,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!ix(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rz(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,o,l,h=e.get();r[t]=(i={min:h,max:h},s=this.constraints[t],n=.5,o=rO(i),(l=rO(s))>o?n=rl(s.min,s.max-o,i.min):o>l&&(n=rl(i.min,i.max-l,s.min)),a(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.constraints=!1,this.resolveConstraints(),rz(e=>{if(!sp(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set(eB(s,n,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;su.set(this.visualElement,this);let e=this.visualElement.current,i=r7(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),s=t.target,n=s!==e&&(r5.has(s.tagName)||!0===s.isContentEditable);i&&r&&!n&&this.start(t)}),r=()=>{var i,r,s;let n,o,{dragConstraints:a}=this.getProps();ix(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=a.current,n=r2(i,sc(s=()=>this.scalePositionWithinConstraints())),o=r2(r,sc(s)),t=()=>{n(),o()}))},{projection:s}=this.visualElement,n=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),tA.read(r);let o=rF(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rz(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),n(),a&&a(),t&&t()}}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 sc(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function sp(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let sm=t=>(e,i)=>{t&&tA.update(()=>t(e,i),!1,!0)},sf={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var sg=e2;function sy(t=!0){let e=(0,e2.useContext)(ia);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:s}=e,n=(0,e2.useId)();(0,e2.useEffect)(()=>{if(t)return s(n)},[t]);let o=(0,e2.useCallback)(()=>t&&r&&r(n),[n,r,t]);return!i&&r?[!1,o]:[!0]}t.s(["usePresence",0,sy],18015);let sv=!1;class sx extends sg.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),sv&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),sf.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:s}=this.props,{projection:n}=i;return n&&(n.isPresent=s,t.layoutDependency!==e&&n.setOptions({...n.options,layoutDependency:e}),sv=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==s?n.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?n.promote():n.relegate()||tA.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),t8.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;sv=!0,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}}
1function sb(t){let[e,i]=sy(),r=(0,sg.useContext)(e6);return(0,e3.jsx)(sx,{...t,layoutGroup:r,switchLayoutGroup:(0,sg.useContext)(iv),isPresent:e,safeToRemove:i})}let sw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],sk=sw.length,sT=t=>"string"==typeof t?parseFloat(t):t,sS=t=>"number"==typeof t||k.test(t);function sP(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let sM=sj(0,.5,rs),sA=sj(.5,.95,tT);function sj(t,e,i){return r=>r<t?0:r>e?1:i(rl(t,e,r))}function sC(t,e){t.min=e.min,t.max=e.max}function sE(t,e){sC(t.x,e.x),sC(t.y,e.y)}function sV(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function sR(t,e,i,r,s){return t-=e,t=r+1/i*(t-r),void 0!==s&&(t=r+1/s*(t-r)),t}function sD(t,e,[i,r,s],n,o){!function(t,e=0,i=1,r=.5,s,n=t,o=t){if(w.test(e)&&(e=parseFloat(e),e=eB(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eB(n.min,n.max,r);t===n&&(a-=e),t.min=sR(t.min,e,i,a,s),t.max=sR(t.max,e,i,a,s)}(t,e[i],e[r],e[s],e.scale,n,o)}let sL=["x","scaleX","originX"],sN=["y","scaleY","originY"];function sB(t,e,i,r){sD(t.x,e,sL,i?i.x:void 0,r?r.x:void 0),sD(t.y,e,sN,i?i.y:void 0,r?r.y:void 0)}function sz(t){return 0===t.translate&&1===t.scale}function sF(t){return sz(t.x)&&sz(t.y)}function sI(t,e){return t.min===e.min&&t.max===e.max}function sO(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function s$(t,e){return sO(t.x,e.x)&&sO(t.y,e.y)}function sU(t){return rO(t.x)/rO(t.y)}function sW(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class sH{constructor(){this.members=[]}add(t){tW(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||(tH(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tH(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)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:s}=t.options;(void 0===r||r!==s)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let sY=(t,e)=>t.depth-e.depth;class sX{constructor(){this.children=[],this.isDirty=!1}add(t){tW(this.children,t),this.isDirty=!0}remove(t){tH(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sY),this.isDirty=!1,this.children.forEach(t)}}let sG=["","X","Y","Z"],s_=0;function sK(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function sq({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=s_++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
1{this.projectionUpdateScheduled=!1,this.nodes.forEach(sQ),this.nodes.forEach(s9),this.nodes.forEach(s8),this.nodes.forEach(s0)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 sX)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tY),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){if(this.instance)return;this.isSVG=rG(e)&&!(rG(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,s=()=>this.root.updateBlockedByResize=!1;tA.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,n;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=ee.now(),n=({timestamp:t})=>{let i=t-e;i>=250&&(tj(n),s(i-250))},tA.setup(n,!0),i=()=>tj(n),sf.hasAnimatedSinceResize&&(sf.hasAnimatedSinceResize=!1,this.nodes.forEach(s7))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||nn,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!s$(this.targetLayout,r),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iP(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||s7(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,this.eventHandlers.clear(),tj(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(nt),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=i.props[iy];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",tA,!(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,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!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()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(s4),this.nodes.forEach(s2);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(s5);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(s3),this.nodes.forEach(s6),this.nodes.forEach(sZ),this.nodes.forEach(sJ)):this.nodes.forEach(s5),this.clearAllSnapshots();let t=ee.now();tC.delta=a(0,1e3/60,t-tC.timestamp),tC.timestamp=t,tC.isProcessing=!0,tE.update.process(tC),tE.preRender.process(tC),tE.render.process(tC),tC.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t8.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(s1),this.sharedNodes.forEach(ne)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tA.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tA.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rO(this.snapshot.measuredBox.x)||rO(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.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=G()),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&&this.instance){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&&!sF(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||eY(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)),nl((e=r).x),nl(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return G();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nu))){let{scroll:t}=this.root;t&&(eq(e.x,t.offset.x),eq(e.y,t.offset.y))}return e}removeElementScroll(t){let e=G();if(sE(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:s,options:n}=r;r!==this.root&&s&&n.layoutScroll&&(s.wasRoot&&sE(e,t),eq(e.x,s.offset.x),eq(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let r=i||G();sE(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(eq(r.x,-i.scroll.offset.x),eq(r.y,-i.scroll.offset.y)),eY(i.latestValues)&&eQ(r,i.latestValues,i.layout?.layoutBox)}return eY(this.latestValues)&&eQ(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(t){let e=G();sE(e,t);for(let t=0;t<this.path.length;t++){let i,r=this.path[t];eY(r.latestValues)&&(r.instance&&(eH(r.latestValues)&&r.updateSnapshot(),sE(i=G(),r.measurePageBox())),sB(e,r.latestValues,r.snapshot?.layoutBox,i))}return eY(this.latestValues)&&sB(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!==tC.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:s}=this.options;if(!this.layout||!(r||s))return;this.resolvedRelativeTargetAt=tC.timestamp;let n=this.getClosestProjectingParent();if(n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=G(),this.targetWithTransforms=G()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,h;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,h=this.options.layoutAnchor||void 0,rW(o.x,a.x,l.x,h?.x),rW(o.y,a.y,l.y,h?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):sE(this.target,this.layout.layoutBox),eK(this.target,this.targetDelta)):sE(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&n&&!!n.resumingFrom==!!this.resumingFrom&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eH(this.parent.latestValues)||eX(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=G(),this.relativeTargetOrigin=G(
1),rY(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),sE(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tC.timestamp&&(i=!1),i)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;sE(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,o=this.treeScale.y;!function(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&&(eq(t.x,-s.scroll.offset.x),eq(t.y,-s.scroll.offset.y)),n&&(e.x*=n.x.scale,e.y*=n.y.scale,eK(t,n)),r&&eY(s.latestValues)&&eQ(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=G());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(sV(this.prevProjectionDelta.x,this.projectionDelta.x),sV(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rU(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===o&&sW(this.projectionDelta.x,this.prevProjectionDelta.x)&&sW(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Y(),this.projectionDelta=Y(),this.projectionDeltaWithTransform=Y()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,s=r?r.latestValues:{},n={...this.latestValues},o=Y();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=G(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(ns));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(ni(o.x,t.x,r),ni(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m,f,g;rY(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,m=this.relativeTargetOrigin,f=a,g=r,nr(p.x,m.x,f.x,g),nr(p.y,m.y,f.y,g),i&&(h=this.relativeTarget,c=i,sI(h.x,c.x)&&sI(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=G()),sE(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,r,s,n){s?(t.opacity=eB(0,i.opacity??1,sM(r)),t.opacityExit=eB(e.opacity??1,0,sA(r))):n&&(t.opacity=eB(e.opacity??1,i.opacity??1,r));for(let s=0;s<sk;s++){let n=sw[s],o=sP(e,n),a=sP(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||sS(o)===sS(a)?(t[n]=Math.max(eB(sT(o),sT(a),r),0),(w.test(a)||w.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=eB(e.rotate||0,i.rotate||0,r))}(n,s,this.latestValues,r,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tj(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tA.update(()=>{var e,i,r;let s;sf.hasAnimatedSinceResize=!0,t0.layout++,this.motionValue||(this.motionValue=er(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],r={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t0.layout--},onComplete:()=>{t0.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=(0,_.isMotionValue)(e)?e:er(e)).start(rM("",s,i,r)),s.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let 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&&nh(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||G();let e=rO(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=rO(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}sE(e,i),eQ(e,s),rU(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new sH),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(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.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&&sK("z",t,r,this.animationValues);for(let e=0;e<sG.length;e++)sK(`rotate${sG[e]}`,t,r,this.animationValues),sK(`skew${sG[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()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=io(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=io(e?.pointerEvents)||""),this.hasProjected&&!eY(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=r.animationValues||r.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,o=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,s);i&&(n=i(s,n)),t.transform=n;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,ez){if(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=ez[e],l="none"===n?s[e]:i(s[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?io(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(s2),this.root.sharedNodes.clear()}}}function sZ(t){t.updateLayout()}function sJ(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,n=e.source!==t.layout.source;if("size"===s)rz(t=>{let r=n?e.measuredBox[t]:e.layoutBox[t],s=rO(r);r.min=i[t].min,r.max=r.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";sC(n?e.measuredBox[t]:e.layoutBox[t],i[t])}else nh(s,e.layoutBox,i)&&rz(r=>{let s=n?e.measuredBox[r]:e.layoutBox[r],o=rO(i[r]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=Y();rU(o,i,e.layoutBox);let a=Y();n?rU(a,t.applyTransform(r,!0),e.measuredBox):rU(a,i,e.layoutBox);let l=!sF(o),h=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let o=t.options.layoutAnchor||void 0,a=G();rY(a,e.layoutBox,s.layoutBox,o);let l=G();rY(l,i,n.layoutBox,o),s$(a,l)||(h=!0),r.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function sQ(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function s0(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function s1(t){t.clearSnapshot()}function s2(t){t.clearMeasurements()}function s4(t){t.isLayoutDirty=!0,t.updateLayout()}function s5(t){t.isLayoutDirty=!1}function s3(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function s6(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function s7(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function s9(t){t.resolveTargetDelta()}function s8(t){t.calcProjection()}function nt(t){t.resetSkewAndRotation()}function ne(t){t.removeLeadSnapshot()}function ni(t,e,i){t.translate=eB(e.translate,0,i),t.scale=eB(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nr(t,e,i,r){t.min=eB(e.min,i.min,r),t.max=eB(e.max,i.max,r)}function ns(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nn={duration:.45,ease:[.4,0,.1,1]},no=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),na=no("applewebkit/")&&!no("chrome/")?Math.round:tT;function nl(t){t.min=na(t.min),t.max=na(t.max)}function nh(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(sU(e)-sU(i)))}function nu(t){return t!==t.root&&t.scroll?.wasRoot}let nd=sq({attachResizeListener:(t,e)=>rF(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),nc={current:void 0},np=sq({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nc.current){let t=new nd({});t.mount(window),t.setOptions({layoutScroll:!0}),nc.current=t}return nc.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nm(t,e){let i=r_(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function nf(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&tA.postRender(()=>s(e,r6(e)))}function ng(t){return rX(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}t.s(["isHTMLElement",0,ng],50438);let ny=(t,e)=>!!e&&(t===e||ny(t,e.parentElement)),nv=new WeakSet;function nx(t){return e=>{"Enter"===e.key&&t(e)}}function nb(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function nw(t){return r3(t)&&!(rI.x||rI.y)}let nk=new WeakSet;function nT(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&&tA.postRender(()=>s(e,r6(e)))}let nS=new WeakMap,nP=new WeakMap,nM=t=>{let e=nS.get(t.target);e&&e(t)},nA=t=>{t.forEach(nM)},nj={some:0,all:1},nC=function(t,e){if("u"<typeof Proxy)return iw;let i=new Map,r=(i,r)=>iw(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(s,n)=>"create"===n?r:(i.has(n)||i.set(n,iw(n,void 0,t,e)),i.get(n))})}({animation:{Feature:class extends ik{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>rC(t,e,i)));else if("string"==typeof e)r=rC(t,e,i);else{let s="function"==typeof e?iT(t,e,i.custom):e;r=Promise.all(rA(t,s,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rN(),r=!0,s=!1,n=e=>(i,r)=>{let s=iT(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...r}=s;i={...i,...r,...e}}return i};function o(o){let{props:a}=t,l=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<rE;t++){let r=eh[t],s=e.props[r];
1(ea(s)||!1===s)&&(i[r]=s)}return i}(t.parent)||{},h=[],u=new Set,d={},c=1/0;for(let e=0;e<rD;e++){var p,m;let f=rR[e],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=ea(y),x=f===o?g.isActive:null;!1===x&&(c=e);let b=y===l[f]&&y!==a[f]&&v;if(b&&(r||s)&&t.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...d},!g.isActive&&null===x||!y&&!g.prevProp||eo(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(d={...d,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(m=y)?m!==p:!!Array.isArray(m)&&!rV(m,p)),k=w||f===o&&g.isActive&&!b&&v||e>c&&v,T=!1,S=Array.isArray(y)?y:[y],P=S.reduce(n(f),{});!1===x&&(P={});let{prevResolvedValues:M={}}=g,A={...M,...P},j=e=>{k=!0,u.has(e)&&(T=!0,u.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in A){let e=P[t],i=M[t];if(!d.hasOwnProperty(t))(iM(e)&&iM(i)?rV(e,i):e===i)?void 0!==e&&u.has(t)?j(t):g.protectedKeys[t]=!0:null!=e?j(t):u.add(t)}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(d={...d,...P}),(r||s)&&t.blockInitialAnimation&&(k=!1);let C=b&&w,E=!C||T;k&&E&&h.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&(r||s)&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,s=iT(r,e);if(r.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=rj(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof a.initial){let i=iT(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=r??null}),h.push({animation:e})}let f=!!h.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),r=!1,s=!1,f?e(h):Promise.resolve()}return{animateChanges:o,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let s=o(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rN(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eo(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(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends ik{constructor(){super(...arguments),this.id=rB++,this.isExitComplete=!1}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;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let i=iT(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...r}=i;for(let t in r)this.node.getValue(t)?.jump(r[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends ik{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();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:nj[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)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;nP.has(i)||nP.set(i,{});let r=nP.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(nA,{root:t,...e})),r[s]}(a),nS.set(t,l),e.observe(t),()=>{nS.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<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(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends ik{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[r,s,n]=nm(t,i),o=t=>{let r=t.currentTarget;if(!nw(t)||nk.has(t))return;nv.add(r),i.stopPropagation&&nk.add(t);let n=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),nv.has(r)&&nv.delete(r),nw(t)&&"function"==typeof n&&n(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||ny(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),ng(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=nx(()=>{if(nv.has(i))return;nb(i,"down");let t=nx(()=>{nb(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>nb(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,s)),r4.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),n}(t,(t,e)=>(nT(this.node,e,"Start"),(t,{success:e})=>nT(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends ik{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=iC(rF(this.node.current,"focus",()=>this.onFocus()),rF(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ik{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,s,n]=nm(t,i);return r.forEach(t=>{let i,r=!1,n=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),n&&(n=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(r){n=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||rI.x||rI.y)return;n=!1;let o=e(t,r);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),n}(t,(t,e)=>(nf(this.node,e,"Start"),t=>nf(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends ik{constructor(){super(...arguments),this.removePointerDownListener=tT}onPointerDown(t){this.session=new se(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r9(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:sm(t),onStart:sm(e),onMove:sm(i),onEnd:(t,e)=>{delete this.session,r&&tA.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=r7(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ik{constructor(t){super(t),this.removeGroupControls=tT,this.removeListeners=tT,this.controls=new sd(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tT}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:np,MeasureLayout:sb},layout:{ProjectionNode:np,MeasureLayout:sb}},(t,e)=>e.isSVG??e5(t)?new e$(e):new e1(e,{allowProjection:t!==e2.Fragment}));t.s(["motion",0,nC],12086)},809,t=>{"use strict";var e=t.i(77117),i=t.i(12086),r=t.i(23150);t.s(["WhatsAppButton",0,function(){let{t}=(0,r.useTranslation)(),s=encodeURIComponent(t("whatsappButton.messageParam"));return(0,e.jsxs)(i.motion.a,{href:`https://wa.me/5493518131674?text=${s}`,target:"_blank",rel:"noopener noreferrer",initial:{scale:0,opacity:0}
1,animate:{scale:1,opacity:1},transition:{delay:1,type:"spring",stiffness:200},whileHover:{scale:1.05},whileTap:{scale:.95},className:"fixed bottom-6 right-6 z-50 flex items-center gap-3 bg-[#25D366] hover:bg-[#128C7E] text-white px-5 py-3.5 rounded-full shadow-lg shadow-[#25D366]/30 transition-colors group","aria-label":t("whatsappButton.ariaLabel"),children:[(0,e.jsx)("svg",{viewBox:"0 0 24 24",className:"w-6 h-6 fill-current","aria-hidden":"true",children:(0,e.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})}),(0,e.jsx)("span",{className:"font-semibold text-sm hidden sm:inline",children:t("whatsappButton.label")}),(0,e.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 rounded-full bg-[#25D366] animate-pulse opacity-15",style:{animationDuration:"3s"}})]})}])}]);
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.