@sakaniui/react 0.8.12 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./help-circle-BLp_TUx3.cjs"),t=require("./TopBar-rSTYQ9IY.cjs"),n=require("./logout-DFzH8ZuM.cjs");let r=require("react");r=e.z(r,1);let i=require("react/jsx-runtime"),a=require("recharts");var o={announcement:`_announcement_1ba3c_1`,"announcement--neutral":`_announcement--neutral_1ba3c_13`,"announcement--urgent":`_announcement--urgent_1ba3c_16`,content:`_content_1ba3c_20`,icon:`_icon_1ba3c_28`,icon__neutral:`_icon__neutral_1ba3c_32`,message:`_message_1ba3c_36`,link:`_link_1ba3c_52`},s=({message:n,linkLabel:r,linkHref:a,onLinkClick:s,onDismiss:c,variant:l=`neutral`,className:u})=>{let d=l===`urgent`;return(0,i.jsxs)(`div`,{className:[o.announcement,o[`announcement--${l}`],u??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:o.content,children:[(0,i.jsx)(`span`,{className:o.icon,"aria-hidden":`true`,children:d?(0,i.jsx)(e.I,{size:24,strokeWidth:1.5,style:{fill:`var(--color-info-solid)`,stroke:`var(--color-info-bg)`}}):(0,i.jsx)(e.L,{size:24,strokeWidth:1.5,fill:`currentColor`,stroke:`currentColor`,className:o.icon__neutral})}),(0,i.jsx)(`p`,{className:o.message,children:n}),!d&&r&&(0,i.jsx)(t.Ct,{href:a,onClick:s,className:o.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:r})]}),c&&(0,i.jsx)(t.St,{icon:e.F,size:`sm`,variant:`ghost`,"aria-label":`Dismiss`,onClick:c})]})},c={snippet:`_snippet_1ao90_1`,header:`_header_1ao90_12`,filename:`_filename_1ao90_19`,body:`_body_1ao90_31`,tokenKeyword:`_tokenKeyword_1ao90_42`,tokenString:`_tokenString_1ao90_43`,editableBody:`_editableBody_1ao90_50`,textarea:`_textarea_1ao90_55`},l=[`import`,`export`,`from`,`default`,`function`,`return`,`const`,`let`,`var`,`if`,`else`,`for`,`while`,`class`,`extends`,`new`,`async`,`await`,`as`,`of`,`in`],u=RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${l.join(`|`)})\\b)`,`g`),d=e=>e.split(u).map((e,t)=>{if(!e)return null;let n=/^['"`]/.test(e),a=!n&&l.includes(e);return n?(0,i.jsx)(`span`,{className:c.tokenString,children:e},t):a?(0,i.jsx)(`span`,{className:c.tokenKeyword,children:e},t):(0,i.jsx)(r.default.Fragment,{children:e},t)}),f=({code:a,filename:o,onCopy:s,editable:l=!1,onChange:u,placeholder:f,className:p})=>{let[m,h]=r.default.useState(!1),[g,_]=r.default.useState(a);r.default.useEffect(()=>_(a),[a]);let v=()=>{navigator.clipboard?.writeText(g),s?.(g),h(!0),window.setTimeout(()=>h(!1),1500)},y=e=>{_(e),u?.(e)},b=l?(0,i.jsxs)(`div`,{className:c.editableBody,children:[(0,i.jsx)(`pre`,{className:c.body,"aria-hidden":`true`,children:d(g)}),(0,i.jsx)(`textarea`,{className:c.textarea,value:g,placeholder:f,spellCheck:!1,onChange:e=>y(e.target.value),onKeyDown:e=>{if(e.key!==`Tab`)return;e.preventDefault();let t=e.currentTarget,{selectionStart:n,selectionEnd:r}=t,i=`${g.slice(0,n)} ${g.slice(r)}`;y(i),requestAnimationFrame(()=>{t.selectionStart=t.selectionEnd=n+2})}})]}):(0,i.jsx)(`pre`,{className:c.body,children:d(g)});return o?(0,i.jsxs)(`div`,{className:[c.snippet,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:c.header,children:[(0,i.jsx)(`p`,{className:c.filename,children:o}),(0,i.jsx)(t.St,{icon:m?e.k:n.s,variant:`ghost`,size:`sm`,"aria-label":m?`Copied`:`Copy code`,onClick:v})]}),b]}):(0,i.jsx)(`div`,{className:[c.snippet,p??``].filter(Boolean).join(` `),children:b})},p={expenses:`_expenses_1imiq_1`,row:`_row_1imiq_10`,top:`_top_1imiq_18`,left:`_left_1imiq_26`,icon:`_icon_1imiq_32`,label:`_label_1imiq_44`,amount:`_amount_1imiq_55`},m=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),h=({categories:e,variant:n=`default`,formatAmount:r=m,className:a})=>{let o=n===`compact`,s=Math.max(1,...e.map(e=>e.amount));return(0,i.jsx)(`div`,{className:[p.expenses,a??``].filter(Boolean).join(` `),children:e.map((e,n)=>(0,i.jsxs)(`div`,{className:p.row,children:[(0,i.jsxs)(`div`,{className:p.top,children:[(0,i.jsxs)(`div`,{className:p.left,children:[(0,i.jsx)(`span`,{className:p.icon,"aria-hidden":`true`,children:e.icon}),(0,i.jsx)(`p`,{className:p.label,children:e.label})]}),(0,i.jsx)(`p`,{className:p.amount,children:r(e.amount)})]}),!o&&(0,i.jsx)(t.vt,{value:e.amount/s*100,size:`lg`,label:`${e.label} spending`})]},e.id??n))})},g={hint:`_hint_49nyi_1`,bar:`_bar_49nyi_9`,"hint--neutral":`_hint--neutral_49nyi_15`,"hint--warning":`_hint--warning_49nyi_16`,icon:`_icon_49nyi_18`,message:`_message_49nyi_24`},_=14,v=({message:r,variant:a=`neutral`,className:o})=>{let s=a===`warning`?e.I:n.o;return(0,i.jsxs)(`div`,{className:[g.hint,g[`hint--${a}`],o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:g.bar,"aria-hidden":`true`}),(0,i.jsx)(s,{size:_,strokeWidth:t.kt(_),className:g.icon}),(0,i.jsx)(`p`,{className:g.message,children:r})]})},y={item:`_item_jnz6o_1`,"item--horizontal":`_item--horizontal_jnz6o_6`,"item--vertical":`_item--vertical_jnz6o_11`,"text--single":`_text--single_jnz6o_18`,text:`_text_jnz6o_18`,value:`_value_jnz6o_28`,topRow:`_topRow_jnz6o_43`,connectorHorizontal:`_connectorHorizontal_jnz6o_48`,rail:`_rail_jnz6o_56`,connectorVertical:`_connectorVertical_jnz6o_63`,title:`_title_jnz6o_77`,description:`_description_jnz6o_85`},b=({step:n,title:r,description:a,completed:o=!1,orientation:s=`horizontal`,isLast:c=!1,className:l})=>{let u=s===`vertical`,d=(0,i.jsx)(`span`,{className:y.value,"aria-hidden":`true`,children:o?(0,i.jsx)(e.k,{size:14,strokeWidth:t.kt(14)}):n}),f=(0,i.jsxs)(`div`,{className:[y.text,a?``:y[`text--single`]].filter(Boolean).join(` `),children:[(0,i.jsx)(`p`,{className:y.title,children:r}),a&&(0,i.jsx)(`p`,{className:y.description,children:a})]});return u?(0,i.jsxs)(`div`,{className:[y.item,y[`item--vertical`],l??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:y.rail,children:[d,!c&&(0,i.jsx)(`div`,{className:y.connectorVertical})]}),f]}):(0,i.jsxs)(`div`,{className:[y.item,y[`item--horizontal`],l??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:y.topRow,children:[d,!c&&(0,i.jsx)(`div`,{className:y.connectorHorizontal})]}),f]})},x={separator:`_separator_pcfo8_1`,line:`_line_pcfo8_9`,overline:`_overline_pcfo8_19`,badge:`_badge_pcfo8_31`,iconWrap:`_iconWrap_pcfo8_37`},S=({children:e,label:n,className:r})=>(0,i.jsxs)(`div`,{className:[x.separator,r??``].filter(Boolean).join(` `),role:`separator`,children:[(0,i.jsx)(t.ft,{className:x.line}),e??(n&&(0,i.jsx)(`span`,{className:x.overline,children:n})),(0,i.jsx)(t.ft,{className:x.line})]}),C={row:`_row_5wjem_2`,left:`_left_5wjem_16`,logo:`_logo_5wjem_23`,logoLg:`_logoLg_5wjem_29`,text:`_text_5wjem_36`,symbol:`_symbol_5wjem_42`,name:`_name_5wjem_50`,right:`_right_5wjem_59`,price:`_price_5wjem_65`,changeRow:`_changeRow_5wjem_73`,changeText:`_changeText_5wjem_78`,trendUp:`_trendUp_5wjem_84`,trendDown:`_trendDown_5wjem_85`,card:`_card_5wjem_88`,header:`_header_5wjem_102`,headerIcon:`_headerIcon_5wjem_109`,headerLabel:`_headerLabel_5wjem_110`,tickerRow:`_tickerRow_5wjem_117`,body:`_body_5wjem_125`,priceRow:`_priceRow_5wjem_132`,priceGroup:`_priceGroup_5wjem_139`,priceLg:`_priceLg_5wjem_144`,changeRowLg:`_changeRowLg_5wjem_153`,changeTextLg:`_changeTextLg_5wjem_158`,chart:`_chart_5wjem_165`},w=e=>Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),T=({logo:r,symbol:a,name:o,price:s,change:c,formatAmount:l=w,chart:u,periodLabel:d=`Last 6 months`,onPeriodClick:f,className:p})=>{let m=c.amount>=0,h=m?e.j:e.A,g=m?`+`:`-`,_=`${g}${l(c.amount)} (${g}${Math.abs(c.percent)}%)`,v=m?C.trendUp:C.trendDown;return u?(0,i.jsxs)(`div`,{className:[C.card,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:C.header,children:[(0,i.jsx)(n.a,{size:16,strokeWidth:t.kt(16),className:C.headerIcon}),(0,i.jsx)(`span`,{className:C.headerLabel,children:`Stock market`})]}),(0,i.jsxs)(`div`,{className:C.tickerRow,children:[(0,i.jsx)(`span`,{className:C.logoLg,"aria-hidden":`true`,children:r}),(0,i.jsxs)(`div`,{className:C.text,children:[(0,i.jsx)(`p`,{className:C.symbol,children:a}),(0,i.jsx)(`p`,{className:C.name,children:o})]})]}),(0,i.jsxs)(`div`,{className:C.body,children:[(0,i.jsxs)(`div`,{className:C.priceRow,children:[(0,i.jsxs)(`div`,{className:C.priceGroup,children:[(0,i.jsx)(`p`,{className:C.priceLg,children:l(s)}),(0,i.jsxs)(`div`,{className:C.changeRowLg,children:[(0,i.jsx)(h,{size:24,strokeWidth:t.kt(24),className:v}),(0,i.jsx)(`span`,{className:[C.changeTextLg,v].join(` `),children:_})]})]}),(0,i.jsx)(t.xt,{variant:`outline`,size:`sm`,rightIcon:(0,i.jsx)(e.D,{size:16,strokeWidth:t.kt(16)}),onClick:f,children:d})]}),(0,i.jsx)(t.it,{data:u,className:C.chart})]})]}):(0,i.jsxs)(`div`,{className:[C.row,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:C.left,children:[(0,i.jsx)(`span`,{className:C.logo,"aria-hidden":`true`,children:r}),(0,i.jsxs)(`div`,{className:C.text,children:[(0,i.jsx)(`p`,{className:C.symbol,children:a}),(0,i.jsx)(`p`,{className:C.name,children:o})]})]}),(0,i.jsxs)(`div`,{className:C.right,children:[(0,i.jsx)(`p`,{className:C.price,children:l(s)}),(0,i.jsxs)(`div`,{className:C.changeRow,children:[(0,i.jsx)(h,{size:20,strokeWidth:t.kt(20),className:v}),(0,i.jsx)(`span`,{className:[C.changeText,v].join(` `),children:_})]})]})]})},E={tags:`_tags_bsi1x_1`,remove:`_remove_bsi1x_8`,tag:`_tag_bsi1x_1`,"tag--leaving":`_tag--leaving_bsi1x_22`},D=160,O=({tags:n,onRemove:a,className:o})=>{let[s,c]=r.default.useState(null),l=r.default.useRef(void 0);r.default.useEffect(()=>()=>window.clearTimeout(l.current),[]);let u=(e,t)=>{if(!(!a||s)){if(window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches){a(e,t);return}c(e),l.current=window.setTimeout(()=>{a(e,t),c(null)},D)}};return(0,i.jsx)(`div`,{className:[E.tags,o??``].filter(Boolean).join(` `),children:n.map((n,r)=>(0,i.jsx)(t.rt,{className:[E.tag,s===n?E[`tag--leaving`]:``].filter(Boolean).join(` `),rightIcon:a&&(0,i.jsx)(`button`,{type:`button`,className:E.remove,onClick:()=>u(n,r),"aria-label":`Remove ${n}`,children:(0,i.jsx)(e.F,{size:12,strokeWidth:t.kt(12)})}),children:n},n))})},k={ticker:`_ticker_6xnxy_1`,track:`_track_6xnxy_9`,"ticker-scroll":`_ticker-scroll_6xnxy_1`,row:`_row_6xnxy_24`,item:`_item_6xnxy_33`,symbol:`_symbol_6xnxy_40`,change:`_change_6xnxy_49`,trendUp:`_trendUp_6xnxy_57`,trendDown:`_trendDown_6xnxy_58`,fadeLeft:`_fadeLeft_6xnxy_60`,fadeRight:`_fadeRight_6xnxy_61`},ee=e=>`${e>=0?`+`:``}${e}%`,te=({items:n,formatChange:r,ariaHidden:a})=>(0,i.jsx)(`div`,{className:k.row,"aria-hidden":a,children:n.map((n,a)=>{let o=n.changePercent>=0,s=o?e.j:e.A,c=o?k.trendUp:k.trendDown;return(0,i.jsxs)(`div`,{className:k.item,children:[(0,i.jsx)(`span`,{className:k.symbol,children:n.symbol}),(0,i.jsx)(s,{size:14,strokeWidth:t.kt(14),className:c}),(0,i.jsx)(`span`,{className:[k.change,c].join(` `),children:r(n.changePercent)})]},`${n.symbol}-${a}`)})}),ne=({items:e,speed:t=40,formatChange:n=ee,className:a})=>{let o=r.default.useRef(null),[s,c]=r.default.useState(20);return r.default.useEffect(()=>{let e=o.current;if(!e)return;let n=e.firstElementChild;if(!n)return;let r=()=>{let e=n.scrollWidth;e>0&&c(e/t)};r();let i=new ResizeObserver(r);return i.observe(n),()=>i.disconnect()},[e,t]),(0,i.jsxs)(`div`,{className:[k.ticker,a??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{ref:o,className:k.track,style:{"--ticker-duration":`${s}s`},children:[(0,i.jsx)(te,{items:e,formatChange:n}),(0,i.jsx)(te,{items:e,formatChange:n,ariaHidden:!0})]}),(0,i.jsx)(`div`,{className:k.fadeLeft,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:k.fadeRight,"aria-hidden":`true`})]})},A={list:`_list_ovxee_1`,row:`_row_ovxee_9`,rowLast:`_rowLast_ovxee_18`,left:`_left_ovxee_22`,iconWrap:`_iconWrap_ovxee_29`,info:`_info_ovxee_41`,name:`_name_ovxee_46`,category:`_category_ovxee_54`,amount:`_amount_ovxee_63`,amountUp:`_amountUp_ovxee_71`,amountDown:`_amountDown_ovxee_72`,empty:`_empty_ovxee_75`,emptyIcon:`_emptyIcon_ovxee_86`,emptyTitle:`_emptyTitle_ovxee_89`,emptyDesc:`_emptyDesc_ovxee_96`},re=e=>`${e>=0?`+`:`-`}${Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`})}`,ie=({transactions:e,formatAmount:r=re,emptyTitle:a=`No transactions yet`,emptyDescription:o=`Your activity will show up here.`,className:s})=>e.length===0?(0,i.jsxs)(`div`,{className:[A.empty,s??``].filter(Boolean).join(` `),children:[(0,i.jsx)(n.i,{size:24,strokeWidth:t.kt(24),className:A.emptyIcon}),(0,i.jsx)(`p`,{className:A.emptyTitle,children:a}),(0,i.jsx)(`p`,{className:A.emptyDesc,children:o})]}):(0,i.jsx)(`div`,{className:[A.list,s??``].filter(Boolean).join(` `),children:e.map((t,n)=>{let a=t.amount>=0;return(0,i.jsxs)(`div`,{className:[A.row,n===e.length-1?A.rowLast:``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:A.left,children:[(0,i.jsx)(`span`,{className:A.iconWrap,"aria-hidden":`true`,children:t.icon}),(0,i.jsxs)(`div`,{className:A.info,children:[(0,i.jsx)(`p`,{className:A.name,children:t.name}),(0,i.jsx)(`p`,{className:A.category,children:t.category})]})]}),(0,i.jsx)(`p`,{className:[A.amount,a?A.amountUp:A.amountDown].join(` `),children:r(t.amount)})]},t.id??`${t.name}-${n}`)})}),j={root:`_root_19qxp_1`,rootAttributed:`_rootAttributed_19qxp_10`,rootSimple:`_rootSimple_19qxp_18`,rail:`_rail_19qxp_27`,body:`_body_19qxp_37`,markRow:`_markRow_19qxp_46`,markRowEnd:`_markRowEnd_19qxp_51`,mark:`_mark_19qxp_46`,quoteAttributed:`_quoteAttributed_19qxp_59`,quoteSimple:`_quoteSimple_19qxp_68`,author:`_author_19qxp_77`,authorText:`_authorText_19qxp_83`,authorName:`_authorName_19qxp_91`},ae=({quote:n,author:r,className:a})=>{let o=!!r;return(0,i.jsxs)(`div`,{className:[j.root,o?j.rootAttributed:j.rootSimple,a??``].filter(Boolean).join(` `),children:[(0,i.jsx)(t.ft,{orientation:`vertical`,className:j.rail}),(0,i.jsxs)(`div`,{className:j.body,children:[o&&(0,i.jsx)(`span`,{className:j.markRow,"aria-hidden":`true`,children:(0,i.jsx)(e.x,{size:12,strokeWidth:t.kt(12),className:j.mark,fill:`currentColor`})}),(0,i.jsx)(`p`,{className:o?j.quoteAttributed:j.quoteSimple,children:o?n:`"${n}"`}),o&&(0,i.jsx)(`span`,{className:[j.markRow,j.markRowEnd].join(` `),"aria-hidden":`true`,children:(0,i.jsx)(e.x,{size:12,strokeWidth:t.kt(12),className:j.mark,fill:`currentColor`})}),r&&(0,i.jsxs)(`div`,{className:j.author,children:[(0,i.jsx)(t.Et,{size:`sm`,src:r.avatarSrc,alt:r.avatarAlt??r.name}),(0,i.jsxs)(`p`,{className:j.authorText,children:[(0,i.jsx)(`span`,{className:j.authorName,children:r.name}),(0,i.jsxs)(`span`,{className:j.authorRole,children:[`, `,r.role]})]})]})]})]})},M={root:`_root_btuyr_1`,rootLeft:`_rootLeft_btuyr_13`,rootTop:`_rootTop_btuyr_19`,ruleLeft:`_ruleLeft_btuyr_24`,ruleTop:`_ruleTop_btuyr_31`,text:`_text_btuyr_39`},oe=({text:e,align:t=`left`,className:n})=>(0,i.jsxs)(`div`,{className:[M.root,t===`top`?M.rootTop:M.rootLeft,n??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:t===`top`?M.ruleTop:M.ruleLeft,"aria-hidden":`true`}),(0,i.jsx)(`p`,{className:M.text,children:e})]}),N={root:`_root_awxwk_1`,imageWrap:`_imageWrap_awxwk_10`,"root--large":`_root--large_awxwk_27`,"root--small":`_root--small_awxwk_33`,image:`_image_awxwk_10`,caption:`_caption_awxwk_47`},se=({src:e,alt:t=``,size:n=`large`,caption:r,className:a})=>(0,i.jsxs)(`figure`,{className:[N.root,N[`root--${n}`],a??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:N.imageWrap,children:(0,i.jsx)(`img`,{src:e,alt:t,className:N.image})}),r&&(0,i.jsx)(`figcaption`,{className:N.caption,children:r})]}),P={root:`_root_uc5r9_1`,rootCenter:`_rootCenter_uc5r9_10`,rootLeft:`_rootLeft_uc5r9_15`,title:`_title_uc5r9_20`,description:`_description_uc5r9_30`,ctaRow:`_ctaRow_uc5r9_39`,avatarBlock:`_avatarBlock_uc5r9_45`,avatarsCaption:`_avatarsCaption_uc5r9_57`},ce=({title:e,description:r,badgeLabel:a,primaryCta:o,secondaryCta:s,avatars:c,avatarsCaption:l,align:u=`center`,className:d})=>{let f=!!(o||s),p=!!(c&&c.length>0);return(0,i.jsxs)(`div`,{className:[P.root,u===`left`?P.rootLeft:P.rootCenter,d??``].filter(Boolean).join(` `),children:[a&&(0,i.jsx)(t.rt,{variant:`accent`,emphasis:`subtle`,children:a}),(0,i.jsx)(`p`,{className:P.title,children:e}),r&&(0,i.jsx)(`p`,{className:P.description,children:r}),f&&(0,i.jsxs)(`div`,{className:P.ctaRow,children:[o&&(0,i.jsx)(t.xt,{variant:`primary`,onClick:o.onClick,children:o.label}),s&&(0,i.jsx)(t.xt,{variant:`secondary`,leftIcon:(0,i.jsx)(n.r,{size:16,strokeWidth:t.kt(16),fill:`currentColor`}),onClick:s.onClick,children:s.label})]}),p&&(0,i.jsxs)(`div`,{className:P.avatarBlock,children:[(0,i.jsx)(t.B,{size:`md`,avatars:c}),l&&(0,i.jsx)(`p`,{className:P.avatarsCaption,children:l})]})]})},le={root:`_root_5kajg_1`,item:`_item_5kajg_12`,marker:`_marker_5kajg_18`,dot:`_dot_5kajg_26`,label:`_label_5kajg_34`},ue=({items:r,style:a=`check`,className:o})=>(0,i.jsx)(`ul`,{className:[le.root,o??``].filter(Boolean).join(` `),children:r.map((r,o)=>(0,i.jsxs)(`li`,{className:le.item,children:[(0,i.jsxs)(`span`,{className:le.marker,"aria-hidden":`true`,children:[a===`check`&&(0,i.jsx)(e.k,{size:18,strokeWidth:t.kt(18)}),a===`arrow`&&(0,i.jsx)(n.n,{size:16,strokeWidth:t.kt(16)}),a===`bullet`&&(0,i.jsx)(`span`,{className:le.dot})]}),(0,i.jsx)(`span`,{className:le.label,children:r})]},o))}),de={marquee:`_marquee_1pc4i_1`,track:`_track_1pc4i_13`,row:`_row_1pc4i_19`,item:`_item_1pc4i_25`,fadeLeft:`_fadeLeft_1pc4i_31`,fadeRight:`_fadeRight_1pc4i_32`},fe=({items:e,gap:t,ariaHidden:n})=>(0,i.jsx)(`div`,{className:de.row,style:{gap:t,paddingRight:t},"aria-hidden":n,children:e.map((e,t)=>(0,i.jsx)(`div`,{className:de.item,children:e},t))}),pe=({items:e,speed:t=40,gap:n,className:a})=>{let o=r.default.useRef(null),s=r.default.useRef(0),c=r.default.useRef(0),l=r.default.useRef(!1);return r.default.useEffect(()=>{let e=o.current?.firstElementChild;if(!e)return;let t=()=>{s.current=e.scrollWidth};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[e,n]),r.default.useEffect(()=>{let e=o.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let n,r=performance.now(),i=()=>{let a=performance.now(),o=(a-r)/1e3;r=a;let u=l.current?t*.2:t,d=s.current;d>0&&(c.current=(c.current+u*o)%d,e.style.transform=`translateX(-${c.current}px)`),n=setTimeout(i,16)};return n=setTimeout(i,16),()=>clearTimeout(n)},[t]),(0,i.jsxs)(`div`,{className:[de.marquee,a??``].filter(Boolean).join(` `),onMouseEnter:()=>{l.current=!0},onMouseLeave:()=>{l.current=!1},children:[(0,i.jsxs)(`div`,{ref:o,className:de.track,children:[(0,i.jsx)(fe,{items:e,gap:n}),(0,i.jsx)(fe,{items:e,gap:n,ariaHidden:!0})]}),(0,i.jsx)(`div`,{className:de.fadeLeft,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:de.fadeRight,"aria-hidden":`true`})]})},F={root:`_root_17a1b_1`,numRow:`_numRow_17a1b_9`,value:`_value_17a1b_15`,trend:`_trend_17a1b_25`,trendUp:`_trendUp_17a1b_35`,trendDown:`_trendDown_17a1b_39`,label:`_label_17a1b_43`},me=({value:n,label:r,trend:a,className:o})=>{let s=a!==void 0,c=s&&a>=0,l=c?e.j:e.A;return(0,i.jsxs)(`div`,{className:[F.root,o??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:F.numRow,children:[(0,i.jsx)(`p`,{className:F.value,children:n}),s&&(0,i.jsxs)(`span`,{className:[F.trend,c?F.trendUp:F.trendDown].join(` `),children:[(0,i.jsx)(l,{size:24,strokeWidth:t.kt(24)}),Math.abs(a),`%`]})]}),(0,i.jsx)(`p`,{className:F.label,children:r})]})},I={root:`_root_scbx4_1`,header:`_header_scbx4_13`,label:`_label_scbx4_21`,toggle:`_toggle_scbx4_34`,fullWidth:`_fullWidth_scbx4_48`,collapse:`_collapse_scbx4_67`,collapseOpen:`_collapseOpen_scbx4_74`,collapseInner:`_collapseInner_scbx4_78`,navLinks:`_navLinks_scbx4_91`,navLink:`_navLink_scbx4_91`},he=({label:n,links:a,ctaLabel:o=`Get started`,onCtaClick:s,open:c,defaultOpen:l=!1,onOpenChange:u,className:d})=>{let f=c!==void 0,[p,m]=r.default.useState(l),h=f?c:p,g=()=>{let e=!h;f||m(e),u?.(e)},_=r.default.useRef(null),[v,y]=r.default.useState(0);return r.default.useEffect(()=>{let e=_.current;if(!e)return;let t=()=>y(e.scrollHeight);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[a,o]),(0,i.jsxs)(`div`,{className:[I.root,d??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:I.header,children:[(0,i.jsx)(`p`,{className:I.label,children:n}),(0,i.jsx)(`button`,{type:`button`,className:I.toggle,onClick:g,"aria-expanded":h,"aria-label":h?`Close menu`:`Open menu`,children:h?(0,i.jsx)(e.F,{size:16,strokeWidth:t.kt(16)}):(0,i.jsx)(e.b,{size:16,strokeWidth:t.kt(16)})})]}),(0,i.jsx)(`div`,{className:[I.collapse,h?I.collapseOpen:``].filter(Boolean).join(` `),style:{maxHeight:h?`${v}px`:`0px`},"aria-hidden":!h,children:(0,i.jsxs)(`div`,{ref:_,className:I.collapseInner,children:[(0,i.jsx)(`nav`,{className:I.navLinks,"aria-label":n,children:a.map(e=>(0,i.jsx)(`a`,{href:e.href,onClick:e.onClick,className:I.navLink,tabIndex:h?void 0:-1,children:e.label},e.label))}),(0,i.jsx)(t.ft,{className:I.fullWidth}),(0,i.jsx)(t.xt,{variant:`primary`,className:I.fullWidth,onClick:s,tabIndex:h?void 0:-1,children:o})]})})]})},ge={root:`_root_lrpdp_1`,"root--sm":`_root--sm_lrpdp_14`,"root--md":`_root--md_lrpdp_18`,"root--lg":`_root--lg_lrpdp_22`,defaultMark:`_defaultMark_lrpdp_27`},_e={sm:14,md:16,lg:18},ve=({size:e=`md`,logo:n,label:a,className:o})=>{let s=_e[e],c=r.default.isValidElement(n)?r.default.cloneElement(n,{size:s,strokeWidth:t.kt(s)}):n??(0,i.jsx)(`img`,{src:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%3e%3cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H20C24.4183%200%2028%203.58172%2028%208V20C28%2024.4183%2024.4183%2028%2020%2028H8C3.58172%2028%200%2024.4183%200%2020V8Z'%20fill='%23FF4700'/%3e%3cpath%20d='M6.63704%2015.9944L20.6362%2014.491'%20stroke='%23FAFAF9'%20stroke-width='2.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14.208%2022.884C12.848%2022.884%2011.664%2022.636%2010.656%2022.14C9.664%2021.644%208.88%2020.956%208.304%2020.076C7.728%2019.196%207.392%2018.172%207.296%2017.004L9.96%2016.836C10.072%2017.636%2010.304%2018.316%2010.656%2018.876C11.008%2019.42%2011.48%2019.836%2012.072%2020.124C12.68%2020.396%2013.408%2020.532%2014.256%2020.532C14.992%2020.532%2015.616%2020.444%2016.128%2020.268C16.656%2020.076%2017.056%2019.796%2017.328%2019.428C17.6%2019.06%2017.736%2018.612%2017.736%2018.084C17.736%2017.604%2017.616%2017.18%2017.376%2016.812C17.152%2016.428%2016.712%2016.084%2016.056%2015.78C15.416%2015.46%2014.472%2015.148%2013.224%2014.844C11.864%2014.508%2010.776%2014.14%209.96%2013.74C9.144%2013.34%208.552%2012.844%208.184%2012.252C7.832%2011.644%207.656%2010.9%207.656%2010.02C7.656%209.044%207.888%208.188%208.352%207.452C8.832%206.7%209.512%206.116%2010.392%205.7C11.272%205.284%2012.328%205.076%2013.56%205.076C14.856%205.076%2015.96%205.316%2016.872%205.796C17.8%206.276%2018.528%206.932%2019.056%207.764C19.6%208.596%2019.936%209.548%2020.064%2010.62L17.4%2010.764C17.32%2010.108%2017.12%209.532%2016.8%209.036C16.48%208.524%2016.048%208.132%2015.504%207.86C14.96%207.572%2014.296%207.428%2013.512%207.428C12.52%207.428%2011.736%207.66%2011.16%208.124C10.6%208.572%2010.32%209.172%2010.32%209.924C10.32%2010.404%2010.432%2010.812%2010.656%2011.148C10.896%2011.468%2011.312%2011.748%2011.904%2011.988C12.512%2012.228%2013.368%2012.484%2014.472%2012.756C15.944%2013.092%2017.112%2013.508%2017.976%2014.004C18.856%2014.484%2019.48%2015.052%2019.848%2015.708C20.216%2016.364%2020.4%2017.108%2020.4%2017.94C20.4%2018.948%2020.136%2019.828%2019.608%2020.58C19.096%2021.316%2018.376%2021.884%2017.448%2022.284C16.52%2022.684%2015.44%2022.884%2014.208%2022.884Z'%20fill='%23FAFAF9'/%3e%3c/svg%3e`,alt:``,width:s,height:s,className:ge.defaultMark});return(0,i.jsx)(`span`,{className:[ge.root,ge[`root--${e}`],o??``].filter(Boolean).join(` `),role:`img`,"aria-label":a??`Logo placeholder`,children:c})},L={root:`_root_ibchq_1`,rootCompact:`_rootCompact_ibchq_7`,rootDetailed:`_rootDetailed_ibchq_14`,infoCompact:`_infoCompact_ibchq_21`,infoDetailed:`_infoDetailed_ibchq_27`,name:`_name_ibchq_35`,role:`_role_ibchq_44`,bio:`_bio_ibchq_53`,social:`_social_ibchq_63`,socialBtn:`_socialBtn_ibchq_71`},ye=({name:e,role:n,avatarSrc:r,avatarAlt:a,bio:o,socialLinks:s=[],className:c})=>{let l=!!o||s.length>0;return(0,i.jsxs)(`div`,{className:[L.root,l?L.rootDetailed:L.rootCompact,c??``].filter(Boolean).join(` `),children:[(0,i.jsx)(t.Et,{size:`xl`,src:r,alt:a??e}),(0,i.jsxs)(`div`,{className:l?L.infoDetailed:L.infoCompact,children:[(0,i.jsx)(`p`,{className:L.name,children:e}),(0,i.jsx)(`p`,{className:L.role,children:n})]}),l&&o&&(0,i.jsx)(`p`,{className:L.bio,children:o}),l&&s.length>0&&(0,i.jsx)(`div`,{className:L.social,children:s.map((e,t)=>(0,i.jsx)(`a`,{href:e.href,onClick:e.onClick,className:L.socialBtn,"aria-label":e.label,children:e.icon},e.label??t))})]})},be=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,fill:`currentColor`,d:`M9.48933 6.77467L15.318 0H13.9367L8.876 5.88267L4.834 0H0.172L6.284 8.89533L0.172 16H1.55333L6.89733 9.788L11.166 16H15.828L9.48933 6.77467ZM7.598 8.974L6.97867 8.088L2.05067 1.04H4.172L8.14867 6.728L8.768 7.614L13.9373 15.0073H11.816L7.598 8.974Z`})}),xe=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{fill:`currentColor`,stroke:`currentColor`,strokeWidth:`0.5`,d:`M5.2627 14.9109C5.24063 14.9019 5.21825 14.8937 5.19629 14.8845C5.21828 14.8846 5.2404 14.8849 5.2627 14.8845C5.26277 14.8934 5.26262 14.9022 5.2627 14.9109ZM8 0.948C12.0038 0.948 15.25 4.19421 15.25 8.198C15.25 11.2321 13.382 13.8337 10.7119 14.9041C10.7126 14.8154 10.7132 14.7175 10.7139 14.6111C10.7164 14.2289 10.7197 13.7443 10.7197 13.2068C10.7197 12.8702 10.6752 12.5602 10.5967 12.282C11.2251 12.1236 11.8603 11.8618 12.4033 11.407C13.3035 10.6531 13.8291 9.48051 13.8291 7.78003C13.8291 6.87672 13.5529 6.10004 13.0859 5.46265C13.1914 4.97309 13.2464 4.1873 12.8779 3.24292L12.748 2.91089L12.4082 2.80152L12.1885 3.48902C12.4086 2.8019 12.407 2.80174 12.4062 2.80152L12.4053 2.80054L12.3965 2.79761C12.3923 2.79634 12.3874 2.79501 12.3828 2.7937C12.3738 2.79113 12.364 2.78851 12.3535 2.78589C12.3324 2.78061 12.3081 2.77611 12.2812 2.77124C12.2271 2.76146 12.1615 2.75326 12.085 2.74976C11.9315 2.74276 11.7366 2.75416 11.499 2.80445C11.0816 2.8928 10.5376 3.09872 9.85352 3.52808C9.24662 3.38844 8.61824 3.31986 7.99414 3.31616H7.98535C7.36044 3.31984 6.73069 3.3881 6.12305 3.52808C5.43488 3.09865 4.88896 2.89272 4.4707 2.80445C4.23272 2.75425 4.03733 2.74275 3.88379 2.74976C3.80726 2.75325 3.74164 2.76049 3.6875 2.77027C3.66056 2.77514 3.63643 2.78059 3.61523 2.78589C3.60476 2.78851 3.59499 2.79113 3.58594 2.7937C3.58136 2.79501 3.57647 2.79634 3.57227 2.79761L3.56348 2.80054L3.56152 2.80152C3.56163 2.80419 3.57406 2.84531 3.78906 3.51636L3.56055 2.80152L3.2207 2.91089L3.09082 3.24292C2.72472 4.18117 2.77327 4.9675 2.88574 5.46851C2.41945 6.10504 2.14648 6.88031 2.14648 7.78003C2.14649 8.97574 2.40791 9.91025 2.87598 10.6228C2.76692 10.5961 2.65215 10.5747 2.53027 10.5662L2.50879 10.5642H2.46289C2.45155 10.5643 2.43701 10.5646 2.41992 10.5652C2.3862 10.5664 2.33899 10.569 2.28516 10.575C2.20712 10.5835 2.00131 10.6093 1.80762 10.7195C1.70282 10.7791 1.53342 10.9016 1.43457 11.1267C1.42275 11.1537 1.41196 11.181 1.40332 11.2078C0.984401 10.291 0.75 9.27198 0.75 8.198C0.75 4.19409 3.99434 0.948 8 0.948ZM4.51855 11.9919C4.75868 12.0994 5.00485 12.1834 5.25098 12.2517C5.17809 12.2603 5.10423 12.266 5.03125 12.2595C4.87853 12.2459 4.69843 12.1922 4.51855 11.9919Z`})}),Se={heading:`_heading_96cdx_1`,h2:`_h2_96cdx_8`,h3:`_h3_96cdx_14`},Ce=({children:e,level:t=`h2`,className:n})=>(0,i.jsx)(t,{className:[Se.heading,Se[t],n??``].filter(Boolean).join(` `),children:e}),we={paragraph:`_paragraph_8pqdi_1`},Te=({children:e,className:t})=>(0,i.jsx)(`p`,{className:[we.paragraph,t??``].filter(Boolean).join(` `),children:e}),R={rootBordered:`_rootBordered_5cgsj_1`,rail:`_rail_5cgsj_12`,contentHorizontal:`_contentHorizontal_5cgsj_18`,contentVertical:`_contentVertical_5cgsj_25`,textHorizontal:`_textHorizontal_5cgsj_33`,textVertical:`_textVertical_5cgsj_41`,title:`_title_5cgsj_49`,description:`_description_5cgsj_57`},Ee=({icon:e,title:n,description:a,layout:o=`horizontal`,leftBorder:s=!1,className:c})=>{let l=o===`vertical`,u=(0,i.jsxs)(`div`,{className:l?R.contentVertical:R.contentHorizontal,children:[(0,i.jsx)(t.V,{icon:e,size:`sm`,variant:`light`}),(0,i.jsxs)(`div`,{className:l?R.textVertical:R.textHorizontal,children:[(0,i.jsx)(`p`,{className:R.title,children:n}),(0,i.jsx)(`p`,{className:R.description,children:a})]})]});return s?(0,i.jsxs)(`div`,{className:[R.rootBordered,c??``].filter(Boolean).join(` `),children:[(0,i.jsx)(t.ft,{orientation:`vertical`,className:R.rail}),u]}):r.default.cloneElement(u,{className:[u.props.className,c??``].filter(Boolean).join(` `)})},De=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{d:`M11.6667 4.33333H11.6733M4.66667 1.33333H11.3333C13.1743 1.33333 14.6667 2.82572 14.6667 4.66667V11.3333C14.6667 13.1743 13.1743 14.6667 11.3333 14.6667H4.66667C2.82572 14.6667 1.33333 13.1743 1.33333 11.3333V4.66667C1.33333 2.82572 2.82572 1.33333 4.66667 1.33333ZM10.6666 7.58004C10.7489 8.13487 10.6541 8.70152 10.3958 9.19938C10.1375 9.69725 9.72873 10.101 9.22772 10.3532C8.7267 10.6053 8.15893 10.6931 7.60516 10.604C7.05138 10.5149 6.53981 10.2534 6.14319 9.85681C5.74658 9.4602 5.48512 8.94862 5.39601 8.39485C5.3069 7.84107 5.39468 7.2733 5.64685 6.77229C5.89903 6.27127 6.30276 5.86253 6.80062 5.6042C7.29849 5.34587 7.86514 5.2511 8.41997 5.33337C8.98592 5.41729 9.50987 5.68101 9.91443 6.08558C10.319 6.49014 10.5827 7.01409 10.6666 7.58004Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Oe=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{d:`M12 1.33333H10C9.11594 1.33333 8.2681 1.68452 7.64298 2.30964C7.01786 2.93477 6.66667 3.78261 6.66667 4.66667V6.66667H4.66667V9.33333H6.66667V14.6667H9.33333V9.33333H11.3333L12 6.66667H9.33333V4.66667C9.33333 4.48986 9.40357 4.32029 9.5286 4.19526C9.65362 4.07024 9.82319 4 10 4H12V1.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),ke=({size:e=16})=>(0,i.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:[(0,i.jsx)(`path`,{d:`M10.6667 5.33333C11.7275 5.33333 12.7449 5.75476 13.4951 6.50491C14.2452 7.25505 14.6667 8.27247 14.6667 9.33333V14H12V9.33333C12 8.97971 11.8595 8.64057 11.6095 8.39052C11.3594 8.14048 11.0203 8 10.6667 8C10.313 8 9.97391 8.14048 9.72386 8.39052C9.47381 8.64057 9.33333 8.97971 9.33333 9.33333V14H6.66667V9.33333C6.66667 8.27247 7.08809 7.25505 7.83824 6.50491C8.58838 5.75476 9.6058 5.33333 10.6667 5.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M4 6H1.33333V14H4V6Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M2.66667 4C3.40305 4 4 3.40305 4 2.66667C4 1.93029 3.40305 1.33333 2.66667 1.33333C1.93029 1.33333 1.33333 1.93029 1.33333 2.66667C1.33333 3.40305 1.93029 4 2.66667 4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),Ae={chart:`_chart_qqaox_2`},je={sm:180,md:240,lg:320,xl:420},Me=({data:e,variant:n=`default`,seriesLabels:o=[`Value`,`Value 2`],size:s=`md`,height:c,className:l})=>{let u=r.default.useRef(null),d=t.st(u),f=d(`--color-chart-5`)??`#dca84f`,p=d(`--color-chart-2`)??`#5b92dd`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-muted`)??`#78716a`,g=e.some(e=>e.value2!==void 0),_=n===`step`?`step`:n===`linear`?`linear`:`monotone`,v=n===`stacked`?`stack`:void 0;return(0,i.jsx)(`div`,{ref:u,className:[Ae.chart,l??``].filter(Boolean).join(` `),children:(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:c??je[s],children:(0,i.jsxs)(a.AreaChart,{data:e,margin:{top:8,right:8,bottom:8,left:0},children:[(0,i.jsxs)(`defs`,{children:[(0,i.jsxs)(`linearGradient`,{id:`sakani-area-1`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,i.jsx)(`stop`,{offset:`5%`,stopColor:f,stopOpacity:.35}),(0,i.jsx)(`stop`,{offset:`95%`,stopColor:f,stopOpacity:.02})]}),(0,i.jsxs)(`linearGradient`,{id:`sakani-area-2`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,i.jsx)(`stop`,{offset:`5%`,stopColor:p,stopOpacity:.35}),(0,i.jsx)(`stop`,{offset:`95%`,stopColor:p,stopOpacity:.02})]})]}),(0,i.jsx)(a.CartesianGrid,{strokeDasharray:`3 3`,stroke:m,vertical:!1}),(0,i.jsx)(a.XAxis,{dataKey:`label`,stroke:h,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,i.jsx)(a.Tooltip,{cursor:{stroke:d(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}}),g&&(0,i.jsx)(a.Area,{type:_,dataKey:`value2`,name:o[1]??`Value 2`,stackId:v,stroke:p,strokeWidth:2,fill:`url(#sakani-area-2)`,dot:!1,activeDot:{r:4,fill:p,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}}),(0,i.jsx)(a.Area,{type:_,dataKey:`value`,name:o[0]??`Value`,stackId:v,stroke:f,strokeWidth:2,fill:`url(#sakani-area-1)`,dot:!1,activeDot:{r:4,fill:f,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}})]})})})},z={col:`_col_1v24u_2`,col__header:`_col__header_1v24u_11`,col__dot:`_col__dot_1v24u_12`,col__title:`_col__title_1v24u_13`,col__count:`_col__count_1v24u_14`,col__spacer:`_col__spacer_1v24u_15`,col__action:`_col__action_1v24u_16`,col__body:`_col__body_1v24u_24`,col__drop:`_col__drop_1v24u_25`,col__add:`_col__add_1v24u_31`},Ne=({state:n=`default`,title:r,count:a,dotColor:o=`var(--color-chart-1)`,children:s,onAdd:c,onMenu:l,className:u})=>(0,i.jsxs)(`div`,{className:[z.col,u??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:z.col__header,children:[(0,i.jsx)(`span`,{className:z.col__dot,style:{background:o},"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:z.col__title,children:r}),a!=null&&(0,i.jsx)(`span`,{className:z.col__count,children:a}),(0,i.jsx)(`span`,{className:z.col__spacer}),(0,i.jsx)(`button`,{type:`button`,className:z.col__action,onClick:c,"aria-label":`Add task`,children:(0,i.jsx)(e.T,{size:16,strokeWidth:t.kt(16)})}),(0,i.jsx)(`button`,{type:`button`,className:z.col__action,onClick:l,"aria-label":`Column options`,children:(0,i.jsx)(e.y,{size:16,strokeWidth:t.kt(16)})})]}),(0,i.jsx)(`div`,{className:z.col__body,children:n===`empty`?(0,i.jsx)(`div`,{className:z.col__drop,children:`Drop tasks here`}):s}),(0,i.jsxs)(`button`,{type:`button`,className:z.col__add,onClick:c,children:[(0,i.jsx)(e.T,{size:16,strokeWidth:t.kt(16),"aria-hidden":`true`}),`Add task`]})]}),B={calendar:`_calendar_qvyxg_2`,header:`_header_qvyxg_14`,header__label:`_header__label_qvyxg_15`,navBtn:`_navBtn_qvyxg_16`,weekdays:`_weekdays_qvyxg_27`,weekday:`_weekday_qvyxg_27`,grid:`_grid_qvyxg_34`,day:`_day_qvyxg_35`,"day--default":`_day--default_qvyxg_49`,"day--hover":`_day--hover_qvyxg_50`,"day--selected":`_day--selected_qvyxg_51`,"day--today":`_day--today_qvyxg_52`,"day--in-range":`_day--in-range_qvyxg_53`,"day--outside":`_day--outside_qvyxg_54`,"day--disabled":`_day--disabled_qvyxg_55`,dropdowns:`_dropdowns_qvyxg_58`,dropdown:`_dropdown_qvyxg_58`},Pe=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],Fe=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Ie=(e,t)=>!!e&&!!t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),Le=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),Re=({mode:n=`single`,value:a,onChange:o,range:s,onRangeChange:c,headerType:l=`arrows`,defaultMonth:u,minDate:d,maxDate:f,className:p})=>{let[m,h]=r.default.useState(()=>{let e=u??a??s?.from??new Date;return new Date(e.getFullYear(),e.getMonth(),1)}),[g,_]=r.default.useState({}),v=t.N(),y=s===void 0?g:s,b=new Date,x=m.getFullYear(),S=m.getMonth(),C=new Date(x,S,1).getDay(),w=new Date(x,S,1-C),T=Array.from({length:42},(e,t)=>new Date(w.getFullYear(),w.getMonth(),w.getDate()+t)),E=e=>d&&e<Le(d)||f&&e>f,D=e=>{s===void 0&&_(e),c?.(e)},O=e=>{if(n===`single`){o?.(e);return}let{from:t,to:r}=y;D(!t||t&&r?{from:e,to:void 0}:e<t?{from:e,to:t}:{from:t,to:e})},k=e=>{if(E(e))return`disabled`;if(n===`single`){if(Ie(e,a))return`selected`}else{let{from:t,to:n}=y;if(Ie(e,t)||Ie(e,n))return`selected`;if(t&&n&&e>t&&e<n)return`in-range`}return e.getMonth()===S?Ie(e,b)?`today`:`default`:`outside`},ee=d?d.getFullYear():x-10,te=f?f.getFullYear():x+10,ne=Array.from({length:te-ee+1},(e,t)=>ee+t);return(0,i.jsxs)(`div`,{className:[B.calendar,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:B.header,children:[(0,i.jsx)(`button`,{type:`button`,className:B.navBtn,onClick:()=>h(new Date(x,S-1,1)),"aria-label":`Previous month`,children:(0,i.jsx)(e.v,{size:16,strokeWidth:t.kt(16)})}),l===`dropdowns`?(0,i.jsxs)(`span`,{className:B.dropdowns,children:[(0,i.jsx)(`select`,{className:B.dropdown,value:S,onChange:e=>h(new Date(x,Number(e.target.value),1)),"aria-label":`Month`,children:Fe.map((e,t)=>(0,i.jsx)(`option`,{value:t,children:e},e))}),(0,i.jsx)(`select`,{className:B.dropdown,value:x,onChange:e=>h(new Date(Number(e.target.value),S,1)),"aria-label":`Year`,children:ne.map(e=>(0,i.jsx)(`option`,{value:e,children:e},e))})]}):(0,i.jsxs)(`span`,{className:B.header__label,children:[Fe[S],` `,x]}),(0,i.jsx)(`button`,{type:`button`,className:B.navBtn,onClick:()=>h(new Date(x,S+1,1)),"aria-label":`Next month`,children:(0,i.jsx)(e._,{size:16,strokeWidth:t.kt(16)})})]}),(0,i.jsx)(`div`,{className:B.weekdays,children:Pe.map(e=>(0,i.jsx)(`span`,{className:B.weekday,children:e},e))}),(0,i.jsxs)(`div`,{ref:v.ref,...v.groupProps,className:B.grid,children:[v.highlight,T.map((e,t)=>{let n=k(e);return(0,i.jsx)(`button`,{type:`button`,"data-hover-item":``,className:[B.day,B[`day--${n}`]].filter(Boolean).join(` `),disabled:n===`disabled`,"aria-current":n===`today`?`date`:void 0,"aria-selected":n===`selected`,"aria-label":e.toLocaleDateString(void 0,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`}),onClick:()=>O(e),children:e.getDate()},t)})]})]})},V={card:`_card_1qpcc_3`,"card--interactive":`_card--interactive_1qpcc_22`,card__header:`_card__header_1qpcc_30`,card__title:`_card__title_1qpcc_34`,card__description:`_card__description_1qpcc_43`,card__body:`_card__body_1qpcc_53`,card__actions:`_card__actions_1qpcc_57`,"card__actions--split":`_card__actions--split_1qpcc_66`,card__actionsGroup:`_card__actionsGroup_1qpcc_67`},ze=({title:e,description:t,actions:n,leadingAction:r,interactive:a,children:o,className:s})=>(0,i.jsxs)(`div`,{className:[V.card,a?V[`card--interactive`]:``,s??``].filter(Boolean).join(` `),children:[(e||t)&&(0,i.jsxs)(`div`,{className:V.card__header,children:[e&&(0,i.jsx)(`h3`,{className:V.card__title,children:e}),t&&(0,i.jsx)(`p`,{className:V.card__description,children:t})]}),o&&(0,i.jsx)(`div`,{className:V.card__body,children:o}),(n||r)&&(r?(0,i.jsxs)(`div`,{className:[V.card__actions,V[`card__actions--split`]].join(` `),children:[r,(0,i.jsx)(`div`,{className:V.card__actionsGroup,children:n})]}):(0,i.jsx)(`div`,{className:V.card__actions,children:n}))]}),H={field:`_field_1oby0_7`,field__label:`_field__label_1oby0_8`,field__description:`_field__description_1oby0_9`,field__error:`_field__error_1oby0_10`,control:`_control_1oby0_13`,"control--sm":`_control--sm_1oby0_25`,"control--md":`_control--md_1oby0_26`,"control--lg":`_control--lg_1oby0_27`,"control--open":`_control--open_1oby0_30`,"control--error":`_control--error_1oby0_41`,"control--disabled":`_control--disabled_1oby0_46`,control__value:`_control__value_1oby0_52`,"control__value--placeholder":`_control__value--placeholder_1oby0_62`,control__input:`_control__input_1oby0_63`,control__chevron:`_control__chevron_1oby0_83`,"control__chevron--open":`_control__chevron--open_1oby0_84`,chips:`_chips_1oby0_90`,chip:`_chip_1oby0_90`,"chip--leaving":`_chip--leaving_1oby0_102`,"sakani-combobox-chip-out":`_sakani-combobox-chip-out_1oby0_1`,chip__remove:`_chip__remove_1oby0_110`,panel:`_panel_1oby0_121`,"panel--entering":`_panel--entering_1oby0_145`,"sakani-combobox-panel-in":`_sakani-combobox-panel-in_1oby0_1`,"panel--exiting":`_panel--exiting_1oby0_146`,"sakani-combobox-panel-out":`_sakani-combobox-panel-out_1oby0_1`,panel__empty:`_panel__empty_1oby0_156`,option:`_option_1oby0_164`,"option--selected":`_option--selected_1oby0_189`,"option--disabled":`_option--disabled_1oby0_190`,optionHighlight:`_optionHighlight_1oby0_165`,"optionHighlight--animated":`_optionHighlight--animated_1oby0_221`,option__box:`_option__box_1oby0_228`,"option__box--checked":`_option__box--checked_1oby0_245`,option__icon:`_option__icon_1oby0_250`,option__label:`_option__label_1oby0_251`,option__check:`_option__check_1oby0_252`,panel__loading:`_panel__loading_1oby0_255`,panel__spinner:`_panel__spinner_1oby0_259`,"sakani-cb-spin":`_sakani-cb-spin_1oby0_1`},Be=({options:e,mode:n=`single`,size:a=`md`,label:o,description:s,error:c,placeholder:l=`Select...`,disabled:u,loading:d,value:f,onChange:p,className:m})=>{let h=r.default.useId(),[g,_]=r.default.useState(!1),[v,y]=r.default.useState(!1),[b,x]=r.default.useState(0),S=r.default.useRef(null),C=e;r.default.useEffect(()=>{g&&y(!0)},[g]);let w=r.default.useRef({}),T=r.default.useRef(null),[E,D]=r.default.useState(null),[O,k]=r.default.useState(!1);r.default.useLayoutEffect(()=>{let e=w.current[b];if(!e){D(null);return}D({top:e.offsetTop,height:e.offsetHeight})},[b,C.length]),r.default.useLayoutEffect(()=>{if(!v){k(!1);return}k(!1);let e=window.requestAnimationFrame(()=>k(!0));return()=>window.cancelAnimationFrame(e)},[v]),r.default.useEffect(()=>{if(!T.current)return;let e=new ResizeObserver(()=>{let e=w.current[b];e&&D({top:e.offsetTop,height:e.offsetHeight})});return e.observe(T.current),()=>e.disconnect()},[v]);let[ee,te]=r.default.useState(n===`multi`?[]:``),ne=f===void 0?ee:f,A=Array.isArray(ne)?ne:ne?[ne]:[],[re,ie]=r.default.useState(()=>A.map(e=>({value:e,leaving:!1}))),j=A.join(`\0`);r.default.useLayoutEffect(()=>{ie(e=>{let t=e.map(e=>({value:e.value,leaving:!A.includes(e.value)}));for(let e of A)t.some(t=>t.value===e)||t.push({value:e,leaving:!1});return t})},[j]);let ae=e=>ie(t=>t.filter(t=>!(t.value===e&&t.leaving))),M=!!c;r.default.useEffect(()=>{let e=e=>{S.current&&!S.current.contains(e.target)&&_(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let oe=e=>{f===void 0&&te(e),p?.(e)},N=e=>{if(!e.disabled)if(n===`multi`){let t=new Set(A);t.has(e.value)?t.delete(e.value):t.add(e.value),oe([...t])}else oe(e.value),_(!1)},se=t=>e.find(e=>e.value===t)?.label??t,P=A.length?se(A[0]):``,ce=e=>{u||(e.key===`ArrowDown`?(e.preventDefault(),_(!0),x(e=>Math.min(e+1,C.length-1))):e.key===`ArrowUp`?(e.preventDefault(),x(e=>Math.max(e-1,0))):e.key===`Enter`?(e.preventDefault(),g&&C[b]?N(C[b]):_(!0)):e.key===`Escape`&&_(!1))},le=u?`disabled`:M?`error`:g?`open`:`default`;return(0,i.jsxs)(`div`,{className:[H.field,m??``].filter(Boolean).join(` `),ref:S,children:[o&&(0,i.jsx)(`label`,{htmlFor:`${h}-trigger`,className:H.field__label,children:o}),(0,i.jsxs)(`div`,{id:`${h}-trigger`,role:`combobox`,tabIndex:u?-1:0,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":`${h}-panel`,"aria-invalid":M||void 0,"aria-disabled":u||void 0,"aria-activedescendant":g&&C[b]?`${h}-opt-${b}`:void 0,className:[H.control,H[`control--${a}`],H[`control--${le}`]].join(` `),onClick:()=>!u&&_(e=>!e),onKeyDown:ce,children:[n===`multi`&&re.length>0&&(0,i.jsx)(`div`,{className:H.chips,children:re.map(({value:t,leaving:n})=>(0,i.jsxs)(`span`,{className:[H.chip,n?H[`chip--leaving`]:``].filter(Boolean).join(` `),"aria-hidden":n||void 0,onAnimationEnd:n?()=>ae(t):void 0,children:[se(t),(0,i.jsx)(`button`,{type:`button`,className:H.chip__remove,tabIndex:n?-1:void 0,onClick:n=>{n.stopPropagation(),N(e.find(e=>e.value===t))},"aria-label":`Remove ${se(t)}`,children:`×`})]},t))}),!(n===`multi`&&re.length>0)&&(0,i.jsx)(`span`,{className:[H.control__value,n===`single`&&P?``:H[`control__value--placeholder`]].filter(Boolean).join(` `),children:n===`single`&&P?P:l}),(0,i.jsx)(`span`,{className:[H.control__chevron,g?H[`control__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,i.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),v&&!u&&(0,i.jsx)(`div`,{ref:T,className:[H.panel,g?H[`panel--entering`]:H[`panel--exiting`]].filter(Boolean).join(` `),id:`${h}-panel`,role:`listbox`,"aria-multiselectable":n===`multi`||void 0,"aria-busy":d||void 0,onAnimationEnd:()=>{g||y(!1)},children:d?(0,i.jsxs)(`div`,{className:H.panel__loading,children:[(0,i.jsx)(`span`,{className:H.panel__spinner,"aria-hidden":`true`}),`Loading…`]}):C.length===0?(0,i.jsx)(`div`,{className:H.panel__empty,children:`No options available`}):(0,i.jsxs)(i.Fragment,{children:[E&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:[H.optionHighlight,O?H[`optionHighlight--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateY(${E.top}px)`,height:E.height}}),C.map((e,r)=>{let a=A.includes(e.value);return(0,i.jsxs)(`div`,{ref:e=>{w.current[r]=e},id:`${h}-opt-${r}`,role:`option`,"aria-selected":a,className:[H.option,a&&n===`single`?H[`option--selected`]:``,e.disabled?H[`option--disabled`]:``].filter(Boolean).join(` `),onMouseEnter:()=>{e.disabled||x(r)},onClick:()=>N(e),children:[n===`multi`&&(0,i.jsx)(`span`,{className:[H.option__box,a?H[`option__box--checked`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(12),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,i.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}),e.icon&&(0,i.jsx)(`span`,{className:H.option__icon,"aria-hidden":`true`,children:e.icon}),(0,i.jsx)(`span`,{className:H.option__label,children:e.label}),a&&n===`single`&&(0,i.jsx)(`span`,{className:H.option__check,"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,i.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})})]},e.value)})]})}),(s||c)&&(0,i.jsx)(`span`,{className:M?H.field__error:H.field__description,children:c||s})]})},U={wrap:`_wrap_1j16e_2`,dropzone:`_dropzone_1j16e_4`,"dropzone--dragging":`_dropzone--dragging_1j16e_21`,dropzone__icon:`_dropzone__icon_1j16e_23`,dropzone__label:`_dropzone__label_1j16e_28`,dropzone__link:`_dropzone__link_1j16e_29`,dropzone__hint:`_dropzone__hint_1j16e_30`,input:`_input_1j16e_32`,files:`_files_1j16e_35`,file:`_file_1j16e_35`,file__icon:`_file__icon_1j16e_45`,file__name:`_file__name_1j16e_46`,file__remove:`_file__remove_1j16e_47`},Ve=({accept:n,multiple:a,hint:o=`SVG, PNG, JPG or PDF (max. 2MB)`,onFilesChange:s,className:c})=>{let l=r.default.useRef(null),[u,d]=r.default.useState(!1),[f,p]=r.default.useState([]),m=e=>{p(e),s?.(e)},h=e=>{if(!e)return;let t=Array.from(e);m(a?[...f,...t]:t.slice(0,1))},g=e=>m(f.filter((t,n)=>n!==e));return(0,i.jsxs)(`div`,{className:[U.wrap,c??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:[U.dropzone,u?U[`dropzone--dragging`]:``].filter(Boolean).join(` `),onClick:()=>l.current?.click(),onDragOver:e=>{e.preventDefault(),d(!0)},onDragLeave:()=>d(!1),onDrop:e=>{e.preventDefault(),d(!1),h(e.dataTransfer.files)},role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&l.current?.click()},children:[(0,i.jsx)(`span`,{className:U.dropzone__icon,"aria-hidden":`true`,children:(0,i.jsx)(e.c,{size:22,strokeWidth:t.kt(22)})}),(0,i.jsxs)(`span`,{className:U.dropzone__label,children:[(0,i.jsx)(`span`,{className:U.dropzone__link,children:`Click to upload`}),` or drag and drop`]}),(0,i.jsx)(`span`,{className:U.dropzone__hint,children:o}),(0,i.jsx)(`input`,{ref:l,type:`file`,accept:n,multiple:a,className:U.input,onChange:e=>h(e.target.files)})]}),f.length>0&&(0,i.jsx)(`ul`,{className:U.files,children:f.map((n,r)=>(0,i.jsxs)(`li`,{className:U.file,children:[(0,i.jsx)(`span`,{className:U.file__icon,"aria-hidden":`true`,children:(0,i.jsx)(e.p,{size:16,strokeWidth:t.kt(16)})}),(0,i.jsx)(`span`,{className:U.file__name,children:n.name}),(0,i.jsx)(`button`,{type:`button`,className:U.file__remove,onClick:()=>g(r),"aria-label":`Remove ${n.name}`,children:(0,i.jsx)(e.F,{size:14,strokeWidth:t.kt(14)})})]},r))})]})},W={chart:`_chart_1m9hd_1`,svg:`_svg_1m9hd_7`,segment:`_segment_1m9hd_12`,pctLabel:`_pctLabel_1m9hd_19`,labels:`_labels_1m9hd_27`,labelItem:`_labelItem_1m9hd_31`,tooltip:`_tooltip_1m9hd_41`,tooltip__title:`_tooltip__title_1m9hd_54`,tooltip__row:`_tooltip__row_1m9hd_60`,tooltip__dot:`_tooltip__dot_1m9hd_68`,tooltip__label:`_tooltip__label_1m9hd_74`,tooltip__value:`_tooltip__value_1m9hd_75`},He={sm:180,md:240,lg:320,xl:420},Ue=560,We=.3,Ge=.55,Ke=({data:e,size:n=`md`,className:a})=>{let[o,s]=r.default.useState(null),c=r.default.useRef(null),l=t.st(c),u=l(`--color-chart-1`)??`#ff4700`,d=l(`--color-bg-canvas`)??`#fafaf9`,f=e[0]?.value||1,p=He[n],m=p*.66,h=m/2+8,g=Ue/e.length,_=e[0]?.value||1,v=e=>e/_*m,y=e.map(e=>v(e.value));y.push(v(e[e.length-1]?.value??0)*Ge);let b=t=>e.length<=1?1:We+t/(e.length-1)*(1-We),x=o===null?null:e[o],S=o===null?0:h-y[o]/2,C=o===null?0:o*g+g/2;return(0,i.jsxs)(`div`,{ref:c,className:[W.chart,a??``].filter(Boolean).join(` `),style:{height:p},children:[(0,i.jsx)(`svg`,{viewBox:`0 0 ${Ue} ${p}`,width:`100%`,height:p,className:W.svg,children:e.map((e,t)=>{let n=t*g,r=(t+1)*g,a=(n+r)/2,c=y[t]/2,l=y[t+1]/2,d=h-c,p=h-l,m=h+c,_=h+l,v=[`M ${n} ${d}`,`C ${a} ${d} ${a} ${p} ${r} ${p}`,`L ${r} ${_}`,`C ${a} ${_} ${a} ${m} ${n} ${m}`,`Z`].join(` `),x=o===null?b(t):t===o?1:.45,S=Math.round(e.value/f*100);return(0,i.jsxs)(`g`,{className:W.segment,onMouseEnter:()=>s(t),onMouseLeave:()=>s(null),children:[(0,i.jsx)(`path`,{d:v,fill:u,fillOpacity:x}),(0,i.jsxs)(`text`,{x:a,y:h,textAnchor:`middle`,dominantBaseline:`middle`,className:W.pctLabel,children:[S,`%`]})]},t)})}),(0,i.jsx)(`div`,{className:W.labels,style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((e,t)=>(0,i.jsx)(`span`,{className:W.labelItem,children:e.label},t))}),x&&(0,i.jsxs)(`div`,{className:W.tooltip,style:{left:`${C/Ue*100}%`,top:`${S/p*100}%`,background:d},children:[(0,i.jsx)(`span`,{className:W.tooltip__title,children:x.label}),(0,i.jsxs)(`div`,{className:W.tooltip__row,children:[(0,i.jsx)(`span`,{className:W.tooltip__dot,style:{background:u}}),(0,i.jsx)(`span`,{className:W.tooltip__label,children:`Share`}),(0,i.jsxs)(`span`,{className:W.tooltip__value,children:[Math.round(x.value/f*100),`%`]})]})]})]})},G={chart:`_chart_1yc8b_1`,grid:`_grid_1yc8b_6`,rowLabel:`_rowLabel_1yc8b_13`,colLabel:`_colLabel_1yc8b_14`,cell:`_cell_1yc8b_29`,"chart--sm":`_chart--sm_1yc8b_38`,"chart--md":`_chart--md_1yc8b_39`,"chart--lg":`_chart--lg_1yc8b_40`,"chart--xl":`_chart--xl_1yc8b_41`,tooltip:`_tooltip_1yc8b_48`,tooltip__title:`_tooltip__title_1yc8b_70`,tooltip__row:`_tooltip__row_1yc8b_76`,tooltip__dot:`_tooltip__dot_1yc8b_84`,tooltip__label:`_tooltip__label_1yc8b_91`,tooltip__value:`_tooltip__value_1yc8b_92`},qe=.12,Je=.45,Ye=({data:e,rowLabels:n,colLabels:a,valueLabel:o=`Value`,size:s=`md`,className:c})=>{let l=r.default.useRef(null),u=t.st(l),d=r.default.useRef(null),[f,p]=r.default.useState(null),m=u(`--color-chart-1`)??`#ff4700`,h=Math.max(1,...e.flat()),g=e[0]?.length??0,_=(e,t,n)=>r=>{let i=r.currentTarget.getBoundingClientRect(),a=d.current?.getBoundingClientRect();a&&p({row:e,col:t,value:n,left:i.left-a.left+i.width/2,top:i.top-a.top})};return(0,i.jsx)(`div`,{ref:l,className:[G.chart,G[`chart--${s}`],c??``].filter(Boolean).join(` `),children:(0,i.jsxs)(`div`,{ref:d,className:G.grid,style:{gridTemplateColumns:`auto repeat(${g}, 1fr)`},children:[e.map((e,t)=>(0,i.jsxs)(r.default.Fragment,{children:[(0,i.jsx)(`span`,{className:G.rowLabel,children:n?.[t]??``}),e.map((e,n)=>{let r=f?.row===t&&f?.col===n,a=f!==null&&!r,o=r?1:qe+e/h*(1-qe);return(0,i.jsx)(`div`,{className:G.cell,style:{background:m,opacity:a?Je:o},onMouseEnter:_(t,n,e),onMouseLeave:()=>p(null)},n)})]},t)),a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{}),a.map((e,t)=>(0,i.jsx)(`span`,{className:G.colLabel,children:e},t))]}),f&&(0,i.jsxs)(`div`,{className:G.tooltip,style:{left:f.left,top:f.top},children:[(0,i.jsx)(`span`,{className:G.tooltip__title,children:[n?.[f.row],a?.[f.col]].filter(Boolean).join(` · `)||`Row ${f.row+1}, Col ${f.col+1}`}),(0,i.jsxs)(`div`,{className:G.tooltip__row,children:[(0,i.jsx)(`span`,{className:G.tooltip__dot}),(0,i.jsx)(`span`,{className:G.tooltip__label,children:o}),(0,i.jsx)(`span`,{className:G.tooltip__value,children:f.value})]})]})]})})},Xe={kbd:`_kbd_1cz4m_3`},Ze=({children:e,className:t})=>(0,i.jsx)(`kbd`,{className:[Xe.kbd,t??``].filter(Boolean).join(` `),children:e}),Qe={label:`_label_rcdks_3`,label__required:`_label__required_rcdks_17`},$e=r.default.forwardRef(({required:e,children:t,className:n,...r},a)=>(0,i.jsxs)(`label`,{ref:a,className:[Qe.label,n??``].filter(Boolean).join(` `),...r,children:[t,e&&(0,i.jsx)(`span`,{className:Qe.label__required,"aria-hidden":`true`,children:` *`})]}));$e.displayName=`Label`;var K={item:`_item_4gag1_2`,"item--disabled":`_item--disabled_4gag1_22`,"item--selected":`_item--selected_4gag1_26`,item__leading:`_item__leading_4gag1_30`,item__text:`_item__text_4gag1_31`,item__title:`_item__title_4gag1_32`,item__description:`_item__description_4gag1_33`,item__trailing:`_item__trailing_4gag1_34`},et=({title:e,description:t,leading:n,trailing:r,selected:a,disabled:o,onClick:s,className:c})=>(0,i.jsxs)(`button`,{type:`button`,"data-hover-item":``,disabled:o,onClick:s,"aria-current":a?`true`:void 0,className:[K.item,a?K[`item--selected`]:``,o?K[`item--disabled`]:``,c??``].filter(Boolean).join(` `),children:[n&&(0,i.jsx)(`span`,{className:K.item__leading,children:n}),(0,i.jsxs)(`span`,{className:K.item__text,children:[(0,i.jsx)(`span`,{className:K.item__title,children:e}),t&&(0,i.jsx)(`span`,{className:K.item__description,children:t})]}),r&&(0,i.jsx)(`span`,{className:K.item__trailing,children:r})]}),tt={chart:`_chart_cc7lx_2`,center:`_center_cc7lx_30`,center__value:`_center__value_cc7lx_39`,center__caption:`_center__caption_cc7lx_40`},nt={sm:{h:180,outer:72},md:{h:220,outer:90},lg:{h:280,outer:116},xl:{h:340,outer:142}},rt=new Set([`donut`,`donut-active`,`donut-with-text`,`interactive`]),it=new Set([`donut-active`]),at=new Set([`interactive`]),ot=new Set([`donut-with-text`]),st=Math.PI/180,ct=({data:e,variant:n=`donut`,size:o=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=r.default.useRef(null),d=t.st(u),[f,p]=r.default.useState(void 0),m=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.ot[e-1]),h=d(`--color-bg-surface`)??`#ffffff`,g=d(`--color-fg-default`)??`#141414`,_=nt[o],v=rt.has(n),y=it.has(n),b=at.has(n),x=v?_.outer*.6:0,S=ot.has(n)&&(s||c),C=f??(y||b?0:void 0),w=e=>{let{cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:c,fill:l,index:u}=e,d=u===C,f=d&&(y||b)?16:0;return d&&b?(0,i.jsxs)(`g`,{children:[(0,i.jsx)(a.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:o+f,startAngle:s,endAngle:c,fill:l}),(0,i.jsx)(a.Sector,{cx:t,cy:n,innerRadius:o+f+3,outerRadius:o+f+7,startAngle:s,endAngle:c,fill:l})]}):(0,i.jsx)(a.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:o+f,startAngle:s,endAngle:c,fill:l})},T=e=>{let{cx:t,cy:n,midAngle:r,outerRadius:i}=e,a=r??0,o=Math.cos(-a*st),s=Math.sin(-a*st),c=t+i*o,l=n+i*s,u=t+(i+16)*o,d=n+(i+16)*s,f=o>=0,p=u+(f?14:-14);return{d:`M ${c} ${l} L ${u} ${d} L ${p} ${d}`,endX:p,endY:d,textAnchor:f?`start`:`end`}},E=e=>{let{value:t,fill:n}=e,{d:r,endX:a,endY:o,textAnchor:s}=T(e),c=a+(s===`start`?4:-4);return(0,i.jsxs)(`g`,{children:[(0,i.jsx)(`path`,{d:r,fill:`none`,stroke:n,strokeWidth:1}),(0,i.jsx)(`text`,{x:c,y:o,textAnchor:s,dominantBaseline:`central`,fill:g,fontSize:12,fontFamily:`var(--font-sans)`,children:t})]})},D=e=>{let{x:t,y:n,textAnchor:r,value:a}=e;return(0,i.jsx)(`text`,{x:t,y:n,textAnchor:r,dominantBaseline:`central`,fill:g,fontSize:20,fontWeight:400,fontFamily:`var(--font-sans)`,children:a})},O=t=>{let{cx:n,cy:r,midAngle:a,innerRadius:o,outerRadius:s,index:c}=t,l=(o+s)/2;return(0,i.jsx)(`text`,{x:n+l*Math.cos(-a*st),y:r+l*Math.sin(-a*st),textAnchor:`middle`,dominantBaseline:`central`,fill:`#fff`,fontSize:11,fontWeight:500,fontFamily:`var(--font-sans)`,children:e[c]?.label})};if(n===`stacked`){let n=e=>f!==void 0&&f!==e?.45:1;return(0,i.jsx)(`div`,{ref:u,className:[tt.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,i.jsxs)(a.PieChart,{children:[(0,i.jsx)(a.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.outer*.82,outerRadius:_.outer,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,i.jsx)(a.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:0,outerRadius:_.outer*.62,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,i.jsx)(a.Tooltip,{content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}})]})})})}return(0,i.jsxs)(`div`,{ref:u,className:[tt.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:[(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,i.jsxs)(a.PieChart,{children:[(0,i.jsx)(a.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:x,outerRadius:_.outer,paddingAngle:0,stroke:n===`pie`?h:`none`,strokeWidth:n===`pie`?2:0,isAnimationActive:!1,shape:y||b?w:void 0,label:n===`label`?E:n===`custom-label`?D:n===`label-list`?O:void 0,labelLine:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:m[t%m.length]},t))}),(0,i.jsx)(a.Tooltip,{content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}})]})}),S&&(0,i.jsxs)(`div`,{className:tt.center,children:[s&&(0,i.jsx)(`span`,{className:tt.center__value,children:s}),c&&(0,i.jsx)(`span`,{className:tt.center__caption,children:c})]})]})},q={root:`_root_16f5u_2`,trigger:`_trigger_16f5u_3`,panel:`_panel_16f5u_5`,"panel--bottom":`_panel--bottom_16f5u_22`,"panel--bottom-start":`_panel--bottom-start_16f5u_23`,"panel--bottom-end":`_panel--bottom-end_16f5u_24`,"panel--top":`_panel--top_16f5u_25`,"panel--entering":`_panel--entering_16f5u_39`,"sakani-popover-in":`_sakani-popover-in_16f5u_1`,"panel--exiting":`_panel--exiting_16f5u_40`,"sakani-popover-out":`_sakani-popover-out_16f5u_1`,"sakani-popover-in-up":`_sakani-popover-in-up_16f5u_1`,"sakani-popover-out-up":`_sakani-popover-out-up_16f5u_1`,panel__title:`_panel__title_16f5u_75`,panel__description:`_panel__description_16f5u_76`,panel__body:`_panel__body_16f5u_77`,panel__actions:`_panel__actions_16f5u_78`},lt=({trigger:e,title:t,description:n,actions:a,placement:o=`bottom-start`,children:s,className:c})=>{let[l,u]=r.default.useState(!1),[d,f]=r.default.useState(!1),p=r.default.useRef(null),m=r.default.useRef(null);return r.default.useEffect(()=>{l&&f(!0)},[l]),r.default.useEffect(()=>{if(l||!d)return;let e=setTimeout(()=>f(!1),240);return()=>clearTimeout(e)},[l,d]),r.default.useEffect(()=>{if(!l)return;let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)},t=e=>{e.key===`Escape`&&u(!1)};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[l]),r.default.useEffect(()=>{!l&&m.current&&(m.current.focus(),m.current=null)},[l]),(0,i.jsxs)(`div`,{className:[q.root,c??``].filter(Boolean).join(` `),ref:p,children:[(0,i.jsx)(`span`,{className:q.trigger,onClick:()=>{l||(m.current=document.activeElement),u(e=>!e)},children:e}),d&&(0,i.jsxs)(`div`,{className:[q.panel,q[`panel--${o}`],l?q[`panel--entering`]:q[`panel--exiting`]].filter(Boolean).join(` `),role:`dialog`,onAnimationEnd:e=>{e.target===e.currentTarget&&!l&&f(!1)},children:[t&&(0,i.jsx)(`div`,{className:q.panel__title,children:t}),n&&(0,i.jsx)(`div`,{className:q.panel__description,children:n}),s&&(0,i.jsx)(`div`,{className:q.panel__body,children:s}),a&&(0,i.jsx)(`div`,{className:q.panel__actions,children:a})]})]})},ut={chart:`_chart_q6xhl_2`,circleFillSvg:`_circleFillSvg_q6xhl_17`},dt={sm:200,md:260,lg:340,xl:420},ft=new Set([`circle-grid`,`circle-grid-no-lines`,`circle-grid-filled`]),pt=new Set([`default`,`grid-custom`]),mt=new Set([`dots-grid-none`]),ht=new Set([`grid-filled`]),gt=e=>e===`circle-grid-filled`,_t=new Set([`default`,`dots`,`dots-grid-none`,`circle-grid`,`circle-grid-no-lines`,`multiple`,`custom-label`,`grid-custom`,`grid-filled`,`circle-grid-filled`]),vt=[1,.8,.6,.4,.2],yt=({data:e,variant:n=`default`,size:o=`md`,seriesLabels:s=[`Value`,`Value 2`],className:c})=>{let l=r.default.useRef(null),u=t.st(l),d=u(`--color-chart-1`)??`#ff4700`,f=u(`--color-chart-2`)??`#5b92dd`,p=u(`--color-border-default`)??`#dbdad7`,m=u(`--color-fg-subtle`)??`#a8a29b`,h=n===`multiple`,g=n===`lines-only`,_=h||n===`custom-label`||g,v=!g,y=n===`dots`||n===`dots-grid-none`||n===`circle-grid`||n===`circle-grid-no-lines`,b=ht.has(n),x=pt.has(n),S=mt.has(n),C=gt(n),[w,T]=r.default.useState(0);r.default.useEffect(()=>{if(!C||!l.current)return;let e=l.current,t=new ResizeObserver(([e])=>T(e.contentRect.width));return t.observe(e),()=>t.disconnect()},[C]);let E=r.default.useMemo(()=>{if(!b)return e;let t=Math.max(1,...e.flatMap(e=>[e.value,e.value2??0]));return e.map(e=>{let n={};return vt.forEach((e,r)=>{n[`ring${r}`]=e*t}),{...e,...n}})},[e,b]),D=t=>{let{x:n,y:r,cx:a,cy:o,payload:s,textAnchor:c}=t,l=e.find(e=>e.label===s?.value)??e[s?.index];if(!l)return(0,i.jsx)(`g`,{});let u=n-a,d=r-o,f=l.value2===void 0?`${l.value}`:`${l.value}/${l.value2}`,p=Math.abs(d)>Math.abs(u),h,g;if(p&&d<0)g=r-4-6,h=g-16;else if(p)h=r+4+10,g=h+18;else{let e=r+d/(Math.sqrt(u*u+d*d)||1)*4;h=e-8,g=e+12}let _=p?n:n+u/Math.sqrt(u*u+d*d||1)*4;return(0,i.jsxs)(`g`,{children:[(0,i.jsx)(`text`,{x:_,y:h,textAnchor:c,fill:m,fontSize:15,fontWeight:600,fontFamily:`var(--font-sans)`,children:f}),(0,i.jsx)(`text`,{x:_,y:g,textAnchor:c,fill:m,fontSize:13,fontFamily:`var(--font-sans)`,children:l.label})]})},O=dt[o],k=(w>0?Math.min(w,O)/2-5:0)*.7;return(0,i.jsxs)(`div`,{ref:l,className:[ut.chart,c??``].filter(Boolean).join(` `),children:[C&&w>0&&(0,i.jsx)(`svg`,{className:ut.circleFillSvg,width:w,height:O,children:vt.map(e=>(0,i.jsx)(`circle`,{cx:w/2,cy:O/2,r:k*e,fill:f,fillOpacity:.1},e))}),(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:O,children:(0,i.jsxs)(a.RadarChart,{data:E,outerRadius:`70%`,children:[!b&&!S&&(0,i.jsx)(a.PolarGrid,{gridType:ft.has(n)?`circle`:`polygon`,radialLines:n!==`circle-grid-no-lines`&&!x,stroke:p}),(0,i.jsx)(a.PolarAngleAxis,{dataKey:`label`,axisLine:!1,tick:n===`custom-label`?D:{fill:m,fontSize:12,fontFamily:`var(--font-sans)`}}),(0,i.jsx)(a.PolarRadiusAxis,{tick:!1,axisLine:!1,tickCount:x?2:void 0}),(0,i.jsx)(a.Tooltip,{content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}}),h&&(0,i.jsx)(a.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),b&&vt.map((e,t)=>(0,i.jsx)(a.Radar,{dataKey:`ring${t}`,stroke:`none`,fill:f,fillOpacity:.1,isAnimationActive:!1,legendType:`none`},`ring${t}`)),(0,i.jsx)(a.Radar,{name:h?s[0]??`Value`:void 0,dataKey:`value`,stroke:_t.has(n)?`none`:f,fill:v?f:`none`,fillOpacity:v?x?1:_?.45:.5:0,strokeWidth:_t.has(n)?0:2,dot:y?{r:4,fill:f,stroke:`none`}:!1,isAnimationActive:!1}),_&&(0,i.jsx)(a.Radar,{name:h?s[1]??`Value 2`:void 0,dataKey:`value2`,stroke:g?d:`none`,fill:g?`none`:d,fillOpacity:g?0:.8,strokeWidth:g?2:0,dot:y?{r:4,fill:d,stroke:`none`}:!1,isAnimationActive:!1})]})})]})},J={chart:`_chart_1ogmh_2`,gridSvg:`_gridSvg_1ogmh_19`,gaugeSvg:`_gaugeSvg_1ogmh_31`,center:`_center_1ogmh_36`,center__value:`_center__value_1ogmh_45`,center__caption:`_center__caption_1ogmh_46`},bt={sm:180,md:220,lg:280,xl:340},xt=Math.PI/180,St=e=>Math.round(e*1e3)/1e3,Ct={multi:[`30%`,`100%`],grid:[`30%`,`100%`],"stacked-label":[`30%`,`100%`],text:[`76%`,`100%`]},wt=({value:e,max:t,color:n,track:r,centerValue:a,centerCaption:o,labelColor:s,captionColor:c})=>{let l=Math.round(Math.min(e,t)/t*40);return(0,i.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:J.gaugeSvg,children:[Array.from({length:40}).map((e,t)=>{let a=180+t/39*180;return(0,i.jsx)(`line`,{x1:St(100+78*Math.cos(a*xt)),y1:St(100+78*Math.sin(a*xt)),x2:St(100+92*Math.cos(a*xt)),y2:St(100+92*Math.sin(a*xt)),stroke:t<l?n:r,strokeWidth:2.5,strokeLinecap:`round`},t)}),(a||o)&&(0,i.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[a&&(0,i.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:a}),o&&(0,i.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Tt=({rings:e,spokes:t,color:n})=>(0,i.jsxs)(`svg`,{viewBox:`0 0 200 200`,className:J.gridSvg,children:[Array.from({length:e}).map((t,r)=>(0,i.jsx)(`circle`,{cx:100,cy:100,r:(r+1)/e*96,fill:`none`,stroke:n,strokeWidth:1},r)),Array.from({length:t}).map((e,r)=>{let a=r/t*360,o=99.5*1.1;return(0,i.jsx)(`line`,{x1:100,y1:100,x2:St(100+o*Math.cos(a*xt)),y2:St(100+o*Math.sin(a*xt)),stroke:n,strokeWidth:1},r)})]}),Et=({data:e,palette:t,track:n,centerValue:r,centerCaption:o,labelColor:s,captionColor:c})=>{let l=e[0]?.max??e.reduce((e,t)=>e+t.value,0),u=210,d=e.map((e,n)=>{let r=l>0?e.value/l*240:0,i=u,a=u-r;return u=a,{segStart:i,segEnd:a,fill:t[n%t.length]}});return(0,i.jsxs)(`svg`,{viewBox:`0 0 200 160`,className:J.gaugeSvg,children:[d.map((e,t)=>(0,i.jsx)(a.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:e.segStart,endAngle:e.segEnd,fill:e.fill,cornerRadius:4},t)),u>-29.5&&(0,i.jsx)(a.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:u,endAngle:-30,fill:n,cornerRadius:4}),(r||o)&&(0,i.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[r&&(0,i.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:r}),o&&(0,i.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Dt=({data:e,variant:n=`multi`,size:o=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=r.default.useRef(null),d=t.st(u),f=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.ot[e-1]),p=d(`--color-bg-subtle`)??`#f5f4f2`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-default`)??`#141414`,g=d(`--color-fg-muted`)??`#78716a`,_=bt[o];if(n===`gauge-tick`){let t=e[0];return(0,i.jsx)(`div`,{ref:u,className:[J.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,i.jsx)(wt,{value:t?.value??0,max:t?.max??100,color:f[0],track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})})}if(n===`shape`||n===`stacked`||n===`stacked-3-layers`)return(0,i.jsx)(`div`,{ref:u,className:[J.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,i.jsx)(Et,{data:e,palette:f,track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})});let[v,y]=Ct[n]??[`30%`,`100%`],b=(n===`stacked-label`||n===`text`)&&(s||c);return(0,i.jsxs)(`div`,{ref:u,className:[J.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:[n===`grid`&&(0,i.jsx)(Tt,{rings:8,spokes:12,color:m}),(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,i.jsxs)(a.RadialBarChart,{data:e,innerRadius:v,outerRadius:y,startAngle:90,endAngle:-270,barCategoryGap:`12%`,children:[(0,i.jsx)(a.PolarAngleAxis,{type:`number`,domain:[0,e[0]?.max??100],tick:!1,axisLine:!1}),(0,i.jsx)(a.RadialBar,{dataKey:`value`,background:n!==`grid`&&{fill:p},cornerRadius:8,isAnimationActive:!1,children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:f[t%f.length]},t))})]})}),b&&(0,i.jsxs)(`div`,{className:J.center,children:[s&&(0,i.jsx)(`span`,{className:J.center__value,children:s}),c&&(0,i.jsx)(`span`,{className:J.center__caption,children:c})]})]})},Y={wrapper:`_wrapper_5ueza_3`,"wrapper--disabled":`_wrapper--disabled_5ueza_11`,input:`_input_5ueza_13`,circle:`_circle_5ueza_15`,dot:`_dot_5ueza_31`,text:`_text_5ueza_79`,text__label:`_text__label_5ueza_80`,text__description:`_text__description_5ueza_81`,"wrapper--withDescription":`_wrapper--withDescription_5ueza_85`},Ot=r.default.forwardRef(({label:e,description:t,disabled:n,id:a,className:o,...s},c)=>{let l=r.default.useId(),u=a??l;return(0,i.jsxs)(`label`,{htmlFor:u,className:[Y.wrapper,t?Y[`wrapper--withDescription`]:``,n?Y[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`input`,{ref:c,id:u,type:`radio`,disabled:n,className:Y.input,...s}),(0,i.jsx)(`span`,{className:Y.circle,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{className:Y.dot})}),(e||t)&&(0,i.jsxs)(`span`,{className:Y.text,children:[e&&(0,i.jsx)(`span`,{className:Y.text__label,children:e}),t&&(0,i.jsx)(`span`,{className:Y.text__description,children:t})]})]})});Ot.displayName=`Radio`;var X={footer:`_footer_x13xl_4`,"footer--collapsed":`_footer--collapsed_x13xl_12`,footer__text:`_footer__text_x13xl_14`,footer__title:`_footer__title_x13xl_15`,footer__subtitle:`_footer__subtitle_x13xl_16`,footer__menu:`_footer__menu_x13xl_17`,footer__action:`_footer__action_x13xl_29`},kt=({type:r=`user`,title:a,subtitle:o,avatarSrc:s,avatarInitials:c,collapsed:l,onMenu:u,onSignOut:d})=>{let f=(0,i.jsx)(t.Et,{size:l?`sm`:`md`,src:s,initials:c,alt:a??`User`});return l?(0,i.jsx)(`div`,{className:[X.footer,X[`footer--collapsed`]].join(` `),children:f}):r===`actions`?(0,i.jsx)(`div`,{className:X.footer,children:(0,i.jsxs)(`button`,{type:`button`,"data-hover-item":``,className:X.footer__action,onClick:d,children:[(0,i.jsx)(n.t,{size:16,strokeWidth:t.kt(16)}),` Sign out`]})}):(0,i.jsxs)(`div`,{className:X.footer,children:[f,(0,i.jsxs)(`span`,{className:X.footer__text,children:[a&&(0,i.jsx)(`span`,{className:X.footer__title,children:a}),o&&(0,i.jsx)(`span`,{className:X.footer__subtitle,children:o})]}),r===`user-menu`&&(0,i.jsx)(`button`,{type:`button`,"data-hover-item":``,className:X.footer__menu,onClick:u,"aria-label":`Open menu`,children:(0,i.jsx)(e.a,{size:16,strokeWidth:t.kt(16)})})]})},Z={search:`_search_4878u_2`,search__icon:`_search__icon_4878u_25`,search__input:`_search__input_4878u_26`,search__placeholder:`_search__placeholder_4878u_38`,search__kbd:`_search__kbd_4878u_39`,collapsed:`_collapsed_4878u_53`},At=({type:n=`field`,placeholder:r=`Search…`,collapsed:a,value:o,onChange:s,onClick:c})=>a?(0,i.jsx)(`button`,{type:`button`,className:Z.collapsed,onClick:c,"aria-label":`Search`,children:(0,i.jsx)(e.u,{size:18,strokeWidth:t.kt(18)})}):n===`command`?(0,i.jsxs)(`button`,{type:`button`,className:Z.search,onClick:c,children:[(0,i.jsx)(e.u,{size:16,strokeWidth:t.kt(16),className:Z.search__icon}),(0,i.jsx)(`span`,{className:Z.search__placeholder,children:r}),(0,i.jsx)(`kbd`,{className:Z.search__kbd,children:`⌘K`})]}):(0,i.jsxs)(`div`,{className:Z.search,children:[(0,i.jsx)(e.u,{size:16,strokeWidth:t.kt(16),className:Z.search__icon}),(0,i.jsx)(`input`,{className:Z.search__input,placeholder:r,value:o,onChange:e=>s?.(e.target.value)})]}),jt={spinner:`_spinner_14r00_3`,"spinner--sm":`_spinner--sm_14r00_12`,"spinner--md":`_spinner--md_14r00_13`,"spinner--lg":`_spinner--lg_14r00_14`,spinner__svg:`_spinner__svg_14r00_17`,"spinner-rotate":`_spinner-rotate_14r00_1`},Mt=({size:e=`md`,label:t=`Loading...`,className:n})=>(0,i.jsx)(`span`,{role:`status`,"aria-label":t,className:[jt.spinner,jt[`spinner--${e}`],n??``].filter(Boolean).join(` `),children:(0,i.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,"aria-hidden":`true`,className:jt.spinner__svg,children:[(0,i.jsx)(`circle`,{cx:12,cy:12,r:9,opacity:.2}),(0,i.jsx)(`path`,{d:`M12 3a9 9 0 0 1 9 9`,className:jt.spinner__arc})]})}),Q={stepper:`_stepper_1qhab_3`,"stepper--horizontal":`_stepper--horizontal_1qhab_4`,"stepper--vertical":`_stepper--vertical_1qhab_5`,step:`_step_1qhab_3`,"step--horizontal":`_step--horizontal_1qhab_8`,"step--vertical":`_step--vertical_1qhab_9`,circle:`_circle_1qhab_12`,circle__num:`_circle__num_1qhab_24`,"stepper--animated":`_stepper--animated_1qhab_28`,"circle--completed":`_circle--completed_1qhab_32`,"stepper-check":`_stepper-check_1qhab_1`,"circle--current":`_circle--current_1qhab_39`,"stepper-arrive":`_stepper-arrive_1qhab_1`,"circle--upcoming":`_circle--upcoming_1qhab_57`,step__text:`_step__text_1qhab_64`,step__label:`_step__label_1qhab_65`,"step__label--current":`_step__label--current_1qhab_66`,"step__label--upcoming":`_step__label--upcoming_1qhab_67`,step__desc:`_step__desc_1qhab_68`,connector:`_connector_1qhab_71`,connector__fill:`_connector__fill_1qhab_75`,"connector--vertical":`_connector--vertical_1qhab_82`,"connector--filled":`_connector--filled_1qhab_86`,"connector--horizontal":`_connector--horizontal_1qhab_88`},Nt=({index:n,state:r,label:a,description:o,orientation:s=`horizontal`,delay:c=0,fresh:l})=>(0,i.jsxs)(`div`,{className:[Q.step,Q[`step--${s}`]].join(` `),style:{"--delay":`${c}ms`},children:[(0,i.jsx)(`span`,{className:[Q.circle,Q[`circle--${r}`]].join(` `),"data-fresh":l||void 0,"aria-hidden":`true`,children:r===`completed`?(0,i.jsx)(e.k,{size:14,strokeWidth:t.kt(14)}):(0,i.jsx)(`span`,{className:Q.circle__num,children:n+1})}),(0,i.jsxs)(`span`,{className:Q.step__text,children:[(0,i.jsx)(`span`,{className:[Q.step__label,r===`current`?Q[`step__label--current`]:``,r===`upcoming`?Q[`step__label--upcoming`]:``].filter(Boolean).join(` `),children:a}),o&&(0,i.jsx)(`span`,{className:Q.step__desc,children:o})]})]}),Pt=457,Ft=({steps:e,current:t,orientation:n=`horizontal`,className:a})=>{let o=e=>e<t?`completed`:e===t?`current`:`upcoming`,s=(0,r.useRef)(t),[c,l]=(0,r.useState)(!1);(0,r.useEffect)(()=>{l(!0)},[]),(0,r.useEffect)(()=>{s.current=t},[t]);let u=s.current,d=(e,t)=>e<t?`completed`:e===t?`current`:`upcoming`,f=e=>c&&u!==t&&d(e,u)!==d(e,t),p=t>=u,m=Math.max(1,Math.abs(t-u)),h=Math.min(Pt,Math.floor(1430/m)),g=e=>p?e>=u&&e<=t?(e-u)*h:0:e>=t&&e<=u?(u-e)*h:0,_=e=>p?e>=u&&e<t?(e-u)*h:0:e>=t&&e<u?(u-1-e)*h+57:0;return(0,i.jsx)(`div`,{className:[Q.stepper,Q[`stepper--${n}`],c?Q[`stepper--animated`]:``,a??``].filter(Boolean).join(` `),style:{"--fill-ms":`${h}ms`},children:e.map((a,s)=>(0,i.jsxs)(r.default.Fragment,{children:[(0,i.jsx)(Nt,{index:s,state:o(s),label:a.label,description:a.description,orientation:n,delay:g(s),fresh:f(s)}),s<e.length-1&&(0,i.jsx)(`span`,{className:[Q.connector,Q[`connector--${n}`],s<t?Q[`connector--filled`]:``].filter(Boolean).join(` `),style:{"--delay":`${_(s)}ms`},"aria-hidden":`true`,children:(0,i.jsx)(`span`,{className:Q.connector__fill})})]},s))})},$={wrapper:`_wrapper_1d89w_3`,"wrapper--disabled":`_wrapper--disabled_1d89w_11`,input:`_input_1d89w_13`,track:`_track_1d89w_15`,thumb:`_thumb_1d89w_28`,"wrapper--stretch":`_wrapper--stretch_1d89w_50`,label:`_label_1d89w_60`,"wrapper--withDescription":`_wrapper--withDescription_1d89w_65`,text:`_text_1d89w_66`,description:`_description_1d89w_68`},It=16,Lt=2,Rt=18,zt=360,Bt=16,Vt=e=>1-(1-e)**3,Ht=.16,Ut=r.default.forwardRef(({label:e,description:t,disabled:n,id:a,className:o,onChange:s,variant:c=`default`,...l},u)=>{let d=r.default.useId(),f=a??d,p=r.default.useRef(null);return(0,i.jsxs)(`label`,{htmlFor:f,className:[$.wrapper,c===`stretch`?$[`wrapper--stretch`]:``,t?$[`wrapper--withDescription`]:``,n?$[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`input`,{ref:u,id:f,type:`checkbox`,role:`switch`,disabled:n,className:$.input,onChange:e=>{s?.(e);let t=p.current;if(c!==`stretch`||!t||typeof t.animate!=`function`||window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches)return;let n=e.target.checked,r=getComputedStyle(t),i=parseFloat(r.translate)||0,a=parseFloat(r.width)||It,o=(n?Lt:Rt)+i,l=o+a,u=n?Rt:Lt,d=u+It;t.getAnimations().forEach(e=>e.cancel());let f=[];for(let e=0;e<=Bt;e++){let t=e/Bt,r=Vt(t),i=Vt(Math.min(1,Math.max(0,(t-Ht)/(1-Ht)))),a=o+(u-o)*(n?i:r),s=l+(d-l)*(n?r:i);f.push({width:`${s-a}px`,translate:`${a-u}px 0`,offset:t})}t.animate(f,{duration:zt,easing:`linear`})},...l}),(0,i.jsx)(`span`,{className:$.track,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{ref:p,className:$.thumb})}),t?(0,i.jsxs)(`span`,{className:$.text,children:[e&&(0,i.jsx)(`span`,{className:$.label,children:e}),(0,i.jsx)(`span`,{className:$.description,children:t})]}):e&&(0,i.jsx)(`span`,{className:$.label,children:e})]})});Ut.displayName=`Switch`;var Wt={field:`_field_53t87_6`,field__label:`_field__label_53t87_8`,field__description:`_field__description_53t87_10`,field__error:`_field__error_53t87_11`,textarea:`_textarea_53t87_13`,"textarea--error":`_textarea--error_53t87_37`,"textarea--disabled":`_textarea--disabled_53t87_52`},Gt=r.default.forwardRef(({label:e,description:t,error:n,disabled:a,id:o,className:s,rows:c=3,...l},u)=>{let d=r.default.useId(),f=o??d,p=!!n,m=t||n?`${f}-desc`:void 0;return(0,i.jsxs)(`div`,{className:[Wt.field,s??``].filter(Boolean).join(` `),children:[e&&(0,i.jsx)(`label`,{htmlFor:f,className:Wt.field__label,children:e}),(0,i.jsx)(`textarea`,{ref:u,id:f,rows:c,disabled:a,"aria-invalid":p||void 0,"aria-describedby":m,className:[Wt.textarea,p?Wt[`textarea--error`]:``,a?Wt[`textarea--disabled`]:``].filter(Boolean).join(` `),...l}),(t||n)&&(0,i.jsx)(`span`,{id:m,className:p?Wt.field__error:Wt.field__description,children:n||t})]})});Gt.displayName=`Textarea`;var Kt={toast:`_toast_dshlf_3`,toast__icon:`_toast__icon_dshlf_17`,"toast--success":`_toast--success_dshlf_18`,"toast--error":`_toast--error_dshlf_19`,"toast--info":`_toast--info_dshlf_20`,toast__content:`_toast__content_dshlf_22`,toast__title:`_toast__title_dshlf_23`,toast__description:`_toast__description_dshlf_24`,toast__dismiss:`_toast__dismiss_dshlf_26`},qt={success:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,i.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),error:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,i.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,i.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),info:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,i.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,i.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},Jt=({status:e=`info`,title:n,description:r,onDismiss:a,className:o})=>(0,i.jsxs)(`div`,{role:e===`error`?`alert`:`status`,"aria-live":e===`error`?`assertive`:`polite`,className:[Kt.toast,Kt[`toast--${e}`],o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:Kt.toast__icon,"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:qt[e]})}),(0,i.jsxs)(`div`,{className:Kt.toast__content,children:[n&&(0,i.jsx)(`div`,{className:Kt.toast__title,children:n}),r&&(0,i.jsx)(`div`,{className:Kt.toast__description,children:r})]}),a&&(0,i.jsx)(`button`,{type:`button`,className:Kt.toast__dismiss,onClick:a,"aria-label":`Dismiss`,children:(0,i.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(16),strokeLinecap:`round`,strokeLinejoin:`round`,width:16,height:16,children:[(0,i.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,i.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]}),Yt={bar:`_bar_14cqo_2`,bar__icon:`_bar__icon_14cqo_10`,bar__title:`_bar__title_14cqo_17`,"bar__title--center":`_bar__title--center_14cqo_21`,bar__search:`_bar__search_14cqo_22`},Xt=({type:n=`title`,title:r,trailing:a,search:o,onMenu:s,onAction:c,onClose:l,className:u})=>(0,i.jsxs)(`header`,{className:[Yt.bar,u??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`button`,{type:`button`,className:Yt.bar__icon,onClick:s,"aria-label":`Open menu`,children:(0,i.jsx)(e.b,{size:18,strokeWidth:t.kt(18)})}),n===`search`?(0,i.jsx)(`div`,{className:Yt.bar__search,children:o}):(0,i.jsx)(`span`,{className:[Yt.bar__title,n===`title-centered`?Yt[`bar__title--center`]:``].join(` `),children:r}),n===`title-action`&&(0,i.jsx)(`button`,{type:`button`,className:Yt.bar__icon,onClick:c,"aria-label":`Add`,children:(0,i.jsx)(e.T,{size:18,strokeWidth:t.kt(18)})}),n===`search`&&(0,i.jsx)(`button`,{type:`button`,className:Yt.bar__icon,onClick:l,"aria-label":`Close search`,children:(0,i.jsx)(e.F,{size:18,strokeWidth:t.kt(18)})}),(n===`title`||n===`title-centered`)&&a]});exports.Accordion=t.Dt,exports.AccordionItem=t.Ot,exports.ActivityFeed=t.wt,exports.ActivityFeedHighlight=t.Tt,exports.Alert=t.F,exports.Announcement=s,exports.AreaChart=Me,exports.Avatar=t.Et,exports.AvatarGroup=t.B,exports.AvatarUpload=t.bt,exports.Badge=t.rt,exports.Balance=t.yt,exports.BarChart=t.it,exports.BlogBlockquote=ae,exports.BlogFeatureText=oe,exports.BlogImage=se,exports.BlogListingCard=t.U,exports.BlogListingFeaturedCard=t.H,exports.BoardCard=t.P,exports.BoardColumn=Ne,exports.Breadcrumb=t.j,exports.Button=t.xt,exports.Calendar=Re,exports.Card=ze,exports.CardMetaItem=t.A,exports.CartItem=t.tt,exports.ChatComposer=t.k,exports.Checkbox=t.O,exports.CheckoutSteps=t.$,exports.CodeSnippet=f,exports.ColorSwatch=t.Z,exports.Combobox=Be,exports.ConversationItem=t.D,exports.DEFAULT_CHECKOUT_STEPS=t.et,exports.Divider=t.ft,exports.DonutChart=t.E,exports.EmptyState=t.T,exports.Expenses=h,exports.FacebookIcon=Oe,exports.FeaturedIcon=t.V,exports.FileUpload=Ve,exports.FilterChip=t.w,exports.FirstPageHeading=ce,exports.FunnelChart=Ke,exports.GithubIcon=xe,exports.HeatmapChart=Ye,exports.HoverGroup=t.M,exports.IconButton=t.St,exports.InlineHint=v,exports.Input=t.C,exports.InstagramIcon=De,exports.JobListing=t.R,exports.Kbd=Ze,exports.Label=$e,exports.LineChart=t.S,exports.Link=t.Ct,exports.LinkedinIcon=ke,exports.LiquidBackdrop=t.pt,exports.LiquidGlass=t.mt,exports.List=ue,exports.ListItem=et,exports.LocationDot=t.z,exports.Marquee=pe,exports.Menu=t.b,exports.MenuDivider=t.x,exports.MenuItem=t.y,exports.MessageBubble=t.v,exports.Metric=me,exports.MobileNavigationMenu=he,exports.Modal=t.dt,exports.NotificationItem=t.ut,exports.Pagination=t._,exports.PieChart=ct,exports.PlaceholderLogo=ve,exports.Popover=lt,exports.PriceDisplay=t.X,exports.ProductCard=t.J,exports.ProductGallery=t.q,exports.ProfileCard=ye,exports.Progress=t.vt,exports.ProgressItem=b,exports.ProgressStat=t.lt,exports.QuantitySelector=t.nt,exports.RadarChart=yt,exports.RadialChart=Dt,exports.Radio=Ot,exports.RichSeparator=S,exports.RichTextHeading=Ce,exports.RichTextParagraph=Te,exports.SectionHeading=t.L,exports.SegmentedControl=t.g,exports.Select=t.h,exports.Sidebar=t.m,exports.SidebarDivider=t.p,exports.SidebarFooter=kt,exports.SidebarGroupLabel=t.f,exports.SidebarHeader=t.d,exports.SidebarItem=t.u,exports.SidebarPromo=t.l,exports.SidebarSearch=At,exports.SidebarSubItem=t.c,exports.SizeSelector=t.K,exports.Skeleton=t.s,exports.Slider=t.o,exports.SpendingBalance=t.ct,exports.Spinner=Mt,exports.StarRating=t.G,exports.StatCard=t.a,exports.Stepper=Ft,exports.StepperStep=Nt,exports.StockMarket=T,exports.StockStatus=t.W,exports.SubFeature=Ee,exports.Switch=Ut,exports.Table=t.i,exports.Tabs=t.r,exports.Tags=O,exports.TeamCard=t.I,exports.Textarea=Gt,exports.Ticker=ne,exports.Toast=Jt,exports.Tooltip=t.n,exports.TopBar=t.t,exports.TopBarMobile=Xt,exports.Transactions=ie,exports.WishlistButton=t.Y,exports.XIcon=be,exports.getContrastColor=t.Q,exports.iconStrokeWidth=t.kt,exports.syncLiquidBackdrop=t.ht,exports.useHoverHighlight=t.N,exports.useLiquidGlass=t.gt;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./help-circle-BLp_TUx3.cjs"),t=require("./TopBar-rSTYQ9IY.cjs"),n=require("./logout-DFzH8ZuM.cjs");let r=require("react");r=e.z(r,1);let i=require("react/jsx-runtime"),a=require("recharts");var o={announcement:`_announcement_1ba3c_1`,"announcement--neutral":`_announcement--neutral_1ba3c_13`,"announcement--urgent":`_announcement--urgent_1ba3c_16`,content:`_content_1ba3c_20`,icon:`_icon_1ba3c_28`,icon__neutral:`_icon__neutral_1ba3c_32`,message:`_message_1ba3c_36`,link:`_link_1ba3c_52`},s=({message:n,linkLabel:r,linkHref:a,onLinkClick:s,onDismiss:c,variant:l=`neutral`,className:u})=>{let d=l===`urgent`;return(0,i.jsxs)(`div`,{className:[o.announcement,o[`announcement--${l}`],u??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:o.content,children:[(0,i.jsx)(`span`,{className:o.icon,"aria-hidden":`true`,children:d?(0,i.jsx)(e.I,{size:24,strokeWidth:1.5,style:{fill:`var(--color-info-solid)`,stroke:`var(--color-info-bg)`}}):(0,i.jsx)(e.L,{size:24,strokeWidth:1.5,fill:`currentColor`,stroke:`currentColor`,className:o.icon__neutral})}),(0,i.jsx)(`p`,{className:o.message,children:n}),!d&&r&&(0,i.jsx)(t.Ct,{href:a,onClick:s,className:o.link,style:{color:`var(--color-brand-fg)`,fontSize:16,lineHeight:`24px`},children:r})]}),c&&(0,i.jsx)(t.St,{icon:e.F,size:`sm`,variant:`ghost`,"aria-label":`Dismiss`,onClick:c})]})},c={snippet:`_snippet_1ao90_1`,header:`_header_1ao90_12`,filename:`_filename_1ao90_19`,body:`_body_1ao90_31`,tokenKeyword:`_tokenKeyword_1ao90_42`,tokenString:`_tokenString_1ao90_43`,editableBody:`_editableBody_1ao90_50`,textarea:`_textarea_1ao90_55`},l=[`import`,`export`,`from`,`default`,`function`,`return`,`const`,`let`,`var`,`if`,`else`,`for`,`while`,`class`,`extends`,`new`,`async`,`await`,`as`,`of`,`in`],u=RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${l.join(`|`)})\\b)`,`g`),d=e=>e.split(u).map((e,t)=>{if(!e)return null;let n=/^['"`]/.test(e),a=!n&&l.includes(e);return n?(0,i.jsx)(`span`,{className:c.tokenString,children:e},t):a?(0,i.jsx)(`span`,{className:c.tokenKeyword,children:e},t):(0,i.jsx)(r.default.Fragment,{children:e},t)}),f=({code:a,filename:o,onCopy:s,editable:l=!1,onChange:u,placeholder:f,className:p})=>{let[m,h]=r.default.useState(!1),[g,_]=r.default.useState(a);r.default.useEffect(()=>_(a),[a]);let v=()=>{navigator.clipboard?.writeText(g),s?.(g),h(!0),window.setTimeout(()=>h(!1),1500)},y=e=>{_(e),u?.(e)},b=l?(0,i.jsxs)(`div`,{className:c.editableBody,children:[(0,i.jsx)(`pre`,{className:c.body,"aria-hidden":`true`,children:d(g)}),(0,i.jsx)(`textarea`,{className:c.textarea,value:g,placeholder:f,spellCheck:!1,onChange:e=>y(e.target.value),onKeyDown:e=>{if(e.key!==`Tab`)return;e.preventDefault();let t=e.currentTarget,{selectionStart:n,selectionEnd:r}=t,i=`${g.slice(0,n)} ${g.slice(r)}`;y(i),requestAnimationFrame(()=>{t.selectionStart=t.selectionEnd=n+2})}})]}):(0,i.jsx)(`pre`,{className:c.body,children:d(g)});return o?(0,i.jsxs)(`div`,{className:[c.snippet,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:c.header,children:[(0,i.jsx)(`p`,{className:c.filename,children:o}),(0,i.jsx)(t.St,{icon:m?e.k:n.s,variant:`ghost`,size:`sm`,"aria-label":m?`Copied`:`Copy code`,onClick:v})]}),b]}):(0,i.jsx)(`div`,{className:[c.snippet,p??``].filter(Boolean).join(` `),children:b})},p={expenses:`_expenses_1imiq_1`,row:`_row_1imiq_10`,top:`_top_1imiq_18`,left:`_left_1imiq_26`,icon:`_icon_1imiq_32`,label:`_label_1imiq_44`,amount:`_amount_1imiq_55`},m=e=>e.toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),h=({categories:e,variant:n=`default`,formatAmount:r=m,className:a})=>{let o=n===`compact`,s=Math.max(1,...e.map(e=>e.amount));return(0,i.jsx)(`div`,{className:[p.expenses,a??``].filter(Boolean).join(` `),children:e.map((e,n)=>(0,i.jsxs)(`div`,{className:p.row,children:[(0,i.jsxs)(`div`,{className:p.top,children:[(0,i.jsxs)(`div`,{className:p.left,children:[(0,i.jsx)(`span`,{className:p.icon,"aria-hidden":`true`,children:e.icon}),(0,i.jsx)(`p`,{className:p.label,children:e.label})]}),(0,i.jsx)(`p`,{className:p.amount,children:r(e.amount)})]}),!o&&(0,i.jsx)(t.vt,{value:e.amount/s*100,size:`lg`,label:`${e.label} spending`})]},e.id??n))})},g={hint:`_hint_49nyi_1`,bar:`_bar_49nyi_9`,"hint--neutral":`_hint--neutral_49nyi_15`,"hint--warning":`_hint--warning_49nyi_16`,icon:`_icon_49nyi_18`,message:`_message_49nyi_24`},_=14,v=({message:r,variant:a=`neutral`,className:o})=>{let s=a===`warning`?e.I:n.o;return(0,i.jsxs)(`div`,{className:[g.hint,g[`hint--${a}`],o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:g.bar,"aria-hidden":`true`}),(0,i.jsx)(s,{size:_,strokeWidth:t.kt(_),className:g.icon}),(0,i.jsx)(`p`,{className:g.message,children:r})]})},y={item:`_item_jnz6o_1`,"item--horizontal":`_item--horizontal_jnz6o_6`,"item--vertical":`_item--vertical_jnz6o_11`,"text--single":`_text--single_jnz6o_18`,text:`_text_jnz6o_18`,value:`_value_jnz6o_28`,topRow:`_topRow_jnz6o_43`,connectorHorizontal:`_connectorHorizontal_jnz6o_48`,rail:`_rail_jnz6o_56`,connectorVertical:`_connectorVertical_jnz6o_63`,title:`_title_jnz6o_77`,description:`_description_jnz6o_85`},b=({step:n,title:r,description:a,completed:o=!1,orientation:s=`horizontal`,isLast:c=!1,className:l})=>{let u=s===`vertical`,d=(0,i.jsx)(`span`,{className:y.value,"aria-hidden":`true`,children:o?(0,i.jsx)(e.k,{size:14,strokeWidth:t.kt(14)}):n}),f=(0,i.jsxs)(`div`,{className:[y.text,a?``:y[`text--single`]].filter(Boolean).join(` `),children:[(0,i.jsx)(`p`,{className:y.title,children:r}),a&&(0,i.jsx)(`p`,{className:y.description,children:a})]});return u?(0,i.jsxs)(`div`,{className:[y.item,y[`item--vertical`],l??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:y.rail,children:[d,!c&&(0,i.jsx)(`div`,{className:y.connectorVertical})]}),f]}):(0,i.jsxs)(`div`,{className:[y.item,y[`item--horizontal`],l??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:y.topRow,children:[d,!c&&(0,i.jsx)(`div`,{className:y.connectorHorizontal})]}),f]})},x={separator:`_separator_pcfo8_1`,line:`_line_pcfo8_9`,overline:`_overline_pcfo8_19`,badge:`_badge_pcfo8_31`,iconWrap:`_iconWrap_pcfo8_37`},S=({children:e,label:n,className:r})=>(0,i.jsxs)(`div`,{className:[x.separator,r??``].filter(Boolean).join(` `),role:`separator`,children:[(0,i.jsx)(t.ft,{className:x.line}),e??(n&&(0,i.jsx)(`span`,{className:x.overline,children:n})),(0,i.jsx)(t.ft,{className:x.line})]}),C={row:`_row_5wjem_2`,left:`_left_5wjem_16`,logo:`_logo_5wjem_23`,logoLg:`_logoLg_5wjem_29`,text:`_text_5wjem_36`,symbol:`_symbol_5wjem_42`,name:`_name_5wjem_50`,right:`_right_5wjem_59`,price:`_price_5wjem_65`,changeRow:`_changeRow_5wjem_73`,changeText:`_changeText_5wjem_78`,trendUp:`_trendUp_5wjem_84`,trendDown:`_trendDown_5wjem_85`,card:`_card_5wjem_88`,header:`_header_5wjem_102`,headerIcon:`_headerIcon_5wjem_109`,headerLabel:`_headerLabel_5wjem_110`,tickerRow:`_tickerRow_5wjem_117`,body:`_body_5wjem_125`,priceRow:`_priceRow_5wjem_132`,priceGroup:`_priceGroup_5wjem_139`,priceLg:`_priceLg_5wjem_144`,changeRowLg:`_changeRowLg_5wjem_153`,changeTextLg:`_changeTextLg_5wjem_158`,chart:`_chart_5wjem_165`},w=e=>Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`}),T=({logo:r,symbol:a,name:o,price:s,change:c,formatAmount:l=w,chart:u,periodLabel:d=`Last 6 months`,onPeriodClick:f,className:p})=>{let m=c.amount>=0,h=m?e.j:e.A,g=m?`+`:`-`,_=`${g}${l(c.amount)} (${g}${Math.abs(c.percent)}%)`,v=m?C.trendUp:C.trendDown;return u?(0,i.jsxs)(`div`,{className:[C.card,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:C.header,children:[(0,i.jsx)(n.a,{size:16,strokeWidth:t.kt(16),className:C.headerIcon}),(0,i.jsx)(`span`,{className:C.headerLabel,children:`Stock market`})]}),(0,i.jsxs)(`div`,{className:C.tickerRow,children:[(0,i.jsx)(`span`,{className:C.logoLg,"aria-hidden":`true`,children:r}),(0,i.jsxs)(`div`,{className:C.text,children:[(0,i.jsx)(`p`,{className:C.symbol,children:a}),(0,i.jsx)(`p`,{className:C.name,children:o})]})]}),(0,i.jsxs)(`div`,{className:C.body,children:[(0,i.jsxs)(`div`,{className:C.priceRow,children:[(0,i.jsxs)(`div`,{className:C.priceGroup,children:[(0,i.jsx)(`p`,{className:C.priceLg,children:l(s)}),(0,i.jsxs)(`div`,{className:C.changeRowLg,children:[(0,i.jsx)(h,{size:24,strokeWidth:t.kt(24),className:v}),(0,i.jsx)(`span`,{className:[C.changeTextLg,v].join(` `),children:_})]})]}),(0,i.jsx)(t.xt,{variant:`outline`,size:`sm`,rightIcon:(0,i.jsx)(e.D,{size:16,strokeWidth:t.kt(16)}),onClick:f,children:d})]}),(0,i.jsx)(t.it,{data:u,className:C.chart})]})]}):(0,i.jsxs)(`div`,{className:[C.row,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:C.left,children:[(0,i.jsx)(`span`,{className:C.logo,"aria-hidden":`true`,children:r}),(0,i.jsxs)(`div`,{className:C.text,children:[(0,i.jsx)(`p`,{className:C.symbol,children:a}),(0,i.jsx)(`p`,{className:C.name,children:o})]})]}),(0,i.jsxs)(`div`,{className:C.right,children:[(0,i.jsx)(`p`,{className:C.price,children:l(s)}),(0,i.jsxs)(`div`,{className:C.changeRow,children:[(0,i.jsx)(h,{size:20,strokeWidth:t.kt(20),className:v}),(0,i.jsx)(`span`,{className:[C.changeText,v].join(` `),children:_})]})]})]})},E={tags:`_tags_bsi1x_1`,remove:`_remove_bsi1x_8`,tag:`_tag_bsi1x_1`,"tag--leaving":`_tag--leaving_bsi1x_22`},D=160,O=({tags:n,onRemove:a,className:o})=>{let[s,c]=r.default.useState(null),l=r.default.useRef(void 0);r.default.useEffect(()=>()=>window.clearTimeout(l.current),[]);let u=(e,t)=>{if(!(!a||s)){if(window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches){a(e,t);return}c(e),l.current=window.setTimeout(()=>{a(e,t),c(null)},D)}};return(0,i.jsx)(`div`,{className:[E.tags,o??``].filter(Boolean).join(` `),children:n.map((n,r)=>(0,i.jsx)(t.rt,{className:[E.tag,s===n?E[`tag--leaving`]:``].filter(Boolean).join(` `),rightIcon:a&&(0,i.jsx)(`button`,{type:`button`,className:E.remove,onClick:()=>u(n,r),"aria-label":`Remove ${n}`,children:(0,i.jsx)(e.F,{size:12,strokeWidth:t.kt(12)})}),children:n},n))})},k={ticker:`_ticker_6xnxy_1`,track:`_track_6xnxy_9`,"ticker-scroll":`_ticker-scroll_6xnxy_1`,row:`_row_6xnxy_24`,item:`_item_6xnxy_33`,symbol:`_symbol_6xnxy_40`,change:`_change_6xnxy_49`,trendUp:`_trendUp_6xnxy_57`,trendDown:`_trendDown_6xnxy_58`,fadeLeft:`_fadeLeft_6xnxy_60`,fadeRight:`_fadeRight_6xnxy_61`},ee=e=>`${e>=0?`+`:``}${e}%`,te=({items:n,formatChange:r,ariaHidden:a})=>(0,i.jsx)(`div`,{className:k.row,"aria-hidden":a,children:n.map((n,a)=>{let o=n.changePercent>=0,s=o?e.j:e.A,c=o?k.trendUp:k.trendDown;return(0,i.jsxs)(`div`,{className:k.item,children:[(0,i.jsx)(`span`,{className:k.symbol,children:n.symbol}),(0,i.jsx)(s,{size:14,strokeWidth:t.kt(14),className:c}),(0,i.jsx)(`span`,{className:[k.change,c].join(` `),children:r(n.changePercent)})]},`${n.symbol}-${a}`)})}),ne=({items:e,speed:t=40,formatChange:n=ee,className:a})=>{let o=r.default.useRef(null),[s,c]=r.default.useState(20);return r.default.useEffect(()=>{let e=o.current;if(!e)return;let n=e.firstElementChild;if(!n)return;let r=()=>{let e=n.scrollWidth;e>0&&c(e/t)};r();let i=new ResizeObserver(r);return i.observe(n),()=>i.disconnect()},[e,t]),(0,i.jsxs)(`div`,{className:[k.ticker,a??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{ref:o,className:k.track,style:{"--ticker-duration":`${s}s`},children:[(0,i.jsx)(te,{items:e,formatChange:n}),(0,i.jsx)(te,{items:e,formatChange:n,ariaHidden:!0})]}),(0,i.jsx)(`div`,{className:k.fadeLeft,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:k.fadeRight,"aria-hidden":`true`})]})},A={list:`_list_ovxee_1`,row:`_row_ovxee_9`,rowLast:`_rowLast_ovxee_18`,left:`_left_ovxee_22`,iconWrap:`_iconWrap_ovxee_29`,info:`_info_ovxee_41`,name:`_name_ovxee_46`,category:`_category_ovxee_54`,amount:`_amount_ovxee_63`,amountUp:`_amountUp_ovxee_71`,amountDown:`_amountDown_ovxee_72`,empty:`_empty_ovxee_75`,emptyIcon:`_emptyIcon_ovxee_86`,emptyTitle:`_emptyTitle_ovxee_89`,emptyDesc:`_emptyDesc_ovxee_96`},j=e=>`${e>=0?`+`:`-`}${Math.abs(e).toLocaleString(`en-US`,{style:`currency`,currency:`USD`})}`,M=({transactions:e,formatAmount:r=j,emptyTitle:a=`No transactions yet`,emptyDescription:o=`Your activity will show up here.`,className:s})=>e.length===0?(0,i.jsxs)(`div`,{className:[A.empty,s??``].filter(Boolean).join(` `),children:[(0,i.jsx)(n.i,{size:24,strokeWidth:t.kt(24),className:A.emptyIcon}),(0,i.jsx)(`p`,{className:A.emptyTitle,children:a}),(0,i.jsx)(`p`,{className:A.emptyDesc,children:o})]}):(0,i.jsx)(`div`,{className:[A.list,s??``].filter(Boolean).join(` `),children:e.map((t,n)=>{let a=t.amount>=0;return(0,i.jsxs)(`div`,{className:[A.row,n===e.length-1?A.rowLast:``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:A.left,children:[(0,i.jsx)(`span`,{className:A.iconWrap,"aria-hidden":`true`,children:t.icon}),(0,i.jsxs)(`div`,{className:A.info,children:[(0,i.jsx)(`p`,{className:A.name,children:t.name}),(0,i.jsx)(`p`,{className:A.category,children:t.category})]})]}),(0,i.jsx)(`p`,{className:[A.amount,a?A.amountUp:A.amountDown].join(` `),children:r(t.amount)})]},t.id??`${t.name}-${n}`)})}),N={root:`_root_19qxp_1`,rootAttributed:`_rootAttributed_19qxp_10`,rootSimple:`_rootSimple_19qxp_18`,rail:`_rail_19qxp_27`,body:`_body_19qxp_37`,markRow:`_markRow_19qxp_46`,markRowEnd:`_markRowEnd_19qxp_51`,mark:`_mark_19qxp_46`,quoteAttributed:`_quoteAttributed_19qxp_59`,quoteSimple:`_quoteSimple_19qxp_68`,author:`_author_19qxp_77`,authorText:`_authorText_19qxp_83`,authorName:`_authorName_19qxp_91`},re=({quote:n,author:r,className:a})=>{let o=!!r;return(0,i.jsxs)(`div`,{className:[N.root,o?N.rootAttributed:N.rootSimple,a??``].filter(Boolean).join(` `),children:[(0,i.jsx)(t.ft,{orientation:`vertical`,className:N.rail}),(0,i.jsxs)(`div`,{className:N.body,children:[o&&(0,i.jsx)(`span`,{className:N.markRow,"aria-hidden":`true`,children:(0,i.jsx)(e.x,{size:12,strokeWidth:t.kt(12),className:N.mark,fill:`currentColor`})}),(0,i.jsx)(`p`,{className:o?N.quoteAttributed:N.quoteSimple,children:o?n:`"${n}"`}),o&&(0,i.jsx)(`span`,{className:[N.markRow,N.markRowEnd].join(` `),"aria-hidden":`true`,children:(0,i.jsx)(e.x,{size:12,strokeWidth:t.kt(12),className:N.mark,fill:`currentColor`})}),r&&(0,i.jsxs)(`div`,{className:N.author,children:[(0,i.jsx)(t.Et,{size:`sm`,src:r.avatarSrc,alt:r.avatarAlt??r.name}),(0,i.jsxs)(`p`,{className:N.authorText,children:[(0,i.jsx)(`span`,{className:N.authorName,children:r.name}),(0,i.jsxs)(`span`,{className:N.authorRole,children:[`, `,r.role]})]})]})]})]})},P={root:`_root_btuyr_1`,rootLeft:`_rootLeft_btuyr_13`,rootTop:`_rootTop_btuyr_19`,ruleLeft:`_ruleLeft_btuyr_24`,ruleTop:`_ruleTop_btuyr_31`,text:`_text_btuyr_39`},ie=({text:e,align:t=`left`,className:n})=>(0,i.jsxs)(`div`,{className:[P.root,t===`top`?P.rootTop:P.rootLeft,n??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:t===`top`?P.ruleTop:P.ruleLeft,"aria-hidden":`true`}),(0,i.jsx)(`p`,{className:P.text,children:e})]}),F={root:`_root_awxwk_1`,imageWrap:`_imageWrap_awxwk_10`,"root--large":`_root--large_awxwk_27`,"root--small":`_root--small_awxwk_33`,image:`_image_awxwk_10`,caption:`_caption_awxwk_47`},I=({src:e,alt:t=``,size:n=`large`,caption:r,className:a})=>(0,i.jsxs)(`figure`,{className:[F.root,F[`root--${n}`],a??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:F.imageWrap,children:(0,i.jsx)(`img`,{src:e,alt:t,className:F.image})}),r&&(0,i.jsx)(`figcaption`,{className:F.caption,children:r})]}),L={root:`_root_uc5r9_1`,rootCenter:`_rootCenter_uc5r9_10`,rootLeft:`_rootLeft_uc5r9_15`,title:`_title_uc5r9_20`,description:`_description_uc5r9_30`,ctaRow:`_ctaRow_uc5r9_39`,avatarBlock:`_avatarBlock_uc5r9_45`,avatarsCaption:`_avatarsCaption_uc5r9_57`},ae=({title:e,description:r,badgeLabel:a,primaryCta:o,secondaryCta:s,avatars:c,avatarsCaption:l,align:u=`center`,className:d})=>{let f=!!(o||s),p=!!(c&&c.length>0);return(0,i.jsxs)(`div`,{className:[L.root,u===`left`?L.rootLeft:L.rootCenter,d??``].filter(Boolean).join(` `),children:[a&&(0,i.jsx)(t.rt,{variant:`accent`,emphasis:`subtle`,children:a}),(0,i.jsx)(`p`,{className:L.title,children:e}),r&&(0,i.jsx)(`p`,{className:L.description,children:r}),f&&(0,i.jsxs)(`div`,{className:L.ctaRow,children:[o&&(0,i.jsx)(t.xt,{variant:`primary`,onClick:o.onClick,children:o.label}),s&&(0,i.jsx)(t.xt,{variant:`secondary`,leftIcon:(0,i.jsx)(n.r,{size:16,strokeWidth:t.kt(16),fill:`currentColor`}),onClick:s.onClick,children:s.label})]}),p&&(0,i.jsxs)(`div`,{className:L.avatarBlock,children:[(0,i.jsx)(t.B,{size:`md`,avatars:c}),l&&(0,i.jsx)(`p`,{className:L.avatarsCaption,children:l})]})]})},oe={root:`_root_5kajg_1`,item:`_item_5kajg_12`,marker:`_marker_5kajg_18`,dot:`_dot_5kajg_26`,label:`_label_5kajg_34`},se=({items:r,style:a=`check`,className:o})=>(0,i.jsx)(`ul`,{className:[oe.root,o??``].filter(Boolean).join(` `),children:r.map((r,o)=>(0,i.jsxs)(`li`,{className:oe.item,children:[(0,i.jsxs)(`span`,{className:oe.marker,"aria-hidden":`true`,children:[a===`check`&&(0,i.jsx)(e.k,{size:18,strokeWidth:t.kt(18)}),a===`arrow`&&(0,i.jsx)(n.n,{size:16,strokeWidth:t.kt(16)}),a===`bullet`&&(0,i.jsx)(`span`,{className:oe.dot})]}),(0,i.jsx)(`span`,{className:oe.label,children:r})]},o))}),ce={marquee:`_marquee_1pc4i_1`,track:`_track_1pc4i_13`,row:`_row_1pc4i_19`,item:`_item_1pc4i_25`,fadeLeft:`_fadeLeft_1pc4i_31`,fadeRight:`_fadeRight_1pc4i_32`},le=({items:e,gap:t,ariaHidden:n})=>(0,i.jsx)(`div`,{className:ce.row,style:{gap:t,paddingRight:t},"aria-hidden":n,children:e.map((e,t)=>(0,i.jsx)(`div`,{className:ce.item,children:e},t))}),ue=({items:e,speed:t=40,gap:n,className:a})=>{let o=r.default.useRef(null),s=r.default.useRef(0),c=r.default.useRef(0),l=r.default.useRef(!1);return r.default.useEffect(()=>{let e=o.current?.firstElementChild;if(!e)return;let t=()=>{s.current=e.scrollWidth};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[e,n]),r.default.useEffect(()=>{let e=o.current;if(!e||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let n,r=performance.now(),i=()=>{let a=performance.now(),o=(a-r)/1e3;r=a;let u=l.current?t*.2:t,d=s.current;d>0&&(c.current=(c.current+u*o)%d,e.style.transform=`translateX(-${c.current}px)`),n=setTimeout(i,16)};return n=setTimeout(i,16),()=>clearTimeout(n)},[t]),(0,i.jsxs)(`div`,{className:[ce.marquee,a??``].filter(Boolean).join(` `),onMouseEnter:()=>{l.current=!0},onMouseLeave:()=>{l.current=!1},children:[(0,i.jsxs)(`div`,{ref:o,className:ce.track,children:[(0,i.jsx)(le,{items:e,gap:n}),(0,i.jsx)(le,{items:e,gap:n,ariaHidden:!0})]}),(0,i.jsx)(`div`,{className:ce.fadeLeft,"aria-hidden":`true`}),(0,i.jsx)(`div`,{className:ce.fadeRight,"aria-hidden":`true`})]})},R={root:`_root_17a1b_1`,numRow:`_numRow_17a1b_9`,value:`_value_17a1b_15`,trend:`_trend_17a1b_25`,trendUp:`_trendUp_17a1b_35`,trendDown:`_trendDown_17a1b_39`,label:`_label_17a1b_43`},z=({value:n,label:r,trend:a,className:o})=>{let s=a!==void 0,c=s&&a>=0,l=c?e.j:e.A;return(0,i.jsxs)(`div`,{className:[R.root,o??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:R.numRow,children:[(0,i.jsx)(`p`,{className:R.value,children:n}),s&&(0,i.jsxs)(`span`,{className:[R.trend,c?R.trendUp:R.trendDown].join(` `),children:[(0,i.jsx)(l,{size:24,strokeWidth:t.kt(24)}),Math.abs(a),`%`]})]}),(0,i.jsx)(`p`,{className:R.label,children:r})]})},B={root:`_root_scbx4_1`,header:`_header_scbx4_13`,label:`_label_scbx4_21`,toggle:`_toggle_scbx4_34`,fullWidth:`_fullWidth_scbx4_48`,collapse:`_collapse_scbx4_67`,collapseOpen:`_collapseOpen_scbx4_74`,collapseInner:`_collapseInner_scbx4_78`,navLinks:`_navLinks_scbx4_91`,navLink:`_navLink_scbx4_91`},de=({label:n,links:a,ctaLabel:o=`Get started`,onCtaClick:s,open:c,defaultOpen:l=!1,onOpenChange:u,className:d})=>{let f=c!==void 0,[p,m]=r.default.useState(l),h=f?c:p,g=()=>{let e=!h;f||m(e),u?.(e)},_=r.default.useRef(null),[v,y]=r.default.useState(0);return r.default.useEffect(()=>{let e=_.current;if(!e)return;let t=()=>y(e.scrollHeight);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[a,o]),(0,i.jsxs)(`div`,{className:[B.root,d??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:B.header,children:[(0,i.jsx)(`p`,{className:B.label,children:n}),(0,i.jsx)(`button`,{type:`button`,className:B.toggle,onClick:g,"aria-expanded":h,"aria-label":h?`Close menu`:`Open menu`,children:h?(0,i.jsx)(e.F,{size:16,strokeWidth:t.kt(16)}):(0,i.jsx)(e.b,{size:16,strokeWidth:t.kt(16)})})]}),(0,i.jsx)(`div`,{className:[B.collapse,h?B.collapseOpen:``].filter(Boolean).join(` `),style:{maxHeight:h?`${v}px`:`0px`},"aria-hidden":!h,children:(0,i.jsxs)(`div`,{ref:_,className:B.collapseInner,children:[(0,i.jsx)(`nav`,{className:B.navLinks,"aria-label":n,children:a.map(e=>(0,i.jsx)(`a`,{href:e.href,onClick:e.onClick,className:B.navLink,tabIndex:h?void 0:-1,children:e.label},e.label))}),(0,i.jsx)(t.ft,{className:B.fullWidth}),(0,i.jsx)(t.xt,{variant:`primary`,className:B.fullWidth,onClick:s,tabIndex:h?void 0:-1,children:o})]})})]})},fe={root:`_root_lrpdp_1`,"root--sm":`_root--sm_lrpdp_14`,"root--md":`_root--md_lrpdp_18`,"root--lg":`_root--lg_lrpdp_22`,defaultMark:`_defaultMark_lrpdp_27`},pe={sm:14,md:16,lg:18},me=({size:e=`md`,logo:n,label:a,className:o})=>{let s=pe[e],c=r.default.isValidElement(n)?r.default.cloneElement(n,{size:s,strokeWidth:t.kt(s)}):n??(0,i.jsx)(`img`,{src:`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%20fill='none'%3e%3cpath%20d='M0%208C0%203.58172%203.58172%200%208%200H20C24.4183%200%2028%203.58172%2028%208V20C28%2024.4183%2024.4183%2028%2020%2028H8C3.58172%2028%200%2024.4183%200%2020V8Z'%20fill='%23FF4700'/%3e%3cpath%20d='M6.63704%2015.9944L20.6362%2014.491'%20stroke='%23FAFAF9'%20stroke-width='2.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14.208%2022.884C12.848%2022.884%2011.664%2022.636%2010.656%2022.14C9.664%2021.644%208.88%2020.956%208.304%2020.076C7.728%2019.196%207.392%2018.172%207.296%2017.004L9.96%2016.836C10.072%2017.636%2010.304%2018.316%2010.656%2018.876C11.008%2019.42%2011.48%2019.836%2012.072%2020.124C12.68%2020.396%2013.408%2020.532%2014.256%2020.532C14.992%2020.532%2015.616%2020.444%2016.128%2020.268C16.656%2020.076%2017.056%2019.796%2017.328%2019.428C17.6%2019.06%2017.736%2018.612%2017.736%2018.084C17.736%2017.604%2017.616%2017.18%2017.376%2016.812C17.152%2016.428%2016.712%2016.084%2016.056%2015.78C15.416%2015.46%2014.472%2015.148%2013.224%2014.844C11.864%2014.508%2010.776%2014.14%209.96%2013.74C9.144%2013.34%208.552%2012.844%208.184%2012.252C7.832%2011.644%207.656%2010.9%207.656%2010.02C7.656%209.044%207.888%208.188%208.352%207.452C8.832%206.7%209.512%206.116%2010.392%205.7C11.272%205.284%2012.328%205.076%2013.56%205.076C14.856%205.076%2015.96%205.316%2016.872%205.796C17.8%206.276%2018.528%206.932%2019.056%207.764C19.6%208.596%2019.936%209.548%2020.064%2010.62L17.4%2010.764C17.32%2010.108%2017.12%209.532%2016.8%209.036C16.48%208.524%2016.048%208.132%2015.504%207.86C14.96%207.572%2014.296%207.428%2013.512%207.428C12.52%207.428%2011.736%207.66%2011.16%208.124C10.6%208.572%2010.32%209.172%2010.32%209.924C10.32%2010.404%2010.432%2010.812%2010.656%2011.148C10.896%2011.468%2011.312%2011.748%2011.904%2011.988C12.512%2012.228%2013.368%2012.484%2014.472%2012.756C15.944%2013.092%2017.112%2013.508%2017.976%2014.004C18.856%2014.484%2019.48%2015.052%2019.848%2015.708C20.216%2016.364%2020.4%2017.108%2020.4%2017.94C20.4%2018.948%2020.136%2019.828%2019.608%2020.58C19.096%2021.316%2018.376%2021.884%2017.448%2022.284C16.52%2022.684%2015.44%2022.884%2014.208%2022.884Z'%20fill='%23FAFAF9'/%3e%3c/svg%3e`,alt:``,width:s,height:s,className:fe.defaultMark});return(0,i.jsx)(`span`,{className:[fe.root,fe[`root--${e}`],o??``].filter(Boolean).join(` `),role:`img`,"aria-label":a??`Logo placeholder`,children:c})},V={root:`_root_ibchq_1`,rootCompact:`_rootCompact_ibchq_7`,rootDetailed:`_rootDetailed_ibchq_14`,infoCompact:`_infoCompact_ibchq_21`,infoDetailed:`_infoDetailed_ibchq_27`,name:`_name_ibchq_35`,role:`_role_ibchq_44`,bio:`_bio_ibchq_53`,social:`_social_ibchq_63`,socialBtn:`_socialBtn_ibchq_71`},he=({name:e,role:n,avatarSrc:r,avatarAlt:a,bio:o,socialLinks:s=[],className:c})=>{let l=!!o||s.length>0;return(0,i.jsxs)(`div`,{className:[V.root,l?V.rootDetailed:V.rootCompact,c??``].filter(Boolean).join(` `),children:[(0,i.jsx)(t.Et,{size:`xl`,src:r,alt:a??e}),(0,i.jsxs)(`div`,{className:l?V.infoDetailed:V.infoCompact,children:[(0,i.jsx)(`p`,{className:V.name,children:e}),(0,i.jsx)(`p`,{className:V.role,children:n})]}),l&&o&&(0,i.jsx)(`p`,{className:V.bio,children:o}),l&&s.length>0&&(0,i.jsx)(`div`,{className:V.social,children:s.map((e,t)=>(0,i.jsx)(`a`,{href:e.href,onClick:e.onClick,className:V.socialBtn,"aria-label":e.label,children:e.icon},e.label??t))})]})},ge=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,fill:`currentColor`,d:`M9.48933 6.77467L15.318 0H13.9367L8.876 5.88267L4.834 0H0.172L6.284 8.89533L0.172 16H1.55333L6.89733 9.788L11.166 16H15.828L9.48933 6.77467ZM7.598 8.974L6.97867 8.088L2.05067 1.04H4.172L8.14867 6.728L8.768 7.614L13.9373 15.0073H11.816L7.598 8.974Z`})}),_e=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{fill:`currentColor`,stroke:`currentColor`,strokeWidth:`0.5`,d:`M5.2627 14.9109C5.24063 14.9019 5.21825 14.8937 5.19629 14.8845C5.21828 14.8846 5.2404 14.8849 5.2627 14.8845C5.26277 14.8934 5.26262 14.9022 5.2627 14.9109ZM8 0.948C12.0038 0.948 15.25 4.19421 15.25 8.198C15.25 11.2321 13.382 13.8337 10.7119 14.9041C10.7126 14.8154 10.7132 14.7175 10.7139 14.6111C10.7164 14.2289 10.7197 13.7443 10.7197 13.2068C10.7197 12.8702 10.6752 12.5602 10.5967 12.282C11.2251 12.1236 11.8603 11.8618 12.4033 11.407C13.3035 10.6531 13.8291 9.48051 13.8291 7.78003C13.8291 6.87672 13.5529 6.10004 13.0859 5.46265C13.1914 4.97309 13.2464 4.1873 12.8779 3.24292L12.748 2.91089L12.4082 2.80152L12.1885 3.48902C12.4086 2.8019 12.407 2.80174 12.4062 2.80152L12.4053 2.80054L12.3965 2.79761C12.3923 2.79634 12.3874 2.79501 12.3828 2.7937C12.3738 2.79113 12.364 2.78851 12.3535 2.78589C12.3324 2.78061 12.3081 2.77611 12.2812 2.77124C12.2271 2.76146 12.1615 2.75326 12.085 2.74976C11.9315 2.74276 11.7366 2.75416 11.499 2.80445C11.0816 2.8928 10.5376 3.09872 9.85352 3.52808C9.24662 3.38844 8.61824 3.31986 7.99414 3.31616H7.98535C7.36044 3.31984 6.73069 3.3881 6.12305 3.52808C5.43488 3.09865 4.88896 2.89272 4.4707 2.80445C4.23272 2.75425 4.03733 2.74275 3.88379 2.74976C3.80726 2.75325 3.74164 2.76049 3.6875 2.77027C3.66056 2.77514 3.63643 2.78059 3.61523 2.78589C3.60476 2.78851 3.59499 2.79113 3.58594 2.7937C3.58136 2.79501 3.57647 2.79634 3.57227 2.79761L3.56348 2.80054L3.56152 2.80152C3.56163 2.80419 3.57406 2.84531 3.78906 3.51636L3.56055 2.80152L3.2207 2.91089L3.09082 3.24292C2.72472 4.18117 2.77327 4.9675 2.88574 5.46851C2.41945 6.10504 2.14648 6.88031 2.14648 7.78003C2.14649 8.97574 2.40791 9.91025 2.87598 10.6228C2.76692 10.5961 2.65215 10.5747 2.53027 10.5662L2.50879 10.5642H2.46289C2.45155 10.5643 2.43701 10.5646 2.41992 10.5652C2.3862 10.5664 2.33899 10.569 2.28516 10.575C2.20712 10.5835 2.00131 10.6093 1.80762 10.7195C1.70282 10.7791 1.53342 10.9016 1.43457 11.1267C1.42275 11.1537 1.41196 11.181 1.40332 11.2078C0.984401 10.291 0.75 9.27198 0.75 8.198C0.75 4.19409 3.99434 0.948 8 0.948ZM4.51855 11.9919C4.75868 12.0994 5.00485 12.1834 5.25098 12.2517C5.17809 12.2603 5.10423 12.266 5.03125 12.2595C4.87853 12.2459 4.69843 12.1922 4.51855 11.9919Z`})}),ve={heading:`_heading_96cdx_1`,h2:`_h2_96cdx_8`,h3:`_h3_96cdx_14`},ye=({children:e,level:t=`h2`,className:n})=>(0,i.jsx)(t,{className:[ve.heading,ve[t],n??``].filter(Boolean).join(` `),children:e}),be={paragraph:`_paragraph_8pqdi_1`},xe=({children:e,className:t})=>(0,i.jsx)(`p`,{className:[be.paragraph,t??``].filter(Boolean).join(` `),children:e}),Se={rootBordered:`_rootBordered_5cgsj_1`,rail:`_rail_5cgsj_12`,contentHorizontal:`_contentHorizontal_5cgsj_18`,contentVertical:`_contentVertical_5cgsj_25`,textHorizontal:`_textHorizontal_5cgsj_33`,textVertical:`_textVertical_5cgsj_41`,title:`_title_5cgsj_49`,description:`_description_5cgsj_57`},Ce=({icon:e,title:n,description:a,layout:o=`horizontal`,leftBorder:s=!1,className:c})=>{let l=o===`vertical`,u=(0,i.jsxs)(`div`,{className:l?Se.contentVertical:Se.contentHorizontal,children:[(0,i.jsx)(t.V,{icon:e,size:`sm`,variant:`light`}),(0,i.jsxs)(`div`,{className:l?Se.textVertical:Se.textHorizontal,children:[(0,i.jsx)(`p`,{className:Se.title,children:n}),(0,i.jsx)(`p`,{className:Se.description,children:a})]})]});return s?(0,i.jsxs)(`div`,{className:[Se.rootBordered,c??``].filter(Boolean).join(` `),children:[(0,i.jsx)(t.ft,{orientation:`vertical`,className:Se.rail}),u]}):r.default.cloneElement(u,{className:[u.props.className,c??``].filter(Boolean).join(` `)})},we=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{d:`M11.6667 4.33333H11.6733M4.66667 1.33333H11.3333C13.1743 1.33333 14.6667 2.82572 14.6667 4.66667V11.3333C14.6667 13.1743 13.1743 14.6667 11.3333 14.6667H4.66667C2.82572 14.6667 1.33333 13.1743 1.33333 11.3333V4.66667C1.33333 2.82572 2.82572 1.33333 4.66667 1.33333ZM10.6666 7.58004C10.7489 8.13487 10.6541 8.70152 10.3958 9.19938C10.1375 9.69725 9.72873 10.101 9.22772 10.3532C8.7267 10.6053 8.15893 10.6931 7.60516 10.604C7.05138 10.5149 6.53981 10.2534 6.14319 9.85681C5.74658 9.4602 5.48512 8.94862 5.39601 8.39485C5.3069 7.84107 5.39468 7.2733 5.64685 6.77229C5.89903 6.27127 6.30276 5.86253 6.80062 5.6042C7.29849 5.34587 7.86514 5.2511 8.41997 5.33337C8.98592 5.41729 9.50987 5.68101 9.91443 6.08558C10.319 6.49014 10.5827 7.01409 10.6666 7.58004Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Te=({size:e=16})=>(0,i.jsx)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{d:`M12 1.33333H10C9.11594 1.33333 8.2681 1.68452 7.64298 2.30964C7.01786 2.93477 6.66667 3.78261 6.66667 4.66667V6.66667H4.66667V9.33333H6.66667V14.6667H9.33333V9.33333H11.3333L12 6.66667H9.33333V4.66667C9.33333 4.48986 9.40357 4.32029 9.5286 4.19526C9.65362 4.07024 9.82319 4 10 4H12V1.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})}),Ee=({size:e=16})=>(0,i.jsxs)(`svg`,{width:e,height:e,viewBox:`0 0 16 16`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,children:[(0,i.jsx)(`path`,{d:`M10.6667 5.33333C11.7275 5.33333 12.7449 5.75476 13.4951 6.50491C14.2452 7.25505 14.6667 8.27247 14.6667 9.33333V14H12V9.33333C12 8.97971 11.8595 8.64057 11.6095 8.39052C11.3594 8.14048 11.0203 8 10.6667 8C10.313 8 9.97391 8.14048 9.72386 8.39052C9.47381 8.64057 9.33333 8.97971 9.33333 9.33333V14H6.66667V9.33333C6.66667 8.27247 7.08809 7.25505 7.83824 6.50491C8.58838 5.75476 9.6058 5.33333 10.6667 5.33333Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M4 6H1.33333V14H4V6Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`}),(0,i.jsx)(`path`,{d:`M2.66667 4C3.40305 4 4 3.40305 4 2.66667C4 1.93029 3.40305 1.33333 2.66667 1.33333C1.93029 1.33333 1.33333 1.93029 1.33333 2.66667C1.33333 3.40305 1.93029 4 2.66667 4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`,strokeLinejoin:`round`})]}),De={chart:`_chart_qqaox_2`},Oe={sm:180,md:240,lg:320,xl:420},ke=({data:e,variant:n=`default`,seriesLabels:o=[`Value`,`Value 2`],size:s=`md`,height:c,className:l})=>{let u=r.default.useRef(null),d=t.st(u),f=d(`--color-chart-5`)??`#dca84f`,p=d(`--color-chart-2`)??`#5b92dd`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-muted`)??`#78716a`,g=e.some(e=>e.value2!==void 0),_=n===`step`?`step`:n===`linear`?`linear`:`monotone`,v=n===`stacked`?`stack`:void 0;return(0,i.jsx)(`div`,{ref:u,className:[De.chart,l??``].filter(Boolean).join(` `),children:(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:c??Oe[s],children:(0,i.jsxs)(a.AreaChart,{data:e,margin:{top:8,right:8,bottom:8,left:0},children:[(0,i.jsxs)(`defs`,{children:[(0,i.jsxs)(`linearGradient`,{id:`sakani-area-1`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,i.jsx)(`stop`,{offset:`5%`,stopColor:f,stopOpacity:.35}),(0,i.jsx)(`stop`,{offset:`95%`,stopColor:f,stopOpacity:.02})]}),(0,i.jsxs)(`linearGradient`,{id:`sakani-area-2`,x1:`0`,y1:`0`,x2:`0`,y2:`1`,children:[(0,i.jsx)(`stop`,{offset:`5%`,stopColor:p,stopOpacity:.35}),(0,i.jsx)(`stop`,{offset:`95%`,stopColor:p,stopOpacity:.02})]})]}),(0,i.jsx)(a.CartesianGrid,{strokeDasharray:`3 3`,stroke:m,vertical:!1}),(0,i.jsx)(a.XAxis,{dataKey:`label`,stroke:h,fontSize:12,tickLine:!1,axisLine:!1,interval:0}),(0,i.jsx)(a.Tooltip,{cursor:{stroke:d(`--color-border-default`)??`#dbdad7`,strokeWidth:1},content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}}),g&&(0,i.jsx)(a.Area,{type:_,dataKey:`value2`,name:o[1]??`Value 2`,stackId:v,stroke:p,strokeWidth:2,fill:`url(#sakani-area-2)`,dot:!1,activeDot:{r:4,fill:p,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}}),(0,i.jsx)(a.Area,{type:_,dataKey:`value`,name:o[0]??`Value`,stackId:v,stroke:f,strokeWidth:2,fill:`url(#sakani-area-1)`,dot:!1,activeDot:{r:4,fill:f,stroke:d(`--color-bg-canvas`),strokeWidth:1.5}})]})})})},H={col:`_col_1v24u_2`,col__header:`_col__header_1v24u_11`,col__dot:`_col__dot_1v24u_12`,col__title:`_col__title_1v24u_13`,col__count:`_col__count_1v24u_14`,col__spacer:`_col__spacer_1v24u_15`,col__action:`_col__action_1v24u_16`,col__body:`_col__body_1v24u_24`,col__drop:`_col__drop_1v24u_25`,col__add:`_col__add_1v24u_31`},Ae=({state:n=`default`,title:r,count:a,dotColor:o=`var(--color-chart-1)`,children:s,onAdd:c,onMenu:l,className:u})=>(0,i.jsxs)(`div`,{className:[H.col,u??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:H.col__header,children:[(0,i.jsx)(`span`,{className:H.col__dot,style:{background:o},"aria-hidden":`true`}),(0,i.jsx)(`span`,{className:H.col__title,children:r}),a!=null&&(0,i.jsx)(`span`,{className:H.col__count,children:a}),(0,i.jsx)(`span`,{className:H.col__spacer}),(0,i.jsx)(`button`,{type:`button`,className:H.col__action,onClick:c,"aria-label":`Add task`,children:(0,i.jsx)(e.T,{size:16,strokeWidth:t.kt(16)})}),(0,i.jsx)(`button`,{type:`button`,className:H.col__action,onClick:l,"aria-label":`Column options`,children:(0,i.jsx)(e.y,{size:16,strokeWidth:t.kt(16)})})]}),(0,i.jsx)(`div`,{className:H.col__body,children:n===`empty`?(0,i.jsx)(`div`,{className:H.col__drop,children:`Drop tasks here`}):s}),(0,i.jsxs)(`button`,{type:`button`,className:H.col__add,onClick:c,children:[(0,i.jsx)(e.T,{size:16,strokeWidth:t.kt(16),"aria-hidden":`true`}),`Add task`]})]}),U={calendar:`_calendar_qvyxg_2`,header:`_header_qvyxg_14`,header__label:`_header__label_qvyxg_15`,navBtn:`_navBtn_qvyxg_16`,weekdays:`_weekdays_qvyxg_27`,weekday:`_weekday_qvyxg_27`,grid:`_grid_qvyxg_34`,day:`_day_qvyxg_35`,"day--default":`_day--default_qvyxg_49`,"day--hover":`_day--hover_qvyxg_50`,"day--selected":`_day--selected_qvyxg_51`,"day--today":`_day--today_qvyxg_52`,"day--in-range":`_day--in-range_qvyxg_53`,"day--outside":`_day--outside_qvyxg_54`,"day--disabled":`_day--disabled_qvyxg_55`,dropdowns:`_dropdowns_qvyxg_58`,dropdown:`_dropdown_qvyxg_58`},je=[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],Me=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Ne=(e,t)=>!!e&&!!t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate(),Pe=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),Fe=({mode:n=`single`,value:a,onChange:o,range:s,onRangeChange:c,headerType:l=`arrows`,defaultMonth:u,minDate:d,maxDate:f,className:p})=>{let[m,h]=r.default.useState(()=>{let e=u??a??s?.from??new Date;return new Date(e.getFullYear(),e.getMonth(),1)}),[g,_]=r.default.useState({}),v=t.N(),y=s===void 0?g:s,b=new Date,x=m.getFullYear(),S=m.getMonth(),C=new Date(x,S,1).getDay(),w=new Date(x,S,1-C),T=Array.from({length:42},(e,t)=>new Date(w.getFullYear(),w.getMonth(),w.getDate()+t)),E=e=>d&&e<Pe(d)||f&&e>f,D=e=>{s===void 0&&_(e),c?.(e)},O=e=>{if(n===`single`){o?.(e);return}let{from:t,to:r}=y;D(!t||t&&r?{from:e,to:void 0}:e<t?{from:e,to:t}:{from:t,to:e})},k=e=>{if(E(e))return`disabled`;if(n===`single`){if(Ne(e,a))return`selected`}else{let{from:t,to:n}=y;if(Ne(e,t)||Ne(e,n))return`selected`;if(t&&n&&e>t&&e<n)return`in-range`}return e.getMonth()===S?Ne(e,b)?`today`:`default`:`outside`},ee=d?d.getFullYear():x-10,te=f?f.getFullYear():x+10,ne=Array.from({length:te-ee+1},(e,t)=>ee+t);return(0,i.jsxs)(`div`,{className:[U.calendar,p??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:U.header,children:[(0,i.jsx)(`button`,{type:`button`,className:U.navBtn,onClick:()=>h(new Date(x,S-1,1)),"aria-label":`Previous month`,children:(0,i.jsx)(e.v,{size:16,strokeWidth:t.kt(16)})}),l===`dropdowns`?(0,i.jsxs)(`span`,{className:U.dropdowns,children:[(0,i.jsx)(`select`,{className:U.dropdown,value:S,onChange:e=>h(new Date(x,Number(e.target.value),1)),"aria-label":`Month`,children:Me.map((e,t)=>(0,i.jsx)(`option`,{value:t,children:e},e))}),(0,i.jsx)(`select`,{className:U.dropdown,value:x,onChange:e=>h(new Date(Number(e.target.value),S,1)),"aria-label":`Year`,children:ne.map(e=>(0,i.jsx)(`option`,{value:e,children:e},e))})]}):(0,i.jsxs)(`span`,{className:U.header__label,children:[Me[S],` `,x]}),(0,i.jsx)(`button`,{type:`button`,className:U.navBtn,onClick:()=>h(new Date(x,S+1,1)),"aria-label":`Next month`,children:(0,i.jsx)(e._,{size:16,strokeWidth:t.kt(16)})})]}),(0,i.jsx)(`div`,{className:U.weekdays,children:je.map(e=>(0,i.jsx)(`span`,{className:U.weekday,children:e},e))}),(0,i.jsxs)(`div`,{ref:v.ref,...v.groupProps,className:U.grid,children:[v.highlight,T.map((e,t)=>{let n=k(e);return(0,i.jsx)(`button`,{type:`button`,"data-hover-item":``,className:[U.day,U[`day--${n}`]].filter(Boolean).join(` `),disabled:n===`disabled`,"aria-current":n===`today`?`date`:void 0,"aria-selected":n===`selected`,"aria-label":e.toLocaleDateString(void 0,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`}),onClick:()=>O(e),children:e.getDate()},t)})]})]})},W={card:`_card_1qpcc_3`,"card--interactive":`_card--interactive_1qpcc_22`,card__header:`_card__header_1qpcc_30`,card__title:`_card__title_1qpcc_34`,card__description:`_card__description_1qpcc_43`,card__body:`_card__body_1qpcc_53`,card__actions:`_card__actions_1qpcc_57`,"card__actions--split":`_card__actions--split_1qpcc_66`,card__actionsGroup:`_card__actionsGroup_1qpcc_67`},Ie=({title:e,description:t,actions:n,leadingAction:r,interactive:a,children:o,className:s})=>(0,i.jsxs)(`div`,{className:[W.card,a?W[`card--interactive`]:``,s??``].filter(Boolean).join(` `),children:[(e||t)&&(0,i.jsxs)(`div`,{className:W.card__header,children:[e&&(0,i.jsx)(`h3`,{className:W.card__title,children:e}),t&&(0,i.jsx)(`p`,{className:W.card__description,children:t})]}),o&&(0,i.jsx)(`div`,{className:W.card__body,children:o}),(n||r)&&(r?(0,i.jsxs)(`div`,{className:[W.card__actions,W[`card__actions--split`]].join(` `),children:[r,(0,i.jsx)(`div`,{className:W.card__actionsGroup,children:n})]}):(0,i.jsx)(`div`,{className:W.card__actions,children:n}))]}),G={field:`_field_1oby0_7`,field__label:`_field__label_1oby0_8`,field__description:`_field__description_1oby0_9`,field__error:`_field__error_1oby0_10`,control:`_control_1oby0_13`,"control--sm":`_control--sm_1oby0_25`,"control--md":`_control--md_1oby0_26`,"control--lg":`_control--lg_1oby0_27`,"control--open":`_control--open_1oby0_30`,"control--error":`_control--error_1oby0_41`,"control--disabled":`_control--disabled_1oby0_46`,control__value:`_control__value_1oby0_52`,"control__value--placeholder":`_control__value--placeholder_1oby0_62`,control__input:`_control__input_1oby0_63`,control__chevron:`_control__chevron_1oby0_83`,"control__chevron--open":`_control__chevron--open_1oby0_84`,chips:`_chips_1oby0_90`,chip:`_chip_1oby0_90`,"chip--leaving":`_chip--leaving_1oby0_102`,"sakani-combobox-chip-out":`_sakani-combobox-chip-out_1oby0_1`,chip__remove:`_chip__remove_1oby0_110`,panel:`_panel_1oby0_121`,"panel--entering":`_panel--entering_1oby0_145`,"sakani-combobox-panel-in":`_sakani-combobox-panel-in_1oby0_1`,"panel--exiting":`_panel--exiting_1oby0_146`,"sakani-combobox-panel-out":`_sakani-combobox-panel-out_1oby0_1`,panel__empty:`_panel__empty_1oby0_156`,option:`_option_1oby0_164`,"option--selected":`_option--selected_1oby0_189`,"option--disabled":`_option--disabled_1oby0_190`,optionHighlight:`_optionHighlight_1oby0_165`,"optionHighlight--animated":`_optionHighlight--animated_1oby0_221`,option__box:`_option__box_1oby0_228`,"option__box--checked":`_option__box--checked_1oby0_245`,option__icon:`_option__icon_1oby0_250`,option__label:`_option__label_1oby0_251`,option__check:`_option__check_1oby0_252`,panel__loading:`_panel__loading_1oby0_255`,panel__spinner:`_panel__spinner_1oby0_259`,"sakani-cb-spin":`_sakani-cb-spin_1oby0_1`},Le=({options:e,mode:n=`single`,size:a=`md`,label:o,description:s,error:c,placeholder:l=`Select...`,disabled:u,loading:d,value:f,onChange:p,className:m})=>{let h=r.default.useId(),[g,_]=r.default.useState(!1),[v,y]=r.default.useState(!1),[b,x]=r.default.useState(0),S=r.default.useRef(null),C=e;r.default.useEffect(()=>{g&&y(!0)},[g]);let w=r.default.useRef({}),T=r.default.useRef(null),[E,D]=r.default.useState(null),[O,k]=r.default.useState(!1);r.default.useLayoutEffect(()=>{let e=w.current[b];if(!e){D(null);return}D({top:e.offsetTop,height:e.offsetHeight})},[b,C.length]),r.default.useLayoutEffect(()=>{if(!v){k(!1);return}k(!1);let e=window.requestAnimationFrame(()=>k(!0));return()=>window.cancelAnimationFrame(e)},[v]),r.default.useEffect(()=>{if(!T.current)return;let e=new ResizeObserver(()=>{let e=w.current[b];e&&D({top:e.offsetTop,height:e.offsetHeight})});return e.observe(T.current),()=>e.disconnect()},[v]);let[ee,te]=r.default.useState(n===`multi`?[]:``),ne=f===void 0?ee:f,A=Array.isArray(ne)?ne:ne?[ne]:[],[j,M]=r.default.useState(()=>A.map(e=>({value:e,leaving:!1}))),N=A.join(`\0`);r.default.useLayoutEffect(()=>{M(e=>{let t=e.map(e=>({value:e.value,leaving:!A.includes(e.value)}));for(let e of A)t.some(t=>t.value===e)||t.push({value:e,leaving:!1});return t})},[N]);let re=e=>M(t=>t.filter(t=>!(t.value===e&&t.leaving))),P=!!c;r.default.useEffect(()=>{let e=e=>{S.current&&!S.current.contains(e.target)&&_(!1)};return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[]);let ie=e=>{f===void 0&&te(e),p?.(e)},F=e=>{if(!e.disabled)if(n===`multi`){let t=new Set(A);t.has(e.value)?t.delete(e.value):t.add(e.value),ie([...t])}else ie(e.value),_(!1)},I=t=>e.find(e=>e.value===t)?.label??t,L=A.length?I(A[0]):``,ae=e=>{u||(e.key===`ArrowDown`?(e.preventDefault(),_(!0),x(e=>Math.min(e+1,C.length-1))):e.key===`ArrowUp`?(e.preventDefault(),x(e=>Math.max(e-1,0))):e.key===`Enter`?(e.preventDefault(),g&&C[b]?F(C[b]):_(!0)):e.key===`Escape`&&_(!1))},oe=u?`disabled`:P?`error`:g?`open`:`default`;return(0,i.jsxs)(`div`,{className:[G.field,m??``].filter(Boolean).join(` `),ref:S,children:[o&&(0,i.jsx)(`label`,{htmlFor:`${h}-trigger`,className:G.field__label,children:o}),(0,i.jsxs)(`div`,{id:`${h}-trigger`,role:`combobox`,tabIndex:u?-1:0,"aria-haspopup":`listbox`,"aria-expanded":g,"aria-controls":`${h}-panel`,"aria-invalid":P||void 0,"aria-disabled":u||void 0,"aria-activedescendant":g&&C[b]?`${h}-opt-${b}`:void 0,className:[G.control,G[`control--${a}`],G[`control--${oe}`]].join(` `),onClick:()=>!u&&_(e=>!e),onKeyDown:ae,children:[n===`multi`&&j.length>0&&(0,i.jsx)(`div`,{className:G.chips,children:j.map(({value:t,leaving:n})=>(0,i.jsxs)(`span`,{className:[G.chip,n?G[`chip--leaving`]:``].filter(Boolean).join(` `),"aria-hidden":n||void 0,onAnimationEnd:n?()=>re(t):void 0,children:[I(t),(0,i.jsx)(`button`,{type:`button`,className:G.chip__remove,tabIndex:n?-1:void 0,onClick:n=>{n.stopPropagation(),F(e.find(e=>e.value===t))},"aria-label":`Remove ${I(t)}`,children:`×`})]},t))}),!(n===`multi`&&j.length>0)&&(0,i.jsx)(`span`,{className:[G.control__value,n===`single`&&L?``:G[`control__value--placeholder`]].filter(Boolean).join(` `),children:n===`single`&&L?L:l}),(0,i.jsx)(`span`,{className:[G.control__chevron,g?G[`control__chevron--open`]:``].join(` `),"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(16),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,i.jsx)(`path`,{d:`m6 9 6 6 6-6`})})})]}),v&&!u&&(0,i.jsx)(`div`,{ref:T,className:[G.panel,g?G[`panel--entering`]:G[`panel--exiting`]].filter(Boolean).join(` `),id:`${h}-panel`,role:`listbox`,"aria-multiselectable":n===`multi`||void 0,"aria-busy":d||void 0,onAnimationEnd:()=>{g||y(!1)},children:d?(0,i.jsxs)(`div`,{className:G.panel__loading,children:[(0,i.jsx)(`span`,{className:G.panel__spinner,"aria-hidden":`true`}),`Loading…`]}):C.length===0?(0,i.jsx)(`div`,{className:G.panel__empty,children:`No options available`}):(0,i.jsxs)(i.Fragment,{children:[E&&(0,i.jsx)(`span`,{"aria-hidden":`true`,className:[G.optionHighlight,O?G[`optionHighlight--animated`]:``].filter(Boolean).join(` `),style:{transform:`translateY(${E.top}px)`,height:E.height}}),C.map((e,r)=>{let a=A.includes(e.value);return(0,i.jsxs)(`div`,{ref:e=>{w.current[r]=e},id:`${h}-opt-${r}`,role:`option`,"aria-selected":a,className:[G.option,a&&n===`single`?G[`option--selected`]:``,e.disabled?G[`option--disabled`]:``].filter(Boolean).join(` `),onMouseEnter:()=>{e.disabled||x(r)},onClick:()=>F(e),children:[n===`multi`&&(0,i.jsx)(`span`,{className:[G.option__box,a?G[`option__box--checked`]:``].filter(Boolean).join(` `),"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{width:12,height:12,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(12),strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,i.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})}),e.icon&&(0,i.jsx)(`span`,{className:G.option__icon,"aria-hidden":`true`,children:e.icon}),(0,i.jsx)(`span`,{className:G.option__label,children:e.label}),a&&n===`single`&&(0,i.jsx)(`span`,{className:G.option__check,"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{width:16,height:16,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,i.jsx)(`polyline`,{points:`20 6 9 17 4 12`})})})]},e.value)})]})}),(s||c)&&(0,i.jsx)(`span`,{className:P?G.field__error:G.field__description,children:c||s})]})},K={wrap:`_wrap_1j16e_2`,dropzone:`_dropzone_1j16e_4`,"dropzone--dragging":`_dropzone--dragging_1j16e_21`,dropzone__icon:`_dropzone__icon_1j16e_23`,dropzone__label:`_dropzone__label_1j16e_28`,dropzone__link:`_dropzone__link_1j16e_29`,dropzone__hint:`_dropzone__hint_1j16e_30`,input:`_input_1j16e_32`,files:`_files_1j16e_35`,file:`_file_1j16e_35`,file__icon:`_file__icon_1j16e_45`,file__name:`_file__name_1j16e_46`,file__remove:`_file__remove_1j16e_47`},Re=({accept:n,multiple:a,hint:o=`SVG, PNG, JPG or PDF (max. 2MB)`,onFilesChange:s,className:c})=>{let l=r.default.useRef(null),[u,d]=r.default.useState(!1),[f,p]=r.default.useState([]),m=e=>{p(e),s?.(e)},h=e=>{if(!e)return;let t=Array.from(e);m(a?[...f,...t]:t.slice(0,1))},g=e=>m(f.filter((t,n)=>n!==e));return(0,i.jsxs)(`div`,{className:[K.wrap,c??``].filter(Boolean).join(` `),children:[(0,i.jsxs)(`div`,{className:[K.dropzone,u?K[`dropzone--dragging`]:``].filter(Boolean).join(` `),onClick:()=>l.current?.click(),onDragOver:e=>{e.preventDefault(),d(!0)},onDragLeave:()=>d(!1),onDrop:e=>{e.preventDefault(),d(!1),h(e.dataTransfer.files)},role:`button`,tabIndex:0,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&l.current?.click()},children:[(0,i.jsx)(`span`,{className:K.dropzone__icon,"aria-hidden":`true`,children:(0,i.jsx)(e.c,{size:22,strokeWidth:t.kt(22)})}),(0,i.jsxs)(`span`,{className:K.dropzone__label,children:[(0,i.jsx)(`span`,{className:K.dropzone__link,children:`Click to upload`}),` or drag and drop`]}),(0,i.jsx)(`span`,{className:K.dropzone__hint,children:o}),(0,i.jsx)(`input`,{ref:l,type:`file`,accept:n,multiple:a,className:K.input,onChange:e=>h(e.target.files)})]}),f.length>0&&(0,i.jsx)(`ul`,{className:K.files,children:f.map((n,r)=>(0,i.jsxs)(`li`,{className:K.file,children:[(0,i.jsx)(`span`,{className:K.file__icon,"aria-hidden":`true`,children:(0,i.jsx)(e.p,{size:16,strokeWidth:t.kt(16)})}),(0,i.jsx)(`span`,{className:K.file__name,children:n.name}),(0,i.jsx)(`button`,{type:`button`,className:K.file__remove,onClick:()=>g(r),"aria-label":`Remove ${n.name}`,children:(0,i.jsx)(e.F,{size:14,strokeWidth:t.kt(14)})})]},r))})]})},q={chart:`_chart_1m9hd_1`,svg:`_svg_1m9hd_7`,segment:`_segment_1m9hd_12`,pctLabel:`_pctLabel_1m9hd_19`,labels:`_labels_1m9hd_27`,labelItem:`_labelItem_1m9hd_31`,tooltip:`_tooltip_1m9hd_41`,tooltip__title:`_tooltip__title_1m9hd_54`,tooltip__row:`_tooltip__row_1m9hd_60`,tooltip__dot:`_tooltip__dot_1m9hd_68`,tooltip__label:`_tooltip__label_1m9hd_74`,tooltip__value:`_tooltip__value_1m9hd_75`},ze={sm:180,md:240,lg:320,xl:420},Be=560,Ve=.3,He=.55,Ue=({data:e,size:n=`md`,className:a})=>{let[o,s]=r.default.useState(null),c=r.default.useRef(null),l=t.st(c),u=l(`--color-chart-1`)??`#ff4700`,d=l(`--color-bg-canvas`)??`#fafaf9`,f=e[0]?.value||1,p=ze[n],m=p*.66,h=m/2+8,g=Be/e.length,_=e[0]?.value||1,v=e=>e/_*m,y=e.map(e=>v(e.value));y.push(v(e[e.length-1]?.value??0)*He);let b=t=>e.length<=1?1:Ve+t/(e.length-1)*(1-Ve),x=o===null?null:e[o],S=o===null?0:h-y[o]/2,C=o===null?0:o*g+g/2;return(0,i.jsxs)(`div`,{ref:c,className:[q.chart,a??``].filter(Boolean).join(` `),style:{height:p},children:[(0,i.jsx)(`svg`,{viewBox:`0 0 ${Be} ${p}`,width:`100%`,height:p,className:q.svg,children:e.map((e,t)=>{let n=t*g,r=(t+1)*g,a=(n+r)/2,c=y[t]/2,l=y[t+1]/2,d=h-c,p=h-l,m=h+c,_=h+l,v=[`M ${n} ${d}`,`C ${a} ${d} ${a} ${p} ${r} ${p}`,`L ${r} ${_}`,`C ${a} ${_} ${a} ${m} ${n} ${m}`,`Z`].join(` `),x=o===null?b(t):t===o?1:.45,S=Math.round(e.value/f*100);return(0,i.jsxs)(`g`,{className:q.segment,onMouseEnter:()=>s(t),onMouseLeave:()=>s(null),children:[(0,i.jsx)(`path`,{d:v,fill:u,fillOpacity:x}),(0,i.jsxs)(`text`,{x:a,y:h,textAnchor:`middle`,dominantBaseline:`middle`,className:q.pctLabel,children:[S,`%`]})]},t)})}),(0,i.jsx)(`div`,{className:q.labels,style:{gridTemplateColumns:`repeat(${e.length}, 1fr)`},children:e.map((e,t)=>(0,i.jsx)(`span`,{className:q.labelItem,children:e.label},t))}),x&&(0,i.jsxs)(`div`,{className:q.tooltip,style:{left:`${C/Be*100}%`,top:`${S/p*100}%`,background:d},children:[(0,i.jsx)(`span`,{className:q.tooltip__title,children:x.label}),(0,i.jsxs)(`div`,{className:q.tooltip__row,children:[(0,i.jsx)(`span`,{className:q.tooltip__dot,style:{background:u}}),(0,i.jsx)(`span`,{className:q.tooltip__label,children:`Share`}),(0,i.jsxs)(`span`,{className:q.tooltip__value,children:[Math.round(x.value/f*100),`%`]})]})]})]})},J={chart:`_chart_1yc8b_1`,grid:`_grid_1yc8b_6`,rowLabel:`_rowLabel_1yc8b_13`,colLabel:`_colLabel_1yc8b_14`,cell:`_cell_1yc8b_29`,"chart--sm":`_chart--sm_1yc8b_38`,"chart--md":`_chart--md_1yc8b_39`,"chart--lg":`_chart--lg_1yc8b_40`,"chart--xl":`_chart--xl_1yc8b_41`,tooltip:`_tooltip_1yc8b_48`,tooltip__title:`_tooltip__title_1yc8b_70`,tooltip__row:`_tooltip__row_1yc8b_76`,tooltip__dot:`_tooltip__dot_1yc8b_84`,tooltip__label:`_tooltip__label_1yc8b_91`,tooltip__value:`_tooltip__value_1yc8b_92`},We=.12,Ge=.45,Ke=({data:e,rowLabels:n,colLabels:a,valueLabel:o=`Value`,size:s=`md`,className:c})=>{let l=r.default.useRef(null),u=t.st(l),d=r.default.useRef(null),[f,p]=r.default.useState(null),m=u(`--color-chart-1`)??`#ff4700`,h=Math.max(1,...e.flat()),g=e[0]?.length??0,_=(e,t,n)=>r=>{let i=r.currentTarget.getBoundingClientRect(),a=d.current?.getBoundingClientRect();a&&p({row:e,col:t,value:n,left:i.left-a.left+i.width/2,top:i.top-a.top})};return(0,i.jsx)(`div`,{ref:l,className:[J.chart,J[`chart--${s}`],c??``].filter(Boolean).join(` `),children:(0,i.jsxs)(`div`,{ref:d,className:J.grid,style:{gridTemplateColumns:`auto repeat(${g}, 1fr)`},children:[e.map((e,t)=>(0,i.jsxs)(r.default.Fragment,{children:[(0,i.jsx)(`span`,{className:J.rowLabel,children:n?.[t]??``}),e.map((e,n)=>{let r=f?.row===t&&f?.col===n,a=f!==null&&!r,o=r?1:We+e/h*(1-We);return(0,i.jsx)(`div`,{className:J.cell,style:{background:m,opacity:a?Ge:o},onMouseEnter:_(t,n,e),onMouseLeave:()=>p(null)},n)})]},t)),a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`span`,{}),a.map((e,t)=>(0,i.jsx)(`span`,{className:J.colLabel,children:e},t))]}),f&&(0,i.jsxs)(`div`,{className:J.tooltip,style:{left:f.left,top:f.top},children:[(0,i.jsx)(`span`,{className:J.tooltip__title,children:[n?.[f.row],a?.[f.col]].filter(Boolean).join(` · `)||`Row ${f.row+1}, Col ${f.col+1}`}),(0,i.jsxs)(`div`,{className:J.tooltip__row,children:[(0,i.jsx)(`span`,{className:J.tooltip__dot}),(0,i.jsx)(`span`,{className:J.tooltip__label,children:o}),(0,i.jsx)(`span`,{className:J.tooltip__value,children:f.value})]})]})]})})},qe={kbd:`_kbd_1cz4m_3`},Je=({children:e,className:t})=>(0,i.jsx)(`kbd`,{className:[qe.kbd,t??``].filter(Boolean).join(` `),children:e}),Ye={label:`_label_rcdks_3`,label__required:`_label__required_rcdks_17`},Xe=r.default.forwardRef(({required:e,children:t,className:n,...r},a)=>(0,i.jsxs)(`label`,{ref:a,className:[Ye.label,n??``].filter(Boolean).join(` `),...r,children:[t,e&&(0,i.jsx)(`span`,{className:Ye.label__required,"aria-hidden":`true`,children:` *`})]}));Xe.displayName=`Label`;var Ze={item:`_item_4gag1_2`,"item--disabled":`_item--disabled_4gag1_22`,"item--selected":`_item--selected_4gag1_26`,item__leading:`_item__leading_4gag1_30`,item__text:`_item__text_4gag1_31`,item__title:`_item__title_4gag1_32`,item__description:`_item__description_4gag1_33`,item__trailing:`_item__trailing_4gag1_34`},Qe=({title:e,description:t,leading:n,trailing:r,selected:a,disabled:o,onClick:s,className:c})=>(0,i.jsxs)(`button`,{type:`button`,"data-hover-item":``,disabled:o,onClick:s,"aria-current":a?`true`:void 0,className:[Ze.item,a?Ze[`item--selected`]:``,o?Ze[`item--disabled`]:``,c??``].filter(Boolean).join(` `),children:[n&&(0,i.jsx)(`span`,{className:Ze.item__leading,children:n}),(0,i.jsxs)(`span`,{className:Ze.item__text,children:[(0,i.jsx)(`span`,{className:Ze.item__title,children:e}),t&&(0,i.jsx)(`span`,{className:Ze.item__description,children:t})]}),r&&(0,i.jsx)(`span`,{className:Ze.item__trailing,children:r})]}),$e={chart:`_chart_cc7lx_2`,center:`_center_cc7lx_30`,center__value:`_center__value_cc7lx_39`,center__caption:`_center__caption_cc7lx_40`},et={sm:{h:180,outer:72},md:{h:220,outer:90},lg:{h:280,outer:116},xl:{h:340,outer:142}},tt=new Set([`donut`,`donut-active`,`donut-with-text`,`interactive`]),nt=new Set([`donut-active`]),rt=new Set([`interactive`]),it=new Set([`donut-with-text`]),at=Math.PI/180,ot=({data:e,variant:n=`donut`,size:o=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=r.default.useRef(null),d=t.st(u),[f,p]=r.default.useState(void 0),m=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.ot[e-1]),h=d(`--color-bg-surface`)??`#ffffff`,g=d(`--color-fg-default`)??`#141414`,_=et[o],v=tt.has(n),y=nt.has(n),b=rt.has(n),x=v?_.outer*.6:0,S=it.has(n)&&(s||c),C=f??(y||b?0:void 0),w=e=>{let{cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:c,fill:l,index:u}=e,d=u===C,f=d&&(y||b)?16:0;return d&&b?(0,i.jsxs)(`g`,{children:[(0,i.jsx)(a.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:o+f,startAngle:s,endAngle:c,fill:l}),(0,i.jsx)(a.Sector,{cx:t,cy:n,innerRadius:o+f+3,outerRadius:o+f+7,startAngle:s,endAngle:c,fill:l})]}):(0,i.jsx)(a.Sector,{cx:t,cy:n,innerRadius:r,outerRadius:o+f,startAngle:s,endAngle:c,fill:l})},T=e=>{let{cx:t,cy:n,midAngle:r,outerRadius:i}=e,a=r??0,o=Math.cos(-a*at),s=Math.sin(-a*at),c=t+i*o,l=n+i*s,u=t+(i+16)*o,d=n+(i+16)*s,f=o>=0,p=u+(f?14:-14);return{d:`M ${c} ${l} L ${u} ${d} L ${p} ${d}`,endX:p,endY:d,textAnchor:f?`start`:`end`}},E=e=>{let{value:t,fill:n}=e,{d:r,endX:a,endY:o,textAnchor:s}=T(e),c=a+(s===`start`?4:-4);return(0,i.jsxs)(`g`,{children:[(0,i.jsx)(`path`,{d:r,fill:`none`,stroke:n,strokeWidth:1}),(0,i.jsx)(`text`,{x:c,y:o,textAnchor:s,dominantBaseline:`central`,fill:g,fontSize:12,fontFamily:`var(--font-sans)`,children:t})]})},D=e=>{let{x:t,y:n,textAnchor:r,value:a}=e;return(0,i.jsx)(`text`,{x:t,y:n,textAnchor:r,dominantBaseline:`central`,fill:g,fontSize:20,fontWeight:400,fontFamily:`var(--font-sans)`,children:a})},O=t=>{let{cx:n,cy:r,midAngle:a,innerRadius:o,outerRadius:s,index:c}=t,l=(o+s)/2;return(0,i.jsx)(`text`,{x:n+l*Math.cos(-a*at),y:r+l*Math.sin(-a*at),textAnchor:`middle`,dominantBaseline:`central`,fill:`#fff`,fontSize:11,fontWeight:500,fontFamily:`var(--font-sans)`,children:e[c]?.label})};if(n===`stacked`){let n=e=>f!==void 0&&f!==e?.45:1;return(0,i.jsx)(`div`,{ref:u,className:[$e.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,i.jsxs)(a.PieChart,{children:[(0,i.jsx)(a.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:_.outer*.82,outerRadius:_.outer,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,i.jsx)(a.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:0,outerRadius:_.outer*.62,paddingAngle:0,stroke:`none`,isAnimationActive:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:m[t%m.length],fillOpacity:n(t)},t))}),(0,i.jsx)(a.Tooltip,{content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}})]})})})}return(0,i.jsxs)(`div`,{ref:u,className:[$e.chart,l??``].filter(Boolean).join(` `),style:{height:_.h},children:[(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,i.jsxs)(a.PieChart,{children:[(0,i.jsx)(a.Pie,{data:e,dataKey:`value`,nameKey:`label`,innerRadius:x,outerRadius:_.outer,paddingAngle:0,stroke:n===`pie`?h:`none`,strokeWidth:n===`pie`?2:0,isAnimationActive:!1,shape:y||b?w:void 0,label:n===`label`?E:n===`custom-label`?D:n===`label-list`?O:void 0,labelLine:!1,onMouseEnter:(e,t)=>p(t),onMouseLeave:()=>p(void 0),children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:m[t%m.length]},t))}),(0,i.jsx)(a.Tooltip,{content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}})]})}),S&&(0,i.jsxs)(`div`,{className:$e.center,children:[s&&(0,i.jsx)(`span`,{className:$e.center__value,children:s}),c&&(0,i.jsx)(`span`,{className:$e.center__caption,children:c})]})]})},Y={root:`_root_16f5u_2`,trigger:`_trigger_16f5u_3`,panel:`_panel_16f5u_5`,"panel--bottom":`_panel--bottom_16f5u_22`,"panel--bottom-start":`_panel--bottom-start_16f5u_23`,"panel--bottom-end":`_panel--bottom-end_16f5u_24`,"panel--top":`_panel--top_16f5u_25`,"panel--entering":`_panel--entering_16f5u_39`,"sakani-popover-in":`_sakani-popover-in_16f5u_1`,"panel--exiting":`_panel--exiting_16f5u_40`,"sakani-popover-out":`_sakani-popover-out_16f5u_1`,"sakani-popover-in-up":`_sakani-popover-in-up_16f5u_1`,"sakani-popover-out-up":`_sakani-popover-out-up_16f5u_1`,panel__title:`_panel__title_16f5u_75`,panel__description:`_panel__description_16f5u_76`,panel__body:`_panel__body_16f5u_77`,panel__actions:`_panel__actions_16f5u_78`},st=({trigger:e,title:t,description:n,actions:a,placement:o=`bottom-start`,children:s,className:c})=>{let[l,u]=r.default.useState(!1),[d,f]=r.default.useState(!1),p=r.default.useRef(null),m=r.default.useRef(null);return r.default.useEffect(()=>{l&&f(!0)},[l]),r.default.useEffect(()=>{if(l||!d)return;let e=setTimeout(()=>f(!1),240);return()=>clearTimeout(e)},[l,d]),r.default.useEffect(()=>{if(!l)return;let e=e=>{p.current&&!p.current.contains(e.target)&&u(!1)},t=e=>{e.key===`Escape`&&u(!1)};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[l]),r.default.useEffect(()=>{!l&&m.current&&(m.current.focus(),m.current=null)},[l]),(0,i.jsxs)(`div`,{className:[Y.root,c??``].filter(Boolean).join(` `),ref:p,children:[(0,i.jsx)(`span`,{className:Y.trigger,onClick:()=>{l||(m.current=document.activeElement),u(e=>!e)},children:e}),d&&(0,i.jsxs)(`div`,{className:[Y.panel,Y[`panel--${o}`],l?Y[`panel--entering`]:Y[`panel--exiting`]].filter(Boolean).join(` `),role:`dialog`,onAnimationEnd:e=>{e.target===e.currentTarget&&!l&&f(!1)},children:[t&&(0,i.jsx)(`div`,{className:Y.panel__title,children:t}),n&&(0,i.jsx)(`div`,{className:Y.panel__description,children:n}),s&&(0,i.jsx)(`div`,{className:Y.panel__body,children:s}),a&&(0,i.jsx)(`div`,{className:Y.panel__actions,children:a})]})]})},ct={chart:`_chart_q6xhl_2`,circleFillSvg:`_circleFillSvg_q6xhl_17`},lt={sm:200,md:260,lg:340,xl:420},ut=new Set([`circle-grid`,`circle-grid-no-lines`,`circle-grid-filled`]),dt=new Set([`default`,`grid-custom`]),ft=new Set([`dots-grid-none`]),pt=new Set([`grid-filled`]),mt=e=>e===`circle-grid-filled`,ht=new Set([`default`,`dots`,`dots-grid-none`,`circle-grid`,`circle-grid-no-lines`,`multiple`,`custom-label`,`grid-custom`,`grid-filled`,`circle-grid-filled`]),gt=[1,.8,.6,.4,.2],_t=({data:e,variant:n=`default`,size:o=`md`,seriesLabels:s=[`Value`,`Value 2`],className:c})=>{let l=r.default.useRef(null),u=t.st(l),d=u(`--color-chart-1`)??`#ff4700`,f=u(`--color-chart-2`)??`#5b92dd`,p=u(`--color-border-default`)??`#dbdad7`,m=u(`--color-fg-subtle`)??`#a8a29b`,h=n===`multiple`,g=n===`lines-only`,_=h||n===`custom-label`||g,v=!g,y=n===`dots`||n===`dots-grid-none`||n===`circle-grid`||n===`circle-grid-no-lines`,b=pt.has(n),x=dt.has(n),S=ft.has(n),C=mt(n),[w,T]=r.default.useState(0);r.default.useEffect(()=>{if(!C||!l.current)return;let e=l.current,t=new ResizeObserver(([e])=>T(e.contentRect.width));return t.observe(e),()=>t.disconnect()},[C]);let E=r.default.useMemo(()=>{if(!b)return e;let t=Math.max(1,...e.flatMap(e=>[e.value,e.value2??0]));return e.map(e=>{let n={};return gt.forEach((e,r)=>{n[`ring${r}`]=e*t}),{...e,...n}})},[e,b]),D=t=>{let{x:n,y:r,cx:a,cy:o,payload:s,textAnchor:c}=t,l=e.find(e=>e.label===s?.value)??e[s?.index];if(!l)return(0,i.jsx)(`g`,{});let u=n-a,d=r-o,f=l.value2===void 0?`${l.value}`:`${l.value}/${l.value2}`,p=Math.abs(d)>Math.abs(u),h,g;if(p&&d<0)g=r-4-6,h=g-16;else if(p)h=r+4+10,g=h+18;else{let e=r+d/(Math.sqrt(u*u+d*d)||1)*4;h=e-8,g=e+12}let _=p?n:n+u/Math.sqrt(u*u+d*d||1)*4;return(0,i.jsxs)(`g`,{children:[(0,i.jsx)(`text`,{x:_,y:h,textAnchor:c,fill:m,fontSize:15,fontWeight:600,fontFamily:`var(--font-sans)`,children:f}),(0,i.jsx)(`text`,{x:_,y:g,textAnchor:c,fill:m,fontSize:13,fontFamily:`var(--font-sans)`,children:l.label})]})},O=lt[o],k=(w>0?Math.min(w,O)/2-5:0)*.7;return(0,i.jsxs)(`div`,{ref:l,className:[ct.chart,c??``].filter(Boolean).join(` `),children:[C&&w>0&&(0,i.jsx)(`svg`,{className:ct.circleFillSvg,width:w,height:O,children:gt.map(e=>(0,i.jsx)(`circle`,{cx:w/2,cy:O/2,r:k*e,fill:f,fillOpacity:.1},e))}),(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:O,children:(0,i.jsxs)(a.RadarChart,{data:E,outerRadius:`70%`,children:[!b&&!S&&(0,i.jsx)(a.PolarGrid,{gridType:ut.has(n)?`circle`:`polygon`,radialLines:n!==`circle-grid-no-lines`&&!x,stroke:p}),(0,i.jsx)(a.PolarAngleAxis,{dataKey:`label`,axisLine:!1,tick:n===`custom-label`?D:{fill:m,fontSize:12,fontFamily:`var(--font-sans)`}}),(0,i.jsx)(a.PolarRadiusAxis,{tick:!1,axisLine:!1,tickCount:x?2:void 0}),(0,i.jsx)(a.Tooltip,{content:(0,i.jsx)(t.at,{}),wrapperStyle:{zIndex:50}}),h&&(0,i.jsx)(a.Legend,{wrapperStyle:{fontSize:12,fontFamily:`var(--font-sans)`}}),b&&gt.map((e,t)=>(0,i.jsx)(a.Radar,{dataKey:`ring${t}`,stroke:`none`,fill:f,fillOpacity:.1,isAnimationActive:!1,legendType:`none`},`ring${t}`)),(0,i.jsx)(a.Radar,{name:h?s[0]??`Value`:void 0,dataKey:`value`,stroke:ht.has(n)?`none`:f,fill:v?f:`none`,fillOpacity:v?x?1:_?.45:.5:0,strokeWidth:ht.has(n)?0:2,dot:y?{r:4,fill:f,stroke:`none`}:!1,isAnimationActive:!1}),_&&(0,i.jsx)(a.Radar,{name:h?s[1]??`Value 2`:void 0,dataKey:`value2`,stroke:g?d:`none`,fill:g?`none`:d,fillOpacity:g?0:.8,strokeWidth:g?2:0,dot:y?{r:4,fill:d,stroke:`none`}:!1,isAnimationActive:!1})]})})]})},vt={chart:`_chart_1ogmh_2`,gridSvg:`_gridSvg_1ogmh_19`,gaugeSvg:`_gaugeSvg_1ogmh_31`,center:`_center_1ogmh_36`,center__value:`_center__value_1ogmh_45`,center__caption:`_center__caption_1ogmh_46`},yt={sm:180,md:220,lg:280,xl:340},bt=Math.PI/180,xt=e=>Math.round(e*1e3)/1e3,St={multi:[`30%`,`100%`],grid:[`30%`,`100%`],"stacked-label":[`30%`,`100%`],text:[`76%`,`100%`]},Ct=({value:e,max:t,color:n,track:r,centerValue:a,centerCaption:o,labelColor:s,captionColor:c})=>{let l=Math.round(Math.min(e,t)/t*40);return(0,i.jsxs)(`svg`,{viewBox:`0 0 200 120`,className:vt.gaugeSvg,children:[Array.from({length:40}).map((e,t)=>{let a=180+t/39*180;return(0,i.jsx)(`line`,{x1:xt(100+78*Math.cos(a*bt)),y1:xt(100+78*Math.sin(a*bt)),x2:xt(100+92*Math.cos(a*bt)),y2:xt(100+92*Math.sin(a*bt)),stroke:t<l?n:r,strokeWidth:2.5,strokeLinecap:`round`},t)}),(a||o)&&(0,i.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[a&&(0,i.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:a}),o&&(0,i.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},wt=({rings:e,spokes:t,color:n})=>(0,i.jsxs)(`svg`,{viewBox:`0 0 200 200`,className:vt.gridSvg,children:[Array.from({length:e}).map((t,r)=>(0,i.jsx)(`circle`,{cx:100,cy:100,r:(r+1)/e*96,fill:`none`,stroke:n,strokeWidth:1},r)),Array.from({length:t}).map((e,r)=>{let a=r/t*360,o=99.5*1.1;return(0,i.jsx)(`line`,{x1:100,y1:100,x2:xt(100+o*Math.cos(a*bt)),y2:xt(100+o*Math.sin(a*bt)),stroke:n,strokeWidth:1},r)})]}),Tt=({data:e,palette:t,track:n,centerValue:r,centerCaption:o,labelColor:s,captionColor:c})=>{let l=e[0]?.max??e.reduce((e,t)=>e+t.value,0),u=210,d=e.map((e,n)=>{let r=l>0?e.value/l*240:0,i=u,a=u-r;return u=a,{segStart:i,segEnd:a,fill:t[n%t.length]}});return(0,i.jsxs)(`svg`,{viewBox:`0 0 200 160`,className:vt.gaugeSvg,children:[d.map((e,t)=>(0,i.jsx)(a.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:e.segStart,endAngle:e.segEnd,fill:e.fill,cornerRadius:4},t)),u>-29.5&&(0,i.jsx)(a.Sector,{cx:100,cy:100,innerRadius:64,outerRadius:88,startAngle:u,endAngle:-30,fill:n,cornerRadius:4}),(r||o)&&(0,i.jsxs)(`g`,{textAnchor:`middle`,fontFamily:`var(--font-sans)`,children:[r&&(0,i.jsx)(`text`,{x:100,y:92,fontSize:22,fontWeight:500,fill:s,children:r}),o&&(0,i.jsx)(`text`,{x:100,y:112,fontSize:12,fill:c,children:o})]})]})},Et=({data:e,variant:n=`multi`,size:o=`md`,centerValue:s,centerCaption:c,className:l})=>{let u=r.default.useRef(null),d=t.st(u),f=[1,2,3,4,5].map(e=>d(`--color-chart-${e}`)??t.ot[e-1]),p=d(`--color-bg-subtle`)??`#f5f4f2`,m=d(`--color-border-subtle`)??`#e7e5e1`,h=d(`--color-fg-default`)??`#141414`,g=d(`--color-fg-muted`)??`#78716a`,_=yt[o];if(n===`gauge-tick`){let t=e[0];return(0,i.jsx)(`div`,{ref:u,className:[vt.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,i.jsx)(Ct,{value:t?.value??0,max:t?.max??100,color:f[0],track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})})}if(n===`shape`||n===`stacked`||n===`stacked-3-layers`)return(0,i.jsx)(`div`,{ref:u,className:[vt.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:(0,i.jsx)(Tt,{data:e,palette:f,track:p,centerValue:s,centerCaption:c,labelColor:h,captionColor:g})});let[v,y]=St[n]??[`30%`,`100%`],b=(n===`stacked-label`||n===`text`)&&(s||c);return(0,i.jsxs)(`div`,{ref:u,className:[vt.chart,l??``].filter(Boolean).join(` `),style:{height:_},children:[n===`grid`&&(0,i.jsx)(wt,{rings:8,spokes:12,color:m}),(0,i.jsx)(a.ResponsiveContainer,{width:`100%`,height:`100%`,children:(0,i.jsxs)(a.RadialBarChart,{data:e,innerRadius:v,outerRadius:y,startAngle:90,endAngle:-270,barCategoryGap:`12%`,children:[(0,i.jsx)(a.PolarAngleAxis,{type:`number`,domain:[0,e[0]?.max??100],tick:!1,axisLine:!1}),(0,i.jsx)(a.RadialBar,{dataKey:`value`,background:n!==`grid`&&{fill:p},cornerRadius:8,isAnimationActive:!1,children:e.map((e,t)=>(0,i.jsx)(a.Cell,{fill:f[t%f.length]},t))})]})}),b&&(0,i.jsxs)(`div`,{className:vt.center,children:[s&&(0,i.jsx)(`span`,{className:vt.center__value,children:s}),c&&(0,i.jsx)(`span`,{className:vt.center__caption,children:c})]})]})},Dt={wrapper:`_wrapper_5ueza_3`,"wrapper--disabled":`_wrapper--disabled_5ueza_11`,input:`_input_5ueza_13`,circle:`_circle_5ueza_15`,dot:`_dot_5ueza_31`,text:`_text_5ueza_79`,text__label:`_text__label_5ueza_80`,text__description:`_text__description_5ueza_81`,"wrapper--withDescription":`_wrapper--withDescription_5ueza_85`},Ot=r.default.forwardRef(({label:e,description:t,disabled:n,id:a,className:o,...s},c)=>{let l=r.default.useId(),u=a??l;return(0,i.jsxs)(`label`,{htmlFor:u,className:[Dt.wrapper,t?Dt[`wrapper--withDescription`]:``,n?Dt[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`input`,{ref:c,id:u,type:`radio`,disabled:n,className:Dt.input,...s}),(0,i.jsx)(`span`,{className:Dt.circle,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{className:Dt.dot})}),(e||t)&&(0,i.jsxs)(`span`,{className:Dt.text,children:[e&&(0,i.jsx)(`span`,{className:Dt.text__label,children:e}),t&&(0,i.jsx)(`span`,{className:Dt.text__description,children:t})]})]})});Ot.displayName=`Radio`;var kt={footer:`_footer_x13xl_4`,"footer--collapsed":`_footer--collapsed_x13xl_12`,footer__text:`_footer__text_x13xl_14`,footer__title:`_footer__title_x13xl_15`,footer__subtitle:`_footer__subtitle_x13xl_16`,footer__menu:`_footer__menu_x13xl_17`,footer__action:`_footer__action_x13xl_29`},At=({type:r=`user`,title:a,subtitle:o,avatarSrc:s,avatarInitials:c,collapsed:l,onMenu:u,onSignOut:d})=>{let f=(0,i.jsx)(t.Et,{size:l?`sm`:`md`,src:s,initials:c,alt:a??`User`});return l?(0,i.jsx)(`div`,{className:[kt.footer,kt[`footer--collapsed`]].join(` `),children:f}):r===`actions`?(0,i.jsx)(`div`,{className:kt.footer,children:(0,i.jsxs)(`button`,{type:`button`,"data-hover-item":``,className:kt.footer__action,onClick:d,children:[(0,i.jsx)(n.t,{size:16,strokeWidth:t.kt(16)}),` Sign out`]})}):(0,i.jsxs)(`div`,{className:kt.footer,children:[f,(0,i.jsxs)(`span`,{className:kt.footer__text,children:[a&&(0,i.jsx)(`span`,{className:kt.footer__title,children:a}),o&&(0,i.jsx)(`span`,{className:kt.footer__subtitle,children:o})]}),r===`user-menu`&&(0,i.jsx)(`button`,{type:`button`,"data-hover-item":``,className:kt.footer__menu,onClick:u,"aria-label":`Open menu`,children:(0,i.jsx)(e.a,{size:16,strokeWidth:t.kt(16)})})]})},jt={search:`_search_4878u_2`,search__icon:`_search__icon_4878u_25`,search__input:`_search__input_4878u_26`,search__placeholder:`_search__placeholder_4878u_38`,search__kbd:`_search__kbd_4878u_39`,collapsed:`_collapsed_4878u_53`},Mt=({type:n=`field`,placeholder:r=`Search…`,collapsed:a,value:o,onChange:s,onClick:c})=>a?(0,i.jsx)(`button`,{type:`button`,className:jt.collapsed,onClick:c,"aria-label":`Search`,children:(0,i.jsx)(e.u,{size:18,strokeWidth:t.kt(18)})}):n===`command`?(0,i.jsxs)(`button`,{type:`button`,className:jt.search,onClick:c,children:[(0,i.jsx)(e.u,{size:16,strokeWidth:t.kt(16),className:jt.search__icon}),(0,i.jsx)(`span`,{className:jt.search__placeholder,children:r}),(0,i.jsx)(`kbd`,{className:jt.search__kbd,children:`⌘K`})]}):(0,i.jsxs)(`div`,{className:jt.search,children:[(0,i.jsx)(e.u,{size:16,strokeWidth:t.kt(16),className:jt.search__icon}),(0,i.jsx)(`input`,{className:jt.search__input,placeholder:r,value:o,onChange:e=>s?.(e.target.value)})]}),X={toaster:`_toaster_ma9al_7`,toast:`_toast_ma9al_7`,swipeOutLeft:`_swipeOutLeft_ma9al_1`,swipeOutRight:`_swipeOutRight_ma9al_1`,swipeOutUp:`_swipeOutUp_ma9al_1`,swipeOutDown:`_swipeOutDown_ma9al_1`,icon:`_icon_ma9al_160`,content:`_content_ma9al_173`,title:`_title_ma9al_180`,description:`_description_ma9al_181`,button:`_button_ma9al_183`,cancel:`_cancel_ma9al_202`,close:`_close_ma9al_204`,spinner:`_spinner_ma9al_227`,spinnerBar:`_spinnerBar_ma9al_232`,spinnerFade:`_spinnerFade_ma9al_1`},Nt=0,Pt=[],Ft=new Set;function It(e){for(let t of Ft)t(e)}var Lt={subscribe(e){return Ft.add(e),()=>{Ft.delete(e)}},active:()=>Pt,remove(e){Pt=Pt.filter(t=>t.id!==e)}};function Z(e,t,n={}){let r=n.id??`sakani-toast-${++Nt}`,i=Pt.find(e=>e.id===r),a={...i,...n,id:r,type:e,title:t,delete:!1,version:(i?.version??0)+1};return Pt=i?Pt.map(e=>e.id===r?a:e):[a,...Pt],It({kind:`upsert`,toast:a}),r}function Rt(e){return Pt=e===void 0?[]:Pt.filter(t=>t.id!==e),It({kind:`dismiss`,id:e}),e}function zt(e,t){let{loading:n,success:r,error:i,finally:a,id:o,...s}=t,c=o??`sakani-toast-${++Nt}`;return n!==void 0&&Z(`loading`,n,{...s,id:c}),(typeof e==`function`?e():e).then(e=>{if(r===void 0){n!==void 0&&Rt(c);return}Z(`success`,typeof r==`function`?r(e):r,{...s,id:c})},e=>{if(i===void 0){n!==void 0&&Rt(c);return}Z(`error`,typeof i==`function`?i(e):i,{...s,id:c})}).finally(()=>a?.()),c}var Bt=Object.assign((e,t)=>Z(`default`,e,t),{message:(e,t)=>Z(`default`,e,t),success:(e,t)=>Z(`success`,e,t),info:(e,t)=>Z(`info`,e,t),warning:(e,t)=>Z(`warning`,e,t),error:(e,t)=>Z(`error`,e,t),loading:(e,t)=>Z(`loading`,e,t),promise:zt,dismiss:Rt}),Vt=356,Ht=45,Ut=200,Wt=e=>typeof e==`number`?`${e}px`:e,Gt=(...e)=>e.filter(Boolean).join(` `),Kt={success:{viewBox:`0 0 20 20`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`},info:{viewBox:`0 0 20 20`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`},warning:{viewBox:`0 0 24 24`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`},error:{viewBox:`0 0 20 20`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`}};function qt({type:e}){if(e===`loading`)return(0,i.jsx)(`span`,{className:X.spinner,"aria-hidden":`true`,children:Array.from({length:12},(e,t)=>(0,i.jsx)(`span`,{className:X.spinnerBar,style:{transform:`rotate(${t*30||1e-4}deg) translate(146%)`,animationDelay:`${-1.2+t*.1}s`}},t))});let t=Kt[e];return t?(0,i.jsx)(`svg`,{viewBox:t.viewBox,width:16,height:16,fill:`currentColor`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:t.d})}):null}var Jt=()=>(0,i.jsx)(`svg`,{viewBox:`0 0 12 12`,width:12,height:12,fill:`none`,stroke:`currentColor`,strokeWidth:1.5,strokeLinecap:`round`,"aria-hidden":`true`,children:(0,i.jsx)(`path`,{d:`M9 3L3 9M3 3l6 6`})});function Yt({toast:e,index:t,count:n,expanded:a,expandByDefault:o,paused:s,heights:c,setHeights:l,removeToast:u,gap:d,visibleToasts:f,yPosition:p,xPosition:m,closeButton:h,richColors:g,duration:_}){let[v,y]=(0,r.useState)(!1),[b,x]=(0,r.useState)(!1),[S,C]=(0,r.useState)(!1),[w,T]=(0,r.useState)(!1),[E,D]=(0,r.useState)(!1),[O,k]=(0,r.useState)(null),[ee,te]=(0,r.useState)(0),[ne,A]=(0,r.useState)(0),j=(0,r.useRef)(null),M=(0,r.useRef)(null),N=(0,r.useRef)(null),re=(0,r.useRef)(0),P=(0,r.useRef)(0),ie=t===0,F=t+1<=f,I=e.dismissible!==!1,L=e.duration??_,ae=e.richColors??g,oe=(e.closeButton??h)&&e.type!==`loading`,se=c.findIndex(t=>t.id===e.id),ce=(0,r.useMemo)(()=>{let e=c.reduce((e,t,n)=>n>=se?e:e+t.height,0);return Math.max(0,se)*d+e},[c,se,d]),le=(0,r.useRef)(ce);le.current=ce,(0,r.useLayoutEffect)(()=>{let t=j.current;if(!t)return;let n=t.style.height;t.style.height=`auto`;let r=t.offsetHeight;t.style.height=n,A(r),l(t=>t.some(t=>t.id===e.id)?t.map(t=>t.id===e.id?{...t,height:r}:t):[{id:e.id,height:r},...t])},[e.id,e.version,l]),(0,r.useEffect)(()=>{y(!0)},[]);let ue=(0,r.useCallback)(()=>{x(!0),te(le.current),l(t=>t.filter(t=>t.id!==e.id)),window.setTimeout(()=>u(e),Ut)},[e,u,l]);(0,r.useEffect)(()=>{e.delete&&!b&&(e.onDismiss?.(e),ue())},[e,b,ue]),(0,r.useEffect)(()=>{P.current=L},[e.version,L]),(0,r.useEffect)(()=>{if(b||s||e.type===`loading`||L===1/0)return;let t=Date.now(),n=window.setTimeout(()=>{e.onAutoClose?.(e),ue()},P.current);return()=>{window.clearTimeout(n),P.current-=Date.now()-t}},[b,s,e,L,ue]);let R=()=>{!I||b||(e.onDismiss?.(e),ue())},z=(0,r.useMemo)(()=>{let e=[p];return m!==`center`&&e.push(m),e},[p,m]),B=(e,t)=>{j.current?.style.setProperty(`--swipe-amount-x`,`${e}px`),j.current?.style.setProperty(`--swipe-amount-y`,`${t}px`)},de=e=>{if(!(e.button===2||!I||b)&&!e.target.closest(`button`)){re.current=Date.now(),te(le.current);try{e.currentTarget.setPointerCapture(e.pointerId)}catch{}C(!0),M.current={x:e.clientX,y:e.clientY},N.current=null}},fe=e=>{if(!M.current||!I||(window.getSelection()?.toString().length??0)>0)return;let t=e.clientY-M.current.y,n=e.clientX-M.current.x;!N.current&&(Math.abs(n)>1||Math.abs(t)>1)&&(N.current=Math.abs(n)>Math.abs(t)?`x`:`y`);let r=e=>e/(1.5+Math.abs(e)/20),i=0,a=0;N.current===`y`?a=z.includes(`top`)&&t<0||z.includes(`bottom`)&&t>0?t:r(t):N.current===`x`&&(i=z.includes(`left`)&&n<0||z.includes(`right`)&&n>0?n:r(n)),(i!==0||a!==0)&&T(!0),B(i,a)},pe=()=>{if(E||!I||!M.current)return;M.current=null;let t=j.current?.style,n=parseFloat(t?.getPropertyValue(`--swipe-amount-x`)||`0`)||0,r=parseFloat(t?.getPropertyValue(`--swipe-amount-y`)||`0`)||0,i=N.current===`x`?n:r,a=Math.abs(i)/Math.max(1,Date.now()-re.current);if((N.current===`x`?i<0&&z.includes(`left`)||i>0&&z.includes(`right`):i<0&&z.includes(`top`)||i>0&&z.includes(`bottom`))&&(Math.abs(i)>=Ht||a>.11)){te(le.current),e.onDismiss?.(e),k(N.current===`x`?n>0?`right`:`left`:r>0?`down`:`up`),ue(),D(!0);return}B(0,0),T(!1),C(!1),N.current=null},me=a||o&&v,V=e.icon===null?null:e.icon??(0,i.jsx)(qt,{type:e.type}),he=V!==null&&(e.icon!==void 0||e.type!=="default");return(0,i.jsxs)(`li`,{ref:j,tabIndex:0,role:`status`,"aria-live":e.important||e.type===`error`?`assertive`:`polite`,"aria-atomic":`true`,className:Gt(X.toast,e.className),"data-mounted":v,"data-removed":b,"data-visible":F,"data-front":ie,"data-expanded":me,"data-y-position":p,"data-x-position":m,"data-type":e.type,"data-rich-colors":ae,"data-dismissible":I,"data-swiping":S,"data-swiped":w,"data-swipe-out":E,"data-swipe-direction":O??void 0,style:{"--index":t,"--toasts-before":t,"--z-index":n-t,"--offset":`${b?ee:ce}px`,"--initial-height":o?`auto`:`${ne}px`},onPointerDown:de,onPointerMove:fe,onPointerUp:pe,onPointerCancel:pe,onKeyDown:e=>{(e.key===`Delete`||e.key===`Backspace`)&&R()},children:[oe&&(0,i.jsx)(`button`,{type:`button`,className:X.close,"aria-label":`Close notification`,disabled:!I,onClick:R,children:(0,i.jsx)(Jt,{})}),he&&(0,i.jsx)(`div`,{className:X.icon,children:V}),(0,i.jsxs)(`div`,{className:X.content,children:[(0,i.jsx)(`div`,{className:X.title,children:e.title}),e.description&&(0,i.jsx)(`div`,{className:X.description,children:e.description})]}),e.cancel&&(0,i.jsx)(`button`,{type:`button`,className:Gt(X.button,X.cancel),onClick:t=>{e.cancel?.onClick?.(t),I&&R()},children:e.cancel.label}),e.action&&(0,i.jsx)(`button`,{type:`button`,className:X.button,onClick:t=>{e.action?.onClick(t),t.defaultPrevented||ue()},children:e.action.label})]})}var Xt=({position:e=`bottom-right`,richColors:t=!1,closeButton:n=!1,expand:a=!1,visibleToasts:o=3,duration:s=4e3,gap:c=14,offset:l=24,mobileOffset:u=16,hotkey:d=[`altKey`,`KeyT`],containerAriaLabel:f=`Notifications`,className:p,style:m})=>{let[h,g]=(0,r.useState)(()=>Lt.active()),[_,v]=(0,r.useState)([]),[y,b]=(0,r.useState)(!1),[x,S]=(0,r.useState)(!1),[C,w]=(0,r.useState)(!1),T=(0,r.useRef)(null),[E,D]=e.split(`-`);(0,r.useEffect)(()=>Lt.subscribe(e=>{e.kind===`upsert`?g(t=>t.some(t=>t.id===e.toast.id)?t.map(t=>t.id===e.toast.id?e.toast:t):[e.toast,...t]):g(t=>t.map(t=>e.id===void 0||t.id===e.id?{...t,delete:!0}:t))}),[]);let O=(0,r.useCallback)(e=>{Lt.remove(e.id),g(t=>t.filter(t=>t.id!==e.id))},[]);return(0,r.useEffect)(()=>{h.length<=1&&b(!1)},[h.length]),(0,r.useEffect)(()=>{let e=()=>w(document.hidden);return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[]),(0,r.useEffect)(()=>{let e=e=>{d.length>0&&d.every(t=>e[t]===!0||e.code===t)&&(b(!0),T.current?.focus()),e.key===`Escape`&&T.current&&(document.activeElement===T.current||T.current.contains(document.activeElement))&&(b(!1),document.activeElement?.blur())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[d]),(0,i.jsx)(`section`,{"aria-label":`${f} ${d.join(`+`).replace(/Key/g,``).replace(/Digit/g,``)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`,children:h.length>0&&(0,i.jsx)(`ol`,{ref:T,tabIndex:-1,className:Gt(X.toaster,p),"data-y-position":E,"data-x-position":D,style:{"--front-toast-height":`${_[0]?.height??0}px`,"--width":`${Vt}px`,"--gap":`${c}px`,"--offset-top":Wt(l),"--offset-right":Wt(l),"--offset-bottom":Wt(l),"--offset-left":Wt(l),"--mobile-offset-top":Wt(u),"--mobile-offset-right":Wt(u),"--mobile-offset-bottom":Wt(u),"--mobile-offset-left":Wt(u),...m},onMouseEnter:()=>b(!0),onMouseMove:()=>b(!0),onMouseLeave:()=>{x||b(!1)},onFocus:()=>b(!0),onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||b(!1)},onPointerDown:e=>{e.target.dataset?.dismissible!==`false`&&S(!0)},onPointerUp:()=>S(!1),children:h.map((e,r)=>(0,i.jsx)(Yt,{toast:e,index:r,count:h.length,expanded:y,expandByDefault:a,paused:y||x||C,heights:_,setHeights:v,removeToast:O,gap:c,visibleToasts:o,yPosition:E,xPosition:D,closeButton:n,richColors:t,duration:s},e.id))})})},Zt={spinner:`_spinner_14r00_3`,"spinner--sm":`_spinner--sm_14r00_12`,"spinner--md":`_spinner--md_14r00_13`,"spinner--lg":`_spinner--lg_14r00_14`,spinner__svg:`_spinner__svg_14r00_17`,"spinner-rotate":`_spinner-rotate_14r00_1`},Qt=({size:e=`md`,label:t=`Loading...`,className:n})=>(0,i.jsx)(`span`,{role:`status`,"aria-label":t,className:[Zt.spinner,Zt[`spinner--${e}`],n??``].filter(Boolean).join(` `),children:(0,i.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2.5,strokeLinecap:`round`,"aria-hidden":`true`,className:Zt.spinner__svg,children:[(0,i.jsx)(`circle`,{cx:12,cy:12,r:9,opacity:.2}),(0,i.jsx)(`path`,{d:`M12 3a9 9 0 0 1 9 9`,className:Zt.spinner__arc})]})}),Q={stepper:`_stepper_1qhab_3`,"stepper--horizontal":`_stepper--horizontal_1qhab_4`,"stepper--vertical":`_stepper--vertical_1qhab_5`,step:`_step_1qhab_3`,"step--horizontal":`_step--horizontal_1qhab_8`,"step--vertical":`_step--vertical_1qhab_9`,circle:`_circle_1qhab_12`,circle__num:`_circle__num_1qhab_24`,"stepper--animated":`_stepper--animated_1qhab_28`,"circle--completed":`_circle--completed_1qhab_32`,"stepper-check":`_stepper-check_1qhab_1`,"circle--current":`_circle--current_1qhab_39`,"stepper-arrive":`_stepper-arrive_1qhab_1`,"circle--upcoming":`_circle--upcoming_1qhab_57`,step__text:`_step__text_1qhab_64`,step__label:`_step__label_1qhab_65`,"step__label--current":`_step__label--current_1qhab_66`,"step__label--upcoming":`_step__label--upcoming_1qhab_67`,step__desc:`_step__desc_1qhab_68`,connector:`_connector_1qhab_71`,connector__fill:`_connector__fill_1qhab_75`,"connector--vertical":`_connector--vertical_1qhab_82`,"connector--filled":`_connector--filled_1qhab_86`,"connector--horizontal":`_connector--horizontal_1qhab_88`},$t=({index:n,state:r,label:a,description:o,orientation:s=`horizontal`,delay:c=0,fresh:l})=>(0,i.jsxs)(`div`,{className:[Q.step,Q[`step--${s}`]].join(` `),style:{"--delay":`${c}ms`},children:[(0,i.jsx)(`span`,{className:[Q.circle,Q[`circle--${r}`]].join(` `),"data-fresh":l||void 0,"aria-hidden":`true`,children:r===`completed`?(0,i.jsx)(e.k,{size:14,strokeWidth:t.kt(14)}):(0,i.jsx)(`span`,{className:Q.circle__num,children:n+1})}),(0,i.jsxs)(`span`,{className:Q.step__text,children:[(0,i.jsx)(`span`,{className:[Q.step__label,r===`current`?Q[`step__label--current`]:``,r===`upcoming`?Q[`step__label--upcoming`]:``].filter(Boolean).join(` `),children:a}),o&&(0,i.jsx)(`span`,{className:Q.step__desc,children:o})]})]}),en=457,tn=({steps:e,current:t,orientation:n=`horizontal`,className:a})=>{let o=e=>e<t?`completed`:e===t?`current`:`upcoming`,s=(0,r.useRef)(t),[c,l]=(0,r.useState)(!1);(0,r.useEffect)(()=>{l(!0)},[]),(0,r.useEffect)(()=>{s.current=t},[t]);let u=s.current,d=(e,t)=>e<t?`completed`:e===t?`current`:`upcoming`,f=e=>c&&u!==t&&d(e,u)!==d(e,t),p=t>=u,m=Math.max(1,Math.abs(t-u)),h=Math.min(en,Math.floor(1430/m)),g=e=>p?e>=u&&e<=t?(e-u)*h:0:e>=t&&e<=u?(u-e)*h:0,_=e=>p?e>=u&&e<t?(e-u)*h:0:e>=t&&e<u?(u-1-e)*h+57:0;return(0,i.jsx)(`div`,{className:[Q.stepper,Q[`stepper--${n}`],c?Q[`stepper--animated`]:``,a??``].filter(Boolean).join(` `),style:{"--fill-ms":`${h}ms`},children:e.map((a,s)=>(0,i.jsxs)(r.default.Fragment,{children:[(0,i.jsx)($t,{index:s,state:o(s),label:a.label,description:a.description,orientation:n,delay:g(s),fresh:f(s)}),s<e.length-1&&(0,i.jsx)(`span`,{className:[Q.connector,Q[`connector--${n}`],s<t?Q[`connector--filled`]:``].filter(Boolean).join(` `),style:{"--delay":`${_(s)}ms`},"aria-hidden":`true`,children:(0,i.jsx)(`span`,{className:Q.connector__fill})})]},s))})},$={wrapper:`_wrapper_1d89w_3`,"wrapper--disabled":`_wrapper--disabled_1d89w_11`,input:`_input_1d89w_13`,track:`_track_1d89w_15`,thumb:`_thumb_1d89w_28`,"wrapper--stretch":`_wrapper--stretch_1d89w_50`,label:`_label_1d89w_60`,"wrapper--withDescription":`_wrapper--withDescription_1d89w_65`,text:`_text_1d89w_66`,description:`_description_1d89w_68`},nn=16,rn=2,an=18,on=360,sn=16,cn=e=>1-(1-e)**3,ln=.16,un=r.default.forwardRef(({label:e,description:t,disabled:n,id:a,className:o,onChange:s,variant:c=`default`,...l},u)=>{let d=r.default.useId(),f=a??d,p=r.default.useRef(null);return(0,i.jsxs)(`label`,{htmlFor:f,className:[$.wrapper,c===`stretch`?$[`wrapper--stretch`]:``,t?$[`wrapper--withDescription`]:``,n?$[`wrapper--disabled`]:``,o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`input`,{ref:u,id:f,type:`checkbox`,role:`switch`,disabled:n,className:$.input,onChange:e=>{s?.(e);let t=p.current;if(c!==`stretch`||!t||typeof t.animate!=`function`||window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches)return;let n=e.target.checked,r=getComputedStyle(t),i=parseFloat(r.translate)||0,a=parseFloat(r.width)||nn,o=(n?rn:an)+i,l=o+a,u=n?an:rn,d=u+nn;t.getAnimations().forEach(e=>e.cancel());let f=[];for(let e=0;e<=sn;e++){let t=e/sn,r=cn(t),i=cn(Math.min(1,Math.max(0,(t-ln)/(1-ln)))),a=o+(u-o)*(n?i:r),s=l+(d-l)*(n?r:i);f.push({width:`${s-a}px`,translate:`${a-u}px 0`,offset:t})}t.animate(f,{duration:on,easing:`linear`})},...l}),(0,i.jsx)(`span`,{className:$.track,"aria-hidden":`true`,children:(0,i.jsx)(`span`,{ref:p,className:$.thumb})}),t?(0,i.jsxs)(`span`,{className:$.text,children:[e&&(0,i.jsx)(`span`,{className:$.label,children:e}),(0,i.jsx)(`span`,{className:$.description,children:t})]}):e&&(0,i.jsx)(`span`,{className:$.label,children:e})]})});un.displayName=`Switch`;var dn={field:`_field_53t87_6`,field__label:`_field__label_53t87_8`,field__description:`_field__description_53t87_10`,field__error:`_field__error_53t87_11`,textarea:`_textarea_53t87_13`,"textarea--error":`_textarea--error_53t87_37`,"textarea--disabled":`_textarea--disabled_53t87_52`},fn=r.default.forwardRef(({label:e,description:t,error:n,disabled:a,id:o,className:s,rows:c=3,...l},u)=>{let d=r.default.useId(),f=o??d,p=!!n,m=t||n?`${f}-desc`:void 0;return(0,i.jsxs)(`div`,{className:[dn.field,s??``].filter(Boolean).join(` `),children:[e&&(0,i.jsx)(`label`,{htmlFor:f,className:dn.field__label,children:e}),(0,i.jsx)(`textarea`,{ref:u,id:f,rows:c,disabled:a,"aria-invalid":p||void 0,"aria-describedby":m,className:[dn.textarea,p?dn[`textarea--error`]:``,a?dn[`textarea--disabled`]:``].filter(Boolean).join(` `),...l}),(t||n)&&(0,i.jsx)(`span`,{id:m,className:p?dn.field__error:dn.field__description,children:n||t})]})});fn.displayName=`Textarea`;var pn={toast:`_toast_dshlf_3`,toast__icon:`_toast__icon_dshlf_17`,"toast--success":`_toast--success_dshlf_18`,"toast--error":`_toast--error_dshlf_19`,"toast--info":`_toast--info_dshlf_20`,toast__content:`_toast__content_dshlf_22`,toast__title:`_toast__title_dshlf_23`,toast__description:`_toast__description_dshlf_24`,toast__dismiss:`_toast__dismiss_dshlf_26`},mn={success:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`path`,{d:`M22 11.08V12a10 10 0 1 1-5.93-9.14`}),(0,i.jsx)(`polyline`,{points:`22 4 12 14.01 9 11.01`})]}),error:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,i.jsx)(`line`,{x1:`15`,y1:`9`,x2:`9`,y2:`15`}),(0,i.jsx)(`line`,{x1:`9`,y1:`9`,x2:`15`,y2:`15`})]}),info:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,i.jsx)(`line`,{x1:`12`,y1:`16`,x2:`12`,y2:`12`}),(0,i.jsx)(`line`,{x1:`12`,y1:`8`,x2:`12.01`,y2:`8`})]})},hn=({status:e=`info`,title:n,description:r,onDismiss:a,className:o})=>(0,i.jsxs)(`div`,{role:e===`error`?`alert`:`status`,"aria-live":e===`error`?`assertive`:`polite`,className:[pn.toast,pn[`toast--${e}`],o??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`span`,{className:pn.toast__icon,"aria-hidden":`true`,children:(0,i.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(18),strokeLinecap:`round`,strokeLinejoin:`round`,width:18,height:18,children:mn[e]})}),(0,i.jsxs)(`div`,{className:pn.toast__content,children:[n&&(0,i.jsx)(`div`,{className:pn.toast__title,children:n}),r&&(0,i.jsx)(`div`,{className:pn.toast__description,children:r})]}),a&&(0,i.jsx)(`button`,{type:`button`,className:pn.toast__dismiss,onClick:a,"aria-label":`Dismiss`,children:(0,i.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:t.kt(16),strokeLinecap:`round`,strokeLinejoin:`round`,width:16,height:16,children:[(0,i.jsx)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),(0,i.jsx)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})]})})]}),gn={bar:`_bar_14cqo_2`,bar__icon:`_bar__icon_14cqo_10`,bar__title:`_bar__title_14cqo_17`,"bar__title--center":`_bar__title--center_14cqo_21`,bar__search:`_bar__search_14cqo_22`},_n=({type:n=`title`,title:r,trailing:a,search:o,onMenu:s,onAction:c,onClose:l,className:u})=>(0,i.jsxs)(`header`,{className:[gn.bar,u??``].filter(Boolean).join(` `),children:[(0,i.jsx)(`button`,{type:`button`,className:gn.bar__icon,onClick:s,"aria-label":`Open menu`,children:(0,i.jsx)(e.b,{size:18,strokeWidth:t.kt(18)})}),n===`search`?(0,i.jsx)(`div`,{className:gn.bar__search,children:o}):(0,i.jsx)(`span`,{className:[gn.bar__title,n===`title-centered`?gn[`bar__title--center`]:``].join(` `),children:r}),n===`title-action`&&(0,i.jsx)(`button`,{type:`button`,className:gn.bar__icon,onClick:c,"aria-label":`Add`,children:(0,i.jsx)(e.T,{size:18,strokeWidth:t.kt(18)})}),n===`search`&&(0,i.jsx)(`button`,{type:`button`,className:gn.bar__icon,onClick:l,"aria-label":`Close search`,children:(0,i.jsx)(e.F,{size:18,strokeWidth:t.kt(18)})}),(n===`title`||n===`title-centered`)&&a]});exports.Accordion=t.Dt,exports.AccordionItem=t.Ot,exports.ActivityFeed=t.wt,exports.ActivityFeedHighlight=t.Tt,exports.Alert=t.F,exports.Announcement=s,exports.AreaChart=ke,exports.Avatar=t.Et,exports.AvatarGroup=t.B,exports.AvatarUpload=t.bt,exports.Badge=t.rt,exports.Balance=t.yt,exports.BarChart=t.it,exports.BlogBlockquote=re,exports.BlogFeatureText=ie,exports.BlogImage=I,exports.BlogListingCard=t.U,exports.BlogListingFeaturedCard=t.H,exports.BoardCard=t.P,exports.BoardColumn=Ae,exports.Breadcrumb=t.j,exports.Button=t.xt,exports.Calendar=Fe,exports.Card=Ie,exports.CardMetaItem=t.A,exports.CartItem=t.tt,exports.ChatComposer=t.k,exports.Checkbox=t.O,exports.CheckoutSteps=t.$,exports.CodeSnippet=f,exports.ColorSwatch=t.Z,exports.Combobox=Le,exports.ConversationItem=t.D,exports.DEFAULT_CHECKOUT_STEPS=t.et,exports.Divider=t.ft,exports.DonutChart=t.E,exports.EmptyState=t.T,exports.Expenses=h,exports.FacebookIcon=Te,exports.FeaturedIcon=t.V,exports.FileUpload=Re,exports.FilterChip=t.w,exports.FirstPageHeading=ae,exports.FunnelChart=Ue,exports.GithubIcon=_e,exports.HeatmapChart=Ke,exports.HoverGroup=t.M,exports.IconButton=t.St,exports.InlineHint=v,exports.Input=t.C,exports.InstagramIcon=we,exports.JobListing=t.R,exports.Kbd=Je,exports.Label=Xe,exports.LineChart=t.S,exports.Link=t.Ct,exports.LinkedinIcon=Ee,exports.LiquidBackdrop=t.pt,exports.LiquidGlass=t.mt,exports.List=se,exports.ListItem=Qe,exports.LocationDot=t.z,exports.Marquee=ue,exports.Menu=t.b,exports.MenuDivider=t.x,exports.MenuItem=t.y,exports.MessageBubble=t.v,exports.Metric=z,exports.MobileNavigationMenu=de,exports.Modal=t.dt,exports.NotificationItem=t.ut,exports.Pagination=t._,exports.PieChart=ot,exports.PlaceholderLogo=me,exports.Popover=st,exports.PriceDisplay=t.X,exports.ProductCard=t.J,exports.ProductGallery=t.q,exports.ProfileCard=he,exports.Progress=t.vt,exports.ProgressItem=b,exports.ProgressStat=t.lt,exports.QuantitySelector=t.nt,exports.RadarChart=_t,exports.RadialChart=Et,exports.Radio=Ot,exports.RichSeparator=S,exports.RichTextHeading=ye,exports.RichTextParagraph=xe,exports.SectionHeading=t.L,exports.SegmentedControl=t.g,exports.Select=t.h,exports.Sidebar=t.m,exports.SidebarDivider=t.p,exports.SidebarFooter=At,exports.SidebarGroupLabel=t.f,exports.SidebarHeader=t.d,exports.SidebarItem=t.u,exports.SidebarPromo=t.l,exports.SidebarSearch=Mt,exports.SidebarSubItem=t.c,exports.SizeSelector=t.K,exports.Skeleton=t.s,exports.Slider=t.o,exports.SpendingBalance=t.ct,exports.Spinner=Qt,exports.StarRating=t.G,exports.StatCard=t.a,exports.Stepper=tn,exports.StepperStep=$t,exports.StockMarket=T,exports.StockStatus=t.W,exports.SubFeature=Ce,exports.Switch=un,exports.Table=t.i,exports.Tabs=t.r,exports.Tags=O,exports.TeamCard=t.I,exports.Textarea=fn,exports.Ticker=ne,exports.Toast=hn,exports.Toaster=Xt,exports.Tooltip=t.n,exports.TopBar=t.t,exports.TopBarMobile=_n,exports.Transactions=M,exports.WishlistButton=t.Y,exports.XIcon=ge,exports.getContrastColor=t.Q,exports.iconStrokeWidth=t.kt,exports.syncLiquidBackdrop=t.ht,exports.toast=Bt,exports.useHoverHighlight=t.N,exports.useLiquidGlass=t.gt;
package/dist/index.d.ts CHANGED
@@ -116,6 +116,7 @@ export * from './components/SidebarSearch';
116
116
  export * from './components/SidebarSubItem';
117
117
  export * from './components/Skeleton';
118
118
  export * from './components/Slider';
119
+ export * from './components/Sonner';
119
120
  export * from './components/Spinner';
120
121
  export * from './components/StatCard';
121
122
  export * from './components/Stepper';