(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66353,t=>{"use strict";var e=t.i(35152);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 n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,e.forwardRef)(({color:t="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:h,...u},d)=>(0,e.createElement)("svg",{ref:d,...n,width:r,height:r,stroke:t,strokeWidth:o?24*Number(s)/Number(r):s,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,n)=>{let o=(0,e.forwardRef)(({className:o,...a},l)=>(0,e.createElement)(s,{ref:l,iconNode:n,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}],66353)},55267,75304,t=>{"use strict";let e,i,r,n,s;var o=t.i(77598),a=t.i(35152);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=((s=a.forwardRef((t,e)=>{let{children:i,...r}=t;if(d(i)&&"function"==typeof u&&(i=u(i._payload)),a.isValidElement(i)){var n;let t,s,o=(n=i,(s=(t=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?n.ref:(s=(t=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?n.props.ref:n.props.ref||n.ref),h=function(t,e){let i={...e};for(let r in e){let n=t[r],s=e[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].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;e1?a.Children.only(null):null})).displayName="Slot.SlotClone",e=s,(i=a.forwardRef((t,i)=>{let{children:r,...n}=t;d(r)&&"function"==typeof u&&(r=u(r._payload));let s=a.Children.toArray(r),l=s.find(p);if(l){let t=l.props.children,r=s.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,{...n,ref:i,children:a.isValidElement(t)?a.cloneElement(t,void 0,r):null})}return(0,o.jsx)(e,{...n,ref:i,children:r})})).displayName="Slot.Slot",i),m=Symbol("radix.slottable");function p(t){return a.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===m}function f(){for(var t,e,i=0,r="",n=arguments.length;i"boolean"==typeof t?`${t}`:0===t?"0":t,y=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),v=[],x=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],n=i.nextPart.get(r);if(n){let i=x(t,e+1,n);if(i)return i}let s=i.validators;if(null===s)return;let o=0===e?t.join("-"):t.slice(e).join("-"),a=s.length;for(let t=0;t{let i=y();for(let r in t)w(t[r],i,r,e);return i},w=(t,e,i,r)=>{let n=t.length;for(let s=0;s{"string"==typeof t?S(t,e,i):"function"==typeof t?T(t,e,i,r):P(t,e,i,r)},S=(t,e,i)=>{(""===t?e:j(e,t)).classGroupId=i},T=(t,e,i,r)=>{A(t)?w(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},P=(t,e,i,r)=>{let n=Object.entries(t),s=n.length;for(let t=0;t{let i=t,r=e.split("-"),n=r.length;for(let t=0;t"isThemeGetter"in t&&!0===t.isThemeGetter,M=[],E=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),C=/\s+/,V=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r{let e=e=>e[t]||N;return e.isThemeGetter=!0,e},R=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,L=/^\((?:(\w[\w-]*):)?(.+)\)$/i,z=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,I=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B=/\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$/,F=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,O=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,W=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=t=>z.test(t),$=t=>!!t&&!Number.isNaN(Number(t)),H=t=>!!t&&Number.isInteger(Number(t)),K=t=>t.endsWith("%")&&$(t.slice(0,-1)),G=t=>I.test(t),Y=()=>!0,X=t=>B.test(t)&&!F.test(t),q=()=>!1,_=t=>O.test(t),Z=t=>W.test(t),J=t=>!tt(t)&&!tl(t),Q=t=>tg(t,tb,q),tt=t=>R.test(t),te=t=>tg(t,tw,X),ti=t=>tg(t,tk,$),tr=t=>tg(t,tT,Y),tn=t=>tg(t,tS,q),ts=t=>tg(t,tv,q),to=t=>tg(t,tx,Z),ta=t=>tg(t,tP,_),tl=t=>L.test(t),th=t=>ty(t,tw),tu=t=>ty(t,tS),td=t=>ty(t,tv),tc=t=>ty(t,tb),tm=t=>ty(t,tx),tp=t=>ty(t,tP,!0),tf=t=>ty(t,tT,!0),tg=(t,e,i)=>{let r=R.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},ty=(t,e,i=!1)=>{let r=L.exec(t);return!!r&&(r[1]?e(r[1]):i)},tv=t=>"position"===t||"percentage"===t,tx=t=>"image"===t||"url"===t,tb=t=>"length"===t||"size"===t||"bg-size"===t,tw=t=>"length"===t,tk=t=>"number"===t,tS=t=>"family-name"===t,tT=t=>"number"===t||"weight"===t,tP=t=>"shadow"===t,tj=((t,...e)=>{let i,r,n,s,o=t=>{let e=r(t);if(e)return e;let s=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(C),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:h,modifiers:u,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:m}=i(e);if(h){l=e+(l.length>0?" "+l:l);continue}let p=!!m,f=r(p?c.substring(0,m):c);if(!f){if(!p||!(f=r(c))){l=e+(l.length>0?" "+l:l);continue}p=!1}let g=0===u.length?"":1===u.length?u[0]:s(u).join(":"),y=d?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let x=n(f,p);for(let t=0;t0?" "+l:l)}return l})(t,i);return n(t,s),s};return s=a=>{var l;let h;return r=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++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])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})((l=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;as?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):E(M,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(l),sortModifiers:(h=new Map,l.orderSensitiveModifiers.forEach((t,e)=>{h.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return b(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,n;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(n=e.slice(0,r))?"arbitrary.."+n:void 0)}let r=t.split("-"),n=+(""===r[0]&&r.length>1);return x(r,n,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=r[t],n=i[t];if(e){if(n){let t=Array(n.length+e.length);for(let e=0;es(((...t)=>{let e,i,r=0,n="";for(;r{let t=D("color"),e=D("font"),i=D("text"),r=D("font-weight"),n=D("tracking"),s=D("leading"),o=D("breakpoint"),a=D("container"),l=D("spacing"),h=D("radius"),u=D("shadow"),d=D("inset-shadow"),c=D("text-shadow"),m=D("drop-shadow"),p=D("blur"),f=D("perspective"),g=D("aspect"),y=D("ease"),v=D("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...b(),tl,tt],k=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],T=()=>[tl,tt,l],P=()=>[U,"full","auto",...T()],j=()=>[H,"none","subgrid",tl,tt],A=()=>["auto",{span:["full",H,tl,tt]},H,tl,tt],M=()=>[H,"auto",tl,tt],E=()=>["auto","min","max","fr",tl,tt],C=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],N=()=>["auto",...T()],R=()=>[U,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],L=()=>[U,"screen","full","dvw","lvw","svw","min","max","fit",...T()],z=()=>[U,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],I=()=>[t,tl,tt],B=()=>[...b(),td,ts,{position:[tl,tt]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],O=()=>["auto","cover","contain",tc,Q,{size:[tl,tt]}],W=()=>[K,th,te],X=()=>["","none","full",h,tl,tt],q=()=>["",$,th,te],_=()=>["solid","dashed","dotted","double"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tg=()=>[$,K,td,ts],ty=()=>["","none",p,tl,tt],tv=()=>["none",$,tl,tt],tx=()=>["none",$,tl,tt],tb=()=>[$,tl,tt],tw=()=>[U,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[G],breakpoint:[G],color:[Y],container:[G],"drop-shadow":[G],ease:["in","out","in-out"],font:[J],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[G],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[G],shadow:[G],spacing:["px",$],text:[G],"text-shadow":[G],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",U,tt,tl,g]}],container:["container"],columns:[{columns:[$,tt,tl,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"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:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[H,"auto",tl,tt]}],basis:[{basis:[U,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$,U,"auto","initial","none",tt]}],grow:[{grow:["",$,tl,tt]}],shrink:[{shrink:["",$,tl,tt]}],order:[{order:[H,"first","last","none",tl,tt]}],"grid-cols":[{"grid-cols":j()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":j()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...C(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...C()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":C()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:N()}],mx:[{mx:N()}],my:[{my:N()}],ms:[{ms:N()}],me:[{me:N()}],mbs:[{mbs:N()}],mbe:[{mbe:N()}],mt:[{mt:N()}],mr:[{mr:N()}],mb:[{mb:N()}],ml:[{ml:N()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:R()}],"inline-size":[{inline:["auto",...L()]}],"min-inline-size":[{"min-inline":["auto",...L()]}],"max-inline-size":[{"max-inline":["none",...L()]}],"block-size":[{block:["auto",...z()]}],"min-block-size":[{"min-block":["auto",...z()]}],"max-block-size":[{"max-block":["none",...z()]}],w:[{w:[a,"screen",...R()]}],"min-w":[{"min-w":[a,"screen","none",...R()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...R()]}],h:[{h:["screen","lh",...R()]}],"min-h":[{"min-h":["screen","lh","none",...R()]}],"max-h":[{"max-h":["screen","lh",...R()]}],"font-size":[{text:["base",i,th,te]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,tf,tr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",K,tt]}],"font-family":[{font:[tu,tn,e]}],"font-features":[{"font-features":[tt]}],"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:[n,tl,tt]}],"line-clamp":[{"line-clamp":[$,"none",tl,ti]}],leading:[{leading:[s,...T()]}],"list-image":[{"list-image":["none",tl,tt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",tl,tt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:[$,"from-font","auto",tl,te]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[$,"auto",tl,tt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",tl,tt]}],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",tl,tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H,tl,tt],radial:["",tl,tt],conic:[H,tl,tt]},tm,to]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:W()}],"gradient-via-pos":[{via:W()}],"gradient-to-pos":[{to:W()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:q()}],"border-w-x":[{"border-x":q()}],"border-w-y":[{"border-y":q()}],"border-w-s":[{"border-s":q()}],"border-w-e":[{"border-e":q()}],"border-w-bs":[{"border-bs":q()}],"border-w-be":[{"border-be":q()}],"border-w-t":[{"border-t":q()}],"border-w-r":[{"border-r":q()}],"border-w-b":[{"border-b":q()}],"border-w-l":[{"border-l":q()}],"divide-x":[{"divide-x":q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._(),"hidden","none"]}],"divide-style":[{divide:[..._(),"hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-bs":[{"border-bs":I()}],"border-color-be":[{"border-be":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}],"divide-color":[{divide:I()}],"outline-style":[{outline:[..._(),"none","hidden"]}],"outline-offset":[{"outline-offset":[$,tl,tt]}],"outline-w":[{outline:["",$,th,te]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",u,tp,ta]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",d,tp,ta]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[$,te]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":q()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",c,tp,ta]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[$,tl,tt]}],"mix-blend":[{"mix-blend":[...Z(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Z()}],"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":[$]}],"mask-image-linear-from-pos":[{"mask-linear-from":tg()}],"mask-image-linear-to-pos":[{"mask-linear-to":tg()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":tg()}],"mask-image-t-to-pos":[{"mask-t-to":tg()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":tg()}],"mask-image-r-to-pos":[{"mask-r-to":tg()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":tg()}],"mask-image-b-to-pos":[{"mask-b-to":tg()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":tg()}],"mask-image-l-to-pos":[{"mask-l-to":tg()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":tg()}],"mask-image-x-to-pos":[{"mask-x-to":tg()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":tg()}],"mask-image-y-to-pos":[{"mask-y-to":tg()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[tl,tt]}],"mask-image-radial-from-pos":[{"mask-radial-from":tg()}],"mask-image-radial-to-pos":[{"mask-radial-to":tg()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"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":b()}],"mask-image-conic-pos":[{"mask-conic":[$]}],"mask-image-conic-from-pos":[{"mask-conic-from":tg()}],"mask-image-conic-to-pos":[{"mask-conic-to":tg()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",tl,tt]}],filter:[{filter:["","none",tl,tt]}],blur:[{blur:ty()}],brightness:[{brightness:[$,tl,tt]}],contrast:[{contrast:[$,tl,tt]}],"drop-shadow":[{"drop-shadow":["","none",m,tp,ta]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",$,tl,tt]}],"hue-rotate":[{"hue-rotate":[$,tl,tt]}],invert:[{invert:["",$,tl,tt]}],saturate:[{saturate:[$,tl,tt]}],sepia:[{sepia:["",$,tl,tt]}],"backdrop-filter":[{"backdrop-filter":["","none",tl,tt]}],"backdrop-blur":[{"backdrop-blur":ty()}],"backdrop-brightness":[{"backdrop-brightness":[$,tl,tt]}],"backdrop-contrast":[{"backdrop-contrast":[$,tl,tt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$,tl,tt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$,tl,tt]}],"backdrop-invert":[{"backdrop-invert":["",$,tl,tt]}],"backdrop-opacity":[{"backdrop-opacity":[$,tl,tt]}],"backdrop-saturate":[{"backdrop-saturate":[$,tl,tt]}],"backdrop-sepia":[{"backdrop-sepia":["",$,tl,tt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",tl,tt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$,"initial",tl,tt]}],ease:[{ease:["linear","initial",y,tl,tt]}],delay:[{delay:[$,tl,tt]}],animate:[{animate:["none",v,tl,tt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,tl,tt]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:tv()}],"rotate-x":[{"rotate-x":tv()}],"rotate-y":[{"rotate-y":tv()}],"rotate-z":[{"rotate-z":tv()}],scale:[{scale:tx()}],"scale-x":[{"scale-x":tx()}],"scale-y":[{"scale-y":tx()}],"scale-z":[{"scale-z":tx()}],"scale-3d":["scale-3d"],skew:[{skew:tb()}],"skew-x":[{"skew-x":tb()}],"skew-y":[{"skew-y":tb()}],transform:[{transform:[tl,tt,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tw()}],"translate-x":[{"translate-x":tw()}],"translate-y":[{"translate-y":tw()}],"translate-z":[{"translate-z":tw()}],"translate-none":["translate-none"],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}],"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",tl,tt]}],"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":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"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",tl,tt]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[$,th,te,ti]}],stroke:[{stroke:["none",...I()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}});function tA(...t){return tj(f(t))}t.s(["cn",0,tA],75304);let tM=(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",n={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==n?void 0:n.variants)==null)return f(r,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:s}=n,o=Object.keys(i).map(e=>{let r=null==t?void 0:t[e],n=null==s?void 0:s[e];if(null===r)return null;let o=g(r)||g(n);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 f(r,o,null==n||null==(e=n.compoundVariants)?void 0:e.reduce((t,e)=>{let{class:i,className:r,...n}=e;return Object.entries(n).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...s,...a}[e]):({...s,...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,...n}){return(0,o.jsx)(r?c:"button",{"data-slot":"button",className:tA(tM({variant:e,size:i,className:t})),...n})}],55267)},28229,t=>{"use strict";var e=t.i(77598),i=t.i(35152),r=t.i(57537),n=t.i(66353);let s=(0,n.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),o=(0,n.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),a=(0,n.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),l=(0,n.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);var h=t.i(55267);function u(){let[t,r]=(0,i.useState)("dark"),[n,s]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{s(!0);let t=localStorage.getItem("theme"),e=window.matchMedia("(prefers-color-scheme: dark)").matches;r(t||(e?"dark":"light"))},[]),n)?(0,e.jsx)(h.Button,{variant:"ghost",size:"icon",onClick:()=>{let e="dark"===t?"light":"dark";r(e),localStorage.setItem("theme",e),document.documentElement.classList.toggle("dark","dark"===e)},className:"size-9 text-muted-foreground hover:text-foreground transition-colors","aria-label":"dark"===t?"Zum hellen Modus wechseln":"Zum dunklen Modus wechseln",children:"dark"===t?(0,e.jsx)(l,{className:"size-5"}):(0,e.jsx)(a,{className:"size-5"})}):(0,e.jsx)(h.Button,{variant:"ghost",size:"icon",className:"size-9 text-muted-foreground",children:(0,e.jsx)("span",{className:"sr-only",children:"Theme umschalten"})})}var d=t.i(75304);let c=[{href:"#projekte",label:"Projekte"},{href:"#ueber",label:"Über"},{href:"#fokus",label:"Fokus"},{href:"#philosophie",label:"Philosophie"},{href:"#kontakt",label:"Kontakt"}];t.s(["Header",0,function(){let[t,n]=(0,i.useState)(!1),[a,l]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let t=()=>{n(window.scrollY>20)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),(0,e.jsx)("header",{className:(0,d.cn)("fixed top-0 left-0 right-0 z-50 transition-all duration-300",t?"bg-background/80 backdrop-blur-md border-b border-border/50":"bg-transparent"),children:(0,e.jsxs)("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:[(0,e.jsxs)("nav",{className:"flex items-center justify-between h-16 lg:h-20",children:[(0,e.jsx)(r.default,{href:"/",className:"font-mono text-lg tracking-tight text-foreground hover:text-accent transition-colors",children:"Jamulix"}),(0,e.jsxs)("div",{className:"hidden md:flex items-center gap-8",children:[c.map(t=>(0,e.jsx)(r.default,{href:t.href,className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:t.label},t.href)),(0,e.jsx)(u,{})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 md:hidden",children:[(0,e.jsx)(u,{}),(0,e.jsx)(h.Button,{variant:"ghost",size:"icon",onClick:()=>l(!a),className:"size-9 text-muted-foreground","aria-label":a?"Menü schließen":"Menü öffnen",children:a?(0,e.jsx)(o,{className:"size-5"}):(0,e.jsx)(s,{className:"size-5"})})]})]}),a&&(0,e.jsx)("div",{className:"md:hidden pb-6 border-b border-border/50",children:(0,e.jsx)("div",{className:"flex flex-col gap-4",children:c.map(t=>(0,e.jsx)(r.default,{href:t.href,onClick:()=>l(!1),className:"text-sm text-muted-foreground hover:text-foreground transition-colors py-2",children:t.label},t.href))})})]})})}],28229)},99185,t=>{"use strict";let e,i,r,n,s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s),a=(t,e,i)=>i>e?e:i"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,m=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(t,e)=>i=>!!("string"==typeof i&&m.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[n,s,o,a]=r.match(c);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},g={...l,transform:t=>Math.round(a(0,255,t))},y={test:p("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:p("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,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"),S=x("vh"),T=x("vw"),P={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},j={test:p("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)||j.test(t),parse:t=>y.test(t)?y.parse(t):j.test(t)?j.parse(t):v.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?y.transform(t):j.transform(t),getAnimatableNone:t=>{let e=A.parse(t);return e.alpha=0,A.transform(e)}},M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,E="number",C="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 N(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(V,t=>(A.test(t)?(r.color.push(s),n.push(C),i.push(A.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(E),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function D({split:t,types:e}){let i=t.length;return r=>{let n="";for(let s=0;s0},parse:function(t){return N(t).values},createTransformer:function(t){return D(N(t))},getAnimatableNone:function(t){let e=N(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])))}},L=new Set(["brightness","contrast","saturate","opacity"]);function z(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 n=i.replace(r,""),s=+!!L.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let I=/\b([a-z-]*)\(.*?\)/gu,B={...R,getAnimatableNone:t=>{let e=t.match(I);return e?e.map(z).join(" "):t}},F={...R,getAnimatableNone:t=>{let e=R.parse(t);return R.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},O={...l,transform:Math.round},W={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={...W,color:A,backgroundColor:A,outlineColor:A,fill:A,stroke:A,borderColor:A,borderTopColor:A,borderRightColor:A,borderBottomColor:A,borderLeftColor:A,filter:B,WebkitFilter:B,mask:F,WebkitMask:F},$=t=>U[t],H=()=>({translate:0,scale:1,origin:0,originPoint:0}),K=()=>({x:H(),y:H()}),G=()=>({min:0,max:0}),Y=()=>({x:G(),y:G()}),X=t=>!!(t&&t.getVelocity),q=new Set(["width","height","top","left","right","bottom",...s]),_=t=>e=>e.test(t),Z=[l,k,w,b,T,S,{test:t=>"auto"===t,parse:t=>t}],J=t=>Z.find(_(t));var Q,tt=t.i(86177);let te=()=>{},ti=()=>{};tt.default;let tr=t=>e=>"string"==typeof e&&e.startsWith(t),tn=tr("--"),ts=tr("var(--"),to=t=>!!ts(t)&&ta.test(t.split("/*")[0].trim()),ta=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tl(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let th=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tu=t=>180*t/Math.PI,td=t=>tm(tu(Math.atan2(t[1],t[0]))),tc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:td,rotateZ:td,skewX:t=>tu(Math.atan(t[1])),skewY:t=>tu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tm=t=>((t%=360)<0&&(t+=360),t),tp=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tf=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tg={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tf,scale:t=>(tp(t)+tf(t))/2,rotateX:t=>tm(tu(Math.atan2(t[6],t[5]))),rotateY:t=>tm(tu(Math.atan2(-t[2],t[0]))),rotateZ:td,rotate:td,skewX:t=>tu(Math.atan(t[4])),skewY:t=>tu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ty(t){return+!!t.includes("scale")}function tv(t,e){let i,r;if(!t||"none"===t)return ty(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=tg,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tc,r=e}if(!r)return ty(e);let s=i[e],o=r[1].split(",").map(tx);return"function"==typeof s?s(o):o[s]}function tx(t){return parseFloat(t.trim())}let tb=t=>t===l||t===k,tw=new Set(["x","y","z"]),tk=s.filter(t=>!tw.has(t)),tS={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-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})=>tv(e,"x"),y:(t,{transform:e})=>tv(e,"y")};tS.translateX=tS.x,tS.translateY=tS.y;let tT=t=>t,tP={},tj=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tA(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tj.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function h(e){o.has(e)&&(u.schedule(e),t()),l++,e(a)}let u={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}n=!0;let o=i;i=r,r=o,i.forEach(h),e,l=0,i.clear(),n=!1,s&&(s=!1,u.process(t))}};return u}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:h,preUpdate:u,update:d,preRender:c,render:m,postRender:p}=o,f=()=>{let s=tP.useManualTiming,o=s?n.timestamp:performance.now();i=!1,s||(n.delta=r?1e3/60:Math.max(Math.min(o-n.timestamp,40),1)),n.timestamp=o,n.isProcessing=!0,a.process(n),l.process(n),h.process(n),u.process(n),d.process(n),c.process(n),m.process(n),p.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:tj.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;etypeof requestAnimationFrame?requestAnimationFrame:tT,!0),tN=new Set,tD=!1,tR=!1,tL=!1;function tz(){if(tR){let t=Array.from(tN).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],tk.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)})}tR=!1,tD=!1,tN.forEach(t=>t.complete(tL)),tN.clear()}function tI(){tN.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tR=!0)})}class tB{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tN.add(this),tD||(tD=!0,tM.read(tI),tM.resolveKeyframes(tz))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;e{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let t$=t=>1e3*t;function tH(t,e){-1===t.indexOf(e)&&t.push(e)}function tK(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tG{constructor(){this.subscriptions=[]}add(t){return tH(this.subscriptions,t),()=>tK(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 n=0;n(void 0===e&&(e=t()),e)}let tq={};function t_(t,e){let i=tX(t);return()=>tq[e]??i()}let tZ=t_(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tJ=t=>null!==t;function tQ(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(tJ),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}class t0{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 t1={layout:0,mainThread:0,waapi:0},t2=t=>Array.isArray(t)&&"number"==typeof t[0],t5=t_(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t3=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e`cubic-bezier(${t}, ${e}, ${i}, ${r})`,t4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t6([0,.65,.55,1]),circOut:t6([.55,0,1,.45]),backIn:t6([.31,.01,.66,-.59]),backOut:t6([.33,1.53,.69,.99])};function t9(t){return"function"==typeof t&&"applyToOptions"in t}class t8 extends t0{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,ti("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t9(t)&&t5()?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:n=300,repeat:s=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?t5()?t3(e,i):"ease-out":t2(e)?t6(e):Array.isArray(e)?e.map(e=>t(e,i)||t4.easeOut):t4[e]}(a,n);Array.isArray(d)&&(u.easing=d);let c={delay:r,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};h&&(c.pseudoElement=h);let m=t.animate(u,c);return m}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=tQ(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tY(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=t$(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&&tZ())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tT):r(this)}}let t7=new Set(["opacity","clipPath","filter","transform"]),{schedule:et}=tA(queueMicrotask,!1);function ee(){i=void 0}let ei={now:()=>(void 0===i&&ei.set(tC.isProcessing||tP.useManualTiming?tC.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(ee)}};class er{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ei.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=ei.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 tG);let i=this.events[t].add(e);return"change"===t?()=>{i(),tM.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=ei.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 en(t,e){return new er(t,e)}let es=[...Z,A,R],eo=new WeakMap;function ea(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function el(t){return"string"==typeof t||Array.isArray(t)}let eh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eu=["initial",...eh];function ed(t){return ea(t.animate)||eu.some(e=>el(t[e]))}function ec(t){return!!(ed(t)||t.variants)}let em={current:null},ep={current:!1},ef="u">typeof window;function eg(t){let e=[{},{}];return 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[n,s]=eg(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=eg(r);e=e(void 0!==i?i:t.custom,n,s)}return e}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:n,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tB,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=ei.now();this.renderScheduledAtthis.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ep.current||function(){if(ep.current=!0,ef)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>em.current=t.matches;t.addEventListener("change",e),e()}else em.current=!1}(),this.shouldReduceMotion=em.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(),tE(this.notifyUpdate),tE(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&&t7.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:o}=e.accelerate,a=new t8({element:this.current,name:t,keyframes:r,times:n,ease:s,duration:t$(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let r=o.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tM.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,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in 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];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Y()}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;ee.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=en(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,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!es.find(_(r))&&R.test(e)&&(i=tO(t,e))}this.setBaseTarget(t,X(i)?i.get():i)}return X(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||X(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 tG),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){et.render(this.render)}}class ew extends eb{constructor(){super(...arguments),this.KeyframeResolver=tU}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;X(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 eS=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eP=s.length;function ej(t,e,i){let{style:r,vars:n,transformOrigin:a}=t,l=!1,h=!1;for(let t in e){let i=e[t];if(o.has(t)){l=!0;continue}if(tn(t)){n[t]=i;continue}{let e=eS(i,W[t]);t.startsWith("origin")?(h=!0,a[t]=e):r[t]=e}}if(!e.transform&&(l||i?r.transform=function(t,e,i){let r="",n=!0;for(let o=0;o"string"==typeof t&&"svg"===t.toLowerCase();function eD(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}function eR(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eL={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!k.test(t))return t;else t=parseFloat(t);let i=eR(t,e.target.x),r=eR(t,e.target.y);return`${i}% ${r}%`}},ez=(t,e,i)=>t+(e-t)*i,eI={borderRadius:{...eL,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eL,borderTopRightRadius:eL,borderBottomLeftRadius:eL,borderBottomRightRadius:eL,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=R.parse(t);if(r.length>5)return t;let n=R.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=ez(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function eB(t,{layout:e,layoutId:i}){return o.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eI[t]||"opacity"===t)}function eF(t,e,i){let r=t.style,n=e?.style,s={};if(!r)return s;for(let e in r)(X(r[e])||n&&X(n[e])||eB(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=r[e]);return s}function eO(t,e,i){let r=eF(t,e,i);for(let i in t)(X(t[i])||X(e[i]))&&(r[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class eW extends ew{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=$(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){eC(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=eN(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 e$(t){return void 0===t||1===t}function eH({scale:t,scaleX:e,scaleY:i}){return!e$(t)||!e$(e)||!e$(i)}function eK(t){return eH(t)||eG(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eG(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eY(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function eX(t,e=0,i=1,r,n){t.min=eY(t.min,e,i,r,n),t.max=eY(t.max,e,i,r,n)}function eq(t,{x:e,y:i}){eX(t.x,e.translate,e.scale,e.originPoint),eX(t.y,i.translate,i.scale,i.originPoint)}function e_(t,e){t.min+=e,t.max+=e}function eZ(t,e,i,r,n=.5){let s=ez(t.min,t.max,n);eX(t,e,i,s,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?ty(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tv(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(tn(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){ej(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eF(t,e,i)}}var e2=t.i(35152);let e5=["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 e3(t){if("string"!=typeof t||t.includes("-"));else if(e5.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e6=t.i(77598);let e4=(0,e2.createContext)({}),e9=(0,e2.createContext)({strict:!1}),e8=(0,e2.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),e7=(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)X(e[r])||eB(r,i)||(t[r]=e[r])}let ir=()=>({...ie(),attrs:{}}),is=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function io(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||is.has(t)}let ia=t=>!io(t);try{Q=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof Q&&(ia=t=>t.startsWith("on")?!io(t):Q(t))}catch{}function il(t){return X(t)?t.get():t}let ih=(0,e2.createContext)(null),iu=t=>(e,i)=>{let r,n=(0,e2.useContext)(e7),s=(0,e2.useContext)(ih),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,n){return{latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=il(s[t]);let{initial:o,animate:a}=t,l=ed(t),h=ec(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&&!ea(d)){let e=Array.isArray(d)?d:[d];for(let i=0;iim[e].some(e=>!!t[e])};ex=t,ip=!0}(),ex}let iy=Symbol.for("motionComponentSymbol"),iv="data-"+ek("framerAppearId"),ix=(0,e2.createContext)({});function ib(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iw="u">typeof window?e2.useLayoutEffect:e2.useEffect;function ik(t,{forwardMotionProps:e=!1,type:i}={},r,n){r&&function(t){let e=ig();for(let i in t)e[i]={...e[i],...t[i]};ex=e}(r);let s=i?"svg"===i:e3(t),o=s?ic:id;function a(i,r){var a;let l,h,u,d={...(0,e2.useContext)(e8),...i,layoutId:function({layoutId:t}){let e=(0,e2.useContext)(e4).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:c}=d,m=function(t){let{initial:e,animate:i}=function(t,e){if(ed(t)){let{initial:e,animate:i}=t;return{initial:!1===e||el(e)?e:void 0,animate:el(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e2.useContext)(e7));return(0,e2.useMemo)(()=>({initial:e,animate:i}),[it(e),it(i)])}(i),p=o(i,c);if(!c&&"u">typeof window){(0,e2.useContext)(e9).strict;let e=function(t){let{drag:e,layout:i}=ig();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,m.visualElement=function(t,e,i,r,n,s){let{visualElement:o}=(0,e2.useContext)(e7),a=(0,e2.useContext)(e9),l=(0,e2.useContext)(ih),h=(0,e2.useContext)(e8),u=h.reducedMotion,d=h.skipAnimations,c=(0,e2.useRef)(null),m=(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:s}),m.current&&c.current&&(c.current.manuallyAnimateOnMount=!0));let p=c.current,f=(0,e2.useContext)(ix);p&&!p.projection&&n&&("html"===p.type||"svg"===p.type)&&function(t,e,i,r){let{layoutId:n,layout:s,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:n,layout:s,alwaysMeasureLayout:!!o||a&&ib(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(c.current,i,n,f);let g=(0,e2.useRef)(!1);(0,e2.useInsertionEffect)(()=>{p&&g.current&&p.update(i,l)});let y=i[iv],v=(0,e2.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return iw(()=>{m.current=!0,p&&(g.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),v.current&&p.animationState&&p.animationState.animateChanges())}),(0,e2.useEffect)(()=>{p&&(!v.current&&p.animationState&&p.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),p.enteringChildren=void 0)}),p}(t,p,d,n,e.ProjectionNode,s)}return(0,e6.jsxs)(e7.Provider,{value:m,children:[l&&m.visualElement?(0,e6.jsx)(l,{visualElement:m.visualElement,...d}):null,function(t,e,i,{latestValues:r},n,s=!1,o){let a=(o??e3(t)?function(t,e,i,r){let n=(0,e2.useMemo)(()=>{let i=ir();return eC(i,e,eN(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ii(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,r,n={},s=(i=t.style||{},ii(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,e2.useMemo)(()=>{let i=ie();return ej(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n})(e,r,n,t),l=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&!X(t[n])&&(ia(n)||!0===i&&io(n)||!e&&!io(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,s),h=t!==e2.Fragment?{...l,...a,ref:i}:{},{children:u}=e,d=(0,e2.useMemo)(()=>X(u)?u.get():u,[u]);return(0,e2.createElement)(t,{...h,children:d})}(t,i,(a=m.visualElement,h=(0,e2.useRef)(r),(0,e2.useInsertionEffect)(()=>{h.current=r}),u=(0,e2.useRef)(null),(0,e2.useCallback)(t=>{t&&p.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])),p,c,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,e2.forwardRef)(a);return l[iy]=t,l}class iS{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)}function iP(t,e){if(t?.inherit&&e){let{inherit:i,...r}=t;return{...e,...r}}return t}function ij(t,e){let i=t?.[e]??t?.default??t;return i!==t?iP(i,t):i}let iA=t=>Array.isArray(t);function iM(t,e){let i=t.getValue("willChange");if(X(i)&&i.add)return i.add(e);if(!i&&tP.WillChange){let i=new tP.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let iE=(t,e)=>i=>e(t(i)),iC=(...t)=>t.reduce(iE);function iV(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 iN(t,e){return i=>i>0?e:t}let iD=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},iR=[v,y,j];function iL(t){let e=iR.find(e=>e.test(t));if(te(!!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===j&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=iV(a,r,t+1/3),s=iV(a,r,t),o=iV(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let iz=(t,e)=>{let i=iL(t),r=iL(e);if(!i||!r)return iN(t,e);let n={...i};return t=>(n.red=iD(i.red,r.red,t),n.green=iD(i.green,r.green,t),n.blue=iD(i.blue,r.blue,t),n.alpha=ez(i.alpha,r.alpha,t),y.transform(n))},iI=new Set(["none","hidden"]);function iB(t,e){return i=>ez(t,e,i)}function iF(t){return"number"==typeof t?iB:"string"==typeof t?to(t)?iN:A.test(t)?iz:iU:Array.isArray(t)?iO:"object"==typeof t?A.test(t)?iz:iW:iN}function iO(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>iF(t)(t,e[i]));return t=>{for(let e=0;e{for(let e in r)i[e]=r[e](t);return i}}let iU=(t,e)=>{let i=R.createTransformer(e),r=N(t),n=N(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return te(!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"),iN(t,e);if(iI.has(t)&&!n.values.length||iI.has(e)&&!r.values.length)return iI.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iC(iO(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tM.update(e,t),stop:()=>tE(e),now:()=>tC.isProcessing?tC.timestamp:ei.now()}};function iK(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 iG=.01,iY=2,iX=.005,iq=.5;function i_(t,e){return t*Math.sqrt(1-e*e)}let iZ=["duration","bounce"],iJ=["stiffness","damping","mass"];function iQ(t,e){return e.some(e=>void 0!==t[e])}function i0(t=.3,e=.3){let i,r,n,s,o,l,h="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:u,restDelta:d}=h,c=h.keyframes[0],m=h.keyframes[h.keyframes.length-1],p={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(!iQ(t,iJ)&&iQ(t,iZ))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*a(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let n,s;te(t<=t$(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?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/i_(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=i_(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let l=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=t$(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)),S=m-c,T=Math.sqrt(f/y)/1e3,P=5>Math.abs(S);if(u||(u=P?iG:iY),d||(d=P?iX:iq),k<1)n=i_(T,k),s=(w+k*T*S)/n,i=t=>m-Math.exp(-k*T*t)*(s*Math.sin(n*t)+S*Math.cos(n*t)),o=k*T*s+S*n,l=k*T*S-s*n,r=t=>Math.exp(-k*T*t)*(o*Math.sin(n*t)+l*Math.cos(n*t));else if(1===k){i=t=>m-Math.exp(-T*t)*(S+(w+T*S)*t);let t=w+T*S;r=e=>Math.exp(-T*e)*(T*t*e-w)}else{let t=T*Math.sqrt(k*k-1);i=e=>{let i=Math.exp(-k*T*e),r=Math.min(t*e,300);return m-i*((w+k*T*S)*Math.sinh(r)+t*S*Math.cosh(r))/t};let e=(w+k*T*S)/t,n=k*T*e-S*t,s=k*T*S-e*t;r=e=>{let i=Math.exp(-k*T*e),r=Math.min(t*e,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let j={calculatedDuration:b&&v||null,velocity:t=>t$(r(t)),next:t=>{if(!b&&k<1){let e=Math.exp(-k*T*t),i=Math.sin(n*t),r=Math.cos(n*t),a=m-e*(s*i+S*r);return p.done=Math.abs(t$(e*(o*i+l*r)))<=u&&Math.abs(m-a)<=d,p.value=p.done?m:a,p}let e=i(t);return b?p.done=t>=v:p.done=Math.abs(t$(r(t)))<=u&&Math.abs(m-e)<=d,p.value=p.done?m:e,p},toString:()=>{let t=Math.min(iK(j),2e4),e=t3(e=>j.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return j}function i1(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?1e3/n*r:0}function i2({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:h=.5,restSpeed:u}){let d,c,m=t[0],p={done:!1,value:m},f=i*e,g=m+f,y=void 0===o?g:o(g);y!==g&&(f=y-m);let v=t=>-f*Math.exp(-t/r),x=t=>y+v(t),b=t=>{let e=v(t),i=x(t);p.done=Math.abs(e)<=h,p.value=p.done?y:i},w=t=>{let e;if(e=p.value,void 0!==a&&el){var i;d=t,c=i0({keyframes:[p.value,(i=p.value,void 0===a?l:void 0===l||Math.abs(a-i){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),p)}}}i0.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(iK(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:n/1e3}}(t,100,i0);return t.ease=e.ease,t.duration=t$(e.duration),t.type="keyframes",t};let i5=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i3(t,e,i,r){return t===e&&i===r?tT:n=>0===n||1===n?n:i5(function(t,e,i,r,n){let s,o,a=0;do(s=i5(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(n,0,1,t,i),e,r)}let i6=i3(.42,0,1,1),i4=i3(0,0,.58,1),i9=i3(.42,0,.58,1),i8=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i7=t=>e=>1-t(1-e),rt=i3(.33,1.53,.69,.99),re=i7(rt),ri=i8(re),rr=t=>t>=1?1:(t*=2)<1?.5*re(t):.5*(2-Math.pow(2,-10*(t-1))),rn=t=>1-Math.sin(Math.acos(t)),rs=i7(rn),ro=i8(rn),ra={linear:tT,easeIn:i6,easeInOut:i9,easeOut:i4,circIn:rn,circInOut:ro,circOut:rs,backIn:re,backInOut:ri,backOut:rt,anticipate:rr},rl=t=>{if(t2(t)){ti(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,n]=t;return i3(e,i,r,n)}return"string"==typeof t?(ti(void 0!==ra[t],`Invalid easing type '${t}'`,"invalid-easing-type"),ra[t]):t},rh=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function ru({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(rl):rl(r),l={done:!1,value:e[0]},h=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(ti(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let r=[],n=i||tP.mix||i$,s=t.length-1;for(let i=0;i{if(o&&i1)for(;ru(a(t[0],t[s-1],e)):u}((n=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=rh(0,e,r);t.push(ez(i,1,n))}}(s=[0],e.length-1),s),n.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||i9).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=h(e),l.done=e>=t,l)}}let rd={decay:i2,inertia:i2,tween:ru,keyframes:ru,spring:i0};function rc(t){"string"==typeof t.type&&(t.type=rd[t.type])}let rm=t=>t/100;class rp extends t0{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!==ei.now()&&this.tick(ei.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},t1.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;rc(t);let{type:e=ru,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||ru;a!==ru&&"number"!=typeof o[0]&&(this.mixKeyframes=iC(rm,i$(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iK(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:n,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:h}=this;if(null===this.startTime)return r.next(0);let{delay:u=0,keyframes:d,repeat:c,repeatType:m,repeatDelay:p,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-n/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>n;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,w=r;if(c){let t=Math.min(this.currentTime,n)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===m?(i=1-i,p&&(i-=p/l)):"mirror"===m&&(w=o)),b=a(0,1,i)*l}x?(this.delayState.value=d[0],i=this.delayState):i=w.next(b),s&&!x&&(i.value=s(i.value));let{done:k}=i;x||null===h||(k=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&f!==i2&&(i.value=tQ(d,this.options,y,this.speed)),g&&g(i.value),S&&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=t$(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 i1(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(ei.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iH,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(ei.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,t1.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 rf={anticipate:rr,backInOut:ri,circInOut:ro};class rg extends t8{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rf&&(t.ease=rf[t.ease])}(t),rc(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:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new rp({...s,autoplay:!1}),l=Math.max(10,ei.now()-this.startTime),h=a(0,10,l-10),u=o.sample(l).value,{name:d}=this.options;n&&d&&tY(n,d,u),e.setWithVelocity(o.sample(Math.max(0,l-h)).value,u,h),o.stop()}}let ry=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(R.test(t)||"0"===t)&&!t.startsWith("url("));function rv(t){t.duration=0,t.type="keyframes"}let rx=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,rb=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rw=tX(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rk extends t0{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ei.now();const d={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:h,...u},c=h?.KeyframeResolver||tB;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 n;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:u}=i;this.resolvedAt=ei.now();let d=!0;!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=ry(n,e),a=ry(s,e);return te(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" 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;i40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},m=d&&!h&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return rw()&&i&&(t7.has(i)||rb.has(i)&&function(t){for(let e=0;e{this.notifyFinished()}).catch(tT),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tL=!0,tI(),tz(),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 rS={type:"spring",stiffness:500,damping:25,restSpeed:10},rT={type:"keyframes",duration:.8},rP={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rj=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rA=(t,e,i,r={},n,s)=>a=>{let l=ij(r,t)||{},h=l.delay||r.delay||0,{elapsed:u=0}=r;u-=t$(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:s?void 0:n};!function(t){for(let e in t)if(!rj.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}:rS:rP)(t,d)),d.duration&&(d.duration=t$(d.duration)),d.repeatDelay&&(d.repeatDelay=t$(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(rv(d),0===d.delay&&(c=!0)),(tP.instantAnimations||tP.skipAnimations||n?.shouldSkipAnimations)&&(c=!0,rv(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!s&&void 0!==e.get()){let t=tQ(d.keyframes,l);if(void 0!==t)return void tM.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new rp(d):new rk(d)};function rM(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?iP(s,l):l;let h=s?.reduceMotion;r&&(s=r);let u=[],d=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||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,...ij(s||{},e)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){tM.update(()=>r.set(n));continue}let c=!1;if(window.MotionHandoffAnimation){let i=t.props[iv];if(i){let t=window.MotionHandoffAnimation(i,e,tM);null!==t&&(o.startTime=t,c=!0)}}iM(t,e);let m=h??t.shouldReduceMotion;r.start(rA(e,r,n,m&&q.has(e)?{type:!1}:o,t,c));let p=r.animation;p&&u.push(p)}if(o){let e=()=>tM.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=iT(t,e)||{};for(let e in n={...n,...i}){var s;let i=iA(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,en(i))}}(t,o)});u.length?Promise.all(u).then(e):e()}return u}function rE(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function rC(t,e,i={}){let r=iT(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(rM(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,n=0,s=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)+rE(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let rV=eu.length;function rN(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;rt.removeEventListener(e,i)}let rO={x:!1,y:!1};function rW(t){return t.max-t.min}function rU(t,e,i,r=.5){t.origin=r,t.originPoint=ez(e.min,e.max,t.origin),t.scale=rW(i)/rW(e),t.translate=ez(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 r$(t,e,i,r){rU(t.x,e.x,i.x,r?r.originX:void 0),rU(t.y,e.y,i.y,r?r.originY:void 0)}function rH(t,e,i,r=0){t.min=(r?ez(i.min,i.max,r):i.min)+e.min,t.max=t.min+rW(e)}function rK(t,e,i,r=0){let n=r?ez(i.min,i.max,r):i.min;t.min=e.min-n,t.max=t.min+rW(e)}function rG(t,e,i,r){rK(t.x,e.x,i.x,r?.x),rK(t.y,e.y,i.y,r?.y)}function rY(t){return"object"==typeof t&&null!==t}function rX(t){return rY(t)&&"ownerSVGElement"in t}function rq(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 n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}let r_=new WeakMap,rZ=(t,e,i)=>(r,n)=>n&&n[0]?n[0][t+"Size"]:rX(r)&&"getBBox"in r?r.getBBox()[e]:r[i],rJ=rZ("inline","width","offsetWidth"),rQ=rZ("block","height","offsetHeight");function r0({target:t,borderBoxSize:e}){r_.get(t)?.forEach(i=>{i(t,{get width(){return rJ(t,e)},get height(){return rQ(t,e)}})})}function r1(t){t.forEach(r0)}let r2=new Set;function r5(t,e){let i;return"function"==typeof t?(r2.add(t),n||(n=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};r2.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{r2.delete(t),r2.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(r1)),(i=rq(t)).forEach(t=>{let i=r_.get(t);i||(i=new Set,r_.set(t,i)),i.add(e),r?.observe(t)}),()=>{i.forEach(t=>{let i=r_.get(t);i?.delete(e),i?.size||r?.unobserve(t)})})}let r3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),r6=new Set(["INPUT","SELECT","TEXTAREA"]),r4=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function r9(t){return{point:{x:t.pageX,y:t.pageY}}}function r8(t,e,i,r){return rF(t,e,t=>r4(t)&&i(t,r9(t)),r)}let r7=({current:t})=>t?t.ownerDocument.defaultView:null,nt=(t,e)=>Math.abs(t-e),ne=new Set(["auto","scroll"]);class ni{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=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=nr(this.lastRawMoveEventInfo,this.transformPagePoint));let i=ns(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(nt(t.x,e.x)**2+nt(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=tC;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=nr(e,this.transformPagePoint),tM.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ns("pointercancel"===t.type?this.lastMoveEventInfo:nr(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!r4(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const a=nr(r9(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=tC;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,ns(a,this.history)),this.removeListeners=iC(r8(this.contextWindow,"pointermove",this.handlePointerMove),r8(this.contextWindow,"pointerup",this.handlePointerUp),r8(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(ne.has(t.overflowX)||ne.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},n={x:r.x-e.x,y:r.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,r),tM.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tE(this.updatePoint)}}function nr(t,e){return e?{point:e(t.point)}:t}function nn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ns({point:t},e){return{point:t,delta:nn(t,no(e)),offset:nn(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=no(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>t$(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>2*t$(.1)&&(i=t[1]);let n=(r.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function no(t){return t[t.length-1]}function na(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 nl(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min{e&&this.snapToCursor(r9(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(rO[t])return null;else return rO[t]=!0,()=>{rO[t]=!1};return rO.x||rO.y?null:(rO.x=rO.y=!0,()=>{rO.x=rO.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),rB(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=rW(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&tM.update(()=>n(t,e),!1,!0),iM(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=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&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tM.update(()=>s(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 ni(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:r7(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tM.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||!np(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&ti&&(t=r?ez(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}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&&ib(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:na(t.x,i,n),y:na(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:nh(t,"left","right"),y:nh(t,"top","bottom")}}(e),r!==this.constraints&&!ib(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&rB(t=>{var e,r;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],n={},void 0!==r.min&&(n.min=r.min-e.min),void 0!==r.max&&(n.max=r.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!ib(e))return!1;let r=e.current;ti(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,i){let r=e0(t,i),{scroll:n}=e;return n&&(e_(r.x,n.offset.x),e_(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:nl(t.x,s.x),y:nl(t.y,s.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:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rB(o=>{if(!np(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===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,...n,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iM(this.visualElement,t),i.start(rA(t,i,0,e,this.visualElement,!1))}stopAnimation(){rB(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){rB(e=>{let{drag:i}=this.getProps();if(!np(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e],o=n.get()||0;n.set(t[e]-ez(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!ib(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rB(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,o,l,h=e.get();r[t]=(i={min:h,max:h},n=this.constraints[t],s=.5,o=rW(i),(l=rW(n))>o?s=rh(n.min,n.max-o,i.min):o>l&&(s=rh(i.min,i.max-l,n.min)),a(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),rB(e=>{if(!np(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(ez(n,s,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;nd.set(this.visualElement,this);let e=this.visualElement.current,i=r8(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=t.target,s=n!==e&&(r6.has(n.tagName)||!0===n.isContentEditable);i&&r&&!s&&this.start(t)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();ib(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=a.current,s=r5(i,nm(n=()=>this.scalePositionWithinConstraints())),o=r5(r,nm(n)),t=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tM.read(r);let o=rF(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rB(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(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function nm(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function np(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let nf=t=>(e,i)=>{t&&tM.update(()=>t(e,i),!1,!0)},ng={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ny=e2;let nv=!1;class nx extends ny.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),nv&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ng.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),nv=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||tM.postRender(()=>{let t=s.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(),et.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;nv=!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}}function nb(t){let[e,i]=function(t=!0){let e=(0,e2.useContext)(ih);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=e,s=(0,e2.useId)();(0,e2.useEffect)(()=>{if(t)return n(s)},[t]);let o=(0,e2.useCallback)(()=>t&&r&&r(s),[s,r,t]);return!i&&r?[!1,o]:[!0]}(),r=(0,ny.useContext)(e4);return(0,e6.jsx)(nx,{...t,layoutGroup:r,switchLayoutGroup:(0,ny.useContext)(ix),isPresent:e,safeToRemove:i})}let nw=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nk=nw.length,nS=t=>"string"==typeof t?parseFloat(t):t,nT=t=>"number"==typeof t||k.test(t);function nP(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let nj=nM(0,.5,rs),nA=nM(.5,.95,tT);function nM(t,e,i){return r=>re?1:i(rh(t,e,r))}function nE(t,e){t.min=e.min,t.max=e.max}function nC(t,e){nE(t.x,e.x),nE(t.y,e.y)}function nV(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nN(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function nD(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(w.test(e)&&(e=parseFloat(e),e=ez(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=ez(s.min,s.max,r);t===s&&(a-=e),t.min=nN(t.min,e,i,a,n),t.max=nN(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let nR=["x","scaleX","originX"],nL=["y","scaleY","originY"];function nz(t,e,i,r){nD(t.x,e,nR,i?i.x:void 0,r?r.x:void 0),nD(t.y,e,nL,i?i.y:void 0,r?r.y:void 0)}function nI(t){return 0===t.translate&&1===t.scale}function nB(t){return nI(t.x)&&nI(t.y)}function nF(t,e){return t.min===e.min&&t.max===e.max}function nO(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nW(t,e){return nO(t.x,e.x)&&nO(t.y,e.y)}function nU(t){return rW(t.x)/rW(t.y)}function n$(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nH{constructor(){this.members=[]}add(t){tH(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||(tK(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tK(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:n}=t.options;(void 0===r||r!==n)&&(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 nK=(t,e)=>t.depth-e.depth;class nG{constructor(){this.children=[],this.isDirty=!1}add(t){tH(this.children,t),this.isDirty=!0}remove(t){tK(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nK),this.isDirty=!1,this.children.forEach(t)}}let nY=["","X","Y","Z"],nX=0;function nq(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function n_({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=nX++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(nQ),this.nodes.forEach(n8),this.nodes.forEach(n7),this.nodes.forEach(n0)},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;tthis.root.updateBlockedByResize=!1;tM.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,s;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=ei.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tE(s),n(i-250))},tM.setup(s,!0),i=()=>tE(s),ng.hasAnimatedSinceResize&&(ng.hasAnimatedSinceResize=!1,this.nodes.forEach(n9))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(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 s=this.options.transition||n.getDefaultTransition()||ss,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!nW(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={...ij(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||n9(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(),tE(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(st),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[iv];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",tM,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||rW(this.snapshot.measuredBox.x)||rW(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.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=Y());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nV(this.prevProjectionDelta.x,this.projectionDelta.x),nV(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),r$(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&n$(this.projectionDelta.x,this.prevProjectionDelta.x)&&n$(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=K(),this.projectionDelta=K(),this.projectionDeltaWithTransform=K()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=K();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=Y(),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(sn));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(si(o.x,t.x,r),si(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,m,p,f,g;rG(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=r,sr(m.x,p.x,f.x,g),sr(m.y,p.y,f.y,g),i&&(h=this.relativeTarget,c=i,nF(h.x,c.x)&&nF(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=Y()),nC(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=ez(0,i.opacity??1,nj(r)),t.opacityExit=ez(e.opacity??1,0,nA(r))):s&&(t.opacity=ez(e.opacity??1,i.opacity??1,r));for(let n=0;n{var e,i,r;let n;ng.hasAnimatedSinceResize=!0,t1.layout++,this.motionValue||(this.motionValue=en(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:()=>{t1.layout--},onComplete:()=>{t1.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=X(e)?e:en(e)).start(rA("",n,i,r)),n.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let 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:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&sh(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||Y();let e=rW(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=rW(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}nC(e,i),eQ(e,n),r$(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nH),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;return 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&&nq("z",t,r,this.animationValues);for(let e=0;et.currentAnimation?.stop()),this.root.nodes.forEach(n2),this.root.sharedNodes.clear()}}}function nZ(t){t.updateLayout()}function nJ(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:n}=t.options,s=e.source!==t.layout.source;if("size"===n)rB(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=rW(r);r.min=i[t].min,r.max=r.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";nE(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else sh(n,e.layoutBox,i)&&rB(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=rW(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=K();r$(o,i,e.layoutBox);let a=K();s?r$(a,t.applyTransform(r,!0),e.measuredBox):r$(a,i,e.layoutBox);let l=!nB(o),h=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=t.options.layoutAnchor||void 0,a=Y();rG(a,e.layoutBox,n.layoutBox,o);let l=Y();rG(l,i,s.layoutBox,o),nW(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 nQ(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function n0(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function n1(t){t.clearSnapshot()}function n2(t){t.clearMeasurements()}function n5(t){t.isLayoutDirty=!0,t.updateLayout()}function n3(t){t.isLayoutDirty=!1}function n6(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function n4(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function n9(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function n8(t){t.resolveTargetDelta()}function n7(t){t.calcProjection()}function st(t){t.resetSkewAndRotation()}function se(t){t.removeLeadSnapshot()}function si(t,e,i){t.translate=ez(e.translate,0,i),t.scale=ez(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sr(t,e,i,r){t.min=ez(e.min,i.min,r),t.max=ez(e.max,i.max,r)}function sn(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ss={duration:.45,ease:[.4,0,.1,1]},so=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sa=so("applewebkit/")&&!so("chrome/")?Math.round:tT;function sl(t){t.min=sa(t.min),t.max=sa(t.max)}function sh(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nU(e)-nU(i)))}function su(t){return t!==t.root&&t.scroll?.wasRoot}let sd=n_({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}),sc={current:void 0},sm=n_({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sc.current){let t=new sd({});t.mount(window),t.setOptions({layoutScroll:!0}),sc.current=t}return sc.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function sp(t,e){let i=rq(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function sf(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&tM.postRender(()=>n(e,r9(e)))}let sg=(t,e)=>!!e&&(t===e||sg(t,e.parentElement)),sy=new WeakSet;function sv(t){return e=>{"Enter"===e.key&&t(e)}}function sx(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sb(t){return r4(t)&&!(rO.x||rO.y)}let sw=new WeakSet;function sk(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 n=r["onTap"+("End"===i?"":i)];n&&tM.postRender(()=>n(e,r9(e)))}let sS=new WeakMap,sT=new WeakMap,sP=t=>{let e=sS.get(t.target);e&&e(t)},sj=t=>{t.forEach(sP)},sA={some:0,all:1},sM=function(t,e){if("u"ik(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,ik(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends iS{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 n="function"==typeof e?iT(t,e,i.custom):e;r=Promise.all(rM(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rz(),r=!0,n=!1,s=e=>(i,r)=>{let n=iT(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;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;tc&&v,S=!1,T=Array.isArray(y)?y:[y],P=T.reduce(s(f),{});!1===x&&(P={});let{prevResolvedValues:j={}}=g,A={...j,...P},M=e=>{k=!0,u.has(e)&&(S=!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=j[t];if(!d.hasOwnProperty(t))(iA(e)&&iA(i)?rN(e,i):e===i)?void 0!==e&&u.has(t)?M(t):g.protectedKeys[t]=!0:null!=e?M(t):u.add(t)}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(d={...d,...P}),(r||n)&&t.blockInitialAnimation&&(k=!1);let E=b&&w,C=!E||S;k&&C&&h.push(...T.map(e=>{let i={type:f};if("string"==typeof e&&(r||n)&&!E&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=iT(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=rE(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),n=t.getValue(i);n&&(n.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,n=!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 n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rz(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();ea(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 iS{constructor(){super(...arguments),this.id=rI++,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||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends iS{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:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:sA[s]},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(),n=e?i:r;n&&n(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;sT.has(i)||sT.set(i,{});let r=sT.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(sj,{root:t,...e})),r[n]}(a),sS.set(t,l),e.observe(t),()=>{sS.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iS{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,n,s]=sp(t,i),o=t=>{let r=t.currentTarget;if(!sb(t)||sw.has(t))return;sy.add(r),i.stopPropagation&&sw.add(t);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sy.has(r)&&sy.delete(r),sb(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||sg(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),rY(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=sv(()=>{if(sy.has(i))return;sx(i,"down");let t=sv(()=>{sx(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sx(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),r3.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sk(this.node,e,"Start"),(t,{success:e})=>sk(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iS{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 iS{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=sp(t,i);return r.forEach(t=>{let i,r=!1,s=!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),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(r){s=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||rO.x||rO.y)return;s=!1;let o=e(t,r);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(t,(t,e)=>(sf(this.node,e,"Start"),t=>sf(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends iS{constructor(){super(...arguments),this.removePointerDownListener=tT}onPointerDown(t){this.session=new ni(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r7(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:nf(t),onStart:nf(e),onMove:nf(i),onEnd:(t,e)=>{delete this.session,r&&tM.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=r8(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 iS{constructor(t){super(t),this.removeGroupControls=tT,this.removeListeners=tT,this.controls=new nc(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:sm,MeasureLayout:nb},layout:{ProjectionNode:sm,MeasureLayout:nb}},(t,e)=>e.isSVG??e3(t)?new eW(e):new e1(e,{allowProjection:t!==e2.Fragment}));t.s(["motion",0,sM],99185)},62387,t=>{"use strict";var e=t.i(77598),i=t.i(57537),r=t.i(99185),n=t.i(66353);let s=(0,n.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),o=(0,n.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var a=t.i(55267);let l=[{id:"fortran",label:"Fortran IV",x:20,y:15,era:"1984"},{id:"c",label:"C",x:45,y:25,era:"1986"},{id:"asm",label:"68K ASM",x:75,y:20,era:"1987"},{id:"unix",label:"Unix",x:30,y:45,era:"1990"},{id:"linux",label:"Linux",x:60,y:50,era:"1994"},{id:"python",label:"Python",x:25,y:75,era:"2020"},{id:"rust",label:"Rust",x:55,y:80,era:"2022"},{id:"ai",label:"KI",x:80,y:70,era:"2023"}],h=[["fortran","c"],["c","asm"],["c","unix"],["unix","linux"],["linux","python"],["linux","rust"],["python","ai"],["rust","ai"]];function u(){let t=t=>{let e=l.find(e=>e.id===t);return e?{x:e.x,y:e.y}:{x:0,y:0}};return(0,e.jsxs)("div",{className:"relative aspect-square w-full max-w-md mx-auto",children:[(0,e.jsxs)("svg",{className:"absolute inset-0 w-full h-full",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid meet",children:[(0,e.jsx)("defs",{children:(0,e.jsxs)("linearGradient",{id:"lineGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,e.jsx)("stop",{offset:"0%",stopColor:"currentColor",stopOpacity:"0.1"}),(0,e.jsx)("stop",{offset:"50%",stopColor:"currentColor",stopOpacity:"0.3"}),(0,e.jsx)("stop",{offset:"100%",stopColor:"currentColor",stopOpacity:"0.1"})]})}),h.map(([i,n],s)=>{let o=t(i),a=t(n);return(0,e.jsx)(r.motion.line,{x1:o.x,y1:o.y,x2:a.x,y2:a.y,stroke:"url(#lineGradient)",strokeWidth:"0.5",className:"text-accent",initial:{pathLength:0,opacity:0},animate:{pathLength:1,opacity:1},transition:{duration:.8,delay:.5+.1*s,ease:"easeOut"}},`${i}-${n}`)})]}),l.map((t,i)=>(0,e.jsx)(r.motion.div,{className:"absolute transform -translate-x-1/2 -translate-y-1/2",style:{left:`${t.x}%`,top:`${t.y}%`},initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{duration:.4,delay:.3+.08*i,type:"spring",stiffness:200},children:(0,e.jsxs)("div",{className:"group relative",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("div",{className:"size-3 rounded-full bg-accent/20 border border-accent/40 group-hover:bg-accent/30 transition-colors"}),(0,e.jsx)("div",{className:"absolute inset-0 size-3 rounded-full bg-accent/60 animate-ping opacity-0 group-hover:opacity-30"})]}),(0,e.jsx)("div",{className:"absolute top-full left-1/2 -translate-x-1/2 mt-1.5 whitespace-nowrap",children:(0,e.jsx)("span",{className:"font-mono text-[10px] text-muted-foreground group-hover:text-foreground transition-colors",children:t.label})}),(0,e.jsx)("div",{className:"absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 opacity-0 group-hover:opacity-100 transition-opacity",children:(0,e.jsx)("span",{className:"font-mono text-[9px] text-accent bg-background/80 px-1.5 py-0.5 rounded border border-border/50",children:t.era})})]})},t.id)),(0,e.jsxs)("div",{className:"absolute inset-0 pointer-events-none",children:[(0,e.jsx)("div",{className:"absolute top-0 left-0 w-8 h-8 border-l border-t border-border/30"}),(0,e.jsx)("div",{className:"absolute top-0 right-0 w-8 h-8 border-r border-t border-border/30"}),(0,e.jsx)("div",{className:"absolute bottom-0 left-0 w-8 h-8 border-l border-b border-border/30"}),(0,e.jsx)("div",{className:"absolute bottom-0 right-0 w-8 h-8 border-r border-b border-border/30"})]})]})}t.s(["Hero",0,function(){return(0,e.jsxs)("section",{className:"relative min-h-screen flex items-center pt-20 lg:pt-0",children:[(0,e.jsx)("div",{className:"absolute inset-0 overflow-hidden",children:(0,e.jsx)("div",{className:"absolute inset-0 opacity-[0.02] dark:opacity-[0.04]",style:{backgroundImage:` linear-gradient(to right, currentColor 1px, transparent 1px), linear-gradient(to bottom, currentColor 1px, transparent 1px) `,backgroundSize:"60px 60px"}})}),(0,e.jsxs)("div",{className:"relative max-w-6xl mx-auto px-6 lg:px-8 py-20 lg:py-32",children:[(0,e.jsxs)("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-16 items-center",children:[(0,e.jsxs)("div",{className:"lg:col-span-7 space-y-8",children:[(0,e.jsxs)(r.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:[(0,e.jsx)("span",{className:"inline-block font-mono text-xs tracking-wider text-accent uppercase mb-6",children:"1984 – heute"}),(0,e.jsxs)("h1",{className:"font-serif text-4xl sm:text-5xl lg:text-6xl xl:text-7xl leading-[1.1] tracking-tight text-balance",children:["Seit 40 Jahren Code. Von Fortran"," ","IV bis KI-Projekte in Python und Rust."]})]}),(0,e.jsxs)(r.motion.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.1},className:"text-lg lg:text-xl text-muted-foreground leading-relaxed max-w-2xl",children:["Erste Programmiersprache: Fortran"," ","IV. Dann C und 68000-Assembler auf dem Atari"," ","ST. An der Universität Unix entdeckt – und Linux nie wieder losgelassen. Seit Ende 2022 konzentriert auf KI-Tools und KI-Programmierung. Heute: Python und Rust."]}),(0,e.jsxs)(r.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"flex flex-col sm:flex-row gap-4 pt-4",children:[(0,e.jsx)(a.Button,{asChild:!0,size:"lg",className:"group",children:(0,e.jsxs)(i.default,{href:"#projekte",children:["Projekte ansehen",(0,e.jsx)(s,{className:"ml-2 size-4 transition-transform group-hover:translate-y-0.5"})]})}),(0,e.jsx)(a.Button,{asChild:!0,variant:"outline",size:"lg",className:"group",children:(0,e.jsxs)(i.default,{href:"#ueber",children:["Über Jamulix",(0,e.jsx)(o,{className:"ml-2 size-4 transition-transform group-hover:translate-x-0.5"})]})})]})]}),(0,e.jsx)(r.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.8,delay:.3},className:"lg:col-span-5 hidden lg:block",children:(0,e.jsx)(u,{})})]}),(0,e.jsx)(r.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.8},className:"absolute bottom-8 left-1/2 -translate-x-1/2 hidden lg:block",children:(0,e.jsxs)("div",{className:"flex flex-col items-center gap-2 text-muted-foreground",children:[(0,e.jsx)("span",{className:"font-mono text-xs tracking-wider",children:"Scroll"}),(0,e.jsx)(r.motion.div,{animate:{y:[0,6,0]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"},children:(0,e.jsx)(s,{className:"size-4"})})]})})]})]})}],62387)},5405,t=>{"use strict";var e=t.i(77598),i=t.i(99185);let r=[{era:"1984",title:"Der Anfang",description:"Erste Programme in Fortran IV. Lochkarten, Großrechner, Batch-Verarbeitung. Die Grundlagen des algorithmischen Denkens.",tech:["Fortran IV"]},{era:"1986",title:"Systemnahe Programmierung",description:"C und 68000-Assembler auf dem Atari ST. Direkte Hardware-Ansteuerung, Interrupt-Routinen, Speicherverwaltung von Hand.",tech:["C","68000 ASM","GFA Basic"]},{era:"1990",title:"Unix an der Universität",description:"SunOS, HP-UX, BSD. Die Philosophie kleiner, zusammenarbeitender Programme. Shell-Scripting als Werkzeug.",tech:["Unix","Shell","vi"]},{era:"1994",title:"Linux entdeckt",description:"Slackware auf 40 Disketten. Der Beginn einer dauerhaften Begeisterung für offene Systeme und Selbstbestimmung.",tech:["Linux","GNU Tools","X11"]},{era:"2000er",title:"Professionelle Entwicklung",description:"Verschiedene Sprachen, verschiedene Domänen. Server-Administration, Automatisierung, Web-Entwicklung.",tech:["Perl","PHP","Bash","Python"]},{era:"2022",title:"KI-Fokus",description:"Seit Ende 2022 intensive Beschäftigung mit KI-Tools und KI-Programmierung. LLMs als Arbeitswerkzeug und Forschungsgegenstand.",tech:["Python","Rust","LLMs","ML"]}];t.s(["AboutSection",0,function(){return(0,e.jsx)("section",{id:"ueber",className:"py-24 lg:py-32",children:(0,e.jsxs)("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:[(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-16 lg:mb-24",children:[(0,e.jsx)("span",{className:"font-mono text-xs tracking-wider text-accent uppercase",children:"Hintergrund"}),(0,e.jsx)("h2",{className:"font-serif text-3xl sm:text-4xl lg:text-5xl mt-4 text-balance",children:"Vier Jahrzehnte Programmierung"}),(0,e.jsx)("p",{className:"mt-6 text-lg text-muted-foreground max-w-2xl",children:"Eine Reise durch die Evolution der Software-Entwicklung – von Lochkarten bis zu Large Language Models."})]}),(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("div",{className:"absolute left-0 lg:left-1/2 top-0 bottom-0 w-px bg-border lg:-translate-x-px hidden sm:block"}),(0,e.jsx)("div",{className:"space-y-12 lg:space-y-16",children:r.map((t,r)=>(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:.1*r},className:`relative grid lg:grid-cols-2 gap-8 lg:gap-16 ${r%2==0?"":"lg:direction-rtl"}`,children:[(0,e.jsx)("div",{className:"absolute left-0 lg:left-1/2 top-0 -translate-x-1/2 hidden sm:block",children:(0,e.jsx)("div",{className:"size-3 rounded-full bg-background border-2 border-accent"})}),(0,e.jsx)("div",{className:`pl-8 sm:pl-12 lg:pl-0 ${r%2==0?"lg:pr-16 lg:text-right":"lg:col-start-2 lg:pl-16"}`,children:(0,e.jsxs)("div",{className:`lg:direction-ltr ${r%2==0?"lg:ml-auto lg:max-w-md":"lg:max-w-md"}`,children:[(0,e.jsx)("span",{className:"font-mono text-sm text-accent",children:t.era}),(0,e.jsx)("h3",{className:"font-serif text-xl lg:text-2xl mt-2",children:t.title}),(0,e.jsx)("p",{className:"mt-3 text-muted-foreground leading-relaxed",children:t.description}),(0,e.jsx)("div",{className:`mt-4 flex flex-wrap gap-2 ${r%2==0?"lg:justify-end":""}`,children:t.tech.map(t=>(0,e.jsx)("span",{className:"font-mono text-xs px-2 py-1 bg-secondary text-secondary-foreground rounded",children:t},t))})]})}),r%2!=0&&(0,e.jsx)("div",{className:"hidden lg:block"})]},t.era))})]})]})})}])},86490,t=>{"use strict";let e=(0,t.i(66353).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);t.s(["ArrowUpRight",0,e],86490)},32135,t=>{"use strict";var e=t.i(77598),i=t.i(99185),r=t.i(86490);let n=(0,t.i(66353).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var s=t.i(55267),o=t.i(57537);let a=[{title:"Hacker News Reader",slug:"hackernews",description:"Ein minimalistischer, schneller Hacker News Client. Fokus auf Lesbarkeit und schnelles Laden.",tech:["Python","FastAPI","HTMX"],status:"Aktiv",url:"https://jamulix.de/hackernews/",featured:!0},{title:"Sorting Visualizer",slug:"sorting",description:"Interaktive Visualisierung verschiedener Sortieralgorithmen. Didaktisches Werkzeug für Algorithmen-Verständnis.",tech:["Rust","WASM","Canvas"],status:"Aktiv",url:"https://jamulix.de/sorting",featured:!0},{title:"Projekt in Arbeit",slug:"upcoming-1",description:"KI-gestütztes Werkzeug für Code-Analyse und Dokumentation. Details folgen.",tech:["Python","LLM","AST"],status:"In Entwicklung",url:null,featured:!1},{title:"Geplant",slug:"upcoming-2",description:"Self-hosted Infrastruktur-Monitoring. Lightweight, ohne Cloud-Abhängigkeiten.",tech:["Rust","Linux","SQLite"],status:"Geplant",url:null,featured:!1}];function l({project:t,index:a}){let h=null!==t.url;return(0,e.jsx)(i.motion.article,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:.1*a},className:`group relative ${t.featured?"lg:col-span-1":""}`,children:(0,e.jsxs)("div",{className:` relative h-full p-6 lg:p-8 rounded-lg border border-border bg-card transition-all duration-300 ${h?"hover:border-accent/50 hover:bg-card/80":"opacity-70"} `,children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,e.jsx)("span",{className:` font-mono text-xs px-2 py-1 rounded ${"Aktiv"===t.status?"bg-accent/10 text-accent":"In Entwicklung"===t.status?"bg-secondary text-muted-foreground":"bg-secondary/50 text-muted-foreground/70"} `,children:t.status}),h&&(0,e.jsx)(r.ArrowUpRight,{className:"size-5 text-muted-foreground group-hover:text-accent transition-colors"})]}),(0,e.jsx)("h3",{className:"font-serif text-xl lg:text-2xl mb-3 group-hover:text-accent transition-colors",children:t.title}),(0,e.jsx)("p",{className:"text-muted-foreground leading-relaxed mb-6",children:t.description}),(0,e.jsx)("div",{className:"flex flex-wrap gap-2 mb-6",children:t.tech.map(t=>(0,e.jsx)("span",{className:"font-mono text-xs px-2 py-1 bg-secondary text-secondary-foreground rounded",children:t},t))}),h&&(0,e.jsx)(s.Button,{asChild:!0,variant:"outline",size:"sm",className:"group/btn",children:(0,e.jsxs)(o.default,{href:t.url,target:"_blank",rel:"noopener noreferrer",children:["Ansehen",(0,e.jsx)(n,{className:"ml-2 size-3 transition-transform group-hover/btn:translate-x-0.5"})]})})]})})}t.s(["ProjectsSection",0,function(){return(0,e.jsx)("section",{id:"projekte",className:"py-24 lg:py-32 bg-secondary/30",children:(0,e.jsxs)("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:[(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-16",children:[(0,e.jsx)("span",{className:"font-mono text-xs tracking-wider text-accent uppercase",children:"Experimente"}),(0,e.jsx)("h2",{className:"font-serif text-3xl sm:text-4xl lg:text-5xl mt-4 text-balance",children:"Ausgewählte Projekte"}),(0,e.jsx)("p",{className:"mt-6 text-lg text-muted-foreground max-w-2xl",children:"Technische Experimente und Werkzeuge. Weniger Portfolio, mehr Labor für Ideen."})]}),(0,e.jsx)("div",{className:"grid md:grid-cols-2 gap-6 lg:gap-8",children:a.map((t,i)=>(0,e.jsx)(l,{project:t,index:i},t.slug))})]})})}],32135)},85623,t=>{"use strict";var e=t.i(77598),i=t.i(99185);let r=[{category:"Sprachen",items:[{name:"Python",detail:"Haupt-Sprache für KI und Automatisierung"},{name:"Rust",detail:"Für performante Systemtools"},{name:"Shell/Bash",detail:"Tägliches Werkzeug"}]},{category:"Systeme",items:[{name:"Linux",detail:"Arch, Debian, NixOS"},{name:"Self-Hosting",detail:"Eigene Infrastruktur"},{name:"Containers",detail:"Docker, Podman"}]},{category:"KI & ML",items:[{name:"LLMs",detail:"GPT, Claude, lokale Modelle"},{name:"KI-Tools",detail:"Cursor, Copilot, Aider"},{name:"ML Ops",detail:"Training, Deployment"}]},{category:"Interessen",items:[{name:"Automatisierung",detail:"Workflows, Pipelines"},{name:"CLI Tools",detail:"Terminal-first"},{name:"Open Source",detail:"Nutzung & Beteiligung"}]}];t.s(["FocusSection",0,function(){return(0,e.jsx)("section",{id:"fokus",className:"py-24 lg:py-32",children:(0,e.jsxs)("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:[(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-16",children:[(0,e.jsx)("span",{className:"font-mono text-xs tracking-wider text-accent uppercase",children:"Aktuell"}),(0,e.jsx)("h2",{className:"font-serif text-3xl sm:text-4xl lg:text-5xl mt-4 text-balance",children:"Technologien & Fokus"}),(0,e.jsx)("p",{className:"mt-6 text-lg text-muted-foreground max-w-2xl",children:"Die Werkzeuge und Themen, mit denen ich aktuell arbeite. Kein Buzzword-Bingo, sondern tägliche Praxis."})]}),(0,e.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-8 lg:gap-6",children:r.map((t,r)=>(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:.1*r},children:[(0,e.jsx)("h3",{className:"font-mono text-sm text-accent mb-6 pb-3 border-b border-border",children:t.category}),(0,e.jsx)("ul",{className:"space-y-4",children:t.items.map((t,n)=>(0,e.jsxs)(i.motion.li,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.3,delay:.1*r+.05*n},className:"group",children:[(0,e.jsx)("span",{className:"block font-medium text-foreground group-hover:text-accent transition-colors",children:t.name}),(0,e.jsx)("span",{className:"block text-sm text-muted-foreground mt-0.5",children:t.detail})]},t.name))})]},t.category))}),(0,e.jsx)(i.motion.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.8,delay:.4},className:"mt-20 pt-12 border-t border-border",children:(0,e.jsx)("div",{className:"flex flex-wrap gap-3",children:["vim","git","tmux","ssh","systemd","nginx","PostgreSQL","Redis","FastAPI","PyTorch","Transformers","tiktoken"].map(t=>(0,e.jsx)("span",{className:"font-mono text-xs px-3 py-1.5 border border-border rounded text-muted-foreground hover:text-foreground hover:border-accent/50 transition-colors cursor-default",children:t},t))})})]})})}])},70805,t=>{"use strict";var e=t.i(77598),i=t.i(99185);let r=[{title:"Langfristige Neugier",text:"Technologie verändert sich ständig. Das Interesse daran nicht. Wer 1984 mit Programmieren begonnen hat, hat viele Paradigmenwechsel erlebt – und überlebt."},{title:"Handwerkliche Sorgfalt",text:"Code ist keine Einwegware. Lesbarkeit, Wartbarkeit, Einfachheit – das sind keine Nice-to-haves, sondern Grundanforderungen."},{title:"Systeme verstehen",text:"Nicht nur nutzen, sondern begreifen. Vom Kernel bis zum Compiler. Nur wer versteht, wie Dinge zusammenhängen, kann sie wirklich beherrschen."},{title:"KI als Werkzeug",text:"Künstliche Intelligenz ist kein Hype, sondern ein ernsthaftes Werkzeug. Es verändert, wie wir programmieren – aber nicht warum."}];t.s(["PhilosophySection",0,function(){return(0,e.jsx)("section",{id:"philosophie",className:"py-24 lg:py-32 bg-secondary/30",children:(0,e.jsxs)("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:[(0,e.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"mb-16 lg:mb-20",children:[(0,e.jsx)("span",{className:"font-mono text-xs tracking-wider text-accent uppercase",children:"Prinzipien"}),(0,e.jsx)("h2",{className:"font-serif text-3xl sm:text-4xl lg:text-5xl mt-4 text-balance",children:"Philosophie"})]}),(0,e.jsx)("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-x-16 lg:gap-y-14",children:r.map((t,r)=>(0,e.jsxs)(i.motion.article,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.5,delay:.1*r},className:"relative",children:[(0,e.jsx)("span",{className:"absolute -left-2 lg:-left-8 top-0 font-mono text-6xl lg:text-7xl font-bold text-border/50 select-none",children:String(r+1).padStart(2,"0")}),(0,e.jsxs)("div",{className:"relative pl-8 lg:pl-0",children:[(0,e.jsx)("h3",{className:"font-serif text-xl lg:text-2xl mb-4",children:t.title}),(0,e.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:t.text})]})]},t.title))}),(0,e.jsx)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},className:"mt-20 pt-12 border-t border-border",children:(0,e.jsx)("blockquote",{className:"font-serif text-xl lg:text-2xl text-center max-w-3xl mx-auto text-balance",children:"“Der beste Code ist der, den man in zehn Jahren noch versteht – geschrieben von jemandem, der in zehn Jahren noch lernt.”"})})]})})}])},98190,t=>{"use strict";var e=t.i(77598),i=t.i(57537),r=t.i(99185),n=t.i(66353);let s=(0,n.default)("github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),o=(0,n.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"}]]);var a=t.i(86490);let l=[{label:"Projekte",href:"#projekte"},{label:"Über",href:"#ueber"},{label:"Fokus",href:"#fokus"},{label:"Philosophie",href:"#philosophie"}],h=[{label:"Impressum",href:"/impressum"},{label:"Datenschutz",href:"/datenschutz"}],u=[{label:"GitHub",href:"https://github.com",icon:s},{label:"E-Mail",href:"mailto:kontakt@jamulix.de",icon:o}];t.s(["Footer",0,function(){let t=new Date().getFullYear();return(0,e.jsx)("footer",{id:"kontakt",className:"py-16 lg:py-20 border-t border-border",children:(0,e.jsx)("div",{className:"max-w-6xl mx-auto px-6 lg:px-8",children:(0,e.jsxs)(r.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},children:[(0,e.jsxs)("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-8",children:[(0,e.jsxs)("div",{className:"lg:col-span-5",children:[(0,e.jsx)(i.default,{href:"/",className:"inline-block font-mono text-xl tracking-tight text-foreground hover:text-accent transition-colors",children:"Jamulix"}),(0,e.jsx)("p",{className:"mt-4 text-muted-foreground max-w-sm leading-relaxed",children:"40 Jahre Programmierung. Von Fortran bis KI. Linux-Enthusiast seit 1994. Aktuell Python und Rust."}),(0,e.jsx)("div",{className:"flex gap-4 mt-6",children:u.map(t=>{let r=t.icon;return(0,e.jsxs)(i.default,{href:t.href,target:t.href.startsWith("http")?"_blank":void 0,rel:t.href.startsWith("http")?"noopener noreferrer":void 0,className:"group flex items-center gap-2 text-muted-foreground hover:text-foreground transition-colors","aria-label":t.label,children:[(0,e.jsx)(r,{className:"size-5"}),(0,e.jsx)("span",{className:"text-sm",children:t.label}),t.href.startsWith("http")&&(0,e.jsx)(a.ArrowUpRight,{className:"size-3 opacity-0 group-hover:opacity-100 transition-opacity"})]},t.label)})})]}),(0,e.jsxs)("div",{className:"lg:col-span-3 lg:col-start-7",children:[(0,e.jsx)("h3",{className:"font-mono text-sm text-accent mb-4",children:"Navigation"}),(0,e.jsx)("ul",{className:"space-y-3",children:l.map(t=>(0,e.jsx)("li",{children:(0,e.jsx)(i.default,{href:t.href,className:"text-muted-foreground hover:text-foreground transition-colors",children:t.label})},t.href))})]}),(0,e.jsxs)("div",{className:"lg:col-span-3",children:[(0,e.jsx)("h3",{className:"font-mono text-sm text-accent mb-4",children:"Rechtliches"}),(0,e.jsxs)("ul",{className:"space-y-3",children:[h.map(t=>(0,e.jsx)("li",{children:(0,e.jsx)(i.default,{href:t.href,className:"text-muted-foreground hover:text-foreground transition-colors",children:t.label})},t.href)),(0,e.jsx)("li",{children:(0,e.jsx)("span",{className:"text-muted-foreground/60 text-sm",children:"Blog (bald)"})})]})]})]}),(0,e.jsxs)("div",{className:"mt-16 pt-8 border-t border-border flex flex-col sm:flex-row justify-between items-center gap-4",children:[(0,e.jsxs)("p",{className:"text-sm text-muted-foreground",children:["© ",t," Jamulix. Alle Rechte vorbehalten."]}),(0,e.jsx)("p",{className:"font-mono text-xs text-muted-foreground/60",children:"Gebaut mit Next.js, Tailwind, und viel Kaffee."})]})]})})})}],98190)}]);