@qtalo/qt-ui-library 0.1.19 → 0.1.21
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +18 -2
- package/dist/index.js +311 -239
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -61,5 +61,5 @@ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error
|
|
|
61
61
|
`).replace(/\p{Cf}/gu,``).replace(/\p{Zs}/gu,` `).replace(/[^\S\n\t]+/g,` `).replace(/[ \t]+\n/g,`
|
|
62
62
|
`).replace(/(\n\s*){2,}/g,`
|
|
63
63
|
|
|
64
|
-
`).trim()}function Ln(e){if(!e)return``;let t=In(e),n=Nn(t),r;switch(n){case`html`:r=Pn(t);break;case`markdown`:r=q.parse(t,{breaks:!0,gfm:!0}),r=Pn(r);break;case`text`:default:r=Fn(Pn(t));break}return at.sanitize(r,{ALLOWED_TAGS:[`p`,`br`,`strong`,`em`,`u`,`s`,`a`,`ul`,`ol`,`li`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`blockquote`,`code`,`pre`,`img`,`div`,`span`],ALLOWED_ATTR:[`href`,`src`,`alt`,`title`,`target`,`rel`],ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i})}var Rn={hour:`2-digit`,minute:`2-digit`,hour12:!1};function zn(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Bn(e){return e.toLocaleTimeString([],Rn)}function Vn(e){let t=new Date(e);return t.setDate(e.getDate()-1),t}function Hn(e,t){return t?e.getFullYear().toString():`'${e.getFullYear().toString().slice(-2)}`}function Un(e,t){return t?`${e}${Kn(e)}`:`${e}`}function Wn(e,t,n){let{longMonth:r,longYear:i,withOrdinal:a,showWeekday:o,includeTime:s}=n,c=e.getDate(),l=r?`long`:`short`,u=`${e.toLocaleDateString([],{month:l})} ${Un(c,a)}`;return e.getFullYear()!==t.getFullYear()&&(u+=`, ${Hn(e,i)}`),o&&(u=`${e.toLocaleDateString([],{weekday:`long`})}, ${u}`),s&&(u+=`, ${Bn(e)}`),u}function Gn(e,t={}){let{todayAsText:n=!1,showWeekday:r=!1,longMonth:i=!1,longYear:a=!0,withOrdinal:o=!1,includeTime:s=!0}=t,c=new Date(e),l=new Date;return zn(c,l)?n?`Today`:Bn(c):zn(c,Vn(l))?s?`Yesterday, ${Bn(c)}`:`Yesterday`:Wn(c,l,{todayAsText:n,showWeekday:r,longMonth:i,longYear:a,withOrdinal:o,includeTime:s})}function Kn(e){if(e%100>=11&&e%100<=13)return`th`;switch(e%10){case 1:return`st`;case 2:return`nd`;case 3:return`rd`;default:return`th`}}function J({className:e,children:t,...n}){return(0,d.jsx)(`button`,{...n,className:T(`btn-base`,e),children:t})}function qn({checked:e,defaultChecked:t,icon:n,indeterminate:r,indeterminateIcon:i,onChange:a,disabled:o,children:s,className:c}){let l=(0,u.useRef)(null),[f,p]=(0,u.useState)(t??!1),m=e??f;(0,u.useEffect)(()=>{l.current&&(l.current.indeterminate=!!r)},[r]);function h(t){let n=t.target.checked;e===void 0&&p(n),a?.(n)}return(0,d.jsxs)(`label`,{className:T(`gap-2 relative inline-flex w-fit cursor-pointer items-center select-none`,o&&`pointer-events-none opacity-50`,c),children:[(0,d.jsx)(`input`,{ref:l,type:`checkbox`,className:T(`p-0 absolute h-px w-px overflow-hidden whitespace-nowrap`,`[clip-path:inset(50%)]`,`border-0`),disabled:o,onChange:h,...e===void 0?{defaultChecked:t}:{checked:e}}),(0,d.jsx)(`span`,{role:`checkbox`,"aria-checked":r?`mixed`:m,tabIndex:-1,"data-state":r?`indeterminate`:m?`checked`:`unchecked`,className:`checkbox-box inline-flex items-center justify-center`,children:(0,d.jsx)(`span`,{className:T(`checkbox-icon`,!(m||r)&&`opacity-0`),children:r?i??`—`:n??`✓`})}),s&&(0,d.jsx)(`span`,{className:`checkbox-label`,children:s})]})}const Jn=(0,u.createContext)(null);function Yn(){let e=(0,u.useContext)(Jn);if(!e)throw Error(`useDropdown must be used inside Dropdown`);return e}function Xn({trigger:e,children:t,align:n=`start`,side:r=`bottom`,offsetX:i=0,offsetY:a=0,disabled:o=!1,openOnHover:s=!0,open:c,onOpenChange:l}){let p=c!==void 0,[m,h]=(0,u.useState)(!1),g=p?c:m,_=(0,u.useCallback)(e=>{e!==g&&(p||h(e),l?.(e))},[g,p,l]),v=(0,u.useRef)(null),y=(0,u.useRef)(null),b=(0,u.useRef)(null),[x,S]=(0,u.useState)(null),ee=(0,u.useCallback)(()=>{if(!v.current||!y.current)return;let e=v.current.getBoundingClientRect(),t=y.current.getBoundingClientRect(),o=e.left;n===`end`?o=e.right-t.width:n===`center`&&(o=e.left+(e.width-t.width)/2),o+=i;let s;s=r===`bottom`?e.bottom+a:e.top-t.height+a,queueMicrotask(()=>S({top:s,left:o}))},[n,r,i,a]);(0,u.useLayoutEffect)(()=>{g&&ee()},[g,ee]),(0,u.useEffect)(()=>{if(!g)return;let e=()=>ee();return window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[g,ee]);let te=(0,u.useCallback)(()=>{b.current&&=(clearTimeout(b.current),null),_(!0)},[_]),C=(0,u.useCallback)(()=>{b.current=window.setTimeout(()=>{_(!1)},120)},[_]);return(0,u.useEffect)(()=>{function e(e){let t=e.target;v.current?.contains(t)||y.current?.contains(t)||_(!1)}return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[_]),(0,u.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]),(0,d.jsxs)(Jn.Provider,{value:{close:()=>_(!1),open:te},children:[(0,d.jsx)(`div`,{ref:v,className:`inline-flex`,onMouseEnter:s?te:void 0,onMouseLeave:s?C:void 0,onClick:()=>_(!g),"aria-haspopup":`menu`,"aria-expanded":g,children:e}),g&&!o&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:y,onMouseEnter:s?te:void 0,onMouseLeave:s?C:void 0,style:{position:`fixed`,top:x?.top??0,left:x?.left??0,visibility:x?`visible`:`hidden`,zIndex:1e3},children:t}),document.body)]})}function Zn({type:e=`text`,value:t,defaultValue:n,disabled:r=!1,error:i=!1,placeholder:a,onChange:o,onKeyDown:s,className:c}){let[l,f]=(0,u.useState)(n??``),p=t!==void 0,m=p?t:l;function h(e){let t=e.target.value;p||f(t),o?.(t)}function g(e){s?.(e)}return(0,d.jsx)(`input`,{type:e,value:m,placeholder:a,disabled:r,"aria-disabled":r||void 0,"aria-invalid":i||void 0,onChange:h,onKeyDown:g,className:T(`bg-transparent outline-none`,r&&`pointer-events-none`,c)})}function Qn({as:e,disabled:t=!1,onPress:n,className:r,children:i,...a}){let o=e||`div`,s=(0,u.useCallback)(()=>{t||n?.()},[t,n]),c=(0,u.useCallback)(e=>{t||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),n?.())},[t,n]);return(0,d.jsx)(o,{role:`button`,tabIndex:t?-1:0,"aria-disabled":t||void 0,onClick:s,onKeyDown:c,className:T(`select-none`,!t&&`cursor-pointer`,t&&`pointer-events-none opacity-50`,r),...a,children:i})}function $n({children:e}){return(0,d.jsx)(`div`,{className:`contents`,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:e})}function er(e,t,n){return n===`start`?e.left:n===`end`?e.right-t.width:e.left+e.width/2-t.width/2}function tr(e,t,n){return n===`start`?e.top:n===`end`?e.bottom-t.height:e.top+e.height/2-t.height/2}function nr({children:e,content:t,position:n=`top`,delay:r=120,className:i}){let a=(0,u.useRef)(null),o=(0,u.useRef)(null),s=(0,u.useRef)(null),[c,l]=(0,u.useState)(!1),[p,m]=(0,u.useState)(null),h=()=>{s.current&&=(clearTimeout(s.current),null),s.current=window.setTimeout(()=>{l(!0)},r)},g=()=>{s.current&&=(clearTimeout(s.current),null),l(!1)};return(0,u.useLayoutEffect)(()=>{if(!c||!a.current||!o.current)return;let e=a.current.getBoundingClientRect(),t=o.current.getBoundingClientRect(),[r,i]=n.split(`-`),s=i??`center`,l=0,u=0;r===`top`||r===`bottom`?(l=r===`top`?e.top-t.height-4:e.bottom+4,u=er(e,t,s)):(u=r===`left`?e.left-t.width-4:e.right+4,l=tr(e,t,s)),m(e=>e&&e.top===l&&e.left===u?e:{top:l,left:u})},[c,n]),(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{ref:a,className:`inline-flex`,onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,children:e}),c&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:o,role:`tooltip`,style:{position:`fixed`,top:p?.top??0,left:p?.left??0,visibility:p?`visible`:`hidden`,zIndex:1e3},className:T(i),children:t}),document.body)]})}const rr=(0,u.createContext)(null);function ir(){let e=(0,u.useContext)(rr);if(!e)throw Error(`useAccordion must be used inside Accordion`);return e}function ar({children:e,type:t=`single`,defaultValue:n,className:r}){let[i,a]=(0,u.useState)(()=>n?t===`single`?new Set([n]):new Set(Array.isArray(n)?n:[n]):new Set),o=e=>{a(n=>{if(t===`single`)return n.has(e)?new Set:new Set([e]);let r=new Set(n);return r.has(e)?r.delete(e):r.add(e),r})};return(0,d.jsx)(rr.Provider,{value:{openItems:i,toggleItem:o,type:t},children:(0,d.jsx)(`div`,{className:r,"data-type":t,children:typeof e==`function`?e({openItems:i,toggleItem:o}):e})})}function or({value:e,children:t,className:n,...r}){let{openItems:i}=ir(),a=i.has(e);return(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t})}function sr({value:e,children:t,className:n,asChild:r=!1,onClick:i,...a}){let{toggleItem:o,openItems:s}=ir(),c=s.has(e),l=t=>{o(e),t&&i&&i(t)};return r&&(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{onClick:l,"aria-expanded":c,"data-state":c?`open`:`closed`}):(0,d.jsx)(Qn,{className:n,onPress:()=>l(void 0),"aria-expanded":c,"data-state":c?`open`:`closed`,...a,children:t})}function cr({value:e,children:t,className:n,...r}){let{openItems:i}=ir(),a=i.has(e);return a?(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t}):null}function Y({size:e=16,className:t,viewBox:n=`0 0 24 24`,children:r,...i}){return(0,d.jsx)(`svg`,{width:e,height:e,viewBox:n,fill:`none`,"aria-hidden":!0,focusable:`false`,className:T(`shrink-0`,t),...i,children:r})}function lr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 32 32`,...t,children:(0,d.jsx)(`path`,{d:`M25.82 25.44C28.07 23.02 29.5 19.74 29.5 15.92C29.5 7.7 22.8 2 15.98 2C9.16 2 2.5 7.7 2.5 15.92C2.5 24.15 9.2 29.84 15.98 29.84C18.23 29.84 20.43 29.22 22.41 28.13L23.61 29.38C24 29.77 24.54 30 25.12 30C26.32 30 27.29 29.03 27.29 27.82C27.29 27.27 27.05 26.76 26.7 26.33L25.81 25.44H25.82ZM22.18 21.73L19.66 19.12C19.31 18.69 18.72 18.46 18.15 18.46C16.95 18.46 15.98 19.47 15.98 20.64C15.98 21.22 16.25 21.73 16.64 22.13L18.77 24.35C17.88 24.66 16.95 24.86 15.98 24.86C11.72 24.86 7.96 21.27 7.96 15.93C7.96 10.58 11.72 7 15.98 7C20.24 7 24.03 10.58 24.03 15.93C24.03 18.23 23.34 20.22 22.18 21.74V21.73Z`,fill:`currentColor`,...e})})}function ur(e){return(0,d.jsx)(Y,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.46 8.33C9.99 8.33 8.8 9.5 8.8 10.94C8.8 12.38 9.99 13.55 11.46 13.55C12.92 13.55 14.11 12.38 14.11 10.94C14.11 9.5 12.92 8.33 11.46 8.33ZM4.55 8.33C3.08 8.33 1.89 9.5 1.89 10.94C1.89 12.38 3.08 13.55 4.55 13.55C6.02 13.55 7.21 12.38 7.21 10.94C7.21 9.5 6.02 8.33 4.55 8.33ZM10.66 5.06C10.66 6.5 9.47 7.67 8 7.67C6.53 7.67 5.34 6.5 5.34 5.06C5.34 3.61 6.53 2.44 8 2.44C9.47 2.44 10.66 3.61 10.66 5.06Z`,fill:`#F06A6A`})})}function dr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.03 11.43L10.65 17.81L7.23 13.84L18.05 4.5L28.78 13.85L25.35 17.81L18.03 11.43Z`,fill:`url(#paint0_linear_5796_19610)`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.76 25.23L10.91 22.05C13.11 24.93 15.46 26.26 18.06 26.26C20.67 26.26 22.93 24.95 25.03 22.08L29.24 25.19C26.21 29.32 22.43 31.5 18.06 31.5C13.69 31.5 9.89 29.33 6.76 25.23Z`,fill:`url(#paint1_linear_5796_19610)`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19610`,x1:`6.83`,y1:`10.64`,x2:`28.36`,y2:`10.64`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#FF02F0`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#FFC800`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19610`,x1:`6.37`,y1:`26.25`,x2:`28.82`,y2:`26.25`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#8930FD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#49CCF9`})]})]})]})}function fr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M3.02 14.09H5.2V8.79L2.09 6.45V13.15C2.09 13.67 2.51 14.09 3.02 14.09Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M12.68 14.09H14.87C15.38 14.09 15.8 13.67 15.8 13.15V6.45L12.68 8.79`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M12.68 4.74V8.79L15.8 6.45V5.21C15.8 4.05 14.48 3.39 13.56 4.08`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M5.2 8.79V4.74L8.94 7.54L12.68 4.74V8.79L8.94 11.59`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M2.09 5.21V6.45L5.2 8.79V4.74L4.33 4.08C3.4 3.39 2.09 4.05 2.09 5.21Z`,fill:`#C5221F`})]})}function pr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M25.1 10.89L18.71 10.18L10.89 10.89L10.18 18L10.89 25.1L18 25.99L25.1 25.1L25.82 17.82L25.1 10.89Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M13.81 21.92C13.28 21.56 12.91 21.04 12.71 20.34L13.94 19.83C14.06 20.26 14.25 20.59 14.53 20.83C14.81 21.06 15.14 21.18 15.54 21.18C15.94 21.18 16.29 21.05 16.58 20.81C16.87 20.56 17.01 20.25 17.01 19.87C17.01 19.48 16.86 19.17 16.55 18.92C16.25 18.68 15.87 18.56 15.41 18.56H14.7V17.34H15.33C15.73 17.34 16.06 17.23 16.33 17.02C16.6 16.8 16.74 16.51 16.74 16.14C16.74 15.81 16.62 15.55 16.37 15.35C16.13 15.15 15.83 15.05 15.46 15.05C15.09 15.05 14.81 15.15 14.59 15.34C14.38 15.54 14.22 15.77 14.13 16.05L12.91 15.55C13.07 15.09 13.36 14.68 13.8 14.33C14.24 13.98 14.79 13.81 15.47 13.81C15.97 13.81 16.41 13.9 16.81 14.1C17.21 14.29 17.52 14.56 17.75 14.9C17.97 15.24 18.09 15.63 18.09 16.05C18.09 16.49 17.98 16.86 17.77 17.16C17.56 17.46 17.3 17.69 17 17.85V17.93C17.4 18.09 17.73 18.35 17.99 18.7C18.25 19.04 18.38 19.46 18.38 19.94C18.38 20.42 18.25 20.86 18.01 21.23C17.76 21.61 17.43 21.91 17 22.13C16.56 22.34 16.08 22.45 15.54 22.45C14.92 22.46 14.34 22.28 13.81 21.92Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M21.37 15.8L20.03 16.78L19.35 15.75L21.78 14H22.71V22.26H21.37V15.8Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M25.1 31.5L31.5 25.1L28.3 23.68L25.1 25.1L23.68 28.3L25.1 31.5Z`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M9.47 28.3L10.89 31.5H25.1V25.11H10.89L9.47 28.3Z`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M6.63 4.5C5.45 4.5 4.5 5.45 4.5 6.63V25.1L7.7 26.53L10.89 25.1V10.89H25.11L26.53 7.7L25.11 4.5H6.63Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M4.5 25.11V29.37C4.5 30.55 5.45 31.5 6.63 31.5H10.89V25.11H4.5Z`,fill:`#188038`}),(0,d.jsx)(`path`,{d:`M25.1 10.89V25.11H31.5V10.89L28.3 9.47L25.1 10.89Z`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M31.5 10.89V6.63C31.5 5.45 30.54 4.5 29.37 4.5H25.1V10.89H31.5Z`,fill:`#1967D2`})]})}function mr(e){let t=`jira-gradient-0`,n=`jira-gradient-1`;return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...e,children:[(0,d.jsx)(`path`,{d:`M16.42 3H9.68C9.68 4.68 11.04 6.04 12.72 6.04H13.96V7.24C13.96 8.92 15.32 10.28 17 10.28V3.58C17 3.26 16.74 3 16.42 3Z`,fill:`#2684FF`}),(0,d.jsx)(`path`,{d:`M13.08 6.36H6.34C6.34 8.04 7.7 9.4 9.38 9.4H10.62V10.6C10.62 12.28 11.98 13.64 13.66 13.64V6.94C13.66 6.62 13.4 6.36 13.08 6.36Z`,fill:`url(#${t})`}),(0,d.jsx)(`path`,{d:`M9.74 9.72H3C3 11.4 4.36 12.76 6.04 12.76H7.28V13.96C7.28 15.64 8.64 17 10.32 17V10.3C10.32 9.98 10.06 9.72 9.74 9.72Z`,fill:`url(#${n})`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:t,x1:`16.73`,y1:`3.02`,x2:`11.22`,y2:`8.67`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]}),(0,d.jsxs)(`linearGradient`,{id:n,x1:`10.37`,y1:`9.75`,x2:`7.06`,y2:`12.97`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]})]})]})}function hr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M31.5 11.93V9.35C31.5 6.67 29.33 4.5 26.65 4.5H9.35C6.67 4.5 4.5 6.67 4.5 9.35V11.93H31.5Z`,fill:`url(#paint0_linear_5796_19583)`}),(0,d.jsx)(`path`,{d:`M4.5 11.91V26.65C4.5 29.33 6.67 31.5 9.35 31.5H26.65C29.33 31.5 31.5 29.33 31.5 26.65V11.91H4.5Z`,fill:`url(#paint1_linear_5796_19583)`}),(0,d.jsx)(`g`,{filter:`url(#filter0_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 25.5176C19.0579 25.5176 19.9004 24.6751 19.9004 23.6358C19.9004 22.5964 19.0579 21.7539 18.0186 21.7539C16.9793 21.7539 16.1367 22.5964 16.1367 23.6358C16.1367 24.6751 16.9793 25.5176 18.0186 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter1_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 25.5176C12.638 25.5176 13.4805 24.6751 13.4805 23.6358C13.4805 22.5964 12.638 21.7539 11.5987 21.7539C10.5593 21.7539 9.7168 22.5964 9.7168 23.6358C9.7168 24.6751 10.5593 25.5176 11.5987 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter2_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 19.5C19.0579 19.5 19.9004 18.6575 19.9004 17.6182C19.9004 16.5789 19.0579 15.7363 18.0186 15.7363C16.9793 15.7363 16.1367 16.5789 16.1367 17.6182C16.1367 18.6575 16.9793 19.5 18.0186 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter3_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M24.4385 19.5C25.4778 19.5 26.3203 18.6575 26.3203 17.6182C26.3203 16.5789 25.4778 15.7363 24.4385 15.7363C23.3992 15.7363 22.5566 16.5789 22.5566 17.6182C22.5566 18.6575 23.3992 19.5 24.4385 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter4_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 19.5C12.638 19.5 13.4805 18.6575 13.4805 17.6182C13.4805 16.5789 12.638 15.7363 11.5987 15.7363C10.5593 15.7363 9.7168 16.5789 9.7168 17.6182C9.7168 18.6575 10.5593 19.5 11.5987 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`filter`,{id:`filter0_d_5796_19583`,x:`14.4916`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter1_d_5796_19583`,x:`8.07168`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter2_d_5796_19583`,x:`14.4916`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter3_d_5796_19583`,x:`20.9115`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter4_d_5796_19583`,x:`8.07168`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19583`,x1:`4.5`,y1:`8.21`,x2:`31.38`,y2:`10.12`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#0879D1`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#056EC9`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19583`,x1:`18`,y1:`11.91`,x2:`18`,y2:`31.5`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#44CBFD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#1195EA`})]})]})]})}function gr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`mask`,{id:`mask0_5796_22925`,style:{maskType:`luminance`},maskUnits:`userSpaceOnUse`,x:`5`,y:`5`,width:`26`,height:`26`,children:(0,d.jsx)(`path`,{d:`M30.38 5.63H5.63V30.38H30.38V5.63Z`,fill:`white`})}),(0,d.jsxs)(`g`,{mask:`url(#mask0_5796_22925)`,children:[(0,d.jsx)(`path`,{d:`M27.74 7.17H14.45C13.85 7.17 13.36 7.66 13.36 8.26V9.49L20.85 11.81L28.83 9.49V8.26C28.83 7.66 28.34 7.17 27.74 7.17Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M30.1 19.09C30.22 18.73 30.31 18.37 30.37 18C30.37 17.82 30.28 17.65 30.12 17.55L30.11 17.55L30.1 17.55L21.72 12.77C21.69 12.75 21.65 12.73 21.61 12.71C21.28 12.55 20.9 12.55 20.58 12.71C20.54 12.73 20.5 12.75 20.47 12.77L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18C11.88 18.37 11.97 18.73 12.08 19.09L20.97 25.59L30.1 19.09Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H18.77L17.21 11.81L18.77 14.13L24.19 18.77H28.83V14.13L24.19 9.49Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{d:`M13.36 9.49H18.77V14.13H13.36V9.49Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H28.83V14.13H24.19V9.49Z`,fill:`#50D9FF`}),(0,d.jsx)(`path`,{d:`M24.19 18.77L18.77 14.13H13.36V18.77L18.77 23.41L27.15 24.78L24.19 18.77Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M18.77 14.13H24.19V18.77H18.77V14.13Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M13.36 18.77H18.77V23.42H13.36V18.77Z`,fill:`#064A8C`}),(0,d.jsx)(`path`,{d:`M24.19 18.77H28.83V23.42H24.19V18.77Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{opacity:`0.5`,d:`M21.24 25.13L12.12 18.48L12.5 17.81C12.5 17.81 20.81 22.54 20.94 22.61C21.04 22.65 21.16 22.65 21.26 22.6L29.72 17.78L30.1 18.46L21.24 25.13Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M30.12 18.45L30.11 18.45L30.11 18.45L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67V18C30.38 18.18 30.28 18.35 30.12 18.45Z`,fill:`#1490DF`}),(0,d.jsx)(`path`,{opacity:`0.05`,d:`M30.38 27.67V27.1L22.66 22.7L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M30.34 27.97L21.87 23.14L21.72 23.23C21.38 23.45 20.96 23.48 20.59 23.3L23.51 27.22L29.9 28.61V28.61C30.11 28.45 30.27 28.22 30.34 27.97Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M12.08 18.46V18.45H12.08L12.05 18.43C11.9 18.34 11.81 18.18 11.81 18V27.67C11.81 28.31 12.33 28.83 12.97 28.83C12.97 28.83 12.97 28.83 12.97 28.83H29.21C29.31 28.83 29.41 28.81 29.5 28.79C29.55 28.78 29.6 28.77 29.64 28.75C29.66 28.74 29.67 28.74 29.69 28.73C29.75 28.7 29.81 28.67 29.86 28.63C29.88 28.62 29.89 28.62 29.9 28.6L12.08 18.46Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.55 24.7V12.07C19.55 11.5 19.08 11.04 18.52 11.04H13.38V16.81L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18V25.73H18.52C19.08 25.73 19.55 25.27 19.55 24.7Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 25.48V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V26.51H17.74C18.31 26.51 18.77 26.04 18.77 25.48Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 23.93V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H17.74C18.31 24.96 18.77 24.5 18.77 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18 23.93V12.84C18 12.27 17.54 11.81 16.97 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H16.97C17.54 24.96 18 24.5 18 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M6.66 11.81H16.97C17.54 11.81 18 12.27 18 12.84V23.16C18 23.72 17.54 24.19 16.97 24.19H6.66C6.09 24.19 5.63 23.72 5.63 23.16V12.84C5.63 12.27 6.09 11.81 6.66 11.81Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M8.62 16.04C8.89 15.46 9.33 14.97 9.89 14.64C10.5 14.29 11.2 14.11 11.91 14.13C12.56 14.12 13.21 14.28 13.77 14.61C14.31 14.93 14.73 15.4 15.01 15.95C15.31 16.57 15.45 17.24 15.44 17.92C15.46 18.64 15.3 19.34 15 19.99C14.72 20.56 14.27 21.05 13.72 21.37C13.13 21.71 12.46 21.88 11.79 21.87C11.12 21.88 10.46 21.72 9.88 21.38C9.34 21.06 8.9 20.6 8.62 20.04C8.33 19.43 8.17 18.77 8.19 18.09C8.17 17.38 8.32 16.68 8.62 16.04ZM9.97 19.33C10.12 19.7 10.36 20.02 10.68 20.26C11.01 20.49 11.4 20.6 11.8 20.59C12.23 20.61 12.64 20.49 12.99 20.25C13.31 20.01 13.55 19.69 13.69 19.32C13.84 18.91 13.91 18.47 13.91 18.03C13.91 17.59 13.84 17.15 13.7 16.73C13.57 16.35 13.34 16.02 13.03 15.77C12.69 15.52 12.27 15.39 11.85 15.4C11.44 15.39 11.04 15.51 10.71 15.74C10.38 15.98 10.13 16.3 9.98 16.67C9.64 17.53 9.64 18.48 9.97 19.33Z`,fill:`white`})]})]})}function _r(e){return(0,d.jsxs)(Y,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M5.26 10.79C5.29 11.53 4.7 12.17 3.96 12.19C3.21 12.22 2.58 11.64 2.55 10.89C2.52 10.14 3.11 9.51 3.86 9.48L5.21 9.43L5.26 10.79Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M5.95 10.76C5.92 10.01 6.51 9.38 7.25 9.35C8 9.33 8.63 9.91 8.66 10.66L8.79 14.06C8.81 14.8 8.23 15.44 7.48 15.46C6.73 15.49 6.1 14.9 6.07 14.16L5.95 10.76Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M7.1 5.26C6.35 5.29 5.72 4.7 5.69 3.96C5.67 3.21 6.25 2.58 7 2.55C7.75 2.52 8.38 3.11 8.41 3.86L8.46 5.21L7.1 5.26Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M7.13 5.95C7.87 5.92 8.51 6.51 8.53 7.25C8.56 8 7.97 8.63 7.23 8.66L3.83 8.79C3.08 8.82 2.45 8.23 2.42 7.48C2.4 6.73 2.98 6.1 3.73 6.07L7.13 5.95Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M12.62 7.1C12.6 6.35 13.18 5.72 13.93 5.69C14.68 5.67 15.31 6.25 15.34 7C15.37 7.75 14.78 8.38 14.03 8.41L12.68 8.46L12.62 7.1Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M11.94 7.13C11.97 7.87 11.38 8.51 10.63 8.53C9.89 8.56 9.25 7.97 9.23 7.23L9.1 3.83C9.07 3.08 9.66 2.45 10.41 2.42C11.15 2.4 11.78 2.98 11.81 3.73L11.94 7.13Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M10.79 12.63C11.53 12.6 12.17 13.18 12.19 13.93C12.22 14.68 11.63 15.31 10.89 15.34C10.14 15.37 9.51 14.78 9.48 14.03L9.43 12.68L10.79 12.63Z`,fill:`#ECB22E`}),(0,d.jsx)(`path`,{d:`M10.76 11.94C10.01 11.97 9.38 11.38 9.35 10.63C9.33 9.89 9.91 9.26 10.66 9.23L14.06 9.1C14.8 9.07 15.44 9.66 15.46 10.41C15.49 11.15 14.9 11.79 14.16 11.81L10.76 11.94Z`,fill:`#ECB22E`})]})}function vr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_19548)`,children:[(0,d.jsx)(`path`,{d:`M23.33 14.85H30.31C30.97 14.85 31.5 15.39 31.5 16.05V22.42C31.5 24.84 29.54 26.81 27.12 26.81H27.09C24.67 26.81 22.71 24.84 22.71 22.42V15.48C22.71 15.13 22.99 14.85 23.33 14.85Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M28.05 13.59C29.61 13.59 30.87 12.33 30.87 10.76C30.87 9.2 29.61 7.93 28.05 7.93C26.49 7.93 25.22 9.2 25.22 10.76C25.22 12.33 26.49 13.59 28.05 13.59Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M19.26 13.6C21.51 13.6 23.34 11.76 23.34 9.51C23.34 7.25 21.51 5.42 19.26 5.42C17 5.42 15.17 7.25 15.17 9.51C15.17 11.76 17 13.6 19.26 13.6Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{d:`M24.7 14.85H13.19C12.54 14.87 12.02 15.41 12.04 16.06V23.33C11.94 27.24 15.04 30.49 18.94 30.59C22.85 30.49 25.94 27.24 25.85 23.33V16.06C25.86 15.41 25.35 14.87 24.7 14.85Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5704 14.8545V25.0293C19.5673 25.4958 19.2851 25.915 18.8546 26.0927C18.7175 26.1508 18.5702 26.1807 18.4213 26.1808H12.588C12.5064 25.9731 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H19.5704Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V25.6585C18.9424 25.8077 18.9126 25.9553 18.8546 26.0927C18.6773 26.5241 18.259 26.8069 17.7934 26.81H12.8832C12.7764 26.6023 12.676 26.3947 12.588 26.1808C12.5001 25.9668 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V24.4C18.9377 25.034 18.426 25.5467 17.7934 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1845 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3145 14.8545V24.4C18.3098 25.034 17.7981 25.5467 17.1655 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.3145Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5694 11.6017V13.5838C19.4627 13.5901 19.3622 13.5964 19.2555 13.5964C19.1487 13.5964 19.0483 13.5901 18.9415 13.5838C18.7296 13.5697 18.5194 13.536 18.3136 13.4831C17.0421 13.1814 15.9916 12.2877 15.488 11.0794C15.4014 10.8765 15.3341 10.6658 15.2871 10.4502H18.4204C19.054 10.4526 19.567 10.9667 19.5694 11.6017Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9418 12.2296V13.5825C18.7298 13.5684 18.5196 13.5347 18.3139 13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.7927C18.4263 11.0805 18.9394 11.5947 18.9418 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3139 12.2296V13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.1648C17.7984 11.0805 18.3115 11.5947 18.3139 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M5.65 11.08H17.16C17.8 11.08 18.31 11.59 18.31 12.23V23.77C18.31 24.4 17.8 24.92 17.16 24.92H5.65C5.02 24.92 4.5 24.4 4.5 23.77V12.23C4.5 11.59 5.02 11.08 5.65 11.08Z`,fill:`url(#paint0_linear_5796_19548)`}),(0,d.jsx)(`path`,{d:`M14.44 15.47H12.14V21.75H10.67V15.47H8.38V14.25H14.44V15.47Z`,fill:`white`})]}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19548`,x1:`6.9`,y1:`10.18`,x2:`15.94`,y2:`25.81`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#5A62C3`}),(0,d.jsx)(`stop`,{offset:`0.5`,stopColor:`#4D55BD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#3940AB`})]}),(0,d.jsx)(`clipPath`,{id:`clip0_5796_19548`,children:(0,d.jsx)(`rect`,{width:`27`,height:`25.1695`,fill:`white`,transform:`translate(4.5 5.41504)`})})]})]})}function yr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M4 8L6.5 10.5L12 5`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function br({...e}){return(0,d.jsx)(Y,{viewBox:`0 0 28 28`,...e,children:(0,d.jsx)(`circle`,{cx:`14`,cy:`14`,r:`10.5`,stroke:`currentColor`,strokeWidth:`1.5`})})}function xr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M8.82 13.55L14.42 7.94L13.54 7.06L8.82 11.79L6.44 9.41L5.56 10.29L8.82 13.55ZM10 17.92C8.91 17.92 7.88 17.71 6.91 17.29C5.95 16.88 5.11 16.31 4.4 15.6C3.69 14.89 3.12 14.05 2.71 13.09C2.29 12.13 2.08 11.1 2.08 10C2.08 8.91 2.29 7.88 2.71 6.91C3.12 5.95 3.69 5.11 4.4 4.4C5.11 3.69 5.95 3.12 6.91 2.71C7.88 2.29 8.9 2.08 10 2.08C11.09 2.08 12.12 2.29 13.09 2.71C14.05 3.12 14.89 3.69 15.6 4.4C16.31 5.11 16.88 5.95 17.29 6.91C17.71 7.87 17.92 8.9 17.92 10C17.92 11.09 17.71 12.12 17.29 13.09C16.88 14.05 16.31 14.89 15.6 15.6C14.89 16.31 14.05 16.88 13.09 17.29C12.13 17.71 11.1 17.92 10 17.92ZM10 16.67C11.86 16.67 13.44 16.02 14.73 14.73C16.02 13.44 16.67 11.86 16.67 10C16.67 8.14 16.02 6.56 14.73 5.27C13.44 3.98 11.86 3.33 10 3.33C8.14 3.33 6.56 3.98 5.27 5.27C3.98 6.56 3.33 8.14 3.33 10C3.33 11.86 3.98 13.44 5.27 14.73C6.56 16.02 8.14 16.67 10 16.67Z`,fill:`currentColor`,...e})})}function Sr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.72,11.13c0-1.23.27-2.35.82-3.33.54-.99,1.16-1.84,1.85-2.56.69-.72,1.35-1.29,1.98-1.73.63-.44,1.04-.72,1.21-.84v2.01c0,.65.22,1.16.65,1.53.43.38.92.56,1.46.56.25,0,.49-.05.72-.14.23-.09.45-.24.65-.43l.37-.37c.86.56,1.55,1.31,2.07,2.25.52.93.78,1.95.78,3.05,0,1.25-.33,2.38-1,3.38-.66,1-1.53,1.75-2.58,2.24.27-.3.48-.64.63-1.01.15-.38.23-.78.23-1.21,0-.47-.09-.91-.27-1.33-.18-.42-.43-.8-.76-1.13l-2.53-2.47-2.51,2.47c-.34.34-.6.72-.78,1.13-.18.42-.27.86-.27,1.33,0,.43.08.84.23,1.21.15.38.36.72.63,1.01-1.06-.49-1.92-1.23-2.58-2.24-.66-1-1-2.13-1-3.38ZM10,11.33l1.63,1.6c.22.22.38.46.5.72.11.27.17.55.17.86,0,.62-.22,1.16-.67,1.6-.45.44-.99.66-1.63.66s-1.18-.22-1.63-.66c-.45-.44-.67-.97-.67-1.6,0-.29.06-.58.17-.85.11-.27.28-.52.5-.74l1.63-1.6Z`,fill:`currentColor`,...e})})}function Cr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M5,11.09c0,.84.2,1.62.6,2.34.4.72.95,1.31,1.65,1.75-.06-.12-.11-.23-.13-.35-.03-.12-.04-.24-.04-.37,0-.39.07-.75.22-1.09.15-.34.36-.65.64-.93l2.06-2.02,2.07,2.02c.28.28.49.59.63.93.15.34.22.7.22,1.09,0,.13-.01.25-.04.37-.03.12-.07.23-.13.35.7-.44,1.25-1.03,1.65-1.75.4-.72.6-1.5.6-2.34,0-.69-.13-1.35-.39-1.97-.26-.62-.63-1.17-1.11-1.66-.28.18-.57.32-.87.41-.31.09-.62.14-.94.14-.87,0-1.62-.28-2.25-.85-.63-.57-.99-1.28-1.09-2.12-.54.45-1.02.93-1.44,1.42-.42.49-.77,1-1.05,1.51-.28.51-.5,1.03-.65,1.56-.15.53-.22,1.05-.22,1.57ZM10,12.17l-1.19,1.17c-.15.15-.27.33-.35.52-.08.19-.12.4-.12.6,0,.44.16.83.49,1.15.33.32.72.48,1.18.48s.85-.16,1.18-.48c.33-.32.49-.7.49-1.15,0-.22-.04-.43-.12-.61s-.2-.36-.35-.51l-1.19-1.17ZM9.58,2.66v2c0,.59.2,1.08.61,1.48.41.4.9.6,1.49.6.26,0,.5-.05.73-.14.23-.1.44-.24.64-.42l.37-.37c.88.56,1.57,1.31,2.07,2.25.5.94.76,1.95.76,3.02,0,1.74-.61,3.22-1.82,4.43-1.21,1.21-2.69,1.82-4.43,1.82s-3.22-.61-4.43-1.82c-1.21-1.21-1.82-2.69-1.82-4.43,0-1.61.52-3.16,1.57-4.65,1.05-1.49,2.47-2.75,4.26-3.77Z`,fill:`currentColor`,...e})})}function wr({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e})]})}function Tr({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e})]})}function Er({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z`,fill:`currentColor`,...e}),(0,d.jsx)(`line`,{x1:`17.8311`,y1:`3.53033`,x2:`2.83111`,y2:`18.5303`,stroke:`currentColor`,strokeWidth:`1.5`})]})}function Dr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M10.77 1.78L17.32 5.69C17.5 5.81 17.65 5.97 17.76 6.16C17.86 6.36 17.92 6.57 17.92 6.79V15.58C17.92 16 17.77 16.35 17.48 16.65C17.19 16.94 16.83 17.08 16.41 17.08H3.59C3.17 17.08 2.81 16.94 2.52 16.65C2.23 16.35 2.08 16 2.08 15.58V6.79C2.08 6.57 2.14 6.36 2.24 6.16C2.35 5.97 2.5 5.81 2.68 5.69L9.23 1.78C9.46 1.65 9.72 1.58 10 1.58C10.28 1.58 10.54 1.65 10.77 1.78ZM10.13 10.46L16.5 6.67L10.13 2.87C10.09 2.84 10.04 2.83 10 2.83C9.96 2.83 9.92 2.84 9.87 2.87L3.5 6.67L9.87 10.46C9.92 10.49 9.96 10.5 10 10.5C10.04 10.5 10.09 10.49 10.13 10.46ZM9.23 11.54L3.33 8.02V15.58C3.33 15.65 3.36 15.71 3.41 15.76C3.45 15.81 3.52 15.83 3.59 15.83H16.41C16.49 15.83 16.55 15.81 16.6 15.76C16.64 15.71 16.67 15.65 16.67 15.58V8.02L10.77 11.54C10.54 11.67 10.28 11.74 10 11.74C9.72 11.74 9.46 11.67 9.23 11.54ZM10.77 15.83H16.67H3.33H10.77Z`,fill:`currentColor`,...e})})}function Or({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.59 16.25C3.17 16.25 2.81 16.1 2.52 15.81C2.23 15.52 2.08 15.16 2.08 14.74V5.26C2.08 4.84 2.23 4.48 2.52 4.19C2.81 3.9 3.17 3.75 3.59 3.75H11.23C11.4 3.75 11.55 3.81 11.68 3.93C11.8 4.06 11.86 4.21 11.85 4.38C11.85 4.56 11.78 4.7 11.66 4.82C11.54 4.94 11.4 5 11.23 5H3.33V14.74C3.33 14.82 3.36 14.88 3.41 14.93C3.45 14.98 3.52 15 3.59 15H16.41C16.49 15 16.55 14.98 16.6 14.93C16.64 14.88 16.67 14.82 16.67 14.74V9.17C16.67 8.99 16.73 8.84 16.85 8.72C16.97 8.6 17.12 8.54 17.29 8.54C17.47 8.54 17.62 8.6 17.74 8.72C17.86 8.84 17.92 8.99 17.92 9.17V14.74C17.92 15.16 17.77 15.52 17.48 15.81C17.19 16.1 16.83 16.25 16.41 16.25H3.59ZM10 9.17L12.71 7.44C12.86 7.35 13.01 7.32 13.14 7.37C13.27 7.41 13.38 7.5 13.45 7.62C13.53 7.74 13.56 7.87 13.54 8C13.52 8.14 13.43 8.26 13.28 8.36L10.4 10.21C10.27 10.29 10.14 10.33 10 10.33C9.86 10.33 9.73 10.3 9.6 10.22L3.33 6.29V5L10 9.17ZM15.83 6.78C15.2 6.78 14.66 6.56 14.21 6.11C13.77 5.66 13.54 5.12 13.54 4.49C13.54 3.85 13.77 3.31 14.21 2.86C14.66 2.42 15.2 2.2 15.83 2.2C16.47 2.2 17.01 2.42 17.46 2.86C17.9 3.31 18.13 3.85 18.13 4.49C18.13 5.12 17.9 5.66 17.46 6.11C17.01 6.56 16.47 6.78 15.83 6.78Z`,fill:`currentColor`,...e})})}function kr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.02 17.29C6.87 16.66 7.8 16.16 8.8 15.8C9.8 15.43 10.87 15.25 12 15.25C13.13 15.25 14.2 15.43 15.2 15.8C16.2 16.16 17.13 16.66 17.98 17.29C18.6 16.61 19.09 15.82 19.45 14.92C19.82 14.02 20 13.05 20 12C20 9.78 19.22 7.9 17.66 6.34C16.1 4.78 14.22 4 12 4C9.78 4 7.9 4.78 6.34 6.34C4.78 7.9 4 9.78 4 12C4 13.05 4.18 14.02 4.55 14.92C4.91 15.82 5.4 16.61 6.02 17.29ZM12 12.75C11.09 12.75 10.32 12.44 9.69 11.81C9.06 11.18 8.75 10.41 8.75 9.5C8.75 8.59 9.06 7.82 9.69 7.19C10.32 6.56 11.09 6.25 12 6.25C12.91 6.25 13.68 6.56 14.31 7.19C14.94 7.82 15.25 8.59 15.25 9.5C15.25 10.41 14.94 11.18 14.31 11.81C13.68 12.44 12.91 12.75 12 12.75ZM12 21.5C10.68 21.5 9.44 21.25 8.29 20.76C7.13 20.26 6.13 19.58 5.27 18.73C4.42 17.87 3.74 16.87 3.24 15.71C2.75 14.56 2.5 13.32 2.5 12C2.5 10.68 2.75 9.44 3.24 8.29C3.74 7.13 4.42 6.13 5.27 5.27C6.13 4.42 7.13 3.74 8.29 3.24C9.44 2.75 10.68 2.5 12 2.5C13.32 2.5 14.56 2.75 15.71 3.24C16.87 3.74 17.87 4.42 18.73 5.27C19.58 6.13 20.26 7.13 20.76 8.29C21.25 9.44 21.5 10.68 21.5 12C21.5 13.32 21.25 14.56 20.76 15.71C20.26 16.87 19.58 17.87 18.73 18.73C17.87 19.58 16.87 20.26 15.71 20.76C14.56 21.25 13.32 21.5 12 21.5ZM12 20C12.9 20 13.77 19.85 14.61 19.56C15.45 19.27 16.19 18.87 16.84 18.35C16.19 17.84 15.46 17.45 14.64 17.17C13.82 16.89 12.94 16.75 12 16.75C11.06 16.75 10.18 16.89 9.36 17.17C8.53 17.44 7.8 17.84 7.16 18.35C7.81 18.87 8.55 19.27 9.39 19.56C10.23 19.85 11.1 20 12 20ZM12 11.25C12.5 11.25 12.91 11.08 13.25 10.75C13.58 10.41 13.75 10 13.75 9.5C13.75 9 13.58 8.59 13.25 8.25C12.91 7.92 12.5 7.75 12 7.75C11.5 7.75 11.09 7.92 10.75 8.25C10.42 8.59 10.25 9 10.25 9.5C10.25 10 10.42 10.41 10.75 10.75C11.09 11.08 11.5 11.25 12 11.25Z`,fill:`currentColor`,...e})})}function Ar({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.52,18h.97v-5.52h5.52v-.97h-5.52v-5.52h-.97v5.52h-5.52v.97h5.52v5.52ZM12.01,24c-1.66,0-3.22-.31-4.68-.94-1.46-.63-2.73-1.48-3.81-2.56-1.08-1.08-1.94-2.35-2.57-3.81-.63-1.46-.95-3.02-.95-4.68s.31-3.22.94-4.68c.63-1.46,1.48-2.73,2.56-3.81,1.08-1.08,2.35-1.94,3.81-2.57,1.46-.63,3.02-.95,4.68-.95s3.22.31,4.68.94c1.46.63,2.73,1.48,3.81,2.56,1.08,1.08,1.94,2.35,2.57,3.81.63,1.46.95,3.02.95,4.68s-.31,3.22-.94,4.68c-.63,1.46-1.48,2.73-2.56,3.81-1.08,1.08-2.35,1.94-3.81,2.57-1.46.63-3.02.95-4.68.95ZM12,23.03c3.08,0,5.69-1.07,7.83-3.21s3.21-4.75,3.21-7.83-1.07-5.69-3.21-7.83S15.08.97,12,.97s-5.69,1.07-7.83,3.21S.97,8.92.97,12s1.07,5.69,3.21,7.83,4.75,3.21,7.83,3.21Z`,fill:`currentColor`,...e})})}function jr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.5 12.5H6V11.5H11.5V6H12.5V11.5H18V12.5H12.5V18H11.5V12.5Z`,fill:`currentColor`,...e})})}var Mr={down:``,left:`rotate-90`,up:`-rotate-180`,right:`-rotate-90`};function Nr({direction:e=`down`,className:t,pathProps:n,...r}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,className:T(Mr[e],t),...r,children:(0,d.jsx)(`path`,{d:`m5 8.5 7 7 7-7`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...n})})}function Pr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M5.31 21.5C4.8 21.5 4.38 21.33 4.03 20.98C3.68 20.63 3.5 20.2 3.5 19.69V6.31C3.5 5.8 3.68 5.38 4.03 5.03C4.38 4.68 4.8 4.5 5.31 4.5H6.69V2.38H8.23V4.5H15.81V2.38H17.31V4.5H18.69C19.2 4.5 19.63 4.68 19.98 5.03C20.33 5.38 20.5 5.8 20.5 6.31V19.69C20.5 20.2 20.33 20.63 19.98 20.98C19.63 21.33 19.2 21.5 18.69 21.5H5.31ZM5.31 20H18.69C18.77 20 18.84 19.97 18.9 19.9C18.97 19.84 19 19.77 19 19.69V10.31H5V19.69C5 19.77 5.03 19.84 5.1 19.9C5.16 19.97 5.23 20 5.31 20ZM5 8.81H19V6.31C19 6.23 18.97 6.16 18.9 6.1C18.84 6.03 18.77 6 18.69 6H5.31C5.23 6 5.16 6.03 5.1 6.1C5.03 6.16 5 6.23 5 6.31V8.81Z`,fill:`currentColor`,...e})})}function Fr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M7.32,24c-2.03,0-3.76-.71-5.19-2.14-1.42-1.42-2.14-3.15-2.14-5.19V7.32c0-2.03.71-3.76,2.14-5.19C3.56.71,5.29,0,7.32,0h9.35c2.03,0,3.76.71,5.19,2.14,1.42,1.42,2.14,3.15,2.14,5.19v9.35c0,2.03-.71,3.76-2.14,5.19-1.42,1.42-3.15,2.14-5.19,2.14H7.32ZM10.44,16.83l7.95-7.95-.78-.78-7.17,7.17-3.43-3.43-.78.78,4.21,4.21ZM7.32,22.91h9.35c1.71,0,3.18-.61,4.4-1.83,1.22-1.22,1.83-2.69,1.83-4.4V7.32c0-1.71-.61-3.18-1.83-4.4s-2.69-1.83-4.4-1.83H7.32c-1.71,0-3.18.61-4.4,1.83-1.22,1.22-1.83,2.69-1.83,4.4v9.35c0,1.71.61,3.18,1.83,4.4,1.22,1.22,2.69,1.83,4.4,1.83Z`,fill:`currentColor`,...e})})}function Ir({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.4 18.65L5.35 17.6L10.95 12L5.35 6.4L6.4 5.35L12 10.95L17.6 5.35L18.65 6.4L13.05 12L18.65 17.6L17.6 18.65L12 13.05L6.4 18.65Z`,fill:`currentColor`,...e})})}function Lr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H20.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H20.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function Rr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M9.06 17.5C8.55 17.5 8.13 17.33 7.78 16.98C7.43 16.63 7.25 16.2 7.25 15.69V4.31C7.25 3.8 7.43 3.38 7.78 3.03C8.13 2.68 8.55 2.5 9.06 2.5H17.44C17.95 2.5 18.38 2.68 18.73 3.03C19.08 3.38 19.25 3.8 19.25 4.31V15.69C19.25 16.2 19.08 16.63 18.73 16.98C18.38 17.33 17.95 17.5 17.44 17.5H9.06ZM9.06 16H17.44C17.52 16 17.59 15.97 17.65 15.9C17.72 15.84 17.75 15.77 17.75 15.69V4.31C17.75 4.23 17.72 4.16 17.65 4.1C17.59 4.03 17.52 4 17.44 4H9.06C8.98 4 8.91 4.03 8.85 4.1C8.78 4.16 8.75 4.23 8.75 4.31V15.69C8.75 15.77 8.78 15.84 8.85 15.9C8.91 15.97 8.98 16 9.06 16ZM5.56 21C5.05 21 4.63 20.83 4.28 20.48C3.93 20.13 3.75 19.7 3.75 19.19V6.31H5.25V19.19C5.25 19.27 5.28 19.34 5.35 19.4C5.41 19.47 5.48 19.5 5.56 19.5H15.44V21H5.56Z`,fill:`currentColor`,...e})})}function zr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12.1 21.5C10.77 21.5 9.52 21.25 8.36 20.74C7.2 20.24 6.18 19.55 5.31 18.69C4.45 17.82 3.76 16.8 3.26 15.64C2.75 14.48 2.5 13.23 2.5 11.9C2.5 9.71 3.17 7.76 4.5 6.05C5.84 4.34 7.56 3.22 9.68 2.68C9.5 4.29 9.66 5.84 10.18 7.35C10.69 8.86 11.52 10.19 12.67 11.33C13.81 12.48 15.14 13.31 16.65 13.82C18.16 14.34 19.71 14.5 21.32 14.32C20.79 16.44 19.67 18.16 17.96 19.5C16.24 20.83 14.29 21.5 12.1 21.5ZM12.1 20C13.57 20 14.93 19.63 16.18 18.9C17.43 18.17 18.41 17.16 19.13 15.87C17.69 15.74 16.33 15.38 15.05 14.78C13.77 14.19 12.62 13.39 11.6 12.37C10.58 11.35 9.78 10.2 9.18 8.92C8.58 7.64 8.22 6.28 8.1 4.85C6.82 5.57 5.81 6.55 5.09 7.81C4.36 9.07 4 10.43 4 11.9C4 14.15 4.79 16.06 6.36 17.64C7.94 19.21 9.85 20 12.1 20Z`,fill:`currentColor`,...e})})}function Br({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15Z`,fill:`currentColor`,...e})})}function Vr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.42 17.08C4 17.08 3.64 16.94 3.35 16.65C3.06 16.35 2.91 16 2.91 15.58V4.42C2.91 4 3.06 3.65 3.35 3.35C3.64 3.06 4 2.92 4.42 2.92H9.68V4.17H4.42C4.36 4.17 4.3 4.19 4.24 4.25C4.19 4.3 4.16 4.36 4.16 4.42V15.58C4.16 15.64 4.19 15.7 4.24 15.75C4.3 15.81 4.36 15.83 4.42 15.83H15.57C15.64 15.83 15.7 15.81 15.75 15.75C15.8 15.7 15.83 15.64 15.83 15.58V10.32H17.08V15.58C17.08 16 16.93 16.35 16.64 16.65C16.35 16.94 16 17.08 15.57 17.08H4.42ZM8.1 12.78L7.22 11.9L14.95 4.17H11.66V2.92H17.08V8.33H15.83V5.04L8.1 12.78Z`,fill:`currentColor`,...e})})}function Hr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.79,16.03h2.91v-5.16h4.61v5.16h2.91v-7.82l-5.21-3.92-5.21,3.92v7.82ZM3.49,17.34V7.57l6.51-4.9,6.51,4.9v9.77h-5.51v-5.16h-2v5.16H3.49Z`,fill:`currentColor`,...e})})}function Ur({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15ZM13.26,8.37h-1.63v-2.44h-3.26v2.44h-1.63l3.26,3.26,3.26-3.26Z`,fill:`currentColor`,...e})})}function Wr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.25 5.21V1.52H12.75V5.21H11.25ZM17.32 7.73L16.29 6.7L18.87 4.04L19.94 5.12L17.32 7.73ZM18.79 12.75V11.25H22.48V12.75H18.79ZM11.25 22.48V18.8H12.75V22.48H11.25ZM6.7 7.69L4.04 5.13L5.13 4.07L7.74 6.68L6.7 7.69ZM18.86 19.96L16.29 17.3L17.31 16.29L19.93 18.84L18.86 19.96ZM1.52 12.75V11.25H5.21V12.75H1.52ZM5.12 19.96L4.07 18.87L6.65 16.29L7.19 16.81L7.75 17.33L5.12 19.96ZM12 17.5C10.48 17.5 9.18 16.97 8.11 15.9C7.04 14.83 6.5 13.53 6.5 12C6.5 10.48 7.03 9.18 8.1 8.11C9.17 7.04 10.47 6.5 12 6.5C13.53 6.5 14.82 7.03 15.89 8.1C16.97 9.17 17.5 10.47 17.5 12C17.5 13.53 16.97 14.82 15.9 15.89C14.83 16.97 13.53 17.5 12 17.5ZM12 16C13.1 16 14.04 15.61 14.83 14.83C15.61 14.04 16 13.1 16 12C16 10.9 15.61 9.96 14.83 9.18C14.04 8.39 13.1 8 12 8C10.9 8 9.96 8.39 9.18 9.18C8.39 9.96 8 10.9 8 12C8 13.1 8.39 14.04 9.18 14.83C9.96 15.61 10.9 16 12 16Z`,fill:`currentColor`,...e})})}function Gr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.13,15.87c-.4,0-.75-.14-1.04-.43s-.43-.63-.43-1.04V5.6c0-.4.14-.75.43-1.04s.63-.43,1.04-.43h11.74c.4,0,.75.14,1.04.43s.43.63.43,1.04v8.8c0,.4-.14.75-.43,1.04s-.63.43-1.04.43H4.13ZM10,10.73l-5.87-3.67v7.34h11.74v-7.34l-5.87,3.67ZM10,9.27l5.87-3.67H4.13l5.87,3.67ZM4.13,7.07v-1.47,8.8-7.34Z`,fill:`currentColor`,...e})})}function Kr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M3 8H13`,stroke:`currentColor`,strokeWidth:`1`,strokeLinecap:`round`,...e})})}function qr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M10.5 6.23C10.5 5.82 10.65 5.47 10.94 5.17C11.23 4.88 11.59 4.73 12 4.73C12.41 4.73 12.77 4.88 13.06 5.17C13.35 5.47 13.5 5.82 13.5 6.23C13.5 6.64 13.35 7 13.06 7.29C12.77 7.58 12.41 7.73 12 7.73C11.59 7.73 11.23 7.58 10.94 7.29C10.65 7 10.5 6.64 10.5 6.23ZM10.5 12C10.5 11.59 10.65 11.23 10.94 10.94C11.23 10.65 11.59 10.5 12 10.5C12.41 10.5 12.77 10.65 13.06 10.94C13.35 11.23 13.5 11.59 13.5 12C13.5 12.41 13.35 12.77 13.06 13.06C12.77 13.35 12.41 13.5 12 13.5C11.59 13.5 11.23 13.35 10.94 13.06C10.65 12.77 10.5 12.41 10.5 12ZM10.5 17.77C10.5 17.36 10.65 17 10.94 16.71C11.23 16.42 11.59 16.27 12 16.27C12.41 16.27 12.77 16.42 13.06 16.71C13.35 17 13.5 17.36 13.5 17.77C13.5 18.18 13.35 18.54 13.06 18.83C12.77 19.12 12.41 19.27 12 19.27C11.59 19.27 11.23 19.12 10.94 18.83C10.65 18.54 10.5 18.18 10.5 17.77Z`,fill:`currentColor`,...e})})}function Jr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function Yr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function Xr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12 20C10.891 20 9.85158 19.7913 8.88175 19.374C7.91192 18.9567 7.0645 18.3855 6.3395 17.6605C5.6145 16.9355 5.04333 16.0881 4.626 15.1183C4.20867 14.1484 4 13.109 4 12C4 10.891 4.20867 9.85158 4.626 8.88175C5.04333 7.91192 5.6145 7.0645 6.3395 6.3395C7.0645 5.6145 7.91192 5.04333 8.88175 4.626C9.85158 4.20867 10.891 4 12 4V5C10.05 5 8.39583 5.67917 7.0375 7.0375C5.67917 8.39583 5 10.05 5 12C5 13.95 5.67917 15.6042 7.0375 16.9625C8.39583 18.3208 10.05 19 12 19V20ZM16 16.2885L15.2923 15.575L18.3865 12.5H9.5V11.5H18.3673L15.2923 8.4L16 7.7115L20.2885 12L16 16.2885Z`,fill:`currentColor`,...e})})}function Zr({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`path`,{d:`M3.5 17.6347V16.135H9.5V17.6347H3.5ZM3.5 12.7502V11.2502H13.5V12.7502H3.5ZM3.5 7.86547V6.36572H20.5V7.86547H3.5Z`,fill:`currentColor`,...e}),(0,d.jsx)(`path`,{d:`M17.12 12.22C17.87 13.84 19.23 15.13 20.91 15.85C19.23 16.57 17.87 17.86 17.13 19.48C16.38 17.86 15.02 16.57 13.34 15.85C15.02 15.13 16.38 13.84 17.12 12.22Z`,stroke:`currentColor`,strokeWidth:`1.25`,...e})]})}function Qr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`g`,{children:(0,d.jsx)(`path`,{d:`M10.07 13.93C9.49 13.34 8.96 12.72 8.48 12.07C8.01 11.42 7.59 10.72 7.21 9.99C7.05 10.31 6.94 10.63 6.87 10.97C6.81 11.31 6.77 11.65 6.77 12C6.77 13.45 7.28 14.69 8.3 15.7C9.31 16.72 10.55 17.23 12 17.23C12.34 17.23 12.68 17.19 13.03 17.11C13.37 17.04 13.7 16.93 14.01 16.78C13.28 16.41 12.58 15.99 11.93 15.51C11.28 15.04 10.66 14.51 10.07 13.93ZM11.14 12.88C11.96 13.7 12.87 14.41 13.88 15.01C14.88 15.61 15.95 16.08 17.1 16.43C16.46 17.16 15.7 17.73 14.82 18.14C13.94 18.55 13 18.75 12.02 18.75C10.14 18.75 8.55 18.1 7.24 16.79C5.93 15.48 5.27 13.88 5.27 12C5.27 11.02 5.48 10.09 5.89 9.2C6.29 8.32 6.86 7.56 7.6 6.93C7.95 8.07 8.42 9.14 9.02 10.15C9.62 11.15 10.32 12.06 11.14 12.88ZM18.3 14.49C18.05 14.43 17.81 14.36 17.56 14.28C17.32 14.2 17.08 14.11 16.84 14.02C16.98 13.7 17.08 13.37 17.15 13.03C17.22 12.7 17.25 12.35 17.25 12C17.25 10.55 16.74 9.31 15.71 8.29C14.69 7.26 13.45 6.75 12 6.75C11.65 6.75 11.3 6.78 10.96 6.85C10.63 6.91 10.3 7.01 9.98 7.15C9.89 6.91 9.8 6.68 9.73 6.44C9.66 6.21 9.6 5.97 9.53 5.72C9.93 5.56 10.33 5.45 10.75 5.37C11.17 5.29 11.59 5.25 12.02 5.25C13.9 5.25 15.5 5.91 16.81 7.21C18.12 8.52 18.77 10.12 18.77 12C18.77 12.43 18.74 12.86 18.66 13.28C18.58 13.69 18.46 14.1 18.3 14.49ZM11.25 3.13V0.44H12.75V3.13H11.25ZM11.25 23.56V20.87H12.75V23.56H11.25ZM18.8 6.26L17.74 5.19L19.62 3.33L20.69 4.38L18.8 6.26ZM4.38 20.68L3.31 19.62L5.19 17.74L6.26 18.81L4.38 20.68ZM20.86 12.75V11.25H23.56V12.75H20.86ZM0.44 12.75V11.25H3.13V12.75H0.44ZM19.62 20.69L17.74 18.81L18.8 17.74L20.67 19.62L19.62 20.69ZM5.19 6.26L3.32 4.38L4.38 3.31L6.26 5.19L5.19 6.26Z`,fill:`currentColor`,...e})})})}function $r({icon:e,label:t,action:n,className:r,...i}){return(0,d.jsxs)(`div`,{className:T(`w-fit`,r),...i,children:[e,t,n]})}function ei({as:e,children:t,className:n,...r}){return(0,d.jsx)(e||`div`,{className:T(n),...r,children:t})}function ti({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`grid h-full grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]`,t),children:e})}function ni({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`row-span-4`,t),children:e})}function ri({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-1`,t),children:e})}function ii({children:e,className:t}){return(0,d.jsx)(`h3`,{className:T(`col-start-2 row-start-2`,t),children:e})}function ai({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-3`,t),children:e})}function oi({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-4`,t),children:e})}function si({children:e,className:t}){let{close:n}=Yn();return(0,d.jsx)(`div`,{role:`menu`,tabIndex:-1,className:T(`flex flex-col outline-none`,t),children:u.Children.map(e,e=>(0,u.cloneElement)(e,{role:`menuitem`,onClick:t=>{e.props.onClick?.(t),e.props.closeOnClick!==!1&&n()}}))})}function ci(e){return(0,d.jsx)(J,{...e})}function li({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(Xn,{trigger:e,...r,children:(0,d.jsx)(si,{className:n,children:t})})}function ui({title:e,items:t,footer:n,closeLabel:r=`Close`,defaultOpenValue:i,classNames:a}){let o=(0,u.useId)(),{close:s}=Yn(),c=a??{},l=i??t[0]?.value;return(0,d.jsxs)(`div`,{className:T(`rounded-md overflow-hidden bg-white`,c.root),role:`dialog`,"aria-modal":`true`,"aria-labelledby":o,children:[(0,d.jsxs)(`header`,{className:T(`gap-2 p-4 flex shrink-0 items-center justify-between`,c.header),children:[(0,d.jsx)(`div`,{id:o,className:c.title,children:e}),(0,d.jsx)(J,{type:`button`,onClick:s,"aria-label":r,className:c.closeButton,children:(0,d.jsx)(Ir,{size:18,"aria-hidden":!0})})]}),(0,d.jsx)(`div`,{className:c.body,children:(0,d.jsx)(ar,{type:`single`,className:c.accordion,defaultValue:l,children:e=>(0,d.jsx)(d.Fragment,{children:t.map(t=>(0,d.jsxs)(or,{value:t.value,className:c.item,children:[(0,d.jsxs)(sr,{value:t.value,className:T(`gap-2 p-3 flex w-full items-center justify-between`,c.itemTrigger),children:[t.label,(0,d.jsx)(Nr,{size:20,direction:e.openItems.has(t.value)?`up`:`down`,className:`shrink-0 text-neutral-600`})]}),(0,d.jsx)(cr,{value:t.value,className:T(`p-3`,c.itemContent),children:t.content})]},t.value))})})}),n==null?null:(0,d.jsx)(`div`,{className:T(`p-3`,c.footer),children:n})]})}function di(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];if(!t.has(i.id)&&i.isVisible(n))return{step:i,index:r}}return null}function fi({steps:e,context:t,children:n}){let[r,i]=(0,u.useState)(()=>new Set),a=(0,u.useMemo)(()=>di(e,r,t),[e,r,t]),o=a?.step??null,s=a?.index??null,c=(0,u.useCallback)(e=>{i(t=>{if(t.has(e))return t;let n=new Set(t);return n.add(e),n})},[]),l=(0,u.useCallback)(()=>{i(n=>{let r=di(e,n,t);if(r==null||n.has(r.step.id))return n;let i=new Set(n);return i.add(r.step.id),i})},[e,t]),f=(0,u.useCallback)(()=>{i(new Set(e.map(e=>e.id)))},[e]);return(0,d.jsx)(d.Fragment,{children:n({context:t,currentStep:o,currentStepIndex:s,dismissedStepIds:r,actions:(0,u.useMemo)(()=>({dismissCurrentStep:l,dismissStep:c,skipAll:f,close:f}),[l,c,f])})})}function pi({content:e,className:t}){let n=Ln(e);return(0,d.jsx)(`div`,{className:T(`normalized-content text-sm font-normal leading-[1.3] text-neutral-900`,t),dangerouslySetInnerHTML:{__html:n}})}function X({className:e}){return(0,d.jsx)(`div`,{className:T(`skeleton rounded-md`,e)})}var Z=[],mi=new Set,hi=new Map;function gi(e,t){t&&hi.set(e,t),Z=Z.filter(t=>t.id!==e),vi()}var _i=new Map;function vi(){mi.forEach(e=>e(Z))}const Q={subscribe(e){return mi.add(e),e(Z),()=>{mi.delete(e)}},add(e){e.key&&_i.set(e.key,e.id),Z=[e,...Z],vi()},remove(e,t){gi(e,t)},removeAllAtPosition(e,t=`replaced`){let n=Z.filter(t=>t.position===e).map(e=>e.id);for(let e of n)gi(e,t)},consumePendingDismissReason(e){let t=hi.get(e);return t!==void 0&&hi.delete(e),t},cleanup(e){for(let[t,n]of _i)if(n===e){_i.delete(t);break}},getActiveToastIdByKey(e){return _i.get(e)},update(e,t){return Z.find(t=>t.id===e)?(Z=Z.map(n=>n.id===e?{...n,...t,_refreshedAt:Date.now()}:n),vi(),!0):!1}};var yi=200,bi=100,xi={"top-left":`top-0 left-0 items-start`,"top-center":`top-0 left-1/2 -translate-x-1/2 items-center`,"top-right":`top-0 right-0 items-end`,"bottom-left":`bottom-0 left-0 items-start`,"bottom-center":`bottom-0 left-1/2 -translate-x-1/2 items-center`,"bottom-right":`bottom-0 right-0 items-end`},Si={"top-left":`-translate-x-full`,"top-center":`-translate-y-full`,"top-right":`translate-x-full`,"bottom-left":`-translate-x-full`,"bottom-center":`translate-y-full`,"bottom-right":`translate-x-full`},Ci={"top-left":`place-items-start`,"top-center":`items-start justify-items-center`,"top-right":`items-start justify-items-end`,"bottom-left":`items-end justify-items-start`,"bottom-center":`items-end justify-items-center`,"bottom-right":`items-end justify-items-end`};function wi(e){return e.startsWith(`top`)}function Ti(e){return typeof e==`function`}var Ei=()=>()=>{},Di=()=>!0,Oi=()=>!1;function ki(e){return e.reduce((e,t)=>((e[t.position]??=[]).push(t),e),{})}function Ai(e,t){let n=Si[t];return T(`transition-all duration-200 ease-out motion-reduce:transition-none motion-reduce:transform-none`,e?`translate-x-0 translate-y-0 opacity-100`:`opacity-0 ${n}`)}function ji(e){return e.animationState===`entering`?{...e,animationState:`visible`}:e}function Mi(e,t){return t&&e.animationState!==`exiting`?{...e,animationState:`exiting`}:e}function Ni({toast:e,remainingTime:t,onExitComplete:n,onClose:r,onHoverStart:i,onHoverEnd:a}){let[o,s]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=requestAnimationFrame(()=>s(!0));return()=>cancelAnimationFrame(e)},[]),(0,u.useEffect)(()=>{if(e.animationState!==`exiting`)return;let t=setTimeout(()=>n(e.id),yi);return()=>clearTimeout(t)},[e.animationState,e.id,n]);let c=(0,u.useCallback)(()=>r(e.id),[r,e.id]),l=o&&e.animationState!==`exiting`,f=Ti(e.content)?e.content(c,t):e.content;return(0,d.jsx)(`div`,{className:T(`pointer-events-auto`,Ai(l,e.position)),onMouseEnter:i,onMouseLeave:a,children:f})}function Pi(e,t){let[n,r]=(0,u.useState)(()=>new Map),i=(0,u.useRef)(new Map),a=(0,u.useRef)(null),o=(0,u.useRef)(!1),s=(0,u.useCallback)(e=>{let t=i.current.get(e);t?.timeoutId&&clearTimeout(t.timeoutId)},[]),c=(0,u.useCallback)((e,n)=>{s(e.id);let a=n??e.duration,o=Date.now(),c=window.setTimeout(()=>{t.current.set(e.id,`timeout`),Q.remove(e.id)},a);i.current.set(e.id,{timeoutId:c,startedAt:o,remainingTime:a,isPaused:!1,refreshedAt:e._refreshedAt}),r(t=>new Map(t).set(e.id,a))},[s,t]),l=(0,u.useCallback)(()=>{a.current||=window.setInterval(()=>{let e=Date.now();r(t=>{let n=new Map(t);return i.current.forEach((t,r)=>{if(!t.isPaused&&t.timeoutId){let i=e-t.startedAt;n.set(r,Math.max(0,t.remainingTime-i))}}),n})},bi)},[]),d=(0,u.useCallback)(()=>{if(o.current)return;o.current=!0;let e=Date.now();i.current.forEach((t,n)=>{t.timeoutId&&clearTimeout(t.timeoutId);let r=e-t.startedAt;i.current.set(n,{...t,timeoutId:null,remainingTime:Math.max(0,t.remainingTime-r),isPaused:!0})}),a.current&&=(clearInterval(a.current),null)},[]),f=(0,u.useCallback)(()=>{o.current&&(o.current=!1,i.current.forEach((t,n)=>{if(t.isPaused&&t.remainingTime>0){let r=e.find(e=>e.id===n);r&&c(r,t.remainingTime)}}),l())},[e,c,l]),p=(0,u.useCallback)(e=>{i.current.delete(e),r(t=>{let n=new Map(t);return n.delete(e),n})},[]);return(0,u.useEffect)(()=>{e.forEach(e=>{if(e.persistent)return;let t=i.current.get(e.id);t?t.refreshedAt!==e._refreshedAt&&c(e):c(e)}),e.some(e=>!e.persistent)&&l()},[e,c,l]),(0,u.useEffect)(()=>()=>{a.current&&clearInterval(a.current)},[]),{remainingTimes:n,pauseAll:d,resumeAll:f,cleanupTimer:p}}function Fi(){let[e,t]=(0,u.useState)([]),[n,r]=(0,u.useState)([]),i=(0,u.useRef)(new Set),a=(0,u.useRef)(new Map),o=(0,u.useRef)([]),{remainingTimes:s,pauseAll:c,resumeAll:l,cleanupTimer:p}=Pi(e,a);(0,u.useEffect)(()=>Q.subscribe(t),[]);let m=(0,u.useSyncExternalStore)(Ei,Di,Oi),h=(0,u.useCallback)(e=>{e.callbacks?.onOpen?.()},[]),g=(0,u.useCallback)((e,t)=>{t===`manual`?e.callbacks?.onClose?.():(t===`timeout`||t===`replaced`)&&e.callbacks?.onAutoClose?.(),e.callbacks?.onDismiss?.(t)},[]);(0,u.useEffect)(()=>{let t=new Set(e.map(e=>e.id)),n=new Map(e.map(e=>[e.id,e])),s=i.current;o.current.filter(e=>!t.has(e.id)&&e.animationState!==`exiting`).forEach(e=>{g(e,a.current.get(e.id)??Q.consumePendingDismissReason(e.id)??`timeout`),a.current.delete(e.id)}),r(r=>{let i=r.map(e=>{let t=n.get(e.id);return t?{...e,content:t.content,duration:t.duration}:e}).map(e=>Mi(e,!t.has(e.id))).map(ji),a=[...e.filter(e=>!s.has(e.id)).map(e=>(h(e),{...e,animationState:`entering`})),...i];return o.current=a,a}),i.current=t},[e,h,g]);let _=(0,u.useCallback)(e=>{r(t=>{let n=t.filter(t=>t.id!==e);return o.current=n,n}),p(e),Q.cleanup(e)},[p]),v=(0,u.useCallback)(e=>{a.current.set(e,`manual`),Q.remove(e)},[]);if(!m)return null;let y=ki(n);return(0,f.createPortal)((0,d.jsx)(d.Fragment,{children:Object.entries(y).map(([e,t])=>{let n=t.filter(e=>e.singleSlot),r=t.filter(e=>!e.singleSlot),i=n.length>0?(0,d.jsx)(`div`,{className:T(`isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1`,Ci[e]),children:n.map((e,t)=>(0,d.jsx)(`div`,{className:`col-span-full col-start-1 row-span-full row-start-1`,style:{zIndex:n.length-t},children:(0,d.jsx)(Ni,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l})},e.id))}):null,a=r.map(e=>(0,d.jsx)(Ni,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l},e.id));return(0,d.jsx)(`div`,{className:T(`gap-2 p-4 pointer-events-none fixed z-1000 flex flex-col items-end`,xi[e]),children:wi(e)?(0,d.jsxs)(d.Fragment,{children:[i,a]}):(0,d.jsxs)(d.Fragment,{children:[a,i]})},e)})}),document.body)}function Ii({title:e,value:t}){return(0,d.jsxs)(`div`,{className:`flex flex-col`,children:[(0,d.jsx)(`div`,{className:`mb-1 text-sm font-semibold text-neutral-900`,children:e}),(0,d.jsx)(`div`,{className:`text-sm font-normal text-neutral-900`,children:t})]})}const Li={amber:{bg:`bg-amber-200`,text:`text-amber-700`},blue:{bg:`bg-blue-200`,text:`text-blue-700`},cyan:{bg:`bg-cyan-200`,text:`text-cyan-700`},emerald:{bg:`bg-emerald-200`,text:`text-emerald-700`},fuchsia:{bg:`bg-fuchsia-200`,text:`text-fuchsia-700`},green:{bg:`bg-green-200`,text:`text-green-700`},indigo:{bg:`bg-indigo-200`,text:`text-indigo-700`},lime:{bg:`bg-lime-200`,text:`text-lime-700`},orange:{bg:`bg-orange-200`,text:`text-orange-700`},pink:{bg:`bg-pink-200`,text:`text-pink-700`},purple:{bg:`bg-purple-200`,text:`text-purple-700`},rose:{bg:`bg-rose-200`,text:`text-rose-700`},sky:{bg:`bg-sky-200`,text:`text-sky-700`},slate:{bg:`bg-slate-200`,text:`text-slate-700`},stone:{bg:`bg-stone-200`,text:`text-stone-700`},teal:{bg:`bg-teal-200`,text:`text-teal-700`},violet:{bg:`bg-violet-200`,text:`text-violet-700`}},Ri=Object.keys(Li);var zi=(0,p.tv)({base:`font-semibold flex shrink-0 items-center justify-center rounded-full leading-none select-none`,variants:{size:{xs:`h-[16px] w-[16px] text-[0.5em]`,sm:`h-[20px] w-[20px] text-[0.625em]`,md:`h-[28px] w-[28px] text-[0.75em]`,lg:`h-[32px] w-[32px] text-[0.875em]`,xl:`h-[36px] w-[36px] text-[0.875em]`}},defaultVariants:{size:`sm`}});function Bi(e){return ce(e.includes(`@`)?e.split(`@`)[0]:e)}function Vi({name:e,size:t=`sm`,className:n}){let r=Bi(e),i=Li[le(e,Ri)];return(0,d.jsx)(`div`,{role:`img`,"aria-label":e,className:T(zi({size:t}),i.bg,i.text,n),children:r})}var Hi=(0,p.tv)({slots:{root:`gap-1 relative flex items-center rounded-full border`,text:`text-xs font-semibold truncate whitespace-nowrap`},variants:{status:{fire:{root:`border-tertiary-400 bg-tertiary-50`,text:`text-tertiary-500-variant-2`},insight:{root:`border-primary-400-variant-1 bg-primary-subtle`,text:`text-primary-600`},done:{root:`border-success-base bg-success-light`,text:`text-success-base`}}}}),Ui={fire:{icon:Cr,label:`Fire`,compact:`icon-action`,normal:`icon-label-action`},insight:{icon:Tr,label:`Insight`,compact:`label-only`,normal:`icon-label`},done:{icon:xr,label:`Done`,compact:`icon-action`,normal:`icon-label-action`}};function Wi({className:e,label:t,status:n,onAction:r,density:i=`normal`}){let[a,o]=(0,u.useState)(!1),s=i===`compact`,c=Ui[n],l=s?c.compact:c.normal,f=Hi({status:n}),p=l.includes(`icon`),m=l.includes(`label`),h=l.includes(`action`)&&r;return(0,d.jsx)($r,{className:T(f.root(),s?`h-6 w-6`:`py-1 pr-2.5 pl-2`,e),icon:p?(0,d.jsx)(c.icon,{size:16,className:T(f.text(),s&&h&&`inset-0 absolute m-auto`,s&&h&&a&&`opacity-0`)}):void 0,label:m?(0,d.jsx)(`span`,{className:T(f.text(),s&&`inset-0 absolute flex items-center justify-center text-center text-[10px]`),children:t??c.label}):void 0,action:h?(0,d.jsx)(J,{onClick:r,"aria-label":`Dismiss status`,className:T(`group`,s?T(`inset-0 absolute m-auto transition-opacity`,a?`opacity-100`:`opacity-0`):void 0),children:(0,d.jsx)(Ir,{size:16,className:T(f.text(),`group-hover:scale-90`)})}):void 0,onMouseEnter:s?()=>o(!0):void 0,onMouseLeave:s?()=>o(!1):void 0})}function Gi({className:e}){return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,e),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`h-5 w-5 rounded`}),(0,d.jsx)(X,{className:`h-4 w-30`})]}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`m-1 h-5 w-5 rounded`}),(0,d.jsx)(X,{className:`m-1 h-5 w-5 rounded`})]})]})}function $({icon:e,...t}){return(0,d.jsx)(J,{...t,children:(0,u.cloneElement)(e,{"aria-hidden":!0,focusable:!1,className:T(`shrink-0`,e.props.className)})})}function Ki({className:e,...t}){return(0,d.jsx)(nr,{...t,className:T(`rounded px-2 py-1 font-medium bg-neutral-700 text-[0.625em] whitespace-nowrap text-white`,e)})}function qi({totalItems:e=0,selectedItems:t=0,onSelectAll:n,actions:r,defaultDensity:i=`normal`,onDensityChange:a,className:o}){let s=e>0,c=s&&t===e,l=s&&t>0&&t<e,f=c?`All (${e})`:l?`${t}/${e} selected`:`Select all (${e})`,[p,m]=(0,u.useState)(i??`normal`),h=()=>{n(!c)};function g(e){m(e),a?.(e)}let _={fire:[{id:`fire`,tooltip:`Mark as fire`,icon:(0,d.jsx)(Cr,{size:20,className:`text-tertiary-500-variant-2`}),onClick:r.fire.on},{id:`not-fire`,tooltip:`Mark as not fire`,icon:(0,d.jsx)(Er,{size:20,className:`text-neutral-900`}),onClick:r.fire.off}],done:[{id:`done`,tooltip:`Mark as done`,icon:(0,d.jsx)(xr,{size:20,className:`text-success-base`}),onClick:r.done.on},{id:`not-done`,tooltip:`Mark as not done`,icon:(0,d.jsx)(br,{size:20,className:`text-neutral-900`}),onClick:r.done.off}],read:[{id:`unread`,tooltip:`Mark as unread`,icon:(0,d.jsx)(Or,{size:20,className:`text-primary-600-variant-1`}),onClick:r.read.on},{id:`read`,tooltip:`Mark as read`,icon:(0,d.jsx)(Dr,{size:20,className:`text-neutral-900`}),onClick:r.read.off}]},v=[{value:`normal`,tooltip:`Normal density`,icon:(0,d.jsx)(Jr,{size:20})},{value:`compact`,tooltip:`Compact density`,icon:(0,d.jsx)(Lr,{size:20})}];return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,o),children:[(0,d.jsx)(qn,{checked:c,indeterminate:l,onChange:h,icon:(0,d.jsx)(yr,{size:16,className:`text-white-variant-7`}),indeterminateIcon:(0,d.jsx)(Kr,{size:12,className:`text-neutral-900`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`),children:f}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`,children:t>0&&(0,d.jsx)(d.Fragment,{children:Object.entries(_).map(([e,t])=>(0,d.jsx)(`div`,{className:`gap-2 px-1 flex items-center`,children:t.map(e=>(0,d.jsx)(Ki,{content:e.tooltip,className:`border-black`,children:(0,d.jsx)($,{className:`h-7 w-7 p-0`,onClick:e.onClick,icon:e.icon})},e.id))},e))})}),(0,d.jsx)(`div`,{className:`gap-2 flex items-center`,children:v.map(({value:e,tooltip:t,icon:n})=>{let r=p===e;return(0,d.jsx)(Ki,{content:t,children:(0,d.jsx)($,{className:T(`h-7 w-7 p-0 text-neutral-900`,r&&`bg-white-variant-4`),onClick:()=>g(e),icon:n,"aria-pressed":r})},e)})})]})}var Ji=(0,p.tv)({slots:{root:`gap-1 px-2 py-1 inline-flex w-fit items-center rounded-full border-[1.5px] transition-colors`,label:`gap-1 text-xs flex shrink-0 items-center whitespace-nowrap`},variants:{variant:{custom:{},fire:{},unread:{},insight:{},done:{}},selected:{false:{root:`border-neutral-300 bg-white hover:border-neutral-500-variant-4 hover:bg-neutral-100`,label:`font-semibold text-neutral-800 opacity-80 group-hover:opacity-100`},true:{root:`bg-white hover:bg-white`,label:`font-semibold text-neutral-900`}}},compoundVariants:[{variant:`custom`,selected:!0,class:{root:`border-primary-400 hover:border-primary-400`}},{variant:`fire`,selected:!0,class:{root:`border-tertiary-400 hover:border-tertiary-500`}},{variant:`unread`,selected:!0,class:{root:`border-primary-400 hover:border-primary-500`}},{variant:`insight`,selected:!0,class:{root:`border-brand-primary-100 hover:border-brand-primary-200`}},{variant:`done`,selected:!0,class:{root:`border-success-base hover:border-success-base`}}],defaultVariants:{variant:`custom`,selected:!1}}),Yi={fire:{icon:Cr,selectedIcon:Sr,label:`Fire`,iconColor:`text-tertiary-500`},unread:{icon:Or,label:`Unread`,iconColor:`text-primary-500`},insight:{icon:Tr,selectedIcon:wr,label:`Insights`,iconColor:`text-primary-600`},done:{icon:xr,label:`Done`,iconColor:`text-success-base`}};function Xi(e,t){return typeof e==`function`?(0,d.jsx)(e,{size:20,className:t}):(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function Zi({variant:e=`custom`,label:t,count:n,selected:r=!1,icon:i,classNames:a,disabled:o,...s}){let c=!!o,l=Ji({variant:e,selected:!c&&r}),u=e===`custom`?void 0:Yi[e],f=i??(u&&!c&&r&&`selectedIcon`in u&&u.selectedIcon?u.selectedIcon:u?.icon),p=t??u?.label,m=c?`text-neutral-400`:r&&u?.iconColor?u.iconColor:`text-neutral-900 opacity-60 group-hover:opacity-80`;return(0,d.jsxs)(J,{...s,disabled:o,"aria-label":s[`aria-label`]??p,className:T(`group`,l.root(),c&&`border-neutral-300 bg-white hover:border-neutral-300`,a?.root),children:[f&&(0,d.jsx)(`span`,{className:T(`flex items-center`,a?.icon),children:Xi(f,T(`shrink-0`,m))}),p&&(0,d.jsxs)(`span`,{className:T(l.label(),c&&`font-medium text-neutral-400`,a?.label),children:[(0,d.jsx)(`span`,{children:p}),typeof n==`number`&&n>0&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(`font-medium`,a?.count),children:[`(`,n,`)`]})]})]})}function Qi({orientation:e=`vertical`,className:t}){let n=e===`vertical`;return(0,d.jsxs)(`div`,{className:T(`flex w-fit items-center`,n?`gap-1 flex-col`:`gap-2 flex-row`,t),children:[(0,d.jsx)(X,{className:`size-8 rounded-full`}),(0,d.jsx)(`div`,{className:T(`gap-1 flex items-center`,n&&`text-[9px]`),children:(0,d.jsx)(X,{className:T(`h-3`,n?`w-10`:`w-14`)})})]})}var $i=(0,p.tv)({slots:{root:`flex w-fit items-center`,bubble:`size-8 flex items-center justify-center rounded-full border-[1.5px] transition-opacity hover:opacity-70`,label:`gap-1 flex items-center transition-colors`,count:`font-normal`,icon:``},variants:{variant:{primary:{},secondary:{},minimal:{bubble:`border-none text-primary-500`,label:`text-primary-500`}},status:{active:{},inactive:{}},orientation:{vertical:{root:`gap-1 flex-col`,label:`font-semibold text-[9px]`},horizontal:{root:`gap-2 flex-row`,label:`text-xs font-semibold`}}},compoundVariants:[{variant:`primary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`}},{variant:`primary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`opacity-60`,icon:`opacity-50 grayscale`}},{variant:`secondary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`,icon:`text-success-base`}},{variant:`secondary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`text-neutral-900`}}],defaultVariants:{variant:`primary`,orientation:`vertical`,status:`active`}});function ea(e,t=99){return e>t?`${t}+`:String(e)}function ta(e,t){return(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function na({isPressed:e,isPortalHovered:t,portalPosition:n,onMouseEnter:r,onMouseLeave:i,onToggle:a}){let o=t&&!e,s=e?`Clear`:`Only`,c=e?`Reset state`:`Activate state`;return(0,f.createPortal)((0,d.jsx)(`div`,{className:`flex`,style:{position:`fixed`,top:n.top,left:n.left,zIndex:10},children:(0,d.jsx)(Ki,{content:s,position:`right-end`,children:(0,d.jsx)($n,{children:(0,d.jsx)(`div`,{role:`button`,tabIndex:0,"aria-pressed":e,"aria-label":c,className:`size-5 flex cursor-pointer items-center justify-center rounded-full bg-white`,onMouseEnter:r,onMouseLeave:i,onClick:a,children:(0,d.jsxs)(`div`,{className:T(`size-4 flex items-center justify-center rounded-full border`,e?`border-tertiary-500`:`border-neutral-800`),children:[o&&(0,d.jsx)(`div`,{className:`size-2 rounded-full bg-neutral-800`}),e&&(0,d.jsx)(Ir,{size:12,className:`text-tertiary-500`})]})})})})}),document.body)}function ra({icon:e,label:t,count:n,variant:r=`primary`,orientation:i=`vertical`,status:a=`active`,alwaysShowCount:o=!1,showToggleControl:s=!1,pressed:c,defaultPressed:l=!1,onPressedChange:f,classNames:p,...m}){let h=$i({variant:r,orientation:i,status:a}),g=(0,u.useRef)(null),[_,v]=(0,u.useState)(!1),[y,b]=(0,u.useState)(!1),[x,S]=(0,u.useState)(l),[ee,te]=(0,u.useState)(null),C=c??x,ne=s&&(_||y||C),w=typeof n==`number`&&n>0&&(o||a===`active`);function re(e){c===void 0&&S(e),f?.(e)}return(0,u.useLayoutEffect)(()=>{if(!ne||!g.current)return;function e(){let e=g.current?.getBoundingClientRect();e&&te({top:e.top-8,left:e.right-12})}return e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[ne]),(0,d.jsxs)(J,{...m,className:T(h.root(),p?.root),onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:[(0,d.jsxs)(`div`,{className:`relative`,children:[(0,d.jsx)(`div`,{ref:g,className:T(h.bubble(),p?.bubble),children:ta(e,h.icon())}),ne&&ee&&typeof document<`u`&&na({isPressed:C,isPortalHovered:y,portalPosition:ee,onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onToggle:()=>re(!C)})]}),(0,d.jsxs)(`div`,{className:T(h.label(),p?.label),children:[(0,d.jsx)(`span`,{children:t}),w&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(h.count(),p?.count),children:[`(`,ea(n),`)`]})]})]})}function ia({icon:e,label:t,className:n,selected:r,...i}){return(0,d.jsxs)(J,{className:T(`gap-2 px-3 py-2 flex items-center justify-start bg-white hover:bg-neutral-100`,r&&`bg-primary-500 text-white hover:bg-primary-bright`,n),...i,children:[e&&(0,u.cloneElement)(e,{size:e.props.size??16,className:T(r?`text-white`:`text-neutral-600-variant-7`,e.props.className)}),(0,d.jsx)(`span`,{className:T(`text-xs font-medium transition-colors`,r?`text-white`:`text-neutral-900`),children:t})]})}function aa({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(li,{trigger:e,className:T(`mt-1 min-w-20 rounded p-0 shadow-lg overflow-hidden border border-neutral-400 bg-white`,n),...r,children:t})}function oa({mode:e,selectedDate:t,selectedRange:n,onDateSelect:r,onRangeSelect:i}){let{close:a}=Yn(),o=(0,u.useMemo)(()=>new Date,[]),[s,c]=(0,u.useState)(null),l=(0,u.useRef)(t),f=(0,u.useRef)(n),[p,m]=(0,u.useState)(()=>{let r=e===`single`?t??o:n.startDate??n.endDate??o;return{year:r.getFullYear(),month:r.getMonth()}});(0,u.useEffect)(()=>{(e===`single`&&t&&(!l.current||t.getTime()!==l.current.getTime())||e===`range`&&(n.startDate?.getTime()!==f.current.startDate?.getTime()||n.endDate?.getTime()!==f.current.endDate?.getTime()))&&queueMicrotask(()=>{if(e===`single`&&t)m({year:t.getFullYear(),month:t.getMonth()});else if(e===`range`){let e=n.startDate??n.endDate;e&&m({year:e.getFullYear(),month:e.getMonth()})}}),l.current=t,f.current=n},[e,t,n]);let h=(0,u.useMemo)(()=>ae(p.year,p.month),[p.year,p.month]);function g(t){let o=t.getMonth(),s=t.getFullYear();if((o!==p.month||s!==p.year)&&m({year:s,month:o}),e===`single`)r(t),a();else{let{startDate:e,endDate:r}=n;!e||r||te(t,e)?i({startDate:t,endDate:null}):(i({startDate:e,endDate:t}),a())}}function _(){m(e=>e.month===0?{year:e.year-1,month:11}:{year:e.year,month:e.month-1})}function v(){m(e=>e.month===11?{year:e.year+1,month:0}:{year:e.year,month:e.month+1})}let y=ie();return(0,d.jsxs)(`div`,{className:`mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`mb-4 pb-2 flex items-center justify-between border-b border-neutral-400`,children:[(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{direction:`left`,size:20}),onClick:_,className:`hover:opacity-60`,"aria-label":`Previous month`}),(0,d.jsxs)(`div`,{className:`font-bold text-[10px] text-neutral-900`,children:[re(p.month),` `,p.year]}),(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{direction:`right`,size:20}),onClick:v,className:`hover:opacity-60`,"aria-label":`Next month`})]}),(0,d.jsx)(`div`,{className:`mb-2 grid grid-cols-7`,children:y.map(e=>(0,d.jsx)(`div`,{className:`p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900`,children:e},e))}),(0,d.jsx)(`div`,{className:`grid grid-cols-7`,children:h.map(({day:r,date:i,isCurrentMonth:a})=>{let o=ee(i),l=e===`single`&&t&&S(i,t),{startDate:u,endDate:f}=n,p=u&&S(i,u),m=f&&S(i,f),h=u,_=s;e===`range`&&u&&!f&&s&&!te(s,u)?(h=u,_=s):(h=null,_=null);let v=e===`range`&&(C(i,u,f)||C(i,h,_)),y=l||p||m;return(0,d.jsx)(J,{type:`button`,onClick:()=>g(i),onMouseEnter:()=>{e===`range`&&u&&!f&&!te(i,u)&&c(i)},onMouseLeave:()=>{e===`range`&&c(null)},className:`p-0.5`,"aria-label":`Select ${b(i)}`,"aria-selected":y||void 0,children:(0,d.jsx)(`div`,{className:T(`rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors`,y&&`font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500`,v&&!y&&`font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30`,o&&!y&&!v&&`font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white`,!y&&!v&&(a?`text-neutral-900 hover:bg-neutral-300`:`text-neutral-600 hover:bg-neutral-200`)),children:r})},`${i.getFullYear()}-${i.getMonth()}-${r}`)})})]})}function sa({displayText:e,disabled:t,className:n,onClear:r}){let{close:i}=Yn();function a(){r(),i()}return(0,d.jsxs)(Qn,{disabled:t,className:T(`gap-1 px-2 py-1 text-xs flex items-center justify-start rounded-full border border-neutral-300 bg-white text-left text-neutral-800 transition-colors hover:border-neutral-500`,e&&`border-primary-400 hover:border-primary-500 hover:bg-primary-light`,n),children:[(0,d.jsx)(Pr,{size:20,className:`text-primary-600`}),(0,d.jsx)(`span`,{className:`font-semibold`,children:`Date`}),e&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(`span`,{className:`font-normal`,children:[`(`,e,`)`]}),(0,d.jsx)($n,{children:(0,d.jsx)($,{icon:(0,d.jsx)(Ir,{size:16}),onClick:a,className:`text-neutral-600 hover:opacity-70`,"aria-label":`Close`})})]})]})}function ca({mode:e=`single`,value:t,defaultValue:n,onChange:r,disabled:i=!1,className:a}){let[o,s]=(0,u.useState)(e===`single`&&n?n:null),[c,l]=(0,u.useState)(()=>{if(e===`range`&&n){let e=n;return{startDate:e.startDate??null,endDate:e.endDate??null}}return{startDate:null,endDate:null}}),f=t!==void 0,p=e===`single`?f?t??null:o:null,m=e===`range`?f?t??{startDate:null,endDate:null}:c:{startDate:null,endDate:null};function h(t){e===`single`&&(f||s(t),r?.(t))}function g(t){e===`range`&&(f||l(t),r?.(t))}function _(){e===`single`?h(null):g({startDate:null,endDate:null})}return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(Xn,{trigger:(0,d.jsx)(sa,{displayText:e===`single`?b(p):ne(m.startDate,m.endDate),disabled:i,className:a,onClear:_}),disabled:i,children:(0,d.jsx)(oa,{mode:e,selectedDate:p,selectedRange:m,onDateSelect:h,onRangeSelect:g})})})}const la={normal:{style:`h-[165px]`,value:165},compact:{style:`h-[60px]`,value:60}},ua={style:`h-[104px]`,value:104};function da({density:e=`normal`,className:t,style:n}){return(0,d.jsx)(ei,{className:T(`rounded-lg p-4 w-full bg-white-variant-5`,e===`normal`?`${la.normal.style}`:`${la.compact.style}`,t),style:n,children:e===`normal`?(0,d.jsxs)(ti,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(ni,{children:(0,d.jsx)(X,{className:`h-5 w-5`})}),(0,d.jsxs)(ri,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[(0,d.jsx)(X,{className:`h-4 w-4`}),(0,d.jsx)(X,{className:`h-4 w-24`}),(0,d.jsx)(X,{className:`h-3 w-12`}),(0,d.jsx)(X,{className:`h-5 w-5 rounded-full`})]}),(0,d.jsx)(ii,{className:`h-5 flex items-center`,children:(0,d.jsx)(X,{className:`h-4 w-48`})}),(0,d.jsxs)(ai,{children:[(0,d.jsx)(X,{className:`my-1 h-4 w-full`}),(0,d.jsx)(X,{className:`my-1 h-4 w-3/4`})]}),(0,d.jsxs)(oi,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)(X,{className:`h-6 w-23 rounded-full`})}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(X,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(X,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(X,{className:`h-6 w-6 rounded-full`})]})]})]}):(0,d.jsxs)(ti,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(ni,{className:`flex items-center justify-center`,children:(0,d.jsx)(X,{className:`h-5 w-5`})}),(0,d.jsxs)(ri,{className:`min-w-0 gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`h-4 w-4`}),(0,d.jsx)(`div`,{className:`min-w-0 gap-2 flex items-center`,children:(0,d.jsx)(X,{className:`h-4 w-32`})}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(X,{className:`h-3 w-12`}),(0,d.jsx)(X,{className:`h-5 w-5 rounded-full`})]})]})})}var fa={fire:{className:`group`,icon:(0,d.jsx)(Cr,{size:20,className:`text-neutral-600 group-hover:text-tertiary-500-variant-2`})},done:{className:`group relative flex items-center justify-center w-6 h-6`,icon:(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(br,{size:24,className:`block text-neutral-600-variant-1 group-hover:hidden`}),(0,d.jsx)(xr,{size:24,className:`hidden text-success-base group-hover:block`})]})},link:{className:``,icon:(0,d.jsx)(Vr,{size:20,className:`text-primary-500`})}},pa=(0,p.tv)({base:`rounded-lg p-4 w-full border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,done:`hover:bg-success-base-variant-1`,priority:`hover:bg-tertiary-500-variant-4`},state:{unread:``,read:``,selected:``},density:{normal:la.normal.style,compact:la.compact.style}},compoundVariants:[{tone:`default`,state:`unread`,class:`border-primary-400`},{tone:`default`,state:`read`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-primary-500 bg-primary-light`},{tone:`done`,state:`unread`,class:`border-primary-400`},{tone:`done`,state:`read`,class:`border-success-base-variant-2`},{tone:`done`,state:`selected`,class:`border-success-base bg-success-base-variant-1`},{tone:`priority`,state:`unread`,class:`border-tertiary-500-variant-2`},{tone:`priority`,state:`read`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`}]});function ma({checked:e,onCheckedChange:t}){return(0,d.jsx)($n,{children:(0,d.jsx)(qn,{checked:e,onChange:t,icon:(0,d.jsx)(yr,{size:16,className:`text-white-variant-7`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`)})})}function ha({statusBadges:e,density:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)($n,{children:Object.keys(e).map(n=>{let r=e[n];return r?(0,d.jsx)(Wi,{status:n,label:r.label,onAction:r.onClick,density:t},n):null})})})}function ga({actions:e,className:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:T(`gap-2 flex`,t),children:(0,d.jsx)($n,{children:Object.keys(e).map(t=>{let n=e[t];return n?(0,d.jsx)($,{...fa[t],onClick:n.onClick},t):null})})})}function _a({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,timestampTooltip:o,workspace:s,read:c=!1,selected:l=!1,onSelect:u,checked:f=!1,onCheckedChange:p,statusBadges:m={},actions:h={},density:g=`normal`,className:_,style:v,isPriority:y,isDone:b}){return(0,d.jsx)(ei,{as:Qn,onPress:u,className:T(pa({tone:y?`priority`:b?`done`:`default`,state:l?`selected`:c?`read`:`unread`,density:g}),_),style:v,"data-service":t,children:g===`normal`?(0,d.jsxs)(ti,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(ni,{children:(0,d.jsx)(ma,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(ri,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[e,(0,d.jsx)(`span`,{className:T(`min-w-0 -translate-x-0.5 text-sm font-bold truncate text-neutral-900`,c&&`font-medium`),children:n}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a}),(0,d.jsx)(Ki,{content:s,children:(0,d.jsx)(Vi,{name:s})})]}),(0,d.jsx)(ii,{className:T(`text-sm font-bold line-clamp-1 text-neutral-900`,c&&`font-medium`),children:r}),(0,d.jsx)(ai,{className:`min-w-0 text-sm line-clamp-2 text-neutral-900`,children:i}),(0,d.jsxs)(oi,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(ha,{statusBadges:m}),(0,d.jsx)(ga,{actions:h,className:`col-start-2 justify-self-end`})]})]}):(0,d.jsxs)(ti,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(ni,{className:`flex items-center justify-center`,children:(0,d.jsx)(ma,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(ri,{className:`min-w-0 gap-2 flex items-center`,children:[e,(0,d.jsx)(ha,{statusBadges:m,density:g}),(0,d.jsxs)(`div`,{className:T(`min-w-0 gap-2 text-sm font-bold flex items-center whitespace-nowrap text-neutral-900`,c&&`font-medium`),children:[(0,d.jsx)(`span`,{className:`truncate`,children:n}),(0,d.jsx)(`span`,{className:`text-sm shrink-0 text-neutral-500`,children:`•`}),(0,d.jsx)(`span`,{className:`truncate`,children:r})]}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(ga,{actions:h}),(0,d.jsx)(Ki,{content:o,children:(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a})}),(0,d.jsx)(Ki,{content:s,children:(0,d.jsx)(Vi,{name:s})})]})]})})}function va({title:e,rows:t}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 text-sm flex flex-col bg-neutral-100-variant-3 text-neutral-800`,children:[e&&(0,d.jsx)(`div`,{className:`font-bold`,children:e}),(0,d.jsx)(`div`,{className:`gap-x-4 gap-y-1 grid grid-cols-[auto_1fr]`,children:t.map(({label:e,value:t})=>(0,d.jsxs)(u.Fragment,{children:[(0,d.jsxs)(`div`,{className:`font-bold`,children:[e,`:`]}),(0,d.jsx)(`span`,{className:`font-normal`,children:t})]},e))})]})}function ya({from:e,to:t,link:n,location:r}){return(0,d.jsx)(va,{rows:[{label:`From`,value:e},{label:`To`,value:t},{label:`Link`,value:n},{label:`Location`,value:r}]})}function ba({priorityText:e}){return(0,d.jsx)(`div`,{className:`top-14 min-h-14 gap-4 px-4 py-3 sticky z-5 flex shrink-0 items-center bg-tertiary-50`,children:(0,d.jsxs)(`div`,{className:`py-1 text-xs font-normal leading-[1.2] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold text-tertiary-500`,children:`High Urgency:\xA0`}),e]})})}function xa({summary:e}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(Zr,{size:24}),(0,d.jsxs)(`p`,{className:`text-sm font-normal leading-[1.3] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold`,children:`Summary:\xA0`}),e]})]})}function Sa({summary:e,priorityText:t,children:n,className:r}){return(0,d.jsxs)(`div`,{className:T(`flex flex-col`,r),children:[t!=null&&(0,d.jsx)(ba,{priorityText:t}),(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[e!=null&&(0,d.jsx)(xa,{summary:e}),n]})]})}function Ca({detail:{summary:e,body:t,priorityText:n,from:r,to:i,link:a,location:o},className:s}){return(0,d.jsxs)(Sa,{summary:e,priorityText:n,className:s,children:[(0,d.jsx)(ya,{from:r,to:i,link:a,location:o}),(0,d.jsx)(pi,{className:`max-w-[1260px px-4`,content:t})]})}function wa({subject:e,to:t,date:n,from:r}){return(0,d.jsx)(va,{rows:[{label:`Subject`,value:e},{label:`To`,value:t},{label:`Date`,value:n},{label:`From`,value:r}]})}function Ta({detail:{summary:e,body:t,priorityText:n,subject:r,to:i,date:a,from:o},className:s}){return(0,d.jsxs)(Sa,{summary:e,priorityText:n,className:s,children:[(0,d.jsx)(wa,{subject:r,to:i,date:a,from:o}),(0,d.jsx)(pi,{className:`px-4 max-w-[1260px]`,content:t})]})}function Ea({timestamp:e}){return(0,d.jsxs)(`div`,{className:`gap-4 flex items-center`,children:[(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`}),(0,d.jsx)(`span`,{className:`px-3 py-1 text-xs font-semibold rounded-full border border-neutral-300-variant-2 text-neutral-600`,children:e}),(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`})]})}function Da({isPriority:e,onExternalLinkClick:t,onMarkAsFireClick:n}){return(0,d.jsxs)(d.Fragment,{children:[t&&(0,d.jsx)($,{icon:(0,d.jsx)(Vr,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-primary-500`,title:`Open in Slack`,"aria-label":`Open in Slack`,onClick:t}),n&&!e&&(0,d.jsx)($,{icon:(0,d.jsx)(Cr,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-tertiary-500`,title:`Mark as Fire`,"aria-label":`Mark as Fire`,onClick:n})]})}function Oa({content:e}){return(0,d.jsx)(`div`,{className:`text-sm leading-relaxed text-neutral-900`,children:(0,d.jsx)(pi,{className:`max-w-[1260px]`,content:e})})}function ka({replyId:e,replyCount:t}){let{openItems:n}=ir();return(0,d.jsxs)(`div`,{className:`gap-2 p-1.5 px-2 text-xs font-medium flex items-center text-neutral-600`,children:[(0,d.jsx)(Nr,{direction:n.has(`replies-${e}`)?`up`:`down`,size:12,className:`transition-transform`}),(0,d.jsxs)(`span`,{children:[t,` `,t===1?`reply`:`replies`]})]})}function Aa({replies:e}){if(!e||e.length===0)return null;let t=e[0]?.id;return t?(0,d.jsx)(ar,{className:`w-full`,type:`multiple`,defaultValue:[`replies-${t}`],children:(0,d.jsxs)(or,{value:`replies-${t}`,className:`gap-2 flex flex-col`,children:[(0,d.jsx)(sr,{value:`replies-${t}`,className:`rounded hover:bg-neutral-50 flex items-center justify-between transition-colors`,children:(0,d.jsx)(ka,{replyId:t,replyCount:e.length})}),(0,d.jsx)(cr,{value:`replies-${t}`,className:`ml-3 gap-4 pl-4 flex flex-col border-l-2 border-neutral-500`,children:e.map(e=>(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(Vi,{name:e.author,size:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp})]}),(0,d.jsx)(Oa,{content:e.body})]})]},e.id))})]})}):null}function ja({message:e,isPriority:t=!1}){return(0,d.jsx)(`div`,{className:`transition-colors`,children:(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(Vi,{name:e.author,size:t?`xl`:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp}),(0,d.jsx)(Da,{isPriority:t,onExternalLinkClick:e.onExternalLinkClick,onMarkAsFireClick:e.onMarkAsFireClick})]}),(0,d.jsx)(Oa,{content:e.body})]}),e.replies&&e.replies.length>0&&(0,d.jsx)(Aa,{replies:e.replies})]})]})})}function Ma({priorityIndex:e,priorityTotal:t,onPreviousPriority:n,onNextPriority:r}){if(!e||!t||t<=1)return null;let i=e>1,a=e<t;return!a&&!i?null:(0,d.jsx)(`div`,{className:`mb-3 px-2 flex justify-center`,children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center justify-center`,children:[(0,d.jsx)(`div`,{className:`flex flex-1 justify-end`,children:a&&(0,d.jsxs)(J,{className:`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border border-tertiary-500 bg-white text-tertiary-500 transition-colors hover:bg-tertiary-50`,"aria-label":`Previous Fire`,onClick:n,children:[(0,d.jsx)(Nr,{direction:`left`,size:14}),(0,d.jsx)(`span`,{children:`Previous Fire`})]})}),(0,d.jsxs)(`span`,{className:`text-xs font-medium text-neutral-700`,children:[e,` / `,t]}),(0,d.jsx)(`div`,{className:`flex-1`,children:i&&(0,d.jsxs)(J,{className:`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border border-tertiary-500 bg-white text-tertiary-500 transition-colors hover:bg-tertiary-50`,"aria-label":`Next Fire`,onClick:r,children:[(0,d.jsx)(`span`,{children:`Next Fire`}),(0,d.jsx)(Nr,{direction:`right`,size:14})]})})]})})}function Na({title:e,onMarkAsNotFireClick:t}){return e?(0,d.jsx)(`div`,{className:`pb-3 border-b border-neutral-200`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)($,{icon:(0,d.jsx)(Cr,{size:16,className:`text-tertiary-500`}),className:`h-6 w-6 relative flex shrink-0 items-center justify-center rounded-full border border-tertiary-400 bg-tertiary-50 transition-opacity hover:opacity-70`,"aria-label":`Priority`,onClick:t}),(0,d.jsx)(`h4`,{className:`text-tertiary-700 text-xs font-semibold tracking-wide uppercase`,children:e})]})}):null}function Pa({group:e,children:t,onPreviousPriority:n,onNextPriority:r,onMarkAsNotFireClick:i}){return e.isPriority?(0,d.jsxs)(`div`,{className:`relative scroll-mt-[180px]`,"data-group-id":e.id,children:[(0,d.jsx)(Ma,{priorityIndex:e.priorityIndex,priorityTotal:e.totalPriorityGroups,onPreviousPriority:n,onNextPriority:r}),(0,d.jsxs)(`div`,{className:`gap-4 rounded-r-lg p-4 relative flex flex-col border-l-[3px] border-tertiary-500 bg-tertiary-50-alpha-50`,children:[(0,d.jsx)(Na,{title:e.priorityText,onMarkAsNotFireClick:i}),t]})]}):(0,d.jsx)(d.Fragment,{children:t})}function Fa({group:e,onPreviousPriority:t,onNextPriority:n}){return(0,d.jsxs)(`div`,{className:`gap-4 flex flex-col`,children:[(0,d.jsx)(Ea,{timestamp:e.timestamp}),(0,d.jsx)(Pa,{group:e,onPreviousPriority:t,onNextPriority:n,onMarkAsNotFireClick:e.messages[0]?.onMarkAsFireClick,children:e.messages.map(t=>(0,d.jsx)(ja,{message:t,isPriority:e.isPriority},t.id))})]})}function Ia({detail:{groups:e,summary:t,priorityText:n},className:r}){let i=e.filter(e=>e.isPriority).length,a=(0,u.useRef)(null),o=(0,u.useRef)(null);(0,u.useEffect)(()=>{e.length>0&&o.current?.scrollIntoView({behavior:`smooth`})},[e]);let s=i,c=(0,u.useCallback)(t=>{if(!a.current)return;let n=Array.from(a.current.querySelectorAll(`[data-group-id][class*="scroll-mt"]`)).filter(t=>{let n=t.getAttribute(`data-group-id`);return n?e.find(e=>e.id===n)?.isPriority:!1});if(t>=1&&t<=i&&n.length===i){let e=n[i-t];e&&e.scrollIntoView({behavior:`smooth`,block:`start`})}},[e,i]);return(0,d.jsx)(Sa,{summary:t,priorityText:n,className:r,children:(0,d.jsxs)(`div`,{ref:a,className:`gap-4 flex flex-col`,children:[e.map(e=>{let t=e.isPriority?s--:0,n=t?()=>{let e=t+1;e<=i&&c(e)}:void 0,r=t?()=>{let e=t-1;e>=1&&c(e)}:void 0;return(0,d.jsx)(Fa,{group:{...e,priorityIndex:t,totalPriorityGroups:i},onPreviousPriority:n,onNextPriority:r},e.id)}),(0,d.jsx)(`div`,{ref:o,"aria-hidden":`true`})]})})}function La({issue:e,notification:t,project:n,task:r,dueDate:i,startDate:a,assignees:o,reporter:s,team:c,location:l,related:u}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(va,{rows:[{label:`Issue`,value:e},{label:`Notification`,value:t},{label:`Project`,value:n},{label:`Task`,value:r}]}),(0,d.jsx)(va,{title:`Issue`,rows:[{label:`Due Date`,value:i},{label:`Start Date`,value:a},{label:`Assignees`,value:o},{label:`Reporter`,value:s},{label:`Team`,value:c},{label:`Location`,value:l},{label:`Related`,value:u}]})]})}function Ra({detail:{summary:e,body:t,priorityText:n,issue:r,notification:i,project:a,task:o,dueDate:s,startDate:c,assignees:l,reporter:u,team:f,location:p,related:m},className:h}){return(0,d.jsxs)(Sa,{summary:e,priorityText:n,className:h,children:[(0,d.jsx)(La,{issue:r,notification:i,project:a,task:o,dueDate:s,startDate:c,assignees:l,reporter:u,team:f,location:p,related:m}),(0,d.jsx)(`h2`,{className:`px-4 text-sm font-bold text-neutral-900`,children:`Description`}),(0,d.jsx)(pi,{className:`px-4 max-w-[1260px]`,content:t})]})}var za=(0,p.tv)({base:`gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,priority:`hover:bg-tertiary-500-variant-4`},state:{normal:``,selected:``}},compoundVariants:[{tone:`default`,state:`normal`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-primary-500 bg-primary-light`},{tone:`priority`,state:`normal`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`}]});function Ba(e){return e!=null&&e!==``}function Va({label:e}){return(0,d.jsxs)(`div`,{className:`h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light`,children:[(0,d.jsx)(Tr,{size:13,className:`text-primary-500`}),(0,d.jsx)(`span`,{className:`font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500`,children:e})]})}function Ha({active:e,onClick:t}){return(0,d.jsx)($n,{children:(0,d.jsx)($,{className:T(`group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50`,e&&`border-tertiary-400 bg-tertiary-50`),icon:e?(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(Sr,{size:16,className:`block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0`}),(0,d.jsx)(Ir,{size:12,className:`hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100`,strokeWidth:2})]}):(0,d.jsx)(Cr,{size:16,className:`text-neutral-500 group-hover:text-tertiary-500-variant-2`}),onClick:t,"aria-pressed":e})})}function Ua({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,workspace:o,selected:s=!1,onSelect:c,actions:l,className:u}){let{fire:f,insight:p,link:m}=l,h=p?.label??null;return(0,d.jsxs)(Qn,{onPress:c,className:T(za({tone:f.active?`priority`:`default`,state:s?`selected`:`normal`}),ua.style,u),"data-service":t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 flex items-center justify-between`,children:[e,(0,d.jsx)(`span`,{className:`min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900`,children:n}),(0,d.jsx)(Ki,{content:o,children:(0,d.jsx)(Vi,{name:o,size:`xs`})}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800`,children:a}),Ba(h)&&(0,d.jsx)(Va,{label:h}),(0,d.jsx)(Ha,{active:f.active,onClick:f.onClick})]}),(0,d.jsx)(`div`,{className:`text-sm font-medium line-clamp-1 text-neutral-900`,children:r}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700`,children:i}),(0,d.jsx)(Ki,{content:m.tooltip,children:(0,d.jsx)($n,{children:(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(Vr,{size:16,className:`text-neutral-800`}),className:`text-primary-500`,onClick:m.onClick})})})]})]})}function Wa({icon:e,subject:t,from:n,prefixTimestamp:r,timestamp:i,isPriority:a,isOpen:o,isFirstEvent:s,isSingleEvent:c,className:l,onFireClick:f}){return(0,d.jsx)(`div`,{className:T(`h-14 min-w-0 px-4 py-2 flex w-full items-center overflow-hidden bg-white`,l),children:(0,d.jsxs)(`div`,{className:`min-w-0 gap-3 flex w-full items-center overflow-hidden`,children:[s&&(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{direction:`left`,size:24,className:`text-neutral-700`}),"aria-label":`Go back`,className:`rounded p-1 md:hidden hover:bg-neutral-100`}),(0,u.cloneElement)(e,{size:36}),(0,d.jsxs)(`div`,{className:`w-0 min-w-0 flex-1 overflow-hidden`,children:[(0,d.jsx)(`h3`,{className:`text-sm font-bold block truncate leading-[1.3] text-neutral-900`,children:n}),(0,d.jsx)(`div`,{className:`text-sm font-normal block truncate leading-[1.3] text-neutral-900`,children:t})]}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-1 text-xs flex max-w-[180px] shrink items-center text-right leading-[1.2] tracking-[0.12px]`,children:[r!=null&&(0,d.jsx)(`span`,{className:`min-w-0 font-normal truncate text-neutral-600`,children:r}),(0,d.jsx)(`span`,{className:`font-medium shrink-0 whitespace-nowrap text-neutral-600`,children:i})]}),(0,d.jsx)(Ha,{active:a,onClick:f}),!c&&(0,d.jsx)(`div`,{className:`gap-2 flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{size:24,className:`text-neutral-700`,direction:o?`up`:`down`}),"aria-label":`Toggle event`,className:`rounded p-1 hover:bg-neutral-100`})}),s&&(0,d.jsx)(`div`,{className:`gap-2 md:hidden flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(qr,{size:24,className:`text-neutral-700`}),"aria-label":`Close`,className:`rounded p-1 hover:bg-neutral-100`})})]})})}function Ga({className:e}){return(0,d.jsxs)(`div`,{className:T(`w-full`,e),children:[(0,d.jsx)(Ka,{}),(0,d.jsx)(qa,{})]})}function Ka({className:e}){return(0,d.jsx)(`div`,{className:T(`h-14 px-4 py-2 flex w-full items-center bg-white`,e),children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center`,children:[(0,d.jsx)(X,{className:`h-9 w-9 rounded-full`}),(0,d.jsxs)(`div`,{className:`min-w-0 space-y-2 flex-1`,children:[(0,d.jsx)(X,{className:`h-3 w-3/12`}),(0,d.jsx)(X,{className:`h-3 w-9/12`})]}),(0,d.jsx)(X,{className:`h-3 w-14`})]})})}function qa(){return(0,d.jsx)(`div`,{className:`flex flex-col`,children:(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(X,{className:`h-6 w-6 rounded`}),(0,d.jsxs)(`div`,{className:`space-y-2 flex-1`,children:[(0,d.jsx)(X,{className:`h-3 w-6/12`}),(0,d.jsx)(X,{className:`h-3 w-10/12`}),(0,d.jsx)(X,{className:`h-3 w-3/12`}),(0,d.jsx)(X,{className:`h-3 w-7/12`})]})]}),(0,d.jsxs)(`div`,{className:`space-y-3`,children:[(0,d.jsx)(X,{className:`h-3 w-2/12`}),(0,d.jsx)(X,{className:`h-3 w-11/12`}),(0,d.jsx)(X,{className:`h-3 w-10/12`}),(0,d.jsx)(X,{className:`h-3 w-9/12`}),(0,d.jsx)(X,{className:`h-3 w-4/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(X,{className:`h-3 w-3/12`}),(0,d.jsx)(X,{className:`h-3 w-11/12`}),(0,d.jsx)(X,{className:`h-3 w-6/12`}),(0,d.jsx)(X,{className:`h-3 w-7/12`}),(0,d.jsx)(X,{className:`h-3 w-8/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(X,{className:`h-3 w-5/12`}),(0,d.jsx)(X,{className:`h-3 w-4/12`})]})]})})}var Ja={email:e=>(0,d.jsx)(Ta,{detail:e.detail}),message:e=>(0,d.jsx)(Ia,{detail:e.detail}),ticket:e=>(0,d.jsx)(Ra,{detail:e.detail}),calendar:e=>(0,d.jsx)(Ca,{detail:e.detail})};function Ya(e){return Ja[e.type](e)}function Xa(e,t){return e.id??`${e.type}-${e.timestamp}-${t}`}function Za({events:e,expandedEventIndex:t,onFireClick:n}){if(e.length===0)return null;if(e.length===1){let t=e[0];return(0,d.jsxs)(`div`,{className:`min-h-0 w-full overflow-y-auto`,children:[(0,d.jsx)(Wa,{icon:t.icon,subject:t.subject,from:t.from,prefixTimestamp:t.prefixTimestamp,timestamp:t.timestamp,isPriority:t.isPriority,isOpen:!0,isFirstEvent:!0,isSingleEvent:!0,className:`top-0 sticky z-10 border-b border-neutral-400`,onFireClick:n}),Ya(t)]})}return(0,d.jsx)(ar,{className:`w-full`,defaultValue:t===void 0?Xa(e[0],0):Xa(e[t],t),children:({openItems:t})=>(0,d.jsx)(d.Fragment,{children:e.map((r,i)=>{let a=Xa(r,i),o=t.has(a);return(0,d.jsxs)(or,{value:a,children:[(0,d.jsx)(sr,{value:a,className:`top-0 sticky z-10`,children:(0,d.jsx)(Wa,{icon:r.icon,subject:r.subject,from:r.from,prefixTimestamp:r.prefixTimestamp,timestamp:r.timestamp,isPriority:r.isPriority,isFirstEvent:i===0,isSingleEvent:!1,isOpen:o,className:`border-b border-neutral-400`,onFireClick:n})}),(0,d.jsx)(cr,{value:a,className:T(i<e.length-1&&o&&`border-b border-neutral-400`),children:Ya(r)})]},a)})})})}const Qa=({icon:e,title:t,description:n})=>(0,d.jsxs)(`div`,{className:`gap-3 p-4 flex w-full flex-1 flex-col items-center justify-center`,children:[(0,u.cloneElement)(e,{size:e.props.size??35,className:`text-neutral-500`}),(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col items-center justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium leading-[1.3] text-neutral-900`,children:t}),(0,d.jsx)(`p`,{className:`text-xs font-normal w-full text-center leading-[1.3] text-neutral-600`,children:n})]})]});function $a({className:e,style:t}){return(0,d.jsxs)(`div`,{className:T(`gap-1 rounded-lg p-4 flex w-full flex-col justify-between bg-white-variant-5`,ua.style,e),style:t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 grid grid-cols-[auto_minmax(0,1fr)_auto_auto_auto_auto] items-center`,children:[(0,d.jsx)(X,{className:`h-4 w-4`}),(0,d.jsx)(X,{className:`h-4 max-w-40 w-full`}),(0,d.jsx)(X,{className:`size-4 rounded-full`}),(0,d.jsx)(X,{className:`h-3 w-12`}),(0,d.jsx)(X,{className:`h-5 w-16 rounded-full`}),(0,d.jsx)(X,{className:`size-5 rounded-full`})]}),(0,d.jsx)(X,{className:`h-4 w-7/12`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`h-4 min-w-0 flex-1`}),(0,d.jsx)(X,{className:`size-5 shrink-0`})]})]})}function eo({itemCount:e=3,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:Array.from({length:e}).map((e,t)=>(0,d.jsx)(to,{},t))})}function to(){return(0,d.jsxs)(`div`,{className:`gap-1 px-2 py-1 flex items-center rounded-full border border-neutral-300 bg-white`,children:[(0,d.jsx)(X,{className:`m-0.5 size-4 rounded-full`}),(0,d.jsx)(X,{className:`h-3 w-15`})]})}function no({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:e.map((e,t)=>(0,u.cloneElement)(e,{key:t}))})}function ro({classNames:e,...t}){return(0,d.jsx)(ui,{...t,classNames:{root:T(`right-3 rounded-2xl shadow-2xl top-[68px] z-99999 max-h-[calc(100vh-84px)] w-[300px] border border-neutral-200 bg-white`,e?.root),header:T(`p-4 bg-primary-500`,e?.header),title:T(`text-sm font-semibold text-white`,e?.title),closeButton:T(`text-white/70 hover:text-white`,e?.closeButton),body:e?.body,accordion:e?.accordion,item:e?.item,itemTrigger:T(`p-3 font-semibold hover:bg-neutral-100`,e?.itemTrigger),itemContent:T(`p-4`,e?.itemContent),footer:T(`px-4 py-3 border-t border-neutral-200`,e?.footer)}})}var io=(0,p.tv)({base:`bg-neutral-400-variant-4`,variants:{orientation:{horizontal:`h-px w-full`,vertical:`h-full w-px`},inset:{none:``,sm:``,md:``,lg:``}},compoundVariants:[{orientation:`horizontal`,inset:`sm`,class:`mx-2`},{orientation:`horizontal`,inset:`md`,class:`mx-4`},{orientation:`horizontal`,inset:`lg`,class:`mx-6`},{orientation:`vertical`,inset:`sm`,class:`my-2`},{orientation:`vertical`,inset:`md`,class:`my-4`},{orientation:`vertical`,inset:`lg`,class:`my-6`}],defaultVariants:{orientation:`horizontal`,inset:`none`}});function ao({className:e,...t}){return(0,d.jsx)(`div`,{className:T(io(t),e)})}function oo({orientation:e=`vertical`,itemCount:t=3,className:n}){let r=e===`vertical`,i=T(`size-full`,r?`overflow-x-hidden`:`overflow-y-hidden`),a=T(`gap-4 grid h-full w-full place-items-center`,r?`grid-cols-1`:`auto-cols-max grid-flow-col`,n),o=T(`flex w-fit items-center`,r?`gap-1 flex-col`:`gap-2 flex-row`),s=T(`h-3`,r?`w-12 text-[9px]`:`w-16 text-xs`),c=T(`h-3`,r?`w-8 text-[9px]`:`w-10 text-xs`);return(0,d.jsx)(`div`,{className:i,children:(0,d.jsxs)(`div`,{className:a,children:[Array.from({length:t}).map((e,t)=>(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(X,{className:`size-8 rounded-full`}),(0,d.jsx)(X,{className:s})]},t)),(0,d.jsx)(ao,{orientation:r?`horizontal`:`vertical`}),(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(X,{className:`size-8 rounded-full`}),(0,d.jsx)(X,{className:c})]})]})})}function so({orientation:e=`vertical`,children:t,onAddMore:n,className:r}){return(0,d.jsxs)(`div`,{className:T(`min-h-0 min-w-0 flex size-full`,e===`vertical`?`flex-col items-center`:`flex-row items-center`,r),children:[(0,d.jsx)(`div`,{className:T(`min-h-0 min-w-0 grid place-items-center`,e===`vertical`?`w-full flex-1 grid-cols-1 overflow-x-hidden overflow-y-auto`:`h-full flex-1 auto-cols-max grid-flow-col overflow-x-auto overflow-y-hidden`),children:t.map(t=>(0,u.cloneElement)(t,{classNames:{root:e===`vertical`?`py-2`:`px-2`}}))}),(0,d.jsx)(ao,{orientation:e===`vertical`?`horizontal`:`vertical`}),(0,d.jsx)(ra,{icon:(0,d.jsx)(jr,{size:24}),label:`Add`,onClick:n,variant:`minimal`,orientation:e,classNames:{root:e===`vertical`?`py-2`:`px-2`}})]})}function co(){return(0,d.jsx)(`div`,{className:`flex w-full items-center justify-center`,children:(0,d.jsx)(`div`,{className:`gap-2 rounded-lg px-3 py-3 flex w-full flex-col bg-neutral-100-variant-3`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsx)(X,{className:`h-4 w-1/3`}),(0,d.jsx)(X,{className:`h-4 w-1/8`})]})})})}function lo({icon:e,name:t,maxConnectionsPerService:n,connectLabel:r,onConnect:i,isLoading:a,children:o}){let s=u.Children.toArray(o).length;return(0,d.jsxs)(`div`,{className:`gap-4 rounded-lg p-4 flex flex-col border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 items-center`,children:[(0,d.jsx)(`div`,{className:`h-11 w-11 flex shrink-0 items-center justify-center`,children:(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,u.cloneElement)(e,{size:36,className:T({grayscale:!s&&a})})})}),(0,d.jsxs)(`div`,{className:`min-w-0 flex flex-1 flex-col`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold truncate text-neutral-800`,children:t}),(0,d.jsx)(`div`,{className:`text-xs font-normal text-neutral-800`,children:`${s} of ${n} accounts`})]})]}),s<n&&!a&&(0,d.jsx)(J,{className:`gap-1 rounded-lg px-2 py-1 text-xs font-bold flex shrink-0 items-center border border-brand-primary bg-white text-brand-primary transition-opacity hover:opacity-70`,onClick:i,children:r})]}),a&&(0,d.jsx)(co,{}),s>0&&o&&(0,d.jsx)(`div`,{className:`gap-2 flex flex-col`,children:o})]})}function uo({account:e,valid:t,disconnectLabel:n,onDisconnect:r,invalidLabel:i,invalidDescription:a}){return(0,d.jsxs)(`div`,{className:T(`gap-2 rounded-lg px-3 py-3 flex flex-col border`,t===!1?`border-error-base bg-error-base/5`:`border-brand-primary bg-neutral-100-variant-3`),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold flex-1 truncate text-neutral-800`,children:e}),(0,d.jsx)(J,{className:`text-xs font-medium shrink-0 text-error-base underline transition-opacity hover:opacity-70`,onClick:r,children:n})]}),t===!1&&(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`text-xs font-semibold text-error-base`,children:i}),(0,d.jsx)(`div`,{className:`text-xs text-neutral-500`,children:a})]})]})}function fo(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-r-10 border-y-transparent border-r-primary-500`,"aria-hidden":!0})}function po(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-l-10 border-y-transparent border-l-primary-500`,"aria-hidden":!0})}function mo(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-b-10 border-x-transparent border-b-primary-500`,"aria-hidden":!0})}function ho(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-t-10 border-x-transparent border-t-primary-500`,"aria-hidden":!0})}function go({layout:e,placement:t}){return e===`horizontal`?t===`before`?(0,d.jsx)(fo,{}):(0,d.jsx)(po,{}):t===`before`?(0,d.jsx)(mo,{}):(0,d.jsx)(ho,{})}function _o(e,t,n){return t==null&&n==null?e:(0,d.jsx)(`div`,{className:t,style:n,"aria-hidden":!0,children:e})}function vo({stepLabel:e,title:t,description:n,titleAccessory:r,primaryAction:i,secondaryAction:a,layout:o,arrowPlacement:s=`before`,arrowWrapperClassName:c,arrowWrapperStyle:l,className:u,cardClassName:f}){let p=i!=null||a!=null,m=(0,d.jsxs)(`div`,{className:T(`rounded-xl p-4 shadow-xl bg-primary-500 text-white`,f),children:[e!=null&&(0,d.jsx)(`p`,{className:`mb-1 font-semibold tracking-widest text-[10px] text-white uppercase opacity-70`,children:e}),r==null?(0,d.jsx)(`div`,{className:`mb-1 text-sm leading-snug font-semibold`,children:t}):(0,d.jsxs)(`div`,{className:`mb-1 gap-1.5 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm leading-snug font-semibold`,children:t}),r]}),(0,d.jsx)(`div`,{className:`mb-4 text-xs leading-relaxed font-normal opacity-90`,children:n}),p&&(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[i,a]})]}),h=_o((0,d.jsx)(go,{layout:o,placement:s}),c,l),g=s===`before`?(0,d.jsxs)(d.Fragment,{children:[h,m]}):(0,d.jsxs)(d.Fragment,{children:[m,h]});return o===`horizontal`?(0,d.jsx)(`div`,{className:T(`flex items-center`,u),children:g}):(0,d.jsx)(`div`,{className:T(`flex flex-col items-center`,u),children:g})}var yo=()=>()=>{},bo=()=>!0,xo=()=>!1,So=`rounded-lg bg-white px-4 py-1.5 text-xs font-semibold text-primary-500 transition-opacity hover:opacity-90`,Co=`text-xs font-semibold text-white/70 transition-colors hover:text-white`;function wo(e,t){let n=t.getBoundingClientRect();return e.layout===`horizontal`?{mode:`horizontal`,top:(e.horizontalAlign??`target-center`)===`viewport-center`?window.innerHeight/2:n.top+n.height/2,left:n.right+12}:{mode:`vertical`,top:n.bottom+10,left:n.left,arrowMarginLeft:n.width/2-8}}function To(e){if(e==null)return null;let t=document.getElementById(e.targetId);return t?wo(e,t):null}function Eo({currentStep:e,actions:t,steps:n,onFinish:r}){let i=(0,u.useSyncExternalStore)(yo,bo,xo),[a,o]=(0,u.useState)(null),s=(0,u.useRef)(!1),c=e!=null;if((0,u.useLayoutEffect)(()=>{if(!i||!c){let e=requestAnimationFrame(()=>o(null));return()=>cancelAnimationFrame(e)}let t=0,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{o(To(e))})};return n(),window.addEventListener(`scroll`,n,!0),window.addEventListener(`resize`,n),()=>{cancelAnimationFrame(t),window.removeEventListener(`scroll`,n,!0),window.removeEventListener(`resize`,n)}},[i,c,e,n]),(0,u.useEffect)(()=>{s.current&&!c&&r?.(),s.current=c},[c,r]),!i||typeof document>`u`||!c||a==null)return null;let l=e.layout===`vertical`&&a.mode===`vertical`?{marginLeft:a.arrowMarginLeft,...e.arrowWrapperStyle}:e.arrowWrapperStyle,p=(0,d.jsx)(vo,{stepLabel:e.stepLabel,title:e.title,description:e.description,titleAccessory:e.titleAccessory,layout:e.layout,arrowPlacement:e.arrowPlacement??`before`,className:T(`tour-fade-in-up`,e.layout===`vertical`&&`items-start`,e.className),cardClassName:e.cardClassName,arrowWrapperClassName:e.arrowWrapperClassName,arrowWrapperStyle:l,primaryAction:(0,d.jsx)(J,{type:`button`,className:So,onClick:()=>t.dismissCurrentStep(),children:`Got it`}),secondaryAction:(0,d.jsx)(J,{type:`button`,className:Co,onClick:()=>t.skipAll(),children:`Skip`})},e.id);return(0,f.createPortal)((0,d.jsx)(`div`,{...a.mode===`horizontal`?{className:`pointer-events-auto fixed z-[999999] flex items-center`,style:{top:a.top,left:a.left,transform:`translateY(-50%)`}}:{className:`pointer-events-auto fixed z-[999999] flex flex-col items-start`,style:{top:a.top,left:a.left}},children:p}),document.body)}function Do({steps:e,context:t,onFinish:n}){return(0,d.jsx)(fi,{steps:e,context:t,children:t=>(0,d.jsx)(Eo,{...t,steps:e,onFinish:n})})}function Oo({value:e,defaultValue:t,placeholder:n=`Search...`,onChange:r,onKeyDown:i,onClear:a,disabled:o=!1,className:s}){let[c,l]=(0,u.useState)(t??``),f=typeof e==`string`,p=f?e:c,m=p.length>0;function h(e){f||l(e),r?.(e)}function g(){f||l(``),r?.(``),a?.()}return(0,d.jsxs)(`fieldset`,{role:`search`,className:T(`h-8 min-w-0 gap-1.5 px-2 py-1 flex items-center rounded-full border border-neutral-500-variant-3 bg-white`,o&&`pointer-events-none bg-neutral-200 opacity-70`,s),disabled:o,children:[(0,d.jsx)(Yr,{size:20,className:`text-neutral-700`}),(0,d.jsx)(Zn,{type:`text`,value:p,placeholder:n,onChange:h,onKeyDown:i,className:T(`m-0 h-5 min-w-0 p-0 text-xs flex-1 border-0 text-neutral-800`,`bg-transparent outline-none`,`placeholder:text-neutral-700-alpha-60`,o&&`text-neutral-700-alpha-60`)}),m&&!o&&(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(Ir,{size:16,className:`text-neutral-700`}),onClick:g,"aria-label":`Clear search`,className:`rounded p-0 transition-opacity hover:opacity-70`})]})}var ko=4e3,Ao=`bottom-right`;function jo({onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}){return e||t||n||r?{onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}:void 0}function Mo({content:e,duration:t=ko,position:n=Ao,persistent:r,onOpen:i,onClose:a,onAutoClose:o,onDismiss:s,key:c,refresh:l=!1,dismissPrevious:u=!1}){if(c){let n=Q.getActiveToastIdByKey(c);if(n)return l&&Q.update(n,{content:e,duration:t}),{id:n,dismiss:()=>Q.remove(n),deduplicated:!0}}u&&Q.removeAllAtPosition(n);let d=crypto.randomUUID();return Q.add({id:d,content:e,duration:t,position:n,persistent:r,callbacks:jo({onOpen:i,onClose:a,onAutoClose:o,onDismiss:s}),key:c,singleSlot:u}),{id:d,dismiss:()=>Q.remove(d),deduplicated:!1}}function No(e){return typeof e==`object`&&!!e&&`content`in e}function Po(e,t){return No(e)?Mo(e):Mo({content:e,...t})}function Fo({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a,options:o={}}){return Po(o=>(0,d.jsx)(Io,{title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:()=>i(o),onAccept:()=>a(o)}),{...o})}function Io({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a}){return(0,d.jsxs)(`div`,{className:`max-w-md gap-6 rounded-lg p-6 shadow-xl flex w-full flex-col justify-center bg-white`,children:[(0,d.jsxs)(`div`,{className:`gap-3 flex flex-col justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium text-neutral-900`,children:e}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-600`,children:t})]}),(0,d.jsxs)(`div`,{className:`gap-3 flex items-center justify-end`,children:[(0,d.jsx)(J,{className:`rounded-lg px-4 py-2 text-sm font-medium border border-neutral-300 text-neutral-900 transition-opacity hover:opacity-70`,onClick:()=>i(close),children:n}),(0,d.jsx)(J,{className:`rounded-lg px-4 py-2 text-sm font-medium bg-error-base text-white transition-opacity hover:opacity-90`,onClick:()=>a(close),children:r})]})]})}function Lo({title:e,subtitle:t,description:n,onUndo:r,onClose:i,options:a={}}){return Po(a=>(0,d.jsx)(Ro,{title:e,subtitle:t,description:n,onUndo:()=>r(a),onClose:()=>i(a)}),{...a})}function Ro({title:e,subtitle:t,description:n,onUndo:r,onClose:i}){return(0,d.jsxs)(`div`,{className:`gap-3 rounded-lg p-4 grid max-w-[400px] min-w-[280px] grid-cols-[auto_1fr] bg-success-base`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col justify-center`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`span`,{className:`text-xs font-medium text-white`,children:e}),(0,d.jsx)(J,{className:`text-xs font-semibold text-white underline transition-colors hover:text-neutral-200`,onClick:()=>r(close),children:`Undo`})]}),t&&(0,d.jsx)(`div`,{className:`text-xs font-semibold line-clamp-2 text-white-alpha-90`,children:t}),n&&(0,d.jsx)(`div`,{className:`text-xs line-clamp-2 text-white-alpha-80`,children:n})]}),(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(Ir,{size:20,className:`text-white`,onClick:()=>i(close)})})})]})}const zo=Object.assign(Po,{confirm:e=>Fo(e),undo:e=>Lo(e)});function Bo({size:e=40,className:t,...n}){return(0,d.jsxs)(`svg`,{width:144/40*e,height:e,viewBox:`0 0 144 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:t,...n,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_4580)`,children:[(0,d.jsx)(`path`,{d:`M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z`,fill:`#6663FF`})]}),(0,d.jsx)(`defs`,{children:(0,d.jsx)(`clipPath`,{id:`clip0_5796_4580`,children:(0,d.jsx)(`rect`,{width:`140`,height:`40`,fill:`white`})})})]})}exports.AVATAR_COLOR=Li,exports.AVATAR_COLOR_KEYS=Ri,exports.Accordion=ar,exports.AccordionContent=cr,exports.AccordionItem=or,exports.AccordionTrigger=sr,exports.AccountIcon=kr,exports.AccountInfo=Ii,exports.ActionMenu=aa,exports.ActionMenuItem=ia,exports.AddCircleIcon=Ar,exports.AddIcon=jr,exports.ArrowIcon=Nr,exports.AsanaIcon=ur,exports.Avatar=Vi,exports.Badge=$r,exports.BulkActions=qi,exports.BulkActionsSkeleton=Gi,exports.Button=J,exports.CalendarIcon=Pr,exports.Card=ei,exports.CardContent=ai,exports.CardFooter=oi,exports.CardHeader=ri,exports.CardLayout=ti,exports.CardSidebar=ni,exports.CardTitle=ii,exports.CheckCircleEmptyIcon=br,exports.CheckCircleIcon=xr,exports.CheckSquareIcon=Fr,exports.Checkbox=qn,exports.CheckboxIcon=yr,exports.ClickUpIcon=dr,exports.CloseIcon=Ir,exports.CompactDensityIcon=Lr,exports.CopyIcon=Rr,exports.DarkIcon=zr,exports.DatePicker=ca,exports.Divider=ao,exports.Dropdown=Xn,exports.DropdownContext=Jn,exports.DropdownMenu=li,exports.DropdownMenuItem=ci,exports.EVENT_CARD_HEIGHT_SIZE=la,exports.EVENT_SUMMARY_CARD_HEIGHT_SIZE=ua,exports.EmptyBoxIcon=Br,exports.EventCard=_a,exports.EventCardSkeleton=da,exports.EventDetail=Za,exports.EventDetailContentCalendar=Ca,exports.EventDetailContentEmail=Ta,exports.EventDetailContentHeader=Sa,exports.EventDetailContentMessage=Ia,exports.EventDetailContentTicket=Ra,exports.EventDetailHeader=Wa,exports.EventDetailPriority=ba,exports.EventDetailSkeleton=Ga,exports.EventDetailSummary=xa,exports.EventEmptyState=Qa,exports.EventSummaryCard=Ua,exports.EventSummaryCardSkeleton=$a,exports.EventSummaryFireButton=Ha,exports.ExternalLinkIcon=Vr,exports.FilterBar=no,exports.FilterBarSkeleton=eo,exports.FilterButton=Zi,exports.FireFillIcon=Sr,exports.FireIcon=Cr,exports.GmailIcon=fr,exports.GoogleCalendarIcon=pr,exports.HelpPanel=ro,exports.HelpPanelEngine=ui,exports.HomeIcon=Hr,exports.Icon=Y,exports.IconButton=$,exports.IconCountButton=ra,exports.IconCountButtonSkeleton=Qi,exports.InboxIcon=Ur,exports.InfoTooltip=Ki,exports.Input=Zn,exports.InsightFillIcon=wr,exports.InsightIcon=Tr,exports.IntegrationBar=so,exports.IntegrationBarSkeleton=oo,exports.IntegrationItem=uo,exports.IntegrationItemSkeleton=co,exports.IntegrationsCard=lo,exports.JiraIcon=mr,exports.LightIcon=Wr,exports.LogoIcon=lr,exports.MailIcon=Gr,exports.MinusIcon=Kr,exports.MoreIcon=qr,exports.NormalDensityIcon=Jr,exports.NotFireIcon=Er,exports.Onboarding=Do,exports.OnboardingCard=vo,exports.OnboardingEngine=fi,exports.OutlookCalendarIcon=hr,exports.OutlookIcon=gr,exports.Pressable=Qn,exports.QtaloImage=Bo,exports.ReadIcon=Dr,exports.RichContent=pi,exports.SearchIcon=Yr,exports.SearchInput=Oo,exports.SignOutIcon=Xr,exports.Skeleton=X,exports.SlackIcon=_r,exports.StatusBadge=Wi,exports.StopPropagation=$n,exports.SummaryIcon=Zr,exports.SystemIcon=Qr,exports.TeamsIcon=vr,exports.Toaster=Fi,exports.Tooltip=nr,exports.UnreadIcon=Or,exports.capitalize=oe,exports.cn=T,exports.colors=m,exports.formatDate=b,exports.formatDateRange=ne,exports.formatTimestamp=Gn,exports.generateCalendarDays=ae,exports.getDaysInMonth=_,exports.getFirstDayOfMonth=v,exports.getInitials=ce,exports.getMonthName=re,exports.getWeekdays=ie,exports.isDateBefore=te,exports.isDateInRange=C,exports.isSameDay=S,exports.isToday=ee,exports.normalizeContent=Ln,exports.parseDate=x,exports.pickColorFromPalette=le,exports.stringHash=se,exports.toMondayBased=y,exports.toast=zo,exports.toastStore=Q,exports.useAccordion=ir,exports.useDropdown=Yn,exports.useLongPress=ue;
|
|
64
|
+
`).trim()}function Ln(e){if(!e)return``;let t=In(e),n=Nn(t),r;switch(n){case`html`:r=Pn(t);break;case`markdown`:r=q.parse(t,{breaks:!0,gfm:!0}),r=Pn(r);break;case`text`:default:r=Fn(Pn(t));break}return at.sanitize(r,{ALLOWED_TAGS:[`p`,`br`,`strong`,`em`,`u`,`s`,`a`,`ul`,`ol`,`li`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`blockquote`,`code`,`pre`,`img`,`div`,`span`],ALLOWED_ATTR:[`href`,`src`,`alt`,`title`,`target`,`rel`],ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i})}var Rn={hour:`2-digit`,minute:`2-digit`,hour12:!1};function zn(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function Bn(e){return e.toLocaleTimeString([],Rn)}function Vn(e){let t=new Date(e);return t.setDate(e.getDate()-1),t}function Hn(e,t){return t?e.getFullYear().toString():`'${e.getFullYear().toString().slice(-2)}`}function Un(e,t){return t?`${e}${Kn(e)}`:`${e}`}function Wn(e,t,n){let{longMonth:r,longYear:i,withOrdinal:a,showWeekday:o,includeTime:s}=n,c=e.getDate(),l=r?`long`:`short`,u=`${e.toLocaleDateString([],{month:l})} ${Un(c,a)}`;return e.getFullYear()!==t.getFullYear()&&(u+=`, ${Hn(e,i)}`),o&&(u=`${e.toLocaleDateString([],{weekday:`long`})}, ${u}`),s&&(u+=`, ${Bn(e)}`),u}function Gn(e,t={}){let{todayAsText:n=!1,showWeekday:r=!1,longMonth:i=!1,longYear:a=!0,withOrdinal:o=!1,includeTime:s=!0}=t,c=new Date(e),l=new Date;return zn(c,l)?n?`Today`:Bn(c):zn(c,Vn(l))?s?`Yesterday, ${Bn(c)}`:`Yesterday`:Wn(c,l,{todayAsText:n,showWeekday:r,longMonth:i,longYear:a,withOrdinal:o,includeTime:s})}function Kn(e){if(e%100>=11&&e%100<=13)return`th`;switch(e%10){case 1:return`st`;case 2:return`nd`;case 3:return`rd`;default:return`th`}}function J({className:e,children:t,...n}){return(0,d.jsx)(`button`,{...n,className:T(`btn-base`,e),children:t})}function qn({checked:e,defaultChecked:t,icon:n,indeterminate:r,indeterminateIcon:i,onChange:a,disabled:o,children:s,className:c}){let l=(0,u.useRef)(null),[f,p]=(0,u.useState)(t??!1),m=e??f;(0,u.useEffect)(()=>{l.current&&(l.current.indeterminate=!!r)},[r]);function h(t){let n=t.target.checked;e===void 0&&p(n),a?.(n)}return(0,d.jsxs)(`label`,{className:T(`gap-2 relative inline-flex w-fit cursor-pointer items-center select-none`,o&&`pointer-events-none opacity-50`,c),children:[(0,d.jsx)(`input`,{ref:l,type:`checkbox`,className:T(`p-0 absolute h-px w-px overflow-hidden whitespace-nowrap`,`[clip-path:inset(50%)]`,`border-0`),disabled:o,onChange:h,...e===void 0?{defaultChecked:t}:{checked:e}}),(0,d.jsx)(`span`,{role:`checkbox`,"aria-checked":r?`mixed`:m,tabIndex:-1,"data-state":r?`indeterminate`:m?`checked`:`unchecked`,className:`checkbox-box inline-flex items-center justify-center`,children:(0,d.jsx)(`span`,{className:T(`checkbox-icon`,!(m||r)&&`opacity-0`),children:r?i??`—`:n??`✓`})}),s&&(0,d.jsx)(`span`,{className:`checkbox-label`,children:s})]})}const Jn=(0,u.createContext)(null);function Yn(){let e=(0,u.useContext)(Jn);if(!e)throw Error(`useDropdown must be used inside Dropdown`);return e}function Xn({trigger:e,children:t,align:n=`start`,side:r=`bottom`,offsetX:i=0,offsetY:a=0,disabled:o=!1,openOnHover:s=!0,open:c,onOpenChange:l}){let p=c!==void 0,[m,h]=(0,u.useState)(!1),g=p?c:m,_=(0,u.useCallback)(e=>{e!==g&&(p||h(e),l?.(e))},[g,p,l]),v=(0,u.useRef)(null),y=(0,u.useRef)(null),b=(0,u.useRef)(null),[x,S]=(0,u.useState)(null),ee=(0,u.useCallback)(()=>{if(!v.current||!y.current)return;let e=v.current.getBoundingClientRect(),t=y.current.getBoundingClientRect(),o=e.left;n===`end`?o=e.right-t.width:n===`center`&&(o=e.left+(e.width-t.width)/2),o+=i;let s;s=r===`bottom`?e.bottom+a:e.top-t.height+a,queueMicrotask(()=>S({top:s,left:o}))},[n,r,i,a]);(0,u.useLayoutEffect)(()=>{g&&ee()},[g,ee]),(0,u.useEffect)(()=>{if(!g)return;let e=()=>ee();return window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[g,ee]);let te=(0,u.useCallback)(()=>{b.current&&=(clearTimeout(b.current),null),_(!0)},[_]),C=(0,u.useCallback)(()=>{b.current=window.setTimeout(()=>{_(!1)},120)},[_]);return(0,u.useEffect)(()=>{function e(e){let t=e.target;v.current?.contains(t)||y.current?.contains(t)||_(!1)}return document.addEventListener(`mousedown`,e),()=>document.removeEventListener(`mousedown`,e)},[_]),(0,u.useEffect)(()=>()=>{b.current&&clearTimeout(b.current)},[]),(0,d.jsxs)(Jn.Provider,{value:{close:()=>_(!1),open:te},children:[(0,d.jsx)(`div`,{ref:v,className:`inline-flex`,onMouseEnter:s?te:void 0,onMouseLeave:s?C:void 0,onClick:()=>_(!g),"aria-haspopup":`menu`,"aria-expanded":g,children:e}),g&&!o&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:y,onMouseEnter:s?te:void 0,onMouseLeave:s?C:void 0,style:{position:`fixed`,top:x?.top??0,left:x?.left??0,visibility:x?`visible`:`hidden`,zIndex:1e3},children:t}),document.body)]})}function Zn({type:e=`text`,value:t,defaultValue:n,disabled:r=!1,error:i=!1,placeholder:a,onChange:o,onKeyDown:s,className:c}){let[l,f]=(0,u.useState)(n??``),p=t!==void 0,m=p?t:l;function h(e){let t=e.target.value;p||f(t),o?.(t)}function g(e){s?.(e)}return(0,d.jsx)(`input`,{type:e,value:m,placeholder:a,disabled:r,"aria-disabled":r||void 0,"aria-invalid":i||void 0,onChange:h,onKeyDown:g,className:T(`bg-transparent outline-none`,r&&`pointer-events-none`,c)})}function Qn({as:e,disabled:t=!1,onPress:n,className:r,children:i,...a}){let o=e||`div`,s=(0,u.useCallback)(()=>{t||n?.()},[t,n]),c=(0,u.useCallback)(e=>{t||(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),n?.())},[t,n]);return(0,d.jsx)(o,{role:`button`,tabIndex:t?-1:0,"aria-disabled":t||void 0,onClick:s,onKeyDown:c,className:T(`select-none`,!t&&`cursor-pointer`,t&&`pointer-events-none opacity-50`,r),...a,children:i})}function $n({children:e}){return(0,d.jsx)(`div`,{className:`contents`,onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:e})}function er(e,t,n){return n===`start`?e.left:n===`end`?e.right-t.width:e.left+e.width/2-t.width/2}function tr(e,t,n){return n===`start`?e.top:n===`end`?e.bottom-t.height:e.top+e.height/2-t.height/2}function nr({children:e,content:t,position:n=`top`,delay:r=120,className:i}){let a=(0,u.useRef)(null),o=(0,u.useRef)(null),s=(0,u.useRef)(null),[c,l]=(0,u.useState)(!1),[p,m]=(0,u.useState)(null),h=()=>{s.current&&=(clearTimeout(s.current),null),s.current=window.setTimeout(()=>{l(!0)},r)},g=()=>{s.current&&=(clearTimeout(s.current),null),l(!1)};return(0,u.useLayoutEffect)(()=>{if(!c||!a.current||!o.current)return;let e=a.current.getBoundingClientRect(),t=o.current.getBoundingClientRect(),[r,i]=n.split(`-`),s=i??`center`,l=0,u=0;r===`top`||r===`bottom`?(l=r===`top`?e.top-t.height-4:e.bottom+4,u=er(e,t,s)):(u=r===`left`?e.left-t.width-4:e.right+4,l=tr(e,t,s)),m(e=>e&&e.top===l&&e.left===u?e:{top:l,left:u})},[c,n]),(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{ref:a,className:`inline-flex`,onMouseEnter:h,onMouseLeave:g,onFocus:h,onBlur:g,children:e}),c&&(0,f.createPortal)((0,d.jsx)(`div`,{ref:o,role:`tooltip`,style:{position:`fixed`,top:p?.top??0,left:p?.left??0,visibility:p?`visible`:`hidden`,zIndex:1e3},className:T(i),children:t}),document.body)]})}const rr=(0,u.createContext)(null);function ir(){let e=(0,u.useContext)(rr);if(!e)throw Error(`useAccordion must be used inside Accordion`);return e}function ar({children:e,type:t=`single`,defaultValue:n,className:r}){let[i,a]=(0,u.useState)(()=>n?t===`single`?new Set([n]):new Set(Array.isArray(n)?n:[n]):new Set),o=e=>{a(n=>{if(t===`single`)return n.has(e)?new Set:new Set([e]);let r=new Set(n);return r.has(e)?r.delete(e):r.add(e),r})};return(0,d.jsx)(rr.Provider,{value:{openItems:i,toggleItem:o,type:t},children:(0,d.jsx)(`div`,{className:r,"data-type":t,children:typeof e==`function`?e({openItems:i,toggleItem:o}):e})})}function or({value:e,children:t,className:n,...r}){let{openItems:i}=ir(),a=i.has(e);return(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t})}function sr({value:e,children:t,className:n,asChild:r=!1,onClick:i,...a}){let{toggleItem:o,openItems:s}=ir(),c=s.has(e),l=t=>{o(e),t&&i&&i(t)};return r&&(0,u.isValidElement)(t)?(0,u.cloneElement)(t,{onClick:l,"aria-expanded":c,"data-state":c?`open`:`closed`}):(0,d.jsx)(Qn,{className:n,onPress:()=>l(void 0),"aria-expanded":c,"data-state":c?`open`:`closed`,...a,children:t})}function cr({value:e,children:t,className:n,...r}){let{openItems:i}=ir(),a=i.has(e);return a?(0,d.jsx)(`div`,{className:n,"data-state":a?`open`:`closed`,"data-value":e,...r,children:t}):null}function Y({size:e=16,className:t,viewBox:n=`0 0 24 24`,children:r,...i}){return(0,d.jsx)(`svg`,{width:e,height:e,viewBox:n,fill:`none`,"aria-hidden":!0,focusable:`false`,className:T(`shrink-0`,t),...i,children:r})}function lr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 32 32`,...t,children:(0,d.jsx)(`path`,{d:`M25.82 25.44C28.07 23.02 29.5 19.74 29.5 15.92C29.5 7.7 22.8 2 15.98 2C9.16 2 2.5 7.7 2.5 15.92C2.5 24.15 9.2 29.84 15.98 29.84C18.23 29.84 20.43 29.22 22.41 28.13L23.61 29.38C24 29.77 24.54 30 25.12 30C26.32 30 27.29 29.03 27.29 27.82C27.29 27.27 27.05 26.76 26.7 26.33L25.81 25.44H25.82ZM22.18 21.73L19.66 19.12C19.31 18.69 18.72 18.46 18.15 18.46C16.95 18.46 15.98 19.47 15.98 20.64C15.98 21.22 16.25 21.73 16.64 22.13L18.77 24.35C17.88 24.66 16.95 24.86 15.98 24.86C11.72 24.86 7.96 21.27 7.96 15.93C7.96 10.58 11.72 7 15.98 7C20.24 7 24.03 10.58 24.03 15.93C24.03 18.23 23.34 20.22 22.18 21.74V21.73Z`,fill:`currentColor`,...e})})}function ur(e){return(0,d.jsx)(Y,{viewBox:`0 0 16 16`,...e,children:(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M11.46 8.33C9.99 8.33 8.8 9.5 8.8 10.94C8.8 12.38 9.99 13.55 11.46 13.55C12.92 13.55 14.11 12.38 14.11 10.94C14.11 9.5 12.92 8.33 11.46 8.33ZM4.55 8.33C3.08 8.33 1.89 9.5 1.89 10.94C1.89 12.38 3.08 13.55 4.55 13.55C6.02 13.55 7.21 12.38 7.21 10.94C7.21 9.5 6.02 8.33 4.55 8.33ZM10.66 5.06C10.66 6.5 9.47 7.67 8 7.67C6.53 7.67 5.34 6.5 5.34 5.06C5.34 3.61 6.53 2.44 8 2.44C9.47 2.44 10.66 3.61 10.66 5.06Z`,fill:`#F06A6A`})})}function dr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18.03 11.43L10.65 17.81L7.23 13.84L18.05 4.5L28.78 13.85L25.35 17.81L18.03 11.43Z`,fill:`url(#paint0_linear_5796_19610)`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.76 25.23L10.91 22.05C13.11 24.93 15.46 26.26 18.06 26.26C20.67 26.26 22.93 24.95 25.03 22.08L29.24 25.19C26.21 29.32 22.43 31.5 18.06 31.5C13.69 31.5 9.89 29.33 6.76 25.23Z`,fill:`url(#paint1_linear_5796_19610)`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19610`,x1:`6.83`,y1:`10.64`,x2:`28.36`,y2:`10.64`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#FF02F0`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#FFC800`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19610`,x1:`6.37`,y1:`26.25`,x2:`28.82`,y2:`26.25`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#8930FD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#49CCF9`})]})]})]})}function fr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M3.02 14.09H5.2V8.79L2.09 6.45V13.15C2.09 13.67 2.51 14.09 3.02 14.09Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M12.68 14.09H14.87C15.38 14.09 15.8 13.67 15.8 13.15V6.45L12.68 8.79`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M12.68 4.74V8.79L15.8 6.45V5.21C15.8 4.05 14.48 3.39 13.56 4.08`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M5.2 8.79V4.74L8.94 7.54L12.68 4.74V8.79L8.94 11.59`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M2.09 5.21V6.45L5.2 8.79V4.74L4.33 4.08C3.4 3.39 2.09 4.05 2.09 5.21Z`,fill:`#C5221F`})]})}function pr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M25.1 10.89L18.71 10.18L10.89 10.89L10.18 18L10.89 25.1L18 25.99L25.1 25.1L25.82 17.82L25.1 10.89Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M13.81 21.92C13.28 21.56 12.91 21.04 12.71 20.34L13.94 19.83C14.06 20.26 14.25 20.59 14.53 20.83C14.81 21.06 15.14 21.18 15.54 21.18C15.94 21.18 16.29 21.05 16.58 20.81C16.87 20.56 17.01 20.25 17.01 19.87C17.01 19.48 16.86 19.17 16.55 18.92C16.25 18.68 15.87 18.56 15.41 18.56H14.7V17.34H15.33C15.73 17.34 16.06 17.23 16.33 17.02C16.6 16.8 16.74 16.51 16.74 16.14C16.74 15.81 16.62 15.55 16.37 15.35C16.13 15.15 15.83 15.05 15.46 15.05C15.09 15.05 14.81 15.15 14.59 15.34C14.38 15.54 14.22 15.77 14.13 16.05L12.91 15.55C13.07 15.09 13.36 14.68 13.8 14.33C14.24 13.98 14.79 13.81 15.47 13.81C15.97 13.81 16.41 13.9 16.81 14.1C17.21 14.29 17.52 14.56 17.75 14.9C17.97 15.24 18.09 15.63 18.09 16.05C18.09 16.49 17.98 16.86 17.77 17.16C17.56 17.46 17.3 17.69 17 17.85V17.93C17.4 18.09 17.73 18.35 17.99 18.7C18.25 19.04 18.38 19.46 18.38 19.94C18.38 20.42 18.25 20.86 18.01 21.23C17.76 21.61 17.43 21.91 17 22.13C16.56 22.34 16.08 22.45 15.54 22.45C14.92 22.46 14.34 22.28 13.81 21.92Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M21.37 15.8L20.03 16.78L19.35 15.75L21.78 14H22.71V22.26H21.37V15.8Z`,fill:`#1A73E8`}),(0,d.jsx)(`path`,{d:`M25.1 31.5L31.5 25.1L28.3 23.68L25.1 25.1L23.68 28.3L25.1 31.5Z`,fill:`#EA4335`}),(0,d.jsx)(`path`,{d:`M9.47 28.3L10.89 31.5H25.1V25.11H10.89L9.47 28.3Z`,fill:`#34A853`}),(0,d.jsx)(`path`,{d:`M6.63 4.5C5.45 4.5 4.5 5.45 4.5 6.63V25.1L7.7 26.53L10.89 25.1V10.89H25.11L26.53 7.7L25.11 4.5H6.63Z`,fill:`#4285F4`}),(0,d.jsx)(`path`,{d:`M4.5 25.11V29.37C4.5 30.55 5.45 31.5 6.63 31.5H10.89V25.11H4.5Z`,fill:`#188038`}),(0,d.jsx)(`path`,{d:`M25.1 10.89V25.11H31.5V10.89L28.3 9.47L25.1 10.89Z`,fill:`#FBBC04`}),(0,d.jsx)(`path`,{d:`M31.5 10.89V6.63C31.5 5.45 30.54 4.5 29.37 4.5H25.1V10.89H31.5Z`,fill:`#1967D2`})]})}function mr(e){let t=`jira-gradient-0`,n=`jira-gradient-1`;return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...e,children:[(0,d.jsx)(`path`,{d:`M16.42 3H9.68C9.68 4.68 11.04 6.04 12.72 6.04H13.96V7.24C13.96 8.92 15.32 10.28 17 10.28V3.58C17 3.26 16.74 3 16.42 3Z`,fill:`#2684FF`}),(0,d.jsx)(`path`,{d:`M13.08 6.36H6.34C6.34 8.04 7.7 9.4 9.38 9.4H10.62V10.6C10.62 12.28 11.98 13.64 13.66 13.64V6.94C13.66 6.62 13.4 6.36 13.08 6.36Z`,fill:`url(#${t})`}),(0,d.jsx)(`path`,{d:`M9.74 9.72H3C3 11.4 4.36 12.76 6.04 12.76H7.28V13.96C7.28 15.64 8.64 17 10.32 17V10.3C10.32 9.98 10.06 9.72 9.74 9.72Z`,fill:`url(#${n})`}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:t,x1:`16.73`,y1:`3.02`,x2:`11.22`,y2:`8.67`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]}),(0,d.jsxs)(`linearGradient`,{id:n,x1:`10.37`,y1:`9.75`,x2:`7.06`,y2:`12.97`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{offset:`0.176`,stopColor:`#0052CC`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#2684FF`})]})]})]})}function hr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`path`,{d:`M31.5 11.93V9.35C31.5 6.67 29.33 4.5 26.65 4.5H9.35C6.67 4.5 4.5 6.67 4.5 9.35V11.93H31.5Z`,fill:`url(#paint0_linear_5796_19583)`}),(0,d.jsx)(`path`,{d:`M4.5 11.91V26.65C4.5 29.33 6.67 31.5 9.35 31.5H26.65C29.33 31.5 31.5 29.33 31.5 26.65V11.91H4.5Z`,fill:`url(#paint1_linear_5796_19583)`}),(0,d.jsx)(`g`,{filter:`url(#filter0_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 25.5176C19.0579 25.5176 19.9004 24.6751 19.9004 23.6358C19.9004 22.5964 19.0579 21.7539 18.0186 21.7539C16.9793 21.7539 16.1367 22.5964 16.1367 23.6358C16.1367 24.6751 16.9793 25.5176 18.0186 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter1_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 25.5176C12.638 25.5176 13.4805 24.6751 13.4805 23.6358C13.4805 22.5964 12.638 21.7539 11.5987 21.7539C10.5593 21.7539 9.7168 22.5964 9.7168 23.6358C9.7168 24.6751 10.5593 25.5176 11.5987 25.5176Z`,fill:`#C7F4FF`})}),(0,d.jsx)(`g`,{filter:`url(#filter2_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M18.0186 19.5C19.0579 19.5 19.9004 18.6575 19.9004 17.6182C19.9004 16.5789 19.0579 15.7363 18.0186 15.7363C16.9793 15.7363 16.1367 16.5789 16.1367 17.6182C16.1367 18.6575 16.9793 19.5 18.0186 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter3_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M24.4385 19.5C25.4778 19.5 26.3203 18.6575 26.3203 17.6182C26.3203 16.5789 25.4778 15.7363 24.4385 15.7363C23.3992 15.7363 22.5566 16.5789 22.5566 17.6182C22.5566 18.6575 23.3992 19.5 24.4385 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsx)(`g`,{filter:`url(#filter4_d_5796_19583)`,children:(0,d.jsx)(`path`,{d:`M11.5987 19.5C12.638 19.5 13.4805 18.6575 13.4805 17.6182C13.4805 16.5789 12.638 15.7363 11.5987 15.7363C10.5593 15.7363 9.7168 16.5789 9.7168 17.6182C9.7168 18.6575 10.5593 19.5 11.5987 19.5Z`,fill:`#E3FAFF`})}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`filter`,{id:`filter0_d_5796_19583`,x:`14.4916`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter1_d_5796_19583`,x:`8.07168`,y:`20.9113`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter2_d_5796_19583`,x:`14.4916`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter3_d_5796_19583`,x:`20.9115`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`filter`,{id:`filter4_d_5796_19583`,x:`8.07168`,y:`14.8937`,width:`7.05391`,height:`7.05391`,filterUnits:`userSpaceOnUse`,colorInterpolationFilters:`sRGB`,children:[(0,d.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,d.jsx)(`feColorMatrix`,{in:`SourceAlpha`,type:`matrix`,values:`0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0`,result:`hardAlpha`}),(0,d.jsx)(`feOffset`,{dy:`0.8`}),(0,d.jsx)(`feGaussianBlur`,{stdDeviation:`0.82`}),(0,d.jsx)(`feComposite`,{in2:`hardAlpha`,operator:`out`}),(0,d.jsx)(`feColorMatrix`,{type:`matrix`,values:`0 0 0 0 0.0156863 0 0 0 0 0.431373 0 0 0 0 0.788235 0 0 0 0.7 0`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in2:`BackgroundImageFix`,result:`effect1_dropShadow_5796_19583`}),(0,d.jsx)(`feBlend`,{mode:`normal`,in:`SourceGraphic`,in2:`effect1_dropShadow_5796_19583`,result:`shape`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19583`,x1:`4.5`,y1:`8.21`,x2:`31.38`,y2:`10.12`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#0879D1`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#056EC9`})]}),(0,d.jsxs)(`linearGradient`,{id:`paint1_linear_5796_19583`,x1:`18`,y1:`11.91`,x2:`18`,y2:`31.5`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#44CBFD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#1195EA`})]})]})]})}function gr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsx)(`mask`,{id:`mask0_5796_22925`,style:{maskType:`luminance`},maskUnits:`userSpaceOnUse`,x:`5`,y:`5`,width:`26`,height:`26`,children:(0,d.jsx)(`path`,{d:`M30.38 5.63H5.63V30.38H30.38V5.63Z`,fill:`white`})}),(0,d.jsxs)(`g`,{mask:`url(#mask0_5796_22925)`,children:[(0,d.jsx)(`path`,{d:`M27.74 7.17H14.45C13.85 7.17 13.36 7.66 13.36 8.26V9.49L20.85 11.81L28.83 9.49V8.26C28.83 7.66 28.34 7.17 27.74 7.17Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M30.1 19.09C30.22 18.73 30.31 18.37 30.37 18C30.37 17.82 30.28 17.65 30.12 17.55L30.11 17.55L30.1 17.55L21.72 12.77C21.69 12.75 21.65 12.73 21.61 12.71C21.28 12.55 20.9 12.55 20.58 12.71C20.54 12.73 20.5 12.75 20.47 12.77L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18C11.88 18.37 11.97 18.73 12.08 19.09L20.97 25.59L30.1 19.09Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H18.77L17.21 11.81L18.77 14.13L24.19 18.77H28.83V14.13L24.19 9.49Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{d:`M13.36 9.49H18.77V14.13H13.36V9.49Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M24.19 9.49H28.83V14.13H24.19V9.49Z`,fill:`#50D9FF`}),(0,d.jsx)(`path`,{d:`M24.19 18.77L18.77 14.13H13.36V18.77L18.77 23.41L27.15 24.78L24.19 18.77Z`,fill:`#0364B8`}),(0,d.jsx)(`path`,{d:`M18.77 14.13H24.19V18.77H18.77V14.13Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M13.36 18.77H18.77V23.42H13.36V18.77Z`,fill:`#064A8C`}),(0,d.jsx)(`path`,{d:`M24.19 18.77H28.83V23.42H24.19V18.77Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{opacity:`0.5`,d:`M21.24 25.13L12.12 18.48L12.5 17.81C12.5 17.81 20.81 22.54 20.94 22.61C21.04 22.65 21.16 22.65 21.26 22.6L29.72 17.78L30.1 18.46L21.24 25.13Z`,fill:`#0A2767`}),(0,d.jsx)(`path`,{d:`M30.12 18.45L30.11 18.45L30.11 18.45L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67V18C30.38 18.18 30.28 18.35 30.12 18.45Z`,fill:`#1490DF`}),(0,d.jsx)(`path`,{opacity:`0.05`,d:`M30.38 27.67V27.1L22.66 22.7L21.72 23.23C21.38 23.45 20.96 23.47 20.59 23.3L23.51 27.21L29.9 28.6V28.61C30.2 28.39 30.38 28.04 30.38 27.67Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M30.34 27.97L21.87 23.14L21.72 23.23C21.38 23.45 20.96 23.48 20.59 23.3L23.51 27.22L29.9 28.61V28.61C30.11 28.45 30.27 28.22 30.34 27.97Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M12.08 18.46V18.45H12.08L12.05 18.43C11.9 18.34 11.81 18.18 11.81 18V27.67C11.81 28.31 12.33 28.83 12.97 28.83C12.97 28.83 12.97 28.83 12.97 28.83H29.21C29.31 28.83 29.41 28.81 29.5 28.79C29.55 28.78 29.6 28.77 29.64 28.75C29.66 28.74 29.67 28.74 29.69 28.73C29.75 28.7 29.81 28.67 29.86 28.63C29.88 28.62 29.89 28.62 29.9 28.6L12.08 18.46Z`,fill:`#28A8EA`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.55 24.7V12.07C19.55 11.5 19.08 11.04 18.52 11.04H13.38V16.81L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.65 11.81 17.82 11.81 18V25.73H18.52C19.08 25.73 19.55 25.27 19.55 24.7Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 25.48V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V26.51H17.74C18.31 26.51 18.77 26.04 18.77 25.48Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.77 23.93V12.84C18.77 12.27 18.31 11.81 17.74 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H17.74C18.31 24.96 18.77 24.5 18.77 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18 23.93V12.84C18 12.27 17.54 11.81 16.97 11.81H13.38V16.8L12.08 17.55L12.08 17.55L12.07 17.55C11.91 17.64 11.81 17.81 11.81 18V24.96H16.97C17.54 24.96 18 24.5 18 23.93Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M6.66 11.81H16.97C17.54 11.81 18 12.27 18 12.84V23.16C18 23.72 17.54 24.19 16.97 24.19H6.66C6.09 24.19 5.63 23.72 5.63 23.16V12.84C5.63 12.27 6.09 11.81 6.66 11.81Z`,fill:`#0078D4`}),(0,d.jsx)(`path`,{d:`M8.62 16.04C8.89 15.46 9.33 14.97 9.89 14.64C10.5 14.29 11.2 14.11 11.91 14.13C12.56 14.12 13.21 14.28 13.77 14.61C14.31 14.93 14.73 15.4 15.01 15.95C15.31 16.57 15.45 17.24 15.44 17.92C15.46 18.64 15.3 19.34 15 19.99C14.72 20.56 14.27 21.05 13.72 21.37C13.13 21.71 12.46 21.88 11.79 21.87C11.12 21.88 10.46 21.72 9.88 21.38C9.34 21.06 8.9 20.6 8.62 20.04C8.33 19.43 8.17 18.77 8.19 18.09C8.17 17.38 8.32 16.68 8.62 16.04ZM9.97 19.33C10.12 19.7 10.36 20.02 10.68 20.26C11.01 20.49 11.4 20.6 11.8 20.59C12.23 20.61 12.64 20.49 12.99 20.25C13.31 20.01 13.55 19.69 13.69 19.32C13.84 18.91 13.91 18.47 13.91 18.03C13.91 17.59 13.84 17.15 13.7 16.73C13.57 16.35 13.34 16.02 13.03 15.77C12.69 15.52 12.27 15.39 11.85 15.4C11.44 15.39 11.04 15.51 10.71 15.74C10.38 15.98 10.13 16.3 9.98 16.67C9.64 17.53 9.64 18.48 9.97 19.33Z`,fill:`white`})]})]})}function _r(e){return(0,d.jsxs)(Y,{viewBox:`0 0 18 18`,...e,children:[(0,d.jsx)(`path`,{d:`M5.26 10.79C5.29 11.53 4.7 12.17 3.96 12.19C3.21 12.22 2.58 11.64 2.55 10.89C2.52 10.14 3.11 9.51 3.86 9.48L5.21 9.43L5.26 10.79Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M5.95 10.76C5.92 10.01 6.51 9.38 7.25 9.35C8 9.33 8.63 9.91 8.66 10.66L8.79 14.06C8.81 14.8 8.23 15.44 7.48 15.46C6.73 15.49 6.1 14.9 6.07 14.16L5.95 10.76Z`,fill:`#E01E5A`}),(0,d.jsx)(`path`,{d:`M7.1 5.26C6.35 5.29 5.72 4.7 5.69 3.96C5.67 3.21 6.25 2.58 7 2.55C7.75 2.52 8.38 3.11 8.41 3.86L8.46 5.21L7.1 5.26Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M7.13 5.95C7.87 5.92 8.51 6.51 8.53 7.25C8.56 8 7.97 8.63 7.23 8.66L3.83 8.79C3.08 8.82 2.45 8.23 2.42 7.48C2.4 6.73 2.98 6.1 3.73 6.07L7.13 5.95Z`,fill:`#36C5F0`}),(0,d.jsx)(`path`,{d:`M12.62 7.1C12.6 6.35 13.18 5.72 13.93 5.69C14.68 5.67 15.31 6.25 15.34 7C15.37 7.75 14.78 8.38 14.03 8.41L12.68 8.46L12.62 7.1Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M11.94 7.13C11.97 7.87 11.38 8.51 10.63 8.53C9.89 8.56 9.25 7.97 9.23 7.23L9.1 3.83C9.07 3.08 9.66 2.45 10.41 2.42C11.15 2.4 11.78 2.98 11.81 3.73L11.94 7.13Z`,fill:`#2EB67D`}),(0,d.jsx)(`path`,{d:`M10.79 12.63C11.53 12.6 12.17 13.18 12.19 13.93C12.22 14.68 11.63 15.31 10.89 15.34C10.14 15.37 9.51 14.78 9.48 14.03L9.43 12.68L10.79 12.63Z`,fill:`#ECB22E`}),(0,d.jsx)(`path`,{d:`M10.76 11.94C10.01 11.97 9.38 11.38 9.35 10.63C9.33 9.89 9.91 9.26 10.66 9.23L14.06 9.1C14.8 9.07 15.44 9.66 15.46 10.41C15.49 11.15 14.9 11.79 14.16 11.81L10.76 11.94Z`,fill:`#ECB22E`})]})}function vr(e){return(0,d.jsxs)(Y,{viewBox:`0 0 36 36`,...e,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_19548)`,children:[(0,d.jsx)(`path`,{d:`M23.33 14.85H30.31C30.97 14.85 31.5 15.39 31.5 16.05V22.42C31.5 24.84 29.54 26.81 27.12 26.81H27.09C24.67 26.81 22.71 24.84 22.71 22.42V15.48C22.71 15.13 22.99 14.85 23.33 14.85Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M28.05 13.59C29.61 13.59 30.87 12.33 30.87 10.76C30.87 9.2 29.61 7.93 28.05 7.93C26.49 7.93 25.22 9.2 25.22 10.76C25.22 12.33 26.49 13.59 28.05 13.59Z`,fill:`#5059C9`}),(0,d.jsx)(`path`,{d:`M19.26 13.6C21.51 13.6 23.34 11.76 23.34 9.51C23.34 7.25 21.51 5.42 19.26 5.42C17 5.42 15.17 7.25 15.17 9.51C15.17 11.76 17 13.6 19.26 13.6Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{d:`M24.7 14.85H13.19C12.54 14.87 12.02 15.41 12.04 16.06V23.33C11.94 27.24 15.04 30.49 18.94 30.59C22.85 30.49 25.94 27.24 25.85 23.33V16.06C25.86 15.41 25.35 14.87 24.7 14.85Z`,fill:`#7B83EB`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5704 14.8545V25.0293C19.5673 25.4958 19.2851 25.915 18.8546 26.0927C18.7175 26.1508 18.5702 26.1807 18.4213 26.1808H12.588C12.5064 25.9731 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H19.5704Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V25.6585C18.9424 25.8077 18.9126 25.9553 18.8546 26.0927C18.6773 26.5241 18.259 26.8069 17.7934 26.81H12.8832C12.7764 26.6023 12.676 26.3947 12.588 26.1808C12.5001 25.9668 12.4311 25.7655 12.3683 25.5515C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9425 14.8545V24.4C18.9377 25.034 18.426 25.5467 17.7934 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1845 14.8545H18.9425Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3145 14.8545V24.4C18.3098 25.034 17.7981 25.5467 17.1655 25.5515H12.3683C12.1485 24.8295 12.0363 24.0789 12.0355 23.324V16.0626C12.0204 15.4112 12.5346 14.8706 13.1846 14.8545H18.3145Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.1`,d:`M19.5694 11.6017V13.5838C19.4627 13.5901 19.3622 13.5964 19.2555 13.5964C19.1487 13.5964 19.0483 13.5901 18.9415 13.5838C18.7296 13.5697 18.5194 13.536 18.3136 13.4831C17.0421 13.1814 15.9916 12.2877 15.488 11.0794C15.4014 10.8765 15.3341 10.6658 15.2871 10.4502H18.4204C19.054 10.4526 19.567 10.9667 19.5694 11.6017Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.9418 12.2296V13.5825C18.7298 13.5684 18.5196 13.5347 18.3139 13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.7927C18.4263 11.0805 18.9394 11.5947 18.9418 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{opacity:`0.2`,d:`M18.3139 12.2296V13.4818C17.0423 13.1801 15.9919 12.2864 15.4883 11.0781H17.1648C17.7984 11.0805 18.3115 11.5947 18.3139 12.2296Z`,fill:`black`}),(0,d.jsx)(`path`,{d:`M5.65 11.08H17.16C17.8 11.08 18.31 11.59 18.31 12.23V23.77C18.31 24.4 17.8 24.92 17.16 24.92H5.65C5.02 24.92 4.5 24.4 4.5 23.77V12.23C4.5 11.59 5.02 11.08 5.65 11.08Z`,fill:`url(#paint0_linear_5796_19548)`}),(0,d.jsx)(`path`,{d:`M14.44 15.47H12.14V21.75H10.67V15.47H8.38V14.25H14.44V15.47Z`,fill:`white`})]}),(0,d.jsxs)(`defs`,{children:[(0,d.jsxs)(`linearGradient`,{id:`paint0_linear_5796_19548`,x1:`6.9`,y1:`10.18`,x2:`15.94`,y2:`25.81`,gradientUnits:`userSpaceOnUse`,children:[(0,d.jsx)(`stop`,{stopColor:`#5A62C3`}),(0,d.jsx)(`stop`,{offset:`0.5`,stopColor:`#4D55BD`}),(0,d.jsx)(`stop`,{offset:`1`,stopColor:`#3940AB`})]}),(0,d.jsx)(`clipPath`,{id:`clip0_5796_19548`,children:(0,d.jsx)(`rect`,{width:`27`,height:`25.1695`,fill:`white`,transform:`translate(4.5 5.41504)`})})]})]})}function yr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M4 8L6.5 10.5L12 5`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function br({...e}){return(0,d.jsx)(Y,{viewBox:`0 0 28 28`,...e,children:(0,d.jsx)(`circle`,{cx:`14`,cy:`14`,r:`10.5`,stroke:`currentColor`,strokeWidth:`1.5`})})}function xr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M8.82 13.55L14.42 7.94L13.54 7.06L8.82 11.79L6.44 9.41L5.56 10.29L8.82 13.55ZM10 17.92C8.91 17.92 7.88 17.71 6.91 17.29C5.95 16.88 5.11 16.31 4.4 15.6C3.69 14.89 3.12 14.05 2.71 13.09C2.29 12.13 2.08 11.1 2.08 10C2.08 8.91 2.29 7.88 2.71 6.91C3.12 5.95 3.69 5.11 4.4 4.4C5.11 3.69 5.95 3.12 6.91 2.71C7.88 2.29 8.9 2.08 10 2.08C11.09 2.08 12.12 2.29 13.09 2.71C14.05 3.12 14.89 3.69 15.6 4.4C16.31 5.11 16.88 5.95 17.29 6.91C17.71 7.87 17.92 8.9 17.92 10C17.92 11.09 17.71 12.12 17.29 13.09C16.88 14.05 16.31 14.89 15.6 15.6C14.89 16.31 14.05 16.88 13.09 17.29C12.13 17.71 11.1 17.92 10 17.92ZM10 16.67C11.86 16.67 13.44 16.02 14.73 14.73C16.02 13.44 16.67 11.86 16.67 10C16.67 8.14 16.02 6.56 14.73 5.27C13.44 3.98 11.86 3.33 10 3.33C8.14 3.33 6.56 3.98 5.27 5.27C3.98 6.56 3.33 8.14 3.33 10C3.33 11.86 3.98 13.44 5.27 14.73C6.56 16.02 8.14 16.67 10 16.67Z`,fill:`currentColor`,...e})})}function Sr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.72,11.13c0-1.23.27-2.35.82-3.33.54-.99,1.16-1.84,1.85-2.56.69-.72,1.35-1.29,1.98-1.73.63-.44,1.04-.72,1.21-.84v2.01c0,.65.22,1.16.65,1.53.43.38.92.56,1.46.56.25,0,.49-.05.72-.14.23-.09.45-.24.65-.43l.37-.37c.86.56,1.55,1.31,2.07,2.25.52.93.78,1.95.78,3.05,0,1.25-.33,2.38-1,3.38-.66,1-1.53,1.75-2.58,2.24.27-.3.48-.64.63-1.01.15-.38.23-.78.23-1.21,0-.47-.09-.91-.27-1.33-.18-.42-.43-.8-.76-1.13l-2.53-2.47-2.51,2.47c-.34.34-.6.72-.78,1.13-.18.42-.27.86-.27,1.33,0,.43.08.84.23,1.21.15.38.36.72.63,1.01-1.06-.49-1.92-1.23-2.58-2.24-.66-1-1-2.13-1-3.38ZM10,11.33l1.63,1.6c.22.22.38.46.5.72.11.27.17.55.17.86,0,.62-.22,1.16-.67,1.6-.45.44-.99.66-1.63.66s-1.18-.22-1.63-.66c-.45-.44-.67-.97-.67-1.6,0-.29.06-.58.17-.85.11-.27.28-.52.5-.74l1.63-1.6Z`,fill:`currentColor`,...e})})}function Cr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M5,11.09c0,.84.2,1.62.6,2.34.4.72.95,1.31,1.65,1.75-.06-.12-.11-.23-.13-.35-.03-.12-.04-.24-.04-.37,0-.39.07-.75.22-1.09.15-.34.36-.65.64-.93l2.06-2.02,2.07,2.02c.28.28.49.59.63.93.15.34.22.7.22,1.09,0,.13-.01.25-.04.37-.03.12-.07.23-.13.35.7-.44,1.25-1.03,1.65-1.75.4-.72.6-1.5.6-2.34,0-.69-.13-1.35-.39-1.97-.26-.62-.63-1.17-1.11-1.66-.28.18-.57.32-.87.41-.31.09-.62.14-.94.14-.87,0-1.62-.28-2.25-.85-.63-.57-.99-1.28-1.09-2.12-.54.45-1.02.93-1.44,1.42-.42.49-.77,1-1.05,1.51-.28.51-.5,1.03-.65,1.56-.15.53-.22,1.05-.22,1.57ZM10,12.17l-1.19,1.17c-.15.15-.27.33-.35.52-.08.19-.12.4-.12.6,0,.44.16.83.49,1.15.33.32.72.48,1.18.48s.85-.16,1.18-.48c.33-.32.49-.7.49-1.15,0-.22-.04-.43-.12-.61s-.2-.36-.35-.51l-1.19-1.17ZM9.58,2.66v2c0,.59.2,1.08.61,1.48.41.4.9.6,1.49.6.26,0,.5-.05.73-.14.23-.1.44-.24.64-.42l.37-.37c.88.56,1.57,1.31,2.07,2.25.5.94.76,1.95.76,3.02,0,1.74-.61,3.22-1.82,4.43-1.21,1.21-2.69,1.82-4.43,1.82s-3.22-.61-4.43-1.82c-1.21-1.21-1.82-2.69-1.82-4.43,0-1.61.52-3.16,1.57-4.65,1.05-1.49,2.47-2.75,4.26-3.77Z`,fill:`currentColor`,...e})})}function wr({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,fill:`currentColor`,stroke:`currentColor`,strokeWidth:`1`,strokeMiterlimit:`10`,...e})]})}function Tr({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M9.45,9.14c.68,1.74,2.12,3.11,3.93,3.76-1.81.65-3.26,2.02-3.93,3.76-.68-1.74-2.12-3.11-3.93-3.76,1.81-.65,3.26-2.03,3.93-3.76Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M12.6,4.96c.39.83,1.05,1.5,1.88,1.88-.83.39-1.5,1.05-1.88,1.88-.39-.83-1.05-1.5-1.88-1.88.83-.39,1.5-1.05,1.88-1.88Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e}),(0,d.jsx)(`path`,{d:`M7.87,3.34c.3.61.8,1.1,1.4,1.4-.61.3-1.1.8-1.4,1.4-.3-.61-.8-1.1-1.4-1.4.61-.3,1.1-.8,1.4-1.4Z`,stroke:`currentColor`,strokeWidth:`1.5`,strokeMiterlimit:`10`,...e})]})}function Er({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 20 20`,...t,children:[(0,d.jsx)(`path`,{d:`M5 11.67C5 12.51 5.2 13.29 5.6 14.01C6 14.73 6.55 15.32 7.26 15.76C7.19 15.64 7.15 15.53 7.12 15.41C7.1 15.29 7.08 15.17 7.08 15.04C7.08 14.66 7.16 14.29 7.31 13.95C7.45 13.61 7.67 13.3 7.94 13.03L10 11L12.07 13.03C12.34 13.3 12.55 13.61 12.7 13.95C12.84 14.29 12.92 14.66 12.92 15.04C12.92 15.17 12.9 15.29 12.88 15.41C12.85 15.53 12.81 15.64 12.74 15.76C13.45 15.32 14 14.73 14.4 14.01C14.8 13.29 15 12.51 15 11.67C15 10.97 14.87 10.32 14.61 9.7C14.36 9.08 13.99 8.53 13.5 8.04C13.22 8.22 12.93 8.36 12.63 8.45C12.32 8.54 12.01 8.58 11.69 8.58C10.82 8.58 10.07 8.3 9.44 7.73C8.81 7.16 8.45 6.45 8.35 5.61C7.81 6.06 7.33 6.53 6.92 7.03C6.5 7.52 6.15 8.02 5.86 8.54C5.58 9.05 5.36 9.57 5.22 10.1C5.07 10.62 5 11.15 5 11.67ZM10 12.75L8.81 13.92C8.66 14.07 8.54 14.24 8.46 14.44C8.38 14.63 8.33 14.83 8.33 15.04C8.33 15.49 8.5 15.87 8.82 16.19C9.15 16.51 9.54 16.67 10 16.67C10.46 16.67 10.85 16.51 11.18 16.19C11.5 15.87 11.67 15.49 11.67 15.04C11.67 14.82 11.63 14.61 11.54 14.43C11.46 14.24 11.34 14.07 11.19 13.92L10 12.75ZM9.58 3.25V5.25C9.58 5.84 9.79 6.33 10.19 6.73C10.6 7.13 11.1 7.33 11.69 7.33C11.94 7.33 12.19 7.29 12.42 7.19C12.65 7.09 12.86 6.95 13.05 6.76L13.42 6.39C14.3 6.96 14.99 7.71 15.49 8.64C16 9.58 16.25 10.59 16.25 11.67C16.25 13.41 15.64 14.89 14.43 16.1C13.22 17.31 11.74 17.92 10 17.92C8.26 17.92 6.78 17.31 5.57 16.1C4.36 14.89 3.75 13.41 3.75 11.67C3.75 10.06 4.27 8.51 5.32 7.02C6.37 5.53 7.79 4.27 9.58 3.25Z`,fill:`currentColor`,...e}),(0,d.jsx)(`line`,{x1:`17.8311`,y1:`3.53033`,x2:`2.83111`,y2:`18.5303`,stroke:`currentColor`,strokeWidth:`1.5`})]})}function Dr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M10.77 1.78L17.32 5.69C17.5 5.81 17.65 5.97 17.76 6.16C17.86 6.36 17.92 6.57 17.92 6.79V15.58C17.92 16 17.77 16.35 17.48 16.65C17.19 16.94 16.83 17.08 16.41 17.08H3.59C3.17 17.08 2.81 16.94 2.52 16.65C2.23 16.35 2.08 16 2.08 15.58V6.79C2.08 6.57 2.14 6.36 2.24 6.16C2.35 5.97 2.5 5.81 2.68 5.69L9.23 1.78C9.46 1.65 9.72 1.58 10 1.58C10.28 1.58 10.54 1.65 10.77 1.78ZM10.13 10.46L16.5 6.67L10.13 2.87C10.09 2.84 10.04 2.83 10 2.83C9.96 2.83 9.92 2.84 9.87 2.87L3.5 6.67L9.87 10.46C9.92 10.49 9.96 10.5 10 10.5C10.04 10.5 10.09 10.49 10.13 10.46ZM9.23 11.54L3.33 8.02V15.58C3.33 15.65 3.36 15.71 3.41 15.76C3.45 15.81 3.52 15.83 3.59 15.83H16.41C16.49 15.83 16.55 15.81 16.6 15.76C16.64 15.71 16.67 15.65 16.67 15.58V8.02L10.77 11.54C10.54 11.67 10.28 11.74 10 11.74C9.72 11.74 9.46 11.67 9.23 11.54ZM10.77 15.83H16.67H3.33H10.77Z`,fill:`currentColor`,...e})})}function Or({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M3.59 16.25C3.17 16.25 2.81 16.1 2.52 15.81C2.23 15.52 2.08 15.16 2.08 14.74V5.26C2.08 4.84 2.23 4.48 2.52 4.19C2.81 3.9 3.17 3.75 3.59 3.75H11.23C11.4 3.75 11.55 3.81 11.68 3.93C11.8 4.06 11.86 4.21 11.85 4.38C11.85 4.56 11.78 4.7 11.66 4.82C11.54 4.94 11.4 5 11.23 5H3.33V14.74C3.33 14.82 3.36 14.88 3.41 14.93C3.45 14.98 3.52 15 3.59 15H16.41C16.49 15 16.55 14.98 16.6 14.93C16.64 14.88 16.67 14.82 16.67 14.74V9.17C16.67 8.99 16.73 8.84 16.85 8.72C16.97 8.6 17.12 8.54 17.29 8.54C17.47 8.54 17.62 8.6 17.74 8.72C17.86 8.84 17.92 8.99 17.92 9.17V14.74C17.92 15.16 17.77 15.52 17.48 15.81C17.19 16.1 16.83 16.25 16.41 16.25H3.59ZM10 9.17L12.71 7.44C12.86 7.35 13.01 7.32 13.14 7.37C13.27 7.41 13.38 7.5 13.45 7.62C13.53 7.74 13.56 7.87 13.54 8C13.52 8.14 13.43 8.26 13.28 8.36L10.4 10.21C10.27 10.29 10.14 10.33 10 10.33C9.86 10.33 9.73 10.3 9.6 10.22L3.33 6.29V5L10 9.17ZM15.83 6.78C15.2 6.78 14.66 6.56 14.21 6.11C13.77 5.66 13.54 5.12 13.54 4.49C13.54 3.85 13.77 3.31 14.21 2.86C14.66 2.42 15.2 2.2 15.83 2.2C16.47 2.2 17.01 2.42 17.46 2.86C17.9 3.31 18.13 3.85 18.13 4.49C18.13 5.12 17.9 5.66 17.46 6.11C17.01 6.56 16.47 6.78 15.83 6.78Z`,fill:`currentColor`,...e})})}function kr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.02 17.29C6.87 16.66 7.8 16.16 8.8 15.8C9.8 15.43 10.87 15.25 12 15.25C13.13 15.25 14.2 15.43 15.2 15.8C16.2 16.16 17.13 16.66 17.98 17.29C18.6 16.61 19.09 15.82 19.45 14.92C19.82 14.02 20 13.05 20 12C20 9.78 19.22 7.9 17.66 6.34C16.1 4.78 14.22 4 12 4C9.78 4 7.9 4.78 6.34 6.34C4.78 7.9 4 9.78 4 12C4 13.05 4.18 14.02 4.55 14.92C4.91 15.82 5.4 16.61 6.02 17.29ZM12 12.75C11.09 12.75 10.32 12.44 9.69 11.81C9.06 11.18 8.75 10.41 8.75 9.5C8.75 8.59 9.06 7.82 9.69 7.19C10.32 6.56 11.09 6.25 12 6.25C12.91 6.25 13.68 6.56 14.31 7.19C14.94 7.82 15.25 8.59 15.25 9.5C15.25 10.41 14.94 11.18 14.31 11.81C13.68 12.44 12.91 12.75 12 12.75ZM12 21.5C10.68 21.5 9.44 21.25 8.29 20.76C7.13 20.26 6.13 19.58 5.27 18.73C4.42 17.87 3.74 16.87 3.24 15.71C2.75 14.56 2.5 13.32 2.5 12C2.5 10.68 2.75 9.44 3.24 8.29C3.74 7.13 4.42 6.13 5.27 5.27C6.13 4.42 7.13 3.74 8.29 3.24C9.44 2.75 10.68 2.5 12 2.5C13.32 2.5 14.56 2.75 15.71 3.24C16.87 3.74 17.87 4.42 18.73 5.27C19.58 6.13 20.26 7.13 20.76 8.29C21.25 9.44 21.5 10.68 21.5 12C21.5 13.32 21.25 14.56 20.76 15.71C20.26 16.87 19.58 17.87 18.73 18.73C17.87 19.58 16.87 20.26 15.71 20.76C14.56 21.25 13.32 21.5 12 21.5ZM12 20C12.9 20 13.77 19.85 14.61 19.56C15.45 19.27 16.19 18.87 16.84 18.35C16.19 17.84 15.46 17.45 14.64 17.17C13.82 16.89 12.94 16.75 12 16.75C11.06 16.75 10.18 16.89 9.36 17.17C8.53 17.44 7.8 17.84 7.16 18.35C7.81 18.87 8.55 19.27 9.39 19.56C10.23 19.85 11.1 20 12 20ZM12 11.25C12.5 11.25 12.91 11.08 13.25 10.75C13.58 10.41 13.75 10 13.75 9.5C13.75 9 13.58 8.59 13.25 8.25C12.91 7.92 12.5 7.75 12 7.75C11.5 7.75 11.09 7.92 10.75 8.25C10.42 8.59 10.25 9 10.25 9.5C10.25 10 10.42 10.41 10.75 10.75C11.09 11.08 11.5 11.25 12 11.25Z`,fill:`currentColor`,...e})})}function Ar({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.52,18h.97v-5.52h5.52v-.97h-5.52v-5.52h-.97v5.52h-5.52v.97h5.52v5.52ZM12.01,24c-1.66,0-3.22-.31-4.68-.94-1.46-.63-2.73-1.48-3.81-2.56-1.08-1.08-1.94-2.35-2.57-3.81-.63-1.46-.95-3.02-.95-4.68s.31-3.22.94-4.68c.63-1.46,1.48-2.73,2.56-3.81,1.08-1.08,2.35-1.94,3.81-2.57,1.46-.63,3.02-.95,4.68-.95s3.22.31,4.68.94c1.46.63,2.73,1.48,3.81,2.56,1.08,1.08,1.94,2.35,2.57,3.81.63,1.46.95,3.02.95,4.68s-.31,3.22-.94,4.68c-.63,1.46-1.48,2.73-2.56,3.81-1.08,1.08-2.35,1.94-3.81,2.57-1.46.63-3.02.95-4.68.95ZM12,23.03c3.08,0,5.69-1.07,7.83-3.21s3.21-4.75,3.21-7.83-1.07-5.69-3.21-7.83S15.08.97,12,.97s-5.69,1.07-7.83,3.21S.97,8.92.97,12s1.07,5.69,3.21,7.83,4.75,3.21,7.83,3.21Z`,fill:`currentColor`,...e})})}function jr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.5 12.5H6V11.5H11.5V6H12.5V11.5H18V12.5H12.5V18H11.5V12.5Z`,fill:`currentColor`,...e})})}var Mr={down:``,left:`rotate-90`,up:`-rotate-180`,right:`-rotate-90`};function Nr({direction:e=`down`,className:t,pathProps:n,...r}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,className:T(Mr[e],t),...r,children:(0,d.jsx)(`path`,{d:`m5 8.5 7 7 7-7`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...n})})}function Pr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M5.31 21.5C4.8 21.5 4.38 21.33 4.03 20.98C3.68 20.63 3.5 20.2 3.5 19.69V6.31C3.5 5.8 3.68 5.38 4.03 5.03C4.38 4.68 4.8 4.5 5.31 4.5H6.69V2.38H8.23V4.5H15.81V2.38H17.31V4.5H18.69C19.2 4.5 19.63 4.68 19.98 5.03C20.33 5.38 20.5 5.8 20.5 6.31V19.69C20.5 20.2 20.33 20.63 19.98 20.98C19.63 21.33 19.2 21.5 18.69 21.5H5.31ZM5.31 20H18.69C18.77 20 18.84 19.97 18.9 19.9C18.97 19.84 19 19.77 19 19.69V10.31H5V19.69C5 19.77 5.03 19.84 5.1 19.9C5.16 19.97 5.23 20 5.31 20ZM5 8.81H19V6.31C19 6.23 18.97 6.16 18.9 6.1C18.84 6.03 18.77 6 18.69 6H5.31C5.23 6 5.16 6.03 5.1 6.1C5.03 6.16 5 6.23 5 6.31V8.81Z`,fill:`currentColor`,...e})})}function Fr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M7.32,24c-2.03,0-3.76-.71-5.19-2.14-1.42-1.42-2.14-3.15-2.14-5.19V7.32c0-2.03.71-3.76,2.14-5.19C3.56.71,5.29,0,7.32,0h9.35c2.03,0,3.76.71,5.19,2.14,1.42,1.42,2.14,3.15,2.14,5.19v9.35c0,2.03-.71,3.76-2.14,5.19-1.42,1.42-3.15,2.14-5.19,2.14H7.32ZM10.44,16.83l7.95-7.95-.78-.78-7.17,7.17-3.43-3.43-.78.78,4.21,4.21ZM7.32,22.91h9.35c1.71,0,3.18-.61,4.4-1.83,1.22-1.22,1.83-2.69,1.83-4.4V7.32c0-1.71-.61-3.18-1.83-4.4s-2.69-1.83-4.4-1.83H7.32c-1.71,0-3.18.61-4.4,1.83-1.22,1.22-1.83,2.69-1.83,4.4v9.35c0,1.71.61,3.18,1.83,4.4,1.22,1.22,2.69,1.83,4.4,1.83Z`,fill:`currentColor`,...e})})}function Ir({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M6.4 18.65L5.35 17.6L10.95 12L5.35 6.4L6.4 5.35L12 10.95L17.6 5.35L18.65 6.4L13.05 12L18.65 17.6L17.6 18.65L12 13.05L6.4 18.65Z`,fill:`currentColor`,...e})})}function Lr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H20.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H20.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function Rr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M9.06 17.5C8.55 17.5 8.13 17.33 7.78 16.98C7.43 16.63 7.25 16.2 7.25 15.69V4.31C7.25 3.8 7.43 3.38 7.78 3.03C8.13 2.68 8.55 2.5 9.06 2.5H17.44C17.95 2.5 18.38 2.68 18.73 3.03C19.08 3.38 19.25 3.8 19.25 4.31V15.69C19.25 16.2 19.08 16.63 18.73 16.98C18.38 17.33 17.95 17.5 17.44 17.5H9.06ZM9.06 16H17.44C17.52 16 17.59 15.97 17.65 15.9C17.72 15.84 17.75 15.77 17.75 15.69V4.31C17.75 4.23 17.72 4.16 17.65 4.1C17.59 4.03 17.52 4 17.44 4H9.06C8.98 4 8.91 4.03 8.85 4.1C8.78 4.16 8.75 4.23 8.75 4.31V15.69C8.75 15.77 8.78 15.84 8.85 15.9C8.91 15.97 8.98 16 9.06 16ZM5.56 21C5.05 21 4.63 20.83 4.28 20.48C3.93 20.13 3.75 19.7 3.75 19.19V6.31H5.25V19.19C5.25 19.27 5.28 19.34 5.35 19.4C5.41 19.47 5.48 19.5 5.56 19.5H15.44V21H5.56Z`,fill:`currentColor`,...e})})}function zr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12.1 21.5C10.77 21.5 9.52 21.25 8.36 20.74C7.2 20.24 6.18 19.55 5.31 18.69C4.45 17.82 3.76 16.8 3.26 15.64C2.75 14.48 2.5 13.23 2.5 11.9C2.5 9.71 3.17 7.76 4.5 6.05C5.84 4.34 7.56 3.22 9.68 2.68C9.5 4.29 9.66 5.84 10.18 7.35C10.69 8.86 11.52 10.19 12.67 11.33C13.81 12.48 15.14 13.31 16.65 13.82C18.16 14.34 19.71 14.5 21.32 14.32C20.79 16.44 19.67 18.16 17.96 19.5C16.24 20.83 14.29 21.5 12.1 21.5ZM12.1 20C13.57 20 14.93 19.63 16.18 18.9C17.43 18.17 18.41 17.16 19.13 15.87C17.69 15.74 16.33 15.38 15.05 14.78C13.77 14.19 12.62 13.39 11.6 12.37C10.58 11.35 9.78 10.2 9.18 8.92C8.58 7.64 8.22 6.28 8.1 4.85C6.82 5.57 5.81 6.55 5.09 7.81C4.36 9.07 4 10.43 4 11.9C4 14.15 4.79 16.06 6.36 17.64C7.94 19.21 9.85 20 12.1 20Z`,fill:`currentColor`,...e})})}function Br({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15Z`,fill:`currentColor`,...e})})}function Vr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.42 17.08C4 17.08 3.64 16.94 3.35 16.65C3.06 16.35 2.91 16 2.91 15.58V4.42C2.91 4 3.06 3.65 3.35 3.35C3.64 3.06 4 2.92 4.42 2.92H9.68V4.17H4.42C4.36 4.17 4.3 4.19 4.24 4.25C4.19 4.3 4.16 4.36 4.16 4.42V15.58C4.16 15.64 4.19 15.7 4.24 15.75C4.3 15.81 4.36 15.83 4.42 15.83H15.57C15.64 15.83 15.7 15.81 15.75 15.75C15.8 15.7 15.83 15.64 15.83 15.58V10.32H17.08V15.58C17.08 16 16.93 16.35 16.64 16.65C16.35 16.94 16 17.08 15.57 17.08H4.42ZM8.1 12.78L7.22 11.9L14.95 4.17H11.66V2.92H17.08V8.33H15.83V5.04L8.1 12.78Z`,fill:`currentColor`,...e})})}function Hr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.79,16.03h2.91v-5.16h4.61v5.16h2.91v-7.82l-5.21-3.92-5.21,3.92v7.82ZM3.49,17.34V7.57l6.51-4.9,6.51,4.9v9.77h-5.51v-5.16h-2v5.16H3.49Z`,fill:`currentColor`,...e})})}function Ur({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M15.7,2.66H4.29c-.9,0-1.61.73-1.61,1.63v11.41c0,.9.71,1.63,1.61,1.63h11.42c.9,0,1.63-.73,1.63-1.63V4.3c0-.9-.73-1.63-1.63-1.63M15.7,12.44h-3.26c0,1.35-1.1,2.45-2.44,2.45s-2.44-1.09-2.44-2.45h-3.27V4.3h11.42v8.15ZM13.26,8.37h-1.63v-2.44h-3.26v2.44h-1.63l3.26,3.26,3.26-3.26Z`,fill:`currentColor`,...e})})}function Wr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M11.25 5.21V1.52H12.75V5.21H11.25ZM17.32 7.73L16.29 6.7L18.87 4.04L19.94 5.12L17.32 7.73ZM18.79 12.75V11.25H22.48V12.75H18.79ZM11.25 22.48V18.8H12.75V22.48H11.25ZM6.7 7.69L4.04 5.13L5.13 4.07L7.74 6.68L6.7 7.69ZM18.86 19.96L16.29 17.3L17.31 16.29L19.93 18.84L18.86 19.96ZM1.52 12.75V11.25H5.21V12.75H1.52ZM5.12 19.96L4.07 18.87L6.65 16.29L7.19 16.81L7.75 17.33L5.12 19.96ZM12 17.5C10.48 17.5 9.18 16.97 8.11 15.9C7.04 14.83 6.5 13.53 6.5 12C6.5 10.48 7.03 9.18 8.1 8.11C9.17 7.04 10.47 6.5 12 6.5C13.53 6.5 14.82 7.03 15.89 8.1C16.97 9.17 17.5 10.47 17.5 12C17.5 13.53 16.97 14.82 15.9 15.89C14.83 16.97 13.53 17.5 12 17.5ZM12 16C13.1 16 14.04 15.61 14.83 14.83C15.61 14.04 16 13.1 16 12C16 10.9 15.61 9.96 14.83 9.18C14.04 8.39 13.1 8 12 8C10.9 8 9.96 8.39 9.18 9.18C8.39 9.96 8 10.9 8 12C8 13.1 8.39 14.04 9.18 14.83C9.96 15.61 10.9 16 12 16Z`,fill:`currentColor`,...e})})}function Gr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 20 20`,...t,children:(0,d.jsx)(`path`,{d:`M4.13,15.87c-.4,0-.75-.14-1.04-.43s-.43-.63-.43-1.04V5.6c0-.4.14-.75.43-1.04s.63-.43,1.04-.43h11.74c.4,0,.75.14,1.04.43s.43.63.43,1.04v8.8c0,.4-.14.75-.43,1.04s-.63.43-1.04.43H4.13ZM10,10.73l-5.87-3.67v7.34h11.74v-7.34l-5.87,3.67ZM10,9.27l5.87-3.67H4.13l5.87,3.67ZM4.13,7.07v-1.47,8.8-7.34Z`,fill:`currentColor`,...e})})}function Kr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 16 16`,...t,children:(0,d.jsx)(`path`,{d:`M3 8H13`,stroke:`currentColor`,strokeWidth:`1`,strokeLinecap:`round`,...e})})}function qr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M10.5 6.23C10.5 5.82 10.65 5.47 10.94 5.17C11.23 4.88 11.59 4.73 12 4.73C12.41 4.73 12.77 4.88 13.06 5.17C13.35 5.47 13.5 5.82 13.5 6.23C13.5 6.64 13.35 7 13.06 7.29C12.77 7.58 12.41 7.73 12 7.73C11.59 7.73 11.23 7.58 10.94 7.29C10.65 7 10.5 6.64 10.5 6.23ZM10.5 12C10.5 11.59 10.65 11.23 10.94 10.94C11.23 10.65 11.59 10.5 12 10.5C12.41 10.5 12.77 10.65 13.06 10.94C13.35 11.23 13.5 11.59 13.5 12C13.5 12.41 13.35 12.77 13.06 13.06C12.77 13.35 12.41 13.5 12 13.5C11.59 13.5 11.23 13.35 10.94 13.06C10.65 12.77 10.5 12.41 10.5 12ZM10.5 17.77C10.5 17.36 10.65 17 10.94 16.71C11.23 16.42 11.59 16.27 12 16.27C12.41 16.27 12.77 16.42 13.06 16.71C13.35 17 13.5 17.36 13.5 17.77C13.5 18.18 13.35 18.54 13.06 18.83C12.77 19.12 12.41 19.27 12 19.27C11.59 19.27 11.23 19.12 10.94 18.83C10.65 18.54 10.5 18.18 10.5 17.77Z`,fill:`currentColor`,...e})})}function Jr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M3.5 20.5V19H20.5V20.5H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 5V3.5H20.5V5H3.5Z`,fill:`currentColor`,...e})})}function Yr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,...e})})}function Xr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`path`,{d:`M12 20C10.891 20 9.85158 19.7913 8.88175 19.374C7.91192 18.9567 7.0645 18.3855 6.3395 17.6605C5.6145 16.9355 5.04333 16.0881 4.626 15.1183C4.20867 14.1484 4 13.109 4 12C4 10.891 4.20867 9.85158 4.626 8.88175C5.04333 7.91192 5.6145 7.0645 6.3395 6.3395C7.0645 5.6145 7.91192 5.04333 8.88175 4.626C9.85158 4.20867 10.891 4 12 4V5C10.05 5 8.39583 5.67917 7.0375 7.0375C5.67917 8.39583 5 10.05 5 12C5 13.95 5.67917 15.6042 7.0375 16.9625C8.39583 18.3208 10.05 19 12 19V20ZM16 16.2885L15.2923 15.575L18.3865 12.5H9.5V11.5H18.3673L15.2923 8.4L16 7.7115L20.2885 12L16 16.2885Z`,fill:`currentColor`,...e})})}function Zr({pathProps:e,...t}){return(0,d.jsxs)(Y,{viewBox:`0 0 24 24`,...t,children:[(0,d.jsx)(`path`,{d:`M3.5 17.6347V16.135H9.5V17.6347H3.5ZM3.5 12.7502V11.2502H13.5V12.7502H3.5ZM3.5 7.86547V6.36572H20.5V7.86547H3.5Z`,fill:`currentColor`,...e}),(0,d.jsx)(`path`,{d:`M17.12 12.22C17.87 13.84 19.23 15.13 20.91 15.85C19.23 16.57 17.87 17.86 17.13 19.48C16.38 17.86 15.02 16.57 13.34 15.85C15.02 15.13 16.38 13.84 17.12 12.22Z`,stroke:`currentColor`,strokeWidth:`1.25`,...e})]})}function Qr({pathProps:e,...t}){return(0,d.jsx)(Y,{viewBox:`0 0 24 24`,...t,children:(0,d.jsx)(`g`,{children:(0,d.jsx)(`path`,{d:`M10.07 13.93C9.49 13.34 8.96 12.72 8.48 12.07C8.01 11.42 7.59 10.72 7.21 9.99C7.05 10.31 6.94 10.63 6.87 10.97C6.81 11.31 6.77 11.65 6.77 12C6.77 13.45 7.28 14.69 8.3 15.7C9.31 16.72 10.55 17.23 12 17.23C12.34 17.23 12.68 17.19 13.03 17.11C13.37 17.04 13.7 16.93 14.01 16.78C13.28 16.41 12.58 15.99 11.93 15.51C11.28 15.04 10.66 14.51 10.07 13.93ZM11.14 12.88C11.96 13.7 12.87 14.41 13.88 15.01C14.88 15.61 15.95 16.08 17.1 16.43C16.46 17.16 15.7 17.73 14.82 18.14C13.94 18.55 13 18.75 12.02 18.75C10.14 18.75 8.55 18.1 7.24 16.79C5.93 15.48 5.27 13.88 5.27 12C5.27 11.02 5.48 10.09 5.89 9.2C6.29 8.32 6.86 7.56 7.6 6.93C7.95 8.07 8.42 9.14 9.02 10.15C9.62 11.15 10.32 12.06 11.14 12.88ZM18.3 14.49C18.05 14.43 17.81 14.36 17.56 14.28C17.32 14.2 17.08 14.11 16.84 14.02C16.98 13.7 17.08 13.37 17.15 13.03C17.22 12.7 17.25 12.35 17.25 12C17.25 10.55 16.74 9.31 15.71 8.29C14.69 7.26 13.45 6.75 12 6.75C11.65 6.75 11.3 6.78 10.96 6.85C10.63 6.91 10.3 7.01 9.98 7.15C9.89 6.91 9.8 6.68 9.73 6.44C9.66 6.21 9.6 5.97 9.53 5.72C9.93 5.56 10.33 5.45 10.75 5.37C11.17 5.29 11.59 5.25 12.02 5.25C13.9 5.25 15.5 5.91 16.81 7.21C18.12 8.52 18.77 10.12 18.77 12C18.77 12.43 18.74 12.86 18.66 13.28C18.58 13.69 18.46 14.1 18.3 14.49ZM11.25 3.13V0.44H12.75V3.13H11.25ZM11.25 23.56V20.87H12.75V23.56H11.25ZM18.8 6.26L17.74 5.19L19.62 3.33L20.69 4.38L18.8 6.26ZM4.38 20.68L3.31 19.62L5.19 17.74L6.26 18.81L4.38 20.68ZM20.86 12.75V11.25H23.56V12.75H20.86ZM0.44 12.75V11.25H3.13V12.75H0.44ZM19.62 20.69L17.74 18.81L18.8 17.74L20.67 19.62L19.62 20.69ZM5.19 6.26L3.32 4.38L4.38 3.31L6.26 5.19L5.19 6.26Z`,fill:`currentColor`,...e})})})}function $r({icon:e,label:t,action:n,className:r,...i}){return(0,d.jsxs)(`div`,{className:T(`w-fit`,r),...i,children:[e,t,n]})}function ei({as:e,children:t,className:n,...r}){return(0,d.jsx)(e||`div`,{className:T(n),...r,children:t})}function ti({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`grid h-full grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]`,t),children:e})}function ni({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`row-span-4`,t),children:e})}function ri({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-1`,t),children:e})}function ii({children:e,className:t}){return(0,d.jsx)(`h3`,{className:T(`col-start-2 row-start-2`,t),children:e})}function ai({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-3`,t),children:e})}function oi({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`col-start-2 row-start-4`,t),children:e})}function si({children:e,className:t}){let{close:n}=Yn();return(0,d.jsx)(`div`,{role:`menu`,tabIndex:-1,className:T(`flex flex-col outline-none`,t),children:u.Children.map(e,e=>(0,u.cloneElement)(e,{role:`menuitem`,onClick:t=>{e.props.onClick?.(t),e.props.closeOnClick!==!1&&n()}}))})}function ci(e){return(0,d.jsx)(J,{...e})}function li({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(Xn,{trigger:e,...r,children:(0,d.jsx)(si,{className:n,children:t})})}function ui({title:e,items:t,footer:n,closeLabel:r=`Close`,defaultOpenValue:i,classNames:a}){let o=(0,u.useId)(),{close:s}=Yn(),c=a??{},l=i??t[0]?.value;return(0,d.jsxs)(`div`,{className:T(`rounded-md overflow-hidden bg-white`,c.root),role:`dialog`,"aria-modal":`true`,"aria-labelledby":o,children:[(0,d.jsxs)(`header`,{className:T(`gap-2 p-4 flex shrink-0 items-center justify-between`,c.header),children:[(0,d.jsx)(`div`,{id:o,className:c.title,children:e}),(0,d.jsx)(J,{type:`button`,onClick:s,"aria-label":r,className:c.closeButton,children:(0,d.jsx)(Ir,{size:18,"aria-hidden":!0})})]}),(0,d.jsx)(`div`,{className:c.body,children:(0,d.jsx)(ar,{type:`single`,className:c.accordion,defaultValue:l,children:e=>(0,d.jsx)(d.Fragment,{children:t.map(t=>(0,d.jsxs)(or,{value:t.value,className:c.item,children:[(0,d.jsxs)(sr,{value:t.value,className:T(`gap-2 p-3 flex w-full items-center justify-between`,c.itemTrigger),children:[t.label,(0,d.jsx)(Nr,{size:20,direction:e.openItems.has(t.value)?`up`:`down`,className:`shrink-0 text-neutral-600`})]}),(0,d.jsx)(cr,{value:t.value,className:T(`p-3`,c.itemContent),children:t.content})]},t.value))})})}),n==null?null:(0,d.jsx)(`div`,{className:T(`p-3`,c.footer),children:n})]})}const di=`onboarding_dismissed`;function fi(e){if(typeof window>`u`)return new Set;try{let t=localStorage.getItem(e);if(t==null||t===``)return new Set;let n=JSON.parse(t);return Array.isArray(n)?new Set(n.filter(e=>typeof e==`string`)):new Set}catch{return new Set}}function pi(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];if(!t.has(i.id)&&i.isVisible(n))return{step:i,index:r}}return null}function mi({steps:e,context:t,storageKey:n,isEnabled:r=!0,children:i}){let a=n??`onboarding_dismissed`,[o,s]=(0,u.useState)(()=>fi(a));(0,u.useLayoutEffect)(()=>{s(fi(a))},[a]),(0,u.useEffect)(()=>{if(!(typeof window>`u`))try{localStorage.setItem(a,JSON.stringify([...o]))}catch{}},[o,a]),(0,u.useEffect)(()=>{let t=new Set(e.map(e=>e.id)),n=fi(a),r=new Set;for(let e of n)t.has(e)&&r.add(e);queueMicrotask(()=>{s(e=>e.size===r.size&&[...e].every(e=>r.has(e))?e:r)})},[e,a]);let c=(0,u.useMemo)(()=>r?pi(e,o,t):null,[r,e,o,t]),l=c?.step??null,f=c?.index??null,p=(0,u.useCallback)(e=>{s(t=>{if(t.has(e))return t;let n=new Set(t);return n.add(e),n})},[]),m=(0,u.useCallback)(()=>{s(n=>{let r=pi(e,n,t);if(r==null||n.has(r.step.id))return n;let i=new Set(n);return i.add(r.step.id),i})},[e,t]),h=(0,u.useCallback)(()=>{s(new Set(e.map(e=>e.id)))},[e]);return(0,d.jsx)(d.Fragment,{children:i({context:t,currentStep:l,currentStepIndex:f,dismissedStepIds:o,actions:(0,u.useMemo)(()=>({dismissCurrentStep:m,dismissStep:p,skipAll:h,close:h}),[m,p,h])})})}function hi({content:e,className:t}){let n=Ln(e);return(0,d.jsx)(`div`,{className:T(`normalized-content text-sm font-normal leading-[1.3] text-neutral-900`,t),dangerouslySetInnerHTML:{__html:n}})}function X({className:e}){return(0,d.jsx)(`div`,{className:T(`skeleton rounded-md`,e)})}var Z=[],gi=new Set,_i=new Map;function vi(e,t){t&&_i.set(e,t),Z=Z.filter(t=>t.id!==e),bi()}var yi=new Map;function bi(){gi.forEach(e=>e(Z))}const Q={subscribe(e){return gi.add(e),e(Z),()=>{gi.delete(e)}},add(e){e.key&&yi.set(e.key,e.id),Z=[e,...Z],bi()},remove(e,t){vi(e,t)},removeAllAtPosition(e,t=`replaced`){let n=Z.filter(t=>t.position===e).map(e=>e.id);for(let e of n)vi(e,t)},consumePendingDismissReason(e){let t=_i.get(e);return t!==void 0&&_i.delete(e),t},cleanup(e){for(let[t,n]of yi)if(n===e){yi.delete(t);break}},getActiveToastIdByKey(e){return yi.get(e)},update(e,t){return Z.find(t=>t.id===e)?(Z=Z.map(n=>n.id===e?{...n,...t,_refreshedAt:Date.now()}:n),bi(),!0):!1}};var xi=200,Si=100,Ci={"top-left":`top-0 left-0 items-start`,"top-center":`top-0 left-1/2 -translate-x-1/2 items-center`,"top-right":`top-0 right-0 items-end`,"bottom-left":`bottom-0 left-0 items-start`,"bottom-center":`bottom-0 left-1/2 -translate-x-1/2 items-center`,"bottom-right":`bottom-0 right-0 items-end`},wi={"top-left":`-translate-x-full`,"top-center":`-translate-y-full`,"top-right":`translate-x-full`,"bottom-left":`-translate-x-full`,"bottom-center":`translate-y-full`,"bottom-right":`translate-x-full`},Ti={"top-left":`place-items-start`,"top-center":`items-start justify-items-center`,"top-right":`items-start justify-items-end`,"bottom-left":`items-end justify-items-start`,"bottom-center":`items-end justify-items-center`,"bottom-right":`items-end justify-items-end`};function Ei(e){return e.startsWith(`top`)}function Di(e){return typeof e==`function`}var Oi=()=>()=>{},ki=()=>!0,Ai=()=>!1;function ji(e){return e.reduce((e,t)=>((e[t.position]??=[]).push(t),e),{})}function Mi(e,t){let n=wi[t];return T(`transition-all duration-200 ease-out motion-reduce:transition-none motion-reduce:transform-none`,e?`translate-x-0 translate-y-0 opacity-100`:`opacity-0 ${n}`)}function Ni(e){return e.animationState===`entering`?{...e,animationState:`visible`}:e}function Pi(e,t){return t&&e.animationState!==`exiting`?{...e,animationState:`exiting`}:e}function Fi({toast:e,remainingTime:t,onExitComplete:n,onClose:r,onHoverStart:i,onHoverEnd:a}){let[o,s]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=requestAnimationFrame(()=>s(!0));return()=>cancelAnimationFrame(e)},[]),(0,u.useEffect)(()=>{if(e.animationState!==`exiting`)return;let t=setTimeout(()=>n(e.id),xi);return()=>clearTimeout(t)},[e.animationState,e.id,n]);let c=(0,u.useCallback)(()=>r(e.id),[r,e.id]),l=o&&e.animationState!==`exiting`,f=Di(e.content)?e.content(c,t):e.content;return(0,d.jsx)(`div`,{className:T(`pointer-events-auto`,Mi(l,e.position)),onMouseEnter:i,onMouseLeave:a,children:f})}function Ii(e,t){let[n,r]=(0,u.useState)(()=>new Map),i=(0,u.useRef)(new Map),a=(0,u.useRef)(null),o=(0,u.useRef)(!1),s=(0,u.useCallback)(e=>{let t=i.current.get(e);t?.timeoutId&&clearTimeout(t.timeoutId)},[]),c=(0,u.useCallback)((e,n)=>{s(e.id);let a=n??e.duration,o=Date.now(),c=window.setTimeout(()=>{t.current.set(e.id,`timeout`),Q.remove(e.id)},a);i.current.set(e.id,{timeoutId:c,startedAt:o,remainingTime:a,isPaused:!1,refreshedAt:e._refreshedAt}),r(t=>new Map(t).set(e.id,a))},[s,t]),l=(0,u.useCallback)(()=>{a.current||=window.setInterval(()=>{let e=Date.now();r(t=>{let n=new Map(t);return i.current.forEach((t,r)=>{if(!t.isPaused&&t.timeoutId){let i=e-t.startedAt;n.set(r,Math.max(0,t.remainingTime-i))}}),n})},Si)},[]),d=(0,u.useCallback)(()=>{if(o.current)return;o.current=!0;let e=Date.now();i.current.forEach((t,n)=>{t.timeoutId&&clearTimeout(t.timeoutId);let r=e-t.startedAt;i.current.set(n,{...t,timeoutId:null,remainingTime:Math.max(0,t.remainingTime-r),isPaused:!0})}),a.current&&=(clearInterval(a.current),null)},[]),f=(0,u.useCallback)(()=>{o.current&&(o.current=!1,i.current.forEach((t,n)=>{if(t.isPaused&&t.remainingTime>0){let r=e.find(e=>e.id===n);r&&c(r,t.remainingTime)}}),l())},[e,c,l]),p=(0,u.useCallback)(e=>{i.current.delete(e),r(t=>{let n=new Map(t);return n.delete(e),n})},[]);return(0,u.useEffect)(()=>{e.forEach(e=>{if(e.persistent)return;let t=i.current.get(e.id);t?t.refreshedAt!==e._refreshedAt&&c(e):c(e)}),e.some(e=>!e.persistent)&&l()},[e,c,l]),(0,u.useEffect)(()=>()=>{a.current&&clearInterval(a.current)},[]),{remainingTimes:n,pauseAll:d,resumeAll:f,cleanupTimer:p}}function Li(){let[e,t]=(0,u.useState)([]),[n,r]=(0,u.useState)([]),i=(0,u.useRef)(new Set),a=(0,u.useRef)(new Map),o=(0,u.useRef)([]),{remainingTimes:s,pauseAll:c,resumeAll:l,cleanupTimer:p}=Ii(e,a);(0,u.useEffect)(()=>Q.subscribe(t),[]);let m=(0,u.useSyncExternalStore)(Oi,ki,Ai),h=(0,u.useCallback)(e=>{e.callbacks?.onOpen?.()},[]),g=(0,u.useCallback)((e,t)=>{t===`manual`?e.callbacks?.onClose?.():(t===`timeout`||t===`replaced`)&&e.callbacks?.onAutoClose?.(),e.callbacks?.onDismiss?.(t)},[]);(0,u.useEffect)(()=>{let t=new Set(e.map(e=>e.id)),n=new Map(e.map(e=>[e.id,e])),s=i.current;o.current.filter(e=>!t.has(e.id)&&e.animationState!==`exiting`).forEach(e=>{g(e,a.current.get(e.id)??Q.consumePendingDismissReason(e.id)??`timeout`),a.current.delete(e.id)}),r(r=>{let i=r.map(e=>{let t=n.get(e.id);return t?{...e,content:t.content,duration:t.duration}:e}).map(e=>Pi(e,!t.has(e.id))).map(Ni),a=[...e.filter(e=>!s.has(e.id)).map(e=>(h(e),{...e,animationState:`entering`})),...i];return o.current=a,a}),i.current=t},[e,h,g]);let _=(0,u.useCallback)(e=>{r(t=>{let n=t.filter(t=>t.id!==e);return o.current=n,n}),p(e),Q.cleanup(e)},[p]),v=(0,u.useCallback)(e=>{a.current.set(e,`manual`),Q.remove(e)},[]);if(!m)return null;let y=ji(n);return(0,f.createPortal)((0,d.jsx)(d.Fragment,{children:Object.entries(y).map(([e,t])=>{let n=t.filter(e=>e.singleSlot),r=t.filter(e=>!e.singleSlot),i=n.length>0?(0,d.jsx)(`div`,{className:T(`isolate inline-grid max-w-[min(100vw,100%)] grid-cols-1 grid-rows-1`,Ti[e]),children:n.map((e,t)=>(0,d.jsx)(`div`,{className:`col-span-full col-start-1 row-span-full row-start-1`,style:{zIndex:n.length-t},children:(0,d.jsx)(Fi,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l})},e.id))}):null,a=r.map(e=>(0,d.jsx)(Fi,{toast:e,remainingTime:s.get(e.id)??e.duration,onExitComplete:_,onClose:v,onHoverStart:c,onHoverEnd:l},e.id));return(0,d.jsx)(`div`,{className:T(`gap-2 p-4 pointer-events-none fixed z-1000 flex flex-col items-end`,Ci[e]),children:Ei(e)?(0,d.jsxs)(d.Fragment,{children:[i,a]}):(0,d.jsxs)(d.Fragment,{children:[a,i]})},e)})}),document.body)}function Ri({title:e,value:t}){return(0,d.jsxs)(`div`,{className:`flex flex-col`,children:[(0,d.jsx)(`div`,{className:`mb-1 text-sm font-semibold text-neutral-900`,children:e}),(0,d.jsx)(`div`,{className:`text-sm font-normal text-neutral-900`,children:t})]})}const zi={amber:{bg:`bg-amber-200`,text:`text-amber-700`},blue:{bg:`bg-blue-200`,text:`text-blue-700`},cyan:{bg:`bg-cyan-200`,text:`text-cyan-700`},emerald:{bg:`bg-emerald-200`,text:`text-emerald-700`},fuchsia:{bg:`bg-fuchsia-200`,text:`text-fuchsia-700`},green:{bg:`bg-green-200`,text:`text-green-700`},indigo:{bg:`bg-indigo-200`,text:`text-indigo-700`},lime:{bg:`bg-lime-200`,text:`text-lime-700`},orange:{bg:`bg-orange-200`,text:`text-orange-700`},pink:{bg:`bg-pink-200`,text:`text-pink-700`},purple:{bg:`bg-purple-200`,text:`text-purple-700`},rose:{bg:`bg-rose-200`,text:`text-rose-700`},sky:{bg:`bg-sky-200`,text:`text-sky-700`},slate:{bg:`bg-slate-200`,text:`text-slate-700`},stone:{bg:`bg-stone-200`,text:`text-stone-700`},teal:{bg:`bg-teal-200`,text:`text-teal-700`},violet:{bg:`bg-violet-200`,text:`text-violet-700`}},Bi=Object.keys(zi);var Vi=(0,p.tv)({base:`font-semibold flex shrink-0 items-center justify-center rounded-full leading-none select-none`,variants:{size:{xs:`h-[16px] w-[16px] text-[0.5em]`,sm:`h-[20px] w-[20px] text-[0.625em]`,md:`h-[28px] w-[28px] text-[0.75em]`,lg:`h-[32px] w-[32px] text-[0.875em]`,xl:`h-[36px] w-[36px] text-[0.875em]`}},defaultVariants:{size:`sm`}});function Hi(e){return ce(e.includes(`@`)?e.split(`@`)[0]:e)}function Ui({name:e,size:t=`sm`,className:n}){let r=Hi(e),i=zi[le(e,Bi)];return(0,d.jsx)(`div`,{role:`img`,"aria-label":e,className:T(Vi({size:t}),i.bg,i.text,n),children:r})}var Wi=(0,p.tv)({slots:{root:`gap-1 relative flex items-center rounded-full border`,text:`text-xs font-semibold truncate whitespace-nowrap`},variants:{status:{fire:{root:`border-tertiary-400 bg-tertiary-50`,text:`text-tertiary-500-variant-2`},insight:{root:`border-primary-400-variant-1 bg-primary-subtle`,text:`text-primary-600`},done:{root:`border-success-base bg-success-light`,text:`text-success-base`}}}}),Gi={fire:{icon:Cr,label:`Fire`,compact:`icon-action`,normal:`icon-label-action`},insight:{icon:Tr,label:`Insight`,compact:`label-only`,normal:`icon-label`},done:{icon:xr,label:`Done`,compact:`icon-action`,normal:`icon-label-action`}};function Ki({className:e,label:t,status:n,onAction:r,density:i=`normal`}){let[a,o]=(0,u.useState)(!1),s=i===`compact`,c=Gi[n],l=s?c.compact:c.normal,f=Wi({status:n}),p=l.includes(`icon`),m=l.includes(`label`),h=l.includes(`action`)&&r;return(0,d.jsx)($r,{className:T(f.root(),s?`h-6 w-6`:`py-1 pr-2.5 pl-2`,e),icon:p?(0,d.jsx)(c.icon,{size:16,className:T(f.text(),s&&h&&`inset-0 absolute m-auto`,s&&h&&a&&`opacity-0`)}):void 0,label:m?(0,d.jsx)(`span`,{className:T(f.text(),s&&`inset-0 absolute flex items-center justify-center text-center text-[10px]`),children:t??c.label}):void 0,action:h?(0,d.jsx)(J,{onClick:r,"aria-label":`Dismiss status`,className:T(`group`,s?T(`inset-0 absolute m-auto transition-opacity`,a?`opacity-100`:`opacity-0`):void 0),children:(0,d.jsx)(Ir,{size:16,className:T(f.text(),`group-hover:scale-90`)})}):void 0,onMouseEnter:s?()=>o(!0):void 0,onMouseLeave:s?()=>o(!1):void 0})}function qi({className:e}){return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,e),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`h-5 w-5 rounded`}),(0,d.jsx)(X,{className:`h-4 w-30`})]}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`m-1 h-5 w-5 rounded`}),(0,d.jsx)(X,{className:`m-1 h-5 w-5 rounded`})]})]})}function $({icon:e,...t}){return(0,d.jsx)(J,{...t,children:(0,u.cloneElement)(e,{"aria-hidden":!0,focusable:!1,className:T(`shrink-0`,e.props.className)})})}function Ji({className:e,...t}){return(0,d.jsx)(nr,{...t,className:T(`rounded px-2 py-1 font-medium bg-neutral-700 text-[0.625em] whitespace-nowrap text-white`,e)})}function Yi({totalItems:e=0,selectedItems:t=0,onSelectAll:n,actions:r,defaultDensity:i=`normal`,onDensityChange:a,className:o}){let s=e>0,c=s&&t===e,l=s&&t>0&&t<e,f=c?`All (${e})`:l?`${t}/${e} selected`:`Select all (${e})`,[p,m]=(0,u.useState)(i??`normal`),h=()=>{n(!c)};function g(e){m(e),a?.(e)}let _={fire:[{id:`fire`,tooltip:`Mark as fire`,icon:(0,d.jsx)(Cr,{size:20,className:`text-tertiary-500-variant-2`}),onClick:r.fire.on},{id:`not-fire`,tooltip:`Mark as not fire`,icon:(0,d.jsx)(Er,{size:20,className:`text-neutral-900`}),onClick:r.fire.off}],done:[{id:`done`,tooltip:`Mark as done`,icon:(0,d.jsx)(xr,{size:20,className:`text-success-base`}),onClick:r.done.on},{id:`not-done`,tooltip:`Mark as not done`,icon:(0,d.jsx)(br,{size:20,className:`text-neutral-900`}),onClick:r.done.off}],read:[{id:`unread`,tooltip:`Mark as unread`,icon:(0,d.jsx)(Or,{size:20,className:`text-primary-600-variant-1`}),onClick:r.read.on},{id:`read`,tooltip:`Mark as read`,icon:(0,d.jsx)(Dr,{size:20,className:`text-neutral-900`}),onClick:r.read.off}]},v=[{value:`normal`,tooltip:`Normal density`,icon:(0,d.jsx)(Jr,{size:20})},{value:`compact`,tooltip:`Compact density`,icon:(0,d.jsx)(Lr,{size:20})}];return(0,d.jsxs)(`div`,{className:T(`gap-4 grid grid-cols-[minmax(0,1fr)_auto_auto] items-center`,o),children:[(0,d.jsx)(qn,{checked:c,indeterminate:l,onChange:h,icon:(0,d.jsx)(yr,{size:16,className:`text-white-variant-7`}),indeterminateIcon:(0,d.jsx)(Kr,{size:12,className:`text-neutral-900`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`),children:f}),(0,d.jsx)(`div`,{className:`flex items-center divide-x divide-neutral-400-variant-1`,children:t>0&&(0,d.jsx)(d.Fragment,{children:Object.entries(_).map(([e,t])=>(0,d.jsx)(`div`,{className:`gap-2 px-1 flex items-center`,children:t.map(e=>(0,d.jsx)(Ji,{content:e.tooltip,className:`border-black`,children:(0,d.jsx)($,{className:`h-7 w-7 p-0`,onClick:e.onClick,icon:e.icon})},e.id))},e))})}),(0,d.jsx)(`div`,{className:`gap-2 flex items-center`,children:v.map(({value:e,tooltip:t,icon:n})=>{let r=p===e;return(0,d.jsx)(Ji,{content:t,children:(0,d.jsx)($,{className:T(`h-7 w-7 p-0 text-neutral-900`,r&&`bg-white-variant-4`),onClick:()=>g(e),icon:n,"aria-pressed":r})},e)})})]})}var Xi=(0,p.tv)({slots:{root:`gap-1 px-2 py-1 inline-flex w-fit items-center rounded-full border-[1.5px] transition-colors`,label:`gap-1 text-xs flex shrink-0 items-center whitespace-nowrap`},variants:{variant:{custom:{},fire:{},unread:{},insight:{},done:{}},selected:{false:{root:`border-neutral-300 bg-white hover:border-neutral-500-variant-4 hover:bg-neutral-100`,label:`font-semibold text-neutral-800 opacity-80 group-hover:opacity-100`},true:{root:`bg-white hover:bg-white`,label:`font-semibold text-neutral-900`}}},compoundVariants:[{variant:`custom`,selected:!0,class:{root:`border-primary-400 hover:border-primary-400`}},{variant:`fire`,selected:!0,class:{root:`border-tertiary-400 hover:border-tertiary-500`}},{variant:`unread`,selected:!0,class:{root:`border-primary-400 hover:border-primary-500`}},{variant:`insight`,selected:!0,class:{root:`border-brand-primary-100 hover:border-brand-primary-200`}},{variant:`done`,selected:!0,class:{root:`border-success-base hover:border-success-base`}}],defaultVariants:{variant:`custom`,selected:!1}}),Zi={fire:{icon:Cr,selectedIcon:Sr,label:`Fire`,iconColor:`text-tertiary-500`},unread:{icon:Or,label:`Unread`,iconColor:`text-primary-500`},insight:{icon:Tr,selectedIcon:wr,label:`Insights`,iconColor:`text-primary-600`},done:{icon:xr,label:`Done`,iconColor:`text-success-base`}};function Qi(e,t){return typeof e==`function`?(0,d.jsx)(e,{size:20,className:t}):(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function $i({variant:e=`custom`,label:t,count:n,selected:r=!1,icon:i,classNames:a,disabled:o,...s}){let c=!!o,l=Xi({variant:e,selected:!c&&r}),u=e===`custom`?void 0:Zi[e],f=i??(u&&!c&&r&&`selectedIcon`in u&&u.selectedIcon?u.selectedIcon:u?.icon),p=t??u?.label,m=c?`text-neutral-400`:r&&u?.iconColor?u.iconColor:`text-neutral-900 opacity-60 group-hover:opacity-80`;return(0,d.jsxs)(J,{...s,disabled:o,"aria-label":s[`aria-label`]??p,className:T(`group`,l.root(),c&&`border-neutral-300 bg-white hover:border-neutral-300`,a?.root),children:[f&&(0,d.jsx)(`span`,{className:T(`flex items-center`,a?.icon),children:Qi(f,T(`shrink-0`,m))}),p&&(0,d.jsxs)(`span`,{className:T(l.label(),c&&`font-medium text-neutral-400`,a?.label),children:[(0,d.jsx)(`span`,{children:p}),typeof n==`number`&&n>0&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(`font-medium`,a?.count),children:[`(`,n,`)`]})]})]})}function ea({orientation:e=`vertical`,className:t}){let n=e===`vertical`;return(0,d.jsxs)(`div`,{className:T(`flex w-fit items-center`,n?`gap-1 flex-col`:`gap-2 flex-row`,t),children:[(0,d.jsx)(X,{className:`size-8 rounded-full`}),(0,d.jsx)(`div`,{className:T(`gap-1 flex items-center`,n&&`text-[9px]`),children:(0,d.jsx)(X,{className:T(`h-3`,n?`w-10`:`w-14`)})})]})}var ta=(0,p.tv)({slots:{root:`flex w-fit items-center`,bubble:`size-8 flex items-center justify-center rounded-full border-[1.5px] transition-opacity hover:opacity-70`,label:`gap-1 flex items-center transition-colors`,count:`font-normal`,icon:``},variants:{variant:{primary:{},secondary:{},minimal:{bubble:`border-none text-primary-500`,label:`text-primary-500`}},status:{active:{},inactive:{}},orientation:{vertical:{root:`gap-1 flex-col`,label:`font-semibold text-[9px]`},horizontal:{root:`gap-2 flex-row`,label:`text-xs font-semibold`}}},compoundVariants:[{variant:`primary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`}},{variant:`primary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`opacity-60`,icon:`opacity-50 grayscale`}},{variant:`secondary`,status:`active`,class:{bubble:`border-primary-400-variant-1`,label:`text-neutral-900`,icon:`text-success-base`}},{variant:`secondary`,status:`inactive`,class:{bubble:`border-neutral-300`,label:`text-neutral-900`}}],defaultVariants:{variant:`primary`,orientation:`vertical`,status:`active`}});function na(e,t=99){return e>t?`${t}+`:String(e)}function ra(e,t){return(0,u.cloneElement)(e,{size:e.props.size??20,className:T(t,e.props.className)})}function ia({isPressed:e,isPortalHovered:t,portalPosition:n,onMouseEnter:r,onMouseLeave:i,onToggle:a}){let o=t&&!e,s=e?`Clear`:`Only`,c=e?`Reset state`:`Activate state`;return(0,f.createPortal)((0,d.jsx)(`div`,{className:`flex`,style:{position:`fixed`,top:n.top,left:n.left,zIndex:10},children:(0,d.jsx)(Ji,{content:s,position:`right-end`,children:(0,d.jsx)($n,{children:(0,d.jsx)(`div`,{role:`button`,tabIndex:0,"aria-pressed":e,"aria-label":c,className:`size-5 flex cursor-pointer items-center justify-center rounded-full bg-white`,onMouseEnter:r,onMouseLeave:i,onClick:a,children:(0,d.jsxs)(`div`,{className:T(`size-4 flex items-center justify-center rounded-full border`,e?`border-tertiary-500`:`border-neutral-800`),children:[o&&(0,d.jsx)(`div`,{className:`size-2 rounded-full bg-neutral-800`}),e&&(0,d.jsx)(Ir,{size:12,className:`text-tertiary-500`})]})})})})}),document.body)}function aa({icon:e,label:t,count:n,variant:r=`primary`,orientation:i=`vertical`,status:a=`active`,alwaysShowCount:o=!1,showToggleControl:s=!1,pressed:c,defaultPressed:l=!1,onPressedChange:f,classNames:p,...m}){let h=ta({variant:r,orientation:i,status:a}),g=(0,u.useRef)(null),[_,v]=(0,u.useState)(!1),[y,b]=(0,u.useState)(!1),[x,S]=(0,u.useState)(l),[ee,te]=(0,u.useState)(null),C=c??x,ne=s&&(_||y||C),w=typeof n==`number`&&n>0&&(o||a===`active`);function re(e){c===void 0&&S(e),f?.(e)}return(0,u.useLayoutEffect)(()=>{if(!ne||!g.current)return;function e(){let e=g.current?.getBoundingClientRect();e&&te({top:e.top-8,left:e.right-12})}return e(),window.addEventListener(`resize`,e),window.addEventListener(`scroll`,e,!0),()=>{window.removeEventListener(`resize`,e),window.removeEventListener(`scroll`,e,!0)}},[ne]),(0,d.jsxs)(J,{...m,className:T(h.root(),p?.root),onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:[(0,d.jsxs)(`div`,{className:`relative`,children:[(0,d.jsx)(`div`,{ref:g,className:T(h.bubble(),p?.bubble),children:ra(e,h.icon())}),ne&&ee&&typeof document<`u`&&ia({isPressed:C,isPortalHovered:y,portalPosition:ee,onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),onToggle:()=>re(!C)})]}),(0,d.jsxs)(`div`,{className:T(h.label(),p?.label),children:[(0,d.jsx)(`span`,{children:t}),w&&(0,d.jsxs)(`span`,{"aria-label":`${n} items`,className:T(h.count(),p?.count),children:[`(`,na(n),`)`]})]})]})}function oa({icon:e,label:t,className:n,selected:r,...i}){return(0,d.jsxs)(J,{className:T(`gap-2 px-3 py-2 flex items-center justify-start bg-white hover:bg-neutral-100`,r&&`bg-primary-500 text-white hover:bg-primary-bright`,n),...i,children:[e&&(0,u.cloneElement)(e,{size:e.props.size??16,className:T(r?`text-white`:`text-neutral-600-variant-7`,e.props.className)}),(0,d.jsx)(`span`,{className:T(`text-xs font-medium transition-colors`,r?`text-white`:`text-neutral-900`),children:t})]})}function sa({trigger:e,children:t,className:n,...r}){return(0,d.jsx)(li,{trigger:e,className:T(`mt-1 min-w-20 rounded p-0 shadow-lg overflow-hidden border border-neutral-400 bg-white`,n),...r,children:t})}function ca({mode:e,selectedDate:t,selectedRange:n,onDateSelect:r,onRangeSelect:i}){let{close:a}=Yn(),o=(0,u.useMemo)(()=>new Date,[]),[s,c]=(0,u.useState)(null),l=(0,u.useRef)(t),f=(0,u.useRef)(n),[p,m]=(0,u.useState)(()=>{let r=e===`single`?t??o:n.startDate??n.endDate??o;return{year:r.getFullYear(),month:r.getMonth()}});(0,u.useEffect)(()=>{(e===`single`&&t&&(!l.current||t.getTime()!==l.current.getTime())||e===`range`&&(n.startDate?.getTime()!==f.current.startDate?.getTime()||n.endDate?.getTime()!==f.current.endDate?.getTime()))&&queueMicrotask(()=>{if(e===`single`&&t)m({year:t.getFullYear(),month:t.getMonth()});else if(e===`range`){let e=n.startDate??n.endDate;e&&m({year:e.getFullYear(),month:e.getMonth()})}}),l.current=t,f.current=n},[e,t,n]);let h=(0,u.useMemo)(()=>ae(p.year,p.month),[p.year,p.month]);function g(t){let o=t.getMonth(),s=t.getFullYear();if((o!==p.month||s!==p.year)&&m({year:s,month:o}),e===`single`)r(t),a();else{let{startDate:e,endDate:r}=n;!e||r||te(t,e)?i({startDate:t,endDate:null}):(i({startDate:e,endDate:t}),a())}}function _(){m(e=>e.month===0?{year:e.year-1,month:11}:{year:e.year,month:e.month-1})}function v(){m(e=>e.month===11?{year:e.year+1,month:0}:{year:e.year,month:e.month+1})}let y=ie();return(0,d.jsxs)(`div`,{className:`mt-1 rounded-lg p-2 shadow-lg w-fit border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`mb-4 pb-2 flex items-center justify-between border-b border-neutral-400`,children:[(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{direction:`left`,size:20}),onClick:_,className:`hover:opacity-60`,"aria-label":`Previous month`}),(0,d.jsxs)(`div`,{className:`font-bold text-[10px] text-neutral-900`,children:[re(p.month),` `,p.year]}),(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{direction:`right`,size:20}),onClick:v,className:`hover:opacity-60`,"aria-label":`Next month`})]}),(0,d.jsx)(`div`,{className:`mb-2 grid grid-cols-7`,children:y.map(e=>(0,d.jsx)(`div`,{className:`p-0.5 font-bold flex items-center justify-center text-[9px] text-neutral-900`,children:e},e))}),(0,d.jsx)(`div`,{className:`grid grid-cols-7`,children:h.map(({day:r,date:i,isCurrentMonth:a})=>{let o=ee(i),l=e===`single`&&t&&S(i,t),{startDate:u,endDate:f}=n,p=u&&S(i,u),m=f&&S(i,f),h=u,_=s;e===`range`&&u&&!f&&s&&!te(s,u)?(h=u,_=s):(h=null,_=null);let v=e===`range`&&(C(i,u,f)||C(i,h,_)),y=l||p||m;return(0,d.jsx)(J,{type:`button`,onClick:()=>g(i),onMouseEnter:()=>{e===`range`&&u&&!f&&!te(i,u)&&c(i)},onMouseLeave:()=>{e===`range`&&c(null)},className:`p-0.5`,"aria-label":`Select ${b(i)}`,"aria-selected":y||void 0,children:(0,d.jsx)(`div`,{className:T(`rounded flex h-[26px] w-[26px] items-center justify-center text-[9px] transition-colors`,y&&`font-semibold bg-primary-500 text-white-variant-1 hover:bg-primary-500`,v&&!y&&`font-normal bg-primary-500/20 text-neutral-900 hover:bg-primary-500/30`,o&&!y&&!v&&`font-bold border border-primary-500 bg-primary-500/15 hover:bg-primary-500 hover:text-white`,!y&&!v&&(a?`text-neutral-900 hover:bg-neutral-300`:`text-neutral-600 hover:bg-neutral-200`)),children:r})},`${i.getFullYear()}-${i.getMonth()}-${r}`)})})]})}function la({displayText:e,disabled:t,className:n,onClear:r}){let{close:i}=Yn();function a(){r(),i()}return(0,d.jsxs)(Qn,{disabled:t,className:T(`gap-1 px-2 py-1 text-xs flex items-center justify-start rounded-full border border-neutral-300 bg-white text-left text-neutral-800 transition-colors hover:border-neutral-500`,e&&`border-primary-400 hover:border-primary-500 hover:bg-primary-light`,n),children:[(0,d.jsx)(Pr,{size:20,className:`text-primary-600`}),(0,d.jsx)(`span`,{className:`font-semibold`,children:`Date`}),e&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(`span`,{className:`font-normal`,children:[`(`,e,`)`]}),(0,d.jsx)($n,{children:(0,d.jsx)($,{icon:(0,d.jsx)(Ir,{size:16}),onClick:a,className:`text-neutral-600 hover:opacity-70`,"aria-label":`Close`})})]})]})}function ua({mode:e=`single`,value:t,defaultValue:n,onChange:r,disabled:i=!1,className:a}){let[o,s]=(0,u.useState)(e===`single`&&n?n:null),[c,l]=(0,u.useState)(()=>{if(e===`range`&&n){let e=n;return{startDate:e.startDate??null,endDate:e.endDate??null}}return{startDate:null,endDate:null}}),f=t!==void 0,p=e===`single`?f?t??null:o:null,m=e===`range`?f?t??{startDate:null,endDate:null}:c:{startDate:null,endDate:null};function h(t){e===`single`&&(f||s(t),r?.(t))}function g(t){e===`range`&&(f||l(t),r?.(t))}function _(){e===`single`?h(null):g({startDate:null,endDate:null})}return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(Xn,{trigger:(0,d.jsx)(la,{displayText:e===`single`?b(p):ne(m.startDate,m.endDate),disabled:i,className:a,onClear:_}),disabled:i,children:(0,d.jsx)(ca,{mode:e,selectedDate:p,selectedRange:m,onDateSelect:h,onRangeSelect:g})})})}const da={normal:{style:`h-[165px]`,value:165},compact:{style:`h-[60px]`,value:60}},fa={style:`h-[104px]`,value:104};function pa({density:e=`normal`,className:t,style:n}){return(0,d.jsx)(ei,{className:T(`rounded-lg p-4 w-full bg-white-variant-5`,e===`normal`?`${da.normal.style}`:`${da.compact.style}`,t),style:n,children:e===`normal`?(0,d.jsxs)(ti,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(ni,{children:(0,d.jsx)(X,{className:`h-5 w-5`})}),(0,d.jsxs)(ri,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[(0,d.jsx)(X,{className:`h-4 w-4`}),(0,d.jsx)(X,{className:`h-4 w-24`}),(0,d.jsx)(X,{className:`h-3 w-12`}),(0,d.jsx)(X,{className:`h-5 w-5 rounded-full`})]}),(0,d.jsx)(ii,{className:`h-5 flex items-center`,children:(0,d.jsx)(X,{className:`h-4 w-48`})}),(0,d.jsxs)(ai,{children:[(0,d.jsx)(X,{className:`my-1 h-4 w-full`}),(0,d.jsx)(X,{className:`my-1 h-4 w-3/4`})]}),(0,d.jsxs)(oi,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)(X,{className:`h-6 w-23 rounded-full`})}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(X,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(X,{className:`h-6 w-6 rounded-full`}),(0,d.jsx)(X,{className:`h-6 w-6 rounded-full`})]})]})]}):(0,d.jsxs)(ti,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(ni,{className:`flex items-center justify-center`,children:(0,d.jsx)(X,{className:`h-5 w-5`})}),(0,d.jsxs)(ri,{className:`min-w-0 gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`h-4 w-4`}),(0,d.jsx)(`div`,{className:`min-w-0 gap-2 flex items-center`,children:(0,d.jsx)(X,{className:`h-4 w-32`})}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(X,{className:`h-3 w-12`}),(0,d.jsx)(X,{className:`h-5 w-5 rounded-full`})]})]})})}var ma={fire:{className:`group`,icon:(0,d.jsx)(Cr,{size:20,className:`text-neutral-600 group-hover:text-tertiary-500-variant-2`})},done:{className:`group relative flex items-center justify-center w-6 h-6`,icon:(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(br,{size:24,className:`block text-neutral-600-variant-1 group-hover:hidden`}),(0,d.jsx)(xr,{size:24,className:`hidden text-success-base group-hover:block`})]})},link:{className:``,icon:(0,d.jsx)(Vr,{size:20,className:`text-primary-500`})}},ha=(0,p.tv)({base:`rounded-lg p-4 w-full border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,done:`hover:bg-success-base-variant-1`,priority:`hover:bg-tertiary-500-variant-4`},state:{unread:``,read:``,selected:``},density:{normal:da.normal.style,compact:da.compact.style}},compoundVariants:[{tone:`default`,state:`unread`,class:`border-primary-400`},{tone:`default`,state:`read`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-primary-500 bg-primary-light`},{tone:`done`,state:`unread`,class:`border-primary-400`},{tone:`done`,state:`read`,class:`border-success-base-variant-2`},{tone:`done`,state:`selected`,class:`border-success-base bg-success-base-variant-1`},{tone:`priority`,state:`unread`,class:`border-tertiary-500-variant-2`},{tone:`priority`,state:`read`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`}]});function ga({checked:e,onCheckedChange:t}){return(0,d.jsx)($n,{children:(0,d.jsx)(qn,{checked:e,onChange:t,icon:(0,d.jsx)(yr,{size:16,className:`text-white-variant-7`}),className:T(`[&_.checkbox-box]:rounded`,`[&_.checkbox-box]:border`,`[&_.checkbox-box]:border-neutral-600`,`[&_.checkbox-box]:bg-white`,`[&_.checkbox-box[data-state=checked]]:border-primary-500`,`[&_.checkbox-box[data-state=checked]]:bg-primary-500`,`[&_.checkbox-box[data-state=indeterminate]]:h-[18px]`,`[&_.checkbox-box[data-state=indeterminate]]:w-[18px]`,`[&_.checkbox-label]:flex`,`[&_.checkbox-label]:items-center`,`[&_.checkbox-label]:gap-1`,`[&_.checkbox-label]:text-xs`,`[&_.checkbox-label]:font-medium`,`[&_.checkbox-label]:text-neutral-900`)})})}function _a({statusBadges:e,density:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:`gap-2 flex`,children:(0,d.jsx)($n,{children:Object.keys(e).map(n=>{let r=e[n];return r?(0,d.jsx)(Ki,{status:n,label:r.label,onAction:r.onClick,density:t},n):null})})})}function va({actions:e,className:t}){return Object.keys(e).length===0?null:(0,d.jsx)(`div`,{className:T(`gap-2 flex`,t),children:(0,d.jsx)($n,{children:Object.keys(e).map(t=>{let n=e[t];return n?(0,d.jsx)($,{...ma[t],onClick:n.onClick},t):null})})})}function ya({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,timestampTooltip:o,workspace:s,read:c=!1,selected:l=!1,onSelect:u,checked:f=!1,onCheckedChange:p,statusBadges:m={},actions:h={},density:g=`normal`,className:_,style:v,isPriority:y,isDone:b}){return(0,d.jsx)(ei,{as:Qn,onPress:u,className:T(ha({tone:y?`priority`:b?`done`:`default`,state:l?`selected`:c?`read`:`unread`,density:g}),_),style:v,"data-service":t,children:g===`normal`?(0,d.jsxs)(ti,{className:`gap-x-2 gap-y-1`,children:[(0,d.jsx)(ni,{children:(0,d.jsx)(ga,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(ri,{className:`gap-2 grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center`,children:[e,(0,d.jsx)(`span`,{className:T(`min-w-0 -translate-x-0.5 text-sm font-bold truncate text-neutral-900`,c&&`font-medium`),children:n}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a}),(0,d.jsx)(Ji,{content:s,children:(0,d.jsx)(Ui,{name:s})})]}),(0,d.jsx)(ii,{className:T(`text-sm font-bold line-clamp-1 text-neutral-900`,c&&`font-medium`),children:r}),(0,d.jsx)(ai,{className:`min-w-0 text-sm line-clamp-2 text-neutral-900`,children:i}),(0,d.jsxs)(oi,{className:`mt-3 gap-1 grid grid-cols-[minmax(0,1fr)_auto] items-center`,children:[(0,d.jsx)(_a,{statusBadges:m}),(0,d.jsx)(va,{actions:h,className:`col-start-2 justify-self-end`})]})]}):(0,d.jsxs)(ti,{className:`gap-x-2 grid grid-cols-[auto_1fr] grid-rows-1`,children:[(0,d.jsx)(ni,{className:`flex items-center justify-center`,children:(0,d.jsx)(ga,{checked:f,onCheckedChange:p})}),(0,d.jsxs)(ri,{className:`min-w-0 gap-2 flex items-center`,children:[e,(0,d.jsx)(_a,{statusBadges:m,density:g}),(0,d.jsxs)(`div`,{className:T(`min-w-0 gap-2 text-sm font-bold flex items-center whitespace-nowrap text-neutral-900`,c&&`font-medium`),children:[(0,d.jsx)(`span`,{className:`truncate`,children:n}),(0,d.jsx)(`span`,{className:`text-sm shrink-0 text-neutral-500`,children:`•`}),(0,d.jsx)(`span`,{className:`truncate`,children:r})]}),(0,d.jsx)(`div`,{className:`flex-1`}),(0,d.jsx)(va,{actions:h}),(0,d.jsx)(Ji,{content:o,children:(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800`,children:a})}),(0,d.jsx)(Ji,{content:s,children:(0,d.jsx)(Ui,{name:s})})]})]})})}function ba({title:e,rows:t}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 text-sm flex flex-col bg-neutral-100-variant-3 text-neutral-800`,children:[e&&(0,d.jsx)(`div`,{className:`font-bold`,children:e}),(0,d.jsx)(`div`,{className:`gap-x-4 gap-y-1 grid grid-cols-[auto_1fr]`,children:t.map(({label:e,value:t})=>(0,d.jsxs)(u.Fragment,{children:[(0,d.jsxs)(`div`,{className:`font-bold`,children:[e,`:`]}),(0,d.jsx)(`span`,{className:`font-normal`,children:t})]},e))})]})}function xa({from:e,to:t,link:n,location:r}){return(0,d.jsx)(ba,{rows:[{label:`From`,value:e},{label:`To`,value:t},{label:`Link`,value:n},{label:`Location`,value:r}]})}function Sa({priorityText:e}){return(0,d.jsx)(`div`,{className:`top-14 min-h-14 gap-4 px-4 py-3 sticky z-5 flex shrink-0 items-center bg-tertiary-50`,children:(0,d.jsxs)(`div`,{className:`py-1 text-xs font-normal leading-[1.2] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold text-tertiary-500`,children:`High Urgency:\xA0`}),e]})})}function Ca({summary:e}){return(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(Zr,{size:24}),(0,d.jsxs)(`p`,{className:`text-sm font-normal leading-[1.3] text-neutral-800`,children:[(0,d.jsx)(`span`,{className:`font-bold`,children:`Summary:\xA0`}),e]})]})}function wa({summary:e,priorityText:t,children:n,className:r}){return(0,d.jsxs)(`div`,{className:T(`flex flex-col`,r),children:[t!=null&&(0,d.jsx)(Sa,{priorityText:t}),(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[e!=null&&(0,d.jsx)(Ca,{summary:e}),n]})]})}function Ta({detail:{summary:e,body:t,priorityText:n,from:r,to:i,link:a,location:o},className:s}){return(0,d.jsxs)(wa,{summary:e,priorityText:n,className:s,children:[(0,d.jsx)(xa,{from:r,to:i,link:a,location:o}),(0,d.jsx)(hi,{className:`max-w-[1260px px-4`,content:t})]})}function Ea({subject:e,to:t,date:n,from:r}){return(0,d.jsx)(ba,{rows:[{label:`Subject`,value:e},{label:`To`,value:t},{label:`Date`,value:n},{label:`From`,value:r}]})}function Da({detail:{summary:e,body:t,priorityText:n,subject:r,to:i,date:a,from:o},className:s}){return(0,d.jsxs)(wa,{summary:e,priorityText:n,className:s,children:[(0,d.jsx)(Ea,{subject:r,to:i,date:a,from:o}),(0,d.jsx)(hi,{className:`px-4 max-w-[1260px]`,content:t})]})}function Oa({timestamp:e}){return(0,d.jsxs)(`div`,{className:`gap-4 flex items-center`,children:[(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`}),(0,d.jsx)(`span`,{className:`px-3 py-1 text-xs font-semibold rounded-full border border-neutral-300-variant-2 text-neutral-600`,children:e}),(0,d.jsx)(`div`,{className:`h-px flex-1 bg-neutral-300-variant-2`})]})}function ka({isPriority:e,onExternalLinkClick:t,onMarkAsFireClick:n}){return(0,d.jsxs)(d.Fragment,{children:[t&&(0,d.jsx)($,{icon:(0,d.jsx)(Vr,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-primary-500`,title:`Open in Slack`,"aria-label":`Open in Slack`,onClick:t}),n&&!e&&(0,d.jsx)($,{icon:(0,d.jsx)(Cr,{size:16}),className:`inline-flex shrink-0 items-center text-neutral-600 transition-colors hover:text-tertiary-500`,title:`Mark as Fire`,"aria-label":`Mark as Fire`,onClick:n})]})}function Aa({content:e}){return(0,d.jsx)(`div`,{className:`text-sm leading-relaxed text-neutral-900`,children:(0,d.jsx)(hi,{className:`max-w-[1260px]`,content:e})})}function ja({replyId:e,replyCount:t}){let{openItems:n}=ir();return(0,d.jsxs)(`div`,{className:`gap-2 p-1.5 px-2 text-xs font-medium flex items-center text-neutral-600`,children:[(0,d.jsx)(Nr,{direction:n.has(`replies-${e}`)?`up`:`down`,size:12,className:`transition-transform`}),(0,d.jsxs)(`span`,{children:[t,` `,t===1?`reply`:`replies`]})]})}function Ma({replies:e}){if(!e||e.length===0)return null;let t=e[0]?.id;return t?(0,d.jsx)(ar,{className:`w-full`,type:`multiple`,defaultValue:[`replies-${t}`],children:(0,d.jsxs)(or,{value:`replies-${t}`,className:`gap-2 flex flex-col`,children:[(0,d.jsx)(sr,{value:`replies-${t}`,className:`rounded hover:bg-neutral-50 flex items-center justify-between transition-colors`,children:(0,d.jsx)(ja,{replyId:t,replyCount:e.length})}),(0,d.jsx)(cr,{value:`replies-${t}`,className:`ml-3 gap-4 pl-4 flex flex-col border-l-2 border-neutral-500`,children:e.map(e=>(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(Ui,{name:e.author,size:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp})]}),(0,d.jsx)(Aa,{content:e.body})]})]},e.id))})]})}):null}function Na({message:e,isPriority:t=!1}){return(0,d.jsx)(`div`,{className:`transition-colors`,children:(0,d.jsxs)(`div`,{className:`gap-3 flex`,children:[(0,d.jsx)(Ui,{name:e.author,size:t?`xl`:`lg`}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm font-semibold text-neutral-900`,children:e.author}),(0,d.jsx)(`div`,{className:`text-xs font-medium text-neutral-700`,children:e.timestamp}),(0,d.jsx)(ka,{isPriority:t,onExternalLinkClick:e.onExternalLinkClick,onMarkAsFireClick:e.onMarkAsFireClick})]}),(0,d.jsx)(Aa,{content:e.body})]}),e.replies&&e.replies.length>0&&(0,d.jsx)(Ma,{replies:e.replies})]})]})})}function Pa({priorityIndex:e,priorityTotal:t,onPreviousPriority:n,onNextPriority:r}){if(!e||!t||t<=1)return null;let i=e>1,a=e<t;return!a&&!i?null:(0,d.jsx)(`div`,{className:`mb-3 px-2 flex justify-center`,children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center justify-center`,children:[(0,d.jsx)(`div`,{className:`flex flex-1 justify-end`,children:a&&(0,d.jsxs)(J,{className:`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border border-tertiary-500 bg-white text-tertiary-500 transition-colors hover:bg-tertiary-50`,"aria-label":`Previous Fire`,onClick:n,children:[(0,d.jsx)(Nr,{direction:`left`,size:14}),(0,d.jsx)(`span`,{children:`Previous Fire`})]})}),(0,d.jsxs)(`span`,{className:`text-xs font-medium text-neutral-700`,children:[e,` / `,t]}),(0,d.jsx)(`div`,{className:`flex-1`,children:i&&(0,d.jsxs)(J,{className:`gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium flex border border-tertiary-500 bg-white text-tertiary-500 transition-colors hover:bg-tertiary-50`,"aria-label":`Next Fire`,onClick:r,children:[(0,d.jsx)(`span`,{children:`Next Fire`}),(0,d.jsx)(Nr,{direction:`right`,size:14})]})})]})})}function Fa({title:e,onMarkAsNotFireClick:t}){return e?(0,d.jsx)(`div`,{className:`pb-3 border-b border-neutral-200`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)($,{icon:(0,d.jsx)(Cr,{size:16,className:`text-tertiary-500`}),className:`h-6 w-6 relative flex shrink-0 items-center justify-center rounded-full border border-tertiary-400 bg-tertiary-50 transition-opacity hover:opacity-70`,"aria-label":`Priority`,onClick:t}),(0,d.jsx)(`h4`,{className:`text-tertiary-700 text-xs font-semibold tracking-wide uppercase`,children:e})]})}):null}function Ia({group:e,children:t,onPreviousPriority:n,onNextPriority:r,onMarkAsNotFireClick:i}){return e.isPriority?(0,d.jsxs)(`div`,{className:`relative scroll-mt-[180px]`,"data-group-id":e.id,children:[(0,d.jsx)(Pa,{priorityIndex:e.priorityIndex,priorityTotal:e.totalPriorityGroups,onPreviousPriority:n,onNextPriority:r}),(0,d.jsxs)(`div`,{className:`gap-4 rounded-r-lg p-4 relative flex flex-col border-l-[3px] border-tertiary-500 bg-tertiary-50-alpha-50`,children:[(0,d.jsx)(Fa,{title:e.priorityText,onMarkAsNotFireClick:i}),t]})]}):(0,d.jsx)(d.Fragment,{children:t})}function La({group:e,onPreviousPriority:t,onNextPriority:n}){return(0,d.jsxs)(`div`,{className:`gap-4 flex flex-col`,children:[(0,d.jsx)(Oa,{timestamp:e.timestamp}),(0,d.jsx)(Ia,{group:e,onPreviousPriority:t,onNextPriority:n,onMarkAsNotFireClick:e.messages[0]?.onMarkAsFireClick,children:e.messages.map(t=>(0,d.jsx)(Na,{message:t,isPriority:e.isPriority},t.id))})]})}function Ra({detail:{groups:e,summary:t,priorityText:n},className:r}){let i=e.filter(e=>e.isPriority).length,a=(0,u.useRef)(null),o=(0,u.useRef)(null);(0,u.useEffect)(()=>{e.length>0&&o.current?.scrollIntoView({behavior:`smooth`})},[e]);let s=i,c=(0,u.useCallback)(t=>{if(!a.current)return;let n=Array.from(a.current.querySelectorAll(`[data-group-id][class*="scroll-mt"]`)).filter(t=>{let n=t.getAttribute(`data-group-id`);return n?e.find(e=>e.id===n)?.isPriority:!1});if(t>=1&&t<=i&&n.length===i){let e=n[i-t];e&&e.scrollIntoView({behavior:`smooth`,block:`start`})}},[e,i]);return(0,d.jsx)(wa,{summary:t,priorityText:n,className:r,children:(0,d.jsxs)(`div`,{ref:a,className:`gap-4 flex flex-col`,children:[e.map(e=>{let t=e.isPriority?s--:0,n=t?()=>{let e=t+1;e<=i&&c(e)}:void 0,r=t?()=>{let e=t-1;e>=1&&c(e)}:void 0;return(0,d.jsx)(La,{group:{...e,priorityIndex:t,totalPriorityGroups:i},onPreviousPriority:n,onNextPriority:r},e.id)}),(0,d.jsx)(`div`,{ref:o,"aria-hidden":`true`})]})})}function za({issue:e,notification:t,project:n,task:r,dueDate:i,startDate:a,assignees:o,reporter:s,team:c,location:l,related:u}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ba,{rows:[{label:`Issue`,value:e},{label:`Notification`,value:t},{label:`Project`,value:n},{label:`Task`,value:r}]}),(0,d.jsx)(ba,{title:`Issue`,rows:[{label:`Due Date`,value:i},{label:`Start Date`,value:a},{label:`Assignees`,value:o},{label:`Reporter`,value:s},{label:`Team`,value:c},{label:`Location`,value:l},{label:`Related`,value:u}]})]})}function Ba({detail:{summary:e,body:t,priorityText:n,issue:r,notification:i,project:a,task:o,dueDate:s,startDate:c,assignees:l,reporter:u,team:f,location:p,related:m},className:h}){return(0,d.jsxs)(wa,{summary:e,priorityText:n,className:h,children:[(0,d.jsx)(za,{issue:r,notification:i,project:a,task:o,dueDate:s,startDate:c,assignees:l,reporter:u,team:f,location:p,related:m}),(0,d.jsx)(`h2`,{className:`px-4 text-sm font-bold text-neutral-900`,children:`Description`}),(0,d.jsx)(hi,{className:`px-4 max-w-[1260px]`,content:t})]})}var Va=(0,p.tv)({base:`gap-1 rounded-lg p-4 flex w-full flex-col justify-between border-[1.5px] bg-white-variant-5`,variants:{tone:{default:`hover:bg-primary-light`,priority:`hover:bg-tertiary-500-variant-4`},state:{normal:``,selected:``}},compoundVariants:[{tone:`default`,state:`normal`,class:`border-neutral-400`},{tone:`default`,state:`selected`,class:`border-primary-500 bg-primary-light`},{tone:`priority`,state:`normal`,class:`border-tertiary-500-variant-3`},{tone:`priority`,state:`selected`,class:`border-tertiary-500-variant-2 bg-tertiary-500-variant-4`}]});function Ha(e){return e!=null&&e!==``}function Ua({label:e}){return(0,d.jsxs)(`div`,{className:`h-5 gap-1 px-1.5 inline-flex shrink-0 items-center rounded-full border border-primary-400 bg-primary-light`,children:[(0,d.jsx)(Tr,{size:13,className:`text-primary-500`}),(0,d.jsx)(`span`,{className:`font-semibold text-[10px] leading-none whitespace-nowrap text-primary-500`,children:e})]})}function Wa({active:e,onClick:t}){return(0,d.jsx)($n,{children:(0,d.jsx)($,{className:T(`group h-5 w-5 rounded-full border border-neutral-300 hover:border-tertiary-400 hover:bg-tertiary-50`,e&&`border-tertiary-400 bg-tertiary-50`),icon:e?(0,d.jsxs)(`span`,{className:`contents`,children:[(0,d.jsx)(Sr,{size:16,className:`block text-tertiary-500-variant-2 opacity-100 group-hover:hidden group-hover:opacity-0`}),(0,d.jsx)(Ir,{size:12,className:`hidden text-neutral-500 opacity-0 group-hover:block group-hover:text-tertiary-500-variant-2 group-hover:opacity-100`,strokeWidth:2})]}):(0,d.jsx)(Cr,{size:16,className:`text-neutral-500 group-hover:text-tertiary-500-variant-2`}),onClick:t,"aria-pressed":e})})}function Ga({icon:e,service:t,sender:n,title:r,content:i,timestamp:a,workspace:o,selected:s=!1,onSelect:c,actions:l,className:u}){let{fire:f,insight:p,link:m}=l,h=p?.label??null;return(0,d.jsxs)(Qn,{onPress:c,className:T(Va({tone:f.active?`priority`:`default`,state:s?`selected`:`normal`}),fa.style,u),"data-service":t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 flex items-center justify-between`,children:[e,(0,d.jsx)(`span`,{className:`min-w-0 -translate-x-0.5 text-sm font-medium truncate text-neutral-900`,children:n}),(0,d.jsx)(Ji,{content:o,children:(0,d.jsx)(Ui,{name:o,size:`xs`})}),(0,d.jsx)(`span`,{className:`text-xs leading-tight font-semibold tracking-wide flex-1 text-right whitespace-nowrap text-neutral-800`,children:a}),Ha(h)&&(0,d.jsx)(Ua,{label:h}),(0,d.jsx)(Wa,{active:f.active,onClick:f.onClick})]}),(0,d.jsx)(`div`,{className:`text-sm font-medium line-clamp-1 text-neutral-900`,children:r}),(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`min-w-0 text-sm font-normal line-clamp-1 flex-1 text-neutral-700`,children:i}),(0,d.jsx)(Ji,{content:m.tooltip,children:(0,d.jsx)($n,{children:(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(Vr,{size:16,className:`text-neutral-800`}),className:`text-primary-500`,onClick:m.onClick})})})]})]})}function Ka({icon:e,subject:t,from:n,prefixTimestamp:r,timestamp:i,isPriority:a,isOpen:o,isFirstEvent:s,isSingleEvent:c,className:l,onFireClick:f}){return(0,d.jsx)(`div`,{className:T(`h-14 min-w-0 px-4 py-2 flex w-full items-center overflow-hidden bg-white`,l),children:(0,d.jsxs)(`div`,{className:`min-w-0 gap-3 flex w-full items-center overflow-hidden`,children:[s&&(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{direction:`left`,size:24,className:`text-neutral-700`}),"aria-label":`Go back`,className:`rounded p-1 md:hidden hover:bg-neutral-100`}),(0,u.cloneElement)(e,{size:36}),(0,d.jsxs)(`div`,{className:`w-0 min-w-0 flex-1 overflow-hidden`,children:[(0,d.jsx)(`h3`,{className:`text-sm font-bold block truncate leading-[1.3] text-neutral-900`,children:n}),(0,d.jsx)(`div`,{className:`text-sm font-normal block truncate leading-[1.3] text-neutral-900`,children:t})]}),(0,d.jsxs)(`div`,{className:`min-w-0 gap-1 text-xs flex max-w-[180px] shrink items-center text-right leading-[1.2] tracking-[0.12px]`,children:[r!=null&&(0,d.jsx)(`span`,{className:`min-w-0 font-normal truncate text-neutral-600`,children:r}),(0,d.jsx)(`span`,{className:`font-medium shrink-0 whitespace-nowrap text-neutral-600`,children:i})]}),(0,d.jsx)(Wa,{active:a,onClick:f}),!c&&(0,d.jsx)(`div`,{className:`gap-2 flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(Nr,{size:24,className:`text-neutral-700`,direction:o?`up`:`down`}),"aria-label":`Toggle event`,className:`rounded p-1 hover:bg-neutral-100`})}),s&&(0,d.jsx)(`div`,{className:`gap-2 md:hidden flex shrink-0 items-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(qr,{size:24,className:`text-neutral-700`}),"aria-label":`Close`,className:`rounded p-1 hover:bg-neutral-100`})})]})})}function qa({className:e}){return(0,d.jsxs)(`div`,{className:T(`w-full`,e),children:[(0,d.jsx)(Ja,{}),(0,d.jsx)(Ya,{})]})}function Ja({className:e}){return(0,d.jsx)(`div`,{className:T(`h-14 px-4 py-2 flex w-full items-center bg-white`,e),children:(0,d.jsxs)(`div`,{className:`gap-4 flex w-full items-center`,children:[(0,d.jsx)(X,{className:`h-9 w-9 rounded-full`}),(0,d.jsxs)(`div`,{className:`min-w-0 space-y-2 flex-1`,children:[(0,d.jsx)(X,{className:`h-3 w-3/12`}),(0,d.jsx)(X,{className:`h-3 w-9/12`})]}),(0,d.jsx)(X,{className:`h-3 w-14`})]})})}function Ya(){return(0,d.jsx)(`div`,{className:`flex flex-col`,children:(0,d.jsxs)(`div`,{className:`gap-4 p-4 flex flex-col`,children:[(0,d.jsxs)(`div`,{className:`gap-2 rounded-lg p-4 flex bg-neutral-100-variant-3`,children:[(0,d.jsx)(X,{className:`h-6 w-6 rounded`}),(0,d.jsxs)(`div`,{className:`space-y-2 flex-1`,children:[(0,d.jsx)(X,{className:`h-3 w-6/12`}),(0,d.jsx)(X,{className:`h-3 w-10/12`}),(0,d.jsx)(X,{className:`h-3 w-3/12`}),(0,d.jsx)(X,{className:`h-3 w-7/12`})]})]}),(0,d.jsxs)(`div`,{className:`space-y-3`,children:[(0,d.jsx)(X,{className:`h-3 w-2/12`}),(0,d.jsx)(X,{className:`h-3 w-11/12`}),(0,d.jsx)(X,{className:`h-3 w-10/12`}),(0,d.jsx)(X,{className:`h-3 w-9/12`}),(0,d.jsx)(X,{className:`h-3 w-4/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(X,{className:`h-3 w-3/12`}),(0,d.jsx)(X,{className:`h-3 w-11/12`}),(0,d.jsx)(X,{className:`h-3 w-6/12`}),(0,d.jsx)(X,{className:`h-3 w-7/12`}),(0,d.jsx)(X,{className:`h-3 w-8/12`}),(0,d.jsx)(`div`,{className:`h-3 w-full`}),(0,d.jsx)(X,{className:`h-3 w-5/12`}),(0,d.jsx)(X,{className:`h-3 w-4/12`})]})]})})}var Xa={email:e=>(0,d.jsx)(Da,{detail:e.detail}),message:e=>(0,d.jsx)(Ra,{detail:e.detail}),ticket:e=>(0,d.jsx)(Ba,{detail:e.detail}),calendar:e=>(0,d.jsx)(Ta,{detail:e.detail})};function Za(e){return Xa[e.type](e)}function Qa(e,t){return e.id??`${e.type}-${e.timestamp}-${t}`}function $a({events:e,expandedEventIndex:t,onFireClick:n}){if(e.length===0)return null;if(e.length===1){let t=e[0];return(0,d.jsxs)(`div`,{className:`min-h-0 w-full overflow-y-auto`,children:[(0,d.jsx)(Ka,{icon:t.icon,subject:t.subject,from:t.from,prefixTimestamp:t.prefixTimestamp,timestamp:t.timestamp,isPriority:t.isPriority,isOpen:!0,isFirstEvent:!0,isSingleEvent:!0,className:`top-0 sticky z-10 border-b border-neutral-400`,onFireClick:n}),Za(t)]})}return(0,d.jsx)(ar,{className:`w-full`,defaultValue:t===void 0?Qa(e[0],0):Qa(e[t],t),children:({openItems:t})=>(0,d.jsx)(d.Fragment,{children:e.map((r,i)=>{let a=Qa(r,i),o=t.has(a);return(0,d.jsxs)(or,{value:a,children:[(0,d.jsx)(sr,{value:a,className:`top-0 sticky z-10`,children:(0,d.jsx)(Ka,{icon:r.icon,subject:r.subject,from:r.from,prefixTimestamp:r.prefixTimestamp,timestamp:r.timestamp,isPriority:r.isPriority,isFirstEvent:i===0,isSingleEvent:!1,isOpen:o,className:`border-b border-neutral-400`,onFireClick:n})}),(0,d.jsx)(cr,{value:a,className:T(i<e.length-1&&o&&`border-b border-neutral-400`),children:Za(r)})]},a)})})})}const eo=({icon:e,title:t,description:n})=>(0,d.jsxs)(`div`,{className:`gap-3 p-4 flex w-full flex-1 flex-col items-center justify-center`,children:[(0,u.cloneElement)(e,{size:e.props.size??35,className:`text-neutral-500`}),(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col items-center justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium leading-[1.3] text-neutral-900`,children:t}),(0,d.jsx)(`p`,{className:`text-xs font-normal w-full text-center leading-[1.3] text-neutral-600`,children:n})]})]});function to({className:e,style:t}){return(0,d.jsxs)(`div`,{className:T(`gap-1 rounded-lg p-4 flex w-full flex-col justify-between bg-white-variant-5`,fa.style,e),style:t,children:[(0,d.jsxs)(`div`,{className:`gap-1.5 grid grid-cols-[auto_minmax(0,1fr)_auto_auto_auto_auto] items-center`,children:[(0,d.jsx)(X,{className:`h-4 w-4`}),(0,d.jsx)(X,{className:`h-4 max-w-40 w-full`}),(0,d.jsx)(X,{className:`size-4 rounded-full`}),(0,d.jsx)(X,{className:`h-3 w-12`}),(0,d.jsx)(X,{className:`h-5 w-16 rounded-full`}),(0,d.jsx)(X,{className:`size-5 rounded-full`})]}),(0,d.jsx)(X,{className:`h-4 w-7/12`}),(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(X,{className:`h-4 min-w-0 flex-1`}),(0,d.jsx)(X,{className:`size-5 shrink-0`})]})]})}function no({itemCount:e=3,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:Array.from({length:e}).map((e,t)=>(0,d.jsx)(ro,{},t))})}function ro(){return(0,d.jsxs)(`div`,{className:`gap-1 px-2 py-1 flex items-center rounded-full border border-neutral-300 bg-white`,children:[(0,d.jsx)(X,{className:`m-0.5 size-4 rounded-full`}),(0,d.jsx)(X,{className:`h-3 w-15`})]})}function io({children:e,className:t}){return(0,d.jsx)(`div`,{className:T(`gap-2 flex flex-wrap items-center`,t),children:e.map((e,t)=>(0,u.cloneElement)(e,{key:t}))})}function ao({classNames:e,...t}){return(0,d.jsx)(ui,{...t,classNames:{root:T(`right-3 rounded-2xl shadow-2xl top-[68px] z-99999 max-h-[calc(100vh-84px)] w-[300px] border border-neutral-200 bg-white`,e?.root),header:T(`p-4 bg-primary-500`,e?.header),title:T(`text-sm font-semibold text-white`,e?.title),closeButton:T(`text-white/70 hover:text-white`,e?.closeButton),body:e?.body,accordion:e?.accordion,item:e?.item,itemTrigger:T(`p-3 font-semibold hover:bg-neutral-100`,e?.itemTrigger),itemContent:T(`p-4`,e?.itemContent),footer:T(`px-4 py-3 border-t border-neutral-200`,e?.footer)}})}var oo=(0,p.tv)({base:`bg-neutral-400-variant-4`,variants:{orientation:{horizontal:`h-px w-full`,vertical:`h-full w-px`},inset:{none:``,sm:``,md:``,lg:``}},compoundVariants:[{orientation:`horizontal`,inset:`sm`,class:`mx-2`},{orientation:`horizontal`,inset:`md`,class:`mx-4`},{orientation:`horizontal`,inset:`lg`,class:`mx-6`},{orientation:`vertical`,inset:`sm`,class:`my-2`},{orientation:`vertical`,inset:`md`,class:`my-4`},{orientation:`vertical`,inset:`lg`,class:`my-6`}],defaultVariants:{orientation:`horizontal`,inset:`none`}});function so({className:e,...t}){return(0,d.jsx)(`div`,{className:T(oo(t),e)})}function co({orientation:e=`vertical`,itemCount:t=3,className:n}){let r=e===`vertical`,i=T(`size-full`,r?`overflow-x-hidden`:`overflow-y-hidden`),a=T(`gap-4 grid h-full w-full place-items-center`,r?`grid-cols-1`:`auto-cols-max grid-flow-col`,n),o=T(`flex w-fit items-center`,r?`gap-1 flex-col`:`gap-2 flex-row`),s=T(`h-3`,r?`w-12 text-[9px]`:`w-16 text-xs`),c=T(`h-3`,r?`w-8 text-[9px]`:`w-10 text-xs`);return(0,d.jsx)(`div`,{className:i,children:(0,d.jsxs)(`div`,{className:a,children:[Array.from({length:t}).map((e,t)=>(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(X,{className:`size-8 rounded-full`}),(0,d.jsx)(X,{className:s})]},t)),(0,d.jsx)(so,{orientation:r?`horizontal`:`vertical`}),(0,d.jsxs)(`div`,{className:o,children:[(0,d.jsx)(X,{className:`size-8 rounded-full`}),(0,d.jsx)(X,{className:c})]})]})})}function lo({orientation:e=`vertical`,children:t,onAddMore:n,className:r}){return(0,d.jsxs)(`div`,{className:T(`min-h-0 min-w-0 flex size-full`,e===`vertical`?`flex-col items-center`:`flex-row items-center`,r),children:[(0,d.jsx)(`div`,{className:T(`min-h-0 min-w-0 grid place-items-center`,e===`vertical`?`w-full flex-1 grid-cols-1 overflow-x-hidden overflow-y-auto`:`h-full flex-1 auto-cols-max grid-flow-col overflow-x-auto overflow-y-hidden`),children:t.map(t=>(0,u.cloneElement)(t,{classNames:{root:e===`vertical`?`py-2`:`px-2`}}))}),(0,d.jsx)(so,{orientation:e===`vertical`?`horizontal`:`vertical`}),(0,d.jsx)(aa,{icon:(0,d.jsx)(jr,{size:24}),label:`Add`,onClick:n,variant:`minimal`,orientation:e,classNames:{root:e===`vertical`?`py-2`:`px-2`}})]})}function uo(){return(0,d.jsx)(`div`,{className:`flex w-full items-center justify-center`,children:(0,d.jsx)(`div`,{className:`gap-2 rounded-lg px-3 py-3 flex w-full flex-col bg-neutral-100-variant-3`,children:(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsx)(X,{className:`h-4 w-1/3`}),(0,d.jsx)(X,{className:`h-4 w-1/8`})]})})})}function fo({icon:e,name:t,maxConnectionsPerService:n,connectLabel:r,onConnect:i,isLoading:a,children:o}){let s=u.Children.toArray(o).length;return(0,d.jsxs)(`div`,{className:`gap-4 rounded-lg p-4 flex flex-col border border-neutral-400 bg-white`,children:[(0,d.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,d.jsxs)(`div`,{className:`min-w-0 gap-2 flex flex-1 items-center`,children:[(0,d.jsx)(`div`,{className:`h-11 w-11 flex shrink-0 items-center justify-center`,children:(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,u.cloneElement)(e,{size:36,className:T({grayscale:!s&&a})})})}),(0,d.jsxs)(`div`,{className:`min-w-0 flex flex-1 flex-col`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold truncate text-neutral-800`,children:t}),(0,d.jsx)(`div`,{className:`text-xs font-normal text-neutral-800`,children:`${s} of ${n} accounts`})]})]}),s<n&&!a&&(0,d.jsx)(J,{className:`gap-1 rounded-lg px-2 py-1 text-xs font-bold flex shrink-0 items-center border border-brand-primary bg-white text-brand-primary transition-opacity hover:opacity-70`,onClick:i,children:r})]}),a&&(0,d.jsx)(uo,{}),s>0&&o&&(0,d.jsx)(`div`,{className:`gap-2 flex flex-col`,children:o})]})}function po({account:e,valid:t,disconnectLabel:n,onDisconnect:r,invalidLabel:i,invalidDescription:a}){return(0,d.jsxs)(`div`,{className:T(`gap-2 rounded-lg px-3 py-3 flex flex-col border`,t===!1?`border-error-base bg-error-base/5`:`border-brand-primary bg-neutral-100-variant-3`),children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center justify-between`,children:[(0,d.jsx)(`div`,{className:`text-xs font-bold flex-1 truncate text-neutral-800`,children:e}),(0,d.jsx)(J,{className:`text-xs font-medium shrink-0 text-error-base underline transition-opacity hover:opacity-70`,onClick:r,children:n})]}),t===!1&&(0,d.jsxs)(`div`,{className:`gap-2 flex`,children:[(0,d.jsx)(`div`,{className:`text-xs font-semibold text-error-base`,children:i}),(0,d.jsx)(`div`,{className:`text-xs text-neutral-500`,children:a})]})]})}function mo(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-r-10 border-y-transparent border-r-primary-500`,"aria-hidden":!0})}function ho(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-y-8 border-l-10 border-y-transparent border-l-primary-500`,"aria-hidden":!0})}function go(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-b-10 border-x-transparent border-b-primary-500`,"aria-hidden":!0})}function _o(){return(0,d.jsx)(`div`,{className:`h-0 w-0 shrink-0 border-x-8 border-t-10 border-x-transparent border-t-primary-500`,"aria-hidden":!0})}function vo({layout:e,placement:t}){return e===`horizontal`?t===`before`?(0,d.jsx)(mo,{}):(0,d.jsx)(ho,{}):t===`before`?(0,d.jsx)(go,{}):(0,d.jsx)(_o,{})}function yo(e,t,n){return t==null&&n==null?e:(0,d.jsx)(`div`,{className:t,style:n,"aria-hidden":!0,children:e})}function bo({stepLabel:e,title:t,description:n,titleAccessory:r,primaryAction:i,secondaryAction:a,layout:o,arrowPlacement:s=`before`,arrowWrapperClassName:c,arrowWrapperStyle:l,className:u,cardClassName:f}){let p=i!=null||a!=null,m=(0,d.jsxs)(`div`,{className:T(`rounded-xl p-4 shadow-xl bg-primary-500 text-white`,f),children:[e!=null&&(0,d.jsx)(`p`,{className:`mb-1 font-semibold tracking-widest text-[10px] text-white uppercase opacity-70`,children:e}),r==null?(0,d.jsx)(`div`,{className:`mb-1 text-sm leading-snug font-semibold`,children:t}):(0,d.jsxs)(`div`,{className:`mb-1 gap-1.5 flex items-center`,children:[(0,d.jsx)(`div`,{className:`text-sm leading-snug font-semibold`,children:t}),r]}),(0,d.jsx)(`div`,{className:`mb-4 text-xs leading-relaxed font-normal opacity-90`,children:n}),p&&(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[i,a]})]}),h=yo((0,d.jsx)(vo,{layout:o,placement:s}),c,l),g=s===`before`?(0,d.jsxs)(d.Fragment,{children:[h,m]}):(0,d.jsxs)(d.Fragment,{children:[m,h]});return o===`horizontal`?(0,d.jsx)(`div`,{className:T(`flex items-center`,u),children:g}):(0,d.jsx)(`div`,{className:T(`flex flex-col items-center`,u),children:g})}var xo=()=>()=>{},So=()=>!0,Co=()=>!1,wo=`rounded-lg bg-white px-4 py-1.5 text-xs font-semibold text-primary-500 transition-opacity hover:opacity-90`,To=`text-xs font-semibold text-white/70 transition-colors hover:text-white`;function Eo(e,t){let n=t.getBoundingClientRect();return e.layout===`horizontal`?{mode:`horizontal`,top:(e.horizontalAlign??`target-center`)===`viewport-center`?window.innerHeight/2:n.top+n.height/2,left:n.right+12}:{mode:`vertical`,top:n.bottom+10,left:n.left,arrowMarginLeft:n.width/2-8}}function Do(e){if(e==null)return null;let t=document.getElementById(e.targetId);return t?Eo(e,t):null}function Oo({currentStep:e,currentStepIndex:t,actions:n,steps:r,onFinish:i}){let a=(0,u.useSyncExternalStore)(xo,So,Co),[o,s]=(0,u.useState)(null),c=(0,u.useRef)(!1),l=e!=null;if((0,u.useLayoutEffect)(()=>{if(!a||!l){let e=requestAnimationFrame(()=>s(null));return()=>cancelAnimationFrame(e)}let t=0,n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame(()=>{s(Do(e))})};return n(),window.addEventListener(`scroll`,n,!0),window.addEventListener(`resize`,n),()=>{cancelAnimationFrame(t),window.removeEventListener(`scroll`,n,!0),window.removeEventListener(`resize`,n)}},[a,l,e,r]),(0,u.useEffect)(()=>{c.current&&!l&&i?.(),c.current=l},[l,i]),!a||typeof document>`u`||!l||o==null)return null;let p=e.layout===`vertical`&&o.mode===`vertical`?{marginLeft:o.arrowMarginLeft,...e.arrowWrapperStyle}:e.arrowWrapperStyle,m=(0,d.jsx)(bo,{stepLabel:e.stepLabel??(t==null?void 0:`${t+1} / ${r.length}`),title:e.title,description:e.description,titleAccessory:e.titleAccessory,layout:e.layout,arrowPlacement:e.arrowPlacement??`before`,className:T(`tour-fade-in-up`,e.layout===`vertical`&&`items-start`,e.className),cardClassName:e.cardClassName,arrowWrapperClassName:e.arrowWrapperClassName,arrowWrapperStyle:p,primaryAction:(0,d.jsx)(J,{type:`button`,className:wo,onClick:()=>n.dismissCurrentStep(),children:`Got it`}),secondaryAction:(0,d.jsx)(J,{type:`button`,className:To,onClick:()=>n.skipAll(),children:`Skip`})},e.id);return(0,f.createPortal)((0,d.jsx)(`div`,{...o.mode===`horizontal`?{className:`pointer-events-auto fixed z-[999999] flex items-center`,style:{top:o.top,left:o.left,transform:`translateY(-50%)`}}:{className:`pointer-events-auto fixed z-[999999] flex flex-col items-start`,style:{top:o.top,left:o.left}},children:m}),document.body)}function ko({steps:e,context:t,storageKey:n,onFinish:r,isEnabled:i=!0}){return(0,d.jsx)(mi,{steps:e,context:t,storageKey:n,isEnabled:i,children:t=>(0,d.jsx)(Oo,{...t,steps:e,onFinish:r})})}function Ao({value:e,defaultValue:t,placeholder:n=`Search...`,onChange:r,onKeyDown:i,onClear:a,disabled:o=!1,className:s}){let[c,l]=(0,u.useState)(t??``),f=typeof e==`string`,p=f?e:c,m=p.length>0;function h(e){f||l(e),r?.(e)}function g(){f||l(``),r?.(``),a?.()}return(0,d.jsxs)(`fieldset`,{role:`search`,className:T(`h-8 min-w-0 gap-1.5 px-2 py-1 flex items-center rounded-full border border-neutral-500-variant-3 bg-white`,o&&`pointer-events-none bg-neutral-200 opacity-70`,s),disabled:o,children:[(0,d.jsx)(Yr,{size:20,className:`text-neutral-700`}),(0,d.jsx)(Zn,{type:`text`,value:p,placeholder:n,onChange:h,onKeyDown:i,className:T(`m-0 h-5 min-w-0 p-0 text-xs flex-1 border-0 text-neutral-800`,`bg-transparent outline-none`,`placeholder:text-neutral-700-alpha-60`,o&&`text-neutral-700-alpha-60`)}),m&&!o&&(0,d.jsx)($,{type:`button`,icon:(0,d.jsx)(Ir,{size:16,className:`text-neutral-700`}),onClick:g,"aria-label":`Clear search`,className:`rounded p-0 transition-opacity hover:opacity-70`})]})}var jo=4e3,Mo=`bottom-right`;function No({onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}){return e||t||n||r?{onOpen:e,onClose:t,onAutoClose:n,onDismiss:r}:void 0}function Po({content:e,duration:t=jo,position:n=Mo,persistent:r,onOpen:i,onClose:a,onAutoClose:o,onDismiss:s,key:c,refresh:l=!1,dismissPrevious:u=!1}){if(c){let n=Q.getActiveToastIdByKey(c);if(n)return l&&Q.update(n,{content:e,duration:t}),{id:n,dismiss:()=>Q.remove(n),deduplicated:!0}}u&&Q.removeAllAtPosition(n);let d=crypto.randomUUID();return Q.add({id:d,content:e,duration:t,position:n,persistent:r,callbacks:No({onOpen:i,onClose:a,onAutoClose:o,onDismiss:s}),key:c,singleSlot:u}),{id:d,dismiss:()=>Q.remove(d),deduplicated:!1}}function Fo(e){return typeof e==`object`&&!!e&&`content`in e}function Io(e,t){return Fo(e)?Po(e):Po({content:e,...t})}function Lo({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a,options:o={}}){return Io(o=>(0,d.jsx)(Ro,{title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:()=>i(o),onAccept:()=>a(o)}),{...o})}function Ro({title:e,description:t,cancelLabel:n,acceptLabel:r,onCancel:i,onAccept:a}){return(0,d.jsxs)(`div`,{className:`max-w-md gap-6 rounded-lg p-6 shadow-xl flex w-full flex-col justify-center bg-white`,children:[(0,d.jsxs)(`div`,{className:`gap-3 flex flex-col justify-center`,children:[(0,d.jsx)(`h3`,{className:`text-base font-medium text-neutral-900`,children:e}),(0,d.jsx)(`p`,{className:`text-sm text-neutral-600`,children:t})]}),(0,d.jsxs)(`div`,{className:`gap-3 flex items-center justify-end`,children:[(0,d.jsx)(J,{className:`rounded-lg px-4 py-2 text-sm font-medium border border-neutral-300 text-neutral-900 transition-opacity hover:opacity-70`,onClick:()=>i(close),children:n}),(0,d.jsx)(J,{className:`rounded-lg px-4 py-2 text-sm font-medium bg-error-base text-white transition-opacity hover:opacity-90`,onClick:()=>a(close),children:r})]})]})}function zo({title:e,subtitle:t,description:n,onUndo:r,onClose:i,options:a={}}){return Io(a=>(0,d.jsx)(Bo,{title:e,subtitle:t,description:n,onUndo:()=>r(a),onClose:()=>i(a)}),{...a})}function Bo({title:e,subtitle:t,description:n,onUndo:r,onClose:i}){return(0,d.jsxs)(`div`,{className:`gap-3 rounded-lg p-4 grid max-w-[400px] min-w-[280px] grid-cols-[auto_1fr] bg-success-base`,children:[(0,d.jsxs)(`div`,{className:`gap-1 flex flex-col justify-center`,children:[(0,d.jsxs)(`div`,{className:`gap-2 flex items-center`,children:[(0,d.jsx)(`span`,{className:`text-xs font-medium text-white`,children:e}),(0,d.jsx)(J,{className:`text-xs font-semibold text-white underline transition-colors hover:text-neutral-200`,onClick:()=>r(close),children:`Undo`})]}),t&&(0,d.jsx)(`div`,{className:`text-xs font-semibold line-clamp-2 text-white-alpha-90`,children:t}),n&&(0,d.jsx)(`div`,{className:`text-xs line-clamp-2 text-white-alpha-80`,children:n})]}),(0,d.jsx)(`div`,{className:`flex items-center justify-center`,children:(0,d.jsx)($,{icon:(0,d.jsx)(Ir,{size:20,className:`text-white`,onClick:()=>i(close)})})})]})}const Vo=Object.assign(Io,{confirm:e=>Lo(e),undo:e=>zo(e)});function Ho({size:e=40,className:t,...n}){return(0,d.jsxs)(`svg`,{width:144/40*e,height:e,viewBox:`0 0 144 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:t,...n,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_4580)`,children:[(0,d.jsx)(`path`,{d:`M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z`,fill:`white`}),(0,d.jsx)(`path`,{d:`M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z`,fill:`white`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z`,fill:`#6663FF`})]}),(0,d.jsx)(`defs`,{children:(0,d.jsx)(`clipPath`,{id:`clip0_5796_4580`,children:(0,d.jsx)(`rect`,{width:`140`,height:`40`,fill:`white`})})})]})}function Uo({size:e=40,className:t,...n}){return(0,d.jsxs)(`svg`,{width:144/40*e,height:e,viewBox:`0 0 144 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,className:t,...n,children:[(0,d.jsxs)(`g`,{clipPath:`url(#clip0_5796_4580)`,children:[(0,d.jsx)(`path`,{d:`M65.1904 0.776112C66.9609 0.776112 68.4651 2.20751 68.4651 4.08969C68.4651 5.97188 66.9749 7.34751 65.1904 7.34751H57.3189V35.8778C57.3189 38.0342 55.6045 39.7909 53.6098 39.7909C51.6151 39.7909 49.8305 38.0295 49.8305 35.8778V7.34751H42.0105C40.24 7.34751 38.6797 5.91611 38.6797 4.08969C38.6797 2.26327 40.24 0.776112 42.0105 0.776112H65.2091H65.1904ZM88.0387 10.5403C89.982 10.5403 91.7479 12.1947 91.7479 14.128V36.152C91.7479 38.1364 89.9774 39.7397 88.0387 39.7397C86.1 39.7397 84.3809 38.1364 84.3809 36.152V35.1017C83.9324 36.8072 80.9987 39.7909 76.1637 39.7909C70.0628 39.7909 62.7425 35.1017 62.7425 25.0633C62.7425 15.025 70.1282 10.3869 76.1637 10.3869C80.0971 10.3869 83.2738 12.4922 84.3809 15.0761V14.1466C84.3809 12.2133 86.044 10.5588 88.0387 10.5588V10.5403ZM77.4998 33.5494C80.6017 33.5494 84.7126 31.2908 84.7126 25.0447C84.7126 18.7987 80.6017 16.54 77.4998 16.54C73.842 16.54 70.0114 19.4028 70.0114 25.0447C70.0114 30.6866 73.842 33.5494 77.4998 33.5494ZM105.309 36.0823C105.309 38.0667 103.646 39.67 101.703 39.67C99.7595 39.67 98.045 38.0667 98.045 36.0823V3.58778C98.045 1.65447 99.7081 0 101.703 0C103.698 0 105.309 1.65447 105.309 3.58778V36.1008V36.0823Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M125.262 10.0894C117.129 10.0894 110.523 16.6608 110.523 24.7518C110.523 32.8429 117.129 39.4143 125.262 39.4143C133.395 39.4143 140.001 32.8429 140.001 24.7518C140.001 16.6608 133.395 10.0894 125.262 10.0894ZM130.415 32.2341L130.405 32.2248C128.952 33.2194 127.168 33.8049 125.267 33.8049C120.24 33.8049 116.167 29.7524 116.167 24.7518C116.167 20.3368 119.339 16.6608 123.534 15.8707V24.0966C123.534 24.5288 123.688 24.9424 123.982 25.2677L130.405 32.2248C130.405 32.2248 130.415 32.2248 130.415 32.2202V32.2388V32.2341Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{d:`M33.3918 33.5632C36.6152 30.1473 38.6613 25.5092 38.6613 20.0904C38.6613 8.45336 29.0754 0.380859 19.312 0.380859C9.54853 0.380859 0 8.45336 0 20.095C0 31.7367 9.60459 39.7906 19.312 39.7906C22.5353 39.7906 25.6932 38.9123 28.5195 37.3601L30.2339 39.1214C30.7898 39.6745 31.57 39.9998 32.4015 39.9998C34.1159 39.9998 35.5034 38.6195 35.5034 36.9139C35.5034 36.1378 35.1717 35.4314 34.6718 34.8087L33.3872 33.5306V33.5632H33.3918ZM28.1738 28.3209L24.5674 24.6309C24.0629 24.0267 23.2313 23.7014 22.3998 23.7014C20.6854 23.7014 19.2979 25.1328 19.2979 26.7873C19.2979 27.6145 19.681 28.3395 20.2322 28.8925L23.2827 32.0295C21.9981 32.4757 20.6807 32.7545 19.2933 32.7545C13.1923 32.7545 7.81541 27.6842 7.81541 20.1136C7.81541 12.5431 13.1923 7.47276 19.2933 7.47276C25.3942 7.47276 30.8412 12.5431 30.8412 20.1136C30.8412 23.3714 29.8368 26.1831 28.1691 28.3395V28.3209H28.1738Z`,fill:`#6663FF`}),(0,d.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M130.428 32.2433L130.418 32.234C128.966 33.2286 127.181 33.8141 125.28 33.8141C120.253 33.8141 116.18 29.7616 116.18 24.761C116.18 20.346 119.352 16.6699 123.547 15.8799V24.1057C123.547 24.538 123.701 24.9516 123.995 25.2769L130.418 32.234C130.418 32.234 130.428 32.234 130.428 32.2294V32.248V32.2433Z`,fill:`#CEFF1A`})]}),(0,d.jsx)(`defs`,{children:(0,d.jsx)(`clipPath`,{id:`clip0_5796_4580`,children:(0,d.jsx)(`rect`,{width:`140`,height:`40`,fill:`white`})})})]})}exports.AVATAR_COLOR=zi,exports.AVATAR_COLOR_KEYS=Bi,exports.Accordion=ar,exports.AccordionContent=cr,exports.AccordionItem=or,exports.AccordionTrigger=sr,exports.AccountIcon=kr,exports.AccountInfo=Ri,exports.ActionMenu=sa,exports.ActionMenuItem=oa,exports.AddCircleIcon=Ar,exports.AddIcon=jr,exports.ArrowIcon=Nr,exports.AsanaIcon=ur,exports.Avatar=Ui,exports.Badge=$r,exports.BulkActions=Yi,exports.BulkActionsSkeleton=qi,exports.Button=J,exports.CalendarIcon=Pr,exports.Card=ei,exports.CardContent=ai,exports.CardFooter=oi,exports.CardHeader=ri,exports.CardLayout=ti,exports.CardSidebar=ni,exports.CardTitle=ii,exports.CheckCircleEmptyIcon=br,exports.CheckCircleIcon=xr,exports.CheckSquareIcon=Fr,exports.Checkbox=qn,exports.CheckboxIcon=yr,exports.ClickUpIcon=dr,exports.CloseIcon=Ir,exports.CompactDensityIcon=Lr,exports.CopyIcon=Rr,exports.DarkIcon=zr,exports.DatePicker=ua,exports.Divider=so,exports.Dropdown=Xn,exports.DropdownContext=Jn,exports.DropdownMenu=li,exports.DropdownMenuItem=ci,exports.EVENT_CARD_HEIGHT_SIZE=da,exports.EVENT_SUMMARY_CARD_HEIGHT_SIZE=fa,exports.EmptyBoxIcon=Br,exports.EventCard=ya,exports.EventCardSkeleton=pa,exports.EventDetail=$a,exports.EventDetailContentCalendar=Ta,exports.EventDetailContentEmail=Da,exports.EventDetailContentHeader=wa,exports.EventDetailContentMessage=Ra,exports.EventDetailContentTicket=Ba,exports.EventDetailHeader=Ka,exports.EventDetailPriority=Sa,exports.EventDetailSkeleton=qa,exports.EventDetailSummary=Ca,exports.EventEmptyState=eo,exports.EventSummaryCard=Ga,exports.EventSummaryCardSkeleton=to,exports.EventSummaryFireButton=Wa,exports.ExternalLinkIcon=Vr,exports.FilterBar=io,exports.FilterBarSkeleton=no,exports.FilterButton=$i,exports.FireFillIcon=Sr,exports.FireIcon=Cr,exports.GmailIcon=fr,exports.GoogleCalendarIcon=pr,exports.HelpPanel=ao,exports.HelpPanelEngine=ui,exports.HomeIcon=Hr,exports.Icon=Y,exports.IconButton=$,exports.IconCountButton=aa,exports.IconCountButtonSkeleton=ea,exports.InboxIcon=Ur,exports.InfoTooltip=Ji,exports.Input=Zn,exports.InsightFillIcon=wr,exports.InsightIcon=Tr,exports.IntegrationBar=lo,exports.IntegrationBarSkeleton=co,exports.IntegrationItem=po,exports.IntegrationItemSkeleton=uo,exports.IntegrationsCard=fo,exports.JiraIcon=mr,exports.LightIcon=Wr,exports.LogoIcon=lr,exports.MailIcon=Gr,exports.MinusIcon=Kr,exports.MoreIcon=qr,exports.NormalDensityIcon=Jr,exports.NotFireIcon=Er,exports.ONBOARDING_DISMISSED_STORAGE_KEY=`onboarding_dismissed`,exports.Onboarding=ko,exports.OnboardingCard=bo,exports.OnboardingEngine=mi,exports.OutlookCalendarIcon=hr,exports.OutlookIcon=gr,exports.Pressable=Qn,exports.QtaloBlueImage=Uo,exports.QtaloImage=Ho,exports.ReadIcon=Dr,exports.RichContent=hi,exports.SearchIcon=Yr,exports.SearchInput=Ao,exports.SignOutIcon=Xr,exports.Skeleton=X,exports.SlackIcon=_r,exports.StatusBadge=Ki,exports.StopPropagation=$n,exports.SummaryIcon=Zr,exports.SystemIcon=Qr,exports.TeamsIcon=vr,exports.Toaster=Li,exports.Tooltip=nr,exports.UnreadIcon=Or,exports.capitalize=oe,exports.cn=T,exports.colors=m,exports.formatDate=b,exports.formatDateRange=ne,exports.formatTimestamp=Gn,exports.generateCalendarDays=ae,exports.getDaysInMonth=_,exports.getFirstDayOfMonth=v,exports.getInitials=ce,exports.getMonthName=re,exports.getWeekdays=ie,exports.isDateBefore=te,exports.isDateInRange=C,exports.isSameDay=S,exports.isToday=ee,exports.normalizeContent=Ln,exports.parseDate=x,exports.pickColorFromPalette=le,exports.stringHash=se,exports.toMondayBased=y,exports.toast=Vo,exports.toastStore=Q,exports.useAccordion=ir,exports.useDropdown=Yn,exports.useLongPress=ue;
|
|
65
65
|
//# sourceMappingURL=index.cjs.map
|