@sakaniui/react 0.8.4 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/{TopBar-DHp4nwwW.js → TopBar-n4mj0qZ2.js} +30 -30
- package/dist/{TopBar-zMhW9kWA.cjs → TopBar-rSTYQ9IY.cjs} +1 -1
- package/dist/blocks.cjs +1 -1
- package/dist/blocks.mjs +1 -1
- package/dist/components/MarketingComponents/ProfileCard/index.d.ts +1 -0
- package/dist/components/MarketingComponents/TeamCard/index.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1211 -1127
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./help-circle-BLp_TUx3.cjs");let t=require("react");t=e.z(t,1);let n=require("react/jsx-runtime"),r=require("recharts"),i=require("react-dom");i=e.z(i,1);var a=(e,t=1.5)=>24/e*t,o={accordion:`_accordion_1njer_3`,item:`_item_1njer_10`,item__header:`_item__header_1njer_12`,item__title:`_item__title_1njer_29`,item__chevron:`_item__chevron_1njer_36`,"item__chevron--open":`_item__chevron--open_1njer_42`,item__panelWrap:`_item__panelWrap_1njer_45`,"item__panelWrap--open":`_item__panelWrap--open_1njer_50`,item__panel:`_item__panel_1njer_45`,item__panelInner:`_item__panelInner_1njer_53`},s=({title:e,children:r,open:i,defaultOpen:s=!1,className:c})=>{let l=i!==void 0,[u,d]=t.default.useState(s),f=l?i:u;return(0,n.jsxs)(`div`,{className:[o.item,c??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`button`,{type:`button`,className:o.item__header,"aria-expanded":f,onClick:()=>!l&&d(e=>!e),children:[(0,n.jsx)(`span`,{className:o.item__title,children:e}),(0,n.jsx)(`span`,{className:[o.item__chevron,f?o[`item__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:(0,n.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),(0,n.jsx)(`div`,{className:[o.item__panelWrap,f?o[`item__panelWrap--open`]:``].join(` `),children:(0,n.jsx)(`div`,{className:o.item__panel,children:(0,n.jsx)(`div`,{className:o.item__panelInner,children:r})})})]})},c=({children:e,className:t})=>(0,n.jsx)(`div`,{className:[o.accordion,t??``].filter(Boolean).join(` `),children:e}),l={avatar:`_avatar_1igqs_3`,"avatar--sm":`_avatar--sm_1igqs_17`,"avatar--md":`_avatar--md_1igqs_18`,"avatar--lg":`_avatar--lg_1igqs_19`,"avatar--xl":`_avatar--xl_1igqs_20`,"avatar--bordered":`_avatar--bordered_1igqs_25`,avatar__image:`_avatar__image_1igqs_31`,avatar__initials:`_avatar__initials_1igqs_39`,avatar__icon:`_avatar__icon_1igqs_46`},u={sm:14,md:18,lg:22,xl:26},d=({px:e})=>(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(e),strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,n.jsx)(`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`}),(0,n.jsx)(`circle`,{cx:`12`,cy:`7`,r:`4`})]}),f=({size:e=`md`,src:r,alt:i=``,initials:o,icon:s,className:c})=>{let f=[l.avatar,l[`avatar--${e}`],c??``].filter(Boolean).join(` `);if(r)return(0,n.jsx)(`span`,{className:[f,l[`avatar--bordered`]].join(` `),children:(0,n.jsx)(`img`,{src:r,alt:i,className:l.avatar__image})});if(o)return(0,n.jsx)(`span`,{className:f,role:`img`,"aria-label":i||o,children:(0,n.jsx)(`span`,{className:l.avatar__initials,children:o.slice(0,2).toUpperCase()})});let p=u[e],m=t.default.isValidElement(s)?t.default.cloneElement(s,{size:p,strokeWidth:a(p)}):s??(0,n.jsx)(d,{px:p});return(0,n.jsx)(`span`,{className:f,role:`img`,"aria-label":i||`avatar`,children:(0,n.jsx)(`span`,{className:l.avatar__icon,children:m})})},p={feed:`_feed_1pvgl_1`,"feed--compact":`_feed--compact_1pvgl_8`,"row--default":`_row--default_1pvgl_13`,rail:`_rail_1pvgl_19`,dot:`_dot_1pvgl_26`,connector:`_connector_1pvgl_42`,content:`_content_1pvgl_49`,"content--spaced":`_content--spaced_1pvgl_56`,"row--compact":`_row--compact_1pvgl_61`,compactLeft:`_compactLeft_1pvgl_68`,text:`_text_1pvgl_74`,actor:`_actor_1pvgl_88`,highlight:`_highlight_1pvgl_89`,timestamp:`_timestamp_1pvgl_92`},m=({children:e})=>(0,n.jsx)(`span`,{className:p.highlight,children:e}),h=16,g=e=>t.default.isValidElement(e)?t.default.cloneElement(e,{size:h,strokeWidth:a(h)}):e,_=({items:e,variant:t=`default`,className:r})=>{let i=t===`compact`;return(0,n.jsx)(`div`,{className:[p.feed,i?p[`feed--compact`]:``,r??``].filter(Boolean).join(` `),children:e.map((t,r)=>{let a=r===e.length-1,o=t.id??r;return i?(0,n.jsxs)(`div`,{className:p[`row--compact`],children:[(0,n.jsxs)(`div`,{className:p.compactLeft,children:[(0,n.jsx)(f,{size:`sm`,src:t.avatarSrc,alt:t.avatarAlt??t.actor}),(0,n.jsxs)(`p`,{className:p.text,children:[(0,n.jsx)(`span`,{className:p.actor,children:t.actor}),` `,t.description]})]}),(0,n.jsx)(`span`,{className:p.timestamp,children:t.timestamp})]},o):(0,n.jsxs)(`div`,{className:p[`row--default`],children:[(0,n.jsxs)(`div`,{className:p.rail,children:[(0,n.jsx)(`div`,{className:p.dot,children:g(t.icon)}),!a&&(0,n.jsx)(`div`,{className:p.connector})]}),(0,n.jsxs)(`div`,{className:[p.content,a?``:p[`content--spaced`]].filter(Boolean).join(` `),children:[(0,n.jsxs)(`p`,{className:p.text,children:[(0,n.jsx)(`span`,{className:p.actor,children:t.actor}),` `,t.description]}),(0,n.jsx)(`span`,{className:p.timestamp,children:t.timestamp})]})]},o)})})},v={link:`_link_1g7dc_3`,link__external:`_link__external_1g7dc_34`},y=t.default.forwardRef(({external:e,children:t,className:r,href:i,...o},s)=>(0,n.jsxs)(`a`,{ref:s,href:i,className:[v.link,r??``].filter(Boolean).join(` `),target:e?`_blank`:o.target,rel:e?`noopener noreferrer`:o.rel,...o,children:[t,e&&(0,n.jsx)(`span`,{className:v.link__external,"aria-label":`(opens in new tab)`,children:(0,n.jsxs)(`svg`,{width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(12),strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,n.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,n.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,n.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})})]}));y.displayName=`Link`;var b={button:`_button_l09ur_2`,"button--sm":`_button--sm_l09ur_26`,"button--md":`_button--md_l09ur_27`,"button--lg":`_button--lg_l09ur_28`,"button--primary":`_button--primary_l09ur_31`,"button--secondary":`_button--secondary_l09ur_38`,"button--outline":`_button--outline_l09ur_43`,"button--ghost":`_button--ghost_l09ur_48`,"button--destructive":`_button--destructive_l09ur_53`},x={sm:16,md:18,lg:20},S=t.default.forwardRef(({icon:e,variant:t=`primary`,size:r=`md`,disabled:i,className:o,...s},c)=>(0,n.jsx)(`button`,{ref:c,disabled:i,className:[b.button,b[`button--${t}`],b[`button--${r}`],o??``].filter(Boolean).join(` `),...s,children:(0,n.jsx)(e,{size:x[r],strokeWidth:a(x[r]),"aria-hidden":`true`})}));S.displayName=`IconButton`;var C={button:`_button_izp70_21`,"button--primary":`_button--primary_izp70_106`,"button--secondary":`_button--secondary_izp70_133`,"button--outline":`_button--outline_izp70_156`,"button--ghost":`_button--ghost_izp70_178`,"button--destructive":`_button--destructive_izp70_202`,"button--sm":`_button--sm_izp70_226`,"button--md":`_button--md_izp70_236`,"button--lg":`_button--lg_izp70_246`,"button--hasLeftIcon":`_button--hasLeftIcon_izp70_257`,"button--hasRightIcon":`_button--hasRightIcon_izp70_258`,button__icon:`_button__icon_izp70_270`,button__label:`_button__label_izp70_277`,"button--loading":`_button--loading_izp70_287`,button__spinner:`_button__spinner_izp70_291`,"sakani-btn-spin":`_sakani-btn-spin_izp70_1`},w=t.default.forwardRef(({variant:e=`primary`,size:t=`md`,leftIcon:r,rightIcon:i,loading:a=!1,disabled:o,children:s,className:c,...l},u)=>{let d=o||a;return(0,n.jsxs)(`button`,{ref:u,className:[C.button,C[`button--${e}`],C[`button--${t}`],a?C[`button--loading`]:``,r&&!a?C[`button--hasLeftIcon`]:``,i&&!a?C[`button--hasRightIcon`]:``,c??``].filter(Boolean).join(` `),disabled:d,"aria-busy":a,...l,children:[a&&(0,n.jsx)(`span`,{className:[C.button__icon,C.button__spinner].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,children:(0,n.jsx)(`path`,{d:`M12 3a9 9 0 1 1-6.36 2.64`})})}),r&&!a&&(0,n.jsx)(`span`,{className:C.button__icon,"aria-hidden":`true`,children:r}),(0,n.jsx)(`span`,{className:C.button__label,children:s}),i&&!a&&(0,n.jsx)(`span`,{className:C.button__icon,"aria-hidden":`true`,children:i})]})});w.displayName=`Button`;var T={wrap:`_wrap_3mj75_1`,"wrap--vertical":`_wrap--vertical_3mj75_7`,"wrap--horizontal":`_wrap--horizontal_3mj75_11`,circleWrap:`_circleWrap_3mj75_21`,bigAvatar:`_bigAvatar_3mj75_26`,badge:`_badge_3mj75_31`,horizontalContent:`_horizontalContent_3mj75_53`,textStack:`_textStack_3mj75_60`,"textStack--center":`_textStack--center_3mj75_66`,title:`_title_3mj75_71`,hint:`_hint_3mj75_79`,link:`_link_3mj75_88`,input:`_input_3mj75_92`},E=({src:r,alt:i,orientation:o=`vertical`,accept:s=`image/jpeg,image/png`,title:c=`Upload a photo`,hint:l=`JPG or PNG, max 5MB.`,onFileSelect:u,onRemove:d,className:p})=>{let m=t.default.useRef(null),h=r!==void 0,[g,_]=t.default.useState(void 0),v=h?r:g,b=o===`horizontal`,x=!!v,S=()=>m.current?.click(),C=()=>{d?.(),h||_(void 0)},E=(0,n.jsxs)(`div`,{className:[T.textStack,b?``:T[`textStack--center`]].filter(Boolean).join(` `),children:[(0,n.jsx)(`p`,{className:T.title,children:c}),(0,n.jsx)(`p`,{className:T.hint,children:l})]});return(0,n.jsxs)(`div`,{className:[T.wrap,T[`wrap--${o}`],p??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:T.circleWrap,children:[(0,n.jsx)(f,{size:b?`lg`:`xl`,src:v,alt:i,className:b?void 0:T.bigAvatar}),!b&&(0,n.jsx)(`button`,{type:`button`,className:T.badge,onClick:S,"aria-label":`Change photo`,children:(0,n.jsx)(e.P,{size:16,strokeWidth:a(16)})})]}),b&&(0,n.jsxs)(`div`,{className:T.horizontalContent,children:[E,x?(0,n.jsx)(w,{variant:`outline`,size:`sm`,onClick:C,style:{color:`var(--color-danger-fg)`,borderColor:`var(--color-danger-border)`},children:`Remove`}):(0,n.jsx)(w,{variant:`outline`,size:`sm`,onClick:S,children:`Upload`})]}),!b&&(x?(0,n.jsx)(y,{href:`#`,onClick:e=>{e.preventDefault(),S()},className:T.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:`Change photo`}):E),(0,n.jsx)(`input`,{ref:m,type:`file`,accept:s,className:T.input,onChange:e=>{let t=e.target.files?.[0];t&&(u?.(t),h||_(URL.createObjectURL(t))),e.target.value=``}})]})};function D(){let[e,n]=(0,t.useState)(0);return(0,t.useEffect)(()=>{if(typeof document>`u`)return;n(e=>e+1);let e=new MutationObserver(()=>n(e=>e+1));return e.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}),()=>e.disconnect()},[]),e}var O={balance:`_balance_kaxp5_1`,"balance--progress":`_balance--progress_kaxp5_8`,content:`_content_kaxp5_17`,labelRow:`_labelRow_kaxp5_33`,label:`_label_kaxp5_33`,hideToggle:`_hideToggle_kaxp5_50`,value:`_value_kaxp5_71`,"value--hidden":`_value--hidden_kaxp5_83`,"value--glitching":`_value--glitching_kaxp5_90`,"balance-glitch":`_balance-glitch_kaxp5_1`,changeRow:`_changeRow_kaxp5_101`,trendIcon__up:`_trendIcon__up_kaxp5_108`,trendIcon__down:`_trendIcon__down_kaxp5_109`,changeValue__up:`_changeValue__up_kaxp5_110`,changeValue__down:`_changeValue__down_kaxp5_117`,changeLabel:`_changeLabel_kaxp5_124`,ringCard:`_ringCard_kaxp5_132`},k=`ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`,A=8,j=6,ee=90,te=e=>{let t=Math.min(e,A);return Array.from({length:t},()=>k[Math.floor(Math.random()*36)]).join(``)},ne=e=>typeof window<`u`&&getComputedStyle(document.documentElement).getPropertyValue(e).trim()||void 0,re=({progress:e})=>{D();let t=ne(`--color-chart-1`)??`#ff4700`,i=ne(`--color-bg-subtle`)??`#f5f4f2`,a=[{value:Math.max(0,Math.min(100,e))}];return(0,n.jsx)(`div`,{className:O.ringCard,children:(0,n.jsx)(r.ResponsiveContainer,{width:64,height:64,children:(0,n.jsxs)(r.RadialBarChart,{data:a,startAngle:90,endAngle:-270,innerRadius:`72%`,outerRadius:`100%`,barSize:10,children:[(0,n.jsx)(r.PolarAngleAxis,{type:`number`,domain:[0,100],tick:!1,axisLine:!1}),(0,n.jsx)(r.RadialBar,{dataKey:`value`,cornerRadius:5,fill:t,background:{fill:i},isAnimationActive:!1})]})})})},ie=({label:r=`Available balance`,value:i,change:o,progress:s,hidden:c,onToggleHidden:l,className:u})=>{let d=c!==void 0,[f,p]=t.default.useState(!1),m=d?c:f,h=s!==void 0,g=o?.direction??`up`,_=g===`up`?e.j:e.A,v=()=>{let e=!m;l?.(e),d||p(e)},[y,b]=t.default.useState(!1),[x,S]=t.default.useState(0),C=t.default.useRef(!1);t.default.useEffect(()=>{if(m&&!C.current){b(!0);let e=0,t=setInterval(()=>{e+=1,S(e=>e+1),e>=j&&(clearInterval(t),b(!1))},ee);return C.current=!0,()=>clearInterval(t)}C.current=m},[m]);let w=t.default.useMemo(()=>te(i.length),[i,x]),T=t.default.useMemo(()=>o?te(o.value.length):``,[o?.value,x]),E=(0,n.jsxs)(`div`,{className:O.content,children:[(0,n.jsxs)(`div`,{className:O.labelRow,children:[(0,n.jsx)(`p`,{className:O.label,children:r}),(0,n.jsx)(`button`,{type:`button`,className:O.hideToggle,"aria-label":m?`Show balance`:`Hide balance`,onClick:v,children:m?(0,n.jsx)(e.M,{size:16,strokeWidth:a(16)}):(0,n.jsx)(e.N,{size:16,strokeWidth:a(16)})})]}),(0,n.jsx)(`p`,{className:[O.value,m?O[`value--hidden`]:``,y?O[`value--glitching`]:``].filter(Boolean).join(` `),children:m?w:i}),o&&(0,n.jsxs)(`div`,{className:O.changeRow,children:[(0,n.jsx)(_,{size:24,strokeWidth:1.5,className:g===`up`?O.trendIcon__up:O.trendIcon__down}),(0,n.jsx)(`span`,{className:[g===`up`?O.changeValue__up:O.changeValue__down,y?O[`value--glitching`]:``].filter(Boolean).join(` `),children:m?T:o.value}),(0,n.jsx)(`span`,{className:O.changeLabel,children:o.label??`this month`})]})]});return(0,n.jsxs)(`div`,{className:[O.balance,h?O[`balance--progress`]:``,u??``].filter(Boolean).join(` `),children:[h&&(0,n.jsx)(re,{progress:s}),E]})},ae={progress:`_progress_1qaz4_11`,"progress--sm":`_progress--sm_1qaz4_20`,"progress--md":`_progress--md_1qaz4_21`,"progress--lg":`_progress--lg_1qaz4_22`,progress__fill:`_progress__fill_1qaz4_25`,"progress__fill--indeterminate":`_progress__fill--indeterminate_1qaz4_33`,"progress-scan":`_progress-scan_1qaz4_1`},oe=({value:e,size:t=`md`,label:r=`Progress`,className:i})=>{let a=e===void 0,o=Math.min(100,Math.max(0,e??0));return(0,n.jsx)(`div`,{role:`progressbar`,"aria-label":r,"aria-valuenow":a?void 0:o,"aria-valuemin":0,"aria-valuemax":100,className:[ae.progress,ae[`progress--${t}`],i??``].filter(Boolean).join(` `),children:(0,n.jsx)(`div`,{className:[ae.progress__fill,a?ae[`progress__fill--indeterminate`]:``].filter(Boolean).join(` `),style:a?void 0:{width:`${o}%`}})})},se=[`dark`,`force-light`];function ce(e,n){let[r,i]=(0,t.useState)(``);return(0,t.useEffect)(()=>{if(!n||typeof document>`u`)return;let t=e.current;if(!t)return;let r=t.closest(se.map(e=>`.${e}`).join(`, `)),a=r?se.find(e=>r.classList.contains(e))??``:``;i(a)},[e,n]),r}function le(e,n){let[r,i]=(0,t.useState)(void 0);return(0,t.useEffect)(()=>{if(!n||typeof document>`u`)return;let t=e.current;t&&i(t.closest(`[data-surface]`)?.getAttribute(`data-surface`)??void 0)},[e,n]),r}var M={liquid:`_liquid_13biw_6`,regular:`_regular_13biw_6`,clear:`_clear_13biw_14`,"tint-regular":`_tint-regular_13biw_34`,"tint-clear":`_tint-clear_13biw_35`,"tint-subtle":`_tint-subtle_13biw_36`,"tint-none":`_tint-none_13biw_37`,sourceClip:`_sourceClip_13biw_47`,source:`_source_13biw_47`,sourceImage:`_sourceImage_13biw_56`,sourceCanvas:`_sourceCanvas_13biw_63`,probe:`_probe_13biw_64`,fill:`_fill_13biw_65`,interactive:`_interactive_13biw_120`,defs:`_defs_13biw_122`};function ue(){return typeof navigator>`u`?!1:!!(navigator.userAgentData?.brands)?.some(e=>/Chromium/i.test(e.brand))}var de=new Map;function fe(e){let{w:t,h:n,radius:r,bezel:i,intensity:a,reach:o,lx:s,ly:c}=e,l=`${t}x${n}:${r}:${i}:${a}:${o}:${s.toFixed(3)}:${c.toFixed(3)}`,u=de.get(l);if(u)return u;let d=()=>{let e=document.createElement(`canvas`);return e.width=t,e.height=n,e},f=d(),p=d(),m=f.getContext(`2d`),h=p.getContext(`2d`);if(!m||!h)return{map:``,light:``};let g=m.createImageData(t,n),_=h.createImageData(t,n),v=g.data,y=_.data,b=Math.min(r,t/2,n/2),x=t/2,S=n/2,C=Math.max(i,a>0?o:0,1);new Uint32Array(v.buffer).fill(4286611584),new Uint32Array(y.buffer).fill(4286611584);let w=Math.ceil(C+b+2);for(let e=0;e<n;e++){let r=e<w||e>=n-w;for(let l=0;l<t&&!(!r&&l===w&&(l=Math.max(w,t-w),l>=t));l++){let r=l+.5,u=e+.5,d=Math.abs(r-x)-(t/2-b),f=Math.abs(u-S)-(n/2-b),p=Math.max(d,0),m=Math.max(f,0),h=Math.hypot(p,m),g=-(h+Math.min(Math.max(d,f),0)-b),_=0,w=0,T=0;if(g>-1&&g<C){let e=0,t=0;if(d>0&&f>0&&h>0?(e=p/h,t=m/h):d>f?e=1:t=1,e*=Math.sign(r-x)||1,t*=Math.sign(u-S)||1,g>=0&&g<i){let n=1-Math.min(i,g<1?g+1:g)/i,r=(1-Math.sqrt(1-n*n))*(g<1?.5:1);_=-e*r,w=-t*r}if(a>0){let n=e*s+t*c,r=Math.abs(n);g<1?T=a*(n>0?106*r**.86:101*r**1.45):o>0&&(T=(n>0?-14:11.6)*a*r*Math.max(0,1-(g-.5)/o))}}if(_===0&&w===0&&T===0)continue;let E=(e*t+l)*4;v[E]=128+_*127,v[E+1]=128+w*127;let D=Math.max(0,Math.min(255,Math.round(128+T)));y[E]=D,y[E+1]=D,y[E+2]=D}}m.putImageData(g,0,0),h.putImageData(_,0,0);let T={map:f.toDataURL(),light:p.toDataURL()};return de.set(l,T),T}var pe=t.default.createContext(null),me=t.default.forwardRef(({src:e,position:r=`center`,veil:i,style:a,children:o,...s},c)=>{let l=t.default.useRef(null),u=e=>{l.current=e,typeof c==`function`?c(e):c&&(c.current=e)},d=i?`linear-gradient(${i}, ${i}), url("${e}")`:`url("${e}")`,f=i?`100% 100%, cover`:`cover`,p=t.default.useMemo(()=>({src:e,veil:i,image:d,size:f,position:r,rootRef:l}),[e,i,d,f,r]);return(0,n.jsx)(`div`,{ref:u,...s,style:{backgroundImage:d,backgroundSize:f,backgroundPosition:r,backgroundRepeat:`no-repeat`,...a},children:(0,n.jsx)(pe.Provider,{value:p,children:o})})});me.displayName=`LiquidBackdrop`;var he=new Set,ge=0,_e=0,ve=()=>{let e=!1;he.forEach(t=>{t()&&(e=!0)}),_e=e?0:_e+1,ge=he.size&&_e<24?requestAnimationFrame(ve):0},ye=()=>{_e=0,!ge&&he.size&&(ge=requestAnimationFrame(ve))},be=!1;function xe(e){if(!be&&typeof window<`u`){be=!0,window.addEventListener(`scroll`,ye,{capture:!0,passive:!0}),window.addEventListener(`resize`,ye);for(let e of[`transitionrun`,`transitionend`,`animationstart`,`animationend`,`pointerdown`,`pointerup`])document.addEventListener(e,ye,!0);new MutationObserver(ye).observe(document.documentElement,{attributes:!0,attributeFilter:[`class`,`data-theme`],subtree:!0})}return he.add(e),e(),ye(),()=>{he.delete(e)}}function Se(){he.forEach(e=>e()),ye()}var Ce=new Map;function we(e){let t=Ce.get(e);return t||(t=new Promise((t,n)=>{let r=new Image;r.decoding=`async`,r.onload=()=>t(r),r.onerror=n,r.src=e}),Ce.set(e,t)),t}function Te(e){let t={left:0,top:0,center:.5,right:1,bottom:1},n=e.trim().split(/\s+/),r=e=>e===void 0?.5:e in t?t[e]:e.endsWith(`%`)?parseFloat(e)/100:.5;return n.length===1&&(n[0]===`top`||n[0]===`bottom`)?[.5,r(n[0])]:[r(n[0]),r(n[1])]}var Ee=300*300,De=(e,t,n)=>{let r=parseFloat(getComputedStyle(e).getPropertyValue(t));return Number.isFinite(r)?r:n};function Oe(e,{enabled:r=!0,refraction:i=`auto`,watch:a=``,source:o=!0,bake:s=`auto`}={}){let c=`liquid-${t.default.useId().replace(/[^a-zA-Z0-9_-]/g,``)}`,[l,u]=t.default.useState(null),d=r&&i!==`off`&&ue(),f=t.default.useContext(pe),p=d&&o&&!!f,m=t.default.useRef(null);t.default.useEffect(()=>{let t=e.current;if(!t||!d){u(null);return}let n=()=>{let e=Math.round(t.offsetWidth),n=Math.round(t.offsetHeight);if(!e||!n)return;let r=parseFloat(getComputedStyle(t).borderTopLeftRadius)||0,i=De(t,`--liquid-refraction`,.8),a=Math.max(0,De(t,`--liquid-depth`,20)),o=De(t,`--liquid-dispersion`,0),s=Math.max(0,De(t,`--liquid-frost`,0)),c=Math.max(0,De(t,`--liquid-light-intensity`,0)),l=De(t,`--liquid-light-angle`,-45)*Math.PI/180,d=.8*a,f=Math.max(1,Math.round(Math.min(d,Math.min(e,n)/2))),p=d>0?f/d:0,m={w:e,h:n,radius:r,bezel:f,bend:i*(10.9+1.1*a)*p,spread:.11*o,frost:Math.max(.65,Math.hypot(.47,.45*s)),intensity:c,reach:.75*a*(p||1),lx:Math.sin(l),ly:-Math.cos(l)};u(e=>e&&Object.keys(m).every(t=>e[t]===m[t])?e:m)};n();let r=0,i=new ResizeObserver(()=>{t.offsetWidth*t.offsetHeight>Ee?(window.clearTimeout(r),r=window.setTimeout(()=>{n(),ye()},90)):(n(),ye())});return i.observe(t),()=>{window.clearTimeout(r),i.disconnect()}},[e,d,a]);let h=l?fe(l):null,g=t.default.useCallback(e=>{let t=e.currentTarget,n=t.getBoundingClientRect();t.style.setProperty(`--mx`,`${e.clientX-n.left}px`),t.style.setProperty(`--my`,`${e.clientY-n.top}px`)},[]),_=d&&!!l&&!!h?.map,v=p&&!!l&&(s===`auto`?l.w*l.h>Ee:s),y=t.default.useRef(null),b=t.default.useRef(null),x=t.default.useRef(0);t.default.useLayoutEffect(()=>{let t=e.current;if(!p||!_||!t||!f||!l||!h)return;let n=``,r=0,i=0,a=0,o=(e,t,n,r,i)=>{let a=++x.current;we(f.src).then(o=>{let s=y.current,u=document.getElementById(`${c}-bake`);if(a!==x.current||!s||!u)return;let d=Math.min(2,window.devicePixelRatio||1),p=Math.round(l.w*d),m=Math.round(l.h*d),h=document.createElement(`canvas`);h.width=p,h.height=m;let g=h.getContext(`2d`),_=s.getContext(`2d`);if(!g||!_)return;g.scale(d,d),g.translate(e,t);let v=Math.max(n/o.naturalWidth,r/o.naturalHeight),b=o.naturalWidth*v,S=o.naturalHeight*v,[C,w]=Te(f.position);g.drawImage(o,(n-b)*C,(r-S)*w,b,S),i&&i!==`rgba(0, 0, 0, 0)`&&i!==`transparent`&&(g.fillStyle=i,g.fillRect(0,0,n,r)),s.width=p,s.height=m,_.filter=`url(#${c}-bake)`,_.drawImage(h,0,0),_.filter=`none`}).catch(()=>{})};return xe(()=>{let e=f.rootRef.current,s=m.current;if(!e||!v&&!s||v&&!y.current)return++r<120;let c=t.getBoundingClientRect(),l=e.getBoundingClientRect(),u=t.offsetWidth?c.width/t.offsetWidth:1,d=t.offsetHeight?c.height/t.offsetHeight:1,p=(l.left-c.left)/u,h=(l.top-c.top)/d,g=l.width/u,_=l.height/d,x=``;v&&f.veil&&b.current&&(b.current.style.backgroundColor=f.veil,x=getComputedStyle(b.current).backgroundColor);let S=`${p.toFixed(2)},${h.toFixed(2)},${g.toFixed(2)},${_.toFixed(2)},${x}`;if(S===n)return!1;if(n=S,v){let e=performance.now();clearTimeout(a),e-i>120?(i=e,o(p,h,g,_,x)):a=window.setTimeout(()=>{i=performance.now(),o(p,h,g,_,x)},130)}else s&&(s.style.width=`${g}px`,s.style.height=`${_}px`,s.style.transform=`translate3d(${p}px, ${h}px, 0)`);return!0})},[p,_,f,e,v,l,h,c]);let S=e=>{let t=Array(20).fill(0);return t[e*5+e]=1,t[18]=1,t.join(` `)},C=_&&l&&h?(0,n.jsx)(`svg`,{className:M.defs,width:`0`,height:`0`,"aria-hidden":`true`,focusable:`false`,children:(0,n.jsxs)(`filter`,{id:c,x:`0`,y:`0`,width:l.w,height:l.h,filterUnits:`userSpaceOnUse`,primitiveUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,n.jsx)(`feImage`,{href:h.map,x:`0`,y:`0`,width:l.w,height:l.h,preserveAspectRatio:`none`,result:`map`}),(0,n.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:l.frost,edgeMode:`duplicate`,result:`frost`}),[0,1,2].map(e=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(`feDisplacementMap`,{in:`frost`,in2:`map`,scale:2*l.bend*(1+(1-e)*l.spread),xChannelSelector:`R`,yChannelSelector:`G`,result:`d${e}`}),(0,n.jsx)(`feColorMatrix`,{in:`d${e}`,type:`matrix`,values:S(e),result:`c${e}`})]},e)),(0,n.jsx)(`feBlend`,{in:`c0`,in2:`c1`,mode:`screen`,result:`c01`}),(0,n.jsx)(`feBlend`,{in:`c01`,in2:`c2`,mode:`screen`,result:`bent`}),l.intensity>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`feImage`,{href:h.light,x:`0`,y:`0`,width:l.w,height:l.h,preserveAspectRatio:`none`,result:`light`}),(0,n.jsx)(`feComposite`,{in:`bent`,in2:`light`,operator:`arithmetic`,k1:0,k2:1,k3:1,k4:-128/255})]})]})}):null,w=typeof window<`u`?Math.min(2,window.devicePixelRatio||1):1,T=v&&l&&h?(()=>{let e=Math.round(l.w*w),r=Math.round(l.h*w);return(0,n.jsx)(`svg`,{className:M.defs,width:`0`,height:`0`,"aria-hidden":`true`,focusable:`false`,children:(0,n.jsxs)(`filter`,{id:`${c}-bake`,x:`0`,y:`0`,width:e,height:r,filterUnits:`userSpaceOnUse`,primitiveUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,n.jsx)(`feImage`,{href:h.map,x:`0`,y:`0`,width:e,height:r,preserveAspectRatio:`none`,result:`map`}),(0,n.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:l.frost*w,edgeMode:`duplicate`,result:`frost`}),[0,1,2].map(e=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(`feDisplacementMap`,{in:`frost`,in2:`map`,scale:2*l.bend*w*(1+(1-e)*l.spread),xChannelSelector:`R`,yChannelSelector:`G`,result:`d${e}`}),(0,n.jsx)(`feColorMatrix`,{in:`d${e}`,type:`matrix`,values:S(e),result:`c${e}`})]},e)),(0,n.jsx)(`feBlend`,{in:`c0`,in2:`c1`,mode:`screen`,result:`c01`}),(0,n.jsx)(`feBlend`,{in:`c01`,in2:`c2`,mode:`screen`,result:`bent`}),l.intensity>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`feImage`,{href:h.light,x:`0`,y:`0`,width:e,height:r,preserveAspectRatio:`none`,result:`light`}),(0,n.jsx)(`feComposite`,{in:`bent`,in2:`light`,operator:`arithmetic`,k1:0,k2:1,k3:1,k4:-128/255})]})]})})})():null;return{filter:_&&p&&f?v?(0,n.jsxs)(n.Fragment,{children:[T,(0,n.jsxs)(`span`,{className:M.sourceClip,"aria-hidden":`true`,children:[(0,n.jsx)(`canvas`,{ref:y,className:M.sourceCanvas}),(0,n.jsx)(`span`,{ref:b,className:M.probe})]}),(0,n.jsx)(`span`,{className:M.fill,"aria-hidden":`true`})]}):(0,n.jsxs)(n.Fragment,{children:[C,(0,n.jsx)(`span`,{className:M.sourceClip,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:M.source,style:{filter:`url(#${c})`},children:(0,n.jsx)(`span`,{ref:m,className:M.sourceImage,style:{backgroundImage:f.image,backgroundSize:f.size,backgroundPosition:f.position}})})}),(0,n.jsx)(`span`,{className:M.fill,"aria-hidden":`true`})]}):C,refracting:_,props:{"data-surface":`liquid`,"data-refraction":_?p?`source`:`on`:`off`,style:_&&!p?{backdropFilter:`url(#${c})`}:void 0,onPointerMove:g}}}var ke=e=>{if(!e)return{};let t={};return e.refraction!==void 0&&(t[`--liquid-refraction`]=e.refraction),e.depth!==void 0&&(t[`--liquid-depth`]=e.depth),e.dispersion!==void 0&&(t[`--liquid-dispersion`]=e.dispersion),e.frost!==void 0&&(t[`--liquid-frost`]=e.frost),e.lightIntensity!==void 0&&(t[`--liquid-light-intensity`]=e.lightIntensity),e.lightAngle!==void 0&&(t[`--liquid-light-angle`]=e.lightAngle),t},Ae=t.default.forwardRef(({variant:e=`regular`,tint:r=`auto`,radius:i=20,refraction:a=`auto`,effect:o,source:s=!0,bake:c=`auto`,interactive:l,className:u,style:d,children:f,onPointerMove:p,...m},h)=>{let g=t.default.useRef(null),_=e=>{g.current=e,typeof h==`function`?h(e):h&&(h.current=e)},v=Oe(g,{refraction:a,source:s,bake:c,watch:o?JSON.stringify(o):``});return(0,n.jsxs)(`div`,{ref:_,...m,...v.props,className:[M.liquid,M[e],r===`auto`?``:M[`tint-${r}`],l?M.interactive:``,u??``].filter(Boolean).join(` `),style:{borderRadius:i,...ke(o),...v.props.style,...d},onPointerMove:e=>{v.props.onPointerMove(e),p?.(e)},children:[v.filter,f]})});Ae.displayName=`LiquidGlass`;var je=(e=`regular`,t=`auto`)=>[M.liquid,M[e],t===`auto`?``:M[`tint-${t}`]].filter(Boolean).join(` `),Me={"divider--horizontal":`_divider--horizontal_nem37_4`,"divider--labeled":`_divider--labeled_nem37_13`,"divider--vertical":`_divider--vertical_nem37_27`,divider__label:`_divider__label_nem37_38`},Ne=({orientation:e=`horizontal`,label:t,className:r})=>(0,n.jsx)(`div`,{role:`separator`,"aria-orientation":e,className:[Me.divider,Me[`divider--${e}`],t?Me[`divider--labeled`]:``,r??``].filter(Boolean).join(` `),children:t&&e===`horizontal`&&(0,n.jsx)(`span`,{className:Me.divider__label,children:t})}),N={backdrop:`_backdrop_13dud_1`,card:`_card_13dud_12`,header:`_header_13dud_34`,titleGroup:`_titleGroup_13dud_42`,iconWrap:`_iconWrap_13dud_49`,icon:`_icon_13dud_49`,title:`_title_13dud_42`,description:`_description_13dud_75`,footer:`_footer_13dud_83`,"footer--between":`_footer--between_13dud_94`,"backdrop--entering":`_backdrop--entering_13dud_112`,"sakani-modal-backdrop-in":`_sakani-modal-backdrop-in_13dud_1`,"backdrop--exiting":`_backdrop--exiting_13dud_113`,"sakani-modal-backdrop-out":`_sakani-modal-backdrop-out_13dud_1`,"card--entering":`_card--entering_13dud_114`,"sakani-modal-card-in":`_sakani-modal-card-in_13dud_1`,"card--exiting":`_card--exiting_13dud_115`,"sakani-modal-card-out":`_sakani-modal-card-out_13dud_1`},Pe=({open:r,onClose:o,title:s,description:c,variant:l=`default`,icon:u,cancelLabel:d=`Cancel`,confirmLabel:f,onCancel:p,onConfirm:m,confirmLoading:h,closeOnEscape:g=!0,closeOnBackdropClick:_=!0,children:v,hideHeader:y=!1,hideFooterDivider:b=!1,footerJustify:x=`end`,className:C})=>{let T=l===`destructive`,E=t.default.useRef(null),D=t.default.useRef(null),O=t.default.useRef(null),k=ce(O,r),A=le(O,r),j=A===`liquid`,ee=Oe(E,{enabled:j,source:!1}),[te,ne]=t.default.useState(!1);t.default.useEffect(()=>{r&&ne(!0)},[r]),t.default.useEffect(()=>{if(r||!te)return;let e=setTimeout(()=>ne(!1),240);return()=>clearTimeout(e)},[r,te]),t.default.useEffect(()=>{if(!r)return;let e=e=>{if(g&&e.key===`Escape`){o();return}if(e.key!==`Tab`||!E.current)return;let t=E.current.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[r,g,o]),t.default.useEffect(()=>{if(!r)return;D.current=document.activeElement;let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,E.current?.focus(),()=>{document.body.style.overflow=e,D.current?.focus()}},[r]);let re=()=>(p??o)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{ref:O,style:{display:`none`},"aria-hidden":`true`}),te&&(0,i.createPortal)((0,n.jsx)(`div`,{className:[N.backdrop,k,r?N[`backdrop--entering`]:N[`backdrop--exiting`]].filter(Boolean).join(` `),"data-surface":A,onMouseDown:e=>{_&&e.target===e.currentTarget&&o()},children:(0,n.jsxs)(`div`,{ref:E,role:`alertdialog`,"aria-modal":`true`,"aria-labelledby":y?void 0:`modal-title`,"aria-label":y?s:void 0,tabIndex:-1,className:[N.card,j?je(`regular`):``,r?N[`card--entering`]:N[`card--exiting`],C??``].filter(Boolean).join(` `),...j?ee.props:{},onAnimationEnd:e=>{e.target===e.currentTarget&&!r&&ne(!1)},children:[j&&ee.filter,!y&&(0,n.jsxs)(`div`,{className:N.header,children:[(0,n.jsxs)(`div`,{className:N.titleGroup,children:[T&&(0,n.jsx)(`span`,{className:N.iconWrap,"aria-hidden":`true`,children:u??(0,n.jsx)(e.I,{size:24,strokeWidth:a(24),className:N.icon})}),(0,n.jsx)(`p`,{id:`modal-title`,className:N.title,children:s})]}),(0,n.jsx)(S,{icon:e.F,variant:`ghost`,size:`lg`,"aria-label":`Close`,onClick:o})]}),c&&(0,n.jsx)(`p`,{className:N.description,children:c}),v,!b&&(0,n.jsx)(Ne,{}),(0,n.jsxs)(`div`,{className:[N.footer,x===`between`?N[`footer--between`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(w,{variant:`secondary`,onClick:re,style:{borderColor:`transparent`},children:d}),(0,n.jsx)(w,{variant:T?`destructive`:`primary`,onClick:m,loading:h,children:f??(T?`Delete`:`Confirm`)})]})]})}),document.body)]})},P={row:`_row_88l3n_2`,"row--unread":`_row--unread_88l3n_12`,iconWrapSurface:`_iconWrapSurface_88l3n_17`,iconWrapCanvas:`_iconWrapCanvas_88l3n_18`,content:`_content_88l3n_31`,titleBold:`_titleBold_88l3n_39`,titleMuted:`_titleMuted_88l3n_46`,timestamp:`_timestamp_88l3n_53`,dot:`_dot_88l3n_62`,card:`_card_88l3n_71`,cardTop:`_cardTop_88l3n_87`,description:`_description_88l3n_94`,actions:`_actions_88l3n_102`},Fe=({icon:t,title:r,timestamp:i,read:o=!1,description:s,onDismiss:c,dismissLabel:l=`Dismiss`,actionLabel:u,onAction:d,className:f})=>{let p=s!==void 0,m=!o&&!p,h=t??(0,n.jsx)(e.O,{size:24,strokeWidth:a(24)});return p?(0,n.jsxs)(`div`,{className:[P.card,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:P.cardTop,children:[(0,n.jsx)(`span`,{className:P.iconWrapCanvas,"aria-hidden":`true`,children:h}),(0,n.jsxs)(`div`,{className:P.content,children:[(0,n.jsx)(`p`,{className:P.titleBold,children:r}),(0,n.jsx)(`p`,{className:P.description,children:s})]}),c&&(0,n.jsx)(S,{icon:e.F,variant:`ghost`,size:`sm`,"aria-label":`Close`,onClick:c})]}),(0,n.jsxs)(`div`,{className:P.actions,children:[c&&(0,n.jsx)(w,{variant:`ghost`,size:`sm`,onClick:c,children:l}),u&&(0,n.jsx)(w,{variant:`secondary`,size:`sm`,onClick:d,style:{borderColor:`transparent`},children:u})]})]}):(0,n.jsxs)(`div`,{className:[P.row,m?P[`row--unread`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:P.iconWrapSurface,"aria-hidden":`true`,children:h}),(0,n.jsxs)(`div`,{className:P.content,children:[(0,n.jsx)(`p`,{className:m?P.titleBold:P.titleMuted,children:r}),i&&(0,n.jsx)(`p`,{className:P.timestamp,children:i})]}),m&&(0,n.jsx)(`span`,{className:P.dot,"aria-hidden":`true`})]})},Ie={stat:`_stat_krs8c_1`,labelRow:`_labelRow_krs8c_10`,label:`_label_krs8c_10`,value:`_value_krs8c_27`},Le=({label:e,value:t,progress:r,className:i})=>(0,n.jsxs)(`div`,{className:[Ie.stat,i??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:Ie.labelRow,children:[(0,n.jsx)(`p`,{className:Ie.label,children:e}),(0,n.jsx)(`p`,{className:Ie.value,children:t})]}),(0,n.jsx)(oe,{value:r,size:`lg`,label:e})]}),Re={balance:`_balance_5gcu5_1`,label:`_label_5gcu5_10`,amountRow:`_amountRow_5gcu5_19`,amount:`_amount_5gcu5_19`,limit:`_limit_5gcu5_34`,track:`_track_5gcu5_43`,fill:`_fill_5gcu5_50`,"fill--over":`_fill--over_5gcu5_57`,footer:`_footer_5gcu5_61`},ze=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),Be=({label:e=`Spent this month`,spent:t,limit:r,formatAmount:i=ze,className:a})=>{let o=t>r,s=o?100:r>0?t/r*100:0,c=o?`${i(t-r)} over your limit`:`${i(r-t)} remaining`;return(0,n.jsxs)(`div`,{className:[Re.balance,a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`p`,{className:Re.label,children:e}),(0,n.jsxs)(`div`,{className:Re.amountRow,children:[(0,n.jsx)(`p`,{className:Re.amount,children:i(t)}),(0,n.jsxs)(`p`,{className:Re.limit,children:[`of `,i(r),` limit`]})]}),(0,n.jsx)(`div`,{className:Re.track,role:`progressbar`,"aria-label":e,"aria-valuenow":Math.round(s),"aria-valuemin":0,"aria-valuemax":100,children:(0,n.jsx)(`div`,{className:[Re.fill,o?Re[`fill--over`]:``].filter(Boolean).join(` `),style:{width:`${s}%`}})}),(0,n.jsx)(`p`,{className:Re.footer,children:c})]})};function Ve(e){let[,n]=(0,t.useState)(0);return(0,t.useEffect)(()=>{if(typeof document>`u`)return;n(e=>e+1);let t=new MutationObserver(()=>n(e=>e+1)),r=new Set([document.documentElement]);for(let t=e.current;t;t=t.parentElement)r.add(t);return r.forEach(e=>t.observe(e,{attributes:!0,attributeFilter:[`class`]})),()=>t.disconnect()},[e]),t=>{if(typeof window>`u`)return;let n=e.current??document.documentElement;return getComputedStyle(n).getPropertyValue(t).trim()||void 0}}var He=[`#ff4700`,`#5b92dd`,`#47a8a2`,`#9179d6`,`#dca84f`,`#12b76a`],Ue={tooltip:`_tooltip_ic16u_3`,title:`_title_ic16u_23`,row:`_row_ic16u_27`,dot:`_dot_ic16u_34`,label:`_label_ic16u_41`,value:`_value_ic16u_42`},We=({active:e,payload:t,label:r,formatter:i})=>!e||!t||t.length===0?null:(0,n.jsxs)(`div`,{className:Ue.tooltip,children:[r!==void 0&&r!==``&&(0,n.jsx)(`span`,{className:Ue.title,children:r}),t.map((e,t)=>(0,n.jsxs)(`div`,{className:Ue.row,children:[(0,n.jsx)(`span`,{className:Ue.dot,style:{background:e.color??e.payload?.fill??e.fill}}),(0,n.jsx)(`span`,{className:Ue.label,children:e.name}),(0,n.jsx)(`span`,{className:Ue.value,children:i?i(e.value,e.name):e.value})]},t))]}),Ge={chart:`_chart_1s6lv_2`,legend:`_legend_1s6lv_31`,legendItem:`_legendItem_1s6lv_41`,legendSwatch:`_legendSwatch_1s6lv_46`},Ke={sm:180,md:240,lg:320,xl:420},F=6,qe=e=>{if(e<=0)return 1;let t=10**Math.floor(Math.log10(e)),n=e/t;return(n<=1?1:n<=2?2:n<=5?5:10)*t},Je=({data:e,variant:i=`default`,size:a=`md`,seriesLabels:o=[`Value`,`Value 2`],className:s})=>{let[c,l]=t.default.useState(null),[u,d]=t.default.useState(null),f=t.default.useRef(null),p=Ve(f),m=p(`--color-chart-2`)??`#5b92dd`,h=p(`--color-chart-5`)??`#dca84f`,g=p(`--color-chart-1`)??`#ff4700`,_=[1,2,3,4,5,6].map(e=>p(`--color-chart-${e}`)??He[e-1]),v=p(`--color-border-subtle`)??`#e7e5e1`,y=p(`--color-fg-muted`)??`#78716a`,b=i===`multiple`||i===`stacked`,x=b&&e.some(e=>e.value2!==void 0),S=p(`--color-bg-canvas`)??`#fafaf9`,C=qe(Math.max(1,...e.map(e=>Math.abs(e.value)))),w=[-C,-C/2,0,C/2,C],T=(0,n.jsx)(r.Tooltip,{cursor:!1,content:(0,n.jsx)(We,{}),wrapperStyle:{zIndex:50},position:u?{y:u.y}:void 0}),E=t=>i===`active`?_[t%_.length]:i===`negative`&&e[t].value<0?g:m,D=e=>c!==null&&e!==c?.45:1,O=(e,t,n,r,i,a)=>({x:e?t+r:t+r/2,y:e?n+i/2:a<0?n+i:n}),k=t=>a=>{let{x:o,y:s,width:c,height:l,fill:u,radius:d}=a,f=Number(e[a.index]?.[t]??0),{x:p,y:h}=O(i===`horizontal`,o,s,c,l,f);return i===`stacked`&&t===`value`?(0,n.jsx)(r.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}):(0,n.jsxs)(`g`,{children:[(0,n.jsx)(r.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}),(0,n.jsx)(`circle`,{cx:p,cy:h,r:4,fill:u,stroke:S,strokeWidth:1.5}),i===`stacked`&&t===`value2`&&(0,n.jsx)(`circle`,{cx:o+c/2,cy:s+l,r:4,fill:m,stroke:S,strokeWidth:1.5})]})},A=t=>(n,r)=>{l(r);let a=Number(e[r]?.[t]??0);d(O(i===`horizontal`,n.x,n.y,n.width,n.height,a))},j=()=>{l(null),d(null)};return(0,n.jsx)(`div`,{ref:f,className:[Ge.chart,s??``].filter(Boolean).join(` `),children:(0,n.jsx)(r.ResponsiveContainer,{width:`100%`,height:Ke[a],children:(0,n.jsxs)(r.BarChart,{data:e,layout:i===`horizontal`?`vertical`:`horizontal`,margin:{top:8,right:8,bottom:8,left:i===`horizontal`?8:0},children:[(0,n.jsx)(r.CartesianGrid,{strokeDasharray:`3 3`,stroke:v,horizontal:!0,vertical:i===`horizontal`}),i===`horizontal`?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.XAxis,{type:`number`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1}),(0,n.jsx)(r.YAxis,{type:`category`,dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,width:64})]}):(0,n.jsx)(r.XAxis,{dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),i===`negative`&&(0,n.jsx)(r.YAxis,{hide:!0,domain:[-C,C],ticks:w}),T,b&&(0,n.jsx)(r.Legend,{content:e=>(0,n.jsx)(`ul`,{className:Ge.legend,children:e.payload?.map(e=>(0,n.jsxs)(`li`,{className:Ge.legendItem,children:[(0,n.jsx)(`span`,{className:Ge.legendSwatch,style:{background:e.color}}),(0,n.jsx)(`span`,{style:{color:e.color},children:e.value})]},e.value))})}),b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.Bar,{dataKey:`value`,name:o[0]??`Value`,fill:m,stackId:i===`stacked`?`stack`:void 0,radius:i===`stacked`?[0,0,F,F]:[F,F,F,F],isAnimationActive:!1,activeBar:k(`value`),onMouseEnter:A(`value`),onMouseLeave:j,children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:m,fillOpacity:c!==null&&t!==c?.45:1},t))}),x&&(0,n.jsx)(r.Bar,{dataKey:`value2`,name:o[1]??`Value 2`,fill:h,stackId:i===`stacked`?`stack`:void 0,radius:i===`stacked`?[F,F,0,0]:[F,F,F,F],isAnimationActive:!1,activeBar:k(`value2`),onMouseEnter:A(`value2`),onMouseLeave:j,children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:h,fillOpacity:c!==null&&t!==c?.45:1},t))})]}):(0,n.jsx)(r.Bar,{dataKey:`value`,name:`Value`,fill:c===null?m:E(c),radius:[F,F,F,F],isAnimationActive:!1,activeBar:k(`value`),onMouseEnter:A(`value`),onMouseLeave:j,children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:E(t),fillOpacity:D(t)},t))})]})})})},Ye={badge:`_badge_a5a38_6`,"badge--neutral-subtle":`_badge--neutral-subtle_a5a38_20`,"badge--neutral-solid":`_badge--neutral-solid_a5a38_21`,"badge--accent-subtle":`_badge--accent-subtle_a5a38_24`,"badge--accent-solid":`_badge--accent-solid_a5a38_25`,"badge--success-subtle":`_badge--success-subtle_a5a38_28`,"badge--success-solid":`_badge--success-solid_a5a38_29`,"badge--warning-subtle":`_badge--warning-subtle_a5a38_32`,"badge--warning-solid":`_badge--warning-solid_a5a38_33`,"badge--danger-subtle":`_badge--danger-subtle_a5a38_36`,"badge--danger-solid":`_badge--danger-solid_a5a38_37`,"badge--info-subtle":`_badge--info-subtle_a5a38_40`,"badge--info-solid":`_badge--info-solid_a5a38_41`,badge__icon:`_badge__icon_a5a38_44`,badge__label:`_badge__label_a5a38_45`},I=({variant:e=`neutral`,emphasis:t=`subtle`,leftIcon:r,rightIcon:i,children:a,className:o})=>(0,n.jsxs)(`span`,{className:[Ye.badge,Ye[`badge--${e}-${t}`],o??``].filter(Boolean).join(` `),children:[r&&(0,n.jsx)(`span`,{className:Ye.badge__icon,"aria-hidden":`true`,children:r}),(0,n.jsx)(`span`,{className:Ye.badge__label,children:a}),i&&(0,n.jsx)(`span`,{className:Ye.badge__icon,"aria-hidden":`true`,children:i})]}),L={stepper:`_stepper_1w3rz_1`,stepBtn:`_stepBtn_1w3rz_10`,stepDivider:`_stepDivider_1w3rz_27`,stepValue:`_stepValue_1w3rz_39`,stepInput:`_stepInput_1w3rz_61`,stepInputResting:`_stepInputResting_1w3rz_75`,rollOverlay:`_rollOverlay_1w3rz_58`,rollOverlayHidden:`_rollOverlayHidden_1w3rz_92`,roll:`_roll_1w3rz_35`,rollNum:`_rollNum_1w3rz_35`,rollOutUp:`_rollOutUp_1w3rz_130`,"roll-out-up":`_roll-out-up_1w3rz_1`,rollInUp:`_rollInUp_1w3rz_131`,"roll-in-up":`_roll-in-up_1w3rz_1`,rollOutDown:`_rollOutDown_1w3rz_132`,"roll-out-down":`_roll-out-down_1w3rz_1`,rollInDown:`_rollInDown_1w3rz_133`,"roll-in-down":`_roll-in-down_1w3rz_1`},Xe=({value:e})=>{let r=t.default.useRef(e),[i,a]=t.default.useState(null);return e!==r.current&&(a({value:r.current,direction:e>r.current?`up`:`down`}),r.current=e),t.default.useEffect(()=>{if(!i)return;let e=setTimeout(()=>a(null),260);return()=>clearTimeout(e)},[i]),(0,n.jsxs)(`span`,{className:L.roll,children:[i&&(0,n.jsx)(`span`,{className:[L.rollNum,i.direction===`up`?L.rollOutUp:L.rollOutDown].join(` `),"aria-hidden":`true`,children:i.value},`out-${i.value}`),(0,n.jsx)(`span`,{className:[L.rollNum,i?i.direction===`up`?L.rollInUp:L.rollInDown:``].filter(Boolean).join(` `),onAnimationEnd:()=>a(null),children:e},`in-${e}`)]})},Ze=({quantity:r,onQuantityChange:i,min:o=1,max:s,label:c=`Quantity`,className:l})=>{let u=r>o,d=s===void 0||r<s,f=t.default.useRef(null),[p,m]=t.default.useState(!1),[h,g]=t.default.useState(String(r)),_=e=>{let t=e;return o!==void 0&&(t=Math.max(o,t)),s!==void 0&&(t=Math.min(s,t)),t};return(0,n.jsxs)(`div`,{className:[L.stepper,l??``].filter(Boolean).join(` `),role:`group`,"aria-label":c,children:[(0,n.jsx)(`button`,{type:`button`,className:L.stepBtn,disabled:!u,onClick:()=>i?.(Math.max(o,r-1)),"aria-label":`Decrease quantity`,children:(0,n.jsx)(e.E,{size:14,strokeWidth:a(14)})}),(0,n.jsx)(`span`,{className:L.stepDivider,"aria-hidden":`true`}),(0,n.jsxs)(`span`,{className:L.stepValue,children:[(0,n.jsx)(`input`,{ref:f,type:`text`,inputMode:`numeric`,size:Math.max((p?h:String(r)).length,1),className:[L.stepInput,p?``:L.stepInputResting].filter(Boolean).join(` `),value:p?h:String(r),"aria-label":c,onFocus:e=>{g(String(r)),m(!0),e.target.select()},onChange:e=>g(e.target.value.replace(/\D/g,``)),onBlur:()=>{m(!1);let e=Number.parseInt(h,10);if(!Number.isNaN(e)){let t=_(e);t!==r&&i?.(t)}},onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),f.current?.blur()),e.key===`Escape`&&(g(String(r)),f.current?.blur())}}),(0,n.jsx)(`span`,{className:[L.rollOverlay,p?L.rollOverlayHidden:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(Xe,{value:r})})]}),(0,n.jsx)(`span`,{className:L.stepDivider,"aria-hidden":`true`}),(0,n.jsx)(`button`,{type:`button`,className:L.stepBtn,disabled:!d,onClick:()=>i?.(s===void 0?r+1:Math.min(s,r+1)),"aria-label":`Increase quantity`,children:(0,n.jsx)(e.T,{size:14,strokeWidth:a(14)})})]})},Qe={item:`_item_15jww_1`,thumb:`_thumb_15jww_11`,info:`_info_15jww_19`,name:`_name_15jww_28`,variant:`_variant_15jww_40`,right:`_right_15jww_50`,price:`_price_15jww_58`,priceRow:`_priceRow_15jww_67`,priceOriginal:`_priceOriginal_15jww_75`,priceSale:`_priceSale_15jww_80`},$e=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),et=({image:t,imageAlt:r,name:i,variant:a,price:o,compareAtPrice:s,quantity:c,onQuantityChange:l,minQuantity:u=1,maxQuantity:d,onRemove:f,removeLabel:p=`Remove item`,formatPrice:m=$e,className:h})=>{let g=s!==void 0;return(0,n.jsxs)(`div`,{className:[Qe.item,h??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`img`,{src:t,alt:r??i,className:Qe.thumb}),(0,n.jsxs)(`div`,{className:Qe.info,children:[(0,n.jsx)(`p`,{className:Qe.name,children:i}),a&&(0,n.jsx)(`p`,{className:Qe.variant,children:a}),(0,n.jsx)(Ze,{quantity:c,onQuantityChange:l,min:u,max:d,label:`Quantity for ${i}`})]}),(0,n.jsxs)(`div`,{className:Qe.right,children:[g?(0,n.jsxs)(`div`,{className:Qe.priceRow,children:[(0,n.jsx)(`span`,{className:Qe.priceOriginal,children:m(s)}),(0,n.jsx)(`span`,{className:Qe.priceSale,children:m(o)})]}):(0,n.jsx)(`p`,{className:Qe.price,children:m(o)}),(0,n.jsx)(S,{icon:e.E,variant:`outline`,size:`sm`,"aria-label":p,onClick:f})]})]})},tt={steps:`_steps_t53um_1`,step:`_step_t53um_1`,connector:`_connector_t53um_16`,circle:`_circle_t53um_23`,circleCompleted:`_circleCompleted_t53um_34`,circleActive:`_circleActive_t53um_38`,circleUpcoming:`_circleUpcoming_t53um_43`,label:`_label_t53um_49`,labelActive:`_labelActive_t53um_56`,labelUpcoming:`_labelUpcoming_t53um_59`},nt=[`Cart`,`Shipping`,`Payment`,`Confirmation`],rt=({steps:r=nt,currentStep:i,className:o})=>(0,n.jsx)(`div`,{className:[tt.steps,o??``].filter(Boolean).join(` `),role:`list`,children:r.map((o,s)=>{let c=s<i?`completed`:s===i?`active`:`upcoming`,l=s===r.length-1;return(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsxs)(`div`,{className:tt.step,role:`listitem`,"aria-current":c===`active`?`step`:void 0,children:[(0,n.jsx)(`span`,{className:[tt.circle,c===`completed`?tt.circleCompleted:``,c===`active`?tt.circleActive:``,c===`upcoming`?tt.circleUpcoming:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(e.k,{size:14,strokeWidth:a(14)})}),(0,n.jsx)(`span`,{className:[tt.label,c===`active`?tt.labelActive:``,c===`upcoming`?tt.labelUpcoming:``].filter(Boolean).join(` `),children:o})]}),!l&&(0,n.jsx)(`span`,{className:tt.connector,"aria-hidden":`true`})]},o)})}),it=`#fafaf9`,at=`#141414`,ot=(e,t,n)=>{let r=e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};return .2126*r(e)+.7152*r(t)+.0722*r(n)},st=(e,t)=>{let n=Math.max(e,t),r=Math.min(e,t);return(n+.05)/(r+.05)},ct=e=>{let t=e.trim().toLowerCase(),n=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);if(n){let e=n[1];return e.length<=4&&(e=e.split(``).map(e=>e+e).join(``)),[0,2,4].map(t=>parseInt(e.slice(t,t+2),16))}let r=/^rgba?\(\s*(\d+(?:\.\d+)?)[\s,]+(\d+(?:\.\d+)?)[\s,]+(\d+(?:\.\d+)?)/.exec(t);return r?[Number(r[1]),Number(r[2]),Number(r[3])]:null},lt=(e,t,n)=>{let r=ot(e,t,n),i=st(r,ot(20,20,20));return st(r,ot(250,250,249))>=i?it:at},ut=null,dt=e=>{let t=ct(e);if(t)return lt(...t);if(typeof document>`u`)return it;ut??=document.createElement(`canvas`),ut.width=1,ut.height=1;let n=ut.getContext(`2d`,{willReadFrequently:!0});if(!n)return it;n.clearRect(0,0,1,1),n.fillStyle=e,n.fillRect(0,0,1,1);let[r,i,a]=n.getImageData(0,0,1,1).data;return lt(r,i,a)},ft={swatch:`_swatch_1ykgu_1`,circle:`_circle_1ykgu_24`,circleUnavailable:`_circleUnavailable_1ykgu_34`,ring:`_ring_1ykgu_41`,check:`_check_1ykgu_57`,strike:`_strike_1ykgu_70`},pt=({color:r,label:i,selected:o=!1,available:s=!0,onSelect:c,className:l})=>{let u=t.default.useMemo(()=>dt(r),[r]);return(0,n.jsxs)(`button`,{type:`button`,className:[ft.swatch,l??``].filter(Boolean).join(` `),style:{"--swatch-color":r},disabled:!s,"aria-pressed":s?o:void 0,"aria-label":s?i:`${i} (out of stock)`,onClick:c,children:[o&&s&&(0,n.jsx)(`span`,{className:ft.ring,"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:[ft.circle,s?``:ft.circleUnavailable].filter(Boolean).join(` `),"aria-hidden":`true`}),o&&s&&(0,n.jsx)(e.k,{size:14,strokeWidth:a(14),className:ft.check,style:{color:u},"aria-hidden":`true`}),!s&&(0,n.jsx)(`span`,{className:ft.strike,style:{background:u},"aria-hidden":`true`})]})},mt={row:`_row_1r4ef_1`,original:`_original_1r4ef_8`,price:`_price_1r4ef_17`,priceSale:`_priceSale_1r4ef_24`},ht=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),gt=({price:e,compareAtPrice:t,showBadge:r=!1,formatPrice:i=ht,className:a})=>{let o=t!==void 0,s=o?Math.ceil((1-e/t)*100):0;return(0,n.jsxs)(`div`,{className:[mt.row,a??``].filter(Boolean).join(` `),children:[o&&(0,n.jsx)(`span`,{className:mt.original,children:i(t)}),(0,n.jsx)(`span`,{className:[mt.price,o?mt.priceSale:``].filter(Boolean).join(` `),children:i(e)}),o&&r&&(0,n.jsxs)(I,{variant:`danger`,emphasis:`solid`,children:[`Save `,s,`%`]})]})},_t={button:`_button_58k4v_1`,icon:`_icon_58k4v_24`,iconSaved:`_iconSaved_58k4v_27`,bounce:`_bounce_58k4v_40`,"wishlist-bounce":`_wishlist-bounce_58k4v_1`},vt=({saved:r=!1,onToggle:i,label:o=`item`,className:s})=>{let[c,l]=t.default.useState(!1);return(0,n.jsx)(`button`,{type:`button`,className:[_t.button,s??``].filter(Boolean).join(` `),"aria-pressed":r,"aria-label":r?`Remove ${o} from wishlist`:`Add ${o} to wishlist`,onClick:()=>{r||l(!0),i?.(!r)},children:(0,n.jsx)(e.C,{size:16,strokeWidth:a(16),className:[r?_t.iconSaved:_t.icon,c?_t.bounce:``].filter(Boolean).join(` `),fill:r?`currentColor`:`none`,onAnimationEnd:()=>l(!1)})})},R={card:`_card_r8iyr_1`,imageWrap:`_imageWrap_r8iyr_16`,image:`_image_r8iyr_16`,imageDimmed:`_imageDimmed_r8iyr_35`,saleBadge:`_saleBadge_r8iyr_39`,wishlistBtn:`_wishlistBtn_r8iyr_45`,outOfStockLabel:`_outOfStockLabel_r8iyr_51`,body:`_body_r8iyr_64`,rating:`_rating_r8iyr_75`,starFilled:`_starFilled_r8iyr_80`,starEmpty:`_starEmpty_r8iyr_81`,titleRow:`_titleRow_r8iyr_83`,name:`_name_r8iyr_90`,priceRow:`_priceRow_r8iyr_103`,priceOriginal:`_priceOriginal_r8iyr_109`,price:`_price_r8iyr_103`,description:`_description_r8iyr_125`,swatches:`_swatches_r8iyr_138`,addButton:`_addButton_r8iyr_146`},yt=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),bt=({image:t,imageAlt:r,name:i,description:o,price:s,compareAtPrice:c,rating:l,reviewCount:u,colors:d=[],onColorSelect:f,inStock:p=!0,wishlisted:m=!1,onWishlistToggle:h,onAddItem:g,addItemLabel:_=`Add Item`,formatPrice:v=yt,className:y})=>{let b=c!==void 0,x=b?Math.ceil((1-s/c)*100):0,S=l===void 0?0:Math.round(l);return(0,n.jsxs)(`div`,{className:[R.card,y??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:R.imageWrap,children:[(0,n.jsx)(`img`,{src:t,alt:r??i,className:[R.image,p?``:R.imageDimmed].filter(Boolean).join(` `)}),b&&p&&(0,n.jsxs)(I,{variant:`danger`,emphasis:`solid`,className:R.saleBadge,children:[`-`,x,`%`]}),p&&(0,n.jsx)(vt,{saved:m,label:i,className:R.wishlistBtn,onToggle:h}),!p&&(0,n.jsx)(`span`,{className:R.outOfStockLabel,children:`Out of stock`})]}),(0,n.jsxs)(`div`,{className:R.body,children:[l!==void 0&&(0,n.jsx)(`div`,{className:R.rating,role:`img`,"aria-label":`Rated ${l} out of 5${u?` (${u} reviews)`:``}`,children:Array.from({length:5}).map((t,r)=>(0,n.jsx)(e.w,{size:16,strokeWidth:a(16),className:r<S?R.starFilled:R.starEmpty,fill:r<S?`currentColor`:`none`},r))}),(0,n.jsxs)(`div`,{className:R.titleRow,children:[(0,n.jsx)(`p`,{className:R.name,children:i}),(0,n.jsxs)(`div`,{className:R.priceRow,children:[b&&(0,n.jsx)(`span`,{className:R.priceOriginal,children:v(c)}),(0,n.jsx)(`span`,{className:R.price,children:v(s)})]})]}),o&&(0,n.jsx)(`p`,{className:R.description,children:o}),d.length>0&&(0,n.jsx)(`div`,{className:R.swatches,role:`group`,"aria-label":`Color`,children:d.map(e=>(0,n.jsx)(pt,{...e,onSelect:()=>f?.(e.id??e.label)},e.id??e.label))}),(0,n.jsx)(w,{variant:`primary`,size:`md`,disabled:!p,className:R.addButton,onClick:g,children:p?_:`Out of stock`})]})]})},z={gallery:`_gallery_1mrk8_1`,galleryBottom:`_galleryBottom_1mrk8_5`,galleryLeft:`_galleryLeft_1mrk8_10`,mainImage:`_mainImage_1mrk8_16`,mainBottom:`_mainBottom_1mrk8_23`,mainLeft:`_mainLeft_1mrk8_31`,thumbs:`_thumbs_1mrk8_41`,thumbsBottom:`_thumbsBottom_1mrk8_45`,thumbsLeft:`_thumbsLeft_1mrk8_50`,thumb:`_thumb_1mrk8_41`,thumbBottom:`_thumbBottom_1mrk8_65`,thumbLeft:`_thumbLeft_1mrk8_70`,thumbActive:`_thumbActive_1mrk8_75`,thumbImage:`_thumbImage_1mrk8_79`},xt=({images:e,thumbsPosition:r=`bottom`,activeIndex:i,defaultActiveIndex:a=0,onActiveIndexChange:o,className:s})=>{let c=i!==void 0,[l,u]=t.default.useState(a),d=c?i:l,f=e=>{c||u(e),o?.(e)},p=e[d]??e[0],m=r===`left`,h=(0,n.jsx)(`div`,{className:[z.thumbs,m?z.thumbsLeft:z.thumbsBottom].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Product images`,children:e.map((e,t)=>(0,n.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":t===d,"aria-label":e.alt??`Image ${t+1}`,className:[z.thumb,m?z.thumbLeft:z.thumbBottom,t===d?z.thumbActive:``].filter(Boolean).join(` `),onClick:()=>f(t),children:(0,n.jsx)(`img`,{src:e.src,alt:``,className:z.thumbImage})},e.src+t))});return(0,n.jsxs)(`div`,{className:[z.gallery,m?z.galleryLeft:z.galleryBottom,s??``].filter(Boolean).join(` `),children:[!m&&p&&(0,n.jsx)(`div`,{className:z.mainBottom,children:(0,n.jsx)(`img`,{src:p.src,alt:p.alt??``,className:z.mainImage})}),h,m&&p&&(0,n.jsx)(`div`,{className:z.mainLeft,children:(0,n.jsx)(`img`,{src:p.src,alt:p.alt??``,className:z.mainImage})})]})},St={button:`_button_1vgn5_1`,unselected:`_unselected_1vgn5_23`,selected:`_selected_1vgn5_32`,unavailable:`_unavailable_1vgn5_37`,label:`_label_1vgn5_44`,strike:`_strike_1vgn5_55`},Ct=({size:e,selected:t=!1,available:r=!0,onSelect:i,className:a})=>(0,n.jsxs)(`button`,{type:`button`,className:[St.button,r?t?St.selected:St.unselected:St.unavailable,a??``].filter(Boolean).join(` `),disabled:!r,"aria-pressed":r?t:void 0,"aria-label":r?`Size ${e}`:`Size ${e} (out of stock)`,onClick:i,children:[(0,n.jsx)(`span`,{className:St.label,children:e}),!r&&(0,n.jsx)(`span`,{className:St.strike,"aria-hidden":`true`})]}),wt={row:`_row_1snsi_1`,rowVertical:`_rowVertical_1snsi_8`,stars:`_stars_1snsi_13`,starFull:`_starFull_1snsi_19`,starEmpty:`_starEmpty_1snsi_24`,label:`_label_1snsi_29`,value:`_value_1snsi_38`,count:`_count_1snsi_43`},Tt=e=>e.toLocaleString(`en-US`),Et=({rating:t,reviewCount:r,showLabel:i=!0,orientation:o=`horizontal`,formatReviewCount:s=Tt,className:c})=>{let l=Math.max(0,Math.min(5,t)),u=Math.round(l*2)/2,d=Math.floor(u),f=u-d===.5,p=5-d-!!f,m=(0,n.jsxs)(`div`,{className:wt.stars,role:`img`,"aria-label":`${l} out of 5 stars`,children:[Array.from({length:d},(t,r)=>(0,n.jsx)(e.w,{size:24,strokeWidth:a(24),className:wt.starFull,fill:`currentColor`,"aria-hidden":`true`},`full-${r}`)),f&&(0,n.jsx)(e.S,{size:24,strokeWidth:a(24),className:wt.starFull,fill:`currentColor`,"aria-hidden":`true`}),Array.from({length:p},(t,r)=>(0,n.jsx)(e.w,{size:24,strokeWidth:a(24),className:wt.starEmpty,"aria-hidden":`true`},`empty-${r}`))]}),h=i&&(0,n.jsxs)(`div`,{className:wt.label,children:[(0,n.jsx)(`span`,{className:wt.value,children:l.toFixed(1)}),r!==void 0&&(0,n.jsxs)(`span`,{className:wt.count,children:[`(`,s(r),` reviews)`]})]}),g=[wt.row,o===`vertical`?wt.rowVertical:``,c??``].filter(Boolean).join(` `);return o===`horizontal-reverse`?(0,n.jsxs)(`div`,{className:g,children:[h,m]}):(0,n.jsxs)(`div`,{className:g,children:[m,h]})},Dt=({quantity:e,lowStockThreshold:t=5,label:r,className:i})=>{let a=e<=0,o=!a&&e<=t,s=a?`danger`:o?`warning`:`success`,c=a?`Out of stock`:o?`Only ${e} left`:`In stock`;return(0,n.jsx)(I,{variant:s,emphasis:`subtle`,className:i,children:r??c})},B={card:`_card_1w9hp_1`,cardDefault:`_cardDefault_1w9hp_8`,imageDefault:`_imageDefault_1w9hp_19`,bodyDefault:`_bodyDefault_1w9hp_27`,cardHorizontal:`_cardHorizontal_1w9hp_53`,imageWrapHorizontal:`_imageWrapHorizontal_1w9hp_61`,image:`_image_1w9hp_19`,bodyHorizontal:`_bodyHorizontal_1w9hp_77`,metaRow:`_metaRow_1w9hp_89`,readTime:`_readTime_1w9hp_96`,title:`_title_1w9hp_105`,excerpt:`_excerpt_1w9hp_114`,author:`_author_1w9hp_123`,authorText:`_authorText_1w9hp_130`},Ot=({image:e,imageAlt:t,category:r,readTime:i,title:a,excerpt:o,author:s,layout:c=`default`,className:l})=>{let u=c===`horizontal`;return(0,n.jsxs)(`div`,{className:[B.card,u?B.cardHorizontal:B.cardDefault,l??``].filter(Boolean).join(` `),children:[u?(0,n.jsx)(`span`,{className:B.imageWrapHorizontal,children:(0,n.jsx)(`img`,{src:e,alt:t??``,className:B.image})}):(0,n.jsx)(`img`,{src:e,alt:t??``,className:B.imageDefault}),(0,n.jsxs)(`div`,{className:u?B.bodyHorizontal:B.bodyDefault,children:[(0,n.jsxs)(`div`,{className:B.metaRow,children:[(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:r}),(0,n.jsx)(`span`,{className:B.readTime,children:i})]}),(0,n.jsx)(`p`,{className:B.title,children:a}),(0,n.jsx)(`p`,{className:B.excerpt,children:o}),(0,n.jsxs)(`div`,{className:B.author,children:[(0,n.jsx)(f,{size:`sm`,src:s.avatarSrc,alt:s.avatarAlt??s.name}),(0,n.jsxs)(`p`,{className:B.authorText,children:[s.name,` · `,s.date]})]})]})]})},V={frame:`_frame_a9ah9_4`,frameHorizontal:`_frameHorizontal_a9ah9_5`,frameVertical:`_frameVertical_a9ah9_6`,card:`_card_a9ah9_8`,cardHorizontal:`_cardHorizontal_a9ah9_19`,cardVertical:`_cardVertical_a9ah9_26`,image:`_image_a9ah9_37`,bodyHorizontal:`_bodyHorizontal_a9ah9_48`,bodyVertical:`_bodyVertical_a9ah9_61`,title:`_title_a9ah9_72`,excerpt:`_excerpt_a9ah9_82`,footer:`_footer_a9ah9_91`,author:`_author_a9ah9_99`,authorText:`_authorText_a9ah9_106`},kt=({image:e,imageAlt:t,badgeLabel:r=`Featured`,title:i,excerpt:a,author:o,ctaLabel:s=`Read article`,onCtaClick:c,orientation:l=`horizontal`,className:u})=>{let d=l===`vertical`;return(0,n.jsx)(`div`,{className:[V.frame,d?V.frameVertical:V.frameHorizontal,u??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`div`,{className:[V.card,d?V.cardVertical:V.cardHorizontal].join(` `),children:[(0,n.jsx)(`img`,{src:e,alt:t??``,className:V.image}),(0,n.jsxs)(`div`,{className:d?V.bodyVertical:V.bodyHorizontal,children:[(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:r}),(0,n.jsx)(`p`,{className:V.title,children:i}),(0,n.jsx)(`p`,{className:V.excerpt,children:a}),(0,n.jsxs)(`div`,{className:V.footer,children:[(0,n.jsxs)(`div`,{className:V.author,children:[(0,n.jsx)(f,{size:`md`,src:o.avatarSrc,alt:o.avatarAlt??o.name,initials:o.initials}),(0,n.jsxs)(`p`,{className:V.authorText,children:[o.name,` · `,o.date]})]}),(0,n.jsx)(w,{variant:`secondary`,size:`sm`,onClick:c,children:s})]})]})]})})},At={chip:`_chip_scl8l_1`,"chip--sm":`_chip--sm_scl8l_11`,"chip--md":`_chip--md_scl8l_17`,"chip--lg":`_chip--lg_scl8l_23`,"chip--light":`_chip--light_scl8l_31`,"chip--outline":`_chip--outline_scl8l_35`,"chip--solid":`_chip--solid_scl8l_39`,"chip--subtle":`_chip--subtle_scl8l_43`},jt={sm:16,md:20,lg:24},Mt=({icon:e,size:r=`md`,variant:i=`light`,className:o})=>{let s=jt[r],c=t.default.isValidElement(e)?t.default.cloneElement(e,{size:s,strokeWidth:a(s)}):e;return(0,n.jsx)(`div`,{className:[At.chip,At[`chip--${r}`],At[`chip--${i}`],o??``].filter(Boolean).join(` `),"aria-hidden":`true`,children:c})},Nt={group:`_group_mvlh4_3`,group__item:`_group__item_mvlh4_6`,"group--sm":`_group--sm_mvlh4_9`,"group--lg":`_group--lg_mvlh4_10`,"group--xl":`_group--xl_mvlh4_11`,overflow:`_overflow_mvlh4_14`,"overflow--sm":`_overflow--sm_mvlh4_25`,"overflow--md":`_overflow--md_mvlh4_26`,"overflow--lg":`_overflow--lg_mvlh4_27`,"overflow--xl":`_overflow--xl_mvlh4_28`},Pt=({size:e=`md`,max:t=4,avatars:r,className:i})=>{let a=r.slice(0,t),o=r.length-a.length;return(0,n.jsxs)(`div`,{className:[Nt.group,Nt[`group--${e}`],i??``].filter(Boolean).join(` `),children:[a.map((t,r)=>(0,n.jsx)(`span`,{className:Nt.group__item,children:(0,n.jsx)(f,{size:e,src:t.src,initials:t.initials,alt:t.alt})},r)),o>0&&(0,n.jsx)(`span`,{className:Nt.group__item,children:(0,n.jsxs)(`span`,{className:[Nt.overflow,Nt[`overflow--${e}`]].join(` `),children:[`+`,o]})})]})},Ft={root:`_root_165je_1`,dot:`_dot_165je_13`,dotActive:`_dotActive_165je_21`,dotRemote:`_dotRemote_165je_25`},It=({location:e,status:t=`active`,className:r})=>(0,n.jsxs)(`span`,{className:[Ft.root,r??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:[Ft.dot,t===`active`?Ft.dotActive:Ft.dotRemote].join(` `),"aria-hidden":`true`}),e]}),H={root:`_root_15jaa_1`,rootCard:`_rootCard_15jaa_9`,rootRow:`_rootRow_15jaa_21`,rowLeft:`_rowLeft_15jaa_27`,titleGroup:`_titleGroup_15jaa_36`,title:`_title_15jaa_36`,description:`_description_15jaa_56`,metaRow:`_metaRow_15jaa_65`,applyBtn:`_applyBtn_15jaa_72`},Lt=({title:e,description:t,department:r,employmentType:i,location:a,locationStatus:o=`remote`,onApply:s,applyLabel:c=`Apply now`,layout:l=`card`,className:u})=>{let d=l===`row`,f=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(`div`,{className:H.titleGroup,children:[(0,n.jsx)(`p`,{className:H.title,children:e}),(0,n.jsx)(`p`,{className:H.description,children:t})]}),(0,n.jsxs)(`div`,{className:H.metaRow,children:[(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:r}),(0,n.jsx)(I,{variant:`neutral`,emphasis:`subtle`,children:i}),(0,n.jsx)(It,{location:a,status:o})]})]});return d?(0,n.jsxs)(`div`,{className:[H.root,H.rootRow,u??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`div`,{className:H.rowLeft,children:f}),(0,n.jsx)(w,{variant:`secondary`,size:`sm`,className:H.applyBtn,onClick:s,children:c})]}):(0,n.jsxs)(`div`,{className:[H.root,H.rootCard,u??``].filter(Boolean).join(` `),children:[f,(0,n.jsx)(w,{variant:`secondary`,size:`sm`,onClick:s,children:c})]})},Rt={root:`_root_3bf2n_1`,rootCenter:`_rootCenter_3bf2n_9`,rootLeft:`_rootLeft_3bf2n_14`,title:`_title_3bf2n_19`,subtitle:`_subtitle_3bf2n_28`},zt=({eyebrow:e,title:t,subtitle:r,align:i=`center`,titleAs:a=`h2`,className:o})=>(0,n.jsxs)(`div`,{className:[Rt.root,i===`left`?Rt.rootLeft:Rt.rootCenter,o??``].filter(Boolean).join(` `),children:[e&&(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:e}),(0,n.jsx)(a,{className:Rt.title,children:t}),r&&(0,n.jsx)(`p`,{className:Rt.subtitle,children:r})]}),U={card:`_card_mouc6_1`,imageWrap:`_imageWrap_mouc6_19`,image:`_image_mouc6_19`,locationBar:`_locationBar_mouc6_39`,locationDot:`_locationDot_mouc6_59`,info:`_info_mouc6_66`,metaRow:`_metaRow_mouc6_77`,identity:`_identity_mouc6_85`,name:`_name_mouc6_93`,role:`_role_mouc6_102`,social:`_social_mouc6_111`,bio:`_bio_mouc6_119`},Bt=({image:e,imageAlt:t,name:r,role:i,location:a,locationStatus:o=`active`,bio:s,socialLinks:c=[],className:l})=>(0,n.jsxs)(`div`,{className:[U.card,l??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:U.imageWrap,children:[(0,n.jsx)(`img`,{src:e,alt:t??r,className:U.image}),(0,n.jsx)(`div`,{className:U.locationBar,children:(0,n.jsx)(It,{location:a,status:o,className:U.locationDot})})]}),(0,n.jsxs)(`div`,{className:U.info,children:[(0,n.jsxs)(`div`,{className:U.metaRow,children:[(0,n.jsxs)(`div`,{className:U.identity,children:[(0,n.jsx)(`p`,{className:U.name,children:r}),(0,n.jsx)(`p`,{className:U.role,children:i})]}),c.length>0&&(0,n.jsx)(`div`,{className:U.social,children:c.map((e,t)=>(0,n.jsx)(`a`,{href:e.href,onClick:e.onClick,"aria-label":e.label,children:(0,n.jsx)(Mt,{icon:e.icon,size:`sm`,variant:`subtle`})},e.label??t))})]}),s&&(0,n.jsx)(`p`,{className:U.bio,children:s})]})]}),Vt={alert:`_alert_1hjs5_3`,alert__icon:`_alert__icon_1hjs5_12`,alert__content:`_alert__content_1hjs5_13`,alert__title:`_alert__title_1hjs5_14`,alert__description:`_alert__description_1hjs5_15`,"alert--info":`_alert--info_1hjs5_18`,"alert--success":`_alert--success_1hjs5_21`,"alert--warning":`_alert--warning_1hjs5_24`,"alert--danger":`_alert--danger_1hjs5_27`,"alert--neutral":`_alert--neutral_1hjs5_30`},Ht={info:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,n.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]}),success:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,n.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),warning:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`path`,{d:`M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`}),(0,n.jsx)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`}),(0,n.jsx)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`})]}),danger:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,n.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),neutral:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,n.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},Ut=({color:e=`info`,title:t,description:r,icon:i,className:o})=>(0,n.jsxs)(`div`,{role:`alert`,className:[Vt.alert,Vt[`alert--${e}`],o??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:Vt.alert__icon,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:i??Ht[e]})}),(0,n.jsxs)(`div`,{className:Vt.alert__content,children:[t&&(0,n.jsx)(`div`,{className:Vt.alert__title,children:t}),r&&(0,n.jsx)(`div`,{className:Vt.alert__description,children:r})]})]}),W={card:`_card_6iftf_2`,"card--hover":`_card--hover_6iftf_15`,"card--selected":`_card--selected_6iftf_16`,"card--dragging":`_card--dragging_6iftf_17`,"card--done":`_card--done_6iftf_18`,card__cover:`_card__cover_6iftf_20`,card__header:`_card__header_6iftf_26`,card__leading:`_card__leading_6iftf_27`,card__title:`_card__title_6iftf_28`,card__trailing:`_card__trailing_6iftf_37`,card__desc:`_card__desc_6iftf_38`,card__tags:`_card__tags_6iftf_45`,card__divider:`_card__divider_6iftf_46`,card__footer:`_card__footer_6iftf_47`,card__meta:`_card__meta_6iftf_48`,card__assignees:`_card__assignees_6iftf_49`},Wt=({type:e=`default`,state:t=`default`,cover:r,leading:i,title:a,trailing:o,description:s,tags:c,meta:l,assignees:u,onClick:d,className:f})=>{let p=e!==`compact`,m=l||u;return(0,n.jsxs)(`div`,{onClick:d,"aria-selected":t===`selected`||void 0,className:[W.card,W[`card--${e}`],W[`card--${t}`],f??``].filter(Boolean).join(` `),children:[e===`cover`&&(0,n.jsx)(`div`,{className:W.card__cover,children:r}),(0,n.jsxs)(`div`,{className:W.card__header,children:[i&&(0,n.jsx)(`span`,{className:W.card__leading,children:i}),(0,n.jsx)(`span`,{className:W.card__title,children:a}),o&&(0,n.jsx)(`span`,{className:W.card__trailing,children:o})]}),p&&s&&(0,n.jsx)(`p`,{className:W.card__desc,children:s}),p&&c&&(0,n.jsx)(`div`,{className:W.card__tags,children:c}),m&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:W.card__divider}),(0,n.jsxs)(`div`,{className:W.card__footer,children:[l&&(0,n.jsx)(`div`,{className:W.card__meta,children:l}),u&&(0,n.jsx)(`div`,{className:W.card__assignees,children:u})]})]})]})},Gt={breadcrumb:`_breadcrumb_tszff_3`,list:`_list_tszff_5`,item:`_item_tszff_15`,crumb:`_crumb_tszff_17`,current:`_current_tszff_26`,separator:`_separator_tszff_33`,"list--button":`_list--button_tszff_38`,chip:`_chip_tszff_41`},Kt={highlight:`_highlight_1bp09_15`,visible:`_visible_1bp09_24`,glide:`_glide_1bp09_28`},qt=e=>e.getAttribute(`data-hover-item`)===`off`||e.getAttribute(`aria-disabled`)===`true`||e.disabled===!0;function Jt(e,t){let n=0,r=0,i=e;for(;i&&i!==t;){n+=i.offsetLeft,r+=i.offsetTop;let e=i.offsetParent;if(!e)break;e!==t&&(n+=e.clientLeft,r+=e.clientTop),i=e}for(let i=e.parentElement;i&&i!==t;i=i.parentElement)n-=i.scrollLeft,r-=i.scrollTop;let a=getComputedStyle(e);return{x:n,y:r,w:e.offsetWidth,h:e.offsetHeight,radius:a.borderRadius,tone:a.getPropertyValue(`--hover-tone`).trim()}}function Yt(){let e=t.default.useRef(null),[r,i]=t.default.useState(null),a=t.default.useCallback(t=>{e.current=t,i(t)},[]),o=t.default.useRef(null),s=t.default.useRef(!1),c=t.default.useRef(null),l=t.default.useRef(!1),u=t.default.useRef(null),[d,f]=t.default.useState(null),[p,m]=t.default.useState(!1),[h,g]=t.default.useState(!1),_=t.default.useCallback(()=>{s.current=!1,o.current=null,l.current=!1,m(!1)},[]),v=t.default.useCallback(t=>{let n=e.current;if(!n)return;n!==u.current&&(u.current=n,s.current=!1),o.current=t;let r=Jt(t,n);if(s.current){f(r);return}s.current=!0,l.current=!0,g(!1),f(r),m(!0)},[]);t.default.useLayoutEffect(()=>{!l.current||h||!p||(l.current=!1,c.current&&getComputedStyle(c.current).transform,g(!0))},[d,p,h]);let y=t.default.useCallback(t=>{let n=e.current;if(!n)return;let r=t.target.closest(`[data-hover-item]`);if(!(!r||r.closest(`[data-hover-group]`)!==n)){if(qt(r)){_();return}r!==o.current&&v(r)}},[_,v]);t.default.useEffect(()=>{let e=r;if(!e)return;let t=()=>{let t=o.current;if(!(!t||!s.current)){if(!e.contains(t)){_();return}f(Jt(t,e))}},n=new ResizeObserver(t);return n.observe(e),e.addEventListener(`scroll`,t,!0),()=>{n.disconnect(),e.removeEventListener(`scroll`,t,!0)}},[r,_]);let b=(0,n.jsx)(`span`,{ref:c,"aria-hidden":`true`,className:[Kt.highlight,p?Kt.visible:``,h?Kt.glide:``].filter(Boolean).join(` `),style:d?{transform:`translate(${d.x}px, ${d.y}px)`,width:d.w,height:d.h,borderRadius:d.radius,background:d.tone||void 0}:void 0}),x=t.default.useCallback(e=>{e&&!qt(e)?v(e):_()},[_,v]);return{ref:a,groupProps:{"data-hover-group":``,onMouseOver:y,onMouseLeave:_},highlight:b,showItem:x}}var Xt=({children:e,style:t,...r})=>{let{ref:i,groupProps:a,highlight:o}=Yt();return(0,n.jsxs)(`div`,{ref:i,...r,...a,style:{position:`relative`,...t},children:[o,e]})},Zt=({size:e})=>(0,n.jsx)(`span`,{className:Gt.separator,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(e),strokeLinecap:`round`,strokeLinejoin:`round`,width:e,height:e,children:(0,n.jsx)(`path`,{d:`m9 18 6-6-6-6`})})}),Qt=({items:e,variant:t=`text`,className:r})=>{let i=t===`button`,a=Yt();return(0,n.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:[Gt.breadcrumb,r??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`ol`,{ref:a.ref,...i?a.groupProps:{},className:[Gt.list,i?Gt[`list--button`]:``].filter(Boolean).join(` `),children:[i&&(0,n.jsx)(`li`,{"aria-hidden":`true`,style:{display:`contents`},children:a.highlight}),e.map((t,r)=>{let a=r===e.length-1,o=i?Gt.chip:a?Gt.current:Gt.crumb;return(0,n.jsxs)(`li`,{className:Gt.item,children:[a||!t.href?(0,n.jsx)(`span`,{className:o,"data-hover-item":i?`off`:void 0,"aria-current":a?`page`:void 0,children:t.label}):(0,n.jsx)(`a`,{href:t.href,"data-hover-item":``,className:o,children:t.label}),!a&&(0,n.jsx)(Zt,{size:i?14:16})]},r)})]})})},$t={meta:`_meta_g1mpv_2`,meta__icon:`_meta__icon_g1mpv_3`,meta__label:`_meta__label_g1mpv_4`},en=({icon:e,children:t,className:r})=>(0,n.jsxs)(`span`,{className:[$t.meta,r??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:$t.meta__icon,"aria-hidden":`true`,children:e}),(0,n.jsx)(`span`,{className:$t.meta__label,children:t})]}),tn={composer:`_composer_1dwtx_2`,"composer--typing":`_composer--typing_1dwtx_15`,input:`_input_1dwtx_22`,"composer--disabled":`_composer--disabled_1dwtx_23`,upload:`_upload_1dwtx_25`,upload__icon:`_upload__icon_1dwtx_30`,upload__body:`_upload__body_1dwtx_31`,upload__name:`_upload__name_1dwtx_32`,upload__track:`_upload__track_1dwtx_33`,upload__fill:`_upload__fill_1dwtx_34`,row:`_row_1dwtx_36`,icon:`_icon_1dwtx_37`,send:`_send_1dwtx_52`},nn=({state:r=`default`,value:o,placeholder:s=`Message...`,onChange:c,onSend:l,onAttachmentsChange:u,uploadName:d,uploadProgress:f=0,onCancelUpload:p,className:m})=>{let h=r===`disabled`,[g,_]=t.default.useState(``),[v,y]=t.default.useState(!1),[b,x]=t.default.useState({top:0,right:0}),[C,w]=t.default.useState([]),T=t.default.useRef(null),E=t.default.useRef(null),D=t.default.useRef(null),O=t.default.useRef(null),k=o===void 0?g:o,A=!h&&(k.trim().length>0||r===`typing`||C.length>0),j=()=>{E.current?.click()},ee=e=>{let t=e.target.files;t&&(Array.from(t).forEach(e=>{if(e.type.startsWith(`image/`)||e.type.startsWith(`video/`)){let t=new FileReader;t.onload=t=>{let n=t.target?.result;w(t=>[...t,{name:e.name,type:e.type,dataUrl:n}])},t.readAsDataURL(e)}}),e.target.value=``)},te=e=>{w(t=>t.filter((t,n)=>n!==e))},ne=()=>{if(!v&&T.current){let e=T.current.getBoundingClientRect();x({top:e.top-104-4,right:20})}y(!v)},re=e=>{if(T.current){let t=T.current.selectionStart||k.length,n=k.slice(0,t)+e+k.slice(t);_(n),c?.(n),T.current.focus(),T.current.setSelectionRange(t+e.length,t+e.length)}y(!1)};return t.default.useEffect(()=>{let e=e=>{O.current&&!O.current.contains(e.target)&&D.current&&!D.current.contains(e.target)&&y(!1)};return v&&document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[v]),t.default.useEffect(()=>{u?.(C)},[C,u]),(0,n.jsxs)(`div`,{className:[tn.composer,tn[`composer--${r}`],m??``].filter(Boolean).join(` `),children:[r===`uploading`&&(0,n.jsxs)(`div`,{className:tn.upload,children:[(0,n.jsx)(e.p,{size:16,strokeWidth:a(16),className:tn.upload__icon,"aria-hidden":`true`}),(0,n.jsxs)(`div`,{className:tn.upload__body,children:[(0,n.jsx)(`span`,{className:tn.upload__name,children:d}),(0,n.jsx)(`div`,{className:tn.upload__track,children:(0,n.jsx)(`div`,{className:tn.upload__fill,style:{width:`${f}%`}})})]}),(0,n.jsx)(S,{icon:e.F,variant:`ghost`,size:`md`,onClick:p,"aria-label":`Cancel upload`})]}),C.length>0&&(0,n.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:`8px`,padding:`8px`,backgroundColor:`var(--color-bg-subtle)`,borderRadius:`8px`},children:C.map((t,r)=>(0,n.jsxs)(`div`,{style:{position:`relative`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`80px`,height:`80px`,borderRadius:`8px`,overflow:`hidden`,backgroundColor:`var(--color-bg-muted)`,border:`1px solid var(--color-border-default)`},children:[t.type.startsWith(`image/`)?(0,n.jsx)(`img`,{src:t.dataUrl,alt:t.name,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,n.jsxs)(`div`,{style:{textAlign:`center`,padding:`8px`},children:[(0,n.jsx)(e.p,{size:24,strokeWidth:1.5}),(0,n.jsx)(`div`,{style:{fontSize:`10px`,marginTop:`4px`,color:`var(--color-fg-muted)`},children:t.name.split(`.`).pop()?.toUpperCase()})]}),(0,n.jsx)(`button`,{type:`button`,onClick:()=>te(r),style:{position:`absolute`,top:`-8px`,right:`-8px`,width:`24px`,height:`24px`,borderRadius:`50%`,background:`var(--color-accent-default)`,border:`none`,color:`white`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:`16px`,lineHeight:`1`},"aria-label":`Remove file`,children:`x`})]},r))}),(0,n.jsx)(`input`,{ref:E,type:`file`,multiple:!0,accept:`image/*,video/*`,onChange:ee,style:{display:`none`}}),(0,n.jsxs)(`div`,{className:tn.row,children:[(0,n.jsx)(S,{icon:e.g,variant:`ghost`,size:`sm`,onClick:j,disabled:h,"aria-label":`Attach file`}),(0,n.jsx)(`input`,{ref:T,type:`text`,className:tn.input,value:k,placeholder:h?`You can't reply to this conversation`:s,disabled:h,onChange:e=>{o===void 0&&_(e.target.value),c?.(e.target.value)},onKeyDown:e=>{e.key===`Enter`&&A&&(e.preventDefault(),l?.())}}),(0,n.jsx)(S,{ref:D,icon:e.h,variant:`ghost`,size:`sm`,onClick:ne,disabled:h,"aria-label":`Add emoji`}),v&&!h&&i.default.createPortal((0,n.jsx)(`div`,{ref:O,style:{position:`fixed`,top:`${b.top}px`,right:`${b.right}px`,zIndex:1e4,boxShadow:`0 4px 20px rgba(0, 0, 0, 0.15)`,borderRadius:`8px`,backgroundColor:`var(--color-bg-surface)`,border:`1px solid var(--color-border-default)`,padding:`12px`,display:`grid`,gridTemplateColumns:`repeat(8, 1fr)`,gap:`4px`,width:`280px`},children:[`😀`,`😂`,`❤️`,`👍`,`🎉`,`✨`,`😍`,`🤔`,`👏`,`🚀`,`🔥`,`💯`,`😢`,`😱`,`🤗`,`😎`].map(e=>(0,n.jsx)(`button`,{onClick:()=>re(e),style:{background:`none`,border:`none`,fontSize:`24px`,cursor:`pointer`,padding:`4px`,borderRadius:`4px`,transition:`background-color 0.2s`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`var(--color-bg-subtle)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`transparent`},children:e},e))}),document.body),(0,n.jsx)(S,{icon:e.m,variant:`primary`,size:`sm`,onClick:l,disabled:!A,"aria-label":`Send message`})]})]})},rn={wrapper:`_wrapper_1nmcn_3`,"wrapper--disabled":`_wrapper--disabled_1nmcn_11`,input:`_input_1nmcn_14`,box:`_box_1nmcn_21`,check:`_check_1nmcn_42`,dash:`_dash_1nmcn_53`,text:`_text_1nmcn_71`,text__label:`_text__label_1nmcn_72`,text__description:`_text__description_1nmcn_73`,checkbox:`_checkbox_1nmcn_77`,"wrapper--withDescription":`_wrapper--withDescription_1nmcn_81`},an=t.default.forwardRef(({label:e,description:r,indeterminate:i,disabled:a,id:o,className:s,...c},l)=>{let u=t.default.useId(),d=o??u,f=t.default.useRef(null);return t.default.useImperativeHandle(l,()=>f.current),t.default.useEffect(()=>{f.current&&(f.current.indeterminate=!!i)},[i]),(0,n.jsxs)(`label`,{htmlFor:d,className:[rn.wrapper,r?rn[`wrapper--withDescription`]:``,a?rn[`wrapper--disabled`]:``,s??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`input`,{ref:f,id:d,type:`checkbox`,disabled:a,className:rn.input,...c}),(0,n.jsxs)(`span`,{className:rn.box,"aria-hidden":`true`,children:[(0,n.jsx)(`svg`,{className:rn.check,width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:3,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`polyline`,{points:`20 6 9 17 4 12`})}),(0,n.jsx)(`span`,{className:rn.dash})]}),(e||r)&&(0,n.jsxs)(`span`,{className:rn.text,children:[e&&(0,n.jsx)(`span`,{className:rn.text__label,children:e}),r&&(0,n.jsx)(`span`,{className:rn.text__description,children:r})]})]})});an.displayName=`Checkbox`;var G={item:`_item_1bf0e_2`,"item--hover":`_item--hover_1bf0e_12`,"item--active":`_item--active_1bf0e_13`,item__avatar:`_item__avatar_1bf0e_16`,item__presence:`_item__presence_1bf0e_17`,item__body:`_item__body_1bf0e_22`,item__row:`_item__row_1bf0e_23`,item__name:`_item__name_1bf0e_24`,"item--unread":`_item--unread_1bf0e_28`,item__mute:`_item__mute_1bf0e_29`,item__time:`_item__time_1bf0e_30`,item__preview:`_item__preview_1bf0e_31`,item__typing:`_item__typing_1bf0e_36`,item__badge:`_item__badge_1bf0e_37`},on=({state:t=`default`,avatar:r,name:i,timestamp:o,preview:s,unreadCount:c,onClick:l,className:u})=>(0,n.jsxs)(`div`,{role:`button`,"data-hover-item":``,tabIndex:0,onClick:l,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),l?.())},"aria-current":t===`active`||void 0,className:[G.item,G[`item--${t}`],u??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`span`,{className:G.item__avatar,children:[r,t!==`muted`&&(0,n.jsx)(`span`,{className:G.item__presence,"aria-hidden":`true`})]}),(0,n.jsxs)(`span`,{className:G.item__body,children:[(0,n.jsxs)(`span`,{className:G.item__row,children:[(0,n.jsx)(`span`,{className:G.item__name,children:i}),t===`muted`&&(0,n.jsx)(e.f,{size:12,strokeWidth:a(12),className:G.item__mute,"aria-hidden":`true`}),o&&(0,n.jsx)(`span`,{className:G.item__time,children:o})]}),(0,n.jsxs)(`span`,{className:G.item__row,children:[t===`typing`?(0,n.jsx)(`span`,{className:G.item__typing,children:`typing...`}):(0,n.jsx)(`span`,{className:G.item__preview,children:s}),t===`unread`&&c!=null&&(0,n.jsx)(`span`,{className:G.item__badge,children:c})]})]})]}),sn={chart:`_chart_aiboa_2`,center:`_center_aiboa_26`,center__value:`_center__value_aiboa_35`,center__caption:`_center__caption_aiboa_36`},cn={sm:{h:180,inner:50,outer:72},md:{h:220,inner:62,outer:90},lg:{h:280,inner:80,outer:116},xl:{h:340,inner:98,outer:142}},ln=({data:e,size:i=`md`,centerValue:a,centerCaption:o,height:s,className:c})=>{let[l,u]=t.default.useState(null),[d,f]=t.default.useState(null),p=e=>{let t=e.currentTarget.getBoundingClientRect();f({x:e.clientX-t.left,y:e.clientY-t.top})},m=t.default.useRef(null),h=Ve(m),g=[1,2,3,4,5].map(e=>h(`--color-chart-${e}`)??He[e-1]),_={...cn[i],h:s??cn[i].h},v=(_.outer-_.inner)/2-7;return(0,n.jsxs)(`div`,{ref:m,className:[sn.chart,c??``].filter(Boolean).join(` `),style:{height:_.h},onMouseMove:p,children:[(0,n.jsx)(r.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(r.PieChart,{children:[(0,n.jsx)(r.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.inner,outerRadius:_.outer,cornerRadius:v,paddingAngle:2,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>u(t),onMouseLeave:()=>{u(null),f(null)},children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:g[t%g.length],fillOpacity:l!==null&&t!==l?.45:1},t))}),(0,n.jsx)(r.Tooltip,{content:(0,n.jsx)(We,{}),wrapperStyle:{zIndex:50},position:d??void 0})]})}),(a||o)&&(0,n.jsxs)(`div`,{className:sn.center,children:[a&&(0,n.jsx)(`span`,{className:sn.center__value,children:a}),o&&(0,n.jsx)(`span`,{className:sn.center__caption,children:o})]})]})},un={empty:`_empty_1mj0f_2`,empty__chip:`_empty__chip_1mj0f_12`,"empty__chip--error":`_empty__chip--error_1mj0f_22`,empty__title:`_empty__title_1mj0f_23`,empty__desc:`_empty__desc_1mj0f_31`,empty__action:`_empty__action_1mj0f_39`},dn={"no-data":{icon:(0,n.jsx)(e.d,{size:18,strokeWidth:a(18)}),title:`No data yet`,description:`Records will appear here once they are added.`},"no-results":{icon:(0,n.jsx)(e.u,{size:18,strokeWidth:a(18)}),title:`No results found`,description:`Try adjusting your search or removing filters.`},error:{icon:(0,n.jsx)(e.l,{size:18,strokeWidth:a(18)}),title:`Couldn't load data`,description:`Something went wrong while fetching records.`}},fn=({type:e=`no-data`,title:t,description:r,actionLabel:i,onAction:a,icon:o,className:s})=>{let c=dn[e];return(0,n.jsxs)(`div`,{className:[un.empty,s??``].filter(Boolean).join(` `),role:`status`,children:[(0,n.jsx)(`span`,{className:[un.empty__chip,un[`empty__chip--${e}`]].join(` `),"aria-hidden":`true`,children:o??c.icon}),(0,n.jsx)(`p`,{className:un.empty__title,children:t??c.title}),(0,n.jsx)(`p`,{className:un.empty__desc,children:r??c.description}),i&&(0,n.jsx)(w,{variant:`outline`,size:`sm`,className:un.empty__action,onClick:a,children:i})]})},pn={chip:`_chip_1qnyq_2`,chip__lead:`_chip__lead_1qnyq_20`,chip__trail:`_chip__trail_1qnyq_20`,"chip--active":`_chip--active_1qnyq_22`,chip__remove:`_chip__remove_1qnyq_29`,"chip--add":`_chip--add_1qnyq_38`,"chip--leaving":`_chip--leaving_1qnyq_45`},mn=160,hn=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches,gn=({type:r=`default`,children:i,onClick:o,onRemove:s,className:c})=>{let[l,u]=t.default.useState(!1),d=t.default.useRef(void 0);t.default.useEffect(()=>()=>window.clearTimeout(d.current),[]);let f=()=>{if(!l){if(hn()){s?.();return}u(!0),d.current=window.setTimeout(()=>{s?.(),u(!1)},mn)}};return(0,n.jsxs)(`button`,{type:`button`,onClick:o,className:[pn.chip,pn[`chip--${r}`],l?pn[`chip--leaving`]:``,c??``].filter(Boolean).join(` `),children:[r===`add`&&(0,n.jsx)(e.T,{size:14,strokeWidth:a(14),className:pn.chip__lead,"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:pn.chip__label,children:i}),r==="default"&&(0,n.jsx)(e.D,{size:14,strokeWidth:a(14),className:pn.chip__trail,"aria-hidden":`true`}),r===`active`&&(0,n.jsx)(`span`,{role:`button`,"aria-label":`Remove filter`,className:pn.chip__remove,onClick:e=>{e.stopPropagation(),f()},children:(0,n.jsx)(e.F,{size:14,strokeWidth:a(14),"aria-hidden":`true`})})]})},K={field:`_field_1nyia_10`,field__label:`_field__label_1nyia_18`,field__description:`_field__description_1nyia_26`,field__error:`_field__error_1nyia_31`,input:`_input_1nyia_38`,"input--sm":`_input--sm_1nyia_51`,"input--md":`_input--md_1nyia_52`,"input--lg":`_input--lg_1nyia_53`,"input--error":`_input--error_1nyia_67`,"input--disabled":`_input--disabled_1nyia_74`,input__control:`_input__control_1nyia_81`,input__icon:`_input__icon_1nyia_110`,"input--unstyled":`_input--unstyled_1nyia_120`},_n=16,vn=e=>t.default.isValidElement(e)?t.default.cloneElement(e,{size:_n,strokeWidth:a(_n)}):e,yn=t.default.forwardRef(({label:e,description:r,error:i,size:a=`md`,unstyled:o,leadingIcon:s,trailingIcon:c,disabled:l,id:u,className:d,...f},p)=>{let m=t.default.useId(),h=u??m,g=!!i;return(0,n.jsxs)(`div`,{className:[K.field,d??``].filter(Boolean).join(` `),children:[e&&(0,n.jsx)(`label`,{htmlFor:h,className:K.field__label,children:e}),(0,n.jsxs)(`div`,{className:[K.input,K[`input--${a}`],g?K[`input--error`]:``,l?K[`input--disabled`]:``].filter(Boolean).join(` `),children:[s&&(0,n.jsx)(`span`,{className:K.input__icon,"aria-hidden":`true`,children:vn(s)}),(0,n.jsx)(`input`,{ref:p,id:h,className:K.input__control,disabled:l,"aria-invalid":g||void 0,"aria-describedby":r||i?`${h}-desc`:void 0,...f}),c&&(0,n.jsx)(`span`,{className:K.input__icon,"aria-hidden":`true`,children:vn(c)})]}),(r||i)&&(0,n.jsx)(`span`,{id:`${h}-desc`,className:g?K.field__error:K.field__description,children:i||r})]})});yn.displayName=`Input`;var bn={chart:`_chart_18fgd_2`},xn={sm:180,md:240,lg:320,xl:420},Sn=new Set([`dots`,`custom-dots`,`dots-colors`,`label`,`custom-label`]),Cn=({data:e,series:i,xKey:a=`label`,variant:o=`default`,labelKey:s,size:c=`md`,height:l,showLegend:u,className:d})=>{let f=t.default.useRef(null),p=Ve(f),m=[1,2,3,4,5].map(e=>p(`--color-chart-${e}`)??He[e-1]),h=[m[1],m[0],...m.slice(2)],g=p(`--color-border-subtle`)??`#e7e5e1`,_=p(`--color-fg-muted`)??`#78716a`,v=p(`--color-bg-canvas`)??`#fafaf9`,y=p(`--color-fg-default`)??`#141414`,b=o===`linear`?`linear`:o===`step`?`step`:`monotone`,x=Sn.has(o),S=e=>t=>{let{cx:r,cy:i}=t;return(0,n.jsxs)(`g`,{stroke:e,strokeWidth:2,strokeLinecap:`round`,children:[(0,n.jsx)(`line`,{x1:r,y1:i-3,x2:r,y2:i-3-6}),(0,n.jsx)(`line`,{x1:r,y1:i+3,x2:r,y2:i+3+6}),(0,n.jsx)(`circle`,{cx:r,cy:i,r:3,fill:e,stroke:`none`})]})},C=e=>{let{cx:t,cy:r,index:i}=e,a=m[(i??0)%m.length];return(0,n.jsx)(`circle`,{cx:t,cy:r,r:4,fill:a,stroke:v,strokeWidth:1.5})},w=t=>{let{x:r,y:i,value:a,index:c}=t,l=o===`custom-label`&&s?e[c]?.[s]:a;return l===void 0?(0,n.jsx)(`g`,{}):(0,n.jsx)(`text`,{x:r,y:i-12,textAnchor:`middle`,fill:y,fontSize:12,fontWeight:500,fontFamily:`var(--font-sans)`,children:l})};return(0,n.jsx)(`div`,{ref:f,className:[bn.chart,d??``].filter(Boolean).join(` `),children:(0,n.jsx)(r.ResponsiveContainer,{width:`100%`,height:l??xn[c],children:(0,n.jsxs)(r.LineChart,{data:e,margin:{top:8,right:8,bottom:8,left:12},children:[(0,n.jsx)(r.CartesianGrid,{strokeDasharray:`3 3`,stroke:g,vertical:!1}),(0,n.jsx)(r.XAxis,{dataKey:a,stroke:_,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,n.jsx)(r.Tooltip,{cursor:{stroke:p(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,n.jsx)(We,{}),wrapperStyle:{zIndex:50}}),u&&(0,n.jsx)(r.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),i.map((e,t)=>{let i=h[t%h.length],a=x?o===`custom-dots`?S(i):o===`dots-colors`?C:{r:4,fill:i,stroke:v,strokeWidth:1.5}:!1;return(0,n.jsx)(r.Line,{type:b,dataKey:e,stroke:i,strokeWidth:2,dot:a,activeDot:{r:4,fill:i,stroke:v,strokeWidth:1.5},label:o===`label`||o===`custom-label`?w:void 0},e)})]})})})},wn={menu:`_menu_1cx61_2`,divider:`_divider_1cx61_26`},Tn=({children:e,minWidth:t=208,className:r,...i})=>{let a=Yt();return(0,n.jsxs)(`div`,{ref:a.ref,...a.groupProps,role:`menu`,"aria-label":i[`aria-label`],style:{minWidth:t},className:[wn.menu,r??``].filter(Boolean).join(` `),children:[a.highlight,e]})},En=()=>(0,n.jsx)(`div`,{className:wn.divider,role:`separator`}),Dn={item:`_item_1ezjp_2`,item__icon:`_item__icon_1ezjp_27`,item__label:`_item__label_1ezjp_28`,item__shortcut:`_item__shortcut_1ezjp_29`,item__check:`_item__check_1ezjp_36`,"item--checked":`_item--checked_1ezjp_38`,"item--disabled":`_item--disabled_1ezjp_39`,"item--destructive":`_item--destructive_1ezjp_40`},On=({state:t=`default`,icon:r,shortcut:i,children:o,onSelect:s,className:c})=>{let l=t===`disabled`;return(0,n.jsxs)(`div`,{role:`menuitem`,"data-hover-item":``,"aria-disabled":l||void 0,"aria-checked":t===`checked`||void 0,tabIndex:l?-1:0,onClick:l?void 0:s,onKeyDown:e=>{l||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),s?.())},className:[Dn.item,Dn[`item--${t}`],c??``].filter(Boolean).join(` `),children:[r&&(0,n.jsx)(`span`,{className:Dn.item__icon,"aria-hidden":`true`,children:r}),(0,n.jsx)(`span`,{className:Dn.item__label,children:o}),i&&(0,n.jsx)(`kbd`,{className:Dn.item__shortcut,children:i}),t===`checked`&&(0,n.jsx)(e.k,{size:16,strokeWidth:a(16),className:Dn.item__check,"aria-hidden":`true`})]})},q={row:`_row_1q1m5_2`,"row--sent":`_row--sent_1q1m5_3`,row__avatar:`_row__avatar_1q1m5_4`,col:`_col_1q1m5_5`,meta:`_meta_1q1m5_7`,meta__name:`_meta__name_1q1m5_8`,meta__time:`_meta__time_1q1m5_9`,bubble:`_bubble_1q1m5_11`,"bubble--received":`_bubble--received_1q1m5_17`,"bubble--sent":`_bubble--sent_1q1m5_18`,bubble__text:`_bubble__text_1q1m5_19`,bubble__image:`_bubble__image_1q1m5_20`,file:`_file_1q1m5_23`,file__icon:`_file__icon_1q1m5_24`,file__meta:`_file__meta_1q1m5_25`,file__name:`_file__name_1q1m5_26`,file__size:`_file__size_1q1m5_27`,file__dl:`_file__dl_1q1m5_28`,foot:`_foot_1q1m5_30`,foot__time:`_foot__time_1q1m5_31`,foot__receipt:`_foot__receipt_1q1m5_32`,system:`_system_1q1m5_34`,system__pill:`_system__pill_1q1m5_35`},kn=({type:t=`received`,content:r=`text`,avatar:i,authorName:o,timestamp:s,children:c,image:l,fileName:u,fileSize:d,reactions:f,read:p,className:m})=>{if(t===`system`)return(0,n.jsx)(`div`,{className:[q.system,m??``].filter(Boolean).join(` `),children:(0,n.jsx)(`span`,{className:q.system__pill,children:c})});let h=t===`sent`;return(0,n.jsxs)(`div`,{className:[q.row,h?q[`row--sent`]:q[`row--received`],m??``].filter(Boolean).join(` `),children:[!h&&i&&(0,n.jsx)(`span`,{className:q.row__avatar,children:i}),(0,n.jsxs)(`div`,{className:q.col,children:[!h&&(o||s)&&(0,n.jsxs)(`div`,{className:q.meta,children:[o&&(0,n.jsx)(`span`,{className:q.meta__name,children:o}),s&&(0,n.jsx)(`span`,{className:q.meta__time,children:s})]}),(0,n.jsxs)(`div`,{className:[q.bubble,h?q[`bubble--sent`]:q[`bubble--received`]].join(` `),children:[r===`image`&&(0,n.jsx)(`div`,{className:q.bubble__image,children:l}),r===`file`&&(0,n.jsxs)(`div`,{className:q.file,children:[(0,n.jsx)(e.p,{size:18,strokeWidth:a(18),className:q.file__icon,"aria-hidden":`true`}),(0,n.jsxs)(`span`,{className:q.file__meta,children:[(0,n.jsx)(`span`,{className:q.file__name,children:u}),(0,n.jsx)(`span`,{className:q.file__size,children:d})]}),(0,n.jsx)(e.o,{size:16,strokeWidth:a(16),className:q.file__dl,"aria-hidden":`true`})]}),c&&(0,n.jsx)(`span`,{className:q.bubble__text,children:c})]}),(0,n.jsxs)(`div`,{className:q.foot,children:[!h&&f,h&&(0,n.jsxs)(n.Fragment,{children:[s&&(0,n.jsx)(`span`,{className:q.foot__time,children:s}),p&&(0,n.jsx)(e.s,{size:13,strokeWidth:a(13),className:q.foot__receipt,"aria-hidden":`true`})]})]})]})]})},An={pagination:`_pagination_e1j7r_2`,page:`_page_e1j7r_9`,arrow:`_arrow_e1j7r_9`,"page--active":`_page--active_e1j7r_26`,ellipsis:`_ellipsis_e1j7r_40`},jn=(e,t)=>Array.from({length:t-e+1},(t,n)=>e+n);function Mn(e,t,n){let r=n*2+5;if(e<=r)return jn(1,e);let i=r-2,a=n*2+1;if(t<=i)return[...jn(1,i),`end-ellipsis`,e];let o=i+1+Math.floor((t-i-1)/a)*a,s=o+a-1;return s<=e-3?[1,`start-ellipsis`,...jn(o,s),`end-ellipsis`,e]:[1,`start-ellipsis`,...jn(e-i+1,e)]}var Nn=({total:r,page:i,onPageChange:o,siblings:s=1,className:c})=>{let l=t.default.useRef(null);if(r<1)return null;let u=Math.min(Math.max(i,1),r),d=Math.max(0,s),f=Mn(r,u,d),p=l.current;if(p&&p.total===r&&p.siblings===d){let e=p.tokens,t=e.includes(u),n=u===1&&e[1]===`start-ellipsis`||u===r&&e[e.length-2]===`end-ellipsis`;t&&!n&&(f=e)}return l.current={total:r,siblings:d,tokens:f},(0,n.jsxs)(`nav`,{className:[An.pagination,c??``].filter(Boolean).join(` `),"aria-label":`Pagination`,children:[(0,n.jsx)(`button`,{type:`button`,className:An.arrow,disabled:u<=1,onClick:()=>o(u-1),"aria-label":`Previous page`,children:(0,n.jsx)(e.v,{size:16,strokeWidth:a(16)})}),f.map(e=>typeof e==`number`?(0,n.jsx)(`button`,{type:`button`,className:[An.page,e===u?An[`page--active`]:``].filter(Boolean).join(` `),"aria-current":e===u?`page`:void 0,"aria-label":`Page ${e}`,onClick:()=>e!==u&&o(e),children:e},e):(0,n.jsx)(`span`,{className:An.ellipsis,"aria-hidden":`true`,children:`…`},e)),(0,n.jsx)(`button`,{type:`button`,className:An.arrow,disabled:u>=r,onClick:()=>o(u+1),"aria-label":`Next page`,children:(0,n.jsx)(e._,{size:16,strokeWidth:a(16)})})]})},Pn={track:`_track_1br5v_2`,segment:`_segment_1br5v_12`,"segment--active":`_segment--active_1br5v_38`,thumb:`_thumb_1br5v_44`,"thumb--animated":`_thumb--animated_1br5v_62`,"track--fullWidth":`_track--fullWidth_1br5v_68`},Fn=({options:e,value:r,defaultValue:i,onChange:a,fullWidth:o,className:s})=>{let c=r!==void 0,[l,u]=t.default.useState(i??e[0]?.value),d=c?r:l,f=e=>{c||u(e),a?.(e)},p=t.default.useRef(null),m=t.default.useRef({}),[h,g]=t.default.useState(null),[_,v]=t.default.useState(!1);return t.default.useLayoutEffect(()=>{let e=()=>{let e=m.current[d],t=p.current;!e||!t||g({left:e.offsetLeft,width:e.offsetWidth})};e();let t=window.requestAnimationFrame(()=>v(!0)),n=new ResizeObserver(e);return p.current&&n.observe(p.current),()=>{window.cancelAnimationFrame(t),n.disconnect()}},[d,e]),(0,n.jsxs)(`div`,{ref:p,role:`tablist`,className:[Pn.track,o?Pn[`track--fullWidth`]:``,s??``].filter(Boolean).join(` `),children:[h&&(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[Pn.thumb,_?Pn[`thumb--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateX(${h.left}px)`,width:h.width}}),e.map(e=>{let t=e.value===d;return(0,n.jsx)(`button`,{ref:t=>{m.current[e.value]=t},role:`tab`,type:`button`,"aria-selected":t,className:[Pn.segment,t?Pn[`segment--active`]:``].filter(Boolean).join(` `),onClick:()=>f(e.value),children:e.label},e.value)})]})},J={field:`_field_1b512_6`,field__label:`_field__label_1b512_8`,field__description:`_field__description_1b512_9`,field__error:`_field__error_1b512_10`,select:`_select_1b512_12`,"select--sm":`_select--sm_1b512_23`,"select--md":`_select--md_1b512_24`,"select--lg":`_select--lg_1b512_25`,"select--open":`_select--open_1b512_28`,"select--error":`_select--error_1b512_38`,"select--disabled":`_select--disabled_1b512_47`,select__control:`_select__control_1b512_54`,select__chevron:`_select__chevron_1b512_75`,anchor:`_anchor_1b512_86`,select__value:`_select__value_1b512_90`,"select__value--placeholder":`_select__value--placeholder_1b512_100`,"select__chevron--open":`_select__chevron--open_1b512_103`,panel:`_panel_1b512_114`,"panel--entering":`_panel--entering_1b512_139`,"sakani-select-panel-in":`_sakani-select-panel-in_1b512_1`,"panel--exiting":`_panel--exiting_1b512_140`,"sakani-select-panel-out":`_sakani-select-panel-out_1b512_1`,option:`_option_1b512_151`,"option--selected":`_option--selected_1b512_176`,"option--disabled":`_option--disabled_1b512_177`,option__label:`_option__label_1b512_178`,option__check:`_option__check_1b512_179`,optionHighlight:`_optionHighlight_1b512_151`,"optionHighlight--animated":`_optionHighlight--animated_1b512_201`},In=({label:e,description:r,error:o,size:s=`md`,placeholder:c=`Select an option`,options:l,value:u,defaultValue:d,onChange:f,disabled:p,id:m,className:h})=>{let g=t.default.useId(),_=`${m??g}-trigger`,v=`${m??g}-panel`,y=!!o,[b,x]=t.default.useState(d),S=u===void 0?b:u,C=l.find(e=>e.value===S),[w,T]=t.default.useState(!1),[E,D]=t.default.useState(!1),[O,k]=t.default.useState(0),A=t.default.useRef(null),j=t.default.useRef(null),ee=t.default.useRef(null),te=t.default.useRef({}),[ne,re]=t.default.useState(null),[ie,ae]=t.default.useState(!1);t.default.useLayoutEffect(()=>{let e=te.current[O];if(!e){re(null);return}re({top:e.offsetTop,height:e.offsetHeight})},[O,l.length]),t.default.useLayoutEffect(()=>{if(!E){ae(!1);return}ae(!1);let e=window.requestAnimationFrame(()=>ae(!0));return()=>window.cancelAnimationFrame(e)},[E]),t.default.useEffect(()=>{if(!ee.current)return;let e=new ResizeObserver(()=>{let e=te.current[O];e&&re({top:e.offsetTop,height:e.offsetHeight})});return e.observe(ee.current),()=>e.disconnect()},[E]);let oe=ce(A,E),[se,le]=t.default.useState(null);t.default.useEffect(()=>{w&&D(!0)},[w]),t.default.useLayoutEffect(()=>{if(!w)return;let e=()=>{let e=j.current;if(!e)return;let t=e.getBoundingClientRect();le({top:t.bottom+4,left:t.left,width:t.width})};return e(),window.addEventListener(`scroll`,e,!0),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`scroll`,e,!0),window.removeEventListener(`resize`,e)}},[w]),t.default.useEffect(()=>{if(!w)return;let e=e=>{let t=e.target;A.current?.contains(t)||ee.current?.contains(t)||T(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[w]),t.default.useEffect(()=>{if(!w)return;let e=l.findIndex(e=>e.value===S);k(e>=0?e:0)},[w,l,S]);let M=e=>{e.disabled||(u===void 0&&x(e.value),f?.(e.value),T(!1))},ue=e=>{k(t=>{let n=t;for(let t=0;t<l.length;t+=1)if(n=(n+e+l.length)%l.length,!l[n]?.disabled)return n;return t})};return(0,n.jsxs)(`div`,{className:[J.field,h??``].filter(Boolean).join(` `),ref:A,children:[e&&(0,n.jsx)(`label`,{htmlFor:_,className:J.field__label,children:e}),(0,n.jsxs)(`div`,{className:J.anchor,children:[(0,n.jsxs)(`div`,{ref:j,id:_,role:`combobox`,tabIndex:p?-1:0,"aria-haspopup":`listbox`,"aria-expanded":w,"aria-controls":v,"aria-invalid":y||void 0,"aria-disabled":p||void 0,"aria-activedescendant":w?`${v}-opt-${O}`:void 0,onClick:()=>!p&&T(e=>!e),onKeyDown:e=>{if(!p){if(!w&&(e.key===`Enter`||e.key===` `||e.key===`ArrowDown`)){e.preventDefault(),T(!0);return}if(w)if(e.key===`ArrowDown`)e.preventDefault(),ue(1);else if(e.key===`ArrowUp`)e.preventDefault(),ue(-1);else if(e.key===`Home`)e.preventDefault(),k(0);else if(e.key===`End`)e.preventDefault(),k(l.length-1);else if(e.key===`Enter`||e.key===` `){e.preventDefault();let t=l[O];t&&M(t)}else e.key===`Escape`&&(e.preventDefault(),T(!1))}},className:[J.select,J[`select--${s}`],w?J[`select--open`]:``,y?J[`select--error`]:``,p?J[`select--disabled`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:[J.select__value,C?``:J[`select__value--placeholder`]].filter(Boolean).join(` `),children:C?C.label:c}),(0,n.jsx)(`span`,{className:[J.select__chevron,w?J[`select__chevron--open`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),E&&se&&(0,i.createPortal)((0,n.jsxs)(`div`,{ref:ee,id:v,role:`listbox`,className:[oe,J.panel,w?J[`panel--entering`]:J[`panel--exiting`]].filter(Boolean).join(` `),style:{position:`fixed`,top:se.top,left:se.left,width:se.width},onAnimationEnd:()=>{w||D(!1)},children:[ne&&(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[J.optionHighlight,ie?J[`optionHighlight--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateY(${ne.top}px)`,height:ne.height}}),l.map((e,t)=>(0,n.jsxs)(`div`,{ref:e=>{te.current[t]=e},id:`${v}-opt-${t}`,role:`option`,"aria-selected":e.value===S,"aria-disabled":e.disabled||void 0,onMouseEnter:()=>!e.disabled&&k(t),onClick:()=>M(e),className:[J.option,e.value===S?J[`option--selected`]:``,e.disabled?J[`option--disabled`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:J.option__label,children:e.label}),e.value===S&&(0,n.jsx)(`span`,{className:J.option__check,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`path`,{d:`M20 6 9 17l-5-5`})})})]},e.value))]}),document.body)]}),(r||o)&&(0,n.jsx)(`span`,{className:y?J.field__error:J.field__description,children:o||r})]})},Ln={sidebar:`_sidebar_alxv4_4`,"sidebar--collapsed":`_sidebar--collapsed_alxv4_23`},Rn=({collapsed:e=!1,children:t,className:r})=>{let i=Yt();return(0,n.jsxs)(`nav`,{ref:i.ref,...i.groupProps,className:[Ln.sidebar,e?Ln[`sidebar--collapsed`]:``,r??``].filter(Boolean).join(` `),"data-collapsed":e,children:[i.highlight,t]})},zn={divider:`_divider_1oof5_1`},Bn=()=>(0,n.jsx)(`div`,{className:zn.divider,role:`separator`}),Vn={groupLabel:`_groupLabel_62q1j_2`},Hn=({children:e})=>(0,n.jsx)(`div`,{className:Vn.groupLabel,children:e}),Y={header:`_header_6bhip_2`,"header--collapsed":`_header--collapsed_6bhip_12`,"header--workspace":`_header--workspace_6bhip_15`,header__subtitle:`_header__subtitle_6bhip_20`,header__switch:`_header__switch_6bhip_21`,header__logoWrap:`_header__logoWrap_6bhip_24`,header__logo:`_header__logo_6bhip_23`,header__logoContent:`_header__logoContent_6bhip_52`,header__logoIcon:`_header__logoIcon_6bhip_53`,header__text:`_header__text_6bhip_59`,"header__text--collapsed":`_header__text--collapsed_6bhip_70`,header__title:`_header__title_6bhip_74`,header__toggle:`_header__toggle_6bhip_76`},Un=({type:t=`brand`,title:r,subtitle:i,logo:o,collapsed:s,onToggle:c,toggleIcon:l=e.i})=>(0,n.jsxs)(`div`,{className:[Y.header,t===`workspace`?Y[`header--workspace`]:``,s?Y[`header--collapsed`]:``].filter(Boolean).join(` `),children:[o&&(s&&t===`brand-toggle`&&c?(0,n.jsx)(`button`,{type:`button`,className:Y.header__logoWrap,onClick:c,"aria-label":`Expand sidebar`,children:(0,n.jsxs)(`span`,{className:Y.header__logo,children:[(0,n.jsx)(`span`,{className:Y.header__logoContent,children:o}),(0,n.jsx)(`span`,{className:Y.header__logoIcon,"aria-hidden":`true`,children:(0,n.jsx)(l,{size:16,strokeWidth:a(16)})})]})}):(0,n.jsx)(`span`,{className:Y.header__logoWrap,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:Y.header__logo,children:o})})),(0,n.jsxs)(`span`,{className:[Y.header__text,s?Y[`header__text--collapsed`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:Y.header__title,children:r}),(t===`workspace`||i)&&i&&(0,n.jsx)(`span`,{className:Y.header__subtitle,children:i})]}),!s&&t===`workspace`&&(0,n.jsx)(`span`,{className:Y.header__switch,"aria-hidden":`true`,children:(0,n.jsx)(e.a,{size:16,strokeWidth:a(16)})}),!s&&t===`brand-toggle`&&(0,n.jsx)(`button`,{type:`button`,className:Y.header__toggle,onClick:c,"aria-label":`Collapse sidebar`,children:(0,n.jsx)(l,{size:18,strokeWidth:a(18)})})]}),X={item:`_item_1arxb_5`,"item--disabled":`_item--disabled_1arxb_37`,"item--active":`_item--active_1arxb_37`,"item--active-flat":`_item--active-flat_1arxb_37`,item__icon:`_item__icon_1arxb_38`,item__bar:`_item__bar_1arxb_49`,item__chevron:`_item__chevron_1arxb_82`,item__badge:`_item__badge_1arxb_84`,"item--collapsed":`_item--collapsed_1arxb_103`,item__label:`_item__label_1arxb_142`,"item__label--collapsed":`_item__label--collapsed_1arxb_151`,"item__chevron--expanded":`_item__chevron--expanded_1arxb_174`},Wn=({icon:t,label:r,active:i,activeIndicator:o=!0,disabled:s,badge:c,hasSubmenu:l,collapsed:u,expanded:d,onClick:f,href:p,nativeTooltip:m=!0})=>{let h=i&&o,g=i&&!o,_=[X.item,h?X[`item--active`]:``,g?X[`item--active-flat`]:``,s?X[`item--disabled`]:``,u?X[`item--collapsed`]:``].filter(Boolean).join(` `),v=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{className:X.item__bar,"aria-hidden":`true`}),t&&(0,n.jsx)(`span`,{className:X.item__icon,"aria-hidden":`true`,children:(0,n.jsx)(t,{size:18,strokeWidth:a(18)})}),(0,n.jsx)(`span`,{className:[X.item__label,u?X[`item__label--collapsed`]:``].filter(Boolean).join(` `),children:r}),!u&&c&&(0,n.jsx)(`span`,{className:X.item__badge,children:c}),!u&&l&&(0,n.jsx)(`span`,{className:[X.item__chevron,d?X[`item__chevron--expanded`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(e._,{size:16,strokeWidth:a(16)})})]}),y={className:_,"data-hover-item":``,title:u&&m?r:void 0,"aria-label":u?r:void 0,"aria-current":i?`page`:void 0,"aria-expanded":l&&d!==void 0?d:void 0};return p&&!s?(0,n.jsx)(`a`,{href:p,...y,children:v}):(0,n.jsx)(`button`,{type:`button`,disabled:s,onClick:f,...y,children:v})},Gn={promo:`_promo_1ou3w_4`,promo__head:`_promo__head_1ou3w_20`,promo__icon:`_promo__icon_1ou3w_21`,promo__title:`_promo__title_1ou3w_22`,promo__dismiss:`_promo__dismiss_1ou3w_23`,promo__desc:`_promo__desc_1ou3w_30`,promo__cta:`_promo__cta_1ou3w_33`},Kn=({type:t=`upgrade`,title:r,description:i,ctaLabel:o,onCta:s,onDismiss:c,icon:l=e.L})=>(0,n.jsxs)(`div`,{className:[Gn.promo,Gn[`promo--${t}`]].join(` `),children:[(0,n.jsxs)(`div`,{className:Gn.promo__head,children:[(0,n.jsx)(`span`,{className:Gn.promo__icon,"aria-hidden":`true`,children:(0,n.jsx)(l,{size:16,strokeWidth:a(16)})}),(0,n.jsx)(`span`,{className:Gn.promo__title,children:r}),c&&(0,n.jsx)(`button`,{type:`button`,className:Gn.promo__dismiss,onClick:c,"aria-label":`Dismiss`,children:(0,n.jsx)(e.F,{size:14,strokeWidth:a(14)})})]}),i&&(0,n.jsx)(`p`,{className:Gn.promo__desc,children:i}),o&&(0,n.jsx)(w,{variant:`primary`,size:`sm`,className:Gn.promo__cta,onClick:s,children:o})]}),qn={subItem:`_subItem_1sz05_2`,"subItem--disabled":`_subItem--disabled_1sz05_26`,"subItem--active":`_subItem--active_1sz05_27`,subItem__dot:`_subItem__dot_1sz05_31`,subItem__label:`_subItem__label_1sz05_41`},Jn=({label:e,active:t,disabled:r,onClick:i,href:a})=>{let o={className:[qn.subItem,t?qn[`subItem--active`]:``,r?qn[`subItem--disabled`]:``].filter(Boolean).join(` `),"data-hover-item":``,"aria-current":t?`page`:void 0},s=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{className:qn.subItem__dot,"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:qn.subItem__label,children:e})]});return a&&!r?(0,n.jsx)(`a`,{href:a,...o,children:s}):(0,n.jsx)(`button`,{type:`button`,disabled:r,onClick:i,...o,children:s})},Yn={skeleton:`_skeleton_94hr3_9`,"skeleton-shimmer":`_skeleton-shimmer_94hr3_1`,"skeleton--text":`_skeleton--text_94hr3_22`,"skeleton--rect":`_skeleton--rect_94hr3_29`,"skeleton--circle":`_skeleton--circle_94hr3_35`},Xn=({variant:e=`text`,width:t,height:r,className:i})=>{let a={};return t!==void 0&&(a.width=typeof t==`number`?`${t}px`:t),r!==void 0&&(a.height=typeof r==`number`?`${r}px`:r),(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[Yn.skeleton,Yn[`skeleton--${e}`],i??``].filter(Boolean).join(` `),style:a})},Zn={field:`_field_u7te8_3`,header:`_header_u7te8_4`,label:`_label_u7te8_5`,value:`_value_u7te8_6`,slider:`_slider_u7te8_8`,"sakani-slider-bounce":`_sakani-slider-bounce_u7te8_1`},Qn=1.2,$n=460,er=t.default.forwardRef(({label:e,showValue:r,min:i=0,max:a=100,value:o,defaultValue:s,disabled:c,id:l,className:u,onChange:d,...f},p)=>{let m=t.default.useId(),h=l??m,g=Number(o??s??i),[_,v]=t.default.useState(g),y=o===void 0?_:Number(o),b=(y-i)/(a-i)*100,x=t.default.useRef(null),S=e=>{x.current=e,typeof p==`function`?p(e):p&&(p.current=e)},C=t.default.useRef(null),w=t.default.useRef(void 0);t.default.useEffect(()=>()=>window.clearTimeout(w.current),[]);let T=e=>{let t=x.current;t&&(t.removeAttribute(`data-bounce`),t.offsetWidth,t.style.setProperty(`--bounce-dir`,String(e)),t.setAttribute(`data-bounce`,``),window.clearTimeout(w.current),w.current=window.setTimeout(()=>t.removeAttribute(`data-bounce`),$n))};return(0,n.jsxs)(`div`,{className:[Zn.field,u??``].filter(Boolean).join(` `),children:[(e||r)&&(0,n.jsxs)(`div`,{className:Zn.header,children:[e&&(0,n.jsx)(`label`,{htmlFor:h,className:Zn.label,children:e}),r&&(0,n.jsx)(`span`,{className:Zn.value,children:y})]}),(0,n.jsx)(`input`,{ref:S,id:h,type:`range`,min:i,max:a,value:o,defaultValue:o===void 0?s:void 0,disabled:c,onChange:e=>{let t=Number(e.target.value),n=performance.now(),r=C.current;r&&(t===a||t===i)&&r.v!==t&&Math.abs(t-r.v)/(a-i)/Math.max((n-r.t)/1e3,.001)>=Qn&&T(t===a?1:-1),C.current={v:t,t:n},o===void 0&&v(t),d?.(e)},className:Zn.slider,style:{"--pct":`${b}%`},...f})]})});er.displayName=`Slider`;var Z={card:`_card_1qi93_4`,"card--featured":`_card--featured_1qi93_24`,card__head:`_card__head_1qi93_26`,card__icon:`_card__icon_1qi93_27`,card__title:`_card__title_1qi93_41`,card__menu:`_card__menu_1qi93_42`,card__value:`_card__value_1qi93_50`,card__meta:`_card__meta_1qi93_59`,card__sparkline:`_card__sparkline_1qi93_66`,"card--trend-up":`_card--trend-up_1qi93_68`,"card--trend-down":`_card--trend-down_1qi93_69`,card__description:`_card__description_1qi93_72`},tr={up:e.j,down:e.A,flat:e.E},nr={up:`success`,down:`danger`,flat:`neutral`},rr=({data:e})=>{if(e.length<2)return null;let t=Math.min(...e),r=Math.max(...e)-t||1,i=e.map((n,i)=>`${i/(e.length-1)*100},${30-(n-t)/r*26}`).join(` `);return(0,n.jsx)(`svg`,{className:ir,viewBox:`0 0 100 32`,preserveAspectRatio:`none`,"aria-hidden":`true`,children:(0,n.jsx)(`polyline`,{points:i,fill:`none`,strokeWidth:2,vectorEffect:`non-scaling-stroke`,strokeLinejoin:`round`,strokeLinecap:`round`})})},ir=Z.card__sparkline,ar=({title:t,value:r,description:i,sparkline:o,delta:s,trend:c=`up`,badgeVariant:l,variant:u=`minimal`,icon:d,showMenu:f,onMenu:p,className:m})=>{let h=tr[c],g=(u===`icon`||u===`featured`)&&d;return(0,n.jsxs)(`div`,{className:[Z.card,Z[`card--${u}`],Z[`card--trend-${c}`],m??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:Z.card__head,children:[g&&(0,n.jsx)(`span`,{className:Z.card__icon,"aria-hidden":`true`,children:(0,n.jsx)(d,{size:18,strokeWidth:a(18)})}),(0,n.jsx)(`span`,{className:Z.card__title,children:t}),f&&(0,n.jsx)(`button`,{type:`button`,className:Z.card__menu,onClick:p,"aria-label":`More options`,children:(0,n.jsx)(e.y,{size:16,strokeWidth:a(16)})})]}),(0,n.jsx)(`div`,{className:Z.card__value,children:r}),o&&(0,n.jsx)(rr,{data:o}),(s||i)&&(0,n.jsxs)(`div`,{className:Z.card__meta,children:[s&&(0,n.jsx)(I,{variant:l??nr[c],leftIcon:(0,n.jsx)(h,{size:12,strokeWidth:2}),children:s}),i&&(0,n.jsx)(`p`,{className:Z.card__description,children:i})]})]})},Q={wrap:`_wrap_9nqt2_6`,"wrap--bordered":`_wrap--bordered_9nqt2_20`,table:`_table_9nqt2_25`,headerRow:`_headerRow_9nqt2_47`,headerCell:`_headerCell_9nqt2_48`,bodyRow:`_bodyRow_9nqt2_64`,"bodyRow--selectable":`_bodyRow--selectable_9nqt2_78`,"bodyRow--selected":`_bodyRow--selected_9nqt2_79`,bodyCell:`_bodyCell_9nqt2_81`,checkCell:`_checkCell_9nqt2_93`,checkbox:`_checkbox_9nqt2_117`,checkbox__input:`_checkbox__input_9nqt2_124`,checkbox__box:`_checkbox__box_9nqt2_126`,checkbox__check:`_checkbox__check_9nqt2_147`,checkbox__dash:`_checkbox__dash_9nqt2_154`,stackedList:`_stackedList_9nqt2_173`,card:`_card_9nqt2_180`,"card--selectable":`_card--selectable_9nqt2_189`,"card--selected":`_card--selected_9nqt2_191`,card__field:`_card__field_9nqt2_193`,card__label:`_card__label_9nqt2_201`,card__value:`_card__value_9nqt2_207`,card__selectRow:`_card__selectRow_9nqt2_217`,"bodyRow--dragging":`_bodyRow--dragging_9nqt2_227`,"bodyRow--dropTarget":`_bodyRow--dropTarget_9nqt2_228`,dragCell:`_dragCell_9nqt2_235`,dragHandle:`_dragHandle_9nqt2_251`},or=640;function sr(e){let[n,r]=t.default.useState(!1);return t.default.useEffect(()=>{if(e!==`auto`)return;let t=window.matchMedia(`(max-width: ${or}px)`);r(t.matches);let n=e=>r(e.matches);return t.addEventListener(`change`,n),()=>t.removeEventListener(`change`,n)},[e]),e==="default"?`default`:e===`stacked`||n?`stacked`:`default`}var cr=({checked:e,indeterminate:r,onChange:i,label:a})=>{let o=t.default.useRef(null);return t.default.useEffect(()=>{o.current&&(o.current.indeterminate=!!r)},[r]),(0,n.jsxs)(`label`,{className:Q.checkbox,children:[(0,n.jsx)(`input`,{ref:o,type:`checkbox`,checked:e,onChange:i,className:Q.checkbox__input,"aria-label":a}),(0,n.jsxs)(`span`,{className:Q.checkbox__box,"aria-hidden":`true`,children:[(0,n.jsx)(`svg`,{className:Q.checkbox__check,width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:3,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`polyline`,{points:`20 6 9 17 4 12`})}),(0,n.jsx)(`span`,{className:Q.checkbox__dash})]})]})};function lr({columns:r,rows:i,selectable:a,selectedRows:o,onSelectionChange:s,rowKey:c,reorderable:l,onReorder:u,bordered:d=!0,responsive:f=`auto`,className:p}){let m=sr(f),h=o!==void 0,[g,_]=t.default.useState([]),v=h?o:g,y=e=>{h||_(e),s?.(e)},b=i.length>0&&v.length===i.length,x=v.length>0&&!b,[S,C]=t.default.useState(null),[w,T]=t.default.useState(null),E=Yt(),D=()=>{if(S===null||w===null||S===w){C(null),T(null);return}let e=[...i],[t]=e.splice(S,1);e.splice(w,0,t),u?.(e),C(null),T(null)},O=()=>y(b?[]:i.map((e,t)=>t)),k=e=>y(v.includes(e)?v.filter(t=>t!==e):[...v,e]),A=e=>t=>{t.target.closest(`a, button, input, select, textarea, label, [role="button"], [draggable="true"]`)||window.getSelection()?.isCollapsed&&k(e)};return m===`stacked`?(0,n.jsx)(`div`,{className:[Q.stackedList,p??``].filter(Boolean).join(` `),role:`list`,children:i.map((e,t)=>{let i=v.includes(t);return(0,n.jsxs)(`div`,{role:`listitem`,onClick:a?A(t):void 0,className:[Q.card,i?Q[`card--selected`]:``,a?Q[`card--selectable`]:``].filter(Boolean).join(` `),children:[a&&(0,n.jsx)(`div`,{className:Q.card__selectRow,children:(0,n.jsx)(cr,{checked:i,onChange:()=>k(t),label:`Select row ${t+1}`})}),r.map(t=>(0,n.jsxs)(`div`,{className:Q.card__field,children:[(0,n.jsx)(`span`,{className:Q.card__label,children:t.header}),(0,n.jsx)(`span`,{className:Q.card__value,children:t.render?t.render(e):String(e[t.key]??``)})]},t.key))]},c?c(e,t):t)})}):(0,n.jsxs)(`div`,{ref:E.ref,...E.groupProps,className:[Q.wrap,d?Q[`wrap--bordered`]:``,p??``].filter(Boolean).join(` `),children:[E.highlight,(0,n.jsxs)(`table`,{className:Q.table,children:[(0,n.jsx)(`thead`,{children:(0,n.jsxs)(`tr`,{className:Q.headerRow,children:[l&&(0,n.jsx)(`th`,{className:Q.dragCell,"aria-hidden":`true`}),a&&(0,n.jsx)(`th`,{className:Q.checkCell,children:(0,n.jsx)(cr,{checked:b,indeterminate:x,onChange:O,label:`Select all rows`})}),r.map(e=>(0,n.jsx)(`th`,{className:Q.headerCell,style:{textAlign:e.align??`left`,width:e.width},children:e.header},e.key))]})}),(0,n.jsx)(`tbody`,{children:i.map((t,i)=>{let o=v.includes(i);return(0,n.jsxs)(`tr`,{"data-hover-item":``,onClick:a?A(i):void 0,onDragOver:l?e=>{e.preventDefault(),T(i)}:void 0,onDrop:l?D:void 0,onDragEnd:l?()=>{C(null),T(null)}:void 0,className:[Q.bodyRow,a?Q[`bodyRow--selectable`]:``,o?Q[`bodyRow--selected`]:``,w===i&&S!==null&&S!==i?Q[`bodyRow--dropTarget`]:``,S===i?Q[`bodyRow--dragging`]:``].filter(Boolean).join(` `),children:[l&&(0,n.jsx)(`td`,{className:Q.dragCell,children:(0,n.jsx)(`span`,{className:Q.dragHandle,draggable:!0,onDragStart:e=>{e.dataTransfer.setDragImage(e.currentTarget.closest(`tr`),0,0),C(i)},"aria-hidden":`true`,children:(0,n.jsx)(e.r,{size:14,strokeWidth:1.5})})}),a&&(0,n.jsx)(`td`,{className:Q.checkCell,children:(0,n.jsx)(cr,{checked:o,onChange:()=>k(i),label:`Select row ${i+1}`})}),r.map(e=>(0,n.jsx)(`td`,{className:Q.bodyCell,style:{textAlign:e.align??`left`},children:e.render?e.render(t):String(t[e.key]??``)},e.key))]},c?c(t,i):i)})})]})]})}var ur={tabs:`_tabs_1122j_3`,"tabs--borderless":`_tabs--borderless_1122j_16`,"tabs--fill":`_tabs--fill_1122j_21`,tab:`_tab_1122j_3`,"tab--disabled":`_tab--disabled_1122j_61`,"tab--active":`_tab--active_1122j_63`,indicator:`_indicator_1122j_74`,"indicator--animated":`_indicator--animated_1122j_88`},dr=({items:e,value:r,defaultValue:i,onChange:o,bordered:s=!0,fill:c=!1,className:l})=>{let u=r!==void 0,[d,f]=t.default.useState(i??e[0]?.value),p=u?r:d,m=e=>{u||f(e),o?.(e)},h=t.default.useRef(null),g=t.default.useRef({}),[_,v]=t.default.useState(null),[y,b]=t.default.useState(!1);return t.default.useLayoutEffect(()=>{let e=()=>{let e=g.current[p];!e||!h.current||v({left:e.offsetLeft,width:e.offsetWidth})};e();let t=window.requestAnimationFrame(()=>b(!0)),n=new ResizeObserver(e);return h.current&&n.observe(h.current),()=>{window.cancelAnimationFrame(t),n.disconnect()}},[p,e]),(0,n.jsxs)(`div`,{ref:h,role:`tablist`,className:[ur.tabs,s?``:ur[`tabs--borderless`],c?ur[`tabs--fill`]:``,l??``].filter(Boolean).join(` `),children:[e.map(e=>{let t=e.value===p,r=e.icon;return(0,n.jsxs)(`button`,{ref:t=>{g.current[e.value]=t},role:`tab`,type:`button`,"aria-selected":t,disabled:e.disabled,className:[ur.tab,t?ur[`tab--active`]:``,e.disabled?ur[`tab--disabled`]:``].filter(Boolean).join(` `),onClick:()=>m(e.value),children:[r&&(0,n.jsx)(r,{size:16,strokeWidth:a(16),"aria-hidden":`true`}),e.label]},e.value)}),_&&(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[ur.indicator,y?ur[`indicator--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateX(${_.left}px)`,width:_.width}})]})},fr={wrapper:`_wrapper_w6wtp_8`,bubble:`_bubble_w6wtp_8`,bubble__title:`_bubble__title_w6wtp_46`,bubble__subtitle:`_bubble__subtitle_w6wtp_53`,caret:`_caret_w6wtp_66`,"bubble--top-left":`_bubble--top-left_w6wtp_69`,"bubble--top-center":`_bubble--top-center_w6wtp_70`,"bubble--top-right":`_bubble--top-right_w6wtp_71`,"caret--top-left":`_caret--top-left_w6wtp_78`,"caret--top-center":`_caret--top-center_w6wtp_79`,"caret--top-right":`_caret--top-right_w6wtp_80`,"bubble--bottom-left":`_bubble--bottom-left_w6wtp_91`,"bubble--bottom-center":`_bubble--bottom-center_w6wtp_92`,"bubble--bottom-right":`_bubble--bottom-right_w6wtp_93`,"caret--bottom-left":`_caret--bottom-left_w6wtp_100`,"caret--bottom-center":`_caret--bottom-center_w6wtp_101`,"caret--bottom-right":`_caret--bottom-right_w6wtp_102`,"bubble--center-left":`_bubble--center-left_w6wtp_113`,"caret--center-left":`_caret--center-left_w6wtp_121`,"bubble--center-right":`_bubble--center-right_w6wtp_131`,"caret--center-right":`_caret--center-right_w6wtp_139`},pr=({title:e,subtitle:r,pointer:i=`top-center`,children:a,className:o})=>{let[s,c]=t.default.useState(!1);return t.default.useEffect(()=>{let e=e=>{e.key===`Escape`&&c(!0)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]),(0,n.jsxs)(`span`,{className:[fr.wrapper,o??``].filter(Boolean).join(` `),"data-dismissed":s||void 0,onMouseLeave:()=>c(!1),onBlur:()=>c(!1),children:[a,(0,n.jsxs)(`span`,{role:`tooltip`,className:[fr.bubble,fr[`bubble--${i}`]].join(` `),children:[(0,n.jsx)(`span`,{className:fr.bubble__title,children:e}),r&&(0,n.jsx)(`span`,{className:fr.bubble__subtitle,children:r}),(0,n.jsx)(`span`,{className:[fr.caret,fr[`caret--${i}`]].join(` `),"aria-hidden":`true`})]})]})},$={bar:`_bar_yqi1k_2`,"bar--md":`_bar--md_yqi1k_11`,"bar--sm":`_bar--sm_yqi1k_12`,bar__leftGroup:`_bar__leftGroup_yqi1k_20`,bar__left:`_bar__left_yqi1k_20`,bar__spacer:`_bar__spacer_yqi1k_27`,bar__right:`_bar__right_yqi1k_30`,bar__icon:`_bar__icon_yqi1k_36`,bar__iconGroup:`_bar__iconGroup_yqi1k_44`,bar__bell:`_bar__bell_yqi1k_48`,bar__dot:`_bar__dot_yqi1k_49`,bar__divider:`_bar__divider_yqi1k_54`,bar__account:`_bar__account_yqi1k_55`,"bar--chat":`_bar--chat_yqi1k_61`,bar__chatAvatar:`_bar__chatAvatar_yqi1k_69`,bar__chatMeta:`_bar__chatMeta_yqi1k_70`,bar__chatTitle:`_bar__chatTitle_yqi1k_71`,bar__chatSubtitle:`_bar__chatSubtitle_yqi1k_76`,bar__chatActions:`_bar__chatActions_yqi1k_80`,"bar__left--search":`_bar__left--search_yqi1k_84`,bar__accountChevron:`_bar__accountChevron_yqi1k_98`,"bar__accountChevron--open":`_bar__accountChevron--open_yqi1k_104`},mr=({type:t=`search`,density:r=`md`,left:i,showToggle:o=!0,onToggle:s,toggleIcon:c=e.n,showActions:l=!0,showHelp:u=!0,hasUnread:d=!1,rightSlot:f,account:p,accountOpen:m=!1,avatar:h,title:g,subtitle:_,actions:v,className:y})=>{let b=Yt(),x=Yt(),S=r===`md`?20:18,C=a(S);return(0,n.jsx)(`header`,{className:[$.bar,$[`bar--${r}`],$[`bar--${t}`],y??``].filter(Boolean).join(` `),children:t===`chat`?(0,n.jsxs)(n.Fragment,{children:[h&&(0,n.jsx)(`span`,{className:$.bar__chatAvatar,children:h}),(0,n.jsxs)(`span`,{className:$.bar__chatMeta,children:[g&&(0,n.jsx)(`span`,{className:$.bar__chatTitle,children:g}),_&&(0,n.jsx)(`span`,{className:$.bar__chatSubtitle,children:_})]}),(0,n.jsx)(`div`,{className:$.bar__spacer}),v&&(0,n.jsxs)(`div`,{ref:x.ref,...x.groupProps,className:$.bar__chatActions,children:[x.highlight,v]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(`div`,{className:$.bar__leftGroup,children:[o&&(0,n.jsx)(`button`,{type:`button`,className:$.bar__icon,onClick:s,"aria-label":`Toggle sidebar`,children:(0,n.jsx)(c,{size:S,strokeWidth:C})}),(0,n.jsx)(`div`,{className:[$.bar__left,t===`search`?$[`bar__left--search`]:``].filter(Boolean).join(` `),"data-type":t,children:i})]}),(0,n.jsx)(`div`,{className:$.bar__spacer}),(0,n.jsxs)(`div`,{className:$.bar__right,children:[f,l&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(`span`,{ref:b.ref,...b.groupProps,className:$.bar__iconGroup,children:[b.highlight,u&&(0,n.jsx)(`button`,{type:`button`,"data-hover-item":``,className:$.bar__icon,"aria-label":`Help`,children:(0,n.jsx)(e.t,{size:S,strokeWidth:C})}),(0,n.jsx)(`button`,{type:`button`,"data-hover-item":``,className:$.bar__icon,"aria-label":`Notifications`,children:(0,n.jsxs)(`span`,{className:$.bar__bell,children:[(0,n.jsx)(e.O,{size:S,strokeWidth:C}),d&&(0,n.jsx)(`span`,{className:$.bar__dot,"aria-hidden":`true`})]})})]}),(0,n.jsx)(`span`,{className:$.bar__divider})]}),p&&(0,n.jsxs)(`div`,{className:$.bar__account,children:[p,(0,n.jsx)(e.D,{size:16,strokeWidth:a(16),className:[$.bar__accountChevron,m?$[`bar__accountChevron--open`]:``].filter(Boolean).join(` `)})]})]})]})})};Object.defineProperty(exports,"$",{enumerable:!0,get:function(){return rt}}),Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return en}}),Object.defineProperty(exports,"B",{enumerable:!0,get:function(){return Pt}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return yn}}),Object.defineProperty(exports,"Ct",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return on}}),Object.defineProperty(exports,"Dt",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return ln}}),Object.defineProperty(exports,"Et",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return Ut}}),Object.defineProperty(exports,"G",{enumerable:!0,get:function(){return Et}}),Object.defineProperty(exports,"H",{enumerable:!0,get:function(){return kt}}),Object.defineProperty(exports,"I",{enumerable:!0,get:function(){return Bt}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return bt}}),Object.defineProperty(exports,"K",{enumerable:!0,get:function(){return Ct}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return zt}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return Xt}}),Object.defineProperty(exports,"N",{enumerable:!0,get:function(){return Yt}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return an}}),Object.defineProperty(exports,"Ot",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"P",{enumerable:!0,get:function(){return Wt}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return dt}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return Lt}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return Cn}}),Object.defineProperty(exports,"St",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return fn}}),Object.defineProperty(exports,"Tt",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"U",{enumerable:!0,get:function(){return Ot}}),Object.defineProperty(exports,"V",{enumerable:!0,get:function(){return Mt}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return gt}}),Object.defineProperty(exports,"Y",{enumerable:!0,get:function(){return vt}}),Object.defineProperty(exports,"Z",{enumerable:!0,get:function(){return pt}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return Nn}}),Object.defineProperty(exports,"_t",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return ar}}),Object.defineProperty(exports,"at",{enumerable:!0,get:function(){return We}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return Tn}}),Object.defineProperty(exports,"bt",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return Jn}}),Object.defineProperty(exports,"ct",{enumerable:!0,get:function(){return Be}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return Un}}),Object.defineProperty(exports,"dt",{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,"et",{enumerable:!0,get:function(){return nt}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return Hn}}),Object.defineProperty(exports,"ft",{enumerable:!0,get:function(){return Ne}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return Fn}}),Object.defineProperty(exports,"gt",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return In}}),Object.defineProperty(exports,"ht",{enumerable:!0,get:function(){return Se}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return lr}}),Object.defineProperty(exports,"it",{enumerable:!0,get:function(){return Je}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return Qt}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return nn}}),Object.defineProperty(exports,"kt",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Kn}}),Object.defineProperty(exports,"lt",{enumerable:!0,get:function(){return Le}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return Rn}}),Object.defineProperty(exports,"mt",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return pr}}),Object.defineProperty(exports,"nt",{enumerable:!0,get:function(){return Ze}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return er}}),Object.defineProperty(exports,"ot",{enumerable:!0,get:function(){return He}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Bn}}),Object.defineProperty(exports,"pt",{enumerable:!0,get:function(){return me}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return xt}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return dr}}),Object.defineProperty(exports,"rt",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return Xn}}),Object.defineProperty(exports,"st",{enumerable:!0,get:function(){return Ve}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return mr}}),Object.defineProperty(exports,"tt",{enumerable:!0,get:function(){return et}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return Wn}}),Object.defineProperty(exports,"ut",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return kn}}),Object.defineProperty(exports,"vt",{enumerable:!0,get:function(){return oe}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return gn}}),Object.defineProperty(exports,"wt",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return En}}),Object.defineProperty(exports,"xt",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return On}}),Object.defineProperty(exports,"yt",{enumerable:!0,get:function(){return ie}}),Object.defineProperty(exports,"z",{enumerable:!0,get:function(){return It}});
|
|
1
|
+
const e=require("./help-circle-BLp_TUx3.cjs");let t=require("react");t=e.z(t,1);let n=require("react/jsx-runtime"),r=require("recharts"),i=require("react-dom");i=e.z(i,1);var a=(e,t=1.5)=>24/e*t,o={accordion:`_accordion_1njer_3`,item:`_item_1njer_10`,item__header:`_item__header_1njer_12`,item__title:`_item__title_1njer_29`,item__chevron:`_item__chevron_1njer_36`,"item__chevron--open":`_item__chevron--open_1njer_42`,item__panelWrap:`_item__panelWrap_1njer_45`,"item__panelWrap--open":`_item__panelWrap--open_1njer_50`,item__panel:`_item__panel_1njer_45`,item__panelInner:`_item__panelInner_1njer_53`},s=({title:e,children:r,open:i,defaultOpen:s=!1,className:c})=>{let l=i!==void 0,[u,d]=t.default.useState(s),f=l?i:u;return(0,n.jsxs)(`div`,{className:[o.item,c??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`button`,{type:`button`,className:o.item__header,"aria-expanded":f,onClick:()=>!l&&d(e=>!e),children:[(0,n.jsx)(`span`,{className:o.item__title,children:e}),(0,n.jsx)(`span`,{className:[o.item__chevron,f?o[`item__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:(0,n.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),(0,n.jsx)(`div`,{className:[o.item__panelWrap,f?o[`item__panelWrap--open`]:``].join(` `),children:(0,n.jsx)(`div`,{className:o.item__panel,children:(0,n.jsx)(`div`,{className:o.item__panelInner,children:r})})})]})},c=({children:e,className:t})=>(0,n.jsx)(`div`,{className:[o.accordion,t??``].filter(Boolean).join(` `),children:e}),l={avatar:`_avatar_1igqs_3`,"avatar--sm":`_avatar--sm_1igqs_17`,"avatar--md":`_avatar--md_1igqs_18`,"avatar--lg":`_avatar--lg_1igqs_19`,"avatar--xl":`_avatar--xl_1igqs_20`,"avatar--bordered":`_avatar--bordered_1igqs_25`,avatar__image:`_avatar__image_1igqs_31`,avatar__initials:`_avatar__initials_1igqs_39`,avatar__icon:`_avatar__icon_1igqs_46`},u={sm:14,md:18,lg:22,xl:26},d=({px:e})=>(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(e),strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,n.jsx)(`path`,{d:`M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2`}),(0,n.jsx)(`circle`,{cx:`12`,cy:`7`,r:`4`})]}),f=({size:e=`md`,src:r,alt:i=``,initials:o,icon:s,className:c})=>{let f=[l.avatar,l[`avatar--${e}`],c??``].filter(Boolean).join(` `);if(r)return(0,n.jsx)(`span`,{className:[f,l[`avatar--bordered`]].join(` `),children:(0,n.jsx)(`img`,{src:r,alt:i,className:l.avatar__image})});if(o)return(0,n.jsx)(`span`,{className:f,role:`img`,"aria-label":i||o,children:(0,n.jsx)(`span`,{className:l.avatar__initials,children:o.slice(0,2).toUpperCase()})});let p=u[e],m=t.default.isValidElement(s)?t.default.cloneElement(s,{size:p,strokeWidth:a(p)}):s??(0,n.jsx)(d,{px:p});return(0,n.jsx)(`span`,{className:f,role:`img`,"aria-label":i||`avatar`,children:(0,n.jsx)(`span`,{className:l.avatar__icon,children:m})})},p={feed:`_feed_1pvgl_1`,"feed--compact":`_feed--compact_1pvgl_8`,"row--default":`_row--default_1pvgl_13`,rail:`_rail_1pvgl_19`,dot:`_dot_1pvgl_26`,connector:`_connector_1pvgl_42`,content:`_content_1pvgl_49`,"content--spaced":`_content--spaced_1pvgl_56`,"row--compact":`_row--compact_1pvgl_61`,compactLeft:`_compactLeft_1pvgl_68`,text:`_text_1pvgl_74`,actor:`_actor_1pvgl_88`,highlight:`_highlight_1pvgl_89`,timestamp:`_timestamp_1pvgl_92`},m=({children:e})=>(0,n.jsx)(`span`,{className:p.highlight,children:e}),h=16,g=e=>t.default.isValidElement(e)?t.default.cloneElement(e,{size:h,strokeWidth:a(h)}):e,_=({items:e,variant:t=`default`,className:r})=>{let i=t===`compact`;return(0,n.jsx)(`div`,{className:[p.feed,i?p[`feed--compact`]:``,r??``].filter(Boolean).join(` `),children:e.map((t,r)=>{let a=r===e.length-1,o=t.id??r;return i?(0,n.jsxs)(`div`,{className:p[`row--compact`],children:[(0,n.jsxs)(`div`,{className:p.compactLeft,children:[(0,n.jsx)(f,{size:`sm`,src:t.avatarSrc,alt:t.avatarAlt??t.actor}),(0,n.jsxs)(`p`,{className:p.text,children:[(0,n.jsx)(`span`,{className:p.actor,children:t.actor}),` `,t.description]})]}),(0,n.jsx)(`span`,{className:p.timestamp,children:t.timestamp})]},o):(0,n.jsxs)(`div`,{className:p[`row--default`],children:[(0,n.jsxs)(`div`,{className:p.rail,children:[(0,n.jsx)(`div`,{className:p.dot,children:g(t.icon)}),!a&&(0,n.jsx)(`div`,{className:p.connector})]}),(0,n.jsxs)(`div`,{className:[p.content,a?``:p[`content--spaced`]].filter(Boolean).join(` `),children:[(0,n.jsxs)(`p`,{className:p.text,children:[(0,n.jsx)(`span`,{className:p.actor,children:t.actor}),` `,t.description]}),(0,n.jsx)(`span`,{className:p.timestamp,children:t.timestamp})]})]},o)})})},v={link:`_link_1g7dc_3`,link__external:`_link__external_1g7dc_34`},y=t.default.forwardRef(({external:e,children:t,className:r,href:i,...o},s)=>(0,n.jsxs)(`a`,{ref:s,href:i,className:[v.link,r??``].filter(Boolean).join(` `),target:e?`_blank`:o.target,rel:e?`noopener noreferrer`:o.rel,...o,children:[t,e&&(0,n.jsx)(`span`,{className:v.link__external,"aria-label":`(opens in new tab)`,children:(0,n.jsxs)(`svg`,{width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(12),strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":`true`,children:[(0,n.jsx)(`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`}),(0,n.jsx)(`polyline`,{points:`15 3 21 3 21 9`}),(0,n.jsx)(`line`,{x1:`10`,y1:`14`,x2:`21`,y2:`3`})]})})]}));y.displayName=`Link`;var b={button:`_button_l09ur_2`,"button--sm":`_button--sm_l09ur_26`,"button--md":`_button--md_l09ur_27`,"button--lg":`_button--lg_l09ur_28`,"button--primary":`_button--primary_l09ur_31`,"button--secondary":`_button--secondary_l09ur_38`,"button--outline":`_button--outline_l09ur_43`,"button--ghost":`_button--ghost_l09ur_48`,"button--destructive":`_button--destructive_l09ur_53`},x={sm:16,md:18,lg:20},S=t.default.forwardRef(({icon:e,variant:t=`primary`,size:r=`md`,disabled:i,className:o,...s},c)=>(0,n.jsx)(`button`,{ref:c,disabled:i,className:[b.button,b[`button--${t}`],b[`button--${r}`],o??``].filter(Boolean).join(` `),...s,children:(0,n.jsx)(e,{size:x[r],strokeWidth:a(x[r]),"aria-hidden":`true`})}));S.displayName=`IconButton`;var C={button:`_button_izp70_21`,"button--primary":`_button--primary_izp70_106`,"button--secondary":`_button--secondary_izp70_133`,"button--outline":`_button--outline_izp70_156`,"button--ghost":`_button--ghost_izp70_178`,"button--destructive":`_button--destructive_izp70_202`,"button--sm":`_button--sm_izp70_226`,"button--md":`_button--md_izp70_236`,"button--lg":`_button--lg_izp70_246`,"button--hasLeftIcon":`_button--hasLeftIcon_izp70_257`,"button--hasRightIcon":`_button--hasRightIcon_izp70_258`,button__icon:`_button__icon_izp70_270`,button__label:`_button__label_izp70_277`,"button--loading":`_button--loading_izp70_287`,button__spinner:`_button__spinner_izp70_291`,"sakani-btn-spin":`_sakani-btn-spin_izp70_1`},w=t.default.forwardRef(({variant:e=`primary`,size:t=`md`,leftIcon:r,rightIcon:i,loading:a=!1,disabled:o,children:s,className:c,...l},u)=>{let d=o||a;return(0,n.jsxs)(`button`,{ref:u,className:[C.button,C[`button--${e}`],C[`button--${t}`],a?C[`button--loading`]:``,r&&!a?C[`button--hasLeftIcon`]:``,i&&!a?C[`button--hasRightIcon`]:``,c??``].filter(Boolean).join(` `),disabled:d,"aria-busy":a,...l,children:[a&&(0,n.jsx)(`span`,{className:[C.button__icon,C.button__spinner].join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,children:(0,n.jsx)(`path`,{d:`M12 3a9 9 0 1 1-6.36 2.64`})})}),r&&!a&&(0,n.jsx)(`span`,{className:C.button__icon,"aria-hidden":`true`,children:r}),(0,n.jsx)(`span`,{className:C.button__label,children:s}),i&&!a&&(0,n.jsx)(`span`,{className:C.button__icon,"aria-hidden":`true`,children:i})]})});w.displayName=`Button`;var T={wrap:`_wrap_3mj75_1`,"wrap--vertical":`_wrap--vertical_3mj75_7`,"wrap--horizontal":`_wrap--horizontal_3mj75_11`,circleWrap:`_circleWrap_3mj75_21`,bigAvatar:`_bigAvatar_3mj75_26`,badge:`_badge_3mj75_31`,horizontalContent:`_horizontalContent_3mj75_53`,textStack:`_textStack_3mj75_60`,"textStack--center":`_textStack--center_3mj75_66`,title:`_title_3mj75_71`,hint:`_hint_3mj75_79`,link:`_link_3mj75_88`,input:`_input_3mj75_92`},E=({src:r,alt:i,orientation:o=`vertical`,accept:s=`image/jpeg,image/png`,title:c=`Upload a photo`,hint:l=`JPG or PNG, max 5MB.`,onFileSelect:u,onRemove:d,className:p})=>{let m=t.default.useRef(null),h=r!==void 0,[g,_]=t.default.useState(void 0),v=h?r:g,b=o===`horizontal`,x=!!v,S=()=>m.current?.click(),C=()=>{d?.(),h||_(void 0)},E=(0,n.jsxs)(`div`,{className:[T.textStack,b?``:T[`textStack--center`]].filter(Boolean).join(` `),children:[(0,n.jsx)(`p`,{className:T.title,children:c}),(0,n.jsx)(`p`,{className:T.hint,children:l})]});return(0,n.jsxs)(`div`,{className:[T.wrap,T[`wrap--${o}`],p??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:T.circleWrap,children:[(0,n.jsx)(f,{size:b?`lg`:`xl`,src:v,alt:i,className:b?void 0:T.bigAvatar}),!b&&(0,n.jsx)(`button`,{type:`button`,className:T.badge,onClick:S,"aria-label":`Change photo`,children:(0,n.jsx)(e.P,{size:16,strokeWidth:a(16)})})]}),b&&(0,n.jsxs)(`div`,{className:T.horizontalContent,children:[E,x?(0,n.jsx)(w,{variant:`outline`,size:`sm`,onClick:C,style:{color:`var(--color-danger-fg)`,borderColor:`var(--color-danger-border)`},children:`Remove`}):(0,n.jsx)(w,{variant:`outline`,size:`sm`,onClick:S,children:`Upload`})]}),!b&&(x?(0,n.jsx)(y,{href:`#`,onClick:e=>{e.preventDefault(),S()},className:T.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:`Change photo`}):E),(0,n.jsx)(`input`,{ref:m,type:`file`,accept:s,className:T.input,onChange:e=>{let t=e.target.files?.[0];t&&(u?.(t),h||_(URL.createObjectURL(t))),e.target.value=``}})]})};function D(){let[e,n]=(0,t.useState)(0);return(0,t.useEffect)(()=>{if(typeof document>`u`)return;n(e=>e+1);let e=new MutationObserver(()=>n(e=>e+1));return e.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}),()=>e.disconnect()},[]),e}var O={balance:`_balance_kaxp5_1`,"balance--progress":`_balance--progress_kaxp5_8`,content:`_content_kaxp5_17`,labelRow:`_labelRow_kaxp5_33`,label:`_label_kaxp5_33`,hideToggle:`_hideToggle_kaxp5_50`,value:`_value_kaxp5_71`,"value--hidden":`_value--hidden_kaxp5_83`,"value--glitching":`_value--glitching_kaxp5_90`,"balance-glitch":`_balance-glitch_kaxp5_1`,changeRow:`_changeRow_kaxp5_101`,trendIcon__up:`_trendIcon__up_kaxp5_108`,trendIcon__down:`_trendIcon__down_kaxp5_109`,changeValue__up:`_changeValue__up_kaxp5_110`,changeValue__down:`_changeValue__down_kaxp5_117`,changeLabel:`_changeLabel_kaxp5_124`,ringCard:`_ringCard_kaxp5_132`},k=`ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`,A=8,j=6,ee=90,te=e=>{let t=Math.min(e,A);return Array.from({length:t},()=>k[Math.floor(Math.random()*36)]).join(``)},ne=e=>typeof window<`u`&&getComputedStyle(document.documentElement).getPropertyValue(e).trim()||void 0,re=({progress:e})=>{D();let t=ne(`--color-chart-1`)??`#ff4700`,i=ne(`--color-bg-subtle`)??`#f5f4f2`,a=[{value:Math.max(0,Math.min(100,e))}];return(0,n.jsx)(`div`,{className:O.ringCard,children:(0,n.jsx)(r.ResponsiveContainer,{width:64,height:64,children:(0,n.jsxs)(r.RadialBarChart,{data:a,startAngle:90,endAngle:-270,innerRadius:`72%`,outerRadius:`100%`,barSize:10,children:[(0,n.jsx)(r.PolarAngleAxis,{type:`number`,domain:[0,100],tick:!1,axisLine:!1}),(0,n.jsx)(r.RadialBar,{dataKey:`value`,cornerRadius:5,fill:t,background:{fill:i},isAnimationActive:!1})]})})})},ie=({label:r=`Available balance`,value:i,change:o,progress:s,hidden:c,onToggleHidden:l,className:u})=>{let d=c!==void 0,[f,p]=t.default.useState(!1),m=d?c:f,h=s!==void 0,g=o?.direction??`up`,_=g===`up`?e.j:e.A,v=()=>{let e=!m;l?.(e),d||p(e)},[y,b]=t.default.useState(!1),[x,S]=t.default.useState(0),C=t.default.useRef(!1);t.default.useEffect(()=>{if(m&&!C.current){b(!0);let e=0,t=setInterval(()=>{e+=1,S(e=>e+1),e>=j&&(clearInterval(t),b(!1))},ee);return C.current=!0,()=>clearInterval(t)}C.current=m},[m]);let w=t.default.useMemo(()=>te(i.length),[i,x]),T=t.default.useMemo(()=>o?te(o.value.length):``,[o?.value,x]),E=(0,n.jsxs)(`div`,{className:O.content,children:[(0,n.jsxs)(`div`,{className:O.labelRow,children:[(0,n.jsx)(`p`,{className:O.label,children:r}),(0,n.jsx)(`button`,{type:`button`,className:O.hideToggle,"aria-label":m?`Show balance`:`Hide balance`,onClick:v,children:m?(0,n.jsx)(e.M,{size:16,strokeWidth:a(16)}):(0,n.jsx)(e.N,{size:16,strokeWidth:a(16)})})]}),(0,n.jsx)(`p`,{className:[O.value,m?O[`value--hidden`]:``,y?O[`value--glitching`]:``].filter(Boolean).join(` `),children:m?w:i}),o&&(0,n.jsxs)(`div`,{className:O.changeRow,children:[(0,n.jsx)(_,{size:24,strokeWidth:1.5,className:g===`up`?O.trendIcon__up:O.trendIcon__down}),(0,n.jsx)(`span`,{className:[g===`up`?O.changeValue__up:O.changeValue__down,y?O[`value--glitching`]:``].filter(Boolean).join(` `),children:m?T:o.value}),(0,n.jsx)(`span`,{className:O.changeLabel,children:o.label??`this month`})]})]});return(0,n.jsxs)(`div`,{className:[O.balance,h?O[`balance--progress`]:``,u??``].filter(Boolean).join(` `),children:[h&&(0,n.jsx)(re,{progress:s}),E]})},ae={progress:`_progress_1qaz4_11`,"progress--sm":`_progress--sm_1qaz4_20`,"progress--md":`_progress--md_1qaz4_21`,"progress--lg":`_progress--lg_1qaz4_22`,progress__fill:`_progress__fill_1qaz4_25`,"progress__fill--indeterminate":`_progress__fill--indeterminate_1qaz4_33`,"progress-scan":`_progress-scan_1qaz4_1`},oe=({value:e,size:t=`md`,label:r=`Progress`,className:i})=>{let a=e===void 0,o=Math.min(100,Math.max(0,e??0));return(0,n.jsx)(`div`,{role:`progressbar`,"aria-label":r,"aria-valuenow":a?void 0:o,"aria-valuemin":0,"aria-valuemax":100,className:[ae.progress,ae[`progress--${t}`],i??``].filter(Boolean).join(` `),children:(0,n.jsx)(`div`,{className:[ae.progress__fill,a?ae[`progress__fill--indeterminate`]:``].filter(Boolean).join(` `),style:a?void 0:{width:`${o}%`}})})},se=[`dark`,`force-light`];function ce(e,n){let[r,i]=(0,t.useState)(``);return(0,t.useEffect)(()=>{if(!n||typeof document>`u`)return;let t=e.current;if(!t)return;let r=t.closest(se.map(e=>`.${e}`).join(`, `)),a=r?se.find(e=>r.classList.contains(e))??``:``;i(a)},[e,n]),r}function le(e,n){let[r,i]=(0,t.useState)(void 0);return(0,t.useEffect)(()=>{if(!n||typeof document>`u`)return;let t=e.current;t&&i(t.closest(`[data-surface]`)?.getAttribute(`data-surface`)??void 0)},[e,n]),r}var M={liquid:`_liquid_13biw_6`,regular:`_regular_13biw_6`,clear:`_clear_13biw_14`,"tint-regular":`_tint-regular_13biw_34`,"tint-clear":`_tint-clear_13biw_35`,"tint-subtle":`_tint-subtle_13biw_36`,"tint-none":`_tint-none_13biw_37`,sourceClip:`_sourceClip_13biw_47`,source:`_source_13biw_47`,sourceImage:`_sourceImage_13biw_56`,sourceCanvas:`_sourceCanvas_13biw_63`,probe:`_probe_13biw_64`,fill:`_fill_13biw_65`,interactive:`_interactive_13biw_120`,defs:`_defs_13biw_122`};function ue(){return typeof navigator>`u`?!1:!!(navigator.userAgentData?.brands)?.some(e=>/Chromium/i.test(e.brand))}var de=new Map;function fe(e){let{w:t,h:n,radius:r,bezel:i,intensity:a,reach:o,lx:s,ly:c}=e,l=`${t}x${n}:${r}:${i}:${a}:${o}:${s.toFixed(3)}:${c.toFixed(3)}`,u=de.get(l);if(u)return u;let d=()=>{let e=document.createElement(`canvas`);return e.width=t,e.height=n,e},f=d(),p=d(),m=f.getContext(`2d`),h=p.getContext(`2d`);if(!m||!h)return{map:``,light:``};let g=m.createImageData(t,n),_=h.createImageData(t,n),v=g.data,y=_.data,b=Math.min(r,t/2,n/2),x=t/2,S=n/2,C=Math.max(i,a>0?o:0,1);new Uint32Array(v.buffer).fill(4286611584),new Uint32Array(y.buffer).fill(4286611584);let w=Math.ceil(C+b+2);for(let e=0;e<n;e++){let r=e<w||e>=n-w;for(let l=0;l<t&&!(!r&&l===w&&(l=Math.max(w,t-w),l>=t));l++){let r=l+.5,u=e+.5,d=Math.abs(r-x)-(t/2-b),f=Math.abs(u-S)-(n/2-b),p=Math.max(d,0),m=Math.max(f,0),h=Math.hypot(p,m),g=-(h+Math.min(Math.max(d,f),0)-b),_=0,w=0,T=0;if(g>-1&&g<C){let e=0,t=0;if(d>0&&f>0&&h>0?(e=p/h,t=m/h):d>f?e=1:t=1,e*=Math.sign(r-x)||1,t*=Math.sign(u-S)||1,g>=0&&g<i){let n=1-Math.min(i,g<1?g+1:g)/i,r=(1-Math.sqrt(1-n*n))*(g<1?.5:1);_=-e*r,w=-t*r}if(a>0){let n=e*s+t*c,r=Math.abs(n);g<1?T=a*(n>0?106*r**.86:101*r**1.45):o>0&&(T=(n>0?-14:11.6)*a*r*Math.max(0,1-(g-.5)/o))}}if(_===0&&w===0&&T===0)continue;let E=(e*t+l)*4;v[E]=128+_*127,v[E+1]=128+w*127;let D=Math.max(0,Math.min(255,Math.round(128+T)));y[E]=D,y[E+1]=D,y[E+2]=D}}m.putImageData(g,0,0),h.putImageData(_,0,0);let T={map:f.toDataURL(),light:p.toDataURL()};return de.set(l,T),T}var pe=t.default.createContext(null),me=t.default.forwardRef(({src:e,position:r=`center`,veil:i,style:a,children:o,...s},c)=>{let l=t.default.useRef(null),u=e=>{l.current=e,typeof c==`function`?c(e):c&&(c.current=e)},d=i?`linear-gradient(${i}, ${i}), url("${e}")`:`url("${e}")`,f=i?`100% 100%, cover`:`cover`,p=t.default.useMemo(()=>({src:e,veil:i,image:d,size:f,position:r,rootRef:l}),[e,i,d,f,r]);return(0,n.jsx)(`div`,{ref:u,...s,style:{backgroundImage:d,backgroundSize:f,backgroundPosition:r,backgroundRepeat:`no-repeat`,...a},children:(0,n.jsx)(pe.Provider,{value:p,children:o})})});me.displayName=`LiquidBackdrop`;var he=new Set,ge=0,_e=0,ve=()=>{let e=!1;he.forEach(t=>{t()&&(e=!0)}),_e=e?0:_e+1,ge=he.size&&_e<24?requestAnimationFrame(ve):0},ye=()=>{_e=0,!ge&&he.size&&(ge=requestAnimationFrame(ve))},be=!1;function xe(e){if(!be&&typeof window<`u`){be=!0,window.addEventListener(`scroll`,ye,{capture:!0,passive:!0}),window.addEventListener(`resize`,ye);for(let e of[`transitionrun`,`transitionend`,`animationstart`,`animationend`,`pointerdown`,`pointerup`])document.addEventListener(e,ye,!0);new MutationObserver(ye).observe(document.documentElement,{attributes:!0,attributeFilter:[`class`,`data-theme`],subtree:!0})}return he.add(e),e(),ye(),()=>{he.delete(e)}}function Se(){he.forEach(e=>e()),ye()}var Ce=new Map;function we(e){let t=Ce.get(e);return t||(t=new Promise((t,n)=>{let r=new Image;r.decoding=`async`,r.onload=()=>t(r),r.onerror=n,r.src=e}),Ce.set(e,t)),t}function Te(e){let t={left:0,top:0,center:.5,right:1,bottom:1},n=e.trim().split(/\s+/),r=e=>e===void 0?.5:e in t?t[e]:e.endsWith(`%`)?parseFloat(e)/100:.5;return n.length===1&&(n[0]===`top`||n[0]===`bottom`)?[.5,r(n[0])]:[r(n[0]),r(n[1])]}var Ee=300*300,De=(e,t,n)=>{let r=parseFloat(getComputedStyle(e).getPropertyValue(t));return Number.isFinite(r)?r:n};function Oe(e,{enabled:r=!0,refraction:i=`auto`,watch:a=``,source:o=!0,bake:s=`auto`}={}){let c=`liquid-${t.default.useId().replace(/[^a-zA-Z0-9_-]/g,``)}`,[l,u]=t.default.useState(null),d=r&&i!==`off`&&ue(),f=t.default.useContext(pe),p=d&&o&&!!f,m=t.default.useRef(null);t.default.useEffect(()=>{let t=e.current;if(!t||!d){u(null);return}let n=()=>{let e=Math.round(t.offsetWidth),n=Math.round(t.offsetHeight);if(!e||!n)return;let r=parseFloat(getComputedStyle(t).borderTopLeftRadius)||0,i=De(t,`--liquid-refraction`,.8),a=Math.max(0,De(t,`--liquid-depth`,20)),o=De(t,`--liquid-dispersion`,0),s=Math.max(0,De(t,`--liquid-frost`,0)),c=Math.max(0,De(t,`--liquid-light-intensity`,0)),l=De(t,`--liquid-light-angle`,-45)*Math.PI/180,d=.8*a,f=Math.max(1,Math.round(Math.min(d,Math.min(e,n)/2))),p=d>0?f/d:0,m={w:e,h:n,radius:r,bezel:f,bend:i*(10.9+1.1*a)*p,spread:.11*o,frost:Math.max(.65,Math.hypot(.47,.45*s)),intensity:c,reach:.75*a*(p||1),lx:Math.sin(l),ly:-Math.cos(l)};u(e=>e&&Object.keys(m).every(t=>e[t]===m[t])?e:m)};n();let r=0,i=new ResizeObserver(()=>{t.offsetWidth*t.offsetHeight>Ee?(window.clearTimeout(r),r=window.setTimeout(()=>{n(),ye()},90)):(n(),ye())});return i.observe(t),()=>{window.clearTimeout(r),i.disconnect()}},[e,d,a]);let h=l?fe(l):null,g=t.default.useCallback(e=>{let t=e.currentTarget,n=t.getBoundingClientRect();t.style.setProperty(`--mx`,`${e.clientX-n.left}px`),t.style.setProperty(`--my`,`${e.clientY-n.top}px`)},[]),_=d&&!!l&&!!h?.map,v=p&&!!l&&(s===`auto`?l.w*l.h>Ee:s),y=t.default.useRef(null),b=t.default.useRef(null),x=t.default.useRef(0);t.default.useLayoutEffect(()=>{let t=e.current;if(!p||!_||!t||!f||!l||!h)return;let n=``,r=0,i=0,a=0,o=(e,t,n,r,i)=>{let a=++x.current;we(f.src).then(o=>{let s=y.current,u=document.getElementById(`${c}-bake`);if(a!==x.current||!s||!u)return;let d=Math.min(2,window.devicePixelRatio||1),p=Math.round(l.w*d),m=Math.round(l.h*d),h=document.createElement(`canvas`);h.width=p,h.height=m;let g=h.getContext(`2d`),_=s.getContext(`2d`);if(!g||!_)return;g.scale(d,d),g.translate(e,t);let v=Math.max(n/o.naturalWidth,r/o.naturalHeight),b=o.naturalWidth*v,S=o.naturalHeight*v,[C,w]=Te(f.position);g.drawImage(o,(n-b)*C,(r-S)*w,b,S),i&&i!==`rgba(0, 0, 0, 0)`&&i!==`transparent`&&(g.fillStyle=i,g.fillRect(0,0,n,r)),s.width=p,s.height=m,_.filter=`url(#${c}-bake)`,_.drawImage(h,0,0),_.filter=`none`}).catch(()=>{})};return xe(()=>{let e=f.rootRef.current,s=m.current;if(!e||!v&&!s||v&&!y.current)return++r<120;let c=t.getBoundingClientRect(),l=e.getBoundingClientRect(),u=t.offsetWidth?c.width/t.offsetWidth:1,d=t.offsetHeight?c.height/t.offsetHeight:1,p=(l.left-c.left)/u,h=(l.top-c.top)/d,g=l.width/u,_=l.height/d,x=``;v&&f.veil&&b.current&&(b.current.style.backgroundColor=f.veil,x=getComputedStyle(b.current).backgroundColor);let S=`${p.toFixed(2)},${h.toFixed(2)},${g.toFixed(2)},${_.toFixed(2)},${x}`;if(S===n)return!1;if(n=S,v){let e=performance.now();clearTimeout(a),e-i>120?(i=e,o(p,h,g,_,x)):a=window.setTimeout(()=>{i=performance.now(),o(p,h,g,_,x)},130)}else s&&(s.style.width=`${g}px`,s.style.height=`${_}px`,s.style.transform=`translate3d(${p}px, ${h}px, 0)`);return!0})},[p,_,f,e,v,l,h,c]);let S=e=>{let t=Array(20).fill(0);return t[e*5+e]=1,t[18]=1,t.join(` `)},C=_&&l&&h?(0,n.jsx)(`svg`,{className:M.defs,width:`0`,height:`0`,"aria-hidden":`true`,focusable:`false`,children:(0,n.jsxs)(`filter`,{id:c,x:`0`,y:`0`,width:l.w,height:l.h,filterUnits:`userSpaceOnUse`,primitiveUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,n.jsx)(`feImage`,{href:h.map,x:`0`,y:`0`,width:l.w,height:l.h,preserveAspectRatio:`none`,result:`map`}),(0,n.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:l.frost,edgeMode:`duplicate`,result:`frost`}),[0,1,2].map(e=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(`feDisplacementMap`,{in:`frost`,in2:`map`,scale:2*l.bend*(1+(1-e)*l.spread),xChannelSelector:`R`,yChannelSelector:`G`,result:`d${e}`}),(0,n.jsx)(`feColorMatrix`,{in:`d${e}`,type:`matrix`,values:S(e),result:`c${e}`})]},e)),(0,n.jsx)(`feBlend`,{in:`c0`,in2:`c1`,mode:`screen`,result:`c01`}),(0,n.jsx)(`feBlend`,{in:`c01`,in2:`c2`,mode:`screen`,result:`bent`}),l.intensity>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`feImage`,{href:h.light,x:`0`,y:`0`,width:l.w,height:l.h,preserveAspectRatio:`none`,result:`light`}),(0,n.jsx)(`feComposite`,{in:`bent`,in2:`light`,operator:`arithmetic`,k1:0,k2:1,k3:1,k4:-128/255})]})]})}):null,w=typeof window<`u`?Math.min(2,window.devicePixelRatio||1):1,T=v&&l&&h?(()=>{let e=Math.round(l.w*w),r=Math.round(l.h*w);return(0,n.jsx)(`svg`,{className:M.defs,width:`0`,height:`0`,"aria-hidden":`true`,focusable:`false`,children:(0,n.jsxs)(`filter`,{id:`${c}-bake`,x:`0`,y:`0`,width:e,height:r,filterUnits:`userSpaceOnUse`,primitiveUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,n.jsx)(`feImage`,{href:h.map,x:`0`,y:`0`,width:e,height:r,preserveAspectRatio:`none`,result:`map`}),(0,n.jsx)(`feGaussianBlur`,{in:`SourceGraphic`,stdDeviation:l.frost*w,edgeMode:`duplicate`,result:`frost`}),[0,1,2].map(e=>(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsx)(`feDisplacementMap`,{in:`frost`,in2:`map`,scale:2*l.bend*w*(1+(1-e)*l.spread),xChannelSelector:`R`,yChannelSelector:`G`,result:`d${e}`}),(0,n.jsx)(`feColorMatrix`,{in:`d${e}`,type:`matrix`,values:S(e),result:`c${e}`})]},e)),(0,n.jsx)(`feBlend`,{in:`c0`,in2:`c1`,mode:`screen`,result:`c01`}),(0,n.jsx)(`feBlend`,{in:`c01`,in2:`c2`,mode:`screen`,result:`bent`}),l.intensity>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`feImage`,{href:h.light,x:`0`,y:`0`,width:e,height:r,preserveAspectRatio:`none`,result:`light`}),(0,n.jsx)(`feComposite`,{in:`bent`,in2:`light`,operator:`arithmetic`,k1:0,k2:1,k3:1,k4:-128/255})]})]})})})():null;return{filter:_&&p&&f?v?(0,n.jsxs)(n.Fragment,{children:[T,(0,n.jsxs)(`span`,{className:M.sourceClip,"aria-hidden":`true`,children:[(0,n.jsx)(`canvas`,{ref:y,className:M.sourceCanvas}),(0,n.jsx)(`span`,{ref:b,className:M.probe})]}),(0,n.jsx)(`span`,{className:M.fill,"aria-hidden":`true`})]}):(0,n.jsxs)(n.Fragment,{children:[C,(0,n.jsx)(`span`,{className:M.sourceClip,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:M.source,style:{filter:`url(#${c})`},children:(0,n.jsx)(`span`,{ref:m,className:M.sourceImage,style:{backgroundImage:f.image,backgroundSize:f.size,backgroundPosition:f.position}})})}),(0,n.jsx)(`span`,{className:M.fill,"aria-hidden":`true`})]}):C,refracting:_,props:{"data-surface":`liquid`,"data-refraction":_?p?`source`:`on`:`off`,style:_&&!p?{backdropFilter:`url(#${c})`}:void 0,onPointerMove:g}}}var ke=e=>{if(!e)return{};let t={};return e.refraction!==void 0&&(t[`--liquid-refraction`]=e.refraction),e.depth!==void 0&&(t[`--liquid-depth`]=e.depth),e.dispersion!==void 0&&(t[`--liquid-dispersion`]=e.dispersion),e.frost!==void 0&&(t[`--liquid-frost`]=e.frost),e.lightIntensity!==void 0&&(t[`--liquid-light-intensity`]=e.lightIntensity),e.lightAngle!==void 0&&(t[`--liquid-light-angle`]=e.lightAngle),t},Ae=t.default.forwardRef(({variant:e=`regular`,tint:r=`auto`,radius:i=20,refraction:a=`auto`,effect:o,source:s=!0,bake:c=`auto`,interactive:l,className:u,style:d,children:f,onPointerMove:p,...m},h)=>{let g=t.default.useRef(null),_=e=>{g.current=e,typeof h==`function`?h(e):h&&(h.current=e)},v=Oe(g,{refraction:a,source:s,bake:c,watch:o?JSON.stringify(o):``});return(0,n.jsxs)(`div`,{ref:_,...m,...v.props,className:[M.liquid,M[e],r===`auto`?``:M[`tint-${r}`],l?M.interactive:``,u??``].filter(Boolean).join(` `),style:{borderRadius:i,...ke(o),...v.props.style,...d},onPointerMove:e=>{v.props.onPointerMove(e),p?.(e)},children:[v.filter,f]})});Ae.displayName=`LiquidGlass`;var je=(e=`regular`,t=`auto`)=>[M.liquid,M[e],t===`auto`?``:M[`tint-${t}`]].filter(Boolean).join(` `),Me={"divider--horizontal":`_divider--horizontal_nem37_4`,"divider--labeled":`_divider--labeled_nem37_13`,"divider--vertical":`_divider--vertical_nem37_27`,divider__label:`_divider__label_nem37_38`},Ne=({orientation:e=`horizontal`,label:t,className:r})=>(0,n.jsx)(`div`,{role:`separator`,"aria-orientation":e,className:[Me.divider,Me[`divider--${e}`],t?Me[`divider--labeled`]:``,r??``].filter(Boolean).join(` `),children:t&&e===`horizontal`&&(0,n.jsx)(`span`,{className:Me.divider__label,children:t})}),N={backdrop:`_backdrop_13dud_1`,card:`_card_13dud_12`,header:`_header_13dud_34`,titleGroup:`_titleGroup_13dud_42`,iconWrap:`_iconWrap_13dud_49`,icon:`_icon_13dud_49`,title:`_title_13dud_42`,description:`_description_13dud_75`,footer:`_footer_13dud_83`,"footer--between":`_footer--between_13dud_94`,"backdrop--entering":`_backdrop--entering_13dud_112`,"sakani-modal-backdrop-in":`_sakani-modal-backdrop-in_13dud_1`,"backdrop--exiting":`_backdrop--exiting_13dud_113`,"sakani-modal-backdrop-out":`_sakani-modal-backdrop-out_13dud_1`,"card--entering":`_card--entering_13dud_114`,"sakani-modal-card-in":`_sakani-modal-card-in_13dud_1`,"card--exiting":`_card--exiting_13dud_115`,"sakani-modal-card-out":`_sakani-modal-card-out_13dud_1`},Pe=({open:r,onClose:o,title:s,description:c,variant:l=`default`,icon:u,cancelLabel:d=`Cancel`,confirmLabel:f,onCancel:p,onConfirm:m,confirmLoading:h,closeOnEscape:g=!0,closeOnBackdropClick:_=!0,children:v,hideHeader:y=!1,hideFooterDivider:b=!1,footerJustify:x=`end`,className:C})=>{let T=l===`destructive`,E=t.default.useRef(null),D=t.default.useRef(null),O=t.default.useRef(null),k=ce(O,r),A=le(O,r),j=A===`liquid`,ee=Oe(E,{enabled:j,source:!1}),[te,ne]=t.default.useState(!1);t.default.useEffect(()=>{r&&ne(!0)},[r]),t.default.useEffect(()=>{if(r||!te)return;let e=setTimeout(()=>ne(!1),240);return()=>clearTimeout(e)},[r,te]),t.default.useEffect(()=>{if(!r)return;let e=e=>{if(g&&e.key===`Escape`){o();return}if(e.key!==`Tab`||!E.current)return;let t=E.current.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[r,g,o]),t.default.useEffect(()=>{if(!r)return;D.current=document.activeElement;let e=document.body.style.overflow;return document.body.style.overflow=`hidden`,E.current?.focus(),()=>{document.body.style.overflow=e,D.current?.focus()}},[r]);let re=()=>(p??o)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{ref:O,style:{display:`none`},"aria-hidden":`true`}),te&&(0,i.createPortal)((0,n.jsx)(`div`,{className:[N.backdrop,k,r?N[`backdrop--entering`]:N[`backdrop--exiting`]].filter(Boolean).join(` `),"data-surface":A,onMouseDown:e=>{_&&e.target===e.currentTarget&&o()},children:(0,n.jsxs)(`div`,{ref:E,role:`alertdialog`,"aria-modal":`true`,"aria-labelledby":y?void 0:`modal-title`,"aria-label":y?s:void 0,tabIndex:-1,className:[N.card,j?je(`regular`):``,r?N[`card--entering`]:N[`card--exiting`],C??``].filter(Boolean).join(` `),...j?ee.props:{},onAnimationEnd:e=>{e.target===e.currentTarget&&!r&&ne(!1)},children:[j&&ee.filter,!y&&(0,n.jsxs)(`div`,{className:N.header,children:[(0,n.jsxs)(`div`,{className:N.titleGroup,children:[T&&(0,n.jsx)(`span`,{className:N.iconWrap,"aria-hidden":`true`,children:u??(0,n.jsx)(e.I,{size:24,strokeWidth:a(24),className:N.icon})}),(0,n.jsx)(`p`,{id:`modal-title`,className:N.title,children:s})]}),(0,n.jsx)(S,{icon:e.F,variant:`ghost`,size:`lg`,"aria-label":`Close`,onClick:o})]}),c&&(0,n.jsx)(`p`,{className:N.description,children:c}),v,!b&&(0,n.jsx)(Ne,{}),(0,n.jsxs)(`div`,{className:[N.footer,x===`between`?N[`footer--between`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(w,{variant:`secondary`,onClick:re,style:{borderColor:`transparent`},children:d}),(0,n.jsx)(w,{variant:T?`destructive`:`primary`,onClick:m,loading:h,children:f??(T?`Delete`:`Confirm`)})]})]})}),document.body)]})},P={row:`_row_88l3n_2`,"row--unread":`_row--unread_88l3n_12`,iconWrapSurface:`_iconWrapSurface_88l3n_17`,iconWrapCanvas:`_iconWrapCanvas_88l3n_18`,content:`_content_88l3n_31`,titleBold:`_titleBold_88l3n_39`,titleMuted:`_titleMuted_88l3n_46`,timestamp:`_timestamp_88l3n_53`,dot:`_dot_88l3n_62`,card:`_card_88l3n_71`,cardTop:`_cardTop_88l3n_87`,description:`_description_88l3n_94`,actions:`_actions_88l3n_102`},Fe=({icon:t,title:r,timestamp:i,read:o=!1,description:s,onDismiss:c,dismissLabel:l=`Dismiss`,actionLabel:u,onAction:d,className:f})=>{let p=s!==void 0,m=!o&&!p,h=t??(0,n.jsx)(e.O,{size:24,strokeWidth:a(24)});return p?(0,n.jsxs)(`div`,{className:[P.card,f??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:P.cardTop,children:[(0,n.jsx)(`span`,{className:P.iconWrapCanvas,"aria-hidden":`true`,children:h}),(0,n.jsxs)(`div`,{className:P.content,children:[(0,n.jsx)(`p`,{className:P.titleBold,children:r}),(0,n.jsx)(`p`,{className:P.description,children:s})]}),c&&(0,n.jsx)(S,{icon:e.F,variant:`ghost`,size:`sm`,"aria-label":`Close`,onClick:c})]}),(0,n.jsxs)(`div`,{className:P.actions,children:[c&&(0,n.jsx)(w,{variant:`ghost`,size:`sm`,onClick:c,children:l}),u&&(0,n.jsx)(w,{variant:`secondary`,size:`sm`,onClick:d,style:{borderColor:`transparent`},children:u})]})]}):(0,n.jsxs)(`div`,{className:[P.row,m?P[`row--unread`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:P.iconWrapSurface,"aria-hidden":`true`,children:h}),(0,n.jsxs)(`div`,{className:P.content,children:[(0,n.jsx)(`p`,{className:m?P.titleBold:P.titleMuted,children:r}),i&&(0,n.jsx)(`p`,{className:P.timestamp,children:i})]}),m&&(0,n.jsx)(`span`,{className:P.dot,"aria-hidden":`true`})]})},Ie={stat:`_stat_krs8c_1`,labelRow:`_labelRow_krs8c_10`,label:`_label_krs8c_10`,value:`_value_krs8c_27`},Le=({label:e,value:t,progress:r,className:i})=>(0,n.jsxs)(`div`,{className:[Ie.stat,i??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:Ie.labelRow,children:[(0,n.jsx)(`p`,{className:Ie.label,children:e}),(0,n.jsx)(`p`,{className:Ie.value,children:t})]}),(0,n.jsx)(oe,{value:r,size:`lg`,label:e})]}),Re={balance:`_balance_5gcu5_1`,label:`_label_5gcu5_10`,amountRow:`_amountRow_5gcu5_19`,amount:`_amount_5gcu5_19`,limit:`_limit_5gcu5_34`,track:`_track_5gcu5_43`,fill:`_fill_5gcu5_50`,"fill--over":`_fill--over_5gcu5_57`,footer:`_footer_5gcu5_61`},ze=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),Be=({label:e=`Spent this month`,spent:t,limit:r,formatAmount:i=ze,className:a})=>{let o=t>r,s=o?100:r>0?t/r*100:0,c=o?`${i(t-r)} over your limit`:`${i(r-t)} remaining`;return(0,n.jsxs)(`div`,{className:[Re.balance,a??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`p`,{className:Re.label,children:e}),(0,n.jsxs)(`div`,{className:Re.amountRow,children:[(0,n.jsx)(`p`,{className:Re.amount,children:i(t)}),(0,n.jsxs)(`p`,{className:Re.limit,children:[`of `,i(r),` limit`]})]}),(0,n.jsx)(`div`,{className:Re.track,role:`progressbar`,"aria-label":e,"aria-valuenow":Math.round(s),"aria-valuemin":0,"aria-valuemax":100,children:(0,n.jsx)(`div`,{className:[Re.fill,o?Re[`fill--over`]:``].filter(Boolean).join(` `),style:{width:`${s}%`}})}),(0,n.jsx)(`p`,{className:Re.footer,children:c})]})};function Ve(e){let[,n]=(0,t.useState)(0);return(0,t.useEffect)(()=>{if(typeof document>`u`)return;n(e=>e+1);let t=new MutationObserver(()=>n(e=>e+1)),r=new Set([document.documentElement]);for(let t=e.current;t;t=t.parentElement)r.add(t);return r.forEach(e=>t.observe(e,{attributes:!0,attributeFilter:[`class`]})),()=>t.disconnect()},[e]),t=>{if(typeof window>`u`)return;let n=e.current??document.documentElement;return getComputedStyle(n).getPropertyValue(t).trim()||void 0}}var He=[`#ff4700`,`#5b92dd`,`#47a8a2`,`#9179d6`,`#dca84f`,`#12b76a`],Ue={tooltip:`_tooltip_ic16u_3`,title:`_title_ic16u_23`,row:`_row_ic16u_27`,dot:`_dot_ic16u_34`,label:`_label_ic16u_41`,value:`_value_ic16u_42`},We=({active:e,payload:t,label:r,formatter:i})=>!e||!t||t.length===0?null:(0,n.jsxs)(`div`,{className:Ue.tooltip,children:[r!==void 0&&r!==``&&(0,n.jsx)(`span`,{className:Ue.title,children:r}),t.map((e,t)=>(0,n.jsxs)(`div`,{className:Ue.row,children:[(0,n.jsx)(`span`,{className:Ue.dot,style:{background:e.color??e.payload?.fill??e.fill}}),(0,n.jsx)(`span`,{className:Ue.label,children:e.name}),(0,n.jsx)(`span`,{className:Ue.value,children:i?i(e.value,e.name):e.value})]},t))]}),Ge={chart:`_chart_1s6lv_2`,legend:`_legend_1s6lv_31`,legendItem:`_legendItem_1s6lv_41`,legendSwatch:`_legendSwatch_1s6lv_46`},Ke={sm:180,md:240,lg:320,xl:420},F=6,qe=e=>{if(e<=0)return 1;let t=10**Math.floor(Math.log10(e)),n=e/t;return(n<=1?1:n<=2?2:n<=5?5:10)*t},Je=({data:e,variant:i=`default`,size:a=`md`,seriesLabels:o=[`Value`,`Value 2`],className:s})=>{let[c,l]=t.default.useState(null),[u,d]=t.default.useState(null),f=t.default.useRef(null),p=Ve(f),m=p(`--color-chart-2`)??`#5b92dd`,h=p(`--color-chart-5`)??`#dca84f`,g=p(`--color-chart-1`)??`#ff4700`,_=[1,2,3,4,5,6].map(e=>p(`--color-chart-${e}`)??He[e-1]),v=p(`--color-border-subtle`)??`#e7e5e1`,y=p(`--color-fg-muted`)??`#78716a`,b=i===`multiple`||i===`stacked`,x=b&&e.some(e=>e.value2!==void 0),S=p(`--color-bg-canvas`)??`#fafaf9`,C=qe(Math.max(1,...e.map(e=>Math.abs(e.value)))),w=[-C,-C/2,0,C/2,C],T=(0,n.jsx)(r.Tooltip,{cursor:!1,content:(0,n.jsx)(We,{}),wrapperStyle:{zIndex:50},position:u?{y:u.y}:void 0}),E=t=>i===`active`?_[t%_.length]:i===`negative`&&e[t].value<0?g:m,D=e=>c!==null&&e!==c?.45:1,O=(e,t,n,r,i,a)=>({x:e?t+r:t+r/2,y:e?n+i/2:a<0?n+i:n}),k=t=>a=>{let{x:o,y:s,width:c,height:l,fill:u,radius:d}=a,f=Number(e[a.index]?.[t]??0),{x:p,y:h}=O(i===`horizontal`,o,s,c,l,f);return i===`stacked`&&t===`value`?(0,n.jsx)(r.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}):(0,n.jsxs)(`g`,{children:[(0,n.jsx)(r.Rectangle,{x:o,y:s,width:c,height:l,fill:u,radius:d}),(0,n.jsx)(`circle`,{cx:p,cy:h,r:4,fill:u,stroke:S,strokeWidth:1.5}),i===`stacked`&&t===`value2`&&(0,n.jsx)(`circle`,{cx:o+c/2,cy:s+l,r:4,fill:m,stroke:S,strokeWidth:1.5})]})},A=t=>(n,r)=>{l(r);let a=Number(e[r]?.[t]??0);d(O(i===`horizontal`,n.x,n.y,n.width,n.height,a))},j=()=>{l(null),d(null)};return(0,n.jsx)(`div`,{ref:f,className:[Ge.chart,s??``].filter(Boolean).join(` `),children:(0,n.jsx)(r.ResponsiveContainer,{width:`100%`,height:Ke[a],children:(0,n.jsxs)(r.BarChart,{data:e,layout:i===`horizontal`?`vertical`:`horizontal`,margin:{top:8,right:8,bottom:8,left:i===`horizontal`?8:0},children:[(0,n.jsx)(r.CartesianGrid,{strokeDasharray:`3 3`,stroke:v,horizontal:!0,vertical:i===`horizontal`}),i===`horizontal`?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.XAxis,{type:`number`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1}),(0,n.jsx)(r.YAxis,{type:`category`,dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,width:64})]}):(0,n.jsx)(r.XAxis,{dataKey:`label`,stroke:y,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),i===`negative`&&(0,n.jsx)(r.YAxis,{hide:!0,domain:[-C,C],ticks:w}),T,b&&(0,n.jsx)(r.Legend,{content:e=>(0,n.jsx)(`ul`,{className:Ge.legend,children:e.payload?.map(e=>(0,n.jsxs)(`li`,{className:Ge.legendItem,children:[(0,n.jsx)(`span`,{className:Ge.legendSwatch,style:{background:e.color}}),(0,n.jsx)(`span`,{style:{color:e.color},children:e.value})]},e.value))})}),b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.Bar,{dataKey:`value`,name:o[0]??`Value`,fill:m,stackId:i===`stacked`?`stack`:void 0,radius:i===`stacked`?[0,0,F,F]:[F,F,F,F],isAnimationActive:!1,activeBar:k(`value`),onMouseEnter:A(`value`),onMouseLeave:j,children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:m,fillOpacity:c!==null&&t!==c?.45:1},t))}),x&&(0,n.jsx)(r.Bar,{dataKey:`value2`,name:o[1]??`Value 2`,fill:h,stackId:i===`stacked`?`stack`:void 0,radius:i===`stacked`?[F,F,0,0]:[F,F,F,F],isAnimationActive:!1,activeBar:k(`value2`),onMouseEnter:A(`value2`),onMouseLeave:j,children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:h,fillOpacity:c!==null&&t!==c?.45:1},t))})]}):(0,n.jsx)(r.Bar,{dataKey:`value`,name:`Value`,fill:c===null?m:E(c),radius:[F,F,F,F],isAnimationActive:!1,activeBar:k(`value`),onMouseEnter:A(`value`),onMouseLeave:j,children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:E(t),fillOpacity:D(t)},t))})]})})})},Ye={badge:`_badge_a5a38_6`,"badge--neutral-subtle":`_badge--neutral-subtle_a5a38_20`,"badge--neutral-solid":`_badge--neutral-solid_a5a38_21`,"badge--accent-subtle":`_badge--accent-subtle_a5a38_24`,"badge--accent-solid":`_badge--accent-solid_a5a38_25`,"badge--success-subtle":`_badge--success-subtle_a5a38_28`,"badge--success-solid":`_badge--success-solid_a5a38_29`,"badge--warning-subtle":`_badge--warning-subtle_a5a38_32`,"badge--warning-solid":`_badge--warning-solid_a5a38_33`,"badge--danger-subtle":`_badge--danger-subtle_a5a38_36`,"badge--danger-solid":`_badge--danger-solid_a5a38_37`,"badge--info-subtle":`_badge--info-subtle_a5a38_40`,"badge--info-solid":`_badge--info-solid_a5a38_41`,badge__icon:`_badge__icon_a5a38_44`,badge__label:`_badge__label_a5a38_45`},I=({variant:e=`neutral`,emphasis:t=`subtle`,leftIcon:r,rightIcon:i,children:a,className:o})=>(0,n.jsxs)(`span`,{className:[Ye.badge,Ye[`badge--${e}-${t}`],o??``].filter(Boolean).join(` `),children:[r&&(0,n.jsx)(`span`,{className:Ye.badge__icon,"aria-hidden":`true`,children:r}),(0,n.jsx)(`span`,{className:Ye.badge__label,children:a}),i&&(0,n.jsx)(`span`,{className:Ye.badge__icon,"aria-hidden":`true`,children:i})]}),L={stepper:`_stepper_1w3rz_1`,stepBtn:`_stepBtn_1w3rz_10`,stepDivider:`_stepDivider_1w3rz_27`,stepValue:`_stepValue_1w3rz_39`,stepInput:`_stepInput_1w3rz_61`,stepInputResting:`_stepInputResting_1w3rz_75`,rollOverlay:`_rollOverlay_1w3rz_58`,rollOverlayHidden:`_rollOverlayHidden_1w3rz_92`,roll:`_roll_1w3rz_35`,rollNum:`_rollNum_1w3rz_35`,rollOutUp:`_rollOutUp_1w3rz_130`,"roll-out-up":`_roll-out-up_1w3rz_1`,rollInUp:`_rollInUp_1w3rz_131`,"roll-in-up":`_roll-in-up_1w3rz_1`,rollOutDown:`_rollOutDown_1w3rz_132`,"roll-out-down":`_roll-out-down_1w3rz_1`,rollInDown:`_rollInDown_1w3rz_133`,"roll-in-down":`_roll-in-down_1w3rz_1`},Xe=({value:e})=>{let r=t.default.useRef(e),[i,a]=t.default.useState(null);return e!==r.current&&(a({value:r.current,direction:e>r.current?`up`:`down`}),r.current=e),t.default.useEffect(()=>{if(!i)return;let e=setTimeout(()=>a(null),260);return()=>clearTimeout(e)},[i]),(0,n.jsxs)(`span`,{className:L.roll,children:[i&&(0,n.jsx)(`span`,{className:[L.rollNum,i.direction===`up`?L.rollOutUp:L.rollOutDown].join(` `),"aria-hidden":`true`,children:i.value},`out-${i.value}`),(0,n.jsx)(`span`,{className:[L.rollNum,i?i.direction===`up`?L.rollInUp:L.rollInDown:``].filter(Boolean).join(` `),onAnimationEnd:()=>a(null),children:e},`in-${e}`)]})},Ze=({quantity:r,onQuantityChange:i,min:o=1,max:s,label:c=`Quantity`,className:l})=>{let u=r>o,d=s===void 0||r<s,f=t.default.useRef(null),[p,m]=t.default.useState(!1),[h,g]=t.default.useState(String(r)),_=e=>{let t=e;return o!==void 0&&(t=Math.max(o,t)),s!==void 0&&(t=Math.min(s,t)),t};return(0,n.jsxs)(`div`,{className:[L.stepper,l??``].filter(Boolean).join(` `),role:`group`,"aria-label":c,children:[(0,n.jsx)(`button`,{type:`button`,className:L.stepBtn,disabled:!u,onClick:()=>i?.(Math.max(o,r-1)),"aria-label":`Decrease quantity`,children:(0,n.jsx)(e.E,{size:14,strokeWidth:a(14)})}),(0,n.jsx)(`span`,{className:L.stepDivider,"aria-hidden":`true`}),(0,n.jsxs)(`span`,{className:L.stepValue,children:[(0,n.jsx)(`input`,{ref:f,type:`text`,inputMode:`numeric`,size:Math.max((p?h:String(r)).length,1),className:[L.stepInput,p?``:L.stepInputResting].filter(Boolean).join(` `),value:p?h:String(r),"aria-label":c,onFocus:e=>{g(String(r)),m(!0),e.target.select()},onChange:e=>g(e.target.value.replace(/\D/g,``)),onBlur:()=>{m(!1);let e=Number.parseInt(h,10);if(!Number.isNaN(e)){let t=_(e);t!==r&&i?.(t)}},onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),f.current?.blur()),e.key===`Escape`&&(g(String(r)),f.current?.blur())}}),(0,n.jsx)(`span`,{className:[L.rollOverlay,p?L.rollOverlayHidden:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(Xe,{value:r})})]}),(0,n.jsx)(`span`,{className:L.stepDivider,"aria-hidden":`true`}),(0,n.jsx)(`button`,{type:`button`,className:L.stepBtn,disabled:!d,onClick:()=>i?.(s===void 0?r+1:Math.min(s,r+1)),"aria-label":`Increase quantity`,children:(0,n.jsx)(e.T,{size:14,strokeWidth:a(14)})})]})},Qe={item:`_item_15jww_1`,thumb:`_thumb_15jww_11`,info:`_info_15jww_19`,name:`_name_15jww_28`,variant:`_variant_15jww_40`,right:`_right_15jww_50`,price:`_price_15jww_58`,priceRow:`_priceRow_15jww_67`,priceOriginal:`_priceOriginal_15jww_75`,priceSale:`_priceSale_15jww_80`},$e=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),et=({image:t,imageAlt:r,name:i,variant:a,price:o,compareAtPrice:s,quantity:c,onQuantityChange:l,minQuantity:u=1,maxQuantity:d,onRemove:f,removeLabel:p=`Remove item`,formatPrice:m=$e,className:h})=>{let g=s!==void 0;return(0,n.jsxs)(`div`,{className:[Qe.item,h??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`img`,{src:t,alt:r??i,className:Qe.thumb}),(0,n.jsxs)(`div`,{className:Qe.info,children:[(0,n.jsx)(`p`,{className:Qe.name,children:i}),a&&(0,n.jsx)(`p`,{className:Qe.variant,children:a}),(0,n.jsx)(Ze,{quantity:c,onQuantityChange:l,min:u,max:d,label:`Quantity for ${i}`})]}),(0,n.jsxs)(`div`,{className:Qe.right,children:[g?(0,n.jsxs)(`div`,{className:Qe.priceRow,children:[(0,n.jsx)(`span`,{className:Qe.priceOriginal,children:m(s)}),(0,n.jsx)(`span`,{className:Qe.priceSale,children:m(o)})]}):(0,n.jsx)(`p`,{className:Qe.price,children:m(o)}),(0,n.jsx)(S,{icon:e.E,variant:`outline`,size:`sm`,"aria-label":p,onClick:f})]})]})},tt={steps:`_steps_t53um_1`,step:`_step_t53um_1`,connector:`_connector_t53um_16`,circle:`_circle_t53um_23`,circleCompleted:`_circleCompleted_t53um_34`,circleActive:`_circleActive_t53um_38`,circleUpcoming:`_circleUpcoming_t53um_43`,label:`_label_t53um_49`,labelActive:`_labelActive_t53um_56`,labelUpcoming:`_labelUpcoming_t53um_59`},nt=[`Cart`,`Shipping`,`Payment`,`Confirmation`],rt=({steps:r=nt,currentStep:i,className:o})=>(0,n.jsx)(`div`,{className:[tt.steps,o??``].filter(Boolean).join(` `),role:`list`,children:r.map((o,s)=>{let c=s<i?`completed`:s===i?`active`:`upcoming`,l=s===r.length-1;return(0,n.jsxs)(t.default.Fragment,{children:[(0,n.jsxs)(`div`,{className:tt.step,role:`listitem`,"aria-current":c===`active`?`step`:void 0,children:[(0,n.jsx)(`span`,{className:[tt.circle,c===`completed`?tt.circleCompleted:``,c===`active`?tt.circleActive:``,c===`upcoming`?tt.circleUpcoming:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(e.k,{size:14,strokeWidth:a(14)})}),(0,n.jsx)(`span`,{className:[tt.label,c===`active`?tt.labelActive:``,c===`upcoming`?tt.labelUpcoming:``].filter(Boolean).join(` `),children:o})]}),!l&&(0,n.jsx)(`span`,{className:tt.connector,"aria-hidden":`true`})]},o)})}),it=`#fafaf9`,at=`#141414`,ot=(e,t,n)=>{let r=e=>{let t=e/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4};return .2126*r(e)+.7152*r(t)+.0722*r(n)},st=(e,t)=>{let n=Math.max(e,t),r=Math.min(e,t);return(n+.05)/(r+.05)},ct=e=>{let t=e.trim().toLowerCase(),n=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);if(n){let e=n[1];return e.length<=4&&(e=e.split(``).map(e=>e+e).join(``)),[0,2,4].map(t=>parseInt(e.slice(t,t+2),16))}let r=/^rgba?\(\s*(\d+(?:\.\d+)?)[\s,]+(\d+(?:\.\d+)?)[\s,]+(\d+(?:\.\d+)?)/.exec(t);return r?[Number(r[1]),Number(r[2]),Number(r[3])]:null},lt=(e,t,n)=>{let r=ot(e,t,n),i=st(r,ot(20,20,20));return st(r,ot(250,250,249))>=i?it:at},ut=null,dt=e=>{let t=ct(e);if(t)return lt(...t);if(typeof document>`u`)return it;ut??=document.createElement(`canvas`),ut.width=1,ut.height=1;let n=ut.getContext(`2d`,{willReadFrequently:!0});if(!n)return it;n.clearRect(0,0,1,1),n.fillStyle=e,n.fillRect(0,0,1,1);let[r,i,a]=n.getImageData(0,0,1,1).data;return lt(r,i,a)},ft={swatch:`_swatch_1ykgu_1`,circle:`_circle_1ykgu_24`,circleUnavailable:`_circleUnavailable_1ykgu_34`,ring:`_ring_1ykgu_41`,check:`_check_1ykgu_57`,strike:`_strike_1ykgu_70`},pt=({color:r,label:i,selected:o=!1,available:s=!0,onSelect:c,className:l})=>{let u=t.default.useMemo(()=>dt(r),[r]);return(0,n.jsxs)(`button`,{type:`button`,className:[ft.swatch,l??``].filter(Boolean).join(` `),style:{"--swatch-color":r},disabled:!s,"aria-pressed":s?o:void 0,"aria-label":s?i:`${i} (out of stock)`,onClick:c,children:[o&&s&&(0,n.jsx)(`span`,{className:ft.ring,"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:[ft.circle,s?``:ft.circleUnavailable].filter(Boolean).join(` `),"aria-hidden":`true`}),o&&s&&(0,n.jsx)(e.k,{size:14,strokeWidth:a(14),className:ft.check,style:{color:u},"aria-hidden":`true`}),!s&&(0,n.jsx)(`span`,{className:ft.strike,style:{background:u},"aria-hidden":`true`})]})},mt={row:`_row_1r4ef_1`,original:`_original_1r4ef_8`,price:`_price_1r4ef_17`,priceSale:`_priceSale_1r4ef_24`},ht=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),gt=({price:e,compareAtPrice:t,showBadge:r=!1,formatPrice:i=ht,className:a})=>{let o=t!==void 0,s=o?Math.ceil((1-e/t)*100):0;return(0,n.jsxs)(`div`,{className:[mt.row,a??``].filter(Boolean).join(` `),children:[o&&(0,n.jsx)(`span`,{className:mt.original,children:i(t)}),(0,n.jsx)(`span`,{className:[mt.price,o?mt.priceSale:``].filter(Boolean).join(` `),children:i(e)}),o&&r&&(0,n.jsxs)(I,{variant:`danger`,emphasis:`solid`,children:[`Save `,s,`%`]})]})},_t={button:`_button_58k4v_1`,icon:`_icon_58k4v_24`,iconSaved:`_iconSaved_58k4v_27`,bounce:`_bounce_58k4v_40`,"wishlist-bounce":`_wishlist-bounce_58k4v_1`},vt=({saved:r=!1,onToggle:i,label:o=`item`,className:s})=>{let[c,l]=t.default.useState(!1);return(0,n.jsx)(`button`,{type:`button`,className:[_t.button,s??``].filter(Boolean).join(` `),"aria-pressed":r,"aria-label":r?`Remove ${o} from wishlist`:`Add ${o} to wishlist`,onClick:()=>{r||l(!0),i?.(!r)},children:(0,n.jsx)(e.C,{size:16,strokeWidth:a(16),className:[r?_t.iconSaved:_t.icon,c?_t.bounce:``].filter(Boolean).join(` `),fill:r?`currentColor`:`none`,onAnimationEnd:()=>l(!1)})})},R={card:`_card_r8iyr_1`,imageWrap:`_imageWrap_r8iyr_16`,image:`_image_r8iyr_16`,imageDimmed:`_imageDimmed_r8iyr_35`,saleBadge:`_saleBadge_r8iyr_39`,wishlistBtn:`_wishlistBtn_r8iyr_45`,outOfStockLabel:`_outOfStockLabel_r8iyr_51`,body:`_body_r8iyr_64`,rating:`_rating_r8iyr_75`,starFilled:`_starFilled_r8iyr_80`,starEmpty:`_starEmpty_r8iyr_81`,titleRow:`_titleRow_r8iyr_83`,name:`_name_r8iyr_90`,priceRow:`_priceRow_r8iyr_103`,priceOriginal:`_priceOriginal_r8iyr_109`,price:`_price_r8iyr_103`,description:`_description_r8iyr_125`,swatches:`_swatches_r8iyr_138`,addButton:`_addButton_r8iyr_146`},yt=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),bt=({image:t,imageAlt:r,name:i,description:o,price:s,compareAtPrice:c,rating:l,reviewCount:u,colors:d=[],onColorSelect:f,inStock:p=!0,wishlisted:m=!1,onWishlistToggle:h,onAddItem:g,addItemLabel:_=`Add Item`,formatPrice:v=yt,className:y})=>{let b=c!==void 0,x=b?Math.ceil((1-s/c)*100):0,S=l===void 0?0:Math.round(l);return(0,n.jsxs)(`div`,{className:[R.card,y??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:R.imageWrap,children:[(0,n.jsx)(`img`,{src:t,alt:r??i,className:[R.image,p?``:R.imageDimmed].filter(Boolean).join(` `)}),b&&p&&(0,n.jsxs)(I,{variant:`danger`,emphasis:`solid`,className:R.saleBadge,children:[`-`,x,`%`]}),p&&(0,n.jsx)(vt,{saved:m,label:i,className:R.wishlistBtn,onToggle:h}),!p&&(0,n.jsx)(`span`,{className:R.outOfStockLabel,children:`Out of stock`})]}),(0,n.jsxs)(`div`,{className:R.body,children:[l!==void 0&&(0,n.jsx)(`div`,{className:R.rating,role:`img`,"aria-label":`Rated ${l} out of 5${u?` (${u} reviews)`:``}`,children:Array.from({length:5}).map((t,r)=>(0,n.jsx)(e.w,{size:16,strokeWidth:a(16),className:r<S?R.starFilled:R.starEmpty,fill:r<S?`currentColor`:`none`},r))}),(0,n.jsxs)(`div`,{className:R.titleRow,children:[(0,n.jsx)(`p`,{className:R.name,children:i}),(0,n.jsxs)(`div`,{className:R.priceRow,children:[b&&(0,n.jsx)(`span`,{className:R.priceOriginal,children:v(c)}),(0,n.jsx)(`span`,{className:R.price,children:v(s)})]})]}),o&&(0,n.jsx)(`p`,{className:R.description,children:o}),d.length>0&&(0,n.jsx)(`div`,{className:R.swatches,role:`group`,"aria-label":`Color`,children:d.map(e=>(0,n.jsx)(pt,{...e,onSelect:()=>f?.(e.id??e.label)},e.id??e.label))}),(0,n.jsx)(w,{variant:`primary`,size:`md`,disabled:!p,className:R.addButton,onClick:g,children:p?_:`Out of stock`})]})]})},z={gallery:`_gallery_1mrk8_1`,galleryBottom:`_galleryBottom_1mrk8_5`,galleryLeft:`_galleryLeft_1mrk8_10`,mainImage:`_mainImage_1mrk8_16`,mainBottom:`_mainBottom_1mrk8_23`,mainLeft:`_mainLeft_1mrk8_31`,thumbs:`_thumbs_1mrk8_41`,thumbsBottom:`_thumbsBottom_1mrk8_45`,thumbsLeft:`_thumbsLeft_1mrk8_50`,thumb:`_thumb_1mrk8_41`,thumbBottom:`_thumbBottom_1mrk8_65`,thumbLeft:`_thumbLeft_1mrk8_70`,thumbActive:`_thumbActive_1mrk8_75`,thumbImage:`_thumbImage_1mrk8_79`},xt=({images:e,thumbsPosition:r=`bottom`,activeIndex:i,defaultActiveIndex:a=0,onActiveIndexChange:o,className:s})=>{let c=i!==void 0,[l,u]=t.default.useState(a),d=c?i:l,f=e=>{c||u(e),o?.(e)},p=e[d]??e[0],m=r===`left`,h=(0,n.jsx)(`div`,{className:[z.thumbs,m?z.thumbsLeft:z.thumbsBottom].filter(Boolean).join(` `),role:`tablist`,"aria-label":`Product images`,children:e.map((e,t)=>(0,n.jsx)(`button`,{type:`button`,role:`tab`,"aria-selected":t===d,"aria-label":e.alt??`Image ${t+1}`,className:[z.thumb,m?z.thumbLeft:z.thumbBottom,t===d?z.thumbActive:``].filter(Boolean).join(` `),onClick:()=>f(t),children:(0,n.jsx)(`img`,{src:e.src,alt:``,className:z.thumbImage})},e.src+t))});return(0,n.jsxs)(`div`,{className:[z.gallery,m?z.galleryLeft:z.galleryBottom,s??``].filter(Boolean).join(` `),children:[!m&&p&&(0,n.jsx)(`div`,{className:z.mainBottom,children:(0,n.jsx)(`img`,{src:p.src,alt:p.alt??``,className:z.mainImage})}),h,m&&p&&(0,n.jsx)(`div`,{className:z.mainLeft,children:(0,n.jsx)(`img`,{src:p.src,alt:p.alt??``,className:z.mainImage})})]})},St={button:`_button_1vgn5_1`,unselected:`_unselected_1vgn5_23`,selected:`_selected_1vgn5_32`,unavailable:`_unavailable_1vgn5_37`,label:`_label_1vgn5_44`,strike:`_strike_1vgn5_55`},Ct=({size:e,selected:t=!1,available:r=!0,onSelect:i,className:a})=>(0,n.jsxs)(`button`,{type:`button`,className:[St.button,r?t?St.selected:St.unselected:St.unavailable,a??``].filter(Boolean).join(` `),disabled:!r,"aria-pressed":r?t:void 0,"aria-label":r?`Size ${e}`:`Size ${e} (out of stock)`,onClick:i,children:[(0,n.jsx)(`span`,{className:St.label,children:e}),!r&&(0,n.jsx)(`span`,{className:St.strike,"aria-hidden":`true`})]}),wt={row:`_row_1snsi_1`,rowVertical:`_rowVertical_1snsi_8`,stars:`_stars_1snsi_13`,starFull:`_starFull_1snsi_19`,starEmpty:`_starEmpty_1snsi_24`,label:`_label_1snsi_29`,value:`_value_1snsi_38`,count:`_count_1snsi_43`},Tt=e=>e.toLocaleString(`en-US`),Et=({rating:t,reviewCount:r,showLabel:i=!0,orientation:o=`horizontal`,formatReviewCount:s=Tt,className:c})=>{let l=Math.max(0,Math.min(5,t)),u=Math.round(l*2)/2,d=Math.floor(u),f=u-d===.5,p=5-d-!!f,m=(0,n.jsxs)(`div`,{className:wt.stars,role:`img`,"aria-label":`${l} out of 5 stars`,children:[Array.from({length:d},(t,r)=>(0,n.jsx)(e.w,{size:24,strokeWidth:a(24),className:wt.starFull,fill:`currentColor`,"aria-hidden":`true`},`full-${r}`)),f&&(0,n.jsx)(e.S,{size:24,strokeWidth:a(24),className:wt.starFull,fill:`currentColor`,"aria-hidden":`true`}),Array.from({length:p},(t,r)=>(0,n.jsx)(e.w,{size:24,strokeWidth:a(24),className:wt.starEmpty,"aria-hidden":`true`},`empty-${r}`))]}),h=i&&(0,n.jsxs)(`div`,{className:wt.label,children:[(0,n.jsx)(`span`,{className:wt.value,children:l.toFixed(1)}),r!==void 0&&(0,n.jsxs)(`span`,{className:wt.count,children:[`(`,s(r),` reviews)`]})]}),g=[wt.row,o===`vertical`?wt.rowVertical:``,c??``].filter(Boolean).join(` `);return o===`horizontal-reverse`?(0,n.jsxs)(`div`,{className:g,children:[h,m]}):(0,n.jsxs)(`div`,{className:g,children:[m,h]})},Dt=({quantity:e,lowStockThreshold:t=5,label:r,className:i})=>{let a=e<=0,o=!a&&e<=t,s=a?`danger`:o?`warning`:`success`,c=a?`Out of stock`:o?`Only ${e} left`:`In stock`;return(0,n.jsx)(I,{variant:s,emphasis:`subtle`,className:i,children:r??c})},B={card:`_card_1w9hp_1`,cardDefault:`_cardDefault_1w9hp_8`,imageDefault:`_imageDefault_1w9hp_19`,bodyDefault:`_bodyDefault_1w9hp_27`,cardHorizontal:`_cardHorizontal_1w9hp_53`,imageWrapHorizontal:`_imageWrapHorizontal_1w9hp_61`,image:`_image_1w9hp_19`,bodyHorizontal:`_bodyHorizontal_1w9hp_77`,metaRow:`_metaRow_1w9hp_89`,readTime:`_readTime_1w9hp_96`,title:`_title_1w9hp_105`,excerpt:`_excerpt_1w9hp_114`,author:`_author_1w9hp_123`,authorText:`_authorText_1w9hp_130`},Ot=({image:e,imageAlt:t,category:r,readTime:i,title:a,excerpt:o,author:s,layout:c=`default`,className:l})=>{let u=c===`horizontal`;return(0,n.jsxs)(`div`,{className:[B.card,u?B.cardHorizontal:B.cardDefault,l??``].filter(Boolean).join(` `),children:[u?(0,n.jsx)(`span`,{className:B.imageWrapHorizontal,children:(0,n.jsx)(`img`,{src:e,alt:t??``,className:B.image})}):(0,n.jsx)(`img`,{src:e,alt:t??``,className:B.imageDefault}),(0,n.jsxs)(`div`,{className:u?B.bodyHorizontal:B.bodyDefault,children:[(0,n.jsxs)(`div`,{className:B.metaRow,children:[(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:r}),(0,n.jsx)(`span`,{className:B.readTime,children:i})]}),(0,n.jsx)(`p`,{className:B.title,children:a}),(0,n.jsx)(`p`,{className:B.excerpt,children:o}),(0,n.jsxs)(`div`,{className:B.author,children:[(0,n.jsx)(f,{size:`sm`,src:s.avatarSrc,alt:s.avatarAlt??s.name}),(0,n.jsxs)(`p`,{className:B.authorText,children:[s.name,` · `,s.date]})]})]})]})},V={frame:`_frame_a9ah9_4`,frameHorizontal:`_frameHorizontal_a9ah9_5`,frameVertical:`_frameVertical_a9ah9_6`,card:`_card_a9ah9_8`,cardHorizontal:`_cardHorizontal_a9ah9_19`,cardVertical:`_cardVertical_a9ah9_26`,image:`_image_a9ah9_37`,bodyHorizontal:`_bodyHorizontal_a9ah9_48`,bodyVertical:`_bodyVertical_a9ah9_61`,title:`_title_a9ah9_72`,excerpt:`_excerpt_a9ah9_82`,footer:`_footer_a9ah9_91`,author:`_author_a9ah9_99`,authorText:`_authorText_a9ah9_106`},kt=({image:e,imageAlt:t,badgeLabel:r=`Featured`,title:i,excerpt:a,author:o,ctaLabel:s=`Read article`,onCtaClick:c,orientation:l=`horizontal`,className:u})=>{let d=l===`vertical`;return(0,n.jsx)(`div`,{className:[V.frame,d?V.frameVertical:V.frameHorizontal,u??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`div`,{className:[V.card,d?V.cardVertical:V.cardHorizontal].join(` `),children:[(0,n.jsx)(`img`,{src:e,alt:t??``,className:V.image}),(0,n.jsxs)(`div`,{className:d?V.bodyVertical:V.bodyHorizontal,children:[(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:r}),(0,n.jsx)(`p`,{className:V.title,children:i}),(0,n.jsx)(`p`,{className:V.excerpt,children:a}),(0,n.jsxs)(`div`,{className:V.footer,children:[(0,n.jsxs)(`div`,{className:V.author,children:[(0,n.jsx)(f,{size:`md`,src:o.avatarSrc,alt:o.avatarAlt??o.name,initials:o.initials}),(0,n.jsxs)(`p`,{className:V.authorText,children:[o.name,` · `,o.date]})]}),(0,n.jsx)(w,{variant:`secondary`,size:`sm`,onClick:c,children:s})]})]})]})})},At={chip:`_chip_scl8l_1`,"chip--sm":`_chip--sm_scl8l_11`,"chip--md":`_chip--md_scl8l_17`,"chip--lg":`_chip--lg_scl8l_23`,"chip--light":`_chip--light_scl8l_31`,"chip--outline":`_chip--outline_scl8l_35`,"chip--solid":`_chip--solid_scl8l_39`,"chip--subtle":`_chip--subtle_scl8l_43`},jt={sm:16,md:20,lg:24},Mt=({icon:e,size:r=`md`,variant:i=`light`,className:o})=>{let s=jt[r],c=t.default.isValidElement(e)?t.default.cloneElement(e,{size:s,strokeWidth:a(s)}):e;return(0,n.jsx)(`div`,{className:[At.chip,At[`chip--${r}`],At[`chip--${i}`],o??``].filter(Boolean).join(` `),"aria-hidden":`true`,children:c})},Nt={group:`_group_mvlh4_3`,group__item:`_group__item_mvlh4_6`,"group--sm":`_group--sm_mvlh4_9`,"group--lg":`_group--lg_mvlh4_10`,"group--xl":`_group--xl_mvlh4_11`,overflow:`_overflow_mvlh4_14`,"overflow--sm":`_overflow--sm_mvlh4_25`,"overflow--md":`_overflow--md_mvlh4_26`,"overflow--lg":`_overflow--lg_mvlh4_27`,"overflow--xl":`_overflow--xl_mvlh4_28`},Pt=({size:e=`md`,max:t=4,avatars:r,className:i})=>{let a=r.slice(0,t),o=r.length-a.length;return(0,n.jsxs)(`div`,{className:[Nt.group,Nt[`group--${e}`],i??``].filter(Boolean).join(` `),children:[a.map((t,r)=>(0,n.jsx)(`span`,{className:Nt.group__item,children:(0,n.jsx)(f,{size:e,src:t.src,initials:t.initials,alt:t.alt})},r)),o>0&&(0,n.jsx)(`span`,{className:Nt.group__item,children:(0,n.jsxs)(`span`,{className:[Nt.overflow,Nt[`overflow--${e}`]].join(` `),children:[`+`,o]})})]})},Ft={root:`_root_165je_1`,dot:`_dot_165je_13`,dotActive:`_dotActive_165je_21`,dotRemote:`_dotRemote_165je_25`},It=({location:e,status:t=`active`,className:r})=>(0,n.jsxs)(`span`,{className:[Ft.root,r??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:[Ft.dot,t===`active`?Ft.dotActive:Ft.dotRemote].join(` `),"aria-hidden":`true`}),e]}),H={root:`_root_15jaa_1`,rootCard:`_rootCard_15jaa_9`,rootRow:`_rootRow_15jaa_21`,rowLeft:`_rowLeft_15jaa_27`,titleGroup:`_titleGroup_15jaa_36`,title:`_title_15jaa_36`,description:`_description_15jaa_56`,metaRow:`_metaRow_15jaa_65`,applyBtn:`_applyBtn_15jaa_72`},Lt=({title:e,description:t,department:r,employmentType:i,location:a,locationStatus:o=`remote`,onApply:s,applyLabel:c=`Apply now`,layout:l=`card`,className:u})=>{let d=l===`row`,f=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(`div`,{className:H.titleGroup,children:[(0,n.jsx)(`p`,{className:H.title,children:e}),(0,n.jsx)(`p`,{className:H.description,children:t})]}),(0,n.jsxs)(`div`,{className:H.metaRow,children:[(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:r}),(0,n.jsx)(I,{variant:`neutral`,emphasis:`subtle`,children:i}),(0,n.jsx)(It,{location:a,status:o})]})]});return d?(0,n.jsxs)(`div`,{className:[H.root,H.rootRow,u??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`div`,{className:H.rowLeft,children:f}),(0,n.jsx)(w,{variant:`secondary`,size:`sm`,className:H.applyBtn,onClick:s,children:c})]}):(0,n.jsxs)(`div`,{className:[H.root,H.rootCard,u??``].filter(Boolean).join(` `),children:[f,(0,n.jsx)(w,{variant:`secondary`,size:`sm`,onClick:s,children:c})]})},Rt={root:`_root_3bf2n_1`,rootCenter:`_rootCenter_3bf2n_9`,rootLeft:`_rootLeft_3bf2n_14`,title:`_title_3bf2n_19`,subtitle:`_subtitle_3bf2n_28`},zt=({eyebrow:e,title:t,subtitle:r,align:i=`center`,titleAs:a=`h2`,className:o})=>(0,n.jsxs)(`div`,{className:[Rt.root,i===`left`?Rt.rootLeft:Rt.rootCenter,o??``].filter(Boolean).join(` `),children:[e&&(0,n.jsx)(I,{variant:`accent`,emphasis:`subtle`,children:e}),(0,n.jsx)(a,{className:Rt.title,children:t}),r&&(0,n.jsx)(`p`,{className:Rt.subtitle,children:r})]}),U={card:`_card_mouc6_1`,imageWrap:`_imageWrap_mouc6_19`,image:`_image_mouc6_19`,locationBar:`_locationBar_mouc6_39`,locationDot:`_locationDot_mouc6_59`,info:`_info_mouc6_66`,metaRow:`_metaRow_mouc6_77`,identity:`_identity_mouc6_85`,name:`_name_mouc6_93`,role:`_role_mouc6_102`,social:`_social_mouc6_111`,bio:`_bio_mouc6_119`},Bt=({image:e,imageAlt:t,name:r,role:i,location:a,locationStatus:o=`active`,bio:s,socialLinks:c=[],className:l})=>(0,n.jsxs)(`div`,{className:[U.card,l??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:U.imageWrap,children:[(0,n.jsx)(`img`,{src:e,alt:t??r,className:U.image}),(0,n.jsx)(`div`,{className:U.locationBar,children:(0,n.jsx)(It,{location:a,status:o,className:U.locationDot})})]}),(0,n.jsxs)(`div`,{className:U.info,children:[(0,n.jsxs)(`div`,{className:U.metaRow,children:[(0,n.jsxs)(`div`,{className:U.identity,children:[(0,n.jsx)(`p`,{className:U.name,children:r}),(0,n.jsx)(`p`,{className:U.role,children:i})]}),c.length>0&&(0,n.jsx)(`div`,{className:U.social,children:c.map((e,t)=>(0,n.jsx)(`a`,{href:e.href,onClick:e.onClick,"aria-label":e.label,children:(0,n.jsx)(Mt,{icon:e.icon,size:`sm`,variant:`subtle`})},e.label??t))})]}),s&&(0,n.jsx)(`p`,{className:U.bio,children:s})]})]}),Vt={alert:`_alert_1hjs5_3`,alert__icon:`_alert__icon_1hjs5_12`,alert__content:`_alert__content_1hjs5_13`,alert__title:`_alert__title_1hjs5_14`,alert__description:`_alert__description_1hjs5_15`,"alert--info":`_alert--info_1hjs5_18`,"alert--success":`_alert--success_1hjs5_21`,"alert--warning":`_alert--warning_1hjs5_24`,"alert--danger":`_alert--danger_1hjs5_27`,"alert--neutral":`_alert--neutral_1hjs5_30`},Ht={info:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,n.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]}),success:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,n.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),warning:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`path`,{d:`M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`}),(0,n.jsx)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`}),(0,n.jsx)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`})]}),danger:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,n.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),neutral:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,n.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,n.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},Ut=({color:e=`info`,title:t,description:r,icon:i,className:o})=>(0,n.jsxs)(`div`,{role:`alert`,className:[Vt.alert,Vt[`alert--${e}`],o??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:Vt.alert__icon,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:i??Ht[e]})}),(0,n.jsxs)(`div`,{className:Vt.alert__content,children:[t&&(0,n.jsx)(`div`,{className:Vt.alert__title,children:t}),r&&(0,n.jsx)(`div`,{className:Vt.alert__description,children:r})]})]}),W={card:`_card_6iftf_2`,"card--hover":`_card--hover_6iftf_15`,"card--selected":`_card--selected_6iftf_16`,"card--dragging":`_card--dragging_6iftf_17`,"card--done":`_card--done_6iftf_18`,card__cover:`_card__cover_6iftf_20`,card__header:`_card__header_6iftf_26`,card__leading:`_card__leading_6iftf_27`,card__title:`_card__title_6iftf_28`,card__trailing:`_card__trailing_6iftf_37`,card__desc:`_card__desc_6iftf_38`,card__tags:`_card__tags_6iftf_45`,card__divider:`_card__divider_6iftf_46`,card__footer:`_card__footer_6iftf_47`,card__meta:`_card__meta_6iftf_48`,card__assignees:`_card__assignees_6iftf_49`},Wt=({type:e=`default`,state:t=`default`,cover:r,leading:i,title:a,trailing:o,description:s,tags:c,meta:l,assignees:u,onClick:d,className:f})=>{let p=e!==`compact`,m=l||u;return(0,n.jsxs)(`div`,{onClick:d,"aria-selected":t===`selected`||void 0,className:[W.card,W[`card--${e}`],W[`card--${t}`],f??``].filter(Boolean).join(` `),children:[e===`cover`&&(0,n.jsx)(`div`,{className:W.card__cover,children:r}),(0,n.jsxs)(`div`,{className:W.card__header,children:[i&&(0,n.jsx)(`span`,{className:W.card__leading,children:i}),(0,n.jsx)(`span`,{className:W.card__title,children:a}),o&&(0,n.jsx)(`span`,{className:W.card__trailing,children:o})]}),p&&s&&(0,n.jsx)(`p`,{className:W.card__desc,children:s}),p&&c&&(0,n.jsx)(`div`,{className:W.card__tags,children:c}),m&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`div`,{className:W.card__divider}),(0,n.jsxs)(`div`,{className:W.card__footer,children:[l&&(0,n.jsx)(`div`,{className:W.card__meta,children:l}),u&&(0,n.jsx)(`div`,{className:W.card__assignees,children:u})]})]})]})},Gt={breadcrumb:`_breadcrumb_tszff_3`,list:`_list_tszff_5`,item:`_item_tszff_15`,crumb:`_crumb_tszff_17`,current:`_current_tszff_26`,separator:`_separator_tszff_33`,"list--button":`_list--button_tszff_38`,chip:`_chip_tszff_41`},Kt={highlight:`_highlight_1bp09_15`,visible:`_visible_1bp09_24`,glide:`_glide_1bp09_28`},qt=e=>e.getAttribute(`data-hover-item`)===`off`||e.getAttribute(`aria-disabled`)===`true`||e.disabled===!0;function Jt(e,t){let n=0,r=0,i=e;for(;i&&i!==t;){n+=i.offsetLeft,r+=i.offsetTop;let e=i.offsetParent;if(!e)break;e!==t&&(n+=e.clientLeft,r+=e.clientTop),i=e}for(let i=e.parentElement;i&&i!==t;i=i.parentElement)n-=i.scrollLeft,r-=i.scrollTop;let a=getComputedStyle(e);return{x:n,y:r,w:e.offsetWidth,h:e.offsetHeight,radius:a.borderRadius,tone:a.getPropertyValue(`--hover-tone`).trim()}}function Yt(){let e=t.default.useRef(null),[r,i]=t.default.useState(null),a=t.default.useCallback(t=>{e.current=t,i(t)},[]),o=t.default.useRef(null),s=t.default.useRef(!1),c=t.default.useRef(null),l=t.default.useRef(!1),u=t.default.useRef(null),[d,f]=t.default.useState(null),[p,m]=t.default.useState(!1),[h,g]=t.default.useState(!1),_=t.default.useCallback(()=>{s.current=!1,o.current=null,l.current=!1,m(!1)},[]),v=t.default.useCallback(t=>{let n=e.current;if(!n)return;n!==u.current&&(u.current=n,s.current=!1),o.current=t;let r=Jt(t,n);if(s.current){f(r);return}s.current=!0,l.current=!0,g(!1),f(r),m(!0)},[]);t.default.useLayoutEffect(()=>{!l.current||h||!p||(l.current=!1,c.current&&getComputedStyle(c.current).transform,g(!0))},[d,p,h]);let y=t.default.useCallback(t=>{let n=e.current;if(!n)return;let r=t.target.closest(`[data-hover-item]`);if(!(!r||r.closest(`[data-hover-group]`)!==n)){if(qt(r)){_();return}r!==o.current&&v(r)}},[_,v]);t.default.useEffect(()=>{let e=r;if(!e)return;let t=()=>{let t=o.current;if(!(!t||!s.current)){if(!e.contains(t)){_();return}f(Jt(t,e))}},n=new ResizeObserver(t);return n.observe(e),e.addEventListener(`scroll`,t,!0),()=>{n.disconnect(),e.removeEventListener(`scroll`,t,!0)}},[r,_]);let b=(0,n.jsx)(`span`,{ref:c,"aria-hidden":`true`,className:[Kt.highlight,p?Kt.visible:``,h?Kt.glide:``].filter(Boolean).join(` `),style:d?{transform:`translate(${d.x}px, ${d.y}px)`,width:d.w,height:d.h,borderRadius:d.radius,background:d.tone||void 0}:void 0}),x=t.default.useCallback(e=>{e&&!qt(e)?v(e):_()},[_,v]);return{ref:a,groupProps:{"data-hover-group":``,onMouseOver:y,onMouseLeave:_},highlight:b,showItem:x}}var Xt=({children:e,style:t,...r})=>{let{ref:i,groupProps:a,highlight:o}=Yt();return(0,n.jsxs)(`div`,{ref:i,...r,...a,style:{position:`relative`,...t},children:[o,e]})},Zt=({size:e})=>(0,n.jsx)(`span`,{className:Gt.separator,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(e),strokeLinecap:`round`,strokeLinejoin:`round`,width:e,height:e,children:(0,n.jsx)(`path`,{d:`m9 18 6-6-6-6`})})}),Qt=({items:e,variant:t=`text`,className:r})=>{let i=t===`button`,a=Yt();return(0,n.jsx)(`nav`,{"aria-label":`Breadcrumb`,className:[Gt.breadcrumb,r??``].filter(Boolean).join(` `),children:(0,n.jsxs)(`ol`,{ref:a.ref,...i?a.groupProps:{},className:[Gt.list,i?Gt[`list--button`]:``].filter(Boolean).join(` `),children:[i&&(0,n.jsx)(`li`,{"aria-hidden":`true`,style:{display:`contents`},children:a.highlight}),e.map((t,r)=>{let a=r===e.length-1,o=i?Gt.chip:a?Gt.current:Gt.crumb;return(0,n.jsxs)(`li`,{className:Gt.item,children:[a||!t.href?(0,n.jsx)(`span`,{className:o,"data-hover-item":i?`off`:void 0,"aria-current":a?`page`:void 0,children:t.label}):(0,n.jsx)(`a`,{href:t.href,"data-hover-item":``,className:o,children:t.label}),!a&&(0,n.jsx)(Zt,{size:i?14:16})]},r)})]})})},$t={meta:`_meta_g1mpv_2`,meta__icon:`_meta__icon_g1mpv_3`,meta__label:`_meta__label_g1mpv_4`},en=({icon:e,children:t,className:r})=>(0,n.jsxs)(`span`,{className:[$t.meta,r??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:$t.meta__icon,"aria-hidden":`true`,children:e}),(0,n.jsx)(`span`,{className:$t.meta__label,children:t})]}),tn={composer:`_composer_1dwtx_2`,"composer--typing":`_composer--typing_1dwtx_15`,input:`_input_1dwtx_22`,"composer--disabled":`_composer--disabled_1dwtx_23`,upload:`_upload_1dwtx_25`,upload__icon:`_upload__icon_1dwtx_30`,upload__body:`_upload__body_1dwtx_31`,upload__name:`_upload__name_1dwtx_32`,upload__track:`_upload__track_1dwtx_33`,upload__fill:`_upload__fill_1dwtx_34`,row:`_row_1dwtx_36`,icon:`_icon_1dwtx_37`,send:`_send_1dwtx_52`},nn=({state:r=`default`,value:o,placeholder:s=`Message...`,onChange:c,onSend:l,onAttachmentsChange:u,uploadName:d,uploadProgress:f=0,onCancelUpload:p,className:m})=>{let h=r===`disabled`,[g,_]=t.default.useState(``),[v,y]=t.default.useState(!1),[b,x]=t.default.useState({top:0,right:0}),[C,w]=t.default.useState([]),T=t.default.useRef(null),E=t.default.useRef(null),D=t.default.useRef(null),O=t.default.useRef(null),k=o===void 0?g:o,A=!h&&(k.trim().length>0||r===`typing`||C.length>0),j=()=>{E.current?.click()},ee=e=>{let t=e.target.files;t&&(Array.from(t).forEach(e=>{if(e.type.startsWith(`image/`)||e.type.startsWith(`video/`)){let t=new FileReader;t.onload=t=>{let n=t.target?.result;w(t=>[...t,{name:e.name,type:e.type,dataUrl:n}])},t.readAsDataURL(e)}}),e.target.value=``)},te=e=>{w(t=>t.filter((t,n)=>n!==e))},ne=()=>{if(!v&&T.current){let e=T.current.getBoundingClientRect();x({top:e.top-104-4,right:20})}y(!v)},re=e=>{if(T.current){let t=T.current.selectionStart||k.length,n=k.slice(0,t)+e+k.slice(t);_(n),c?.(n),T.current.focus(),T.current.setSelectionRange(t+e.length,t+e.length)}y(!1)};return t.default.useEffect(()=>{let e=e=>{O.current&&!O.current.contains(e.target)&&D.current&&!D.current.contains(e.target)&&y(!1)};return v&&document.addEventListener(`mousedown`,e),()=>{document.removeEventListener(`mousedown`,e)}},[v]),t.default.useEffect(()=>{u?.(C)},[C,u]),(0,n.jsxs)(`div`,{className:[tn.composer,tn[`composer--${r}`],m??``].filter(Boolean).join(` `),children:[r===`uploading`&&(0,n.jsxs)(`div`,{className:tn.upload,children:[(0,n.jsx)(e.p,{size:16,strokeWidth:a(16),className:tn.upload__icon,"aria-hidden":`true`}),(0,n.jsxs)(`div`,{className:tn.upload__body,children:[(0,n.jsx)(`span`,{className:tn.upload__name,children:d}),(0,n.jsx)(`div`,{className:tn.upload__track,children:(0,n.jsx)(`div`,{className:tn.upload__fill,style:{width:`${f}%`}})})]}),(0,n.jsx)(S,{icon:e.F,variant:`ghost`,size:`md`,onClick:p,"aria-label":`Cancel upload`})]}),C.length>0&&(0,n.jsx)(`div`,{style:{display:`flex`,flexWrap:`wrap`,gap:`8px`,padding:`8px`,backgroundColor:`var(--color-bg-subtle)`,borderRadius:`8px`},children:C.map((t,r)=>(0,n.jsxs)(`div`,{style:{position:`relative`,display:`inline-flex`,alignItems:`center`,justifyContent:`center`,width:`80px`,height:`80px`,borderRadius:`8px`,overflow:`hidden`,backgroundColor:`var(--color-bg-muted)`,border:`1px solid var(--color-border-default)`},children:[t.type.startsWith(`image/`)?(0,n.jsx)(`img`,{src:t.dataUrl,alt:t.name,style:{width:`100%`,height:`100%`,objectFit:`cover`}}):(0,n.jsxs)(`div`,{style:{textAlign:`center`,padding:`8px`},children:[(0,n.jsx)(e.p,{size:24,strokeWidth:1.5}),(0,n.jsx)(`div`,{style:{fontSize:`10px`,marginTop:`4px`,color:`var(--color-fg-muted)`},children:t.name.split(`.`).pop()?.toUpperCase()})]}),(0,n.jsx)(`button`,{type:`button`,onClick:()=>te(r),style:{position:`absolute`,top:`-8px`,right:`-8px`,width:`24px`,height:`24px`,borderRadius:`50%`,background:`var(--color-accent-default)`,border:`none`,color:`white`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:`16px`,lineHeight:`1`},"aria-label":`Remove file`,children:`x`})]},r))}),(0,n.jsx)(`input`,{ref:E,type:`file`,multiple:!0,accept:`image/*,video/*`,onChange:ee,style:{display:`none`}}),(0,n.jsxs)(`div`,{className:tn.row,children:[(0,n.jsx)(S,{icon:e.g,variant:`ghost`,size:`sm`,onClick:j,disabled:h,"aria-label":`Attach file`}),(0,n.jsx)(`input`,{ref:T,type:`text`,className:tn.input,value:k,placeholder:h?`You can't reply to this conversation`:s,disabled:h,onChange:e=>{o===void 0&&_(e.target.value),c?.(e.target.value)},onKeyDown:e=>{e.key===`Enter`&&A&&(e.preventDefault(),l?.())}}),(0,n.jsx)(S,{ref:D,icon:e.h,variant:`ghost`,size:`sm`,onClick:ne,disabled:h,"aria-label":`Add emoji`}),v&&!h&&i.default.createPortal((0,n.jsx)(`div`,{ref:O,style:{position:`fixed`,top:`${b.top}px`,right:`${b.right}px`,zIndex:1e4,boxShadow:`0 4px 20px rgba(0, 0, 0, 0.15)`,borderRadius:`8px`,backgroundColor:`var(--color-bg-surface)`,border:`1px solid var(--color-border-default)`,padding:`12px`,display:`grid`,gridTemplateColumns:`repeat(8, 1fr)`,gap:`4px`,width:`280px`},children:[`😀`,`😂`,`❤️`,`👍`,`🎉`,`✨`,`😍`,`🤔`,`👏`,`🚀`,`🔥`,`💯`,`😢`,`😱`,`🤗`,`😎`].map(e=>(0,n.jsx)(`button`,{onClick:()=>re(e),style:{background:`none`,border:`none`,fontSize:`24px`,cursor:`pointer`,padding:`4px`,borderRadius:`4px`,transition:`background-color 0.2s`},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=`var(--color-bg-subtle)`},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=`transparent`},children:e},e))}),document.body),(0,n.jsx)(S,{icon:e.m,variant:`primary`,size:`sm`,onClick:l,disabled:!A,"aria-label":`Send message`})]})]})},rn={wrapper:`_wrapper_1nmcn_3`,"wrapper--disabled":`_wrapper--disabled_1nmcn_11`,input:`_input_1nmcn_14`,box:`_box_1nmcn_21`,check:`_check_1nmcn_42`,dash:`_dash_1nmcn_53`,text:`_text_1nmcn_71`,text__label:`_text__label_1nmcn_72`,text__description:`_text__description_1nmcn_73`,checkbox:`_checkbox_1nmcn_77`,"wrapper--withDescription":`_wrapper--withDescription_1nmcn_81`},an=t.default.forwardRef(({label:e,description:r,indeterminate:i,disabled:a,id:o,className:s,...c},l)=>{let u=t.default.useId(),d=o??u,f=t.default.useRef(null);return t.default.useImperativeHandle(l,()=>f.current),t.default.useEffect(()=>{f.current&&(f.current.indeterminate=!!i)},[i]),(0,n.jsxs)(`label`,{htmlFor:d,className:[rn.wrapper,r?rn[`wrapper--withDescription`]:``,a?rn[`wrapper--disabled`]:``,s??``].filter(Boolean).join(` `),children:[(0,n.jsx)(`input`,{ref:f,id:d,type:`checkbox`,disabled:a,className:rn.input,...c}),(0,n.jsxs)(`span`,{className:rn.box,"aria-hidden":`true`,children:[(0,n.jsx)(`svg`,{className:rn.check,width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:3,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`polyline`,{points:`20 6 9 17 4 12`})}),(0,n.jsx)(`span`,{className:rn.dash})]}),(e||r)&&(0,n.jsxs)(`span`,{className:rn.text,children:[e&&(0,n.jsx)(`span`,{className:rn.text__label,children:e}),r&&(0,n.jsx)(`span`,{className:rn.text__description,children:r})]})]})});an.displayName=`Checkbox`;var G={item:`_item_1bf0e_2`,"item--hover":`_item--hover_1bf0e_12`,"item--active":`_item--active_1bf0e_13`,item__avatar:`_item__avatar_1bf0e_16`,item__presence:`_item__presence_1bf0e_17`,item__body:`_item__body_1bf0e_22`,item__row:`_item__row_1bf0e_23`,item__name:`_item__name_1bf0e_24`,"item--unread":`_item--unread_1bf0e_28`,item__mute:`_item__mute_1bf0e_29`,item__time:`_item__time_1bf0e_30`,item__preview:`_item__preview_1bf0e_31`,item__typing:`_item__typing_1bf0e_36`,item__badge:`_item__badge_1bf0e_37`},on=({state:t=`default`,avatar:r,name:i,timestamp:o,preview:s,unreadCount:c,onClick:l,className:u})=>(0,n.jsxs)(`div`,{role:`button`,"data-hover-item":``,tabIndex:0,onClick:l,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),l?.())},"aria-current":t===`active`||void 0,className:[G.item,G[`item--${t}`],u??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`span`,{className:G.item__avatar,children:[r,t!==`muted`&&(0,n.jsx)(`span`,{className:G.item__presence,"aria-hidden":`true`})]}),(0,n.jsxs)(`span`,{className:G.item__body,children:[(0,n.jsxs)(`span`,{className:G.item__row,children:[(0,n.jsx)(`span`,{className:G.item__name,children:i}),t===`muted`&&(0,n.jsx)(e.f,{size:12,strokeWidth:a(12),className:G.item__mute,"aria-hidden":`true`}),o&&(0,n.jsx)(`span`,{className:G.item__time,children:o})]}),(0,n.jsxs)(`span`,{className:G.item__row,children:[t===`typing`?(0,n.jsx)(`span`,{className:G.item__typing,children:`typing...`}):(0,n.jsx)(`span`,{className:G.item__preview,children:s}),t===`unread`&&c!=null&&(0,n.jsx)(`span`,{className:G.item__badge,children:c})]})]})]}),sn={chart:`_chart_aiboa_2`,center:`_center_aiboa_26`,center__value:`_center__value_aiboa_35`,center__caption:`_center__caption_aiboa_36`},cn={sm:{h:180,inner:50,outer:72},md:{h:220,inner:62,outer:90},lg:{h:280,inner:80,outer:116},xl:{h:340,inner:98,outer:142}},ln=({data:e,size:i=`md`,centerValue:a,centerCaption:o,height:s,className:c})=>{let[l,u]=t.default.useState(null),[d,f]=t.default.useState(null),p=e=>{let t=e.currentTarget.getBoundingClientRect();f({x:e.clientX-t.left,y:e.clientY-t.top})},m=t.default.useRef(null),h=Ve(m),g=[1,2,3,4,5].map(e=>h(`--color-chart-${e}`)??He[e-1]),_={...cn[i],h:s??cn[i].h},v=(_.outer-_.inner)/2-7;return(0,n.jsxs)(`div`,{ref:m,className:[sn.chart,c??``].filter(Boolean).join(` `),style:{height:_.h},onMouseMove:p,children:[(0,n.jsx)(r.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,n.jsxs)(r.PieChart,{children:[(0,n.jsx)(r.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.inner,outerRadius:_.outer,cornerRadius:v,paddingAngle:2,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>u(t),onMouseLeave:()=>{u(null),f(null)},children:e.map((e,t)=>(0,n.jsx)(r.Cell,{fill:g[t%g.length],fillOpacity:l!==null&&t!==l?.45:1},t))}),(0,n.jsx)(r.Tooltip,{content:(0,n.jsx)(We,{}),wrapperStyle:{zIndex:50},position:d??void 0})]})}),(a||o)&&(0,n.jsxs)(`div`,{className:sn.center,children:[a&&(0,n.jsx)(`span`,{className:sn.center__value,children:a}),o&&(0,n.jsx)(`span`,{className:sn.center__caption,children:o})]})]})},un={empty:`_empty_1mj0f_2`,empty__chip:`_empty__chip_1mj0f_12`,"empty__chip--error":`_empty__chip--error_1mj0f_22`,empty__title:`_empty__title_1mj0f_23`,empty__desc:`_empty__desc_1mj0f_31`,empty__action:`_empty__action_1mj0f_39`},dn={"no-data":{icon:(0,n.jsx)(e.d,{size:18,strokeWidth:a(18)}),title:`No data yet`,description:`Records will appear here once they are added.`},"no-results":{icon:(0,n.jsx)(e.u,{size:18,strokeWidth:a(18)}),title:`No results found`,description:`Try adjusting your search or removing filters.`},error:{icon:(0,n.jsx)(e.l,{size:18,strokeWidth:a(18)}),title:`Couldn't load data`,description:`Something went wrong while fetching records.`}},fn=({type:e=`no-data`,title:t,description:r,actionLabel:i,onAction:a,icon:o,className:s})=>{let c=dn[e];return(0,n.jsxs)(`div`,{className:[un.empty,s??``].filter(Boolean).join(` `),role:`status`,children:[(0,n.jsx)(`span`,{className:[un.empty__chip,un[`empty__chip--${e}`]].join(` `),"aria-hidden":`true`,children:o??c.icon}),(0,n.jsx)(`p`,{className:un.empty__title,children:t??c.title}),(0,n.jsx)(`p`,{className:un.empty__desc,children:r??c.description}),i&&(0,n.jsx)(w,{variant:`outline`,size:`sm`,className:un.empty__action,onClick:a,children:i})]})},pn={chip:`_chip_1qnyq_2`,chip__lead:`_chip__lead_1qnyq_20`,chip__trail:`_chip__trail_1qnyq_20`,"chip--active":`_chip--active_1qnyq_22`,chip__remove:`_chip__remove_1qnyq_29`,"chip--add":`_chip--add_1qnyq_38`,"chip--leaving":`_chip--leaving_1qnyq_45`},mn=160,hn=()=>typeof window<`u`&&window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches,gn=({type:r=`default`,children:i,onClick:o,onRemove:s,className:c})=>{let[l,u]=t.default.useState(!1),d=t.default.useRef(void 0);t.default.useEffect(()=>()=>window.clearTimeout(d.current),[]);let f=()=>{if(!l){if(hn()){s?.();return}u(!0),d.current=window.setTimeout(()=>{s?.(),u(!1)},mn)}};return(0,n.jsxs)(`button`,{type:`button`,onClick:o,className:[pn.chip,pn[`chip--${r}`],l?pn[`chip--leaving`]:``,c??``].filter(Boolean).join(` `),children:[r===`add`&&(0,n.jsx)(e.T,{size:14,strokeWidth:a(14),className:pn.chip__lead,"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:pn.chip__label,children:i}),r==="default"&&(0,n.jsx)(e.D,{size:14,strokeWidth:a(14),className:pn.chip__trail,"aria-hidden":`true`}),r===`active`&&(0,n.jsx)(`span`,{role:`button`,"aria-label":`Remove filter`,className:pn.chip__remove,onClick:e=>{e.stopPropagation(),f()},children:(0,n.jsx)(e.F,{size:14,strokeWidth:a(14),"aria-hidden":`true`})})]})},K={field:`_field_1nyia_10`,field__label:`_field__label_1nyia_18`,field__description:`_field__description_1nyia_26`,field__error:`_field__error_1nyia_31`,input:`_input_1nyia_38`,"input--sm":`_input--sm_1nyia_51`,"input--md":`_input--md_1nyia_52`,"input--lg":`_input--lg_1nyia_53`,"input--error":`_input--error_1nyia_67`,"input--disabled":`_input--disabled_1nyia_74`,input__control:`_input__control_1nyia_81`,input__icon:`_input__icon_1nyia_110`,"input--unstyled":`_input--unstyled_1nyia_120`},_n=16,vn=e=>t.default.isValidElement(e)?t.default.cloneElement(e,{size:_n,strokeWidth:a(_n)}):e,yn=t.default.forwardRef(({label:e,description:r,error:i,size:a=`md`,unstyled:o,leadingIcon:s,trailingIcon:c,disabled:l,id:u,className:d,...f},p)=>{let m=t.default.useId(),h=u??m,g=!!i;return(0,n.jsxs)(`div`,{className:[K.field,d??``].filter(Boolean).join(` `),children:[e&&(0,n.jsx)(`label`,{htmlFor:h,className:K.field__label,children:e}),(0,n.jsxs)(`div`,{className:[K.input,K[`input--${a}`],g?K[`input--error`]:``,l?K[`input--disabled`]:``].filter(Boolean).join(` `),children:[s&&(0,n.jsx)(`span`,{className:K.input__icon,"aria-hidden":`true`,children:vn(s)}),(0,n.jsx)(`input`,{ref:p,id:h,className:K.input__control,disabled:l,"aria-invalid":g||void 0,"aria-describedby":r||i?`${h}-desc`:void 0,...f}),c&&(0,n.jsx)(`span`,{className:K.input__icon,"aria-hidden":`true`,children:vn(c)})]}),(r||i)&&(0,n.jsx)(`span`,{id:`${h}-desc`,className:g?K.field__error:K.field__description,children:i||r})]})});yn.displayName=`Input`;var bn={chart:`_chart_18fgd_2`},xn={sm:180,md:240,lg:320,xl:420},Sn=new Set([`dots`,`custom-dots`,`dots-colors`,`label`,`custom-label`]),Cn=({data:e,series:i,xKey:a=`label`,variant:o=`default`,labelKey:s,size:c=`md`,height:l,showLegend:u,className:d})=>{let f=t.default.useRef(null),p=Ve(f),m=[1,2,3,4,5].map(e=>p(`--color-chart-${e}`)??He[e-1]),h=[m[1],m[0],...m.slice(2)],g=p(`--color-border-subtle`)??`#e7e5e1`,_=p(`--color-fg-muted`)??`#78716a`,v=p(`--color-bg-canvas`)??`#fafaf9`,y=p(`--color-fg-default`)??`#141414`,b=o===`linear`?`linear`:o===`step`?`step`:`monotone`,x=Sn.has(o),S=e=>t=>{let{cx:r,cy:i}=t;return(0,n.jsxs)(`g`,{stroke:e,strokeWidth:2,strokeLinecap:`round`,children:[(0,n.jsx)(`line`,{x1:r,y1:i-3,x2:r,y2:i-3-6}),(0,n.jsx)(`line`,{x1:r,y1:i+3,x2:r,y2:i+3+6}),(0,n.jsx)(`circle`,{cx:r,cy:i,r:3,fill:e,stroke:`none`})]})},C=e=>{let{cx:t,cy:r,index:i}=e,a=m[(i??0)%m.length];return(0,n.jsx)(`circle`,{cx:t,cy:r,r:4,fill:a,stroke:v,strokeWidth:1.5})},w=t=>{let{x:r,y:i,value:a,index:c}=t,l=o===`custom-label`&&s?e[c]?.[s]:a;return l===void 0?(0,n.jsx)(`g`,{}):(0,n.jsx)(`text`,{x:r,y:i-12,textAnchor:`middle`,fill:y,fontSize:12,fontWeight:500,fontFamily:`var(--font-sans)`,children:l})};return(0,n.jsx)(`div`,{ref:f,className:[bn.chart,d??``].filter(Boolean).join(` `),children:(0,n.jsx)(r.ResponsiveContainer,{width:`100%`,height:l??xn[c],children:(0,n.jsxs)(r.LineChart,{data:e,margin:{top:8,right:8,bottom:8,left:12},children:[(0,n.jsx)(r.CartesianGrid,{strokeDasharray:`3 3`,stroke:g,vertical:!1}),(0,n.jsx)(r.XAxis,{dataKey:a,stroke:_,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,n.jsx)(r.Tooltip,{cursor:{stroke:p(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,n.jsx)(We,{}),wrapperStyle:{zIndex:50}}),u&&(0,n.jsx)(r.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),i.map((e,t)=>{let i=h[t%h.length],a=x?o===`custom-dots`?S(i):o===`dots-colors`?C:{r:4,fill:i,stroke:v,strokeWidth:1.5}:!1;return(0,n.jsx)(r.Line,{type:b,dataKey:e,stroke:i,strokeWidth:2,dot:a,activeDot:{r:4,fill:i,stroke:v,strokeWidth:1.5},label:o===`label`||o===`custom-label`?w:void 0},e)})]})})})},wn={menu:`_menu_1cx61_2`,divider:`_divider_1cx61_26`},Tn=({children:e,minWidth:t=208,className:r,...i})=>{let a=Yt();return(0,n.jsxs)(`div`,{ref:a.ref,...a.groupProps,role:`menu`,"aria-label":i[`aria-label`],style:{minWidth:t},className:[wn.menu,r??``].filter(Boolean).join(` `),children:[a.highlight,e]})},En=()=>(0,n.jsx)(`div`,{className:wn.divider,role:`separator`}),Dn={item:`_item_1ezjp_2`,item__icon:`_item__icon_1ezjp_27`,item__label:`_item__label_1ezjp_28`,item__shortcut:`_item__shortcut_1ezjp_29`,item__check:`_item__check_1ezjp_36`,"item--checked":`_item--checked_1ezjp_38`,"item--disabled":`_item--disabled_1ezjp_39`,"item--destructive":`_item--destructive_1ezjp_40`},On=({state:t=`default`,icon:r,shortcut:i,children:o,onSelect:s,className:c})=>{let l=t===`disabled`;return(0,n.jsxs)(`div`,{role:`menuitem`,"data-hover-item":``,"aria-disabled":l||void 0,"aria-checked":t===`checked`||void 0,tabIndex:l?-1:0,onClick:l?void 0:s,onKeyDown:e=>{l||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),s?.())},className:[Dn.item,Dn[`item--${t}`],c??``].filter(Boolean).join(` `),children:[r&&(0,n.jsx)(`span`,{className:Dn.item__icon,"aria-hidden":`true`,children:r}),(0,n.jsx)(`span`,{className:Dn.item__label,children:o}),i&&(0,n.jsx)(`kbd`,{className:Dn.item__shortcut,children:i}),t===`checked`&&(0,n.jsx)(e.k,{size:16,strokeWidth:a(16),className:Dn.item__check,"aria-hidden":`true`})]})},q={row:`_row_1q1m5_2`,"row--sent":`_row--sent_1q1m5_3`,row__avatar:`_row__avatar_1q1m5_4`,col:`_col_1q1m5_5`,meta:`_meta_1q1m5_7`,meta__name:`_meta__name_1q1m5_8`,meta__time:`_meta__time_1q1m5_9`,bubble:`_bubble_1q1m5_11`,"bubble--received":`_bubble--received_1q1m5_17`,"bubble--sent":`_bubble--sent_1q1m5_18`,bubble__text:`_bubble__text_1q1m5_19`,bubble__image:`_bubble__image_1q1m5_20`,file:`_file_1q1m5_23`,file__icon:`_file__icon_1q1m5_24`,file__meta:`_file__meta_1q1m5_25`,file__name:`_file__name_1q1m5_26`,file__size:`_file__size_1q1m5_27`,file__dl:`_file__dl_1q1m5_28`,foot:`_foot_1q1m5_30`,foot__time:`_foot__time_1q1m5_31`,foot__receipt:`_foot__receipt_1q1m5_32`,system:`_system_1q1m5_34`,system__pill:`_system__pill_1q1m5_35`},kn=({type:t=`received`,content:r=`text`,avatar:i,authorName:o,timestamp:s,children:c,image:l,fileName:u,fileSize:d,reactions:f,read:p,className:m})=>{if(t===`system`)return(0,n.jsx)(`div`,{className:[q.system,m??``].filter(Boolean).join(` `),children:(0,n.jsx)(`span`,{className:q.system__pill,children:c})});let h=t===`sent`;return(0,n.jsxs)(`div`,{className:[q.row,h?q[`row--sent`]:q[`row--received`],m??``].filter(Boolean).join(` `),children:[!h&&i&&(0,n.jsx)(`span`,{className:q.row__avatar,children:i}),(0,n.jsxs)(`div`,{className:q.col,children:[!h&&(o||s)&&(0,n.jsxs)(`div`,{className:q.meta,children:[o&&(0,n.jsx)(`span`,{className:q.meta__name,children:o}),s&&(0,n.jsx)(`span`,{className:q.meta__time,children:s})]}),(0,n.jsxs)(`div`,{className:[q.bubble,h?q[`bubble--sent`]:q[`bubble--received`]].join(` `),children:[r===`image`&&(0,n.jsx)(`div`,{className:q.bubble__image,children:l}),r===`file`&&(0,n.jsxs)(`div`,{className:q.file,children:[(0,n.jsx)(e.p,{size:18,strokeWidth:a(18),className:q.file__icon,"aria-hidden":`true`}),(0,n.jsxs)(`span`,{className:q.file__meta,children:[(0,n.jsx)(`span`,{className:q.file__name,children:u}),(0,n.jsx)(`span`,{className:q.file__size,children:d})]}),(0,n.jsx)(e.o,{size:16,strokeWidth:a(16),className:q.file__dl,"aria-hidden":`true`})]}),c&&(0,n.jsx)(`span`,{className:q.bubble__text,children:c})]}),(0,n.jsxs)(`div`,{className:q.foot,children:[!h&&f,h&&(0,n.jsxs)(n.Fragment,{children:[s&&(0,n.jsx)(`span`,{className:q.foot__time,children:s}),p&&(0,n.jsx)(e.s,{size:13,strokeWidth:a(13),className:q.foot__receipt,"aria-hidden":`true`})]})]})]})]})},An={pagination:`_pagination_e1j7r_2`,page:`_page_e1j7r_9`,arrow:`_arrow_e1j7r_9`,"page--active":`_page--active_e1j7r_26`,ellipsis:`_ellipsis_e1j7r_40`},jn=(e,t)=>Array.from({length:t-e+1},(t,n)=>e+n);function Mn(e,t,n){let r=n*2+5;if(e<=r)return jn(1,e);let i=r-2,a=n*2+1;if(t<=i)return[...jn(1,i),`end-ellipsis`,e];let o=i+1+Math.floor((t-i-1)/a)*a,s=o+a-1;return s<=e-3?[1,`start-ellipsis`,...jn(o,s),`end-ellipsis`,e]:[1,`start-ellipsis`,...jn(e-i+1,e)]}var Nn=({total:r,page:i,onPageChange:o,siblings:s=1,className:c})=>{let l=t.default.useRef(null);if(r<1)return null;let u=Math.min(Math.max(i,1),r),d=Math.max(0,s),f=Mn(r,u,d),p=l.current;if(p&&p.total===r&&p.siblings===d){let e=p.tokens,t=e.includes(u),n=u===1&&e[1]===`start-ellipsis`||u===r&&e[e.length-2]===`end-ellipsis`;t&&!n&&(f=e)}return l.current={total:r,siblings:d,tokens:f},(0,n.jsxs)(`nav`,{className:[An.pagination,c??``].filter(Boolean).join(` `),"aria-label":`Pagination`,children:[(0,n.jsx)(`button`,{type:`button`,className:An.arrow,disabled:u<=1,onClick:()=>o(u-1),"aria-label":`Previous page`,children:(0,n.jsx)(e.v,{size:16,strokeWidth:a(16)})}),f.map(e=>typeof e==`number`?(0,n.jsx)(`button`,{type:`button`,className:[An.page,e===u?An[`page--active`]:``].filter(Boolean).join(` `),"aria-current":e===u?`page`:void 0,"aria-label":`Page ${e}`,onClick:()=>e!==u&&o(e),children:e},e):(0,n.jsx)(`span`,{className:An.ellipsis,"aria-hidden":`true`,children:`…`},e)),(0,n.jsx)(`button`,{type:`button`,className:An.arrow,disabled:u>=r,onClick:()=>o(u+1),"aria-label":`Next page`,children:(0,n.jsx)(e._,{size:16,strokeWidth:a(16)})})]})},Pn={track:`_track_1br5v_2`,segment:`_segment_1br5v_12`,"segment--active":`_segment--active_1br5v_38`,thumb:`_thumb_1br5v_44`,"thumb--animated":`_thumb--animated_1br5v_62`,"track--fullWidth":`_track--fullWidth_1br5v_68`},Fn=({options:e,value:r,defaultValue:i,onChange:a,fullWidth:o,className:s})=>{let c=r!==void 0,[l,u]=t.default.useState(i??e[0]?.value),d=c?r:l,f=e=>{c||u(e),a?.(e)},p=t.default.useRef(null),m=t.default.useRef({}),[h,g]=t.default.useState(null),[_,v]=t.default.useState(!1);return t.default.useLayoutEffect(()=>{let e=()=>{let e=m.current[d],t=p.current;!e||!t||g({left:e.offsetLeft,width:e.offsetWidth})};e();let t=window.requestAnimationFrame(()=>v(!0)),n=new ResizeObserver(e);return p.current&&n.observe(p.current),()=>{window.cancelAnimationFrame(t),n.disconnect()}},[d,e]),(0,n.jsxs)(`div`,{ref:p,role:`tablist`,className:[Pn.track,o?Pn[`track--fullWidth`]:``,s??``].filter(Boolean).join(` `),children:[h&&(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[Pn.thumb,_?Pn[`thumb--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateX(${h.left}px)`,width:h.width}}),e.map(e=>{let t=e.value===d;return(0,n.jsx)(`button`,{ref:t=>{m.current[e.value]=t},role:`tab`,type:`button`,"aria-selected":t,className:[Pn.segment,t?Pn[`segment--active`]:``].filter(Boolean).join(` `),onClick:()=>f(e.value),children:e.label},e.value)})]})},J={field:`_field_1b512_6`,field__label:`_field__label_1b512_8`,field__description:`_field__description_1b512_9`,field__error:`_field__error_1b512_10`,select:`_select_1b512_12`,"select--sm":`_select--sm_1b512_23`,"select--md":`_select--md_1b512_24`,"select--lg":`_select--lg_1b512_25`,"select--open":`_select--open_1b512_28`,"select--error":`_select--error_1b512_38`,"select--disabled":`_select--disabled_1b512_47`,select__control:`_select__control_1b512_54`,select__chevron:`_select__chevron_1b512_75`,anchor:`_anchor_1b512_86`,select__value:`_select__value_1b512_90`,"select__value--placeholder":`_select__value--placeholder_1b512_100`,"select__chevron--open":`_select__chevron--open_1b512_103`,panel:`_panel_1b512_114`,"panel--entering":`_panel--entering_1b512_139`,"sakani-select-panel-in":`_sakani-select-panel-in_1b512_1`,"panel--exiting":`_panel--exiting_1b512_140`,"sakani-select-panel-out":`_sakani-select-panel-out_1b512_1`,option:`_option_1b512_151`,"option--selected":`_option--selected_1b512_176`,"option--disabled":`_option--disabled_1b512_177`,option__label:`_option__label_1b512_178`,option__check:`_option__check_1b512_179`,optionHighlight:`_optionHighlight_1b512_151`,"optionHighlight--animated":`_optionHighlight--animated_1b512_201`},In=({label:e,description:r,error:o,size:s=`md`,placeholder:c=`Select an option`,options:l,value:u,defaultValue:d,onChange:f,disabled:p,id:m,className:h})=>{let g=t.default.useId(),_=`${m??g}-trigger`,v=`${m??g}-panel`,y=!!o,[b,x]=t.default.useState(d),S=u===void 0?b:u,C=l.find(e=>e.value===S),[w,T]=t.default.useState(!1),[E,D]=t.default.useState(!1),[O,k]=t.default.useState(0),A=t.default.useRef(null),j=t.default.useRef(null),ee=t.default.useRef(null),te=t.default.useRef({}),[ne,re]=t.default.useState(null),[ie,ae]=t.default.useState(!1);t.default.useLayoutEffect(()=>{let e=te.current[O];if(!e){re(null);return}re({top:e.offsetTop,height:e.offsetHeight})},[O,l.length]),t.default.useLayoutEffect(()=>{if(!E){ae(!1);return}ae(!1);let e=window.requestAnimationFrame(()=>ae(!0));return()=>window.cancelAnimationFrame(e)},[E]),t.default.useEffect(()=>{if(!ee.current)return;let e=new ResizeObserver(()=>{let e=te.current[O];e&&re({top:e.offsetTop,height:e.offsetHeight})});return e.observe(ee.current),()=>e.disconnect()},[E]);let oe=ce(A,E),[se,le]=t.default.useState(null);t.default.useEffect(()=>{w&&D(!0)},[w]),t.default.useLayoutEffect(()=>{if(!w)return;let e=()=>{let e=j.current;if(!e)return;let t=e.getBoundingClientRect();le({top:t.bottom+4,left:t.left,width:t.width})};return e(),window.addEventListener(`scroll`,e,!0),window.addEventListener(`resize`,e),()=>{window.removeEventListener(`scroll`,e,!0),window.removeEventListener(`resize`,e)}},[w]),t.default.useEffect(()=>{if(!w)return;let e=e=>{let t=e.target;A.current?.contains(t)||ee.current?.contains(t)||T(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[w]),t.default.useEffect(()=>{if(!w)return;let e=l.findIndex(e=>e.value===S);k(e>=0?e:0)},[w,l,S]);let M=e=>{e.disabled||(u===void 0&&x(e.value),f?.(e.value),T(!1))},ue=e=>{k(t=>{let n=t;for(let t=0;t<l.length;t+=1)if(n=(n+e+l.length)%l.length,!l[n]?.disabled)return n;return t})};return(0,n.jsxs)(`div`,{className:[J.field,h??``].filter(Boolean).join(` `),ref:A,children:[e&&(0,n.jsx)(`label`,{htmlFor:_,className:J.field__label,children:e}),(0,n.jsxs)(`div`,{className:J.anchor,children:[(0,n.jsxs)(`div`,{ref:j,id:_,role:`combobox`,tabIndex:p?-1:0,"aria-haspopup":`listbox`,"aria-expanded":w,"aria-controls":v,"aria-invalid":y||void 0,"aria-disabled":p||void 0,"aria-activedescendant":w?`${v}-opt-${O}`:void 0,onClick:()=>!p&&T(e=>!e),onKeyDown:e=>{if(!p){if(!w&&(e.key===`Enter`||e.key===` `||e.key===`ArrowDown`)){e.preventDefault(),T(!0);return}if(w)if(e.key===`ArrowDown`)e.preventDefault(),ue(1);else if(e.key===`ArrowUp`)e.preventDefault(),ue(-1);else if(e.key===`Home`)e.preventDefault(),k(0);else if(e.key===`End`)e.preventDefault(),k(l.length-1);else if(e.key===`Enter`||e.key===` `){e.preventDefault();let t=l[O];t&&M(t)}else e.key===`Escape`&&(e.preventDefault(),T(!1))}},className:[J.select,J[`select--${s}`],w?J[`select--open`]:``,y?J[`select--error`]:``,p?J[`select--disabled`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:[J.select__value,C?``:J[`select__value--placeholder`]].filter(Boolean).join(` `),children:C?C.label:c}),(0,n.jsx)(`span`,{className:[J.select__chevron,w?J[`select__chevron--open`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:a(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),E&&se&&(0,i.createPortal)((0,n.jsxs)(`div`,{ref:ee,id:v,role:`listbox`,className:[oe,J.panel,w?J[`panel--entering`]:J[`panel--exiting`]].filter(Boolean).join(` `),style:{position:`fixed`,top:se.top,left:se.left,width:se.width},onAnimationEnd:()=>{w||D(!1)},children:[ne&&(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[J.optionHighlight,ie?J[`optionHighlight--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateY(${ne.top}px)`,height:ne.height}}),l.map((e,t)=>(0,n.jsxs)(`div`,{ref:e=>{te.current[t]=e},id:`${v}-opt-${t}`,role:`option`,"aria-selected":e.value===S,"aria-disabled":e.disabled||void 0,onMouseEnter:()=>!e.disabled&&k(t),onClick:()=>M(e),className:[J.option,e.value===S?J[`option--selected`]:``,e.disabled?J[`option--disabled`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:J.option__label,children:e.label}),e.value===S&&(0,n.jsx)(`span`,{className:J.option__check,"aria-hidden":`true`,children:(0,n.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`path`,{d:`M20 6 9 17l-5-5`})})})]},e.value))]}),document.body)]}),(r||o)&&(0,n.jsx)(`span`,{className:y?J.field__error:J.field__description,children:o||r})]})},Ln={sidebar:`_sidebar_alxv4_4`,"sidebar--collapsed":`_sidebar--collapsed_alxv4_23`},Rn=({collapsed:e=!1,children:t,className:r})=>{let i=Yt();return(0,n.jsxs)(`nav`,{ref:i.ref,...i.groupProps,className:[Ln.sidebar,e?Ln[`sidebar--collapsed`]:``,r??``].filter(Boolean).join(` `),"data-collapsed":e,children:[i.highlight,t]})},zn={divider:`_divider_1oof5_1`},Bn=()=>(0,n.jsx)(`div`,{className:zn.divider,role:`separator`}),Vn={groupLabel:`_groupLabel_62q1j_2`},Hn=({children:e})=>(0,n.jsx)(`div`,{className:Vn.groupLabel,children:e}),Y={header:`_header_et3rf_2`,"header--collapsed":`_header--collapsed_et3rf_12`,"header--workspace":`_header--workspace_et3rf_15`,header__subtitle:`_header__subtitle_et3rf_20`,header__switch:`_header__switch_et3rf_21`,header__logoWrap:`_header__logoWrap_et3rf_24`,header__logo:`_header__logo_et3rf_23`,header__logoContent:`_header__logoContent_et3rf_52`,header__logoIcon:`_header__logoIcon_et3rf_53`,header__text:`_header__text_et3rf_59`,"header__text--collapsed":`_header__text--collapsed_et3rf_70`,header__title:`_header__title_et3rf_74`,header__toggle:`_header__toggle_et3rf_76`},Un=({type:t=`brand`,title:r,subtitle:i,logo:o,collapsed:s,onToggle:c,toggleIcon:l=e.i})=>(0,n.jsxs)(`div`,{className:[Y.header,t===`workspace`?Y[`header--workspace`]:``,s?Y[`header--collapsed`]:``].filter(Boolean).join(` `),children:[o&&(s&&t===`brand-toggle`&&c?(0,n.jsx)(`button`,{type:`button`,className:Y.header__logoWrap,onClick:c,"aria-label":`Expand sidebar`,children:(0,n.jsxs)(`span`,{className:Y.header__logo,children:[(0,n.jsx)(`span`,{className:Y.header__logoContent,children:o}),(0,n.jsx)(`span`,{className:Y.header__logoIcon,"aria-hidden":`true`,children:(0,n.jsx)(l,{size:16,strokeWidth:a(16)})})]})}):(0,n.jsx)(`span`,{className:Y.header__logoWrap,"aria-hidden":`true`,children:(0,n.jsx)(`span`,{className:Y.header__logo,children:o})})),(0,n.jsxs)(`span`,{className:[Y.header__text,s?Y[`header__text--collapsed`]:``].filter(Boolean).join(` `),children:[(0,n.jsx)(`span`,{className:Y.header__title,children:r}),(t===`workspace`||i)&&i&&(0,n.jsx)(`span`,{className:Y.header__subtitle,children:i})]}),!s&&t===`workspace`&&(0,n.jsx)(`span`,{className:Y.header__switch,"aria-hidden":`true`,children:(0,n.jsx)(e.a,{size:16,strokeWidth:a(16)})}),!s&&t===`brand-toggle`&&(0,n.jsx)(`button`,{type:`button`,className:Y.header__toggle,onClick:c,"aria-label":`Collapse sidebar`,children:(0,n.jsx)(l,{size:18,strokeWidth:a(18)})})]}),X={item:`_item_873gi_5`,"item--disabled":`_item--disabled_873gi_37`,"item--active":`_item--active_873gi_37`,"item--active-flat":`_item--active-flat_873gi_37`,item__icon:`_item__icon_873gi_38`,item__bar:`_item__bar_873gi_49`,item__chevron:`_item__chevron_873gi_82`,item__badge:`_item__badge_873gi_84`,"item--collapsed":`_item--collapsed_873gi_103`,item__label:`_item__label_873gi_142`,"item__label--collapsed":`_item__label--collapsed_873gi_151`,"item__chevron--expanded":`_item__chevron--expanded_873gi_174`},Wn=({icon:t,label:r,active:i,activeIndicator:o=!0,disabled:s,badge:c,hasSubmenu:l,collapsed:u,expanded:d,onClick:f,href:p,nativeTooltip:m=!0})=>{let h=i&&o,g=i&&!o,_=[X.item,h?X[`item--active`]:``,g?X[`item--active-flat`]:``,s?X[`item--disabled`]:``,u?X[`item--collapsed`]:``].filter(Boolean).join(` `),v=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{className:X.item__bar,"aria-hidden":`true`}),t&&(0,n.jsx)(`span`,{className:X.item__icon,"aria-hidden":`true`,children:(0,n.jsx)(t,{size:18,strokeWidth:a(18)})}),(0,n.jsx)(`span`,{className:[X.item__label,u?X[`item__label--collapsed`]:``].filter(Boolean).join(` `),children:r}),!u&&c&&(0,n.jsx)(`span`,{className:X.item__badge,children:c}),!u&&l&&(0,n.jsx)(`span`,{className:[X.item__chevron,d?X[`item__chevron--expanded`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,n.jsx)(e._,{size:16,strokeWidth:a(16)})})]}),y={className:_,"data-hover-item":``,title:u&&m?r:void 0,"aria-label":u?r:void 0,"aria-current":i?`page`:void 0,"aria-expanded":l&&d!==void 0?d:void 0};return p&&!s?(0,n.jsx)(`a`,{href:p,...y,children:v}):(0,n.jsx)(`button`,{type:`button`,disabled:s,onClick:f,...y,children:v})},Gn={promo:`_promo_1ou3w_4`,promo__head:`_promo__head_1ou3w_20`,promo__icon:`_promo__icon_1ou3w_21`,promo__title:`_promo__title_1ou3w_22`,promo__dismiss:`_promo__dismiss_1ou3w_23`,promo__desc:`_promo__desc_1ou3w_30`,promo__cta:`_promo__cta_1ou3w_33`},Kn=({type:t=`upgrade`,title:r,description:i,ctaLabel:o,onCta:s,onDismiss:c,icon:l=e.L})=>(0,n.jsxs)(`div`,{className:[Gn.promo,Gn[`promo--${t}`]].join(` `),children:[(0,n.jsxs)(`div`,{className:Gn.promo__head,children:[(0,n.jsx)(`span`,{className:Gn.promo__icon,"aria-hidden":`true`,children:(0,n.jsx)(l,{size:16,strokeWidth:a(16)})}),(0,n.jsx)(`span`,{className:Gn.promo__title,children:r}),c&&(0,n.jsx)(`button`,{type:`button`,className:Gn.promo__dismiss,onClick:c,"aria-label":`Dismiss`,children:(0,n.jsx)(e.F,{size:14,strokeWidth:a(14)})})]}),i&&(0,n.jsx)(`p`,{className:Gn.promo__desc,children:i}),o&&(0,n.jsx)(w,{variant:`primary`,size:`sm`,className:Gn.promo__cta,onClick:s,children:o})]}),qn={subItem:`_subItem_1d7az_2`,"subItem--disabled":`_subItem--disabled_1d7az_26`,"subItem--active":`_subItem--active_1d7az_27`,subItem__dot:`_subItem__dot_1d7az_31`,subItem__label:`_subItem__label_1d7az_41`},Jn=({label:e,active:t,disabled:r,onClick:i,href:a})=>{let o={className:[qn.subItem,t?qn[`subItem--active`]:``,r?qn[`subItem--disabled`]:``].filter(Boolean).join(` `),"data-hover-item":``,"aria-current":t?`page`:void 0},s=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(`span`,{className:qn.subItem__dot,"aria-hidden":`true`}),(0,n.jsx)(`span`,{className:qn.subItem__label,children:e})]});return a&&!r?(0,n.jsx)(`a`,{href:a,...o,children:s}):(0,n.jsx)(`button`,{type:`button`,disabled:r,onClick:i,...o,children:s})},Yn={skeleton:`_skeleton_94hr3_9`,"skeleton-shimmer":`_skeleton-shimmer_94hr3_1`,"skeleton--text":`_skeleton--text_94hr3_22`,"skeleton--rect":`_skeleton--rect_94hr3_29`,"skeleton--circle":`_skeleton--circle_94hr3_35`},Xn=({variant:e=`text`,width:t,height:r,className:i})=>{let a={};return t!==void 0&&(a.width=typeof t==`number`?`${t}px`:t),r!==void 0&&(a.height=typeof r==`number`?`${r}px`:r),(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[Yn.skeleton,Yn[`skeleton--${e}`],i??``].filter(Boolean).join(` `),style:a})},Zn={field:`_field_u7te8_3`,header:`_header_u7te8_4`,label:`_label_u7te8_5`,value:`_value_u7te8_6`,slider:`_slider_u7te8_8`,"sakani-slider-bounce":`_sakani-slider-bounce_u7te8_1`},Qn=1.2,$n=460,er=t.default.forwardRef(({label:e,showValue:r,min:i=0,max:a=100,value:o,defaultValue:s,disabled:c,id:l,className:u,onChange:d,...f},p)=>{let m=t.default.useId(),h=l??m,g=Number(o??s??i),[_,v]=t.default.useState(g),y=o===void 0?_:Number(o),b=(y-i)/(a-i)*100,x=t.default.useRef(null),S=e=>{x.current=e,typeof p==`function`?p(e):p&&(p.current=e)},C=t.default.useRef(null),w=t.default.useRef(void 0);t.default.useEffect(()=>()=>window.clearTimeout(w.current),[]);let T=e=>{let t=x.current;t&&(t.removeAttribute(`data-bounce`),t.offsetWidth,t.style.setProperty(`--bounce-dir`,String(e)),t.setAttribute(`data-bounce`,``),window.clearTimeout(w.current),w.current=window.setTimeout(()=>t.removeAttribute(`data-bounce`),$n))};return(0,n.jsxs)(`div`,{className:[Zn.field,u??``].filter(Boolean).join(` `),children:[(e||r)&&(0,n.jsxs)(`div`,{className:Zn.header,children:[e&&(0,n.jsx)(`label`,{htmlFor:h,className:Zn.label,children:e}),r&&(0,n.jsx)(`span`,{className:Zn.value,children:y})]}),(0,n.jsx)(`input`,{ref:S,id:h,type:`range`,min:i,max:a,value:o,defaultValue:o===void 0?s:void 0,disabled:c,onChange:e=>{let t=Number(e.target.value),n=performance.now(),r=C.current;r&&(t===a||t===i)&&r.v!==t&&Math.abs(t-r.v)/(a-i)/Math.max((n-r.t)/1e3,.001)>=Qn&&T(t===a?1:-1),C.current={v:t,t:n},o===void 0&&v(t),d?.(e)},className:Zn.slider,style:{"--pct":`${b}%`},...f})]})});er.displayName=`Slider`;var Z={card:`_card_1qi93_4`,"card--featured":`_card--featured_1qi93_24`,card__head:`_card__head_1qi93_26`,card__icon:`_card__icon_1qi93_27`,card__title:`_card__title_1qi93_41`,card__menu:`_card__menu_1qi93_42`,card__value:`_card__value_1qi93_50`,card__meta:`_card__meta_1qi93_59`,card__sparkline:`_card__sparkline_1qi93_66`,"card--trend-up":`_card--trend-up_1qi93_68`,"card--trend-down":`_card--trend-down_1qi93_69`,card__description:`_card__description_1qi93_72`},tr={up:e.j,down:e.A,flat:e.E},nr={up:`success`,down:`danger`,flat:`neutral`},rr=({data:e})=>{if(e.length<2)return null;let t=Math.min(...e),r=Math.max(...e)-t||1,i=e.map((n,i)=>`${i/(e.length-1)*100},${30-(n-t)/r*26}`).join(` `);return(0,n.jsx)(`svg`,{className:ir,viewBox:`0 0 100 32`,preserveAspectRatio:`none`,"aria-hidden":`true`,children:(0,n.jsx)(`polyline`,{points:i,fill:`none`,strokeWidth:2,vectorEffect:`non-scaling-stroke`,strokeLinejoin:`round`,strokeLinecap:`round`})})},ir=Z.card__sparkline,ar=({title:t,value:r,description:i,sparkline:o,delta:s,trend:c=`up`,badgeVariant:l,variant:u=`minimal`,icon:d,showMenu:f,onMenu:p,className:m})=>{let h=tr[c],g=(u===`icon`||u===`featured`)&&d;return(0,n.jsxs)(`div`,{className:[Z.card,Z[`card--${u}`],Z[`card--trend-${c}`],m??``].filter(Boolean).join(` `),children:[(0,n.jsxs)(`div`,{className:Z.card__head,children:[g&&(0,n.jsx)(`span`,{className:Z.card__icon,"aria-hidden":`true`,children:(0,n.jsx)(d,{size:18,strokeWidth:a(18)})}),(0,n.jsx)(`span`,{className:Z.card__title,children:t}),f&&(0,n.jsx)(`button`,{type:`button`,className:Z.card__menu,onClick:p,"aria-label":`More options`,children:(0,n.jsx)(e.y,{size:16,strokeWidth:a(16)})})]}),(0,n.jsx)(`div`,{className:Z.card__value,children:r}),o&&(0,n.jsx)(rr,{data:o}),(s||i)&&(0,n.jsxs)(`div`,{className:Z.card__meta,children:[s&&(0,n.jsx)(I,{variant:l??nr[c],leftIcon:(0,n.jsx)(h,{size:12,strokeWidth:2}),children:s}),i&&(0,n.jsx)(`p`,{className:Z.card__description,children:i})]})]})},Q={wrap:`_wrap_9nqt2_6`,"wrap--bordered":`_wrap--bordered_9nqt2_20`,table:`_table_9nqt2_25`,headerRow:`_headerRow_9nqt2_47`,headerCell:`_headerCell_9nqt2_48`,bodyRow:`_bodyRow_9nqt2_64`,"bodyRow--selectable":`_bodyRow--selectable_9nqt2_78`,"bodyRow--selected":`_bodyRow--selected_9nqt2_79`,bodyCell:`_bodyCell_9nqt2_81`,checkCell:`_checkCell_9nqt2_93`,checkbox:`_checkbox_9nqt2_117`,checkbox__input:`_checkbox__input_9nqt2_124`,checkbox__box:`_checkbox__box_9nqt2_126`,checkbox__check:`_checkbox__check_9nqt2_147`,checkbox__dash:`_checkbox__dash_9nqt2_154`,stackedList:`_stackedList_9nqt2_173`,card:`_card_9nqt2_180`,"card--selectable":`_card--selectable_9nqt2_189`,"card--selected":`_card--selected_9nqt2_191`,card__field:`_card__field_9nqt2_193`,card__label:`_card__label_9nqt2_201`,card__value:`_card__value_9nqt2_207`,card__selectRow:`_card__selectRow_9nqt2_217`,"bodyRow--dragging":`_bodyRow--dragging_9nqt2_227`,"bodyRow--dropTarget":`_bodyRow--dropTarget_9nqt2_228`,dragCell:`_dragCell_9nqt2_235`,dragHandle:`_dragHandle_9nqt2_251`},or=640;function sr(e){let[n,r]=t.default.useState(!1);return t.default.useEffect(()=>{if(e!==`auto`)return;let t=window.matchMedia(`(max-width: ${or}px)`);r(t.matches);let n=e=>r(e.matches);return t.addEventListener(`change`,n),()=>t.removeEventListener(`change`,n)},[e]),e==="default"?`default`:e===`stacked`||n?`stacked`:`default`}var cr=({checked:e,indeterminate:r,onChange:i,label:a})=>{let o=t.default.useRef(null);return t.default.useEffect(()=>{o.current&&(o.current.indeterminate=!!r)},[r]),(0,n.jsxs)(`label`,{className:Q.checkbox,children:[(0,n.jsx)(`input`,{ref:o,type:`checkbox`,checked:e,onChange:i,className:Q.checkbox__input,"aria-label":a}),(0,n.jsxs)(`span`,{className:Q.checkbox__box,"aria-hidden":`true`,children:[(0,n.jsx)(`svg`,{className:Q.checkbox__check,width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:3,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,n.jsx)(`polyline`,{points:`20 6 9 17 4 12`})}),(0,n.jsx)(`span`,{className:Q.checkbox__dash})]})]})};function lr({columns:r,rows:i,selectable:a,selectedRows:o,onSelectionChange:s,rowKey:c,reorderable:l,onReorder:u,bordered:d=!0,responsive:f=`auto`,className:p}){let m=sr(f),h=o!==void 0,[g,_]=t.default.useState([]),v=h?o:g,y=e=>{h||_(e),s?.(e)},b=i.length>0&&v.length===i.length,x=v.length>0&&!b,[S,C]=t.default.useState(null),[w,T]=t.default.useState(null),E=Yt(),D=()=>{if(S===null||w===null||S===w){C(null),T(null);return}let e=[...i],[t]=e.splice(S,1);e.splice(w,0,t),u?.(e),C(null),T(null)},O=()=>y(b?[]:i.map((e,t)=>t)),k=e=>y(v.includes(e)?v.filter(t=>t!==e):[...v,e]),A=e=>t=>{t.target.closest(`a, button, input, select, textarea, label, [role="button"], [draggable="true"]`)||window.getSelection()?.isCollapsed&&k(e)};return m===`stacked`?(0,n.jsx)(`div`,{className:[Q.stackedList,p??``].filter(Boolean).join(` `),role:`list`,children:i.map((e,t)=>{let i=v.includes(t);return(0,n.jsxs)(`div`,{role:`listitem`,onClick:a?A(t):void 0,className:[Q.card,i?Q[`card--selected`]:``,a?Q[`card--selectable`]:``].filter(Boolean).join(` `),children:[a&&(0,n.jsx)(`div`,{className:Q.card__selectRow,children:(0,n.jsx)(cr,{checked:i,onChange:()=>k(t),label:`Select row ${t+1}`})}),r.map(t=>(0,n.jsxs)(`div`,{className:Q.card__field,children:[(0,n.jsx)(`span`,{className:Q.card__label,children:t.header}),(0,n.jsx)(`span`,{className:Q.card__value,children:t.render?t.render(e):String(e[t.key]??``)})]},t.key))]},c?c(e,t):t)})}):(0,n.jsxs)(`div`,{ref:E.ref,...E.groupProps,className:[Q.wrap,d?Q[`wrap--bordered`]:``,p??``].filter(Boolean).join(` `),children:[E.highlight,(0,n.jsxs)(`table`,{className:Q.table,children:[(0,n.jsx)(`thead`,{children:(0,n.jsxs)(`tr`,{className:Q.headerRow,children:[l&&(0,n.jsx)(`th`,{className:Q.dragCell,"aria-hidden":`true`}),a&&(0,n.jsx)(`th`,{className:Q.checkCell,children:(0,n.jsx)(cr,{checked:b,indeterminate:x,onChange:O,label:`Select all rows`})}),r.map(e=>(0,n.jsx)(`th`,{className:Q.headerCell,style:{textAlign:e.align??`left`,width:e.width},children:e.header},e.key))]})}),(0,n.jsx)(`tbody`,{children:i.map((t,i)=>{let o=v.includes(i);return(0,n.jsxs)(`tr`,{"data-hover-item":``,onClick:a?A(i):void 0,onDragOver:l?e=>{e.preventDefault(),T(i)}:void 0,onDrop:l?D:void 0,onDragEnd:l?()=>{C(null),T(null)}:void 0,className:[Q.bodyRow,a?Q[`bodyRow--selectable`]:``,o?Q[`bodyRow--selected`]:``,w===i&&S!==null&&S!==i?Q[`bodyRow--dropTarget`]:``,S===i?Q[`bodyRow--dragging`]:``].filter(Boolean).join(` `),children:[l&&(0,n.jsx)(`td`,{className:Q.dragCell,children:(0,n.jsx)(`span`,{className:Q.dragHandle,draggable:!0,onDragStart:e=>{e.dataTransfer.setDragImage(e.currentTarget.closest(`tr`),0,0),C(i)},"aria-hidden":`true`,children:(0,n.jsx)(e.r,{size:14,strokeWidth:1.5})})}),a&&(0,n.jsx)(`td`,{className:Q.checkCell,children:(0,n.jsx)(cr,{checked:o,onChange:()=>k(i),label:`Select row ${i+1}`})}),r.map(e=>(0,n.jsx)(`td`,{className:Q.bodyCell,style:{textAlign:e.align??`left`},children:e.render?e.render(t):String(t[e.key]??``)},e.key))]},c?c(t,i):i)})})]})]})}var ur={tabs:`_tabs_1122j_3`,"tabs--borderless":`_tabs--borderless_1122j_16`,"tabs--fill":`_tabs--fill_1122j_21`,tab:`_tab_1122j_3`,"tab--disabled":`_tab--disabled_1122j_61`,"tab--active":`_tab--active_1122j_63`,indicator:`_indicator_1122j_74`,"indicator--animated":`_indicator--animated_1122j_88`},dr=({items:e,value:r,defaultValue:i,onChange:o,bordered:s=!0,fill:c=!1,className:l})=>{let u=r!==void 0,[d,f]=t.default.useState(i??e[0]?.value),p=u?r:d,m=e=>{u||f(e),o?.(e)},h=t.default.useRef(null),g=t.default.useRef({}),[_,v]=t.default.useState(null),[y,b]=t.default.useState(!1);return t.default.useLayoutEffect(()=>{let e=()=>{let e=g.current[p];!e||!h.current||v({left:e.offsetLeft,width:e.offsetWidth})};e();let t=window.requestAnimationFrame(()=>b(!0)),n=new ResizeObserver(e);return h.current&&n.observe(h.current),()=>{window.cancelAnimationFrame(t),n.disconnect()}},[p,e]),(0,n.jsxs)(`div`,{ref:h,role:`tablist`,className:[ur.tabs,s?``:ur[`tabs--borderless`],c?ur[`tabs--fill`]:``,l??``].filter(Boolean).join(` `),children:[e.map(e=>{let t=e.value===p,r=e.icon;return(0,n.jsxs)(`button`,{ref:t=>{g.current[e.value]=t},role:`tab`,type:`button`,"aria-selected":t,disabled:e.disabled,className:[ur.tab,t?ur[`tab--active`]:``,e.disabled?ur[`tab--disabled`]:``].filter(Boolean).join(` `),onClick:()=>m(e.value),children:[r&&(0,n.jsx)(r,{size:16,strokeWidth:a(16),"aria-hidden":`true`}),e.label]},e.value)}),_&&(0,n.jsx)(`span`,{"aria-hidden":`true`,className:[ur.indicator,y?ur[`indicator--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateX(${_.left}px)`,width:_.width}})]})},fr={wrapper:`_wrapper_w6wtp_8`,bubble:`_bubble_w6wtp_8`,bubble__title:`_bubble__title_w6wtp_46`,bubble__subtitle:`_bubble__subtitle_w6wtp_53`,caret:`_caret_w6wtp_66`,"bubble--top-left":`_bubble--top-left_w6wtp_69`,"bubble--top-center":`_bubble--top-center_w6wtp_70`,"bubble--top-right":`_bubble--top-right_w6wtp_71`,"caret--top-left":`_caret--top-left_w6wtp_78`,"caret--top-center":`_caret--top-center_w6wtp_79`,"caret--top-right":`_caret--top-right_w6wtp_80`,"bubble--bottom-left":`_bubble--bottom-left_w6wtp_91`,"bubble--bottom-center":`_bubble--bottom-center_w6wtp_92`,"bubble--bottom-right":`_bubble--bottom-right_w6wtp_93`,"caret--bottom-left":`_caret--bottom-left_w6wtp_100`,"caret--bottom-center":`_caret--bottom-center_w6wtp_101`,"caret--bottom-right":`_caret--bottom-right_w6wtp_102`,"bubble--center-left":`_bubble--center-left_w6wtp_113`,"caret--center-left":`_caret--center-left_w6wtp_121`,"bubble--center-right":`_bubble--center-right_w6wtp_131`,"caret--center-right":`_caret--center-right_w6wtp_139`},pr=({title:e,subtitle:r,pointer:i=`top-center`,children:a,className:o})=>{let[s,c]=t.default.useState(!1);return t.default.useEffect(()=>{let e=e=>{e.key===`Escape`&&c(!0)};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]),(0,n.jsxs)(`span`,{className:[fr.wrapper,o??``].filter(Boolean).join(` `),"data-dismissed":s||void 0,onMouseLeave:()=>c(!1),onBlur:()=>c(!1),children:[a,(0,n.jsxs)(`span`,{role:`tooltip`,className:[fr.bubble,fr[`bubble--${i}`]].join(` `),children:[(0,n.jsx)(`span`,{className:fr.bubble__title,children:e}),r&&(0,n.jsx)(`span`,{className:fr.bubble__subtitle,children:r}),(0,n.jsx)(`span`,{className:[fr.caret,fr[`caret--${i}`]].join(` `),"aria-hidden":`true`})]})]})},$={bar:`_bar_yqi1k_2`,"bar--md":`_bar--md_yqi1k_11`,"bar--sm":`_bar--sm_yqi1k_12`,bar__leftGroup:`_bar__leftGroup_yqi1k_20`,bar__left:`_bar__left_yqi1k_20`,bar__spacer:`_bar__spacer_yqi1k_27`,bar__right:`_bar__right_yqi1k_30`,bar__icon:`_bar__icon_yqi1k_36`,bar__iconGroup:`_bar__iconGroup_yqi1k_44`,bar__bell:`_bar__bell_yqi1k_48`,bar__dot:`_bar__dot_yqi1k_49`,bar__divider:`_bar__divider_yqi1k_54`,bar__account:`_bar__account_yqi1k_55`,"bar--chat":`_bar--chat_yqi1k_61`,bar__chatAvatar:`_bar__chatAvatar_yqi1k_69`,bar__chatMeta:`_bar__chatMeta_yqi1k_70`,bar__chatTitle:`_bar__chatTitle_yqi1k_71`,bar__chatSubtitle:`_bar__chatSubtitle_yqi1k_76`,bar__chatActions:`_bar__chatActions_yqi1k_80`,"bar__left--search":`_bar__left--search_yqi1k_84`,bar__accountChevron:`_bar__accountChevron_yqi1k_98`,"bar__accountChevron--open":`_bar__accountChevron--open_yqi1k_104`},mr=({type:t=`search`,density:r=`md`,left:i,showToggle:o=!0,onToggle:s,toggleIcon:c=e.n,showActions:l=!0,showHelp:u=!0,hasUnread:d=!1,rightSlot:f,account:p,accountOpen:m=!1,avatar:h,title:g,subtitle:_,actions:v,className:y})=>{let b=Yt(),x=Yt(),S=r===`md`?20:18,C=a(S);return(0,n.jsx)(`header`,{className:[$.bar,$[`bar--${r}`],$[`bar--${t}`],y??``].filter(Boolean).join(` `),children:t===`chat`?(0,n.jsxs)(n.Fragment,{children:[h&&(0,n.jsx)(`span`,{className:$.bar__chatAvatar,children:h}),(0,n.jsxs)(`span`,{className:$.bar__chatMeta,children:[g&&(0,n.jsx)(`span`,{className:$.bar__chatTitle,children:g}),_&&(0,n.jsx)(`span`,{className:$.bar__chatSubtitle,children:_})]}),(0,n.jsx)(`div`,{className:$.bar__spacer}),v&&(0,n.jsxs)(`div`,{ref:x.ref,...x.groupProps,className:$.bar__chatActions,children:[x.highlight,v]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(`div`,{className:$.bar__leftGroup,children:[o&&(0,n.jsx)(`button`,{type:`button`,className:$.bar__icon,onClick:s,"aria-label":`Toggle sidebar`,children:(0,n.jsx)(c,{size:S,strokeWidth:C})}),(0,n.jsx)(`div`,{className:[$.bar__left,t===`search`?$[`bar__left--search`]:``].filter(Boolean).join(` `),"data-type":t,children:i})]}),(0,n.jsx)(`div`,{className:$.bar__spacer}),(0,n.jsxs)(`div`,{className:$.bar__right,children:[f,l&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(`span`,{ref:b.ref,...b.groupProps,className:$.bar__iconGroup,children:[b.highlight,u&&(0,n.jsx)(`button`,{type:`button`,"data-hover-item":``,className:$.bar__icon,"aria-label":`Help`,children:(0,n.jsx)(e.t,{size:S,strokeWidth:C})}),(0,n.jsx)(`button`,{type:`button`,"data-hover-item":``,className:$.bar__icon,"aria-label":`Notifications`,children:(0,n.jsxs)(`span`,{className:$.bar__bell,children:[(0,n.jsx)(e.O,{size:S,strokeWidth:C}),d&&(0,n.jsx)(`span`,{className:$.bar__dot,"aria-hidden":`true`})]})})]}),(0,n.jsx)(`span`,{className:$.bar__divider})]}),p&&(0,n.jsxs)(`div`,{className:$.bar__account,children:[p,(0,n.jsx)(e.D,{size:16,strokeWidth:a(16),className:[$.bar__accountChevron,m?$[`bar__accountChevron--open`]:``].filter(Boolean).join(` `)})]})]})]})})};Object.defineProperty(exports,"$",{enumerable:!0,get:function(){return rt}}),Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return en}}),Object.defineProperty(exports,"B",{enumerable:!0,get:function(){return Pt}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return yn}}),Object.defineProperty(exports,"Ct",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return on}}),Object.defineProperty(exports,"Dt",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return ln}}),Object.defineProperty(exports,"Et",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return Ut}}),Object.defineProperty(exports,"G",{enumerable:!0,get:function(){return Et}}),Object.defineProperty(exports,"H",{enumerable:!0,get:function(){return kt}}),Object.defineProperty(exports,"I",{enumerable:!0,get:function(){return Bt}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return bt}}),Object.defineProperty(exports,"K",{enumerable:!0,get:function(){return Ct}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return zt}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return Xt}}),Object.defineProperty(exports,"N",{enumerable:!0,get:function(){return Yt}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return an}}),Object.defineProperty(exports,"Ot",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"P",{enumerable:!0,get:function(){return Wt}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return dt}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return Lt}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return Cn}}),Object.defineProperty(exports,"St",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return fn}}),Object.defineProperty(exports,"Tt",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"U",{enumerable:!0,get:function(){return Ot}}),Object.defineProperty(exports,"V",{enumerable:!0,get:function(){return Mt}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return gt}}),Object.defineProperty(exports,"Y",{enumerable:!0,get:function(){return vt}}),Object.defineProperty(exports,"Z",{enumerable:!0,get:function(){return pt}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return Nn}}),Object.defineProperty(exports,"_t",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return ar}}),Object.defineProperty(exports,"at",{enumerable:!0,get:function(){return We}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return Tn}}),Object.defineProperty(exports,"bt",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return Jn}}),Object.defineProperty(exports,"ct",{enumerable:!0,get:function(){return Be}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return Un}}),Object.defineProperty(exports,"dt",{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,"et",{enumerable:!0,get:function(){return nt}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return Hn}}),Object.defineProperty(exports,"ft",{enumerable:!0,get:function(){return Ne}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return Fn}}),Object.defineProperty(exports,"gt",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return In}}),Object.defineProperty(exports,"ht",{enumerable:!0,get:function(){return Se}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return lr}}),Object.defineProperty(exports,"it",{enumerable:!0,get:function(){return Je}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return Qt}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return nn}}),Object.defineProperty(exports,"kt",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Kn}}),Object.defineProperty(exports,"lt",{enumerable:!0,get:function(){return Le}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return Rn}}),Object.defineProperty(exports,"mt",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return pr}}),Object.defineProperty(exports,"nt",{enumerable:!0,get:function(){return Ze}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return er}}),Object.defineProperty(exports,"ot",{enumerable:!0,get:function(){return He}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Bn}}),Object.defineProperty(exports,"pt",{enumerable:!0,get:function(){return me}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return xt}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return dr}}),Object.defineProperty(exports,"rt",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return Xn}}),Object.defineProperty(exports,"st",{enumerable:!0,get:function(){return Ve}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return mr}}),Object.defineProperty(exports,"tt",{enumerable:!0,get:function(){return et}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return Wn}}),Object.defineProperty(exports,"ut",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return kn}}),Object.defineProperty(exports,"vt",{enumerable:!0,get:function(){return oe}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return gn}}),Object.defineProperty(exports,"wt",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return En}}),Object.defineProperty(exports,"xt",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return On}}),Object.defineProperty(exports,"yt",{enumerable:!0,get:function(){return ie}}),Object.defineProperty(exports,"z",{enumerable:!0,get:function(){return It}});
|