burne-ui 1.6.6 → 1.6.8

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.
Files changed (136) hide show
  1. package/dist/components/composite/Accordion/Accordion.d.ts +1 -1
  2. package/dist/components/composite/Accordion/index.d.ts +1 -1
  3. package/dist/components/composite/AlertDialog/alertDialogStyles.d.ts +10 -6
  4. package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +5 -14
  5. package/dist/components/composite/ButtonGroup/ButtonGroup.d.ts +1 -1
  6. package/dist/components/composite/ButtonGroup/buttonGroupStyles.d.ts +2 -2
  7. package/dist/components/composite/ButtonGroup/index.d.ts +1 -1
  8. package/dist/components/composite/CheckboxGroup/checkboxGroupTypes.d.ts +1 -1
  9. package/dist/components/composite/Form/formTypes.d.ts +1 -1
  10. package/dist/components/composite/RadioGroup/radioGroupTypes.d.ts +1 -1
  11. package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  12. package/dist/components/composite/ToggleButtonGroup/index.d.ts +1 -1
  13. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +2 -1
  14. package/dist/components/core/Alert/alertTypes.d.ts +1 -1
  15. package/dist/components/core/Alert/useAlertRootState.d.ts +2 -2
  16. package/dist/components/core/Button/buttonStyles.d.ts +1 -1
  17. package/dist/components/core/Button/buttonTypes.d.ts +1 -1
  18. package/dist/components/core/Button/useButtonRootState.d.ts +2 -2
  19. package/dist/components/core/Calendar/calendarParts.d.ts +2 -2
  20. package/dist/components/core/Calendar/calendarStyles.d.ts +2 -1
  21. package/dist/components/core/Calendar/index.d.ts +2 -2
  22. package/dist/components/core/Card/Card.d.ts +2 -1
  23. package/dist/components/core/Card/cardContext.d.ts +9 -2
  24. package/dist/components/core/Card/cardStyles.d.ts +15 -8
  25. package/dist/components/core/Card/cardTypes.d.ts +7 -2
  26. package/dist/components/core/Card/index.d.ts +2 -1
  27. package/dist/components/core/Card/useCardRootState.d.ts +2 -1
  28. package/dist/components/core/Checkbox/Checkbox.d.ts +1 -1
  29. package/dist/components/core/Checkbox/checkboxStyles.d.ts +1 -7
  30. package/dist/components/core/Checkbox/index.d.ts +1 -1
  31. package/dist/components/core/Checkbox/useCheckboxRootState.d.ts +1 -5
  32. package/dist/components/core/CloseButton/closeButtonTypes.d.ts +1 -1
  33. package/dist/components/core/CloseButton/useCloseButtonRootState.d.ts +2 -2
  34. package/dist/components/core/ColorPicker/colorPickerStyles.d.ts +3 -2
  35. package/dist/components/core/ColorPicker/colorSliderStyles.d.ts +2 -1
  36. package/dist/components/core/ColorPicker/colorUtils.d.ts +2 -0
  37. package/dist/components/core/ColorPicker/useColorPickerRootState.d.ts +6 -0
  38. package/dist/components/core/ComboBox/useComboBoxInputState.d.ts +1 -1
  39. package/dist/components/core/Dialog/dialogStyles.d.ts +11 -7
  40. package/dist/components/core/Dialog/dialogTypes.d.ts +4 -15
  41. package/dist/components/core/Disclosure/disclosureStyles.d.ts +3 -3
  42. package/dist/components/core/Disclosure/disclosureTypes.d.ts +1 -1
  43. package/dist/components/core/Drawer/Drawer.d.ts +2 -2
  44. package/dist/components/core/Drawer/drawerAPI.d.ts +2 -0
  45. package/dist/components/core/Drawer/drawerStyles.d.ts +13 -11
  46. package/dist/components/core/Drawer/drawerTypes.d.ts +12 -1
  47. package/dist/components/core/Drawer/index.d.ts +1 -1
  48. package/dist/components/core/Drawer/useDrawerRootState.d.ts +1 -1
  49. package/dist/components/core/Expandable/expandableStyles.d.ts +3 -7
  50. package/dist/components/core/Expandable/expandableTypes.d.ts +1 -1
  51. package/dist/components/core/Field/fieldContext.d.ts +1 -1
  52. package/dist/components/core/Field/fieldStyles.d.ts +1 -1
  53. package/dist/components/core/Field/fieldTypes.d.ts +1 -1
  54. package/dist/components/core/Input/inputTypes.d.ts +1 -1
  55. package/dist/components/core/Input/useInputRootState.d.ts +1 -1
  56. package/dist/components/core/Link/linkTypes.d.ts +1 -1
  57. package/dist/components/core/Link/useLinkRootState.d.ts +1 -1
  58. package/dist/components/core/ListBox/listBoxAPI.d.ts +5 -2
  59. package/dist/components/core/ListBox/listBoxParts.d.ts +1 -1
  60. package/dist/components/core/ListBox/listBoxStyles.d.ts +5 -2
  61. package/dist/components/core/ListBox/useListBoxItemState.d.ts +1 -0
  62. package/dist/components/core/Loading/loadingTypes.d.ts +1 -1
  63. package/dist/components/core/Pagination/paginationStyles.d.ts +5 -4
  64. package/dist/components/core/Popover/popoverContext.d.ts +7 -0
  65. package/dist/components/core/Popover/popoverStyles.d.ts +24 -16
  66. package/dist/components/core/Popover/popoverTypes.d.ts +3 -5
  67. package/dist/components/core/Radio/Radio.d.ts +1 -1
  68. package/dist/components/core/Radio/index.d.ts +1 -1
  69. package/dist/components/core/Radio/radioStyles.d.ts +1 -7
  70. package/dist/components/core/Radio/useRadioRootState.d.ts +1 -5
  71. package/dist/components/core/SearchInput/searchInputStyles.d.ts +1 -1
  72. package/dist/components/core/SearchInput/searchInputTypes.d.ts +1 -1
  73. package/dist/components/core/SearchInput/useSearchInputRootState.d.ts +1 -1
  74. package/dist/components/core/SelectionIndicator/index.d.ts +1 -1
  75. package/dist/components/core/SelectionIndicator/selectionIndicatorTokens.d.ts +9 -6
  76. package/dist/components/core/SelectionThumb/SelectionThumb.d.ts +2 -2
  77. package/dist/components/core/SelectionThumb/selectionThumbStyles.d.ts +5 -11
  78. package/dist/components/core/SelectionThumb/selectionThumbTypes.d.ts +0 -4
  79. package/dist/components/core/Slider/sliderStyles.d.ts +12 -7
  80. package/dist/components/core/Slider/sliderThumbParts.d.ts +1 -1
  81. package/dist/components/core/Slider/sliderTypes.d.ts +1 -1
  82. package/dist/components/core/Slider/useSliderTrackState.d.ts +16 -16
  83. package/dist/components/core/Switch/Switch.d.ts +1 -1
  84. package/dist/components/core/Switch/index.d.ts +2 -2
  85. package/dist/components/core/Switch/switchAnimations.d.ts +1 -1
  86. package/dist/components/core/Switch/switchControlParts.d.ts +1 -1
  87. package/dist/components/core/Switch/switchGeometry.d.ts +3 -3
  88. package/dist/components/core/Switch/switchStyles.d.ts +3 -2
  89. package/dist/components/core/Switch/switchTypes.d.ts +0 -2
  90. package/dist/components/core/Switch/useSwitchRootState.d.ts +14 -14
  91. package/dist/components/core/Tabs/tabsTypes.d.ts +1 -1
  92. package/dist/components/core/Text/textStyles.d.ts +7 -1
  93. package/dist/components/core/TextArea/textAreaStyles.d.ts +4 -3
  94. package/dist/components/core/TextArea/textAreaTypes.d.ts +1 -1
  95. package/dist/components/core/TextArea/useTextAreaResize.d.ts +1 -1
  96. package/dist/components/core/TextArea/useTextAreaRootState.d.ts +1 -1
  97. package/dist/components/core/TimeField/timeFieldStyles.d.ts +4 -3
  98. package/dist/components/core/TimeField/timeFieldTypes.d.ts +1 -1
  99. package/dist/components/core/TimeField/useTimeFieldControlState.d.ts +1 -1
  100. package/dist/components/core/TimeField/useTimeFieldRootState.d.ts +1 -1
  101. package/dist/components/core/Toast/toastTypes.d.ts +1 -1
  102. package/dist/components/core/Toast/useToastProviderState.d.ts +1 -1
  103. package/dist/components/core/Toast/useToastRootState.d.ts +1 -1
  104. package/dist/components/core/ToggleButton/ToggleButton.d.ts +1 -1
  105. package/dist/components/core/ToggleButton/index.d.ts +1 -1
  106. package/dist/components/core/ToggleButton/toggleButtonAnimations.d.ts +3 -1
  107. package/dist/components/core/ToggleButton/toggleButtonStyles.d.ts +1 -1
  108. package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +1 -1
  109. package/dist/components/core/ToggleButton/useToggleButtonFillAnimation.d.ts +4 -0
  110. package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +1 -2
  111. package/dist/components/core/utils/controlHeightMeasure.d.ts +1 -1
  112. package/dist/components/core/utils/hoverInteractiveLift.d.ts +13 -6
  113. package/dist/components/core/utils/inputAffixLayout.d.ts +1 -1
  114. package/dist/components/core/utils/motionConfig.d.ts +1 -1
  115. package/dist/components/core/utils/optionListItemParts.d.ts +6 -2
  116. package/dist/components/core/utils/{messageBannerSize.d.ts → sizeLayout/banner.d.ts} +5 -3
  117. package/dist/components/core/utils/sizeLayout/collapsible.d.ts +25 -0
  118. package/dist/components/core/utils/{componentSize.d.ts → sizeLayout/componentSize.d.ts} +1 -0
  119. package/dist/components/core/utils/{controlSizeLayout.d.ts → sizeLayout/control.d.ts} +3 -1
  120. package/dist/components/core/utils/sizeLayout/index.d.ts +16 -0
  121. package/dist/components/core/utils/sizeLayout/option.d.ts +15 -0
  122. package/dist/components/core/utils/sizeLayout/panel.d.ts +54 -0
  123. package/dist/index.cjs +1 -1
  124. package/dist/index.d.ts +3 -3
  125. package/dist/index.js +10472 -10150
  126. package/dist/internal.cjs +1 -1
  127. package/dist/internal.d.ts +2 -2
  128. package/dist/internal.js +28 -26
  129. package/dist/{themeRuntimeContext-cixzM5Ix.js → themeRuntimeContext-CE8HsqSx.js} +1355 -1334
  130. package/dist/themeRuntimeContext-zhfbKb8L.cjs +50 -0
  131. package/dist/tokens/breakpoints.d.ts +14 -0
  132. package/dist/tokens/config.d.ts +7 -1
  133. package/dist/tokens/index.d.ts +2 -1
  134. package/dist/ui.css +325 -85
  135. package/package.json +1 -1
  136. package/dist/themeRuntimeContext-DHGARM65.cjs +0 -50
