burne-ui 1.6.7 → 1.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +1 -1
- package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/dist/components/composite/ToggleButtonGroup/index.d.ts +1 -1
- package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +2 -1
- package/dist/components/core/Alert/alertStyles.d.ts +3 -1
- package/dist/components/core/Button/buttonStyles.d.ts +1 -0
- package/dist/components/core/Checkbox/checkboxStyles.d.ts +3 -2
- package/dist/components/core/ComboBox/comboBoxStyles.d.ts +2 -2
- package/dist/components/core/Dialog/dialogTypes.d.ts +1 -1
- package/dist/components/core/Disclosure/disclosureStyles.d.ts +3 -3
- package/dist/components/core/Drawer/drawerTypes.d.ts +1 -1
- package/dist/components/core/Expandable/expandableStyles.d.ts +3 -7
- package/dist/components/core/Input/inputStyles.d.ts +3 -11
- package/dist/components/core/Popover/popoverContext.d.ts +7 -0
- package/dist/components/core/Popover/popoverStyles.d.ts +8 -7
- package/dist/components/core/Radio/radioStyles.d.ts +3 -2
- package/dist/components/core/Select/selectStyles.d.ts +2 -2
- package/dist/components/core/Slider/sliderStyles.d.ts +6 -2
- package/dist/components/core/Slider/sliderThumbParts.d.ts +1 -1
- package/dist/components/core/Slider/sliderTypes.d.ts +1 -1
- package/dist/components/core/Switch/switchStyles.d.ts +2 -2
- package/dist/components/core/Text/textStyles.d.ts +7 -1
- package/dist/components/core/TextArea/textAreaStyles.d.ts +2 -4
- package/dist/components/core/TimeField/timeFieldStyles.d.ts +3 -6
- package/dist/components/core/Toast/toastStyles.d.ts +4 -3
- package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +3 -1
- package/dist/components/core/ToggleButton/useToggleButtonFillAnimation.d.ts +4 -0
- package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +0 -1
- package/dist/components/core/Tooltip/tooltipStyles.d.ts +10 -7
- package/dist/components/core/utils/fieldShellVariant.d.ts +7 -3
- package/dist/components/core/utils/hoverVariant.d.ts +1 -1
- package/dist/components/core/utils/sizeLayout/collapsible.d.ts +25 -0
- package/dist/components/core/utils/sizeLayout/index.d.ts +2 -0
- package/dist/components/core/utils/sizeLayout/panel.d.ts +8 -6
- package/dist/components/core/utils/useFieldShellHoverLift.d.ts +20 -6
- package/dist/index.cjs +1 -1
- package/dist/index.js +7670 -7654
- package/dist/internal.cjs +1 -1
- package/dist/internal.js +1 -1
- package/dist/theme/themeDefaults.d.ts +1 -1
- package/dist/{themeRuntimeContext-CE8HsqSx.js → themeRuntimeContext-DPX6IpU8.js} +1965 -1942
- package/dist/themeRuntimeContext-DuLxYkX1.cjs +50 -0
- package/dist/tokens/config.d.ts +4 -0
- package/dist/tokens/index.d.ts +1 -1
- package/dist/ui.css +349 -92
- package/package.json +1 -1
- package/dist/themeRuntimeContext-zhfbKb8L.cjs +0 -50
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";const wr=require("react/jsx-runtime"),R=require("react");function jo(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var o=n.length;for(e=0;e<o;e++)n[e]&&(t=jo(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function Ks(){for(var n,e,t=0,r="",o=arguments.length;t<o;t++)(n=arguments[t])&&(e=jo(n))&&(r&&(r+=" "),r+=e);return r}const Js=(n,e)=>{const t=new Array(n.length+e.length);for(let r=0;r<n.length;r++)t[r]=n[r];for(let r=0;r<e.length;r++)t[n.length+r]=e[r];return t},ea=(n,e)=>({classGroupId:n,validator:e}),Zo=(n=new Map,e=null,t)=>({nextPart:n,validators:e,classGroupId:t}),Er="-",po=[],ta="arbitrary..",ra=n=>{const e=oa(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return na(s);const a=s.split(Er),c=a[0]===""&&a.length>1?1:0;return Qo(a,c,e)},getConflictingClassGroupIds:(s,a)=>{if(a){const c=r[s],l=t[s];return c?l?Js(l,c):c:l||po}return t[s]||po}}},Qo=(n,e,t)=>{if(n.length-e===0)return t.classGroupId;const o=n[e],i=t.nextPart.get(o);if(i){const l=Qo(n,e+1,i);if(l)return l}const s=t.validators;if(s===null)return;const a=e===0?n.join(Er):n.slice(e).join(Er),c=s.length;for(let l=0;l<c;l++){const u=s[l];if(u.validator(a))return u.classGroupId}},na=n=>n.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=n.slice(1,-1),t=e.indexOf(":"),r=e.slice(0,t);return r?ta+r:void 0})(),oa=n=>{const{theme:e,classGroups:t}=n;return ia(t,e)},ia=(n,e)=>{const t=Zo();for(const r in n){const o=n[r];Pn(o,t,r,e)}return t},Pn=(n,e,t,r)=>{const o=n.length;for(let i=0;i<o;i++){const s=n[i];sa(s,e,t,r)}},sa=(n,e,t,r)=>{if(typeof n=="string"){aa(n,e,t);return}if(typeof n=="function"){la(n,e,t,r);return}ca(n,e,t,r)},aa=(n,e,t)=>{const r=n===""?e:Ko(e,n);r.classGroupId=t},la=(n,e,t,r)=>{if(ua(n)){Pn(n(r),e,t,r);return}e.validators===null&&(e.validators=[]),e.validators.push(ea(t,n))},ca=(n,e,t,r)=>{const o=Object.entries(n),i=o.length;for(let s=0;s<i;s++){const[a,c]=o[s];Pn(c,Ko(e,a),t,r)}},Ko=(n,e)=>{let t=n;const r=e.split(Er),o=r.length;for(let i=0;i<o;i++){const s=r[i];let a=t.nextPart.get(s);a||(a=Zo(),t.nextPart.set(s,a)),t=a}return t},ua=n=>"isThemeGetter"in n&&n.isThemeGetter===!0,fa=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=Object.create(null),r=Object.create(null);const o=(i,s)=>{t[i]=s,e++,e>n&&(e=0,r=t,t=Object.create(null))};return{get(i){let s=t[i];if(s!==void 0)return s;if((s=r[i])!==void 0)return o(i,s),s},set(i,s){i in t?t[i]=s:o(i,s)}}},dn="!",go=":",da=[],mo=(n,e,t,r,o)=>({modifiers:n,hasImportantModifier:e,baseClassName:t,maybePostfixModifierPosition:r,isExternal:o}),ha=n=>{const{prefix:e,experimentalParseClassName:t}=n;let r=o=>{const i=[];let s=0,a=0,c=0,l;const u=o.length;for(let d=0;d<u;d++){const m=o[d];if(s===0&&a===0){if(m===go){i.push(o.slice(c,d)),c=d+1;continue}if(m==="/"){l=d;continue}}m==="["?s++:m==="]"?s--:m==="("?a++:m===")"&&a--}const f=i.length===0?o:o.slice(c);let p=f,h=!1;f.endsWith(dn)?(p=f.slice(0,-1),h=!0):f.startsWith(dn)&&(p=f.slice(1),h=!0);const g=l&&l>c?l-c:void 0;return mo(i,h,p,g)};if(e){const o=e+go,i=r;r=s=>s.startsWith(o)?i(s.slice(o.length)):mo(da,!1,s,void 0,!0)}if(t){const o=r;r=i=>t({className:i,parseClassName:o})}return r},pa=n=>{const e=new Map;return n.orderSensitiveModifiers.forEach((t,r)=>{e.set(t,1e6+r)}),t=>{const r=[];let o=[];for(let i=0;i<t.length;i++){const s=t[i],a=s[0]==="[",c=e.has(s);a||c?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(s)):o.push(s)}return o.length>0&&(o.sort(),r.push(...o)),r}},ga=n=>({cache:fa(n.cacheSize),parseClassName:ha(n),sortModifiers:pa(n),postfixLookupClassGroupIds:ma(n),...ra(n)}),ma=n=>{const e=Object.create(null),t=n.postfixLookupClassGroups;if(t)for(let r=0;r<t.length;r++)e[t[r]]=!0;return e},_a=/\s+/,ba=(n,e)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i,postfixLookupClassGroupIds:s}=e,a=[],c=n.trim().split(_a);let l="";for(let u=c.length-1;u>=0;u-=1){const f=c[u],{isExternal:p,modifiers:h,hasImportantModifier:g,baseClassName:d,maybePostfixModifierPosition:m}=t(f);if(p){l=f+(l.length>0?" "+l:l);continue}let b=!!m,_;if(b){const S=d.substring(0,m);_=r(S);const v=_&&s[_]?r(d):void 0;v&&v!==_&&(_=v,b=!1)}else _=r(d);if(!_){if(!b){l=f+(l.length>0?" "+l:l);continue}if(_=r(d),!_){l=f+(l.length>0?" "+l:l);continue}b=!1}const y=h.length===0?"":h.length===1?h[0]:i(h).join(":"),T=g?y+dn:y,x=T+_;if(a.indexOf(x)>-1)continue;a.push(x);const k=o(_,b);for(let S=0;S<k.length;++S){const v=k[S];a.push(T+v)}l=f+(l.length>0?" "+l:l)}return l},va=(...n)=>{let e=0,t,r,o="";for(;e<n.length;)(t=n[e++])&&(r=Jo(t))&&(o&&(o+=" "),o+=r);return o},Jo=n=>{if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=Jo(n[r]))&&(t&&(t+=" "),t+=e);return t},_o=(n,...e)=>{let t,r,o,i;const s=c=>{const l=e.reduce((u,f)=>f(u),n());return t=ga(l),r=t.cache.get,o=t.cache.set,i=a,a(c)},a=c=>{const l=r(c);if(l)return l;const u=ba(c,t);return o(c,u),u};return i=s,(...c)=>i(va(...c))},ya=[],te=n=>{const e=t=>t[n]||ya;return e.isThemeGetter=!0,e},ei=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ti=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xa=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Ta=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wa=/\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$/,Sa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ka=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ca=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$e=n=>xa.test(n),A=n=>!!n&&!Number.isNaN(Number(n)),Ie=n=>!!n&&Number.isInteger(Number(n)),Jr=n=>n.endsWith("%")&&A(n.slice(0,-1)),Ge=n=>Ta.test(n),ri=()=>!0,Ea=n=>wa.test(n)&&!Sa.test(n),An=()=>!1,Oa=n=>ka.test(n),Da=n=>Ca.test(n),Ra=n=>!C(n)&&!E(n),Pa=n=>n.startsWith("@container")&&(n[10]==="/"&&n[11]!==void 0||n[11]==="s"&&n[16]!==void 0&&n.startsWith("-size/",10)||n[11]==="n"&&n[18]!==void 0&&n.startsWith("-normal/",10)),Aa=n=>nt(n,ii,An),C=n=>ei.test(n),it=n=>nt(n,si,Ea),bo=n=>nt(n,Ga,A),La=n=>nt(n,li,ri),Fa=n=>nt(n,ai,An),vo=n=>nt(n,ni,An),Ia=n=>nt(n,oi,Da),fr=n=>nt(n,ci,Oa),E=n=>ti.test(n),Nt=n=>yt(n,si),Ma=n=>yt(n,ai),yo=n=>yt(n,ni),za=n=>yt(n,ii),Na=n=>yt(n,oi),dr=n=>yt(n,ci,!0),Ba=n=>yt(n,li,!0),nt=(n,e,t)=>{const r=ei.exec(n);return r?r[1]?e(r[1]):t(r[2]):!1},yt=(n,e,t=!1)=>{const r=ti.exec(n);return r?r[1]?e(r[1]):t:!1},ni=n=>n==="position"||n==="percentage",oi=n=>n==="image"||n==="url",ii=n=>n==="length"||n==="size"||n==="bg-size",si=n=>n==="length",Ga=n=>n==="number",ai=n=>n==="family-name",li=n=>n==="number"||n==="weight",ci=n=>n==="shadow",xo=()=>{const n=te("color"),e=te("font"),t=te("text"),r=te("font-weight"),o=te("tracking"),i=te("leading"),s=te("breakpoint"),a=te("container"),c=te("spacing"),l=te("radius"),u=te("shadow"),f=te("inset-shadow"),p=te("text-shadow"),h=te("drop-shadow"),g=te("blur"),d=te("perspective"),m=te("aspect"),b=te("ease"),_=te("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...T(),E,C],k=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],v=()=>[E,C,c],w=()=>[$e,"full","auto",...v()],O=()=>[Ie,"none","subgrid",E,C],N=()=>["auto",{span:["full",Ie,E,C]},Ie,E,C],L=()=>[Ie,"auto",E,C],z=()=>["auto","min","max","fr",E,C],G=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],P=()=>["auto",...v()],M=()=>[$e,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...v()],Z=()=>[$e,"screen","full","dvw","lvw","svw","min","max","fit",...v()],ye=()=>[$e,"screen","full","lh","dvh","lvh","svh","min","max","fit",...v()],D=()=>[n,E,C],re=()=>[...T(),yo,vo,{position:[E,C]}],xe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",za,Aa,{size:[E,C]}],ne=()=>[Jr,Nt,it],U=()=>["","none","full",l,E,C],ie=()=>["",A,Nt,it],Tt=()=>["solid","dashed","dotted","double"],ar=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>[A,Jr,yo,vo],ae=()=>["","none",g,E,C],lr=()=>["none",A,E,C],cr=()=>["none",A,E,C],Kr=()=>[A,E,C],ur=()=>[$e,"full",...v()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ge],breakpoint:[Ge],color:[ri],container:[Ge],"drop-shadow":[Ge],ease:["in","out","in-out"],font:[Ra],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ge],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ge],shadow:[Ge],spacing:["px",A],text:[Ge],"text-shadow":[Ge],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$e,C,E,m]}],container:["container"],"container-type":[{"@container":["","normal","size",E,C]}],"container-named":[Pa],columns:[{columns:[A,C,E,a]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:x()}],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:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[Ie,"auto",E,C]}],basis:[{basis:[$e,"full","auto",a,...v()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[A,$e,"auto","initial","none",C]}],grow:[{grow:["",A,E,C]}],shrink:[{shrink:["",A,E,C]}],order:[{order:[Ie,"first","last","none",E,C]}],"grid-cols":[{"grid-cols":O()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":O()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":z()}],"auto-rows":[{"auto-rows":z()}],gap:[{gap:v()}],"gap-x":[{"gap-x":v()}],"gap-y":[{"gap-y":v()}],"justify-content":[{justify:[...G(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...G()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":G()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:v()}],px:[{px:v()}],py:[{py:v()}],ps:[{ps:v()}],pe:[{pe:v()}],pbs:[{pbs:v()}],pbe:[{pbe:v()}],pt:[{pt:v()}],pr:[{pr:v()}],pb:[{pb:v()}],pl:[{pl:v()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mbs:[{mbs:P()}],mbe:[{mbe:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":v()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":v()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],"inline-size":[{inline:["auto",...Z()]}],"min-inline-size":[{"min-inline":["auto",...Z()]}],"max-inline-size":[{"max-inline":["none",...Z()]}],"block-size":[{block:["auto",...ye()]}],"min-block-size":[{"min-block":["auto",...ye()]}],"max-block-size":[{"max-block":["none",...ye()]}],w:[{w:[a,"screen",...M()]}],"min-w":[{"min-w":[a,"screen","none",...M()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",t,Nt,it]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ba,La]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Jr,C]}],"font-family":[{font:[Ma,Fa,e]}],"font-features":[{"font-features":[C]}],"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:[o,E,C]}],"line-clamp":[{"line-clamp":[A,"none",E,bo]}],leading:[{leading:[i,...v()]}],"list-image":[{"list-image":["none",E,C]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",E,C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Tt(),"wavy"]}],"text-decoration-thickness":[{decoration:[A,"from-font","auto",E,it]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[A,"auto",E,C]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"tab-size":[{tab:[Ie,E,C]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",E,C]}],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",E,C]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:xe()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ie,E,C],radial:["",E,C],conic:[Ie,E,C]},Na,Ia]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:ne()}],"gradient-via-pos":[{via:ne()}],"gradient-to-pos":[{to:ne()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Tt(),"hidden","none"]}],"divide-style":[{divide:[...Tt(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...Tt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[A,E,C]}],"outline-w":[{outline:["",A,Nt,it]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",u,dr,fr]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",f,dr,fr]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[A,it]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,dr,fr]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[A,E,C]}],"mix-blend":[{"mix-blend":[...ar(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ar()}],"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":[A]}],"mask-image-linear-from-pos":[{"mask-linear-from":J()}],"mask-image-linear-to-pos":[{"mask-linear-to":J()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":J()}],"mask-image-t-to-pos":[{"mask-t-to":J()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":J()}],"mask-image-r-to-pos":[{"mask-r-to":J()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":J()}],"mask-image-b-to-pos":[{"mask-b-to":J()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":J()}],"mask-image-l-to-pos":[{"mask-l-to":J()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":J()}],"mask-image-x-to-pos":[{"mask-x-to":J()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":J()}],"mask-image-y-to-pos":[{"mask-y-to":J()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[E,C]}],"mask-image-radial-from-pos":[{"mask-radial-from":J()}],"mask-image-radial-to-pos":[{"mask-radial-to":J()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":T()}],"mask-image-conic-pos":[{"mask-conic":[A]}],"mask-image-conic-from-pos":[{"mask-conic-from":J()}],"mask-image-conic-to-pos":[{"mask-conic-to":J()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:xe()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",E,C]}],filter:[{filter:["","none",E,C]}],blur:[{blur:ae()}],brightness:[{brightness:[A,E,C]}],contrast:[{contrast:[A,E,C]}],"drop-shadow":[{"drop-shadow":["","none",h,dr,fr]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",A,E,C]}],"hue-rotate":[{"hue-rotate":[A,E,C]}],invert:[{invert:["",A,E,C]}],saturate:[{saturate:[A,E,C]}],sepia:[{sepia:["",A,E,C]}],"backdrop-filter":[{"backdrop-filter":["","none",E,C]}],"backdrop-blur":[{"backdrop-blur":ae()}],"backdrop-brightness":[{"backdrop-brightness":[A,E,C]}],"backdrop-contrast":[{"backdrop-contrast":[A,E,C]}],"backdrop-grayscale":[{"backdrop-grayscale":["",A,E,C]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A,E,C]}],"backdrop-invert":[{"backdrop-invert":["",A,E,C]}],"backdrop-opacity":[{"backdrop-opacity":[A,E,C]}],"backdrop-saturate":[{"backdrop-saturate":[A,E,C]}],"backdrop-sepia":[{"backdrop-sepia":["",A,E,C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":v()}],"border-spacing-x":[{"border-spacing-x":v()}],"border-spacing-y":[{"border-spacing-y":v()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",E,C]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[A,"initial",E,C]}],ease:[{ease:["linear","initial",b,E,C]}],delay:[{delay:[A,E,C]}],animate:[{animate:["none",_,E,C]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[d,E,C]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:lr()}],"rotate-x":[{"rotate-x":lr()}],"rotate-y":[{"rotate-y":lr()}],"rotate-z":[{"rotate-z":lr()}],scale:[{scale:cr()}],"scale-x":[{"scale-x":cr()}],"scale-y":[{"scale-y":cr()}],"scale-z":[{"scale-z":cr()}],"scale-3d":["scale-3d"],skew:[{skew:Kr()}],"skew-x":[{"skew-x":Kr()}],"skew-y":[{"skew-y":Kr()}],transform:[{transform:[E,C,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ur()}],"translate-x":[{"translate-x":ur()}],"translate-y":[{"translate-y":ur()}],"translate-z":[{"translate-z":ur()}],"translate-none":["translate-none"],zoom:[{zoom:[Ie,E,C]}],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",E,C]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":D()}],"scrollbar-track-color":[{"scrollbar-track":D()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mbs":[{"scroll-mbs":v()}],"scroll-mbe":[{"scroll-mbe":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pbs":[{"scroll-pbs":v()}],"scroll-pbe":[{"scroll-pbe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"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",E,C]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[A,Nt,it,bo]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ua=(n,{cacheSize:e,prefix:t,experimentalParseClassName:r,extend:o={},override:i={}})=>(St(n,"cacheSize",e),St(n,"prefix",t),St(n,"experimentalParseClassName",r),hr(n.theme,i.theme),hr(n.classGroups,i.classGroups),hr(n.conflictingClassGroups,i.conflictingClassGroups),hr(n.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),St(n,"postfixLookupClassGroups",i.postfixLookupClassGroups),St(n,"orderSensitiveModifiers",i.orderSensitiveModifiers),pr(n.theme,o.theme),pr(n.classGroups,o.classGroups),pr(n.conflictingClassGroups,o.conflictingClassGroups),pr(n.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),hn(n,o,"postfixLookupClassGroups"),hn(n,o,"orderSensitiveModifiers"),n),St=(n,e,t)=>{t!==void 0&&(n[e]=t)},hr=(n,e)=>{if(e)for(const t in e)St(n,t,e[t])},pr=(n,e)=>{if(e)for(const t in e)hn(n,e,t)},hn=(n,e,t)=>{const r=e[t];r!==void 0&&(n[t]=n[t]?n[t].concat(r):r)},Ha=(n,...e)=>typeof n=="function"?_o(xo,n,...e):_o(()=>Ua(xo(),n),...e),Wa='ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',Va="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",$a=.5,Ya={xsmall:{size:.6875,line:.875},small:{size:.75,line:1},base:{size:.875,line:1.25},mid:{size:1,line:1.5},large:{size:1.15,line:1.75},xlarge:{size:1.5,line:2},"2xlarge":{size:1.875,line:2.25},"3xlarge":{size:2.25,line:2.5}},Xa={dark:{base:.15,mid:.2,large:.24},light:{base:.08,mid:.12,large:.16}},qa={base:[0,2,4,-2],mid:[0,4,10,-6],large:[0,8,20,-12]},Qe={fontFamilySans:Wa,fontFamilyMono:Va,shadowSize:$a,textScale:Ya,shadowOpacity:Xa,shadowGeom:qa},ja=["none","base","mid","large"],Ln={base:"--shadow-base",mid:"--shadow-mid",large:"--shadow-large"},Za=Qe.shadowSize,ui=Qe.shadowOpacity,fi={base:[Qe.shadowGeom.base],mid:[Qe.shadowGeom.mid],large:[Qe.shadowGeom.large]};function Qa(n){return`var(--shadow-${n})`}const Ka={namespace:"burne",tailwindBridge:{"font-sans":"font-family-sans","font-mono":"font-family-mono","spacing-xsmall":"space-xsmall","spacing-small":"space-small","spacing-base":"space-base","spacing-mid":"space-mid","spacing-large":"space-large","spacing-xlarge":"space-xlarge","spacing-2xlarge":"space-2xlarge","spacing-3xlarge":"space-3xlarge","radius-xsmall":"radius-xsmall","radius-small":"radius-small","radius-base":"radius-base","radius-mid":"radius-mid","radius-large":"radius-large","color-background":"color-background","color-foreground":"color-foreground","color-muted":"color-muted","color-surface":"color-surface","color-border":"color-border","border-token":"color-border","color-primary":"color-primary","color-primary-foreground":"color-primary-foreground","color-primary-hover":"color-primary-hover","color-default-hover":"color-default-hover","color-primary-tint":"color-primary-tint","color-primary-tint-strong":"color-primary-tint-strong","color-indicator":"color-indicator","color-indicator-foreground":"color-indicator-foreground","color-secondary":"color-secondary","color-secondary-foreground":"color-secondary-foreground","color-secondary-hover":"color-secondary-hover","color-tertiary":"color-tertiary","color-tertiary-foreground":"color-tertiary-foreground","color-tertiary-hover":"color-tertiary-hover","color-focus-ring":"color-focus-ring","color-focus-ring-danger":"color-focus-ring-danger","color-focus-ring-success":"color-focus-ring-success","color-focus-ring-info":"color-focus-ring-info","color-focus-ring-warning":"color-focus-ring-warning","color-converge-ripple-primary-fill":"color-converge-ripple-primary-fill","color-converge-ripple-neutral":"color-converge-ripple-neutral","color-converge-ripple-neutral-muted":"color-converge-ripple-neutral-muted","color-converge-ripple-danger":"color-converge-ripple-danger","color-converge-ripple-info":"color-converge-ripple-info","color-converge-ripple-success":"color-converge-ripple-success","color-converge-ripple-warning":"color-converge-ripple-warning","color-danger":"color-danger","color-danger-foreground":"color-danger-foreground","color-danger-fill-hover":"color-danger-fill-hover","color-success":"color-success","color-success-foreground":"color-success-foreground","color-success-fill-hover":"color-success-fill-hover","color-info":"color-info","color-info-foreground":"color-info-foreground","color-info-fill-hover":"color-info-fill-hover","color-warning":"color-warning","color-warning-foreground":"color-warning-foreground","color-warning-fill-hover":"color-warning-fill-hover","color-surface-tint-danger":"color-surface-tint-danger","color-surface-tint-success":"color-surface-tint-success","color-surface-tint-info":"color-surface-tint-info","color-surface-tint-warning":"color-surface-tint-warning","color-surface-tint-danger-hover":"color-surface-tint-danger-hover","color-surface-tint-success-hover":"color-surface-tint-success-hover","color-surface-tint-info-hover":"color-surface-tint-info-hover","color-surface-tint-warning-hover":"color-surface-tint-warning-hover","icon-xsmall":"icon-size-xsmall","icon-small":"icon-size-small","icon-base":"icon-size-base","icon-mid":"icon-size-mid","icon-large":"icon-size-large","icon-xlarge":"icon-size-xlarge","icon-2xlarge":"icon-size-2xlarge","icon-3xlarge":"icon-size-3xlarge"}},Ja=["xsmall","small","base","mid","large","xlarge","2xlarge","3xlarge"],el=["xsmall","small","base","mid","large"],tl=["small","mid","xsmall","accent-header","header-1","header-2","large"],rl=Ha({extend:{theme:{spacing:[...Ja],radius:[...el],text:[...tl]}}});function B(...n){return rl(Ks(n))}const _t={small:{minWButton:"min-w-button-small",padX:"px-base",padY:"py-xsmall",affixPadX:"px-base",affixText:"text-base",controlPad:"px-base py-xsmall text-small",controlText:"small",icon:"icon-small",chevronIcon:"icon-small",spinnerIcon:"icon-small",spinnerBorder:"border-2",rounded:"rounded-small"},base:{minWButton:"min-w-button-base",padX:"px-mid",padY:"py-small",affixPadX:"px-mid",affixText:"text-base",controlPad:"px-mid py-small text-base",controlText:"base",icon:"icon-base",chevronIcon:"icon-base",spinnerIcon:"icon-base",spinnerBorder:"border-2",rounded:"rounded-base"},mid:{minWButton:"min-w-button-mid",padX:"px-large",padY:"py-base",affixPadX:"px-large",affixText:"text-mid",controlPad:"px-large py-base text-mid",controlText:"mid",icon:"icon-mid",chevronIcon:"icon-mid",spinnerIcon:"icon-mid",spinnerBorder:"border-2",rounded:"rounded-mid"},large:{minWButton:"min-w-button-large",padX:"px-xlarge",padY:"py-mid",affixPadX:"px-xlarge",affixText:"text-large",controlPad:"px-xlarge py-mid text-large",controlText:"large",icon:"icon-large",chevronIcon:"icon-large",spinnerIcon:"icon-large",spinnerBorder:"border-[2.5px]",rounded:"rounded-large"}};function di(n,e){return e==null||!(e instanceof Node)?!0:!n.contains(e)}function Ue(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function hi(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*!
|
|
2
|
+
* GSAP 3.15.0
|
|
3
|
+
* https://gsap.com
|
|
4
|
+
*
|
|
5
|
+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
|
6
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
7
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
8
|
+
*/var Ce={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},jt={duration:.5,overwrite:!1,delay:0},Fn,se,$,Ae=1e8,W=1/Ae,pn=Math.PI*2,nl=pn/4,ol=0,pi=Math.sqrt,il=Math.cos,sl=Math.sin,oe=function(e){return typeof e=="string"},j=function(e){return typeof e=="function"},We=function(e){return typeof e=="number"},In=function(e){return typeof e>"u"},Be=function(e){return typeof e=="object"},pe=function(e){return e!==!1},Mn=function(){return typeof window<"u"},gr=function(e){return j(e)||oe(e)},gi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ce=Array.isArray,al=/random\([^)]+\)/g,ll=/,\s*/g,To=/(?:-?\.?\d|\.)+/gi,mi=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,kt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,en=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_i=/[+-]=-?[.\d]+/,cl=/[^,'"\[\]\s]+/gi,ul=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,X,Me,gn,zn,Ee={},Or={},bi,vi=function(e){return(Or=Rt(e,Ee))&&be},Nn=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Zt=function(e,t){return!t&&console.warn(e)},yi=function(e,t){return e&&(Ee[e]=t)&&Or&&(Or[e]=t)||Ee},Qt=function(){return 0},fl={suppressEvents:!0,isStart:!0,kill:!1},Sr={suppressEvents:!0,kill:!1},dl={suppressEvents:!0},Bn={},Ke=[],mn={},xi,Te={},tn={},wo=30,kr=[],Gn="",Un=function(e){var t=e[0],r,o;if(Be(t)||j(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(o=kr.length;o--&&!kr[o].targetTest(t););r=kr[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new Wi(e[o],r)))||e.splice(o,1);return e},dt=function(e){return e._gsap||Un(Le(e))[0]._gsap},Ti=function(e,t,r){return(r=e[t])&&j(r)?e[t]():In(r)&&e.getAttribute&&e.getAttribute(t)||r},ge=function(e,t){return(e=e.split(",")).forEach(t)||e},Q=function(e){return Math.round(e*1e5)/1e5||0},Y=function(e){return Math.round(e*1e7)/1e7||0},Et=function(e,t){var r=t.charAt(0),o=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+o:r==="-"?e-o:r==="*"?e*o:e/o},hl=function(e,t){for(var r=t.length,o=0;e.indexOf(t[o])<0&&++o<r;);return o<r},Dr=function(){var e=Ke.length,t=Ke.slice(0),r,o;for(mn={},Ke.length=0,r=0;r<e;r++)o=t[r],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},Hn=function(e){return!!(e._initted||e._startAt||e.add)},wi=function(e,t,r,o){Ke.length&&!se&&Dr(),e.render(t,r,!!(se&&t<0&&Hn(e))),Ke.length&&!se&&Dr()},Si=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(cl).length<2?t:oe(e)?e.trim():e},ki=function(e){return e},Oe=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},pl=function(e){return function(t,r){for(var o in r)o in t||o==="duration"&&e||o==="ease"||(t[o]=r[o])}},Rt=function(e,t){for(var r in t)e[r]=t[r];return e},So=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Be(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},Rr=function(e,t){var r={},o;for(o in e)o in t||(r[o]=e[o]);return r},$t=function(e){var t=e.parent||X,r=e.keyframes?pl(ce(e.keyframes)):Oe;if(pe(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},gl=function(e,t){for(var r=e.length,o=r===t.length;o&&r--&&e[r]===t[r];);return r<0},Ci=function(e,t,r,o,i){var s=e[o],a;if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[o]=t,t._prev=s,t.parent=t._dp=e,t},Gr=function(e,t,r,o){r===void 0&&(r="_first"),o===void 0&&(o="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[o]===t&&(e[o]=i),t._next=t._prev=t.parent=null},et=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ht=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},ml=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},_n=function(e,t,r,o){return e._startAt&&(se?e._startAt.revert(Sr):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,o))},_l=function n(e){return!e||e._ts&&n(e.parent)},ko=function(e){return e._repeat?Pt(e._tTime,e=e.duration()+e._rDelay)*e:0},Pt=function(e,t){var r=Math.floor(e=Y(e/t));return e&&r===e?r-1:r},Pr=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Ur=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||W)||0))},Hr=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Y(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Ur(e),r._dirty||ht(r,e)),e},Ei=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Pr(e.rawTime(),t),(!t._dur||ir(0,t.totalDuration(),r)-t._tTime>W)&&t.render(r,!0)),ht(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-W}},ze=function(e,t,r,o){return t.parent&&et(t),t._start=Y((We(r)?r:r||e!==X?Pe(e,r,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Ci(e,t,"_first","_last",e._sort?"_start":0),bn(t)||(e._recent=t),o||Ei(e,t),e._ts<0&&Hr(e,e._tTime),e},Oi=function(e,t){return(Ee.ScrollTrigger||Nn("scrollTrigger",t))&&Ee.ScrollTrigger.create(t,e)},Di=function(e,t,r,o,i){if(Vn(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!se&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&xi!==we.frame)return Ke.push(e),e._lazy=[i,o],1},bl=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},bn=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},vl=function(e,t,r,o){var i=e.ratio,s=t<0||!t&&(!e._start&&bl(e)&&!(!e._initted&&bn(e))||(e._ts<0||e._dp._ts<0)&&!bn(e))?0:1,a=e._rDelay,c=0,l,u,f;if(a&&e._repeat&&(c=ir(0,e._tDur,t),u=Pt(c,a),e._yoyo&&u&1&&(s=1-s),u!==Pt(e._tTime,a)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||se||o||e._zTime===W||!t&&e._zTime){if(!e._initted&&Di(e,t,o,r,c))return;for(f=e._zTime,e._zTime=t||(r?W:0),r||(r=t&&!f),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=c,l=e._pt;l;)l.r(s,l.d),l=l._next;t<0&&_n(e,t,r,!0),e._onUpdate&&!r&&Se(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Se(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&et(e,1),!r&&!se&&(Se(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},yl=function(e,t,r){var o;if(r>t)for(o=e._first;o&&o._start<=r;){if(o.data==="isPause"&&o._start>t)return o;o=o._next}else for(o=e._last;o&&o._start>=r;){if(o.data==="isPause"&&o._start<t)return o;o=o._prev}},At=function(e,t,r,o){var i=e._repeat,s=Y(t)||0,a=e._tTime/e._tDur;return a&&!o&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:Y(s*(i+1)+e._rDelay*i):s,a>0&&!o&&Hr(e,e._tTime=e._tDur*a),e.parent&&Ur(e),r||ht(e.parent,e),e},Co=function(e){return e instanceof he?ht(e):At(e,e._dur)},xl={_start:0,endTime:Qt,totalDuration:Qt},Pe=function n(e,t,r){var o=e.labels,i=e._recent||xl,s=e.duration()>=Ae?i.endTime(!1):e._dur,a,c,l;return oe(t)&&(isNaN(t)||t in o)?(c=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),c==="<"||c===">"?(a>=0&&(t=t.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?i:r).totalDuration()/100:1)):a<0?(t in o||(o[t]=s),o[t]):(c=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(c=c/100*(ce(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+c:s+c)):t==null?s:+t},Yt=function(e,t,r){var o=We(t[1]),i=(o?2:1)+(e<2?0:1),s=t[i],a,c;if(o&&(s.duration=t[1]),s.parent=r,e){for(a=s,c=r;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=pe(c.vars.inherit)&&c.parent;s.immediateRender=pe(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[i-1]}return new ee(t[0],s,t[i+1])},ot=function(e,t){return e||e===0?t(e):t},ir=function(e,t,r){return r<e?e:r>t?t:r},le=function(e,t){return!oe(e)||!(t=ul.exec(e))?"":t[1]},Tl=function(e,t,r){return ot(r,function(o){return ir(e,t,o)})},vn=[].slice,Ri=function(e,t){return e&&Be(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Be(e[0]))&&!e.nodeType&&e!==Me},wl=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(o){var i;return oe(o)&&!t||Ri(o,1)?(i=r).push.apply(i,Le(o)):r.push(o)})||r},Le=function(e,t,r){return $&&!t&&$.selector?$.selector(e):oe(e)&&!r&&(gn||!Lt())?vn.call((t||zn).querySelectorAll(e),0):ce(e)?wl(e,r):Ri(e)?vn.call(e,0):e?[e]:[]},yn=function(e){return e=Le(e)[0]||Zt("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Le(t,r.querySelectorAll?r:r===e?Zt("Invalid scope")||zn.createElement("div"):e)}},Pi=function(e){return e.sort(function(){return .5-Math.random()})},Ai=function(e){if(j(e))return e;var t=Be(e)?e:{each:e},r=pt(t.ease),o=t.from||0,i=parseFloat(t.base)||0,s={},a=o>0&&o<1,c=isNaN(o)||a,l=t.axis,u=o,f=o;return oe(o)?u=f={center:.5,edges:.5,end:1}[o]||0:!a&&c&&(u=o[0],f=o[1]),function(p,h,g){var d=(g||t).length,m=s[d],b,_,y,T,x,k,S,v,w;if(!m){if(w=t.grid==="auto"?0:(t.grid||[1,Ae])[1],!w){for(S=-Ae;S<(S=g[w++].getBoundingClientRect().left)&&w<d;);w<d&&w--}for(m=s[d]=[],b=c?Math.min(w,d)*u-.5:o%w,_=w===Ae?0:c?d*f/w-.5:o/w|0,S=0,v=Ae,k=0;k<d;k++)y=k%w-b,T=_-(k/w|0),m[k]=x=l?Math.abs(l==="y"?T:y):pi(y*y+T*T),x>S&&(S=x),x<v&&(v=x);o==="random"&&Pi(m),m.max=S-v,m.min=v,m.v=d=(parseFloat(t.amount)||parseFloat(t.each)*(w>d?d-1:l?l==="y"?d/w:w:Math.max(w,d/w))||0)*(o==="edges"?-1:1),m.b=d<0?i-d:i,m.u=le(t.amount||t.each)||0,r=r&&d<0?Ml(r):r}return d=(m[p]-m.min)/m.max||0,Y(m.b+(r?r(d):d)*m.v)+m.u}},xn=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var o=Y(Math.round(parseFloat(r)/e)*e*t);return(o-o%1)/t+(We(r)?0:le(r))}},Li=function(e,t){var r=ce(e),o,i;return!r&&Be(e)&&(o=r=e.radius||Ae,e.values?(e=Le(e.values),(i=!We(e[0]))&&(o*=o)):e=xn(e.increment)),ot(t,r?j(e)?function(s){return i=e(s),Math.abs(i-s)<=o?i:s}:function(s){for(var a=parseFloat(i?s.x:s),c=parseFloat(i?s.y:0),l=Ae,u=0,f=e.length,p,h;f--;)i?(p=e[f].x-a,h=e[f].y-c,p=p*p+h*h):p=Math.abs(e[f]-a),p<l&&(l=p,u=f);return u=!o||l<=o?e[u]:s,i||u===s||We(s)?u:u+le(s)}:xn(e))},Fi=function(e,t,r,o){return ot(ce(e)?!t:r===!0?!!(r=0):!o,function(){return ce(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(o=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*o)/o})},Sl=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return t.reduce(function(i,s){return s(i)},o)}},kl=function(e,t){return function(r){return e(parseFloat(r))+(t||le(r))}},Cl=function(e,t,r){return Mi(e,t,0,1,r)},Ii=function(e,t,r){return ot(r,function(o){return e[~~t(o)]})},El=function n(e,t,r){var o=t-e;return ce(e)?Ii(e,n(0,e.length),t):ot(r,function(i){return(o+(i-e)%o)%o+e})},Ol=function n(e,t,r){var o=t-e,i=o*2;return ce(e)?Ii(e,n(0,e.length-1),t):ot(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>o?i-s:s)})},Kt=function(e){return e.replace(al,function(t){var r=t.indexOf("[")+1,o=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(ll);return Fi(r?o:+o[0],r?0:+o[1],+o[2]||1e-5)})},Mi=function(e,t,r,o,i){var s=t-e,a=o-r;return ot(i,function(c){return r+((c-e)/s*a||0)})},Dl=function n(e,t,r,o){var i=isNaN(e+t)?0:function(h){return(1-h)*e+h*t};if(!i){var s=oe(e),a={},c,l,u,f,p;if(r===!0&&(o=1)&&(r=null),s)e={p:e},t={p:t};else if(ce(e)&&!ce(t)){for(u=[],f=e.length,p=f-2,l=1;l<f;l++)u.push(n(e[l-1],e[l]));f--,i=function(g){g*=f;var d=Math.min(p,~~g);return u[d](g-d)},r=t}else o||(e=Rt(ce(e)?[]:{},e));if(!u){for(c in t)Wn.call(a,e,c,"get",t[c]);i=function(g){return Xn(g,a)||(s?e.p:e)}}}return ot(r,i)},Eo=function(e,t,r){var o=e.labels,i=Ae,s,a,c;for(s in o)a=o[s]-t,a<0==!!r&&a&&i>(a=Math.abs(a))&&(c=s,i=a);return c},Se=function(e,t,r){var o=e.vars,i=o[t],s=$,a=e._ctx,c,l,u;if(i)return c=o[t+"Params"],l=o.callbackScope||e,r&&Ke.length&&Dr(),a&&($=a),u=c?i.apply(l,c):i.call(l),$=s,u},Ut=function(e){return et(e),e.scrollTrigger&&e.scrollTrigger.kill(!!se),e.progress()<1&&Se(e,"onInterrupt"),e},Ct,zi=[],Ni=function(e){if(e)if(e=!e.name&&e.default||e,Mn()||e.headless){var t=e.name,r=j(e),o=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Qt,render:Xn,add:Wn,kill:Yl,modifier:$l,rawVars:0},s={targetTest:0,get:0,getSetter:Yn,aliases:{},register:0};if(Lt(),e!==o){if(Te[t])return;Oe(o,Oe(Rr(e,i),s)),Rt(o.prototype,Rt(i,Rr(e,s))),Te[o.prop=t]=o,e.targetTest&&(kr.push(o),Bn[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}yi(t,o),e.register&&e.register(be,o,me)}else zi.push(e)},H=255,Ht={aqua:[0,H,H],lime:[0,H,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,H],navy:[0,0,128],white:[H,H,H],olive:[128,128,0],yellow:[H,H,0],orange:[H,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[H,0,0],pink:[H,192,203],cyan:[0,H,H],transparent:[H,H,H,0]},rn=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*H+.5|0},Bi=function(e,t,r){var o=e?We(e)?[e>>16,e>>8&H,e&H]:0:Ht.black,i,s,a,c,l,u,f,p,h,g;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Ht[e])o=Ht[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+i+i+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return o=parseInt(e.substr(1,6),16),[o>>16,o>>8&H,o&H,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),o=[e>>16,e>>8&H,e&H]}else if(e.substr(0,3)==="hsl"){if(o=g=e.match(To),!t)c=+o[0]%360/360,l=+o[1]/100,u=+o[2]/100,s=u<=.5?u*(l+1):u+l-u*l,i=u*2-s,o.length>3&&(o[3]*=1),o[0]=rn(c+1/3,i,s),o[1]=rn(c,i,s),o[2]=rn(c-1/3,i,s);else if(~e.indexOf("="))return o=e.match(mi),r&&o.length<4&&(o[3]=1),o}else o=e.match(To)||Ht.transparent;o=o.map(Number)}return t&&!g&&(i=o[0]/H,s=o[1]/H,a=o[2]/H,f=Math.max(i,s,a),p=Math.min(i,s,a),u=(f+p)/2,f===p?c=l=0:(h=f-p,l=u>.5?h/(2-f-p):h/(f+p),c=f===i?(s-a)/h+(s<a?6:0):f===s?(a-i)/h+2:(i-s)/h+4,c*=60),o[0]=~~(c+.5),o[1]=~~(l*100+.5),o[2]=~~(u*100+.5)),r&&o.length<4&&(o[3]=1),o},Gi=function(e){var t=[],r=[],o=-1;return e.split(Je).forEach(function(i){var s=i.match(kt)||[];t.push.apply(t,s),r.push(o+=s.length+1)}),t.c=r,t},Oo=function(e,t,r){var o="",i=(e+o).match(Je),s=t?"hsla(":"rgba(",a=0,c,l,u,f;if(!i)return e;if(i=i.map(function(p){return(p=Bi(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=Gi(e),c=r.c,c.join(o)!==u.c.join(o)))for(l=e.replace(Je,"1").split(kt),f=l.length-1;a<f;a++)o+=l[a]+(~c.indexOf(a)?i.shift()||s+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!l)for(l=e.split(Je),f=l.length-1;a<f;a++)o+=l[a]+i[a];return o+l[f]},Je=(function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Ht)n+="|"+e+"\\b";return new RegExp(n+")","gi")})(),Rl=/hsl[a]?\(/,Ui=function(e){var t=e.join(" "),r;if(Je.lastIndex=0,Je.test(t))return r=Rl.test(t),e[1]=Oo(e[1],r),e[0]=Oo(e[0],r,Gi(e[1])),!0},Jt,we=(function(){var n=Date.now,e=500,t=33,r=n(),o=r,i=1e3/240,s=i,a=[],c,l,u,f,p,h,g=function d(m){var b=n()-o,_=m===!0,y,T,x,k;if((b>e||b<0)&&(r+=b-t),o+=b,x=o-r,y=x-s,(y>0||_)&&(k=++f.frame,p=x-f.time*1e3,f.time=x=x/1e3,s+=y+(y>=i?4:i-y),T=1),_||(c=l(d)),T)for(h=0;h<a.length;h++)a[h](x,p,k,m)};return f={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return p/(1e3/(m||60))},wake:function(){bi&&(!gn&&Mn()&&(Me=gn=window,zn=Me.document||{},Ee.gsap=be,(Me.gsapVersions||(Me.gsapVersions=[])).push(be.version),vi(Or||Me.GreenSockGlobals||!Me.gsap&&Me||{}),zi.forEach(Ni)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&f.sleep(),l=u||function(m){return setTimeout(m,s-f.time*1e3+1|0)},Jt=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Jt=0,l=Qt},lagSmoothing:function(m,b){e=m||1/0,t=Math.min(b||33,e)},fps:function(m){i=1e3/(m||240),s=f.time*1e3+i},add:function(m,b,_){var y=b?function(T,x,k,S){m(T,x,k,S),f.remove(y)}:m;return f.remove(m),a[_?"unshift":"push"](y),Lt(),y},remove:function(m,b){~(b=a.indexOf(m))&&a.splice(b,1)&&h>=b&&h--},_listeners:a},f})(),Lt=function(){return!Jt&&we.wake()},I={},Pl=/^[\d.\-M][\d.\-,\s]/,Al=/["']/g,Ll=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),o=r[0],i=1,s=r.length,a,c,l;i<s;i++)c=r[i],a=i!==s-1?c.lastIndexOf(","):c.length,l=c.substr(0,a),t[o]=isNaN(l)?l.replace(Al,"").trim():+l,o=c.substr(a+1).trim();return t},Fl=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),o=e.indexOf("(",t);return e.substring(t,~o&&o<r?e.indexOf(")",r+1):r)},Il=function(e){var t=(e+"").split("("),r=I[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Ll(t[1])]:Fl(e).split(",").map(Si)):I._CE&&Pl.test(e)?I._CE("",e):r},Ml=function(e){return function(t){return 1-e(1-t)}},pt=function(e,t){return e&&(j(e)?e:I[e]||Il(e))||t},xt=function(e,t,r,o){r===void 0&&(r=function(c){return 1-t(1-c)}),o===void 0&&(o=function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:o},s;return ge(e,function(a){I[a]=Ee[a]=i,I[s=a.toLowerCase()]=r;for(var c in i)I[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=I[a+"."+c]=i[c]}),i},Hi=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},nn=function n(e,t,r){var o=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/pn*(Math.asin(1/o)||0),a=function(u){return u===1?1:o*Math.pow(2,-10*u)*sl((u-s)*i)+1},c=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Hi(a);return i=pn/i,c.config=function(l,u){return n(e,l,u)},c},on=function n(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},o=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Hi(r);return o.config=function(i){return n(e,i)},o};ge("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;xt(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});I.Linear.easeNone=I.none=I.Linear.easeIn;xt("Elastic",nn("in"),nn("out"),nn());(function(n,e){var t=1/e,r=2*t,o=2.5*t,i=function(a){return a<t?n*a*a:a<r?n*Math.pow(a-1.5/e,2)+.75:a<o?n*(a-=2.25/e)*a+.9375:n*Math.pow(a-2.625/e,2)+.984375};xt("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);xt("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)});xt("Circ",function(n){return-(pi(1-n*n)-1)});xt("Sine",function(n){return n===1?1:-il(n*nl)+1});xt("Back",on("in"),on("out"),on());I.SteppedEase=I.steps=Ee.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,o=e+(t?0:1),i=t?1:0,s=1-W;return function(a){return((o*ir(0,s,a)|0)+i)*r}}};jt.ease=I["quad.out"];ge("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Gn+=n+","+n+"Params,"});var Wi=function(e,t){this.id=ol++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Ti,this.set=t?t.getSetter:Yn},er=(function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,At(this,+t.duration,1,1),this.data=t.data,$&&(this._ctx=$,$.data.push(this)),Jt||we.wake()}var e=n.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,At(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,o){if(Lt(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Hr(this,r),!i._dp||i.parent||Ei(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&ze(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===W||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),wi(this,r,o)),this},e.time=function(r,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+ko(this))%(this._dur+this._rDelay)||(r?this._dur:0),o):this._time},e.totalProgress=function(r,o){return arguments.length?this.totalTime(this.totalDuration()*r,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+ko(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,o):this._repeat?Pt(this._tTime,i)+1:1},e.timeScale=function(r,o){if(!arguments.length)return this._rts===-W?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Pr(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-W?0:this._rts,this.totalTime(ir(-Math.abs(this._delay),this.totalDuration(),i),o!==!1),Ur(this),ml(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==W&&(this._tTime-=W)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Y(r);var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&ze(o,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(pe(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var o=this.parent||this._dp;return o?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Pr(o.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=dl);var o=se;return se=r,Hn(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),se=o,this},e.globalTime=function(r){for(var o=this,i=arguments.length?r:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Co(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var o=this._time;return this._rDelay=r,Co(this),o?this.time(o):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,o){return this.totalTime(Pe(this,r),pe(o))},e.restart=function(r,o){return this.play().totalTime(r?-this._delay:0,pe(o)),this._dur||(this._zTime=-W),this},e.play=function(r,o){return r!=null&&this.seek(r,o),this.reversed(!1).paused(!1)},e.reverse=function(r,o){return r!=null&&this.seek(r||this.totalDuration(),o),this.reversed(!0).paused(!1)},e.pause=function(r,o){return r!=null&&this.seek(r,o),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-W:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-W,this},e.isActive=function(){var r=this.parent||this._dp,o=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=o&&i<this.endTime(!0)-W)},e.eventCallback=function(r,o,i){var s=this.vars;return arguments.length>1?(o?(s[r]=o,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=o)):delete s[r],this):s[r]},e.then=function(r){var o=this,i=o._prom;return new Promise(function(s){var a=j(r)?r:ki,c=function(){var u=o.then;o.then=null,i&&i(),j(a)&&(a=a(o))&&(a.then||a===o)&&(o.then=u),s(a),o.then=u};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?c():o._prom=c})},e.kill=function(){Ut(this)},n})();Oe(er.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-W,_prom:0,_ps:!1,_rts:1});var he=(function(n){hi(e,n);function e(r,o){var i;return r===void 0&&(r={}),i=n.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=pe(r.sortChildren),X&&ze(r.parent||X,Ue(i),o),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Oi(Ue(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(o,i,s){return Yt(0,arguments,this),this},t.from=function(o,i,s){return Yt(1,arguments,this),this},t.fromTo=function(o,i,s,a){return Yt(2,arguments,this),this},t.set=function(o,i,s){return i.duration=0,i.parent=this,$t(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new ee(o,i,Pe(this,s),1),this},t.call=function(o,i,s){return ze(this,ee.delayedCall(0,o,i),s)},t.staggerTo=function(o,i,s,a,c,l,u){return s.duration=i,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=u,s.parent=this,new ee(o,s,Pe(this,c)),this},t.staggerFrom=function(o,i,s,a,c,l,u){return s.runBackwards=1,$t(s).immediateRender=pe(s.immediateRender),this.staggerTo(o,i,s,a,c,l,u)},t.staggerFromTo=function(o,i,s,a,c,l,u,f){return a.startAt=s,$t(a).immediateRender=pe(a.immediateRender),this.staggerTo(o,i,a,c,l,u,f)},t.render=function(o,i,s){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,l=this._dur,u=o<=0?0:Y(o),f=this._zTime<0!=o<0&&(this._initted||!l),p,h,g,d,m,b,_,y,T,x,k,S;if(this!==X&&u>c&&o>=0&&(u=c),u!==this._tTime||s||f){if(a!==this._time&&l&&(u+=this._time-a,o+=this._time-a),p=u,T=this._start,y=this._ts,b=!y,f&&(l||(a=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(k=this._yoyo,m=l+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(m*100+o,i,s);if(p=Y(u%m),u===c?(d=this._repeat,p=l):(x=Y(u/m),d=~~x,d&&d===x&&(p=l,d--),p>l&&(p=l)),x=Pt(this._tTime,m),!a&&this._tTime&&x!==d&&this._tTime-x*m-this._dur<=0&&(x=d),k&&d&1&&(p=l-p,S=1),d!==x&&!this._lock){var v=k&&x&1,w=v===(k&&d&1);if(d<x&&(v=!v),a=v?0:u%l?l:u,this._lock=1,this.render(a||(S?0:Y(d*m)),i,!l)._lock=0,this._tTime=u,!i&&this.parent&&Se(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,x=d),a&&a!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,c=this._tDur,w&&(this._lock=2,a=v?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!b)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=yl(this,Y(a),Y(p)),_&&(u-=p-(p=_._start))),this._tTime=u,this._time=p,this._act=!!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,a=0),!a&&u&&l&&!i&&!x&&(Se(this,"onStart"),this._tTime!==u))return this;if(p>=a&&o>=0)for(h=this._first;h;){if(g=h._next,(h._act||p>=h._start)&&h._ts&&_!==h){if(h.parent!==this)return this.render(o,i,s);if(h.render(h._ts>0?(p-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(p-h._start)*h._ts,i,s),p!==this._time||!this._ts&&!b){_=0,g&&(u+=this._zTime=-W);break}}h=g}else{h=this._last;for(var O=o<0?o:p;h;){if(g=h._prev,(h._act||O<=h._end)&&h._ts&&_!==h){if(h.parent!==this)return this.render(o,i,s);if(h.render(h._ts>0?(O-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(O-h._start)*h._ts,i,s||se&&Hn(h)),p!==this._time||!this._ts&&!b){_=0,g&&(u+=this._zTime=O?-W:W);break}}h=g}}if(_&&!i&&(this.pause(),_.render(p>=a?0:-W)._zTime=p>=a?1:-1,this._ts))return this._start=T,Ur(this),this.render(o,i,s);this._onUpdate&&!i&&Se(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&a)&&(T===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((o||!l)&&(u===c&&this._ts>0||!u&&this._ts<0)&&et(this,1),!i&&!(o<0&&!a)&&(u||a||!c)&&(Se(this,u===c&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(o,i){var s=this;if(We(i)||(i=Pe(this,i,o)),!(o instanceof er)){if(ce(o))return o.forEach(function(a){return s.add(a,i)}),this;if(oe(o))return this.addLabel(o,i);if(j(o))o=ee.delayedCall(0,o);else return this}return this!==o?ze(this,o,i):this},t.getChildren=function(o,i,s,a){o===void 0&&(o=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=-Ae);for(var c=[],l=this._first;l;)l._start>=a&&(l instanceof ee?i&&c.push(l):(s&&c.push(l),o&&c.push.apply(c,l.getChildren(!0,i,s)))),l=l._next;return c},t.getById=function(o){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===o)return i[s]},t.remove=function(o){return oe(o)?this.removeLabel(o):j(o)?this.killTweensOf(o):(o.parent===this&&Gr(this,o),o===this._recent&&(this._recent=this._last),ht(this))},t.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Y(we.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),n.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},t.addLabel=function(o,i){return this.labels[o]=Pe(this,i),this},t.removeLabel=function(o){return delete this.labels[o],this},t.addPause=function(o,i,s){var a=ee.delayedCall(0,i||Qt,s);return a.data="isPause",this._hasPause=1,ze(this,a,Pe(this,o))},t.removePause=function(o){var i=this._first;for(o=Pe(this,o);i;)i._start===o&&i.data==="isPause"&&et(i),i=i._next},t.killTweensOf=function(o,i,s){for(var a=this.getTweensOf(o,s),c=a.length;c--;)Xe!==a[c]&&a[c].kill(o,i);return this},t.getTweensOf=function(o,i){for(var s=[],a=Le(o),c=this._first,l=We(i),u;c;)c instanceof ee?hl(c._targets,a)&&(l?(!Xe||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&s.push(c):(u=c.getTweensOf(a,i)).length&&s.push.apply(s,u),c=c._next;return s},t.tweenTo=function(o,i){i=i||{};var s=this,a=Pe(s,o),c=i,l=c.startAt,u=c.onStart,f=c.onStartParams,p=c.immediateRender,h,g=ee.to(s,Oe({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||W,onStart:function(){if(s.pause(),!h){var m=i.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());g._dur!==m&&At(g,m,0,1).render(g._time,!0,!0),h=1}u&&u.apply(g,f||[])}},i));return p?g.render(0):g},t.tweenFromTo=function(o,i,s){return this.tweenTo(i,Oe({startAt:{time:Pe(this,o)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(o){return o===void 0&&(o=this._time),Eo(this,Pe(this,o))},t.previousLabel=function(o){return o===void 0&&(o=this._time),Eo(this,Pe(this,o),1)},t.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+W)},t.shiftChildren=function(o,i,s){s===void 0&&(s=0);var a=this._first,c=this.labels,l;for(o=Y(o);a;)a._start>=s&&(a._start+=o,a._end+=o),a=a._next;if(i)for(l in c)c[l]>=s&&(c[l]+=o);return ht(this)},t.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return n.prototype.invalidate.call(this,o)},t.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),ht(this)},t.totalDuration=function(o){var i=0,s=this,a=s._last,c=Ae,l,u,f;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-o:o));if(s._dirty){for(f=s.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>c&&s._sort&&a._ts&&!s._lock?(s._lock=1,ze(s,a,u-a._delay,1)._lock=0):c=u,u<0&&a._ts&&(i-=u,(!f&&!s._dp||f&&f.smoothChildTiming)&&(s._start+=Y(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),c=0),a._end>i&&a._ts&&(i=a._end),a=l;At(s,s===X&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(o){if(X._ts&&(wi(X,Pr(o,X)),xi=we.frame),we.frame>=wo){wo+=Ce.autoSleep||120;var i=X._first;if((!i||!i._ts)&&Ce.autoSleep&&we._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||we.sleep()}}},e})(er);Oe(he.prototype,{_lock:0,_hasPause:0,_forcing:0});var zl=function(e,t,r,o,i,s,a){var c=new me(this._pt,e,t,0,1,ji,null,i),l=0,u=0,f,p,h,g,d,m,b,_;for(c.b=r,c.e=o,r+="",o+="",(b=~o.indexOf("random("))&&(o=Kt(o)),s&&(_=[r,o],s(_,e,t),r=_[0],o=_[1]),p=r.match(en)||[];f=en.exec(o);)g=f[0],d=o.substring(l,f.index),h?h=(h+1)%5:d.substr(-5)==="rgba("&&(h=1),g!==p[u++]&&(m=parseFloat(p[u-1])||0,c._pt={_next:c._pt,p:d||u===1?d:",",s:m,c:g.charAt(1)==="="?Et(m,g)-m:parseFloat(g)-m,m:h&&h<4?Math.round:0},l=en.lastIndex);return c.c=l<o.length?o.substring(l,o.length):"",c.fp=a,(_i.test(o)||b)&&(c.e=0),this._pt=c,c},Wn=function(e,t,r,o,i,s,a,c,l,u){j(o)&&(o=o(i||0,e,s));var f=e[t],p=r!=="get"?r:j(f)?l?e[t.indexOf("set")||!j(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():f,h=j(f)?l?Hl:Xi:$n,g;if(oe(o)&&(~o.indexOf("random(")&&(o=Kt(o)),o.charAt(1)==="="&&(g=Et(p,o)+(le(p)||0),(g||g===0)&&(o=g))),!u||p!==o||Tn)return!isNaN(p*o)&&o!==""?(g=new me(this._pt,e,t,+p||0,o-(p||0),typeof f=="boolean"?Vl:qi,0,h),l&&(g.fp=l),a&&g.modifier(a,this,e),this._pt=g):(!f&&!(t in e)&&Nn(t,o),zl.call(this,e,t,p,o,h,c||Ce.stringFilter,l))},Nl=function(e,t,r,o,i){if(j(e)&&(e=Xt(e,i,t,r,o)),!Be(e)||e.style&&e.nodeType||ce(e)||gi(e))return oe(e)?Xt(e,i,t,r,o):e;var s={},a;for(a in e)s[a]=Xt(e[a],i,t,r,o);return s},Vi=function(e,t,r,o,i,s){var a,c,l,u;if(Te[e]&&(a=new Te[e]).init(i,a.rawVars?t[e]:Nl(t[e],o,i,s,r),r,o,s)!==!1&&(r._pt=c=new me(r._pt,i,e,0,1,a.render,a,0,a.priority),r!==Ct))for(l=r._ptLookup[r._targets.indexOf(i)],u=a._props.length;u--;)l[a._props[u]]=c;return a},Xe,Tn,Vn=function n(e,t,r){var o=e.vars,i=o.ease,s=o.startAt,a=o.immediateRender,c=o.lazy,l=o.onUpdate,u=o.runBackwards,f=o.yoyoEase,p=o.keyframes,h=o.autoRevert,g=e._dur,d=e._startAt,m=e._targets,b=e.parent,_=b&&b.data==="nested"?b.vars.targets:m,y=e._overwrite==="auto"&&!Fn,T=e.timeline,x=o.easeReverse||f,k,S,v,w,O,N,L,z,G,F,P,M,Z;if(T&&(!p||!i)&&(i="none"),e._ease=pt(i,jt.ease),e._rEase=x&&(pt(x)||e._ease),e._from=!T&&!!o.runBackwards,e._from&&(e.ratio=1),!T||p&&!o.stagger){if(z=m[0]?dt(m[0]).harness:0,M=z&&o[z.prop],k=Rr(o,Bn),d&&(d._zTime<0&&d.progress(1),t<0&&u&&a&&!h?d.render(-1,!0):d.revert(u&&g?Sr:fl),d._lazy=0),s){if(et(e._startAt=ee.set(m,Oe({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!d&&pe(c),startAt:null,delay:0,onUpdate:l&&function(){return Se(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se||!a&&!h)&&e._startAt.revert(Sr),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&g&&!d){if(t&&(a=!1),v=Oe({overwrite:!1,data:"isFromStart",lazy:a&&!d&&pe(c),immediateRender:a,stagger:0,parent:b},k),M&&(v[z.prop]=M),et(e._startAt=ee.set(m,v)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se?e._startAt.revert(Sr):e._startAt.render(-1,!0)),e._zTime=t,!a)n(e._startAt,W,W);else if(!t)return}for(e._pt=e._ptCache=0,c=g&&pe(c)||c&&!g,S=0;S<m.length;S++){if(O=m[S],L=O._gsap||Un(m)[S]._gsap,e._ptLookup[S]=F={},mn[L.id]&&Ke.length&&Dr(),P=_===m?S:_.indexOf(O),z&&(G=new z).init(O,M||k,e,P,_)!==!1&&(e._pt=w=new me(e._pt,O,G.name,0,1,G.render,G,0,G.priority),G._props.forEach(function(ye){F[ye]=w}),G.priority&&(N=1)),!z||M)for(v in k)Te[v]&&(G=Vi(v,k,e,P,O,_))?G.priority&&(N=1):F[v]=w=Wn.call(e,O,v,"get",k[v],P,_,0,o.stringFilter);e._op&&e._op[S]&&e.kill(O,e._op[S]),y&&e._pt&&(Xe=e,X.killTweensOf(O,F,e.globalTime(t)),Z=!e.parent,Xe=0),e._pt&&c&&(mn[L.id]=1)}N&&Zi(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!Z,p&&t<=0&&T.render(Ae,!0,!0)},Bl=function(e,t,r,o,i,s,a,c){var l=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,h;if(!l)for(l=e._ptCache[t]=[],p=e._ptLookup,h=e._targets.length;h--;){if(u=p[h][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return Tn=1,e.vars[t]="+=0",Vn(e,a),Tn=0,c?Zt(t+" not eligible for reset. Try splitting into individual properties"):1;l.push(u)}for(h=l.length;h--;)f=l[h],u=f._pt||f,u.s=(o||o===0)&&!i?o:u.s+(o||0)+s*u.c,u.c=r-u.s,f.e&&(f.e=Q(r)+le(f.e)),f.b&&(f.b=u.s+le(f.b))},Gl=function(e,t){var r=e[0]?dt(e[0]).harness:0,o=r&&r.aliases,i,s,a,c;if(!o)return t;i=Rt({},t);for(s in o)if(s in i)for(c=o[s].split(","),a=c.length;a--;)i[c[a]]=i[s];return i},Ul=function(e,t,r,o){var i=t.ease||o||"power1.inOut",s,a;if(ce(t))a=r[e]||(r[e]=[]),t.forEach(function(c,l){return a.push({t:l/(t.length-1)*100,v:c,e:i})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:i})},Xt=function(e,t,r,o,i){return j(e)?e.call(t,r,o,i):oe(e)&&~e.indexOf("random(")?Kt(e):e},$i=Gn+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Yi={};ge($i+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return Yi[n]=1});var ee=(function(n){hi(e,n);function e(r,o,i,s){var a;typeof o=="number"&&(i.duration=o,o=i,i=null),a=n.call(this,s?o:$t(o))||this;var c=a.vars,l=c.duration,u=c.delay,f=c.immediateRender,p=c.stagger,h=c.overwrite,g=c.keyframes,d=c.defaults,m=c.scrollTrigger,b=o.parent||X,_=(ce(r)||gi(r)?We(r[0]):"length"in o)?[r]:Le(r),y,T,x,k,S,v,w,O;if(a._targets=_.length?Un(_):Zt("GSAP target "+r+" not found. https://gsap.com",!Ce.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,g||p||gr(l)||gr(u)){o=a.vars;var N=o.easeReverse||o.yoyoEase;if(y=a.timeline=new he({data:"nested",defaults:d||{},targets:b&&b.data==="nested"?b.vars.targets:_}),y.kill(),y.parent=y._dp=Ue(a),y._start=0,p||gr(l)||gr(u)){if(k=_.length,w=p&&Ai(p),Be(p))for(S in p)~$i.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(T=0;T<k;T++)x=Rr(o,Yi),x.stagger=0,N&&(x.easeReverse=N),O&&Rt(x,O),v=_[T],x.duration=+Xt(l,Ue(a),T,v,_),x.delay=(+Xt(u,Ue(a),T,v,_)||0)-a._delay,!p&&k===1&&x.delay&&(a._delay=u=x.delay,a._start+=u,x.delay=0),y.to(v,x,w?w(T,v,_):0),y._ease=I.none;y.duration()?l=u=0:a.timeline=0}else if(g){$t(Oe(y.vars.defaults,{ease:"none"})),y._ease=pt(g.ease||o.ease||"none");var L=0,z,G,F;if(ce(g))g.forEach(function(P){return y.to(_,P,">")}),y.duration();else{x={};for(S in g)S==="ease"||S==="easeEach"||Ul(S,g[S],x,g.easeEach);for(S in x)for(z=x[S].sort(function(P,M){return P.t-M.t}),L=0,T=0;T<z.length;T++)G=z[T],F={ease:G.e,duration:(G.t-(T?z[T-1].t:0))/100*l},F[S]=G.v,y.to(_,F,L),L+=F.duration;y.duration()<l&&y.to({},{duration:l-y.duration()})}}l||a.duration(l=y.duration())}else a.timeline=0;return h===!0&&!Fn&&(Xe=Ue(a),X.killTweensOf(_),Xe=0),ze(b,Ue(a),i),o.reversed&&a.reverse(),o.paused&&a.paused(!0),(f||!l&&!g&&a._start===Y(b._time)&&pe(f)&&_l(Ue(a))&&b.data!=="nested")&&(a._tTime=-W,a.render(Math.max(0,-u)||0)),m&&Oi(Ue(a),m),a}var t=e.prototype;return t.render=function(o,i,s){var a=this._time,c=this._tDur,l=this._dur,u=o<0,f=o>c-W&&!u?c:o<W?0:o,p,h,g,d,m,b,_,y;if(!l)vl(this,o,i,s);else if(f!==this._tTime||!o||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,y=this.timeline,this._repeat){if(d=l+this._rDelay,this._repeat<-1&&u)return this.totalTime(d*100+o,i,s);if(p=Y(f%d),f===c?(g=this._repeat,p=l):(m=Y(f/d),g=~~m,g&&g===m?(p=l,g--):p>l&&(p=l)),b=this._yoyo&&g&1,b&&(p=l-p),m=Pt(this._tTime,d),p===a&&!s&&this._initted&&g===m)return this._tTime=f,this;g!==m&&this.vars.repeatRefresh&&!b&&!this._lock&&p!==d&&this._initted&&(this._lock=s=1,this.render(Y(d*g),!0).invalidate()._lock=0)}if(!this._initted){if(Di(this,u?o:p,s,i,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==m))return this;if(l!==this._dur)return this.render(o,i,s)}if(this._rEase){var T=p<a;if(T!==this._inv){var x=T?a:l-a;this._inv=T,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=x?(T?-1:1)/x:0,this._invScale=T?-this.ratio:1-this.ratio,this._invEase=T?this._rEase:this._ease}this.ratio=_=this._invRatio+this._invScale*this._invEase((p-this._invTime)*this._invRecip)}else this.ratio=_=this._ease(p/l);if(this._from&&(this.ratio=_=1-_),this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&f&&!i&&!m&&(Se(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(_,h.d),h=h._next;y&&y.render(o<0?o:y._dur*y._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&_n(this,o,i,s),Se(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!i&&this.parent&&Se(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&_n(this,o,!0,!0),(o||!l)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&et(this,1),!i&&!(u&&!a)&&(f||a||b)&&(Se(this,f===c?"onComplete":"onReverseComplete",!0),this._prom&&!(f<c&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),n.prototype.invalidate.call(this,o)},t.resetTo=function(o,i,s,a,c){Jt||we.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Vn(this,l),u=this._ease(l/this._dur),Bl(this,o,i,s,a,u,l,c)?this.resetTo(o,i,s,a,1):(Hr(this,0),this.parent||Ci(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Ut(this):this.scrollTrigger&&this.scrollTrigger.kill(!!se),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Xe&&Xe.vars.overwrite!==!0)._first||Ut(this),this.parent&&s!==this.timeline.totalDuration()&&At(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,c=o?Le(o):a,l=this._ptLookup,u=this._pt,f,p,h,g,d,m,b;if((!i||i==="all")&&gl(a,c))return i==="all"&&(this._pt=0),Ut(this);for(f=this._op=this._op||[],i!=="all"&&(oe(i)&&(d={},ge(i,function(_){return d[_]=1}),i=d),i=Gl(a,i)),b=a.length;b--;)if(~c.indexOf(a[b])){p=l[b],i==="all"?(f[b]=i,g=p,h={}):(h=f[b]=f[b]||{},g=i);for(d in g)m=p&&p[d],m&&((!("kill"in m.d)||m.d.kill(d)===!0)&&Gr(this,m,"_pt"),delete p[d]),h!=="all"&&(h[d]=1)}return this._initted&&!this._pt&&u&&Ut(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return Yt(1,arguments)},e.delayedCall=function(o,i,s,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(o,i,s){return Yt(2,arguments)},e.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(o,i)},e.killTweensOf=function(o,i,s){return X.killTweensOf(o,i,s)},e})(er);Oe(ee.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ge("staggerTo,staggerFrom,staggerFromTo",function(n){ee[n]=function(){var e=new he,t=vn.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var $n=function(e,t,r){return e[t]=r},Xi=function(e,t,r){return e[t](r)},Hl=function(e,t,r,o){return e[t](o.fp,r)},Wl=function(e,t,r){return e.setAttribute(t,r)},Yn=function(e,t){return j(e[t])?Xi:In(e[t])&&e.setAttribute?Wl:$n},qi=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Vl=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},ji=function(e,t){var r=t._pt,o="";if(!e&&t.b)o=t.b;else if(e===1&&t.e)o=t.e;else{for(;r;)o=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+o,r=r._next;o+=t.c}t.set(t.t,t.p,o,t)},Xn=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},$l=function(e,t,r,o){for(var i=this._pt,s;i;)s=i._next,i.p===o&&i.modifier(e,t,r),i=s},Yl=function(e){for(var t=this._pt,r,o;t;)o=t._next,t.p===e&&!t.op||t.op===e?Gr(this,t,"_pt"):t.dep||(r=1),t=o;return!r},Xl=function(e,t,r,o){o.mSet(e,t,o.m.call(o.tween,r,o.mt),o)},Zi=function(e){for(var t=e._pt,r,o,i,s;t;){for(r=t._next,o=i;o&&o.pr>t.pr;)o=o._next;(t._prev=o?o._prev:s)?t._prev._next=t:i=t,(t._next=o)?o._prev=t:s=t,t=r}e._pt=i},me=(function(){function n(t,r,o,i,s,a,c,l,u){this.t=r,this.s=i,this.c=s,this.p=o,this.r=a||qi,this.d=c||this,this.set=l||$n,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,o,i){this.mSet=this.mSet||this.set,this.set=Xl,this.m=r,this.mt=i,this.tween=o},n})();ge(Gn+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(n){return Bn[n]=1});Ee.TweenMax=Ee.TweenLite=ee;Ee.TimelineLite=Ee.TimelineMax=he;X=new he({sortChildren:!1,defaults:jt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ce.stringFilter=Ui;var gt=[],Cr={},ql=[],Do=0,jl=0,sn=function(e){return(Cr[e]||ql).map(function(t){return t()})},wn=function(){var e=Date.now(),t=[];e-Do>2&&(sn("matchMediaInit"),gt.forEach(function(r){var o=r.queries,i=r.conditions,s,a,c,l;for(a in o)s=Me.matchMedia(o[a]).matches,s&&(c=1),s!==i[a]&&(i[a]=s,l=1);l&&(r.revert(),c&&t.push(r))}),sn("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(o){return r.add(null,o)})}),Do=e,sn("matchMedia"))},Qi=(function(){function n(t,r){this.selector=r&&yn(r),this.data=[],this._r=[],this.isReverted=!1,this.id=jl++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,o,i){j(r)&&(i=o,o=r,r=j);var s=this,a=function(){var l=$,u=s.selector,f;return l&&l!==s&&l.data.push(s),i&&(s.selector=yn(i)),$=s,f=o.apply(s,arguments),j(f)&&s._r.push(f),$=l,s.selector=u,s.isReverted=!1,f};return s.last=a,r===j?a(s,function(c){return s.add(null,c)}):r?s[r]=a:a},e.ignore=function(r){var o=$;$=null,r(this),$=o},e.getTweens=function(){var r=[];return this.data.forEach(function(o){return o instanceof n?r.push.apply(r,o.getTweens()):o instanceof ee&&!(o.parent&&o.parent.data==="nested")&&r.push(o)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,o){var i=this;if(r?(function(){for(var a=i.getTweens(),c=i.data.length,l;c--;)l=i.data[c],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),c=i.data.length;c--;)l=i.data[c],l instanceof he?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof ee)&&l.revert&&l.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),o)for(var s=gt.length;s--;)gt[s].id===this.id&>.splice(s,1)},e.revert=function(r){this.kill(r||{})},n})(),Zl=(function(){function n(t){this.contexts=[],this.scope=t,$&&$.data.push(this)}var e=n.prototype;return e.add=function(r,o,i){Be(r)||(r={matches:r});var s=new Qi(0,i||this.scope),a=s.conditions={},c,l,u;$&&!s.selector&&(s.selector=$.selector),this.contexts.push(s),o=s.add("onMatch",o),s.queries=r;for(l in r)l==="all"?u=1:(c=Me.matchMedia(r[l]),c&&(gt.indexOf(s)<0&>.push(s),(a[l]=c.matches)&&(u=1),c.addListener?c.addListener(wn):c.addEventListener("change",wn)));return u&&o(s,function(f){return s.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(o){return o.kill(r,!0)})},n})(),Ar={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(o){return Ni(o)})},timeline:function(e){return new he(e)},getTweensOf:function(e,t){return X.getTweensOf(e,t)},getProperty:function(e,t,r,o){oe(e)&&(e=Le(e)[0]);var i=dt(e||{}).get,s=r?ki:Si;return r==="native"&&(r=""),e&&(t?s((Te[t]&&Te[t].get||i)(e,t,r,o)):function(a,c,l){return s((Te[a]&&Te[a].get||i)(e,a,c,l))})},quickSetter:function(e,t,r){if(e=Le(e),e.length>1){var o=e.map(function(u){return be.quickSetter(u,t,r)}),i=o.length;return function(u){for(var f=i;f--;)o[f](u)}}e=e[0]||{};var s=Te[t],a=dt(e),c=a.harness&&(a.harness.aliases||{})[t]||t,l=s?function(u){var f=new s;Ct._pt=0,f.init(e,r?u+r:u,Ct,0,[e]),f.render(1,f),Ct._pt&&Xn(1,Ct)}:a.set(e,c);return s?l:function(u){return l(e,c,r?u+r:u,a,1)}},quickTo:function(e,t,r){var o,i=be.to(e,Oe((o={},o[t]="+=0.1",o.paused=!0,o.stagger=0,o),r||{})),s=function(c,l,u){return i.resetTo(t,c,l,u)};return s.tween=i,s},isTweening:function(e){return X.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=pt(e.ease,jt.ease)),So(jt,e||{})},config:function(e){return So(Ce,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,o=e.plugins,i=e.defaults,s=e.extendTimeline;(o||"").split(",").forEach(function(a){return a&&!Te[a]&&!Ee[a]&&Zt(t+" effect requires "+a+" plugin.")}),tn[t]=function(a,c,l){return r(Le(a),Oe(c||{},i),l)},s&&(he.prototype[t]=function(a,c,l){return this.add(tn[t](a,Be(c)?c:(l=c)&&{},this),l)})},registerEase:function(e,t){I[e]=pt(t)},parseEase:function(e,t){return arguments.length?pt(e,t):I},getById:function(e){return X.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new he(e),o,i;for(r.smoothChildTiming=pe(e.smoothChildTiming),X.remove(r),r._dp=0,r._time=r._tTime=X._time,o=X._first;o;)i=o._next,(t||!(!o._dur&&o instanceof ee&&o.vars.onComplete===o._targets[0]))&&ze(r,o,o._start-o._delay),o=i;return ze(X,r,0),r},context:function(e,t){return e?new Qi(e,t):$},matchMedia:function(e){return new Zl(e)},matchMediaRefresh:function(){return gt.forEach(function(e){var t=e.conditions,r,o;for(o in t)t[o]&&(t[o]=!1,r=1);r&&e.revert()})||wn()},addEventListener:function(e,t){var r=Cr[e]||(Cr[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Cr[e],o=r&&r.indexOf(t);o>=0&&r.splice(o,1)},utils:{wrap:El,wrapYoyo:Ol,distribute:Ai,random:Fi,snap:Li,normalize:Cl,getUnit:le,clamp:Tl,splitColor:Bi,toArray:Le,selector:yn,mapRange:Mi,pipe:Sl,unitize:kl,interpolate:Dl,shuffle:Pi},install:vi,effects:tn,ticker:we,updateRoot:he.updateRoot,plugins:Te,globalTimeline:X,core:{PropTween:me,globals:yi,Tween:ee,Timeline:he,Animation:er,getCache:dt,_removeLinkedListItem:Gr,reverting:function(){return se},context:function(e){return e&&$&&($.data.push(e),e._ctx=$),$},suppressOverwrites:function(e){return Fn=e}}};ge("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Ar[n]=ee[n]});we.add(he.updateRoot);Ct=Ar.to({},{duration:0});var Ql=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Kl=function(e,t){var r=e._targets,o,i,s;for(o in t)for(i=r.length;i--;)s=e._ptLookup[i][o],s&&(s=s.d)&&(s._pt&&(s=Ql(s,o)),s&&s.modifier&&s.modifier(t[o],e,r[i],o))},an=function(e,t){return{name:e,headless:1,rawVars:1,init:function(o,i,s){s._onInit=function(a){var c,l;if(oe(i)&&(c={},ge(i,function(u){return c[u]=1}),i=c),t){c={};for(l in i)c[l]=t(i[l]);i=c}Kl(a,i)}}}},be=Ar.registerPlugin({name:"attr",init:function(e,t,r,o,i){var s,a,c;this.tween=r;for(s in t)c=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(c||0)+"",t[s],o,i,0,0,s),a.op=s,a.b=c,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)se?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},an("roundProps",xn),an("modifiers"),an("snap",Li))||Ar;ee.version=he.version=be.version="3.15.0";bi=1;Mn()&&Lt();I.Power0;I.Power1;I.Power2;I.Power3;I.Power4;I.Linear;I.Quad;I.Cubic;I.Quart;I.Quint;I.Strong;I.Elastic;I.Back;I.SteppedEase;I.Bounce;I.Sine;I.Expo;I.Circ;/*!
|
|
9
|
+
* CSSPlugin 3.15.0
|
|
10
|
+
* https://gsap.com
|
|
11
|
+
*
|
|
12
|
+
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
13
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
14
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
15
|
+
*/var Ro,qe,Ot,qn,ft,Po,jn,Jl=function(){return typeof window<"u"},Ve={},ct=180/Math.PI,Dt=Math.PI/180,wt=Math.atan2,Ao=1e8,Zn=/([A-Z])/g,ec=/(left|right|width|margin|padding|x)/i,tc=/[\s,\(]\S/,Ne={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Sn=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},rc=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},nc=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},oc=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},ic=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Ki=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Ji=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},sc=function(e,t,r){return e.style[t]=r},ac=function(e,t,r){return e.style.setProperty(t,r)},lc=function(e,t,r){return e._gsap[t]=r},cc=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},uc=function(e,t,r,o,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},fc=function(e,t,r,o,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},q="transform",_e=q+"Origin",dc=function n(e,t){var r=this,o=this.target,i=o.style,s=o._gsap;if(e in Ve&&i){if(this.tfm=this.tfm||{},e!=="transform")e=Ne[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=He(o,a)}):this.tfm[e]=s.x?s[e]:He(o,e),e===_e&&(this.tfm.zOrigin=s.zOrigin);else return Ne.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(q)>=0)return;s.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(_e,t,"")),e=q}(i||t)&&this.props.push(e,t,i[e])},es=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},hc=function(){var e=this.props,t=this.target,r=t.style,o=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Zn,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)o[s]=this.tfm[s];o.svg&&(o.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=jn(),(!i||!i.isStart)&&!r[q]&&(es(r),o.zOrigin&&r[_e]&&(r[_e]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},ts=function(e,t){var r={target:e,props:[],revert:hc,save:dc};return e._gsap||be.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(o){return r.save(o)}),r},rs,kn=function(e,t){var r=qe.createElementNS?qe.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):qe.createElement(e);return r&&r.style?r:qe.createElement(e)},ke=function n(e,t,r){var o=getComputedStyle(e);return o[t]||o.getPropertyValue(t.replace(Zn,"-$1").toLowerCase())||o.getPropertyValue(t)||!r&&n(e,Ft(t)||t,1)||""},Lo="O,Moz,ms,Ms,Webkit".split(","),Ft=function(e,t,r){var o=t||ft,i=o.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(Lo[s]+e in i););return s<0?null:(s===3?"ms":s>=0?Lo[s]:"")+e},Cn=function(){Jl()&&window.document&&(Ro=window,qe=Ro.document,Ot=qe.documentElement,ft=kn("div")||{style:{}},kn("div"),q=Ft(q),_e=q+"Origin",ft.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rs=!!Ft("perspective"),jn=be.core.reverting,qn=1)},Fo=function(e){var t=e.ownerSVGElement,r=kn("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=e.cloneNode(!0),i;o.style.display="block",r.appendChild(o),Ot.appendChild(r);try{i=o.getBBox()}catch{}return r.removeChild(o),Ot.removeChild(r),i},Io=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},ns=function(e){var t,r;try{t=e.getBBox()}catch{t=Fo(e),r=1}return t&&(t.width||t.height)||r||(t=Fo(e)),t&&!t.width&&!t.x&&!t.y?{x:+Io(e,["x","cx","x1"])||0,y:+Io(e,["y","cy","y1"])||0,width:0,height:0}:t},os=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ns(e))},tt=function(e,t){if(t){var r=e.style,o;t in Ve&&t!==_e&&(t=q),r.removeProperty?(o=t.substr(0,2),(o==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(o==="--"?t:t.replace(Zn,"-$1").toLowerCase())):r.removeAttribute(t)}},je=function(e,t,r,o,i,s){var a=new me(e._pt,t,r,0,1,s?Ji:Ki);return e._pt=a,a.b=o,a.e=i,e._props.push(r),a},Mo={deg:1,rad:1,turn:1},pc={grid:1,flex:1},rt=function n(e,t,r,o){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",a=ft.style,c=ec.test(t),l=e.tagName.toLowerCase()==="svg",u=(l?"client":"offset")+(c?"Width":"Height"),f=100,p=o==="px",h=o==="%",g,d,m,b;if(o===s||!i||Mo[o]||Mo[s])return i;if(s!=="px"&&!p&&(i=n(e,t,r,"px")),b=e.getCTM&&os(e),(h||s==="%")&&(Ve[t]||~t.indexOf("adius")))return g=b?e.getBBox()[c?"width":"height"]:e[u],Q(h?i/g*f:i/100*g);if(a[c?"width":"height"]=f+(p?s:o),d=o!=="rem"&&~t.indexOf("adius")||o==="em"&&e.appendChild&&!l?e:e.parentNode,b&&(d=(e.ownerSVGElement||{}).parentNode),(!d||d===qe||!d.appendChild)&&(d=qe.body),m=d._gsap,m&&h&&m.width&&c&&m.time===we.time&&!m.uncache)return Q(i/m.width*f);if(h&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=f+o,g=e[u],_?e.style[t]=_:tt(e,t)}else(h||s==="%")&&!pc[ke(d,"display")]&&(a.position=ke(e,"position")),d===e&&(a.position="static"),d.appendChild(ft),g=ft[u],d.removeChild(ft),a.position="absolute";return c&&h&&(m=dt(d),m.time=we.time,m.width=d[u]),Q(p?g*i/f:g&&i?f/g*i:0)},He=function(e,t,r,o){var i;return qn||Cn(),t in Ne&&t!=="transform"&&(t=Ne[t],~t.indexOf(",")&&(t=t.split(",")[0])),Ve[t]&&t!=="transform"?(i=rr(e,o),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Fr(ke(e,_e))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=Lr[t]&&Lr[t](e,t,r)||ke(e,t)||Ti(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?rt(e,t,i,r)+r:i},gc=function(e,t,r,o){if(!r||r==="none"){var i=Ft(t,e,1),s=i&&ke(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=ke(e,"borderTopColor"))}var a=new me(this._pt,e.style,t,0,1,ji),c=0,l=0,u,f,p,h,g,d,m,b,_,y,T,x;if(a.b=r,a.e=o,r+="",o+="",o.substring(0,6)==="var(--"&&(o=ke(e,o.substring(4,o.indexOf(")")))),o==="auto"&&(d=e.style[t],e.style[t]=o,o=ke(e,t)||o,d?e.style[t]=d:tt(e,t)),u=[r,o],Ui(u),r=u[0],o=u[1],p=r.match(kt)||[],x=o.match(kt)||[],x.length){for(;f=kt.exec(o);)m=f[0],_=o.substring(c,f.index),g?g=(g+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(g=1),m!==(d=p[l++]||"")&&(h=parseFloat(d)||0,T=d.substr((h+"").length),m.charAt(1)==="="&&(m=Et(h,m)+T),b=parseFloat(m),y=m.substr((b+"").length),c=kt.lastIndex-y.length,y||(y=y||Ce.units[t]||T,c===o.length&&(o+=y,a.e+=y)),T!==y&&(h=rt(e,t,d,y)||0),a._pt={_next:a._pt,p:_||l===1?_:",",s:h,c:b-h,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=c<o.length?o.substring(c,o.length):""}else a.r=t==="display"&&o==="none"?Ji:Ki;return _i.test(o)&&(a.e=0),this._pt=a,a},zo={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},mc=function(e){var t=e.split(" "),r=t[0],o=t[1]||"50%";return(r==="top"||r==="bottom"||o==="left"||o==="right")&&(e=r,r=o,o=e),t[0]=zo[r]||r,t[1]=zo[o]||o,t.join(" ")},_c=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,o=r.style,i=t.u,s=r._gsap,a,c,l;if(i==="all"||i===!0)o.cssText="",c=1;else for(i=i.split(","),l=i.length;--l>-1;)a=i[l],Ve[a]&&(c=1,a=a==="transformOrigin"?_e:q),tt(r,a);c&&(tt(r,q),s&&(s.svg&&r.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",rr(r,1),s.uncache=1,es(o)))}},Lr={clearProps:function(e,t,r,o,i){if(i.data!=="isFromStart"){var s=e._pt=new me(e._pt,t,r,0,0,_c);return s.u=o,s.pr=-10,s.tween=i,e._props.push(r),1}}},tr=[1,0,0,1,0,0],is={},ss=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},No=function(e){var t=ke(e,q);return ss(t)?tr:t.substr(7).match(mi).map(Q)},Qn=function(e,t){var r=e._gsap||dt(e),o=e.style,i=No(e),s,a,c,l;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?tr:i):(i===tr&&!e.offsetParent&&e!==Ot&&!r.svg&&(c=o.display,o.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(l=1,a=e.nextElementSibling,Ot.appendChild(e)),i=No(e),c?o.display=c:tt(e,"display"),l&&(a?s.insertBefore(e,a):s?s.appendChild(e):Ot.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},En=function(e,t,r,o,i,s){var a=e._gsap,c=i||Qn(e,!0),l=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,h=c[0],g=c[1],d=c[2],m=c[3],b=c[4],_=c[5],y=t.split(" "),T=parseFloat(y[0])||0,x=parseFloat(y[1])||0,k,S,v,w;r?c!==tr&&(S=h*m-g*d)&&(v=T*(m/S)+x*(-d/S)+(d*_-m*b)/S,w=T*(-g/S)+x*(h/S)-(h*_-g*b)/S,T=v,x=w):(k=ns(e),T=k.x+(~y[0].indexOf("%")?T/100*k.width:T),x=k.y+(~(y[1]||y[0]).indexOf("%")?x/100*k.height:x)),o||o!==!1&&a.smooth?(b=T-l,_=x-u,a.xOffset=f+(b*h+_*d)-b,a.yOffset=p+(b*g+_*m)-_):a.xOffset=a.yOffset=0,a.xOrigin=T,a.yOrigin=x,a.smooth=!!o,a.origin=t,a.originIsAbsolute=!!r,e.style[_e]="0px 0px",s&&(je(s,a,"xOrigin",l,T),je(s,a,"yOrigin",u,x),je(s,a,"xOffset",f,a.xOffset),je(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",T+" "+x)},rr=function(e,t){var r=e._gsap||new Wi(e);if("x"in r&&!t&&!r.uncache)return r;var o=e.style,i=r.scaleX<0,s="px",a="deg",c=getComputedStyle(e),l=ke(e,_e)||"0",u,f,p,h,g,d,m,b,_,y,T,x,k,S,v,w,O,N,L,z,G,F,P,M,Z,ye,D,re,xe,ue,ne,U;return u=f=p=d=m=b=_=y=T=0,h=g=1,r.svg=!!(e.getCTM&&os(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(o[q]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[q]!=="none"?c[q]:"")),o.scale=o.rotate=o.translate="none"),S=Qn(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),l=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",M=""):M=!t&&e.getAttribute("data-svg-origin"),En(e,M||l,!!M||r.originIsAbsolute,r.smooth!==!1,S)),x=r.xOrigin||0,k=r.yOrigin||0,S!==tr&&(N=S[0],L=S[1],z=S[2],G=S[3],u=F=S[4],f=P=S[5],S.length===6?(h=Math.sqrt(N*N+L*L),g=Math.sqrt(G*G+z*z),d=N||L?wt(L,N)*ct:0,_=z||G?wt(z,G)*ct+d:0,_&&(g*=Math.abs(Math.cos(_*Dt))),r.svg&&(u-=x-(x*N+k*z),f-=k-(x*L+k*G))):(U=S[6],ue=S[7],D=S[8],re=S[9],xe=S[10],ne=S[11],u=S[12],f=S[13],p=S[14],v=wt(U,xe),m=v*ct,v&&(w=Math.cos(-v),O=Math.sin(-v),M=F*w+D*O,Z=P*w+re*O,ye=U*w+xe*O,D=F*-O+D*w,re=P*-O+re*w,xe=U*-O+xe*w,ne=ue*-O+ne*w,F=M,P=Z,U=ye),v=wt(-z,xe),b=v*ct,v&&(w=Math.cos(-v),O=Math.sin(-v),M=N*w-D*O,Z=L*w-re*O,ye=z*w-xe*O,ne=G*O+ne*w,N=M,L=Z,z=ye),v=wt(L,N),d=v*ct,v&&(w=Math.cos(v),O=Math.sin(v),M=N*w+L*O,Z=F*w+P*O,L=L*w-N*O,P=P*w-F*O,N=M,F=Z),m&&Math.abs(m)+Math.abs(d)>359.9&&(m=d=0,b=180-b),h=Q(Math.sqrt(N*N+L*L+z*z)),g=Q(Math.sqrt(P*P+U*U)),v=wt(F,P),_=Math.abs(v)>2e-4?v*ct:0,T=ne?1/(ne<0?-ne:ne):0),r.svg&&(M=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!ss(ke(e,q)),M&&e.setAttribute("transform",M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(h*=-1,_+=d<=0?180:-180,d+=d<=0?180:-180):(g*=-1,_+=_<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=Q(h),r.scaleY=Q(g),r.rotation=Q(d)+a,r.rotationX=Q(m)+a,r.rotationY=Q(b)+a,r.skewX=_+a,r.skewY=y+a,r.transformPerspective=T+s,(r.zOrigin=parseFloat(l.split(" ")[2])||!t&&r.zOrigin||0)&&(o[_e]=Fr(l)),r.xOffset=r.yOffset=0,r.force3D=Ce.force3D,r.renderTransform=r.svg?vc:rs?as:bc,r.uncache=0,r},Fr=function(e){return(e=e.split(" "))[0]+" "+e[1]},ln=function(e,t,r){var o=le(t);return Q(parseFloat(t)+parseFloat(rt(e,"x",r+"px",o)))+o},bc=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,as(e,t)},st="0deg",Bt="0px",at=") ",as=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,a=r.y,c=r.z,l=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,h=r.skewY,g=r.scaleX,d=r.scaleY,m=r.transformPerspective,b=r.force3D,_=r.target,y=r.zOrigin,T="",x=b==="auto"&&e&&e!==1||b===!0;if(y&&(f!==st||u!==st)){var k=parseFloat(u)*Dt,S=Math.sin(k),v=Math.cos(k),w;k=parseFloat(f)*Dt,w=Math.cos(k),s=ln(_,s,S*w*-y),a=ln(_,a,-Math.sin(k)*-y),c=ln(_,c,v*w*-y+y)}m!==Bt&&(T+="perspective("+m+at),(o||i)&&(T+="translate("+o+"%, "+i+"%) "),(x||s!==Bt||a!==Bt||c!==Bt)&&(T+=c!==Bt||x?"translate3d("+s+", "+a+", "+c+") ":"translate("+s+", "+a+at),l!==st&&(T+="rotate("+l+at),u!==st&&(T+="rotateY("+u+at),f!==st&&(T+="rotateX("+f+at),(p!==st||h!==st)&&(T+="skew("+p+", "+h+at),(g!==1||d!==1)&&(T+="scale("+g+", "+d+at),_.style[q]=T||"translate(0, 0)"},vc=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,a=r.y,c=r.rotation,l=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,h=r.target,g=r.xOrigin,d=r.yOrigin,m=r.xOffset,b=r.yOffset,_=r.forceCSS,y=parseFloat(s),T=parseFloat(a),x,k,S,v,w;c=parseFloat(c),l=parseFloat(l),u=parseFloat(u),u&&(u=parseFloat(u),l+=u,c+=u),c||l?(c*=Dt,l*=Dt,x=Math.cos(c)*f,k=Math.sin(c)*f,S=Math.sin(c-l)*-p,v=Math.cos(c-l)*p,l&&(u*=Dt,w=Math.tan(l-u),w=Math.sqrt(1+w*w),S*=w,v*=w,u&&(w=Math.tan(u),w=Math.sqrt(1+w*w),x*=w,k*=w)),x=Q(x),k=Q(k),S=Q(S),v=Q(v)):(x=f,v=p,k=S=0),(y&&!~(s+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(y=rt(h,"x",s,"px"),T=rt(h,"y",a,"px")),(g||d||m||b)&&(y=Q(y+g-(g*x+d*S)+m),T=Q(T+d-(g*k+d*v)+b)),(o||i)&&(w=h.getBBox(),y=Q(y+o/100*w.width),T=Q(T+i/100*w.height)),w="matrix("+x+","+k+","+S+","+v+","+y+","+T+")",h.setAttribute("transform",w),_&&(h.style[q]=w)},yc=function(e,t,r,o,i){var s=360,a=oe(i),c=parseFloat(i)*(a&&~i.indexOf("rad")?ct:1),l=c-o,u=o+l+"deg",f,p;return a&&(f=i.split("_")[1],f==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),f==="cw"&&l<0?l=(l+s*Ao)%s-~~(l/s)*s:f==="ccw"&&l>0&&(l=(l-s*Ao)%s-~~(l/s)*s)),e._pt=p=new me(e._pt,t,r,o,l,rc),p.e=u,p.u="deg",e._props.push(r),p},Bo=function(e,t){for(var r in t)e[r]=t[r];return e},xc=function(e,t,r){var o=Bo({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,c,l,u,f,p,h,g;o.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),s[q]=t,a=rr(r,1),tt(r,q),r.setAttribute("transform",l)):(l=getComputedStyle(r)[q],s[q]=t,a=rr(r,1),s[q]=l);for(c in Ve)l=o[c],u=a[c],l!==u&&i.indexOf(c)<0&&(h=le(l),g=le(u),f=h!==g?rt(r,c,l,g):parseFloat(l),p=parseFloat(u),e._pt=new me(e._pt,a,c,f,p-f,Sn),e._pt.u=g||0,e._props.push(c));Bo(a,o)};ge("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",o="Bottom",i="Left",s=(e<3?[t,r,o,i]:[t+i,t+r,o+r,o+i]).map(function(a){return e<2?n+a:"border"+a+n});Lr[e>1?"border"+n:n]=function(a,c,l,u,f){var p,h;if(arguments.length<4)return p=s.map(function(g){return He(a,g,l)}),h=p.join(" "),h.split(p[0]).length===5?p[0]:h;p=(u+"").split(" "),h={},s.forEach(function(g,d){return h[g]=p[d]=p[d]||p[(d-1)/2|0]}),a.init(c,h,f)}});var ls={name:"css",register:Cn,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,o,i){var s=this._props,a=e.style,c=r.vars.startAt,l,u,f,p,h,g,d,m,b,_,y,T,x,k,S,v,w;qn||Cn(),this.styles=this.styles||ts(e),v=this.styles.props,this.tween=r;for(d in t)if(d!=="autoRound"&&(u=t[d],!(Te[d]&&Vi(d,t,r,o,e,i)))){if(h=typeof u,g=Lr[d],h==="function"&&(u=u.call(r,o,e,i),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=Kt(u)),g)g(this,e,d,u,r)&&(S=1);else if(d.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(d)+"").trim(),u+="",Je.lastIndex=0,Je.test(l)||(m=le(l),b=le(u),b?m!==b&&(l=rt(e,d,l,b)+b):m&&(u+=m)),this.add(a,"setProperty",l,u,o,i,0,0,d),s.push(d),v.push(d,0,a[d]);else if(h!=="undefined"){if(c&&d in c?(l=typeof c[d]=="function"?c[d].call(r,o,e,i):c[d],oe(l)&&~l.indexOf("random(")&&(l=Kt(l)),le(l+"")||l==="auto"||(l+=Ce.units[d]||le(He(e,d))||""),(l+"").charAt(1)==="="&&(l=He(e,d))):l=He(e,d),p=parseFloat(l),_=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),f=parseFloat(u),d in Ne&&(d==="autoAlpha"&&(p===1&&He(e,"visibility")==="hidden"&&f&&(p=0),v.push("visibility",0,a.visibility),je(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),d!=="scale"&&d!=="transform"&&(d=Ne[d],~d.indexOf(",")&&(d=d.split(",")[0]))),y=d in Ve,y){if(this.styles.save(d),w=u,h==="string"&&u.substring(0,6)==="var(--"){if(u=ke(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var O=e.style.perspective;e.style.perspective=u,u=ke(e,"perspective"),O?e.style.perspective=O:tt(e,"perspective")}f=parseFloat(u)}if(T||(x=e._gsap,x.renderTransform&&!t.parseTransform||rr(e,t.parseTransform),k=t.smoothOrigin!==!1&&x.smooth,T=this._pt=new me(this._pt,a,q,0,1,x.renderTransform,x,0,-1),T.dep=1),d==="scale")this._pt=new me(this._pt,x,"scaleY",x.scaleY,(_?Et(x.scaleY,_+f):f)-x.scaleY||0,Sn),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){v.push(_e,0,a[_e]),u=mc(u),x.svg?En(e,u,0,k,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==x.zOrigin&&je(this,x,"zOrigin",x.zOrigin,b),je(this,a,d,Fr(l),Fr(u)));continue}else if(d==="svgOrigin"){En(e,u,1,k,0,this);continue}else if(d in is){yc(this,x,d,p,_?Et(p,_+u):u);continue}else if(d==="smoothOrigin"){je(this,x,"smooth",x.smooth,u);continue}else if(d==="force3D"){x[d]=u;continue}else if(d==="transform"){xc(this,u,e);continue}}else d in a||(d=Ft(d)||d);if(y||(f||f===0)&&(p||p===0)&&!tc.test(u)&&d in a)m=(l+"").substr((p+"").length),f||(f=0),b=le(u)||(d in Ce.units?Ce.units[d]:m),m!==b&&(p=rt(e,d,l,b)),this._pt=new me(this._pt,y?x:a,d,p,(_?Et(p,_+f):f)-p,!y&&(b==="px"||d==="zIndex")&&t.autoRound!==!1?ic:Sn),this._pt.u=b||0,y&&w!==u?(this._pt.b=l,this._pt.e=w,this._pt.r=oc):m!==b&&b!=="%"&&(this._pt.b=l,this._pt.r=nc);else if(d in a)gc.call(this,e,d,l,_?_+u:u);else if(d in e)this.add(e,d,l||e[d],_?_+u:u,o,i);else if(d!=="parseTransform"){Nn(d,u);continue}y||(d in a?v.push(d,0,a[d]):typeof e[d]=="function"?v.push(d,2,e[d]()):v.push(d,1,l||e[d])),s.push(d)}}S&&Zi(this)},render:function(e,t){if(t.tween._time||!jn())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:He,aliases:Ne,getSetter:function(e,t,r){var o=Ne[t];return o&&o.indexOf(",")<0&&(t=o),t in Ve&&t!==_e&&(e._gsap.x||He(e,"x"))?r&&Po===r?t==="scale"?cc:lc:(Po=r||{})&&(t==="scale"?uc:fc):e.style&&!In(e.style[t])?sc:~t.indexOf("-")?ac:Yn(e,t)},core:{_removeProperty:tt,_getMatrix:Qn}};be.utils.checkPrefix=Ft;be.core.getStyleSaver=ts;(function(n,e,t,r){var o=ge(n+","+e+","+t,function(i){Ve[i]=1});ge(e,function(i){Ce.units[i]="deg",is[i]=1}),Ne[o[13]]=n+","+e,ge(r,function(i){var s=i.split(":");Ne[s[1]]=o[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");ge("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ce.units[n]="px"});be.registerPlugin(ls);var fe=be.registerPlugin(ls)||be;fe.core.Tween;/*!
|
|
16
|
+
* paths 3.15.0
|
|
17
|
+
* https://gsap.com
|
|
18
|
+
*
|
|
19
|
+
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
20
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
21
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
22
|
+
*/var Tc=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,wc=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,Sc=Math.PI/180,mr=Math.sin,_r=Math.cos,qt=Math.abs,Gt=Math.sqrt,kc=function(e){return typeof e=="number"},Go=1e5,Ye=function(e){return Math.round(e*Go)/Go||0},Uo=function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001};function Cc(n,e,t,r,o,i,s){for(var a=n.length,c,l,u,f,p;--a>-1;)for(c=n[a],l=c.length,u=0;u<l;u+=2)f=c[u],p=c[u+1],c[u]=f*e+p*r+i,c[u+1]=f*t+p*o+s;return n._dirty=1,n}function Ec(n,e,t,r,o,i,s,a,c){if(!(n===a&&e===c)){t=qt(t),r=qt(r);var l=o%360*Sc,u=_r(l),f=mr(l),p=Math.PI,h=p*2,g=(n-a)/2,d=(e-c)/2,m=u*g+f*d,b=-f*g+u*d,_=m*m,y=b*b,T=_/(t*t)+y/(r*r);T>1&&(t=Gt(T)*t,r=Gt(T)*r);var x=t*t,k=r*r,S=(x*k-x*y-k*_)/(x*y+k*_);S<0&&(S=0);var v=(i===s?-1:1)*Gt(S),w=v*(t*b/r),O=v*-(r*m/t),N=(n+a)/2,L=(e+c)/2,z=N+(u*w-f*O),G=L+(f*w+u*O),F=(m-w)/t,P=(b-O)/r,M=(-m-w)/t,Z=(-b-O)/r,ye=F*F+P*P,D=(P<0?-1:1)*Math.acos(F/Gt(ye)),re=(F*Z-P*M<0?-1:1)*Math.acos((F*M+P*Z)/Gt(ye*(M*M+Z*Z)));isNaN(re)&&(re=p),!s&&re>0?re-=h:s&&re<0&&(re+=h),D%=h,re%=h;var xe=Math.ceil(qt(re)/(h/4)),ue=[],ne=re/xe,U=4/3*mr(ne/2)/(1+_r(ne/2)),ie=u*t,Tt=f*t,ar=f*-r,J=u*r,ae;for(ae=0;ae<xe;ae++)o=D+ae*ne,m=_r(o),b=mr(o),F=_r(o+=ne),P=mr(o),ue.push(m-U*b,b+U*m,F+U*P,P-U*F,F,P);for(ae=0;ae<ue.length;ae+=2)m=ue[ae],b=ue[ae+1],ue[ae]=m*ie+b*ar+z,ue[ae+1]=m*Tt+b*J+G;return ue[ae-2]=a,ue[ae-1]=c,ue}}function Oc(n){var e=(n+"").replace(wc,function(w){var O=+w;return O<1e-4&&O>-1e-4?0:O}).match(Tc)||[],t=[],r=0,o=0,i=2/3,s=e.length,a=0,c="ERROR: malformed path: "+n,l,u,f,p,h,g,d,m,b,_,y,T,x,k,S,v=function(O,N,L,z){_=(L-O)/3,y=(z-N)/3,d.push(O+_,N+y,L-_,z-y,L,z)};if(!n||!isNaN(e[0])||isNaN(e[1]))return console.log(c),t;for(l=0;l<s;l++)if(x=h,isNaN(e[l])?(h=e[l].toUpperCase(),g=h!==e[l]):l--,f=+e[l+1],p=+e[l+2],g&&(f+=r,p+=o),l||(m=f,b=p),h==="M")d&&(d.length<8?t.length-=1:a+=d.length,Uo(d)),r=m=f,o=b=p,d=[f,p],t.push(d),l+=2,h="L";else if(h==="C")d||(d=[0,0]),g||(r=o=0),d.push(f,p,r+e[l+3]*1,o+e[l+4]*1,r+=e[l+5]*1,o+=e[l+6]*1),l+=6;else if(h==="S")_=r,y=o,(x==="C"||x==="S")&&(_+=r-d[d.length-4],y+=o-d[d.length-3]),g||(r=o=0),d.push(_,y,f,p,r+=e[l+3]*1,o+=e[l+4]*1),l+=4;else if(h==="Q")_=r+(f-r)*i,y=o+(p-o)*i,g||(r=o=0),r+=e[l+3]*1,o+=e[l+4]*1,d.push(_,y,r+(f-r)*i,o+(p-o)*i,r,o),l+=4;else if(h==="T")_=r-d[d.length-4],y=o-d[d.length-3],d.push(r+_,o+y,f+(r+_*1.5-f)*i,p+(o+y*1.5-p)*i,r=f,o=p),l+=2;else if(h==="H")v(r,o,r=f,o),l+=1;else if(h==="V")v(r,o,r,o=f+(g?o-r:0)),l+=1;else if(h==="L"||h==="Z")h==="Z"&&(f=m,p=b,d.closed=!0),(h==="L"||qt(r-f)>.5||qt(o-p)>.5)&&(v(r,o,f,p),h==="L"&&(l+=2)),r=f,o=p;else if(h==="A"){if(k=e[l+4],S=e[l+5],_=e[l+6],y=e[l+7],u=7,k.length>1&&(k.length<3?(y=_,_=S,u--):(y=S,_=k.substr(2),u-=2),S=k.charAt(1),k=k.charAt(0)),T=Ec(r,o,+e[l+1],+e[l+2],+e[l+3],+k,+S,(g?r:0)+_*1,(g?o:0)+y*1),l+=u,T)for(u=0;u<T.length;u++)d.push(T[u]);r=d[d.length-2],o=d[d.length-1]}else console.log(c);return l=d.length,l<6?(t.pop(),l=0):Uo(d),t.totalPoints=a+l,t}function Dc(n){kc(n[0])&&(n=[n]);var e="",t=n.length,r,o,i,s;for(o=0;o<t;o++){for(s=n[o],e+="M"+Ye(s[0])+","+Ye(s[1])+" C",r=s.length,i=2;i<r;i++)e+=Ye(s[i++])+","+Ye(s[i++])+" "+Ye(s[i++])+","+Ye(s[i++])+" "+Ye(s[i++])+","+Ye(s[i])+" ";s.closed&&(e+="z")}return e}/*!
|
|
23
|
+
* CustomEase 3.15.0
|
|
24
|
+
* https://gsap.com
|
|
25
|
+
*
|
|
26
|
+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
|
27
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
28
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
29
|
+
*/var de,cs,us=function(){return de||typeof window<"u"&&(de=window.gsap)&&de.registerPlugin&&de},Ho=function(){de=us(),de?(de.registerEase("_CE",bt.create),cs=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Rc=1e20,br=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Pc=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Ac=/[cLlsSaAhHvVtTqQ]/g,Lc=function(e){var t=e.length,r=Rc,o;for(o=1;o<t;o+=6)+e[o]<r&&(r=+e[o]);return r},Fc=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var o=+e[0]*-1,i=-r,s=e.length,a=1/(+e[s-2]+o),c=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?Lc(e)+i:+e[s-1]+i),l;for(c?c=1/c:c=-a,l=0;l<s;l+=2)e[l]=(+e[l]+o)*a,e[l+1]=(+e[l+1]+i)*c},Ic=function n(e,t,r,o,i,s,a,c,l,u,f){var p=(e+r)/2,h=(t+o)/2,g=(r+i)/2,d=(o+s)/2,m=(i+a)/2,b=(s+c)/2,_=(p+g)/2,y=(h+d)/2,T=(g+m)/2,x=(d+b)/2,k=(_+T)/2,S=(y+x)/2,v=a-e,w=c-t,O=Math.abs((r-a)*w-(o-c)*v),N=Math.abs((i-a)*w-(s-c)*v),L;return u||(u=[{x:e,y:t},{x:a,y:c}],f=1),u.splice(f||u.length-1,0,{x:k,y:S}),(O+N)*(O+N)>l*(v*v+w*w)&&(L=u.length,n(e,t,p,h,_,y,k,S,l,u,f),n(k,S,T,x,m,b,a,c,l,u,f+1+(u.length-L))),u},bt=(function(){function n(t,r,o){cs||Ho(),this.id=t,this.setData(r,o)}var e=n.prototype;return e.setData=function(r,o){o=o||{},r=r||"0,0,1,1";var i=r.match(Pc),s=1,a=[],c=[],l=o.precision||1,u=l<=1,f,p,h,g,d,m,b,_,y;if(this.data=r,(Ac.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(i=Oc(r)[0]),f=i.length,f===4)i.unshift(0,0),i.push(1,1),f=8;else if((f-2)%6)throw"Invalid CustomEase";for((+i[0]!=0||+i[f-2]!=1)&&Fc(i,o.height,o.originY),this.segment=i,g=2;g<f;g+=6)p={x:+i[g-2],y:+i[g-1]},h={x:+i[g+4],y:+i[g+5]},a.push(p,h),Ic(p.x,p.y,+i[g],+i[g+1],+i[g+2],+i[g+3],h.x,h.y,1/(l*2e5),a,a.length-1);for(f=a.length,g=0;g<f;g++)b=a[g],_=a[g-1]||b,(b.x>_.x||_.y!==b.y&&_.x===b.x||b===_)&&b.x<=1?(_.cx=b.x-_.x,_.cy=b.y-_.y,_.n=b,_.nx=b.x,u&&g>1&&Math.abs(_.cy/_.cx-a[g-2].cy/a[g-2].cx)>2&&(u=0),_.cx<s&&(_.cx?s=_.cx:(_.cx=.001,g===f-1&&(_.x-=.001,s=Math.min(s,.001),u=0)))):(a.splice(g--,1),f--);if(f=1/s+1|0,d=1/f,m=0,b=a[0],u){for(g=0;g<f;g++)y=g*d,b.nx<y&&(b=a[++m]),p=b.y+(y-b.x)/b.cx*b.cy,c[g]={x:y,cx:d,y:p,cy:0,nx:9},g&&(c[g-1].cy=p-c[g-1].y);m=a[a.length-1],c[f-1].cy=m.y-p,c[f-1].cx=m.x-c[c.length-1].x}else{for(g=0;g<f;g++)b.nx<g*d&&(b=a[++m]),c[g]=b;m<a.length-1&&(c[g-1]=a[a.length-2])}return this.ease=function(T){var x=c[T*f|0]||c[f-1];return x.nx<T&&(x=x.n),x.y+(T-x.x)/x.cx*x.cy},this.ease.custom=this,this.id&&de&&de.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return n.getSVGData(this,r)},n.create=function(r,o,i){return new n(r,o,i).ease},n.register=function(r){de=r,Ho()},n.get=function(r){return de.parseEase(r)},n.getSVGData=function(r,o){o=o||{};var i=o.width||100,s=o.height||100,a=o.x||0,c=(o.y||0)+s,l=de.utils.toArray(o.path)[0],u,f,p,h,g,d,m,b,_,y;if(o.invert&&(s=-s,c=0),typeof r=="string"&&(r=de.parseEase(r)),r.custom&&(r=r.custom),r instanceof n)u=Dc(Cc([r.segment.slice(0)],i,0,0,-s,a,c));else{for(u=[a,c],m=Math.max(5,(o.precision||1)*200),h=1/m,m+=2,b=5/m,_=br(a+h*i),y=br(c+r(h)*-s),f=(y-c)/(_-a),p=2;p<m;p++)g=br(a+p*h*i),d=br(c+r(p*h)*-s),(Math.abs((d-y)/(g-_)-f)>b||p===m-1)&&(u.push(_,y),f=(d-y)/(g-_)),_=g,y=d;u="M"+u.join(",")}return l&&l.setAttribute("d",u),u},n})();bt.version="3.15.0";bt.headless=!0;us()&&de.registerPlugin(bt);/*!
|
|
30
|
+
* @gsap/react 2.1.2
|
|
31
|
+
* https://gsap.com
|
|
32
|
+
*
|
|
33
|
+
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
34
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
35
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
36
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
37
|
+
*/let Wo=typeof document<"u"?R.useLayoutEffect:R.useEffect,Vo=n=>n&&!Array.isArray(n)&&typeof n=="object",vr=[],Mc={},fs=fe;const Wr=(n,e=vr)=>{let t=Mc;Vo(n)?(t=n,n=null,e="dependencies"in t?t.dependencies:vr):Vo(e)&&(t=e,e="dependencies"in t?t.dependencies:vr),n&&typeof n!="function"&&console.warn("First parameter must be a function or config object");const{scope:r,revertOnUpdate:o}=t,i=R.useRef(!1),s=R.useRef(fs.context(()=>{},r)),a=R.useRef(l=>s.current.add(null,l)),c=e&&e.length&&!o;return c&&Wo(()=>(i.current=!0,()=>s.current.revert()),vr),Wo(()=>{if(n&&s.current.add(n,r),!c||!i.current)return()=>s.current.revert()},e),{context:s.current,contextSafe:a.current}};Wr.register=n=>{fs=n};Wr.headless=!0;const ds={surfaceDuration:"--motion-surface-duration"},Vr={interactiveDuration:280,interactiveEase:"power2.out",hoverLiftEase:"sine.inOut",tooltipDuration:200,switchThumbDuration:340,switchThumbEase:"back.out(1.4)",selectionFillEase:"back.out(1.25)",selectionFillDuration:280,hoverLiftScale:1.025,badgeAnchorHoverLiftScale:1.052,pressSqueezeScale:[1,.98,1],rippleDefaultDuration:700,rippleDefaultOpacityFrom:.42,rippleExpandableDuration:700,rippleExpandableOpacityFrom:.34,rippleEaseCss:"cubic-bezier(0.25, 0.55, 0.35, 0.95)",feedbackExpandDuration:720,expandDuration:200,expandOpenEase:"sine.inOut",surfaceTransitionDuration:600,toastDismissDuration:220,toastDismissEase:"power2.in",enableHoverLift:!0,enablePressSqueeze:!0,enableToggleButtonFill:!0,enableRipple:!0,enableExpandable:!0,enableToastStack:!0,enableAsyncButtonCrossfade:!0,enableContentFade:!0,enableFeedbackExpand:!0,progressFillDuration:600,progressFillEase:"power2.out",enableProgressFill:!0,loadingDotsDuration:900,loadingDotsEaseUp:"power2.out",loadingDotsEaseDown:"power2.in",enableLoadingDots:!0};let V={...Vr},hs=0;const On=new Set;function zc(n){return On.add(n),()=>{On.delete(n)}}function Nc(){return hs}function Kn(n,e=V){if(typeof document>"u")return;const t=n??document.documentElement,r=ds.surfaceDuration;e.surfaceTransitionDuration===Vr.surfaceTransitionDuration?t.style.removeProperty(r):t.style.setProperty(r,`${e.surfaceTransitionDuration}ms`)}function ps(n){V={...V,...n},hs+=1,Kn(document.documentElement,V);for(const e of On)e()}function Fe(){return V}function Bc(){return{duration:V.interactiveDuration/1e3,ease:V.interactiveEase}}function Gc(){return{duration:V.selectionFillDuration/1e3,ease:V.selectionFillEase}}function Uc(){return{duration:V.tooltipDuration/1e3,ease:V.interactiveEase}}function Hc(){return{duration:V.switchThumbDuration/1e3,ease:V.switchThumbEase}}function Wc(){return{duration:V.expandDuration/1e3,ease:V.expandOpenEase}}function Vc(){return{duration:V.tooltipDuration/1e3,ease:V.interactiveEase}}function $c(){return{duration:V.feedbackExpandDuration/1e3}}function Yc(){return{duration:V.progressFillDuration/1e3,ease:V.progressFillEase}}function Xc(){return{duration:V.toastDismissDuration/1e3,ease:V.toastDismissEase}}const qc=3;function jc(){const n=V.loadingDotsDuration/1e3;return{cycleSec:n,staggerSec:n/qc,halfCycleSec:n/2,easeUp:V.loadingDotsEaseUp,easeDown:V.loadingDotsEaseDown,enabled:V.enableLoadingDots}}fe.registerPlugin(bt,Wr);const cn="brn-ripple";let $o="";function gs(){const n=Fe().rippleEaseCss;if($o!==n){const e=/cubic-bezier\(\s*([\d.]+),\s*([\d.]+),\s*([\d.]+),\s*([\d.]+)\s*\)/.exec(n);e?bt.create(cn,`${e[1]},${e[2]},${e[3]},${e[4]}`):bt.create(cn,"0.25,0.55,0.35,0.95"),$o=n}return cn}function De(...n){fe.killTweensOf(n)}const ms=1024,Jn=`(max-width: ${ms}px), (hover: none), (pointer: coarse)`,Zc=`${Jn}, (any-pointer: coarse)`;function Qc(n){return n||document.documentElement}function Dn(n,e){return typeof window>"u"?"none":getComputedStyle(Qc(e)).getPropertyValue(n).trim()||"none"}function sr(n){return n==="none"?"var(--shadow-none)":`var(${Ln[n]})`}const Ir=()=>sr("none"),Mt=()=>sr("base"),_s=()=>sr("mid"),Kc=()=>sr("large");function Jc(n,e){return Dn(n==="none"?"--shadow-none":Ln[n],e)}function $r(n,e){n&&n.style.setProperty("--el-shadow",e)}function Yr(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function eu(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia(Jn).matches}function ve(){return Yr()||eu()||!Fe().enableHoverLift}const tu=2.4,ru=.003,nu=1.8,ou=.002;function bs(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1),o=1-Fe().pressSqueezeScale[1];return 1-Math.min(Math.max(tu/r,ru),o)}function eo(n){return to(n)}function iu(n){return bs(n)}function to(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1);return 1+Math.min(Math.max(nu/r,ou),Fe().hoverLiftScale-1)}function nr(n,e,t,r){if(ve()){e||(De(n),fe.set(n,{scale:1}),r&&n.style.setProperty("--el-shadow",r.idle??Ir()));return}De(n);const o=e?t!==void 0?t:to(n):1,i=Fe();if(fe.to(n,{scale:o,duration:i.interactiveDuration/1e3,ease:i.hoverLiftEase,overwrite:"auto"}),r){const s=r.idle??Ir();n.style.setProperty("--el-shadow",e?r.hover:s)}}function su(n,e){var p;if(!Fe().enablePressSqueeze)return(p=e==null?void 0:e.onReleaseStart)==null||p.call(e),Promise.resolve();De(n);const t=bs(n),r=Fe(),o=r.interactiveDuration*1.15/1e3,i=o*.3,s=!ve(),a=!!(e!=null&&e.pointerInside&&s),c=a?(e==null?void 0:e.liftScale)!==void 0?e.liftScale:to(n):1,l=a?o:o*.5,u=a?r.hoverLiftEase:"sine.inOut",f=e==null?void 0:e.shadow;if(f){const h=f.idle??Ir();n.style.setProperty("--el-shadow",a?f.hover:h)}return new Promise(h=>{fe.timeline({onComplete:()=>{fe.set(n,{scale:c}),h()}}).to(n,{scale:t,duration:i,ease:"power1.out",overwrite:"auto"}).add(()=>{var g;(g=e==null?void 0:e.onReleaseStart)==null||g.call(e)}).to(n,{scale:c,duration:l,ease:u,overwrite:"auto"})})}function vs(n,e,t,r,o){return R.useEffect(()=>{const i=n.current;return()=>{i&&De(i)}},[n]),R.useMemo(()=>({onPointerOver:a=>{if(!e||a.defaultPrevented)return;const c=a.currentTarget;if(!(a.target instanceof Node)||!c.contains(a.target)||!di(c,a.relatedTarget)||ve())return;const l=n.current;l&&(t&&(t.current=!0),nr(l,!0,r,o))},onPointerOut:a=>{const c=a.currentTarget,l=a.relatedTarget;if(l instanceof Node&&c.contains(l)||(t&&(t.current=!1),!e)||ve())return;const u=n.current;u&&nr(u,!1,r,o)}}),[n,e,t,r,o])}const au="pointer-events-none absolute z-0 rounded-full",un=.12;function lu({id:n,x:e,y:t,size:r,durationMs:o,opacityFrom:i,background:s,direction:a,onDone:c}){const l=R.useRef(null),u=R.useRef(c);return u.current=c,R.useLayoutEffect(()=>{const f=l.current;if(!f)return;let p=!1;De(f);const h=a==="out"?un:1,g=a==="out"?1:un,d=fe.fromTo(f,{scale:h,autoAlpha:i},{scale:g,autoAlpha:0,duration:o/1e3,ease:gs(),onComplete:()=>{p||u.current(n)}});return()=>{p=!0,d.kill(),De(f)}},[n,e,t,r,o,i,s,a]),wr.jsx("span",{ref:l,className:au,style:{left:e-r/2,top:t-r/2,width:r,height:r,background:s,transformOrigin:"center center",transform:`scale(${a==="out"?un:1})`},"aria-hidden":!0})}function cu({ripples:n,tone:e,onDone:t,durationMs:r=Fe().rippleDefaultDuration,opacityFrom:o=Fe().rippleDefaultOpacityFrom,direction:i="in"}){return wr.jsx(wr.Fragment,{children:n.map(s=>wr.jsx(lu,{...s,background:e,durationMs:r,opacityFrom:o,direction:i,onDone:t},s.id))})}function uu(n,e,t,r){return Math.max(...[[0,0],[t,0],[0,r],[t,r]].map(([i,s])=>Math.hypot(i-n,s-e)))}function ro(n,e,t,r){const o=n.getBoundingClientRect(),i=e-o.left,s=t-o.top,a=uu(i,s,o.width,o.height)*2;return{id:r,x:i,y:s,size:a}}function fu(n,e){const t=n.currentTarget;return t?ro(t,n.clientX,n.clientY,e):null}function du(){const n=R.useRef(0),[e,t]=R.useState([]),r=R.useCallback(s=>{t(a=>a.filter(c=>c.id!==s))},[]),o=R.useCallback((s,a,c)=>{const l=++n.current,u=ro(s,a,c,l);t(f=>[...f,u])},[]),i=R.useCallback(s=>{const a=s.currentTarget;a&&o(a,s.clientX,s.clientY)},[o]);return{ripples:e,pushFromPointer:i,pushAtClientCoords:o,dismiss:r}}const hu=["small","base","mid","strong","bold"],Xr={small:"--font-w-small",base:"--font-w-base",mid:"--font-w-mid",strong:"--font-w-strong",bold:"--font-w-bold"},ys={small:400,base:500,mid:600,strong:700,bold:800};function pu(n){return`var(--font-w-${n})`}const vt=Qe.textScale,gu=["--border-width","--focus-ring-width","--focus-ring-offset","--motion-surface-duration","--motion-surface-ease","--motion-shadow-ease","--overlay-backdrop-color","--overlay-backdrop-blur","--overlay-backdrop-saturate","--overlay-backdrop-scrim","--z-dialog","--z-dropdown","--z-dropdown-sub","--z-popover","--z-toast","--z-tooltip","--color-background","--color-surface","--color-border","--color-foreground","--color-muted","--color-primary","--color-primary-foreground","--color-primary-hover","--color-default-hover","--color-primary-tint","--color-primary-tint-strong","--color-indicator","--color-indicator-foreground","--color-secondary","--color-secondary-foreground","--color-secondary-hover","--color-tertiary","--color-tertiary-foreground","--color-tertiary-hover","--color-focus-ring","--color-focus-ring-danger","--color-focus-ring-success","--color-focus-ring-info","--color-focus-ring-warning","--color-converge-ripple-primary-fill","--color-converge-ripple-neutral","--color-converge-ripple-neutral-muted","--color-converge-ripple-danger","--color-converge-ripple-info","--color-converge-ripple-success","--color-converge-ripple-warning","--color-danger","--color-danger-fill-hover","--color-danger-foreground","--color-success","--color-success-foreground","--color-success-fill-hover","--color-info","--color-info-foreground","--color-info-fill-hover","--color-warning","--color-warning-foreground","--color-warning-fill-hover","--color-surface-tint-danger","--color-surface-tint-success","--color-surface-tint-info","--color-surface-tint-warning","--color-surface-tint-danger-hover","--color-surface-tint-success-hover","--color-surface-tint-info-hover","--color-surface-tint-warning-hover","--font-family-sans","--font-family-mono","--font-w-small","--font-w-base","--font-w-mid","--font-w-strong","--font-w-bold","--space","--space-xsmall","--space-small","--space-base","--space-mid","--space-large","--space-xlarge","--space-2xlarge","--space-3xlarge","--size","--size-scale-xsmall","--size-scale-small","--size-scale-base","--size-scale-mid","--size-scale-large","--size-scale-xlarge","--size-scale-2xlarge","--size-scale-3xlarge","--selection-indicator-xsmall","--selection-indicator-small","--selection-indicator-base","--selection-indicator-mid","--selection-indicator-large","--selection-indicator-radius-xsmall","--selection-indicator-radius-small","--selection-indicator-radius-base","--selection-indicator-radius-mid","--selection-indicator-radius-large","--radius","--radius-xsmall","--radius-small","--radius-base","--radius-mid","--radius-large","--text-scale-xsmall","--text-scale-xsmall--line-height","--text-scale-small","--text-scale-small--line-height","--text-scale-base","--text-scale-base--line-height","--text-scale-mid","--text-scale-mid--line-height","--text-scale-large","--text-scale-large--line-height","--text-scale-xlarge","--text-scale-xlarge--line-height","--text-scale-2xlarge","--text-scale-2xlarge--line-height","--text-scale-3xlarge","--text-scale-3xlarge--line-height","--text-accent-header-size","--text-accent-header-line-height","--text-accent-header-weight","--text-header-1-size","--text-header-1-line-height","--text-header-1-weight","--text-header-2-size","--text-header-2-line-height","--text-header-2-weight","--text-large-size","--text-large-line-height","--text-large-weight","--text-base-size","--text-base-line-height","--text-base-weight","--text-small-size","--text-small-line-height","--text-small-weight","--text-mid-size","--text-mid-line-height","--text-mid-weight","--text-xsmall-size","--text-xsmall-line-height","--text-xsmall-weight","--max-component-xsmall","--max-component-small","--max-component-base","--max-component-mid","--max-component-large","--max-component-xlarge","--max-component-2xlarge","--button-min-width-small","--button-min-width-base","--button-min-width-mid","--button-min-width-large","--control-height-xsmall","--control-height-small","--control-height-base","--control-height-mid","--control-height-large","--control-size-xsmall","--control-size-small","--control-size-base","--control-size-mid","--control-size-large","--avatar-size-small","--avatar-size-base","--avatar-size-mid","--avatar-size-large","--icon-size-xsmall","--icon-size-small","--icon-size-base","--icon-size-mid","--icon-size-large","--icon-size-xlarge","--icon-size-2xlarge","--icon-size-3xlarge","--shadow-size","--shadow-none","--shadow-base","--shadow-mid","--shadow-large","--toast-scrim-size","--toast-scrim-density"];function K(n){return`var(--color-${n})`}const Rn="data-gloss-motion-init",no="will-change-transform origin-center",Yo={rest:{angle1:-75,angle2:-45,shineX:0,shineY:50},hover:{angle1:-80,angle2:-45,shineX:10,shineY:50},press:{angle1:-75,angle2:-15,shineX:15,shineY:15}},mu=120,_u=.35;function bu(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1);return Math.min(1,Math.max(_u,mu/r))}function vu(n,e){const t=Yo.rest,r=Yo[e];if(e==="rest")return r;const o=bu(n);return{angle1:t.angle1+(r.angle1-t.angle1)*o,angle2:t.angle2+(r.angle2-t.angle2)*o,shineX:t.shineX+(r.shineX-t.shineX)*o,shineY:t.shineY+(r.shineY-t.shineY)*o}}function lt(n,e){const t=getComputedStyle(n).getPropertyValue(e).trim();return t||(typeof document>"u"?"":getComputedStyle(document.documentElement).getPropertyValue(e).trim())}function yu(n,e){const t=vu(n,e);return{"--gloss-angle-1":`${t.angle1}deg`,"--gloss-angle-2":`${t.angle2}deg`,"--gloss-shine-x":t.shineX,"--gloss-shine-y":t.shineY}}function xu(n,e){const t=lt(n,"--gloss-inset-top"),r=lt(n,"--gloss-inset-bottom"),o=lt(n,"--gloss-elevation"),i=lt(n,"--gloss-elevation-hover")||o,s=lt(n,"--gloss-inner-glow"),a=lt(n,"--gloss-glow-hover"),c=lt(n,"--gloss-press-inset"),l=`inset 0 0.425em 0.425em ${t}, inset 0 -0.225em 0.225em ${r}`,u=e==="hover"?`0 0.125em 0.3125em -0.1875em ${i}`:e==="press"?`0 0.04em 0.08em -0.0625em ${o}`:`0 0.0625em 0.125em -0.0625em ${o}`,f=e==="hover"?`inset 0 0 0.1em 0.25em ${a}`:`inset 0 0 0.05em 0.1em ${s}`,p=e==="press"?`inset 0 0.25em 0.06em 0 ${c}`:"inset 0 0.25em 0.06em 0 rgb(0 0 0 / 0)";return`${l}, ${u}, ${f}, ${p}`}function It(n,e){return{...yu(n,e),boxShadow:xu(n,e)}}function Mr(n){De(n),fe.set(n,{scale:1,...It(n,"rest")})}let fn=null;function xs(n){if(ve()){Mr(n);return}const e=n.matches(":hover")||n.matches(":focus-within");if(De(n),e){fe.set(n,{scale:eo(n),...It(n,"hover")});return}Mr(n)}function Tu(n){if(typeof document>"u")return;document.querySelectorAll(`[${Rn}]`).forEach(xs)}function wu(){fn||typeof document>"u"||(fn=new MutationObserver(n=>{for(const e of n)if(e.type==="attributes"&&e.attributeName==="data-theme"){Tu();return}}),fn.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}))}function oo(n,e=!0){return t=>{n.current=t,t&&e&&(wu(),t.hasAttribute(Rn)||(t.setAttribute(Rn,""),Mr(t)))}}function Su(n,e=!0){const t=R.useRef(null),r=R.useMemo(()=>oo(t,e),[e]);return R.useCallback(o=>{r(o),t.current=o,typeof n=="function"?n(o):n&&(n.current=o)},[r,n])}function or(n,e,t){if(ve()){e||(De(n),fe.set(n,{scale:1,...It(n,"rest")}));return}De(n);const r=Fe(),o=e?"hover":"rest",i=e?t!==void 0?t:eo(n):1;fe.to(n,{scale:i,...It(n,o),duration:r.interactiveDuration/1e3,ease:r.hoverLiftEase,overwrite:"auto"})}function Ts(n,e=!1,t,r){if(Yr())return Promise.resolve();const o=Fe();if(!o.enablePressSqueeze)return r==null||r(),ve()||or(n,e,t),Promise.resolve();De(n);const i=iu(n),s=o.interactiveDuration*1.15/1e3,a=s*.3,c=s*1,l=!ve(),u=e&&l,f=u?"hover":"rest",p=u?eo(n):1;return new Promise(h=>{fe.timeline({onComplete:()=>h()}).to(n,{...It(n,"press"),scale:i,duration:a,ease:"power1.out",overwrite:"auto"}).add(()=>{r==null||r()}).to(n,{...It(n,f),scale:p,duration:c,ease:o.hoverLiftEase,overwrite:"auto"})})}function ws(n,e,t){const r=t==null?void 0:t.liftScale,o=t==null?void 0:t.pointerInsideRef;return R.useLayoutEffect(()=>{if(!e)return;const i=n.current;i&&Mr(i)},[e,n]),R.useEffect(()=>{const i=n.current;return()=>{i&&De(i)}},[n]),R.useMemo(()=>({onPointerOver:a=>{if(!e||a.defaultPrevented)return;const c=a.currentTarget;if(!(a.target instanceof Node)||!c.contains(a.target)||!di(c,a.relatedTarget)||ve())return;const l=n.current;l&&(o&&(o.current=!0),or(l,!0,r))},onPointerOut:a=>{const c=a.currentTarget,l=a.relatedTarget;if(l instanceof Node&&c.contains(l)||(o&&(o.current=!1),!e||ve()))return;const u=n.current;u&&or(u,!1,r)}}),[e,r,o,n])}function ku(n,e){const t=R.useRef(!1),r=R.useRef(!1),o=R.useRef(!1),i=R.useMemo(()=>oo(n,e),[n,e]),s=R.useCallback(()=>{const h=n.current;if(!h||!e||ve())return;const g=t.current||r.current;or(h,g)},[e,n]),a=ws(n,e,{pointerInsideRef:t});R.useLayoutEffect(()=>{if(!e)return;const h=n.current;if(!h||typeof ResizeObserver>"u")return;const g=new ResizeObserver(()=>{xs(h)});return g.observe(h),()=>g.disconnect()},[e,n]);const c=R.useCallback(h=>{a.onPointerOver(h),r.current&&s()},[a,s]),l=R.useCallback(h=>{a.onPointerOut(h),r.current&&s()},[a,s]),u=R.useCallback(()=>{e&&(r.current=!0,!(o.current||t.current)&&s())},[e,s]),f=R.useCallback(h=>{if(!e)return;const g=n.current;g&&h.relatedTarget instanceof Node&&g.contains(h.relatedTarget)||(r.current=!1,s())},[e,n,s]),p=R.useCallback(()=>{if(!e)return;const h=n.current;!h||Yr()||(t.current=!0,o.current=!0,Ts(h,!0).finally(()=>{o.current=!1}))},[e,n]);return{bindShellRef:i,shellHoverMotionClass:e?no:"",onShellPointerEnter:c,onShellPointerLeave:l,onShellFocusIn:u,onShellFocusOut:f,onShellPointerDown:p}}const qr="animate-shadow will-change-transform origin-center";function Cu(){return{hover:Mt()}}function io(){return{idle:Mt(),hover:_s()}}function Eu(n,e,t=Mt,r){R.useLayoutEffect(()=>{e&&$r(n.current,t())},[e,n,t,r])}function Ss(n,e,t){const r=R.useMemo(()=>io(),[]),o=(t==null?void 0:t.resolveIdle)??Mt;R.useLayoutEffect(()=>{e&&$r(n.current,o())},[e,n,o,t==null?void 0:t.idleSyncKey]);const i=R.useCallback(a=>{if(!e||a.defaultPrevented)return;const c=n.current;!c||ve()||nr(c,!0,t==null?void 0:t.liftScale,r)},[e,t==null?void 0:t.liftScale,r,n]),s=R.useCallback(a=>{if(!e)return;const c=n.current;!c||ve()||nr(c,!1,t==null?void 0:t.liftScale,r)},[e,t==null?void 0:t.liftScale,r,n]);return{motionClass:e?qr:"",shadow:r,onPointerEnter:i,onPointerLeave:s}}function Ou(n,e,t){const r=R.useMemo(()=>io(),[]),o=(t==null?void 0:t.resolveIdle)??Mt;R.useLayoutEffect(()=>{e&&$r(n.current,o())},[e,n,o,t==null?void 0:t.idleSyncKey]);const i=vs(n,e,t==null?void 0:t.pointerInsideRef,t==null?void 0:t.liftScale,r);return{motionClass:e?qr:"",shadow:r,...i}}const Wt={danger:"text-danger",success:"text-success",info:"text-info",warning:"text-warning"},ks={danger:"bg-surface-tint-danger border-token",success:"bg-surface-tint-success border-token",info:"bg-surface-tint-info border-token",warning:"bg-surface-tint-warning border-token"},Cs={danger:"bg-danger border border-transparent text-danger-foreground",success:"bg-success border border-transparent text-success-foreground",info:"bg-info border border-transparent text-info-foreground",warning:"bg-warning border border-transparent text-warning-foreground"},Du={danger:"text-danger-foreground",success:"text-success-foreground",info:"text-info-foreground",warning:"text-warning-foreground"},Es={danger:"border-token-danger",success:"border-token-success",info:"border-token-info",warning:"border-token-warning"},Os="surface-color-transition motion-reduce:transition-none",Ru="text-color-transition motion-reduce:transition-none",Pu={default:{"focus-visible":"hover:bg-default-hover focus-visible:bg-default-hover","focus-within":"hover:bg-default-hover focus-within:bg-default-hover"},primary:{"focus-visible":"hover:bg-primary-hover focus-visible:bg-primary-hover","focus-within":"hover:bg-primary-hover focus-within:bg-primary-hover"},secondary:{"focus-visible":"hover:bg-secondary-hover focus-visible:bg-secondary-hover","focus-within":"hover:bg-secondary-hover focus-within:bg-secondary-hover"},danger:{"focus-visible":"hover:bg-surface-tint-danger focus-visible:bg-surface-tint-danger","focus-within":"hover:bg-surface-tint-danger focus-within:bg-surface-tint-danger"},warning:{"focus-visible":"hover:bg-surface-tint-warning focus-visible:bg-surface-tint-warning","focus-within":"hover:bg-surface-tint-warning focus-within:bg-surface-tint-warning"},info:{"focus-visible":"hover:bg-surface-tint-info focus-visible:bg-surface-tint-info","focus-within":"hover:bg-surface-tint-info focus-within:bg-surface-tint-info"},success:{"focus-visible":"hover:bg-surface-tint-success focus-visible:bg-surface-tint-success","focus-within":"hover:bg-surface-tint-success focus-within:bg-surface-tint-success"},"danger-tint-hover":{"focus-visible":"hover:bg-surface-tint-danger-hover focus-visible:bg-surface-tint-danger-hover","focus-within":"hover:bg-surface-tint-danger-hover focus-within:bg-surface-tint-danger-hover"},"warning-tint-hover":{"focus-visible":"hover:bg-surface-tint-warning-hover focus-visible:bg-surface-tint-warning-hover","focus-within":"hover:bg-surface-tint-warning-hover focus-within:bg-surface-tint-warning-hover"},"info-tint-hover":{"focus-visible":"hover:bg-surface-tint-info-hover focus-visible:bg-surface-tint-info-hover","focus-within":"hover:bg-surface-tint-info-hover focus-within:bg-surface-tint-info-hover"},"success-tint-hover":{"focus-visible":"hover:bg-surface-tint-success-hover focus-visible:bg-surface-tint-success-hover","focus-within":"hover:bg-surface-tint-success-hover focus-within:bg-surface-tint-success-hover"},"danger-fill":{"focus-visible":"hover:bg-danger-fill-hover focus-visible:bg-danger-fill-hover","focus-within":"hover:bg-danger-fill-hover focus-within:bg-danger-fill-hover"},"warning-fill":{"focus-visible":"hover:bg-warning-fill-hover focus-visible:bg-warning-fill-hover","focus-within":"hover:bg-warning-fill-hover focus-within:bg-warning-fill-hover"},"info-fill":{"focus-visible":"hover:bg-info-fill-hover focus-visible:bg-info-fill-hover","focus-within":"hover:bg-info-fill-hover focus-within:bg-info-fill-hover"},"success-fill":{"focus-visible":"hover:bg-success-fill-hover focus-visible:bg-success-fill-hover","focus-within":"hover:bg-success-fill-hover focus-within:bg-success-fill-hover"}};function Ds(n="default",e="focus-visible"){return Pu[n][e]}function Rs(n="default"){return B(Os,Ds(n,"focus-visible"))}const ut={default:"bg-surface text-foreground border-token",primary:"bg-primary text-primary-foreground border border-transparent",outline:"bg-transparent border-token text-foreground",secondary:"bg-secondary text-secondary-foreground border border-token",ghost:"bg-transparent text-foreground border border-transparent",gloss:""},Au=new Set(["default","primary","outline","secondary","ghost"]),Ps={default:{root:ut.default,loaderText:"text-foreground"},primary:{root:ut.primary,loaderText:"text-primary-foreground"},outline:{root:ut.outline,loaderText:"text-foreground"},secondary:{root:ut.secondary,loaderText:"text-secondary-foreground"},ghost:{root:ut.ghost,loaderText:"text-foreground"},gloss:{root:ut.gloss,loaderText:"text-foreground"}},Lu={default:"",danger:"gloss-btn-danger",success:"gloss-btn-success",info:"gloss-btn-info",warning:"gloss-btn-warning"},Fu={default:"",danger:"[--color-focus-ring:var(--color-focus-ring-danger)]",success:"[--color-focus-ring:var(--color-focus-ring-success)]",info:"[--color-focus-ring:var(--color-focus-ring-info)]",warning:"[--color-focus-ring:var(--color-focus-ring-warning)]"},Iu={default:K("converge-ripple-neutral"),danger:K("converge-ripple-danger"),success:K("converge-ripple-success"),info:K("converge-ripple-info"),warning:K("converge-ripple-warning")},Mu={danger:K("converge-ripple-danger"),success:K("converge-ripple-success"),info:K("converge-ripple-info"),warning:K("converge-ripple-warning")},zu={small:"[&_svg]:icon-small",base:"[&_svg]:icon-base",mid:"[&_svg]:icon-mid",large:"[&_svg]:icon-large"},Nu={small:"small",base:"base",mid:"mid",large:"large"},Bu="relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none",Gu="pointer-events-none absolute inset-0 z-0 overflow-hidden",Uu="relative z-[1] grid w-full min-w-0 place-items-center",Hu="origin-center will-change-transform",Wu="col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall",Vu="inline-flex shrink-0 items-center justify-center",$u="min-w-0 shrink",so="col-start-1 row-start-1 flex items-center justify-center",Yu="text-success",Xu="text-danger",qu="animate-spin motion-reduce:animate-none",ju="cursor-pointer",Zu="opacity-50";function Qu(n,e){const{root:t}=Ps[n];return n==="outline"&&e!=="default"?"bg-transparent text-foreground":t}function Ku(n){return Ps[n].loaderText}function Ju(n,e){if(e==="default")switch(n){case"default":return"default";case"primary":return"primary";case"outline":return"default";case"secondary":return"secondary";case"ghost":return"default";case"gloss":return"default"}switch(n){case"default":return`${e}-tint-hover`;case"primary":return`${e}-fill`;case"outline":case"ghost":return e;case"secondary":return"secondary";case"gloss":return"default"}}function ef(n,e){if(e==="default")return"";switch(n){case"default":return B(ks[e],Wt[e]);case"primary":return Cs[e];case"outline":return B(Es[e],Wt[e]);case"secondary":return Wt[e];case"ghost":return Wt[e];case"gloss":return""}}function tf(n,e,t){return t?"":Rs(Ju(n,e))}function rf(n,e){return n==="primary"&&e!=="default"?Du[e]:Ku(n)}function nf(n,e){return n==="primary"?e==="default"?K("converge-ripple-primary-fill"):Mu[e]:Iu[e]}const of={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function sf(n,e=_t[n].minWButton){const t=_t[n];return B(e,t.padX,t.padY)}function af(n,e=!1){const t=_t[n];return B(of[n],e?"min-w-fit":t.minWButton,t.padX,t.padY)}function lf(n){const e=_t[n];return B(e.spinnerIcon,e.spinnerBorder)}function cf(){return"pointer-events-none absolute left-1/2 top-1/2 z-0 rounded-full will-change-[transform,opacity]"}function uf(){return"box-border inline-block rounded-full border-current border-t-transparent"}function ff({groupSegment:n,slotClass:e,className:t}){return B(Uu,n&&Hu,e,t)}function df({slotClass:n,className:e,layoutClass:t}){return B(Wu,n,t,e)}function hf(n,e){return B(Vu,zu[n],e)}function pf(n,e){return B($u,n,e)}function gf(n,e){return B(so,n,e)}function mf(n){return B(so,Yu,n)}function _f(n){return B(so,Xu,n)}function bf(){return"shrink-0"}const vf={default:K("converge-ripple-neutral"),primary:K("converge-ripple-primary-fill"),outline:K("converge-ripple-neutral"),secondary:K("converge-ripple-neutral"),ghost:K("converge-ripple-neutral"),gloss:K("converge-ripple-neutral")},yf={danger:K("converge-ripple-danger"),success:K("converge-ripple-success"),info:K("converge-ripple-info"),warning:K("converge-ripple-warning")};function xf(n,e="default"){return e!=="default"?yf[e]:vf[n]}function Tf(n,e,t,r,o){return n?B("gloss-btn",no,Lu[e]):B(Qu(t,e),ef(t,e),!r&&qr,tf(t,e,o))}const wf={small:"small",base:"base",mid:"mid",large:"large"},Sf={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function As(n){const{padX:e,padY:t}=_t[n];return B(Sf[n],e,t)}function ao(n){if(n==null)return"";const{orientation:e,position:t}=n;return t==="only"?"rounded-base":e==="horizontal"?t==="first"?"rounded-l-base rounded-r-none":t==="middle"?"rounded-none":"rounded-r-base rounded-l-none":t==="first"?"rounded-t-base rounded-b-none":t==="middle"?"rounded-none":"rounded-b-base rounded-t-none"}function kf(n){const{orientation:e,position:t}=n;return t==="only"?"!rounded-base":e==="horizontal"?t==="first"?"!rounded-l-base !rounded-r-none":t==="middle"?"!rounded-none":"!rounded-r-base !rounded-l-none":t==="first"?"!rounded-t-base !rounded-b-none":t==="middle"?"!rounded-none":"!rounded-b-base !rounded-t-none"}function Cf(n){if(n==null||n.position==="only")return"";const{orientation:e,position:t}=n;return e==="horizontal"?t==="first"?"":"border-l-0":t==="first"?"":"border-t-0"}function Ls(n){return n==null?"":B(ao(n),kf(n),"!border-0 [border:0!important] !shadow-none [box-shadow:none!important]","z-0 focus-visible:z-[2]")}function Fs(n){return B("relative inline-flex shrink-0 select-none items-center justify-center border-token bg-surface text-muted",ao(n),n!=null&&Ls(n),"z-0")}function Ef({orientation:n,segmented:e,variant:t,className:r}){return B("inline-flex text-left w-fit",!e&&B("relative rounded-base",t==="gloss"?"gloss-panel gloss-deep border-0 text-foreground":"after:pointer-events-none after:absolute after:inset-0 after:rounded-base after:border-token after:content-['']"),B(n==="horizontal"?"flex-row flex-nowrap items-stretch":"flex-col flex-nowrap items-stretch",e&&"gap-xsmall"),r)}function Of(n,e){return B("pointer-events-none shrink-0",n==="horizontal"?"my-[var(--border-width)] self-stretch border-r-token":"mx-[var(--border-width)] self-stretch border-b-token",e)}function Df({groupSegment:n,groupVariant:e,buttonSize:t,className:r}){return B(Fs(n),e==="gloss"&&"bg-transparent text-foreground","inline-flex items-center",As(t),r)}const Rf="max-w-component-xsmall truncate font-w-base whitespace-nowrap md:max-w-component-base",Is={default:"bg-surface",outline:"bg-transparent",secondary:"bg-secondary"};function Pf(n){return n==="secondary"?"secondary":"default"}function Af(n){return n==="gloss"?"gloss":n==="outline"?"outline":n==="secondary"?"secondary":"default"}function Lf({variant:n}){return n==="gloss"?"gloss-control":n==="outline"?"bg-transparent border-token":B(Is[n],"border-token")}function Ff(n,e="default",t="default"){return n?Ds(Pf(t),"focus-within"):""}const If="field-shell-transition motion-reduce:transition-none",Ms="focus-within-ring",yr="outline-solid outline-[length:var(--focus-ring-width,2px)] outline-offset-[length:var(--focus-ring-offset,0px)]",xr={danger:"outline-[var(--color-focus-ring-danger)] focus-within:outline-[var(--color-focus-ring-danger)]",success:"outline-[var(--color-focus-ring-success)] focus-within:outline-[var(--color-focus-ring-success)]",info:"outline-[var(--color-focus-ring-info)] focus-within:outline-[var(--color-focus-ring-info)]",warning:"outline-[var(--color-focus-ring-warning)] focus-within:outline-[var(--color-focus-ring-warning)]"},Mf={danger:B(yr,xr.danger),success:B(yr,xr.success),info:B(yr,xr.info),warning:B(yr,xr.warning)};function zf(n="default"){return n==="default"?Ms:Mf[n]}function Nf(n,e){const t=Ss(n,e);return{shellHoverMotionClass:t.motionClass,onShellPointerEnter:t.onPointerEnter,onShellPointerLeave:t.onPointerLeave}}function Bf(n){const e=_t[n];return B("flex self-stretch shrink-0 items-center text-muted",e.affixPadX,e.affixText)}const Gf={small:"min-w-control-small",base:"min-w-control-base",mid:"min-w-control-mid",large:"min-w-control-large"};function Uf(n){return Gf[n]}const Hf={small:"--control-height-small",base:"--control-height-base",mid:"--control-height-mid",large:"--control-height-large"},Wf={small:1.75,base:2.2,mid:2.5,large:3},Xo=new Map;function Vf(n){if(typeof document>"u")return null;const e=Xo.get(n);if(e!=null)return e;try{const t=document.createElement("div");t.style.position="absolute",t.style.visibility="hidden",t.style.height=`var(${Hf[n]})`,document.body.appendChild(t);const r=t.getBoundingClientRect().height;if(document.body.removeChild(t),r>0)return Xo.set(n,r),r}catch{}return null}function $f(n,e=16){return Vf(n)??e*Wf[n]}const Yf={convergeRipplePrimaryFill:"color-mix(in oklab, var(--color-primary-foreground) 38%, transparent)",convergeRippleNeutral:"var(--color-primary-tint-strong)",convergeRippleNeutralMuted:"color-mix(in oklab, var(--color-primary) 14%, transparent)",convergeRippleDanger:"color-mix(in oklab, var(--color-danger-foreground) 38%, transparent)",convergeRippleSuccess:"color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",convergeRippleInfo:"color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",convergeRippleWarning:"color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"},Xf={convergeRipplePrimaryFill:"color-mix(in oklab, var(--color-primary-foreground) 52%, var(--color-primary))",convergeRippleNeutral:"var(--color-primary-tint-strong)",convergeRippleNeutralMuted:"color-mix(in oklab, var(--color-primary) 14%, transparent)",convergeRippleDanger:"color-mix(in oklab, var(--color-danger-foreground) 38%, transparent)",convergeRippleSuccess:"color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",convergeRippleInfo:"color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",convergeRippleWarning:"color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"},zs={background:"#0c0d10",surface:"#171717",secondary:"color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",secondaryForeground:"var(--color-foreground)",tertiary:"color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",tertiaryForeground:"var(--color-foreground)",border:"color-mix(in oklab, var(--color-foreground) 12%, transparent)",foreground:"#f4f5f7",muted:"#858994",primary:"#ebebef",primaryForeground:"#0c0c0e",primaryTint:"color-mix(in oklab, var(--color-primary) 20%, transparent)",primaryTintStrong:"color-mix(in oklab, var(--color-primary) 25%, transparent)",focusRing:"color-mix(in oklab, var(--color-primary) 60%, transparent)",focusRingDanger:"color-mix(in oklab, var(--color-danger) 60%, transparent)",focusRingSuccess:"color-mix(in oklab, var(--color-success) 60%, transparent)",focusRingInfo:"color-mix(in oklab, var(--color-info) 60%, transparent)",focusRingWarning:"color-mix(in oklab, var(--color-warning) 60%, transparent)",indicator:"#ebebef",indicatorForeground:"#0c0c0e",danger:"#d73737",success:"#35b664",info:"#389dcc",warning:"#daa13e",dangerForeground:"#fafafa",successForeground:"#fafafa",infoForeground:"#fafafa",warningForeground:"#0c0c0e",primaryHover:"color-mix(in oklab, var(--color-primary) 80%, var(--color-surface))",defaultHover:"color-mix(in oklab, var(--color-foreground) 8%, var(--color-surface))",secondaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-secondary))",tertiaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-tertiary))",surfaceTintDanger:"color-mix(in oklab, var(--color-danger) 15%, transparent)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 25%, transparent)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 80%, transparent)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 15%, transparent)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 25%, transparent)",successFillHover:"color-mix(in oklab, var(--color-success) 80%, transparent)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 15%, transparent)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 25%, transparent)",infoFillHover:"color-mix(in oklab, var(--color-info) 80%, transparent)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 15%, transparent)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 25%, transparent)",warningFillHover:"color-mix(in oklab, var(--color-warning) 80%, transparent)",...Yf},Ns={background:"#f5f5f5",surface:"#ffffff",secondary:"color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",secondaryForeground:"var(--color-foreground)",tertiary:"color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",tertiaryForeground:"var(--color-foreground)",border:"color-mix(in oklab, var(--color-foreground) 12%, transparent)",foreground:"#18181b",muted:"#646467",primary:"#18181b",primaryForeground:"#fafafa",primaryTint:"color-mix(in oklab, var(--color-primary) 20%, transparent)",primaryTintStrong:"color-mix(in oklab, var(--color-primary) 25%, transparent)",focusRing:"color-mix(in oklab, var(--color-primary) 60%, transparent)",focusRingDanger:"color-mix(in oklab, var(--color-danger) 60%, transparent)",focusRingSuccess:"color-mix(in oklab, var(--color-success) 60%, transparent)",focusRingInfo:"color-mix(in oklab, var(--color-info) 60%, transparent)",focusRingWarning:"color-mix(in oklab, var(--color-warning) 60%, transparent)",indicator:"#18181b",indicatorForeground:"#fafafa",danger:"#df4e4e",success:"#2ebd62",info:"#31a0d3",warning:"#e1a53d",dangerForeground:"#ffffff",successForeground:"#ffffff",infoForeground:"#ffffff",warningForeground:"#0c0c0e",primaryHover:"color-mix(in oklab, var(--color-primary) 90%, var(--color-surface))",defaultHover:"color-mix(in oklab, var(--color-foreground) 8%, var(--color-surface))",secondaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-secondary))",tertiaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-tertiary))",surfaceTintDanger:"color-mix(in oklab, var(--color-danger) 15%, transparent)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 25%, transparent)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 80%, transparent)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 15%, transparent)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 25%, transparent)",successFillHover:"color-mix(in oklab, var(--color-success) 80%, transparent)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 15%, transparent)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 25%, transparent)",infoFillHover:"color-mix(in oklab, var(--color-info) 80%, transparent)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 15%, transparent)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 25%, transparent)",warningFillHover:"color-mix(in oklab, var(--color-warning) 80%, transparent)",...Xf},jr={background:"--color-background",surface:"--color-surface",secondary:"--color-secondary",secondaryForeground:"--color-secondary-foreground",tertiary:"--color-tertiary",tertiaryForeground:"--color-tertiary-foreground",border:"--color-border",foreground:"--color-foreground",muted:"--color-muted",primary:"--color-primary",primaryForeground:"--color-primary-foreground",primaryTint:"--color-primary-tint",primaryTintStrong:"--color-primary-tint-strong",focusRing:"--color-focus-ring",focusRingDanger:"--color-focus-ring-danger",focusRingSuccess:"--color-focus-ring-success",focusRingInfo:"--color-focus-ring-info",focusRingWarning:"--color-focus-ring-warning",indicator:"--color-indicator",indicatorForeground:"--color-indicator-foreground",danger:"--color-danger",success:"--color-success",info:"--color-info",warning:"--color-warning",dangerForeground:"--color-danger-foreground",successForeground:"--color-success-foreground",infoForeground:"--color-info-foreground",warningForeground:"--color-warning-foreground",primaryHover:"--color-primary-hover",defaultHover:"--color-default-hover",secondaryHover:"--color-secondary-hover",tertiaryHover:"--color-tertiary-hover",surfaceTintDanger:"--color-surface-tint-danger",surfaceTintDangerHover:"--color-surface-tint-danger-hover",dangerFillHover:"--color-danger-fill-hover",surfaceTintSuccess:"--color-surface-tint-success",surfaceTintSuccessHover:"--color-surface-tint-success-hover",successFillHover:"--color-success-fill-hover",surfaceTintInfo:"--color-surface-tint-info",surfaceTintInfoHover:"--color-surface-tint-info-hover",infoFillHover:"--color-info-fill-hover",surfaceTintWarning:"--color-surface-tint-warning",surfaceTintWarningHover:"--color-surface-tint-warning-hover",warningFillHover:"--color-warning-fill-hover",convergeRipplePrimaryFill:"--color-converge-ripple-primary-fill",convergeRippleNeutral:"--color-converge-ripple-neutral",convergeRippleNeutralMuted:"--color-converge-ripple-neutral-muted",convergeRippleDanger:"--color-converge-ripple-danger",convergeRippleSuccess:"--color-converge-ripple-success",convergeRippleInfo:"--color-converge-ripple-info",convergeRippleWarning:"--color-converge-ripple-warning"},Bs={space:.5,size:1,radius:.5,borderWidth:1,focusRingWidth:2,focusRingOffset:0,textScale:1,shadowStrength:1,shadowSize:1,toastScrimSize:1,toastScrimDensity:1},Gs=(()=>{const{pressSqueezeScale:n,...e}=Vr;return{...e,pressSqueezeMid:n[1]}})(),Us=Qe.fontFamilySans,Hs=Qe.fontFamilyMono,qf=.9375,jf=.875,Zf=.25;function Vt(n){const e=Math.round(n*1e8)/1e8;return String(e)}function mt(n){if(n===0)return"0rem";const e=Vt(n*qf),t=Vt(n*jf),r=Vt(n*Zf),o=Vt(n);return`clamp(${e}rem, ${t}rem + ${r}vw, ${o}rem)`}function Tr(n){return n===0?"0":`calc(${n}px * var(--shadow-size))`}function Qf(n,e,t,r,o){return`${Tr(n)} ${Tr(e)} ${Tr(t)} ${Tr(r)} rgb(0 0 0 / ${Vt(o)})`}function Ze(n,e,t){const r=ui[e][n]*t,[o,i,s,a]=fi[n][0];return Qf(o,i,s,a,r)}function Kf(n,e,t,r){n.style.setProperty("--shadow-size",String(r)),n.style.setProperty("--shadow-none",Ze("base",e,0)),n.style.setProperty("--shadow-base",Ze("base",e,t)),n.style.setProperty("--shadow-mid",Ze("mid",e,t)),n.style.setProperty("--shadow-large",Ze("large",e,t))}function Jf(n){n.style.removeProperty("--shadow-size"),n.style.removeProperty("--shadow-none"),n.style.removeProperty("--shadow-base"),n.style.removeProperty("--shadow-mid"),n.style.removeProperty("--shadow-large")}function ed(n,e){for(const t of Object.keys(vt)){const{size:r,line:o}=vt[t],i=r*e,s=o*e;n.style.setProperty(`--text-scale-${t}`,`${i}rem`),n.style.setProperty(`--text-scale-${t}--line-height`,`calc(${s}rem / ${i}rem)`)}}function td(n){for(const e of Object.keys(vt))n.style.removeProperty(`--text-scale-${e}`),n.style.removeProperty(`--text-scale-${e}--line-height`)}function rd(n,e,t){for(const[r,o]of Object.entries(Xr))Re(n,o,e[r]!==t[r]?String(e[r]):null)}function Re(n,e,t){t===null?n.style.removeProperty(e):n.style.setProperty(e,t)}function zr(n){return n===0?"0px":`${n}px`}function Ws(){return{dark:{...zs},light:{...Ns}}}function Zr(n){var r,o;if((r=n.modePalettes)!=null&&r.dark&&((o=n.modePalettes)!=null&&o.light))return n;const e=Ws(),t={...n.colors};return{...n,modePalettes:{dark:n.theme==="dark"?t:e.dark,light:n.theme==="light"?t:e.light}}}function nd(n,e){const t=Zr(n),r=t.modePalettes[e];return{...t,theme:e,colors:{...r}}}function od(n,e,t){const r=Zr(n),o={...r.colors,[e]:t};return{...r,colors:o,modePalettes:{...r.modePalettes,[r.theme]:o}}}function zt(n="dark"){const e=Ws(),t=e[n];return{theme:n,...Bs,...Gs,fontFamily:Us,fontFamilyMono:Hs,fontWeights:{...ys},colors:{...t},modePalettes:e}}const id=["--space","--size","--radius","--border-width","--focus-ring-width","--focus-ring-offset","--motion-surface-duration","--font-family-sans","--font-family-mono",...Object.values(Xr),"--shadow-size","--shadow-none","--shadow-base","--shadow-mid","--shadow-large","--toast-scrim-size","--toast-scrim-density",...Object.keys(vt).flatMap(n=>[`--text-scale-${n}`,`--text-scale-${n}--line-height`]),...Object.values(jr)];function sd(n){if(typeof document>"u")return;const e=n??document.documentElement;for(const t of id)e.style.removeProperty(t);delete e.dataset.theme}let qo="";function ad(n,e){const t=JSON.stringify({interactiveDuration:n.interactiveDuration,interactiveEase:n.interactiveEase,hoverLiftEase:n.hoverLiftEase,tooltipDuration:n.tooltipDuration,switchThumbDuration:n.switchThumbDuration,switchThumbEase:n.switchThumbEase,selectionFillDuration:n.selectionFillDuration,selectionFillEase:n.selectionFillEase,hoverLiftScale:n.hoverLiftScale,badgeAnchorHoverLiftScale:n.badgeAnchorHoverLiftScale,pressSqueezeMid:n.pressSqueezeMid,rippleDefaultDuration:n.rippleDefaultDuration,rippleDefaultOpacityFrom:n.rippleDefaultOpacityFrom,rippleExpandableDuration:n.rippleExpandableDuration,rippleExpandableOpacityFrom:n.rippleExpandableOpacityFrom,rippleEaseCss:n.rippleEaseCss,feedbackExpandDuration:n.feedbackExpandDuration,expandDuration:n.expandDuration,expandOpenEase:n.expandOpenEase,surfaceTransitionDuration:n.surfaceTransitionDuration,toastDismissDuration:n.toastDismissDuration,toastDismissEase:n.toastDismissEase,progressFillDuration:n.progressFillDuration,progressFillEase:n.progressFillEase,loadingDotsDuration:n.loadingDotsDuration,loadingDotsEaseUp:n.loadingDotsEaseUp,loadingDotsEaseDown:n.loadingDotsEaseDown,enableHoverLift:n.enableHoverLift,enablePressSqueeze:n.enablePressSqueeze,enableToggleButtonFill:n.enableToggleButtonFill,enableRipple:n.enableRipple,enableExpandable:n.enableExpandable,enableToastStack:n.enableToastStack,enableAsyncButtonCrossfade:n.enableAsyncButtonCrossfade,enableContentFade:n.enableContentFade,enableFeedbackExpand:n.enableFeedbackExpand,enableProgressFill:n.enableProgressFill,enableLoadingDots:n.enableLoadingDots});t!==qo&&(qo=t,ps({interactiveDuration:n.interactiveDuration,interactiveEase:n.interactiveEase,hoverLiftEase:n.hoverLiftEase,tooltipDuration:n.tooltipDuration,switchThumbDuration:n.switchThumbDuration,switchThumbEase:n.switchThumbEase,selectionFillDuration:n.selectionFillDuration,selectionFillEase:n.selectionFillEase,hoverLiftScale:n.hoverLiftScale,badgeAnchorHoverLiftScale:n.badgeAnchorHoverLiftScale,pressSqueezeScale:[1,n.pressSqueezeMid,1],rippleDefaultDuration:n.rippleDefaultDuration,rippleDefaultOpacityFrom:n.rippleDefaultOpacityFrom,rippleExpandableDuration:n.rippleExpandableDuration,rippleExpandableOpacityFrom:n.rippleExpandableOpacityFrom,rippleEaseCss:n.rippleEaseCss,feedbackExpandDuration:n.feedbackExpandDuration,expandDuration:n.expandDuration,expandOpenEase:n.expandOpenEase,surfaceTransitionDuration:n.surfaceTransitionDuration,toastDismissDuration:n.toastDismissDuration,toastDismissEase:n.toastDismissEase,progressFillDuration:n.progressFillDuration,progressFillEase:n.progressFillEase,loadingDotsDuration:n.loadingDotsDuration,loadingDotsEaseUp:n.loadingDotsEaseUp,loadingDotsEaseDown:n.loadingDotsEaseDown,enableHoverLift:n.enableHoverLift,enablePressSqueeze:n.enablePressSqueeze,enableToggleButtonFill:n.enableToggleButtonFill,enableRipple:n.enableRipple,enableExpandable:n.enableExpandable,enableToastStack:n.enableToastStack,enableAsyncButtonCrossfade:n.enableAsyncButtonCrossfade,enableContentFade:n.enableContentFade,enableFeedbackExpand:n.enableFeedbackExpand,enableProgressFill:n.enableProgressFill,enableLoadingDots:n.enableLoadingDots}),Kn(e,{surfaceTransitionDuration:n.surfaceTransitionDuration}))}function Vs(n,e){if(typeof document>"u")return;const t=e??document.documentElement,r=zt(n.theme);n.theme==="light"?t.dataset.theme="light":delete t.dataset.theme,Re(t,"--space",n.space!==r.space?mt(n.space):null),Re(t,"--size",n.size!==r.size?mt(n.size):null),Re(t,"--radius",n.radius!==r.radius?mt(n.radius):null),Re(t,"--border-width",n.borderWidth!==r.borderWidth?zr(n.borderWidth):null),Re(t,"--focus-ring-width",n.focusRingWidth!==r.focusRingWidth?zr(n.focusRingWidth):null),Re(t,"--focus-ring-offset",n.focusRingOffset!==r.focusRingOffset?`${n.focusRingOffset}px`:null),Re(t,"--font-family-sans",n.fontFamily!==r.fontFamily?n.fontFamily:null),Re(t,"--font-family-mono",n.fontFamilyMono!==r.fontFamilyMono?n.fontFamilyMono:null),rd(t,n.fontWeights,r.fontWeights),ad(n,t),n.textScale!==r.textScale?ed(t,n.textScale):td(t),n.shadowStrength!==r.shadowStrength||n.shadowSize!==r.shadowSize?Kf(t,n.theme,n.shadowStrength,n.shadowSize):Jf(t),Re(t,"--toast-scrim-size",n.toastScrimSize!==r.toastScrimSize?String(n.toastScrimSize):null),Re(t,"--toast-scrim-density",n.toastScrimDensity!==r.toastScrimDensity?String(n.toastScrimDensity):null);for(const[o,i]of Object.entries(jr))Re(t,i,n.colors[o]!==r.colors[o]?n.colors[o]:null)}function $s(n){const e=zt(n.theme),t=[":root {"];n.space!==e.space&&t.push(` --space: ${mt(n.space)};`),n.size!==e.size&&t.push(` --size: ${mt(n.size)};`),n.radius!==e.radius&&t.push(` --radius: ${mt(n.radius)};`),n.borderWidth!==e.borderWidth&&t.push(` --border-width: ${zr(n.borderWidth)};`),n.focusRingWidth!==e.focusRingWidth&&t.push(` --focus-ring-width: ${zr(n.focusRingWidth)};`),n.focusRingOffset!==e.focusRingOffset&&t.push(` --focus-ring-offset: ${n.focusRingOffset}px;`),n.fontFamily!==e.fontFamily&&t.push(` --font-family-sans: ${n.fontFamily};`),n.fontFamilyMono!==e.fontFamilyMono&&t.push(` --font-family-mono: ${n.fontFamilyMono};`);for(const[r,o]of Object.entries(Xr))n.fontWeights[r]!==e.fontWeights[r]&&t.push(` ${o}: ${n.fontWeights[r]};`);if((n.shadowStrength!==e.shadowStrength||n.shadowSize!==e.shadowSize)&&(t.push(` --shadow-size: ${n.shadowSize};`),t.push(` --shadow-none: ${Ze("base",n.theme,0)};`),t.push(` --shadow-base: ${Ze("base",n.theme,n.shadowStrength)};`),t.push(` --shadow-mid: ${Ze("mid",n.theme,n.shadowStrength)};`),t.push(` --shadow-large: ${Ze("large",n.theme,n.shadowStrength)};`)),n.toastScrimSize!==e.toastScrimSize&&t.push(` --toast-scrim-size: ${n.toastScrimSize};`),n.toastScrimDensity!==e.toastScrimDensity&&t.push(` --toast-scrim-density: ${n.toastScrimDensity};`),n.surfaceTransitionDuration!==e.surfaceTransitionDuration&&t.push(` --motion-surface-duration: ${n.surfaceTransitionDuration}ms;`),n.textScale!==e.textScale)for(const r of Object.keys(vt)){const{size:o,line:i}=vt[r],s=o*n.textScale,a=i*n.textScale;t.push(` --text-scale-${r}: ${s}rem;`),t.push(` --text-scale-${r}--line-height: calc(${a}rem / ${s}rem);`)}for(const[r,o]of Object.entries(jr))n.colors[r]!==e.colors[r]&&t.push(` ${o}: ${n.colors[r]};`);return t.length===1&&t.push(" /* (no overrides vs kit defaults) */"),t.push("}"),n.theme==="light"&&(t.push("","/* Optional: light theme via data-attribute */"),t.push('/* <html data-theme="light"> */')),t.join(`
|
|
38
|
+
`)}const lo="burne-ui-theme";function co(n,e){var a;const t=zt(e),r=n.tokens??{},o=(a=n.colors)==null?void 0:a[e],i=o?{...t.colors,...o}:t.colors,s=r.shadowStrength??t.shadowStrength;return{...t,...js({space:r.space,size:r.size,radius:r.radius,borderWidth:r.borderWidth,focusRingWidth:r.focusRingWidth,focusRingOffset:r.focusRingOffset,textScale:r.textScale,fontFamily:r.fontFamily,fontFamilyMono:r.fontFamilyMono,shadowSize:r.shadowSize,toastScrimSize:r.toastScrimSize,toastScrimDensity:r.toastScrimDensity}),shadowStrength:s,fontWeights:r.fontWeights?{...t.fontWeights,...r.fontWeights}:t.fontWeights,colors:i,modePalettes:{...t.modePalettes,[e]:{...i}}}}function Ys(n){const e=Zr(n),t={interactiveDuration:e.interactiveDuration,interactiveEase:e.interactiveEase,hoverLiftEase:e.hoverLiftEase,tooltipDuration:e.tooltipDuration,switchThumbDuration:e.switchThumbDuration,switchThumbEase:e.switchThumbEase,selectionFillDuration:e.selectionFillDuration,selectionFillEase:e.selectionFillEase,hoverLiftScale:e.hoverLiftScale,badgeAnchorHoverLiftScale:e.badgeAnchorHoverLiftScale,pressSqueezeScale:[1,e.pressSqueezeMid,1],rippleDefaultDuration:e.rippleDefaultDuration,rippleDefaultOpacityFrom:e.rippleDefaultOpacityFrom,rippleExpandableDuration:e.rippleExpandableDuration,rippleExpandableOpacityFrom:e.rippleExpandableOpacityFrom,rippleEaseCss:e.rippleEaseCss,feedbackExpandDuration:e.feedbackExpandDuration,expandDuration:e.expandDuration,expandOpenEase:e.expandOpenEase,surfaceTransitionDuration:e.surfaceTransitionDuration,toastDismissDuration:e.toastDismissDuration,toastDismissEase:e.toastDismissEase,progressFillDuration:e.progressFillDuration,progressFillEase:e.progressFillEase,loadingDotsDuration:e.loadingDotsDuration,loadingDotsEaseUp:e.loadingDotsEaseUp,loadingDotsEaseDown:e.loadingDotsEaseDown,enableHoverLift:e.enableHoverLift,enablePressSqueeze:e.enablePressSqueeze,enableToggleButtonFill:e.enableToggleButtonFill,enableRipple:e.enableRipple,enableExpandable:e.enableExpandable,enableToastStack:e.enableToastStack,enableAsyncButtonCrossfade:e.enableAsyncButtonCrossfade,enableContentFade:e.enableContentFade,enableFeedbackExpand:e.enableFeedbackExpand,enableProgressFill:e.enableProgressFill,enableLoadingDots:e.enableLoadingDots},r={space:e.space,size:e.size,radius:e.radius,borderWidth:e.borderWidth,focusRingWidth:e.focusRingWidth,focusRingOffset:e.focusRingOffset,textScale:e.textScale,fontFamily:e.fontFamily,fontFamilyMono:e.fontFamilyMono,fontWeights:{...e.fontWeights},shadowStrength:e.shadowStrength,shadowSize:e.shadowSize,toastScrimSize:e.toastScrimSize,toastScrimDensity:e.toastScrimDensity};return{theme:e.theme,tokens:r,colors:{dark:{...e.modePalettes.dark},light:{...e.modePalettes.light}},motion:t,toast:!0}}function ld(n,e){var r;if(typeof n=="string"||typeof n=="number"||typeof n=="boolean")return{value:n};const t=((r=n.values)==null?void 0:r[e])??n.value;return t===void 0?null:{value:t,unit:n.unit}}function uo(n,e){const t={};if(!n)return t;for(const[r,o]of Object.entries(n)){const i=ld(o,e);i&&(t[r]=typeof i.value=="number"&&i.unit?`${i.value}${i.unit}`:String(i.value))}return t}const Nr=new WeakMap;function Xs(n,e,t){const r=uo(n,t),o=new Set(Object.keys(r)),i=Nr.get(e)??new Map;i.forEach((s,a)=>{o.has(a)||(s.value?e.style.setProperty(a,s.value,s.priority):e.style.removeProperty(a),i.delete(a))});for(const[s,a]of Object.entries(r))i.has(s)||i.set(s,{value:e.style.getPropertyValue(s),priority:e.style.getPropertyPriority(s)}),e.style.setProperty(s,a);Nr.set(e,i)}function cd(n){var t;if(typeof document>"u")return;const e=n??document.documentElement;(t=Nr.get(e))==null||t.forEach((r,o)=>{r.value?e.style.setProperty(o,r.value,r.priority):e.style.removeProperty(o)}),Nr.delete(e)}function qs(n){return{...Ys(zt((n==null?void 0:n.theme)??"dark")),storageKey:(n==null?void 0:n.storageKey)===void 0?lo:n.storageKey}}function ud(n){const e=(n==null?void 0:n.exportName)??"burneTheme",t=Br(qs(),0);return["/**"," * Burne UI theme config (starter snapshot)."," *"," * - Edit `tokens` / `motion` (shared), `colors.light` / `colors.dark`,"," * and optional `customTokens` for project-specific CSS variables."," * - Or replace this file with docs site → Copy config."," *",' * import { BurneUIProvider } from "burne-ui";',` * import ${e} from "./burne-theme";`,` * <BurneUIProvider config={${e}}>{children}</BurneUIProvider>`," */",'import type { BurneThemeConfig } from "burne-ui";',"",`const ${e} = ${t} satisfies BurneThemeConfig;`,"",`export default ${e};`,""].join(`
|
|
39
|
+
`)}function fd(n,e="dark"){const t=zt(e);return n?{...t,...js({space:n.space,size:n.size,radius:n.radius,borderWidth:n.borderWidth,focusRingWidth:n.focusRingWidth,focusRingOffset:n.focusRingOffset,textScale:n.textScale,fontFamily:n.fontFamily,fontFamilyMono:n.fontFamilyMono,shadowStrength:n.shadowStrength,shadowSize:n.shadowSize,toastScrimSize:n.toastScrimSize,toastScrimDensity:n.toastScrimDensity}),fontWeights:n.fontWeights?{...t.fontWeights,...n.fontWeights}:t.fontWeights}:t}function js(n){const e={};for(const[t,r]of Object.entries(n))r!==void 0&&(e[t]=r);return e}function Zs(n,e,t=Qr(n.theme)){if(typeof document>"u")return;const r=e??document.documentElement,o=co(n,t);if(n.motion){const i=n.motion;i.interactiveDuration!==void 0&&(o.interactiveDuration=i.interactiveDuration),i.interactiveEase!==void 0&&(o.interactiveEase=i.interactiveEase),i.hoverLiftEase!==void 0&&(o.hoverLiftEase=i.hoverLiftEase),i.tooltipDuration!==void 0&&(o.tooltipDuration=i.tooltipDuration),i.switchThumbDuration!==void 0&&(o.switchThumbDuration=i.switchThumbDuration),i.switchThumbEase!==void 0&&(o.switchThumbEase=i.switchThumbEase),i.selectionFillDuration!==void 0&&(o.selectionFillDuration=i.selectionFillDuration),i.selectionFillEase!==void 0&&(o.selectionFillEase=i.selectionFillEase),i.hoverLiftScale!==void 0&&(o.hoverLiftScale=i.hoverLiftScale),i.badgeAnchorHoverLiftScale!==void 0&&(o.badgeAnchorHoverLiftScale=i.badgeAnchorHoverLiftScale),i.pressSqueezeScale!==void 0&&(o.pressSqueezeMid=i.pressSqueezeScale[1]),i.rippleDefaultDuration!==void 0&&(o.rippleDefaultDuration=i.rippleDefaultDuration),i.rippleDefaultOpacityFrom!==void 0&&(o.rippleDefaultOpacityFrom=i.rippleDefaultOpacityFrom),i.rippleExpandableDuration!==void 0&&(o.rippleExpandableDuration=i.rippleExpandableDuration),i.rippleExpandableOpacityFrom!==void 0&&(o.rippleExpandableOpacityFrom=i.rippleExpandableOpacityFrom),i.rippleEaseCss!==void 0&&(o.rippleEaseCss=i.rippleEaseCss),i.feedbackExpandDuration!==void 0&&(o.feedbackExpandDuration=i.feedbackExpandDuration),i.expandDuration!==void 0&&(o.expandDuration=i.expandDuration),i.expandOpenEase!==void 0&&(o.expandOpenEase=i.expandOpenEase),i.surfaceTransitionDuration!==void 0&&(o.surfaceTransitionDuration=i.surfaceTransitionDuration),i.toastDismissDuration!==void 0&&(o.toastDismissDuration=i.toastDismissDuration),i.toastDismissEase!==void 0&&(o.toastDismissEase=i.toastDismissEase),i.progressFillDuration!==void 0&&(o.progressFillDuration=i.progressFillDuration),i.progressFillEase!==void 0&&(o.progressFillEase=i.progressFillEase),i.loadingDotsDuration!==void 0&&(o.loadingDotsDuration=i.loadingDotsDuration),i.loadingDotsEaseUp!==void 0&&(o.loadingDotsEaseUp=i.loadingDotsEaseUp),i.loadingDotsEaseDown!==void 0&&(o.loadingDotsEaseDown=i.loadingDotsEaseDown),i.enableHoverLift!==void 0&&(o.enableHoverLift=i.enableHoverLift),i.enablePressSqueeze!==void 0&&(o.enablePressSqueeze=i.enablePressSqueeze),i.enableToggleButtonFill!==void 0&&(o.enableToggleButtonFill=i.enableToggleButtonFill),i.enableRipple!==void 0&&(o.enableRipple=i.enableRipple),i.enableExpandable!==void 0&&(o.enableExpandable=i.enableExpandable),i.enableToastStack!==void 0&&(o.enableToastStack=i.enableToastStack),i.enableAsyncButtonCrossfade!==void 0&&(o.enableAsyncButtonCrossfade=i.enableAsyncButtonCrossfade),i.enableContentFade!==void 0&&(o.enableContentFade=i.enableContentFade),i.enableFeedbackExpand!==void 0&&(o.enableFeedbackExpand=i.enableFeedbackExpand),i.enableProgressFill!==void 0&&(o.enableProgressFill=i.enableProgressFill),i.enableLoadingDots!==void 0&&(o.enableLoadingDots=i.enableLoadingDots)}Vs(o,r),Xs(n.customTokens,r,t)}function Qr(n="system"){return n==="light"||n==="dark"?n:typeof window<"u"&&window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function dd(n,e,t="dark"){Zs({theme:t,tokens:n},e,t)}function hd(n){const e=Qr(n.theme),t=co(n,e),r=$s(t),o=uo(n.customTokens,e),i=Object.entries(o);if(i.length===0)return r;const s=i.map(([a,c])=>` ${a}: ${c};`).join(`
|
|
40
|
+
`);return r.replace(/\n}(\n|$)/,`
|
|
41
|
+
/* Custom project tokens */
|
|
42
|
+
${s}
|
|
43
|
+
}$1`)}function Br(n,e){const t=" ".repeat(e),r=" ".repeat(e+1);if(n==null)return"undefined";if(typeof n=="boolean"||typeof n=="number")return String(n);if(typeof n=="string")return JSON.stringify(n);if(Array.isArray(n))return n.length===0?"[]":`[
|
|
44
|
+
${n.map(i=>`${r}${Br(i,e+1)}`).join(`,
|
|
45
|
+
`)},
|
|
46
|
+
${t}]`;if(typeof n=="object"){const o=Object.entries(n).filter(([,s])=>s!==void 0);return o.length===0?"{}":`{
|
|
47
|
+
${o.map(([s,a])=>`${r}${pd(s)}: ${Br(a,e+1)}`).join(`,
|
|
48
|
+
`)},
|
|
49
|
+
${t}}`}return JSON.stringify(n)}function pd(n){return/^[A-Za-z_$][\w$]*$/.test(n)?n:JSON.stringify(n)}function gd(n,e){const t=(e==null?void 0:e.exportName)??"burneTheme",r=Br(n,0);return["/**"," * Generated from the Burne UI theme playground."," * Save as `burne-theme.ts` and pass to BurneUIProvider:"," *",' * import { BurneUIProvider } from "burne-ui";',` * import ${t} from "./burne-theme";`," *",` * <BurneUIProvider config={${t}}>{children}</BurneUIProvider>`," *"," * `tokens` / `motion` are shared; `colors.light` / `colors.dark` hold palettes."," * Project-specific CSS variables and editor metadata live in `customTokens`."," */",'import type { BurneThemeConfig } from "burne-ui";',"",`const ${t} = ${r} satisfies BurneThemeConfig;`,"",`export default ${t};`,""].join(`
|
|
50
|
+
`)}const fo=R.createContext(null);function md(n){if(!n||typeof window>"u")return null;try{const e=window.localStorage.getItem(n);if(e==="light"||e==="dark"||e==="system")return e}catch{}return null}function _d(n,e){if(!(!n||typeof window>"u"))try{window.localStorage.setItem(n,e)}catch{}}function Qs(n,e){if(typeof document>"u")return;const t=e??document.documentElement;n==="light"?t.dataset.theme="light":delete t.dataset.theme}function bd({children:n,theme:e,defaultTheme:t="dark",storageKey:r=lo,root:o=null,onThemeChange:i}){const[s,a]=R.useState(()=>md(r)??t),[c,l]=R.useState(0),u=e??s,f=R.useMemo(()=>Qr(u),[u,c]),p=R.useCallback(g=>{e===void 0&&a(g),_d(r,g),i==null||i(g)},[e,r,i]);R.useLayoutEffect(()=>{const g=o??(typeof document<"u"?document.documentElement:null);g&&Qs(f,g)},[f,o]),R.useEffect(()=>{if(u!=="system"||typeof window>"u")return;const g=window.matchMedia("(prefers-color-scheme: light)"),d=()=>{l(m=>m+1)};return g.addEventListener("change",d),()=>g.removeEventListener("change",d)},[u]);const h=R.useMemo(()=>({theme:u,resolvedTheme:f,setTheme:p}),[u,f,p]);return R.createElement(fo.Provider,{value:h},n)}function vd(){const n=R.useContext(fo);if(!n)throw new Error("useBurneTheme must be used within ThemeProvider or BurneUIProvider.");return n}function yd(){return R.useContext(fo)}const ho=R.createContext(null);function xd({children:n,value:e}){return R.createElement(ho.Provider,{value:e},n)}function Td(){const n=R.useContext(ho);if(!n)throw new Error("useBurneThemeRuntime must be used within BurneUIProvider.");return n}function wd(){return R.useContext(ho)}exports.BUTTON_BASE_INTERACTIVE_CLASS=Bu;exports.BUTTON_CLIP_LAYER_CLASS=Gu;exports.BUTTON_CURSOR_CLASS=ju;exports.BUTTON_DISABLED_OPACITY_CLASS=Zu;exports.BUTTON_GROUP_TEXT_LABEL_CLASS=Rf;exports.BUTTON_GROUP_TEXT_VARIANT=wf;exports.BUTTON_SIZE_TEXT_VARIANT=Nu;exports.BUTTON_SPINNER_MOTION_CLASS=qu;exports.BUTTON_STATUS_FOCUS_OUTLINE=Fu;exports.BUTTON_VARIANT_HAS_HOVER_SHADOW=Au;exports.BurneThemeRuntimeContextProvider=xd;exports.COLOR_CSS_VAR=jr;exports.CONTROL_SIZE_LAYOUT=_t;exports.ConvergeRippleLayer=cu;exports.DARK_COLORS=zs;exports.DEFAULT_FONT=Us;exports.DEFAULT_FONT_MONO=Hs;exports.DEFAULT_THEME_STORAGE_KEY=lo;exports.FIELD_SHELL_FOCUS_CLASS=Ms;exports.FIELD_SHELL_TRANSITION_CLASS=If;exports.FIELD_SHELL_VARIANT_BG_CLASS=Is;exports.FONT_WEIGHT_CSS_VAR=Xr;exports.FONT_WEIGHT_DEFAULTS=ys;exports.GLOSS_INTERACTIVE_MOTION_CLASS=no;exports.INTERACTIVE_VARIANT_ROOT=ut;exports.LIGHT_COLORS=Ns;exports.MOTION_CONFIG_DEFAULTS=Vr;exports.MOTION_CSS_VAR=ds;exports.MOTION_DEFAULTS=Gs;exports.NARROW_VIEWPORT_MAX_PX=ms;exports.SCALE_DEFAULTS=Bs;exports.SEMANTIC_STATUS_FILL=Cs;exports.SEMANTIC_STATUS_OUTLINE_BORDER=Es;exports.SEMANTIC_STATUS_SURFACE_TINT=ks;exports.SEMANTIC_STATUS_TEXT=Wt;exports.SHADOW_CSS_VAR=Ln;exports.SHADOW_LAYER_GEOM=fi;exports.SHADOW_LIFT_MOTION_CLASS=qr;exports.SHADOW_OPACITY_BASE=ui;exports.SHADOW_SIZE_CSS_DEFAULT=Za;exports.SURFACE_COLOR_TRANSITION=Os;exports.TEXT_COLOR_TRANSITION=Ru;exports.TEXT_SCALE_BASES=vt;exports.TOUCH_OR_NARROW_VIEWPORT_MQL=Jn;exports.TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER=Zc;exports.ThemeProvider=bd;exports.activateThemeModePalette=nd;exports.affixSlotClass=Bf;exports.affixToggleMinWClass=Uf;exports.animateGlossInteractiveHoverLift=or;exports.animateGlossInteractivePressSqueeze=Ts;exports.animateInteractiveHoverLift=nr;exports.animateInteractivePressSqueeze=su;exports.applyBurneThemeConfig=Zs;exports.applyCustomThemeTokens=Xs;exports.applyMotionCssTokens=Kn;exports.applyThemeMode=Qs;exports.applyThemeTokens=Vs;exports.applyTokens=dd;exports.burneFontWeightScale=hu;exports.burneShadowScale=ja;exports.buttonContentClass=ff;exports.buttonConvergeRippleColor=nf;exports.buttonErrorLayerClass=_f;exports.buttonFeedbackExpandRippleClass=cf;exports.buttonGroupOverlapBorderClasses=Cf;exports.buttonGroupRootClass=Ef;exports.buttonGroupRoundingClasses=ao;exports.buttonGroupSegmentSurfaceClasses=Ls;exports.buttonGroupSeparatorClass=Of;exports.buttonGroupTextClass=Df;exports.buttonGroupTextFrameClass=As;exports.buttonGroupTextSurfaceClasses=Fs;exports.buttonIconClass=hf;exports.buttonIconSvgClass=bf;exports.buttonLabelClass=df;exports.buttonLoaderLayerClass=gf;exports.buttonLoaderTextClass=rf;exports.buttonRippleTone=xf;exports.buttonRootClass=af;exports.buttonSpinnerClass=lf;exports.buttonSpinnerInnerClass=uf;exports.buttonSuccessLayerClass=mf;exports.buttonSurfaceMotionClass=Tf;exports.buttonTextClass=pf;exports.clearCustomThemeTokens=cd;exports.clearThemeInlineTokens=sd;exports.cn=B;exports.colorToken=K;exports.configureMotion=ps;exports.controlShellClass=sf;exports.createConvergeRippleAtPointer=ro;exports.createConvergeRippleFromPointer=fu;exports.createDefaultBurneThemeConfig=qs;exports.createDefaultThemeState=zt;exports.createGlossInteractiveRefCallback=oo;exports.designTokenNames=gu;exports.ensureModePalettes=Zr;exports.ensureRippleEase=gs;exports.exportBurneThemeConfigSource=gd;exports.exportBurneThemeCss=hd;exports.exportDefaultBurneThemeConfigSource=ud;exports.exportThemeCss=$s;exports.fieldShellFocusRingClass=zf;exports.fieldShellHoverClass=Ff;exports.fieldShellVariantFromButtonGroup=Af;exports.firstLevelHoverShadow=Cu;exports.fluidScaleRem=mt;exports.fontWeightToken=pu;exports.getMotionConfig=Fe;exports.getMotionConfigRevision=Nc;exports.gsapWithCSS=fe;exports.hoverVariant=Rs;exports.initElementShadow=$r;exports.killMotion=De;exports.mergeThemeTokenOverrides=fd;exports.motionContentFade=Vc;exports.motionExpand=Wc;exports.motionFeedbackExpand=$c;exports.motionInteractive=Bc;exports.motionLoadingDots=jc;exports.motionProgressFill=Yc;exports.motionSelectionFill=Gc;exports.motionSwitchThumb=Hc;exports.motionToastDismiss=Xc;exports.motionTooltip=Uc;exports.patchThemeColor=od;exports.prefersReducedInteractiveHoverLift=Yr;exports.readControlHeightPx=$f;exports.readShadowSize=Jc;exports.readShadowVar=Dn;exports.resolveCustomThemeTokens=uo;exports.resolveFieldShellSurfaceClass=Lf;exports.resolveTheme=Qr;exports.resolveThemeTokenState=co;exports.secondLevelShadow=io;exports.shadowBase=Mt;exports.shadowCssVar=sr;exports.shadowLarge=Kc;exports.shadowMid=_s;exports.shadowNone=Ir;exports.shadowToken=Qa;exports.shouldSkipInteractiveHoverLift=ve;exports.subscribeMotionConfig=zc;exports.themeTokenStateToConfig=Ys;exports.tokensConfig=Ka;exports.useBurneTheme=vd;exports.useBurneThemeOptional=yd;exports.useBurneThemeRuntime=Td;exports.useBurneThemeRuntimeOptional=wd;exports.useConvergeRipples=du;exports.useFieldShellHoverLift=Nf;exports.useGSAP=Wr;exports.useGlossFieldShellMotion=ku;exports.useGlossInteractiveHandlers=ws;exports.useInteractiveHoverLiftContainerHandlers=vs;exports.useMergedGlossPanelRef=Su;exports.usePersistentElShadow=Eu;exports.useSecondLevelShadow=Ss;exports.useSecondLevelShadowContainer=Ou;
|
package/dist/tokens/config.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ export declare const tokensConfig: {
|
|
|
80
80
|
readonly "color-tertiary-foreground": "color-tertiary-foreground";
|
|
81
81
|
readonly "color-tertiary-hover": "color-tertiary-hover";
|
|
82
82
|
readonly "color-focus-ring": "color-focus-ring";
|
|
83
|
+
readonly "color-focus-ring-danger": "color-focus-ring-danger";
|
|
84
|
+
readonly "color-focus-ring-success": "color-focus-ring-success";
|
|
85
|
+
readonly "color-focus-ring-info": "color-focus-ring-info";
|
|
86
|
+
readonly "color-focus-ring-warning": "color-focus-ring-warning";
|
|
83
87
|
readonly "color-converge-ripple-primary-fill": "color-converge-ripple-primary-fill";
|
|
84
88
|
readonly "color-converge-ripple-neutral": "color-converge-ripple-neutral";
|
|
85
89
|
readonly "color-converge-ripple-neutral-muted": "color-converge-ripple-neutral-muted";
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { OVERLAY_BACKDROP_CSS_VAR, OVERLAY_BACKDROP_DEFAULTS, overlayBackdropTok
|
|
|
7
7
|
export { burneZIndexScale, Z_INDEX_CSS_VAR, Z_INDEX_DEFAULTS, zIndexToken, type ZIndexLayer, } from './zIndex';
|
|
8
8
|
export { NARROW_VIEWPORT_MAX_PX, TOUCH_OR_NARROW_VIEWPORT_MQL, TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER, } from './breakpoints';
|
|
9
9
|
/** CSS variable names for type-safe access and generators */
|
|
10
|
-
export declare const designTokenNames: readonly ["--border-width", "--focus-ring-width", "--focus-ring-offset", "--motion-surface-duration", "--motion-surface-ease", "--motion-shadow-ease", "--overlay-backdrop-color", "--overlay-backdrop-blur", "--overlay-backdrop-saturate", "--overlay-backdrop-scrim", "--z-dialog", "--z-dropdown", "--z-dropdown-sub", "--z-popover", "--z-toast", "--z-tooltip", "--color-background", "--color-surface", "--color-border", "--color-foreground", "--color-muted", "--color-primary", "--color-primary-foreground", "--color-primary-hover", "--color-default-hover", "--color-primary-tint", "--color-primary-tint-strong", "--color-indicator", "--color-indicator-foreground", "--color-secondary", "--color-secondary-foreground", "--color-secondary-hover", "--color-tertiary", "--color-tertiary-foreground", "--color-tertiary-hover", "--color-focus-ring", "--color-converge-ripple-primary-fill", "--color-converge-ripple-neutral", "--color-converge-ripple-neutral-muted", "--color-converge-ripple-danger", "--color-converge-ripple-info", "--color-converge-ripple-success", "--color-converge-ripple-warning", "--color-danger", "--color-danger-fill-hover", "--color-danger-foreground", "--color-success", "--color-success-foreground", "--color-success-fill-hover", "--color-info", "--color-info-foreground", "--color-info-fill-hover", "--color-warning", "--color-warning-foreground", "--color-warning-fill-hover", "--color-surface-tint-danger", "--color-surface-tint-success", "--color-surface-tint-info", "--color-surface-tint-warning", "--color-surface-tint-danger-hover", "--color-surface-tint-success-hover", "--color-surface-tint-info-hover", "--color-surface-tint-warning-hover", "--font-family-sans", "--font-family-mono", "--font-w-small", "--font-w-base", "--font-w-mid", "--font-w-strong", "--font-w-bold", "--space", "--space-xsmall", "--space-small", "--space-base", "--space-mid", "--space-large", "--space-xlarge", "--space-2xlarge", "--space-3xlarge", "--size", "--size-scale-xsmall", "--size-scale-small", "--size-scale-base", "--size-scale-mid", "--size-scale-large", "--size-scale-xlarge", "--size-scale-2xlarge", "--size-scale-3xlarge", "--selection-indicator-xsmall", "--selection-indicator-small", "--selection-indicator-base", "--selection-indicator-mid", "--selection-indicator-large", "--selection-indicator-radius-xsmall", "--selection-indicator-radius-small", "--selection-indicator-radius-base", "--selection-indicator-radius-mid", "--selection-indicator-radius-large", "--radius", "--radius-xsmall", "--radius-small", "--radius-base", "--radius-mid", "--radius-large", "--text-scale-xsmall", "--text-scale-xsmall--line-height", "--text-scale-small", "--text-scale-small--line-height", "--text-scale-base", "--text-scale-base--line-height", "--text-scale-mid", "--text-scale-mid--line-height", "--text-scale-large", "--text-scale-large--line-height", "--text-scale-xlarge", "--text-scale-xlarge--line-height", "--text-scale-2xlarge", "--text-scale-2xlarge--line-height", "--text-scale-3xlarge", "--text-scale-3xlarge--line-height", "--text-accent-header-size", "--text-accent-header-line-height", "--text-accent-header-weight", "--text-header-1-size", "--text-header-1-line-height", "--text-header-1-weight", "--text-header-2-size", "--text-header-2-line-height", "--text-header-2-weight", "--text-large-size", "--text-large-line-height", "--text-large-weight", "--text-base-size", "--text-base-line-height", "--text-base-weight", "--text-small-size", "--text-small-line-height", "--text-small-weight", "--text-mid-size", "--text-mid-line-height", "--text-mid-weight", "--text-xsmall-size", "--text-xsmall-line-height", "--text-xsmall-weight", "--max-component-xsmall", "--max-component-small", "--max-component-base", "--max-component-mid", "--max-component-large", "--max-component-xlarge", "--max-component-2xlarge", "--button-min-width-small", "--button-min-width-base", "--button-min-width-mid", "--button-min-width-large", "--control-height-xsmall", "--control-height-small", "--control-height-base", "--control-height-mid", "--control-height-large", "--control-size-xsmall", "--control-size-small", "--control-size-base", "--control-size-mid", "--control-size-large", "--avatar-size-small", "--avatar-size-base", "--avatar-size-mid", "--avatar-size-large", "--icon-size-xsmall", "--icon-size-small", "--icon-size-base", "--icon-size-mid", "--icon-size-large", "--icon-size-xlarge", "--icon-size-2xlarge", "--icon-size-3xlarge", "--shadow-size", "--shadow-none", "--shadow-base", "--shadow-mid", "--shadow-large", "--toast-scrim-size", "--toast-scrim-density"];
|
|
10
|
+
export declare const designTokenNames: readonly ["--border-width", "--focus-ring-width", "--focus-ring-offset", "--motion-surface-duration", "--motion-surface-ease", "--motion-shadow-ease", "--overlay-backdrop-color", "--overlay-backdrop-blur", "--overlay-backdrop-saturate", "--overlay-backdrop-scrim", "--z-dialog", "--z-dropdown", "--z-dropdown-sub", "--z-popover", "--z-toast", "--z-tooltip", "--color-background", "--color-surface", "--color-border", "--color-foreground", "--color-muted", "--color-primary", "--color-primary-foreground", "--color-primary-hover", "--color-default-hover", "--color-primary-tint", "--color-primary-tint-strong", "--color-indicator", "--color-indicator-foreground", "--color-secondary", "--color-secondary-foreground", "--color-secondary-hover", "--color-tertiary", "--color-tertiary-foreground", "--color-tertiary-hover", "--color-focus-ring", "--color-focus-ring-danger", "--color-focus-ring-success", "--color-focus-ring-info", "--color-focus-ring-warning", "--color-converge-ripple-primary-fill", "--color-converge-ripple-neutral", "--color-converge-ripple-neutral-muted", "--color-converge-ripple-danger", "--color-converge-ripple-info", "--color-converge-ripple-success", "--color-converge-ripple-warning", "--color-danger", "--color-danger-fill-hover", "--color-danger-foreground", "--color-success", "--color-success-foreground", "--color-success-fill-hover", "--color-info", "--color-info-foreground", "--color-info-fill-hover", "--color-warning", "--color-warning-foreground", "--color-warning-fill-hover", "--color-surface-tint-danger", "--color-surface-tint-success", "--color-surface-tint-info", "--color-surface-tint-warning", "--color-surface-tint-danger-hover", "--color-surface-tint-success-hover", "--color-surface-tint-info-hover", "--color-surface-tint-warning-hover", "--font-family-sans", "--font-family-mono", "--font-w-small", "--font-w-base", "--font-w-mid", "--font-w-strong", "--font-w-bold", "--space", "--space-xsmall", "--space-small", "--space-base", "--space-mid", "--space-large", "--space-xlarge", "--space-2xlarge", "--space-3xlarge", "--size", "--size-scale-xsmall", "--size-scale-small", "--size-scale-base", "--size-scale-mid", "--size-scale-large", "--size-scale-xlarge", "--size-scale-2xlarge", "--size-scale-3xlarge", "--selection-indicator-xsmall", "--selection-indicator-small", "--selection-indicator-base", "--selection-indicator-mid", "--selection-indicator-large", "--selection-indicator-radius-xsmall", "--selection-indicator-radius-small", "--selection-indicator-radius-base", "--selection-indicator-radius-mid", "--selection-indicator-radius-large", "--radius", "--radius-xsmall", "--radius-small", "--radius-base", "--radius-mid", "--radius-large", "--text-scale-xsmall", "--text-scale-xsmall--line-height", "--text-scale-small", "--text-scale-small--line-height", "--text-scale-base", "--text-scale-base--line-height", "--text-scale-mid", "--text-scale-mid--line-height", "--text-scale-large", "--text-scale-large--line-height", "--text-scale-xlarge", "--text-scale-xlarge--line-height", "--text-scale-2xlarge", "--text-scale-2xlarge--line-height", "--text-scale-3xlarge", "--text-scale-3xlarge--line-height", "--text-accent-header-size", "--text-accent-header-line-height", "--text-accent-header-weight", "--text-header-1-size", "--text-header-1-line-height", "--text-header-1-weight", "--text-header-2-size", "--text-header-2-line-height", "--text-header-2-weight", "--text-large-size", "--text-large-line-height", "--text-large-weight", "--text-base-size", "--text-base-line-height", "--text-base-weight", "--text-small-size", "--text-small-line-height", "--text-small-weight", "--text-mid-size", "--text-mid-line-height", "--text-mid-weight", "--text-xsmall-size", "--text-xsmall-line-height", "--text-xsmall-weight", "--max-component-xsmall", "--max-component-small", "--max-component-base", "--max-component-mid", "--max-component-large", "--max-component-xlarge", "--max-component-2xlarge", "--button-min-width-small", "--button-min-width-base", "--button-min-width-mid", "--button-min-width-large", "--control-height-xsmall", "--control-height-small", "--control-height-base", "--control-height-mid", "--control-height-large", "--control-size-xsmall", "--control-size-small", "--control-size-base", "--control-size-mid", "--control-size-large", "--avatar-size-small", "--avatar-size-base", "--avatar-size-mid", "--avatar-size-large", "--icon-size-xsmall", "--icon-size-small", "--icon-size-base", "--icon-size-mid", "--icon-size-large", "--icon-size-xlarge", "--icon-size-2xlarge", "--icon-size-3xlarge", "--shadow-size", "--shadow-none", "--shadow-base", "--shadow-mid", "--shadow-large", "--toast-scrim-size", "--toast-scrim-density"];
|
|
11
11
|
export type DesignCssVar = (typeof designTokenNames)[number];
|
|
12
12
|
type ColorCssVarName = Extract<DesignCssVar, `--color-${string}`>;
|
|
13
13
|
/** Suffix after `--color-` (same as theme key without the `color-` prefix) */
|