@@ -0,0 +1,50 @@
1
+ "use strict";const xr=require("react/jsx-runtime"),P=require("react");function Xo(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=Xo(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function js(){for(var n,e,t=0,r="",o=arguments.length;t<o;t++)(n=arguments[t])&&(e=Xo(n))&&(r&&(r+=" "),r+=e);return r}const Zs=(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},Qs=(n,e)=>({classGroupId:n,validator:e}),qo=(n=new Map,e=null,t)=>({nextPart:n,validators:e,classGroupId:t}),kr="-",fo=[],Ks="arbitrary..",Js=n=>{const e=ta(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return ea(s);const a=s.split(kr),c=a[0]===""&&a.length>1?1:0;return jo(a,c,e)},getConflictingClassGroupIds:(s,a)=>{if(a){const c=r[s],l=t[s];return c?l?Zs(l,c):c:l||fo}return t[s]||fo}}},jo=(n,e,t)=>{if(n.length-e===0)return t.classGroupId;const o=n[e],i=t.nextPart.get(o);if(i){const l=jo(n,e+1,i);if(l)return l}const s=t.validators;if(s===null)return;const a=e===0?n.join(kr):n.slice(e).join(kr),c=s.length;for(let l=0;l<c;l++){const u=s[l];if(u.validator(a))return u.classGroupId}},ea=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?Ks+r:void 0})(),ta=n=>{const{theme:e,classGroups:t}=n;return ra(t,e)},ra=(n,e)=>{const t=qo();for(const r in n){const o=n[r];Dn(o,t,r,e)}return t},Dn=(n,e,t,r)=>{const o=n.length;for(let i=0;i<o;i++){const s=n[i];na(s,e,t,r)}},na=(n,e,t,r)=>{if(typeof n=="string"){oa(n,e,t);return}if(typeof n=="function"){ia(n,e,t,r);return}sa(n,e,t,r)},oa=(n,e,t)=>{const r=n===""?e:Zo(e,n);r.classGroupId=t},ia=(n,e,t,r)=>{if(aa(n)){Dn(n(r),e,t,r);return}e.validators===null&&(e.validators=[]),e.validators.push(Qs(t,n))},sa=(n,e,t,r)=>{const o=Object.entries(n),i=o.length;for(let s=0;s<i;s++){const[a,c]=o[s];Dn(c,Zo(e,a),t,r)}},Zo=(n,e)=>{let t=n;const r=e.split(kr),o=r.length;for(let i=0;i<o;i++){const s=r[i];let a=t.nextPart.get(s);a||(a=qo(),t.nextPart.set(s,a)),t=a}return t},aa=n=>"isThemeGetter"in n&&n.isThemeGetter===!0,la=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)}}},un="!",ho=":",ca=[],po=(n,e,t,r,o)=>({modifiers:n,hasImportantModifier:e,baseClassName:t,maybePostfixModifierPosition:r,isExternal:o}),ua=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 g=o[d];if(s===0&&a===0){if(g===ho){i.push(o.slice(c,d)),c=d+1;continue}if(g==="/"){l=d;continue}}g==="["?s++:g==="]"?s--:g==="("?a++:g===")"&&a--}const f=i.length===0?o:o.slice(c);let p=f,h=!1;f.endsWith(un)?(p=f.slice(0,-1),h=!0):f.startsWith(un)&&(p=f.slice(1),h=!0);const m=l&&l>c?l-c:void 0;return po(i,h,p,m)};if(e){const o=e+ho,i=r;r=s=>s.startsWith(o)?i(s.slice(o.length)):po(ca,!1,s,void 0,!0)}if(t){const o=r;r=i=>t({className:i,parseClassName:o})}return r},fa=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}},da=n=>({cache:la(n.cacheSize),parseClassName:ua(n),sortModifiers:fa(n),postfixLookupClassGroupIds:ha(n),...Js(n)}),ha=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},pa=/\s+/,ma=(n,e)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i,postfixLookupClassGroupIds:s}=e,a=[],c=n.trim().split(pa);let l="";for(let u=c.length-1;u>=0;u-=1){const f=c[u],{isExternal:p,modifiers:h,hasImportantModifier:m,baseClassName:d,maybePostfixModifierPosition:g}=t(f);if(p){l=f+(l.length>0?" "+l:l);continue}let b=!!g,_;if(b){const S=d.substring(0,g);_=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=m?y+un: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},ga=(...n)=>{let e=0,t,r,o="";for(;e<n.length;)(t=n[e++])&&(r=Qo(t))&&(o&&(o+=" "),o+=r);return o},Qo=n=>{if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=Qo(n[r]))&&(t&&(t+=" "),t+=e);return t},mo=(n,...e)=>{let t,r,o,i;const s=c=>{const l=e.reduce((u,f)=>f(u),n());return t=da(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=ma(c,t);return o(c,u),u};return i=s,(...c)=>i(ga(...c))},_a=[],te=n=>{const e=t=>t[n]||_a;return e.isThemeGetter=!0,e},Ko=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Jo=/^\((?:(\w[\w-]*):)?(.+)\)$/i,ba=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,va=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ya=/\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$/,xa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ta=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wa=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$e=n=>ba.test(n),R=n=>!!n&&!Number.isNaN(Number(n)),Ie=n=>!!n&&Number.isInteger(Number(n)),Qr=n=>n.endsWith("%")&&R(n.slice(0,-1)),Ue=n=>va.test(n),ei=()=>!0,Sa=n=>ya.test(n)&&!xa.test(n),Pn=()=>!1,ka=n=>Ta.test(n),Ca=n=>wa.test(n),Ea=n=>!C(n)&&!E(n),Oa=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)),Da=n=>nt(n,ni,Pn),C=n=>Ko.test(n),it=n=>nt(n,oi,Sa),go=n=>nt(n,za,R),Pa=n=>nt(n,si,ei),Aa=n=>nt(n,ii,Pn),_o=n=>nt(n,ti,Pn),Ra=n=>nt(n,ri,Ca),fr=n=>nt(n,ai,ka),E=n=>Jo.test(n),Nt=n=>yt(n,oi),La=n=>yt(n,ii),bo=n=>yt(n,ti),Fa=n=>yt(n,ni),Ia=n=>yt(n,ri),dr=n=>yt(n,ai,!0),Ma=n=>yt(n,si,!0),nt=(n,e,t)=>{const r=Ko.exec(n);return r?r[1]?e(r[1]):t(r[2]):!1},yt=(n,e,t=!1)=>{const r=Jo.exec(n);return r?r[1]?e(r[1]):t:!1},ti=n=>n==="position"||n==="percentage",ri=n=>n==="image"||n==="url",ni=n=>n==="length"||n==="size"||n==="bg-size",oi=n=>n==="length",za=n=>n==="number",ii=n=>n==="family-name",si=n=>n==="number"||n==="weight",ai=n=>n==="shadow",vo=()=>{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"),m=te("blur"),d=te("perspective"),g=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],B=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["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(),bo,_o,{position:[E,C]}],xe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",Fa,Da,{size:[E,C]}],ne=()=>[Qr,Nt,it],U=()=>["","none","full",l,E,C],ie=()=>["",R,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=()=>[R,Qr,bo,_o],ae=()=>["","none",m,E,C],lr=()=>["none",R,E,C],cr=()=>["none",R,E,C],Zr=()=>[R,E,C],ur=()=>[$e,"full",...v()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ue],breakpoint:[Ue],color:[ei],container:[Ue],"drop-shadow":[Ue],ease:["in","out","in-out"],font:[Ea],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ue],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ue],shadow:[Ue],spacing:["px",R],text:[Ue],"text-shadow":[Ue],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$e,C,E,g]}],container:["container"],"container-type":[{"@container":["","normal","size",E,C]}],"container-named":[Oa],columns:[{columns:[R,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:[R,$e,"auto","initial","none",C]}],grow:[{grow:["",R,E,C]}],shrink:[{shrink:["",R,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:[...B(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...B()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":B()}],"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:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"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,Ma,Pa]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Qr,C]}],"font-family":[{font:[La,Aa,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":[R,"none",E,go]}],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:[R,"from-font","auto",E,it]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[R,"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]},Ia,Ra]}],"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":[R,E,C]}],"outline-w":[{outline:["",R,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":[R,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:[R,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":[R]}],"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":[R]}],"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:[R,E,C]}],contrast:[{contrast:[R,E,C]}],"drop-shadow":[{"drop-shadow":["","none",h,dr,fr]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",R,E,C]}],"hue-rotate":[{"hue-rotate":[R,E,C]}],invert:[{invert:["",R,E,C]}],saturate:[{saturate:[R,E,C]}],sepia:[{sepia:["",R,E,C]}],"backdrop-filter":[{"backdrop-filter":["","none",E,C]}],"backdrop-blur":[{"backdrop-blur":ae()}],"backdrop-brightness":[{"backdrop-brightness":[R,E,C]}],"backdrop-contrast":[{"backdrop-contrast":[R,E,C]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,E,C]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,E,C]}],"backdrop-invert":[{"backdrop-invert":["",R,E,C]}],"backdrop-opacity":[{"backdrop-opacity":[R,E,C]}],"backdrop-saturate":[{"backdrop-saturate":[R,E,C]}],"backdrop-sepia":[{"backdrop-sepia":["",R,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:[R,"initial",E,C]}],ease:[{ease:["linear","initial",b,E,C]}],delay:[{delay:[R,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:Zr()}],"skew-x":[{"skew-x":Zr()}],"skew-y":[{"skew-y":Zr()}],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:[R,Nt,it,go]}],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"]}},Na=(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),fn(n,o,"postfixLookupClassGroups"),fn(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)fn(n,e,t)},fn=(n,e,t)=>{const r=e[t];r!==void 0&&(n[t]=n[t]?n[t].concat(r):r)},Ba=(n,...e)=>typeof n=="function"?mo(vo,n,...e):mo(()=>Na(vo(),n),...e),Ua='ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',Ga="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",Ha=.5,Va={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.25,line:1.75},xlarge:{size:1.5,line:2},"2xlarge":{size:1.875,line:2.25},"3xlarge":{size:2.25,line:2.5}},Wa={dark:{base:.15,mid:.2,large:.24},light:{base:.08,mid:.12,large:.16}},$a={base:[0,2,4,-2],mid:[0,4,10,-6],large:[0,8,20,-12]},Qe={fontFamilySans:Ua,fontFamilyMono:Ga,shadowSize:Ha,textScale:Va,shadowOpacity:Wa,shadowGeom:$a},Ya=["none","base","mid","large"],An={base:"--shadow-base",mid:"--shadow-mid",large:"--shadow-large"},Xa=Qe.shadowSize,li=Qe.shadowOpacity,ci={base:[Qe.shadowGeom.base],mid:[Qe.shadowGeom.mid],large:[Qe.shadowGeom.large]};function qa(n){return`var(--shadow-${n})`}const ja={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-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"}},Za=["xsmall","small","base","mid","large","xlarge","2xlarge","3xlarge"],Qa=["xsmall","small","base","mid","large"],Ka=["small","mid","xsmall","accent-header","header-1","header-2","large"],Ja=Ba({extend:{theme:{spacing:[...Za],radius:[...Qa],text:[...Ka]}}});function G(...n){return Ja(js(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 ui(n,e){return e==null||!(e instanceof Node)?!0:!n.contains(e)}function Ge(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function fi(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},Rn,se,$,Re=1e8,V=1/Re,dn=Math.PI*2,el=dn/4,tl=0,di=Math.sqrt,rl=Math.cos,nl=Math.sin,oe=function(e){return typeof e=="string"},j=function(e){return typeof e=="function"},Ve=function(e){return typeof e=="number"},Ln=function(e){return typeof e>"u"},Be=function(e){return typeof e=="object"},pe=function(e){return e!==!1},Fn=function(){return typeof window<"u"},mr=function(e){return j(e)||oe(e)},hi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ce=Array.isArray,ol=/random\([^)]+\)/g,il=/,\s*/g,yo=/(?:-?\.?\d|\.)+/gi,pi=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,kt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Kr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,mi=/[+-]=-?[.\d]+/,sl=/[^,'"\[\]\s]+/gi,al=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,X,Me,hn,In,Ee={},Cr={},gi,_i=function(e){return(Cr=Pt(e,Ee))&&be},Mn=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)},bi=function(e,t){return e&&(Ee[e]=t)&&Cr&&(Cr[e]=t)||Ee},Qt=function(){return 0},ll={suppressEvents:!0,isStart:!0,kill:!1},Tr={suppressEvents:!0,kill:!1},cl={suppressEvents:!0},zn={},Ke=[],pn={},vi,Te={},Jr={},xo=30,wr=[],Nn="",Bn=function(e){var t=e[0],r,o;if(Be(t)||j(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(o=wr.length;o--&&!wr[o].targetTest(t););r=wr[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new Gi(e[o],r)))||e.splice(o,1);return e},dt=function(e){return e._gsap||Bn(Le(e))[0]._gsap},yi=function(e,t,r){return(r=e[t])&&j(r)?e[t]():Ln(r)&&e.getAttribute&&e.getAttribute(t)||r},me=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},ul=function(e,t){for(var r=t.length,o=0;e.indexOf(t[o])<0&&++o<r;);return o<r},Er=function(){var e=Ke.length,t=Ke.slice(0),r,o;for(pn={},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)},Un=function(e){return!!(e._initted||e._startAt||e.add)},xi=function(e,t,r,o){Ke.length&&!se&&Er(),e.render(t,r,!!(se&&t<0&&Un(e))),Ke.length&&!se&&Er()},Ti=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(sl).length<2?t:oe(e)?e.trim():e},wi=function(e){return e},Oe=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},fl=function(e){return function(t,r){for(var o in r)o in t||o==="duration"&&e||o==="ease"||(t[o]=r[o])}},Pt=function(e,t){for(var r in t)e[r]=t[r];return e},To=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},Or=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?fl(ce(e.keyframes)):Oe;if(pe(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},dl=function(e,t){for(var r=e.length,o=r===t.length;o&&r--&&e[r]===t[r];);return r<0},Si=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},Nr=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},hl=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},mn=function(e,t,r,o){return e._startAt&&(se?e._startAt.revert(Tr):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,o))},pl=function n(e){return!e||e._ts&&n(e.parent)},wo=function(e){return e._repeat?At(e._tTime,e=e.duration()+e._rDelay)*e:0},At=function(e,t){var r=Math.floor(e=Y(e/t));return e&&r===e?r-1:r},Dr=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Br=function(e){return e._end=Y(e._start+(e._tDur/Math.abs(e._ts||e._rts||V)||0))},Ur=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)),Br(e),r._dirty||ht(r,e)),e},ki=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Dr(e.rawTime(),t),(!t._dur||ir(0,t.totalDuration(),r)-t._tTime>V)&&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=-V}},ze=function(e,t,r,o){return t.parent&&et(t),t._start=Y((Ve(r)?r:r||e!==X?Ae(e,r,t):e._time)+t._delay),t._end=Y(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Si(e,t,"_first","_last",e._sort?"_start":0),gn(t)||(e._recent=t),o||ki(e,t),e._ts<0&&Ur(e,e._tTime),e},Ci=function(e,t){return(Ee.ScrollTrigger||Mn("scrollTrigger",t))&&Ee.ScrollTrigger.create(t,e)},Ei=function(e,t,r,o,i){if(Hn(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!se&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&vi!==we.frame)return Ke.push(e),e._lazy=[i,o],1},ml=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},gn=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},gl=function(e,t,r,o){var i=e.ratio,s=t<0||!t&&(!e._start&&ml(e)&&!(!e._initted&&gn(e))||(e._ts<0||e._dp._ts<0)&&!gn(e))?0:1,a=e._rDelay,c=0,l,u,f;if(a&&e._repeat&&(c=ir(0,e._tDur,t),u=At(c,a),e._yoyo&&u&1&&(s=1-s),u!==At(e._tTime,a)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||se||o||e._zTime===V||!t&&e._zTime){if(!e._initted&&Ei(e,t,o,r,c))return;for(f=e._zTime,e._zTime=t||(r?V: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&&mn(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)},_l=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}},Rt=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&&Ur(e,e._tTime=e._tDur*a),e.parent&&Br(e),r||ht(e.parent,e),e},So=function(e){return e instanceof he?ht(e):Rt(e,e._dur)},bl={_start:0,endTime:Qt,totalDuration:Qt},Ae=function n(e,t,r){var o=e.labels,i=e._recent||bl,s=e.duration()>=Re?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=Ve(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=al.exec(e))?"":t[1]},vl=function(e,t,r){return ot(r,function(o){return ir(e,t,o)})},_n=[].slice,Oi=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},yl=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(o){var i;return oe(o)&&!t||Oi(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&&(hn||!Lt())?_n.call((t||In).querySelectorAll(e),0):ce(e)?yl(e,r):Oi(e)?_n.call(e,0):e?[e]:[]},bn=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")||In.createElement("div"):e)}},Di=function(e){return e.sort(function(){return .5-Math.random()})},Pi=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,m){var d=(m||t).length,g=s[d],b,_,y,T,x,k,S,v,w;if(!g){if(w=t.grid==="auto"?0:(t.grid||[1,Re])[1],!w){for(S=-Re;S<(S=m[w++].getBoundingClientRect().left)&&w<d;);w<d&&w--}for(g=s[d]=[],b=c?Math.min(w,d)*u-.5:o%w,_=w===Re?0:c?d*f/w-.5:o/w|0,S=0,v=Re,k=0;k<d;k++)y=k%w-b,T=_-(k/w|0),g[k]=x=l?Math.abs(l==="y"?T:y):di(y*y+T*T),x>S&&(S=x),x<v&&(v=x);o==="random"&&Di(g),g.max=S-v,g.min=v,g.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),g.b=d<0?i-d:i,g.u=le(t.amount||t.each)||0,r=r&&d<0?Ll(r):r}return d=(g[p]-g.min)/g.max||0,Y(g.b+(r?r(d):d)*g.v)+g.u}},vn=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+(Ve(r)?0:le(r))}},Ai=function(e,t){var r=ce(e),o,i;return!r&&Be(e)&&(o=r=e.radius||Re,e.values?(e=Le(e.values),(i=!Ve(e[0]))&&(o*=o)):e=vn(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=Re,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||Ve(s)?u:u+le(s)}:vn(e))},Ri=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})},xl=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)}},Tl=function(e,t){return function(r){return e(parseFloat(r))+(t||le(r))}},wl=function(e,t,r){return Fi(e,t,0,1,r)},Li=function(e,t,r){return ot(r,function(o){return e[~~t(o)]})},Sl=function n(e,t,r){var o=t-e;return ce(e)?Li(e,n(0,e.length),t):ot(r,function(i){return(o+(i-e)%o)%o+e})},kl=function n(e,t,r){var o=t-e,i=o*2;return ce(e)?Li(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(ol,function(t){var r=t.indexOf("[")+1,o=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(il);return Ri(r?o:+o[0],r?0:+o[1],+o[2]||1e-5)})},Fi=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)})},Cl=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(m){m*=f;var d=Math.min(p,~~m);return u[d](m-d)},r=t}else o||(e=Pt(ce(e)?[]:{},e));if(!u){for(c in t)Gn.call(a,e,c,"get",t[c]);i=function(m){return $n(m,a)||(s?e.p:e)}}}return ot(r,i)},ko=function(e,t,r){var o=e.labels,i=Re,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&&Er(),a&&($=a),u=c?i.apply(l,c):i.call(l),$=s,u},Gt=function(e){return et(e),e.scrollTrigger&&e.scrollTrigger.kill(!!se),e.progress()<1&&Se(e,"onInterrupt"),e},Ct,Ii=[],Mi=function(e){if(e)if(e=!e.name&&e.default||e,Fn()||e.headless){var t=e.name,r=j(e),o=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Qt,render:$n,add:Gn,kill:Vl,modifier:Hl,rawVars:0},s={targetTest:0,get:0,getSetter:Wn,aliases:{},register:0};if(Lt(),e!==o){if(Te[t])return;Oe(o,Oe(Or(e,i),s)),Pt(o.prototype,Pt(i,Or(e,s))),Te[o.prop=t]=o,e.targetTest&&(wr.push(o),zn[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}bi(t,o),e.register&&e.register(be,o,ge)}else Ii.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]},en=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},zi=function(e,t,r){var o=e?Ve(e)?[e>>16,e>>8&H,e&H]:0:Ht.black,i,s,a,c,l,u,f,p,h,m;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=m=e.match(yo),!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]=en(c+1/3,i,s),o[1]=en(c,i,s),o[2]=en(c-1/3,i,s);else if(~e.indexOf("="))return o=e.match(pi),r&&o.length<4&&(o[3]=1),o}else o=e.match(yo)||Ht.transparent;o=o.map(Number)}return t&&!m&&(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},Ni=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},Co=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=zi(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=Ni(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")})(),El=/hsl[a]?\(/,Bi=function(e){var t=e.join(" "),r;if(Je.lastIndex=0,Je.test(t))return r=El.test(t),e[1]=Co(e[1],r),e[0]=Co(e[0],r,Ni(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,m=function d(g){var b=n()-o,_=g===!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,g)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(g){return p/(1e3/(g||60))},wake:function(){gi&&(!hn&&Fn()&&(Me=hn=window,In=Me.document||{},Ee.gsap=be,(Me.gsapVersions||(Me.gsapVersions=[])).push(be.version),_i(Cr||Me.GreenSockGlobals||!Me.gsap&&Me||{}),Ii.forEach(Mi)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&f.sleep(),l=u||function(g){return setTimeout(g,s-f.time*1e3+1|0)},Jt=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Jt=0,l=Qt},lagSmoothing:function(g,b){e=g||1/0,t=Math.min(b||33,e)},fps:function(g){i=1e3/(g||240),s=f.time*1e3+i},add:function(g,b,_){var y=b?function(T,x,k,S){g(T,x,k,S),f.remove(y)}:g;return f.remove(g),a[_?"unshift":"push"](y),Lt(),y},remove:function(g,b){~(b=a.indexOf(g))&&a.splice(b,1)&&h>=b&&h--},_listeners:a},f})(),Lt=function(){return!Jt&&we.wake()},I={},Ol=/^[\d.\-M][\d.\-,\s]/,Dl=/["']/g,Pl=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(Dl,"").trim():+l,o=c.substr(a+1).trim();return t},Al=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)},Rl=function(e){var t=(e+"").split("("),r=I[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Pl(t[1])]:Al(e).split(",").map(Ti)):I._CE&&Ol.test(e)?I._CE("",e):r},Ll=function(e){return function(t){return 1-e(1-t)}},pt=function(e,t){return e&&(j(e)?e:I[e]||Rl(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 me(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},Ui=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},tn=function n(e,t,r){var o=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/dn*(Math.asin(1/o)||0),a=function(u){return u===1?1:o*Math.pow(2,-10*u)*nl((u-s)*i)+1},c=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Ui(a);return i=dn/i,c.config=function(l,u){return n(e,l,u)},c},rn=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)}:Ui(r);return o.config=function(i){return n(e,i)},o};me("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",tn("in"),tn("out"),tn());(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-(di(1-n*n)-1)});xt("Sine",function(n){return n===1?1:-rl(n*el)+1});xt("Back",rn("in"),rn("out"),rn());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-V;return function(a){return((o*ir(0,s,a)|0)+i)*r}}};jt.ease=I["quad.out"];me("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Nn+=n+","+n+"Params,"});var Gi=function(e,t){this.id=tl++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:yi,this.set=t?t.getSetter:Wn},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,Rt(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,Rt(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(Ur(this,r),!i._dp||i.parent||ki(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)===V||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),xi(this,r,o)),this},e.time=function(r,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+wo(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)+wo(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?At(this._tTime,i)+1:1},e.timeScale=function(r,o){if(!arguments.length)return this._rts===-V?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Dr(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-V?0:this._rts,this.totalTime(ir(-Math.abs(this._delay),this.totalDuration(),i),o!==!1),Br(this),hl(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)!==V&&(this._tTime-=V)))),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?Dr(o.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=cl);var o=se;return se=r,Un(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,So(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var o=this._time;return this._rDelay=r,So(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(Ae(this,r),pe(o))},e.restart=function(r,o){return this.play().totalTime(r?-this._delay:0,pe(o)),this._dur||(this._zTime=-V),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?-V:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-V,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)-V)},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:wi,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(){Gt(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:-V,_prom:0,_ps:!1,_rts:1});var he=(function(n){fi(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,Ge(i),o),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&Ci(Ge(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,Ae(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,Ae(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,m,d,g,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,g=l+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(g*100+o,i,s);if(p=Y(u%g),u===c?(d=this._repeat,p=l):(x=Y(u/g),d=~~x,d&&d===x&&(p=l,d--),p>l&&(p=l)),x=At(this._tTime,g),!a&&this._tTime&&x!==d&&this._tTime-x*g-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*g)),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&&(_=_l(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(m=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,m&&(u+=this._zTime=-V);break}}h=m}else{h=this._last;for(var O=o<0?o:p;h;){if(m=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&&Un(h)),p!==this._time||!this._ts&&!b){_=0,m&&(u+=this._zTime=O?-V:V);break}}h=m}}if(_&&!i&&(this.pause(),_.render(p>=a?0:-V)._zTime=p>=a?1:-1,this._ts))return this._start=T,Br(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(Ve(i)||(i=Ae(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=-Re);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&&Nr(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]=Ae(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,Ae(this,o))},t.removePause=function(o){var i=this._first;for(o=Ae(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=Ve(i),u;c;)c instanceof ee?ul(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=Ae(s,o),c=i,l=c.startAt,u=c.onStart,f=c.onStartParams,p=c.immediateRender,h,m=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())||V,onStart:function(){if(s.pause(),!h){var g=i.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());m._dur!==g&&Rt(m,g,0,1).render(m._time,!0,!0),h=1}u&&u.apply(m,f||[])}},i));return p?m.render(0):m},t.tweenFromTo=function(o,i,s){return this.tweenTo(i,Oe({startAt:{time:Ae(this,o)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(o){return o===void 0&&(o=this._time),ko(this,Ae(this,o))},t.previousLabel=function(o){return o===void 0&&(o=this._time),ko(this,Ae(this,o),1)},t.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+V)},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=Re,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;Rt(s,s===X&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(o){if(X._ts&&(xi(X,Dr(o,X)),vi=we.frame),we.frame>=xo){xo+=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 Fl=function(e,t,r,o,i,s,a){var c=new ge(this._pt,e,t,0,1,Xi,null,i),l=0,u=0,f,p,h,m,d,g,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(Kr)||[];f=Kr.exec(o);)m=f[0],d=o.substring(l,f.index),h?h=(h+1)%5:d.substr(-5)==="rgba("&&(h=1),m!==p[u++]&&(g=parseFloat(p[u-1])||0,c._pt={_next:c._pt,p:d||u===1?d:",",s:g,c:m.charAt(1)==="="?Et(g,m)-g:parseFloat(m)-g,m:h&&h<4?Math.round:0},l=Kr.lastIndex);return c.c=l<o.length?o.substring(l,o.length):"",c.fp=a,(mi.test(o)||b)&&(c.e=0),this._pt=c,c},Gn=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?Bl:$i:Vn,m;if(oe(o)&&(~o.indexOf("random(")&&(o=Kt(o)),o.charAt(1)==="="&&(m=Et(p,o)+(le(p)||0),(m||m===0)&&(o=m))),!u||p!==o||yn)return!isNaN(p*o)&&o!==""?(m=new ge(this._pt,e,t,+p||0,o-(p||0),typeof f=="boolean"?Gl:Yi,0,h),l&&(m.fp=l),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(t in e)&&Mn(t,o),Fl.call(this,e,t,p,o,h,c||Ce.stringFilter,l))},Il=function(e,t,r,o,i){if(j(e)&&(e=Xt(e,i,t,r,o)),!Be(e)||e.style&&e.nodeType||ce(e)||hi(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},Hi=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]:Il(t[e],o,i,s,r),r,o,s)!==!1&&(r._pt=c=new ge(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,yn,Hn=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,m=e._dur,d=e._startAt,g=e._targets,b=e.parent,_=b&&b.data==="nested"?b.vars.targets:g,y=e._overwrite==="auto"&&!Rn,T=e.timeline,x=o.easeReverse||f,k,S,v,w,O,N,L,z,B,F,A,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=g[0]?dt(g[0]).harness:0,M=z&&o[z.prop],k=Or(o,zn),d&&(d._zTime<0&&d.progress(1),t<0&&u&&a&&!h?d.render(-1,!0):d.revert(u&&m?Tr:ll),d._lazy=0),s){if(et(e._startAt=ee.set(g,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(Tr),a&&m&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&m&&!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(g,v)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se?e._startAt.revert(Tr):e._startAt.render(-1,!0)),e._zTime=t,!a)n(e._startAt,V,V);else if(!t)return}for(e._pt=e._ptCache=0,c=m&&pe(c)||c&&!m,S=0;S<g.length;S++){if(O=g[S],L=O._gsap||Bn(g)[S]._gsap,e._ptLookup[S]=F={},pn[L.id]&&Ke.length&&Er(),A=_===g?S:_.indexOf(O),z&&(B=new z).init(O,M||k,e,A,_)!==!1&&(e._pt=w=new ge(e._pt,O,B.name,0,1,B.render,B,0,B.priority),B._props.forEach(function(ye){F[ye]=w}),B.priority&&(N=1)),!z||M)for(v in k)Te[v]&&(B=Hi(v,k,e,A,O,_))?B.priority&&(N=1):F[v]=w=Gn.call(e,O,v,"get",k[v],A,_,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&&(pn[L.id]=1)}N&&qi(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!Z,p&&t<=0&&T.render(Re,!0,!0)},Ml=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 yn=1,e.vars[t]="+=0",Hn(e,a),yn=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))},zl=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=Pt({},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},Nl=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},Vi=Nn+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Wi={};me(Vi+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return Wi[n]=1});var ee=(function(n){fi(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,m=c.keyframes,d=c.defaults,g=c.scrollTrigger,b=o.parent||X,_=(ce(r)||hi(r)?Ve(r[0]):"length"in o)?[r]:Le(r),y,T,x,k,S,v,w,O;if(a._targets=_.length?Bn(_):Zt("GSAP target "+r+" not found. https://gsap.com",!Ce.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,m||p||mr(l)||mr(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=Ge(a),y._start=0,p||mr(l)||mr(u)){if(k=_.length,w=p&&Pi(p),Be(p))for(S in p)~Vi.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(T=0;T<k;T++)x=Or(o,Wi),x.stagger=0,N&&(x.easeReverse=N),O&&Pt(x,O),v=_[T],x.duration=+Xt(l,Ge(a),T,v,_),x.delay=(+Xt(u,Ge(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(m){$t(Oe(y.vars.defaults,{ease:"none"})),y._ease=pt(m.ease||o.ease||"none");var L=0,z,B,F;if(ce(m))m.forEach(function(A){return y.to(_,A,">")}),y.duration();else{x={};for(S in m)S==="ease"||S==="easeEach"||Nl(S,m[S],x,m.easeEach);for(S in x)for(z=x[S].sort(function(A,M){return A.t-M.t}),L=0,T=0;T<z.length;T++)B=z[T],F={ease:B.e,duration:(B.t-(T?z[T-1].t:0))/100*l},F[S]=B.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&&!Rn&&(Xe=Ge(a),X.killTweensOf(_),Xe=0),ze(b,Ge(a),i),o.reversed&&a.reverse(),o.paused&&a.paused(!0),(f||!l&&!m&&a._start===Y(b._time)&&pe(f)&&pl(Ge(a))&&b.data!=="nested")&&(a._tTime=-V,a.render(Math.max(0,-u)||0)),g&&Ci(Ge(a),g),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-V&&!u?c:o<V?0:o,p,h,m,d,g,b,_,y;if(!l)gl(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?(m=this._repeat,p=l):(g=Y(f/d),m=~~g,m&&m===g?(p=l,m--):p>l&&(p=l)),b=this._yoyo&&m&1,b&&(p=l-p),g=At(this._tTime,d),p===a&&!s&&this._initted&&m===g)return this._tTime=f,this;m!==g&&this.vars.repeatRefresh&&!b&&!this._lock&&p!==d&&this._initted&&(this._lock=s=1,this.render(Y(d*m),!0).invalidate()._lock=0)}if(!this._initted){if(Ei(this,u?o:p,s,i,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&m!==g))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&&!g&&(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&&mn(this,o,i,s),Se(this,"onUpdate")),this._repeat&&m!==g&&this.vars.onRepeat&&!i&&this.parent&&Se(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&mn(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||Hn(this,l),u=this._ease(l/this._dur),Ml(this,o,i,s,a,u,l,c)?this.resetTo(o,i,s,a,1):(Ur(this,0),this.parent||Si(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?Gt(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||Gt(this),this.parent&&s!==this.timeline.totalDuration()&&Rt(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,m,d,g,b;if((!i||i==="all")&&dl(a,c))return i==="all"&&(this._pt=0),Gt(this);for(f=this._op=this._op||[],i!=="all"&&(oe(i)&&(d={},me(i,function(_){return d[_]=1}),i=d),i=zl(a,i)),b=a.length;b--;)if(~c.indexOf(a[b])){p=l[b],i==="all"?(f[b]=i,m=p,h={}):(h=f[b]=f[b]||{},m=i);for(d in m)g=p&&p[d],g&&((!("kill"in g.d)||g.d.kill(d)===!0)&&Nr(this,g,"_pt"),delete p[d]),h!=="all"&&(h[d]=1)}return this._initted&&!this._pt&&u&&Gt(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});me("staggerTo,staggerFrom,staggerFromTo",function(n){ee[n]=function(){var e=new he,t=_n.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Vn=function(e,t,r){return e[t]=r},$i=function(e,t,r){return e[t](r)},Bl=function(e,t,r,o){return e[t](o.fp,r)},Ul=function(e,t,r){return e.setAttribute(t,r)},Wn=function(e,t){return j(e[t])?$i:Ln(e[t])&&e.setAttribute?Ul:Vn},Yi=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Gl=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Xi=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)},$n=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Hl=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},Vl=function(e){for(var t=this._pt,r,o;t;)o=t._next,t.p===e&&!t.op||t.op===e?Nr(this,t,"_pt"):t.dep||(r=1),t=o;return!r},Wl=function(e,t,r,o){o.mSet(e,t,o.m.call(o.tween,r,o.mt),o)},qi=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},ge=(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||Yi,this.d=c||this,this.set=l||Vn,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=Wl,this.m=r,this.mt=i,this.tween=o},n})();me(Nn+"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 zn[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=Bi;var mt=[],Sr={},$l=[],Eo=0,Yl=0,nn=function(e){return(Sr[e]||$l).map(function(t){return t()})},xn=function(){var e=Date.now(),t=[];e-Eo>2&&(nn("matchMediaInit"),mt.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))}),nn("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(o){return r.add(null,o)})}),Eo=e,nn("matchMedia"))},ji=(function(){function n(t,r){this.selector=r&&bn(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Yl++,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=bn(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=mt.length;s--;)mt[s].id===this.id&&mt.splice(s,1)},e.revert=function(r){this.kill(r||{})},n})(),Xl=(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 ji(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&&(mt.indexOf(s)<0&&mt.push(s),(a[l]=c.matches)&&(u=1),c.addListener?c.addListener(xn):c.addEventListener("change",xn)));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})(),Pr={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 Mi(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?wi:Ti;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&&$n(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)),To(jt,e||{})},config:function(e){return To(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.")}),Jr[t]=function(a,c,l){return r(Le(a),Oe(c||{},i),l)},s&&(he.prototype[t]=function(a,c,l){return this.add(Jr[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 ji(e,t):$},matchMedia:function(e){return new Xl(e)},matchMediaRefresh:function(){return mt.forEach(function(e){var t=e.conditions,r,o;for(o in t)t[o]&&(t[o]=!1,r=1);r&&e.revert()})||xn()},addEventListener:function(e,t){var r=Sr[e]||(Sr[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=Sr[e],o=r&&r.indexOf(t);o>=0&&r.splice(o,1)},utils:{wrap:Sl,wrapYoyo:kl,distribute:Pi,random:Ri,snap:Ai,normalize:wl,getUnit:le,clamp:vl,splitColor:zi,toArray:Le,selector:bn,mapRange:Fi,pipe:xl,unitize:Tl,interpolate:Cl,shuffle:Di},install:_i,effects:Jr,ticker:we,updateRoot:he.updateRoot,plugins:Te,globalTimeline:X,core:{PropTween:ge,globals:bi,Tween:ee,Timeline:he,Animation:er,getCache:dt,_removeLinkedListItem:Nr,reverting:function(){return se},context:function(e){return e&&$&&($.data.push(e),e._ctx=$),$},suppressOverwrites:function(e){return Rn=e}}};me("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Pr[n]=ee[n]});we.add(he.updateRoot);Ct=Pr.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},jl=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))},on=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={},me(i,function(u){return c[u]=1}),i=c),t){c={};for(l in i)c[l]=t(i[l]);i=c}jl(a,i)}}}},be=Pr.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)}},on("roundProps",vn),on("modifiers"),on("snap",Ai))||Pr;ee.version=he.version=be.version="3.15.0";gi=1;Fn()&&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 Oo,qe,Ot,Yn,ft,Do,Xn,Zl=function(){return typeof window<"u"},We={},ct=180/Math.PI,Dt=Math.PI/180,wt=Math.atan2,Po=1e8,qn=/([A-Z])/g,Ql=/(left|right|width|margin|padding|x)/i,Kl=/[\s,\(]\S/,Ne={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Tn=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Jl=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)},ec=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)},tc=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)},rc=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},Zi=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Qi=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},nc=function(e,t,r){return e.style[t]=r},oc=function(e,t,r){return e.style.setProperty(t,r)},ic=function(e,t,r){return e._gsap[t]=r},sc=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},ac=function(e,t,r,o,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},lc=function(e,t,r,o,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},q="transform",_e=q+"Origin",cc=function n(e,t){var r=this,o=this.target,i=o.style,s=o._gsap;if(e in We&&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])},Ki=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},uc=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(qn,"-$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=Xn(),(!i||!i.isStart)&&!r[q]&&(Ki(r),o.zOrigin&&r[_e]&&(r[_e]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},Ji=function(e,t){var r={target:e,props:[],revert:uc,save:cc};return e._gsap||be.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(o){return r.save(o)}),r},es,wn=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(qn,"-$1").toLowerCase())||o.getPropertyValue(t)||!r&&n(e,Ft(t)||t,1)||""},Ao="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--&&!(Ao[s]+e in i););return s<0?null:(s===3?"ms":s>=0?Ao[s]:"")+e},Sn=function(){Zl()&&window.document&&(Oo=window,qe=Oo.document,Ot=qe.documentElement,ft=wn("div")||{style:{}},wn("div"),q=Ft(q),_e=q+"Origin",ft.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",es=!!Ft("perspective"),Xn=be.core.reverting,Yn=1)},Ro=function(e){var t=e.ownerSVGElement,r=wn("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},Lo=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},ts=function(e){var t,r;try{t=e.getBBox()}catch{t=Ro(e),r=1}return t&&(t.width||t.height)||r||(t=Ro(e)),t&&!t.width&&!t.x&&!t.y?{x:+Lo(e,["x","cx","x1"])||0,y:+Lo(e,["y","cy","y1"])||0,width:0,height:0}:t},rs=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&ts(e))},tt=function(e,t){if(t){var r=e.style,o;t in We&&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(qn,"-$1").toLowerCase())):r.removeAttribute(t)}},je=function(e,t,r,o,i,s){var a=new ge(e._pt,t,r,0,1,s?Qi:Zi);return e._pt=a,a.b=o,a.e=i,e._props.push(r),a},Fo={deg:1,rad:1,turn:1},fc={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=Ql.test(t),l=e.tagName.toLowerCase()==="svg",u=(l?"client":"offset")+(c?"Width":"Height"),f=100,p=o==="px",h=o==="%",m,d,g,b;if(o===s||!i||Fo[o]||Fo[s])return i;if(s!=="px"&&!p&&(i=n(e,t,r,"px")),b=e.getCTM&&rs(e),(h||s==="%")&&(We[t]||~t.indexOf("adius")))return m=b?e.getBBox()[c?"width":"height"]:e[u],Q(h?i/m*f:i/100*m);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),g=d._gsap,g&&h&&g.width&&c&&g.time===we.time&&!g.uncache)return Q(i/g.width*f);if(h&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=f+o,m=e[u],_?e.style[t]=_:tt(e,t)}else(h||s==="%")&&!fc[ke(d,"display")]&&(a.position=ke(e,"position")),d===e&&(a.position="static"),d.appendChild(ft),m=ft[u],d.removeChild(ft),a.position="absolute";return c&&h&&(g=dt(d),g.time=we.time,g.width=d[u]),Q(p?m*i/f:m&&i?f/m*i:0)},He=function(e,t,r,o){var i;return Yn||Sn(),t in Ne&&t!=="transform"&&(t=Ne[t],~t.indexOf(",")&&(t=t.split(",")[0])),We[t]&&t!=="transform"?(i=rr(e,o),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Rr(ke(e,_e))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=Ar[t]&&Ar[t](e,t,r)||ke(e,t)||yi(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?rt(e,t,i,r)+r:i},dc=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 ge(this._pt,e.style,t,0,1,Xi),c=0,l=0,u,f,p,h,m,d,g,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],Bi(u),r=u[0],o=u[1],p=r.match(kt)||[],x=o.match(kt)||[],x.length){for(;f=kt.exec(o);)g=f[0],_=o.substring(c,f.index),m?m=(m+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(m=1),g!==(d=p[l++]||"")&&(h=parseFloat(d)||0,T=d.substr((h+"").length),g.charAt(1)==="="&&(g=Et(h,g)+T),b=parseFloat(g),y=g.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:m&&m<4||t==="zIndex"?Math.round:0});a.c=c<o.length?o.substring(c,o.length):""}else a.r=t==="display"&&o==="none"?Qi:Zi;return mi.test(o)&&(a.e=0),this._pt=a,a},Io={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},hc=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]=Io[r]||r,t[1]=Io[o]||o,t.join(" ")},pc=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],We[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,Ki(o)))}},Ar={clearProps:function(e,t,r,o,i){if(i.data!=="isFromStart"){var s=e._pt=new ge(e._pt,t,r,0,0,pc);return s.u=o,s.pr=-10,s.tween=i,e._props.push(r),1}}},tr=[1,0,0,1,0,0],ns={},os=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Mo=function(e){var t=ke(e,q);return os(t)?tr:t.substr(7).match(pi).map(Q)},jn=function(e,t){var r=e._gsap||dt(e),o=e.style,i=Mo(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=Mo(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)},kn=function(e,t,r,o,i,s){var a=e._gsap,c=i||jn(e,!0),l=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,h=c[0],m=c[1],d=c[2],g=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*g-m*d)&&(v=T*(g/S)+x*(-d/S)+(d*_-g*b)/S,w=T*(-m/S)+x*(h/S)-(h*_-m*b)/S,T=v,x=w):(k=ts(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*m+_*g)-_):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 Gi(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,m,d,g,b,_,y,T,x,k,S,v,w,O,N,L,z,B,F,A,M,Z,ye,D,re,xe,ue,ne,U;return u=f=p=d=g=b=_=y=T=0,h=m=1,r.svg=!!(e.getCTM&&rs(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=jn(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"),kn(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],B=S[3],u=F=S[4],f=A=S[5],S.length===6?(h=Math.sqrt(N*N+L*L),m=Math.sqrt(B*B+z*z),d=N||L?wt(L,N)*ct:0,_=z||B?wt(z,B)*ct+d:0,_&&(m*=Math.abs(Math.cos(_*Dt))),r.svg&&(u-=x-(x*N+k*z),f-=k-(x*L+k*B))):(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),g=v*ct,v&&(w=Math.cos(-v),O=Math.sin(-v),M=F*w+D*O,Z=A*w+re*O,ye=U*w+xe*O,D=F*-O+D*w,re=A*-O+re*w,xe=U*-O+xe*w,ne=ue*-O+ne*w,F=M,A=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=B*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+A*O,L=L*w-N*O,A=A*w-F*O,N=M,F=Z),g&&Math.abs(g)+Math.abs(d)>359.9&&(g=d=0,b=180-b),h=Q(Math.sqrt(N*N+L*L+z*z)),m=Q(Math.sqrt(A*A+U*U)),v=wt(F,A),_=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","")||!os(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):(m*=-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(m),r.rotation=Q(d)+a,r.rotationX=Q(g)+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]=Rr(l)),r.xOffset=r.yOffset=0,r.force3D=Ce.force3D,r.renderTransform=r.svg?gc:es?is:mc,r.uncache=0,r},Rr=function(e){return(e=e.split(" "))[0]+" "+e[1]},sn=function(e,t,r){var o=le(t);return Q(parseFloat(t)+parseFloat(rt(e,"x",r+"px",o)))+o},mc=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,is(e,t)},st="0deg",Bt="0px",at=") ",is=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,m=r.scaleX,d=r.scaleY,g=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=sn(_,s,S*w*-y),a=sn(_,a,-Math.sin(k)*-y),c=sn(_,c,v*w*-y+y)}g!==Bt&&(T+="perspective("+g+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),(m!==1||d!==1)&&(T+="scale("+m+", "+d+at),_.style[q]=T||"translate(0, 0)"},gc=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,m=r.xOrigin,d=r.yOrigin,g=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")),(m||d||g||b)&&(y=Q(y+m-(m*x+d*S)+g),T=Q(T+d-(m*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)},_c=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*Po)%s-~~(l/s)*s:f==="ccw"&&l>0&&(l=(l-s*Po)%s-~~(l/s)*s)),e._pt=p=new ge(e._pt,t,r,o,l,Jl),p.e=u,p.u="deg",e._props.push(r),p},zo=function(e,t){for(var r in t)e[r]=t[r];return e},bc=function(e,t,r){var o=zo({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,c,l,u,f,p,h,m;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 We)l=o[c],u=a[c],l!==u&&i.indexOf(c)<0&&(h=le(l),m=le(u),f=h!==m?rt(r,c,l,m):parseFloat(l),p=parseFloat(u),e._pt=new ge(e._pt,a,c,f,p-f,Tn),e._pt.u=m||0,e._props.push(c));zo(a,o)};me("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});Ar[e>1?"border"+n:n]=function(a,c,l,u,f){var p,h;if(arguments.length<4)return p=s.map(function(m){return He(a,m,l)}),h=p.join(" "),h.split(p[0]).length===5?p[0]:h;p=(u+"").split(" "),h={},s.forEach(function(m,d){return h[m]=p[d]=p[d]||p[(d-1)/2|0]}),a.init(c,h,f)}});var ss={name:"css",register:Sn,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,m,d,g,b,_,y,T,x,k,S,v,w;Yn||Sn(),this.styles=this.styles||Ji(e),v=this.styles.props,this.tween=r;for(d in t)if(d!=="autoRound"&&(u=t[d],!(Te[d]&&Hi(d,t,r,o,e,i)))){if(h=typeof u,m=Ar[d],h==="function"&&(u=u.call(r,o,e,i),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=Kt(u)),m)m(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)||(g=le(l),b=le(u),b?g!==b&&(l=rt(e,d,l,b)+b):g&&(u+=g)),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 We,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 ge(this._pt,a,q,0,1,x.renderTransform,x,0,-1),T.dep=1),d==="scale")this._pt=new ge(this._pt,x,"scaleY",x.scaleY,(_?Et(x.scaleY,_+f):f)-x.scaleY||0,Tn),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){v.push(_e,0,a[_e]),u=hc(u),x.svg?kn(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,Rr(l),Rr(u)));continue}else if(d==="svgOrigin"){kn(e,u,1,k,0,this);continue}else if(d in ns){_c(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"){bc(this,u,e);continue}}else d in a||(d=Ft(d)||d);if(y||(f||f===0)&&(p||p===0)&&!Kl.test(u)&&d in a)g=(l+"").substr((p+"").length),f||(f=0),b=le(u)||(d in Ce.units?Ce.units[d]:g),g!==b&&(p=rt(e,d,l,b)),this._pt=new ge(this._pt,y?x:a,d,p,(_?Et(p,_+f):f)-p,!y&&(b==="px"||d==="zIndex")&&t.autoRound!==!1?rc:Tn),this._pt.u=b||0,y&&w!==u?(this._pt.b=l,this._pt.e=w,this._pt.r=tc):g!==b&&b!=="%"&&(this._pt.b=l,this._pt.r=ec);else if(d in a)dc.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"){Mn(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&&qi(this)},render:function(e,t){if(t.tween._time||!Xn())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 We&&t!==_e&&(e._gsap.x||He(e,"x"))?r&&Do===r?t==="scale"?sc:ic:(Do=r||{})&&(t==="scale"?ac:lc):e.style&&!Ln(e.style[t])?nc:~t.indexOf("-")?oc:Wn(e,t)},core:{_removeProperty:tt,_getMatrix:jn}};be.utils.checkPrefix=Ft;be.core.getStyleSaver=Ji;(function(n,e,t,r){var o=me(n+","+e+","+t,function(i){We[i]=1});me(e,function(i){Ce.units[i]="deg",ns[i]=1}),Ne[o[13]]=n+","+e,me(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");me("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ce.units[n]="px"});be.registerPlugin(ss);var fe=be.registerPlugin(ss)||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 vc=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,yc=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,xc=Math.PI/180,gr=Math.sin,_r=Math.cos,qt=Math.abs,Ut=Math.sqrt,Tc=function(e){return typeof e=="number"},No=1e5,Ye=function(e){return Math.round(e*No)/No||0},Bo=function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001};function wc(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 Sc(n,e,t,r,o,i,s,a,c){if(!(n===a&&e===c)){t=qt(t),r=qt(r);var l=o%360*xc,u=_r(l),f=gr(l),p=Math.PI,h=p*2,m=(n-a)/2,d=(e-c)/2,g=u*m+f*d,b=-f*m+u*d,_=g*g,y=b*b,T=_/(t*t)+y/(r*r);T>1&&(t=Ut(T)*t,r=Ut(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)*Ut(S),w=v*(t*b/r),O=v*-(r*g/t),N=(n+a)/2,L=(e+c)/2,z=N+(u*w-f*O),B=L+(f*w+u*O),F=(g-w)/t,A=(b-O)/r,M=(-g-w)/t,Z=(-b-O)/r,ye=F*F+A*A,D=(A<0?-1:1)*Math.acos(F/Ut(ye)),re=(F*Z-A*M<0?-1:1)*Math.acos((F*M+A*Z)/Ut(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*gr(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,g=_r(o),b=gr(o),F=_r(o+=ne),A=gr(o),ue.push(g-U*b,b+U*g,F+U*A,A-U*F,F,A);for(ae=0;ae<ue.length;ae+=2)g=ue[ae],b=ue[ae+1],ue[ae]=g*ie+b*ar+z,ue[ae+1]=g*Tt+b*J+B;return ue[ae-2]=a,ue[ae-1]=c,ue}}function kc(n){var e=(n+"").replace(yc,function(w){var O=+w;return O<1e-4&&O>-1e-4?0:O}).match(vc)||[],t=[],r=0,o=0,i=2/3,s=e.length,a=0,c="ERROR: malformed path: "+n,l,u,f,p,h,m,d,g,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(),m=h!==e[l]):l--,f=+e[l+1],p=+e[l+2],m&&(f+=r,p+=o),l||(g=f,b=p),h==="M")d&&(d.length<8?t.length-=1:a+=d.length,Bo(d)),r=g=f,o=b=p,d=[f,p],t.push(d),l+=2,h="L";else if(h==="C")d||(d=[0,0]),m||(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]),m||(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,m||(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+(m?o-r:0)),l+=1;else if(h==="L"||h==="Z")h==="Z"&&(f=g,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=Sc(r,o,+e[l+1],+e[l+2],+e[l+3],+k,+S,(m?r:0)+_*1,(m?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):Bo(d),t.totalPoints=a+l,t}function Cc(n){Tc(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,as,ls=function(){return de||typeof window<"u"&&(de=window.gsap)&&de.registerPlugin&&de},Uo=function(){de=ls(),de?(de.registerEase("_CE",bt.create),as=1):console.warn("Please gsap.registerPlugin(CustomEase)")},Ec=1e20,br=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},Oc=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,Dc=/[cLlsSaAhHvVtTqQ]/g,Pc=function(e){var t=e.length,r=Ec,o;for(o=1;o<t;o+=6)+e[o]<r&&(r=+e[o]);return r},Ac=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])?Pc(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},Rc=function n(e,t,r,o,i,s,a,c,l,u,f){var p=(e+r)/2,h=(t+o)/2,m=(r+i)/2,d=(o+s)/2,g=(i+a)/2,b=(s+c)/2,_=(p+m)/2,y=(h+d)/2,T=(m+g)/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,g,b,a,c,l,u,f+1+(u.length-L))),u},bt=(function(){function n(t,r,o){as||Uo(),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(Oc),s=1,a=[],c=[],l=o.precision||1,u=l<=1,f,p,h,m,d,g,b,_,y;if(this.data=r,(Dc.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(i=kc(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)&&Ac(i,o.height,o.originY),this.segment=i,m=2;m<f;m+=6)p={x:+i[m-2],y:+i[m-1]},h={x:+i[m+4],y:+i[m+5]},a.push(p,h),Rc(p.x,p.y,+i[m],+i[m+1],+i[m+2],+i[m+3],h.x,h.y,1/(l*2e5),a,a.length-1);for(f=a.length,m=0;m<f;m++)b=a[m],_=a[m-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&&m>1&&Math.abs(_.cy/_.cx-a[m-2].cy/a[m-2].cx)>2&&(u=0),_.cx<s&&(_.cx?s=_.cx:(_.cx=.001,m===f-1&&(_.x-=.001,s=Math.min(s,.001),u=0)))):(a.splice(m--,1),f--);if(f=1/s+1|0,d=1/f,g=0,b=a[0],u){for(m=0;m<f;m++)y=m*d,b.nx<y&&(b=a[++g]),p=b.y+(y-b.x)/b.cx*b.cy,c[m]={x:y,cx:d,y:p,cy:0,nx:9},m&&(c[m-1].cy=p-c[m-1].y);g=a[a.length-1],c[f-1].cy=g.y-p,c[f-1].cx=g.x-c[c.length-1].x}else{for(m=0;m<f;m++)b.nx<m*d&&(b=a[++g]),c[m]=b;g<a.length-1&&(c[m-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,Uo()},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,m,d,g,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=Cc(wc([r.segment.slice(0)],i,0,0,-s,a,c));else{for(u=[a,c],g=Math.max(5,(o.precision||1)*200),h=1/g,g+=2,b=5/g,_=br(a+h*i),y=br(c+r(h)*-s),f=(y-c)/(_-a),p=2;p<g;p++)m=br(a+p*h*i),d=br(c+r(p*h)*-s),(Math.abs((d-y)/(m-_)-f)>b||p===g-1)&&(u.push(_,y),f=(d-y)/(m-_)),_=m,y=d;u="M"+u.join(",")}return l&&l.setAttribute("d",u),u},n})();bt.version="3.15.0";bt.headless=!0;ls()&&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 Go=typeof document<"u"?P.useLayoutEffect:P.useEffect,Ho=n=>n&&!Array.isArray(n)&&typeof n=="object",vr=[],Lc={},cs=fe;const Gr=(n,e=vr)=>{let t=Lc;Ho(n)?(t=n,n=null,e="dependencies"in t?t.dependencies:vr):Ho(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=P.useRef(!1),s=P.useRef(cs.context(()=>{},r)),a=P.useRef(l=>s.current.add(null,l)),c=e&&e.length&&!o;return c&&Go(()=>(i.current=!0,()=>s.current.revert()),vr),Go(()=>{if(n&&s.current.add(n,r),!c||!i.current)return()=>s.current.revert()},e),{context:s.current,contextSafe:a.current}};Gr.register=n=>{cs=n};Gr.headless=!0;const us={surfaceDuration:"--motion-surface-duration"},Hr={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 W={...Hr},fs=0;const Cn=new Set;function Fc(n){return Cn.add(n),()=>{Cn.delete(n)}}function Ic(){return fs}function Zn(n,e=W){if(typeof document>"u")return;const t=n??document.documentElement,r=us.surfaceDuration;e.surfaceTransitionDuration===Hr.surfaceTransitionDuration?t.style.removeProperty(r):t.style.setProperty(r,`${e.surfaceTransitionDuration}ms`)}function ds(n){W={...W,...n},fs+=1,Zn(document.documentElement,W);for(const e of Cn)e()}function Fe(){return W}function Mc(){return{duration:W.interactiveDuration/1e3,ease:W.interactiveEase}}function zc(){return{duration:W.selectionFillDuration/1e3,ease:W.selectionFillEase}}function Nc(){return{duration:W.tooltipDuration/1e3,ease:W.interactiveEase}}function Bc(){return{duration:W.switchThumbDuration/1e3,ease:W.switchThumbEase}}function Uc(){return{duration:W.expandDuration/1e3,ease:W.expandOpenEase}}function Gc(){return{duration:W.tooltipDuration/1e3,ease:W.interactiveEase}}function Hc(){return{duration:W.feedbackExpandDuration/1e3}}function Vc(){return{duration:W.progressFillDuration/1e3,ease:W.progressFillEase}}function Wc(){return{duration:W.toastDismissDuration/1e3,ease:W.toastDismissEase}}const $c=3;function Yc(){const n=W.loadingDotsDuration/1e3;return{cycleSec:n,staggerSec:n/$c,halfCycleSec:n/2,easeUp:W.loadingDotsEaseUp,easeDown:W.loadingDotsEaseDown,enabled:W.enableLoadingDots}}fe.registerPlugin(bt,Gr);const an="brn-ripple";let Vo="";function hs(){const n=Fe().rippleEaseCss;if(Vo!==n){const e=/cubic-bezier\(\s*([\d.]+),\s*([\d.]+),\s*([\d.]+),\s*([\d.]+)\s*\)/.exec(n);e?bt.create(an,`${e[1]},${e[2]},${e[3]},${e[4]}`):bt.create(an,"0.25,0.55,0.35,0.95"),Vo=n}return an}function De(...n){fe.killTweensOf(n)}const ps=1024,Qn=`(max-width: ${ps}px), (hover: none), (pointer: coarse)`,Xc=`${Qn}, (any-pointer: coarse)`;function qc(n){return n||document.documentElement}function En(n,e){return typeof window>"u"?"none":getComputedStyle(qc(e)).getPropertyValue(n).trim()||"none"}function sr(n){return n==="none"?"var(--shadow-none)":`var(${An[n]})`}const Lr=()=>sr("none"),Mt=()=>sr("base"),ms=()=>sr("mid"),jc=()=>sr("large");function Zc(n,e){return En(n==="none"?"--shadow-none":An[n],e)}function Vr(n,e){n&&n.style.setProperty("--el-shadow",e)}function Wr(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Qc(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia(Qn).matches}function ve(){return Wr()||Qc()||!Fe().enableHoverLift}const Kc=2.4,Jc=.003,eu=1.8,tu=.002;function gs(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(Kc/r,Jc),o)}function Kn(n){return Jn(n)}function ru(n){return gs(n)}function Jn(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1);return 1+Math.min(Math.max(eu/r,tu),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??Lr()));return}De(n);const o=e?t!==void 0?t:Jn(n):1,i=Fe();if(fe.to(n,{scale:o,duration:i.interactiveDuration/1e3,ease:i.hoverLiftEase,overwrite:"auto"}),r){const s=r.idle??Lr();n.style.setProperty("--el-shadow",e?r.hover:s)}}function nu(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=gs(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:Jn(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??Lr();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 m;(m=e==null?void 0:e.onReleaseStart)==null||m.call(e)}).to(n,{scale:c,duration:l,ease:u,overwrite:"auto"})})}function _s(n,e,t,r,o){return P.useEffect(()=>{const i=n.current;return()=>{i&&De(i)}},[n]),P.useMemo(()=>({onPointerOver:a=>{if(!e||a.defaultPrevented)return;const c=a.currentTarget;if(!(a.target instanceof Node)||!c.contains(a.target)||!ui(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 ou="pointer-events-none absolute z-0 rounded-full",ln=.12;function iu({id:n,x:e,y:t,size:r,durationMs:o,opacityFrom:i,background:s,direction:a,onDone:c}){const l=P.useRef(null),u=P.useRef(c);return u.current=c,P.useLayoutEffect(()=>{const f=l.current;if(!f)return;let p=!1;De(f);const h=a==="out"?ln:1,m=a==="out"?1:ln,d=fe.fromTo(f,{scale:h,autoAlpha:i},{scale:m,autoAlpha:0,duration:o/1e3,ease:hs(),onComplete:()=>{p||u.current(n)}});return()=>{p=!0,d.kill(),De(f)}},[n,e,t,r,o,i,s,a]),xr.jsx("span",{ref:l,className:ou,style:{left:e-r/2,top:t-r/2,width:r,height:r,background:s,transformOrigin:"center center",transform:`scale(${a==="out"?ln:1})`},"aria-hidden":!0})}function su({ripples:n,tone:e,onDone:t,durationMs:r=Fe().rippleDefaultDuration,opacityFrom:o=Fe().rippleDefaultOpacityFrom,direction:i="in"}){return xr.jsx(xr.Fragment,{children:n.map(s=>xr.jsx(iu,{...s,background:e,durationMs:r,opacityFrom:o,direction:i,onDone:t},s.id))})}function au(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 eo(n,e,t,r){const o=n.getBoundingClientRect(),i=e-o.left,s=t-o.top,a=au(i,s,o.width,o.height)*2;return{id:r,x:i,y:s,size:a}}function lu(n,e){const t=n.currentTarget;return t?eo(t,n.clientX,n.clientY,e):null}function cu(){const n=P.useRef(0),[e,t]=P.useState([]),r=P.useCallback(s=>{t(a=>a.filter(c=>c.id!==s))},[]),o=P.useCallback((s,a,c)=>{const l=++n.current,u=eo(s,a,c,l);t(f=>[...f,u])},[]),i=P.useCallback(s=>{const a=s.currentTarget;a&&o(a,s.clientX,s.clientY)},[o]);return{ripples:e,pushFromPointer:i,pushAtClientCoords:o,dismiss:r}}const uu=["small","base","mid","strong","bold"],$r={small:"--font-w-small",base:"--font-w-base",mid:"--font-w-mid",strong:"--font-w-strong",bold:"--font-w-bold"},bs={small:400,base:500,mid:600,strong:700,bold:800};function fu(n){return`var(--font-w-${n})`}const vt=Qe.textScale,du=["--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"];function K(n){return`var(--color-${n})`}const On="data-gloss-motion-init",to="will-change-transform origin-center",Wo={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}},hu=120,pu=.35;function mu(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1);return Math.min(1,Math.max(pu,hu/r))}function gu(n,e){const t=Wo.rest,r=Wo[e];if(e==="rest")return r;const o=mu(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 _u(n,e){const t=gu(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 bu(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{..._u(n,e),boxShadow:bu(n,e)}}function Fr(n){De(n),fe.set(n,{scale:1,...It(n,"rest")})}let cn=null;function vs(n){if(ve()){Fr(n);return}const e=n.matches(":hover")||n.matches(":focus-within");if(De(n),e){fe.set(n,{scale:Kn(n),...It(n,"hover")});return}Fr(n)}function vu(n){if(typeof document>"u")return;document.querySelectorAll(`[${On}]`).forEach(vs)}function yu(){cn||typeof document>"u"||(cn=new MutationObserver(n=>{for(const e of n)if(e.type==="attributes"&&e.attributeName==="data-theme"){vu();return}}),cn.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}))}function ro(n,e=!0){return t=>{n.current=t,t&&e&&(yu(),t.hasAttribute(On)||(t.setAttribute(On,""),Fr(t)))}}function xu(n,e=!0){const t=P.useRef(null),r=P.useMemo(()=>ro(t,e),[e]);return P.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:Kn(n):1;fe.to(n,{scale:i,...It(n,o),duration:r.interactiveDuration/1e3,ease:r.hoverLiftEase,overwrite:"auto"})}function ys(n,e=!1,t,r){if(Wr())return Promise.resolve();const o=Fe();if(!o.enablePressSqueeze)return r==null||r(),ve()||or(n,e,t),Promise.resolve();De(n);const i=ru(n),s=o.interactiveDuration*1.15/1e3,a=s*.3,c=s*1,l=!ve(),u=e&&l,f=u?"hover":"rest",p=u?Kn(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 xs(n,e,t){const r=t==null?void 0:t.liftScale,o=t==null?void 0:t.pointerInsideRef;return P.useLayoutEffect(()=>{if(!e)return;const i=n.current;i&&Fr(i)},[e,n]),P.useEffect(()=>{const i=n.current;return()=>{i&&De(i)}},[n]),P.useMemo(()=>({onPointerOver:a=>{if(!e||a.defaultPrevented)return;const c=a.currentTarget;if(!(a.target instanceof Node)||!c.contains(a.target)||!ui(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 Tu(n,e){const t=P.useRef(!1),r=P.useRef(!1),o=P.useRef(!1),i=P.useMemo(()=>ro(n,e),[n,e]),s=P.useCallback(()=>{const h=n.current;if(!h||!e||ve())return;const m=t.current||r.current;or(h,m)},[e,n]),a=xs(n,e,{pointerInsideRef:t});P.useLayoutEffect(()=>{if(!e)return;const h=n.current;if(!h||typeof ResizeObserver>"u")return;const m=new ResizeObserver(()=>{vs(h)});return m.observe(h),()=>m.disconnect()},[e,n]);const c=P.useCallback(h=>{a.onPointerOver(h),r.current&&s()},[a,s]),l=P.useCallback(h=>{a.onPointerOut(h),r.current&&s()},[a,s]),u=P.useCallback(()=>{e&&(r.current=!0,!(o.current||t.current)&&s())},[e,s]),f=P.useCallback(h=>{if(!e)return;const m=n.current;m&&h.relatedTarget instanceof Node&&m.contains(h.relatedTarget)||(r.current=!1,s())},[e,n,s]),p=P.useCallback(()=>{if(!e)return;const h=n.current;!h||Wr()||(t.current=!0,o.current=!0,ys(h,!0).finally(()=>{o.current=!1}))},[e,n]);return{bindShellRef:i,shellHoverMotionClass:e?to:"",onShellPointerEnter:c,onShellPointerLeave:l,onShellFocusIn:u,onShellFocusOut:f,onShellPointerDown:p}}const Yr="animate-shadow will-change-transform origin-center";function wu(){return{hover:Mt()}}function no(){return{idle:Mt(),hover:ms()}}function Su(n,e,t=Mt,r){P.useLayoutEffect(()=>{e&&Vr(n.current,t())},[e,n,t,r])}function Ts(n,e,t){const r=P.useMemo(()=>no(),[]),o=(t==null?void 0:t.resolveIdle)??Mt;P.useLayoutEffect(()=>{e&&Vr(n.current,o())},[e,n,o,t==null?void 0:t.idleSyncKey]);const i=P.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=P.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?Yr:"",shadow:r,onPointerEnter:i,onPointerLeave:s}}function ku(n,e,t){const r=P.useMemo(()=>no(),[]),o=(t==null?void 0:t.resolveIdle)??Mt;P.useLayoutEffect(()=>{e&&Vr(n.current,o())},[e,n,o,t==null?void 0:t.idleSyncKey]);const i=_s(n,e,t==null?void 0:t.pointerInsideRef,t==null?void 0:t.liftScale,r);return{motionClass:e?Yr:"",shadow:r,...i}}const Vt={danger:"text-danger",success:"text-success",info:"text-info",warning:"text-warning"},ws={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"},Ss={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"},Cu={danger:"text-danger-foreground",success:"text-success-foreground",info:"text-info-foreground",warning:"text-warning-foreground"},ks={danger:"border-token-danger",success:"border-token-success",info:"border-token-info",warning:"border-token-warning"},Cs="surface-color-transition motion-reduce:transition-none",Eu="text-color-transition motion-reduce:transition-none",Ou={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 Es(n="default",e="focus-visible"){return Ou[n][e]}function Os(n="default"){return G(Cs,Es(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:""},Du=new Set(["default","primary","outline","secondary","ghost"]),Ds={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"}},Pu={default:"",danger:"gloss-btn-danger",success:"gloss-btn-success",info:"gloss-btn-info",warning:"gloss-btn-warning"},Au={default:"focus-visible:outline-primary",danger:"focus-visible:outline-danger",success:"focus-visible:outline-success",info:"focus-visible:outline-info",warning:"focus-visible:outline-warning"},Ru={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")},Lu={danger:K("converge-ripple-danger"),success:K("converge-ripple-success"),info:K("converge-ripple-info"),warning:K("converge-ripple-warning")},Fu={small:"[&_svg]:icon-small",base:"[&_svg]:icon-base",mid:"[&_svg]:icon-mid",large:"[&_svg]:icon-large"},Iu={small:"small",base:"base",mid:"mid",large:"large"},Mu="relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none",zu="pointer-events-none absolute inset-0 z-0 overflow-hidden",Nu="relative z-[1] grid w-full min-w-0 place-items-center",Bu="origin-center will-change-transform",Uu="col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall",Gu="inline-flex shrink-0 items-center justify-center",Hu="min-w-0 shrink",oo="col-start-1 row-start-1 flex items-center justify-center",Vu="text-success",Wu="text-danger",$u="animate-spin motion-reduce:animate-none",Yu="cursor-pointer",Xu="opacity-50";function qu(n,e){const{root:t}=Ds[n];return n==="outline"&&e!=="default"?"bg-transparent text-foreground":t}function ju(n){return Ds[n].loaderText}function Zu(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 Qu(n,e){if(e==="default")return"";switch(n){case"default":return G(ws[e],Vt[e]);case"primary":return Ss[e];case"outline":return G(ks[e],Vt[e]);case"secondary":return Vt[e];case"ghost":return Vt[e];case"gloss":return""}}function Ku(n,e,t){return t?"":Os(Zu(n,e))}function Ju(n,e){return n==="primary"&&e!=="default"?Cu[e]:ju(n)}function ef(n,e){return n==="primary"?e==="default"?K("converge-ripple-primary-fill"):Lu[e]:Ru[e]}const tf={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function rf(n,e=_t[n].minWButton){const t=_t[n];return G(e,t.padX,t.padY)}function nf(n,e=!1){const t=_t[n];return G(tf[n],e?"min-w-fit":t.minWButton,t.padX,t.padY)}function of(n){const e=_t[n];return G(e.spinnerIcon,e.spinnerBorder)}function sf(){return"pointer-events-none absolute left-1/2 top-1/2 z-0 rounded-full will-change-[transform,opacity]"}function af(){return"box-border inline-block rounded-full border-current border-t-transparent"}function lf({groupSegment:n,slotClass:e,className:t}){return G(Nu,n&&Bu,e,t)}function cf({slotClass:n,className:e,layoutClass:t}){return G(Uu,n,t,e)}function uf(n,e){return G(Gu,Fu[n],e)}function ff(n,e){return G(Hu,n,e)}function df(n,e){return G(oo,n,e)}function hf(n){return G(oo,Vu,n)}function pf(n){return G(oo,Wu,n)}function mf(){return"shrink-0"}const gf={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")},_f={danger:K("converge-ripple-danger"),success:K("converge-ripple-success"),info:K("converge-ripple-info"),warning:K("converge-ripple-warning")};function bf(n,e="default"){return e!=="default"?_f[e]:gf[n]}function vf(n,e,t,r,o){return n?G("gloss-btn",to,Pu[e]):G(qu(t,e),Qu(t,e),!r&&Yr,Ku(t,e,o))}const yf={small:"small",base:"base",mid:"mid",large:"large"},xf={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function Ps(n){const{padX:e,padY:t}=_t[n];return G(xf[n],e,t)}function io(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 Tf(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 wf(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 As(n){return n==null?"":G(io(n),Tf(n),"!border-0 [border:0!important] !shadow-none [box-shadow:none!important]","z-0 focus-visible:z-[2]")}function Rs(n){return G("relative inline-flex shrink-0 select-none items-center justify-center border-token bg-surface text-muted",io(n),n!=null&&As(n),"z-0")}function Sf({orientation:n,segmented:e,variant:t,className:r}){return G("inline-flex text-left w-fit",!e&&G("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-['']"),G(n==="horizontal"?"flex-row flex-nowrap items-stretch":"flex-col flex-nowrap items-stretch",e&&"gap-xsmall"),r)}function kf(n,e){return G("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 Cf({groupSegment:n,groupVariant:e,buttonSize:t,className:r}){return G(Rs(n),e==="gloss"&&"bg-transparent text-foreground","inline-flex items-center",Ps(t),r)}const Ef="max-w-component-xsmall truncate font-w-base whitespace-nowrap md:max-w-component-base",Ls={default:"bg-surface",outline:"bg-transparent",secondary:"bg-secondary"};function Of(n){return n==="secondary"?"secondary":"default"}function Df(n){return n==="gloss"?"gloss":n==="outline"?"outline":n==="secondary"?"secondary":"default"}function Pf({variant:n,statusTinted:e,statusTintClass:t}){return n==="gloss"?"gloss-control":e?G(t,"border-token"):n==="outline"?"bg-transparent border-token":G(Ls[n],"border-token")}const Af={default:"default",danger:"danger-tint-hover",success:"success-tint-hover",info:"info-tint-hover",warning:"warning-tint-hover"};function Rf(n,e="default",t="default"){if(!n)return"";const r=e!=="default"?Af[e]:Of(t);return Es(r,"focus-within")}const Lf="field-shell-transition motion-reduce:transition-none",Ff="focus-within-ring";function If(n,e){const t=Ts(n,e);return{shellHoverMotionClass:t.motionClass,onShellPointerEnter:t.onPointerEnter,onShellPointerLeave:t.onPointerLeave}}function Mf(n){const e=_t[n];return G("flex self-stretch shrink-0 items-center text-muted",e.affixPadX,e.affixText)}const zf={small:"min-w-control-small",base:"min-w-control-base",mid:"min-w-control-mid",large:"min-w-control-large"};function Nf(n){return zf[n]}const Bf={small:"--control-height-small",base:"--control-height-base",mid:"--control-height-mid",large:"--control-height-large"},Uf={small:1.75,base:2.2,mid:2.5,large:3},$o=new Map;function Gf(n){if(typeof document>"u")return null;const e=$o.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(${Bf[n]})`,document.body.appendChild(t);const r=t.getBoundingClientRect().height;if(document.body.removeChild(t),r>0)return $o.set(n,r),r}catch{}return null}function Hf(n,e=16){return Gf(n)??e*Uf[n]}const Vf={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)"},Wf={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)"},Fs={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:"#ebebef",indicator:"#ebebef",indicatorForeground:"#0c0c0e",danger:"#e34848",success:"#22c55e",info:"#0ea5e9",warning:"#f59e0b",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) 30%, black)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 40%, black)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 90%, black)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 30%, black)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 40%, black)",successFillHover:"color-mix(in oklab, var(--color-success) 90%, black)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 30%, black)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 40%, black)",infoFillHover:"color-mix(in oklab, var(--color-info) 90%, black)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 30%, black)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 40%, black)",warningFillHover:"color-mix(in oklab, var(--color-warning) 90%, black)",...Vf},Is={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:"#18181b",indicator:"#18181b",indicatorForeground:"#fafafa",danger:"#dc2626",success:"#22c55e",info:"#0ea5e9",warning:"#f59e0b",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) 14%, white)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 22%, white)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 90%, black)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 14%, white)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 22%, white)",successFillHover:"color-mix(in oklab, var(--color-success) 90%, black)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 15%, white)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 22%, white)",infoFillHover:"color-mix(in oklab, var(--color-info) 90%, black)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 14%, white)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 22%, white)",warningFillHover:"color-mix(in oklab, var(--color-warning) 90%, black)",...Wf},Xr={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",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"},Ms={space:.5,size:1,radius:.5,borderWidth:1,focusRingWidth:2,focusRingOffset:0,textScale:1,shadowStrength:1,shadowSize:1,toastScrimSize:1,toastScrimDensity:1},zs=(()=>{const{pressSqueezeScale:n,...e}=Hr;return{...e,pressSqueezeMid:n[1]}})(),Ns=Qe.fontFamilySans,Bs=Qe.fontFamilyMono,$f=.9375,Yf=.875,Xf=.25;function Wt(n){const e=Math.round(n*1e8)/1e8;return String(e)}function gt(n){if(n===0)return"0rem";const e=Wt(n*$f),t=Wt(n*Yf),r=Wt(n*Xf),o=Wt(n);return`clamp(${e}rem, ${t}rem + ${r}vw, ${o}rem)`}function yr(n){return n===0?"0":`calc(${n}px * var(--shadow-size))`}function qf(n,e,t,r,o){return`${yr(n)} ${yr(e)} ${yr(t)} ${yr(r)} rgb(0 0 0 / ${Wt(o)})`}function Ze(n,e,t){const r=li[e][n]*t,[o,i,s,a]=ci[n][0];return qf(o,i,s,a,r)}function jf(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 Zf(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 Qf(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 Kf(n){for(const e of Object.keys(vt))n.style.removeProperty(`--text-scale-${e}`),n.style.removeProperty(`--text-scale-${e}--line-height`)}function Jf(n,e,t){for(const[r,o]of Object.entries($r))Pe(n,o,e[r]!==t[r]?String(e[r]):null)}function Pe(n,e,t){t===null?n.style.removeProperty(e):n.style.setProperty(e,t)}function Ir(n){return n===0?"0px":`${n}px`}function Us(){return{dark:{...Fs},light:{...Is}}}function qr(n){var r,o;if((r=n.modePalettes)!=null&&r.dark&&((o=n.modePalettes)!=null&&o.light))return n;const e=Us(),t={...n.colors};return{...n,modePalettes:{dark:n.theme==="dark"?t:e.dark,light:n.theme==="light"?t:e.light}}}function ed(n,e){const t=qr(n),r=t.modePalettes[e];return{...t,theme:e,colors:{...r}}}function td(n,e,t){const r=qr(n),o={...r.colors,[e]:t};return{...r,colors:o,modePalettes:{...r.modePalettes,[r.theme]:o}}}function zt(n="dark"){const e=Us(),t=e[n];return{theme:n,...Ms,...zs,fontFamily:Ns,fontFamilyMono:Bs,fontWeights:{...bs},colors:{...t},modePalettes:e}}const rd=["--space","--size","--radius","--border-width","--focus-ring-width","--focus-ring-offset","--motion-surface-duration","--font-family-sans","--font-family-mono",...Object.values($r),"--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(Xr)];function nd(n){if(typeof document>"u")return;const e=n??document.documentElement;for(const t of rd)e.style.removeProperty(t);delete e.dataset.theme}let Yo="";function od(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!==Yo&&(Yo=t,ds({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}),Zn(e,{surfaceTransitionDuration:n.surfaceTransitionDuration}))}function Gs(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,Pe(t,"--space",n.space!==r.space?gt(n.space):null),Pe(t,"--size",n.size!==r.size?gt(n.size):null),Pe(t,"--radius",n.radius!==r.radius?gt(n.radius):null),Pe(t,"--border-width",n.borderWidth!==r.borderWidth?Ir(n.borderWidth):null),Pe(t,"--focus-ring-width",n.focusRingWidth!==r.focusRingWidth?Ir(n.focusRingWidth):null),Pe(t,"--focus-ring-offset",n.focusRingOffset!==r.focusRingOffset?`${n.focusRingOffset}px`:null),Pe(t,"--font-family-sans",n.fontFamily!==r.fontFamily?n.fontFamily:null),Pe(t,"--font-family-mono",n.fontFamilyMono!==r.fontFamilyMono?n.fontFamilyMono:null),Jf(t,n.fontWeights,r.fontWeights),od(n,t),n.textScale!==r.textScale?Qf(t,n.textScale):Kf(t),n.shadowStrength!==r.shadowStrength||n.shadowSize!==r.shadowSize?jf(t,n.theme,n.shadowStrength,n.shadowSize):Zf(t),Pe(t,"--toast-scrim-size",n.toastScrimSize!==r.toastScrimSize?String(n.toastScrimSize):null),Pe(t,"--toast-scrim-density",n.toastScrimDensity!==r.toastScrimDensity?String(n.toastScrimDensity):null);for(const[o,i]of Object.entries(Xr))Pe(t,i,n.colors[o]!==r.colors[o]?n.colors[o]:null)}function Hs(n){const e=zt(n.theme),t=[":root {"];n.space!==e.space&&t.push(` --space: ${gt(n.space)};`),n.size!==e.size&&t.push(` --size: ${gt(n.size)};`),n.radius!==e.radius&&t.push(` --radius: ${gt(n.radius)};`),n.borderWidth!==e.borderWidth&&t.push(` --border-width: ${Ir(n.borderWidth)};`),n.focusRingWidth!==e.focusRingWidth&&t.push(` --focus-ring-width: ${Ir(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($r))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(Xr))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 so="burne-ui-theme";function ao(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,...Ys({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 Vs(n){const e=qr(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 id(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 lo(n,e){const t={};if(!n)return t;for(const[r,o]of Object.entries(n)){const i=id(o,e);i&&(t[r]=typeof i.value=="number"&&i.unit?`${i.value}${i.unit}`:String(i.value))}return t}const Mr=new WeakMap;function Ws(n,e,t){const r=lo(n,t),o=new Set(Object.keys(r)),i=Mr.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);Mr.set(e,i)}function sd(n){var t;if(typeof document>"u")return;const e=n??document.documentElement;(t=Mr.get(e))==null||t.forEach((r,o)=>{r.value?e.style.setProperty(o,r.value,r.priority):e.style.removeProperty(o)}),Mr.delete(e)}function $s(n){return{...Vs(zt((n==null?void 0:n.theme)??"dark")),storageKey:(n==null?void 0:n.storageKey)===void 0?so:n.storageKey}}function ad(n){const e=(n==null?void 0:n.exportName)??"burneTheme",t=zr($s(),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 ld(n,e="dark"){const t=zt(e);return n?{...t,...Ys({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 Ys(n){const e={};for(const[t,r]of Object.entries(n))r!==void 0&&(e[t]=r);return e}function Xs(n,e,t=jr(n.theme)){if(typeof document>"u")return;const r=e??document.documentElement,o=ao(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)}Gs(o,r),Ws(n.customTokens,r,t)}function jr(n="system"){return n==="light"||n==="dark"?n:typeof window<"u"&&window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function cd(n,e,t="dark"){Xs({theme:t,tokens:n},e,t)}function ud(n){const e=jr(n.theme),t=ao(n,e),r=Hs(t),o=lo(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 zr(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}${zr(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}${fd(s)}: ${zr(a,e+1)}`).join(`,
48
+ `)},
49
+ ${t}}`}return JSON.stringify(n)}function fd(n){return/^[A-Za-z_$][\w$]*$/.test(n)?n:JSON.stringify(n)}function dd(n,e){const t=(e==null?void 0:e.exportName)??"burneTheme",r=zr(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 co=P.createContext(null);function hd(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 pd(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 md({children:n,theme:e,defaultTheme:t="dark",storageKey:r=so,root:o=null,onThemeChange:i}){const[s,a]=P.useState(()=>hd(r)??t),[c,l]=P.useState(0),u=e??s,f=P.useMemo(()=>jr(u),[u,c]),p=P.useCallback(m=>{e===void 0&&a(m),pd(r,m),i==null||i(m)},[e,r,i]);P.useLayoutEffect(()=>{const m=o??(typeof document<"u"?document.documentElement:null);m&&qs(f,m)},[f,o]),P.useEffect(()=>{if(u!=="system"||typeof window>"u")return;const m=window.matchMedia("(prefers-color-scheme: light)"),d=()=>{l(g=>g+1)};return m.addEventListener("change",d),()=>m.removeEventListener("change",d)},[u]);const h=P.useMemo(()=>({theme:u,resolvedTheme:f,setTheme:p}),[u,f,p]);return P.createElement(co.Provider,{value:h},n)}function gd(){const n=P.useContext(co);if(!n)throw new Error("useBurneTheme must be used within ThemeProvider or BurneUIProvider.");return n}function _d(){return P.useContext(co)}const uo=P.createContext(null);function bd({children:n,value:e}){return P.createElement(uo.Provider,{value:e},n)}function vd(){const n=P.useContext(uo);if(!n)throw new Error("useBurneThemeRuntime must be used within BurneUIProvider.");return n}function yd(){return P.useContext(uo)}exports.BUTTON_BASE_INTERACTIVE_CLASS=Mu;exports.BUTTON_CLIP_LAYER_CLASS=zu;exports.BUTTON_CURSOR_CLASS=Yu;exports.BUTTON_DISABLED_OPACITY_CLASS=Xu;exports.BUTTON_GROUP_TEXT_LABEL_CLASS=Ef;exports.BUTTON_GROUP_TEXT_VARIANT=yf;exports.BUTTON_SIZE_TEXT_VARIANT=Iu;exports.BUTTON_SPINNER_MOTION_CLASS=$u;exports.BUTTON_STATUS_FOCUS_OUTLINE=Au;exports.BUTTON_VARIANT_HAS_HOVER_SHADOW=Du;exports.BurneThemeRuntimeContextProvider=bd;exports.COLOR_CSS_VAR=Xr;exports.CONTROL_SIZE_LAYOUT=_t;exports.ConvergeRippleLayer=su;exports.DARK_COLORS=Fs;exports.DEFAULT_FONT=Ns;exports.DEFAULT_FONT_MONO=Bs;exports.DEFAULT_THEME_STORAGE_KEY=so;exports.FIELD_SHELL_FOCUS_CLASS=Ff;exports.FIELD_SHELL_TRANSITION_CLASS=Lf;exports.FIELD_SHELL_VARIANT_BG_CLASS=Ls;exports.FONT_WEIGHT_CSS_VAR=$r;exports.FONT_WEIGHT_DEFAULTS=bs;exports.GLOSS_INTERACTIVE_MOTION_CLASS=to;exports.INTERACTIVE_VARIANT_ROOT=ut;exports.LIGHT_COLORS=Is;exports.MOTION_CONFIG_DEFAULTS=Hr;exports.MOTION_CSS_VAR=us;exports.MOTION_DEFAULTS=zs;exports.NARROW_VIEWPORT_MAX_PX=ps;exports.SCALE_DEFAULTS=Ms;exports.SEMANTIC_STATUS_FILL=Ss;exports.SEMANTIC_STATUS_OUTLINE_BORDER=ks;exports.SEMANTIC_STATUS_SURFACE_TINT=ws;exports.SEMANTIC_STATUS_TEXT=Vt;exports.SHADOW_CSS_VAR=An;exports.SHADOW_LAYER_GEOM=ci;exports.SHADOW_LIFT_MOTION_CLASS=Yr;exports.SHADOW_OPACITY_BASE=li;exports.SHADOW_SIZE_CSS_DEFAULT=Xa;exports.SURFACE_COLOR_TRANSITION=Cs;exports.TEXT_COLOR_TRANSITION=Eu;exports.TEXT_SCALE_BASES=vt;exports.TOUCH_OR_NARROW_VIEWPORT_MQL=Qn;exports.TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER=Xc;exports.ThemeProvider=md;exports.activateThemeModePalette=ed;exports.affixSlotClass=Mf;exports.affixToggleMinWClass=Nf;exports.animateGlossInteractiveHoverLift=or;exports.animateGlossInteractivePressSqueeze=ys;exports.animateInteractiveHoverLift=nr;exports.animateInteractivePressSqueeze=nu;exports.applyBurneThemeConfig=Xs;exports.applyCustomThemeTokens=Ws;exports.applyMotionCssTokens=Zn;exports.applyThemeMode=qs;exports.applyThemeTokens=Gs;exports.applyTokens=cd;exports.burneFontWeightScale=uu;exports.burneShadowScale=Ya;exports.buttonContentClass=lf;exports.buttonConvergeRippleColor=ef;exports.buttonErrorLayerClass=pf;exports.buttonFeedbackExpandRippleClass=sf;exports.buttonGroupOverlapBorderClasses=wf;exports.buttonGroupRootClass=Sf;exports.buttonGroupRoundingClasses=io;exports.buttonGroupSegmentSurfaceClasses=As;exports.buttonGroupSeparatorClass=kf;exports.buttonGroupTextClass=Cf;exports.buttonGroupTextFrameClass=Ps;exports.buttonGroupTextSurfaceClasses=Rs;exports.buttonIconClass=uf;exports.buttonIconSvgClass=mf;exports.buttonLabelClass=cf;exports.buttonLoaderLayerClass=df;exports.buttonLoaderTextClass=Ju;exports.buttonRippleTone=bf;exports.buttonRootClass=nf;exports.buttonSpinnerClass=of;exports.buttonSpinnerInnerClass=af;exports.buttonSuccessLayerClass=hf;exports.buttonSurfaceMotionClass=vf;exports.buttonTextClass=ff;exports.clearCustomThemeTokens=sd;exports.clearThemeInlineTokens=nd;exports.cn=G;exports.colorToken=K;exports.configureMotion=ds;exports.controlShellClass=rf;exports.createConvergeRippleAtPointer=eo;exports.createConvergeRippleFromPointer=lu;exports.createDefaultBurneThemeConfig=$s;exports.createDefaultThemeState=zt;exports.createGlossInteractiveRefCallback=ro;exports.designTokenNames=du;exports.ensureModePalettes=qr;exports.ensureRippleEase=hs;exports.exportBurneThemeConfigSource=dd;exports.exportBurneThemeCss=ud;exports.exportDefaultBurneThemeConfigSource=ad;exports.exportThemeCss=Hs;exports.fieldShellHoverClass=Rf;exports.fieldShellVariantFromButtonGroup=Df;exports.firstLevelHoverShadow=wu;exports.fluidScaleRem=gt;exports.fontWeightToken=fu;exports.getMotionConfig=Fe;exports.getMotionConfigRevision=Ic;exports.gsapWithCSS=fe;exports.hoverVariant=Os;exports.initElementShadow=Vr;exports.killMotion=De;exports.mergeThemeTokenOverrides=ld;exports.motionContentFade=Gc;exports.motionExpand=Uc;exports.motionFeedbackExpand=Hc;exports.motionInteractive=Mc;exports.motionLoadingDots=Yc;exports.motionProgressFill=Vc;exports.motionSelectionFill=zc;exports.motionSwitchThumb=Bc;exports.motionToastDismiss=Wc;exports.motionTooltip=Nc;exports.patchThemeColor=td;exports.prefersReducedInteractiveHoverLift=Wr;exports.readControlHeightPx=Hf;exports.readShadowSize=Zc;exports.readShadowVar=En;exports.resolveCustomThemeTokens=lo;exports.resolveFieldShellSurfaceClass=Pf;exports.resolveTheme=jr;exports.resolveThemeTokenState=ao;exports.secondLevelShadow=no;exports.shadowBase=Mt;exports.shadowCssVar=sr;exports.shadowLarge=jc;exports.shadowMid=ms;exports.shadowNone=Lr;exports.shadowToken=qa;exports.shouldSkipInteractiveHoverLift=ve;exports.subscribeMotionConfig=Fc;exports.themeTokenStateToConfig=Vs;exports.tokensConfig=ja;exports.useBurneTheme=gd;exports.useBurneThemeOptional=_d;exports.useBurneThemeRuntime=vd;exports.useBurneThemeRuntimeOptional=yd;exports.useConvergeRipples=cu;exports.useFieldShellHoverLift=If;exports.useGSAP=Gr;exports.useGlossFieldShellMotion=Tu;exports.useGlossInteractiveHandlers=xs;exports.useInteractiveHoverLiftContainerHandlers=_s;exports.useMergedGlossPanelRef=xu;exports.usePersistentElShadow=Su;exports.useSecondLevelShadow=Ts;exports.useSecondLevelShadowContainer=ku;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Shared viewport breakpoints — keep CSS media queries in sync
3
+ * (`field-control-mobile-no-zoom` in `src/styles.css`).
4
+ *
5
+ * `1024px` aligns with Tailwind `lg` (tablet / narrow desktop).
6
+ */
7
+ export declare const NARROW_VIEWPORT_MAX_PX = 1024;
8
+ /** Hover-lift skip: narrow viewport, no hover, or coarse pointer. */
9
+ export declare const TOUCH_OR_NARROW_VIEWPORT_MQL = "(max-width: 1024px), (hover: none), (pointer: coarse)";
10
+ /**
11
+ * Same as {@link TOUCH_OR_NARROW_VIEWPORT_MQL}, plus `any-pointer: coarse`
12
+ * (iPad with a mouse attached — still prefer 16px inputs).
13
+ */
14
+ export declare const TOUCH_OR_NARROW_VIEWPORT_MQL_ANY_POINTER = "(max-width: 1024px), (hover: none), (pointer: coarse), (any-pointer: coarse)";
@@ -11,6 +11,8 @@
11
11
  * | Control box | — | `--control-height-*` | — | `h-control-*`, `min-h-control-*` |
12
12
  * | Control square | — | `--control-size-*` (= height) | — | `w-control-*`, `min/max-w-control-*` |
13
13
  * | Icons | `--size` | `--size-scale-*` → `--icon-size-*` (1:1) | — | `icon-xsmall` … `icon-3xlarge` |
14
+ * | Indicators | `--size` / `--radius` | `--selection-indicator-*` + `--selection-indicator-radius-*` (`--radius-*` × 0.75) | — | `selection-indicator-*` |
15
+ * | Panels | `--size` | `--max-component-*` | — | `min/max-w-component-*` |
14
16
  *
15
17
  * ## Typography
16
18
  *
@@ -22,13 +24,16 @@
22
24
  * Customization:
23
25
  * - `--space` — spacing (gap, padding); steps `gap-*`, `p-*` via multipliers; fluid `clamp` by viewport (theme JS writes scaled `clamp`, not fixed rem).
24
26
  * - `--size` — control sizes (icons, indicators, button min-width, modal max-w); fluid `clamp` by viewport.
25
- * - `--radius` — base radius; `rounded-*` steps via multipliers; fluid `clamp` by viewport.
27
+ * - `--radius` — base radius; `rounded-*` steps via tight multipliers
28
+ * (`0.75 / 0.875 / 1 / 1.125 / 1.25`); fluid `clamp` by viewport.
26
29
  * - `--shadow-size` — blur/offset multiplier for `--shadow-base|mid|large` (`calc(… * var(--shadow-size))`; do not bake px).
27
30
  * - `--toast-scrim-size` / `--toast-scrim-density` — Toast scrim backdrop size and density.
28
31
  * - `--focus-ring-width` / `--focus-ring-offset` — keyboard focus ring geometry (`focus-ring*` utilities).
29
32
  * - `--motion-surface-duration` — CSS transitions for `surface-color-transition` / `animate-shadow` / field shells (from `surfaceTransitionDuration` in motion config).
30
33
  * - `--overlay-backdrop-color` / `--overlay-backdrop-blur` / `--overlay-backdrop-saturate` — frosted modal scrim (`overlay-backdrop`); `--overlay-backdrop-scrim` — solid dark-UI scrim.
31
34
  * - `--z-dialog` / `--z-dropdown` / `--z-popover` / `--z-toast` / `--z-tooltip` — overlay stacking (`z-*` utilities).
35
+ * - `--max-component-*` — panel/container widths (`min/max-w-component-*`); Dialog size props map onto base…2xlarge.
36
+ * - `NARROW_VIEWPORT_MAX_PX` (1024) — shared with CSS `field-control-mobile-no-zoom` media query.
32
37
  * - `--text-scale-*` — primitive typography; roles `text-base` / `text-mid` / … map 1:1 by name.
33
38
  * - `--font-w-*` — primitive font-weight scale;
34
39
  *
@@ -118,6 +123,7 @@ export declare const burneSpacingScale: readonly ["xsmall", "small", "base", "mi
118
123
  export declare const burneRadiusScale: readonly ["xsmall", "small", "base", "mid", "large"];
119
124
  /**
120
125
  * Icon utilities `icon-*` — 1:1 with `--size-scale-*` / `--icon-size-*`.
126
+ * SelectionIndicator marks use `--icon-size-*` × 0.75 in component tokens.
121
127
  */
122
128
  export declare const burneIconScale: readonly ["xsmall", "small", "base", "mid", "large", "xlarge", "2xlarge", "3xlarge"];
123
129
  /**