@cleen/ui 0.1.262 → 0.1.263
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.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{cn as uo,useAnimateNumber as ob}from"@cleen/ui-core";import{forwardRef as nb,useMemo as u0}from"react";import{cn as Ma,usePositionClose as YI,ZIndex as JI}from"@cleen/ui-core";import{useEffect as c0,useRef as Ac,useState as s0}from"react";import{createPortal as jI}from"react-dom";import{jsx as zc,jsxs as i0}from"react/jsx-runtime";var Ie=({bg:e,label:t,color:r,closeOnClick:n=!0,hideOnMouseDown:l=!0,isOpen:a,children:c,hasArrow:s,placement:u="top",offset:p=8,className:i,classNames:g,isDisabled:h,openDelay:y=0,invertColors:b=!1,extraUpdateTriggers:f,allowNonDescendantHover:v=!0,zIndex:C=JI.TOOLTIP,style:x,styles:I,onClick:P,onMouseEnter:M,onMouseLeave:B,...k})=>{let[w,R]=s0(a??!1),[E,N]=s0(!1),L=Ac(null),F=Ac(null),D=Ac(null),{positionStyles:S,isMounted:_,optimalPosition:T}=YI({triggerRef:F,targetRef:L,position:u,isOpen:w&&!h,offset:p,extraUpdateTriggers:f});c0(()=>{R(a??!1)},[a]);let A=H=>{P?.(H),n&&R(!1)},z=(H,G)=>{if(a!==void 0)return;let $=F.current?.contains(H.target);!v&&!$||(G?(M?.(H),y&&y>0?D.current=setTimeout(()=>{R(!0)},y):R(!0)):(D.current&&(clearTimeout(D.current),D.current=null),R(!1),B?.(H)))};return c0(()=>{let H=()=>{l&&N(!0)},G=()=>{N(!1)};return document.addEventListener("mousedown",H),document.addEventListener("mouseup",G),()=>{document.removeEventListener("mousedown",H),document.removeEventListener("mouseup",G)}},[]),i0("div",{className:Ma("cleen",i),style:x,children:[zc("div",{ref:F,className:Ma("cleen-relative cleen-max-w-fit",g?.container),style:I?.container,onClick:A,onMouseEnter:H=>z(H,!0),onMouseLeave:H=>z(H,!1),...k,children:c}),t!==void 0&&w&&!h&&!E&&jI(zc("div",{className:"cleen",children:i0("div",{ref:L,className:Ma("cleen-shadow cleen-px-2 cleen-py-0.5 cleen-rounded-md cleen-text-sm cleen-transition-opacity cleen-duration-200 cleen-pointer-events-none","cleen-absolute",b?"cleen-bg-primary after:cleen-border-primary cleen-text-primary-foreground":"cleen-bg-surface after:cleen-border-surface cleen-text-primary",{"cleen-opacity-0":!_,"cleen-opacity-100":_},g?.labelContainer),style:{zIndex:C,top:`${S.top}px`,left:`${S.left}px`,...e&&{backgroundColor:e},...r&&{color:r},...I?.labelContainer},children:[t,zc("div",{className:Ma(s?["cleen-absolute cleen-border-[6px] cleen-border-surface",{"cleen-border-b-transparent cleen-border-x-transparent cleen-top-full cleen-drop-shadow-[0_1px_0.5px_rgba(var(--cleen-black),0.1)]":T==="top"||T==="top-left"||T==="top-right","cleen-left-[calc(50%-6px)]":T==="top"||T==="bottom","cleen-left-[6px]":T==="top-left"||T==="bottom-left","cleen-right-[6px]":T==="top-right"||T==="bottom-right","cleen-border-t-transparent cleen-border-x-transparent cleen-bottom-full cleen-drop-shadow-[0_-0.5px_0.5px_rgba(var(--cleen-black),0.1)]":T==="bottom"||T==="bottom-left"||T==="bottom-right","cleen-border-y-transparent cleen-border-r-transparent cleen-left-full cleen-top-[calc(50%-6px)] cleen-drop-shadow-[1px_0_0.5px_rgba(var(--cleen-black),0.1)]":T==="left","cleen-border-y-transparent cleen-border-l-transparent cleen-right-full cleen-top-[calc(50%-6px)] cleen-drop-shadow-[-0.25px_0_0.5px_rgba(var(--cleen-black),0.1)]":T==="right"}]:"cleen-hidden"),style:{}})]})}),document.body)]})};import{cn as Hn}from"@cleen/ui-core";var bt=e=>Math.max(0,Math.min(100,Number.isFinite(e)?e:0)),yt=(e,t,r)=>{let n=Number.isFinite(t)?t:0,l=Number.isFinite(r)?r:100;return l===n?0:(e-n)/(l-n)*100};import{cn as wa}from"@cleen/ui-core";import{jsx as Oc}from"react/jsx-runtime";var ka=({serie:e,minValue:t,maxValue:r,color:n,trackHeight:l,className:a,style:c})=>{if(e.type!=="clamp")return null;let s=typeof e.value=="number"?e.value:0,u=Number.isFinite(s)?s:t,p=bt(yt(u,t,r)),i=Math.max(2,e?.height??l*1.5),g={left:`${p}%`,top:"50%"};return e.tooltip?Oc(Ie,{invertColors:!0,...e.tooltip,className:wa("cleen-absolute cleen-z-10 -cleen-translate-x-1/2 -cleen-translate-y-1/2",e.tooltip.className),style:{...g,...e.tooltip.style},classNames:{...e.tooltip.classNames,labelContainer:wa("cleen-z-10",e.tooltip.classNames?.labelContainer)},children:Oc("div",{className:wa("cleen-rounded-full",a),style:{width:i,height:i,backgroundColor:n,...c}})}):Oc("div",{className:wa("cleen-absolute cleen-rounded-full -cleen-translate-x-1/2 -cleen-translate-y-1/2 cleen-pointer-events-none",a),style:{width:i,height:i,backgroundColor:n,...g,...c}})};import{jsx as Ba}from"react/jsx-runtime";var p0=({serie:e,minValue:t,maxValue:r,animatedGlobal:n=t,renderAnimated:l,color:a,trackHeight:c,trackRadius:s,className:u,style:p})=>{if(e.type!=="bar")return null;let i=typeof e.start=="number"?e.start:t,g=typeof e.end=="number"?e.end:r,h=bt(yt(i,t,r)),y=bt(yt(g,t,r));y<h&&([h,y]=[y,h]);let b=Math.max(0,l?n-h:y-h);if(b<1&&!l||l&&n>=y&&b===0)return Ba(ka,{serie:{...e,type:"clamp",value:h},color:a,trackHeight:c,minValue:t,maxValue:r,className:u,style:p});let f={left:`${h}%`,top:e?.height?(c-e.height)/2:0,width:`${b}%`,height:e?.height??"100%"},v={width:"100%",height:"100%"},C={background:a,borderRadius:e?.radius??s??(e?.height??c)/2};return e.tooltip?Ba(Ie,{invertColors:!0,...e.tooltip,className:Hn("cleen-absolute",e.tooltip.className),style:{...f,...e.tooltip.style},classNames:{...e.tooltip.classNames,container:Hn("cleen-size-full !cleen-max-w-none",e.tooltip.classNames?.container),labelContainer:Hn("cleen-z-10",e.tooltip.classNames?.labelContainer)},styles:{...e.tooltip.styles,container:{width:"100%",maxWidth:"none",height:"100%",...e.tooltip.styles?.container}},children:Ba("div",{className:Hn("cleen-relative cleen-size-full",u),style:{...C,...v,...p}})}):Ba("div",{className:Hn("cleen-absolute cleen-pointer-events-none",u),style:{...C,...f,...p}})};import{cn as eb}from"@cleen/ui-core";import{jsx as tb}from"react/jsx-runtime";var d0=({serie:e,minValue:t,maxValue:r,className:n,style:l})=>{let a=0;if(e.type==="clamp"){let c=typeof e.value=="number"?e.value:0,s=Number.isFinite(c)?c:t;a=bt(yt(s,t,r))}else{let c=typeof e.start=="number"?e.start:t,s=typeof e.end=="number"?e.end:r,u=bt(yt(c,t,r)),p=bt(yt(s,t,r));a=(u+p)/2}return tb("div",{className:eb("cleen-absolute -cleen-translate-x-1/2 cleen-whitespace-nowrap",n),style:{left:`${a}%`,...l},children:e.label})};var m0={color:"rgb(var(--cleen-neutral-200))",height:8};import{jsx as Zo,jsxs as h0}from"react/jsx-runtime";var rb=nb(function({series:t=[],track:r,renderAnimated:n,renderAnimatedDuration:l=1e3,className:a,classNames:c,style:s,styles:u,minValue:p=0,maxValue:i=100,...g},h){let y=u0(()=>({...m0,...r}),[r]),b=u0(()=>t.reduce((x,I)=>{if(I.type==="bar"){let P=typeof I.end=="number"?I.end:i,M=Math.max(p,Math.min(P,i));if(M>x)return M}return x},0),[t,p,i]),f=ob({targetNumber:b,defaultNumber:p,duration:l,disabled:!n}),{bars:v,clamps:C}=t.reduce((x,I,P)=>{if(I==null||!I.type)return x;let M=I.color??"var(--cleen-primary)";switch(I.type){case"clamp":x.clamps.push(Zo(ka,{serie:I,color:M,trackHeight:y.height,minValue:p,maxValue:i,className:uo(c?.clamp,I.className),style:{...u?.clamp,...I.style}},`clamp-${P}`));break;case"bar":x.bars.push(Zo(p0,{serie:I,color:M,trackHeight:y.height,trackRadius:y.radius,minValue:p,maxValue:i,renderAnimated:n,animatedGlobal:f,className:uo(c?.bar,I.className),style:{...u?.bar,...I.style}},`bar-${P}`));break;default:break}return x},{clamps:[],bars:[]});return Zo("div",{className:uo("cleen",a),style:s,ref:h,...g,children:h0("div",{className:uo("cleen-relative cleen-w-full",c?.container),style:u?.container,children:[h0("div",{className:uo("cleen-relative cleen-size-full",c?.trackWrapper),style:u?.trackWrapper,children:[Zo("div",{className:uo("cleen-relative cleen-w-full",c?.track),style:{height:y.height,backgroundColor:y.color,borderRadius:y.radius??y.height/2,...u?.track},children:v}),C]}),t.some(x=>!!x.label)&&Zo("div",{"aria-hidden":!0,className:uo("cleen-relative cleen-mt-2 cleen-h-5",c?.labels),style:u?.labels,children:t.map((x,I)=>!x||!x.type||!x.label?null:Zo(d0,{serie:x,minValue:p,maxValue:i,className:c?.label,style:u?.label},`label-${I}`))})]})})});import{cn as _c}from"@cleen/ui-core";import{jsx as Hc}from"react/jsx-runtime";var ab={xs:"cleen-size-4",sm:"cleen-size-5",md:"cleen-size-[30px] cleen-border-2",lg:"cleen-size-10 cleen-border-2",xl:"cleen-size-[50px] cleen-border-4"},lb={slow:1.3,normal:.65,fast:.4},ne=({isFullscreen:e,size:t="xs",stroke:r,speed:n="normal",className:l,classNames:a,style:c,styles:s,color:u,...p})=>Hc("div",{className:_c("cleen",l),style:c,children:Hc("div",{className:_c("cleen-flex cleen-justify-center cleen-items-center cleen-w-full cleen-h-full",{"cleen-h-screen cleen-w-screen cleen-bg-background":e},a?.container),style:s?.container,...p,children:Hc("span",{className:_c("cleen-border cleen-rounded-full cleen-border-t-primary cleen-border-x-primary cleen-border-b-transparent cleen-animate-[spin_0.65s_linear_infinite]",typeof t=="string"&&ab[t],a?.loader),style:{...u&&{borderInlineColor:u,borderTopColor:u},...typeof t=="number"&&{width:t,height:t},...typeof r=="number"&&{borderWidth:r},animationDuration:`${typeof n=="number"?n:lb[n]}s`,...s?.loader}})})});import{cn as Uc,useWidthDynamicResize as cb}from"@cleen/ui-core";import{forwardRef as sb,useImperativeHandle as ib,useRef as pb}from"react";var f0={primary:"cleen-text-primary-foreground cleen-shadow-sm cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]",secondary:"cleen-border cleen-border-border cleen-text-foreground hover:cleen-bg-surface hover:cleen-border-muted-foreground disabled:cleen-bg-surface disabled:cleen-text-muted-foreground","secondary-blue":"cleen-border cleen-border-blue cleen-text-blue hover:cleen-bg-blue hover:cleen-text-white disabled:cleen-bg-blue disabled:cleen-text-white","secondary-success":"cleen-border cleen-border-success cleen-text-success hover:cleen-bg-success hover:cleen-text-white disabled:cleen-bg-success disabled:cleen-text-white","secondary-error":"cleen-border cleen-border-error cleen-text-error hover:cleen-bg-error hover:cleen-text-white disabled:cleen-bg-error disabled:cleen-text-white",borderless:"cleen-text-foreground hover:cleen-bg-primary-100 hover:cleen-translate-y-0","borderless-blue":"cleen-text-blue-800 hover:cleen-bg-blue-dark-100 hover:cleen-translate-y-0","borderless-success":"cleen-text-success hover:cleen-bg-success-bg hover:cleen-translate-y-0","borderless-error":"cleen-text-error hover:cleen-bg-error-bg hover:cleen-translate-y-0",error:"cleen-text-white cleen-shadow-sm cleen-bg-error hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-error)),black_12%)]",success:"cleen-text-white cleen-shadow-sm cleen-bg-success hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-success)),black_12%)]",warning:"cleen-text-white cleen-shadow-sm cleen-bg-warning hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-warning)),black_12%)]",black:"cleen-text-white cleen-shadow-sm cleen-bg-black hover:cleen-bg-gray-modern-800",purple:"cleen-text-white cleen-shadow-sm cleen-bg-purple hover:cleen-bg-purple-800",indigo:"cleen-text-white cleen-shadow-sm cleen-bg-indigo hover:cleen-bg-indigo-800",yellow:"cleen-text-black cleen-shadow-sm cleen-bg-yellow hover:cleen-bg-yellow-500"},g0={primary:"rgb(var(--cleen-primary-foreground))",borderless:"rgb(var(--cleen-foreground))","borderless-blue":"rgb(var(--cleen-blue))","borderless-success":"rgb(var(--cleen-success))","borderless-error":"rgb(var(--cleen-error))",secondary:"rgb(var(--cleen-foreground))","secondary-blue":"rgb(var(--cleen-blue))","secondary-success":"rgb(var(--cleen-success))","secondary-error":"rgb(var(--cleen-error))",error:"rgb(var(--cleen-white))",success:"rgb(var(--cleen-white))",warning:"rgb(var(--cleen-white))",black:"rgb(var(--cleen-white))",purple:"rgb(var(--cleen-white))",indigo:"rgb(var(--cleen-white))",yellow:"rgb(var(--cleen-black))"};import{jsx as v0,jsxs as db}from"react/jsx-runtime";var re=sb(function({type:t="button",label:r,onClick:n,className:l,classNames:a,style:c,styles:s,disabled:u=!1,leftIcon:p,rightIcon:i,loaderColor:g,isLoading:h=!1,variant:y="primary",fullWidth:b=!1,children:f,...v},C){let x=pb(null);return ib(C,()=>x.current),cb({ref:x,skip:b},[h,p,i,b]),v0("div",{className:Uc("cleen",l),style:c,children:db("button",{type:t,ref:x,className:Uc("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1 cleen-px-4 cleen-py-2 cleen-rounded-lg focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2 cleen-font-semibold cleen-text-sm cleen-text-nowrap cleen-leading-6 cleen-transition-all hover:-cleen-translate-y-[1px] cleen-duration-200 cleen-ease-in-out",f0[y],{"cleen-w-full cleen-flex-1":b,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":u||h},a?.container),style:s?.container,disabled:h||u,onClick:n,...v,children:[h&&v0(ne,{size:"xs",color:g||g0[y],className:Uc("cleen-mr-1.5 cleen-w-fit",a?.loaderContainer),style:s?.loaderContainer,classNames:{loader:a?.loader},styles:{loader:s?.loader}}),p||null,r||f,i||null]})})});var I0={primary:"cleen-text-primary-foreground cleen-shadow-sm cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]",secondary:"cleen-border-border cleen-text-foreground hover:cleen-bg-surface hover:cleen-border-muted-foreground group-aria-disabled:cleen-bg-surface group-aria-disabled:cleen-text-muted-foreground","secondary-blue":"cleen-border-blue cleen-text-blue hover:cleen-bg-blue hover:cleen-text-white group-aria-disabled:cleen-bg-blue group-aria-disabled:cleen-text-white","secondary-success":"cleen-border-success cleen-text-success hover:cleen-bg-success hover:cleen-text-white group-aria-disabled:cleen-bg-success group-aria-disabled:cleen-text-white","secondary-error":"cleen-border-error cleen-text-error hover:cleen-bg-error hover:cleen-text-white group-aria-disabled:cleen-bg-error group-aria-disabled:cleen-text-white",borderless:"cleen-border-0 cleen-text-foreground hover:cleen-bg-primary-100","borderless-blue":"cleen-border-0 cleen-text-blue-800 hover:cleen-bg-blue-dark-100","borderless-success":"cleen-border-0 cleen-text-success hover:cleen-bg-success-bg","borderless-error":"cleen-border-0 cleen-text-error hover:cleen-bg-error-bg",error:"cleen-text-white cleen-shadow-sm cleen-bg-error hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-error)),black_12%)]",success:"cleen-text-white cleen-shadow-sm cleen-bg-success hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-success)),black_12%)]",warning:"cleen-text-white cleen-shadow-sm cleen-bg-warning hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-warning)),black_12%)]",black:"cleen-text-white cleen-shadow-sm cleen-bg-black hover:cleen-bg-gray-modern-800",purple:"cleen-text-white cleen-shadow-sm cleen-bg-purple hover:cleen-bg-purple-800",indigo:"cleen-text-white cleen-shadow-sm cleen-bg-indigo hover:cleen-bg-indigo-800",yellow:"cleen-text-black cleen-shadow-sm cleen-bg-yellow hover:cleen-bg-yellow-500"},b0={primary:"rgb(var(--cleen-primary-foreground))",borderless:"rgb(var(--cleen-foreground))","borderless-blue":"rgb(var(--cleen-blue))","borderless-success":"rgb(var(--cleen-success))","borderless-error":"rgb(var(--cleen-error))",secondary:"rgb(var(--cleen-foreground))","secondary-blue":"rgb(var(--cleen-blue))","secondary-success":"rgb(var(--cleen-success))","secondary-error":"rgb(var(--cleen-error))",error:"rgb(var(--cleen-white))",success:"rgb(var(--cleen-white))",warning:"rgb(var(--cleen-white))",black:"rgb(var(--cleen-white))",purple:"rgb(var(--cleen-white))",indigo:"rgb(var(--cleen-white))",yellow:"rgb(var(--cleen-black))"};import{cn as Ut,ColorHelpers as Pb}from"@cleen/ui-core";function Qo(e,t,r){return Math.min(Math.max(e,r),t)}var Gc=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}},Un=Gc;function mb(e){if(typeof e!="string")throw new Un(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=yb.test(e)?fb(e):e;let r=gb.exec(t);if(r){let c=Array.from(r).slice(1);return[...c.slice(0,3).map(s=>parseInt(Gn(s,2),16)),parseInt(Gn(c[3]||"f",2),16)/255]}let n=vb.exec(t);if(n){let c=Array.from(n).slice(1);return[...c.slice(0,3).map(s=>parseInt(s,16)),parseInt(c[3]||"ff",16)/255]}let l=Ib.exec(t);if(l){let c=Array.from(l).slice(1);return[...c.slice(0,3).map(s=>parseInt(s,10)),parseFloat(c[3]||"1")]}let a=bb.exec(t);if(a){let[c,s,u,p]=Array.from(a).slice(1).map(parseFloat);if(Qo(0,100,s)!==s)throw new Un(e);if(Qo(0,100,u)!==u)throw new Un(e);return[...Cb(c,s,u),Number.isNaN(p)?1:p]}throw new Un(e)}function ub(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return(t>>>0)%2341}var y0=e=>parseInt(e.replace(/_/g,""),36),hb="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let r=y0(t.substring(0,3)),n=y0(t.substring(3)).toString(16),l="";for(let a=0;a<6-n.length;a++)l+="0";return e[r]=`${l}${n}`,e},{});function fb(e){let t=e.toLowerCase().trim(),r=hb[ub(t)];if(!r)throw new Un(e);return`#${r}`}var Gn=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),gb=new RegExp(`^#${Gn("([a-f0-9])",3)}([a-f0-9])?$`,"i"),vb=new RegExp(`^#${Gn("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Ib=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Gn(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),bb=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,yb=/^[a-z]+$/i,C0=e=>Math.round(e*255),Cb=(e,t,r)=>{let n=r/100;if(t===0)return[n,n,n].map(C0);let l=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*(t/100),c=a*(1-Math.abs(l%2-1)),s=0,u=0,p=0;l>=0&&l<1?(s=a,u=c):l>=1&&l<2?(s=c,u=a):l>=2&&l<3?(u=a,p=c):l>=3&&l<4?(u=c,p=a):l>=4&&l<5?(s=c,p=a):l>=5&&l<6&&(s=a,p=c);let i=n-a/2,g=s+i,h=u+i,y=p+i;return[g,h,y].map(C0)};function xb(e,t,r,n){return`rgba(${Qo(0,255,e).toFixed()}, ${Qo(0,255,t).toFixed()}, ${Qo(0,255,r).toFixed()}, ${parseFloat(Qo(0,1,n).toFixed(3))})`}function Vn(e,t){let[r,n,l,a]=mb(e);return xb(r,n,l,a-t)}import{forwardRef as Sb,useMemo as Mb}from"react";import{jsx as Yo,jsxs as x0}from"react/jsx-runtime";var ie=Sb(function({header:t,footer:r,color:n,isGlass:l=!1,hoverable:a=!1,p:c,gap:s,radius:u=8,children:p,className:i,classNames:g,style:h,styles:y,...b},f){let{cardColor:v,backgroundColor:C,borderColor:x}=Mb(()=>{let I=Pb.getComputedColor(n);return I?{cardColor:I,backgroundColor:Vn(I,.9),borderColor:Vn(I,.8)}:{cardColor:I}},[n]);return Yo("div",{className:Ut("cleen",i),style:h,ref:f,...b,children:x0("div",{className:Ut("cleen-bg-background cleen-pt-6 cleen-border cleen-border-border cleen-flex cleen-flex-col cleen-gap-6 cleen-flex-grow cleen-transition-all cleen-duration-200",a&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",r?.content?"cleen-pb-3":"cleen-pb-6",g?.container),style:{...v&&{backgroundColor:C,borderColor:x,color:v},...l&&{backgroundImage:`linear-gradient(to right, rgba(var(--cleen-black), 0.03) 0%, rgba(255, 255, 255, 0) 5%),
|
|
2
|
-
linear-gradient(to bottom, rgba(var(--cleen-black), 0.03) 0%, rgba(255, 255, 255, 0) 10%)`},...c!==void 0&&{paddingBlock:c},...s!==void 0&&{gap:s},borderRadius:u,...y?.container},children:[(t?.content||t?.title)&&x0("div",{className:Ut("cleen-px-6",g?.header?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.header?.content},children:[t?.title&&Yo("div",{className:Ut("cleen-text-xl cleen-font-bold cleen-text-foreground-emphasis",g?.header?.title),style:{...v&&{color:v},...y?.header?.title},children:t?.title}),t?.content]}),(t?.content||t?.title)&&t?.hasDivider&&Yo("hr",{className:Ut("cleen-text-neutral-200",g?.header?.divider),style:{...v&&{color:x},...y?.header?.divider}}),p&&Yo("div",{className:Ut("cleen-px-6",g?.childrenContainer),style:{...c!==void 0&&{paddingInline:c},...y?.childrenContainer},children:p}),r?.content&&r?.hasDivider&&Yo("hr",{className:Ut("cleen-text-neutral-200",g?.footer?.divider),style:{...v&&{color:x},...y?.footer?.divider}}),r?.content&&Yo("div",{className:Ut("cleen-px-6 -cleen-mt-3 cleen-text-foreground",g?.footer?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.footer?.content},children:r.content})]})})});import{jsx as wb}from"react/jsx-runtime";function o({size:e=24,width:t,height:r,strokeWidth:n=1.5,isFilled:l=!1,children:a,...c}){return delete c.color1,delete c.color2,wb("svg",{xmlns:"http://www.w3.org/2000/svg",width:t??e,height:r??e,viewBox:"0 0 24 24",fill:l?"currentColor":"none",stroke:"currentColor",strokeWidth:l?0:n,strokeLinecap:"round",strokeLinejoin:"round",...c,children:a})}import{jsx as P0,jsxs as kb}from"react/jsx-runtime";var Vc=e=>kb(o,{...e,children:[P0("path",{d:"M9 10.5l2 2l4 -4"}),P0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})]});import{jsx as S0}from"react/jsx-runtime";var Wc=e=>S0(o,{isFilled:!0,...e,children:S0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4zM15.707 7.293a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as $c,jsxs as Bb}from"react/jsx-runtime";var qc=e=>Bb(o,{...e,children:[$c("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v5"}),$c("path",{d:"M16 19h6"}),$c("path",{d:"M19 16v6"})]});import{jsx as Gt,jsxs as Rb}from"react/jsx-runtime";var Xc=e=>Rb(o,{...e,children:[Gt("path",{d:"M3 21l18 0"}),Gt("path",{d:"M9 8l1 0"}),Gt("path",{d:"M9 12l1 0"}),Gt("path",{d:"M9 16l1 0"}),Gt("path",{d:"M14 8l1 0"}),Gt("path",{d:"M14 12l1 0"}),Gt("path",{d:"M14 16l1 0"}),Gt("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16"})]});import{jsx as M0,jsxs as Lb}from"react/jsx-runtime";var Kc=e=>Lb(o,{...e,children:[M0("path",{d:"M10 4h4a1 1 0 0 1 1 1v10M12 20h-2a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1"}),M0("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39"})]});import{jsx as Ra,jsxs as Db}from"react/jsx-runtime";var Zc=e=>Db(o,{...e,children:[Ra("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ra("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Ra("path",{d:"M16.32 3.27a6.5 6.5 0 0 1 0 7.46"}),Ra("path",{d:"M19.37 1.84a9 9 0 0 1 0 10.32"})]});import{jsx as Wn,jsxs as Tb}from"react/jsx-runtime";var Qc=e=>Tb(o,{viewBox:"0 0 48 48",...e,children:[Wn("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),Wn("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),Wn("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),Wn("path",{d:"M24 18v8"}),Wn("path",{d:"M24 30h.01"})]});import{jsx as La,jsxs as Nb}from"react/jsx-runtime";var Yc=e=>Nb(o,{viewBox:"0 0 48 48",...e,children:[La("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),La("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),La("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),La("path",{d:"M18 24l4 4l8 -8"})]});import{jsx as Jc,jsxs as Fb}from"react/jsx-runtime";var ho=e=>Fb(o,{...e,children:[Jc("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Jc("path",{d:"M12 8v4"}),Jc("path",{d:"M12 16h.01"})]});import{jsx as w0}from"react/jsx-runtime";var jc=e=>w0(o,{isFilled:!0,...e,children:w0("path",{d:"M14.897 1a4 4 0 0 1 2.664 1.016l.165 .156l4.1 4.1a4 4 0 0 1 1.168 2.605l.006 .227v5.794a4 4 0 0 1 -1.016 2.664l-.156 .165l-4.1 4.1a4 4 0 0 1 -2.603 1.168l-.227 .006h-5.795a3.999 3.999 0 0 1 -2.664 -1.017l-.165 -.156l-4.1 -4.1a4 4 0 0 1 -1.168 -2.604l-.006 -.227v-5.794a4 4 0 0 1 1.016 -2.664l.156 -.165l4.1 -4.1a4 4 0 0 1 2.605 -1.168l.227 -.006h5.793zm-2.887 14l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z"})});import{jsx as es,jsxs as Eb}from"react/jsx-runtime";var ts=e=>Eb(o,{...e,children:[es("path",{d:"M12 9v4"}),es("path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z"}),es("path",{d:"M12 16h.01"})]});import{jsx as $n,jsxs as Ab}from"react/jsx-runtime";var os=e=>Ab(o,{...e,children:[$n("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),$n("path",{d:"M14 7l6 0"}),$n("path",{d:"M17 4l0 6"})]});import{jsx as ns,jsxs as zb}from"react/jsx-runtime";var rs=e=>zb(o,{...e,children:[ns("path",{d:"M3 4m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),ns("path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"}),ns("path",{d:"M10 12l4 0"})]});import{jsx as Da,jsxs as Ob}from"react/jsx-runtime";var as=e=>Ob(o,{...e,children:[Da("path",{d:"M12 20l0 -10"}),Da("path",{d:"M12 20l4 -4"}),Da("path",{d:"M12 20l-4 -4"}),Da("path",{d:"M4 4l16 0"})]});import{jsx as Ta,jsxs as _b}from"react/jsx-runtime";var ls=e=>_b(o,{...e,children:[Ta("path",{d:"M4 12l10 0"}),Ta("path",{d:"M4 12l4 4"}),Ta("path",{d:"M4 12l4 -4"}),Ta("path",{d:"M20 4l0 16"})]});import{jsx as Na,jsxs as Hb}from"react/jsx-runtime";var cs=e=>Hb(o,{...e,children:[Na("path",{d:"M20 12l-10 0"}),Na("path",{d:"M20 12l-4 4"}),Na("path",{d:"M20 12l-4 -4"}),Na("path",{d:"M4 4l0 16"})]});import{jsx as Fa,jsxs as Ub}from"react/jsx-runtime";var ss=e=>Ub(o,{...e,children:[Fa("path",{d:"M4 20l16 0"}),Fa("path",{d:"M12 14l0 -10"}),Fa("path",{d:"M12 14l4 -4"}),Fa("path",{d:"M12 14l-4 -4"})]});import{jsx as Ea,jsxs as Gb}from"react/jsx-runtime";var is=e=>Gb(o,{...e,children:[Ea("path",{d:"M10 12l10 0"}),Ea("path",{d:"M10 12l4 4"}),Ea("path",{d:"M10 12l4 -4"}),Ea("path",{d:"M4 4l0 16"})]});import{jsx as Aa,jsxs as Vb}from"react/jsx-runtime";var ps=e=>Vb(o,{...e,children:[Aa("path",{d:"M14 12l-10 0"}),Aa("path",{d:"M14 12l-4 4"}),Aa("path",{d:"M14 12l-4 -4"}),Aa("path",{d:"M20 4l0 16"})]});import{jsx as za,jsxs as Wb}from"react/jsx-runtime";var ds=e=>Wb(o,{...e,children:[za("path",{d:"M12 10l0 10"}),za("path",{d:"M12 10l4 4"}),za("path",{d:"M12 10l-4 4"}),za("path",{d:"M4 4l16 0"})]});import{jsx as Oa,jsxs as $b}from"react/jsx-runtime";var ms=e=>$b(o,{...e,children:[Oa("path",{d:"M12 4l0 10"}),Oa("path",{d:"M12 4l4 4"}),Oa("path",{d:"M12 4l-4 4"}),Oa("path",{d:"M4 20l16 0"})]});import{jsx as us,jsxs as qb}from"react/jsx-runtime";var hs=e=>qb(o,{...e,children:[us("path",{d:"M12 5l0 14"}),us("path",{d:"M18 13l-6 6"}),us("path",{d:"M6 13l6 6"})]});import{jsx as k0,jsxs as Xb}from"react/jsx-runtime";var fs=e=>Xb(o,{...e,children:[k0("path",{d:"M17 7l-10 10"}),k0("path",{d:"M16 17l-9 0l0 -9"})]});import{jsx as gs,jsxs as Kb}from"react/jsx-runtime";var vs=e=>Kb(o,{...e,children:[gs("path",{d:"M12 5l0 14"}),gs("path",{d:"M16 15l-4 4"}),gs("path",{d:"M8 15l4 4"})]});import{jsx as B0,jsxs as Zb}from"react/jsx-runtime";var Is=e=>Zb(o,{...e,children:[B0("path",{d:"M7 7l10 10"}),B0("path",{d:"M17 8l0 9l-9 0"})]});import{jsx as bs,jsxs as Qb}from"react/jsx-runtime";var ys=e=>Qb(o,{...e,children:[bs("path",{d:"M5 12l14 0"}),bs("path",{d:"M5 12l6 6"}),bs("path",{d:"M5 12l6 -6"})]});import{jsx as Cs,jsxs as Yb}from"react/jsx-runtime";var xs=e=>Yb(o,{...e,children:[Cs("path",{d:"M5 12l14 0"}),Cs("path",{d:"M5 12l4 4"}),Cs("path",{d:"M5 12l4 -4"})]});import{jsx as Ps,jsxs as Jb}from"react/jsx-runtime";var Ss=e=>Jb(o,{...e,children:[Ps("path",{d:"M5 12l14 0"}),Ps("path",{d:"M13 18l6 -6"}),Ps("path",{d:"M13 6l6 6"})]});import{jsx as Ms,jsxs as jb}from"react/jsx-runtime";var ws=e=>jb(o,{...e,children:[Ms("path",{d:"M5 12l14 0"}),Ms("path",{d:"M15 16l4 -4"}),Ms("path",{d:"M15 8l4 4"})]});import{jsx as ks,jsxs as ey}from"react/jsx-runtime";var Bs=e=>ey(o,{...e,children:[ks("path",{d:"M12 5l0 14"}),ks("path",{d:"M18 11l-6 -6"}),ks("path",{d:"M6 11l6 -6"})]});import{jsx as R0,jsxs as ty}from"react/jsx-runtime";var Rs=e=>ty(o,{...e,children:[R0("path",{d:"M7 7l10 10"}),R0("path",{d:"M16 7l-9 0l0 9"})]});import{jsx as Ls,jsxs as oy}from"react/jsx-runtime";var Ds=e=>oy(o,{...e,children:[Ls("path",{d:"M12 5l0 14"}),Ls("path",{d:"M16 9l-4 -4"}),Ls("path",{d:"M8 9l4 -4"})]});import{jsx as L0,jsxs as ny}from"react/jsx-runtime";var Ts=e=>ny(o,{...e,children:[L0("path",{d:"M17 7l-10 10"}),L0("path",{d:"M8 7l9 0l0 9"})]});import{jsx as D0}from"react/jsx-runtime";var Ns=e=>D0(o,{...e,children:D0("path",{d:"M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5"})});import{jsx as _a,jsxs as ry}from"react/jsx-runtime";var Fs=e=>ry(o,{...e,children:[_a("path",{d:"M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),_a("path",{d:"M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),_a("path",{d:"M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),_a("path",{d:"M4 20h14"})]});import{jsx as qn,jsxs as ay}from"react/jsx-runtime";var Es=e=>ay(o,{...e,children:[qn("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),qn("path",{d:"M6 14.5a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M14 11a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v6.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M10 7a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v10.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M7 18.5h10"})]});import{jsx as T0,jsxs as ly}from"react/jsx-runtime";var As=e=>ly(o,{...e,children:[T0("path",{d:"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"}),T0("path",{d:"M9 17v1a3 3 0 0 0 6 0v-1"})]});import{jsx as N0,jsxs as cy}from"react/jsx-runtime";var zs=e=>cy(o,{...e,children:[N0("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),N0("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})]});import{jsx as F0}from"react/jsx-runtime";var Os=e=>F0(o,{...e,children:F0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})});import{jsx as E0}from"react/jsx-runtime";var _s=e=>E0(o,{isFilled:!0,...e,children:E0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4z"})});import{jsx as A0,jsxs as sy}from"react/jsx-runtime";var Hs=e=>sy(o,{...e,children:[A0("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v8"}),A0("path",{d:"M16 19h6"})]});import{jsx as Us,jsxs as iy}from"react/jsx-runtime";var Gs=e=>iy(o,{...e,children:[Us("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v6.5"}),Us("path",{d:"M20.5 21.5l-5 -5"}),Us("path",{d:"M15.5 21.5l5 -5"})]});import{jsx as Xn,jsxs as py}from"react/jsx-runtime";var Vs=e=>py(o,{...e,children:[Xn("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Xn("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Xn("path",{d:"M3 6l0 13"}),Xn("path",{d:"M12 6l0 13"}),Xn("path",{d:"M21 6l0 13"})]});import{jsx as Ha,jsxs as dy}from"react/jsx-runtime";var Ws=e=>dy(o,{...e,children:[Ha("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Ha("path",{d:"M9 13h-2"}),Ha("path",{d:"M13 10h-6"}),Ha("path",{d:"M11 7h-4"})]});import{jsx as $s,jsxs as my}from"react/jsx-runtime";var qs=e=>my(o,{...e,children:[$s("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),$s("path",{d:"M10 8h4"}),$s("path",{d:"M12 8v8"})]});import{jsx as Xs,jsxs as uy}from"react/jsx-runtime";var Ks=e=>uy(o,{...e,children:[Xs("path",{d:"M9 12l2 2l4 -4"}),Xs("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Xs("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as Kn,jsxs as hy}from"react/jsx-runtime";var Zs=e=>hy(o,{...e,children:[Kn("path",{d:"M15 12h.01"}),Kn("path",{d:"M12 12h.01"}),Kn("path",{d:"M9 12h.01"}),Kn("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Kn("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as Ct,jsxs as fy}from"react/jsx-runtime";var Qs=e=>fy(o,{...e,children:[Ct("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Ct("path",{d:"M4 8h16"}),Ct("path",{d:"M20 12h-16"}),Ct("path",{d:"M4 16h16"}),Ct("path",{d:"M9 4v4"}),Ct("path",{d:"M14 8v4"}),Ct("path",{d:"M8 12v4"}),Ct("path",{d:"M16 12v4"}),Ct("path",{d:"M11 16v4"})]});import{jsx as Ua,jsxs as gy}from"react/jsx-runtime";var Ys=e=>gy(o,{...e,children:[Ua("path",{d:"M3 7m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Ua("path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2"}),Ua("path",{d:"M12 12l0 .01"}),Ua("path",{d:"M3 13a20 20 0 0 0 18 0"})]});import{jsx as Vt,jsxs as vy}from"react/jsx-runtime";var Js=e=>vy(o,{...e,children:[Vt("path",{d:"M4 3m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Vt("path",{d:"M8 7m0 1a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v1a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1z"}),Vt("path",{d:"M8 14l0 .01"}),Vt("path",{d:"M12 14l0 .01"}),Vt("path",{d:"M16 14l0 .01"}),Vt("path",{d:"M8 17l0 .01"}),Vt("path",{d:"M12 17l0 .01"}),Vt("path",{d:"M16 17l0 .01"})]});import{jsx as Jo,jsxs as Iy}from"react/jsx-runtime";var Zn=e=>Iy(o,{...e,children:[Jo("path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12z"}),Jo("path",{d:"M16 3v4"}),Jo("path",{d:"M8 3v4"}),Jo("path",{d:"M4 11h16"}),Jo("path",{d:"M11 15h1"}),Jo("path",{d:"M12 15v3"})]});import{jsx as jo,jsxs as by}from"react/jsx-runtime";var js=e=>by(o,{...e,children:[jo("path",{d:"M15 15m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),jo("path",{d:"M13 17.5v4.5l2 -1.5l2 1.5v-4.5"}),jo("path",{d:"M10 19h-5a2 2 0 0 1 -2 -2v-10c0 -1.1 .9 -2 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -1 1.73"}),jo("path",{d:"M6 9l12 0"}),jo("path",{d:"M6 12l3 0"}),jo("path",{d:"M6 15l2 0"})]});import{jsx as z0}from"react/jsx-runtime";var xt=e=>z0(o,{...e,children:z0("path",{d:"M5 12l5 5l10 -10"})});import{jsx as O0,jsxs as yy}from"react/jsx-runtime";var fo=e=>yy(o,{...e,children:[O0("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),O0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as _0,jsxs as Cy}from"react/jsx-runtime";var ei=e=>Cy(o,{...e,children:[_0("path",{d:"M16.8 4.3a9 9 0 1 0 4.3 6.1"}),_0("path",{d:"M8.5 12l3 3l9.5 -10"})]});import{jsx as H0}from"react/jsx-runtime";var ti=e=>H0(o,{isFilled:!0,...e,children:H0("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as U0,jsxs as xy}from"react/jsx-runtime";var oi=e=>xy(o,{...e,children:[U0("path",{d:"M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1"}),U0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as G0}from"react/jsx-runtime";var ni=e=>G0(o,{isFilled:!0,...e,children:G0("path",{d:"M12.01 2.011a3.2 3.2 0 0 1 2.113 .797l.154 .145l.698 .698a1.2 1.2 0 0 0 .71 .341l.135 .008h1a3.2 3.2 0 0 1 3.195 3.018l.005 .182v1c0 .27 .092 .533 .258 .743l.09 .1l.697 .698a3.2 3.2 0 0 1 .147 4.382l-.145 .154l-.698 .698a1.2 1.2 0 0 0 -.341 .71l-.008 .135v1a3.2 3.2 0 0 1 -3.018 3.195l-.182 .005h-1a1.2 1.2 0 0 0 -.743 .258l-.1 .09l-.698 .697a3.2 3.2 0 0 1 -4.382 .147l-.154 -.145l-.698 -.698a1.2 1.2 0 0 0 -.71 -.341l-.135 -.008h-1a3.2 3.2 0 0 1 -3.195 -3.018l-.005 -.182v-1a1.2 1.2 0 0 0 -.258 -.743l-.09 -.1l-.697 -.698a3.2 3.2 0 0 1 -.147 -4.382l.145 -.154l.698 -.698a1.2 1.2 0 0 0 .341 -.71l.008 -.135v-1l.005 -.182a3.2 3.2 0 0 1 3.013 -3.013l.182 -.005h1a1.2 1.2 0 0 0 .743 -.258l.1 -.09l.698 -.697a3.2 3.2 0 0 1 2.269 -.944zm3.697 7.282a1 1 0 0 0 -1.414 0l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.32 1.497l2 2l.094 .083a1 1 0 0 0 1.32 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as V0}from"react/jsx-runtime";var Qn=e=>V0(o,{...e,children:V0("path",{d:"M6 9l6 6l6 -6"})});import{jsx as W0,jsxs as Py}from"react/jsx-runtime";var ri=e=>Py(o,{...e,children:[W0("path",{d:"M7 7l5 5l5 -5"}),W0("path",{d:"M7 13l5 5l5 -5"})]});import{jsx as $0}from"react/jsx-runtime";var ai=e=>$0(o,{...e,children:$0("path",{d:"M8 8v8h8"})});import{jsx as q0,jsxs as Sy}from"react/jsx-runtime";var li=e=>Sy(o,{...e,children:[q0("path",{d:"M11 5v8h8"}),q0("path",{d:"M7 9v8h8"})]});import{jsx as X0}from"react/jsx-runtime";var ci=e=>X0(o,{...e,children:X0("path",{d:"M16 8v8h-8"})});import{jsx as K0,jsxs as My}from"react/jsx-runtime";var si=e=>My(o,{...e,children:[K0("path",{d:"M13 5v8h-8"}),K0("path",{d:"M17 9v8h-8"})]});import{jsx as Z0}from"react/jsx-runtime";var Pt=e=>Z0(o,{...e,children:Z0("path",{d:"M15 6l-6 6l6 6"})});import{jsx as Q0,jsxs as wy}from"react/jsx-runtime";var ii=e=>wy(o,{...e,children:[Q0("path",{d:"M11 7l-5 5l5 5"}),Q0("path",{d:"M17 7l-5 5l5 5"})]});import{jsx as Y0}from"react/jsx-runtime";var ot=e=>Y0(o,{...e,children:Y0("path",{d:"M9 6l6 6l-6 6"})});import{jsx as J0,jsxs as ky}from"react/jsx-runtime";var Yn=e=>ky(o,{...e,children:[J0("path",{d:"M7 7l5 5l-5 5"}),J0("path",{d:"M13 7l5 5l-5 5"})]});import{jsx as j0,jsxs as By}from"react/jsx-runtime";var pi=e=>By(o,{...e,children:[j0("path",{d:"M8 9l4 -4l4 4"}),j0("path",{d:"M16 15l-4 4l-4 -4"})]});import{jsx as ef}from"react/jsx-runtime";var St=e=>ef(o,{...e,children:ef("path",{d:"M6 15l6 -6l6 6"})});import{jsx as tf,jsxs as Ry}from"react/jsx-runtime";var di=e=>Ry(o,{...e,children:[tf("path",{d:"M7 11l5 -5l5 5"}),tf("path",{d:"M7 17l5 -5l5 5"})]});import{jsx as of}from"react/jsx-runtime";var mi=e=>of(o,{...e,children:of("path",{d:"M8 16v-8h8"})});import{jsx as nf,jsxs as Ly}from"react/jsx-runtime";var ui=e=>Ly(o,{...e,children:[nf("path",{d:"M7 15v-8h8"}),nf("path",{d:"M11 19v-8h8"})]});import{jsx as rf}from"react/jsx-runtime";var hi=e=>rf(o,{...e,children:rf("path",{d:"M8 8h8v8"})});import{jsx as af,jsxs as Dy}from"react/jsx-runtime";var fi=e=>Dy(o,{...e,children:[af("path",{d:"M9 7h8v8"}),af("path",{d:"M5 11h8v8"})]});import{jsx as en,jsxs as Ty}from"react/jsx-runtime";var gi=e=>Ty(o,{...e,children:[en("path",{d:"M3 12l3 0"}),en("path",{d:"M12 3l0 3"}),en("path",{d:"M7.8 7.8l-2.2 -2.2"}),en("path",{d:"M16.2 7.8l2.2 -2.2"}),en("path",{d:"M7.8 16.2l-2.2 2.2"}),en("path",{d:"M12 12l9 3l-4 2l-2 4l-3 -9"})]});import{jsx as lf,jsxs as Ny}from"react/jsx-runtime";var vi=e=>Ny(o,{...e,children:[lf("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),lf("path",{d:"M12 7v5l3 3"})]});import{jsx as Ga,jsxs as Fy}from"react/jsx-runtime";var Ii=e=>Fy(o,{...e,children:[Ga("path",{d:"M12 7v5l2 2"}),Ga("path",{d:"M16.5 20.5l2 -1.5l-2 -1.5z"}),Ga("path",{d:"M19 20.5l2 -1.5l-2 -1.5z"}),Ga("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as bi,jsxs as Ey}from"react/jsx-runtime";var yi=e=>Ey(o,{...e,children:[bi("path",{d:"M12 7v5l2 2"}),bi("path",{d:"M17 22l5 -3l-5 -3z"}),bi("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as cf,jsxs as Ay}from"react/jsx-runtime";var Ci=e=>Ay(o,{...e,children:[cf("path",{d:"M12 8l0 4l2 2"}),cf("path",{d:"M3.05 13a9 9 0 1 0 .5 -4m-.5 -5v5h5"})]});import{jsx as Jn,jsxs as zy}from"react/jsx-runtime";var xi=e=>zy(o,{...e,children:[Jn("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Jn("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667v-8.666"}),Jn("path",{d:"M11 14h6"}),Jn("path",{d:"M14 11v6"}),Jn("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as Pi,jsxs as Oy}from"react/jsx-runtime";var Si=e=>Oy(o,{...e,children:[Pi("path",{d:"M7 8l-4 4l4 4"}),Pi("path",{d:"M17 8l4 4l-4 4"}),Pi("path",{d:"M14 4l-4 16"})]});import{jsx as tn,jsxs as _y}from"react/jsx-runtime";var Mi=e=>_y(o,{...e,children:[tn("path",{d:"M4 8h16"}),tn("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),tn("path",{d:"M8 4v4"}),tn("path",{d:"M9 12l-2 2l2 2"}),tn("path",{d:"M15 12l2 2l-2 2"}),tn("path",{d:"M13 11l-2 6"})]});import{jsx as wi,jsxs as Hy}from"react/jsx-runtime";var ki=e=>Hy(o,{...e,children:[wi("path",{d:"M10 14l-2 -2l2 -2"}),wi("path",{d:"M14 10l2 2l-2 2"}),wi("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Bi,jsxs as Uy}from"react/jsx-runtime";var Ri=e=>Uy(o,{...e,children:[Bi("path",{d:"M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bi("path",{d:"M6.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bi("path",{d:"M17.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})]});import{jsx as sf,jsxs as Gy}from"react/jsx-runtime";var Li=e=>Gy(o,{...e,children:[sf("path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),sf("path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as pf,jsxs as Vy}from"react/jsx-runtime";var Di=e=>Vy(o,{...e,children:[pf("path",{d:"M8 10a2 2 0 0 1 2 -2h9a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-9a2 2 0 0 1 -2 -2z"}),pf("path",{d:"M16 8v-3a2 2 0 0 0 -2 -2h-9a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h3"})]});import{jsx as Ti,jsxs as Wy}from"react/jsx-runtime";var Ni=e=>Wy(o,{...e,children:[Ti("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),Ti("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"}),Ti("path",{d:"M11 14l2 2l4 -4"})]});import{jsx as Va,jsxs as $y}from"react/jsx-runtime";var Fi=e=>$y(o,{...e,children:[Va("path",{d:"M3 5m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),Va("path",{d:"M3 10l18 0"}),Va("path",{d:"M7 15l.01 0"}),Va("path",{d:"M11 15l2 0"})]});import{jsx as Wa,jsxs as qy}from"react/jsx-runtime";var Ei=e=>qy(o,{...e,children:[Wa("path",{d:"M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718z"}),Wa("path",{d:"M12 22v-10"}),Wa("path",{d:"M12 12l8.73 -5.04"}),Wa("path",{d:"M3.27 6.96l8.73 5.04"})]});import{jsx as $e,jsxs as Xy}from"react/jsx-runtime";var Ai=e=>Xy(o,{...e,children:[$e("path",{d:"M6 17.6l-2 -1.1v-2.5"}),$e("path",{d:"M4 10v-2.5l2 -1.1"}),$e("path",{d:"M10 4.1l2 -1.1l2 1.1"}),$e("path",{d:"M18 6.4l2 1.1v2.5"}),$e("path",{d:"M20 14v2.5l-2 1.12"}),$e("path",{d:"M14 19.9l-2 1.1l-2 -1.1"}),$e("path",{d:"M12 12l2 -1.1"}),$e("path",{d:"M18 8.6l2 -1.1"}),$e("path",{d:"M12 12l0 2.5"}),$e("path",{d:"M12 18.5l0 2.5"}),$e("path",{d:"M12 12l-2 -1.12"}),$e("path",{d:"M6 8.6l-2 -1.1"})]});import{jsx as df,jsxs as Ky}from"react/jsx-runtime";var jn=e=>Ky(o,{...e,children:[df("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v5.5M10.5 20h-5.5a2 2 0 0 1 -2 -2v-13"}),df("path",{d:"M18 17l2.822 -1.101c.8125 -.317 .769 -1.481 -.065 -1.7365l-7.1595 -2.191c-.705 -.215 -1.365 .444 -1.149 1.149l2.191 7.159c.255 .834 1.42 .877 1.7365 .065l1.101 -2.822a.92 .92 0 0 1 .5225 -.5225"})]});import{jsx as go,jsxs as Zy}from"react/jsx-runtime";var zi=e=>Zy(o,{...e,children:[go("path",{d:"M5 2h5v4h-5z"}),go("path",{d:"M15 10h5v4h-5z"}),go("path",{d:"M5 18h5v4h-5z"}),go("path",{d:"M5 10h5v4h-5z"}),go("path",{d:"M10 12h5"}),go("path",{d:"M7.5 6v4"}),go("path",{d:"M7.5 14v4"})]});import{jsx as qe,jsxs as Qy}from"react/jsx-runtime";var Oi=e=>Qy(o,{...e,children:[qe("path",{d:"M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M12 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M20 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M4 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M16 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M5 17l2 -3"}),qe("path",{d:"M9 10l2 -3"}),qe("path",{d:"M13 7l2 3"}),qe("path",{d:"M17 14l2 3"}),qe("path",{d:"M15 14l-2 3"}),qe("path",{d:"M9 14l2 3"})]});import{jsx as er,jsxs as Yy}from"react/jsx-runtime";var _i=e=>Yy(o,{...e,children:[er("path",{d:"M3 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M15 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),er("path",{d:"M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1"}),er("path",{d:"M12 9l0 3"})]});import{jsx as Hi,jsxs as Jy}from"react/jsx-runtime";var Ui=e=>Jy(o,{...e,children:[Hi("path",{d:"M4 4l16 0"}),Hi("path",{d:"M4 20l16 0"}),Hi("path",{d:"M6 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as mf,jsxs as jy}from"react/jsx-runtime";var Gi=e=>jy(o,{...e,children:[mf("path",{d:"M16.7 8a3 3 0 0 0 -2.7 -2h-4a3 3 0 0 0 0 6h4a3 3 0 0 1 0 6h-4a3 3 0 0 1 -2.7 -2"}),mf("path",{d:"M12 3v3m0 12v3"})]});import{jsx as Vi,jsxs as eC}from"react/jsx-runtime";var Wi=e=>eC(o,{...e,children:[Vi("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Vi("path",{d:"M14.8 9a2 2 0 0 0 -1.8 -1h-2a2 2 0 1 0 0 4h2a2 2 0 1 1 0 4h-2a2 2 0 0 1 -1.8 -1"}),Vi("path",{d:"M12 7v10"})]});import{jsx as uf}from"react/jsx-runtime";var $i=e=>uf(o,{...e,children:uf("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})});import{jsx as hf}from"react/jsx-runtime";var qi=e=>hf(o,{isFilled:!0,...e,children:hf("path",{d:"M12 7a5 5 0 1 1 -4.995 5.217l-.005 -.217l.005 -.217a5 5 0 0 1 4.995 -4.783z"})});import{jsx as Mt,jsxs as tC}from"react/jsx-runtime";var Xi=e=>tC(o,{...e,children:[Mt("path",{d:"M5 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M19 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M5 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M19 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Ki,jsxs as oC}from"react/jsx-runtime";var Zi=e=>oC(o,{...e,children:[Ki("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ki("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ki("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Qi,jsxs as nC}from"react/jsx-runtime";var on=e=>nC(o,{...e,children:[Qi("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Yi,jsxs as rC}from"react/jsx-runtime";var Ji=e=>rC(o,{...e,children:[Yi("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),Yi("path",{d:"M7 11l5 5l5 -5"}),Yi("path",{d:"M12 4l0 12"})]});import{jsx as ff,jsxs as aC}from"react/jsx-runtime";var ji=e=>aC(o,{...e,children:[ff("path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),ff("path",{d:"M13.5 6.5l4 4"})]});import{jsx as ep,jsxs as lC}from"react/jsx-runtime";var tp=e=>lC(o,{...e,children:[ep("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),ep("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),ep("path",{d:"M16 5l3 3"})]});import{jsx as Wt,jsxs as cC}from"react/jsx-runtime";var op=e=>cC(o,{...e,children:[Wt("path",{d:"M16 4l4 0l0 4"}),Wt("path",{d:"M14 10l6 -6"}),Wt("path",{d:"M8 20l-4 0l0 -4"}),Wt("path",{d:"M4 20l6 -6"}),Wt("path",{d:"M16 20l4 0l0 -4"}),Wt("path",{d:"M14 14l6 6"}),Wt("path",{d:"M8 4l-4 0l0 4"}),Wt("path",{d:"M4 4l6 6"})]});import{jsx as np,jsxs as sC}from"react/jsx-runtime";var rp=e=>sC(o,{...e,children:[np("path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"}),np("path",{d:"M11 13l9 -9"}),np("path",{d:"M15 4h5v5"})]});import{jsx as ap,jsxs as iC}from"react/jsx-runtime";var lp=e=>iC(o,{...e,children:[ap("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),ap("path",{d:"M15 9l-6 6"}),ap("path",{d:"M10 9l5 0l0 5"})]});import{jsx as gf,jsxs as pC}from"react/jsx-runtime";var cp=e=>pC(o,{...e,children:[gf("path",{d:"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),gf("path",{d:"M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"})]});import{jsx as sp,jsxs as dC}from"react/jsx-runtime";var ip=e=>dC(o,{...e,children:[sp("path",{d:"M10.585 10.587a2 2 0 0 0 2.829 2.828"}),sp("path",{d:"M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"}),sp("path",{d:"M3 3l18 18"})]});import{jsx as tr,jsxs as mC}from"react/jsx-runtime";var pp=e=>mC(o,{...e,children:[tr("path",{d:"M21 9c-2.4 2.667 -5.4 4 -9 4c-3.6 0 -6.6 -1.333 -9 -4"}),tr("path",{d:"M3 15l2.5 -3.8"}),tr("path",{d:"M21 14.976l-2.492 -3.776"}),tr("path",{d:"M9 17l.5 -4"}),tr("path",{d:"M15 17l-.5 -4"})]});import{jsx as $a,jsxs as uC}from"react/jsx-runtime";var dp=e=>uC(o,{...e,children:[$a("path",{d:"M12 21a9 9 0 1 1 0 -18a9 9 0 0 1 0 18z"}),$a("path",{d:"M8 9l2 1"}),$a("path",{d:"M16 9l-2 1"}),$a("path",{d:"M14.5 16.05a3.5 3.5 0 0 0 -5 0"})]});import{jsx as nn,jsxs as hC}from"react/jsx-runtime";var mp=e=>hC(o,{...e,children:[nn("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),nn("path",{d:"M7 8.5l3 3"}),nn("path",{d:"M7 11.5l3 -3"}),nn("path",{d:"M14 8.5l3 3"}),nn("path",{d:"M14 11.5l3 -3"}),nn("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as qa,jsxs as fC}from"react/jsx-runtime";var up=e=>fC(o,{...e,children:[qa("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),qa("path",{d:"M9 10l.01 0"}),qa("path",{d:"M15 10l.01 0"}),qa("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as vf,jsxs as gC}from"react/jsx-runtime";var vo=e=>gC(o,{...e,children:[vf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),vf("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"})]});import{jsx as hp,jsxs as vC}from"react/jsx-runtime";var fp=e=>vC(o,{...e,children:[hp("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),hp("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),hp("path",{d:"M9 15l2 2l4 -4"})]});import{jsx as or,jsxs as IC}from"react/jsx-runtime";var nr=e=>IC(o,{...e,children:[or("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),or("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),or("path",{d:"M7 16.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0"}),or("path",{d:"M10 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),or("path",{d:"M16 15l2 6l2 -6"})]});import{jsx as Xa,jsxs as bC}from"react/jsx-runtime";var gp=e=>bC(o,{...e,children:[Xa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Xa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Xa("path",{d:"M12 17v-6"}),Xa("path",{d:"M9.5 14.5l2.5 2.5l2.5 -2.5"})]});import{jsx as rn,jsxs as yC}from"react/jsx-runtime";var rr=e=>yC(o,{...e,children:[rn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),rn("path",{d:"M5 12v-8a2 2 0 0 1 2 -2h7l5 5v5"}),rn("path",{d:"M4 15.125h2.5v4.5a1.25 1.25 0 0 1 -2.5 0v-.5"}),rn("path",{d:"M8.5 20.25c0 .345 .28 .625 .625 .625h1a.875 .875 0 0 0 .875 -.875v-1.125a.875 .875 0 0 0 -.875 -.875h-.75a.875 .875 0 0 1 -.875 -.875v-1.125a.875 .875 0 0 1 .875 -.875h1a.625 .625 0 0 1 .625 .625"}),rn("path",{d:"M14.25 15.125a1.25 1.25 0 0 1 1.25 1.25v3.25a1.25 1.25 0 1 1 -2.5 0v-3.25a1.25 1.25 0 0 1 1.25 -1.25z"}),rn("path",{d:"M17.5 20.875v-5.75l2.5 5.75v-5.75"})]});import{jsx as Ka,jsxs as CC}from"react/jsx-runtime";var vp=e=>CC(o,{...e,children:[Ka("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ka("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Ka("path",{d:"M9 17h6"}),Ka("path",{d:"M9 13h6"})]});import{jsx as Za,jsxs as xC}from"react/jsx-runtime";var Xe=e=>xC(o,{...e,children:[Za("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Za("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Za("path",{d:"M11 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Za("path",{d:"M12 16l0 -5l2 1"})]});import{jsx as an,jsxs as PC}from"react/jsx-runtime";var Io=e=>PC(o,{...e,children:[an("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),an("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),an("path",{d:"M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6"}),an("path",{d:"M17 18h2"}),an("path",{d:"M20 15h-3v6"}),an("path",{d:"M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z"})]});import{jsx as Ip,jsxs as SC}from"react/jsx-runtime";var bp=e=>SC(o,{...e,children:[Ip("path",{d:"M15 3v4a1 1 0 0 0 1 1h4"}),Ip("path",{d:"M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z"}),Ip("path",{d:"M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2"})]});import{jsx as ar,jsxs as MC}from"react/jsx-runtime";var lr=e=>MC(o,{...e,children:[ar("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),ar("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),ar("path",{d:"M8 11h8v7h-8z"}),ar("path",{d:"M8 15h8"}),ar("path",{d:"M11 11v7"})]});import{jsx as cr,jsxs as wC}from"react/jsx-runtime";var wt=e=>wC(o,{...e,children:[cr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),cr("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),cr("path",{d:"M9 9l1 0"}),cr("path",{d:"M9 13l6 0"}),cr("path",{d:"M9 17l6 0"})]});import{jsx as Qa,jsxs as kC}from"react/jsx-runtime";var yp=e=>kC(o,{...e,children:[Qa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Qa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Qa("path",{d:"M12 11v6"}),Qa("path",{d:"M9.5 13.5l2.5 -2.5l2.5 2.5"})]});import{jsx as ln,jsxs as BC}from"react/jsx-runtime";var sr=e=>BC(o,{...e,children:[ln("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),ln("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),ln("path",{d:"M4 15l4 6"}),ln("path",{d:"M4 21l4 -6"}),ln("path",{d:"M17 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),ln("path",{d:"M11 15v6h3"})]});import{jsx as $t,jsxs as RC}from"react/jsx-runtime";var ir=e=>RC(o,{...e,children:[$t("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),$t("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v5"}),$t("path",{d:"M4 16l3 5"}),$t("path",{d:"M4 21l3 -5"}),$t("path",{d:"M8.5 16v5h2"}),$t("path",{d:"M12 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-0.5a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-0.5a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),$t("path",{d:"M16.5 16l3 5"}),$t("path",{d:"M16.5 21l3 -5"})]});import{jsx as qt,jsxs as LC}from"react/jsx-runtime";var ct=e=>LC(o,{...e,children:[qt("path",{d:"M6 20.735a2 2 0 0 1 -1 -1.735v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-1"}),qt("path",{d:"M11 17a2 2 0 0 1 2 2v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-2a2 2 0 0 1 2 -2z"}),qt("path",{d:"M11 5l-1 0"}),qt("path",{d:"M13 7l-1 0"}),qt("path",{d:"M11 9l-1 0"}),qt("path",{d:"M13 11l-1 0"}),qt("path",{d:"M11 13l-1 0"}),qt("path",{d:"M13 15l-1 0"})]});import{jsx as If}from"react/jsx-runtime";var Cp=e=>If(o,{...e,children:If("path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z"})});import{jsx as xp,jsxs as DC}from"react/jsx-runtime";var pr=e=>DC(o,{...e,children:[xp("path",{d:"M4 6h16"}),xp("path",{d:"M6 12h12"}),xp("path",{d:"M9 18h6"})]});import{jsx as bf,jsxs as TC}from"react/jsx-runtime";var Pp=e=>TC(o,{...e,children:[bf("path",{d:"M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0v9a5 5 0 0 1 -7 0a5 5 0 0 0 -7 0v-9z"}),bf("path",{d:"M5 21v-7"})]});import{jsx as yf}from"react/jsx-runtime";var Sp=e=>yf(o,{...e,children:yf("path",{d:"M5 14h14v-9h-14v16"})});import{jsx as Cf}from"react/jsx-runtime";var Mp=e=>Cf(o,{isFilled:!0,...e,children:Cf("path",{d:"M4 5a1 1 0 0 1 .3 -.714a6 6 0 0 1 8.213 -.176l.351 .328a4 4 0 0 0 5.272 0l.249 -.227c.61 -.483 1.527 -.097 1.61 .676l.005 .113v9a1 1 0 0 1 -.3 .714a6 6 0 0 1 -8.213 .176l-.351 -.328a4 4 0 0 0 -5.136 -.114v6.552a1 1 0 0 1 -1.993 .117l-.007 -.117v-16z"})});import{jsx as dr,jsxs as NC}from"react/jsx-runtime";var wp=e=>NC(o,{...e,children:[dr("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),dr("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),dr("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),dr("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),dr("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as xf}from"react/jsx-runtime";var kp=e=>xf(o,{...e,children:xf("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"})});import{jsx as Ya,jsxs as FC}from"react/jsx-runtime";var Bp=e=>FC(o,{...e,children:[Ya("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-0.5m0 -8v-2.5a2 2 0 0 1 2 -2"}),Ya("path",{d:"M1 12.5l7 0"}),Ya("path",{d:"M1 12.5l2 2"}),Ya("path",{d:"M1 12.5l2 -2"})]});import{jsx as Ja,jsxs as EC}from"react/jsx-runtime";var Rp=e=>EC(o,{...e,children:[Ja("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-1m0 -6v-4a2 2 0 0 1 2 -2"}),Ja("path",{d:"M2 13l7 0"}),Ja("path",{d:"M9 13l-2 2"}),Ja("path",{d:"M9 13l-2 -2"})]});import{jsx as Pf,jsxs as AC}from"react/jsx-runtime";var Lp=e=>AC(o,{...e,children:[Pf("path",{d:"M22 9l-10 -4l-10 4l10 4l10 -4v6"}),Pf("path",{d:"M6 10.6v5.4a6 3 0 0 0 12 0v-5.4"})]});import{jsx as cn,jsxs as zC}from"react/jsx-runtime";var Dp=e=>zC(o,{...e,children:[cn("path",{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as ja,jsxs as OC}from"react/jsx-runtime";var Tp=e=>OC(o,{...e,children:[ja("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),ja("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),ja("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),ja("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"})]});import{jsx as sn,jsxs as _C}from"react/jsx-runtime";var Np=e=>_C(o,{...e,children:[sn("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),sn("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),sn("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),sn("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v5"}),sn("path",{d:"M14 22h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"}),sn("path",{d:"M22 16c0 4 -2.5 6 -3.5 6s-3.5 -2 -3.5 -6c1 0 2.5 -.5 3.5 -1.5c1 1 2.5 1.5 3.5 1.5"})]});import{jsx as el,jsxs as HC}from"react/jsx-runtime";var Fp=e=>HC(o,{...e,children:[el("path",{d:"M5 9l14 0"}),el("path",{d:"M5 15l14 0"}),el("path",{d:"M11 4l-4 16"}),el("path",{d:"M17 4l-4 16"})]});import{jsx as tl,jsxs as UC}from"react/jsx-runtime";var Ep=e=>UC(o,{...e,children:[tl("path",{d:"M4 14v-3a8 8 0 1 1 16 0v3"}),tl("path",{d:"M18 19c0 1.657 -2.686 3 -6 3"}),tl("path",{d:"M4 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"}),tl("path",{d:"M15 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"})]});import{jsx as Sf}from"react/jsx-runtime";var Ap=e=>Sf(o,{...e,children:Sf("path",{d:"M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"})});import{jsx as Mf}from"react/jsx-runtime";var zp=e=>Mf(o,{isFilled:!0,...e,children:Mf("path",{d:"M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z"})});import{jsx as Op,jsxs as GC}from"react/jsx-runtime";var _p=e=>GC(o,{...e,children:[Op("path",{d:"M5 12l-2 0l9 -9l9 9l-2 0"}),Op("path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"}),Op("path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"})]});import{jsx as wf,jsxs as VC}from"react/jsx-runtime";var mr=e=>VC(o,{...e,children:[wf("path",{d:"M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105"}),wf("path",{d:"M16 15c-2.21 1.333 -5.792 1.333 -8 0"})]});import{jsx as ol,jsxs as WC}from"react/jsx-runtime";var Le=e=>WC(o,{...e,children:[ol("path",{d:"M15 8h.01"}),ol("path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z"}),ol("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),ol("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3"})]});import{jsx as ur,jsxs as $C}from"react/jsx-runtime";var Hp=e=>$C(o,{...e,children:[ur("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),ur("path",{d:"M4 16l16 0"}),ur("path",{d:"M4 12l3 -3c.928 -.893 2.072 -.893 3 0l4 4"}),ur("path",{d:"M13 12l2 -2c.928 -.893 2.072 -.893 3 0l2 2"}),ur("path",{d:"M14 7l.01 0"})]});import{jsx as hr,jsxs as qC}from"react/jsx-runtime";var Up=e=>qC(o,{...e,children:[hr("path",{d:"M15 8h.01"}),hr("path",{d:"M11.5 21h-5.5a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v7"}),hr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l4 4"}),hr("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l.5 .5"}),hr("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as fr,jsxs as XC}from"react/jsx-runtime";var Gp=e=>XC(o,{...e,children:[fr("path",{d:"M15 8h.01"}),fr("path",{d:"M7 3h11a3 3 0 0 1 3 3v11m-.856 3.099a2.991 2.991 0 0 1 -2.144 .901h-12a3 3 0 0 1 -3 -3v-12c0 -.845 .349 -1.608 .91 -2.153"}),fr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),fr("path",{d:"M16.33 12.338c.574 -.054 1.155 .166 1.67 .662l3 3"}),fr("path",{d:"M3 3l18 18"})]});import{jsx as kf,jsxs as KC}from"react/jsx-runtime";var Vp=e=>KC(o,{...e,children:[kf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),kf("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-5.5m-9.5 -2h7m-3 -3l3 3l-3 3"})]});import{jsx as Bf,jsxs as ZC}from"react/jsx-runtime";var Wp=e=>ZC(o,{...e,children:[Bf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Bf("path",{d:"M4 13h3l3 3h4l3 -3h3"})]});import{jsx as $p,jsxs as QC}from"react/jsx-runtime";var qp=e=>QC(o,{...e,children:[$p("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),$p("path",{d:"M12 9h.01"}),$p("path",{d:"M11 12h1v4h1"})]});import{jsx as Xp,jsxs as YC}from"react/jsx-runtime";var Kp=e=>YC(o,{...e,children:[Xp("path",{d:"M19.875 6.27c.7 .398 1.13 1.143 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033z"}),Xp("path",{d:"M12 9h.01"}),Xp("path",{d:"M11 12h1v4h1"})]});import{jsx as Zp,jsxs as JC}from"react/jsx-runtime";var Qp=e=>JC(o,{...e,children:[Zp("path",{d:"M11 5l6 0"}),Zp("path",{d:"M7 19l6 0"}),Zp("path",{d:"M14 5l-4 14"})]});import{jsx as Yp,jsxs as jC}from"react/jsx-runtime";var Jp=e=>jC(o,{...e,children:[Yp("path",{d:"M12 4l-8 4l8 4l8 -4l-8 -4"}),Yp("path",{d:"M4 12l8 4l8 -4"}),Yp("path",{d:"M4 16l8 4l8 -4"})]});import{jsx as Rf,jsxs as ex}from"react/jsx-runtime";var jp=e=>ex(o,{...e,children:[Rf("path",{d:"M12 6l-8 4l8 4l8 -4l-8 -4"}),Rf("path",{d:"M4 14l8 4l8 -4"})]});import{jsx as Lf,jsxs as tx}from"react/jsx-runtime";var ed=e=>tx(o,{...e,children:[Lf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Lf("path",{d:"M9 4l0 16"})]});import{jsx as td,jsxs as ox}from"react/jsx-runtime";var od=e=>ox(o,{...e,children:[td("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),td("path",{d:"M4 13m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),td("path",{d:"M14 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"})]});import{jsx as nl,jsxs as nx}from"react/jsx-runtime";var nd=e=>nx(o,{...e,children:[nl("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),nl("path",{d:"M4 9h8"}),nl("path",{d:"M12 15h8"}),nl("path",{d:"M12 4v16"})]});import{jsx as gr,jsxs as rx}from"react/jsx-runtime";var rd=e=>rx(o,{...e,children:[gr("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),gr("path",{d:"M4 12h8"}),gr("path",{d:"M12 15h8"}),gr("path",{d:"M12 9h8"}),gr("path",{d:"M12 4v16"})]});import{jsx as ad,jsxs as ax}from"react/jsx-runtime";var ld=e=>ax(o,{...e,children:[ad("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),ad("path",{d:"M10 4l4 16"}),ad("path",{d:"M12 12l-8 2"})]});import{jsx as rl,jsxs as lx}from"react/jsx-runtime";var cd=e=>lx(o,{...e,children:[rl("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),rl("path",{d:"M14 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),rl("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),rl("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"})]});import{jsx as pn,jsxs as cx}from"react/jsx-runtime";var sd=e=>cx(o,{...e,children:[pn("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),pn("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),pn("path",{d:"M15 15l3.35 3.35"}),pn("path",{d:"M9 15l-3.35 3.35"}),pn("path",{d:"M5.65 5.65l3.35 3.35"}),pn("path",{d:"M18.35 5.65l-3.35 3.35"})]});import{jsx as id,jsxs as sx}from"react/jsx-runtime";var pd=e=>sx(o,{...e,children:[id("path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"}),id("path",{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"}),id("path",{d:"M9.7 17l4.6 0"})]});import{jsx as Df}from"react/jsx-runtime";var dd=e=>Df(o,{...e,children:Df("path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11"})});import{jsx as Tf,jsxs as ix}from"react/jsx-runtime";var md=e=>ix(o,{...e,children:[Tf("path",{d:"M16 3l0 7l4 0l-6 11l0 -7l-4 0l6 -11"}),Tf("path",{d:"M5 7h4M3 13h4M5 19h4"})]});import{jsx as Nf,jsxs as px}from"react/jsx-runtime";var ud=e=>px(o,{...e,children:[Nf("path",{d:"M4 19l16 0"}),Nf("path",{d:"M4 15l4 -6l4 2l4 -5l4 4"})]});import{jsx as dn,jsxs as dx}from"react/jsx-runtime";var hd=e=>dx(o,{...e,children:[dn("path",{d:"M3 3v18h18"}),dn("path",{d:"M20 18v3"}),dn("path",{d:"M16 16v5"}),dn("path",{d:"M12 13v8"}),dn("path",{d:"M8 16v5"}),dn("path",{d:"M3 11c6 0 5 -5 9 -5s3 5 9 5"})]});import{jsx as mn,jsxs as mx}from"react/jsx-runtime";var fd=e=>mx(o,{...e,children:[mn("path",{d:"M10.5 3h-5.5a2 2 0 0 0 -2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2 -2v-5.5"}),mn("path",{d:"M3 13c0 0, 8 0, 12 -4"}),mn("path",{d:"M12 8h4v4"}),mn("path",{d:"M15 2v1.44"}),mn("path",{d:"M18.75 4.75l1.2 -1.2"}),mn("path",{d:"M20 9h1.44"})]});import{jsx as gd,jsxs as ux}from"react/jsx-runtime";var vd=e=>ux(o,{...e,children:[gd("path",{d:"M4 19l16 0"}),gd("path",{d:"M4 16l6 -6l4 4l5 -5"}),gd("path",{d:"M15 8h5v5"})]});import{jsx as Ff,jsxs as hx}from"react/jsx-runtime";var Id=e=>hx(o,{...e,children:[Ff("path",{d:"M5 10h14"}),Ff("path",{d:"M5 14h14"})]});import{jsx as un,jsxs as fx}from"react/jsx-runtime";var bd=e=>fx(o,{...e,children:[un("path",{d:"M3.5 5.5l1.5 1.5l2.5 -2.5"}),un("path",{d:"M3.5 11.5l1.5 1.5l2.5 -2.5"}),un("path",{d:"M3.5 17.5l1.5 1.5l2.5 -2.5"}),un("path",{d:"M11 6l9 0"}),un("path",{d:"M11 12l9 0"}),un("path",{d:"M11 18l9 0"})]});import{jsx as al,jsxs as gx}from"react/jsx-runtime";var yd=e=>gx(o,{...e,children:[al("path",{d:"M12 10v8l8 -4z"}),al("path",{d:"M4 6h16"}),al("path",{d:"M4 12h4.5"}),al("path",{d:"M4 18h4.5"})]});import{jsx as Cd,jsxs as vx}from"react/jsx-runtime";var xd=e=>vx(o,{...e,children:[Cd("path",{d:"M9 15l6 -6"}),Cd("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),Cd("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as Ef,jsxs as Ix}from"react/jsx-runtime";var Pd=e=>Ix(o,{...e,children:[Ef("path",{d:"M9.183 6.117a6 6 0 1 0 4.511 3.986"}),Ef("path",{d:"M14.813 17.883a6 6 0 1 0 -4.496 -3.954"})]});import{jsx as ll,jsxs as bx}from"react/jsx-runtime";var Sd=e=>bx(o,{...e,children:[ll("path",{d:"M9 15l3 -3m2 -2l1 -1"}),ll("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),ll("path",{d:"M3 3l18 18"}),ll("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as hn,jsxs as yx}from"react/jsx-runtime";var Md=e=>yx(o,{...e,children:[hn("path",{d:"M9 6l11 0"}),hn("path",{d:"M9 12l11 0"}),hn("path",{d:"M9 18l11 0"}),hn("path",{d:"M5 6l0 .01"}),hn("path",{d:"M5 12l0 .01"}),hn("path",{d:"M5 18l0 .01"})]});import{jsx as vr,jsxs as Cx}from"react/jsx-runtime";var wd=e=>Cx(o,{...e,children:[vr("path",{d:"M11 6h9"}),vr("path",{d:"M11 12h9"}),vr("path",{d:"M12 18h8"}),vr("path",{d:"M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4"}),vr("path",{d:"M6 10v-6l-2 2"})]});import{jsx as kd,jsxs as xx}from"react/jsx-runtime";var Bd=e=>xx(o,{...e,children:[kd("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z"}),kd("path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),kd("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as Af}from"react/jsx-runtime";var Rd=e=>Af(o,{isFilled:!0,...e,children:Af("path",{d:"M12 2a5 5 0 0 1 5 5v3a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-6a3 3 0 0 1 3 -3v-3a5 5 0 0 1 5 -5m0 12a2 2 0 0 0 -1.995 1.85l-.005 .15a2 2 0 1 0 2 -2m0 -10a3 3 0 0 0 -3 3v3h6v-3a3 3 0 0 0 -3 -3"})});import{jsx as Ld,jsxs as Px}from"react/jsx-runtime";var Dd=e=>Px(o,{...e,children:[Ld("path",{d:"M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Ld("path",{d:"M3 12h13l-3 -3"}),Ld("path",{d:"M13 15l3 -3"})]});import{jsx as Td,jsxs as Sx}from"react/jsx-runtime";var Nd=e=>Sx(o,{...e,children:[Td("path",{d:"M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"}),Td("path",{d:"M9 12h12l-3 -3"}),Td("path",{d:"M18 15l3 -3"})]});import{jsx as Fd,jsxs as Mx}from"react/jsx-runtime";var Ed=e=>Mx(o,{...e,children:[Fd("path",{d:"M10 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Fd("path",{d:"M15 12h-12l3 -3"}),Fd("path",{d:"M6 15l-3 -3"})]});import{jsx as cl,jsxs as wx}from"react/jsx-runtime";var Ad=e=>wx(o,{...e,children:[cl("path",{d:"M6 21l15 -15l-3 -3l-15 15l3 3"}),cl("path",{d:"M15 6l3 3"}),cl("path",{d:"M9 3a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"}),cl("path",{d:"M19 13a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"})]});import{jsx as zf,jsxs as kx}from"react/jsx-runtime";var zd=e=>kx(o,{...e,children:[zf("path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z"}),zf("path",{d:"M3 7l9 6l9 -6"})]});import{jsx as Of,jsxs as Bx}from"react/jsx-runtime";var Od=e=>Bx(o,{...e,children:[Of("path",{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),Of("path",{d:"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z"})]});import{jsx as sl,jsxs as Rx}from"react/jsx-runtime";var _d=e=>Rx(o,{...e,children:[sl("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),sl("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),sl("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),sl("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as il,jsxs as Lx}from"react/jsx-runtime";var Hd=e=>Lx(o,{...e,children:[il("path",{d:"M16 4l4 0l0 4"}),il("path",{d:"M14 10l6 -6"}),il("path",{d:"M8 20l-4 0l0 -4"}),il("path",{d:"M4 20l6 -6"})]});import{jsx as _f}from"react/jsx-runtime";var Ud=e=>_f(o,{...e,children:_f("path",{d:"M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1"})});import{jsx as Gd,jsxs as Dx}from"react/jsx-runtime";var Vd=e=>Dx(o,{...e,children:[Gd("path",{d:"M8 9h8"}),Gd("path",{d:"M8 13h6"}),Gd("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z"})]});import{jsx as pl,jsxs as Tx}from"react/jsx-runtime";var Wd=e=>Tx(o,{...e,children:[pl("path",{d:"M12 11v.01"}),pl("path",{d:"M8 11v.01"}),pl("path",{d:"M16 11v.01"}),pl("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3z"})]});import{jsx as Ir,jsxs as Nx}from"react/jsx-runtime";var $d=e=>Nx(o,{...e,children:[Ir("path",{d:"M8 9h8"}),Ir("path",{d:"M8 13h6"}),Ir("path",{d:"M13 18l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6"}),Ir("path",{d:"M22 22l-5 -5"}),Ir("path",{d:"M17 22l5 -5"})]});import{jsx as dl,jsxs as Fx}from"react/jsx-runtime";var br=e=>Fx(o,{...e,children:[dl("path",{d:"M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z"}),dl("path",{d:"M5 10a7 7 0 0 0 14 0"}),dl("path",{d:"M8 21l8 0"}),dl("path",{d:"M12 17l0 4"})]});import{jsx as ml,jsxs as Ex}from"react/jsx-runtime";var qd=e=>Ex(o,{...e,children:[ml("path",{d:"M15 19v-2a2 2 0 0 1 2 -2h2"}),ml("path",{d:"M15 5v2a2 2 0 0 0 2 2h2"}),ml("path",{d:"M5 15h2a2 2 0 0 1 2 2v2"}),ml("path",{d:"M5 9h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as ul,jsxs as Ax}from"react/jsx-runtime";var Xd=e=>Ax(o,{...e,children:[ul("path",{d:"M18 10h-4v-4"}),ul("path",{d:"M20 4l-6 6"}),ul("path",{d:"M6 14h4v4"}),ul("path",{d:"M10 14l-6 6"})]});import{jsx as Hf,jsxs as zx}from"react/jsx-runtime";var Kd=e=>zx(o,{...e,children:[Hf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Hf("path",{d:"M9 12l6 0"})]});import{jsx as Zd,jsxs as Ox}from"react/jsx-runtime";var Qd=e=>Ox(o,{...e,children:[Zd("path",{d:"M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14z"}),Zd("path",{d:"M11 4h2"}),Zd("path",{d:"M12 17v.01"})]});import{jsx as hl,jsxs as _x}from"react/jsx-runtime";var Yd=e=>_x(o,{...e,children:[hl("path",{d:"M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10z"}),hl("path",{d:"M7 20h10"}),hl("path",{d:"M9 16v4"}),hl("path",{d:"M15 16v4"})]});import{jsx as yr,jsxs as Hx}from"react/jsx-runtime";var Jd=e=>Hx(o,{...e,children:[yr("path",{d:"M3 4a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-12z"}),yr("path",{d:"M3 13h18"}),yr("path",{d:"M8 21h8"}),yr("path",{d:"M10 17l-.5 4"}),yr("path",{d:"M14 17l.5 4"})]});import{jsx as Uf}from"react/jsx-runtime";var jd=e=>Uf(o,{...e,children:Uf("path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"})});import{jsx as Gf,jsxs as Ux}from"react/jsx-runtime";var em=e=>Ux(o,{...e,children:[Gf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Gf("path",{d:"M12 6c.088 0 .175 0 .262 0a5 5 0 0 0 5.28 8.297a6 6 0 1 1 -5.542 -8.303z"})]});import{jsx as Xt,jsxs as Gx}from"react/jsx-runtime";var nt=e=>Gx(o,{...e,children:[Xt("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Xt("path",{d:"M8 4l0 16"}),Xt("path",{d:"M16 4l0 16"}),Xt("path",{d:"M4 8l4 0"}),Xt("path",{d:"M4 16l4 0"}),Xt("path",{d:"M4 12l16 0"}),Xt("path",{d:"M16 8l4 0"}),Xt("path",{d:"M16 16l4 0"})]});import{jsx as Vf}from"react/jsx-runtime";var tm=e=>Vf(o,{...e,children:Vf("path",{d:"M12 18.5l7.265 2.463c.196 .077 .42 .032 .57 -.116a.548 .548 0 0 0 .134 -.572l-7.969 -17.275l-7.97 17.275c-.07 .2 -.017 .424 .135 .572c.15 .148 .374 .193 .57 .116l7.265 -2.463"})});import{jsx as Wf,jsxs as Vx}from"react/jsx-runtime";var om=e=>Vx(o,{...e,children:[Wf("path",{d:"M10 6h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3"}),Wf("path",{d:"M17 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"})]});import{jsx as Cr,jsxs as Wx}from"react/jsx-runtime";var nm=e=>Wx(o,{...e,children:[Cr("path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5"}),Cr("path",{d:"M12 12l8 -4.5"}),Cr("path",{d:"M12 12l0 9"}),Cr("path",{d:"M12 12l-8 -4.5"}),Cr("path",{d:"M16 5.25l-8 4.5"})]});import{jsx as fl,jsxs as $x}from"react/jsx-runtime";var rm=e=>$x(o,{...e,children:[fl("path",{d:"M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25"}),fl("path",{d:"M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as xr,jsxs as qx}from"react/jsx-runtime";var am=e=>qx(o,{...e,children:[xr("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}),xr("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"}),xr("path",{d:"M15 16h.01"}),xr("path",{d:"M12.01 16h.01"}),xr("path",{d:"M9.02 16h.01"})]});import{jsx as $f,jsxs as Xx}from"react/jsx-runtime";var bo=e=>Xx(o,{...e,children:[$f("path",{d:"M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),$f("path",{d:"M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"})]});import{jsx as lm,jsxs as Kx}from"react/jsx-runtime";var cm=e=>Kx(o,{...e,children:[lm("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),lm("path",{d:"M8 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"}),lm("path",{d:"M13 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"})]});import{jsx as sm,jsxs as Zx}from"react/jsx-runtime";var im=e=>Zx(o,{...e,children:[sm("path",{d:"M13 9a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1v-10z"}),sm("path",{d:"M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"}),sm("path",{d:"M16 9h2"})]});import{jsx as pm,jsxs as Qx}from"react/jsx-runtime";var dm=e=>Qx(o,{...e,children:[pm("path",{d:"M14 6l7 7l-4 4"}),pm("path",{d:"M5.828 18.172a2.828 2.828 0 0 0 4 0l10.586 -10.586a2 2 0 0 0 0 -2.829l-1.171 -1.171a2 2 0 0 0 -2.829 0l-10.586 10.586a2.828 2.828 0 0 0 0 4"}),pm("path",{d:"M4 20l1.768 -1.768"})]});import{jsx as gl,jsxs as Yx}from"react/jsx-runtime";var mm=e=>Yx(o,{...e,children:[gl("path",{d:"M9 15l6 -6"}),gl("circle",{cx:"9.5",cy:"9.5",r:".5",fill:"currentColor"}),gl("circle",{cx:"14.5",cy:"14.5",r:".5",fill:"currentColor"}),gl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as qf}from"react/jsx-runtime";var um=e=>qf(o,{...e,children:qf("path",{d:"M6.141 4.163l12 1.714a1 1 0 0 1 .859 .99v10.266a1 1 0 0 1 -.859 .99l-12 1.714a1 1 0 0 1 -1.141 -.99v-13.694a1 1 0 0 1 1.141 -.99z"})});import{jsx as hm,jsxs as Jx}from"react/jsx-runtime";var fm=e=>Jx(o,{...e,children:[hm("path",{d:"M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2"}),hm("path",{d:"M15 7a2 2 0 0 1 2 2"}),hm("path",{d:"M15 3a6 6 0 0 1 6 6"})]});import{jsx as gm,jsxs as jx}from"react/jsx-runtime";var Pr=e=>jx(o,{...e,children:[gm("path",{d:"M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4"}),gm("path",{d:"M9 15l-4.5 4.5"}),gm("path",{d:"M14.5 4l5.5 5.5"})]});import{jsx as Xf}from"react/jsx-runtime";var yo=e=>Xf(o,{...e,children:Xf("path",{d:"M7 4v16l13 -8z"})});import{jsx as Kf,jsxs as eP}from"react/jsx-runtime";var vm=e=>eP(o,{...e,children:[Kf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Kf("path",{d:"M9 8v8l8 -4z"})]});import{jsx as Zf,jsxs as tP}from"react/jsx-runtime";var Sr=e=>tP(o,{...e,children:[Zf("path",{d:"M12 5l0 14"}),Zf("path",{d:"M5 12l14 0"})]});import{jsx as Im,jsxs as oP}from"react/jsx-runtime";var Kt=e=>oP(o,{...e,children:[Im("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Im("path",{d:"M9 12h6"}),Im("path",{d:"M12 9v6"})]});import{jsx as bm,jsxs as nP}from"react/jsx-runtime";var ym=e=>nP(o,{...e,children:[bm("path",{d:"M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2"}),bm("path",{d:"M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4"}),bm("path",{d:"M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z"})]});import{jsx as Qf}from"react/jsx-runtime";var Cm=e=>Qf(o,{...e,children:Qf("path",{d:"M3 12h4l3 8l4 -16l3 8h4"})});import{jsx as xm,jsxs as rP}from"react/jsx-runtime";var Mr=e=>rP(o,{...e,children:[xm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),xm("path",{d:"M12 16v.01"}),xm("path",{d:"M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483"})]});import{jsx as Yf,jsxs as aP}from"react/jsx-runtime";var Pm=e=>aP(o,{...e,children:[Yf("path",{d:"M10 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"}),Yf("path",{d:"M19 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"})]});import{jsx as Jf,jsxs as lP}from"react/jsx-runtime";var Sm=e=>lP(o,{...e,children:[Jf("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Jf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as jf}from"react/jsx-runtime";var Mm=e=>jf(o,{isFilled:!0,...e,children:jf("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 6.66a2 2 0 0 0 -1.977 1.697l-.018 .154l-.005 .149l.005 .15a2 2 0 1 0 1.995 -2.15z"})});import{jsx as e2}from"react/jsx-runtime";var wm=e=>e2(o,{...e,children:e2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2m4 -14h6m-6 4h6m-2 4h2"})});import{jsx as t2,jsxs as cP}from"react/jsx-runtime";var km=e=>cP(o,{...e,children:[t2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2"}),t2("path",{d:"M9 11l2 2l4 -4"})]});import{jsx as o2,jsxs as sP}from"react/jsx-runtime";var Bm=e=>sP(o,{...e,children:[o2("path",{d:"M15 14l4 -4l-4 -4"}),o2("path",{d:"M19 10h-11a4 4 0 1 0 0 8h1"})]});import{jsx as n2}from"react/jsx-runtime";var Rm=e=>n2(o,{...e,children:n2("path",{d:"M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5"})});import{jsx as r2,jsxs as iP}from"react/jsx-runtime";var Lm=e=>iP(o,{...e,children:[r2("path",{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"}),r2("path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"})]});import{jsx as a2,jsxs as pP}from"react/jsx-runtime";var Dm=e=>pP(o,{...e,children:[a2("path",{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747"}),a2("path",{d:"M20 4v5h-5"})]});import{jsx as l2,jsxs as dP}from"react/jsx-runtime";var Tm=e=>dP(o,{...e,children:[l2("path",{d:"M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3"}),l2("path",{d:"M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3"})]});import{jsx as vl,jsxs as mP}from"react/jsx-runtime";var Nm=e=>mP(o,{...e,children:[vl("path",{d:"M3 3m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M15 15m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3"}),vl("path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3"})]});import{jsx as c2}from"react/jsx-runtime";var Fm=e=>c2(o,{...e,children:c2("path",{d:"M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5"})});import{jsx as Em,jsxs as uP}from"react/jsx-runtime";var Am=e=>uP(o,{...e,children:[Em("path",{d:"M3.06 13a9 9 0 1 0 .49 -4.087"}),Em("path",{d:"M3 4.001v5h5"}),Em("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as zm,jsxs as hP}from"react/jsx-runtime";var Om=e=>hP(o,{...e,children:[zm("path",{d:"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3"}),zm("path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3"}),zm("path",{d:"M15 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as s2,jsxs as fP}from"react/jsx-runtime";var _m=e=>fP(o,{...e,children:[s2("path",{d:"M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8"}),s2("path",{d:"M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5"})]});import{jsx as i2,jsxs as gP}from"react/jsx-runtime";var Hm=e=>gP(o,{...e,children:[i2("path",{d:"M12 3v9h9"}),i2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Um,jsxs as vP}from"react/jsx-runtime";var Gm=e=>vP(o,{...e,children:[Um("path",{d:"M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),Um("path",{d:"M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4z"}),Um("path",{d:"M11 19h5.5a3.5 3.5 0 0 0 0 -7h-8a3.5 3.5 0 0 1 0 -7h4.5"})]});import{jsx as Vm,jsxs as IP}from"react/jsx-runtime";var Wm=e=>IP(o,{...e,children:[Vm("path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"}),Vm("path",{d:"M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Vm("path",{d:"M14 4l0 4l-6 0l0 -4"})]});import{jsx as Zt,jsxs as bP}from"react/jsx-runtime";var $m=e=>bP(o,{...e,children:[Zt("path",{d:"M4 7v-1a2 2 0 0 1 2 -2h2"}),Zt("path",{d:"M4 17v1a2 2 0 0 0 2 2h2"}),Zt("path",{d:"M16 4h2a2 2 0 0 1 2 2v1"}),Zt("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-1"}),Zt("path",{d:"M5 11h1v2h-1z"}),Zt("path",{d:"M10 11l0 2"}),Zt("path",{d:"M14 11h1v2h-1z"}),Zt("path",{d:"M19 11l0 2"})]});import{jsx as Il,jsxs as yP}from"react/jsx-runtime";var wr=e=>yP(o,{...e,children:[Il("path",{d:"M6 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M6 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M8.6 8.6l10.4 10.4"}),Il("path",{d:"M8.6 15.4l10.4 -10.4"})]});import{jsx as p2,jsxs as CP}from"react/jsx-runtime";var kt=e=>CP(o,{...e,children:[p2("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),p2("path",{d:"M21 21l-6 -6"})]});import{jsx as d2,jsxs as xP}from"react/jsx-runtime";var qm=e=>xP(o,{...e,children:[d2("path",{d:"M10 14l11 -11"}),d2("path",{d:"M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5"})]});import{jsx as bl,jsxs as PP}from"react/jsx-runtime";var Xm=e=>PP(o,{...e,children:[bl("path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M3 12m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M7 8l0 .01"}),bl("path",{d:"M7 16l0 .01"})]});import{jsx as m2,jsxs as SP}from"react/jsx-runtime";var Km=e=>SP(o,{...e,children:[m2("path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"}),m2("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"})]});import{jsx as Bt,jsxs as MP}from"react/jsx-runtime";var Zm=e=>MP(o,{...e,children:[Bt("path",{d:"M14 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Bt("path",{d:"M4 6l8 0"}),Bt("path",{d:"M16 6l4 0"}),Bt("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Bt("path",{d:"M4 12l2 0"}),Bt("path",{d:"M10 12l10 0"}),Bt("path",{d:"M17 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Bt("path",{d:"M4 18l11 0"}),Bt("path",{d:"M19 18l1 0"})]});import{jsx as kr,jsxs as wP}from"react/jsx-runtime";var Qm=e=>wP(o,{...e,children:[kr("path",{d:"M6 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M18 6m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),kr("path",{d:"M8.7 10.7l6.6 -3.4"}),kr("path",{d:"M8.7 13.3l6.6 3.4"})]});import{jsx as u2,jsxs as kP}from"react/jsx-runtime";var Ym=e=>kP(o,{...e,children:[u2("path",{d:"M13.342 20.566c-.436 .17 -.884 .315 -1.342 .434a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .117 6.34"}),u2("path",{d:"M19 16l-2 3h4l-2 3"})]});import{jsx as Jm,jsxs as BP}from"react/jsx-runtime";var jm=e=>BP(o,{...e,children:[Jm("path",{d:"M12.462 20.87c-.153 .047 -.307 .09 -.462 .13a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .11 6.37"}),Jm("path",{d:"M16 19h6"}),Jm("path",{d:"M19 16v6"})]});import{jsx as eu,jsxs as RP}from"react/jsx-runtime";var tu=e=>RP(o,{...e,children:[eu("path",{d:"M13.252 20.601c-.408 .155 -.826 .288 -1.252 .399a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.19 7.357"}),eu("path",{d:"M22 22l-5 -5"}),eu("path",{d:"M17 22l5 -5"})]});import{jsx as h2,jsxs as LP}from"react/jsx-runtime";var ou=e=>LP(o,{...e,children:[h2("path",{d:"M6.331 8h11.339a2 2 0 0 1 1.977 2.304l-1.255 8.152a3 3 0 0 1 -2.966 2.544h-6.852a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304z"}),h2("path",{d:"M9 11v-5a3 3 0 0 1 6 0v5"})]});import{jsx as yl,jsxs as DP}from"react/jsx-runtime";var nu=e=>DP(o,{...e,children:[yl("path",{d:"M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 17h-11v-14h-2"}),yl("path",{d:"M6 5l14 1l-1 7h-13"})]});import{jsx as Qt,jsxs as TP}from"react/jsx-runtime";var ru=e=>TP(o,{...e,children:[Qt("path",{d:"M5 9l4 0l0 -4"}),Qt("path",{d:"M3 3l6 6"}),Qt("path",{d:"M5 15l4 0l0 4"}),Qt("path",{d:"M3 21l6 -6"}),Qt("path",{d:"M19 9l-4 0l0 -4"}),Qt("path",{d:"M15 9l6 -6"}),Qt("path",{d:"M19 15l-4 0l0 4"}),Qt("path",{d:"M15 15l6 6"})]});import{jsx as Cl,jsxs as NP}from"react/jsx-runtime";var au=e=>NP(o,{...e,children:[Cl("path",{d:"M18 4l3 3l-3 3"}),Cl("path",{d:"M18 20l3 -3l-3 -3"}),Cl("path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5"}),Cl("path",{d:"M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3"})]});import{jsx as f2,jsxs as FP}from"react/jsx-runtime";var lu=e=>FP(o,{...e,children:[f2("path",{d:"M4 5v14l12 -7z"}),f2("path",{d:"M20 5l0 14"})]});import{jsx as g2,jsxs as EP}from"react/jsx-runtime";var cu=e=>EP(o,{...e,children:[g2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),g2("path",{d:"M5.7 5.7l12.6 12.6"})]});import{jsx as v2,jsxs as AP}from"react/jsx-runtime";var su=e=>AP(o,{...e,children:[v2("path",{d:"M9.103 2h5.794a3 3 0 0 1 2.122 .879l4.101 4.1a3 3 0 0 1 .879 2.123v5.794a3 3 0 0 1 -.879 2.122l-4.1 4.101a3 3 0 0 1 -2.123 .879h-5.794a3 3 0 0 1 -2.122 -.879l-4.101 -4.1a3 3 0 0 1 -.879 -2.123v-5.794a3 3 0 0 1 .879 -2.122l4.1 -4.101a3 3 0 0 1 2.123 -.879z"}),v2("path",{d:"M5 5 L19 19"})]});import{jsx as Co,jsxs as zP}from"react/jsx-runtime";var iu=e=>zP(o,{...e,children:[Co("path",{d:"M4 10l0 6"}),Co("path",{d:"M20 10l0 6"}),Co("path",{d:"M7 9h10v8a1 1 0 0 1 -1 1h-8a1 1 0 0 1 -1 -1v-8a5 5 0 0 1 10 0"}),Co("path",{d:"M8 3l1 2"}),Co("path",{d:"M16 3l-1 2"}),Co("path",{d:"M9 18l0 3"}),Co("path",{d:"M15 18l0 3"})]});import{jsx as I2,jsxs as OP}from"react/jsx-runtime";var pu=e=>OP(o,{...e,children:[I2("path",{d:"M8.286 7.008c-3.216 0 -4.286 3.23 -4.286 5.92c0 3.229 2.143 8.072 4.286 8.072c1.165 -.05 1.799 -.538 3.214 -.538c1.406 0 1.607 .538 3.214 .538s4.286 -3.229 4.286 -5.381c-.03 -.011 -2.649 -.434 -2.679 -3.23c-.02 -2.335 2.589 -3.179 2.679 -3.228c-1.096 -1.606 -3.162 -2.113 -3.75 -2.153c-1.535 -.12 -3.032 1.077 -3.75 1.077c-.729 0 -2.036 -1.077 -3.214 -1.077z"}),I2("path",{d:"M12 4a2 2 0 0 0 2 -2a2 2 0 0 0 -2 2"})]});import{jsx as b2}from"react/jsx-runtime";var du=e=>b2(o,{...e,children:b2("path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"})});import{jsx as Br,jsxs as _P}from"react/jsx-runtime";var mu=e=>_P(o,{...e,children:[Br("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Br("path",{d:"M3.6 9h16.8"}),Br("path",{d:"M3.6 15h16.8"}),Br("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),Br("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]});import{jsx as y2}from"react/jsx-runtime";var uu=e=>y2(o,{...e,children:y2("path",{d:"M20.945 11a9 9 0 1 1 -3.284 -5.997l-2.655 2.392a5.5 5.5 0 1 0 2.119 6.605h-4.125v-3h7.945z"})});import{jsx as hu,jsxs as HP}from"react/jsx-runtime";var fu=e=>HP(o,{...e,children:[hu("path",{d:"M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z"}),hu("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),hu("path",{d:"M16.5 7.5v.01"})]});import{jsx as Rr,jsxs as UP}from"react/jsx-runtime";var gu=e=>UP(o,{...e,children:[Rr("path",{d:"M8 11v5"}),Rr("path",{d:"M8 8v.01"}),Rr("path",{d:"M12 16v-5"}),Rr("path",{d:"M16 16v-3a2 2 0 1 0 -4 0"}),Rr("path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z"})]});import{jsx as vu,jsxs as GP}from"react/jsx-runtime";var Iu=e=>GP(o,{...e,children:[vu("path",{d:"M14 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),vu("path",{d:"M12 9.765a3 3 0 1 0 0 4.47"}),vu("path",{d:"M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"})]});import{jsx as xo,jsxs as VP}from"react/jsx-runtime";var bu=e=>VP(o,{...e,children:[xo("path",{d:"M6.306 8.711c-2.602 .723 -4.306 1.926 -4.306 3.289c0 2.21 4.477 4 10 4c.773 0 1.526 -.035 2.248 -.102"}),xo("path",{d:"M17.692 15.289c2.603 -.722 4.308 -1.926 4.308 -3.289c0 -2.21 -4.477 -4 -10 -4c-.773 0 -1.526 .035 -2.25 .102"}),xo("path",{d:"M6.305 15.287c-.676 2.615 -.485 4.693 .695 5.373c1.913 1.105 5.703 -1.877 8.464 -6.66c.387 -.67 .733 -1.339 1.036 -2"}),xo("path",{d:"M17.694 8.716c.677 -2.616 .487 -4.696 -.694 -5.376c-1.913 -1.105 -5.703 1.877 -8.464 6.66c-.387 .67 -.733 1.34 -1.037 2"}),xo("path",{d:"M12 5.424c-1.925 -1.892 -3.82 -2.766 -5 -2.084c-1.913 1.104 -1.226 5.877 1.536 10.66c.386 .67 .793 1.304 1.212 1.896"}),xo("path",{d:"M12 18.574c1.926 1.893 3.821 2.768 5 2.086c1.913 -1.104 1.226 -5.877 -1.536 -10.66c-.375 -.65 -.78 -1.283 -1.212 -1.897"}),xo("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"})]});import{jsx as Lr,jsxs as WP}from"react/jsx-runtime";var yu=e=>WP(o,{...e,children:[Lr("path",{d:"M21 15l-1 -6l-2.5 6"}),Lr("path",{d:"M9 15l1 -6"}),Lr("path",{d:"M3 9h1v6h.5l2.5 -6"}),Lr("path",{d:"M16 9.5a.5 .5 0 0 0 -.5 -.5h-.75c-.721 0 -1.337 .521 -1.455 1.233l-.09 .534a1.059 1.059 0 0 0 1.045 1.233a1.059 1.059 0 0 1 1.045 1.233l-.09 .534a1.476 1.476 0 0 1 -1.455 1.233h-.75a.5 .5 0 0 1 -.5 -.5"}),Lr("path",{d:"M18 14h2.7"})]});import{jsx as C2,jsxs as $P}from"react/jsx-runtime";var Cu=e=>$P(o,{...e,children:[C2("path",{d:"M4 4l11.733 16h4.267l-11.733 -16z"}),C2("path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"})]});import{jsx as xl,jsxs as qP}from"react/jsx-runtime";var xu=e=>qP(o,{...e,children:[xl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),xl("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),xl("path",{d:"M13.41 10.59l2.59 -2.59"}),xl("path",{d:"M7 12a5 5 0 0 1 5 -5"})]});import{jsx as x2}from"react/jsx-runtime";var Pu=e=>x2(o,{...e,children:x2("path",{d:"M22 5h-5v5h-5v5h-5v5h-5"})});import{jsx as P2}from"react/jsx-runtime";var Dr=e=>P2(o,{...e,children:P2("path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"})});import{jsx as S2}from"react/jsx-runtime";var Su=e=>S2(o,{isFilled:!0,...e,children:S2("path",{d:"M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z"})});import{jsx as M2}from"react/jsx-runtime";var Mu=e=>M2(o,{isFilled:!0,...e,children:M2("path",{d:"M12 1a.993 .993 0 0 1 .823 .443l.067 .116l2.852 5.781l6.38 .925c.741 .108 1.08 .94 .703 1.526l-.07 .095l-.078 .086l-4.624 4.499l1.09 6.355a1.001 1.001 0 0 1 -1.249 1.135l-.101 -.035l-.101 -.046l-5.693 -3l-5.706 3c-.105 .055 -.212 .09 -.32 .106l-.106 .01a1.003 1.003 0 0 1 -1.038 -1.06l.013 -.11l1.09 -6.355l-4.623 -4.5a1.001 1.001 0 0 1 .328 -1.647l.113 -.036l.114 -.023l6.379 -.925l2.853 -5.78a.968 .968 0 0 1 .904 -.56zm0 3.274v12.476a1 1 0 0 1 .239 .029l.115 .036l.112 .05l4.363 2.299l-.836 -4.873a1 1 0 0 1 .136 -.696l.07 -.099l.082 -.09l3.546 -3.453l-4.891 -.708a1 1 0 0 1 -.62 -.344l-.073 -.097l-.06 -.106l-2.183 -4.424z"})});import{jsx as w2}from"react/jsx-runtime";var wu=e=>w2(o,{...e,children:w2("path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z"})});import{jsx as k2}from"react/jsx-runtime";var Tr=e=>k2(o,{...e,children:k2("path",{d:"M5 5m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"})});import{jsx as B2,jsxs as XP}from"react/jsx-runtime";var ku=e=>XP(o,{...e,children:[B2("path",{d:"M5 12l14 0"}),B2("path",{d:"M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7h2a3.5 3.5 0 0 1 0 7h-1.5a4 2 0 0 1 -4 -1.5"})]});import{jsx as R2,jsxs as KP}from"react/jsx-runtime";var Bu=e=>KP(o,{...e,children:[R2("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),R2("path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"})]});import{jsx as L2,jsxs as ZP}from"react/jsx-runtime";var Ru=e=>ZP(o,{...e,children:[L2("path",{d:"M7 10h14l-4 -4"}),L2("path",{d:"M17 14h-14l4 4"})]});import{jsx as Pl,jsxs as QP}from"react/jsx-runtime";var Lu=e=>QP(o,{...e,children:[Pl("path",{d:"M16 3l4 4l-4 4"}),Pl("path",{d:"M10 7l10 0"}),Pl("path",{d:"M8 13l-4 4l4 4"}),Pl("path",{d:"M4 17l9 0"})]});import{jsx as Du,jsxs as YP}from"react/jsx-runtime";var Tu=e=>YP(o,{...e,children:[Du("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),Du("path",{d:"M3 10h18"}),Du("path",{d:"M10 3v18"})]});import{jsx as D2,jsxs as JP}from"react/jsx-runtime";var Nr=e=>JP(o,{...e,children:[D2("path",{d:"M7.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),D2("path",{d:"M3 6v5.172a2 2 0 0 0 .586 1.414l7.71 7.71a2.41 2.41 0 0 0 3.408 0l5.592 -5.592a2.41 2.41 0 0 0 0 -3.408l-7.71 -7.71a2 2 0 0 0 -1.414 -.586h-5.172a3 3 0 0 0 -3 3z"})]});import{jsx as fn,jsxs as jP}from"react/jsx-runtime";var Nu=e=>jP(o,{...e,children:[fn("path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),fn("path",{d:"M12 12m-8 0a8 8 0 1 0 16 0a8 8 0 1 0 -16 0"}),fn("path",{d:"M12 2l0 2"}),fn("path",{d:"M12 20l0 2"}),fn("path",{d:"M20 12l2 0"}),fn("path",{d:"M2 12l2 0"})]});import{jsx as Fu,jsxs as eS}from"react/jsx-runtime";var Eu=e=>eS(o,{...e,children:[Fu("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Fu("path",{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"}),Fu("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Au,jsxs as tS}from"react/jsx-runtime";var zu=e=>tS(o,{...e,children:[Au("path",{d:"M9 15v-7a3 3 0 0 1 6 0v7"}),Au("path",{d:"M9 11h6"}),Au("path",{d:"M5 19h14"})]});import{jsx as T2,jsxs as oS}from"react/jsx-runtime";var Ou=e=>oS(o,{...e,children:[T2("path",{d:"M6 4l12 0"}),T2("path",{d:"M12 4l0 16"})]});import{jsx as Sl,jsxs as nS}from"react/jsx-runtime";var _u=e=>nS(o,{...e,children:[Sl("path",{d:"M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),Sl("path",{d:"M12.5 5.5l4 4"}),Sl("path",{d:"M4.5 13.5l4 4"}),Sl("path",{d:"M21 15v4h-8l4 -4z"})]});import{jsx as N2}from"react/jsx-runtime";var Hu=e=>N2(o,{...e,children:N2("path",{d:"M7 13v-8a1 1 0 0 0 -1 -1h-2a1 1 0 0 0 -1 1v7a1 1 0 0 0 1 1h3a4 4 0 0 1 4 4v1a2 2 0 0 0 4 0v-5h3a2 2 0 0 0 2 -2l-1 -5a2 3 0 0 0 -2 -2h-7a3 3 0 0 0 -3 3"})});import{jsx as F2}from"react/jsx-runtime";var Uu=e=>F2(o,{...e,children:F2("path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3"})});import{jsx as E2,jsxs as rS}from"react/jsx-runtime";var Gu=e=>rS(o,{isFilled:!0,...e,children:[E2("path",{d:"M13 3a3 3 0 0 1 2.995 2.824l.005 .176v4h2a3 3 0 0 1 2.98 2.65l.015 .174l.005 .176l-.02 .196l-1.006 5.032c-.381 1.626 -1.502 2.796 -2.81 2.78l-.164 -.008h-8a1 1 0 0 1 -.993 -.883l-.007 -.117l.001 -9.536a1 1 0 0 1 .5 -.865a2.998 2.998 0 0 0 1.492 -2.397l.007 -.202v-1a3 3 0 0 1 3 -3z"}),E2("path",{d:"M5 10a1 1 0 0 1 .993 .883l.007 .117v9a1 1 0 0 1 -.883 .993l-.117 .007h-1a2 2 0 0 1 -1.995 -1.85l-.005 -.15v-7a2 2 0 0 1 1.85 -1.995l.15 -.005h1z"})]});import{jsx as A2,jsxs as aS}from"react/jsx-runtime";var Vu=e=>aS(o,{...e,children:[A2("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),A2("path",{d:"M2 6m0 6a6 6 0 0 1 6 -6h8a6 6 0 0 1 6 6v0a6 6 0 0 1 -6 6h-8a6 6 0 0 1 -6 -6z"})]});import{jsx as gn,jsxs as lS}from"react/jsx-runtime";var Wu=e=>lS(o,{...e,children:[gn("path",{d:"M9 6.371c0 4.418 -2.239 6.629 -5 6.629"}),gn("path",{d:"M4 6.371h7"}),gn("path",{d:"M5 9c0 2.144 2.252 3.908 6 4"}),gn("path",{d:"M12 20l4 -9l4 9"}),gn("path",{d:"M19.1 18h-6.2"}),gn("path",{d:"M6.694 3l.793 .582"})]});import{jsx as Fr,jsxs as cS}from"react/jsx-runtime";var Ke=e=>cS(o,{...e,children:[Fr("path",{d:"M4 7l16 0"}),Fr("path",{d:"M10 11l0 6"}),Fr("path",{d:"M14 11l0 6"}),Fr("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),Fr("path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"})]});import{jsx as z2,jsxs as sS}from"react/jsx-runtime";var $u=e=>sS(o,{...e,children:[z2("path",{d:"M3 17l6 -6l4 4l8 -8"}),z2("path",{d:"M14 7l7 0l0 7"})]});import{jsx as O2,jsxs as iS}from"react/jsx-runtime";var qu=e=>iS(o,{...e,children:[O2("path",{d:"M7 5v5a5 5 0 0 0 10 0v-5"}),O2("path",{d:"M5 19h14"})]});import{jsx as _2,jsxs as pS}from"react/jsx-runtime";var Xu=e=>pS(o,{...e,children:[_2("path",{d:"M9 14l-4 -4l4 -4"}),_2("path",{d:"M5 10h11a4 4 0 1 1 0 8h-1"})]});import{jsx as Ku,jsxs as dS}from"react/jsx-runtime";var Zu=e=>dS(o,{...e,children:[Ku("path",{d:"M3 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -6"}),Ku("path",{d:"M9 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),Ku("path",{d:"M13 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as Qu,jsxs as mS}from"react/jsx-runtime";var Po=e=>mS(o,{...e,children:[Qu("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),Qu("path",{d:"M9 15l3 -3l3 3"}),Qu("path",{d:"M12 12l0 9"})]});import{jsx as H2,jsxs as uS}from"react/jsx-runtime";var Er=e=>uS(o,{...e,children:[H2("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),H2("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"})]});import{jsx as Yu,jsxs as hS}from"react/jsx-runtime";var Ju=e=>hS(o,{...e,children:[Yu("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Yu("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"}),Yu("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as Ml,jsxs as fS}from"react/jsx-runtime";var ju=e=>fS(o,{...e,children:[Ml("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ml("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),Ml("path",{d:"M21 15h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3h-2.5"}),Ml("path",{d:"M19 21v1m0 -8v1"})]});import{jsx as e1,jsxs as gS}from"react/jsx-runtime";var t1=e=>gS(o,{...e,children:[e1("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),e1("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3.5"}),e1("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39z"})]});import{jsx as wl,jsxs as vS}from"react/jsx-runtime";var o1=e=>vS(o,{...e,children:[wl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),wl("path",{d:"M16 19h6"}),wl("path",{d:"M19 16v6"}),wl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"})]});import{jsx as kl,jsxs as IS}from"react/jsx-runtime";var n1=e=>IS(o,{...e,children:[kl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),kl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),kl("path",{d:"M16 22l5 -5"}),kl("path",{d:"M21 21.5v-4.5h-4.5"})]});import{jsx as Bl,jsxs as bS}from"react/jsx-runtime";var r1=e=>bS(o,{...e,children:[Bl("path",{d:"M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bl("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Bl("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Bl("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"})]});import{jsx as a1,jsxs as yS}from"react/jsx-runtime";var l1=e=>yS(o,{...e,children:[a1("path",{d:"M9 10a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),a1("path",{d:"M6 21v-1a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v1"}),a1("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"})]});import{jsx as Ar,jsxs as CS}from"react/jsx-runtime";var c1=e=>CS(o,{...e,children:[Ar("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ar("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h6"}),Ar("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Ar("path",{d:"M19 22v-6"}),Ar("path",{d:"M22 19l-3 -3l-3 3"})]});import{jsx as U2,jsxs as xS}from"react/jsx-runtime";var s1=e=>xS(o,{...e,children:[U2("path",{d:"M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z"}),U2("path",{d:"M3 6m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as i1,jsxs as PS}from"react/jsx-runtime";var p1=e=>PS(o,{...e,children:[i1("path",{d:"M12 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),i1("path",{d:"M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),i1("path",{d:"M8 16l-2.091 3.486a1 1 0 0 0 .857 1.514h10.468a1 1 0 0 0 .857 -1.514l-2.091 -3.486"})]});import{jsx as d1,jsxs as SS}from"react/jsx-runtime";var m1=e=>SS(o,{...e,children:[d1("path",{d:"M15 8a5 5 0 0 1 0 8"}),d1("path",{d:"M17.7 5a9 9 0 0 1 0 14"}),d1("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as G2,jsxs as MS}from"react/jsx-runtime";var u1=e=>MS(o,{...e,children:[G2("path",{d:"M15 8a5 5 0 0 1 0 8"}),G2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as V2,jsxs as wS}from"react/jsx-runtime";var h1=e=>wS(o,{...e,children:[V2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"}),V2("path",{d:"M16 10l4 4m0 -4l-4 4"})]});import{jsx as W2}from"react/jsx-runtime";var f1=e=>W2(o,{...e,children:W2("path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"})});import{jsx as $2,jsxs as kS}from"react/jsx-runtime";var Te=e=>kS(o,{...e,children:[$2("path",{d:"M18 6l-12 12"}),$2("path",{d:"M6 6l12 12"})]});import{jsx as q2,jsxs as BS}from"react/jsx-runtime";var g1=e=>BS(o,{...e,children:[q2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),q2("path",{d:"M10 10l4 4m0 -4l-4 4"})]});import{jsx as X2}from"react/jsx-runtime";var v1=e=>X2(o,{isFilled:!0,...e,children:X2("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-6.489 5.8a1 1 0 0 0 -1.218 1.567l1.292 1.293l-1.292 1.293l-.083 .094a1 1 0 0 0 1.497 1.32l1.293 -1.292l1.293 1.292l.094 .083a1 1 0 0 0 1.32 -1.497l-1.292 -1.293l1.292 -1.293l.083 -.094a1 1 0 0 0 -1.497 -1.32l-1.293 1.292l-1.293 -1.292l-.094 -.083z"})});import{jsx as K2,jsxs as RS}from"react/jsx-runtime";var I1=e=>RS(o,{...e,children:[K2("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),K2("path",{d:"M9 9l6 6m0 -6l-6 6"})]});import{jsx as Rl,jsxs as LS}from"react/jsx-runtime";var b1=e=>LS(o,{...e,children:[Rl("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),Rl("path",{d:"M7 10l6 0"}),Rl("path",{d:"M10 7l0 6"}),Rl("path",{d:"M21 21l-6 -6"})]});import{jsx as y1,jsxs as DS}from"react/jsx-runtime";var C1=e=>DS(o,{...e,children:[y1("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),y1("path",{d:"M7 10l6 0"}),y1("path",{d:"M21 21l-6 -6"})]});var zr=(d=>(d["48AlertFeatured"]="48AlertFeatured",d["48SuccessFeatured"]="48SuccessFeatured",d.AlertCircle="AlertCircle",d.AlertOctagon="AlertOctagon",d.AlertTriangle="AlertTriangle",d.Apps="Apps",d.ArrowBarDown="ArrowBarDown",d.ArrowBarLeft="ArrowBarLeft",d.ArrowBarRight="ArrowBarRight",d.ArrowBarToDown="ArrowBarToDown",d.ArrowBarToLeft="ArrowBarToLeft",d.ArrowBarToRight="ArrowBarToRight",d.ArrowBarToUp="ArrowBarToUp",d.ArrowBarUp="ArrowBarUp",d.Archive="Archive",d.ArrowDown="ArrowDown",d.ArrowDownLeft="ArrowDownLeft",d.ArrowDownNarrow="ArrowDownNarrow",d.ArrowDownRight="ArrowDownRight",d.ArrowLeft="ArrowLeft",d.ArrowLeftNarrow="ArrowLeftNarrow",d.ArrowRight="ArrowRight",d.ArrowRightNarrow="ArrowRightNarrow",d.ArrowUp="ArrowUp",d.ArrowUpLeft="ArrowUpLeft",d.ArrowUpNarrow="ArrowUpNarrow",d.ArrowUpRight="ArrowUpRight",d.Attachment="Attachment",d.BarChart="BarChart",d.BarChartSquare="BarChartSquare",d.Bell="Bell",d.Bold="Bold",d.Bookmark="Bookmark",d.BookmarkCheck="BookmarkCheck",d.BookmarkCheckFill="BookmarkCheckFill",d.BookmarkFill="BookmarkFill",d.BookmarkMinus="BookmarkMinus",d.BookmarkPlus="BookmarkPlus",d.BookmarkX="BookmarkX",d.BookOpen="BookOpen",d.BoxLines="BoxLines",d.BoxText="BoxText",d.BracketsCheck="BracketsCheck",d.BracketsEllipses="BracketsEllipses",d.BrickWall="BrickWall",d.Briefcase="Briefcase",d.Building="Building",d.Calculator="Calculator",d.Calendar="Calendar",d.Certificate="Certificate",d.Check="Check",d.CheckCircle="CheckCircle",d.CheckCircleBroken="CheckCircleBroken",d.CheckFill="CheckFill",d.CheckVerified="CheckVerified",d.CheckVerifiedFill="CheckVerifiedFill",d.ChevronDown="ChevronDown",d.ChevronDownDouble="ChevronDownDouble",d.ChevronDownLeft="ChevronDownLeft",d.ChevronDownLeftDouble="ChevronDownLeftDouble",d.ChevronDownRight="ChevronDownRight",d.ChevronDownRightDouble="ChevronDownRightDouble",d.ChevronLeft="ChevronLeft",d.ChevronLeftDouble="ChevronLeftDouble",d.ChevronRight="ChevronRight",d.ChevronRightDouble="ChevronRightDouble",d.ChevronSelectorVertical="ChevronSelectorVertical",d.ChevronUp="ChevronUp",d.ChevronUpDouble="ChevronUpDouble",d.ChevronUpLeft="ChevronUpLeft",d.ChevronUpLeftDouble="ChevronUpLeftDouble",d.ChevronUpRight="ChevronUpRight",d.ChevronUpRightDouble="ChevronUpRightDouble",d.Click="Click",d.Clock="Clock",d.ClockFastForward="ClockFastForward",d.ClockPlay="ClockPlay",d.ClockRewind="ClockRewind",d.Clone="Clone",d.Code="Code",d.CodeBrowser="CodeBrowser",d.CodeCircle="CodeCircle",d.Colors="Colors",d.ColumnEdit="ColumnEdit",d.Copy="Copy",d.Copy2="Copy2",d.CopyCheck="CopyCheck",d.CreditCard="CreditCard",d.Cube="Cube",d.CubeOutline="CubeOutline",d.CursorBox="CursorBox",d.Dataflow="Dataflow",d.Dataflow2="Dataflow2",d.Dataflow3="Dataflow3",d.DistributeHorizontal="DistributeHorizontal",d.Dollar="Dollar",d.DollarCircle="DollarCircle",d.Dot="Dot",d.DotFill="DotFill",d.DotsGrid="DotsGrid",d.DotsHorizontal="DotsHorizontal",d.DotsVertical="DotsVertical",d.Download="Download",d.Edit="Edit",d.Editable="Editable",d.Expand="Expand",d.ExternalLink="ExternalLink",d.ExternalLink2="ExternalLink2",d.Eye="Eye",d.EyeHidden="EyeHidden",d.EyeHidden2="EyeHidden2",d.FaceAngry="FaceAngry",d.FaceLaugh="FaceLaugh",d.FaceSmile="FaceSmile",d.File="File",d.FileCheck="FileCheck",d.FileCsv="FileCsv",d.FileDownload="FileDownload",d.FileJson="FileJson",d.FileList="FileList",d.FileMusic="FileMusic",d.FilePdf="FilePdf",d.Files="Files",d.FileSpreadsheet="FileSpreadsheet",d.FileText="FileText",d.FileUpload="FileUpload",d.FileXls="FileXls",d.FileXlsx="FileXlsx",d.FileZip="FileZip",d.Filter="Filter",d.Filter2="Filter2",d.Flag="Flag",d.Flag2="Flag2",d.FlagFill="FlagFill",d.Focus="Focus",d.Folder="Folder",d.FolderExport="FolderExport",d.FolderImport="FolderImport",d.GraduationCap="GraduationCap",d.GripVertical="GripVertical",d.Hand="Hand",d.HandShield="HandShield",d.Hash="Hash",d.HeadsetMic="HeadsetMic",d.Heart="Heart",d.HeartFill="HeartFill",d.House="House",d.HouseLine="HouseLine",d.Image="Image",d.Image2="Image2",d.ImageCheck="ImageCheck",d.ImageOff="ImageOff",d.Import="Import",d.Inbox="Inbox",d.InfoCircle="InfoCircle",d.InfoHexagon="InfoHexagon",d.Italic="Italic",d.LayersMultiple="LayersMultiple",d.LayersSingle="LayersSingle",d.Layout="Layout",d.Layout2="Layout2",d.LayoutColumns="LayoutColumns",d.LayoutCustom="LayoutCustom",d.LayoutStuffed="LayoutStuffed",d.LayoutTile="LayoutTile",d.LifeBuoy="LifeBuoy",d.Lightbulb="Lightbulb",d.Lightning="Lightning",d.LightningFast="LightningFast",d.LineChart="LineChart",d.LineChartBar="LineChartBar",d.LineChartBreakoutSquare="LineChartBreakoutSquare",d.LineChartUp="LineChartUp",d.Lines="Lines",d.LinesCheck="LinesCheck",d.LinesPlay="LinesPlay",d.Link="Link",d.Link2="Link2",d.LinkOff="LinkOff",d.ListBullet="ListBullet",d.ListOrder="ListOrder",d.Lock="Lock",d.LockFill="LockFill",d.LogIn="LogIn",d.LogOut="LogOut",d.LogOut2="LogOut2",d.MagicWand="MagicWand",d.Mail="Mail",d.MapPin="MapPin",d.Maximize="Maximize",d.Maximize2="Maximize2",d.MessageCircle="MessageCircle",d.MessageSquare="MessageSquare",d.MessageSquare2="MessageSquare2",d.MessageXSquare="MessageXSquare",d.Microphone="Microphone",d.Minimize="Minimize",d.Minimize2="Minimize2",d.MinusCircle="MinusCircle",d.Mobile="Mobile",d.Monitor="Monitor",d.Monitor2="Monitor2",d.Moon="Moon",d.MoonCircle="MoonCircle",d.Movie="Movie",d.NavigationPointer="NavigationPointer",d.NotificationBox="NotificationBox",d.Package="Package",d.Palette="Palette",d.PasscodeLock="PasscodeLock",d.Pause="Pause",d.PauseCircle="PauseCircle",d.PCSetup="PCSetup",d.Pen="Pen",d.PercentageCircle="PercentageCircle",d.Perspective="Perspective",d.PhoneCall="PhoneCall",d.Pin="Pin",d.Play="Play",d.PlayCircle="PlayCircle",d.Plus="Plus",d.PlusCircle="PlusCircle",d.Printer="Printer",d.Pulse="Pulse",d.QuestionCircle="QuestionCircle",d.Quote="Quote",d.RadioButton="RadioButton",d.RadioButtonFill="RadioButtonFill",d.Receipt="Receipt",d.ReceiptCheck="ReceiptCheck",d.Redo="Redo",d.Refresh="Refresh",d.Refresh2="Refresh2",d.Refresh3="Refresh3",d.Repeat="Repeat",d.Replace="Replace",d.Replay="Replay",d.Restore="Restore",d.Rocket="Rocket",d.RoundChart="RoundChart",d.RoundChart2="RoundChart2",d.Route="Route",d.Save="Save",d.ScanDots="ScanDots",d.Scissors="Scissors",d.Search="Search",d.Send="Send",d.Server="Server",d.Settings="Settings",d.Settings2="Settings2",d.Share="Share",d.ShieldLightning="ShieldLightning",d.ShieldPlus="ShieldPlus",d.ShieldRemove="ShieldRemove",d.ShoppingBag="ShoppingBag",d.ShoppingCart="ShoppingCart",d.Shrink="Shrink",d.Shuffle="Shuffle",d.SkipForward="SkipForward",d.SlashCircle="SlashCircle",d.SlashOctagon="SlashOctagon",d.SocialAndroid="SocialAndroid",d.SocialApple="SocialApple",d.SocialGithub="SocialGithub",d.SocialGlobe="SocialGlobe",d.SocialGoogle="SocialGoogle",d.SocialInstagram="SocialInstagram",d.SocialLinkedin="SocialLinkedin",d.SocialMastercard="SocialMastercard",d.SocialReact="SocialReact",d.SocialVisa="SocialVisa",d.SocialX="SocialX",d.Speedometer="Speedometer",d.Stairs="Stairs",d.Star="Star",d.StarFill="StarFill",d.StarHalf="StarHalf",d.Stars="Stars",d.Stop="Stop",d.Strikethrough="Strikethrough",d.Sun="Sun",d.Swap="Swap",d.SwitchHorizontal="SwitchHorizontal",d.Table="Table",d.Tag="Tag",d.Target="Target",d.Target2="Target2",d.TextFormat="TextFormat",d.TextFormat2="TextFormat2",d.TextHighlight="TextHighlight",d.ThumbsDown="ThumbsDown",d.ThumbsUp="ThumbsUp",d.ThumbsUpFill="ThumbsUpFill",d.Toggle="Toggle",d.Translate="Translate",d.Trash="Trash",d.Trending="Trending",d.Underline="Underline",d.Undo="Undo",d.Unlock="Unlock",d.UploadCloud="UploadCloud",d.User="User",d.UserCheck="UserCheck",d.UserDollar="UserDollar",d.UserEdit="UserEdit",d.UserPlus="UserPlus",d.UserRight="UserRight",d.Users="Users",d.UserSquare="UserSquare",d.UsersUp="UsersUp",d.UserVoice="UserVoice",d.Video="Video",d.VideoChat="VideoChat",d.Volume="Volume",d.VolumeDown="VolumeDown",d.VolumeMute="VolumeMute",d.Wrench="Wrench",d.X="X",d.XCircle="XCircle",d.XCircleFill="XCircleFill",d.XSquare="XSquare",d.ZoomIn="ZoomIn",d.ZoomOut="ZoomOut",d))(zr||{});import{jsx as m}from"react/jsx-runtime";function _e({name:e,...t}){switch(e){case"48AlertFeatured":return m(Qc,{...t});case"48SuccessFeatured":return m(Yc,{...t});case"AlertCircle":return m(ho,{...t});case"AlertOctagon":return m(jc,{...t});case"AlertTriangle":return m(ts,{...t});case"ArrowBarDown":return m(as,{...t});case"ArrowBarLeft":return m(ls,{...t});case"ArrowBarRight":return m(cs,{...t});case"ArrowBarToDown":return m(ss,{...t});case"ArrowBarToLeft":return m(is,{...t});case"ArrowBarToRight":return m(ps,{...t});case"ArrowBarToUp":return m(ds,{...t});case"ArrowBarUp":return m(ms,{...t});case"Apps":return m(os,{...t});case"Archive":return m(rs,{...t});case"ArrowDown":return m(hs,{...t});case"ArrowDownLeft":return m(fs,{...t});case"ArrowDownNarrow":return m(vs,{...t});case"ArrowDownRight":return m(Is,{...t});case"ArrowLeft":return m(ys,{...t});case"ArrowLeftNarrow":return m(xs,{...t});case"ArrowRight":return m(Ss,{...t});case"ArrowRightNarrow":return m(ws,{...t});case"ArrowUp":return m(Bs,{...t});case"ArrowUpLeft":return m(Rs,{...t});case"ArrowUpNarrow":return m(Ds,{...t});case"ArrowUpRight":return m(Ts,{...t});case"Attachment":return m(Ns,{...t});case"BarChart":return m(Fs,{...t});case"BarChartSquare":return m(Es,{...t});case"Bell":return m(As,{...t});case"Bold":return m(zs,{...t});case"BookOpen":return m(Vs,{...t});case"Bookmark":return m(Os,{...t});case"BookmarkCheck":return m(Vc,{...t});case"BookmarkCheckFill":return m(Wc,{...t});case"BookmarkFill":return m(_s,{...t});case"BookmarkMinus":return m(Hs,{...t});case"BookmarkPlus":return m(qc,{...t});case"BookmarkX":return m(Gs,{...t});case"BoxLines":return m(Ws,{...t});case"BoxText":return m(qs,{...t});case"BracketsCheck":return m(Ks,{...t});case"BracketsEllipses":return m(Zs,{...t});case"BrickWall":return m(Qs,{...t});case"Briefcase":return m(Ys,{...t});case"Building":return m(Xc,{...t});case"Calculator":return m(Js,{...t});case"Calendar":return m(Zn,{...t});case"Certificate":return m(js,{...t});case"Check":return m(xt,{...t});case"CheckCircle":return m(fo,{...t});case"CheckCircleBroken":return m(ei,{...t});case"CheckFill":return m(ti,{...t});case"CheckVerified":return m(oi,{...t});case"CheckVerifiedFill":return m(ni,{...t});case"ChevronDown":return m(Qn,{...t});case"ChevronDownDouble":return m(ri,{...t});case"ChevronDownLeft":return m(ai,{...t});case"ChevronDownLeftDouble":return m(li,{...t});case"ChevronDownRight":return m(ci,{...t});case"ChevronDownRightDouble":return m(si,{...t});case"ChevronLeft":return m(Pt,{...t});case"ChevronLeftDouble":return m(ii,{...t});case"ChevronRight":return m(ot,{...t});case"ChevronRightDouble":return m(Yn,{...t});case"ChevronSelectorVertical":return m(pi,{...t});case"ChevronUp":return m(St,{...t});case"ChevronUpDouble":return m(di,{...t});case"ChevronUpLeft":return m(mi,{...t});case"ChevronUpLeftDouble":return m(ui,{...t});case"ChevronUpRight":return m(hi,{...t});case"ChevronUpRightDouble":return m(fi,{...t});case"Click":return m(gi,{...t});case"Clock":return m(vi,{...t});case"ClockFastForward":return m(Ii,{...t});case"ClockPlay":return m(yi,{...t});case"ClockRewind":return m(Ci,{...t});case"Clone":return m(xi,{...t});case"Code":return m(Si,{...t});case"CodeBrowser":return m(Mi,{...t});case"CodeCircle":return m(ki,{...t});case"Colors":return m(Ri,{...t});case"ColumnEdit":return m(Kc,{...t});case"Copy":return m(Li,{...t});case"Copy2":return m(Di,{...t});case"CopyCheck":return m(Ni,{...t});case"Files":return m(bp,{...t});case"CreditCard":return m(Fi,{...t});case"Cube":return m(Ei,{...t});case"CubeOutline":return m(Ai,{...t});case"CursorBox":return m(jn,{...t});case"Dataflow":return m(zi,{...t});case"Dataflow2":return m(Oi,{...t});case"Dataflow3":return m(_i,{...t});case"DistributeHorizontal":return m(Ui,{...t});case"Dollar":return m(Gi,{...t});case"DollarCircle":return m(Wi,{...t});case"Dot":return m($i,{...t});case"DotFill":return m(qi,{...t});case"DotsGrid":return m(Xi,{...t});case"DotsHorizontal":return m(Zi,{...t});case"DotsVertical":return m(on,{...t});case"Download":return m(Ji,{...t});case"Edit":return m(ji,{...t});case"Editable":return m(tp,{...t});case"Expand":return m(op,{...t});case"ExternalLink":return m(rp,{...t});case"ExternalLink2":return m(lp,{...t});case"Eye":return m(cp,{...t});case"EyeHidden":return m(ip,{...t});case"EyeHidden2":return m(pp,{...t});case"FaceAngry":return m(dp,{...t});case"FaceLaugh":return m(mp,{...t});case"FaceSmile":return m(up,{...t});case"File":return m(vo,{...t});case"FileCheck":return m(fp,{...t});case"FileCsv":return m(nr,{...t});case"FileDownload":return m(gp,{...t});case"FileJson":return m(rr,{...t});case"FileList":return m(vp,{...t});case"FileMusic":return m(Xe,{...t});case"FilePdf":return m(Io,{...t});case"FileSpreadsheet":return m(lr,{...t});case"FileText":return m(wt,{...t});case"FileUpload":return m(yp,{...t});case"FileXls":return m(sr,{...t});case"FileXlsx":return m(ir,{...t});case"FileZip":return m(ct,{...t});case"Filter":return m(Cp,{...t});case"Filter2":return m(pr,{...t});case"Flag":return m(Pp,{...t});case"Flag2":return m(Sp,{...t});case"FlagFill":return m(Mp,{...t});case"Focus":return m(wp,{...t});case"Folder":return m(kp,{...t});case"FolderExport":return m(Bp,{...t});case"FolderImport":return m(Rp,{...t});case"GraduationCap":return m(Lp,{...t});case"GripVertical":return m(Dp,{...t});case"Hand":return m(Tp,{...t});case"HandShield":return m(Np,{...t});case"Hash":return m(Fp,{...t});case"HeadsetMic":return m(Ep,{...t});case"Heart":return m(Ap,{...t});case"HeartFill":return m(zp,{...t});case"House":return m(_p,{...t});case"HouseLine":return m(mr,{...t});case"Image":return m(Le,{...t});case"Image2":return m(Hp,{...t});case"ImageCheck":return m(Up,{...t});case"ImageOff":return m(Gp,{...t});case"Import":return m(Vp,{...t});case"Inbox":return m(Wp,{...t});case"InfoCircle":return m(qp,{...t});case"InfoHexagon":return m(Kp,{...t});case"Italic":return m(Qp,{...t});case"LayersMultiple":return m(Jp,{...t});case"LayersSingle":return m(jp,{...t});case"Layout":return m(ed,{...t});case"Layout2":return m(od,{...t});case"LayoutColumns":return m(nd,{...t});case"LayoutCustom":return m(rd,{...t});case"LayoutStuffed":return m(ld,{...t});case"LayoutTile":return m(cd,{...t});case"LifeBuoy":return m(sd,{...t});case"Lightbulb":return m(pd,{...t});case"Lightning":return m(dd,{...t});case"LightningFast":return m(md,{...t});case"LineChartBar":return m(hd,{...t});case"LineChartBreakoutSquare":return m(fd,{...t});case"LineChart":return m(ud,{...t});case"LineChartUp":return m(vd,{...t});case"Lines":return m(Id,{...t});case"LinesCheck":return m(bd,{...t});case"LinesPlay":return m(yd,{...t});case"Link":return m(xd,{...t});case"Link2":return m(Pd,{...t});case"LinkOff":return m(Sd,{...t});case"ListBullet":return m(Md,{...t});case"ListOrder":return m(wd,{...t});case"Lock":return m(Bd,{...t});case"LockFill":return m(Rd,{...t});case"LogIn":return m(Dd,{...t});case"LogOut":return m(Nd,{...t});case"LogOut2":return m(Ed,{...t});case"MagicWand":return m(Ad,{...t});case"Mail":return m(zd,{...t});case"MapPin":return m(Od,{...t});case"Maximize":return m(_d,{...t});case"Maximize2":return m(Hd,{...t});case"MessageCircle":return m(Ud,{...t});case"MessageSquare":return m(Vd,{...t});case"MessageSquare2":return m(Wd,{...t});case"MessageXSquare":return m($d,{...t});case"Microphone":return m(br,{...t});case"Minimize":return m(qd,{...t});case"Minimize2":return m(Xd,{...t});case"MinusCircle":return m(Kd,{...t});case"Mobile":return m(Qd,{...t});case"Monitor":return m(Yd,{...t});case"Monitor2":return m(Jd,{...t});case"Moon":return m(jd,{...t});case"MoonCircle":return m(em,{...t});case"Movie":return m(nt,{...t});case"NavigationPointer":return m(tm,{...t});case"NotificationBox":return m(om,{...t});case"Package":return m(nm,{...t});case"Palette":return m(rm,{...t});case"PasscodeLock":return m(am,{...t});case"Pause":return m(bo,{...t});case"PauseCircle":return m(cm,{...t});case"PCSetup":return m(im,{...t});case"Pen":return m(dm,{...t});case"PercentageCircle":return m(mm,{...t});case"Perspective":return m(um,{...t});case"PhoneCall":return m(fm,{...t});case"Pin":return m(Pr,{...t});case"Play":return m(yo,{...t});case"PlayCircle":return m(vm,{...t});case"Plus":return m(Sr,{...t});case"PlusCircle":return m(Kt,{...t});case"Printer":return m(ym,{...t});case"Pulse":return m(Cm,{...t});case"QuestionCircle":return m(Mr,{...t});case"Quote":return m(Pm,{...t});case"RadioButton":return m(Sm,{...t});case"RadioButtonFill":return m(Mm,{...t});case"Receipt":return m(wm,{...t});case"ReceiptCheck":return m(km,{...t});case"Redo":return m(Bm,{...t});case"Refresh":return m(Rm,{...t});case"Refresh2":return m(Lm,{...t});case"Refresh3":return m(Dm,{...t});case"Repeat":return m(Tm,{...t});case"Replace":return m(Nm,{...t});case"Replay":return m(Fm,{...t});case"Restore":return m(Am,{...t});case"Rocket":return m(Om,{...t});case"RoundChart":return m(_m,{...t});case"RoundChart2":return m(Hm,{...t});case"Route":return m(Gm,{...t});case"Save":return m(Wm,{...t});case"ScanDots":return m($m,{...t});case"Scissors":return m(wr,{...t});case"Search":return m(kt,{...t});case"Send":return m(qm,{...t});case"Server":return m(Xm,{...t});case"Settings":return m(Km,{...t});case"Settings2":return m(Zm,{...t});case"Share":return m(Qm,{...t});case"ShieldLightning":return m(Ym,{...t});case"ShieldPlus":return m(jm,{...t});case"ShieldRemove":return m(tu,{...t});case"ShoppingBag":return m(ou,{...t});case"ShoppingCart":return m(nu,{...t});case"Shrink":return m(ru,{...t});case"Shuffle":return m(au,{...t});case"SkipForward":return m(lu,{...t});case"SlashCircle":return m(cu,{...t});case"SlashOctagon":return m(su,{...t});case"SocialAndroid":return m(iu,{...t});case"SocialApple":return m(pu,{...t});case"SocialGithub":return m(du,{...t});case"SocialGlobe":return m(mu,{...t});case"SocialGoogle":return m(uu,{...t});case"SocialInstagram":return m(fu,{...t});case"SocialLinkedin":return m(gu,{...t});case"SocialMastercard":return m(Iu,{...t});case"SocialReact":return m(bu,{...t});case"SocialVisa":return m(yu,{...t});case"SocialX":return m(Cu,{...t});case"Speedometer":return m(xu,{...t});case"Stairs":return m(Pu,{...t});case"Star":return m(Dr,{...t});case"StarFill":return m(Su,{...t});case"StarHalf":return m(Mu,{...t});case"Stars":return m(wu,{...t});case"Stop":return m(Tr,{...t});case"Strikethrough":return m(ku,{...t});case"Sun":return m(Bu,{...t});case"Swap":return m(Ru,{...t});case"SwitchHorizontal":return m(Lu,{...t});case"Table":return m(Tu,{...t});case"Tag":return m(Nr,{...t});case"Target":return m(Nu,{...t});case"Target2":return m(Eu,{...t});case"TextFormat":return m(zu,{...t});case"TextFormat2":return m(Ou,{...t});case"TextHighlight":return m(_u,{...t});case"ThumbsDown":return m(Hu,{...t});case"ThumbsUp":return m(Uu,{...t});case"ThumbsUpFill":return m(Gu,{...t});case"Toggle":return m(Vu,{...t});case"Translate":return m(Wu,{...t});case"Trash":return m(Ke,{...t});case"Trending":return m($u,{...t});case"Underline":return m(qu,{...t});case"Undo":return m(Xu,{...t});case"Unlock":return m(Zu,{...t});case"UploadCloud":return m(Po,{...t});case"User":return m(Er,{...t});case"UserCheck":return m(Ju,{...t});case"UserDollar":return m(ju,{...t});case"UserEdit":return m(t1,{...t});case"UserPlus":return m(o1,{...t});case"UserRight":return m(n1,{...t});case"UserSquare":return m(l1,{...t});case"Users":return m(r1,{...t});case"UsersUp":return m(c1,{...t});case"UserVoice":return m(Zc,{...t});case"Video":return m(s1,{...t});case"VideoChat":return m(p1,{...t});case"Volume":return m(m1,{...t});case"VolumeDown":return m(u1,{...t});case"VolumeMute":return m(h1,{...t});case"Wrench":return m(f1,{...t});case"X":return m(Te,{...t});case"XCircle":return m(g1,{...t});case"XCircleFill":return m(v1,{...t});case"XSquare":return m(I1,{...t});case"ZoomIn":return m(b1,{...t});case"ZoomOut":return m(C1,{...t});default:return null}}var Z2=vo,Q2={png:Le,jpg:Le,jpeg:Le,gif:Le,bmp:Le,webp:Le,svg:Le,avif:Le,heic:Le,ico:Le,tif:Le,tiff:Le,mp4:nt,mov:nt,webm:nt,avi:nt,mkv:nt,m4v:nt,ogv:nt,mp3:Xe,wav:Xe,ogg:Xe,oga:Xe,m4a:Xe,aac:Xe,flac:Xe,weba:Xe,pdf:Io,doc:wt,docx:wt,txt:wt,rtf:wt,odt:wt,json:rr,csv:nr,xls:sr,xlsx:ir,ods:lr,zip:ct,rar:ct,"7z":ct,tar:ct,gz:ct,tgz:ct};var x1=e=>{let t=e?.trim().replace(/^\./,"").toLowerCase();return t&&Q2[t]||Z2};import{cn as P1,ColorHelpers as TS}from"@cleen/ui-core";import{forwardRef as NS}from"react";import{Fragment as ES,jsx as Or,jsxs as AS}from"react/jsx-runtime";var FS=NS(function({iconName:t,iconSrc:r,icon:n,iconSize:l=20,header:a,color:c,children:s,classNames:u,styles:p,...i},g){let h=TS.getComputedColor(c);return Or(ie,{ref:g,classNames:{...u,header:{...u?.header,title:P1("cleen-flex cleen-gap-4",u?.header?.title)}},header:{...a,title:AS(ES,{children:[Or("div",{className:P1("cleen-flex cleen-w-10 cleen-h-10 cleen-justify-center cleen-items-center cleen-gap-2 cleen-flex-shrink-0 cleen-rounded-xl cleen-border cleen-border-border cleen-bg-background",u?.iconHolder),style:{...h&&{backgroundColor:Vn(h,.85),color:h,borderColor:"transparent"},...p?.iconHolder},children:n||(t?Or(_e,{name:t,className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):r?Or("img",{src:r,alt:"Icon",className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):null)}),a?.title]})},color:c,...i,children:s&&Or("div",{className:P1("cleen-flex-1",u?.content),style:p?.content,children:s})})});import{cn as vn}from"@cleen/ui-core";import{forwardRef as zS,useMemo as OS}from"react";import{jsx as _r}from"react/jsx-runtime";var _S=zS(function({media:t,header:r,color:n,children:l,classNames:a,styles:c,...s},u){let p=OS(()=>{switch(t?.type){case"image":return _r("img",{...t,alt:t.alt??"Card media",className:vn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"video":return _r("video",{playsInline:!0,controls:!0,...t,className:vn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"iframe":return _r("iframe",{...t,title:t.title??"Card iframe",className:vn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});default:return null}},[t,a?.media,c?.media]);return _r(ie,{ref:u,color:n,classNames:{...a,container:vn("cleen-pt-0",a?.container),header:{...a?.header,content:vn("cleen-p-0",a?.header?.content)}},header:{...r,...p&&{content:_r("div",{className:vn("cleen-w-full cleen-overflow-hidden cleen-rounded-t-lg",a?.media?.container),style:c?.media?.container,children:p})}},...s,children:l})});import{cn as Hr}from"@cleen/ui-core";import{jsx as Ll,jsxs as HS}from"react/jsx-runtime";var j=({className:e,classNames:t,style:r,styles:n,infoMessage:l,errorMessage:a,subtitle:c,...s})=>Ll("div",{className:Hr("cleen",e),style:r,children:HS("div",{className:Hr(t?.container),style:n?.container,...s,children:[l&&Ll("div",{className:Hr("cleen-mt-1 cleen-font-normal cleen-text-sm cleen-text-info",t?.infoMessage),style:n?.infoMessage,role:"note",children:l}),a&&Ll("div",{className:Hr("cleen-mt-1 cleen-font-medium cleen-text-sm cleen-text-error",t?.errorMessage),style:n?.errorMessage,role:"alert",children:a}),c&&Ll("div",{className:Hr("cleen-mt-2 cleen-font-normal cleen-text-sm cleen-text-neutral-600",t?.subtitle),style:n?.subtitle,children:c})]})});import{cn as Ur}from"@cleen/ui-core";import{jsx as Gr,jsxs as US}from"react/jsx-runtime";var te=({required:e=!1,tooltip:t,children:r,className:n,classNames:l,style:a,styles:c,...s})=>Gr("div",{className:Ur("cleen",n),style:a,children:US("label",{...s,className:Ur("cleen-w-full cleen-flex cleen-gap-1 cleen-items-center cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-leading-6",l?.container),style:c?.container,children:[Gr("div",{className:Ur({"cleen-flex-1":!e&&!t},l?.label),style:c?.label,children:r}),e&&Gr("span",{className:Ur("cleen-text-primary",l?.required),style:c?.required,children:"*"}),t&&Gr(Ie,{hasArrow:!0,placement:"top",label:t,color:"rgb(var(--cleen-neutral-600))",...l?.tooltip,style:c?.tooltip?.style,styles:{...c?.tooltip?.styles,labelContainer:{width:"max-content",maxWidth:"250px",...c?.tooltip?.styles?.labelContainer}},children:Gr(Mr,{className:Ur("cleen-size-3 cleen-text-neutral-500 hover:cleen-text-neutral-900 cleen-transition-colors cleen-cursor-help",l?.questionIcon),style:c?.questionIcon})})]})});import{cn as Rt}from"@cleen/ui-core";import{forwardRef as GS,useEffect as VS,useId as WS,useMemo as $S,useState as Y2}from"react";import{jsx as Yt,jsxs as Dl}from"react/jsx-runtime";var me=GS(function({name:t,id:r,type:n,label:l,labelTooltip:a,defaultValue:c,value:s,files:u,disabled:p,required:i,className:g,classNames:h,style:y,styles:b,autoComplete:f="off",isFocusedBorder:v,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,uploadLabel:P="Choose a file",leftIcon:M,rightIcon:B,topRightIcon:k,inputOverlay:w,infoLabels:R,maxLengthLabel:E,minLengthLabel:N,onChange:L,...F},D){let S=s!==void 0||u!==void 0,[_,T]=Y2(c??""),[A,z]=Y2(null),H=S?s:_,G=S?u:A;VS(()=>{S||T(s??c??"")},[s,c,S]);let $=O=>{let Z=O.target.value;if(n==="file"&&O.target.files){S||z(O.target.files),L?.(O);return}(!C||Z.length<=C)&&(S||T(Z),L?.(O))},W=$S(()=>x&&N&&(H?.toString()?.length??0)<x?N(x-(H?.toString()?.length??0)):!C||!E||(H?.toString()?.length??0)/C<I?R?.subtitle:E?.(C-(H?.toString()?.length??0)),[H,C,I,R?.subtitle]),U=WS(),V=!!(R?.errorMessage||R?.infoMessage||W),Q=V?`${U}-info`:void 0;return Yt("div",{className:Rt("cleen",g),style:y,children:Dl("div",{className:Rt("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-normal",h?.container),style:b?.container,children:[(l||k)&&Dl("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",children:[Yt(te,{htmlFor:r||t,required:i,tooltip:a,className:Rt("cleen-w-full",h?.label?.className),classNames:h?.label?.classNames,...b?.label,children:l}),k]}),Dl("label",{className:Rt("cleen-relative cleen-flex cleen-items-stretch cleen-bg-background cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-all cleen-duration-200 cleen-overflow-hidden focus-within:cleen-ring-4 focus-within:cleen-ring-primary-100 focus-within:cleen-ring-offset-0",{"has-[:focus]:cleen-border has-[:focus]:cleen-border-primary/30":v},p&&"cleen-bg-muted",{"cleen-cursor-pointer":n==="file"&&!p},R?.errorMessage?["cleen-border-error/70 focus-within:cleen-ring-error-bg",!p&&"hover:cleen-border-error"]:["cleen-border-border focus-within:cleen-border-primary-400",!p&&"hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary"],h?.inputContainer),style:b?.inputContainer,children:[M&&Yt("div",{className:Rt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-l-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.leftIconContainer),style:b?.leftIconContainer,children:M}),Dl("div",{className:"cleen-relative cleen-flex cleen-flex-1 cleen-items-stretch",children:[Yt("input",{id:r||t,name:t,type:n,disabled:p,maxLength:C,autoComplete:f,value:H,className:Rt("cleen-block cleen-border-0 cleen-bg-transparent cleen-rounded-md cleen-w-full cleen-text-base","cleen-py-2 cleen-pr-2 placeholder:cleen-text-neutral-400 sm:cleen-text-sm focus:cleen-ring-transparent focus:cleen-outline-none cleen-my-auto",M?"cleen-pl-0":"cleen-px-3.5",{"cleen-rounded-l-none":M,"cleen-rounded-r-none":B,"cleen-hidden":n==="file"},p?"cleen-text-neutral-400":"cleen-text-foreground",h?.input),style:b?.input,onChange:$,required:i,"aria-invalid":R?.errorMessage?!0:void 0,"aria-describedby":Q,ref:D,...F}),w&&Yt("div",{className:Rt("cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-rounded-md cleen-overflow-hidden cleen-text-sm cleen-pointer-events-auto",M?"cleen-pl-0 cleen-pr-2":"cleen-px-3.5",h?.inputOverlay),style:b?.inputOverlay,children:w}),n==="file"&&Yt("p",{className:Rt("cleen-flex cleen-items-center cleen-p-2.5 cleen-text-sm cleen-text-nowrap",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",G&&G.length>0&&"cleen-text-foreground"),children:G&&G.length>0?Array.from(G).map(O=>O.name).join(", "):P})]}),B&&Yt("div",{className:Rt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-r-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.rightIconContainer),style:b?.rightIconContainer,children:B})]}),V&&Yt(j,{id:Q,...R,subtitle:W})]})})});import{cn as Vr,useOutsideClick as qS}from"@cleen/ui-core";import{forwardRef as XS,useEffect as J2,useImperativeHandle as KS,useMemo as ZS,useRef as QS,useState as Tl}from"react";import{jsx as Wr,jsxs as YS}from"react/jsx-runtime";var S1=XS(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,inputProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=Wr(ne,{}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Tl(r??""),L=R?t??"":E,[F,D]=Tl(!1),S=f??F,_=ZS(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,A]=Tl(n),z=l!==void 0,H=z?l:T,[G,$]=Tl(L),W=QS(null);KS(w,()=>({...W.current,save:V,cancel:U})),J2(()=>{R||N(r??"")},[r,R]),J2(()=>{H||$(L)},[L,H]);let U=async()=>{z||A(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),z||A(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),z||A(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Enter"&&(O.preventDefault(),await V()),O.key==="Escape"&&(O.stopPropagation(),O.preventDefault(),await U()),h?.onKeyDown?.(O)};return qS({refs:[W],enabled:y&&H,handler:async()=>{b?await V():await U()}}),Wr("div",{className:Vr("cleen",I),style:M,ref:W,...k,children:H?YS("div",{className:Vr("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[Wr(me,{value:G,onChange:O=>{$(O.target.value),g?.(O.target.value)},autoFocus:!0,placeholder:c,className:P?.input?.className,classNames:{...P?.input?.classNames,inputContainer:Vr("cleen-border-primary hover:cleen-border-primary/60",P?.input?.classNames?.inputContainer)},...B?.input,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&Wr("div",{className:Vr("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):Wr("div",{onClick:()=>{u&&(z||A(!0),a?.(!0))},className:Vr("cleen-min-h-6 cleen-text-foreground",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:_})})});import{cn as In}from"@cleen/ui-core";import{forwardRef as JS,useEffect as j2,useId as jS,useMemo as e4,useRef as t4,useState as o4}from"react";import{jsx as So,jsxs as M1}from"react/jsx-runtime";var w1=JS(function({name:t,id:r,value:n,defaultValue:l,label:a,labelTooltip:c,disabled:s,required:u,infoLabels:p,topRightElement:i,labelRightElement:g,textareaOverlay:h,onChange:y,minHeight:b,maxHeight:f=200,autoResize:v=!0,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,maxLengthLabel:P,minLengthLabel:M,className:B,classNames:k,style:w,styles:R,...E},N){let L=n!==void 0,[F,D]=o4(typeof l=="string"?l:""),S=t4(null),_=N??S,T=L?n:F;j2(()=>{L||D(n??(typeof l=="string"?l:""))},[n,l,L]);let A=O=>{O.style.height="auto";let Z=Math.min(O.scrollHeight,f);O.style.height=`${Z}px`},z=O=>{A(O.target)};j2(()=>{!v||!S.current||A(S.current)},[v,T,f]);let H=O=>{O.preventDefault()},G=O=>{O.preventDefault();let Z=O.dataTransfer?.getData("text/plain");L?y?.(`${n??""}${Z}`):(D(ce=>`${ce}${Z}`),y?.(`${F}${Z}`))},$=O=>{let Z=O.target.value;(!C||Z.length<=C)&&(L||D(Z),y?.(Z),v&&z(O))},W=e4(()=>x&&M&&(T?.length??0)<x?M(x-(T?.length??0)):!C||!P||(T?.toString()?.length??0)/C<I?p?.subtitle:P?.(C-(T?.toString()?.length??0)),[T,C,I,p?.subtitle]),U=jS(),V=!!(p?.errorMessage||p?.infoMessage||W),Q=V?`${U}-info`:void 0;return So("div",{className:In("cleen",B),style:w,children:M1("div",{className:In("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-size-full cleen-font-normal",k?.container),style:R?.container,children:[(a||g)&&M1("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-mb-1.5",children:[a&&So(te,{htmlFor:r||t,required:u,tooltip:c,className:In("cleen-w-full",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:a}),g&&So("div",{className:"cleen-ml-auto",children:g})]}),M1("div",{className:In("cleen-relative cleen-flex cleen-items-center cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-colors cleen-duration-200",p?.errorMessage?"cleen-border-error/70 hover:cleen-border-error":"cleen-border-border hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary",k?.textareaContainer),style:R?.textareaContainer,children:[i&&So("div",{className:"cleen-absolute cleen-top-2 cleen-right-2 cleen-z-10",children:i}),h&&So("div",{className:In("cleen-absolute cleen-inset-0 cleen-px-3.5 cleen-py-3 cleen-rounded-lg cleen-overflow-y-auto cleen-text-sm cleen-leading-6",s?"cleen-bg-muted":"cleen-bg-background"),children:h}),So("textarea",{id:r||t,name:t,ref:_,disabled:s,value:T,minLength:x,maxLength:C,"aria-invalid":p?.errorMessage?!0:void 0,"aria-describedby":Q,className:In("cleen-block cleen-flex-1 cleen-px-3.5 cleen-py-3 cleen-border-0 cleen-rounded-lg focus:cleen-outline-none focus:cleen-ring-transparent placeholder:cleen-text-muted-foreground sm:cleen-text-sm cleen-text-base",s?"cleen-bg-muted cleen-text-neutral-400":"cleen-bg-background cleen-text-foreground",k?.textarea),style:{...b&&{minHeight:`${b}px`},...R?.textarea},onFocus:O=>O.currentTarget.setSelectionRange(O.currentTarget.value.length,O.currentTarget.value.length),onDragOver:H,onDrop:G,...E,onChange:$})]}),V&&So(j,{id:Q,...p,subtitle:W})]})})});import{cn as $r,useOutsideClick as n4}from"@cleen/ui-core";import{forwardRef as r4,useEffect as eg,useImperativeHandle as a4,useMemo as l4,useRef as c4,useState as Nl}from"react";import{jsx as qr,jsxs as s4}from"react/jsx-runtime";var k1=r4(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,textAreaProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=qr(ne,{size:"md"}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Nl(r??""),L=R?t??"":E,[F,D]=Nl(!1),S=f??F,_=l4(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,A]=Nl(n),z=l!==void 0,H=z?l:T,[G,$]=Nl(L),W=c4(null);a4(w,()=>({...W.current,save:V,cancel:U})),eg(()=>{R||N(r??"")},[r,R]),eg(()=>{H||$(L)},[L,H]);let U=async()=>{z||A(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),z||A(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),z||A(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Escape"&&(O.preventDefault(),O.stopPropagation(),await U()),O.key==="Enter"&&(O.metaKey||O.ctrlKey)&&(O.preventDefault(),await V()),h?.onKeyDown?.(O)};return n4({refs:[W],enabled:y&&H,handler:async()=>{b?await V():await U()}}),qr("div",{className:$r("cleen",I),style:M,ref:W,...k,children:H?s4("div",{className:$r("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[qr(w1,{value:G,onChange:O=>{$(O),g?.(O)},autoFocus:!0,placeholder:c,className:P?.textArea?.className,classNames:{...P?.textArea?.classNames,textareaContainer:$r("cleen-border-primary hover:cleen-border-primary/60",P?.textArea?.classNames?.textareaContainer)},...B?.textArea,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&qr("div",{className:$r("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):qr("div",{onClick:()=>{u&&(z||A(!0),a?.(!0))},className:$r("cleen-min-h-6 cleen-text-foreground cleen-whitespace-pre-wrap",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:_})})});import"@cleen/ui-core";import{forwardRef as i4}from"react";import{Fragment as d4,jsx as B1,jsxs as m4}from"react/jsx-runtime";var p4=i4(function({header:t,color:r,children:n,description:l,onSave:a,isDescriptionHidden:c=!1,titleProps:s,descriptionProps:u,classNames:p,styles:i,...g},h){let y=typeof t?.title=="string"||typeof t?.title=="number"?String(t.title):void 0;return B1(ie,{ref:h,color:r,header:{...t,title:B1(S1,{value:y??"",onSave:async b=>{await a?.("title",b)},...p?.titleTextInput,...i?.titleTextInput,...s})},classNames:p,styles:i,...g,children:(!c||n)&&m4(d4,{children:[B1(k1,{value:l??"",onSave:async b=>{await a?.("description",b)},...u,textAreaProps:u?.textAreaProps,...p?.descriptionTextInput,...i?.descriptionTextInput}),n]})})});import{cn as Xr}from"@cleen/ui-core";import{forwardRef as u4}from"react";import{jsx as Fl}from"react/jsx-runtime";var h4=u4(function({type:t="button",label:r,onClick:n,containerRef:l,className:a,classNames:c,style:s,styles:u,disabled:p=!1,loaderOptions:i,isLoading:g=!1,variant:h="primary",children:y,...b},f){return Fl("div",{className:Xr("cleen",a),style:s,ref:l,children:Fl("button",{type:t,ref:f,disabled:g||p,onClick:n,className:Xr("cleen-size-full",c?.container),style:u?.container,...b,children:Fl(ie,{p:0,className:Xr("cleen-size-full cleen-group",c?.card?.className),classNames:{...c?.card?.classNames,container:Xr("focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2 cleen-size-full cleen-font-semibold cleen-transition-colors cleen-duration-200",I0[h],c?.card?.classNames?.container,{"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":p||g}),childrenContainer:Xr("cleen-flex cleen-justify-center cleen-items-center cleen-size-full",c?.card?.classNames?.childrenContainer)},"aria-disabled":p||g,...u?.card,children:g?Fl(ne,{size:"lg",...i,color:i?.color||b0[h],...c?.loader,...u?.loader}):r||y})})})});import{cn as Kr,ColorHelpers as tg,formatAudioTime as og}from"@cleen/ui-core";import{useWavesurfer as f4}from"@wavesurfer/react";import{forwardRef as g4,useCallback as v4,useRef as I4}from"react";import{jsx as Zr,jsxs as ng}from"react/jsx-runtime";var b4={waveColor:tg.getComputedColor("var(--cleen-neutral-200)"),progressColor:tg.getComputedColor("var(--cleen-primary)"),cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,interact:!0,normalize:!0},y4=g4(function({url:t,options:r,className:n,classNames:l,style:a,styles:c,...s},u){let p=I4(null),{wavesurfer:i,isPlaying:g,isReady:h,currentTime:y}=f4({...b4,...r,container:p,url:t}),b=h?i?.getDuration()??0:0,f=v4(()=>{i?.playPause()},[i]);return Zr("div",{ref:u,className:Kr("cleen",n),style:a,...s,children:ng("div",{className:Kr("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-rounded-xl cleen-bg-surface cleen-border cleen-border-border",l?.container),style:c?.container,children:[Zr(re,{type:"button",onClick:f,disabled:!h,"aria-label":g?"Pause":"Play",className:l?.playButton?.className,classNames:{...l?.playButton?.classNames,container:Kr("cleen-p-0 !cleen-size-9 cleen-rounded-full",l?.playButton?.classNames?.container)},...c?.playButton,children:g?Zr(bo,{className:"cleen-fill-current"}):Zr(yo,{className:"cleen-fill-current"})}),Zr("div",{ref:p,className:Kr("cleen-flex-1 cleen-min-w-0",l?.waveform),style:c?.waveform}),ng("span",{className:Kr("cleen-shrink-0 cleen-text-xs cleen-text-muted-foreground cleen-tabular-nums",l?.timestamp),style:c?.timestamp,children:[og(y),"\xA0/\xA0",og(b)]})]})})});import{ColorHelpers as C4}from"@cleen/ui-core";var rg=C4.getComputedColor("var(--cleen-primary)"),ag="rgba(var(--cleen-primary), 0.15)",lg={waveColor:rg,progressColor:rg,cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,minPxPerSec:.5,sampleRate:8e3};var cg={startRecording:"Click to start recording"};import{cn as He,formatAudioTime as Gl,trimBlob as P4}from"@cleen/ui-core";import{useWavesurfer as S4}from"@wavesurfer/react";import{forwardRef as M4,useCallback as yn,useEffect as F1,useMemo as w4,useRef as pg,useState as Vl}from"react";function R1(e,t,r,n){return new(r||(r=Promise))((function(l,a){function c(p){try{u(n.next(p))}catch(i){a(i)}}function s(p){try{u(n.throw(p))}catch(i){a(i)}}function u(p){var i;p.done?l(p.value):(i=p.value,i instanceof r?i:new r((function(g){g(i)}))).then(c,s)}u((n=n.apply(e,t||[])).next())}))}var El=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},D1=class extends El{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},T1=class extends El{constructor(){super(...arguments),this.animationFrameId=null,this.isRunning=!1}start(){if(this.isRunning)return;this.isRunning=!0;let t=()=>{this.isRunning&&(this.emit("tick"),this.animationFrameId=requestAnimationFrame(t))};t()}stop(){this.isRunning=!1,this.animationFrameId!==null&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}destroy(){this.stop()}},L1=100,x4=["audio/webm","audio/wav","audio/mpeg","audio/mp4","audio/mp3"],Al=class e extends D1{constructor(t){var r,n,l,a,c,s;super(Object.assign(Object.assign({},t),{audioBitsPerSecond:(r=t.audioBitsPerSecond)!==null&&r!==void 0?r:128e3,scrollingWaveform:(n=t.scrollingWaveform)!==null&&n!==void 0&&n,scrollingWaveformWindow:(l=t.scrollingWaveformWindow)!==null&&l!==void 0?l:5,continuousWaveform:(a=t.continuousWaveform)!==null&&a!==void 0&&a,renderRecordedAudio:(c=t.renderRecordedAudio)===null||c===void 0||c,mediaRecorderTimeslice:(s=t.mediaRecorderTimeslice)!==null&&s!==void 0?s:void 0})),this.stream=null,this.mediaRecorder=null,this.dataWindow=null,this.isWaveformPaused=!1,this.lastStartTime=0,this.lastDuration=0,this.duration=0,this.micStream=null,this.recordedBlobUrl=null,this.timer=new T1,this.subscriptions.push(this.timer.on("tick",(()=>{let u=performance.now()-this.lastStartTime;this.duration=this.isPaused()?this.duration:this.lastDuration+u,this.emit("record-progress",this.duration)})))}static create(t){return new e(t||{})}renderMicStream(t){var r;let n=new AudioContext,l=n.createMediaStreamSource(t),a=n.createAnalyser();l.connect(a),(this.options.continuousWaveform||this.options.scrollingWaveform)&&(a.fftSize=32);let c=a.frequencyBinCount,s=new Float32Array(c),u=0;this.wavesurfer&&((r=this.originalOptions)!==null&&r!==void 0||(this.originalOptions=Object.assign({},this.wavesurfer.options)),this.wavesurfer.options.interact=!1,this.options.scrollingWaveform&&(this.wavesurfer.options.cursorWidth=0,this.wavesurfer.options.normalize=!0,this.wavesurfer.options.maxPeak=1));let p=setInterval((()=>{var i,g,h,y;if(!this.isWaveformPaused){if(a.getFloatTimeDomainData(s),this.options.scrollingWaveform){let b=Math.floor((this.options.scrollingWaveformWindow||0)*L1),f=0;for(let C=0;C<c;C++){let x=Math.abs(s[C]);x>f&&(f=x)}this.dataWindow||(this.dataWindow=new Float32Array(b));let v=new Float32Array(b);if(this.dataWindow&&this.dataWindow.length>0){let C=b-1,x=this.dataWindow.slice(-C);v.set(x,0)}v[b-1]=f,this.dataWindow=v}else if(this.options.continuousWaveform){if(!this.dataWindow){let f=this.options.continuousWaveformDuration?Math.round(this.options.continuousWaveformDuration*L1):((g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getWidth())!==null&&g!==void 0?g:0)*window.devicePixelRatio;this.dataWindow=new Float32Array(f)}let b=0;for(let f=0;f<c;f++){let v=Math.abs(s[f]);v>b&&(b=v)}if(u+1>this.dataWindow.length){let f=new Float32Array(2*this.dataWindow.length);f.set(this.dataWindow,0),this.dataWindow=f}this.dataWindow[u]=b,u++}else this.dataWindow=s;if(this.wavesurfer){let b=((y=(h=this.dataWindow)===null||h===void 0?void 0:h.length)!==null&&y!==void 0?y:0)/L1;this.wavesurfer.load("",[this.dataWindow],this.options.scrollingWaveform?this.options.scrollingWaveformWindow:b).then((()=>{this.wavesurfer&&this.options.continuousWaveform&&(this.wavesurfer.setTime(this.getDuration()/1e3),this.wavesurfer.options.minPxPerSec||this.wavesurfer.setOptions({minPxPerSec:this.wavesurfer.getWidth()/this.wavesurfer.getDuration()}))})).catch((f=>{console.error("Error rendering real-time recording data:",f)}))}}}),10);return{onDestroy:()=>{clearInterval(p),l?.disconnect(),n?.close()},onEnd:()=>{this.isWaveformPaused=!0,this.stopMic()}}}startMic(t){return R1(this,void 0,void 0,(function*(){let r;this.micStream&&this.stopMic();try{r=yield navigator.mediaDevices.getUserMedia({audio:t==null||t})}catch(l){throw new Error("Error accessing the microphone: "+l.message)}let n=this.renderMicStream(r);return this.micStream=n,this.unsubscribeDestroy=this.once("destroy",n.onDestroy),this.unsubscribeRecordEnd=this.once("record-end",n.onEnd),this.stream=r,r}))}stopMic(){var t,r,n;(t=this.micStream)===null||t===void 0||t.onDestroy(),(r=this.unsubscribeDestroy)===null||r===void 0||r.call(this),(n=this.unsubscribeRecordEnd)===null||n===void 0||n.call(this),this.micStream=null,this.unsubscribeDestroy=void 0,this.unsubscribeRecordEnd=void 0,this.stream&&(this.stream.getTracks().forEach((l=>l.stop())),this.stream=null,this.mediaRecorder=null)}startRecording(t){return R1(this,void 0,void 0,(function*(){let r=this.stream||(yield this.startMic(t));this.dataWindow=null;let n=this.mediaRecorder||new MediaRecorder(r,{mimeType:this.options.mimeType||x4.find((c=>MediaRecorder.isTypeSupported(c))),audioBitsPerSecond:this.options.audioBitsPerSecond});this.mediaRecorder=n,this.stopRecording();let l=[];n.ondataavailable=c=>{c.data.size>0&&l.push(c.data),this.emit("record-data-available",c.data)};let a=c=>{var s;let u=new Blob(l,{type:n.mimeType});this.emit(c,u),this.options.renderRecordedAudio&&(this.applyOriginalOptionsIfNeeded(),this.recordedBlobUrl&&URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=URL.createObjectURL(u),(s=this.wavesurfer)===null||s===void 0||s.load(this.recordedBlobUrl))};n.onpause=()=>a("record-pause"),n.onstop=()=>a("record-end"),n.start(this.options.mediaRecorderTimeslice),this.lastStartTime=performance.now(),this.lastDuration=0,this.duration=0,this.isWaveformPaused=!1,this.timer.start(),this.emit("record-start")}))}getDuration(){return this.duration}isRecording(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="recording"}isPaused(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="paused"}isActive(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)!=="inactive"}stopRecording(){var t;this.isActive()&&((t=this.mediaRecorder)===null||t===void 0||t.stop(),this.timer.stop())}pauseRecording(){var t,r;this.isRecording()&&(this.isWaveformPaused=!0,(t=this.mediaRecorder)===null||t===void 0||t.requestData(),(r=this.mediaRecorder)===null||r===void 0||r.pause(),this.timer.stop(),this.lastDuration=this.duration)}resumeRecording(){var t;this.isPaused()&&(this.isWaveformPaused=!1,(t=this.mediaRecorder)===null||t===void 0||t.resume(),this.timer.start(),this.lastStartTime=performance.now(),this.emit("record-resume"))}static getAvailableAudioDevices(){return R1(this,void 0,void 0,(function*(){return navigator.mediaDevices.enumerateDevices().then((t=>t.filter((r=>r.kind==="audioinput"))))}))}destroy(){this.applyOriginalOptionsIfNeeded(),super.destroy(),this.stopRecording(),this.stopMic(),this.recordedBlobUrl&&(URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=null)}applyOriginalOptionsIfNeeded(){this.wavesurfer&&this.originalOptions&&(this.wavesurfer.setOptions(this.originalOptions),delete this.originalOptions)}};var _l=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},N1=class extends _l{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}};function sg(e,t){let r=t.xmlns?document.createElementNS(t.xmlns,e):document.createElement(e);for(let[n,l]of Object.entries(t))if(n==="children"&&l)for(let[a,c]of Object.entries(l))c instanceof Node?r.appendChild(c):typeof c=="string"?r.appendChild(document.createTextNode(c)):r.appendChild(sg(a,c));else n==="style"?Object.assign(r.style,l):n==="textContent"?r.textContent=l:r.setAttribute(n,l.toString());return r}function Qr(e,t,r){let n=sg(e,t||{});return r?.appendChild(n),n}function ig(e){let t=e,r=new Set;return{get value(){return t},set(n){Object.is(t,n)||(t=n,r.forEach((l=>l(t))))},update(n){this.set(n(t))},subscribe:n=>(r.add(n),()=>r.delete(n))}}function zl(e,t){let r,n=()=>{r&&(r(),r=void 0),r=e()},l=t.map((a=>a.subscribe(n)));return n(),()=>{r&&(r(),r=void 0),l.forEach((a=>a()))}}function bn(e,t){let r=ig(null),n=l=>{r.set(l)};return e.addEventListener(t,n),r._cleanup=()=>{e.removeEventListener(t,n)},r}function Mo(e){let t=e._cleanup;typeof t=="function"&&t()}function Ol(e,t={}){let{threshold:r=3,mouseButton:n=0,touchDelay:l=100}=t,a=ig(null),c=new Map,s=matchMedia("(pointer: coarse)").matches,u=()=>{},p=i=>{if(i.button!==n||(c.set(i.pointerId,i),c.size>1))return;let g=i.clientX,h=i.clientY,y=!1,b=Date.now(),f=e.getBoundingClientRect(),{left:v,top:C}=f,x=k=>{if(k.defaultPrevented||c.size>1||s&&Date.now()-b<l)return;let w=k.clientX,R=k.clientY,E=w-g,N=R-h;(y||Math.abs(E)>r||Math.abs(N)>r)&&(k.preventDefault(),k.stopPropagation(),y||(a.set({type:"start",x:g-v,y:h-C}),y=!0),a.set({type:"move",x:w-v,y:R-C,deltaX:E,deltaY:N}),g=w,h=R)},I=k=>{if(c.delete(k.pointerId),y){let w=k.clientX,R=k.clientY;a.set({type:"end",x:w-v,y:R-C})}u()},P=k=>{c.delete(k.pointerId),k.relatedTarget&&k.relatedTarget!==document.documentElement||I(k)},M=k=>{y&&(k.stopPropagation(),k.preventDefault())},B=k=>{k.defaultPrevented||c.size>1||y&&k.preventDefault()};document.addEventListener("pointermove",x),document.addEventListener("pointerup",I),document.addEventListener("pointerout",P),document.addEventListener("pointercancel",P),document.addEventListener("touchmove",B,{passive:!1}),document.addEventListener("click",M,{capture:!0}),u=()=>{document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",I),document.removeEventListener("pointerout",P),document.removeEventListener("pointercancel",P),document.removeEventListener("touchmove",B),setTimeout((()=>{document.removeEventListener("click",M,{capture:!0})}),10)}};return e.addEventListener("pointerdown",p),{signal:a,cleanup:()=>{u(),e.removeEventListener("pointerdown",p),c.clear(),Mo(a)}}}var Hl=class extends _l{constructor(t,r,n=0){var l,a,c,s,u,p,i,g,h,y;super(),this.totalDuration=r,this.numberOfChannels=n,this.element=null,this.minLength=0,this.maxLength=1/0,this.contentEditable=!1,this.subscriptions=[],this.updatingSide=void 0,this.isRemoved=!1,this.subscriptions=[],this.id=t.id||`region-${Math.random().toString(32).slice(2)}`,this.start=this.clampPosition(t.start),this.end=this.clampPosition((l=t.end)!==null&&l!==void 0?l:t.start),this.drag=(a=t.drag)===null||a===void 0||a,this.resize=(c=t.resize)===null||c===void 0||c,this.resizeStart=(s=t.resizeStart)===null||s===void 0||s,this.resizeEnd=(u=t.resizeEnd)===null||u===void 0||u,this.color=(p=t.color)!==null&&p!==void 0?p:"rgba(0, 0, 0, 0.1)",this.minLength=(i=t.minLength)!==null&&i!==void 0?i:this.minLength,this.maxLength=(g=t.maxLength)!==null&&g!==void 0?g:this.maxLength,this.channelIdx=(h=t.channelIdx)!==null&&h!==void 0?h:-1,this.contentEditable=(y=t.contentEditable)!==null&&y!==void 0?y:this.contentEditable,this.element=this.initElement(),this.setContent(t.content),this.setPart(),this.renderPosition(),this.initMouseEvents()}clampPosition(t){return Math.max(0,Math.min(this.totalDuration,t))}setPart(){var t;let r=this.start===this.end;(t=this.element)===null||t===void 0||t.setAttribute("part",`${r?"marker":"region"} ${this.id}`)}addResizeHandles(t){let r={position:"absolute",zIndex:"2",width:"6px",height:"100%",top:"0",cursor:"ew-resize",wordBreak:"keep-all"},n=Qr("div",{part:"region-handle region-handle-left",style:Object.assign(Object.assign({},r),{left:"0",borderLeft:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"2px 0 0 2px"})},t),l=Qr("div",{part:"region-handle region-handle-right",style:Object.assign(Object.assign({},r),{right:"0",borderRight:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"0 2px 2px 0"})},t),a=Ol(n,{threshold:1}),c=Ol(l,{threshold:1}),s=zl((()=>{let p=a.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"start"):p.type==="end"&&this.onEndResizing("start"))}),[a.signal]),u=zl((()=>{let p=c.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"end"):p.type==="end"&&this.onEndResizing("end"))}),[c.signal]);this.subscriptions.push((()=>{s(),u(),a.cleanup(),c.cleanup()}))}removeResizeHandles(t){let r=t.querySelector('[part*="region-handle-left"]'),n=t.querySelector('[part*="region-handle-right"]');r&&t.removeChild(r),n&&t.removeChild(n)}initElement(){if(this.isRemoved)return null;let t=this.start===this.end,r=0,n=100;this.channelIdx>=0&&this.numberOfChannels>0&&this.channelIdx<this.numberOfChannels&&(n=100/this.numberOfChannels,r=n*this.channelIdx);let l=Qr("div",{style:{position:"absolute",top:`${r}%`,height:`${n}%`,backgroundColor:t?"none":this.color,borderLeft:t?"2px solid "+this.color:"none",borderRadius:"2px",boxSizing:"border-box",transition:"background-color 0.2s ease",cursor:this.drag?"grab":"default",pointerEvents:"all"}});return!t&&this.resize&&this.addResizeHandles(l),l}renderPosition(){if(!this.element)return;let t=this.start/this.totalDuration,r=(this.totalDuration-this.end)/this.totalDuration;this.element.style.left=100*t+"%",this.element.style.right=100*r+"%"}toggleCursor(t){var r;this.drag&&(!((r=this.element)===null||r===void 0)&&r.style)&&(this.element.style.cursor=t?"grabbing":"grab")}initMouseEvents(){let{element:t}=this;if(!t)return;let r=bn(t,"click"),n=bn(t,"mouseenter"),l=bn(t,"mouseleave"),a=bn(t,"dblclick"),c=bn(t,"pointerdown"),s=bn(t,"pointerup"),u=r.subscribe((v=>v&&this.emit("click",v))),p=n.subscribe((v=>v&&this.emit("over",v))),i=l.subscribe((v=>v&&this.emit("leave",v))),g=a.subscribe((v=>v&&this.emit("dblclick",v))),h=c.subscribe((v=>v&&this.toggleCursor(!0))),y=s.subscribe((v=>v&&this.toggleCursor(!1)));this.subscriptions.push((()=>{u(),p(),i(),g(),h(),y(),Mo(r),Mo(n),Mo(l),Mo(a),Mo(c),Mo(s)}));let b=Ol(t),f=zl((()=>{let v=b.signal.value;v&&(v.type==="start"?this.toggleCursor(!0):v.type==="move"&&v.deltaX!==void 0?this.onMove(v.deltaX):v.type==="end"&&(this.toggleCursor(!1),this.drag&&this.emit("update-end")))}),[b.signal]);this.subscriptions.push((()=>{f(),b.cleanup()})),this.contentEditable&&this.content&&(this.contentClickListener=v=>this.onContentClick(v),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener))}_onUpdate(t,r,n){var l;if(!(!((l=this.element)===null||l===void 0)&&l.parentElement))return;let{width:a}=this.element.parentElement.getBoundingClientRect(),c=t/a*this.totalDuration,s=r&&r!=="start"?this.start:this.start+c,u=r&&r!=="end"?this.end:this.end+c,p=n!==void 0;p&&this.updatingSide&&this.updatingSide!==r&&(this.updatingSide==="start"?s=n:u=n),s=Math.max(0,s),u=Math.min(this.totalDuration,u);let i=u-s;this.updatingSide=r;let g=i>=this.minLength&&i<=this.maxLength;s<=u&&(g||p)&&(this.start=s,this.end=u,this.renderPosition(),this.emit("update",r))}onMove(t){this.drag&&this._onUpdate(t)}onResize(t,r){this.resize&&(this.resizeStart||r!=="start")&&(this.resizeEnd||r!=="end")&&this._onUpdate(t,r)}onEndResizing(t){this.resize&&(this.emit("update-end",t),this.updatingSide=void 0)}onContentClick(t){t.stopPropagation(),t.target.focus(),this.emit("click",t)}onContentBlur(){this.emit("update-end")}_setTotalDuration(t){this.totalDuration=t,this.renderPosition()}play(t){this.emit("play",t&&this.end!==this.start?this.end:void 0)}getContent(t=!1){var r;return t?this.content||void 0:this.element instanceof HTMLElement?((r=this.content)===null||r===void 0?void 0:r.innerHTML)||void 0:""}setContent(t){var r;if(this.element)if(this.content&&this.contentEditable&&(this.contentClickListener&&this.content.removeEventListener("click",this.contentClickListener),this.contentBlurListener&&this.content.removeEventListener("blur",this.contentBlurListener)),(r=this.content)===null||r===void 0||r.remove(),t){if(typeof t=="string"){let n=this.start===this.end;this.content=Qr("div",{style:{padding:`0.2em ${n?.2:.4}em`,display:"inline-block"},textContent:t})}else this.content=t;this.contentEditable&&(this.content.contentEditable="true",this.contentClickListener=n=>this.onContentClick(n),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener)),this.content.setAttribute("part","region-content"),this.element.appendChild(this.content),this.emit("content-changed")}else this.content=void 0}setOptions(t){var r,n;if(this.element){if(t.color&&(this.color=t.color,this.element.style.backgroundColor=this.color),t.drag!==void 0&&(this.drag=t.drag,this.element.style.cursor=this.drag?"grab":"default"),t.start!==void 0||t.end!==void 0){let l=this.start===this.end;this.start=this.clampPosition((r=t.start)!==null&&r!==void 0?r:this.start),this.end=this.clampPosition((n=t.end)!==null&&n!==void 0?n:l?this.start:this.end),this.renderPosition(),this.setPart()}if(t.content&&this.setContent(t.content),t.id&&(this.id=t.id,this.setPart()),t.resize!==void 0&&t.resize!==this.resize){let l=this.start===this.end;this.resize=t.resize,this.resize&&!l?this.addResizeHandles(this.element):this.removeResizeHandles(this.element)}t.resizeStart!==void 0&&(this.resizeStart=t.resizeStart),t.resizeEnd!==void 0&&(this.resizeEnd=t.resizeEnd)}}remove(){this.isRemoved=!0,this.emit("remove"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.content&&this.contentEditable&&(this.contentClickListener&&(this.content.removeEventListener("click",this.contentClickListener),this.contentClickListener=void 0),this.contentBlurListener&&(this.content.removeEventListener("blur",this.contentBlurListener),this.contentBlurListener=void 0)),this.element&&(this.element.remove(),this.element=null),this.unAll()}},Ul=class e extends N1{constructor(t){super(t),this.regions=[],this.regionsContainer=this.initRegionsContainer()}static create(t){return new e(t)}onInit(){if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");this.wavesurfer.getWrapper().appendChild(this.regionsContainer),this.subscriptions.push(this.wavesurfer.on("ready",(r=>{this.regions.forEach((n=>n._setTotalDuration(r)))})));let t=[];this.subscriptions.push(this.wavesurfer.on("timeupdate",(r=>{let n=this.regions.filter((l=>l.start<=r&&(l.end===l.start?l.start+.05:l.end)>=r));n.forEach((l=>{t.includes(l)||this.emit("region-in",l)})),t.forEach((l=>{n.includes(l)||this.emit("region-out",l)})),t=n})))}initRegionsContainer(){return Qr("div",{part:"regions-container",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"5",pointerEvents:"none"}})}getRegions(){return this.regions}avoidOverlapping(t){t.content&&setTimeout((()=>{let r=t.content,n=r.getBoundingClientRect(),l=this.regions.map((a=>{if(a===t||!a.content)return 0;let c=a.content.getBoundingClientRect();return n.left<c.left+c.width&&c.left<n.left+n.width?c.height:0})).reduce(((a,c)=>a+c),0);r.style.marginTop=`${l}px`}),10)}adjustScroll(t){var r,n;if(!t.element)return;let l=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getWrapper())===null||n===void 0?void 0:n.parentElement;if(!l)return;let{clientWidth:a,scrollWidth:c}=l;if(c<=a)return;let s=l.getBoundingClientRect(),u=t.element.getBoundingClientRect(),p=u.left-s.left,i=u.right-s.left;p<0?l.scrollLeft+=p:i>a&&(l.scrollLeft+=i-a)}virtualAppend(t,r,n){let l=()=>{if(!this.wavesurfer)return;let a=this.wavesurfer.getWidth(),c=this.wavesurfer.getScroll(),s=r.clientWidth,u=this.wavesurfer.getDuration(),p=Math.round(t.start/u*s),i=p+(Math.round((t.end-t.start)/u*s)||1)>c&&p<c+a;i&&!n.parentElement?r.appendChild(n):!i&&n.parentElement&&n.remove()};setTimeout((()=>{if(!this.wavesurfer||!t.element)return;l();let a=this.wavesurfer.on("scroll",l),c=this.wavesurfer.on("zoom",l),s=this.wavesurfer.on("resize",l);this.subscriptions.push(a,c,s),t.once("remove",(()=>{a(),c(),s()}))}),0)}saveRegion(t){if(!t.element)return;this.virtualAppend(t,this.regionsContainer,t.element),this.avoidOverlapping(t),this.regions.push(t);let r=[t.on("update",(n=>{n||this.adjustScroll(t),this.emit("region-update",t,n)})),t.on("update-end",(n=>{this.avoidOverlapping(t),this.emit("region-updated",t,n)})),t.on("play",(n=>{var l;(l=this.wavesurfer)===null||l===void 0||l.play(t.start,n)})),t.on("click",(n=>{this.emit("region-clicked",t,n)})),t.on("dblclick",(n=>{this.emit("region-double-clicked",t,n)})),t.on("content-changed",(()=>{this.emit("region-content-changed",t)})),t.once("remove",(()=>{r.forEach((n=>n())),this.regions=this.regions.filter((n=>n!==t)),this.emit("region-removed",t)}))];this.subscriptions.push(...r),this.emit("region-created",t)}addRegion(t){var r,n;if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");let l=this.wavesurfer.getDuration(),a=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getDecodedData())===null||n===void 0?void 0:n.numberOfChannels,c=new Hl(t,l,a);return this.emit("region-initialized",c),l?this.saveRegion(c):this.subscriptions.push(this.wavesurfer.once("ready",(s=>{c._setTotalDuration(s),this.saveRegion(c)}))),c}enableDragSelection(t,r=3){var n;let l=(n=this.wavesurfer)===null||n===void 0?void 0:n.getWrapper();if(!(l&&l instanceof HTMLElement))return()=>{};let a=null,c=0,s=0,u=Ol(l,{threshold:r}),p=zl((()=>{var i,g;let h=u.signal.value;if(h)if(h.type==="start"){if(c=h.x,!this.wavesurfer)return;let y=this.wavesurfer.getDuration(),b=(g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getDecodedData())===null||g===void 0?void 0:g.numberOfChannels,{width:f}=this.wavesurfer.getWrapper().getBoundingClientRect();s=c/f*y;let v=h.x/f*y,C=(h.x+5)/f*y;a=new Hl(Object.assign(Object.assign({},t),{start:v,end:C}),y,b),this.emit("region-initialized",a),a.element&&this.regionsContainer.appendChild(a.element)}else h.type==="move"&&h.deltaX!==void 0?a&&a._onUpdate(h.deltaX,h.x>c?"end":"start",s):h.type==="end"&&a&&(this.saveRegion(a),a.updatingSide=void 0,a=null)}),[u.signal]);return()=>{p(),u.cleanup()}}clearRegions(){this.regions.slice().forEach((t=>t.remove())),this.regions=[]}destroy(){this.clearRegions(),super.destroy(),this.regionsContainer.remove()}};import{Fragment as B4,jsx as Me,jsxs as Yr}from"react/jsx-runtime";var k4=M4(function({onFinalize:t,recordOptions:r,options:n,labels:l=cg,className:a,classNames:c,style:s,styles:u,...p},i){let g=pg(null),[h,y]=Vl("idle"),[b,f]=Vl(null),[v,C]=Vl(null),[x,I]=Vl(!1),P=pg("idle");P.current=h;let M=w4(()=>[Al.create({renderRecordedAudio:!0,scrollingWaveform:!1,continuousWaveform:!1,...r}),Ul.create()],[]),[B,k]=M,{wavesurfer:w,isPlaying:R,isReady:E,currentTime:N}=S4({...lg,...n,container:g,plugins:M}),L=E?w?.getDuration()??0:0;F1(()=>{let H=[B.on("record-start",()=>y("recording")),B.on("record-end",G=>{y("recorded"),f(G)}),k.on("region-clicked",(G,$)=>{$.stopPropagation(),G.play(!0)})];return()=>H.forEach(G=>G?.())},[k,B]),F1(()=>w?w.on("ready",()=>{if(P.current!=="recorded")return;let G=w.getDuration();k.clearRegions();let $=k.addRegion({start:0,end:G,color:n?.regionColor??ag,drag:!1,resize:!0});C({start:$.start,end:$.end})}):void 0,[w,k,n]),F1(()=>k.on("region-updated",G=>{C({start:G.start,end:G.end})}),[k]);let F=yn(async()=>{await B.startRecording()},[B]),D=yn(()=>{B.stopRecording()},[B]),S=yn(()=>{w?.playPause()},[w]),_=yn(async()=>{if(!(!b||!v||!w)){I(!0);try{let H=await P4(b,v.start,v.end),G=URL.createObjectURL(H);f(H),w.load(G)}finally{I(!1)}}},[b,v,w]),T=yn(()=>{k.clearRegions(),w?.empty(),f(null),C(null),y("idle")},[w,k]),A=yn(()=>{if(b){let H=URL.createObjectURL(b);t?.(b,H)}},[t,b]),z=!v||v.start<=0&&v.end>=L;return Me("div",{ref:i,className:He("cleen wavesurfer-handle",a),style:s,...p,children:Yr("div",{className:He("cleen-flex cleen-flex-col cleen-items-center cleen-gap-3",c?.container),style:u?.container,children:[h==="idle"&&Yr(B4,{children:[Me("button",{type:"button",onClick:F,"aria-label":"Start recording",className:He("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.startButton),style:u?.startButton,children:Me(br,{className:"cleen-size-8 cleen-text-primary"})}),Me("p",{className:He("cleen-text-neutral-600 cleen-text-sm cleen-select-none",c?.startLabel),style:u?.startLabel,children:l.startRecording})]}),h==="recording"&&Me("button",{type:"button",onClick:D,"aria-label":"Stop recording",className:He("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.stopButton),style:u?.stopButton,children:Me(Tr,{className:"cleen-size-8 cleen-text-primary"})}),Me("div",{ref:g,className:He("cleen-w-full cleen-min-w-0 cleen-waveform",h==="idle"&&"cleen-hidden",c?.waveform),style:u?.waveform}),h==="recorded"&&Yr("div",{className:He("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",c?.recordedContainer),style:u?.recordedContainer,children:[Me(re,{type:"button",onClick:S,disabled:!E,"aria-label":R?"Pause":"Play",className:c?.playPauseButton?.className,classNames:{...c?.playPauseButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.playPauseButton?.classNames?.container)},...u?.playPauseButton,children:R?Me(bo,{className:"cleen-fill-current"}):Me(yo,{className:"cleen-fill-current"})}),Yr("span",{className:He("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.timestamp),style:u?.timestamp,children:[Gl(N),"\xA0/\xA0",Gl(L)]}),Me("span",{className:"cleen-flex-1"}),!z&&v&&Yr("span",{className:He("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.trimmedTimestamp),style:u?.trimmedTimestamp,children:[Gl(v.start),"\u2013",Gl(v.end)]}),Me(re,{type:"button",onClick:T,variant:"secondary","aria-label":"Discard recording",className:c?.discardButton?.className,classNames:{...c?.discardButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.discardButton?.classNames?.container)},...u?.discardButton,children:Me(Ke,{className:"cleen-text-error"})}),Me(re,{type:"button",onClick:_,disabled:z||x||!E,"aria-label":"Apply trim",variant:"secondary",className:c?.trimButton?.className,classNames:{...c?.trimButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.trimButton?.classNames?.container)},...u?.trimButton,children:Me(wr,{})}),Me(re,{type:"button",onClick:A,"aria-label":"Finalize recording",className:c?.finalizeButton?.className,classNames:{...c?.finalizeButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.finalizeButton?.classNames?.container)},...u?.finalizeButton,children:Me(xt,{})})]})]})})});import{cn as Wl}from"@cleen/ui-core";import{forwardRef as R4,useMemo as L4}from"react";var dg={xs:"cleen-size-6 cleen-text-[10px]",sm:"cleen-size-7 cleen-text-xs",md:"cleen-size-9 cleen-text-sm",lg:"cleen-size-11 cleen-text-base",xl:"cleen-size-14 cleen-text-lg"};import{jsx as Jr}from"react/jsx-runtime";var $l=R4(function({title:t,name:r,src:n,alt:l,size:a="md",initialsLength:c=2,isSelected:s=!1,showBorder:u=!1,fallback:p=Jr(Er,{}),className:i,classNames:g,style:h,styles:y,onClick:b,...f},v){let C=L4(()=>(c===2?r?.split(" ").map(x=>x.charAt(0).toUpperCase()).join("").slice(0,c):r?.charAt(0).toUpperCase())||p,[r,c,p]);return Jr("div",{className:Wl("cleen",i),style:h,ref:v,...f,children:Jr("div",{onClick:b,className:Wl("cleen-flex cleen-justify-center cleen-items-center cleen-bg-neutral-200 cleen-rounded-full cleen-font-medium cleen-transition-all",typeof a=="string"&&dg[a],{"cleen-border-2 cleen-border-white":u,"cleen-cursor-pointer":!!b},g?.avatar,u&&s&&["cleen-border-primary",g?.avatarSelected]),style:{...typeof a=="number"&&{width:a,height:a,fontSize:a*.4,lineHeight:`${a}px`},...y?.avatar,...u&&s&&y?.avatarSelected},title:t||r,children:n?Jr("img",{src:n,alt:l||r,className:Wl("cleen-rounded-full cleen-w-full cleen-h-full cleen-object-cover",g?.image),style:y?.image}):Jr("span",{className:Wl("cleen-select-none cleen-text-neutral-700",g?.fallback),style:y?.fallback,children:C})})})});import{cn as mg}from"@cleen/ui-core";import{forwardRef as D4}from"react";import{jsx as E1,jsxs as N4}from"react/jsx-runtime";var T4=D4(function({avatars:t,size:r="md",selectedAvatars:n=[],onAvatarToggle:l,gap:a=4,maxVisible:c,maxExtra:s=99,showBorder:u=!0,initialsLength:p,fallback:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=c?t?.slice(0,c):t,x=c&&t&&t.length>c?Math.min(t.length-c,s):0;return E1("div",{className:mg("cleen",g),style:y,ref:v,...f,children:N4("div",{className:mg("cleen-flex cleen-items-center",h?.row),style:{gap:a,...b?.row},children:[C?.map((I,P)=>{let M=n.includes(I?.id??"");return E1($l,{name:I.name,src:I.src,size:r,isSelected:M,showBorder:u,initialsLength:p,fallback:i,onClick:()=>l?.(I.id??""),...h?.avatar,style:{zIndex:C.length-P,...b?.avatar?.style},styles:b?.avatar?.styles,...I},I.id||P)}),x>0&&E1($l,{size:r,fallback:`+${x}`,...h?.extra,...b?.extra})]})})});import{cn as Jt}from"@cleen/ui-core";import{forwardRef as F4}from"react";import{Link as ug}from"react-router-dom";import{jsx as jr,jsxs as ql}from"react/jsx-runtime";var E4=F4(function({root:t={path:"/",icon:jr(mr,{"aria-hidden":"true",className:"cleen-h-5 cleen-w-5"})},segments:r,className:n,classNames:l,style:a,styles:c,...s},u){return!r||r.length===0?null:jr("div",{className:Jt("cleen",n),style:a,ref:u,...s,children:jr("nav",{className:Jt("cleen-hidden sm:cleen-flex",l?.container),style:c?.container,"aria-label":"Breadcrumb",children:ql("ol",{role:"list",className:Jt("cleen-flex cleen-items-center cleen-gap-4",l?.list),style:c?.list,children:[t&&jr("li",{className:Jt("cleen-flex cleen-items-center",l?.rootItem),style:c?.rootItem,children:ql(ug,{to:t?.path,className:Jt("cleen-text-sm cleen-text-neutral-400 cleen-flex cleen-items-center cleen-gap-2 cleen-transition-colors cleen-duration-200 hover:cleen-text-neutral-600",l?.rootLink),style:c?.rootLink,"aria-current":"page",children:[t?.icon,t?.label]})}),r.map(({path:p,icon:i,label:g,id:h},y)=>{let b=y===r.length-1,f=g||p.charAt(0).toUpperCase()+p.slice(1);return ql("li",{className:Jt("cleen-flex cleen-items-center cleen-gap-4",l?.item),style:c?.item,children:[(t||!t&&y!==0)&&jr(ot,{className:Jt("cleen-h-5 cleen-w-5 cleen-text-neutral-300",l?.chevron),style:c?.chevron,"aria-hidden":"true"}),ql(ug,{to:p,className:Jt("cleen-transition-colors cleen-duration-200 hover:cleen-text-primary cleen-text-sm cleen-flex cleen-items-center cleen-gap-2",b?"cleen-rounded-md cleen-bg-neutral-50 cleen-py-1 cleen-px-2 cleen-text-neutral-700 cleen-font-semibold":"cleen-text-neutral-600 cleen-font-medium",l?.link),style:c?.link,"aria-current":b?"page":void 0,children:[i,f]})]},h||p)})]})})})});var Xl=(e,t)=>{if(!e)return;if(!t||!t.min&&!t.max)return e;let{min:r,max:n}=t,l=new Date,a=new Date(l.getFullYear(),l.getMonth(),l.getDate());if(r){let c=r==="today"?a:r;if(c>=e)return c}if(n){let c=n==="today"?a:n;if(c<=e)return c}return e};import{cn as Kl}from"@cleen/ui-core";import{forwardRef as A4,useState as A1}from"react";import{DayPicker as hg,MonthGrid as z4}from"react-day-picker";import{Fragment as O4,jsx as wo,jsxs as O1}from"react/jsx-runtime";var z1=e=>e?.toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric"}),_1=A4(function({label:t,labelTooltip:r,infoLabels:n,required:l,withDateInput:a=!1,withTodayButton:c=!1,selected:s,onSelect:u,month:p,labels:i,className:g,style:h,classNames:y,styles:b,mode:f="single",min:v,max:C,disabled:x,disabledDates:I,components:P,...M},B){let k=s!==void 0,w=f==="single",[R,E]=A1(),[N,L]=A1(),F=k?s:w?R:N,[D,S]=A1(p),_=(z,H)=>{k||(w&&(z===void 0||z instanceof Date)?E(z):w||L(z)),u?.(z,H)},T={MonthGrid:z=>O1(O4,{children:[(c||a)&&O1("div",{className:"cleen-flex cleen-gap-3 cleen-items-center cleen-py-2",children:[a&&wo(me,{value:f==="single"?z1(F):F?.from||F?.to?`${z1(F?.from)??"..."} - ${z1(F?.to)??"..."}`:void 0,placeholder:i?.inputPlaceholder??"No date selected",className:"cleen-flex-1",readOnly:!0}),c&&wo(re,{variant:"secondary",onClick:()=>S(new Date),children:i?.today??"Today"})]}),wo(z4,{...z})]}),...P},A={navLayout:"around",...M,className:Kl("cleen-text-foreground",y?.calendar?.className),classNames:{...y?.calendar?.classNames,nav:Kl("cleen-text-error",y?.calendar?.classNames?.nav)},disabled:v||C?{before:v==="today"?new Date:v,after:C==="today"?new Date:C}:I||x,components:T,month:D,onMonthChange:S,...b?.calendar};return O1("div",{ref:B,className:Kl("cleen",g),style:h,children:[t&&wo(te,{required:l,tooltip:r,className:Kl("cleen-mb-1.5",y?.label?.className),classNames:y?.label?.classNames,...b?.label,children:t}),w?wo(hg,{mode:"single",...A,selected:F,onSelect:(z,H)=>{if(v||C){_(Xl(z,{min:v,max:C}),H);return}_(z,H)}}):wo(hg,{mode:"range",...A,selected:F,onSelect:(z,H)=>{if(v||C){_({from:Xl(z?.from,{min:v,max:C}),to:Xl(z?.to,{min:v,max:C})},H);return}_(z,H)}}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&wo(j,{...n})]})});import{cn as Cn,useOutsideClick as _4,usePositionClose as H4,ZIndex as U4}from"@cleen/ui-core";import{forwardRef as G4,useEffect as V4,useRef as fg,useState as W4}from"react";import{createPortal as $4}from"react-dom";import{jsx as ko,jsxs as gg}from"react/jsx-runtime";var ea=G4(function({type:t="button",required:r,label:n,title:l,titleTooltip:a,disabled:c=!1,leftIcon:s,rightIcon:u=ko(jn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),fullWidth:p=!0,fullWidthDropdown:i,offset:g=4,isOpen:h,onOpenChange:y,keepOpenOnClickContent:b=!0,zIndex:f=U4.DROPDOWN,infoLabels:v,className:C,classNames:x,style:I,styles:P,children:M,...B},k){let[w,R]=W4(!1),E=h!==void 0?h:w,N=fg(null),L=fg(null),{positionStyles:F,isMounted:D}=H4({triggerRef:L,targetRef:N,position:"bottom-left",isOpen:E,offset:g});_4({refs:[N,L],handler:()=>{R(!1),y?.(!1)},enabled:E}),V4(()=>{let T=A=>{A.key==="Escape"&&E&&(R(!1),y?.(!1))};return document.addEventListener("keydown",T),()=>{document.removeEventListener("keydown",T)}},[E,y]);let S=()=>{let T=!E;h===void 0&&R(T),y?.(T)},_=()=>{b||(h===void 0&&R(!1),y?.(!1))};return gg("div",{className:Cn("cleen",C),style:I,ref:k,...B,children:[l&&ko(te,{required:r,tooltip:a,className:Cn("cleen-mb-1.5",x?.title?.className),classNames:x?.title?.classNames,...P?.title,children:l}),ko("div",{className:Cn("cleen-inline-block cleen-relative",p&&"cleen-w-full"),ref:L,children:gg("button",{type:t,className:Cn("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-bg-background cleen-shadow-sm cleen-my-auto cleen-px-3.5 cleen-py-2.5 cleen-border cleen-border-border cleen-rounded-md cleen-w-full cleen-text-foreground cleen-text-base cleen-transition-colors cleen-duration-200 hover:cleen-bg-neutral-25 hover:cleen-border-muted-foreground",{"cleen-w-full cleen-flex-1":p,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":c},p&&"cleen-w-full",x?.trigger),style:P?.trigger,disabled:c,"aria-haspopup":"dialog","aria-expanded":E,onClick:S,children:[s,ko("div",{className:Cn("cleen-flex-1 cleen-text-left",x?.label),style:P?.label,children:n}),u]})}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&ko(j,{...v}),M&&E&&$4(ko("div",{className:"cleen",children:ko("div",{ref:N,className:Cn("cleen-bg-background cleen-shadow-md cleen-p-2.5 cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute",{"cleen-opacity-0":!D},x?.dropdown),style:{zIndex:f,top:`${F.top}px`,left:`${F.left}px`,minWidth:i&&L.current?.offsetWidth?`${L.current.offsetWidth}px`:void 0,...P?.dropdown},onClick:_,children:M})}),document.body)]})});import{cn as vg}from"@cleen/ui-core";import{forwardRef as q4,useMemo as X4,useState as Zl}from"react";import{jsx as Bo,jsxs as Ig}from"react/jsx-runtime";var K4=q4(function({label:t,placeholder:r,infoLabels:n,required:l,selected:a,onSelect:c,onSelectInternal:s,leftIcon:u,rightIcon:p=Bo(Zn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),className:i,style:g,classNames:h,styles:y,mode:b="single",min:f,max:v,disabled:C,disabledDates:x,...I},P){let M=a!==void 0,B=b==="single",[k,w]=Zl(!1),[R,E]=Zl(),[N,L]=Zl(),F=M?a:B?R:N,[D,S]=Zl(),_=A=>{M||(B&&(A===void 0||A instanceof Date)?E(A):B||L(A)),c?.(A)},T=X4(()=>{if(!F)return r;if(B)return F?.toLocaleDateString();{let A=F;if(A.from&&A.to)return`${A.from.toLocaleDateString()} - ${A.to.toLocaleDateString()}`;if(A.from)return A.from.toLocaleDateString()}return r},[r,F,B]);return Ig("div",{ref:P,className:vg("cleen",i),style:g,children:[Bo(ea,{title:t,label:T,isOpen:k,onOpenChange:A=>{S(F),w(A)},leftIcon:u,rightIcon:p,className:h?.dropdown?.className,classNames:{...h?.dropdown?.classNames,dropdown:vg("cleen-p-0 cleen-border-0",h?.dropdown?.classNames?.dropdown)},required:l,disabled:C,...y?.dropdown,children:Bo(ie,{footer:{hasDivider:!0,content:Ig("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[Bo(re,{variant:"secondary",onClick:()=>w(!1),styles:{container:{minWidth:"max-content"}},children:"Close"}),Bo(re,{onClick:()=>{_(D),w(!1)},styles:{container:{minWidth:"max-content"}},children:"Apply"})]})},...h?.card,...y?.card,children:Bo(_1,{mode:b,...I,selected:D,onSelect:(A,z)=>S(s?.(A,z)??A),min:f,max:v,disabledDates:x,...h?.calendar,...y?.calendar})})}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&Bo(j,{...n})]})});import"react";import{cn as xn}from"@cleen/ui-core";import Z4 from"embla-carousel-auto-scroll";import Q4 from"embla-carousel-autoplay";import Y4 from"embla-carousel-react";import{forwardRef as J4,useEffect as j4,useMemo as bg,useState as yg}from"react";import{jsx as Ro,jsxs as t5}from"react/jsx-runtime";var e5=J4(function({options:t,slideAmount:r=3,slideSize:n,prevBtn:l,nextBtn:a,autoPlay:c=!1,autoPlayOptions:s,autoScroll:u=!1,autoScrollOptions:p,children:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=bg(()=>{let L=[];return c&&L.push(Q4(s)),u&&L.push(Z4(p)),L},[c,u,s,p]),[x,I]=Y4({skipSnaps:!0,...t},C),[P,M]=yg(!0),[B,k]=yg(!0),w=()=>I?.scrollPrev(),R=()=>I?.scrollNext(),E=L=>{M(!L?.canScrollPrev()),k(!L?.canScrollNext())};j4(()=>{I&&(E(I),I.on("reInit",E),I.on("select",E))},[I]);let N=bg(()=>n?`${n}%`:`${100/r}%`,[n,r]);return Ro("div",{className:xn("cleen",g),style:y,ref:v,...f,children:t5("div",{className:xn("cleen-flex cleen-gap-2",h?.container),style:b?.container,children:[Ro("button",{className:xn("cleen-text-foreground",h?.prevBtn,P&&"cleen-opacity-50"),onClick:w,disabled:P,style:b?.prevBtn,children:l||Ro(Pt,{})}),Ro("div",{className:xn("cleen-flex-1 cleen-overflow-hidden",h?.viewport),style:b?.viewport,ref:x,children:Ro("div",{className:xn("cleen-flex [&>*]:cleen-flex-[0_0] cleen-gap-2 [&>*]:cleen-min-w-0 cleen-touch-pinch-zoom [&>*]:cleen-basis-[var(--cleen-carousel-slide-size)]",h?.list),style:{...b?.list,"--cleen-carousel-slide-size":N},children:i})}),Ro("button",{className:xn("cleen-text-foreground",h?.nextBtn,B&&"cleen-opacity-50"),onClick:R,disabled:B,style:b?.nextBtn,children:a||Ro(ot,{})})]})})});import{cn as Lo}from"@cleen/ui-core";import{forwardRef as o5,useEffect as Pg,useId as n5,useRef as r5,useState as a5}from"react";var Cg={primary:"cleen-bg-primary cleen-transition-all cleen-duration-200 hover:cleen-bg-primary hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error cleen-transition-all cleen-duration-200 hover:cleen-bg-error hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"},xg={primary:"cleen-bg-primary/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-primary/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-error/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"};import{Fragment as l5,jsx as st,jsxs as Ql}from"react/jsx-runtime";var ta=o5(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,className:c,classNames:s,style:u,styles:p,onChange:i,disabled:g,title:h,titleTooltip:y,label:b,sublabel:f,variant:v="primary",allowIndeterminate:C=!1,fullTriggerArea:x=!1,infoLabels:I,inputRef:P,...M},B){let k=n5(),w=t??k,R=typeof l=="boolean"||l===null,[E,N]=a5(a),L=r5(null),F=A=>{L.current=A,P&&(P.current=A)};Pg(()=>{R||N(a)},[a,R]);let D=R?l:E;Pg(()=>{L.current&&(L.current.indeterminate=C&&D===null)},[C,D]);let S=A=>{let z;if(C)switch(D){case!0:z=null;break;case!1:z=!0;break;default:z=!1;break}else z=!D;R||N(z),i?.({...A,target:{...A.target,checked:z}})},_=Ql(l5,{children:[Ql("label",{className:Lo("cleen-bg-background cleen-transition-all cleen-duration-200 hover:cleen-bg-surface hover:cleen-shadow-[0px_0px_0px_4px_rgb(var(--cleen-neutral-100))] cleen-border cleen-border-neutral-300 cleen-rounded cleen-ring-primary cleen-size-5 cleen-min-w-5 cleen-min-h-5 cleen-cursor-pointer focus-within:cleen-ring-2 focus-within:cleen-ring-offset-1 focus-within:cleen-ring-primary",{[Cg[v]]:D,[xg[v]]:D===null},g&&"cleen-cursor-not-allowed cleen-pointer-events-none","cleen-flex cleen-items-center cleen-justify-center",s?.checkbox),style:p?.checkbox,children:[st("input",{ref:F,type:"checkbox",disabled:g,className:"cleen-sr-only",checked:D===!0,onChange:S,id:w,name:r,...M}),D===null?st("span",{className:"cleen-block cleen-m-auto cleen-border cleen-border-white cleen-rounded-sm cleen-w-2.5 cleen-h-0.5 cleen-size-3"}):D?st(xt,{className:"cleen-stroke-[3px] cleen-size-3 cleen-text-primary-foreground"}):null]}),(b||f)&&Ql("div",{children:[st("label",{htmlFor:w,className:Lo("cleen-block cleen-text-foreground",s?.label),style:p?.label,children:b}),st("label",{htmlFor:w,className:Lo("cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-leading-5",s?.sublabel),style:p?.sublabel,children:f})]})]}),T={className:Lo("cleen-flex cleen-items-start cleen-gap-2",{"cleen-opacity-50":g},s?.checkboxContainer),style:p?.checkboxContainer};return st("div",{className:Lo("cleen",c),style:u,ref:B,children:Ql("div",{className:Lo(s?.container),style:p?.container,children:[h&&st(te,{htmlFor:w,required:n,tooltip:y,className:Lo("cleen-mb-1.5",s?.title?.className),classNames:s?.title?.classNames,...p?.title,children:h}),x?st("div",{...T,onClick:A=>{A.target instanceof Element&&!A.target.closest("label")&&L.current?.click()},children:_}):st("div",{...T,children:_}),(I?.errorMessage||I?.infoMessage||I?.subtitle)&&st(j,{...I})]})})});import{cn as oa}from"@cleen/ui-core";import{forwardRef as c5,useId as s5,useMemo as i5,useState as p5}from"react";import{jsx as Pn,jsxs as m5}from"react/jsx-runtime";var d5=c5(function({id:t,required:r,label:n,labelTooltip:l,checkboxes:a,allowIndeterminate:c,infoLabels:s,requiresAtLeastOneOptions:u,classNames:p,styles:i,onChange:g,...h},y){let b=s5(),f=t??b,[v,C]=p5(!1),x=i5(()=>u&&v&&a?.every(P=>P.checked===!1)?u.title:s?.errorMessage,[u,s?.errorMessage,a,v]),I=(P,M)=>{let B={...M,checked:P.target.checked},k;a&&M?.id&&(k=[...a].map(w=>w.id===M.id?B:w)),g?.(B,k),C(!0)};return Pn("div",{className:oa("cleen"),...h,ref:y,children:m5("div",{className:oa("cleen-flex cleen-flex-col cleen-gap-2",p?.container),style:i?.container,children:[n&&Pn(te,{htmlFor:f,required:r,tooltip:l,className:oa("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...i?.label,children:n}),Pn("div",{className:oa("cleen-flex cleen-flex-col cleen-gap-3",p?.checkboxes),style:i?.checkboxes,children:a?.map((P,M)=>Pn("div",{className:oa("cleen-flex",p?.checkboxContainer),style:i?.checkboxContainer,children:Pn(ta,{allowIndeterminate:c,...P,id:`${f}-${M}`,fullTriggerArea:!0,onChange:B=>I(B,P)})},P.id))}),(x||s?.infoMessage||s?.subtitle)&&Pn(j,{...s,errorMessage:x})]})})});import{cn as Do}from"@cleen/ui-core";import{forwardRef as u5,useState as Sg}from"react";import{jsx as Sn,jsxs as Mg}from"react/jsx-runtime";var wg=u5(({sections:e,defaultOpenIndex:t,allowExpandAll:r=!1,className:n,classNames:l,style:a,styles:c,...s},u)=>{let[p,i]=Sg(t??null),[g,h]=Sg(()=>new Set(e.map((f,v)=>v))),y=f=>r?g.has(f):p===f,b=(f,v)=>{v.onClick?.(),v.items?.length&&(r?h(C=>{let x=new Set(C);return x.has(f)?x.delete(f):x.add(f),x}):i(p===f?null:f))};return Sn("div",{ref:u,className:Do("cleen",n),style:{...a,width:"100%"},...s,children:Sn("div",{className:Do("cleen-w-full",l?.container),style:c?.container,children:e.map((f,v)=>Mg("div",{className:Do("cleen-mb-3",l?.section),style:c?.section,children:[Mg("div",{onClick:()=>b(v,f),className:Do("cleen-flex cleen-w-full cleen-items-center cleen-justify-between cleen-font-medium cleen-text-md cleen-text-foreground cleen-p-2 cleen-rounded-lg cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.sectionHeader),style:c?.sectionHeader,children:[Sn("div",{className:"cleen-flex-1 cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis",children:f?.title}),f?.items?.length?Sn(St,{className:Do("cleen-shrink-0 cleen-text-neutral-400 cleen-transition-transform",{"cleen-rotate-180":!y(v)})}):null]}),y(v)&&f?.items&&Sn("div",{className:Do("cleen-mt-1 cleen-flex cleen-flex-col cleen-w-full",l?.sectionBody),style:c?.sectionBody,children:f?.items?.map((C,x)=>Sn("div",{className:Do("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-p-2 cleen-w-full cleen-rounded-lg cleen-font-normal cleen-text-md cleen-text-foreground cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.item),style:c?.item,onClick:C?.onClick,children:C?.content},C?.key??x))})]},f?.key??v))})})});wg.displayName="Collapsible";function H1(e){let t=e.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);return t?{r:Number(t[1]),g:Number(t[2]),b:Number(t[3]),a:t[4]!==void 0?Number(t[4]):1}:{r:0,g:0,b:0,a:1}}function kg(e){return`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`}import{cn as Yl}from"@cleen/ui-core";import{useEffect as h5,useState as f5}from"react";import{HexAlphaColorPicker as g5,RgbaColorPicker as v5}from"react-colorful";import{jsx as Mn,jsxs as b5}from"react/jsx-runtime";var Bg="rgba(0, 0, 0, 1)",Rg="#000000ff",I5=({required:e,value:t,defaultValue:r,onChange:n,colorModel:l="rgba",disabled:a,label:c,labelTooltip:s,className:u,classNames:p,style:i,styles:g,infoLabels:h,...y})=>{let b=t!==void 0,f=r??(l==="hexa"?Rg:Bg),[v,C]=f5(f),x=b?t:v;h5(()=>{b||C(r??(l==="hexa"?Rg:Bg))},[r,b,l]);let I=M=>{let B=kg(M);b||C(B),n?.(B)},P=M=>{b||C(M),n?.(M)};return Mn("div",{className:Yl("cleen",u),style:i,...y,children:b5("div",{className:Yl("cleen-flex cleen-flex-col cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-medium",p?.container),style:g?.container,children:[c&&Mn(te,{required:e,tooltip:s,className:Yl("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...g?.label,children:c}),Mn("div",{className:Yl("cleen-rounded-md",a&&"cleen-opacity-50 cleen-pointer-events-none",p?.picker),style:g?.picker,children:l==="hexa"?Mn(g5,{color:x,onChange:P}):Mn(v5,{color:H1(x),onChange:I})}),(h?.errorMessage||h?.infoMessage||h?.subtitle)&&Mn(j,{...h})]})})};import{cn as Ze}from"@cleen/ui-core";import{forwardRef as y5,useMemo as C5,useState as x5}from"react";var U1=(e="")=>e.replace(/\D+/g,""),Lg=e=>{switch(e.slice(0,2)){case"34":case"37":return"amex";case"36":return"dinersclub";default:return"other"}};function Dg(e,t="other"){if(!e)return e;let r=U1(e),n;switch(t){case"amex":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,15)}`;break;case"dinersclub":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,14)}`;break;default:n=`${r.slice(0,4)} ${r.slice(4,8)} ${r.slice(8,12)} ${r.slice(12,19)}`;break}return n.trim()}var Tg=e=>U1(e);function Ng(e){let t=U1(e);if(!t||parseInt(t.charAt(0),10)>=2)return"";if(t.length<2)return t;let r=t.slice(0,2);if(parseInt(r,10)<1||parseInt(r,10)>12)return t.slice(0,1);if(t.length<3)return r;if(t.length===3)return`${r}/${t.charAt(2)}`;let n=t.length===6?t.slice(-2):t.slice(2,4),l=new Date,a=l.getFullYear()%100,c=l.getMonth()+1;return parseInt(n,10)<a||parseInt(n,10)===a&&parseInt(r,10)<c?`${r}/${n.charAt(0)}`:`${r}/${n}`}import{jsx as jt,jsxs as Fg}from"react/jsx-runtime";var P5=y5(function({labels:t,value:r,isLoading:n,errors:l,className:a,classNames:c,style:s,styles:u,infoLabels:p,onChange:i,onFieldFocus:g,...h},y){let[b,f]=x5({number:"",expiry:"",cvc:""}),v=!!r,C=v?r:b,x=C5(()=>Lg(C.number),[C.number]),I=M=>{let{name:B}=M.target,{value:k}=M.target;switch(B){case"number":k=Dg(k,x);break;case"expiry":k=Ng(k);break;case"cvc":k=Tg(k);break;default:return}v||f(w=>({...w,[B]:k})),i?.({...r,[B]:k})},P=M=>{g?.(M.target.name)};return jt("div",{className:Ze("cleen",a),style:s,ref:y,...h,children:jt("div",{className:Ze("cleen-flex cleen-flex-wrap cleen-justify-center cleen-items-start cleen-gap-8 cleen-bg-background cleen-min-w-80 cleen-w-min cleen-border cleen-border-primary/20 cleen-rounded-[10px] cleen-shadow-lg",c?.container),style:u?.container,children:n?jt("div",{className:Ze("cleen-py-4",c?.loader?.container),style:u?.loader?.container,children:jt(ne,{...c?.loader?.component,...u?.loader?.component})}):Fg("form",{className:Ze("cleen-flex cleen-flex-col cleen-items-start cleen-gap-3 cleen-p-4",c?.form?.container),style:u?.form?.container,onSubmit:M=>M.preventDefault(),children:[jt(me,{label:t?.number,name:"number",type:"tel",autoComplete:"cc-number",className:Ze("cleen-w-full",c?.form?.cardNumber?.className),classNames:{...c?.form?.cardNumber?.classNames,inputContainer:Ze({"cleen-border-error":l?.number},c?.form?.cardNumber?.classNames?.inputContainer),input:Ze({"cleen-text-error":l?.number},c?.form?.cardNumber?.classNames?.input)},...u?.form?.cardNumber,placeholder:"1111 1111 1111 1111",value:C.number,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.number}}),Fg("div",{className:Ze("cleen-flex cleen-justify-between cleen-items-start cleen-gap-3 cleen-w-full",c?.form?.cvcExpiryContainer),style:u?.form?.cvcExpiryContainer,children:[jt(me,{label:t?.expiry,name:"expiry",type:"tel",autoComplete:"cc-exp",className:c?.form?.expiry?.className,classNames:{...c?.form?.expiry?.classNames,inputContainer:Ze({"cleen-border-error":l?.expiry},c?.form?.expiry?.classNames?.inputContainer),input:Ze({"cleen-text-error":l?.expiry},c?.form?.expiry?.classNames?.input)},...u?.form?.expiry,placeholder:"00/00",value:C.expiry,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.expiry}}),jt(me,{label:t?.cvc,name:"cvc",type:"tel",inputMode:"numeric",autoComplete:"cc-csc",maxLength:x==="amex"?4:3,className:c?.form?.cvc?.className,classNames:{...c?.form?.cvc?.classNames,inputContainer:Ze({"cleen-border-error":l?.cvc},c?.form?.cvc?.classNames?.inputContainer),input:Ze({"cleen-text-error":l?.cvc},c?.form?.cvc?.classNames?.input)},...u?.form?.cvc,placeholder:"***",value:C.cvc,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.cvc}})]}),(p?.infoMessage||p?.errorMessage||p?.subtitle)&&jt(j,{...p})]})})})});import{cn as Eg}from"@cleen/ui-core";import{jsx as Ag}from"react/jsx-runtime";var rt=({isHorizontal:e=!0,className:t,classNames:r,style:n,styles:l,...a})=>Ag("div",{className:Eg("cleen",t),style:n,children:Ag("div",{className:Eg("cleen-bg-border cleen-my-0",e?"cleen-w-full cleen-h-[1px]":"cleen-w-[1px] cleen-h-full",r?.container),style:l?.container,...a})});import{cn as eo,useBodyScrollLock as S5,useCleenOverlays as zg,ZIndex as M5}from"@cleen/ui-core";import{forwardRef as w5,useCallback as k5,useEffect as G1,useId as B5,useRef as R5,useState as Og}from"react";import{createPortal as L5}from"react-dom";import{jsx as wn,jsxs as Jl}from"react/jsx-runtime";var D5={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768},_g=300,V1=w5(function({title:t,subtitle:r,children:n,headerCloseBtn:l,footer:a,isOpen:c=!1,onClose:s,closeOnOverlayClick:u=!0,position:p="right",zIndex:i=M5.DRAWER,size:g="lg",p:h,gap:y,className:b,classNames:f,style:v,styles:C,...x},I){let[P,M]=Og(c),[B,k]=Og(c),w=R5(null),R=B5(),{addOverlay:E,removeOverlay:N}=zg(),L=k5(()=>{M(!1),setTimeout(()=>s?.(),_g)},[s]);return G1(()=>{if(c){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),_g);return()=>clearTimeout(F)}},[c]),G1(()=>{if(c)return E(R),()=>N(R)},[E,N,c,R]),G1(()=>{let F=D=>{let{overlays:S}=zg.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),S5(B),B?L5(Jl("div",{className:eo("cleen",b),style:v,ref:I,...x,children:[wn("div",{className:eo("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",f?.overlay),onClick:()=>{u&&L()},style:{zIndex:i-1,...C?.overlay},"aria-hidden":"true"}),Jl("div",{className:eo("cleen-top-0 cleen-fixed cleen-flex cleen-flex-col cleen-gap-6 cleen-bg-surface cleen-shadow-l cleen-h-dvh cleen-transition-transform cleen-duration-300 cleen-ease-in-out cleen-transform",p==="right"?"cleen-right-0":"cleen-left-0",P?"cleen-translate-x-0":p==="right"?"cleen-translate-x-full":"-cleen-translate-x-full",f?.drawer),style:{zIndex:i,width:typeof g=="number"?g:D5[g],...y!==void 0&&{gap:y},...C?.drawer},ref:w,children:[Jl("div",{className:eo("cleen-flex cleen-justify-between cleen-items-center cleen-px-6 cleen-pt-6 cleen-w-full",f?.header),style:{...h!==void 0&&{paddingInline:h,paddingTop:h},...C?.header},children:[Jl("div",{className:"cleen-flex cleen-flex-col",children:[wn("span",{className:eo("cleen-font-semibold cleen-text-foreground-emphasis cleen-text-xl",f?.title),style:C?.title,children:t}),wn("span",{className:eo("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",f?.subtitle),style:C?.subtitle,children:r})]}),l||wn(Te,{onClick:L,className:"cleen-mb-auto cleen-size-5 cleen-cursor-pointer"})]}),wn("div",{className:eo("cleen-flex-1 cleen-px-6 cleen-overflow-y-auto cleen-no-scrollbar",f?.content),style:{...h!==void 0&&{paddingInline:h},...C?.content},children:n}),a&&wn("div",{className:eo("cleen-flex cleen-justify-end cleen-items-center cleen-gap-2 cleen-bg-sidebar cleen-px-6 cleen-py-4 cleen-border-border cleen-border-t",f?.footer),style:{...h!==void 0&&{paddingInline:h,paddingBlock:y},...C?.footer},children:a})]})]}),document.body):null});import{cn as To,useAnimateNumber as T5}from"@cleen/ui-core";import{forwardRef as N5,useEffect as F5,useMemo as E5,useRef as A5,useState as z5}from"react";import{jsx as jl,jsxs as W1}from"react/jsx-runtime";var kn=N5(({percentage:e,title:t,barColor:r,backgroundColor:n="rgb(var(--cleen-neutral-200))",textColor:l="rgb(var(--cleen-foreground))",invertProgressColors:a=!1,showPercentage:c=!1,renderAnimated:s=!1,renderAnimatedDuration:u=1e3,className:p,classNames:i,style:g,styles:h,...y},b)=>{let f=Math.max(0,Math.min(e,100)),v=A5(f),[C,x]=z5(s?0:f),I=T5({targetNumber:C,duration:u,disabled:!s});F5(()=>{if(s){setTimeout(()=>x(f),0);return}v.current!==f&&(x(f),v.current=f)},[f,s]);let P=E5(()=>{if(r)return r;switch(f<=30?"red":f<70?"orange":"green"){case"red":return a?"rgb(var(--cleen-success))":"rgb(var(--cleen-error))";case"orange":return"rgb(var(--cleen-warning))";case"green":return a?"rgb(var(--cleen-error))":"rgb(var(--cleen-success))";default:return"rgb(var(--cleen-success))"}},[f,a,r]);return jl("div",{ref:b,className:To("cleen",p),style:g,children:W1("div",{className:To("cleen-w-full",i?.container),style:h?.container,...y,children:[t&&jl("div",{className:To("cleen-mb-1 cleen-font-semibold cleen-text-xs",i?.title),style:h?.title,children:t}),W1("div",{className:To("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full cleen-h-4",i?.wrapper||i?.progress),style:h?.wrapper??h?.progress,children:[jl("div",{className:To("cleen-overflow-hidden cleen-flex-1 cleen-h-2 cleen-rounded-full",i?.track),style:{backgroundColor:n,...h?.track},children:jl("div",{className:To("cleen-h-full cleen-transition-all cleen-duration-300 ease-out",i?.fill),style:{width:`${C}%`,backgroundColor:P,...s&&{transitionDuration:`${u}ms`},...h?.fill}})}),c&&W1("span",{className:To("cleen-font-medium cleen-text-sm cleen-whitespace-nowrap cleen-w-10",i?.text),style:{color:l,...h?.text},children:[Math.round(I),"%"]})]})]})})});kn.displayName="ProgressBar";import{cn as to,FileEntryStatus as No}from"@cleen/ui-core";import{useMemo as Hg}from"react";import{Fragment as Ug,jsx as we,jsxs as Fo}from"react/jsx-runtime";var Gg=({fileEntry:e,onRemove:t,onFileClick:r,labels:n,classNames:l,styles:a})=>{let{id:c,file:s,name:u,size:p,url:i,type:g,status:h,progress:y=0,preExisting:b}=e,f=h===No.UPLOADING,v=h===No.ERROR,C=h===No.DONE,x=h===No.DELETING,I=p?p*y/100:0,P=Hg(()=>{switch(h){case No.UPLOADING:return Fo(Ug,{children:[we(Po,{className:"cleen-size-4"}),we("span",{children:n?.uploading})]});case No.DONE:return we(fo,{className:"cleen-size-4"});case No.ERROR:return we(ho,{className:"cleen-size-4"});default:return null}},[h,n]),M=()=>{if(r){r(e);return}i&&window.open(i,"_blank","noopener,noreferrer")},B=u||s?.name||"",[k,w]=B.split("."),R=Hg(()=>g?.startsWith("image/")&&i?we("img",{src:i,alt:B,className:"cleen-size-8 cleen-object-cover cleen-rounded-md"}):g==="application/pdf"?we(Io,{className:"cleen-size-8"}):we(vo,{className:"cleen-size-8"}),[B,g,i]);return we(ie,{p:12,className:l?.card?.className,classNames:{...l?.card?.classNames,container:to(l?.card?.classNames?.container,{"hover:cleen-bg-muted cleen-cursor-pointer cleen-overflow-hidden":C})},...a?.card,onClick:C?M:void 0,children:Fo("div",{className:to("cleen-space-y-1",l?.container),style:a?.container,children:[Fo("div",{className:to("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",l?.nameContainer),style:a?.nameContainer,children:[R,Fo("div",{className:to("cleen-text-foreground cleen-text-sm cleen-font-medium cleen-flex",l?.name),style:{maxWidth:R?"calc(100% - 5rem)":"calc(100% - 2.5rem)",...a?.name},children:[we("span",{className:"cleen-truncate cleen-shrink",children:k}),Fo("span",{className:"cleen-whitespace-nowrap",children:[".",w]})]}),we("div",{className:"cleen-flex-1"}),!f&&(x?we(ne,{color:"rgb(var(--cleen-error))",className:to("cleen-shrink-0")}):we(Ke,{className:to("cleen-size-4 cleen-shrink-0 cleen-text-neutral-600 hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer"),onClick:E=>{E.stopPropagation(),t?.(c)}}))]}),Fo("div",{className:to("cleen-flex cleen-gap-2 cleen-items-center cleen-text-neutral-600 cleen-text-xs",l?.statusContainer),style:a?.statusContainer,children:[!!p&&(f?we("p",{children:n?.uploadProgress?.(I,p)}):C&&we("p",{children:n?.uploaded?.(p)})),!b&&Fo(Ug,{children:[we("span",{children:"|"}),we("div",{className:to("cleen-flex cleen-items-center cleen-gap-1",{"cleen-text-error":v,"cleen-text-success":C},l?.statusText),style:a?.statusText,children:P})]})]}),f&&we(kn,{barColor:"rgb(var(--cleen-primary))",percentage:y,showPercentage:!0,...l?.progressBar,...a?.progressBar})]})},c)};var ec=e=>{if(e===0)return"0 B";let t=1024,r=["B","KB","MB","GB","TB"],n=Math.floor(Math.log(e)/Math.log(t));return`${parseFloat((e/Math.pow(t,n)).toFixed(1))} ${r[n]}`};var Vg={primaryText:"Click to upload",secondaryText:"or drag and drop",helperText:"SVG, PNG or JPG (max. 400x400px)",uploading:"Uploading...",uploadProgress:(e,t)=>`${ec(e)} of ${ec(t)}`,uploaded:e=>ec(e)};var Wg={uploading:e=>`Uploading ${e} ${e===1?"item":"items"}`,completed:"Uploads complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",uploadProgress:e=>`${Math.round(e)}%`};var na=(a=>(a.PENDING="pending",a.IN_PROGRESS="inProgress",a.DONE="done",a.ERROR="error",a.REMOVING="removing",a))(na||{});import{cn as Eo}from"@cleen/ui-core";import{jsx as oo,jsxs as $g}from"react/jsx-runtime";var $1=({item:e,labels:t,classNames:r,styles:n})=>{let{status:l,progress:a=0,icon:c,name:s}=e,u=l==="inProgress",p=l==="done",i=l==="error",g=l==="removing",h=l==="pending";return $g("div",{className:Eo("cleen-flex cleen-items-center cleen-gap-3",r?.container),style:n?.container,children:[c,$g("div",{className:Eo("cleen-flex-1 cleen-space-y-1 cleen-min-w-0",r?.infoContainer),style:n?.infoContainer,children:[oo("p",{className:Eo("cleen-font-medium cleen-text-foreground cleen-text-sm cleen-truncate",r?.name),style:n?.name,children:s}),u&&oo(kn,{barColor:"rgb(var(--cleen-primary))",percentage:a,...r?.progressBar,...n?.progressBar})]}),u&&oo("span",{className:Eo("cleen-shrink-0 cleen-text-muted-foreground cleen-text-xs",r?.progressText),style:n?.progressText,children:t?.itemProgress?.(a)}),g&&oo(ne,{color:"rgb(var(--cleen-error))"}),p&&oo(fo,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-success",r?.statusIcon),style:n?.statusIcon}),i&&oo(ho,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-error",r?.statusIcon),style:n?.statusIcon}),h&&oo("div",{className:Eo("cleen-size-5 cleen-shrink-0 cleen-flex cleen-items-center cleen-gap-1",r?.statusIcon),style:n?.statusIcon,children:Array.from({length:3}).map((y,b)=>oo("div",{className:"cleen-size-1 cleen-bg-primary cleen-rounded-full cleen-animate-bounce-medium",style:{animationDelay:`${b*.1}s`}},b))})]})};var ra=(l=>(l.NOT_STARTED="notStarted",l.IN_PROGRESS="inProgress",l.COMPLETED="completed",l.ALL="all",l))(ra||{}),aa=["notStarted","inProgress","completed","all"];import{cn as tc}from"@cleen/ui-core";import{jsx as qg,jsxs as O5}from"react/jsx-runtime";var q1=({value:e,onChange:t,counts:r,labels:n,classNames:l,styles:a})=>qg("div",{role:"group","aria-label":n?.statusFilter,className:tc("cleen-flex cleen-flex-wrap cleen-items-center cleen-gap-0.5 cleen-bg-muted cleen-p-0.5 cleen-border cleen-border-border cleen-rounded-md",l?.container),style:a?.container,children:aa.map(c=>{let s=c===e;return O5("button",{type:"button","aria-pressed":s,onClick:()=>t(c),className:tc("cleen-flex cleen-items-center cleen-gap-1 cleen-px-2 cleen-py-0.5 cleen-rounded cleen-font-medium cleen-text-muted-foreground cleen-text-xs cleen-whitespace-nowrap cleen-transition-colors hover:cleen-text-foreground focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary",l?.option,s&&tc("cleen-bg-background cleen-text-foreground cleen-shadow-sm",l?.optionActive)),style:{...a?.option,...s&&a?.optionActive},children:[n?.statusFilterOptions?.[c],r&&qg("span",{className:tc("cleen-text-neutral-400 cleen-tabular-nums",l?.optionCount),style:a?.optionCount,children:r[c]})]},c)})});var Xg={processing:e=>`Processing ${e} ${e===1?"item":"items"}`,completed:"Processing complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",itemProgress:e=>`${Math.round(e)}%`,statusFilter:"Filter by status",statusFilterOptions:{notStarted:"Not Started",inProgress:"In Progress",completed:"Completed",all:"All"},emptyStatusFilter:"Nothing to show for this status"};var Kg=e=>e.status==="inProgress"||e.status==="pending",Zg=e=>e.length>0&&e.every(t=>t.status==="done"),X1=(e,t)=>{switch(t){case"notStarted":return e.status==="pending";case"inProgress":return e.status==="inProgress"||e.status==="removing";case"completed":return e.status==="done"||e.status==="error";case"all":default:return!0}};import{applyDefaults as _5,cn as at,useControlled as Qg,useDisclosure as H5}from"@cleen/ui-core";import{forwardRef as U5,useEffect as Yg,useMemo as K1,useRef as G5}from"react";import{jsx as it,jsxs as Z1}from"react/jsx-runtime";var Q1=U5(function({items:t,title:r,maxVisibleItems:n=5,isExpanded:l,defaultExpanded:a=!1,onExpandedChange:c,onDismiss:s,autoDismissOnUploadCompleteAfterMilliSeconds:u,showHeader:p=!0,showStatusFilter:i=!1,showStatusFilterCounts:g=!1,statusFilter:h,defaultStatusFilter:y="inProgress",onStatusFilterChange:b,labels:f,className:v,classNames:C,style:x,styles:I,...P},M){let{isOpen:B,toggle:k,close:w}=H5(),{value:R,handleChange:E}=Qg({value:l,defaultValue:a,onChange:c});Yg(()=>{t.length>0&&w()},[t.length,w]);let N=_5(Xg,f),{value:L,handleChange:F}=Qg({value:h,defaultValue:y,onChange:b}),D=G5(s);D.current=s;let S=Zg(t);Yg(()=>{if(u==null||!D.current||!S)return;if(u<=0){D.current();return}let $=setTimeout(()=>D.current?.(),u);return()=>clearTimeout($)},[S,u]);let _=K1(()=>t.filter(Kg).length,[t]),T=K1(()=>!i||!L?t:t.filter($=>X1($,L)),[t,i,L]),A=K1(()=>{if(g)return aa.reduce(($,W)=>({...$,[W]:t.filter(U=>X1(U,W)).length}),{})},[t,g]);if(!t.length)return null;let z=Math.max(T.length-n,0),H=R||!z?T:T.slice(0,n),G=r??(_?N?.processing?.(_):N?.completed);return it(ie,{p:16,gap:12,ref:M,className:at(v,C?.card?.className),classNames:{...C?.card?.classNames,childrenContainer:at(C?.card?.classNames?.childrenContainer,{"cleen-hidden":B})},style:x,styles:I?.card?.styles,header:p?{hasDivider:!B,content:Z1("div",{className:at("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",C?.header),style:I?.header,children:[it("p",{className:at("cleen-font-semibold cleen-text-foreground cleen-text-sm",C?.title),style:I?.title,children:G}),Z1("div",{className:at("cleen-flex cleen-items-center cleen-gap-2",C?.headerButtons),style:I?.headerButtons,children:[it("button",{type:"button","aria-label":N?.contract,onClick:k,className:at("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.contractButton),style:I?.contractButton,children:it(St,{className:at("cleen-size-5 cleen-transition-transform",B&&"cleen-rotate-180")})}),s&&it("button",{type:"button","aria-label":N?.dismiss,onClick:s,className:at("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.dismissButton),style:I?.dismissButton,children:it(Te,{className:"cleen-size-4"})})]})]})}:void 0,...P,children:Z1("div",{className:at("cleen-flex cleen-flex-col cleen-gap-3",C?.list),style:I?.list,children:[i&&L&&it(q1,{value:L,onChange:F,counts:A,labels:N,classNames:C?.statusFilter,styles:I?.statusFilter}),!H.length&&it("p",{className:at("cleen-text-muted-foreground cleen-text-xs",C?.emptyStatusFilter),style:I?.emptyStatusFilter,children:N?.emptyStatusFilter}),H.map($=>it($1,{item:$,labels:N,classNames:C?.row,styles:I?.row},$.id)),!!z&&it("button",{type:"button","aria-expanded":R,onClick:()=>E(!R),className:at("cleen-self-start cleen-font-medium cleen-text-primary cleen-text-xs hover:cleen-underline focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.expandButton),style:I?.expandButton,children:R?N?.showLess:N?.showMore?.(z)})]})})});import{FileEntryStatus as Lt}from"@cleen/ui-core";var V5=[{label:"PDF",className:"cleen-bg-error",extensions:["pdf"]},{label:"DOC",className:"cleen-bg-primary",extensions:["doc","docx","rtf","odt"]},{label:"XLS",className:"cleen-bg-success",extensions:["xls","xlsx","csv","ods"]},{label:"IMG",className:"cleen-bg-warning",extensions:["png","jpg","jpeg","gif","svg","webp"]}],Jg={label:"FILE",className:"cleen-bg-neutral-500"},W5={[Lt.QUEUED]:"inProgress",[Lt.UPLOADING]:"inProgress",[Lt.PAUSED]:"inProgress",[Lt.DONE]:"done",[Lt.ERROR]:"error",[Lt.DELETING]:"removing"},Y1=e=>e.name||e.file?.name||"",jg=e=>{let t=Y1(e).split(".").pop()?.toLowerCase()??"",r=V5.find(({extensions:n})=>n.includes(t));return r?{label:r.label,className:r.className}:{label:t?t.slice(0,4).toUpperCase():Jg.label,className:Jg.className}},ev=e=>e.status===Lt.QUEUED||e.status===Lt.UPLOADING||e.status===Lt.PAUSED,tv=e=>W5[e.status]??"pending",ov=e=>Array.isArray(e)?e:Array.from(e.values());import{cn as $5}from"@cleen/ui-core";import{jsx as q5}from"react/jsx-runtime";var nv=({fileEntry:e,className:t,style:r})=>{let n=jg(e);return q5("div",{className:$5("cleen-flex cleen-justify-center cleen-items-center cleen-rounded-md cleen-size-8 cleen-shrink-0 cleen-font-semibold cleen-text-[10px] cleen-text-white",n.className,t),style:r,children:n.label})};import{jsx as X5}from"react/jsx-runtime";var rv=(e,t)=>({id:e.id,name:Y1(e),progress:e.progress,status:tv(e),icon:X5(nv,{fileEntry:e,className:t?.className,style:t?.style})});import{applyDefaults as K5}from"@cleen/ui-core";import{forwardRef as Z5,useMemo as av}from"react";import{jsx as Q5}from"react/jsx-runtime";var J1=Z5(function({files:t,title:r,maxVisibleFiles:n=5,labels:l,classNames:a,styles:c,...s},u){let p=av(()=>ov(t),[t]),i=K5(Wg,l),g=av(()=>p.map(b=>rv(b,{className:a?.row?.typeBadge,style:c?.row?.typeBadge})),[p,a?.row?.typeBadge,c?.row?.typeBadge]),h=p.filter(ev).length,y=r??(h?i?.uploading?.(h):i?.completed);return Q5(Q1,{ref:u,items:g,title:y,maxVisibleItems:n,labels:{showMore:i?.showMore,showLess:i?.showLess,dismiss:i?.dismiss,contract:i?.contract,itemProgress:i?.uploadProgress},classNames:a,styles:c,...s})});import{applyDefaults as Y5,cn as Ne,FileEntryStatus as J5,useFileUpload as j5}from"@cleen/ui-core";import{forwardRef as e3,useEffect as t3,useMemo as lv,useRef as cv,useState as j1}from"react";import{createPortal as o3}from"react-dom";import{jsx as Fe,jsxs as oc}from"react/jsx-runtime";var n3=e3(function({required:t,icon:r,files:n,initialFiles:l=[],onFilesChange:a,onFileUpload:c,onFilesUpload:s,onFileRemove:u,onFileClick:p,infoLabels:i,containerRef:g,label:h,labelTooltip:y,labels:b,showUploadedFiles:f=!1,showProgressTracker:v=!1,progressTracker:C,className:x,classNames:I,style:P,styles:M,multiple:B,disabled:k,loadingWhileUploading:w,isLoading:R,readOnly:E,onChange:N,id:L,name:F,...D},S){let _=cv(null),{files:T,addFiles:A,remove:z}=j5({files:n,onFilesChange:a,initialFiles:l,onFileUpload:c,onFilesUpload:s,onFileRemove:u}),H=lv(()=>R||w&&Array.from(T.values()).some(X=>X.status===J5.UPLOADING),[T,w,R]),[G,$]=j1(!1),[W,U]=j1([]),[V,Q]=j1(!1),O=cv(new Set(T.keys()));t3(()=>{let X=Array.from(T.keys()),Be=X.filter(Pe=>!O.current.has(Pe));O.current=new Set(X),U(Pe=>{let pe=Pe.filter(mo=>T.has(mo));return Be.length?V?Be:[...pe,...Be.filter(mo=>!pe.includes(mo))]:pe.length===Pe.length?Pe:pe}),Be.length&&Q(!1)},[T,V]);let Z=lv(()=>W.map(X=>T.get(X)).filter(X=>!!X),[W,T]),ce=()=>{Q(!0),U([]),C?.onDismiss?.()},ge=!k&&!E&&!H,ye=X=>{let Be=Array.from(X.target.files??[]);A(Be),N?.(X)},It=X=>{z(X)},Ge=()=>{ge&&_.current?.click()},J=X=>{if(!X.length)return;let Be=B?X:X.slice(0,1);if(!_.current||typeof DataTransfer>"u"){A(Be);return}let Pe=new DataTransfer;Be.forEach(pe=>Pe.items.add(pe));try{_.current.files=Pe.files}catch{A(Be);return}A(Be),N?.({target:_.current,currentTarget:_.current})},se=X=>{X.preventDefault(),X.stopPropagation(),$(!1),ge&&J(Array.from(X.dataTransfer.files??[]))},he=X=>{X.preventDefault(),X.stopPropagation(),ge&&$(!0)},et=X=>{X.preventDefault(),X.stopPropagation(),ge&&$(!0)},Ko=X=>{X.preventDefault(),X.stopPropagation(),ge&&$(!1)},Ve=X=>{ge&&(X.key!=="Enter"&&X.key!==" "||(X.preventDefault(),Ge()))},We=Y5(Vg,b);return oc("div",{className:Ne("cleen",x),style:P,ref:g,children:[Fe("input",{id:L||F,name:F,ref:X=>{if(_.current=X,typeof S=="function"){S(X);return}S&&(S.current=X)},type:"file",multiple:B,disabled:k||H,readOnly:E,className:Ne("cleen-hidden",I?.input),style:M?.input,onChange:ye,...D}),h&&Fe(te,{htmlFor:L||F,required:t,tooltip:y,className:Ne("cleen-mb-1.5",I?.label?.className),classNames:I?.label?.classNames,...M?.label,children:h}),oc("div",{className:Ne("cleen-relative cleen-blur-0",{"cleen-pointer-events-none":H}),children:[Fe(ie,{tabIndex:ge?0:-1,role:"button","aria-label":typeof h=="string"?h:"Upload file","aria-disabled":k||E||H,onClick:Ge,onKeyDown:Ve,onDrop:se,onDragEnter:he,onDragOver:et,onDragLeave:Ko,p:16,className:Ne("cleen-rounded-lg focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",I?.card?.className),classNames:{...I?.card?.classNames,container:Ne("cleen-transition-colors",k?"cleen-cursor-not-allowed cleen-bg-muted":"cleen-cursor-pointer hover:cleen-bg-surface hover:cleen-border-muted-foreground",I?.card?.classNames?.container,G&&["cleen-border-muted-foreground cleen-bg-surface",I?.cardDragActive]),childrenContainer:Ne({"cleen-blur-sm":H},I?.card?.classNames?.childrenContainer)},style:M?.card?.style,styles:{...M?.card?.styles,container:{...M?.card?.styles?.container,...G?M?.cardDragActive:void 0}},children:oc("div",{className:Ne("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-gap-3 cleen-text-center",I?.dropArea),style:M?.dropArea,"aria-disabled":k||E||H,children:[Fe("div",{className:Ne("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-border cleen-border-border cleen-rounded-xl cleen-size-11 cleen-text-neutral-700",I?.iconContainer),style:M?.iconContainer,children:r||Fe(Po,{className:"cleen-size-5"})}),oc("p",{className:Ne("cleen-font-medium cleen-text-sm",I?.textContainer),style:M?.textContainer,children:[Fe("span",{className:Ne(k?"cleen-text-muted-foreground":"cleen-text-primary",I?.primaryText),style:M?.primaryText,children:We?.primaryText})," ",Fe("span",{className:Ne("cleen-text-foreground",I?.secondaryText),style:M?.secondaryText,children:We?.secondaryText})]}),Fe("p",{className:Ne("cleen-text-neutral-600 cleen-text-xs",I?.helperText),style:M?.helperText,children:We?.helperText})]})}),H&&Fe(ne,{size:"md",className:"cleen-absolute cleen-top-1/2 cleen-left-1/2 -cleen-translate-x-1/2 -cleen-translate-y-1/2"})]}),f&&T.size>0&&Fe("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-mt-4",children:Array.from(T.values()).map(X=>Fe(Gg,{fileEntry:X,onRemove:It,onFileClick:p,labels:We,classNames:I?.fileCard,styles:M?.fileCard},X.id))}),v&&!V&&Z.length>0&&o3(Fe("div",{className:"cleen",children:Fe(J1,{...C,files:Z,onDismiss:ce,className:Ne("cleen-fixed cleen-right-0 cleen-bottom-0 cleen-m-4 cleen-w-96",I?.progressTracker?.className),classNames:I?.progressTracker?.classNames,...M?.progressTracker})}),document.body),(i?.errorMessage||i?.infoMessage||i?.subtitle)&&Fe(j,{...i})]})});var r3=e=>{let t=e instanceof Date?e:new Date(e);if(Number.isNaN(t.getTime()))return;let r={dateStyle:"medium",timeStyle:"short"};try{return new Intl.DateTimeFormat("en-US",r).format(t)}catch{return new Intl.DateTimeFormat("en-US",r).format(t)}},sv={uploaded:e=>`Uploaded: ${r3(e)}`};var eh={"image/":"image","video/":"video","audio/":"audio"},th={"application/pdf":"pdf","application/msword":"document","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"document","application/vnd.oasis.opendocument.text":"document","application/rtf":"document","text/rtf":"document","text/plain":"document","application/vnd.ms-excel":"spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"spreadsheet","application/vnd.oasis.opendocument.spreadsheet":"spreadsheet","text/csv":"spreadsheet","application/zip":"archive","application/x-zip-compressed":"archive","application/vnd.rar":"archive","application/x-rar-compressed":"archive","application/x-7z-compressed":"archive","application/x-tar":"archive","application/gzip":"archive","application/x-gzip":"archive"},iv={png:"image",jpg:"image",jpeg:"image",gif:"image",bmp:"image",webp:"image",svg:"image",avif:"image",heic:"image",ico:"image",tif:"image",tiff:"image",mp4:"video",mov:"video",webm:"video",avi:"video",mkv:"video",m4v:"video",ogv:"video",mp3:"audio",wav:"audio",ogg:"audio",oga:"audio",m4a:"audio",aac:"audio",flac:"audio",weba:"audio",pdf:"pdf",doc:"document",docx:"document",txt:"document",rtf:"document",odt:"document",xls:"spreadsheet",xlsx:"spreadsheet",csv:"spreadsheet",ods:"spreadsheet",zip:"archive",rar:"archive","7z":"archive",tar:"archive",gz:"archive",tgz:"archive"},pv=["http:","https:","blob:"];var a3=e=>{let t=e?.split(";")[0].trim().toLowerCase();if(!t)return;if(t in th)return th[t];let r=Object.keys(eh).find(n=>t.startsWith(n));return r?eh[r]:void 0},oh=e=>{let t=e.lastIndexOf(".");return t<0?void 0:e.slice(t+1).toLowerCase()},l3=e=>{let t=oh(e);return t?iv[t]:void 0},dv=e=>a3(e.type)??l3(e.name)??"generic",mv=e=>{if(!e)return!1;try{let t=typeof document<"u"?document.baseURI:void 0;return pv.includes(new URL(e,t).protocol)}catch{return!1}};import{cn as Dt,formatFileSize as c3}from"@cleen/ui-core";import{forwardRef as s3,useMemo as uv,useState as i3}from"react";import{Fragment as d3,jsx as pt,jsxs as nc}from"react/jsx-runtime";var p3=s3(function({file:t,preview:r=!1,onRemove:n,description:l,labels:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=i3(),b=uv(()=>({...sv,...a}),[a]),f=dv(t),v=x1(oh(t.name)),C=mv(t.url)?t.url:void 0,x=t.previewUrl||t.url,I=r&&(f==="image"||f==="video")&&!!x&&h!==x,P=uv(()=>{if(l!=null)return l;let w=[];if(t.size!=null&&w.push(c3(t.size)),t.uploadedAt!=null){let R=b?.uploaded(t.uploadedAt);R&&w.push(R)}return w.length>0?w.join(" \u2022 "):null},[l,t.uploadedAt,t.size,b]),M=w=>{w.stopPropagation(),n?.(t)},B=Dt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-items-center cleen-gap-3 cleen-py-2 cleen-px-3 cleen-rounded-lg",C&&"cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-inset focus-visible:cleen-ring-primary",s?.main),k=nc(d3,{children:[nc("div",{className:Dt("cleen-flex cleen-size-10 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-overflow-hidden cleen-rounded-lg cleen-bg-primary-50 cleen-text-primary-600",s?.media),style:p?.media,children:[I&&(f==="image"||f==="video"&&t.previewUrl)&&pt("img",{src:x,alt:t.name,className:"cleen-size-full cleen-object-cover",onError:()=>y(x)}),I&&f==="video"&&!t.previewUrl&&pt("video",{src:x,"aria-label":t.name,className:"cleen-size-full cleen-object-cover",muted:!0,playsInline:!0,preload:"metadata",onError:()=>y(x)}),!I&&pt(v,{"aria-hidden":!0,className:Dt("cleen-size-5",s?.icon),style:p?.icon})]}),nc("div",{className:Dt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-flex-col cleen-gap-0.5",s?.content),style:p?.content,children:[pt("span",{className:Dt("cleen-truncate cleen-text-sm cleen-font-semibold cleen-text-foreground",s?.title),style:p?.title,title:t.name,children:t.name}),P!==null&&pt("span",{className:Dt("cleen-truncate cleen-text-xs cleen-text-muted-foreground",s?.description),style:p?.description,children:P})]})]});return pt("div",{className:Dt("cleen",c),style:u,ref:g,...i,children:nc("div",{className:Dt("cleen-flex cleen-w-full cleen-min-w-0 cleen-items-center cleen-rounded-lg cleen-border cleen-border-border cleen-bg-background cleen-transition-all cleen-duration-200",C&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",s?.container),style:p?.container,children:[C?pt("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:B,style:p?.main,children:k}):pt("div",{className:B,style:p?.main,children:k}),n&&pt("button",{type:"button",className:Dt("cleen-mr-3 cleen-flex cleen-size-8 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-rounded-md cleen-text-error cleen-transition-colors hover:cleen-bg-muted focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-error",s?.removeButton),style:p?.removeButton,onClick:M,children:pt(Te,{"aria-hidden":!0,className:"cleen-size-5"})})]})})});var rc={filterName:"",exposed:!1};import{createContext as m3}from"react";var Qe=m3({isSaveFiltersStep:!1,setIsSaveFiltersStep:()=>{},saveStepValues:{exposed:!1,filterName:""},setSaveStepValues:()=>{},handleCloseSaveFilter:()=>{},isFiltersDropdownOpen:!1,setIsFiltersDropdownOpen:()=>{},errors:{},setErrors:()=>{},setError:()=>{}});import{cn as u3}from"@cleen/ui-core";import{useContext as h3,useState as f3}from"react";import{Fragment as g3,jsx as la,jsxs as nh}from"react/jsx-runtime";var hv={min:3,max:50},fv=()=>{let{isSaveFiltersStep:e,saveStepValues:t,setSaveStepValues:r,setIsSaveFiltersStep:n,handleCloseSaveFilter:l,setError:a,onSave:c,classNames:s,styles:u,labels:p,withSavedFilters:i=!0,onCancel:g,onApply:h}=h3(Qe),[y,b]=f3(!1),f=async()=>{try{if(t.filterName.length<hv.min){a?.("filterName",p?.saveStep?.validation?.tooShort);return}if(t.filterName.length>hv.max){a?.("filterName",p?.saveStep?.validation?.tooLong);return}b(!0),await c?.(t),n(!1)}catch(v){console.error("Error saving filters:",v)}finally{b(!1)}};return e?nh("div",{className:"cleen-flex cleen-flex-1 cleen-justify-end cleen-gap-3",children:[la(re,{onClick:()=>n(!1),variant:"secondary",...s?.saveFilter?.backBtn,...u?.saveFilter?.backBtn,children:p?.saveStep?.back}),la(re,{onClick:f,isLoading:y,loaderColor:"rgb(var(--cleen-white))",...s?.saveFilter?.saveBtn,...u?.saveFilter?.saveBtn,children:p?.saveStep?.save})]}):nh(g3,{children:[i&&la(re,{onClick:()=>{r(rc),n(!0)},variant:"borderless-blue",...s?.saveBtn,...u?.saveBtn,children:p?.save}),nh("div",{className:u3("cleen-flex cleen-items-center cleen-gap-3",{"cleen-flex-1 cleen-justify-end":!i}),children:[la(re,{onClick:()=>{g?.(),l()},variant:"secondary",...s?.cancelBtn,...u?.cancelBtn,children:p?.cancel}),la(re,{onClick:()=>{h?.(),l()},...s?.applyBtn,...u?.applyBtn,children:p?.apply})]})]})};import{cn as ac}from"@cleen/ui-core";import{Link as v3}from"react-router-dom";import{Fragment as vv,jsx as Ao,jsxs as rh}from"react/jsx-runtime";var gv=({item:e,classNames:t,styles:r})=>({disabled:e?.disabled,className:ac("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-foreground cleen-text-sm cleen-text-left cleen-transition-colors",e?.disabled?"cleen-opacity-50 cleen-select-none cleen-cursor-not-allowed cleen-pointer-events-none":"hover:cleen-bg-muted cleen-cursor-pointer",{"cleen-text-error hover:cleen-bg-error-bg":e?.danger},t?.container),style:r?.container,children:rh(vv,{children:[e?.icon,Ao("span",{className:ac("cleen-flex-1",t?.label),style:r?.label,children:e?.label})]}),...e?.type==="button"?{type:"button"}:{to:e?.to}}),ah=({item:e,isLast:t,handleClick:r,onEnterSubmenu:n,classNames:l,styles:a})=>{switch(e?.type){case"group":return rh(vv,{children:[e?.label&&Ao("p",{className:ac("cleen-px-4 cleen-py-2 cleen-font-bold cleen-text-muted-foreground cleen-text-xs",l?.groupLabel),style:a?.groupDivider,children:e?.label}),e?.items?.map((c,s,u)=>Ao(ah,{item:c,handleClick:r,onEnterSubmenu:n,isLast:s===u.length-1},c?.id||s)),!t&&Ao("hr",{className:ac("cleen-text-neutral-200",l?.groupDivider),style:a?.groupDivider})]});case"button":{let c=e?.submenu&&e?.submenu?.length>0;return rh("button",{type:"button",onClick:()=>{c?n?.(e.submenu,e?.label):r?.(e)},...gv({item:e,classNames:l,styles:a}),children:[e?.icon,Ao("span",{className:"cleen-flex-1",children:e?.label}),c&&Ao(ot,{className:"cleen-size-4 cleen-text-neutral-400"})]})}case"link":return Ao(v3,{to:"",...gv({item:e,classNames:l,styles:a})});default:return null}};import{cn as I3}from"@cleen/ui-core";import{useEffect as Iv,useState as bv}from"react";import{Fragment as b3,jsx as yv,jsxs as Cv}from"react/jsx-runtime";var xv=({items:e,keepOpenOnClick:t,hideMenu:r,classNames:n,styles:l})=>{let[a,c]=bv([]),[s,u]=bv(e),p=(h,y)=>{c(b=>[...b,{items:s,title:y}]),u(h)},i=()=>{let h=a[a?.length-1];h&&(u(h?.items),c(y=>y?.slice(0,-1)))};Iv(()=>{u(e),c([])},[e]),Iv(()=>{let h=y=>{if(y.key==="Escape")if(a.length>0){let b=a?.[a?.length-1];u(b?.items),c(f=>f?.slice(0,-1))}else r()};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[r,a]);let g=h=>{h?.onClick?.(),t||r()};return Cv(b3,{children:[a?.length>0&&Cv("button",{onClick:i,className:I3("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-sm cleen-text-foreground hover:cleen-bg-neutral-50",n?.submenuButton),style:l?.submenuButton,children:[yv(Pt,{className:"cleen-size-4 cleen-text-neutral-300"}),a?.[a?.length-1]?.title]}),s?.map((h,y,b)=>yv(ah,{item:h,isLast:y===b?.length-1,handleClick:g,onEnterSubmenu:p,classNames:n?.item,styles:l?.item},h?.id||y))]})};import{CLEEN_IGNORE_OUTSIDE_CLICK as y3,cn as lh,useDisclosure as C3,useOutsideClick as x3,usePositionClose as P3,ZIndex as S3}from"@cleen/ui-core";import{forwardRef as M3,useRef as Pv}from"react";import{createPortal as w3}from"react-dom";import{jsx as lc,jsxs as k3}from"react/jsx-runtime";var Bn=M3(function({items:t=[],position:r="bottom-left",keepOpenOnClick:n=!0,triggerRef:l,menuRef:a,ignoreClickOutside:c=!1,zIndex:s=S3.MENU,children:u,className:p,classNames:i,style:g,styles:h,...y},b){let{isOpen:f,toggle:v,close:C}=C3(),x=Pv(null),I=Pv(null),P=l??x,M=a??I,{positionStyles:B,isMounted:k}=P3({triggerRef:P,targetRef:M,position:r,isOpen:f});x3({refs:[P,M],handler:C,enabled:f});let w=()=>{v()};return k3("div",{className:lh("cleen",p),style:g,ref:b,...y,children:[lc("div",{ref:P,onClick:w,className:lh("cleen-size-fit",i?.trigger,f&&i?.triggerOpen),style:{...h?.trigger,...f?h?.triggerOpen:{}},children:u}),f&&w3(lc("div",{className:"cleen",...c&&{[y3]:"true"},children:lc("div",{ref:M,className:lh("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!k},i?.menu),style:{zIndex:s,top:`${B.top}px`,left:`${B.left}px`,...h?.menu},children:lc(xv,{items:t,keepOpenOnClick:n,hideMenu:C,classNames:i,styles:h})})}),document.body)]})});import{cn as cc,ColorHelpers as ph}from"@cleen/ui-core";import{useMemo as B3}from"react";var ch=["blue","lighter-blue","primary","indigo","green","red","purple","pink","orange","gray","yellow"],sh={blue:"cleen-border-blue/30 cleen-bg-blue/10 cleen-text-blue","lighter-blue":"cleen-border-blue-light/20 cleen-bg-blue-light/5 cleen-text-blue-light",primary:"cleen-border-primary/30 cleen-bg-primary/10 cleen-text-primary",indigo:"cleen-border-indigo/50 cleen-bg-indigo/5 cleen-text-indigo/80",green:"cleen-border-success/20 cleen-bg-success-bg cleen-text-success",red:"cleen-border-error/20 cleen-bg-error-bg cleen-text-error",purple:"cleen-border-purple/20 cleen-bg-purple/5 cleen-text-purple/80",pink:"cleen-border-pink/50 cleen-bg-pink/5 cleen-text-pink/80",orange:"cleen-border-orange/20 cleen-bg-orange/5 cleen-text-orange/80",yellow:"cleen-text-yellow-500 cleen-bg-yellow/10 cleen-border-yellow",gray:"cleen-border-border cleen-bg-muted cleen-text-neutral-600"},Sv={blue:"cleen-bg-primary/50",primary:"cleen-bg-primary/50",indigo:"cleen-bg-indigo/50",green:"cleen-bg-success/50",red:"cleen-bg-error/50",purple:"cleen-bg-purple/50",pink:"cleen-bg-pink/50",orange:"cleen-bg-warning/50",yellow:"cleen-bg-yellow/50",gray:"cleen-bg-neutral-300"},Mv={full:"cleen-rounded-full",rounded:"cleen-rounded-2xl",semiRounded:"cleen-rounded-lg",sleek:"cleen-rounded"};var ih=(e,t)=>!e&&!t?"primary":t?ch[t%ch.length]:e;import{jsx as dh,jsxs as R3}from"react/jsx-runtime";var Ee=({className:e,classNames:t,style:r,styles:n,label:l,color:a="primary",variant:c="rounded",showDot:s=!1,icon:u,removeable:p=!1,withBorder:i=!0,onRemoveClicked:g,onClick:h,colorByIndex:y,children:b,...f})=>{let{variantClass:v,dotVariantClass:C,dotVariantStyle:x,variantStyle:I}=B3(()=>{let P={};return a in sh?(P.variantClass=sh[ih(a,y)],P.dotVariantClass=Sv[ih(a,y)]):(P.variantStyle={borderColor:ph.trasparentize(a,.8),backgroundColor:ph.trasparentize(a,.95),color:a},P.dotVariantStyle={backgroundColor:ph.trasparentize(a,.5)}),P},[a,y]);return dh("div",{className:cc("cleen",e),style:r,children:R3("span",{className:cc("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1 cleen-text-xs cleen-font-medium cleen-py-0.5 cleen-px-2 cleen-w-fit cleen-min-w-max cleen-transition-all cleen-duration-200",v,Mv[c],{"cleen-border":i},{"hover:cleen-opacity-80 cleen-cursor-pointer":h||p},t?.container),style:{...I,...n?.container},onClick:h,...f,children:[s&&dh("span",{className:cc("cleen-size-2 cleen-rounded-[50%]",C,t?.dot),style:{...x,...n?.dot}}),u,l??b,p&&dh(Te,{className:cc("cleen-size-3 cleen-cursor-pointer cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-transition-transform cleen-duration-200 hover:cleen-scale-125",t?.removable),style:n?.removable,onClick:g})]})})};import{cn as D3}from"@cleen/ui-core";import{useContext as T3,useState as wv}from"react";import{jsx as dt,jsxs as N3}from"react/jsx-runtime";var kv=({filter:e,activeTabId:t})=>{let[r,n]=wv(!1),[l,a]=wv(!1),{labels:c,onFilterDelete:s,onFilterPin:u,onFilterSelect:p,onFilterUnpin:i,setIsFiltersDropdownOpen:g}=T3(Qe),h=async()=>{try{if(!s)return;n(!0),await s(e.filterID)}catch(b){console.error("Error while deleting filter:",b)}finally{n(!1)}},y=async()=>{try{a(!0),e?.isPinned?await i?.(e.filterID):await u?.(e.filterID)}catch(b){console.error("Error while pinning/unpinnning filter:",b)}finally{a(!1)}};return dt("div",{className:"cleen-group cleen-flex cleen-flex-col cleen-justify-around cleen-gap-2 hover:cleen-bg-primary/5 cleen-p-2 cleen-rounded-md cleen-min-h-10",children:N3("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-cursor-pointer",onClick:()=>{p?.(e),g(!1)},children:[dt("span",{className:"cleen-flex-1 cleen-text-neutral-600 cleen-text-sm cleen-text-left cleen-truncate",children:e.title}),l?dt(ne,{classNames:{loader:"cleen-size-5"}}):dt(Ee,{color:"gray",onClick:b=>{b.stopPropagation(),y()},icon:dt(Pr,{name:"pin",className:D3("cleen-size-3.5 group-hover:cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",e?.isPinned?"cleen-text-neutral-600":"cleen-text-neutral-300")}),classNames:{container:"cleen-font-bold"},label:e?.isPinned?c?.savedFilters?.filter?.unpin:c?.savedFilters?.filter?.pin}),t==="mine"&&dt(Bn,{items:[{id:"duplicate",type:"button",label:c?.savedFilters?.filter?.cancelDelete,icon:dt(Te,{className:"cleen-size-5"}),onClick:()=>{}},{id:"archive",type:"button",label:c?.savedFilters?.filter?.delete,icon:dt(Ke,{}),danger:!0,onClick:()=>h()}],keepOpenOnClick:!1,ignoreClickOutside:!0,onClick:b=>b.stopPropagation(),className:"cleen-flex",children:r?dt(ne,{size:"sm",color:"rgb(var(--cleen-error))"}):dt(Ke,{className:"cleen-text-foreground hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer",name:"delete"})})]})})};import{cn as no}from"@cleen/ui-core";import{forwardRef as F3,useMemo as Rv,useState as E3}from"react";import{cn as mh}from"@cleen/ui-core";var ca={horizontal:{list:"cleen-flex cleen-flex-wrap cleen-mb-4"},vertical:{container:"cleen-flex cleen-gap-4",list:"cleen-flex cleen-flex-col",content:"cleen-flex-1"}},Bv=e=>{let t=e==="vertical";return{underlined:{list:mh("cleen-gap-2 cleen-border-border",!t&&"cleen-border-b"),tab:mh("cleen-px-1 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",t?"cleen-border-l-2 cleen-pl-3 cleen-py-1.5":"cleen-border-b-2 cleen-pb-3"),tabActive:"cleen-border-primary cleen-text-primary",tabInactive:"cleen-border-transparent cleen-text-muted-foreground hover:cleen-text-neutral-700 hover:cleen-border-border",tabDisabled:"cleen-border-transparent cleen-text-neutral-300 cleen-cursor-not-allowed"},padded:{list:"cleen-gap-1",tab:"cleen-px-3 cleen-py-2.5 cleen-rounded-md cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-muted-foreground hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"},stretched:{list:"cleen-rounded-md cleen-overflow-hidden cleen-border cleen-border-border",tab:mh("cleen-flex-1 cleen-px-3 cleen-py-2 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200 cleen-border-border cleen-justify-center",t?"[&:not(:first-child)]:cleen-border-t":"[&:not(:first-child)]:cleen-border-l"),tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-neutral-600 hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"}}};import{jsx as sc,jsxs as Lv}from"react/jsx-runtime";var uh=F3(function({tabs:t,variant:r="underlined",direction:n="horizontal",currentTabIndex:l,onTabChange:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=E3(0),f=l!==void 0?l:h,v=Rv(()=>t?.[f],[t,f]),C=(I,P)=>{y(I),a?.(I,P)},x=Rv(()=>Bv(n),[n]);return sc("div",{className:no("cleen",c),style:u,ref:g,...i,children:Lv("div",{className:no(ca[n].container,s?.container),style:p?.container,children:[sc("nav",{className:no(x[r].list,ca[n].list,s?.list),"aria-label":"Tabs",style:p?.list,children:t?.map((I,P)=>{let M=f===P,B=I?.isDisabled;return Lv("span",{onClick:()=>!B&&C(P,I),className:no("cleen-flex cleen-items-center cleen-gap-2 cleen-whitespace-nowrap",!B&&"cleen-cursor-pointer",x[r].tab,ca[n].tab,s?.tab,B?no(x[r].tabDisabled,s?.tabDisabled):M?no(x[r].tabActive,s?.tabActive):no(x[r].tabInactive,s?.tabInactive)),style:{...p?.tab,...B?p?.tabDisabled:M?p?.tabActive:p?.tabInactive},"aria-current":M?"page":void 0,"aria-disabled":B,children:[I?.label,!!I?.badge?.label&&sc(Ee,{variant:"rounded",color:M?"blue":"gray",...s?.count,...p?.count,...I.badge})]},I?.id||P)})}),!!v?.content&&sc("div",{className:no("h-full",ca[n].content,s?.content),style:p?.content,children:v?.content})]})})});import{useContext as A3,useState as z3}from"react";import{jsx as zo,jsxs as _3}from"react/jsx-runtime";var O3=e=>{let t={isFeatured:null,isMine:null,isPinned:null,isShared:null};switch(e){case"featured":t.isFeatured=!0;break;case"mine":t.isMine=!0;break;case"pinned":t.isPinned=!0;break;case"shared":t.isShared=!0;break;case"all":default:break}return t},Dv=({selectedSavedFilter:e,filters:t,isFiltersFetching:r,onFilterCategoryChange:n})=>{let[l,a]=z3("all"),{labels:c,classNames:s,styles:u,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i}=A3(Qe);return zo(ea,{isOpen:p,onOpenChange:i,leftIcon:zo(pr,{className:"cleen-size-5"}),label:e?.title??c?.savedFilters?.label,fullWidthDropdown:!0,...s?.dropdown,...u?.dropdown,children:_3("div",{className:"flex flex-col gap-2 p-2.5 w-full",children:[zo(uh,{tabs:[{id:"all",label:c?.savedFilters?.tabs?.all},{id:"mine",label:c?.savedFilters?.tabs?.mine},{id:"shared",label:c?.savedFilters?.tabs?.shared},{id:"featured",label:c?.savedFilters?.tabs?.featured},{id:"pinned",label:c?.savedFilters?.tabs?.pinned}],variant:"padded",onTabChange:(g,h)=>{a(h?.id),n?.(O3(h?.id))},classNames:{list:"cleen-mb-2"}}),zo("div",{className:"flex flex-col",children:r?zo(ne,{classNames:{loader:"cleen-size-6"}}):(t?.length||0)>0?t?.map(g=>zo(kv,{filter:g,activeTabId:l},g.filterID)):zo("p",{className:"cleen-font-normal cleen-text-neutral-600 cleen-text-base cleen-text-center",children:c?.savedFilters?.noFilters})})]})})};import{cn as Tt}from"@cleen/ui-core";import{forwardRef as H3,useEffect as U3,useId as G3,useState as V3}from"react";import{jsx as Oo,jsxs as hh}from"react/jsx-runtime";var fh=H3(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,onChange:c,title:s,label:u,labelTooltip:p,sublabel:i,disabled:g,classNames:h,className:y,style:b,styles:f,infoLabels:v,...C},x){let I=typeof l=="boolean",[P,M]=V3(a);U3(()=>{I||M(a)},[a,I]);let B=I?l:P,k=G3(),w=s?`${k}-title`:void 0,R=u?`${k}-label`:void 0,E=[w,R].filter(Boolean).join(" ")||void 0,N=()=>{g||(I||M(!P),c?.(!B))};return Oo("div",{className:Tt("cleen",y),style:b,children:hh("div",{className:Tt("cleen-flex cleen-flex-col",h?.container),style:f?.container,children:[s&&Oo(te,{id:w,htmlFor:t||r,required:n,tooltip:p,className:Tt("cleen-mb-1.5",h?.title?.className),classNames:h?.title?.classNames,...f?.title,children:s}),hh("div",{className:Tt("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",h?.switchContainer),style:f?.switchContainer,children:[Oo("button",{id:t||r,type:"button",role:"switch","aria-checked":B,"aria-labelledby":E,disabled:g,onClick:N,className:Tt("cleen-inline-flex cleen-relative cleen-flex-shrink-0 cleen-my-auto cleen-mb-auto cleen-border-2 cleen-border-transparent cleen-rounded-full cleen-w-11 cleen-h-6 cleen-transition-colors cleen-duration-200 cleen-ease-in-out cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",B?"cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]":"cleen-bg-neutral-200 hover:cleen-bg-neutral-300",h?.switch),style:f?.switch,ref:x,...C,children:Oo("span",{"aria-hidden":"true",className:Tt("cleen-inline-block cleen-bg-primary-foreground cleen-shadow cleen-rounded-full cleen-ring-0 cleen-w-5 cleen-h-5 cleen-transition cleen-duration-200 cleen-ease-in-out cleen-pointer-events-none cleen-transform",B?"cleen-translate-x-5":"cleen-translate-x-0",h?.check),style:f?.check})}),(u||i)&&hh("div",{className:Tt("cleen-flex cleen-flex-col cleen-text-sm",h?.labelContainer),style:f?.labelContainer,children:[u&&Oo("span",{id:R,className:Tt("cleen-font-semibold cleen-text-foreground",h?.label),style:f?.label,children:u}),i&&Oo("span",{className:Tt("cleen-font-normal cleen-text-muted-foreground",h?.sublabel),style:f?.sublabel,children:i})]})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&Oo(j,{...v})]})})});import{useContext as W3}from"react";import{Fragment as $3,jsx as Tv,jsxs as q3}from"react/jsx-runtime";var Nv=()=>{let{classNames:e,styles:t,labels:r,saveStepValues:n,setSaveStepValues:l,errors:a,clearError:c}=W3(Qe);return q3($3,{children:[Tv(me,{value:n.filterName,onChange:s=>{l(u=>({...u,filterName:s.target.value})),a?.filterName&&c?.("filterName")},label:r?.saveStep?.filterNameInput?.label,placeholder:r?.saveStep?.filterNameInput?.placeholder,infoLabels:{errorMessage:a?.filterName},...e?.saveFilter?.filterName,...t?.saveFilter?.filterName}),Tv(fh,{checked:n.exposed,onChange:s=>l(u=>({...u,exposed:s})),title:r?.saveStep?.exposureSwitch?.title,label:r?.saveStep?.exposureSwitch?.label,sublabel:r?.saveStep?.exposureSwitch?.sublabel,...e?.saveFilter?.exposure,...t?.saveFilter?.exposure})]})};var Fv={title:"Filters",subtitle:"Apply filters to table data.",apply:"Apply",cancel:"Cancel",clear:"Clear",save:"Save filters",saveStep:{back:"Back",save:"Save",title:"Save Filter",subtitle:"Filters are reusable and shareable.",filterNameInput:{label:"Filter name",placeholder:"Type a name for this filter"},exposureSwitch:{title:"Exposure",label:"Share this filter",sublabel:"Allows others to see and use this filter"},validation:{tooShort:"You must provide a valid filter title, above 3 characters long.",tooLong:"You must provide a valid filter title, below 50 characters long."}},savedFilters:{label:"Select saved filter",noFilters:"No saved filters",filter:{delete:"Delete",cancelDelete:"Cancel",pin:"Pin",unpin:"Unpin"},tabs:{all:"All",featured:"Featured",mine:"Mine",pinned:"Pinned",shared:"Shared"}}};import{useValidation as X3}from"@cleen/ui-core";import{useState as gh}from"react";import{jsx as K3}from"react/jsx-runtime";var Ev=({children:e,value:t})=>{let[r,n]=gh(!1),[l,a]=gh(rc),{errors:c,setError:s,clearError:u}=X3({}),[p,i]=gh(!1),g=()=>{n(!1),t?.onClose?.()};return K3(Qe.Provider,{value:{isSaveFiltersStep:r,setIsSaveFiltersStep:n,saveStepValues:l,setSaveStepValues:a,handleCloseSaveFilter:g,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i,errors:c,setError:s,clearError:u,...t},children:e})};import{applyDefaults as Z3,cn as Av}from"@cleen/ui-core";import{forwardRef as zv,useContext as Q3}from"react";import{Fragment as j3,jsx as ro,jsxs as eM}from"react/jsx-runtime";var Y3=zv(function({selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,children:l,classNames:a,styles:c,labels:s,withSavedFilters:u=!0,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I,...P},M){return ro(Ev,{value:{selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,classNames:a,styles:c,labels:Z3(Fv,s),withSavedFilters:u,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I},children:ro(J3,{...P,ref:M,children:l})})}),J3=zv(function({children:t,...r},n){let{handleCloseSaveFilter:l,isSaveFiltersStep:a,selectedSavedFilter:c,savedFilters:s,isFiltersFetching:u,classNames:p,styles:i,labels:g,withSavedFilters:h=!0,onClear:y,onFilterCategoryChange:b,onFilterSelect:f}=Q3(Qe);return ro(V1,{footer:ro(fv,{}),headerCloseBtn:ro(re,{onClick:()=>{y?.(),f?.(void 0)},leftIcon:ro(Ke,{}),variant:"secondary",...p?.clearBtn,...i?.clearBtn,children:g?.clear}),classNames:{...p,content:Av("cleen-space-y-4",p?.content),footer:Av("cleen-justify-between",p?.footer)},onClose:l,ref:n,...r,title:a?g?.saveStep?.title:r.title,subtitle:a?g?.saveStep?.subtitle:r.subtitle,children:a?ro(Nv,{}):eM(j3,{children:[h&&ro(Dv,{filters:s,selectedSavedFilter:c,onFilterCategoryChange:b,isFiltersFetching:u}),t]})})});import{cn as Rn}from"@cleen/ui-core";import{forwardRef as tM}from"react";import{jsx as ic,jsxs as Ov}from"react/jsx-runtime";var _v=tM(({title:e,titleTooltip:t,subtitle:r,required:n,labelProps:l,children:a,className:c,classNames:s,style:u,styles:p,...i},g)=>ic("div",{ref:g,className:Rn("cleen",c),style:{...u,width:"100%"},...i,children:Ov("div",{className:Rn("cleen-flex cleen-w-full cleen-items-start cleen-justify-start cleen-gap-8",s?.container),style:p?.container,children:[Ov("div",{className:Rn("cleen-flex cleen-flex-col cleen-w-1/3",s?.titleColumn),style:p?.titleColumn,children:[ic(te,{...l,required:n,tooltip:t,className:s?.title?.className,classNames:{...s?.title?.classNames,label:Rn("cleen-truncate",s?.title?.classNames?.label)},...p?.title,children:e}),r&&ic("div",{className:Rn("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-w-full cleen-font-normal cleen-text-neutral-600 cleen-text-sm",s?.subtitle),style:p?.subtitle,children:r})]}),ic("div",{className:Rn("cleen-form-group--controls-row cleen-flex cleen-flex-1 cleen-flex-wrap cleen-gap-8",s?.controlsRow),style:p?.controlsRow,children:a})]})}));_v.displayName="FormGroup";import{cn as Ce,useDebounce as oM,useOutsideClick as nM,usePositionClose as rM,ZIndex as aM}from"@cleen/ui-core";import{useEffect as pc,useMemo as vh,useRef as Ih,useState as lt}from"react";import{createPortal as lM}from"react-dom";import{Fragment as iM,jsx as K,jsxs as Ae}from"react/jsx-runtime";function cM(e){return e!==null&&typeof e=="object"}function De(e,t){if(cM(e)&&t in e)return e[t]}function Hv(e,t){let r=De(e,t);return Array.isArray(r)?r:[]}function Uv(e,t){let r=e?.[t];if(typeof r=="string"||typeof r=="number")return r;let n=e?.data?.[t];return typeof n=="string"||typeof n=="number"?n:null}var sM=({position:e="bottom-right",labels:t,groups:r=[],selectedItemID:n=null,groupThreeDotMenuOptions:l=[],itemThreeDotMenuOptions:a=[],refetchData:c,onGroupSave:s,onItemSave:u,onGroupThreeDotMenuClick:p,onItemThreeDotMenuClick:i,onSearchChange:g,onItemSelect:h,groupIDKey:y,groupTitleKey:b,itemsKey:f,itemIDKey:v,itemGroupIDKey:C,itemTitleKey:x,itemSubtitleKey:I,newValueMinLength:P=2,isLoading:M=!1,isGroupSaving:B=!1,isItemSaving:k=!1,selectedColor:w="rgb(var(--cleen-primary-100))",hasFiltering:R=!0,zIndex:E=aM.POPOVER,className:N,classNames:L,style:F,styles:D})=>{let[S,_]=lt(!1),[T,A]=lt(!1),[z,H]=lt(!1),[G,$]=lt(!1),[W,U]=lt(null),[V,Q]=lt(null),[O,Z]=lt(""),[ce,ge]=lt(""),[ye,It]=lt(null),Ge=Ih(void 0),[J,se]=lt(""),[he]=oM(J,500),[et,Ko]=lt(""),Ve=Ih(null),We=Ih(null),{positionStyles:X,isMounted:Be}=rM({triggerRef:Ve,targetRef:We,position:e,isOpen:S,offset:10});nM({refs:[We],handler:()=>_(!1),enabled:S});let Pe=vh(()=>r??[],[r]),pe=vh(()=>{let q=new Map;for(let oe of Pe){let de=De(oe,y);de!=null&&q.set(de,Hv(oe,f))}return q},[Pe,y,f]),mo=vh(()=>{let q=[];return W==null?q=Array.from(pe?.values()).flat():q=pe?.get(W)??[],R&&et.trim()!==""&&(q=q.filter(oe=>{let de=String(De(oe,x)??""),tt=I?String(De(oe,I)??""):"";return de.toLowerCase().includes(et?.toLowerCase()??"")||tt.toLowerCase().includes(et?.toLowerCase()??"")})),q},[W,pe,et,x,I,R]);pc(()=>{let q=Ge.current!==n;if(Ge.current=n,n==null){q&&(Q(null),U(null));return}let de=Array.from(pe?.values())?.flat()?.find(tt=>De(tt,v)===n);if(de){let tt=De(de,C)??null;Q(de),U(tt)}else q&&Q(null)},[n,pe,v,C]),pc(()=>{if(ye==null)return;let oe=Array.from(pe?.values())?.flat()?.find(tt=>De(tt,v)===ye);if(!oe)return;let de=De(oe,C);U(typeof de=="string"||typeof de=="number"?de:null),Q(oe),It(null),h?.(oe)},[ye,pe,v,C,h]),pc(()=>{g&&g(he??"")},[he,g]),pc(()=>{S||(A(!1),H(!1),Z(""),ge(""))},[S]);let Sa=q=>{q===W?(U(null),Q(null),h?.(null)):(Q(null),U(q),h?.(null))},ee=q=>{let oe=De(q,C);U(typeof oe=="string"||typeof oe=="number"?oe:null),Q(q),h?.(q),_(!1)};async function Re(){if(!s)return;let q={[b]:O};try{let oe=await s(q);if(oe?.success){A(!1),Z(""),c&&await c();let de=Uv(oe,y);de!=null&&(U(de),Q(null),h?.(null))}}catch{}}async function Se(){if(!u)return;let q={[x]:ce,...W!=null?{[C]:W}:{}};try{let oe=await u(q);oe?.success&&(H(!1),ge(""),It(Uv(oe,v)),c&&await c())}catch{}}return K("div",{className:Ce("cleen",N),style:F,children:Ae("div",{ref:Ve,className:Ce("cleen-relative cleen-w-full cleen-cursor-pointer",L?.container),style:D?.container,onClick:q=>{q.stopPropagation(),_(!0)},children:[K(me,{placeholder:t?.inputPlaceholder,rightIcon:K(St,{className:Ce("cleen-w-5 cleen-h-5 cleen-text-neutral-300 cleen-transition-transform",{"cleen-rotate-180":!S})}),value:J,onChange:q=>{U(null),Q(null),se(q.target.value)},classNames:{input:S?"":"cleen-cursor-pointer"},className:L?.input,style:D?.input}),S&&lM(K("div",{className:"cleen",children:Ae("div",{ref:We,className:Ce("cleen-overflow-hidden cleen-flex cleen-items-start cleen-justify-start cleen-w-[500px] cleen-h-[344px] cleen-bg-surface cleen-border cleen-border-border cleen-rounded-lg cleen-shadow-xl cleen-cursor-default","cleen-absolute",{"cleen-opacity-0":!Be},L?.columnsContainer),style:{zIndex:E,top:`${X.top}px`,left:`${X.left}px`,...D?.columnsContainer},children:[Ae("div",{className:"cleen-w-1/2 cleen-h-full",children:[K("div",{className:Ce("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.leftColumn),style:D?.leftColumn,children:M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):r?.map((q,oe)=>{let de=De(q,y),tt=de===W,Fc=String(De(q,b)??""),Ec=Hv(q,f)?.length??0;return Ae("div",{className:Ce("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.groupItem),style:{...D?.groupItem||{},...tt?{backgroundColor:w}:{}},onClick:ve=>{ve.stopPropagation(),ve.preventDefault(),Sa(de??null)},children:[Ae("div",{className:Ce("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2",l?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:Ce("cleen-truncate cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.groupItemTitle),style:D?.groupItemTitle,children:Fc}),K(Ee,{color:"lighter-blue",label:Ec})]}),l?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:ve=>{ve.stopPropagation(),p?.(q)},children:K(Bn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:l?.map(ve=>{let _n=ve?.disabledOptionCallback?.(q);return{...ve,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:ve?.label}),onClick:()=>{_n||ve?.onClick(q)},disabled:_n}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(on,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`group-${oe}-${String(de??oe)}`)})}),K(rt,{isHorizontal:!0}),T?Ae("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(me,{leftIcon:K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newGroupPlaceholder,value:O,onChange:q=>Z(q.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:s?B?K(ne,{}):O?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Re()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ae("div",{className:Ce("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.newGroupButton),style:D?.newGroupButton,onClick:()=>A(!0),children:[K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newGroupPlaceholder})]})]}),K(rt,{className:"cleen-absolute cleen-top-0 cleen-left-1/2 cleen-min-w-[1px] cleen-h-full cleen-bg-border cleen-z-[1]"}),Ae("div",{className:"cleen-w-1/2 cleen-h-full",children:[Ae("div",{className:Ce("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.rightColumn),style:D?.rightColumn,children:[R&&Ae(iM,{children:[K(me,{leftIcon:K(kt,{className:"cleen-size-5"}),className:Ce("cleen-w-full cleen-transition-transform",{"-cleen-translate-y-11":!G}),classNames:{inputContainer:"cleen-border-0 cleen-shadow-none"},onChange:q=>Ko(q.target.value),placeholder:t?.filterPlaceholder}),K("button",{type:"button",className:Ce("cleen-w-full cleen-py-0.5 cleen-transition-all cleen-bg-neutral-50 hover:cleen-bg-muted cleen-border-t cleen-border-border",{"-cleen-mt-10 cleen-border-transparent":!G}),onClick:()=>$(q=>!q),children:K(Yn,{className:Ce("cleen-mx-auto cleen-size-4 cleen-text-muted-foreground cleen-transition-transform",G?"-cleen-rotate-90":"cleen-rotate-90")})})]}),M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):mo?.map((q,oe)=>{let de=De(q,v),tt=V&&De(V,v)===de,Fc=String(De(q,x)??""),Ec=I?String(De(q,I)??""):"";return Ae("div",{className:Ce("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-[60px] cleen-cursor-pointer hover:cleen-bg-neutral-50 cleen-transition-colors",L?.item),style:{...D?.item||{},...tt?{backgroundColor:w}:{}},onClick:ve=>{ve.stopPropagation(),ve.preventDefault(),ee(q)},children:[Ae("div",{className:Ce("cleen-flex cleen-flex-col cleen-items-start cleen-justify-center",a?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:Ce("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.itemTitle),style:D?.itemTitle,children:Fc}),K("span",{className:Ce("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[12px] cleen-text-neutral-600",L?.itemSubtitle),style:D?.itemSubtitle,children:Ec})]}),a?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:ve=>{ve.stopPropagation(),i?.(q)},children:K(Bn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:a?.map(ve=>{let _n=ve?.disabledOptionCallback?.(q);return{...ve,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:ve?.label}),onClick:()=>{_n||ve?.onClick(q)},disabled:_n}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(on,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`item-${oe}-${String(de??oe)}`)})]}),K(rt,{isHorizontal:!0}),z?Ae("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(me,{leftIcon:K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newItemPlaceholder,value:ce,onChange:q=>ge(q.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:u?k?K(ne,{}):ce?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Se()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ae("div",{className:Ce("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer hover:cleen-bg-primary/10",L?.newItemButton),style:D?.newItemButton,onClick:()=>H(!0),children:[K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newItemPlaceholder})]})]})]})}),document.body),!S&&V&&K("div",{className:"cleen-absolute cleen-top-1.5 cleen-left-1 cleen-flex cleen-items-center cleen-justify-start cleen-pl-2.5 cleen-w-[calc(100%-40px)] cleen-h-8 cleen-bg-surface",onClick:()=>_(!0),children:K("span",{className:"cleen-truncate cleen-font-semibold cleen-text-sm cleen-text-foreground",children:String(De(V,x)??"")})})]})})};import{cn as ke,useDebounce as pM,useOutsideClick as dM,usePositionClose as mM,ZIndex as uM}from"@cleen/ui-core";import{forwardRef as hM,useEffect as Wv,useId as fM,useMemo as $v,useRef as bh,useState as dc}from"react";import{createPortal as gM}from"react-dom";import{cn as _o}from"@cleen/ui-core";import{jsx as ao,jsxs as Gv}from"react/jsx-runtime";var Vv=({options:e,selection:t,classNames:r,styles:n,onChoose:l,displaySubtextInline:a=!0,activeIndex:c=-1,getOptionId:s,onActiveIndexChange:u,...p})=>ao("div",{...p,children:ao("div",{className:_o("cleen-flex cleen-flex-col cleen-pt-1 cleen-pb-1.5 cleen-max-h-64 cleen-overflow-y-auto",r?.container),style:n?.container,children:e?.map((i,g)=>{let h=t?.some(b=>b?.value===i?.value),y=g===c;return Gv("li",{id:s?.(g),role:"option","aria-selected":h,className:_o("cleen-flex cleen-justify-between cleen-items-center hover:cleen-bg-muted cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-cursor-pointer cleen-select-none",{"cleen-bg-muted hover:cleen-bg-neutral-200":h,"cleen-bg-muted":y},r?.item),style:n?.item,onMouseEnter:()=>u?.(g),onClick:()=>l?.(i,h),children:[Gv("div",{className:_o("cleen-flex cleen-justify-start cleen-items-center cleen-gap-2",r?.labels,!a&&"cleen-truncate cleen-flex-col cleen-items-start cleen-gap-0"),style:n?.labels,children:[i?.leadingBadgeValue&&ao(Ee,{color:"gray",label:i?.leadingBadgeValue}),i?.icon,i?.label&&ao("span",{className:_o("cleen-font-medium cleen-text-foreground cleen-text-base",!a&&"cleen-w-full cleen-truncate"),children:i?.label}),i?.preSublabel&&ao("span",{className:_o("cleen-font-medium cleen-text-neutral-400 cleen-text-xs",!a&&"cleen-w-full cleen-truncate"),children:i?.preSublabel}),i?.sublabel&&ao("span",{className:_o("cleen-font-medium cleen-text-neutral-600 cleen-text-sm",!a&&"cleen-w-full cleen-truncate"),children:i?.sublabel})]}),h&&ao("div",{className:r?.checkContainer,style:n?.checkContainer,children:ao(xt,{className:_o("cleen-text-primary",r?.check),style:n?.check})})]},i.value)})})});import{Fragment as IM,jsx as be,jsxs as mc}from"react/jsx-runtime";var vM=hM(function({id:t,name:r,label:n,labelTooltip:l,labels:a,options:c,value:s,displaySelected:u="under",isLoading:p=!1,required:i,internalFiltering:g=!1,closeOnReachingLimit:h=!0,limit:y,getCustomBadgeLabel:b,displaySubtextInline:f=!0,selectedBadgeColor:v="blue",debounceDelay:C=0,characterThreshold:x=2,disabled:I=!1,isNoDataVisibleOnCreateNew:P=!0,zIndex:M=uM.DROPDOWN,className:B,classNames:k,style:w,styles:R,infoLabels:E,menuDetachedFromPortal:N,onInputChange:L,onChange:F,onCreateNewOption:D,createNewOptionLabelString:S,onLookupBlur:_,triggerBlurOnlyWhenOpen:T=!0,menuRef:A,...z},H){let[G,$]=dc(!1),W=bh(null),U=bh(null),V=A??W,{positionStyles:Q,isMounted:O}=mM({triggerRef:U,targetRef:V,position:"bottom-left",isOpen:G,offset:4});dM({refs:[V,U],handler:()=>{$(!1),_?.()},enabled:T?G:!0});let[Z,ce]=dc(""),ge=pM(Z,C),ye=C?ge:Z,It=bh(ye),Ge=Array.isArray(s),[J,se]=dc([]),he=Ge?s:J,et=["inside","inside-badge"].includes(u),Ko=(ee,Re=!1)=>{if(Re){let q=he.filter(oe=>oe.value!==ee.value);Ge||se(q),F?.(q);return}let Se;if(y===1)Se=[ee];else{if(y&&he.length>=y)return;Se=[...he,ee]}Ge||se(Se),F?.(Se),h&&y&&Se.length>=y&&(ce(""),$(!1))},Ve=$v(()=>g?c?.filter(ee=>ee?.label?.match(new RegExp(ye,"i"))):c,[c,ye,g]),We=$v(()=>S&&D&&!p&&Z?.length>0&&!Ve?.some(ee=>ee?.label===Z)?typeof S=="function"?S(Z):S:null,[S,D,p,Z,Ve]);Wv(()=>{It.current!==ye&&(It.current=ye,ye.length<x?$(!1):(L?.(ye),$(!0)))},[ye,L,x]);let X=fM(),Be=ee=>`${X}-option-${ee}`,[Pe,pe]=dc(-1);Wv(()=>{pe(-1)},[ye,G]);let mo=ee=>{let Re=Ve?.length??0;switch(ee.key){case"ArrowDown":if(!Re)return;if(ee.preventDefault(),!G){$(!0),pe(0);return}pe(Se=>(Se+1)%Re);break;case"ArrowUp":if(!Re)return;if(ee.preventDefault(),!G){$(!0),pe(Re-1);return}pe(Se=>(Se-1+Re)%Re);break;case"Home":if(!G||!Re)return;ee.preventDefault(),pe(0);break;case"End":if(!G||!Re)return;ee.preventDefault(),pe(Re-1);break;case"Enter":{if(!G||Pe<0)return;let Se=Ve?.[Pe];if(!Se)return;ee.preventDefault();let q=he?.some(oe=>oe.value===Se.value);Ko(Se,q);break}case"Escape":G&&(ee.preventDefault(),$(!1));break;default:break}},Sa=mc("ul",{id:X,role:"listbox",className:ke("cleen-flex cleen-flex-col cleen-gap-0.5 cleen-bg-background cleen-shadow-[0px_12px_16px_-4px_rgba(var(--cleen-neutral-100))] cleen-px-1.5 cleen-pt-1 cleen-pb-0.5 cleen-border cleen-border-border cleen-rounded-lg",k?.menu?.container),style:R?.menu?.container,children:[p?be(ne,{className:ke("cleen-py-3",k?.menu?.loader),style:R?.menu?.loader}):!Ve||Ve?.length===0?!!a?.noDataFound&&(P||!We)&&be("div",{className:ke("cleen-flex cleen-justify-center cleen-items-center cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-text-center cleen-pointer-events-none cleen-select-none",k?.menu?.noDataFound),style:R?.menu?.noDataFound,children:a?.noDataFound}):be(Vv,{options:Ve,selection:he,onChoose:Ko,displaySubtextInline:f,activeIndex:Pe,getOptionId:Be,onActiveIndexChange:pe,...k?.menu?.list,...R?.menu?.list}),We&&mc("div",{className:ke("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center",k?.createNewOption?.container),style:R?.createNewOption?.container,children:[be(rt,{...k?.createNewOption?.divider,...R?.createNewOption?.divider}),be("span",{className:ke("cleen-py-3 cleen-font-semibold cleen-text-primary/70 cleen-text-sm cleen-cursor-pointer",k?.createNewOption?.value),style:R?.createNewOption?.value,onClick:()=>{let ee=D?.(Z);typeof ee=="boolean"&&!ee||ce("")},children:We})]})]});return be("div",{className:ke("cleen",B),style:w,children:mc("div",{className:ke("cleen-flex cleen-flex-col cleen-w-full",k?.container),style:R?.container,children:[n&&be(te,{htmlFor:t||r,required:i,tooltip:l,className:ke("cleen-mb-1.5",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:n}),be("div",{ref:U,className:ke("cleen-relative cleen-flex cleen-items-center",k?.input?.container),style:R?.input?.container,children:be(me,{id:t||r,type:"search",autoFocus:!1,autoComplete:"off",className:ke("cleen-w-full",k?.input?.component?.className),classNames:{...k?.input?.component?.classNames,inputContainer:ke({"cleen-flex-wrap":et},k?.input?.component?.classNames?.inputContainer),input:ke({"cleen-pl-2":et},k?.input?.component?.classNames?.input),leftIconContainer:ke({"cleen-pr-0":et},k?.input?.component?.classNames?.leftIconContainer)},...R?.input?.component,leftIcon:mc(IM,{children:[be(kt,{}),et&&(he||[])?.length>0&&be("div",{className:ke("cleen-flex cleen-gap-1 cleen-overflow-hidden cleen-text-ellipsis cleen-whitespace-nowrap"),onClick:()=>{$(!G)},children:u==="inside-badge"?he?.map(ee=>be(Ee,{label:ee?.label,color:"blue",variant:"semiRounded"},ee.value)):be("span",{className:ke("cleen-font-medium cleen-text-foreground cleen-text-sm"),children:he?.map(ee=>ee?.label).join(", ")})})," "]}),onFocus:()=>{ye.length>=x&&Z.length>=x&&$(!0)},value:Z,onChange:ee=>{ce(ee.target.value)},role:"combobox","aria-autocomplete":"list","aria-expanded":G,"aria-controls":G?X:void 0,"aria-activedescendant":G&&Pe>=0?Be(Pe):void 0,onKeyDown:mo,ref:H,required:i,disabled:I,...z})}),G&&(N?be("div",{ref:V,children:Sa}):gM(be("div",{className:"cleen",children:be("div",{ref:V,className:ke("cleen-absolute",{"cleen-opacity-0":!O}),style:{zIndex:M,top:`${Q.top}px`,left:`${Q.left}px`,minWidth:U.current?.offsetWidth?`${U.current.offsetWidth}px`:void 0},children:Sa})}),document.body)),u==="under"&&he?.length>0&&be("span",{className:ke("cleen-flex cleen-flex-wrap cleen-gap-1.5 cleen-mt-1.5",k?.pillbadge?.container),style:R?.pillbadge?.container,children:he?.map(ee=>be(Ee,{label:b?b(ee):ee?.label,color:v,removeable:!I,onRemoveClicked:()=>{if(I)return;let Re=he?.filter(Se=>Se?.value!==ee?.value);Ge||se(Re),F?.(Re)},...k?.pillbadge?.component,...R?.pillbadge?.component},ee.value))}),(E?.errorMessage||E?.infoMessage||E?.subtitle)&&be(j,{...E})]})})});import{cn as le}from"@cleen/ui-core";import{forwardRef as bM}from"react";import yM from"react-markdown";import CM from"remark-gfm";import{jsx as ae}from"react/jsx-runtime";var xM=bM(function({components:t,children:r,className:n,classNames:l,style:a,styles:c,...s},u){let p={h1:({children:i})=>ae("h1",{className:le("cleen-text-3xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-4 cleen-mt-6"),children:i}),h2:({children:i})=>ae("h2",{className:le("cleen-text-2xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-3 cleen-mt-5"),children:i}),h3:({children:i})=>ae("h3",{className:le("cleen-text-xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-4"),children:i}),h4:({children:i})=>ae("h4",{className:le("cleen-text-lg cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-3"),children:i}),h5:({children:i})=>ae("h5",{className:le("cleen-text-base cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),h6:({children:i})=>ae("h6",{className:le("cleen-text-sm cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),p:({children:i})=>ae("p",{className:le("cleen-text-base cleen-text-foreground cleen-mb-4 cleen-leading-relaxed"),children:i}),a:({href:i,children:g})=>ae("a",{href:i,className:le("cleen-text-primary cleen-underline"),target:"_blank",rel:"noopener noreferrer",children:g}),ul:({children:i})=>ae("ul",{className:le("cleen-list-disc cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),ol:({children:i})=>ae("ol",{className:le("cleen-list-decimal cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),li:({children:i})=>ae("li",{className:le("cleen-mb-1"),children:i}),blockquote:({children:i})=>ae("blockquote",{className:le("cleen-border-l-4 cleen-border-primary/30 cleen-pl-4 cleen-italic cleen-text-neutral-700 cleen-mb-4"),children:i}),code:({className:i,children:g,...h})=>i?ae("code",{className:le("cleen-font-mono cleen-text-sm"),...h,children:g}):ae("code",{className:le("cleen-font-mono cleen-bg-muted cleen-rounded cleen-px-1 cleen-text-sm"),...h,children:g}),pre:({children:i})=>ae("pre",{className:le("cleen-bg-muted dark:cleen-bg-neutral-200 cleen-rounded cleen-p-4 cleen-overflow-x-auto cleen-mb-4 cleen-text-sm"),children:i}),hr:()=>ae("hr",{className:le("cleen-border-t cleen-border-border cleen-my-4")}),img:({src:i,alt:g})=>ae("img",{src:i,alt:g,className:le("cleen-max-w-full cleen-rounded")}),strong:({children:i})=>ae("strong",{className:le("cleen-font-semibold"),children:i}),em:({children:i})=>ae("em",{className:le("cleen-italic"),children:i}),table:({children:i})=>ae("div",{className:le("cleen-overflow-x-auto cleen-mb-4"),children:ae("table",{className:le("cleen-w-full cleen-border-collapse cleen-text-sm cleen-text-900"),children:i})}),thead:({children:i})=>ae("thead",{className:le("cleen-border-b cleen-border-border"),children:i}),th:({children:i})=>ae("th",{className:le("cleen-text-left cleen-font-semibold cleen-p-2 cleen-border-b cleen-border-border"),children:i}),td:({children:i})=>ae("td",{className:le("cleen-p-2 cleen-border-b cleen-border-border"),children:i}),input:({type:i,checked:g,disabled:h})=>i==="checkbox"?ae("input",{type:"checkbox",checked:g,disabled:h,readOnly:!0,className:le("cleen-mr-2 cleen-align-middle")}):ae("input",{type:i})};return ae("div",{ref:u,className:le("cleen",n,l?.container),style:{...a,...c?.container},...s,children:ae(yM,{...s,remarkPlugins:[CM],components:{...p,...t},children:r})})});import{cn as Ho,useBodyScrollLock as PM,useCleenOverlays as qv,ZIndex as SM}from"@cleen/ui-core";import{forwardRef as MM,useCallback as wM,useEffect as yh,useId as kM,useRef as BM,useState as Xv}from"react";import{createPortal as RM}from"react-dom";import{jsx as sa,jsxs as Zv}from"react/jsx-runtime";var LM={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":728,"3xl":896,"4xl":1152},Kv=300,DM=MM(function({isOpen:t=!1,onClose:r,closeOnOverlayClick:n=!0,closeButtonIcon:l=sa(Te,{className:"cleen-size-5"}),header:a,footer:c,zIndex:s=SM.MODAL,size:u="md",color:p,p:i,gap:g,radius:h=16,className:y,classNames:b,style:f,styles:v,children:C,...x},I){let[P,M]=Xv(t),[B,k]=Xv(t),w=BM(null),R=kM(),{addOverlay:E,removeOverlay:N}=qv(),L=wM(()=>{M(!1),setTimeout(()=>r?.(),Kv)},[r]);return yh(()=>{if(t){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Kv);return()=>clearTimeout(F)}},[t]),yh(()=>{if(t)return E(R),()=>N(R)},[E,N,t,R]),yh(()=>{let F=D=>{let{overlays:S}=qv.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),PM(B),B?RM(Zv("div",{className:Ho("cleen",y),style:f,ref:I,...x,children:[sa("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",b?.overlay),style:{zIndex:s,...v?.overlay},onClick:()=>{n&&L()},"aria-hidden":"true"}),sa("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-flex cleen-justify-center cleen-items-center cleen-p-4 cleen-overflow-auto","cleen-transition-all cleen-duration-300 cleen-ease-in-out","cleen-pointer-events-none",P?"cleen-opacity-100 cleen-scale-100":"cleen-opacity-0 cleen-scale-95",b?.container),style:{zIndex:s,...v?.container},"aria-modal":"true",role:"dialog",children:Zv(ie,{header:a,footer:c,color:p,p:i,gap:g,radius:h,className:Ho("cleen-relative cleen-shadow-xl cleen-w-full cleen-max-w-lg cleen-rounded-lg cleen-pointer-events-auto",b?.modal?.className),style:{maxWidth:typeof u=="number"?u:LM[u],...v?.modal?.style},classNames:{...b?.modal?.classNames,container:Ho("cleen-min-h-48 cleen-max-h-[90vh] cleen-overflow-y-auto",b?.modal?.classNames?.container),childrenContainer:Ho("cleen-min-h-24 cleen-max-h-[80vh] cleen-overflow-y-auto",b?.modal?.classNames?.childrenContainer)},styles:v?.modal?.styles,ref:w,children:[C,l&&sa("div",{className:Ho("cleen-top-3 cleen-right-3 cleen-absolute"),children:sa(re,{variant:"borderless",onClick:L,"aria-label":"Close modal",classNames:{container:"cleen-p-1.5 cleen-rounded-full"},children:l})})]})})]}),document.body):null});import{useEffect as Qv,useRef as TM}from"react";import{Fragment as NM,jsx as FM}from"react/jsx-runtime";var Yv=({children:e,isIn:t,done:r,playToast:n})=>{let l=TM(!1);return Qv(()=>{l.current||(l.current=!0,n())},[n]),Qv(()=>{t||r()},[t,r]),FM(NM,{children:e})};import"react-toastify";var Ch={success:{},error:{autoClose:2e4,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0},info:{},warning:{autoClose:4e3},default:{autoClose:3e3,position:"top-right",hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0}},Jv={success:{name:"CheckCircle",className:"cleen-text-success"},error:{name:"XCircle",className:"cleen-text-error"},info:{name:"InfoCircle",className:"cleen-text-primary"},warning:{name:"AlertTriangle",className:"cleen-text-warning"},default:null};import{cn as ia}from"@cleen/ui-core";import{jsx as uc,jsxs as jv}from"react/jsx-runtime";var eI=({message:e,title:t,icon:r,variant:n="default",classNames:l})=>{let a=Jv[n],c=r??(a?uc(_e,{name:a.name,width:18,height:18,className:a.className}):null);return jv("div",{className:ia("cleen-flex cleen-items-start cleen-gap-3",l?.container),children:[c&&uc("span",{className:ia("cleen-flex cleen-shrink-0 cleen-items-center cleen-pt-0.5",l?.icon),children:c}),jv("div",{className:ia("cleen-flex cleen-flex-col cleen-gap-0.5",l?.body),children:[t&&uc("span",{className:ia("cleen-text-sm cleen-font-semibold cleen-text-foreground",l?.title),children:t}),uc("span",{className:ia("cleen-text-sm cleen-text-muted-foreground",l?.message),children:e})]})]})};import{cn as EM}from"@cleen/ui-core";import{Bounce as AM,Flip as zM,toast as pa,Slide as OM,Zoom as _M}from"react-toastify";import{jsx as UM}from"react/jsx-runtime";var HM=({message:e,title:t,icon:r,variant:n="default",animationType:l="slide",className:a,classNames:c,...s})=>{let u=()=>{switch(l){case"bounce":return AM;case"flip":return zM;case"zoom":return _M;case"none":return Yv;default:return OM}},p=t!==void 0||r!==void 0,i=p?UM(eI,{message:e,title:t,icon:r,variant:n,classNames:c}):e,g={...Ch.default,...n!=="default"&&Ch[n],transition:u(),className:EM("cleen-text-sm",a),...s,...p&&{icon:!1}};switch(n){case"success":return pa.success(i,g);case"error":return pa.error(i,g);case"info":return pa.info(i,g);case"warning":return pa.warning(i,g);default:return pa(i,g)}};import{ToastContainer as GM}from"react-toastify";import{jsx as tI}from"react/jsx-runtime";var VM=e=>tI("div",{className:"cleen",children:tI(GM,{...e})});import{cn as oI}from"@cleen/ui-core";import{forwardRef as WM,useState as $M}from"react";import{jsx as xh,jsxs as qM}from"react/jsx-runtime";var Ph=WM(({totalPages:e,labels:t,onGoToPage:r,classNames:n,styles:l,...a},c)=>{let[s,u]=$M(""),p=()=>{let g=parseInt(s,10);isNaN(g)||(r?.(Math.min(Math.max(g,1),e)),u(""))},i=g=>{g.key==="Enter"?p():g.key==="Escape"&&u("")};return xh("div",{className:"cleen",...a,children:qM("div",{className:oI("cleen-flex cleen-items-center cleen-gap-2",n?.container),style:l?.container,children:[xh("span",{className:oI("cleen-text-sm cleen-text-neutral-700 cleen-whitespace-nowrap",n?.label),style:l?.label,children:t?.goToPage}),xh(me,{ref:c,type:"number",min:1,max:e,value:s,onChange:g=>u(g.target.value),onKeyDown:i,...n?.input,...l?.input})]})})});import{cn as hc,useOutsideClick as XM,usePositionClose as KM}from"@cleen/ui-core";import{forwardRef as ZM,useRef as nI,useState as rI}from"react";import{createPortal as QM}from"react-dom";import{jsx as Ln,jsxs as JM}from"react/jsx-runtime";var YM=[10,20,50,100],Sh=ZM(({pageSize:e,pageSizes:t=YM,labels:r,onPageSizeChange:n,classNames:l,styles:a,...c},s)=>{let[u,p]=rI(e??t?.[0]??void 0),[i,g]=rI(!1),h=nI(null),y=nI(null),{positionStyles:b,isMounted:f}=KM({triggerRef:h,targetRef:y,isOpen:i,position:"top-left"});return XM({refs:[h,y],handler:()=>g(!1),enabled:i}),Ln("div",{className:"cleen",ref:s,...c,children:JM("div",{className:hc("cleen-relative cleen-flex cleen-justify-start cleen-items-center cleen-w-10",l?.container),style:a?.container,children:[Ln(Ie,{label:r?.itemsPerPage?.(u),classNames:{labelContainer:"cleen-min-w-max"},children:Ln("div",{className:hc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted hover:cleen-bg-neutral-200 cleen-p-2 cleen-rounded-lg cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-sm cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",l?.trigger),style:a?.trigger,onClick:()=>g(v=>!v),ref:h,children:u})}),i&&QM(Ln("div",{className:"cleen",children:Ln("div",{ref:y,className:hc("cleen-flex cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute cleen-z-50",{"cleen-opacity-0":!f},l?.menu),style:{top:`${b.top}px`,left:`${b.left}px`,...a?.menu},children:t?.filter(v=>v!==u)?.map(v=>Ln("div",{className:hc("cleen-flex cleen-justify-center cleen-items-center hover:cleen-bg-muted cleen-p-2 cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",l?.menuItem),style:a?.menuItem,onClick:()=>{p(v),n?.(v),g(!1)},children:v},v))})}),document.body)]})})});var aI={goToPreviousPage:"Go to previous page",goToNextPage:"Go to next page",goToPage:"Go to page",itemsPerPage:e=>`Show ${e} items per page`};import{cn as lo}from"@cleen/ui-core";import{forwardRef as jM,useCallback as fc,useMemo as ew,useRef as tw}from"react";import{jsx as ze,jsxs as nw}from"react/jsx-runtime";var ow=jM(({currentPage:e,totalPages:t,pageSize:r,pageSizes:n,hasGotoPage:l=!0,hasPageSizeSelector:a=!0,onPageChange:c,onPageSizeChange:s,labels:u=aI,classNames:p,styles:i,...g},h)=>{let y=tw(null),b=fc(()=>{e<t&&c?.(e+1)},[e,t,c]),f=fc(()=>{e>1&&c?.(e-1)},[e,c]),v=fc(I=>ze("span",{className:lo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-cursor-pointer",I===e&&"cleen-bg-muted hover:cleen-bg-neutral-200",p?.pageButton,I===e?p?.activePageButton:""),style:{...i?.pageButton,...I===e?i?.activePageButton:{}},onClick:()=>c?.(I),children:I},`page-${I}`),[e,c,p,i]),C=fc(I=>ze("span",{className:lo("cleen-flex cleen-justify-center cleen-self-end cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.ellipsis),style:i?.ellipsis,onClick:()=>y.current?.focus(),children:"..."},I),[p,i]),x=ew(()=>{if(isNaN(e)||isNaN(t))return[];let I=[];if(I.push(ze(Ie,{label:u.goToPreviousPage,classNames:{labelContainer:"cleen-min-w-max"},children:ze("span",{className:lo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:f,children:ze(Pt,{})})},"prev")),t<=7)for(let P=1;P<=t;P++)I.push(v(P));else if(I.push(v(1)),e<=3){for(let P=2;P<5;P++)I.push(v(P));I.push(C("dots-end")),I.push(v(t))}else if(e>=t-2){I.push(C("dots-start"));for(let P=t-3;P<=t;P++)I.push(v(P))}else I.push(C("dots-start")),I.push(v(e-1)),I.push(v(e)),I.push(v(e+1)),I.push(C("dots-end")),I.push(v(t));return I.push(ze(Ie,{label:u.goToNextPage,classNames:{labelContainer:"cleen-min-w-max"},children:ze("span",{className:lo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:b,children:ze(ot,{})})},"next")),I},[e,t,u,p,i,C,v,b,f]);return ze("div",{className:"cleen",ref:h,...g,children:nw("div",{className:lo("cleen-flex cleen-justify-between cleen-gap-4",p?.container),style:i?.container,children:[a?ze(Sh,{pageSize:r,labels:u,onPageSizeChange:s,pageSizes:n,className:lo("cleen-flex-1",p?.pageSizeSelector?.className),classNames:p?.pageSizeSelector?.classNames,...i?.pageSizeSelector}):ze("div",{className:"cleen-flex-1"}),ze("div",{className:lo("cleen-flex cleen-flex-1 cleen-justify-center cleen-items-center cleen-gap-2 cleen-w-full",p?.buttonsContainer),style:i?.buttonsContainer,children:x}),l?ze(Ph,{ref:y,totalPages:t,onGoToPage:c,labels:u,className:lo("cleen-flex cleen-flex-1 cleen-justify-end",p?.goToPage?.className),classNames:p?.goToPage?.classNames,...i?.goToPage}):ze("div",{className:"cleen-flex-1"})]})})});import{cn as Mh,useDisclosure as rw,useOutsideClick as aw,usePositionClose as lw,ZIndex as cw}from"@cleen/ui-core";import{forwardRef as sw,useRef as lI}from"react";import{createPortal as iw}from"react-dom";import{jsx as wh,jsxs as pw}from"react/jsx-runtime";var kh=sw(function({isOpen:t,onOpenChange:r,content:n,position:l="bottom-left",offset:a,zIndex:c=cw.POPOVER,children:s,className:u,classNames:p,style:i,styles:g,...h},y){let{isOpen:b,toggle:f,close:v}=rw({value:t,setValue:r}),C=lI(null),x=lI(null),{positionStyles:I,isMounted:P}=lw({triggerRef:C,targetRef:x,position:l,isOpen:b,offset:a});aw({refs:[C,x],handler:v,enabled:b});let M=B=>{B.stopPropagation(),f()};return pw("div",{className:Mh("cleen",u),style:i,ref:y,...h,children:[wh("div",{ref:C,onClick:M,className:Mh("cleen-size-fit",p?.trigger,b&&p?.triggerOpen),style:{...g?.trigger,...b?g?.triggerOpen:{}},children:s}),b&&iw(wh("div",{className:"cleen",onClick:B=>B.stopPropagation(),onPointerDown:B=>B.stopPropagation(),onMouseDown:B=>B.stopPropagation(),onTouchStart:B=>B.stopPropagation(),children:wh("div",{ref:x,className:Mh("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!P},p?.popover),style:{zIndex:c,top:`${I.top}px`,left:`${I.left}px`,...g?.popover},onClick:B=>B.stopPropagation(),children:n})}),document.body)]})});import{cn as cI}from"@cleen/ui-core";import{forwardRef as dw,useEffect as mw,useState as uw}from"react";import{jsx as gc,jsxs as sI}from"react/jsx-runtime";var hw={xs:40,sm:60,md:80,lg:100,xl:120,xxl:140,xxxl:160},iI=dw(({isFullscreen:e,percentage:t,duration:r=1e3,radius:n,stroke:l=16,size:a="md",color:c="rgb(var(--cleen-primary))",emptyColor:s="rgb(var(--cleen-neutral-200))",textColor:u="rgb(var(--cleen-foreground))",textHidden:p=!1,fontSize:i,renderText:g,className:h,classNames:y,style:b,styles:f,...v},C)=>{let x=n??hw[a]/2,I=x-l/2,P=I*2*Math.PI,[M,B]=uw(0);mw(()=>{let w=null;if(r===0){B(t);return}let R=E=>{w||(w=E);let N=E-w,L=Math.min(N/r*t,t);B(L),L<t&&requestAnimationFrame(R)};requestAnimationFrame(R)},[t,r]);let k=P-M/100*P;return gc("div",{ref:C,className:cI("cleen",h),style:b,...v,children:sI("div",{className:cI("cleen-flex cleen-justify-center cleen-items-center cleen-w-full cleen-h-full",{"cleen-h-screen cleen-w-screen cleen-bg-background":e},y?.container),style:f?.container,children:[sI("svg",{height:x*2,width:x*2,style:{transform:"rotate(-90deg)"},children:[gc("circle",{stroke:s,fill:"transparent",strokeWidth:l,r:I,cx:x,cy:x}),gc("circle",{stroke:c,fill:"transparent",strokeWidth:l,strokeLinecap:"round",strokeDasharray:P,strokeDashoffset:k,r:I,cx:x,cy:x})]}),!p&&gc("div",{className:"cleen-absolute cleen-font-semibold cleen-text-foreground",style:{fontSize:i??x/2.5,color:u},children:g?g(M):`${Math.round(M)}%`})]})})});iI.displayName="ProgressCircle";import{cn as Ye}from"@cleen/ui-core";import{useEffect as fw,useState as gw}from"react";import{Fragment as pI,jsx as Nt,jsxs as da}from"react/jsx-runtime";var vw=({horizontal:e,boxes:t,selectedBox:r,onBoxClick:n,leftElement:l,rightElement:a,leftIcon:c,leftIconName:s,rightIconName:u,className:p,classNames:i,style:g,styles:h,...y})=>{let[b,f]=gw(r);fw(()=>{f(r)},[r]);let v=(P,M)=>da(pI,{children:[l&&l(P),c||(s?Nt(_e,{name:s,className:Ye("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.leftIcon),style:h?.leftIcon}):null)]}),C=(P,M)=>Nt("span",{className:Ye("cleen-font-semibold",M?"cleen-text-primary":"cleen-text-neutral-700",i?.label),style:h?.label,children:P?.label}),x=(P,M)=>Nt("span",{className:Ye("cleen-font-semibold cleen-text-16px",M?"cleen-text-primary":"cleen-text-neutral-700",i?.subLabel),style:h?.subLabel,children:P?.subLabel}),I=(P,M)=>da(pI,{children:[a&&a(P),u&&Nt(_e,{name:u,className:Ye("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.rightIcon),style:h?.rightIcon})]});return Nt("div",{className:Ye("cleen",p),style:g,...y,children:e?Nt("div",{className:Ye("cleen-flex cleen-flex-wrap cleen-items-start cleen-justify-start cleen-gap-3 cleen-w-full",i?.container),style:h?.container,children:t?.map(P=>{let M=P?.id===b?.id;return da("div",{className:Ye("cleen-flex cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-100 cleen-w-max",M?"cleen-bg-primary/5 cleen-border-primary/50":"cleen-border-border",i?.box),style:h?.box,onClick:()=>{f(P),n?.(P)},children:[v(P,M),P?.label&&C(P,M),P?.subLabel&&x(P,M),I(P,M)]},P?.id)})}):Nt("div",{className:Ye("cleen-grid cleen-gap-3 cleen-w-full",i?.container),style:{gridTemplateColumns:"1fr auto 1fr",...h?.container},children:t?.map(P=>{let M=P?.id===b?.id;return da("div",{className:Ye("cleen-grid cleen-col-span-full cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-50",M?"cleen-bg-primary-100 cleen-border-muted-foreground":"cleen-bg-surface cleen-border-border",i?.box),style:{gridTemplateColumns:"subgrid",gridColumn:"1 / -1",...h?.box},onClick:()=>{f(P),n?.(P)},children:[Nt("div",{className:Ye("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-start",i?.leftIconContainer),style:h?.leftIconContainer,children:v(P,M)}),Nt("div",{className:Ye("cleen-flex cleen-items-center cleen-justify-center",i?.labelContainer),style:h?.labelContainer,children:P?.label&&C(P,M)}),da("div",{className:Ye("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-end",i?.rightIconContainer),style:h?.rightIconContainer,children:[P?.subLabel&&x(P,M),I(P,M)]})]},P?.id)})})})};import{cn as Ft}from"@cleen/ui-core";import{forwardRef as yw,useEffect as Cw,useId as xw,useRef as Pw,useState as Sw}from"react";import{cn as dI}from"@cleen/ui-core";import{forwardRef as Iw}from"react";import{jsx as mI,jsxs as bw}from"react/jsx-runtime";var vc=Iw(function({checked:t,className:r,classNames:n,style:l,styles:a,...c},s){return bw("div",{className:dI("group cleen-flex cleen-size-5 cleen-min-h-5 cleen-min-w-5 cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-border-neutral-300 focus-within:cleen-ring-2 focus-within:cleen-ring-primary focus-within:cleen-ring-offset-1",t?"cleen-bg-primary":"cleen-bg-surface",r),style:l,children:[mI("input",{ref:s,type:"radio",checked:t,className:"cleen-sr-only",...c}),mI("span",{className:dI("cleen-size-2 cleen-rounded-full cleen-bg-primary-foreground",n?.innerCircle),style:a?.innerCircle})]})});import{jsx as mt,jsxs as Ic}from"react/jsx-runtime";var Mw=yw(function({required:t,radios:r,label:n,labelTooltip:l,className:a,classNames:c,style:s,styles:u,name:p,direction:i="vertical",radioPosition:g="left",defaultActiveId:h,value:y,infoLabels:b,onChange:f},v){let C=y!==void 0,[x,I]=Sw(h??r[0]?.id),P=xw(),M=`${P}-label`,B=p??`cleen-radio-group-${P}`;Cw(()=>{!C&&h!==void 0&&I(h)},[h,C]);let k=C?y:x,w=S=>k!=null&&k==S,R=S=>{C||I(S),f?.(S)},E=Pw([]),N=r?.findIndex(S=>w(S.id)),L=N>=0?N:0,F=S=>{let _=r[S];_&&(R(_.id),E.current[S]?.focus())},D=(S,_)=>{let T=r.length;if(T)switch(S.key){case"ArrowDown":case"ArrowRight":S.preventDefault(),F((_+1)%T);break;case"ArrowUp":case"ArrowLeft":S.preventDefault(),F((_-1+T)%T);break;default:break}};return mt("div",{className:Ft("cleen",a),style:s,ref:v,children:Ic("div",{className:c?.container,style:u?.container,children:[n&&mt(te,{id:M,htmlFor:P,required:t,tooltip:l,className:Ft("cleen-mb-1.5",c?.label?.className),classNames:c?.label?.classNames,...u?.label,children:n}),mt("div",{id:P,role:"radiogroup","aria-labelledby":n?M:void 0,className:Ft("cleen-flex cleen-flex-wrap cleen-gap-2.5",i==="vertical"&&"cleen-flex-col cleen-w-fit",c?.radios),style:u?.radios,children:r?.map((S,_)=>{let T=`${P}-${_}`,A=S.radioPosition??g;return Ic("div",{className:Ft("cleen-flex cleen-gap-2 hover:cleen-bg-muted cleen-p-5 cleen-border cleen-border-border hover:cleen-border-neutral-300 cleen-rounded-xl cleen-transition-all cleen-duration-200 cleen-cursor-pointer",i==="horizontal"&&"cleen-flex-1",w(S?.id)&&"cleen-border-primary hover:cleen-border-primary",c?.radioContainer,S?.className,w(S?.id)&&c?.radioActive),style:{...u?.radioContainer,...S?.style},onClick:z=>{z.target instanceof Element&&!z.target.closest("label, input")&&E.current[_]?.click()},children:[S.leftIcon,A==="left"&&mt(vc,{ref:z=>{E.current[_]=z},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:_===L?0:-1,onChange:()=>R(S.id),onKeyDown:z=>D(z,_),className:Ft(c?.radioOuterCheckBox,S?.classNames?.outerCheckBox),style:{...u?.radioOuterCheckBox,...S?.styles?.outerCheckBox}}),Ic("label",{htmlFor:T,className:Ft("cleen-flex-1 cleen-cursor-pointer",c?.radioLabelsContainer,S?.classNames?.labelsContainer),style:{...u?.radioLabelsContainer,...S?.styles?.labelsContainer},children:[Ic("div",{className:"cleen-flex cleen-items-center cleen-gap-1",children:[mt("span",{className:Ft("cleen-font-semibold cleen-text-neutral-700 cleen-text-sm",c?.radioTitle,S?.classNames?.title),style:{...u?.radioTitle,...S?.styles?.title},children:S.title}),mt("span",{className:Ft("cleen-font-normal cleen-text-neutral-600 cleen-text-xs",c?.radiotPostTitle,S?.classNames?.postTitle),style:{...u?.radiotPostTitle,...S?.styles?.postTitle},children:S.postTitle})]}),mt("span",{className:Ft("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",c?.radioSubTitle,S?.classNames?.subTitle),style:{...u?.radioSubTitle,...S?.styles?.subTitle},children:S?.subTitle})]}),A==="right"&&mt(vc,{ref:z=>{E.current[_]=z},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:_===L?0:-1,onChange:()=>R(S.id),onKeyDown:z=>D(z,_),className:c?.radioOuterCheckBox,style:u?.radioOuterCheckBox}),A==="hidden"&&mt(vc,{ref:z=>{E.current[_]=z},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:_===L?0:-1,onChange:()=>R(S.id),onKeyDown:z=>D(z,_),className:"cleen-sr-only"}),S.rightIcon]},S?.id)})}),(b?.errorMessage||b?.infoMessage||b?.subtitle)&&mt(j,{...b})]})})});import{cn as Dn,ColorHelpers as ww}from"@cleen/ui-core";import{forwardRef as kw,useRef as Bw,useState as Rw}from"react";import{jsx as Uo,jsxs as uI}from"react/jsx-runtime";var Lw=kw(function({id:t,required:r,label:n,labelTooltip:l,labels:a,infoLabels:c,value:s,onChange:u,amount:p=5,options:i=[],gap:g,size:h=36,readonly:y,color:b="rgb(var(--cleen-primary))",className:f,style:v,classNames:C,styles:x,...I},P){let[M,B]=Rw(0),k=s!==void 0,w=k?s:M,R=i?.length>0?i:Array.from({length:p},(T,A)=>A+1),E=Bw([]),N=R.findIndex(T=>T===w),L=N>=0?N:0,F=T=>{k||B(T),u?.(T)},D=T=>{let A=R[T];A!==void 0&&(F(A),E.current[T]?.focus())},S=(T,A)=>{if(y)return;let z=R.length;if(z)switch(T.key){case"ArrowRight":case"ArrowUp":T.preventDefault(),D((A+1)%z);break;case"ArrowLeft":case"ArrowDown":T.preventDefault(),D((A-1+z)%z);break;case"Home":T.preventDefault(),D(0);break;case"End":T.preventDefault(),D(z-1);break;default:break}},_=typeof n=="string"?n:"Rating";return Uo("div",{className:Dn("cleen",f),style:v,ref:P,...I,children:uI("div",{className:Dn("cleen-space-y-2",C?.container),style:x?.container,children:[n&&Uo(te,{htmlFor:t,required:r,tooltip:l,className:Dn("cleen-mb-1.5",C?.label?.className),classNames:C?.label?.classNames,...x?.label,children:n}),uI("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[Uo("div",{role:"radiogroup","aria-label":_,className:Dn("cleen-flex cleen-flex-wrap cleen-gap-3",C?.list),style:{...g?{gap:g}:{},...x?.list},children:R?.map((T,A)=>Uo("button",{id:t,ref:z=>{E.current[A]=z},role:"radio","aria-checked":w===T,"aria-label":`${T}`,tabIndex:A===L?0:-1,onClick:()=>F(T),onKeyDown:z=>S(z,A),className:Dn("cleen-flex cleen-justify-center cleen-items-center cleen-border cleen-border-border hover:cleen-border-muted-foreground cleen-rounded-full cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",y&&"cleen-cursor-default cleen-pointer-events-none",C?.item),style:{width:h,height:h,...w===T?{borderColor:b,backgroundColor:ww.trasparentize(b,.9),color:b}:{},...x?.item},type:"button",children:Uo("span",{className:Dn("cleen-font-medium cleen-text-sm",C?.value),style:x?.value,children:T})},T))}),a?.helperText&&Uo("span",{className:"cleen-text-sm cleen-text-neutral-600",children:a.helperText})]}),(c?.errorMessage||c?.infoMessage||c?.subtitle)&&Uo(j,{...c})]})})});import{useState as Dw}from"react";import{components as Tw}from"react-select";import{jsx as Bh,jsxs as hI}from"react/jsx-runtime";var fI=e=>{let[t,r]=Dw(!1),n=e.data;return Bh("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:Bh(Tw.Option,{...e,children:hI("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[hI("div",{className:"cleen-flex-1",children:[n?.label,n?.sublabel&&Bh("p",{className:"cleen-text-xs",children:n?.sublabel})]}),typeof n?.icon=="function"?n.icon({...e,isHovered:t}):n?.icon]})})})};import{components as Nw}from"react-select";import{jsx as Rh,jsxs as Fw}from"react/jsx-runtime";var gI=e=>{let t=e.data;return Rh(Nw.SingleValue,{...e,children:Fw("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Rh("p",{children:t?.label}),t?.sublabel&&Rh("p",{className:"cleen-text-xs cleen-text-neutral-600 cleen-line-clamp-1",children:t?.sublabel})]})})};import{cn as ma,ZIndex as CI}from"@cleen/ui-core";import{forwardRef as zw,useId as Ow,useState as xI}from"react";import _w from"react-select";import{components as Ew}from"react-select";import{jsx as Lh,jsxs as vI}from"react/jsx-runtime";var II=({isLoading:e,inputValue:t,options:r,createNewOptionCallback:n,createNewOptionLabelStringCb:l,children:a,...c})=>{let s=t?.trim().toLowerCase(),u=r?.some(p=>p?.labelString?p.labelString.toLowerCase()===s:typeof p?.label=="string"?p.label.toLowerCase()===s:!1);return Lh("div",{className:"cleen",children:vI(Ew.MenuList,{options:r,...c,children:[a,n&&!e&&t&&t?.length>0&&!u&&vI("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-justify-center",children:[Lh(rt,{}),Lh("span",{className:"cleen-py-3 cleen-font-semibold cleen-text-sm cleen-text-primary/70 cleen-cursor-pointer",onClick:()=>{n(t)},children:l?.(t)||t})]})]})})};import{components as Aw}from"react-select";import{jsx as bI}from"react/jsx-runtime";var yI=({isLoading:e,noDataFound:t,...r})=>bI(Aw.NoOptionsMessage,{...r,children:e?bI(ne,{}):t||"No data found"});import{jsx as co,jsxs as SI}from"react/jsx-runtime";var PI=e=>typeof e=="object"&&e!==null&&("labelString"in e||"label"in e),Hw=zw(function({label:t,labelTooltip:r,sublabel:n,id:l,name:a,required:c,className:s,classNames:u,isLoading:p=!1,disabled:i,emboldenOptions:g=!1,labels:h,components:y,style:b,styles:f,infoLabels:v,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...I},P){let[M,B]=xI(!1),[k,w]=xI(""),R=Ow(),E=I.inputId??l??a??R,N=(F,D)=>{if(!PI(F.data))return!1;let{labelString:S,label:_}=F.data;return S?S.toLowerCase().includes(D.toLowerCase()):typeof _=="string"?_.toLowerCase().includes(D.toLowerCase()):!1},L=F=>PI(F)?F.labelString??(typeof F.label=="string"?F.label:""):"";return co("div",{className:ma("cleen",s),style:b,ref:P,children:SI("div",{className:ma("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full",u?.cleenContainer),style:f?.cleenContainer,children:[(t||n)&&SI("div",{className:ma("cleen-flex cleen-flex-col cleen-gap-1",u?.labels?.container),style:f?.labels?.container,children:[t&&co(te,{htmlFor:E,required:c,tooltip:r,...u?.labels?.label,...f?.labels?.label,children:t}),n&&co("span",{className:ma("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",u?.labels?.sublabel),style:f?.labels?.sublabel,children:n})]}),co(_w,{...C&&{menuIsOpen:M,inputValue:k,onInputChange:F=>w(F),onMenuOpen:()=>B(!0),onMenuClose:()=>B(!1)},...!I.filterOption&&{filterOption:N},...!I.getOptionLabel&&{getOptionLabel:L},id:l||a,classNames:u,isDisabled:i,menuPortalTarget:document.body,menuPosition:"fixed",...I,inputId:E,className:ma("cleen-shadow-none cleen-font-normal cleen-text-foreground cleen-text-sm",u?.inputOuterContainer),styles:{...f,control:(F,D)=>{let S={...F,minHeight:44,borderWidth:1,borderRadius:8,padding:3,transition:"border-color 200ms",fontWeight:g&&D.hasValue?"600":"400",borderColor:v?.errorMessage?"rgba(var(--cleen-error), 0.7)":"rgb(var(--cleen-border))",color:D.isDisabled?"rgb(var(--cleen-neutral-500))":"rgb(var(--cleen-foreground))",backgroundColor:D.isDisabled?"rgb(var(--cleen-neutral-100))":"rgba(var(--cleen-background))",boxShadow:D.isFocused?"0 0 0 2px rgba(var(--cleen-primary), 0.5)":"none",cursor:"pointer",caretColor:C?"rgba(var(--cleen-foreground))":"transparent","&:hover":{borderColor:v?.errorMessage?"rgba(var(--cleen-error))":"rgb(var(--cleen-border))"}};return f?.control?f?.control(S,D):S},menuPortal:(F,D)=>{let S={...F,zIndex:CI.SELECT,...f?.menuPortal};return f?.menuPortal?f?.menuPortal(S,D):S},menu:(F,D)=>{let S={...F,backgroundColor:"rgba(var(--cleen-surface))",border:"1px solid rgba(var(--cleen-border))",zIndex:CI.SELECT,...f?.menu};return f?.menu?f?.menu(S,D):S},option:(F,D)=>{let S={...F,backgroundColor:D.isSelected?"rgba(var(--cleen-primary))":D.isFocused?"rgba(var(--cleen-primary), 0.1)":"rgba(var(--cleen-white))",color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-foreground))",fontWeight:g?"600":"400","&:hover":D.isSelected?{}:{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))",cursor:"pointer"},p:{color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-neutral-600))"},"&:hover p":{color:"rgba(var(--cleen-white))"},"&:active":{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))"}};return f?.option?f?.option(S,D):S},menuList:(F,D)=>{let S={...F,"::-webkit-scrollbar":{width:"6px",height:"0px"},"::-webkit-scrollbar-track":{background:"rgb(var(--cleen-background))"},"::-webkit-scrollbar-thumb":{background:"rgba(var(--cleen-neutral-200))"},"::-webkit-scrollbar-thumb:hover":{background:"rgba(var(--cleen-neutral-400))"},padding:0,borderRadius:4,...f?.menuList};return f?.menuList?f?.menuList(S,D):S},singleValue:(F,D)=>{let S={...F,color:D.isDisabled?"rgba(var(--cleen-neutral-500))":"rgba(var(--cleen-black))"};return f?.singleValue?f?.singleValue(S,D):S},input:(F,D)=>{let S={...F,color:"rgba(var(--cleen-foreground))"};return f?.input?f?.input(S,D):S}},components:{IndicatorSeparator:()=>null,SingleValue:F=>co(gI,{...F}),NoOptionsMessage:F=>co(yI,{isLoading:p,noDataFound:h?.noDataFound,...F}),MenuList:F=>co(II,{isLoading:p,inputValue:k,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...F}),Option:fI,...y}}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&co(j,{...v})]})})});import{jsx as MI,jsxs as Uw}from"react/jsx-runtime";function wI({children:e,title:t,className:r="",renderHeader:n}){return Uw("div",{className:`cleen-w-full cleen-h-full ${r}`,"data-testid":`drawer-container-${t}`,children:[n?n(t):MI("h1",{className:"cleen-text-sm cleen-font-medium cleen-pb-4 cleen-pt-9 cleen-px-4 cleen-text-foreground-emphasis",children:t}),MI("div",{className:"cleen-h-max cleen-w-full cleen-px-4",children:e})]})}import{cn as Et}from"@cleen/ui-core";import{forwardRef as Gw,useState as Vw}from"react";import{Fragment as Xw,jsx as Je,jsxs as bc}from"react/jsx-runtime";function Ww({icon:e,iconSrc:t,iconName:r,iconSize:n=24,title:l,className:a,style:c}){return e?Je("span",{className:Et("cleen-flex cleen-justify-center cleen-items-center cleen-shrink-0",a),style:{width:n,height:n,...c},children:e}):t?Je("img",{src:t,alt:l,width:n,height:n,className:a,style:c}):r?Je(_e,{name:r,width:n,height:n,className:a,style:c}):null}function kI({item:e,depth:t,iconSize:r=24,classNames:n,styles:l}){let[a,c]=Vw(!1),s={...e,classNames:{...n,...e.classNames},styles:{...l,...e.styles}},u=Array.isArray(s?.items)&&s.items.length>0,p=s?.iconSize??r,i=t>0?{paddingLeft:12+t*28}:{},g=bc(Xw,{children:[bc("div",{className:Et("cleen-flex cleen-items-center cleen-gap-3 cleen-min-w-0",s?.classNames?.containerInner),style:s?.styles?.containerInner,children:[Je(Ww,{icon:s?.icon,iconSrc:s?.iconSrc,iconName:s?.iconName,iconSize:p,title:s?.name,className:Et("cleen-text-neutral-700 group-hover/row:cleen-text-foreground [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.icon),style:s?.styles?.icon}),Je("span",{className:Et("cleen-font-semibold cleen-text-neutral-800 group-hover/row:cleen-text-foreground cleen-text-sm cleen-truncate cleen-transition-colors cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.name),style:s?.styles?.name,children:s?.name})]}),["string","number"].includes(typeof s?.badgeCount)&&Je(Ee,{color:s?.badgeColor,label:String(s?.badgeCount),...s?.classNames?.badge,...s?.styles?.badge})]});return u?bc("details",{className:s?.classNames?.container,style:s?.styles?.container,children:[bc("summary",{className:Et("cleen-group/row [&::-webkit-details-marker]:cleen-hidden cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-muted cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer cleen-list-none",t===0?"cleen-px-3":void 0,s?.classNames?.parentItemContainer),style:{...i,...s?.styles?.parentItemContainer},onClick:()=>c(h=>!h),children:[g,Je(_e,{name:"ChevronDown",className:Et("cleen-w-5 cleen-h-5 cleen-text-neutral-700 group-hover/row:cleen-text-foreground cleen-transition-all cleen-shrink-0",{"cleen-rotate-180":a},s?.classNames?.chevron),style:s?.styles?.chevron})]}),Je("div",{className:Et("cleen-flex cleen-flex-col cleen-gap-1 cleen-mt-1",s?.classNames?.childItemsContainer),style:s?.styles?.childItemsContainer,children:s.items.map(h=>Je(kI,{item:h,depth:t+1,iconSize:r,classNames:n,styles:l},h?.id??h?.name))})]}):Je("div",{className:Et("cleen-group/row cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-primary/5 cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer",t===0?"cleen-px-3 hover:cleen-bg-muted":void 0,s?.isActive&&t===0&&"cleen-bg-muted",s?.disabled&&"cleen-opacity-50 cleen-pointer-events-none",s?.classNames?.container),style:{...i,...s?.styles?.container},onClick:()=>s?.onClick?.(s),children:g})}var $w=Gw(function({title:t,icon:r,iconName:n,iconSrc:l,iconSize:a=24,badgeColor:c="gray",badgeCount:s,items:u,onClick:p,isActive:i=!1,disabled:g,className:h,classNames:y,style:b,styles:f},v){let C={id:"root",name:t,icon:r,iconName:n,iconSrc:l,iconSize:a,badgeColor:c,badgeCount:s,isActive:i,disabled:g,onClick:p?()=>p():void 0,classNames:y,styles:f,items:u};return Je("div",{className:Et("cleen",h),style:b,ref:v,children:Je(kI,{item:C,depth:0,iconSize:a,classNames:y,styles:f})})}),qw=$w;import{cn as At}from"@cleen/ui-core";import{useEffect as Yw,useRef as Jw,useState as jw}from"react";import{cn as ua}from"@cleen/ui-core";import{useMemo as Kw}from"react";import{Link as Zw}from"react-router-dom";import{jsx as ha,jsxs as Qw}from"react/jsx-runtime";function fa({item:e,activeId:t,onClick:r,countBadge:n,classNames:l,styles:a,renderIcon:c}){let s=t===e?.id,u=Kw(()=>e?c?c(e,s):e.icon?e.icon:e.iconSrc?ha("img",{src:e.iconSrc,alt:e?.name||e?.label,className:ua("cleen-w-6 cleen-h-6 cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):e.iconName?ha(_e,{name:e.iconName,className:ua("cleen-w-6 cleen-h-6 cleen-text-neutral-700 [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):null:null,[e,s,c,l?.icon,a?.icon]),p=Qw("div",{"data-testid":`nav-item-${e?.id}`,className:ua("cleen-group cleen-relative cleen-p-2 cleen-cursor-pointer cleen-rounded-md cleen-w-12 cleen-h-12 cleen-flex cleen-justify-center cleen-items-center cleen-select-none cleen-transition-colors cleen-duration-200 hover:cleen-bg-primary/10",l?.container,s&&"cleen-bg-primary/10"),style:a?.container,onClick:()=>{e?.path||r?.(e)},children:[u,n&&ha("div",{className:ua("cleen-absolute -cleen-top-1 -cleen-right-1 cleen-flex cleen-items-center cleen-justify-center cleen-w-4 cleen-h-4 cleen-bg-surface cleen-rounded-md cleen-border cleen-border-border cleen-font-normal cleen-text-[8px] cleen-text-foreground",l?.badge),style:a?.badge,children:n})]});return ha(Ie,{hasArrow:!0,placement:"right",color:"rgba(var(--cleen-foreground))",className:l?.tooltip?.className,classNames:{...l?.tooltip,labelContainer:ua("cleen-min-w-max",l?.tooltip?.classNames?.labelContainer)},...a?.tooltip,label:e?.label,children:e?.path?ha(Zw,{to:e.path,children:p}):p})}import{jsx as zt,jsxs as Go}from"react/jsx-runtime";function BI({navigationItems:e,bottomNavigationItems:t=[],drawerContent:r={},logo:n,onLogoClick:l,userAvatar:a,userInfo:c,drawerFooter:s,drawerWidth:u=330,direction:p="right",defaultActiveId:i=null,activeId:g,onActiveChange:h,closeOnOutsideClick:y=!0,closeOnBlur:b=!0,className:f,classNames:v,style:C,styles:x,renderSidebarItem:I}){let[P,M]=jw(i),B=Jw(null),k=g!==void 0?g:P,w=!!k,R=N=>{let L=k===N.id?null:N.id;g===void 0&&M(L),h?.(L)};Yw(()=>{if(!y||!w)return;let N=L=>{B.current&&!B.current.contains(L.target)&&(g===void 0&&M(null),h?.(null))};return document.addEventListener("mousedown",N),()=>{document.removeEventListener("mousedown",N)}},[y,w,g,h]);let E=N=>{!b||!w||B.current&&!B.current.contains(N.relatedTarget)&&(g===void 0&&M(null),h?.(null))};return Go("div",{className:At("cleen",f),style:{height:"100%",display:"flex",backgroundColor:"rgb(var(--cleen-sidebar))",flexDirection:p==="left"?"row-reverse":"row",...C},ref:B,onBlur:E,tabIndex:b?0:void 0,children:[Go("div",{className:At("cleen-flex cleen-flex-col cleen-items-center cleen-h-full",p==="right"?"cleen-border-r cleen-border-r-border":"cleen-border-l cleen-border-l-border",v?.navigation),style:x?.navigation,children:[n&&zt("div",{className:At("cleen-flex cleen-justify-center cleen-items-center cleen-pt-8 cleen-pb-6 cleen-w-full cleen-cursor-pointer",v?.logo),style:x?.logo,onClick:l,children:n}),Go("div",{className:At("cleen-flex cleen-flex-col cleen-flex-1 cleen-justify-between cleen-gap-2 cleen-px-4 cleen-overflow-y-auto cleen-no-scrollbar",v?.navigationItems),style:x?.navigationItems,children:[zt("nav",{className:At("cleen-flex cleen-flex-col cleen-gap-2",v?.upperNavigationItemsWrapper),style:x?.upperNavigationItemsWrapper,children:e.map(N=>Go("div",{children:[I?I(N,k===N.id,R):zt(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&zt("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id))}),Go("div",{className:At("cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",v?.bottomNavigationItemsWrapper),style:x?.bottomNavigationItemsWrapper,children:[t.map(N=>Go("div",{children:[I?I(N,k===N.id,R):zt(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&zt("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id)),a&&zt("div",{className:"cleen-mt-6 cleen-mb-8",children:a})]})]})]}),Go("div",{className:At("cleen-flex cleen-flex-col cleen-bg-sidebar cleen-h-full cleen-overflow-hidden cleen-transition-all cleen-duration-100",{"cleen-border-r cleen-border-r-border":w&&p==="right","cleen-border-l cleen-border-l-border":w&&p==="left"},v?.drawer),style:{...x?.drawer,width:w?`${u}px`:"0px",visibility:w?"visible":"hidden"},children:[k&&r[k]&&zt("div",{className:At("cleen-flex-1 cleen-overflow-auto",v?.drawerContent),style:x?.drawerContent,children:r[k]}),k&&(s||c)&&zt("div",{className:At("cleen-mt-auto cleen-flex cleen-justify-between cleen-items-start cleen-gap-4 cleen-px-5 cleen-pt-4 cleen-pb-8 cleen-border-border cleen-border-t cleen-w-full",v?.drawerFooter),style:x?.drawerFooter,children:typeof s=="function"?s(k):s||c})]})]})}var Y=e=>e==="pulse"?"cleen-animate-pulse":"";import{cn as RI}from"@cleen/ui-core";import{forwardRef as ek}from"react";import{jsx as LI}from"react/jsx-runtime";var tk={none:"cleen-rounded-none",sm:"cleen-rounded-sm",md:"cleen-rounded-md",lg:"cleen-rounded-lg",xl:"cleen-rounded-xl","2xl":"cleen-rounded-2xl",full:"cleen-rounded-full"},ok=ek(function({width:t,height:r,roundness:n="md",variant:l="default",className:a,style:c},s){let u=Y(l),p={...t!==void 0?{width:typeof t=="number"?`${t}px`:t}:{},...r!==void 0?{height:typeof r=="number"?`${r}px`:r}:{},...c};return LI("div",{ref:s,className:RI("cleen",a),children:LI("div",{className:RI("cleen-bg-muted",tk[n],t===void 0&&"cleen-w-full",r===void 0&&"cleen-h-4",u),style:p})})});import{cn as Dh}from"@cleen/ui-core";import{forwardRef as nk}from"react";import{jsx as yc,jsxs as rk}from"react/jsx-runtime";var Th=nk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Y(n);return yc("div",{ref:a,className:Dh("cleen",t),style:r,children:yc("div",{className:"cleen-flex cleen-items-start cleen-gap-4 cleen-flex-wrap",children:Array.from({length:l}).map((s,u)=>rk("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",children:[yc("div",{className:Dh("cleen-bg-muted cleen-rounded-full cleen-size-12 cleen-border cleen-border-border",c)}),yc("div",{className:Dh("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",c)})]},u))})})});import{cn as DI}from"@cleen/ui-core";import{forwardRef as ak}from"react";import{jsx as Nh}from"react/jsx-runtime";var Fh=ak(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Y(n);return Nh("div",{ref:a,className:DI("cleen",t),style:r,children:Nh("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Nh("div",{className:DI("cleen-bg-muted cleen-rounded-full cleen-h-6 cleen-w-16",c)},u))})})});import{cn as TI}from"@cleen/ui-core";import{forwardRef as lk}from"react";import{jsx as Vo,jsxs as Cc}from"react/jsx-runtime";var Eh=lk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return Vo("div",{ref:l,className:TI("cleen",t),style:r,children:Cc("div",{className:TI("cleen-relative cleen-bg-muted cleen-rounded-2xl cleen-w-full cleen-overflow-hidden",a),children:[Vo("div",{className:"cleen-h-48 cleen-w-full"}),Cc("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-flex-col cleen-justify-center cleen-items-start cleen-gap-4 cleen-px-8",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-w-24 cleen-h-6"}),Cc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-2/3 cleen-h-8"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),Cc("div",{className:"cleen-flex cleen-gap-3",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-28 cleen-h-10"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-24 cleen-h-10"})]})]})]})})});import{cn as NI}from"@cleen/ui-core";import{forwardRef as ck}from"react";import{jsx as Ah}from"react/jsx-runtime";var zh=ck(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Y(n);return Ah("div",{ref:a,className:NI("cleen",t),style:r,children:Ah("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Ah("div",{className:NI("cleen-bg-muted cleen-rounded-lg cleen-h-10 cleen-w-28",c)},u))})})});import{cn as xc}from"@cleen/ui-core";import{forwardRef as sk}from"react";import{jsx as Pc,jsxs as FI}from"react/jsx-runtime";var ga=sk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return Pc("div",{ref:l,className:xc("cleen",t),style:r,children:FI("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full",children:[Pc("div",{className:xc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-min-w-10 cleen-size-10",a)}),FI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Pc("div",{className:xc("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)}),Pc("div",{className:xc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3",a)})]})]})})});import{cn as Tn}from"@cleen/ui-core";import{forwardRef as ik}from"react";import{jsx as Nn,jsxs as Sc}from"react/jsx-runtime";var Mc=ik(({className:e,style:t,variant:r="default"},n)=>{let l=Y(r);return Nn("div",{ref:n,className:Tn("cleen",e),style:t,children:Sc("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-lg",children:[Sc("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-w-full",children:[Nn("div",{className:Tn("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-size-10",l)}),Sc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-5",l)}),Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",l)})]})]}),Sc("div",{className:"cleen-space-y-2 cleen-w-full",children:[Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-2",l)}),Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-16 cleen-h-3",l)})]})]})})});Mc.displayName="AssessmentHeaderSkeleton";import{cn as ut}from"@cleen/ui-core";import{forwardRef as pk}from"react";import{jsx as ht,jsxs as Fn}from"react/jsx-runtime";var Oh=pk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return ht("div",{ref:l,className:ut("cleen",t),style:r,children:Fn("div",{className:"cleen-flex cleen-flex-col cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden cleen-w-full",children:[ht("div",{className:ut("cleen-bg-muted cleen-w-full cleen-h-40",a)}),Fn("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[Fn("div",{className:"cleen-flex cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-16 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-12 cleen-h-5",a)})]}),Fn("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)})]}),Fn("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[Fn("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-size-7 cleen-shrink-0",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-lg cleen-w-16 cleen-h-7",a)})]})]})]})})});import{forwardRef as dk}from"react";import{cn as mk}from"@cleen/ui-core";import{jsx as _h}from"react/jsx-runtime";var Hh=dk(function({className:t,style:r,itemCount:n=3,variant:l="default"},a){return _h("div",{ref:a,className:mk("cleen",t),style:r,children:_h("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:n}).map((c,s)=>_h(ga,{variant:l},s))})})});import{cn as Wo}from"@cleen/ui-core";import{forwardRef as uk}from"react";import{jsx as je,jsxs as va}from"react/jsx-runtime";var EI=["cleen-h-16","cleen-h-24","cleen-h-14","cleen-h-28","cleen-h-20","cleen-h-10","cleen-h-24"],Uh=uk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return je("div",{ref:l,className:Wo("cleen",t),style:r,children:va("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-4 cleen-pt-4 cleen-pb-3 cleen-w-full",children:[va("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-32 cleen-h-5",a)}),je("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[28,20].map((c,s)=>va("div",{className:"cleen-flex cleen-items-center cleen-gap-1.5",children:[je("div",{className:Wo("cleen-bg-muted cleen-rounded-full cleen-size-2.5",a)}),je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-h-3",a),style:{width:c}})]},s))})]}),va("div",{className:"cleen-flex cleen-gap-3",children:[je("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-end cleen-py-1",style:{height:120},children:[0,1,2,3].map(c=>je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-6 cleen-h-2",a)},c))}),va("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1",children:[je("div",{className:"cleen-flex cleen-items-end cleen-justify-around cleen-gap-2",style:{height:112},children:EI.map((c,s)=>je("div",{className:Wo("cleen-bg-muted cleen-rounded-t cleen-flex-1",c,a)},s))}),je("div",{className:"cleen-w-full cleen-h-px cleen-bg-muted"}),je("div",{className:"cleen-flex cleen-justify-around cleen-gap-2 cleen-pt-1",children:EI.map((c,s)=>je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-flex-1 cleen-h-2",a)},s))})]})]})]})})});import{cn as $o}from"@cleen/ui-core";import{forwardRef as hk}from"react";import{jsx as Ot,jsxs as wc}from"react/jsx-runtime";var Gh=hk(({variant:e="default",itemCount:t=3,className:r,style:n},l)=>{let a=Y(e);return Ot("div",{ref:l,className:$o("cleen",r),style:n,children:Ot(ie,{className:"cleen-max-h-fit",children:wc("div",{className:"cleen-flex cleen-flex-col cleen-gap-4",children:[wc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-6",a)}),Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)})]}),Ot("div",{className:"cleen-space-y-6",children:Array.from({length:t}).map((c,s)=>wc("div",{className:"cleen-space-y-3",children:[Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-4",a)}),Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-10",a)})]},s))}),wc("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-4",children:[Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)}),Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)})]})]})})})});import{cn as kc}from"@cleen/ui-core";import{forwardRef as fk}from"react";import{jsx as Ia,jsxs as gk}from"react/jsx-runtime";var Vh=fk(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=Y(n),s=["cleen-w-1/12","cleen-w-3/12","cleen-w-2/12","cleen-w-3/12","cleen-w-2/12","cleen-w-1/12"];return Ia("div",{ref:a,className:kc("cleen",t),style:r,children:gk("div",{className:"cleen-flex cleen-flex-col cleen-w-full cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden",children:[Ia("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-bg-muted cleen-border-b cleen-border-border",children:s.map((u,p)=>Ia("div",{className:kc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",u,c)},p))}),Array.from({length:l}).map((u,p)=>Ia("div",{className:kc("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3",p<l-1?"cleen-border-b cleen-border-border":""),children:s.map((i,g)=>Ia("div",{className:kc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",g===s.length-1?"cleen-rounded-full":"cleen-rounded",i,c)},g))},p))]})})});import{cn as Bc}from"@cleen/ui-core";import{forwardRef as vk}from"react";import{jsx as ba,jsxs as AI}from"react/jsx-runtime";var Wh=vk(function({className:t,style:r,variant:n="default",itemCount:l=4},a){let c=Y(n);return ba("div",{ref:a,className:Bc("cleen",t),style:r,children:AI("div",{className:"cleen-flex cleen-flex-col cleen-gap-5 cleen-w-full cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-6 cleen-py-6",children:[Array.from({length:l}).map((s,u)=>AI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ba("div",{className:Bc("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",c)}),ba("div",{className:Bc("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10",c)})]},u)),ba("div",{className:"cleen-flex cleen-justify-end cleen-pt-1",children:ba("div",{className:Bc("cleen-bg-muted cleen-rounded-lg cleen-w-28 cleen-h-10",c)})})]})})});import{cn as zI}from"@cleen/ui-core";import{forwardRef as Ik}from"react";import{jsx as $h}from"react/jsx-runtime";var bk=["rgb(var(--cleen-blue))","rgb(var(--cleen-aqua))","rgb(var(--cleen-green-light-300))","rgb(var(--cleen-aqua))","rgb(var(--cleen-blue))"],qh=Ik(function({className:t,style:r,variant:n="default",colors:l=bk},a){let c=Y(n);return $h("div",{ref:a,className:zI("cleen",t),style:r,children:$h("div",{className:zI("cleen-p-1 cleen-size-full cleen-rounded-lg cleen-animate-[cleen-rotate-gradient-angle_2.5s_linear_infinite]",c),style:{background:`conic-gradient(from var(--cleen--gradient-angle),${l.join(",")})`},children:$h("div",{className:"cleen-bg-background cleen-size-full cleen-rounded-md"})})})});import{cn as Rc}from"@cleen/ui-core";import{forwardRef as yk}from"react";import{jsx as En,jsxs as OI}from"react/jsx-runtime";var Xh=yk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return En("div",{ref:l,className:Rc("cleen",t),style:r,children:OI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[En("div",{className:Rc("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:En("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:OI("div",{className:Rc("cleen-flex cleen-flex-col cleen-items-center cleen-gap-1 cleen-opacity-30"),children:[En("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-8"}),En("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),En("div",{className:Rc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3 cleen-mx-auto",a)})]})})});import{cn as Ue}from"@cleen/ui-core";import{forwardRef as Ck}from"react";import{jsx as Oe,jsxs as _t}from"react/jsx-runtime";var Kh=Ck(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return Oe("div",{ref:l,className:Ue("cleen",t),style:r,children:_t("div",{className:Ue("cleen-flex cleen-flex-col cleen-items-start cleen-gap-4 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-h-fit",t),style:r,children:[_t("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Oe("div",{className:Ue("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-p-2 cleen-rounded-full cleen-size-8",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),_t("div",{className:"cleen-space-y-3 cleen-w-full",children:[_t("div",{children:[Oe("div",{className:Ue("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Oe(ie,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:_t("div",{className:"cleen-space-y-2",children:[Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-5/6 cleen-h-3",a)})]})})]}),_t("div",{children:[Oe("div",{className:Ue("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),_t("div",{className:"cleen-space-y-2",children:[Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-3",a)})]})]}),_t("div",{children:[Oe("div",{className:Ue("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Oe(ie,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:_t("div",{className:"cleen-space-y-2",children:[Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-3",a)})]})})]})]})]})})});import{cn as Zh}from"@cleen/ui-core";import{forwardRef as xk}from"react";import{jsx as Qh,jsxs as Pk}from"react/jsx-runtime";var Yh=xk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return Qh("div",{ref:l,className:Zh("cleen",t),style:r,children:Pk("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Qh("div",{className:Zh("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",a)}),Qh("div",{className:Zh("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10 cleen-border cleen-border-border",a)})]})})});import{cn as ya}from"@cleen/ui-core";import{forwardRef as Sk}from"react";import{jsx as An,jsxs as _I}from"react/jsx-runtime";var Jh=Sk(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=Y(n),s=["cleen-w-3/4","cleen-w-2/3","cleen-w-4/5","cleen-w-1/2","cleen-w-3/5"];return An("div",{ref:a,className:ya("cleen",t),style:r,children:An("div",{className:"cleen-flex cleen-flex-col cleen-divide-y cleen-divide-border",children:Array.from({length:l}).map((u,p)=>_I("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-py-3",children:[An("div",{className:ya("cleen-bg-muted cleen-rounded-full cleen-size-8 cleen-shrink-0 cleen-border cleen-border-border",c)}),_I("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1.5",children:[An("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-4",s[p%s.length],c)}),An("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-3 cleen-w-2/5",c)})]}),An("div",{className:ya("cleen-bg-muted cleen-rounded-full cleen-w-14 cleen-h-5 cleen-shrink-0",c)})]},p))})})});import{cn as HI}from"@cleen/ui-core";import{forwardRef as Mk}from"react";import{jsx as e0}from"react/jsx-runtime";var jh=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],t0=Mk(function({className:t,style:r,variant:n="default",itemCount:l},a){let c=Y(n),s=l??jh.length;return e0("div",{ref:a,className:HI("cleen",t),style:r,children:e0("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((u,p)=>{let i=p<jh.length?jh[p]:p===s-1?"cleen-w-3/5":"cleen-w-full";return e0("div",{className:HI("cleen-bg-muted cleen-rounded cleen-h-3",i,c)},p)})})})});import{cn as UI}from"@cleen/ui-core";import{forwardRef as wk}from"react";import{jsx as GI}from"react/jsx-runtime";var o0=wk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return GI("div",{ref:l,className:UI("cleen",t),style:r,children:GI("div",{className:UI("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)})})});import{cn as qo}from"@cleen/ui-core";import{forwardRef as kk}from"react";import{jsx as ft,jsxs as Lc}from"react/jsx-runtime";var n0=kk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return ft("div",{ref:l,className:qo("cleen",t),style:r,children:Lc("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[ft("div",{className:qo("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:ft("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-14 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-w-0 cleen-h-0 cleen-ml-1 cleen-border-y-[8px] cleen-border-y-transparent cleen-border-l-[14px] cleen-border-l-neutral-400"})})})}),Lc("div",{className:"cleen-flex cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded-lg cleen-size-10 cleen-shrink-0",a)}),Lc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),Lc("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-10 cleen-h-3",a)})]})]})]})]})})});import{cn as Ca}from"@cleen/ui-core";import{forwardRef as Bk}from"react";import{jsx as xa,jsxs as r0}from"react/jsx-runtime";var Dc=Bk(function({variant:t="default",className:r,style:n},l){let a=Y(t);return xa("div",{ref:l,className:Ca("cleen",r),style:n,children:r0("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full cleen-h-full",children:[r0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-2 cleen-py-0.5 cleen-border cleen-border-border cleen-rounded-full",children:[xa("div",{className:Ca("cleen-bg-muted cleen-rounded-full cleen-size-1.5",a)}),xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-20 cleen-h-3",a)})]}),r0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-w-full",children:[xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-8",a)}),xa("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-w-12 cleen-h-4",a)})]})]})})});Dc.displayName="SkeletonBadgeCard";import{forwardRef as Rk}from"react";import{jsx as ue}from"react/jsx-runtime";var Lk=Rk(function({className:t,style:r,variant:n="default",itemCount:l=3,colors:a,skeleton:c="card",isShowing:s=!1,children:u},p){if(!s)return u;let i={ref:p,variant:n,itemCount:l,colors:a,className:t,style:r};switch(c){case"card2":return ue(Mc,{...i});case"card3":return ue(Oh,{...i});case"cardStack":return ue(Hh,{...i});case"contentCard":return ue(Gh,{...i});case"infoCard":return ue(Kh,{...i});case"widgetCard":return ue(Dc,{...i});case"image":return ue(Xh,{...i});case"video":return ue(n0,{...i});case"avatar":return ue(Th,{...i});case"dataGrid":return ue(Vh,{...i});case"text":return ue(o0,{...i});case"paragraph":return ue(t0,{...i});case"list":return ue(Jh,{...i});case"form":return ue(Wh,{...i});case"banner":return ue(Eh,{...i});case"chart":return ue(Uh,{...i});case"button":return ue(zh,{...i});case"badge":return ue(Fh,{...i});case"input":return ue(Yh,{...i});case"glowingCard":return ue(qh,{...i});default:return ue(ga,{...i})}});import{cn as so}from"@cleen/ui-core";import{forwardRef as Dk,useCallback as a0,useEffect as Tk,useRef as VI,useState as WI}from"react";import{jsx as io,jsxs as Tc}from"react/jsx-runtime";var Nk=Dk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=0,value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltip:I,infoLabels:P},M){let[B,k]=WI(c??n),w=s!==void 0?s:B,R=VI(null),[E,N]=WI(!1),L=VI(!1),F=(w-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=a0(W=>{let U=Math.round((W-n)/a)*a+n;return Math.min(l,Math.max(n,U))},[n,l,a]),_=a0((W,U)=>{let V=S(W);s===void 0&&k(V),p?.(V),U&&i?.(V)},[S,s,p,i]),T=a0(W=>{let U=R.current;if(!U)return n;let V=U.getBoundingClientRect(),Q=(W-V.left)/V.width;return S(n+Q*(l-n))},[n,l,S]),A=W=>{if(f)return;let U;switch(W.key){case"ArrowRight":case"ArrowUp":U=w+a;break;case"ArrowLeft":case"ArrowDown":U=w-a;break;case"Home":U=n;break;case"End":U=l;break;default:return}W.preventDefault(),_(U,!0)},z=W=>{f||(W.preventDefault(),N(!0))},H=W=>{if(f||L.current){L.current=!1;return}_(T(W.clientX),!0)},G=W=>{f||(W.preventDefault(),N(!0))};Tk(()=>{if(!E)return;let W=O=>{_(T(O.clientX))},U=O=>{N(!1),L.current=!0,i?.(S(T(O.clientX)))},V=O=>{O.touches.length>0&&_(T(O.touches[0].clientX))},Q=O=>{N(!1),L.current=!0,i?.(S(T(O.changedTouches[0].clientX)))};return document.addEventListener("mousemove",W),document.addEventListener("mouseup",U),document.addEventListener("touchmove",V),document.addEventListener("touchend",Q),()=>{document.removeEventListener("mousemove",W),document.removeEventListener("mouseup",U),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",Q)}},[E,S,T,_,i]);let $=W=>io("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:W});return io("div",{className:so("cleen",g),style:y,ref:M,children:Tc("div",{className:so("cleen-w-full",h?.container),style:b?.container,children:[v&&io(te,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Tc("div",{className:so({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&$(x?.minLabel),Tc("div",{ref:R,className:so("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:H,children:[io("div",{className:so("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.path),style:b?.path,children:io("div",{className:so("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{width:`${D}%`,...b?.filledTrack}})}),io(Ie,{invertColors:!0,...I,label:x?.tooltip?.(w)??w,className:so("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.className),style:{left:`calc(${D}% - 8px)`,...I?.style},isOpen:E||I?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,children:io("div",{id:t,className:so("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w,"aria-valuemin":n,"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?v:"Slider","aria-labelledby":t,onMouseDown:z,onTouchStart:G,onKeyDown:A})})]}),u==="inline"?x?.maxLabel&&$(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Tc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&$(x?.minLabel),x?.maxLabel&&$(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&io(j,{...P})]})})});import{cn as gt}from"@cleen/ui-core";import{forwardRef as Fk,useCallback as l0,useEffect as Ek,useRef as Ak,useState as $I}from"react";import{jsx as vt,jsxs as Nc}from"react/jsx-runtime";var zk=Fk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=[n,l],value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltips:I,infoLabels:P},M){let[B,k]=$I(c??[n,l]),w=s!==void 0?s:B,R=Ak(null),[E,N]=$I(null),L=l0(U=>{let V=Math.round((U-n)/a)*a+n;return Math.min(l,Math.max(n,V))},[n,l,a]),F=(w[0]-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=(w[1]-n)/(l-n)*100,_=Math.min(100,Math.max(0,S)),T=l0(U=>{let V=[L(Math.min(U[0],U[1])),L(Math.max(U[0],U[1]))];s===void 0&&k(V),p?.(V)},[L,s,p]),A=l0(U=>{let V=R.current;if(!V)return n;let Q=V.getBoundingClientRect(),O=(U-Q.left)/Q.width;return L(n+O*(l-n))},[n,l,L]),z=U=>V=>{if(f)return;let Q=U==="min"?w[0]:w[1],O;switch(V.key){case"ArrowRight":case"ArrowUp":O=Q+a;break;case"ArrowLeft":case"ArrowDown":O=Q-a;break;case"Home":O=n;break;case"End":O=l;break;default:return}V.preventDefault();let Z=U==="min"?[Math.min(O,w[1]),w[1]]:[w[0],Math.max(O,w[0])];T(Z),i?.([L(Z[0]),L(Z[1])])},H=U=>V=>{f||(V.preventDefault(),N(U))},G=U=>{if(f)return;let V=A(U.clientX),Q=Math.abs(V-w[0]),O=Math.abs(V-w[1]);Q<O?T([V,w[1]]):T([w[0],V])},$=U=>V=>{f||(V.preventDefault(),N(U))};Ek(()=>{if(!E)return;let U=Z=>{let ce=A(Z.clientX);T(E==="min"?[ce,w[1]]:[w[0],ce])},V=Z=>{let ce=A(Z.clientX),ge=E==="min"?[ce,w[1]]:[w[0],ce];N(null),i?.(ge)},Q=Z=>{if(Z.touches.length>0){let ce=A(Z.touches[0].clientX);T(E==="min"?[ce,w[1]]:[w[0],ce])}},O=Z=>{let ce=A(Z.changedTouches[0].clientX),ge=E==="min"?[ce,w[1]]:[w[0],ce];N(null),i?.(ge)};return document.addEventListener("mousemove",U),document.addEventListener("mouseup",V),document.addEventListener("touchmove",Q),document.addEventListener("touchend",O),()=>{document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",Q),document.removeEventListener("touchend",O)}},[E,w,A,T,i]);let W=U=>vt("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:U});return vt("div",{className:gt("cleen",g),style:y,ref:M,children:Nc("div",{className:gt("cleen-w-full",h?.container),style:b?.container,children:[v&&vt(te,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Nc("div",{className:gt({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&W(x?.minLabel),Nc("div",{ref:R,className:gt("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:G,children:[vt("div",{className:gt("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer"),children:vt("div",{className:gt("cleen-absolute cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{left:`${D}%`,width:`${_-D}%`,...b?.filledTrack}})}),vt(Ie,{invertColors:!0,isOpen:E==="min"||I?.min?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.min,label:x?.tooltip?.(w[0])??w[0]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.min?.className),style:{left:`calc(${D}% - 8px)`,...I?.shared?.style,...I?.min?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[0],"aria-valuemin":n,"aria-valuemax":w[1],"aria-disabled":f,"aria-label":typeof v=="string"?`${v} minimum value`:"Minimum value",onMouseDown:H("min"),onTouchStart:$("min"),onKeyDown:z("min")})}),vt(Ie,{invertColors:!0,isOpen:E==="max"||I?.max?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.max,label:x?.tooltip?.(w[1])??w[1]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.max?.className),style:{left:`calc(${_}% - 8px)`,...I?.shared?.style,...I?.max?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[1],"aria-valuemin":w[0],"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?`${v} maximum value`:"Maximum value",onMouseDown:H("max"),onTouchStart:$("max"),onKeyDown:z("max")})})]}),u==="inline"?x?.maxLabel&&W(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Nc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&W(x?.minLabel),x?.maxLabel&&W(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&vt(j,{...P})]})})});import{cn as zn}from"@cleen/ui-core";import{forwardRef as Ok,useRef as _k,useState as qI}from"react";import{jsx as Xo,jsxs as Uk}from"react/jsx-runtime";var Hk=Ok(function({label:t,infoLabels:r,value:n,onChange:l,amount:a=5,gap:c,size:s,readonly:u,color:p="rgb(var(--cleen-yellow))",className:i,style:g,classNames:h,styles:y,...b},f){let[v,C]=qI(0),x=n!==void 0,I=x?n:v,[P,M]=qI(null),B=P!==null?P+1:I,k=!u,w=_k([]),R=I>0?I-1:0,E=D=>{x||C(D),l?.(D)},N=D=>{D<0||D>=a||(E(D+1),w.current[D]?.focus())},L=(D,S)=>{switch(D.key){case"ArrowRight":case"ArrowUp":D.preventDefault(),N((S+1)%a);break;case"ArrowLeft":case"ArrowDown":D.preventDefault(),N((S-1+a)%a);break;case"Home":D.preventDefault(),N(0);break;case"End":D.preventDefault(),N(a-1);break;default:break}},F=typeof t=="string"?t:"Rating";return Xo("div",{className:zn("cleen",i),style:g,ref:f,...b,children:Uk("div",{className:zn("cleen-space-y-2",h?.container),style:y?.container,children:[t&&Xo("span",{className:zn("cleen-font-medium cleen-text-sm cleen-text-foreground",h?.label),style:y?.label,children:t}),Xo("div",{role:k?"radiogroup":"img","aria-label":k?F:`${F}: ${I} out of ${a}`,className:zn("cleen-flex cleen-gap-3",h?.list),style:{...c?{gap:c}:{},...y?.list},children:Array.from({length:a},(D,S)=>{let _=Xo(Dr,{"aria-hidden":"true",className:zn("cleen-size-5 cleen-text-neutral-700 cleen-transition-colors",h?.star),style:{...s?{width:s,height:s}:{},...y?.star,fill:(u?I:B)>S?p:"transparent"}});return k?Xo("button",{type:"button",ref:T=>{w.current[S]=T},role:"radio","aria-checked":I===S+1,"aria-label":`${S+1} ${S+1===1?"star":"stars"}`,tabIndex:S===R?0:-1,onMouseEnter:()=>M(S),onMouseLeave:()=>M(null),onClick:()=>E(S+1),onKeyDown:T=>L(T,S),className:zn("focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary focus-visible:cleen-rounded"),children:_},S):Xo("span",{className:"cleen-cursor-default",children:_},S)})}),(r?.errorMessage||r?.infoMessage||r?.subtitle)&&Xo(j,{...r})]})})});import{cn as Ht}from"@cleen/ui-core";import{forwardRef as Gk}from"react";import{jsx as po,jsxs as XI}from"react/jsx-runtime";var KI=Gk(({steps:e,activeStep:t=0,orientation:r="horizontal",color:n="rgb(var(--cleen-primary))",className:l,classNames:a,style:c,styles:s,...u},p)=>{let i=r==="vertical";return po("div",{ref:p,className:Ht("cleen",l),style:{...c,width:"100%"},...u,children:po("div",{className:Ht("cleen-flex cleen-w-full",i?"cleen-flex-col cleen-gap-6":"cleen-flex-row cleen-items-start cleen-gap-8 cleen-justify-between",a?.container),style:{width:"100%",...s?.container},children:e?.map((g,h)=>{let y=h+1<t,b=h+1===t;return XI("div",{className:Ht("cleen-relative cleen-flex cleen-flex-1",i?"cleen-flex-row cleen-items-start":"cleen-flex-col cleen-items-center cleen-text-center",a?.step),style:s?.step,children:[h<e?.length-1&&po("div",{className:Ht("cleen-absolute cleen-bg-neutral-200 cleen-transition-all cleen-duration-300",i?"cleen-left-3 cleen-top-7 cleen-w-[2px] cleen-h-[calc(100%-4px)]":"cleen-top-3 cleen-left-[calc(50%+14px)] cleen-h-[2px] cleen-w-[calc(100%+4px)]",y&&"cleen-bg-primary",a?.connector),style:{backgroundColor:y?n:void 0,...s?.connector}}),po("div",{className:Ht("cleen-relative cleen-flex cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-transition-all cleen-duration-300","cleen-size-7",y||b?"cleen-border-[2px]":"cleen-border-border",a?.circle),style:{borderColor:b||y?n:void 0,backgroundColor:y?n:"transparent",...s?.circle},children:y?po("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):po("span",{className:Ht("cleen-w-2 cleen-h-2 cleen-rounded-full",b?"cleen-bg-white":"cleen-bg-neutral-200"),style:{backgroundColor:b?n:void 0}})}),XI("div",{className:Ht("cleen-flex cleen-flex-col",i?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[g.title&&po("div",{className:Ht("cleen-font-medium cleen-text-sm",b?"cleen-text-primary":"cleen-text-foreground",a?.title),style:{color:b?n:void 0,...s?.title},children:g.title}),g.subtitle&&po("div",{className:Ht("cleen-text-xs cleen-text-neutral-600",a?.subtitle),style:{color:b?n:void 0,...s?.subtitle},children:g.subtitle})]})]},h)})})})});KI.displayName="Stepper";import{cn as xe}from"@cleen/ui-core";import{forwardRef as Vk,useMemo as QI,useState as On}from"react";var ZI={trigger:"Filter by tags",noMatches:"No matching tags",searchPlaceholder:"Search or create a tag",noData:"There are no tags yet",footer:"Select tags to filter",selected:e=>`${e} selected`,create:e=>`Create \u201C${e}\u201D`,clear:"Clear",done:"Done"};import{jsx as fe,jsxs as Pa}from"react/jsx-runtime";var Wk=[],$k=Vk(function({items:t=Wk,value:r,defaultValue:n,onApply:l,onCreate:a,isLoading:c=!1,icon:s,disabled:u=!1,isOpen:p,onOpenChange:i,position:g="bottom-left",zIndex:h,labels:y,className:b,classNames:f,style:v,styles:C,...x},I){let P={...ZI,...y},[M,B]=On(n??[]),k=r??M,[w,R]=On(!1),E=p??w,[N,L]=On(k),[F,D]=On(""),[S,_]=On([]),[T,A]=On(!1),z=QI(()=>[...t,...S.filter(J=>!t.some(se=>se.id===J.id))],[t,S]),H=F.trim(),G=QI(()=>{let J=H.toLowerCase();return J?z.filter(se=>se.label.toLowerCase().includes(J)):z},[z,H]),$=!!H&&G.length===0&&!!a,W=c||T,U=k.length,V=U>0,Q=J=>{J&&(L(k),D("")),p===void 0&&R(J),i?.(J)},O=J=>{L(se=>se.includes(J)?se.filter(he=>he!==J):[...se,J])},Z=async()=>{if(!(!a||!H||W)){A(!0);try{let J=await a(H);J&&(_(se=>se.some(he=>he.id===J.id)?se:[...se,J]),L(se=>se.includes(J.id)?se:[...se,J.id]),D(""))}finally{A(!1)}}},ce=J=>{J.key==="Enter"&&$&&(J.preventDefault(),Z())},ge=()=>{L([])},ye=()=>{let J=z.filter(se=>N.includes(se.id));r===void 0&&B(N),l?.(N,J),Q(!1)},It=()=>$?fe("div",{className:"cleen-p-1.5",children:fe(re,{variant:"borderless-blue",fullWidth:!0,isLoading:W,leftIcon:fe(Sr,{className:"cleen-size-4 cleen-shrink-0"}),onClick:()=>{Z()},classNames:{container:xe("cleen-justify-start cleen-px-2.5 cleen-py-1.5 cleen-font-medium",f?.createButton)},styles:{container:C?.createButton},children:fe("span",{className:"cleen-truncate",children:P.create(H)})})}):G.length===0?fe("p",{className:xe("cleen-px-3 cleen-py-4 cleen-text-gray-500 cleen-text-sm cleen-text-center cleen-opacity-50",f?.noData),style:C?.noData,children:z.length===0?P.noData:P.noMatches}):fe("ul",{className:xe("cleen-flex cleen-flex-col cleen-py-1 cleen-max-h-[300px] cleen-overflow-y-auto cleen-[scrollbar-width:thin] [&::-webkit-scrollbar]:cleen-w-1 [&::-webkit-scrollbar-track]:cleen-bg-transparent [&::-webkit-scrollbar-thumb]:cleen-rounded-full [&::-webkit-scrollbar-thumb]:cleen-bg-neutral-200",f?.list),style:C?.list,children:G.map(J=>Pa("li",{className:xe("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 hover:cleen-bg-surface cleen-px-3 cleen-py-2 cleen-transition-colors",f?.item),style:C?.item,children:[fe(ta,{className:"cleen-flex-1 cleen-min-w-0",classNames:{container:"cleen-min-w-0",checkboxContainer:"cleen-items-center cleen-min-w-0 [&>div]:cleen-flex-1 [&>div]:cleen-min-w-0",checkbox:f?.checkbox,label:xe("cleen-text-sm cleen-truncate cleen-cursor-pointer",f?.itemLabel)},styles:{checkbox:C?.checkbox,label:C?.itemLabel},checked:N.includes(J.id),onChange:()=>O(J.id),label:fe("span",{title:J.label,children:J.label}),fullTriggerArea:!0}),J.count!==void 0&&fe("span",{className:xe("cleen-shrink-0 cleen-text-gray-500 cleen-text-sm cleen-tabular-nums cleen-opacity-50",f?.count),style:C?.count,children:J.count})]},J.id))}),Ge=Pa("div",{className:xe("cleen-flex cleen-flex-col",f?.content),style:C?.content,role:"dialog",children:[fe(me,{autoFocus:!0,value:F,onChange:J=>D(J.target.value),onKeyDown:ce,placeholder:P.searchPlaceholder,"aria-label":P.searchPlaceholder,leftIcon:fe(kt,{className:"cleen-size-4 cleen-text-muted-foreground"}),className:xe("cleen-shrink-0",f?.search),style:C?.search,classNames:{inputContainer:"cleen-border-0 cleen-shadow-none cleen-rounded-none focus-within:cleen-ring-0",input:"cleen-text-sm"}}),fe(rt,{className:xe("cleen-shrink-0",f?.divider),style:C?.divider}),fe("div",{className:"cleen-flex-1 cleen-min-h-0",children:It()}),Pa("div",{className:xe("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-3 cleen-py-2 cleen-border-t cleen-border-border cleen-shrink-0",f?.footer),style:C?.footer,children:[fe("span",{className:xe("cleen-min-w-0 cleen-text-muted-foreground cleen-text-xs cleen-truncate",f?.footerText),style:C?.footerText,children:N.length>0?P.selected(N.length):P.footer}),Pa("div",{className:xe("cleen-flex cleen-items-center cleen-gap-2 cleen-shrink-0",f?.footerActions),style:C?.footerActions,children:[fe(re,{variant:"secondary",onClick:ge,disabled:N.length===0,classNames:{container:xe("cleen-h-10 cleen-px-4 cleen-py-0 cleen-text-sm",f?.clearButton)},styles:{container:C?.clearButton},children:P.clear}),fe(re,{variant:"primary",onClick:ye,classNames:{container:xe("cleen-h-10 cleen-px-4 cleen-py-0 cleen-text-sm",f?.doneButton)},styles:{container:C?.doneButton},children:P.done})]})]})]});return fe(kh,{ref:I,isOpen:E,onOpenChange:Q,position:g,zIndex:h,content:Ge,className:b,style:v,classNames:{trigger:xe(u&&"cleen-pointer-events-none"),popover:xe("cleen-w-80 cleen-overflow-hidden cleen-shadow-md",f?.popover)},styles:{popover:C?.popover},...x,children:Pa("button",{type:"button",disabled:u,"aria-label":P.trigger,"aria-haspopup":"dialog","aria-expanded":E,className:xe("cleen-flex cleen-items-center cleen-gap-1 cleen-bg-background cleen-shadow-sm cleen-px-2.5 cleen-py-2 cleen-border cleen-border-border cleen-rounded-lg cleen-text-muted-foreground cleen-transition-colors cleen-duration-200 hover:cleen-bg-surface focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2",{"cleen-border-primary-300 cleen-bg-primary-50 cleen-text-primary hover:cleen-bg-primary-100":V,"cleen-opacity-50 cleen-cursor-not-allowed":u},f?.trigger,V&&f?.triggerActive),style:{...C?.trigger,...V?C?.triggerActive:{}},children:[s??fe(Nr,{className:"cleen-size-4 cleen-shrink-0"}),V&&fe("span",{className:xe("cleen-flex cleen-justify-center cleen-items-center cleen-bg-primary cleen-px-1.5 cleen-rounded-full cleen-min-w-5 cleen-h-5 cleen-font-semibold cleen-text-primary-foreground cleen-text-xs",f?.badge),style:C?.badge,children:U}),fe(Qn,{className:"cleen-size-3.5 cleen-shrink-0"})]})})});export{rb as AdvancedProgressBar,y4 as AudioPlayback,k4 as AudioRecorder,$l as Avatar,T4 as AvatarRow,E4 as Breadcrumb,re as Button,_1 as Calendar,K4 as CalendarDropdown,h4 as CanvasButton,ie as Card,FS as CardIcon,_S as CardMedia,e5 as Carousel,ta as Checkbox,d5 as CheckboxGroup,_e as CleenIcon,VM as CleenNotificationContainer,wg as Collapsible,I5 as ColorPicker,P5 as CreditCardInput,rt as Divider,V1 as Drawer,wI as DrawerContainer,qw as DrawerContentTitle,ea as Dropdown,n3 as Dropzone,p4 as EditableCard,S1 as EditableText,k1 as EditableTextArea,p3 as FileCard,J1 as FileStackedProgressTracker,Y3 as FilterDrawer,_v as FormGroup,sM as GroupSelector,Qc as Icon48AlertFeatured,Yc as Icon48SuccessFeatured,ho as IconAlertCircle,jc as IconAlertOctagon,ts as IconAlertTriangle,os as IconApps,rs as IconArchive,as as IconArrowBarDown,ls as IconArrowBarLeft,cs as IconArrowBarRight,ss as IconArrowBarToDown,is as IconArrowBarToLeft,ps as IconArrowBarToRight,ds as IconArrowBarToUp,ms as IconArrowBarUp,hs as IconArrowDown,fs as IconArrowDownLeft,vs as IconArrowDownNarrow,Is as IconArrowDownRight,ys as IconArrowLeft,xs as IconArrowLeftNarrow,Ss as IconArrowRight,ws as IconArrowRightNarrow,Bs as IconArrowUp,Rs as IconArrowUpLeft,Ds as IconArrowUpNarrow,Ts as IconArrowUpRight,Ns as IconAttachment,Fs as IconBarChart,Es as IconBarChartSquare,As as IconBell,zs as IconBold,Vs as IconBookOpen,Os as IconBookmark,Vc as IconBookmarkCheck,Wc as IconBookmarkCheckFill,_s as IconBookmarkFill,Hs as IconBookmarkMinus,qc as IconBookmarkPlus,Gs as IconBookmarkX,Ws as IconBoxLines,qs as IconBoxText,Ks as IconBracketsCheck,Zs as IconBracketsEllipses,Qs as IconBrickWall,Ys as IconBriefcase,Xc as IconBuilding,Js as IconCalculator,Zn as IconCalendar,js as IconCertificate,xt as IconCheck,fo as IconCheckCircle,ei as IconCheckCircleBroken,ti as IconCheckFill,oi as IconCheckVerified,ni as IconCheckVerifiedFill,Qn as IconChevronDown,ri as IconChevronDownDouble,ai as IconChevronDownLeft,li as IconChevronDownLeftDouble,ci as IconChevronDownRight,si as IconChevronDownRightDouble,Pt as IconChevronLeft,ii as IconChevronLeftDouble,ot as IconChevronRight,Yn as IconChevronRightDouble,pi as IconChevronSelectorVertical,St as IconChevronUp,di as IconChevronUpDouble,mi as IconChevronUpLeft,ui as IconChevronUpLeftDouble,hi as IconChevronUpRight,fi as IconChevronUpRightDouble,gi as IconClick,vi as IconClock,Ii as IconClockFastForward,yi as IconClockPlay,Ci as IconClockRewind,xi as IconClone,Si as IconCode,Mi as IconCodeBrowser,ki as IconCodeCircle,Ri as IconColors,Kc as IconColumnEdit,Li as IconCopy,Di as IconCopy2,Ni as IconCopyCheck,Fi as IconCreditCard,Ei as IconCube,Ai as IconCubeOutline,jn as IconCursorBox,zi as IconDataflow,Oi as IconDataflow2,_i as IconDataflow3,Ui as IconDistributeHorizontal,Gi as IconDollar,Wi as IconDollarCircle,$i as IconDot,qi as IconDotFill,Xi as IconDotsGrid,Zi as IconDotsHorizontal,on as IconDotsVertical,Ji as IconDownload,ji as IconEdit,tp as IconEditable,op as IconExpand,rp as IconExternalLink,lp as IconExternalLink2,cp as IconEye,ip as IconEyeHidden,pp as IconEyeHidden2,dp as IconFaceAngry,mp as IconFaceLaugh,up as IconFaceSmile,vo as IconFile,fp as IconFileCheck,nr as IconFileCsv,gp as IconFileDownload,rr as IconFileJson,vp as IconFileList,Xe as IconFileMusic,Io as IconFilePdf,lr as IconFileSpreadsheet,wt as IconFileText,yp as IconFileUpload,sr as IconFileXls,ir as IconFileXlsx,ct as IconFileZip,bp as IconFiles,Cp as IconFilter,pr as IconFilter2,Pp as IconFlag,Sp as IconFlag2,Mp as IconFlagFill,wp as IconFocus,kp as IconFolder,Bp as IconFolderExport,Rp as IconFolderImport,Lp as IconGraduationCap,Dp as IconGripVertical,Tp as IconHand,Np as IconHandShield,Fp as IconHash,Ep as IconHeadsetMic,Ap as IconHeart,zp as IconHeartFill,_p as IconHouse,mr as IconHouseLine,Le as IconImage,Hp as IconImage2,Up as IconImageCheck,Gp as IconImageOff,Vp as IconImport,Wp as IconInbox,qp as IconInfoCircle,Kp as IconInfoHexagon,Qp as IconItalic,Jp as IconLayersMultiple,jp as IconLayersSingle,ed as IconLayout,od as IconLayout2,nd as IconLayoutColumns,rd as IconLayoutCustom,ld as IconLayoutStuffed,cd as IconLayoutTile,sd as IconLifeBuoy,pd as IconLightbulb,dd as IconLightning,md as IconLightningFast,ud as IconLineChart,hd as IconLineChartBar,fd as IconLineChartBreakoutSquare,vd as IconLineChartUp,Id as IconLines,bd as IconLinesCheck,yd as IconLinesPlay,xd as IconLink,Pd as IconLink2,Sd as IconLinkOff,Md as IconListBullet,wd as IconListOrder,Bd as IconLock,Rd as IconLockFill,Dd as IconLogIn,Nd as IconLogOut,Ed as IconLogOut2,Ad as IconMagicWand,zd as IconMail,Od as IconMapPin,_d as IconMaximize,Hd as IconMaximize2,Ud as IconMessageCircle,Vd as IconMessageSquare,Wd as IconMessageSquare2,$d as IconMessageXSquare,br as IconMicrophone,qd as IconMinimize,Xd as IconMinimize2,Kd as IconMinusCircle,Qd as IconMobile,Yd as IconMonitor,Jd as IconMonitor2,jd as IconMoon,em as IconMoonCircle,nt as IconMovie,zr as IconName,tm as IconNavigationPointer,om as IconNotificationBox,im as IconPCSetup,nm as IconPackage,rm as IconPalette,am as IconPasscodeLock,bo as IconPause,cm as IconPauseCircle,dm as IconPen,mm as IconPercentageCircle,um as IconPerspective,fm as IconPhoneCall,Pr as IconPin,yo as IconPlay,vm as IconPlayCircle,Sr as IconPlus,Kt as IconPlusCircle,ym as IconPrinter,Cm as IconPulse,Mr as IconQuestionCircle,Pm as IconQuote,Sm as IconRadioButton,Mm as IconRadioButtonFill,wm as IconReceipt,km as IconReceiptCheck,Bm as IconRedo,Rm as IconRefresh,Lm as IconRefresh2,Dm as IconRefresh3,Tm as IconRepeat,Nm as IconReplace,Fm as IconReplay,Am as IconRestore,Om as IconRocket,_m as IconRoundChart,Hm as IconRoundChart2,Gm as IconRoute,Wm as IconSave,$m as IconScanDots,wr as IconScissors,kt as IconSearch,qm as IconSend,Xm as IconServer,Km as IconSettings,Zm as IconSettings2,Qm as IconShare,Ym as IconShieldLightning,jm as IconShieldPlus,tu as IconShieldRemove,ou as IconShoppingBag,nu as IconShoppingCart,ru as IconShrink,au as IconShuffle,lu as IconSkipForward,cu as IconSlashCircle,su as IconSlashOctagon,iu as IconSocialAndroid,pu as IconSocialApple,du as IconSocialGithub,mu as IconSocialGlobe,uu as IconSocialGoogle,fu as IconSocialInstagram,gu as IconSocialLinkedin,Iu as IconSocialMastercard,bu as IconSocialReact,yu as IconSocialVisa,Cu as IconSocialX,xu as IconSpeedometer,Pu as IconStairs,Dr as IconStar,Su as IconStarFill,Mu as IconStarHalf,wu as IconStars,Tr as IconStop,ku as IconStrikethrough,Bu as IconSun,Ru as IconSwap,Lu as IconSwitchHorizontal,Tu as IconTable,Nr as IconTag,Nu as IconTarget,Eu as IconTarget2,zu as IconTextFormat,Ou as IconTextFormat2,_u as IconTextHighlight,Hu as IconThumbsDown,Uu as IconThumbsUp,Gu as IconThumbsUpFill,Vu as IconToggle,Wu as IconTranslate,Ke as IconTrash,$u as IconTrending,qu as IconUnderline,Xu as IconUndo,Zu as IconUnlock,Po as IconUploadCloud,Er as IconUser,Ju as IconUserCheck,ju as IconUserDollar,t1 as IconUserEdit,o1 as IconUserPlus,n1 as IconUserRight,l1 as IconUserSquare,Zc as IconUserVoice,r1 as IconUsers,c1 as IconUsersUp,s1 as IconVideo,p1 as IconVideoChat,m1 as IconVolume,u1 as IconVolumeDown,h1 as IconVolumeMute,f1 as IconWrench,Te as IconX,g1 as IconXCircle,v1 as IconXCircleFill,I1 as IconXSquare,b1 as IconZoomIn,C1 as IconZoomOut,j as InfoLabels,me as Input,te as Label,ne as Loader,vM as Lookup,xM as Markdown,Bn as Menu,DM as Modal,ow as Pagination,Ph as PaginationGoToPage,Sh as PaginationPageSize,Ee as PillBadge,kh as Popover,kn as ProgressBar,iI as ProgressCircle,vw as RadioBoxGroup,Mw as RadioButtonGroup,Lw as Rating,Hw as Select,BI as Sidebar,fa as SidebarItem,ok as Skeleton,Th as SkeletonAvatar,Fh as SkeletonBadge,Eh as SkeletonBanner,zh as SkeletonButton,ga as SkeletonCard,Mc as SkeletonCard2,Oh as SkeletonCard3,Hh as SkeletonCardStack,Uh as SkeletonChart,Gh as SkeletonContentCard,Vh as SkeletonDataGrid,Wh as SkeletonForm,qh as SkeletonGlowingCard,Xh as SkeletonImage,Kh as SkeletonInfoCard,Yh as SkeletonInput,Jh as SkeletonList,t0 as SkeletonParagraph,o0 as SkeletonText,n0 as SkeletonVideo,Dc as SkeletonWidgetCard,Lk as SkeletonWrapper,Nk as Slider,zk as SliderRange,Q1 as StackedProgressTracker,$1 as StackedProgressTrackerRow,q1 as StackedProgressTrackerStatusFilter,Hk as StarRating,KI as Stepper,fh as Switch,aa as TRACKER_STATUS_FILTER_ORDER,uh as Tabs,$k as TagFilter,w1 as TextArea,Ie as Tooltip,na as TrackerItemStatus,ra as TrackerStatusFilter,x1 as getFileIcon,H1 as parseRgbaString,HM as showNotification};
|
|
1
|
+
import{cn as uo,useAnimateNumber as ob}from"@cleen/ui-core";import{forwardRef as nb,useMemo as u0}from"react";import{cn as Ma,usePositionClose as YI,ZIndex as JI}from"@cleen/ui-core";import{useEffect as c0,useRef as Ac,useState as s0}from"react";import{createPortal as jI}from"react-dom";import{jsx as zc,jsxs as i0}from"react/jsx-runtime";var Ie=({bg:e,label:t,color:r,closeOnClick:n=!0,hideOnMouseDown:l=!0,isOpen:a,children:c,hasArrow:s,placement:u="top",offset:p=8,className:i,classNames:g,isDisabled:h,openDelay:y=0,invertColors:b=!1,extraUpdateTriggers:f,allowNonDescendantHover:v=!0,zIndex:C=JI.TOOLTIP,style:x,styles:I,onClick:P,onMouseEnter:M,onMouseLeave:B,...k})=>{let[w,R]=s0(a??!1),[E,N]=s0(!1),L=Ac(null),F=Ac(null),D=Ac(null),{positionStyles:S,isMounted:H,optimalPosition:T}=YI({triggerRef:F,targetRef:L,position:u,isOpen:w&&!h,offset:p,extraUpdateTriggers:f});c0(()=>{R(a??!1)},[a]);let z=_=>{P?.(_),n&&R(!1)},A=(_,G)=>{if(a!==void 0)return;let $=F.current?.contains(_.target);!v&&!$||(G?(M?.(_),y&&y>0?D.current=setTimeout(()=>{R(!0)},y):R(!0)):(D.current&&(clearTimeout(D.current),D.current=null),R(!1),B?.(_)))};return c0(()=>{let _=()=>{l&&N(!0)},G=()=>{N(!1)};return document.addEventListener("mousedown",_),document.addEventListener("mouseup",G),()=>{document.removeEventListener("mousedown",_),document.removeEventListener("mouseup",G)}},[]),i0("div",{className:Ma("cleen",i),style:x,children:[zc("div",{ref:F,className:Ma("cleen-relative cleen-max-w-fit",g?.container),style:I?.container,onClick:z,onMouseEnter:_=>A(_,!0),onMouseLeave:_=>A(_,!1),...k,children:c}),t!==void 0&&w&&!h&&!E&&jI(zc("div",{className:"cleen",children:i0("div",{ref:L,className:Ma("cleen-shadow cleen-px-2 cleen-py-0.5 cleen-rounded-md cleen-text-sm cleen-transition-opacity cleen-duration-200 cleen-pointer-events-none","cleen-absolute",b?"cleen-bg-primary after:cleen-border-primary cleen-text-primary-foreground":"cleen-bg-surface after:cleen-border-surface cleen-text-primary",{"cleen-opacity-0":!H,"cleen-opacity-100":H},g?.labelContainer),style:{zIndex:C,top:`${S.top}px`,left:`${S.left}px`,...e&&{backgroundColor:e},...r&&{color:r},...I?.labelContainer},children:[t,zc("div",{className:Ma(s?["cleen-absolute cleen-border-[6px] cleen-border-surface",{"cleen-border-b-transparent cleen-border-x-transparent cleen-top-full cleen-drop-shadow-[0_1px_0.5px_rgba(var(--cleen-black),0.1)]":T==="top"||T==="top-left"||T==="top-right","cleen-left-[calc(50%-6px)]":T==="top"||T==="bottom","cleen-left-[6px]":T==="top-left"||T==="bottom-left","cleen-right-[6px]":T==="top-right"||T==="bottom-right","cleen-border-t-transparent cleen-border-x-transparent cleen-bottom-full cleen-drop-shadow-[0_-0.5px_0.5px_rgba(var(--cleen-black),0.1)]":T==="bottom"||T==="bottom-left"||T==="bottom-right","cleen-border-y-transparent cleen-border-r-transparent cleen-left-full cleen-top-[calc(50%-6px)] cleen-drop-shadow-[1px_0_0.5px_rgba(var(--cleen-black),0.1)]":T==="left","cleen-border-y-transparent cleen-border-l-transparent cleen-right-full cleen-top-[calc(50%-6px)] cleen-drop-shadow-[-0.25px_0_0.5px_rgba(var(--cleen-black),0.1)]":T==="right"}]:"cleen-hidden"),style:{}})]})}),document.body)]})};import{cn as Un}from"@cleen/ui-core";var bt=e=>Math.max(0,Math.min(100,Number.isFinite(e)?e:0)),yt=(e,t,r)=>{let n=Number.isFinite(t)?t:0,l=Number.isFinite(r)?r:100;return l===n?0:(e-n)/(l-n)*100};import{cn as wa}from"@cleen/ui-core";import{jsx as Oc}from"react/jsx-runtime";var ka=({serie:e,minValue:t,maxValue:r,color:n,trackHeight:l,className:a,style:c})=>{if(e.type!=="clamp")return null;let s=typeof e.value=="number"?e.value:0,u=Number.isFinite(s)?s:t,p=bt(yt(u,t,r)),i=Math.max(2,e?.height??l*1.5),g={left:`${p}%`,top:"50%"};return e.tooltip?Oc(Ie,{invertColors:!0,...e.tooltip,className:wa("cleen-absolute cleen-z-10 -cleen-translate-x-1/2 -cleen-translate-y-1/2",e.tooltip.className),style:{...g,...e.tooltip.style},classNames:{...e.tooltip.classNames,labelContainer:wa("cleen-z-10",e.tooltip.classNames?.labelContainer)},children:Oc("div",{className:wa("cleen-rounded-full",a),style:{width:i,height:i,backgroundColor:n,...c}})}):Oc("div",{className:wa("cleen-absolute cleen-rounded-full -cleen-translate-x-1/2 -cleen-translate-y-1/2 cleen-pointer-events-none",a),style:{width:i,height:i,backgroundColor:n,...g,...c}})};import{jsx as Ba}from"react/jsx-runtime";var p0=({serie:e,minValue:t,maxValue:r,animatedGlobal:n=t,renderAnimated:l,color:a,trackHeight:c,trackRadius:s,className:u,style:p})=>{if(e.type!=="bar")return null;let i=typeof e.start=="number"?e.start:t,g=typeof e.end=="number"?e.end:r,h=bt(yt(i,t,r)),y=bt(yt(g,t,r));y<h&&([h,y]=[y,h]);let b=Math.max(0,l?n-h:y-h);if(b<1&&!l||l&&n>=y&&b===0)return Ba(ka,{serie:{...e,type:"clamp",value:h},color:a,trackHeight:c,minValue:t,maxValue:r,className:u,style:p});let f={left:`${h}%`,top:e?.height?(c-e.height)/2:0,width:`${b}%`,height:e?.height??"100%"},v={width:"100%",height:"100%"},C={background:a,borderRadius:e?.radius??s??(e?.height??c)/2};return e.tooltip?Ba(Ie,{invertColors:!0,...e.tooltip,className:Un("cleen-absolute",e.tooltip.className),style:{...f,...e.tooltip.style},classNames:{...e.tooltip.classNames,container:Un("cleen-size-full !cleen-max-w-none",e.tooltip.classNames?.container),labelContainer:Un("cleen-z-10",e.tooltip.classNames?.labelContainer)},styles:{...e.tooltip.styles,container:{width:"100%",maxWidth:"none",height:"100%",...e.tooltip.styles?.container}},children:Ba("div",{className:Un("cleen-relative cleen-size-full",u),style:{...C,...v,...p}})}):Ba("div",{className:Un("cleen-absolute cleen-pointer-events-none",u),style:{...C,...f,...p}})};import{cn as eb}from"@cleen/ui-core";import{jsx as tb}from"react/jsx-runtime";var d0=({serie:e,minValue:t,maxValue:r,className:n,style:l})=>{let a=0;if(e.type==="clamp"){let c=typeof e.value=="number"?e.value:0,s=Number.isFinite(c)?c:t;a=bt(yt(s,t,r))}else{let c=typeof e.start=="number"?e.start:t,s=typeof e.end=="number"?e.end:r,u=bt(yt(c,t,r)),p=bt(yt(s,t,r));a=(u+p)/2}return tb("div",{className:eb("cleen-absolute -cleen-translate-x-1/2 cleen-whitespace-nowrap",n),style:{left:`${a}%`,...l},children:e.label})};var m0={color:"rgb(var(--cleen-neutral-200))",height:8};import{jsx as Zo,jsxs as h0}from"react/jsx-runtime";var rb=nb(function({series:t=[],track:r,renderAnimated:n,renderAnimatedDuration:l=1e3,className:a,classNames:c,style:s,styles:u,minValue:p=0,maxValue:i=100,...g},h){let y=u0(()=>({...m0,...r}),[r]),b=u0(()=>t.reduce((x,I)=>{if(I.type==="bar"){let P=typeof I.end=="number"?I.end:i,M=Math.max(p,Math.min(P,i));if(M>x)return M}return x},0),[t,p,i]),f=ob({targetNumber:b,defaultNumber:p,duration:l,disabled:!n}),{bars:v,clamps:C}=t.reduce((x,I,P)=>{if(I==null||!I.type)return x;let M=I.color??"var(--cleen-primary)";switch(I.type){case"clamp":x.clamps.push(Zo(ka,{serie:I,color:M,trackHeight:y.height,minValue:p,maxValue:i,className:uo(c?.clamp,I.className),style:{...u?.clamp,...I.style}},`clamp-${P}`));break;case"bar":x.bars.push(Zo(p0,{serie:I,color:M,trackHeight:y.height,trackRadius:y.radius,minValue:p,maxValue:i,renderAnimated:n,animatedGlobal:f,className:uo(c?.bar,I.className),style:{...u?.bar,...I.style}},`bar-${P}`));break;default:break}return x},{clamps:[],bars:[]});return Zo("div",{className:uo("cleen",a),style:s,ref:h,...g,children:h0("div",{className:uo("cleen-relative cleen-w-full",c?.container),style:u?.container,children:[h0("div",{className:uo("cleen-relative cleen-size-full",c?.trackWrapper),style:u?.trackWrapper,children:[Zo("div",{className:uo("cleen-relative cleen-w-full",c?.track),style:{height:y.height,backgroundColor:y.color,borderRadius:y.radius??y.height/2,...u?.track},children:v}),C]}),t.some(x=>!!x.label)&&Zo("div",{"aria-hidden":!0,className:uo("cleen-relative cleen-mt-2 cleen-h-5",c?.labels),style:u?.labels,children:t.map((x,I)=>!x||!x.type||!x.label?null:Zo(d0,{serie:x,minValue:p,maxValue:i,className:c?.label,style:u?.label},`label-${I}`))})]})})});import{cn as _c}from"@cleen/ui-core";import{jsx as Hc}from"react/jsx-runtime";var ab={xs:"cleen-size-4",sm:"cleen-size-5",md:"cleen-size-[30px] cleen-border-2",lg:"cleen-size-10 cleen-border-2",xl:"cleen-size-[50px] cleen-border-4"},lb={slow:1.3,normal:.65,fast:.4},ne=({isFullscreen:e,size:t="xs",stroke:r,speed:n="normal",className:l,classNames:a,style:c,styles:s,color:u,...p})=>Hc("div",{className:_c("cleen",l),style:c,children:Hc("div",{className:_c("cleen-flex cleen-justify-center cleen-items-center cleen-w-full cleen-h-full",{"cleen-h-screen cleen-w-screen cleen-bg-background":e},a?.container),style:s?.container,...p,children:Hc("span",{className:_c("cleen-border cleen-rounded-full cleen-border-t-primary cleen-border-x-primary cleen-border-b-transparent cleen-animate-[spin_0.65s_linear_infinite]",typeof t=="string"&&ab[t],a?.loader),style:{...u&&{borderInlineColor:u,borderTopColor:u},...typeof t=="number"&&{width:t,height:t},...typeof r=="number"&&{borderWidth:r},animationDuration:`${typeof n=="number"?n:lb[n]}s`,...s?.loader}})})});import{cn as Uc,useWidthDynamicResize as cb}from"@cleen/ui-core";import{forwardRef as sb,useImperativeHandle as ib,useRef as pb}from"react";var f0={primary:"cleen-text-primary-foreground cleen-shadow-sm cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]",secondary:"cleen-border cleen-border-border cleen-text-foreground hover:cleen-bg-surface hover:cleen-border-muted-foreground disabled:cleen-bg-surface disabled:cleen-text-muted-foreground","secondary-blue":"cleen-border cleen-border-blue cleen-text-blue hover:cleen-bg-blue hover:cleen-text-white disabled:cleen-bg-blue disabled:cleen-text-white","secondary-success":"cleen-border cleen-border-success cleen-text-success hover:cleen-bg-success hover:cleen-text-white disabled:cleen-bg-success disabled:cleen-text-white","secondary-error":"cleen-border cleen-border-error cleen-text-error hover:cleen-bg-error hover:cleen-text-white disabled:cleen-bg-error disabled:cleen-text-white",borderless:"cleen-text-foreground hover:cleen-bg-primary-100 hover:cleen-translate-y-0","borderless-blue":"cleen-text-blue-800 hover:cleen-bg-blue-dark-100 hover:cleen-translate-y-0","borderless-success":"cleen-text-success hover:cleen-bg-success-bg hover:cleen-translate-y-0","borderless-error":"cleen-text-error hover:cleen-bg-error-bg hover:cleen-translate-y-0",error:"cleen-text-white cleen-shadow-sm cleen-bg-error hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-error)),black_12%)]",success:"cleen-text-white cleen-shadow-sm cleen-bg-success hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-success)),black_12%)]",warning:"cleen-text-white cleen-shadow-sm cleen-bg-warning hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-warning)),black_12%)]",black:"cleen-text-white cleen-shadow-sm cleen-bg-black hover:cleen-bg-gray-modern-800",purple:"cleen-text-white cleen-shadow-sm cleen-bg-purple hover:cleen-bg-purple-800",indigo:"cleen-text-white cleen-shadow-sm cleen-bg-indigo hover:cleen-bg-indigo-800",yellow:"cleen-text-black cleen-shadow-sm cleen-bg-yellow hover:cleen-bg-yellow-500"},g0={primary:"rgb(var(--cleen-primary-foreground))",borderless:"rgb(var(--cleen-foreground))","borderless-blue":"rgb(var(--cleen-blue))","borderless-success":"rgb(var(--cleen-success))","borderless-error":"rgb(var(--cleen-error))",secondary:"rgb(var(--cleen-foreground))","secondary-blue":"rgb(var(--cleen-blue))","secondary-success":"rgb(var(--cleen-success))","secondary-error":"rgb(var(--cleen-error))",error:"rgb(var(--cleen-white))",success:"rgb(var(--cleen-white))",warning:"rgb(var(--cleen-white))",black:"rgb(var(--cleen-white))",purple:"rgb(var(--cleen-white))",indigo:"rgb(var(--cleen-white))",yellow:"rgb(var(--cleen-black))"};import{jsx as v0,jsxs as db}from"react/jsx-runtime";var re=sb(function({type:t="button",label:r,onClick:n,className:l,classNames:a,style:c,styles:s,disabled:u=!1,leftIcon:p,rightIcon:i,loaderColor:g,isLoading:h=!1,variant:y="primary",fullWidth:b=!1,children:f,...v},C){let x=pb(null);return ib(C,()=>x.current),cb({ref:x,skip:b},[h,p,i,b]),v0("div",{className:Uc("cleen",l),style:c,children:db("button",{type:t,ref:x,className:Uc("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1 cleen-px-4 cleen-py-2 cleen-rounded-lg focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2 cleen-font-semibold cleen-text-sm cleen-text-nowrap cleen-leading-6 cleen-transition-all hover:-cleen-translate-y-[1px] cleen-duration-200 cleen-ease-in-out",f0[y],{"cleen-w-full cleen-flex-1":b,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":u||h},a?.container),style:s?.container,disabled:h||u,onClick:n,...v,children:[h&&v0(ne,{size:"xs",color:g||g0[y],className:Uc("cleen-mr-1.5 cleen-w-fit",a?.loaderContainer),style:s?.loaderContainer,classNames:{loader:a?.loader},styles:{loader:s?.loader}}),p||null,r||f,i||null]})})});var I0={primary:"cleen-text-primary-foreground cleen-shadow-sm cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]",secondary:"cleen-border-border cleen-text-foreground hover:cleen-bg-surface hover:cleen-border-muted-foreground group-aria-disabled:cleen-bg-surface group-aria-disabled:cleen-text-muted-foreground","secondary-blue":"cleen-border-blue cleen-text-blue hover:cleen-bg-blue hover:cleen-text-white group-aria-disabled:cleen-bg-blue group-aria-disabled:cleen-text-white","secondary-success":"cleen-border-success cleen-text-success hover:cleen-bg-success hover:cleen-text-white group-aria-disabled:cleen-bg-success group-aria-disabled:cleen-text-white","secondary-error":"cleen-border-error cleen-text-error hover:cleen-bg-error hover:cleen-text-white group-aria-disabled:cleen-bg-error group-aria-disabled:cleen-text-white",borderless:"cleen-border-0 cleen-text-foreground hover:cleen-bg-primary-100","borderless-blue":"cleen-border-0 cleen-text-blue-800 hover:cleen-bg-blue-dark-100","borderless-success":"cleen-border-0 cleen-text-success hover:cleen-bg-success-bg","borderless-error":"cleen-border-0 cleen-text-error hover:cleen-bg-error-bg",error:"cleen-text-white cleen-shadow-sm cleen-bg-error hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-error)),black_12%)]",success:"cleen-text-white cleen-shadow-sm cleen-bg-success hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-success)),black_12%)]",warning:"cleen-text-white cleen-shadow-sm cleen-bg-warning hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-warning)),black_12%)]",black:"cleen-text-white cleen-shadow-sm cleen-bg-black hover:cleen-bg-gray-modern-800",purple:"cleen-text-white cleen-shadow-sm cleen-bg-purple hover:cleen-bg-purple-800",indigo:"cleen-text-white cleen-shadow-sm cleen-bg-indigo hover:cleen-bg-indigo-800",yellow:"cleen-text-black cleen-shadow-sm cleen-bg-yellow hover:cleen-bg-yellow-500"},b0={primary:"rgb(var(--cleen-primary-foreground))",borderless:"rgb(var(--cleen-foreground))","borderless-blue":"rgb(var(--cleen-blue))","borderless-success":"rgb(var(--cleen-success))","borderless-error":"rgb(var(--cleen-error))",secondary:"rgb(var(--cleen-foreground))","secondary-blue":"rgb(var(--cleen-blue))","secondary-success":"rgb(var(--cleen-success))","secondary-error":"rgb(var(--cleen-error))",error:"rgb(var(--cleen-white))",success:"rgb(var(--cleen-white))",warning:"rgb(var(--cleen-white))",black:"rgb(var(--cleen-white))",purple:"rgb(var(--cleen-white))",indigo:"rgb(var(--cleen-white))",yellow:"rgb(var(--cleen-black))"};import{cn as Ut,ColorHelpers as Pb}from"@cleen/ui-core";function Qo(e,t,r){return Math.min(Math.max(e,r),t)}var Gc=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}},Gn=Gc;function mb(e){if(typeof e!="string")throw new Gn(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=yb.test(e)?fb(e):e;let r=gb.exec(t);if(r){let c=Array.from(r).slice(1);return[...c.slice(0,3).map(s=>parseInt(Vn(s,2),16)),parseInt(Vn(c[3]||"f",2),16)/255]}let n=vb.exec(t);if(n){let c=Array.from(n).slice(1);return[...c.slice(0,3).map(s=>parseInt(s,16)),parseInt(c[3]||"ff",16)/255]}let l=Ib.exec(t);if(l){let c=Array.from(l).slice(1);return[...c.slice(0,3).map(s=>parseInt(s,10)),parseFloat(c[3]||"1")]}let a=bb.exec(t);if(a){let[c,s,u,p]=Array.from(a).slice(1).map(parseFloat);if(Qo(0,100,s)!==s)throw new Gn(e);if(Qo(0,100,u)!==u)throw new Gn(e);return[...Cb(c,s,u),Number.isNaN(p)?1:p]}throw new Gn(e)}function ub(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return(t>>>0)%2341}var y0=e=>parseInt(e.replace(/_/g,""),36),hb="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let r=y0(t.substring(0,3)),n=y0(t.substring(3)).toString(16),l="";for(let a=0;a<6-n.length;a++)l+="0";return e[r]=`${l}${n}`,e},{});function fb(e){let t=e.toLowerCase().trim(),r=hb[ub(t)];if(!r)throw new Gn(e);return`#${r}`}var Vn=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),gb=new RegExp(`^#${Vn("([a-f0-9])",3)}([a-f0-9])?$`,"i"),vb=new RegExp(`^#${Vn("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Ib=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Vn(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),bb=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,yb=/^[a-z]+$/i,C0=e=>Math.round(e*255),Cb=(e,t,r)=>{let n=r/100;if(t===0)return[n,n,n].map(C0);let l=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*(t/100),c=a*(1-Math.abs(l%2-1)),s=0,u=0,p=0;l>=0&&l<1?(s=a,u=c):l>=1&&l<2?(s=c,u=a):l>=2&&l<3?(u=a,p=c):l>=3&&l<4?(u=c,p=a):l>=4&&l<5?(s=c,p=a):l>=5&&l<6&&(s=a,p=c);let i=n-a/2,g=s+i,h=u+i,y=p+i;return[g,h,y].map(C0)};function xb(e,t,r,n){return`rgba(${Qo(0,255,e).toFixed()}, ${Qo(0,255,t).toFixed()}, ${Qo(0,255,r).toFixed()}, ${parseFloat(Qo(0,1,n).toFixed(3))})`}function Wn(e,t){let[r,n,l,a]=mb(e);return xb(r,n,l,a-t)}import{forwardRef as Sb,useMemo as Mb}from"react";import{jsx as Yo,jsxs as x0}from"react/jsx-runtime";var ie=Sb(function({header:t,footer:r,color:n,isGlass:l=!1,hoverable:a=!1,p:c,gap:s,radius:u=8,children:p,className:i,classNames:g,style:h,styles:y,...b},f){let{cardColor:v,backgroundColor:C,borderColor:x}=Mb(()=>{let I=Pb.getComputedColor(n);return I?{cardColor:I,backgroundColor:Wn(I,.9),borderColor:Wn(I,.8)}:{cardColor:I}},[n]);return Yo("div",{className:Ut("cleen",i),style:h,ref:f,...b,children:x0("div",{className:Ut("cleen-bg-background cleen-pt-6 cleen-border cleen-border-border cleen-flex cleen-flex-col cleen-gap-6 cleen-flex-grow cleen-transition-all cleen-duration-200",a&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",r?.content?"cleen-pb-3":"cleen-pb-6",g?.container),style:{...v&&{backgroundColor:C,borderColor:x,color:v},...l&&{backgroundImage:`linear-gradient(to right, rgba(var(--cleen-black), 0.03) 0%, rgba(255, 255, 255, 0) 5%),
|
|
2
|
+
linear-gradient(to bottom, rgba(var(--cleen-black), 0.03) 0%, rgba(255, 255, 255, 0) 10%)`},...c!==void 0&&{paddingBlock:c},...s!==void 0&&{gap:s},borderRadius:u,...y?.container},children:[(t?.content||t?.title)&&x0("div",{className:Ut("cleen-px-6",g?.header?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.header?.content},children:[t?.title&&Yo("div",{className:Ut("cleen-text-xl cleen-font-bold cleen-text-foreground-emphasis",g?.header?.title),style:{...v&&{color:v},...y?.header?.title},children:t?.title}),t?.content]}),(t?.content||t?.title)&&t?.hasDivider&&Yo("hr",{className:Ut("cleen-text-neutral-200",g?.header?.divider),style:{...v&&{color:x},...y?.header?.divider}}),p&&Yo("div",{className:Ut("cleen-px-6",g?.childrenContainer),style:{...c!==void 0&&{paddingInline:c},...y?.childrenContainer},children:p}),r?.content&&r?.hasDivider&&Yo("hr",{className:Ut("cleen-text-neutral-200",g?.footer?.divider),style:{...v&&{color:x},...y?.footer?.divider}}),r?.content&&Yo("div",{className:Ut("cleen-px-6 -cleen-mt-3 cleen-text-foreground",g?.footer?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.footer?.content},children:r.content})]})})});import{jsx as wb}from"react/jsx-runtime";function o({size:e=24,width:t,height:r,strokeWidth:n=1.5,isFilled:l=!1,children:a,...c}){return delete c.color1,delete c.color2,wb("svg",{xmlns:"http://www.w3.org/2000/svg",width:t??e,height:r??e,viewBox:"0 0 24 24",fill:l?"currentColor":"none",stroke:"currentColor",strokeWidth:l?0:n,strokeLinecap:"round",strokeLinejoin:"round",...c,children:a})}import{jsx as P0,jsxs as kb}from"react/jsx-runtime";var Vc=e=>kb(o,{...e,children:[P0("path",{d:"M9 10.5l2 2l4 -4"}),P0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})]});import{jsx as S0}from"react/jsx-runtime";var Wc=e=>S0(o,{isFilled:!0,...e,children:S0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4zM15.707 7.293a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as $c,jsxs as Bb}from"react/jsx-runtime";var qc=e=>Bb(o,{...e,children:[$c("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v5"}),$c("path",{d:"M16 19h6"}),$c("path",{d:"M19 16v6"})]});import{jsx as Gt,jsxs as Rb}from"react/jsx-runtime";var Xc=e=>Rb(o,{...e,children:[Gt("path",{d:"M3 21l18 0"}),Gt("path",{d:"M9 8l1 0"}),Gt("path",{d:"M9 12l1 0"}),Gt("path",{d:"M9 16l1 0"}),Gt("path",{d:"M14 8l1 0"}),Gt("path",{d:"M14 12l1 0"}),Gt("path",{d:"M14 16l1 0"}),Gt("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16"})]});import{jsx as M0,jsxs as Lb}from"react/jsx-runtime";var Kc=e=>Lb(o,{...e,children:[M0("path",{d:"M10 4h4a1 1 0 0 1 1 1v10M12 20h-2a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1"}),M0("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39"})]});import{jsx as Ra,jsxs as Db}from"react/jsx-runtime";var Zc=e=>Db(o,{...e,children:[Ra("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ra("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Ra("path",{d:"M16.32 3.27a6.5 6.5 0 0 1 0 7.46"}),Ra("path",{d:"M19.37 1.84a9 9 0 0 1 0 10.32"})]});import{jsx as $n,jsxs as Tb}from"react/jsx-runtime";var Qc=e=>Tb(o,{viewBox:"0 0 48 48",...e,children:[$n("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),$n("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),$n("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),$n("path",{d:"M24 18v8"}),$n("path",{d:"M24 30h.01"})]});import{jsx as La,jsxs as Nb}from"react/jsx-runtime";var Yc=e=>Nb(o,{viewBox:"0 0 48 48",...e,children:[La("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),La("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),La("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),La("path",{d:"M18 24l4 4l8 -8"})]});import{jsx as Jc,jsxs as Fb}from"react/jsx-runtime";var ho=e=>Fb(o,{...e,children:[Jc("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Jc("path",{d:"M12 8v4"}),Jc("path",{d:"M12 16h.01"})]});import{jsx as w0}from"react/jsx-runtime";var jc=e=>w0(o,{isFilled:!0,...e,children:w0("path",{d:"M14.897 1a4 4 0 0 1 2.664 1.016l.165 .156l4.1 4.1a4 4 0 0 1 1.168 2.605l.006 .227v5.794a4 4 0 0 1 -1.016 2.664l-.156 .165l-4.1 4.1a4 4 0 0 1 -2.603 1.168l-.227 .006h-5.795a3.999 3.999 0 0 1 -2.664 -1.017l-.165 -.156l-4.1 -4.1a4 4 0 0 1 -1.168 -2.604l-.006 -.227v-5.794a4 4 0 0 1 1.016 -2.664l.156 -.165l4.1 -4.1a4 4 0 0 1 2.605 -1.168l.227 -.006h5.793zm-2.887 14l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z"})});import{jsx as es,jsxs as Eb}from"react/jsx-runtime";var ts=e=>Eb(o,{...e,children:[es("path",{d:"M12 9v4"}),es("path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z"}),es("path",{d:"M12 16h.01"})]});import{jsx as qn,jsxs as Ab}from"react/jsx-runtime";var os=e=>Ab(o,{...e,children:[qn("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),qn("path",{d:"M14 7l6 0"}),qn("path",{d:"M17 4l0 6"})]});import{jsx as ns,jsxs as zb}from"react/jsx-runtime";var rs=e=>zb(o,{...e,children:[ns("path",{d:"M3 4m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),ns("path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"}),ns("path",{d:"M10 12l4 0"})]});import{jsx as Da,jsxs as Ob}from"react/jsx-runtime";var as=e=>Ob(o,{...e,children:[Da("path",{d:"M12 20l0 -10"}),Da("path",{d:"M12 20l4 -4"}),Da("path",{d:"M12 20l-4 -4"}),Da("path",{d:"M4 4l16 0"})]});import{jsx as Ta,jsxs as _b}from"react/jsx-runtime";var ls=e=>_b(o,{...e,children:[Ta("path",{d:"M4 12l10 0"}),Ta("path",{d:"M4 12l4 4"}),Ta("path",{d:"M4 12l4 -4"}),Ta("path",{d:"M20 4l0 16"})]});import{jsx as Na,jsxs as Hb}from"react/jsx-runtime";var cs=e=>Hb(o,{...e,children:[Na("path",{d:"M20 12l-10 0"}),Na("path",{d:"M20 12l-4 4"}),Na("path",{d:"M20 12l-4 -4"}),Na("path",{d:"M4 4l0 16"})]});import{jsx as Fa,jsxs as Ub}from"react/jsx-runtime";var ss=e=>Ub(o,{...e,children:[Fa("path",{d:"M4 20l16 0"}),Fa("path",{d:"M12 14l0 -10"}),Fa("path",{d:"M12 14l4 -4"}),Fa("path",{d:"M12 14l-4 -4"})]});import{jsx as Ea,jsxs as Gb}from"react/jsx-runtime";var is=e=>Gb(o,{...e,children:[Ea("path",{d:"M10 12l10 0"}),Ea("path",{d:"M10 12l4 4"}),Ea("path",{d:"M10 12l4 -4"}),Ea("path",{d:"M4 4l0 16"})]});import{jsx as Aa,jsxs as Vb}from"react/jsx-runtime";var ps=e=>Vb(o,{...e,children:[Aa("path",{d:"M14 12l-10 0"}),Aa("path",{d:"M14 12l-4 4"}),Aa("path",{d:"M14 12l-4 -4"}),Aa("path",{d:"M20 4l0 16"})]});import{jsx as za,jsxs as Wb}from"react/jsx-runtime";var ds=e=>Wb(o,{...e,children:[za("path",{d:"M12 10l0 10"}),za("path",{d:"M12 10l4 4"}),za("path",{d:"M12 10l-4 4"}),za("path",{d:"M4 4l16 0"})]});import{jsx as Oa,jsxs as $b}from"react/jsx-runtime";var ms=e=>$b(o,{...e,children:[Oa("path",{d:"M12 4l0 10"}),Oa("path",{d:"M12 4l4 4"}),Oa("path",{d:"M12 4l-4 4"}),Oa("path",{d:"M4 20l16 0"})]});import{jsx as us,jsxs as qb}from"react/jsx-runtime";var hs=e=>qb(o,{...e,children:[us("path",{d:"M12 5l0 14"}),us("path",{d:"M18 13l-6 6"}),us("path",{d:"M6 13l6 6"})]});import{jsx as k0,jsxs as Xb}from"react/jsx-runtime";var fs=e=>Xb(o,{...e,children:[k0("path",{d:"M17 7l-10 10"}),k0("path",{d:"M16 17l-9 0l0 -9"})]});import{jsx as gs,jsxs as Kb}from"react/jsx-runtime";var vs=e=>Kb(o,{...e,children:[gs("path",{d:"M12 5l0 14"}),gs("path",{d:"M16 15l-4 4"}),gs("path",{d:"M8 15l4 4"})]});import{jsx as B0,jsxs as Zb}from"react/jsx-runtime";var Is=e=>Zb(o,{...e,children:[B0("path",{d:"M7 7l10 10"}),B0("path",{d:"M17 8l0 9l-9 0"})]});import{jsx as bs,jsxs as Qb}from"react/jsx-runtime";var ys=e=>Qb(o,{...e,children:[bs("path",{d:"M5 12l14 0"}),bs("path",{d:"M5 12l6 6"}),bs("path",{d:"M5 12l6 -6"})]});import{jsx as Cs,jsxs as Yb}from"react/jsx-runtime";var xs=e=>Yb(o,{...e,children:[Cs("path",{d:"M5 12l14 0"}),Cs("path",{d:"M5 12l4 4"}),Cs("path",{d:"M5 12l4 -4"})]});import{jsx as Ps,jsxs as Jb}from"react/jsx-runtime";var Ss=e=>Jb(o,{...e,children:[Ps("path",{d:"M5 12l14 0"}),Ps("path",{d:"M13 18l6 -6"}),Ps("path",{d:"M13 6l6 6"})]});import{jsx as Ms,jsxs as jb}from"react/jsx-runtime";var ws=e=>jb(o,{...e,children:[Ms("path",{d:"M5 12l14 0"}),Ms("path",{d:"M15 16l4 -4"}),Ms("path",{d:"M15 8l4 4"})]});import{jsx as ks,jsxs as ey}from"react/jsx-runtime";var Bs=e=>ey(o,{...e,children:[ks("path",{d:"M12 5l0 14"}),ks("path",{d:"M18 11l-6 -6"}),ks("path",{d:"M6 11l6 -6"})]});import{jsx as R0,jsxs as ty}from"react/jsx-runtime";var Rs=e=>ty(o,{...e,children:[R0("path",{d:"M7 7l10 10"}),R0("path",{d:"M16 7l-9 0l0 9"})]});import{jsx as Ls,jsxs as oy}from"react/jsx-runtime";var Ds=e=>oy(o,{...e,children:[Ls("path",{d:"M12 5l0 14"}),Ls("path",{d:"M16 9l-4 -4"}),Ls("path",{d:"M8 9l4 -4"})]});import{jsx as L0,jsxs as ny}from"react/jsx-runtime";var Ts=e=>ny(o,{...e,children:[L0("path",{d:"M17 7l-10 10"}),L0("path",{d:"M8 7l9 0l0 9"})]});import{jsx as D0}from"react/jsx-runtime";var Ns=e=>D0(o,{...e,children:D0("path",{d:"M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5"})});import{jsx as _a,jsxs as ry}from"react/jsx-runtime";var Fs=e=>ry(o,{...e,children:[_a("path",{d:"M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),_a("path",{d:"M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),_a("path",{d:"M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),_a("path",{d:"M4 20h14"})]});import{jsx as Xn,jsxs as ay}from"react/jsx-runtime";var Es=e=>ay(o,{...e,children:[Xn("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),Xn("path",{d:"M6 14.5a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),Xn("path",{d:"M14 11a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v6.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),Xn("path",{d:"M10 7a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v10.5a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),Xn("path",{d:"M7 18.5h10"})]});import{jsx as T0,jsxs as ly}from"react/jsx-runtime";var As=e=>ly(o,{...e,children:[T0("path",{d:"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"}),T0("path",{d:"M9 17v1a3 3 0 0 0 6 0v-1"})]});import{jsx as N0,jsxs as cy}from"react/jsx-runtime";var zs=e=>cy(o,{...e,children:[N0("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),N0("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})]});import{jsx as F0}from"react/jsx-runtime";var Os=e=>F0(o,{...e,children:F0("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})});import{jsx as E0}from"react/jsx-runtime";var _s=e=>E0(o,{isFilled:!0,...e,children:E0("path",{d:"M14 2a5 5 0 0 1 5 5v14a1 1 0 0 1 -1.555 .832l-5.445 -3.63l-5.444 3.63a1 1 0 0 1 -1.55 -.72l-.006 -.112v-14a5 5 0 0 1 5 -5h4z"})});import{jsx as A0,jsxs as sy}from"react/jsx-runtime";var Hs=e=>sy(o,{...e,children:[A0("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v8"}),A0("path",{d:"M16 19h6"})]});import{jsx as Us,jsxs as iy}from"react/jsx-runtime";var Gs=e=>iy(o,{...e,children:[Us("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v6.5"}),Us("path",{d:"M20.5 21.5l-5 -5"}),Us("path",{d:"M15.5 21.5l5 -5"})]});import{jsx as Kn,jsxs as py}from"react/jsx-runtime";var Vs=e=>py(o,{...e,children:[Kn("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Kn("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Kn("path",{d:"M3 6l0 13"}),Kn("path",{d:"M12 6l0 13"}),Kn("path",{d:"M21 6l0 13"})]});import{jsx as Ha,jsxs as dy}from"react/jsx-runtime";var Ws=e=>dy(o,{...e,children:[Ha("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Ha("path",{d:"M9 13h-2"}),Ha("path",{d:"M13 10h-6"}),Ha("path",{d:"M11 7h-4"})]});import{jsx as $s,jsxs as my}from"react/jsx-runtime";var qs=e=>my(o,{...e,children:[$s("path",{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),$s("path",{d:"M10 8h4"}),$s("path",{d:"M12 8v8"})]});import{jsx as Xs,jsxs as uy}from"react/jsx-runtime";var Ks=e=>uy(o,{...e,children:[Xs("path",{d:"M9 12l2 2l4 -4"}),Xs("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Xs("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as Zn,jsxs as hy}from"react/jsx-runtime";var Zs=e=>hy(o,{...e,children:[Zn("path",{d:"M15 12h.01"}),Zn("path",{d:"M12 12h.01"}),Zn("path",{d:"M9 12h.01"}),Zn("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Zn("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as Ct,jsxs as fy}from"react/jsx-runtime";var Qs=e=>fy(o,{...e,children:[Ct("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Ct("path",{d:"M4 8h16"}),Ct("path",{d:"M20 12h-16"}),Ct("path",{d:"M4 16h16"}),Ct("path",{d:"M9 4v4"}),Ct("path",{d:"M14 8v4"}),Ct("path",{d:"M8 12v4"}),Ct("path",{d:"M16 12v4"}),Ct("path",{d:"M11 16v4"})]});import{jsx as Ua,jsxs as gy}from"react/jsx-runtime";var Ys=e=>gy(o,{...e,children:[Ua("path",{d:"M3 7m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"}),Ua("path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2"}),Ua("path",{d:"M12 12l0 .01"}),Ua("path",{d:"M3 13a20 20 0 0 0 18 0"})]});import{jsx as Vt,jsxs as vy}from"react/jsx-runtime";var Js=e=>vy(o,{...e,children:[Vt("path",{d:"M4 3m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Vt("path",{d:"M8 7m0 1a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v1a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1z"}),Vt("path",{d:"M8 14l0 .01"}),Vt("path",{d:"M12 14l0 .01"}),Vt("path",{d:"M16 14l0 .01"}),Vt("path",{d:"M8 17l0 .01"}),Vt("path",{d:"M12 17l0 .01"}),Vt("path",{d:"M16 17l0 .01"})]});import{jsx as Jo,jsxs as Iy}from"react/jsx-runtime";var Qn=e=>Iy(o,{...e,children:[Jo("path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12z"}),Jo("path",{d:"M16 3v4"}),Jo("path",{d:"M8 3v4"}),Jo("path",{d:"M4 11h16"}),Jo("path",{d:"M11 15h1"}),Jo("path",{d:"M12 15v3"})]});import{jsx as jo,jsxs as by}from"react/jsx-runtime";var js=e=>by(o,{...e,children:[jo("path",{d:"M15 15m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),jo("path",{d:"M13 17.5v4.5l2 -1.5l2 1.5v-4.5"}),jo("path",{d:"M10 19h-5a2 2 0 0 1 -2 -2v-10c0 -1.1 .9 -2 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -1 1.73"}),jo("path",{d:"M6 9l12 0"}),jo("path",{d:"M6 12l3 0"}),jo("path",{d:"M6 15l2 0"})]});import{jsx as z0}from"react/jsx-runtime";var xt=e=>z0(o,{...e,children:z0("path",{d:"M5 12l5 5l10 -10"})});import{jsx as O0,jsxs as yy}from"react/jsx-runtime";var fo=e=>yy(o,{...e,children:[O0("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),O0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as _0,jsxs as Cy}from"react/jsx-runtime";var ei=e=>Cy(o,{...e,children:[_0("path",{d:"M16.8 4.3a9 9 0 1 0 4.3 6.1"}),_0("path",{d:"M8.5 12l3 3l9.5 -10"})]});import{jsx as H0}from"react/jsx-runtime";var ti=e=>H0(o,{isFilled:!0,...e,children:H0("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as U0,jsxs as xy}from"react/jsx-runtime";var oi=e=>xy(o,{...e,children:[U0("path",{d:"M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1"}),U0("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as G0}from"react/jsx-runtime";var ni=e=>G0(o,{isFilled:!0,...e,children:G0("path",{d:"M12.01 2.011a3.2 3.2 0 0 1 2.113 .797l.154 .145l.698 .698a1.2 1.2 0 0 0 .71 .341l.135 .008h1a3.2 3.2 0 0 1 3.195 3.018l.005 .182v1c0 .27 .092 .533 .258 .743l.09 .1l.697 .698a3.2 3.2 0 0 1 .147 4.382l-.145 .154l-.698 .698a1.2 1.2 0 0 0 -.341 .71l-.008 .135v1a3.2 3.2 0 0 1 -3.018 3.195l-.182 .005h-1a1.2 1.2 0 0 0 -.743 .258l-.1 .09l-.698 .697a3.2 3.2 0 0 1 -4.382 .147l-.154 -.145l-.698 -.698a1.2 1.2 0 0 0 -.71 -.341l-.135 -.008h-1a3.2 3.2 0 0 1 -3.195 -3.018l-.005 -.182v-1a1.2 1.2 0 0 0 -.258 -.743l-.09 -.1l-.697 -.698a3.2 3.2 0 0 1 -.147 -4.382l.145 -.154l.698 -.698a1.2 1.2 0 0 0 .341 -.71l.008 -.135v-1l.005 -.182a3.2 3.2 0 0 1 3.013 -3.013l.182 -.005h1a1.2 1.2 0 0 0 .743 -.258l.1 -.09l.698 -.697a3.2 3.2 0 0 1 2.269 -.944zm3.697 7.282a1 1 0 0 0 -1.414 0l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.32 1.497l2 2l.094 .083a1 1 0 0 0 1.32 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z"})});import{jsx as V0}from"react/jsx-runtime";var Yn=e=>V0(o,{...e,children:V0("path",{d:"M6 9l6 6l6 -6"})});import{jsx as W0,jsxs as Py}from"react/jsx-runtime";var ri=e=>Py(o,{...e,children:[W0("path",{d:"M7 7l5 5l5 -5"}),W0("path",{d:"M7 13l5 5l5 -5"})]});import{jsx as $0}from"react/jsx-runtime";var ai=e=>$0(o,{...e,children:$0("path",{d:"M8 8v8h8"})});import{jsx as q0,jsxs as Sy}from"react/jsx-runtime";var li=e=>Sy(o,{...e,children:[q0("path",{d:"M11 5v8h8"}),q0("path",{d:"M7 9v8h8"})]});import{jsx as X0}from"react/jsx-runtime";var ci=e=>X0(o,{...e,children:X0("path",{d:"M16 8v8h-8"})});import{jsx as K0,jsxs as My}from"react/jsx-runtime";var si=e=>My(o,{...e,children:[K0("path",{d:"M13 5v8h-8"}),K0("path",{d:"M17 9v8h-8"})]});import{jsx as Z0}from"react/jsx-runtime";var Pt=e=>Z0(o,{...e,children:Z0("path",{d:"M15 6l-6 6l6 6"})});import{jsx as Q0,jsxs as wy}from"react/jsx-runtime";var ii=e=>wy(o,{...e,children:[Q0("path",{d:"M11 7l-5 5l5 5"}),Q0("path",{d:"M17 7l-5 5l5 5"})]});import{jsx as Y0}from"react/jsx-runtime";var ot=e=>Y0(o,{...e,children:Y0("path",{d:"M9 6l6 6l-6 6"})});import{jsx as J0,jsxs as ky}from"react/jsx-runtime";var Jn=e=>ky(o,{...e,children:[J0("path",{d:"M7 7l5 5l-5 5"}),J0("path",{d:"M13 7l5 5l-5 5"})]});import{jsx as j0,jsxs as By}from"react/jsx-runtime";var pi=e=>By(o,{...e,children:[j0("path",{d:"M8 9l4 -4l4 4"}),j0("path",{d:"M16 15l-4 4l-4 -4"})]});import{jsx as ef}from"react/jsx-runtime";var St=e=>ef(o,{...e,children:ef("path",{d:"M6 15l6 -6l6 6"})});import{jsx as tf,jsxs as Ry}from"react/jsx-runtime";var di=e=>Ry(o,{...e,children:[tf("path",{d:"M7 11l5 -5l5 5"}),tf("path",{d:"M7 17l5 -5l5 5"})]});import{jsx as of}from"react/jsx-runtime";var mi=e=>of(o,{...e,children:of("path",{d:"M8 16v-8h8"})});import{jsx as nf,jsxs as Ly}from"react/jsx-runtime";var ui=e=>Ly(o,{...e,children:[nf("path",{d:"M7 15v-8h8"}),nf("path",{d:"M11 19v-8h8"})]});import{jsx as rf}from"react/jsx-runtime";var hi=e=>rf(o,{...e,children:rf("path",{d:"M8 8h8v8"})});import{jsx as af,jsxs as Dy}from"react/jsx-runtime";var fi=e=>Dy(o,{...e,children:[af("path",{d:"M9 7h8v8"}),af("path",{d:"M5 11h8v8"})]});import{jsx as en,jsxs as Ty}from"react/jsx-runtime";var gi=e=>Ty(o,{...e,children:[en("path",{d:"M3 12l3 0"}),en("path",{d:"M12 3l0 3"}),en("path",{d:"M7.8 7.8l-2.2 -2.2"}),en("path",{d:"M16.2 7.8l2.2 -2.2"}),en("path",{d:"M7.8 16.2l-2.2 2.2"}),en("path",{d:"M12 12l9 3l-4 2l-2 4l-3 -9"})]});import{jsx as lf,jsxs as Ny}from"react/jsx-runtime";var vi=e=>Ny(o,{...e,children:[lf("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),lf("path",{d:"M12 7v5l3 3"})]});import{jsx as Ga,jsxs as Fy}from"react/jsx-runtime";var Ii=e=>Fy(o,{...e,children:[Ga("path",{d:"M12 7v5l2 2"}),Ga("path",{d:"M16.5 20.5l2 -1.5l-2 -1.5z"}),Ga("path",{d:"M19 20.5l2 -1.5l-2 -1.5z"}),Ga("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as bi,jsxs as Ey}from"react/jsx-runtime";var yi=e=>Ey(o,{...e,children:[bi("path",{d:"M12 7v5l2 2"}),bi("path",{d:"M17 22l5 -3l-5 -3z"}),bi("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as cf,jsxs as Ay}from"react/jsx-runtime";var Ci=e=>Ay(o,{...e,children:[cf("path",{d:"M12 8l0 4l2 2"}),cf("path",{d:"M3.05 13a9 9 0 1 0 .5 -4m-.5 -5v5h5"})]});import{jsx as jn,jsxs as zy}from"react/jsx-runtime";var xi=e=>zy(o,{...e,children:[jn("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),jn("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667v-8.666"}),jn("path",{d:"M11 14h6"}),jn("path",{d:"M14 11v6"}),jn("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as Pi,jsxs as Oy}from"react/jsx-runtime";var Si=e=>Oy(o,{...e,children:[Pi("path",{d:"M7 8l-4 4l4 4"}),Pi("path",{d:"M17 8l4 4l-4 4"}),Pi("path",{d:"M14 4l-4 16"})]});import{jsx as tn,jsxs as _y}from"react/jsx-runtime";var Mi=e=>_y(o,{...e,children:[tn("path",{d:"M4 8h16"}),tn("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),tn("path",{d:"M8 4v4"}),tn("path",{d:"M9 12l-2 2l2 2"}),tn("path",{d:"M15 12l2 2l-2 2"}),tn("path",{d:"M13 11l-2 6"})]});import{jsx as wi,jsxs as Hy}from"react/jsx-runtime";var ki=e=>Hy(o,{...e,children:[wi("path",{d:"M10 14l-2 -2l2 -2"}),wi("path",{d:"M14 10l2 2l-2 2"}),wi("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Bi,jsxs as Uy}from"react/jsx-runtime";var Ri=e=>Uy(o,{...e,children:[Bi("path",{d:"M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bi("path",{d:"M6.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bi("path",{d:"M17.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})]});import{jsx as sf,jsxs as Gy}from"react/jsx-runtime";var Li=e=>Gy(o,{...e,children:[sf("path",{d:"M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),sf("path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"})]});import{jsx as pf,jsxs as Vy}from"react/jsx-runtime";var Di=e=>Vy(o,{...e,children:[pf("path",{d:"M8 10a2 2 0 0 1 2 -2h9a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-9a2 2 0 0 1 -2 -2z"}),pf("path",{d:"M16 8v-3a2 2 0 0 0 -2 -2h-9a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h3"})]});import{jsx as Ti,jsxs as Wy}from"react/jsx-runtime";var Ni=e=>Wy(o,{...e,children:[Ti("path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z"}),Ti("path",{d:"M4.012 16.737a2 2 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1"}),Ti("path",{d:"M11 14l2 2l4 -4"})]});import{jsx as Va,jsxs as $y}from"react/jsx-runtime";var Fi=e=>$y(o,{...e,children:[Va("path",{d:"M3 5m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),Va("path",{d:"M3 10l18 0"}),Va("path",{d:"M7 15l.01 0"}),Va("path",{d:"M11 15l2 0"})]});import{jsx as Wa,jsxs as qy}from"react/jsx-runtime";var Ei=e=>qy(o,{...e,children:[Wa("path",{d:"M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718z"}),Wa("path",{d:"M12 22v-10"}),Wa("path",{d:"M12 12l8.73 -5.04"}),Wa("path",{d:"M3.27 6.96l8.73 5.04"})]});import{jsx as $e,jsxs as Xy}from"react/jsx-runtime";var Ai=e=>Xy(o,{...e,children:[$e("path",{d:"M6 17.6l-2 -1.1v-2.5"}),$e("path",{d:"M4 10v-2.5l2 -1.1"}),$e("path",{d:"M10 4.1l2 -1.1l2 1.1"}),$e("path",{d:"M18 6.4l2 1.1v2.5"}),$e("path",{d:"M20 14v2.5l-2 1.12"}),$e("path",{d:"M14 19.9l-2 1.1l-2 -1.1"}),$e("path",{d:"M12 12l2 -1.1"}),$e("path",{d:"M18 8.6l2 -1.1"}),$e("path",{d:"M12 12l0 2.5"}),$e("path",{d:"M12 18.5l0 2.5"}),$e("path",{d:"M12 12l-2 -1.12"}),$e("path",{d:"M6 8.6l-2 -1.1"})]});import{jsx as df,jsxs as Ky}from"react/jsx-runtime";var er=e=>Ky(o,{...e,children:[df("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v5.5M10.5 20h-5.5a2 2 0 0 1 -2 -2v-13"}),df("path",{d:"M18 17l2.822 -1.101c.8125 -.317 .769 -1.481 -.065 -1.7365l-7.1595 -2.191c-.705 -.215 -1.365 .444 -1.149 1.149l2.191 7.159c.255 .834 1.42 .877 1.7365 .065l1.101 -2.822a.92 .92 0 0 1 .5225 -.5225"})]});import{jsx as go,jsxs as Zy}from"react/jsx-runtime";var zi=e=>Zy(o,{...e,children:[go("path",{d:"M5 2h5v4h-5z"}),go("path",{d:"M15 10h5v4h-5z"}),go("path",{d:"M5 18h5v4h-5z"}),go("path",{d:"M5 10h5v4h-5z"}),go("path",{d:"M10 12h5"}),go("path",{d:"M7.5 6v4"}),go("path",{d:"M7.5 14v4"})]});import{jsx as qe,jsxs as Qy}from"react/jsx-runtime";var Oi=e=>Qy(o,{...e,children:[qe("path",{d:"M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M12 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M20 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M4 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M16 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),qe("path",{d:"M5 17l2 -3"}),qe("path",{d:"M9 10l2 -3"}),qe("path",{d:"M13 7l2 3"}),qe("path",{d:"M17 14l2 3"}),qe("path",{d:"M15 14l-2 3"}),qe("path",{d:"M9 14l2 3"})]});import{jsx as tr,jsxs as Yy}from"react/jsx-runtime";var _i=e=>Yy(o,{...e,children:[tr("path",{d:"M3 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),tr("path",{d:"M15 15m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),tr("path",{d:"M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),tr("path",{d:"M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1"}),tr("path",{d:"M12 9l0 3"})]});import{jsx as Hi,jsxs as Jy}from"react/jsx-runtime";var Ui=e=>Jy(o,{...e,children:[Hi("path",{d:"M4 4l16 0"}),Hi("path",{d:"M4 20l16 0"}),Hi("path",{d:"M6 9m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v2a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as mf,jsxs as jy}from"react/jsx-runtime";var Gi=e=>jy(o,{...e,children:[mf("path",{d:"M16.7 8a3 3 0 0 0 -2.7 -2h-4a3 3 0 0 0 0 6h4a3 3 0 0 1 0 6h-4a3 3 0 0 1 -2.7 -2"}),mf("path",{d:"M12 3v3m0 12v3"})]});import{jsx as Vi,jsxs as eC}from"react/jsx-runtime";var Wi=e=>eC(o,{...e,children:[Vi("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Vi("path",{d:"M14.8 9a2 2 0 0 0 -1.8 -1h-2a2 2 0 1 0 0 4h2a2 2 0 1 1 0 4h-2a2 2 0 0 1 -1.8 -1"}),Vi("path",{d:"M12 7v10"})]});import{jsx as uf}from"react/jsx-runtime";var $i=e=>uf(o,{...e,children:uf("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})});import{jsx as hf}from"react/jsx-runtime";var qi=e=>hf(o,{isFilled:!0,...e,children:hf("path",{d:"M12 7a5 5 0 1 1 -4.995 5.217l-.005 -.217l.005 -.217a5 5 0 0 1 4.995 -4.783z"})});import{jsx as Mt,jsxs as tC}from"react/jsx-runtime";var Xi=e=>tC(o,{...e,children:[Mt("path",{d:"M5 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M19 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M5 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Mt("path",{d:"M19 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Ki,jsxs as oC}from"react/jsx-runtime";var Zi=e=>oC(o,{...e,children:[Ki("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ki("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ki("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Qi,jsxs as nC}from"react/jsx-runtime";var on=e=>nC(o,{...e,children:[Qi("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Qi("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Yi,jsxs as rC}from"react/jsx-runtime";var Ji=e=>rC(o,{...e,children:[Yi("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),Yi("path",{d:"M7 11l5 5l5 -5"}),Yi("path",{d:"M12 4l0 12"})]});import{jsx as ff,jsxs as aC}from"react/jsx-runtime";var ji=e=>aC(o,{...e,children:[ff("path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),ff("path",{d:"M13.5 6.5l4 4"})]});import{jsx as ep,jsxs as lC}from"react/jsx-runtime";var tp=e=>lC(o,{...e,children:[ep("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),ep("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),ep("path",{d:"M16 5l3 3"})]});import{jsx as Wt,jsxs as cC}from"react/jsx-runtime";var op=e=>cC(o,{...e,children:[Wt("path",{d:"M16 4l4 0l0 4"}),Wt("path",{d:"M14 10l6 -6"}),Wt("path",{d:"M8 20l-4 0l0 -4"}),Wt("path",{d:"M4 20l6 -6"}),Wt("path",{d:"M16 20l4 0l0 -4"}),Wt("path",{d:"M14 14l6 6"}),Wt("path",{d:"M8 4l-4 0l0 4"}),Wt("path",{d:"M4 4l6 6"})]});import{jsx as np,jsxs as sC}from"react/jsx-runtime";var rp=e=>sC(o,{...e,children:[np("path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"}),np("path",{d:"M11 13l9 -9"}),np("path",{d:"M15 4h5v5"})]});import{jsx as ap,jsxs as iC}from"react/jsx-runtime";var lp=e=>iC(o,{...e,children:[ap("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),ap("path",{d:"M15 9l-6 6"}),ap("path",{d:"M10 9l5 0l0 5"})]});import{jsx as gf,jsxs as pC}from"react/jsx-runtime";var cp=e=>pC(o,{...e,children:[gf("path",{d:"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),gf("path",{d:"M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"})]});import{jsx as sp,jsxs as dC}from"react/jsx-runtime";var ip=e=>dC(o,{...e,children:[sp("path",{d:"M10.585 10.587a2 2 0 0 0 2.829 2.828"}),sp("path",{d:"M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87"}),sp("path",{d:"M3 3l18 18"})]});import{jsx as or,jsxs as mC}from"react/jsx-runtime";var pp=e=>mC(o,{...e,children:[or("path",{d:"M21 9c-2.4 2.667 -5.4 4 -9 4c-3.6 0 -6.6 -1.333 -9 -4"}),or("path",{d:"M3 15l2.5 -3.8"}),or("path",{d:"M21 14.976l-2.492 -3.776"}),or("path",{d:"M9 17l.5 -4"}),or("path",{d:"M15 17l-.5 -4"})]});import{jsx as $a,jsxs as uC}from"react/jsx-runtime";var dp=e=>uC(o,{...e,children:[$a("path",{d:"M12 21a9 9 0 1 1 0 -18a9 9 0 0 1 0 18z"}),$a("path",{d:"M8 9l2 1"}),$a("path",{d:"M16 9l-2 1"}),$a("path",{d:"M14.5 16.05a3.5 3.5 0 0 0 -5 0"})]});import{jsx as nn,jsxs as hC}from"react/jsx-runtime";var mp=e=>hC(o,{...e,children:[nn("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),nn("path",{d:"M7 8.5l3 3"}),nn("path",{d:"M7 11.5l3 -3"}),nn("path",{d:"M14 8.5l3 3"}),nn("path",{d:"M14 11.5l3 -3"}),nn("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as qa,jsxs as fC}from"react/jsx-runtime";var up=e=>fC(o,{...e,children:[qa("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),qa("path",{d:"M9 10l.01 0"}),qa("path",{d:"M15 10l.01 0"}),qa("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as vf,jsxs as gC}from"react/jsx-runtime";var vo=e=>gC(o,{...e,children:[vf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),vf("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"})]});import{jsx as hp,jsxs as vC}from"react/jsx-runtime";var fp=e=>vC(o,{...e,children:[hp("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),hp("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),hp("path",{d:"M9 15l2 2l4 -4"})]});import{jsx as nr,jsxs as IC}from"react/jsx-runtime";var rr=e=>IC(o,{...e,children:[nr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),nr("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),nr("path",{d:"M7 16.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0"}),nr("path",{d:"M10 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),nr("path",{d:"M16 15l2 6l2 -6"})]});import{jsx as Xa,jsxs as bC}from"react/jsx-runtime";var gp=e=>bC(o,{...e,children:[Xa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Xa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Xa("path",{d:"M12 17v-6"}),Xa("path",{d:"M9.5 14.5l2.5 2.5l2.5 -2.5"})]});import{jsx as rn,jsxs as yC}from"react/jsx-runtime";var ar=e=>yC(o,{...e,children:[rn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),rn("path",{d:"M5 12v-8a2 2 0 0 1 2 -2h7l5 5v5"}),rn("path",{d:"M4 15.125h2.5v4.5a1.25 1.25 0 0 1 -2.5 0v-.5"}),rn("path",{d:"M8.5 20.25c0 .345 .28 .625 .625 .625h1a.875 .875 0 0 0 .875 -.875v-1.125a.875 .875 0 0 0 -.875 -.875h-.75a.875 .875 0 0 1 -.875 -.875v-1.125a.875 .875 0 0 1 .875 -.875h1a.625 .625 0 0 1 .625 .625"}),rn("path",{d:"M14.25 15.125a1.25 1.25 0 0 1 1.25 1.25v3.25a1.25 1.25 0 1 1 -2.5 0v-3.25a1.25 1.25 0 0 1 1.25 -1.25z"}),rn("path",{d:"M17.5 20.875v-5.75l2.5 5.75v-5.75"})]});import{jsx as Ka,jsxs as CC}from"react/jsx-runtime";var vp=e=>CC(o,{...e,children:[Ka("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ka("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Ka("path",{d:"M9 17h6"}),Ka("path",{d:"M9 13h6"})]});import{jsx as Za,jsxs as xC}from"react/jsx-runtime";var Xe=e=>xC(o,{...e,children:[Za("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Za("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Za("path",{d:"M11 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Za("path",{d:"M12 16l0 -5l2 1"})]});import{jsx as an,jsxs as PC}from"react/jsx-runtime";var Io=e=>PC(o,{...e,children:[an("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),an("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),an("path",{d:"M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6"}),an("path",{d:"M17 18h2"}),an("path",{d:"M20 15h-3v6"}),an("path",{d:"M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z"})]});import{jsx as Ip,jsxs as SC}from"react/jsx-runtime";var bp=e=>SC(o,{...e,children:[Ip("path",{d:"M15 3v4a1 1 0 0 0 1 1h4"}),Ip("path",{d:"M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z"}),Ip("path",{d:"M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2"})]});import{jsx as lr,jsxs as MC}from"react/jsx-runtime";var cr=e=>MC(o,{...e,children:[lr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),lr("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),lr("path",{d:"M8 11h8v7h-8z"}),lr("path",{d:"M8 15h8"}),lr("path",{d:"M11 11v7"})]});import{jsx as sr,jsxs as wC}from"react/jsx-runtime";var wt=e=>wC(o,{...e,children:[sr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),sr("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),sr("path",{d:"M9 9l1 0"}),sr("path",{d:"M9 13l6 0"}),sr("path",{d:"M9 17l6 0"})]});import{jsx as Qa,jsxs as kC}from"react/jsx-runtime";var yp=e=>kC(o,{...e,children:[Qa("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Qa("path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"}),Qa("path",{d:"M12 11v6"}),Qa("path",{d:"M9.5 13.5l2.5 -2.5l2.5 2.5"})]});import{jsx as ln,jsxs as BC}from"react/jsx-runtime";var ir=e=>BC(o,{...e,children:[ln("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),ln("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),ln("path",{d:"M4 15l4 6"}),ln("path",{d:"M4 21l4 -6"}),ln("path",{d:"M17 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-1a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-1a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),ln("path",{d:"M11 15v6h3"})]});import{jsx as $t,jsxs as RC}from"react/jsx-runtime";var pr=e=>RC(o,{...e,children:[$t("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),$t("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v5"}),$t("path",{d:"M4 16l3 5"}),$t("path",{d:"M4 21l3 -5"}),$t("path",{d:"M8.5 16v5h2"}),$t("path",{d:"M12 20.25c0 .414 .336 .75 .75 .75h1.25a1 1 0 0 0 1 -1v-0.5a1 1 0 0 0 -1 -1h-1a1 1 0 0 1 -1 -1v-0.5a1 1 0 0 1 1 -1h1.25a.75 .75 0 0 1 .75 .75"}),$t("path",{d:"M16.5 16l3 5"}),$t("path",{d:"M16.5 21l3 -5"})]});import{jsx as qt,jsxs as LC}from"react/jsx-runtime";var ct=e=>LC(o,{...e,children:[qt("path",{d:"M6 20.735a2 2 0 0 1 -1 -1.735v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-1"}),qt("path",{d:"M11 17a2 2 0 0 1 2 2v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-2a2 2 0 0 1 2 -2z"}),qt("path",{d:"M11 5l-1 0"}),qt("path",{d:"M13 7l-1 0"}),qt("path",{d:"M11 9l-1 0"}),qt("path",{d:"M13 11l-1 0"}),qt("path",{d:"M11 13l-1 0"}),qt("path",{d:"M13 15l-1 0"})]});import{jsx as If}from"react/jsx-runtime";var Cp=e=>If(o,{...e,children:If("path",{d:"M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z"})});import{jsx as xp,jsxs as DC}from"react/jsx-runtime";var dr=e=>DC(o,{...e,children:[xp("path",{d:"M4 6h16"}),xp("path",{d:"M6 12h12"}),xp("path",{d:"M9 18h6"})]});import{jsx as bf,jsxs as TC}from"react/jsx-runtime";var Pp=e=>TC(o,{...e,children:[bf("path",{d:"M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0v9a5 5 0 0 1 -7 0a5 5 0 0 0 -7 0v-9z"}),bf("path",{d:"M5 21v-7"})]});import{jsx as yf}from"react/jsx-runtime";var Sp=e=>yf(o,{...e,children:yf("path",{d:"M5 14h14v-9h-14v16"})});import{jsx as Cf}from"react/jsx-runtime";var Mp=e=>Cf(o,{isFilled:!0,...e,children:Cf("path",{d:"M4 5a1 1 0 0 1 .3 -.714a6 6 0 0 1 8.213 -.176l.351 .328a4 4 0 0 0 5.272 0l.249 -.227c.61 -.483 1.527 -.097 1.61 .676l.005 .113v9a1 1 0 0 1 -.3 .714a6 6 0 0 1 -8.213 .176l-.351 -.328a4 4 0 0 0 -5.136 -.114v6.552a1 1 0 0 1 -1.993 .117l-.007 -.117v-16z"})});import{jsx as mr,jsxs as NC}from"react/jsx-runtime";var wp=e=>NC(o,{...e,children:[mr("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),mr("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),mr("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),mr("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),mr("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as xf}from"react/jsx-runtime";var kp=e=>xf(o,{...e,children:xf("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2"})});import{jsx as Ya,jsxs as FC}from"react/jsx-runtime";var Bp=e=>FC(o,{...e,children:[Ya("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-0.5m0 -8v-2.5a2 2 0 0 1 2 -2"}),Ya("path",{d:"M1 12.5l7 0"}),Ya("path",{d:"M1 12.5l2 2"}),Ya("path",{d:"M1 12.5l2 -2"})]});import{jsx as Ja,jsxs as EC}from"react/jsx-runtime";var Rp=e=>EC(o,{...e,children:[Ja("path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-1m0 -6v-4a2 2 0 0 1 2 -2"}),Ja("path",{d:"M2 13l7 0"}),Ja("path",{d:"M9 13l-2 2"}),Ja("path",{d:"M9 13l-2 -2"})]});import{jsx as Pf,jsxs as AC}from"react/jsx-runtime";var Lp=e=>AC(o,{...e,children:[Pf("path",{d:"M22 9l-10 -4l-10 4l10 4l10 -4v6"}),Pf("path",{d:"M6 10.6v5.4a6 3 0 0 0 12 0v-5.4"})]});import{jsx as cn,jsxs as zC}from"react/jsx-runtime";var Dp=e=>zC(o,{...e,children:[cn("path",{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cn("path",{d:"M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as ja,jsxs as OC}from"react/jsx-runtime";var Tp=e=>OC(o,{...e,children:[ja("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),ja("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),ja("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),ja("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"})]});import{jsx as sn,jsxs as _C}from"react/jsx-runtime";var Np=e=>_C(o,{...e,children:[sn("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),sn("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),sn("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),sn("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v5"}),sn("path",{d:"M14 22h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47"}),sn("path",{d:"M22 16c0 4 -2.5 6 -3.5 6s-3.5 -2 -3.5 -6c1 0 2.5 -.5 3.5 -1.5c1 1 2.5 1.5 3.5 1.5"})]});import{jsx as el,jsxs as HC}from"react/jsx-runtime";var Fp=e=>HC(o,{...e,children:[el("path",{d:"M5 9l14 0"}),el("path",{d:"M5 15l14 0"}),el("path",{d:"M11 4l-4 16"}),el("path",{d:"M17 4l-4 16"})]});import{jsx as tl,jsxs as UC}from"react/jsx-runtime";var Ep=e=>UC(o,{...e,children:[tl("path",{d:"M4 14v-3a8 8 0 1 1 16 0v3"}),tl("path",{d:"M18 19c0 1.657 -2.686 3 -6 3"}),tl("path",{d:"M4 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"}),tl("path",{d:"M15 14a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2v-3z"})]});import{jsx as Sf}from"react/jsx-runtime";var Ap=e=>Sf(o,{...e,children:Sf("path",{d:"M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"})});import{jsx as Mf}from"react/jsx-runtime";var zp=e=>Mf(o,{isFilled:!0,...e,children:Mf("path",{d:"M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z"})});import{jsx as Op,jsxs as GC}from"react/jsx-runtime";var _p=e=>GC(o,{...e,children:[Op("path",{d:"M5 12l-2 0l9 -9l9 9l-2 0"}),Op("path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"}),Op("path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"})]});import{jsx as wf,jsxs as VC}from"react/jsx-runtime";var ur=e=>VC(o,{...e,children:[wf("path",{d:"M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105"}),wf("path",{d:"M16 15c-2.21 1.333 -5.792 1.333 -8 0"})]});import{jsx as ol,jsxs as WC}from"react/jsx-runtime";var Le=e=>WC(o,{...e,children:[ol("path",{d:"M15 8h.01"}),ol("path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12z"}),ol("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),ol("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3"})]});import{jsx as hr,jsxs as $C}from"react/jsx-runtime";var Hp=e=>$C(o,{...e,children:[hr("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),hr("path",{d:"M4 16l16 0"}),hr("path",{d:"M4 12l3 -3c.928 -.893 2.072 -.893 3 0l4 4"}),hr("path",{d:"M13 12l2 -2c.928 -.893 2.072 -.893 3 0l2 2"}),hr("path",{d:"M14 7l.01 0"})]});import{jsx as fr,jsxs as qC}from"react/jsx-runtime";var Up=e=>qC(o,{...e,children:[fr("path",{d:"M15 8h.01"}),fr("path",{d:"M11.5 21h-5.5a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v7"}),fr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l4 4"}),fr("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l.5 .5"}),fr("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as gr,jsxs as XC}from"react/jsx-runtime";var Gp=e=>XC(o,{...e,children:[gr("path",{d:"M15 8h.01"}),gr("path",{d:"M7 3h11a3 3 0 0 1 3 3v11m-.856 3.099a2.991 2.991 0 0 1 -2.144 .901h-12a3 3 0 0 1 -3 -3v-12c0 -.845 .349 -1.608 .91 -2.153"}),gr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),gr("path",{d:"M16.33 12.338c.574 -.054 1.155 .166 1.67 .662l3 3"}),gr("path",{d:"M3 3l18 18"})]});import{jsx as kf,jsxs as KC}from"react/jsx-runtime";var Vp=e=>KC(o,{...e,children:[kf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),kf("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2h-5.5m-9.5 -2h7m-3 -3l3 3l-3 3"})]});import{jsx as Bf,jsxs as ZC}from"react/jsx-runtime";var Wp=e=>ZC(o,{...e,children:[Bf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Bf("path",{d:"M4 13h3l3 3h4l3 -3h3"})]});import{jsx as $p,jsxs as QC}from"react/jsx-runtime";var qp=e=>QC(o,{...e,children:[$p("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),$p("path",{d:"M12 9h.01"}),$p("path",{d:"M11 12h1v4h1"})]});import{jsx as Xp,jsxs as YC}from"react/jsx-runtime";var Kp=e=>YC(o,{...e,children:[Xp("path",{d:"M19.875 6.27c.7 .398 1.13 1.143 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033z"}),Xp("path",{d:"M12 9h.01"}),Xp("path",{d:"M11 12h1v4h1"})]});import{jsx as Zp,jsxs as JC}from"react/jsx-runtime";var Qp=e=>JC(o,{...e,children:[Zp("path",{d:"M11 5l6 0"}),Zp("path",{d:"M7 19l6 0"}),Zp("path",{d:"M14 5l-4 14"})]});import{jsx as Yp,jsxs as jC}from"react/jsx-runtime";var Jp=e=>jC(o,{...e,children:[Yp("path",{d:"M12 4l-8 4l8 4l8 -4l-8 -4"}),Yp("path",{d:"M4 12l8 4l8 -4"}),Yp("path",{d:"M4 16l8 4l8 -4"})]});import{jsx as Rf,jsxs as ex}from"react/jsx-runtime";var jp=e=>ex(o,{...e,children:[Rf("path",{d:"M12 6l-8 4l8 4l8 -4l-8 -4"}),Rf("path",{d:"M4 14l8 4l8 -4"})]});import{jsx as Lf,jsxs as tx}from"react/jsx-runtime";var ed=e=>tx(o,{...e,children:[Lf("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Lf("path",{d:"M9 4l0 16"})]});import{jsx as td,jsxs as ox}from"react/jsx-runtime";var od=e=>ox(o,{...e,children:[td("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),td("path",{d:"M4 13m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"}),td("path",{d:"M14 4m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z"})]});import{jsx as nl,jsxs as nx}from"react/jsx-runtime";var nd=e=>nx(o,{...e,children:[nl("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),nl("path",{d:"M4 9h8"}),nl("path",{d:"M12 15h8"}),nl("path",{d:"M12 4v16"})]});import{jsx as vr,jsxs as rx}from"react/jsx-runtime";var rd=e=>rx(o,{...e,children:[vr("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),vr("path",{d:"M4 12h8"}),vr("path",{d:"M12 15h8"}),vr("path",{d:"M12 9h8"}),vr("path",{d:"M12 4v16"})]});import{jsx as ad,jsxs as ax}from"react/jsx-runtime";var ld=e=>ax(o,{...e,children:[ad("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),ad("path",{d:"M10 4l4 16"}),ad("path",{d:"M12 12l-8 2"})]});import{jsx as rl,jsxs as lx}from"react/jsx-runtime";var cd=e=>lx(o,{...e,children:[rl("path",{d:"M4 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),rl("path",{d:"M14 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),rl("path",{d:"M4 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),rl("path",{d:"M14 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"})]});import{jsx as pn,jsxs as cx}from"react/jsx-runtime";var sd=e=>cx(o,{...e,children:[pn("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),pn("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),pn("path",{d:"M15 15l3.35 3.35"}),pn("path",{d:"M9 15l-3.35 3.35"}),pn("path",{d:"M5.65 5.65l3.35 3.35"}),pn("path",{d:"M18.35 5.65l-3.35 3.35"})]});import{jsx as id,jsxs as sx}from"react/jsx-runtime";var pd=e=>sx(o,{...e,children:[id("path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"}),id("path",{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3"}),id("path",{d:"M9.7 17l4.6 0"})]});import{jsx as Df}from"react/jsx-runtime";var dd=e=>Df(o,{...e,children:Df("path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11"})});import{jsx as Tf,jsxs as ix}from"react/jsx-runtime";var md=e=>ix(o,{...e,children:[Tf("path",{d:"M16 3l0 7l4 0l-6 11l0 -7l-4 0l6 -11"}),Tf("path",{d:"M5 7h4M3 13h4M5 19h4"})]});import{jsx as Nf,jsxs as px}from"react/jsx-runtime";var ud=e=>px(o,{...e,children:[Nf("path",{d:"M4 19l16 0"}),Nf("path",{d:"M4 15l4 -6l4 2l4 -5l4 4"})]});import{jsx as dn,jsxs as dx}from"react/jsx-runtime";var hd=e=>dx(o,{...e,children:[dn("path",{d:"M3 3v18h18"}),dn("path",{d:"M20 18v3"}),dn("path",{d:"M16 16v5"}),dn("path",{d:"M12 13v8"}),dn("path",{d:"M8 16v5"}),dn("path",{d:"M3 11c6 0 5 -5 9 -5s3 5 9 5"})]});import{jsx as mn,jsxs as mx}from"react/jsx-runtime";var fd=e=>mx(o,{...e,children:[mn("path",{d:"M10.5 3h-5.5a2 2 0 0 0 -2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2 -2v-5.5"}),mn("path",{d:"M3 13c0 0, 8 0, 12 -4"}),mn("path",{d:"M12 8h4v4"}),mn("path",{d:"M15 2v1.44"}),mn("path",{d:"M18.75 4.75l1.2 -1.2"}),mn("path",{d:"M20 9h1.44"})]});import{jsx as gd,jsxs as ux}from"react/jsx-runtime";var vd=e=>ux(o,{...e,children:[gd("path",{d:"M4 19l16 0"}),gd("path",{d:"M4 16l6 -6l4 4l5 -5"}),gd("path",{d:"M15 8h5v5"})]});import{jsx as Ff,jsxs as hx}from"react/jsx-runtime";var Id=e=>hx(o,{...e,children:[Ff("path",{d:"M5 10h14"}),Ff("path",{d:"M5 14h14"})]});import{jsx as un,jsxs as fx}from"react/jsx-runtime";var bd=e=>fx(o,{...e,children:[un("path",{d:"M3.5 5.5l1.5 1.5l2.5 -2.5"}),un("path",{d:"M3.5 11.5l1.5 1.5l2.5 -2.5"}),un("path",{d:"M3.5 17.5l1.5 1.5l2.5 -2.5"}),un("path",{d:"M11 6l9 0"}),un("path",{d:"M11 12l9 0"}),un("path",{d:"M11 18l9 0"})]});import{jsx as al,jsxs as gx}from"react/jsx-runtime";var yd=e=>gx(o,{...e,children:[al("path",{d:"M12 10v8l8 -4z"}),al("path",{d:"M4 6h16"}),al("path",{d:"M4 12h4.5"}),al("path",{d:"M4 18h4.5"})]});import{jsx as Cd,jsxs as vx}from"react/jsx-runtime";var xd=e=>vx(o,{...e,children:[Cd("path",{d:"M9 15l6 -6"}),Cd("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),Cd("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as Ef,jsxs as Ix}from"react/jsx-runtime";var Pd=e=>Ix(o,{...e,children:[Ef("path",{d:"M9.183 6.117a6 6 0 1 0 4.511 3.986"}),Ef("path",{d:"M14.813 17.883a6 6 0 1 0 -4.496 -3.954"})]});import{jsx as ll,jsxs as bx}from"react/jsx-runtime";var Sd=e=>bx(o,{...e,children:[ll("path",{d:"M9 15l3 -3m2 -2l1 -1"}),ll("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),ll("path",{d:"M3 3l18 18"}),ll("path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463"})]});import{jsx as hn,jsxs as yx}from"react/jsx-runtime";var Md=e=>yx(o,{...e,children:[hn("path",{d:"M9 6l11 0"}),hn("path",{d:"M9 12l11 0"}),hn("path",{d:"M9 18l11 0"}),hn("path",{d:"M5 6l0 .01"}),hn("path",{d:"M5 12l0 .01"}),hn("path",{d:"M5 18l0 .01"})]});import{jsx as Ir,jsxs as Cx}from"react/jsx-runtime";var wd=e=>Cx(o,{...e,children:[Ir("path",{d:"M11 6h9"}),Ir("path",{d:"M11 12h9"}),Ir("path",{d:"M12 18h8"}),Ir("path",{d:"M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4"}),Ir("path",{d:"M6 10v-6l-2 2"})]});import{jsx as kd,jsxs as xx}from"react/jsx-runtime";var Bd=e=>xx(o,{...e,children:[kd("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z"}),kd("path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),kd("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as Af}from"react/jsx-runtime";var Rd=e=>Af(o,{isFilled:!0,...e,children:Af("path",{d:"M12 2a5 5 0 0 1 5 5v3a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-10a3 3 0 0 1 -3 -3v-6a3 3 0 0 1 3 -3v-3a5 5 0 0 1 5 -5m0 12a2 2 0 0 0 -1.995 1.85l-.005 .15a2 2 0 1 0 2 -2m0 -10a3 3 0 0 0 -3 3v3h6v-3a3 3 0 0 0 -3 -3"})});import{jsx as Ld,jsxs as Px}from"react/jsx-runtime";var Dd=e=>Px(o,{...e,children:[Ld("path",{d:"M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Ld("path",{d:"M3 12h13l-3 -3"}),Ld("path",{d:"M13 15l3 -3"})]});import{jsx as Td,jsxs as Sx}from"react/jsx-runtime";var Nd=e=>Sx(o,{...e,children:[Td("path",{d:"M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2"}),Td("path",{d:"M9 12h12l-3 -3"}),Td("path",{d:"M18 15l3 -3"})]});import{jsx as Fd,jsxs as Mx}from"react/jsx-runtime";var Ed=e=>Mx(o,{...e,children:[Fd("path",{d:"M10 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2"}),Fd("path",{d:"M15 12h-12l3 -3"}),Fd("path",{d:"M6 15l-3 -3"})]});import{jsx as cl,jsxs as wx}from"react/jsx-runtime";var Ad=e=>wx(o,{...e,children:[cl("path",{d:"M6 21l15 -15l-3 -3l-15 15l3 3"}),cl("path",{d:"M15 6l3 3"}),cl("path",{d:"M9 3a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"}),cl("path",{d:"M19 13a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2"})]});import{jsx as zf,jsxs as kx}from"react/jsx-runtime";var zd=e=>kx(o,{...e,children:[zf("path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z"}),zf("path",{d:"M3 7l9 6l9 -6"})]});import{jsx as Of,jsxs as Bx}from"react/jsx-runtime";var Od=e=>Bx(o,{...e,children:[Of("path",{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),Of("path",{d:"M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z"})]});import{jsx as sl,jsxs as Rx}from"react/jsx-runtime";var _d=e=>Rx(o,{...e,children:[sl("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),sl("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),sl("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),sl("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as il,jsxs as Lx}from"react/jsx-runtime";var Hd=e=>Lx(o,{...e,children:[il("path",{d:"M16 4l4 0l0 4"}),il("path",{d:"M14 10l6 -6"}),il("path",{d:"M8 20l-4 0l0 -4"}),il("path",{d:"M4 20l6 -6"})]});import{jsx as _f}from"react/jsx-runtime";var Ud=e=>_f(o,{...e,children:_f("path",{d:"M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1"})});import{jsx as Gd,jsxs as Dx}from"react/jsx-runtime";var Vd=e=>Dx(o,{...e,children:[Gd("path",{d:"M8 9h8"}),Gd("path",{d:"M8 13h6"}),Gd("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12z"})]});import{jsx as pl,jsxs as Tx}from"react/jsx-runtime";var Wd=e=>Tx(o,{...e,children:[pl("path",{d:"M12 11v.01"}),pl("path",{d:"M8 11v.01"}),pl("path",{d:"M16 11v.01"}),pl("path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3z"})]});import{jsx as br,jsxs as Nx}from"react/jsx-runtime";var $d=e=>Nx(o,{...e,children:[br("path",{d:"M8 9h8"}),br("path",{d:"M8 13h6"}),br("path",{d:"M13 18l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6"}),br("path",{d:"M22 22l-5 -5"}),br("path",{d:"M17 22l5 -5"})]});import{jsx as dl,jsxs as Fx}from"react/jsx-runtime";var yr=e=>Fx(o,{...e,children:[dl("path",{d:"M9 2m0 3a3 3 0 0 1 3 -3h0a3 3 0 0 1 3 3v5a3 3 0 0 1 -3 3h0a3 3 0 0 1 -3 -3z"}),dl("path",{d:"M5 10a7 7 0 0 0 14 0"}),dl("path",{d:"M8 21l8 0"}),dl("path",{d:"M12 17l0 4"})]});import{jsx as ml,jsxs as Ex}from"react/jsx-runtime";var qd=e=>Ex(o,{...e,children:[ml("path",{d:"M15 19v-2a2 2 0 0 1 2 -2h2"}),ml("path",{d:"M15 5v2a2 2 0 0 0 2 2h2"}),ml("path",{d:"M5 15h2a2 2 0 0 1 2 2v2"}),ml("path",{d:"M5 9h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as ul,jsxs as Ax}from"react/jsx-runtime";var Xd=e=>Ax(o,{...e,children:[ul("path",{d:"M18 10h-4v-4"}),ul("path",{d:"M20 4l-6 6"}),ul("path",{d:"M6 14h4v4"}),ul("path",{d:"M10 14l-6 6"})]});import{jsx as Hf,jsxs as zx}from"react/jsx-runtime";var Kd=e=>zx(o,{...e,children:[Hf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Hf("path",{d:"M9 12l6 0"})]});import{jsx as Zd,jsxs as Ox}from"react/jsx-runtime";var Qd=e=>Ox(o,{...e,children:[Zd("path",{d:"M6 5a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2v-14z"}),Zd("path",{d:"M11 4h2"}),Zd("path",{d:"M12 17v.01"})]});import{jsx as hl,jsxs as _x}from"react/jsx-runtime";var Yd=e=>_x(o,{...e,children:[hl("path",{d:"M3 5a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-10z"}),hl("path",{d:"M7 20h10"}),hl("path",{d:"M9 16v4"}),hl("path",{d:"M15 16v4"})]});import{jsx as Cr,jsxs as Hx}from"react/jsx-runtime";var Jd=e=>Hx(o,{...e,children:[Cr("path",{d:"M3 4a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1v-12z"}),Cr("path",{d:"M3 13h18"}),Cr("path",{d:"M8 21h8"}),Cr("path",{d:"M10 17l-.5 4"}),Cr("path",{d:"M14 17l.5 4"})]});import{jsx as Uf}from"react/jsx-runtime";var jd=e=>Uf(o,{...e,children:Uf("path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"})});import{jsx as Gf,jsxs as Ux}from"react/jsx-runtime";var em=e=>Ux(o,{...e,children:[Gf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Gf("path",{d:"M12 6c.088 0 .175 0 .262 0a5 5 0 0 0 5.28 8.297a6 6 0 1 1 -5.542 -8.303z"})]});import{jsx as Xt,jsxs as Gx}from"react/jsx-runtime";var nt=e=>Gx(o,{...e,children:[Xt("path",{d:"M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z"}),Xt("path",{d:"M8 4l0 16"}),Xt("path",{d:"M16 4l0 16"}),Xt("path",{d:"M4 8l4 0"}),Xt("path",{d:"M4 16l4 0"}),Xt("path",{d:"M4 12l16 0"}),Xt("path",{d:"M16 8l4 0"}),Xt("path",{d:"M16 16l4 0"})]});import{jsx as Vf}from"react/jsx-runtime";var tm=e=>Vf(o,{...e,children:Vf("path",{d:"M12 18.5l7.265 2.463c.196 .077 .42 .032 .57 -.116a.548 .548 0 0 0 .134 -.572l-7.969 -17.275l-7.97 17.275c-.07 .2 -.017 .424 .135 .572c.15 .148 .374 .193 .57 .116l7.265 -2.463"})});import{jsx as Wf,jsxs as Vx}from"react/jsx-runtime";var om=e=>Vx(o,{...e,children:[Wf("path",{d:"M10 6h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3"}),Wf("path",{d:"M17 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"})]});import{jsx as xr,jsxs as Wx}from"react/jsx-runtime";var nm=e=>Wx(o,{...e,children:[xr("path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5"}),xr("path",{d:"M12 12l8 -4.5"}),xr("path",{d:"M12 12l0 9"}),xr("path",{d:"M12 12l-8 -4.5"}),xr("path",{d:"M16 5.25l-8 4.5"})]});import{jsx as fl,jsxs as $x}from"react/jsx-runtime";var rm=e=>$x(o,{...e,children:[fl("path",{d:"M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25"}),fl("path",{d:"M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),fl("path",{d:"M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Pr,jsxs as qx}from"react/jsx-runtime";var am=e=>qx(o,{...e,children:[Pr("path",{d:"M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"}),Pr("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"}),Pr("path",{d:"M15 16h.01"}),Pr("path",{d:"M12.01 16h.01"}),Pr("path",{d:"M9.02 16h.01"})]});import{jsx as $f,jsxs as Xx}from"react/jsx-runtime";var bo=e=>Xx(o,{...e,children:[$f("path",{d:"M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"}),$f("path",{d:"M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z"})]});import{jsx as lm,jsxs as Kx}from"react/jsx-runtime";var cm=e=>Kx(o,{...e,children:[lm("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),lm("path",{d:"M8 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"}),lm("path",{d:"M13 8m0 1a1 1 0 0 1 1 -1h1a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-1a1 1 0 0 1 -1 -1z"})]});import{jsx as sm,jsxs as Zx}from"react/jsx-runtime";var im=e=>Zx(o,{...e,children:[sm("path",{d:"M13 9a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1v-10z"}),sm("path",{d:"M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"}),sm("path",{d:"M16 9h2"})]});import{jsx as pm,jsxs as Qx}from"react/jsx-runtime";var dm=e=>Qx(o,{...e,children:[pm("path",{d:"M14 6l7 7l-4 4"}),pm("path",{d:"M5.828 18.172a2.828 2.828 0 0 0 4 0l10.586 -10.586a2 2 0 0 0 0 -2.829l-1.171 -1.171a2 2 0 0 0 -2.829 0l-10.586 10.586a2.828 2.828 0 0 0 0 4"}),pm("path",{d:"M4 20l1.768 -1.768"})]});import{jsx as gl,jsxs as Yx}from"react/jsx-runtime";var mm=e=>Yx(o,{...e,children:[gl("path",{d:"M9 15l6 -6"}),gl("circle",{cx:"9.5",cy:"9.5",r:".5",fill:"currentColor"}),gl("circle",{cx:"14.5",cy:"14.5",r:".5",fill:"currentColor"}),gl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as qf}from"react/jsx-runtime";var um=e=>qf(o,{...e,children:qf("path",{d:"M6.141 4.163l12 1.714a1 1 0 0 1 .859 .99v10.266a1 1 0 0 1 -.859 .99l-12 1.714a1 1 0 0 1 -1.141 -.99v-13.694a1 1 0 0 1 1.141 -.99z"})});import{jsx as hm,jsxs as Jx}from"react/jsx-runtime";var fm=e=>Jx(o,{...e,children:[hm("path",{d:"M5 4h4l2 5l-2.5 1.5a11 11 0 0 0 5 5l1.5 -2.5l5 2v4a2 2 0 0 1 -2 2a16 16 0 0 1 -15 -15a2 2 0 0 1 2 -2"}),hm("path",{d:"M15 7a2 2 0 0 1 2 2"}),hm("path",{d:"M15 3a6 6 0 0 1 6 6"})]});import{jsx as gm,jsxs as jx}from"react/jsx-runtime";var Sr=e=>jx(o,{...e,children:[gm("path",{d:"M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4"}),gm("path",{d:"M9 15l-4.5 4.5"}),gm("path",{d:"M14.5 4l5.5 5.5"})]});import{jsx as Xf}from"react/jsx-runtime";var yo=e=>Xf(o,{...e,children:Xf("path",{d:"M7 4v16l13 -8z"})});import{jsx as Kf,jsxs as eP}from"react/jsx-runtime";var vm=e=>eP(o,{...e,children:[Kf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Kf("path",{d:"M9 8v8l8 -4z"})]});import{jsx as Zf,jsxs as tP}from"react/jsx-runtime";var Mr=e=>tP(o,{...e,children:[Zf("path",{d:"M12 5l0 14"}),Zf("path",{d:"M5 12l14 0"})]});import{jsx as Im,jsxs as oP}from"react/jsx-runtime";var Kt=e=>oP(o,{...e,children:[Im("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Im("path",{d:"M9 12h6"}),Im("path",{d:"M12 9v6"})]});import{jsx as bm,jsxs as nP}from"react/jsx-runtime";var ym=e=>nP(o,{...e,children:[bm("path",{d:"M17 17h2a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-14a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h2"}),bm("path",{d:"M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4"}),bm("path",{d:"M7 13m0 2a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2z"})]});import{jsx as Qf}from"react/jsx-runtime";var Cm=e=>Qf(o,{...e,children:Qf("path",{d:"M3 12h4l3 8l4 -16l3 8h4"})});import{jsx as xm,jsxs as rP}from"react/jsx-runtime";var wr=e=>rP(o,{...e,children:[xm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),xm("path",{d:"M12 16v.01"}),xm("path",{d:"M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483"})]});import{jsx as Yf,jsxs as aP}from"react/jsx-runtime";var Pm=e=>aP(o,{...e,children:[Yf("path",{d:"M10 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"}),Yf("path",{d:"M19 11h-4a1 1 0 0 1 -1 -1v-3a1 1 0 0 1 1 -1h3a1 1 0 0 1 1 1v6c0 2.667 -1.333 4.333 -4 5"})]});import{jsx as Jf,jsxs as lP}from"react/jsx-runtime";var Sm=e=>lP(o,{...e,children:[Jf("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Jf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as jf}from"react/jsx-runtime";var Mm=e=>jf(o,{isFilled:!0,...e,children:jf("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-5 6.66a2 2 0 0 0 -1.977 1.697l-.018 .154l-.005 .149l.005 .15a2 2 0 1 0 1.995 -2.15z"})});import{jsx as e2}from"react/jsx-runtime";var wm=e=>e2(o,{...e,children:e2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2m4 -14h6m-6 4h6m-2 4h2"})});import{jsx as t2,jsxs as cP}from"react/jsx-runtime";var km=e=>cP(o,{...e,children:[t2("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2"}),t2("path",{d:"M9 11l2 2l4 -4"})]});import{jsx as o2,jsxs as sP}from"react/jsx-runtime";var Bm=e=>sP(o,{...e,children:[o2("path",{d:"M15 14l4 -4l-4 -4"}),o2("path",{d:"M19 10h-11a4 4 0 1 0 0 8h1"})]});import{jsx as n2}from"react/jsx-runtime";var Rm=e=>n2(o,{...e,children:n2("path",{d:"M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5"})});import{jsx as r2,jsxs as iP}from"react/jsx-runtime";var Lm=e=>iP(o,{...e,children:[r2("path",{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"}),r2("path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"})]});import{jsx as a2,jsxs as pP}from"react/jsx-runtime";var Dm=e=>pP(o,{...e,children:[a2("path",{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747"}),a2("path",{d:"M20 4v5h-5"})]});import{jsx as l2,jsxs as dP}from"react/jsx-runtime";var Tm=e=>dP(o,{...e,children:[l2("path",{d:"M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3"}),l2("path",{d:"M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3"})]});import{jsx as vl,jsxs as mP}from"react/jsx-runtime";var Nm=e=>mP(o,{...e,children:[vl("path",{d:"M3 3m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M15 15m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z"}),vl("path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3"}),vl("path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3"})]});import{jsx as c2}from"react/jsx-runtime";var Fm=e=>c2(o,{...e,children:c2("path",{d:"M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5"})});import{jsx as Em,jsxs as uP}from"react/jsx-runtime";var Am=e=>uP(o,{...e,children:[Em("path",{d:"M3.06 13a9 9 0 1 0 .49 -4.087"}),Em("path",{d:"M3 4.001v5h5"}),Em("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as zm,jsxs as hP}from"react/jsx-runtime";var Om=e=>hP(o,{...e,children:[zm("path",{d:"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3"}),zm("path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3"}),zm("path",{d:"M15 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as s2,jsxs as fP}from"react/jsx-runtime";var _m=e=>fP(o,{...e,children:[s2("path",{d:"M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8"}),s2("path",{d:"M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5"})]});import{jsx as i2,jsxs as gP}from"react/jsx-runtime";var Hm=e=>gP(o,{...e,children:[i2("path",{d:"M12 3v9h9"}),i2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Um,jsxs as vP}from"react/jsx-runtime";var Gm=e=>vP(o,{...e,children:[Um("path",{d:"M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),Um("path",{d:"M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4z"}),Um("path",{d:"M11 19h5.5a3.5 3.5 0 0 0 0 -7h-8a3.5 3.5 0 0 1 0 -7h4.5"})]});import{jsx as Vm,jsxs as IP}from"react/jsx-runtime";var Wm=e=>IP(o,{...e,children:[Vm("path",{d:"M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2"}),Vm("path",{d:"M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Vm("path",{d:"M14 4l0 4l-6 0l0 -4"})]});import{jsx as Zt,jsxs as bP}from"react/jsx-runtime";var $m=e=>bP(o,{...e,children:[Zt("path",{d:"M4 7v-1a2 2 0 0 1 2 -2h2"}),Zt("path",{d:"M4 17v1a2 2 0 0 0 2 2h2"}),Zt("path",{d:"M16 4h2a2 2 0 0 1 2 2v1"}),Zt("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-1"}),Zt("path",{d:"M5 11h1v2h-1z"}),Zt("path",{d:"M10 11l0 2"}),Zt("path",{d:"M14 11h1v2h-1z"}),Zt("path",{d:"M19 11l0 2"})]});import{jsx as Il,jsxs as yP}from"react/jsx-runtime";var kr=e=>yP(o,{...e,children:[Il("path",{d:"M6 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M6 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Il("path",{d:"M8.6 8.6l10.4 10.4"}),Il("path",{d:"M8.6 15.4l10.4 -10.4"})]});import{jsx as p2,jsxs as CP}from"react/jsx-runtime";var kt=e=>CP(o,{...e,children:[p2("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),p2("path",{d:"M21 21l-6 -6"})]});import{jsx as d2,jsxs as xP}from"react/jsx-runtime";var qm=e=>xP(o,{...e,children:[d2("path",{d:"M10 14l11 -11"}),d2("path",{d:"M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5"})]});import{jsx as bl,jsxs as PP}from"react/jsx-runtime";var Xm=e=>PP(o,{...e,children:[bl("path",{d:"M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M3 12m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z"}),bl("path",{d:"M7 8l0 .01"}),bl("path",{d:"M7 16l0 .01"})]});import{jsx as m2,jsxs as SP}from"react/jsx-runtime";var Km=e=>SP(o,{...e,children:[m2("path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"}),m2("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"})]});import{jsx as Bt,jsxs as MP}from"react/jsx-runtime";var Zm=e=>MP(o,{...e,children:[Bt("path",{d:"M14 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Bt("path",{d:"M4 6l8 0"}),Bt("path",{d:"M16 6l4 0"}),Bt("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Bt("path",{d:"M4 12l2 0"}),Bt("path",{d:"M10 12l10 0"}),Bt("path",{d:"M17 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Bt("path",{d:"M4 18l11 0"}),Bt("path",{d:"M19 18l1 0"})]});import{jsx as Br,jsxs as wP}from"react/jsx-runtime";var Qm=e=>wP(o,{...e,children:[Br("path",{d:"M6 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Br("path",{d:"M18 6m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Br("path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Br("path",{d:"M8.7 10.7l6.6 -3.4"}),Br("path",{d:"M8.7 13.3l6.6 3.4"})]});import{jsx as u2,jsxs as kP}from"react/jsx-runtime";var Ym=e=>kP(o,{...e,children:[u2("path",{d:"M13.342 20.566c-.436 .17 -.884 .315 -1.342 .434a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .117 6.34"}),u2("path",{d:"M19 16l-2 3h4l-2 3"})]});import{jsx as Jm,jsxs as BP}from"react/jsx-runtime";var jm=e=>BP(o,{...e,children:[Jm("path",{d:"M12.462 20.87c-.153 .047 -.307 .09 -.462 .13a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 .11 6.37"}),Jm("path",{d:"M16 19h6"}),Jm("path",{d:"M19 16v6"})]});import{jsx as eu,jsxs as RP}from"react/jsx-runtime";var tu=e=>RP(o,{...e,children:[eu("path",{d:"M13.252 20.601c-.408 .155 -.826 .288 -1.252 .399a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.19 7.357"}),eu("path",{d:"M22 22l-5 -5"}),eu("path",{d:"M17 22l5 -5"})]});import{jsx as h2,jsxs as LP}from"react/jsx-runtime";var ou=e=>LP(o,{...e,children:[h2("path",{d:"M6.331 8h11.339a2 2 0 0 1 1.977 2.304l-1.255 8.152a3 3 0 0 1 -2.966 2.544h-6.852a3 3 0 0 1 -2.965 -2.544l-1.255 -8.152a2 2 0 0 1 1.977 -2.304z"}),h2("path",{d:"M9 11v-5a3 3 0 0 1 6 0v5"})]});import{jsx as yl,jsxs as DP}from"react/jsx-runtime";var nu=e=>DP(o,{...e,children:[yl("path",{d:"M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),yl("path",{d:"M17 17h-11v-14h-2"}),yl("path",{d:"M6 5l14 1l-1 7h-13"})]});import{jsx as Qt,jsxs as TP}from"react/jsx-runtime";var ru=e=>TP(o,{...e,children:[Qt("path",{d:"M5 9l4 0l0 -4"}),Qt("path",{d:"M3 3l6 6"}),Qt("path",{d:"M5 15l4 0l0 4"}),Qt("path",{d:"M3 21l6 -6"}),Qt("path",{d:"M19 9l-4 0l0 -4"}),Qt("path",{d:"M15 9l6 -6"}),Qt("path",{d:"M19 15l-4 0l0 4"}),Qt("path",{d:"M15 15l6 6"})]});import{jsx as Cl,jsxs as NP}from"react/jsx-runtime";var au=e=>NP(o,{...e,children:[Cl("path",{d:"M18 4l3 3l-3 3"}),Cl("path",{d:"M18 20l3 -3l-3 -3"}),Cl("path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5"}),Cl("path",{d:"M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3"})]});import{jsx as f2,jsxs as FP}from"react/jsx-runtime";var lu=e=>FP(o,{...e,children:[f2("path",{d:"M4 5v14l12 -7z"}),f2("path",{d:"M20 5l0 14"})]});import{jsx as g2,jsxs as EP}from"react/jsx-runtime";var cu=e=>EP(o,{...e,children:[g2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),g2("path",{d:"M5.7 5.7l12.6 12.6"})]});import{jsx as v2,jsxs as AP}from"react/jsx-runtime";var su=e=>AP(o,{...e,children:[v2("path",{d:"M9.103 2h5.794a3 3 0 0 1 2.122 .879l4.101 4.1a3 3 0 0 1 .879 2.123v5.794a3 3 0 0 1 -.879 2.122l-4.1 4.101a3 3 0 0 1 -2.123 .879h-5.794a3 3 0 0 1 -2.122 -.879l-4.101 -4.1a3 3 0 0 1 -.879 -2.123v-5.794a3 3 0 0 1 .879 -2.122l4.1 -4.101a3 3 0 0 1 2.123 -.879z"}),v2("path",{d:"M5 5 L19 19"})]});import{jsx as Co,jsxs as zP}from"react/jsx-runtime";var iu=e=>zP(o,{...e,children:[Co("path",{d:"M4 10l0 6"}),Co("path",{d:"M20 10l0 6"}),Co("path",{d:"M7 9h10v8a1 1 0 0 1 -1 1h-8a1 1 0 0 1 -1 -1v-8a5 5 0 0 1 10 0"}),Co("path",{d:"M8 3l1 2"}),Co("path",{d:"M16 3l-1 2"}),Co("path",{d:"M9 18l0 3"}),Co("path",{d:"M15 18l0 3"})]});import{jsx as I2,jsxs as OP}from"react/jsx-runtime";var pu=e=>OP(o,{...e,children:[I2("path",{d:"M8.286 7.008c-3.216 0 -4.286 3.23 -4.286 5.92c0 3.229 2.143 8.072 4.286 8.072c1.165 -.05 1.799 -.538 3.214 -.538c1.406 0 1.607 .538 3.214 .538s4.286 -3.229 4.286 -5.381c-.03 -.011 -2.649 -.434 -2.679 -3.23c-.02 -2.335 2.589 -3.179 2.679 -3.228c-1.096 -1.606 -3.162 -2.113 -3.75 -2.153c-1.535 -.12 -3.032 1.077 -3.75 1.077c-.729 0 -2.036 -1.077 -3.214 -1.077z"}),I2("path",{d:"M12 4a2 2 0 0 0 2 -2a2 2 0 0 0 -2 2"})]});import{jsx as b2}from"react/jsx-runtime";var du=e=>b2(o,{...e,children:b2("path",{d:"M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"})});import{jsx as Rr,jsxs as _P}from"react/jsx-runtime";var mu=e=>_P(o,{...e,children:[Rr("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Rr("path",{d:"M3.6 9h16.8"}),Rr("path",{d:"M3.6 15h16.8"}),Rr("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),Rr("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]});import{jsx as y2}from"react/jsx-runtime";var uu=e=>y2(o,{...e,children:y2("path",{d:"M20.945 11a9 9 0 1 1 -3.284 -5.997l-2.655 2.392a5.5 5.5 0 1 0 2.119 6.605h-4.125v-3h7.945z"})});import{jsx as hu,jsxs as HP}from"react/jsx-runtime";var fu=e=>HP(o,{...e,children:[hu("path",{d:"M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4z"}),hu("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),hu("path",{d:"M16.5 7.5v.01"})]});import{jsx as Lr,jsxs as UP}from"react/jsx-runtime";var gu=e=>UP(o,{...e,children:[Lr("path",{d:"M8 11v5"}),Lr("path",{d:"M8 8v.01"}),Lr("path",{d:"M12 16v-5"}),Lr("path",{d:"M16 16v-3a2 2 0 1 0 -4 0"}),Lr("path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4z"})]});import{jsx as vu,jsxs as GP}from"react/jsx-runtime";var Iu=e=>GP(o,{...e,children:[vu("path",{d:"M14 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),vu("path",{d:"M12 9.765a3 3 0 1 0 0 4.47"}),vu("path",{d:"M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"})]});import{jsx as xo,jsxs as VP}from"react/jsx-runtime";var bu=e=>VP(o,{...e,children:[xo("path",{d:"M6.306 8.711c-2.602 .723 -4.306 1.926 -4.306 3.289c0 2.21 4.477 4 10 4c.773 0 1.526 -.035 2.248 -.102"}),xo("path",{d:"M17.692 15.289c2.603 -.722 4.308 -1.926 4.308 -3.289c0 -2.21 -4.477 -4 -10 -4c-.773 0 -1.526 .035 -2.25 .102"}),xo("path",{d:"M6.305 15.287c-.676 2.615 -.485 4.693 .695 5.373c1.913 1.105 5.703 -1.877 8.464 -6.66c.387 -.67 .733 -1.339 1.036 -2"}),xo("path",{d:"M17.694 8.716c.677 -2.616 .487 -4.696 -.694 -5.376c-1.913 -1.105 -5.703 1.877 -8.464 6.66c-.387 .67 -.733 1.34 -1.037 2"}),xo("path",{d:"M12 5.424c-1.925 -1.892 -3.82 -2.766 -5 -2.084c-1.913 1.104 -1.226 5.877 1.536 10.66c.386 .67 .793 1.304 1.212 1.896"}),xo("path",{d:"M12 18.574c1.926 1.893 3.821 2.768 5 2.086c1.913 -1.104 1.226 -5.877 -1.536 -10.66c-.375 -.65 -.78 -1.283 -1.212 -1.897"}),xo("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"})]});import{jsx as Dr,jsxs as WP}from"react/jsx-runtime";var yu=e=>WP(o,{...e,children:[Dr("path",{d:"M21 15l-1 -6l-2.5 6"}),Dr("path",{d:"M9 15l1 -6"}),Dr("path",{d:"M3 9h1v6h.5l2.5 -6"}),Dr("path",{d:"M16 9.5a.5 .5 0 0 0 -.5 -.5h-.75c-.721 0 -1.337 .521 -1.455 1.233l-.09 .534a1.059 1.059 0 0 0 1.045 1.233a1.059 1.059 0 0 1 1.045 1.233l-.09 .534a1.476 1.476 0 0 1 -1.455 1.233h-.75a.5 .5 0 0 1 -.5 -.5"}),Dr("path",{d:"M18 14h2.7"})]});import{jsx as C2,jsxs as $P}from"react/jsx-runtime";var Cu=e=>$P(o,{...e,children:[C2("path",{d:"M4 4l11.733 16h4.267l-11.733 -16z"}),C2("path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"})]});import{jsx as xl,jsxs as qP}from"react/jsx-runtime";var xu=e=>qP(o,{...e,children:[xl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),xl("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),xl("path",{d:"M13.41 10.59l2.59 -2.59"}),xl("path",{d:"M7 12a5 5 0 0 1 5 -5"})]});import{jsx as x2}from"react/jsx-runtime";var Pu=e=>x2(o,{...e,children:x2("path",{d:"M22 5h-5v5h-5v5h-5v5h-5"})});import{jsx as P2}from"react/jsx-runtime";var Tr=e=>P2(o,{...e,children:P2("path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"})});import{jsx as S2}from"react/jsx-runtime";var Su=e=>S2(o,{isFilled:!0,...e,children:S2("path",{d:"M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z"})});import{jsx as M2}from"react/jsx-runtime";var Mu=e=>M2(o,{isFilled:!0,...e,children:M2("path",{d:"M12 1a.993 .993 0 0 1 .823 .443l.067 .116l2.852 5.781l6.38 .925c.741 .108 1.08 .94 .703 1.526l-.07 .095l-.078 .086l-4.624 4.499l1.09 6.355a1.001 1.001 0 0 1 -1.249 1.135l-.101 -.035l-.101 -.046l-5.693 -3l-5.706 3c-.105 .055 -.212 .09 -.32 .106l-.106 .01a1.003 1.003 0 0 1 -1.038 -1.06l.013 -.11l1.09 -6.355l-4.623 -4.5a1.001 1.001 0 0 1 .328 -1.647l.113 -.036l.114 -.023l6.379 -.925l2.853 -5.78a.968 .968 0 0 1 .904 -.56zm0 3.274v12.476a1 1 0 0 1 .239 .029l.115 .036l.112 .05l4.363 2.299l-.836 -4.873a1 1 0 0 1 .136 -.696l.07 -.099l.082 -.09l3.546 -3.453l-4.891 -.708a1 1 0 0 1 -.62 -.344l-.073 -.097l-.06 -.106l-2.183 -4.424z"})});import{jsx as w2}from"react/jsx-runtime";var wu=e=>w2(o,{...e,children:w2("path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2zm-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6z"})});import{jsx as k2}from"react/jsx-runtime";var Nr=e=>k2(o,{...e,children:k2("path",{d:"M5 5m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z"})});import{jsx as B2,jsxs as XP}from"react/jsx-runtime";var ku=e=>XP(o,{...e,children:[B2("path",{d:"M5 12l14 0"}),B2("path",{d:"M16 6.5a4 2 0 0 0 -4 -1.5h-1a3.5 3.5 0 0 0 0 7h2a3.5 3.5 0 0 1 0 7h-1.5a4 2 0 0 1 -4 -1.5"})]});import{jsx as R2,jsxs as KP}from"react/jsx-runtime";var Bu=e=>KP(o,{...e,children:[R2("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),R2("path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7"})]});import{jsx as L2,jsxs as ZP}from"react/jsx-runtime";var Ru=e=>ZP(o,{...e,children:[L2("path",{d:"M7 10h14l-4 -4"}),L2("path",{d:"M17 14h-14l4 4"})]});import{jsx as Pl,jsxs as QP}from"react/jsx-runtime";var Lu=e=>QP(o,{...e,children:[Pl("path",{d:"M16 3l4 4l-4 4"}),Pl("path",{d:"M10 7l10 0"}),Pl("path",{d:"M8 13l-4 4l4 4"}),Pl("path",{d:"M4 17l9 0"})]});import{jsx as Du,jsxs as YP}from"react/jsx-runtime";var Tu=e=>YP(o,{...e,children:[Du("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),Du("path",{d:"M3 10h18"}),Du("path",{d:"M10 3v18"})]});import{jsx as D2,jsxs as JP}from"react/jsx-runtime";var Fr=e=>JP(o,{...e,children:[D2("path",{d:"M7.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),D2("path",{d:"M3 6v5.172a2 2 0 0 0 .586 1.414l7.71 7.71a2.41 2.41 0 0 0 3.408 0l5.592 -5.592a2.41 2.41 0 0 0 0 -3.408l-7.71 -7.71a2 2 0 0 0 -1.414 -.586h-5.172a3 3 0 0 0 -3 3z"})]});import{jsx as fn,jsxs as jP}from"react/jsx-runtime";var Nu=e=>jP(o,{...e,children:[fn("path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),fn("path",{d:"M12 12m-8 0a8 8 0 1 0 16 0a8 8 0 1 0 -16 0"}),fn("path",{d:"M12 2l0 2"}),fn("path",{d:"M12 20l0 2"}),fn("path",{d:"M20 12l2 0"}),fn("path",{d:"M2 12l2 0"})]});import{jsx as Fu,jsxs as eS}from"react/jsx-runtime";var Eu=e=>eS(o,{...e,children:[Fu("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Fu("path",{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"}),Fu("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Au,jsxs as tS}from"react/jsx-runtime";var zu=e=>tS(o,{...e,children:[Au("path",{d:"M9 15v-7a3 3 0 0 1 6 0v7"}),Au("path",{d:"M9 11h6"}),Au("path",{d:"M5 19h14"})]});import{jsx as T2,jsxs as oS}from"react/jsx-runtime";var Ou=e=>oS(o,{...e,children:[T2("path",{d:"M6 4l12 0"}),T2("path",{d:"M12 4l0 16"})]});import{jsx as Sl,jsxs as nS}from"react/jsx-runtime";var _u=e=>nS(o,{...e,children:[Sl("path",{d:"M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),Sl("path",{d:"M12.5 5.5l4 4"}),Sl("path",{d:"M4.5 13.5l4 4"}),Sl("path",{d:"M21 15v4h-8l4 -4z"})]});import{jsx as N2}from"react/jsx-runtime";var Hu=e=>N2(o,{...e,children:N2("path",{d:"M7 13v-8a1 1 0 0 0 -1 -1h-2a1 1 0 0 0 -1 1v7a1 1 0 0 0 1 1h3a4 4 0 0 1 4 4v1a2 2 0 0 0 4 0v-5h3a2 2 0 0 0 2 -2l-1 -5a2 3 0 0 0 -2 -2h-7a3 3 0 0 0 -3 3"})});import{jsx as F2}from"react/jsx-runtime";var Uu=e=>F2(o,{...e,children:F2("path",{d:"M7 11v8a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1v-7a1 1 0 0 1 1 -1h3a4 4 0 0 0 4 -4v-1a2 2 0 0 1 4 0v5h3a2 2 0 0 1 2 2l-1 5a2 3 0 0 1 -2 2h-7a3 3 0 0 1 -3 -3"})});import{jsx as E2,jsxs as rS}from"react/jsx-runtime";var Gu=e=>rS(o,{isFilled:!0,...e,children:[E2("path",{d:"M13 3a3 3 0 0 1 2.995 2.824l.005 .176v4h2a3 3 0 0 1 2.98 2.65l.015 .174l.005 .176l-.02 .196l-1.006 5.032c-.381 1.626 -1.502 2.796 -2.81 2.78l-.164 -.008h-8a1 1 0 0 1 -.993 -.883l-.007 -.117l.001 -9.536a1 1 0 0 1 .5 -.865a2.998 2.998 0 0 0 1.492 -2.397l.007 -.202v-1a3 3 0 0 1 3 -3z"}),E2("path",{d:"M5 10a1 1 0 0 1 .993 .883l.007 .117v9a1 1 0 0 1 -.883 .993l-.117 .007h-1a2 2 0 0 1 -1.995 -1.85l-.005 -.15v-7a2 2 0 0 1 1.85 -1.995l.15 -.005h1z"})]});import{jsx as A2,jsxs as aS}from"react/jsx-runtime";var Vu=e=>aS(o,{...e,children:[A2("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),A2("path",{d:"M2 6m0 6a6 6 0 0 1 6 -6h8a6 6 0 0 1 6 6v0a6 6 0 0 1 -6 6h-8a6 6 0 0 1 -6 -6z"})]});import{jsx as gn,jsxs as lS}from"react/jsx-runtime";var Wu=e=>lS(o,{...e,children:[gn("path",{d:"M9 6.371c0 4.418 -2.239 6.629 -5 6.629"}),gn("path",{d:"M4 6.371h7"}),gn("path",{d:"M5 9c0 2.144 2.252 3.908 6 4"}),gn("path",{d:"M12 20l4 -9l4 9"}),gn("path",{d:"M19.1 18h-6.2"}),gn("path",{d:"M6.694 3l.793 .582"})]});import{jsx as Er,jsxs as cS}from"react/jsx-runtime";var Ke=e=>cS(o,{...e,children:[Er("path",{d:"M4 7l16 0"}),Er("path",{d:"M10 11l0 6"}),Er("path",{d:"M14 11l0 6"}),Er("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),Er("path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"})]});import{jsx as z2,jsxs as sS}from"react/jsx-runtime";var $u=e=>sS(o,{...e,children:[z2("path",{d:"M3 17l6 -6l4 4l8 -8"}),z2("path",{d:"M14 7l7 0l0 7"})]});import{jsx as O2,jsxs as iS}from"react/jsx-runtime";var qu=e=>iS(o,{...e,children:[O2("path",{d:"M7 5v5a5 5 0 0 0 10 0v-5"}),O2("path",{d:"M5 19h14"})]});import{jsx as _2,jsxs as pS}from"react/jsx-runtime";var Xu=e=>pS(o,{...e,children:[_2("path",{d:"M9 14l-4 -4l4 -4"}),_2("path",{d:"M5 10h11a4 4 0 1 1 0 8h-1"})]});import{jsx as Ku,jsxs as dS}from"react/jsx-runtime";var Zu=e=>dS(o,{...e,children:[Ku("path",{d:"M3 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -6"}),Ku("path",{d:"M9 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),Ku("path",{d:"M13 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as Qu,jsxs as mS}from"react/jsx-runtime";var Po=e=>mS(o,{...e,children:[Qu("path",{d:"M7 18a4.6 4.4 0 0 1 0 -9a5 4.5 0 0 1 11 2h1a3.5 3.5 0 0 1 0 7h-1"}),Qu("path",{d:"M9 15l3 -3l3 3"}),Qu("path",{d:"M12 12l0 9"})]});import{jsx as H2,jsxs as uS}from"react/jsx-runtime";var Ar=e=>uS(o,{...e,children:[H2("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),H2("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"})]});import{jsx as Yu,jsxs as hS}from"react/jsx-runtime";var Ju=e=>hS(o,{...e,children:[Yu("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Yu("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"}),Yu("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as Ml,jsxs as fS}from"react/jsx-runtime";var ju=e=>fS(o,{...e,children:[Ml("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ml("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),Ml("path",{d:"M21 15h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3h-2.5"}),Ml("path",{d:"M19 21v1m0 -8v1"})]});import{jsx as e1,jsxs as gS}from"react/jsx-runtime";var t1=e=>gS(o,{...e,children:[e1("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),e1("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3.5"}),e1("path",{d:"M18.42 15.61a2.1 2.1 0 0 1 2.97 2.97l-3.39 3.42h-3v-3l3.42 -3.39z"})]});import{jsx as wl,jsxs as vS}from"react/jsx-runtime";var o1=e=>vS(o,{...e,children:[wl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),wl("path",{d:"M16 19h6"}),wl("path",{d:"M19 16v6"}),wl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"})]});import{jsx as kl,jsxs as IS}from"react/jsx-runtime";var n1=e=>IS(o,{...e,children:[kl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),kl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),kl("path",{d:"M16 22l5 -5"}),kl("path",{d:"M21 21.5v-4.5h-4.5"})]});import{jsx as Bl,jsxs as bS}from"react/jsx-runtime";var r1=e=>bS(o,{...e,children:[Bl("path",{d:"M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Bl("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Bl("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Bl("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"})]});import{jsx as a1,jsxs as yS}from"react/jsx-runtime";var l1=e=>yS(o,{...e,children:[a1("path",{d:"M9 10a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),a1("path",{d:"M6 21v-1a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v1"}),a1("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"})]});import{jsx as zr,jsxs as CS}from"react/jsx-runtime";var c1=e=>CS(o,{...e,children:[zr("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),zr("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h6"}),zr("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),zr("path",{d:"M19 22v-6"}),zr("path",{d:"M22 19l-3 -3l-3 3"})]});import{jsx as U2,jsxs as xS}from"react/jsx-runtime";var s1=e=>xS(o,{...e,children:[U2("path",{d:"M15 10l4.553 -2.276a1 1 0 0 1 1.447 .894v6.764a1 1 0 0 1 -1.447 .894l-4.553 -2.276v-4z"}),U2("path",{d:"M3 6m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"})]});import{jsx as i1,jsxs as PS}from"react/jsx-runtime";var p1=e=>PS(o,{...e,children:[i1("path",{d:"M12 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),i1("path",{d:"M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),i1("path",{d:"M8 16l-2.091 3.486a1 1 0 0 0 .857 1.514h10.468a1 1 0 0 0 .857 -1.514l-2.091 -3.486"})]});import{jsx as d1,jsxs as SS}from"react/jsx-runtime";var m1=e=>SS(o,{...e,children:[d1("path",{d:"M15 8a5 5 0 0 1 0 8"}),d1("path",{d:"M17.7 5a9 9 0 0 1 0 14"}),d1("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as G2,jsxs as MS}from"react/jsx-runtime";var u1=e=>MS(o,{...e,children:[G2("path",{d:"M15 8a5 5 0 0 1 0 8"}),G2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"})]});import{jsx as V2,jsxs as wS}from"react/jsx-runtime";var h1=e=>wS(o,{...e,children:[V2("path",{d:"M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5"}),V2("path",{d:"M16 10l4 4m0 -4l-4 4"})]});import{jsx as W2}from"react/jsx-runtime";var f1=e=>W2(o,{...e,children:W2("path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5"})});import{jsx as $2,jsxs as kS}from"react/jsx-runtime";var Te=e=>kS(o,{...e,children:[$2("path",{d:"M18 6l-12 12"}),$2("path",{d:"M6 6l12 12"})]});import{jsx as q2,jsxs as BS}from"react/jsx-runtime";var g1=e=>BS(o,{...e,children:[q2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),q2("path",{d:"M10 10l4 4m0 -4l-4 4"})]});import{jsx as X2}from"react/jsx-runtime";var v1=e=>X2(o,{isFilled:!0,...e,children:X2("path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-6.489 5.8a1 1 0 0 0 -1.218 1.567l1.292 1.293l-1.292 1.293l-.083 .094a1 1 0 0 0 1.497 1.32l1.293 -1.292l1.293 1.292l.094 .083a1 1 0 0 0 1.32 -1.497l-1.292 -1.293l1.292 -1.293l.083 -.094a1 1 0 0 0 -1.497 -1.32l-1.293 1.292l-1.293 -1.292l-.094 -.083z"})});import{jsx as K2,jsxs as RS}from"react/jsx-runtime";var I1=e=>RS(o,{...e,children:[K2("path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"}),K2("path",{d:"M9 9l6 6m0 -6l-6 6"})]});import{jsx as Rl,jsxs as LS}from"react/jsx-runtime";var b1=e=>LS(o,{...e,children:[Rl("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),Rl("path",{d:"M7 10l6 0"}),Rl("path",{d:"M10 7l0 6"}),Rl("path",{d:"M21 21l-6 -6"})]});import{jsx as y1,jsxs as DS}from"react/jsx-runtime";var C1=e=>DS(o,{...e,children:[y1("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),y1("path",{d:"M7 10l6 0"}),y1("path",{d:"M21 21l-6 -6"})]});var Or=(d=>(d["48AlertFeatured"]="48AlertFeatured",d["48SuccessFeatured"]="48SuccessFeatured",d.AlertCircle="AlertCircle",d.AlertOctagon="AlertOctagon",d.AlertTriangle="AlertTriangle",d.Apps="Apps",d.ArrowBarDown="ArrowBarDown",d.ArrowBarLeft="ArrowBarLeft",d.ArrowBarRight="ArrowBarRight",d.ArrowBarToDown="ArrowBarToDown",d.ArrowBarToLeft="ArrowBarToLeft",d.ArrowBarToRight="ArrowBarToRight",d.ArrowBarToUp="ArrowBarToUp",d.ArrowBarUp="ArrowBarUp",d.Archive="Archive",d.ArrowDown="ArrowDown",d.ArrowDownLeft="ArrowDownLeft",d.ArrowDownNarrow="ArrowDownNarrow",d.ArrowDownRight="ArrowDownRight",d.ArrowLeft="ArrowLeft",d.ArrowLeftNarrow="ArrowLeftNarrow",d.ArrowRight="ArrowRight",d.ArrowRightNarrow="ArrowRightNarrow",d.ArrowUp="ArrowUp",d.ArrowUpLeft="ArrowUpLeft",d.ArrowUpNarrow="ArrowUpNarrow",d.ArrowUpRight="ArrowUpRight",d.Attachment="Attachment",d.BarChart="BarChart",d.BarChartSquare="BarChartSquare",d.Bell="Bell",d.Bold="Bold",d.Bookmark="Bookmark",d.BookmarkCheck="BookmarkCheck",d.BookmarkCheckFill="BookmarkCheckFill",d.BookmarkFill="BookmarkFill",d.BookmarkMinus="BookmarkMinus",d.BookmarkPlus="BookmarkPlus",d.BookmarkX="BookmarkX",d.BookOpen="BookOpen",d.BoxLines="BoxLines",d.BoxText="BoxText",d.BracketsCheck="BracketsCheck",d.BracketsEllipses="BracketsEllipses",d.BrickWall="BrickWall",d.Briefcase="Briefcase",d.Building="Building",d.Calculator="Calculator",d.Calendar="Calendar",d.Certificate="Certificate",d.Check="Check",d.CheckCircle="CheckCircle",d.CheckCircleBroken="CheckCircleBroken",d.CheckFill="CheckFill",d.CheckVerified="CheckVerified",d.CheckVerifiedFill="CheckVerifiedFill",d.ChevronDown="ChevronDown",d.ChevronDownDouble="ChevronDownDouble",d.ChevronDownLeft="ChevronDownLeft",d.ChevronDownLeftDouble="ChevronDownLeftDouble",d.ChevronDownRight="ChevronDownRight",d.ChevronDownRightDouble="ChevronDownRightDouble",d.ChevronLeft="ChevronLeft",d.ChevronLeftDouble="ChevronLeftDouble",d.ChevronRight="ChevronRight",d.ChevronRightDouble="ChevronRightDouble",d.ChevronSelectorVertical="ChevronSelectorVertical",d.ChevronUp="ChevronUp",d.ChevronUpDouble="ChevronUpDouble",d.ChevronUpLeft="ChevronUpLeft",d.ChevronUpLeftDouble="ChevronUpLeftDouble",d.ChevronUpRight="ChevronUpRight",d.ChevronUpRightDouble="ChevronUpRightDouble",d.Click="Click",d.Clock="Clock",d.ClockFastForward="ClockFastForward",d.ClockPlay="ClockPlay",d.ClockRewind="ClockRewind",d.Clone="Clone",d.Code="Code",d.CodeBrowser="CodeBrowser",d.CodeCircle="CodeCircle",d.Colors="Colors",d.ColumnEdit="ColumnEdit",d.Copy="Copy",d.Copy2="Copy2",d.CopyCheck="CopyCheck",d.CreditCard="CreditCard",d.Cube="Cube",d.CubeOutline="CubeOutline",d.CursorBox="CursorBox",d.Dataflow="Dataflow",d.Dataflow2="Dataflow2",d.Dataflow3="Dataflow3",d.DistributeHorizontal="DistributeHorizontal",d.Dollar="Dollar",d.DollarCircle="DollarCircle",d.Dot="Dot",d.DotFill="DotFill",d.DotsGrid="DotsGrid",d.DotsHorizontal="DotsHorizontal",d.DotsVertical="DotsVertical",d.Download="Download",d.Edit="Edit",d.Editable="Editable",d.Expand="Expand",d.ExternalLink="ExternalLink",d.ExternalLink2="ExternalLink2",d.Eye="Eye",d.EyeHidden="EyeHidden",d.EyeHidden2="EyeHidden2",d.FaceAngry="FaceAngry",d.FaceLaugh="FaceLaugh",d.FaceSmile="FaceSmile",d.File="File",d.FileCheck="FileCheck",d.FileCsv="FileCsv",d.FileDownload="FileDownload",d.FileJson="FileJson",d.FileList="FileList",d.FileMusic="FileMusic",d.FilePdf="FilePdf",d.Files="Files",d.FileSpreadsheet="FileSpreadsheet",d.FileText="FileText",d.FileUpload="FileUpload",d.FileXls="FileXls",d.FileXlsx="FileXlsx",d.FileZip="FileZip",d.Filter="Filter",d.Filter2="Filter2",d.Flag="Flag",d.Flag2="Flag2",d.FlagFill="FlagFill",d.Focus="Focus",d.Folder="Folder",d.FolderExport="FolderExport",d.FolderImport="FolderImport",d.GraduationCap="GraduationCap",d.GripVertical="GripVertical",d.Hand="Hand",d.HandShield="HandShield",d.Hash="Hash",d.HeadsetMic="HeadsetMic",d.Heart="Heart",d.HeartFill="HeartFill",d.House="House",d.HouseLine="HouseLine",d.Image="Image",d.Image2="Image2",d.ImageCheck="ImageCheck",d.ImageOff="ImageOff",d.Import="Import",d.Inbox="Inbox",d.InfoCircle="InfoCircle",d.InfoHexagon="InfoHexagon",d.Italic="Italic",d.LayersMultiple="LayersMultiple",d.LayersSingle="LayersSingle",d.Layout="Layout",d.Layout2="Layout2",d.LayoutColumns="LayoutColumns",d.LayoutCustom="LayoutCustom",d.LayoutStuffed="LayoutStuffed",d.LayoutTile="LayoutTile",d.LifeBuoy="LifeBuoy",d.Lightbulb="Lightbulb",d.Lightning="Lightning",d.LightningFast="LightningFast",d.LineChart="LineChart",d.LineChartBar="LineChartBar",d.LineChartBreakoutSquare="LineChartBreakoutSquare",d.LineChartUp="LineChartUp",d.Lines="Lines",d.LinesCheck="LinesCheck",d.LinesPlay="LinesPlay",d.Link="Link",d.Link2="Link2",d.LinkOff="LinkOff",d.ListBullet="ListBullet",d.ListOrder="ListOrder",d.Lock="Lock",d.LockFill="LockFill",d.LogIn="LogIn",d.LogOut="LogOut",d.LogOut2="LogOut2",d.MagicWand="MagicWand",d.Mail="Mail",d.MapPin="MapPin",d.Maximize="Maximize",d.Maximize2="Maximize2",d.MessageCircle="MessageCircle",d.MessageSquare="MessageSquare",d.MessageSquare2="MessageSquare2",d.MessageXSquare="MessageXSquare",d.Microphone="Microphone",d.Minimize="Minimize",d.Minimize2="Minimize2",d.MinusCircle="MinusCircle",d.Mobile="Mobile",d.Monitor="Monitor",d.Monitor2="Monitor2",d.Moon="Moon",d.MoonCircle="MoonCircle",d.Movie="Movie",d.NavigationPointer="NavigationPointer",d.NotificationBox="NotificationBox",d.Package="Package",d.Palette="Palette",d.PasscodeLock="PasscodeLock",d.Pause="Pause",d.PauseCircle="PauseCircle",d.PCSetup="PCSetup",d.Pen="Pen",d.PercentageCircle="PercentageCircle",d.Perspective="Perspective",d.PhoneCall="PhoneCall",d.Pin="Pin",d.Play="Play",d.PlayCircle="PlayCircle",d.Plus="Plus",d.PlusCircle="PlusCircle",d.Printer="Printer",d.Pulse="Pulse",d.QuestionCircle="QuestionCircle",d.Quote="Quote",d.RadioButton="RadioButton",d.RadioButtonFill="RadioButtonFill",d.Receipt="Receipt",d.ReceiptCheck="ReceiptCheck",d.Redo="Redo",d.Refresh="Refresh",d.Refresh2="Refresh2",d.Refresh3="Refresh3",d.Repeat="Repeat",d.Replace="Replace",d.Replay="Replay",d.Restore="Restore",d.Rocket="Rocket",d.RoundChart="RoundChart",d.RoundChart2="RoundChart2",d.Route="Route",d.Save="Save",d.ScanDots="ScanDots",d.Scissors="Scissors",d.Search="Search",d.Send="Send",d.Server="Server",d.Settings="Settings",d.Settings2="Settings2",d.Share="Share",d.ShieldLightning="ShieldLightning",d.ShieldPlus="ShieldPlus",d.ShieldRemove="ShieldRemove",d.ShoppingBag="ShoppingBag",d.ShoppingCart="ShoppingCart",d.Shrink="Shrink",d.Shuffle="Shuffle",d.SkipForward="SkipForward",d.SlashCircle="SlashCircle",d.SlashOctagon="SlashOctagon",d.SocialAndroid="SocialAndroid",d.SocialApple="SocialApple",d.SocialGithub="SocialGithub",d.SocialGlobe="SocialGlobe",d.SocialGoogle="SocialGoogle",d.SocialInstagram="SocialInstagram",d.SocialLinkedin="SocialLinkedin",d.SocialMastercard="SocialMastercard",d.SocialReact="SocialReact",d.SocialVisa="SocialVisa",d.SocialX="SocialX",d.Speedometer="Speedometer",d.Stairs="Stairs",d.Star="Star",d.StarFill="StarFill",d.StarHalf="StarHalf",d.Stars="Stars",d.Stop="Stop",d.Strikethrough="Strikethrough",d.Sun="Sun",d.Swap="Swap",d.SwitchHorizontal="SwitchHorizontal",d.Table="Table",d.Tag="Tag",d.Target="Target",d.Target2="Target2",d.TextFormat="TextFormat",d.TextFormat2="TextFormat2",d.TextHighlight="TextHighlight",d.ThumbsDown="ThumbsDown",d.ThumbsUp="ThumbsUp",d.ThumbsUpFill="ThumbsUpFill",d.Toggle="Toggle",d.Translate="Translate",d.Trash="Trash",d.Trending="Trending",d.Underline="Underline",d.Undo="Undo",d.Unlock="Unlock",d.UploadCloud="UploadCloud",d.User="User",d.UserCheck="UserCheck",d.UserDollar="UserDollar",d.UserEdit="UserEdit",d.UserPlus="UserPlus",d.UserRight="UserRight",d.Users="Users",d.UserSquare="UserSquare",d.UsersUp="UsersUp",d.UserVoice="UserVoice",d.Video="Video",d.VideoChat="VideoChat",d.Volume="Volume",d.VolumeDown="VolumeDown",d.VolumeMute="VolumeMute",d.Wrench="Wrench",d.X="X",d.XCircle="XCircle",d.XCircleFill="XCircleFill",d.XSquare="XSquare",d.ZoomIn="ZoomIn",d.ZoomOut="ZoomOut",d))(Or||{});import{jsx as m}from"react/jsx-runtime";function _e({name:e,...t}){switch(e){case"48AlertFeatured":return m(Qc,{...t});case"48SuccessFeatured":return m(Yc,{...t});case"AlertCircle":return m(ho,{...t});case"AlertOctagon":return m(jc,{...t});case"AlertTriangle":return m(ts,{...t});case"ArrowBarDown":return m(as,{...t});case"ArrowBarLeft":return m(ls,{...t});case"ArrowBarRight":return m(cs,{...t});case"ArrowBarToDown":return m(ss,{...t});case"ArrowBarToLeft":return m(is,{...t});case"ArrowBarToRight":return m(ps,{...t});case"ArrowBarToUp":return m(ds,{...t});case"ArrowBarUp":return m(ms,{...t});case"Apps":return m(os,{...t});case"Archive":return m(rs,{...t});case"ArrowDown":return m(hs,{...t});case"ArrowDownLeft":return m(fs,{...t});case"ArrowDownNarrow":return m(vs,{...t});case"ArrowDownRight":return m(Is,{...t});case"ArrowLeft":return m(ys,{...t});case"ArrowLeftNarrow":return m(xs,{...t});case"ArrowRight":return m(Ss,{...t});case"ArrowRightNarrow":return m(ws,{...t});case"ArrowUp":return m(Bs,{...t});case"ArrowUpLeft":return m(Rs,{...t});case"ArrowUpNarrow":return m(Ds,{...t});case"ArrowUpRight":return m(Ts,{...t});case"Attachment":return m(Ns,{...t});case"BarChart":return m(Fs,{...t});case"BarChartSquare":return m(Es,{...t});case"Bell":return m(As,{...t});case"Bold":return m(zs,{...t});case"BookOpen":return m(Vs,{...t});case"Bookmark":return m(Os,{...t});case"BookmarkCheck":return m(Vc,{...t});case"BookmarkCheckFill":return m(Wc,{...t});case"BookmarkFill":return m(_s,{...t});case"BookmarkMinus":return m(Hs,{...t});case"BookmarkPlus":return m(qc,{...t});case"BookmarkX":return m(Gs,{...t});case"BoxLines":return m(Ws,{...t});case"BoxText":return m(qs,{...t});case"BracketsCheck":return m(Ks,{...t});case"BracketsEllipses":return m(Zs,{...t});case"BrickWall":return m(Qs,{...t});case"Briefcase":return m(Ys,{...t});case"Building":return m(Xc,{...t});case"Calculator":return m(Js,{...t});case"Calendar":return m(Qn,{...t});case"Certificate":return m(js,{...t});case"Check":return m(xt,{...t});case"CheckCircle":return m(fo,{...t});case"CheckCircleBroken":return m(ei,{...t});case"CheckFill":return m(ti,{...t});case"CheckVerified":return m(oi,{...t});case"CheckVerifiedFill":return m(ni,{...t});case"ChevronDown":return m(Yn,{...t});case"ChevronDownDouble":return m(ri,{...t});case"ChevronDownLeft":return m(ai,{...t});case"ChevronDownLeftDouble":return m(li,{...t});case"ChevronDownRight":return m(ci,{...t});case"ChevronDownRightDouble":return m(si,{...t});case"ChevronLeft":return m(Pt,{...t});case"ChevronLeftDouble":return m(ii,{...t});case"ChevronRight":return m(ot,{...t});case"ChevronRightDouble":return m(Jn,{...t});case"ChevronSelectorVertical":return m(pi,{...t});case"ChevronUp":return m(St,{...t});case"ChevronUpDouble":return m(di,{...t});case"ChevronUpLeft":return m(mi,{...t});case"ChevronUpLeftDouble":return m(ui,{...t});case"ChevronUpRight":return m(hi,{...t});case"ChevronUpRightDouble":return m(fi,{...t});case"Click":return m(gi,{...t});case"Clock":return m(vi,{...t});case"ClockFastForward":return m(Ii,{...t});case"ClockPlay":return m(yi,{...t});case"ClockRewind":return m(Ci,{...t});case"Clone":return m(xi,{...t});case"Code":return m(Si,{...t});case"CodeBrowser":return m(Mi,{...t});case"CodeCircle":return m(ki,{...t});case"Colors":return m(Ri,{...t});case"ColumnEdit":return m(Kc,{...t});case"Copy":return m(Li,{...t});case"Copy2":return m(Di,{...t});case"CopyCheck":return m(Ni,{...t});case"Files":return m(bp,{...t});case"CreditCard":return m(Fi,{...t});case"Cube":return m(Ei,{...t});case"CubeOutline":return m(Ai,{...t});case"CursorBox":return m(er,{...t});case"Dataflow":return m(zi,{...t});case"Dataflow2":return m(Oi,{...t});case"Dataflow3":return m(_i,{...t});case"DistributeHorizontal":return m(Ui,{...t});case"Dollar":return m(Gi,{...t});case"DollarCircle":return m(Wi,{...t});case"Dot":return m($i,{...t});case"DotFill":return m(qi,{...t});case"DotsGrid":return m(Xi,{...t});case"DotsHorizontal":return m(Zi,{...t});case"DotsVertical":return m(on,{...t});case"Download":return m(Ji,{...t});case"Edit":return m(ji,{...t});case"Editable":return m(tp,{...t});case"Expand":return m(op,{...t});case"ExternalLink":return m(rp,{...t});case"ExternalLink2":return m(lp,{...t});case"Eye":return m(cp,{...t});case"EyeHidden":return m(ip,{...t});case"EyeHidden2":return m(pp,{...t});case"FaceAngry":return m(dp,{...t});case"FaceLaugh":return m(mp,{...t});case"FaceSmile":return m(up,{...t});case"File":return m(vo,{...t});case"FileCheck":return m(fp,{...t});case"FileCsv":return m(rr,{...t});case"FileDownload":return m(gp,{...t});case"FileJson":return m(ar,{...t});case"FileList":return m(vp,{...t});case"FileMusic":return m(Xe,{...t});case"FilePdf":return m(Io,{...t});case"FileSpreadsheet":return m(cr,{...t});case"FileText":return m(wt,{...t});case"FileUpload":return m(yp,{...t});case"FileXls":return m(ir,{...t});case"FileXlsx":return m(pr,{...t});case"FileZip":return m(ct,{...t});case"Filter":return m(Cp,{...t});case"Filter2":return m(dr,{...t});case"Flag":return m(Pp,{...t});case"Flag2":return m(Sp,{...t});case"FlagFill":return m(Mp,{...t});case"Focus":return m(wp,{...t});case"Folder":return m(kp,{...t});case"FolderExport":return m(Bp,{...t});case"FolderImport":return m(Rp,{...t});case"GraduationCap":return m(Lp,{...t});case"GripVertical":return m(Dp,{...t});case"Hand":return m(Tp,{...t});case"HandShield":return m(Np,{...t});case"Hash":return m(Fp,{...t});case"HeadsetMic":return m(Ep,{...t});case"Heart":return m(Ap,{...t});case"HeartFill":return m(zp,{...t});case"House":return m(_p,{...t});case"HouseLine":return m(ur,{...t});case"Image":return m(Le,{...t});case"Image2":return m(Hp,{...t});case"ImageCheck":return m(Up,{...t});case"ImageOff":return m(Gp,{...t});case"Import":return m(Vp,{...t});case"Inbox":return m(Wp,{...t});case"InfoCircle":return m(qp,{...t});case"InfoHexagon":return m(Kp,{...t});case"Italic":return m(Qp,{...t});case"LayersMultiple":return m(Jp,{...t});case"LayersSingle":return m(jp,{...t});case"Layout":return m(ed,{...t});case"Layout2":return m(od,{...t});case"LayoutColumns":return m(nd,{...t});case"LayoutCustom":return m(rd,{...t});case"LayoutStuffed":return m(ld,{...t});case"LayoutTile":return m(cd,{...t});case"LifeBuoy":return m(sd,{...t});case"Lightbulb":return m(pd,{...t});case"Lightning":return m(dd,{...t});case"LightningFast":return m(md,{...t});case"LineChartBar":return m(hd,{...t});case"LineChartBreakoutSquare":return m(fd,{...t});case"LineChart":return m(ud,{...t});case"LineChartUp":return m(vd,{...t});case"Lines":return m(Id,{...t});case"LinesCheck":return m(bd,{...t});case"LinesPlay":return m(yd,{...t});case"Link":return m(xd,{...t});case"Link2":return m(Pd,{...t});case"LinkOff":return m(Sd,{...t});case"ListBullet":return m(Md,{...t});case"ListOrder":return m(wd,{...t});case"Lock":return m(Bd,{...t});case"LockFill":return m(Rd,{...t});case"LogIn":return m(Dd,{...t});case"LogOut":return m(Nd,{...t});case"LogOut2":return m(Ed,{...t});case"MagicWand":return m(Ad,{...t});case"Mail":return m(zd,{...t});case"MapPin":return m(Od,{...t});case"Maximize":return m(_d,{...t});case"Maximize2":return m(Hd,{...t});case"MessageCircle":return m(Ud,{...t});case"MessageSquare":return m(Vd,{...t});case"MessageSquare2":return m(Wd,{...t});case"MessageXSquare":return m($d,{...t});case"Microphone":return m(yr,{...t});case"Minimize":return m(qd,{...t});case"Minimize2":return m(Xd,{...t});case"MinusCircle":return m(Kd,{...t});case"Mobile":return m(Qd,{...t});case"Monitor":return m(Yd,{...t});case"Monitor2":return m(Jd,{...t});case"Moon":return m(jd,{...t});case"MoonCircle":return m(em,{...t});case"Movie":return m(nt,{...t});case"NavigationPointer":return m(tm,{...t});case"NotificationBox":return m(om,{...t});case"Package":return m(nm,{...t});case"Palette":return m(rm,{...t});case"PasscodeLock":return m(am,{...t});case"Pause":return m(bo,{...t});case"PauseCircle":return m(cm,{...t});case"PCSetup":return m(im,{...t});case"Pen":return m(dm,{...t});case"PercentageCircle":return m(mm,{...t});case"Perspective":return m(um,{...t});case"PhoneCall":return m(fm,{...t});case"Pin":return m(Sr,{...t});case"Play":return m(yo,{...t});case"PlayCircle":return m(vm,{...t});case"Plus":return m(Mr,{...t});case"PlusCircle":return m(Kt,{...t});case"Printer":return m(ym,{...t});case"Pulse":return m(Cm,{...t});case"QuestionCircle":return m(wr,{...t});case"Quote":return m(Pm,{...t});case"RadioButton":return m(Sm,{...t});case"RadioButtonFill":return m(Mm,{...t});case"Receipt":return m(wm,{...t});case"ReceiptCheck":return m(km,{...t});case"Redo":return m(Bm,{...t});case"Refresh":return m(Rm,{...t});case"Refresh2":return m(Lm,{...t});case"Refresh3":return m(Dm,{...t});case"Repeat":return m(Tm,{...t});case"Replace":return m(Nm,{...t});case"Replay":return m(Fm,{...t});case"Restore":return m(Am,{...t});case"Rocket":return m(Om,{...t});case"RoundChart":return m(_m,{...t});case"RoundChart2":return m(Hm,{...t});case"Route":return m(Gm,{...t});case"Save":return m(Wm,{...t});case"ScanDots":return m($m,{...t});case"Scissors":return m(kr,{...t});case"Search":return m(kt,{...t});case"Send":return m(qm,{...t});case"Server":return m(Xm,{...t});case"Settings":return m(Km,{...t});case"Settings2":return m(Zm,{...t});case"Share":return m(Qm,{...t});case"ShieldLightning":return m(Ym,{...t});case"ShieldPlus":return m(jm,{...t});case"ShieldRemove":return m(tu,{...t});case"ShoppingBag":return m(ou,{...t});case"ShoppingCart":return m(nu,{...t});case"Shrink":return m(ru,{...t});case"Shuffle":return m(au,{...t});case"SkipForward":return m(lu,{...t});case"SlashCircle":return m(cu,{...t});case"SlashOctagon":return m(su,{...t});case"SocialAndroid":return m(iu,{...t});case"SocialApple":return m(pu,{...t});case"SocialGithub":return m(du,{...t});case"SocialGlobe":return m(mu,{...t});case"SocialGoogle":return m(uu,{...t});case"SocialInstagram":return m(fu,{...t});case"SocialLinkedin":return m(gu,{...t});case"SocialMastercard":return m(Iu,{...t});case"SocialReact":return m(bu,{...t});case"SocialVisa":return m(yu,{...t});case"SocialX":return m(Cu,{...t});case"Speedometer":return m(xu,{...t});case"Stairs":return m(Pu,{...t});case"Star":return m(Tr,{...t});case"StarFill":return m(Su,{...t});case"StarHalf":return m(Mu,{...t});case"Stars":return m(wu,{...t});case"Stop":return m(Nr,{...t});case"Strikethrough":return m(ku,{...t});case"Sun":return m(Bu,{...t});case"Swap":return m(Ru,{...t});case"SwitchHorizontal":return m(Lu,{...t});case"Table":return m(Tu,{...t});case"Tag":return m(Fr,{...t});case"Target":return m(Nu,{...t});case"Target2":return m(Eu,{...t});case"TextFormat":return m(zu,{...t});case"TextFormat2":return m(Ou,{...t});case"TextHighlight":return m(_u,{...t});case"ThumbsDown":return m(Hu,{...t});case"ThumbsUp":return m(Uu,{...t});case"ThumbsUpFill":return m(Gu,{...t});case"Toggle":return m(Vu,{...t});case"Translate":return m(Wu,{...t});case"Trash":return m(Ke,{...t});case"Trending":return m($u,{...t});case"Underline":return m(qu,{...t});case"Undo":return m(Xu,{...t});case"Unlock":return m(Zu,{...t});case"UploadCloud":return m(Po,{...t});case"User":return m(Ar,{...t});case"UserCheck":return m(Ju,{...t});case"UserDollar":return m(ju,{...t});case"UserEdit":return m(t1,{...t});case"UserPlus":return m(o1,{...t});case"UserRight":return m(n1,{...t});case"UserSquare":return m(l1,{...t});case"Users":return m(r1,{...t});case"UsersUp":return m(c1,{...t});case"UserVoice":return m(Zc,{...t});case"Video":return m(s1,{...t});case"VideoChat":return m(p1,{...t});case"Volume":return m(m1,{...t});case"VolumeDown":return m(u1,{...t});case"VolumeMute":return m(h1,{...t});case"Wrench":return m(f1,{...t});case"X":return m(Te,{...t});case"XCircle":return m(g1,{...t});case"XCircleFill":return m(v1,{...t});case"XSquare":return m(I1,{...t});case"ZoomIn":return m(b1,{...t});case"ZoomOut":return m(C1,{...t});default:return null}}var Z2=vo,Q2={png:Le,jpg:Le,jpeg:Le,gif:Le,bmp:Le,webp:Le,svg:Le,avif:Le,heic:Le,ico:Le,tif:Le,tiff:Le,mp4:nt,mov:nt,webm:nt,avi:nt,mkv:nt,m4v:nt,ogv:nt,mp3:Xe,wav:Xe,ogg:Xe,oga:Xe,m4a:Xe,aac:Xe,flac:Xe,weba:Xe,pdf:Io,doc:wt,docx:wt,txt:wt,rtf:wt,odt:wt,json:ar,csv:rr,xls:ir,xlsx:pr,ods:cr,zip:ct,rar:ct,"7z":ct,tar:ct,gz:ct,tgz:ct};var x1=e=>{let t=e?.trim().replace(/^\./,"").toLowerCase();return t&&Q2[t]||Z2};import{cn as P1,ColorHelpers as TS}from"@cleen/ui-core";import{forwardRef as NS}from"react";import{Fragment as ES,jsx as _r,jsxs as AS}from"react/jsx-runtime";var FS=NS(function({iconName:t,iconSrc:r,icon:n,iconSize:l=20,header:a,color:c,children:s,classNames:u,styles:p,...i},g){let h=TS.getComputedColor(c);return _r(ie,{ref:g,classNames:{...u,header:{...u?.header,title:P1("cleen-flex cleen-gap-4",u?.header?.title)}},header:{...a,title:AS(ES,{children:[_r("div",{className:P1("cleen-flex cleen-w-10 cleen-h-10 cleen-justify-center cleen-items-center cleen-gap-2 cleen-flex-shrink-0 cleen-rounded-xl cleen-border cleen-border-border cleen-bg-background",u?.iconHolder),style:{...h&&{backgroundColor:Wn(h,.85),color:h,borderColor:"transparent"},...p?.iconHolder},children:n||(t?_r(_e,{name:t,className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):r?_r("img",{src:r,alt:"Icon",className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):null)}),a?.title]})},color:c,...i,children:s&&_r("div",{className:P1("cleen-flex-1",u?.content),style:p?.content,children:s})})});import{cn as vn}from"@cleen/ui-core";import{forwardRef as zS,useMemo as OS}from"react";import{jsx as Hr}from"react/jsx-runtime";var _S=zS(function({media:t,header:r,color:n,children:l,classNames:a,styles:c,...s},u){let p=OS(()=>{switch(t?.type){case"image":return Hr("img",{...t,alt:t.alt??"Card media",className:vn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"video":return Hr("video",{playsInline:!0,controls:!0,...t,className:vn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"iframe":return Hr("iframe",{...t,title:t.title??"Card iframe",className:vn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});default:return null}},[t,a?.media,c?.media]);return Hr(ie,{ref:u,color:n,classNames:{...a,container:vn("cleen-pt-0",a?.container),header:{...a?.header,content:vn("cleen-p-0",a?.header?.content)}},header:{...r,...p&&{content:Hr("div",{className:vn("cleen-w-full cleen-overflow-hidden cleen-rounded-t-lg",a?.media?.container),style:c?.media?.container,children:p})}},...s,children:l})});import{cn as Ur}from"@cleen/ui-core";import{jsx as Ll,jsxs as HS}from"react/jsx-runtime";var j=({className:e,classNames:t,style:r,styles:n,infoMessage:l,errorMessage:a,subtitle:c,...s})=>Ll("div",{className:Ur("cleen",e),style:r,children:HS("div",{className:Ur(t?.container),style:n?.container,...s,children:[l&&Ll("div",{className:Ur("cleen-mt-1 cleen-font-normal cleen-text-sm cleen-text-info",t?.infoMessage),style:n?.infoMessage,role:"note",children:l}),a&&Ll("div",{className:Ur("cleen-mt-1 cleen-font-medium cleen-text-sm cleen-text-error",t?.errorMessage),style:n?.errorMessage,role:"alert",children:a}),c&&Ll("div",{className:Ur("cleen-mt-2 cleen-font-normal cleen-text-sm cleen-text-neutral-600",t?.subtitle),style:n?.subtitle,children:c})]})});import{cn as Gr}from"@cleen/ui-core";import{jsx as Vr,jsxs as US}from"react/jsx-runtime";var te=({required:e=!1,tooltip:t,children:r,className:n,classNames:l,style:a,styles:c,...s})=>Vr("div",{className:Gr("cleen",n),style:a,children:US("label",{...s,className:Gr("cleen-w-full cleen-flex cleen-gap-1 cleen-items-center cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-leading-6",l?.container),style:c?.container,children:[Vr("div",{className:Gr({"cleen-flex-1":!e&&!t},l?.label),style:c?.label,children:r}),e&&Vr("span",{className:Gr("cleen-text-primary",l?.required),style:c?.required,children:"*"}),t&&Vr(Ie,{hasArrow:!0,placement:"top",label:t,color:"rgb(var(--cleen-neutral-600))",...l?.tooltip,style:c?.tooltip?.style,styles:{...c?.tooltip?.styles,labelContainer:{width:"max-content",maxWidth:"250px",...c?.tooltip?.styles?.labelContainer}},children:Vr(wr,{className:Gr("cleen-size-3 cleen-text-neutral-500 hover:cleen-text-neutral-900 cleen-transition-colors cleen-cursor-help",l?.questionIcon),style:c?.questionIcon})})]})});import{cn as Rt}from"@cleen/ui-core";import{forwardRef as GS,useEffect as VS,useId as WS,useMemo as $S,useState as Y2}from"react";import{jsx as Yt,jsxs as Dl}from"react/jsx-runtime";var me=GS(function({name:t,id:r,type:n,label:l,labelTooltip:a,defaultValue:c,value:s,files:u,disabled:p,required:i,className:g,classNames:h,style:y,styles:b,autoComplete:f="off",isFocusedBorder:v,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,uploadLabel:P="Choose a file",leftIcon:M,rightIcon:B,topRightIcon:k,inputOverlay:w,infoLabels:R,maxLengthLabel:E,minLengthLabel:N,onChange:L,...F},D){let S=s!==void 0||u!==void 0,[H,T]=Y2(c??""),[z,A]=Y2(null),_=S?s:H,G=S?u:z;VS(()=>{S||T(s??c??"")},[s,c,S]);let $=O=>{let Z=O.target.value;if(n==="file"&&O.target.files){S||A(O.target.files),L?.(O);return}(!C||Z.length<=C)&&(S||T(Z),L?.(O))},W=$S(()=>x&&N&&(_?.toString()?.length??0)<x?N(x-(_?.toString()?.length??0)):!C||!E||(_?.toString()?.length??0)/C<I?R?.subtitle:E?.(C-(_?.toString()?.length??0)),[_,C,I,R?.subtitle]),U=WS(),V=!!(R?.errorMessage||R?.infoMessage||W),Q=V?`${U}-info`:void 0;return Yt("div",{className:Rt("cleen",g),style:y,children:Dl("div",{className:Rt("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-normal",h?.container),style:b?.container,children:[(l||k)&&Dl("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",children:[Yt(te,{htmlFor:r||t,required:i,tooltip:a,className:Rt("cleen-w-full",h?.label?.className),classNames:h?.label?.classNames,...b?.label,children:l}),k]}),Dl("label",{className:Rt("cleen-relative cleen-flex cleen-items-stretch cleen-bg-background cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-all cleen-duration-200 cleen-overflow-hidden focus-within:cleen-ring-4 focus-within:cleen-ring-primary-100 focus-within:cleen-ring-offset-0",{"has-[:focus]:cleen-border has-[:focus]:cleen-border-primary/30":v},p&&"cleen-bg-muted",{"cleen-cursor-pointer":n==="file"&&!p},R?.errorMessage?["cleen-border-error/70 focus-within:cleen-ring-error-bg",!p&&"hover:cleen-border-error"]:["cleen-border-border focus-within:cleen-border-primary-400",!p&&"hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary"],h?.inputContainer),style:b?.inputContainer,children:[M&&Yt("div",{className:Rt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-l-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.leftIconContainer),style:b?.leftIconContainer,children:M}),Dl("div",{className:"cleen-relative cleen-flex cleen-flex-1 cleen-items-stretch",children:[Yt("input",{id:r||t,name:t,type:n,disabled:p,maxLength:C,autoComplete:f,value:_,className:Rt("cleen-block cleen-border-0 cleen-bg-transparent cleen-rounded-md cleen-w-full cleen-text-base","cleen-py-2 cleen-pr-2 placeholder:cleen-text-neutral-400 sm:cleen-text-sm focus:cleen-ring-transparent focus:cleen-outline-none cleen-my-auto",M?"cleen-pl-0":"cleen-px-3.5",{"cleen-rounded-l-none":M,"cleen-rounded-r-none":B,"cleen-hidden":n==="file"},p?"cleen-text-neutral-400":"cleen-text-foreground",h?.input),style:b?.input,onChange:$,required:i,"aria-invalid":R?.errorMessage?!0:void 0,"aria-describedby":Q,ref:D,...F}),w&&Yt("div",{className:Rt("cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-rounded-md cleen-overflow-hidden cleen-text-sm cleen-pointer-events-auto",M?"cleen-pl-0 cleen-pr-2":"cleen-px-3.5",h?.inputOverlay),style:b?.inputOverlay,children:w}),n==="file"&&Yt("p",{className:Rt("cleen-flex cleen-items-center cleen-p-2.5 cleen-text-sm cleen-text-nowrap",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",G&&G.length>0&&"cleen-text-foreground"),children:G&&G.length>0?Array.from(G).map(O=>O.name).join(", "):P})]}),B&&Yt("div",{className:Rt("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1.5 cleen-p-2 cleen-rounded-r-md focus:cleen-outline-none focus:cleen-ring-4 cleen-text-base",p?"cleen-text-neutral-400":"cleen-text-muted-foreground",h?.rightIconContainer),style:b?.rightIconContainer,children:B})]}),V&&Yt(j,{id:Q,...R,subtitle:W})]})})});import{cn as Wr,useOutsideClick as qS}from"@cleen/ui-core";import{forwardRef as XS,useEffect as J2,useImperativeHandle as KS,useMemo as ZS,useRef as QS,useState as Tl}from"react";import{jsx as $r,jsxs as YS}from"react/jsx-runtime";var S1=XS(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,inputProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=$r(ne,{}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Tl(r??""),L=R?t??"":E,[F,D]=Tl(!1),S=f??F,H=ZS(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,z]=Tl(n),A=l!==void 0,_=A?l:T,[G,$]=Tl(L),W=QS(null);KS(w,()=>({...W.current,save:V,cancel:U})),J2(()=>{R||N(r??"")},[r,R]),J2(()=>{_||$(L)},[L,_]);let U=async()=>{A||z(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),A||z(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),A||z(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Enter"&&(O.preventDefault(),await V()),O.key==="Escape"&&(O.stopPropagation(),O.preventDefault(),await U()),h?.onKeyDown?.(O)};return qS({refs:[W],enabled:y&&_,handler:async()=>{b?await V():await U()}}),$r("div",{className:Wr("cleen",I),style:M,ref:W,...k,children:_?YS("div",{className:Wr("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[$r(me,{value:G,onChange:O=>{$(O.target.value),g?.(O.target.value)},autoFocus:!0,placeholder:c,className:P?.input?.className,classNames:{...P?.input?.classNames,inputContainer:Wr("cleen-border-primary hover:cleen-border-primary/60",P?.input?.classNames?.inputContainer)},...B?.input,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&$r("div",{className:Wr("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):$r("div",{onClick:()=>{u&&(A||z(!0),a?.(!0))},className:Wr("cleen-min-h-6 cleen-text-foreground",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:H})})});import{cn as In}from"@cleen/ui-core";import{forwardRef as JS,useEffect as j2,useId as jS,useMemo as e4,useRef as t4,useState as o4}from"react";import{jsx as So,jsxs as M1}from"react/jsx-runtime";var w1=JS(function({name:t,id:r,value:n,defaultValue:l,label:a,labelTooltip:c,disabled:s,required:u,infoLabels:p,topRightElement:i,labelRightElement:g,textareaOverlay:h,onChange:y,minHeight:b,maxHeight:f=200,autoResize:v=!0,maxLength:C,minLength:x,maxLengthLabelThreshold:I=.5,maxLengthLabel:P,minLengthLabel:M,className:B,classNames:k,style:w,styles:R,...E},N){let L=n!==void 0,[F,D]=o4(typeof l=="string"?l:""),S=t4(null),H=N??S,T=L?n:F;j2(()=>{L||D(n??(typeof l=="string"?l:""))},[n,l,L]);let z=O=>{O.style.height="auto";let Z=Math.min(O.scrollHeight,f);O.style.height=`${Z}px`},A=O=>{z(O.target)};j2(()=>{!v||!S.current||z(S.current)},[v,T,f]);let _=O=>{O.preventDefault()},G=O=>{O.preventDefault();let Z=O.dataTransfer?.getData("text/plain");L?y?.(`${n??""}${Z}`):(D(se=>`${se}${Z}`),y?.(`${F}${Z}`))},$=O=>{let Z=O.target.value;(!C||Z.length<=C)&&(L||D(Z),y?.(Z),v&&A(O))},W=e4(()=>x&&M&&(T?.length??0)<x?M(x-(T?.length??0)):!C||!P||(T?.toString()?.length??0)/C<I?p?.subtitle:P?.(C-(T?.toString()?.length??0)),[T,C,I,p?.subtitle]),U=jS(),V=!!(p?.errorMessage||p?.infoMessage||W),Q=V?`${U}-info`:void 0;return So("div",{className:In("cleen",B),style:w,children:M1("div",{className:In("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-size-full cleen-font-normal",k?.container),style:R?.container,children:[(a||g)&&M1("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-mb-1.5",children:[a&&So(te,{htmlFor:r||t,required:u,tooltip:c,className:In("cleen-w-full",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:a}),g&&So("div",{className:"cleen-ml-auto",children:g})]}),M1("div",{className:In("cleen-relative cleen-flex cleen-items-center cleen-shadow-sm cleen-border cleen-rounded-md cleen-transition-colors cleen-duration-200",p?.errorMessage?"cleen-border-error/70 hover:cleen-border-error":"cleen-border-border hover:cleen-border-muted-foreground focus-within:cleen-border-primary focus-within:hover:cleen-border-primary",k?.textareaContainer),style:R?.textareaContainer,children:[i&&So("div",{className:"cleen-absolute cleen-top-2 cleen-right-2 cleen-z-10",children:i}),h&&So("div",{className:In("cleen-absolute cleen-inset-0 cleen-px-3.5 cleen-py-3 cleen-rounded-lg cleen-overflow-y-auto cleen-text-sm cleen-leading-6",s?"cleen-bg-muted":"cleen-bg-background"),children:h}),So("textarea",{id:r||t,name:t,ref:H,disabled:s,value:T,minLength:x,maxLength:C,"aria-invalid":p?.errorMessage?!0:void 0,"aria-describedby":Q,className:In("cleen-block cleen-flex-1 cleen-px-3.5 cleen-py-3 cleen-border-0 cleen-rounded-lg focus:cleen-outline-none focus:cleen-ring-transparent placeholder:cleen-text-muted-foreground sm:cleen-text-sm cleen-text-base",s?"cleen-bg-muted cleen-text-neutral-400":"cleen-bg-background cleen-text-foreground",k?.textarea),style:{...b&&{minHeight:`${b}px`},...R?.textarea},onFocus:O=>O.currentTarget.setSelectionRange(O.currentTarget.value.length,O.currentTarget.value.length),onDragOver:_,onDrop:G,...E,onChange:$})]}),V&&So(j,{id:Q,...p,subtitle:W})]})})});import{cn as qr,useOutsideClick as n4}from"@cleen/ui-core";import{forwardRef as r4,useEffect as eg,useImperativeHandle as a4,useMemo as l4,useRef as c4,useState as Nl}from"react";import{jsx as Xr,jsxs as s4}from"react/jsx-runtime";var k1=r4(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:g,textAreaProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:f,customLoader:v=Xr(ne,{size:"md"}),selectAllOnEdit:C=!1,renderText:x,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Nl(r??""),L=R?t??"":E,[F,D]=Nl(!1),S=f??F,H=l4(()=>typeof x=="function"?x(L):x||L||s||c,[L,x,c,s]),[T,z]=Nl(n),A=l!==void 0,_=A?l:T,[G,$]=Nl(L),W=c4(null);a4(w,()=>({...W.current,save:V,cancel:U})),eg(()=>{R||N(r??"")},[r,R]),eg(()=>{_||$(L)},[L,_]);let U=async()=>{A||z(!1),a?.(!1),$(L),await i?.()},V=async()=>{if(!S){if(L===G){await i?.(),A||z(!1),a?.(!1);return}D(!0),R||N(G);try{await p?.(G),A||z(!1),a?.(!1)}finally{D(!1)}}},Q=async O=>{O.key==="Escape"&&(O.preventDefault(),O.stopPropagation(),await U()),O.key==="Enter"&&(O.metaKey||O.ctrlKey)&&(O.preventDefault(),await V()),h?.onKeyDown?.(O)};return n4({refs:[W],enabled:y&&_,handler:async()=>{b?await V():await U()}}),Xr("div",{className:qr("cleen",I),style:M,ref:W,...k,children:_?s4("div",{className:qr("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[Xr(w1,{value:G,onChange:O=>{$(O),g?.(O)},autoFocus:!0,placeholder:c,className:P?.textArea?.className,classNames:{...P?.textArea?.classNames,textareaContainer:qr("cleen-border-primary hover:cleen-border-primary/60",P?.textArea?.classNames?.textareaContainer)},...B?.textArea,...h,onFocus:O=>{h?.onFocus?.(O),C&&O.target.select()},disabled:S||h?.disabled,onKeyDown:Q}),S&&Xr("div",{className:qr("cleen-absolute cleen-top-1/2 cleen-left-1/2 cleen-transform cleen--translate-x-1/2 cleen--translate-y-1/2",P?.loaderContainer),style:B?.loaderContainer,children:v})]}):Xr("div",{onClick:()=>{u&&(A||z(!0),a?.(!0))},className:qr("cleen-min-h-6 cleen-text-foreground cleen-whitespace-pre-wrap",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!L&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:H})})});import"@cleen/ui-core";import{forwardRef as i4}from"react";import{Fragment as d4,jsx as B1,jsxs as m4}from"react/jsx-runtime";var p4=i4(function({header:t,color:r,children:n,description:l,onSave:a,isDescriptionHidden:c=!1,titleProps:s,descriptionProps:u,classNames:p,styles:i,...g},h){let y=typeof t?.title=="string"||typeof t?.title=="number"?String(t.title):void 0;return B1(ie,{ref:h,color:r,header:{...t,title:B1(S1,{value:y??"",onSave:async b=>{await a?.("title",b)},...p?.titleTextInput,...i?.titleTextInput,...s})},classNames:p,styles:i,...g,children:(!c||n)&&m4(d4,{children:[B1(k1,{value:l??"",onSave:async b=>{await a?.("description",b)},...u,textAreaProps:u?.textAreaProps,...p?.descriptionTextInput,...i?.descriptionTextInput}),n]})})});import{cn as Kr}from"@cleen/ui-core";import{forwardRef as u4}from"react";import{jsx as Fl}from"react/jsx-runtime";var h4=u4(function({type:t="button",label:r,onClick:n,containerRef:l,className:a,classNames:c,style:s,styles:u,disabled:p=!1,loaderOptions:i,isLoading:g=!1,variant:h="primary",children:y,...b},f){return Fl("div",{className:Kr("cleen",a),style:s,ref:l,children:Fl("button",{type:t,ref:f,disabled:g||p,onClick:n,className:Kr("cleen-size-full",c?.container),style:u?.container,...b,children:Fl(ie,{p:0,className:Kr("cleen-size-full cleen-group",c?.card?.className),classNames:{...c?.card?.classNames,container:Kr("focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2 cleen-size-full cleen-font-semibold cleen-transition-colors cleen-duration-200",I0[h],c?.card?.classNames?.container,{"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":p||g}),childrenContainer:Kr("cleen-flex cleen-justify-center cleen-items-center cleen-size-full",c?.card?.classNames?.childrenContainer)},"aria-disabled":p||g,...u?.card,children:g?Fl(ne,{size:"lg",...i,color:i?.color||b0[h],...c?.loader,...u?.loader}):r||y})})})});import{cn as Zr,ColorHelpers as tg,formatAudioTime as og}from"@cleen/ui-core";import{useWavesurfer as f4}from"@wavesurfer/react";import{forwardRef as g4,useCallback as v4,useRef as I4}from"react";import{jsx as Qr,jsxs as ng}from"react/jsx-runtime";var b4={waveColor:tg.getComputedColor("var(--cleen-neutral-200)"),progressColor:tg.getComputedColor("var(--cleen-primary)"),cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,interact:!0,normalize:!0},y4=g4(function({url:t,options:r,className:n,classNames:l,style:a,styles:c,...s},u){let p=I4(null),{wavesurfer:i,isPlaying:g,isReady:h,currentTime:y}=f4({...b4,...r,container:p,url:t}),b=h?i?.getDuration()??0:0,f=v4(()=>{i?.playPause()},[i]);return Qr("div",{ref:u,className:Zr("cleen",n),style:a,...s,children:ng("div",{className:Zr("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-rounded-xl cleen-bg-surface cleen-border cleen-border-border",l?.container),style:c?.container,children:[Qr(re,{type:"button",onClick:f,disabled:!h,"aria-label":g?"Pause":"Play",className:l?.playButton?.className,classNames:{...l?.playButton?.classNames,container:Zr("cleen-p-0 !cleen-size-9 cleen-rounded-full",l?.playButton?.classNames?.container)},...c?.playButton,children:g?Qr(bo,{className:"cleen-fill-current"}):Qr(yo,{className:"cleen-fill-current"})}),Qr("div",{ref:p,className:Zr("cleen-flex-1 cleen-min-w-0",l?.waveform),style:c?.waveform}),ng("span",{className:Zr("cleen-shrink-0 cleen-text-xs cleen-text-muted-foreground cleen-tabular-nums",l?.timestamp),style:c?.timestamp,children:[og(y),"\xA0/\xA0",og(b)]})]})})});import{ColorHelpers as C4}from"@cleen/ui-core";var rg=C4.getComputedColor("var(--cleen-primary)"),ag="rgba(var(--cleen-primary), 0.15)",lg={waveColor:rg,progressColor:rg,cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,minPxPerSec:.5,sampleRate:8e3};var cg={startRecording:"Click to start recording"};import{cn as He,formatAudioTime as Gl,trimBlob as P4}from"@cleen/ui-core";import{useWavesurfer as S4}from"@wavesurfer/react";import{forwardRef as M4,useCallback as yn,useEffect as F1,useMemo as w4,useRef as pg,useState as Vl}from"react";function R1(e,t,r,n){return new(r||(r=Promise))((function(l,a){function c(p){try{u(n.next(p))}catch(i){a(i)}}function s(p){try{u(n.throw(p))}catch(i){a(i)}}function u(p){var i;p.done?l(p.value):(i=p.value,i instanceof r?i:new r((function(g){g(i)}))).then(c,s)}u((n=n.apply(e,t||[])).next())}))}var El=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},D1=class extends El{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},T1=class extends El{constructor(){super(...arguments),this.animationFrameId=null,this.isRunning=!1}start(){if(this.isRunning)return;this.isRunning=!0;let t=()=>{this.isRunning&&(this.emit("tick"),this.animationFrameId=requestAnimationFrame(t))};t()}stop(){this.isRunning=!1,this.animationFrameId!==null&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}destroy(){this.stop()}},L1=100,x4=["audio/webm","audio/wav","audio/mpeg","audio/mp4","audio/mp3"],Al=class e extends D1{constructor(t){var r,n,l,a,c,s;super(Object.assign(Object.assign({},t),{audioBitsPerSecond:(r=t.audioBitsPerSecond)!==null&&r!==void 0?r:128e3,scrollingWaveform:(n=t.scrollingWaveform)!==null&&n!==void 0&&n,scrollingWaveformWindow:(l=t.scrollingWaveformWindow)!==null&&l!==void 0?l:5,continuousWaveform:(a=t.continuousWaveform)!==null&&a!==void 0&&a,renderRecordedAudio:(c=t.renderRecordedAudio)===null||c===void 0||c,mediaRecorderTimeslice:(s=t.mediaRecorderTimeslice)!==null&&s!==void 0?s:void 0})),this.stream=null,this.mediaRecorder=null,this.dataWindow=null,this.isWaveformPaused=!1,this.lastStartTime=0,this.lastDuration=0,this.duration=0,this.micStream=null,this.recordedBlobUrl=null,this.timer=new T1,this.subscriptions.push(this.timer.on("tick",(()=>{let u=performance.now()-this.lastStartTime;this.duration=this.isPaused()?this.duration:this.lastDuration+u,this.emit("record-progress",this.duration)})))}static create(t){return new e(t||{})}renderMicStream(t){var r;let n=new AudioContext,l=n.createMediaStreamSource(t),a=n.createAnalyser();l.connect(a),(this.options.continuousWaveform||this.options.scrollingWaveform)&&(a.fftSize=32);let c=a.frequencyBinCount,s=new Float32Array(c),u=0;this.wavesurfer&&((r=this.originalOptions)!==null&&r!==void 0||(this.originalOptions=Object.assign({},this.wavesurfer.options)),this.wavesurfer.options.interact=!1,this.options.scrollingWaveform&&(this.wavesurfer.options.cursorWidth=0,this.wavesurfer.options.normalize=!0,this.wavesurfer.options.maxPeak=1));let p=setInterval((()=>{var i,g,h,y;if(!this.isWaveformPaused){if(a.getFloatTimeDomainData(s),this.options.scrollingWaveform){let b=Math.floor((this.options.scrollingWaveformWindow||0)*L1),f=0;for(let C=0;C<c;C++){let x=Math.abs(s[C]);x>f&&(f=x)}this.dataWindow||(this.dataWindow=new Float32Array(b));let v=new Float32Array(b);if(this.dataWindow&&this.dataWindow.length>0){let C=b-1,x=this.dataWindow.slice(-C);v.set(x,0)}v[b-1]=f,this.dataWindow=v}else if(this.options.continuousWaveform){if(!this.dataWindow){let f=this.options.continuousWaveformDuration?Math.round(this.options.continuousWaveformDuration*L1):((g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getWidth())!==null&&g!==void 0?g:0)*window.devicePixelRatio;this.dataWindow=new Float32Array(f)}let b=0;for(let f=0;f<c;f++){let v=Math.abs(s[f]);v>b&&(b=v)}if(u+1>this.dataWindow.length){let f=new Float32Array(2*this.dataWindow.length);f.set(this.dataWindow,0),this.dataWindow=f}this.dataWindow[u]=b,u++}else this.dataWindow=s;if(this.wavesurfer){let b=((y=(h=this.dataWindow)===null||h===void 0?void 0:h.length)!==null&&y!==void 0?y:0)/L1;this.wavesurfer.load("",[this.dataWindow],this.options.scrollingWaveform?this.options.scrollingWaveformWindow:b).then((()=>{this.wavesurfer&&this.options.continuousWaveform&&(this.wavesurfer.setTime(this.getDuration()/1e3),this.wavesurfer.options.minPxPerSec||this.wavesurfer.setOptions({minPxPerSec:this.wavesurfer.getWidth()/this.wavesurfer.getDuration()}))})).catch((f=>{console.error("Error rendering real-time recording data:",f)}))}}}),10);return{onDestroy:()=>{clearInterval(p),l?.disconnect(),n?.close()},onEnd:()=>{this.isWaveformPaused=!0,this.stopMic()}}}startMic(t){return R1(this,void 0,void 0,(function*(){let r;this.micStream&&this.stopMic();try{r=yield navigator.mediaDevices.getUserMedia({audio:t==null||t})}catch(l){throw new Error("Error accessing the microphone: "+l.message)}let n=this.renderMicStream(r);return this.micStream=n,this.unsubscribeDestroy=this.once("destroy",n.onDestroy),this.unsubscribeRecordEnd=this.once("record-end",n.onEnd),this.stream=r,r}))}stopMic(){var t,r,n;(t=this.micStream)===null||t===void 0||t.onDestroy(),(r=this.unsubscribeDestroy)===null||r===void 0||r.call(this),(n=this.unsubscribeRecordEnd)===null||n===void 0||n.call(this),this.micStream=null,this.unsubscribeDestroy=void 0,this.unsubscribeRecordEnd=void 0,this.stream&&(this.stream.getTracks().forEach((l=>l.stop())),this.stream=null,this.mediaRecorder=null)}startRecording(t){return R1(this,void 0,void 0,(function*(){let r=this.stream||(yield this.startMic(t));this.dataWindow=null;let n=this.mediaRecorder||new MediaRecorder(r,{mimeType:this.options.mimeType||x4.find((c=>MediaRecorder.isTypeSupported(c))),audioBitsPerSecond:this.options.audioBitsPerSecond});this.mediaRecorder=n,this.stopRecording();let l=[];n.ondataavailable=c=>{c.data.size>0&&l.push(c.data),this.emit("record-data-available",c.data)};let a=c=>{var s;let u=new Blob(l,{type:n.mimeType});this.emit(c,u),this.options.renderRecordedAudio&&(this.applyOriginalOptionsIfNeeded(),this.recordedBlobUrl&&URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=URL.createObjectURL(u),(s=this.wavesurfer)===null||s===void 0||s.load(this.recordedBlobUrl))};n.onpause=()=>a("record-pause"),n.onstop=()=>a("record-end"),n.start(this.options.mediaRecorderTimeslice),this.lastStartTime=performance.now(),this.lastDuration=0,this.duration=0,this.isWaveformPaused=!1,this.timer.start(),this.emit("record-start")}))}getDuration(){return this.duration}isRecording(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="recording"}isPaused(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)==="paused"}isActive(){var t;return((t=this.mediaRecorder)===null||t===void 0?void 0:t.state)!=="inactive"}stopRecording(){var t;this.isActive()&&((t=this.mediaRecorder)===null||t===void 0||t.stop(),this.timer.stop())}pauseRecording(){var t,r;this.isRecording()&&(this.isWaveformPaused=!0,(t=this.mediaRecorder)===null||t===void 0||t.requestData(),(r=this.mediaRecorder)===null||r===void 0||r.pause(),this.timer.stop(),this.lastDuration=this.duration)}resumeRecording(){var t;this.isPaused()&&(this.isWaveformPaused=!1,(t=this.mediaRecorder)===null||t===void 0||t.resume(),this.timer.start(),this.lastStartTime=performance.now(),this.emit("record-resume"))}static getAvailableAudioDevices(){return R1(this,void 0,void 0,(function*(){return navigator.mediaDevices.enumerateDevices().then((t=>t.filter((r=>r.kind==="audioinput"))))}))}destroy(){this.applyOriginalOptionsIfNeeded(),super.destroy(),this.stopRecording(),this.stopMic(),this.recordedBlobUrl&&(URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=null)}applyOriginalOptionsIfNeeded(){this.wavesurfer&&this.originalOptions&&(this.wavesurfer.setOptions(this.originalOptions),delete this.originalOptions)}};var _l=class{constructor(){this.listeners={}}on(t,r,n){if(this.listeners[t]||(this.listeners[t]=new Set),n?.once){let l=(...a)=>{this.un(t,l),r(...a)};return this.listeners[t].add(l),()=>this.un(t,l)}return this.listeners[t].add(r),()=>this.un(t,r)}un(t,r){var n;(n=this.listeners[t])===null||n===void 0||n.delete(r)}once(t,r){return this.on(t,r,{once:!0})}unAll(){this.listeners={}}emit(t,...r){this.listeners[t]&&this.listeners[t].forEach((n=>n(...r)))}},N1=class extends _l{constructor(t){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=t}onInit(){}_init(t){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=t,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}};function sg(e,t){let r=t.xmlns?document.createElementNS(t.xmlns,e):document.createElement(e);for(let[n,l]of Object.entries(t))if(n==="children"&&l)for(let[a,c]of Object.entries(l))c instanceof Node?r.appendChild(c):typeof c=="string"?r.appendChild(document.createTextNode(c)):r.appendChild(sg(a,c));else n==="style"?Object.assign(r.style,l):n==="textContent"?r.textContent=l:r.setAttribute(n,l.toString());return r}function Yr(e,t,r){let n=sg(e,t||{});return r?.appendChild(n),n}function ig(e){let t=e,r=new Set;return{get value(){return t},set(n){Object.is(t,n)||(t=n,r.forEach((l=>l(t))))},update(n){this.set(n(t))},subscribe:n=>(r.add(n),()=>r.delete(n))}}function zl(e,t){let r,n=()=>{r&&(r(),r=void 0),r=e()},l=t.map((a=>a.subscribe(n)));return n(),()=>{r&&(r(),r=void 0),l.forEach((a=>a()))}}function bn(e,t){let r=ig(null),n=l=>{r.set(l)};return e.addEventListener(t,n),r._cleanup=()=>{e.removeEventListener(t,n)},r}function Mo(e){let t=e._cleanup;typeof t=="function"&&t()}function Ol(e,t={}){let{threshold:r=3,mouseButton:n=0,touchDelay:l=100}=t,a=ig(null),c=new Map,s=matchMedia("(pointer: coarse)").matches,u=()=>{},p=i=>{if(i.button!==n||(c.set(i.pointerId,i),c.size>1))return;let g=i.clientX,h=i.clientY,y=!1,b=Date.now(),f=e.getBoundingClientRect(),{left:v,top:C}=f,x=k=>{if(k.defaultPrevented||c.size>1||s&&Date.now()-b<l)return;let w=k.clientX,R=k.clientY,E=w-g,N=R-h;(y||Math.abs(E)>r||Math.abs(N)>r)&&(k.preventDefault(),k.stopPropagation(),y||(a.set({type:"start",x:g-v,y:h-C}),y=!0),a.set({type:"move",x:w-v,y:R-C,deltaX:E,deltaY:N}),g=w,h=R)},I=k=>{if(c.delete(k.pointerId),y){let w=k.clientX,R=k.clientY;a.set({type:"end",x:w-v,y:R-C})}u()},P=k=>{c.delete(k.pointerId),k.relatedTarget&&k.relatedTarget!==document.documentElement||I(k)},M=k=>{y&&(k.stopPropagation(),k.preventDefault())},B=k=>{k.defaultPrevented||c.size>1||y&&k.preventDefault()};document.addEventListener("pointermove",x),document.addEventListener("pointerup",I),document.addEventListener("pointerout",P),document.addEventListener("pointercancel",P),document.addEventListener("touchmove",B,{passive:!1}),document.addEventListener("click",M,{capture:!0}),u=()=>{document.removeEventListener("pointermove",x),document.removeEventListener("pointerup",I),document.removeEventListener("pointerout",P),document.removeEventListener("pointercancel",P),document.removeEventListener("touchmove",B),setTimeout((()=>{document.removeEventListener("click",M,{capture:!0})}),10)}};return e.addEventListener("pointerdown",p),{signal:a,cleanup:()=>{u(),e.removeEventListener("pointerdown",p),c.clear(),Mo(a)}}}var Hl=class extends _l{constructor(t,r,n=0){var l,a,c,s,u,p,i,g,h,y;super(),this.totalDuration=r,this.numberOfChannels=n,this.element=null,this.minLength=0,this.maxLength=1/0,this.contentEditable=!1,this.subscriptions=[],this.updatingSide=void 0,this.isRemoved=!1,this.subscriptions=[],this.id=t.id||`region-${Math.random().toString(32).slice(2)}`,this.start=this.clampPosition(t.start),this.end=this.clampPosition((l=t.end)!==null&&l!==void 0?l:t.start),this.drag=(a=t.drag)===null||a===void 0||a,this.resize=(c=t.resize)===null||c===void 0||c,this.resizeStart=(s=t.resizeStart)===null||s===void 0||s,this.resizeEnd=(u=t.resizeEnd)===null||u===void 0||u,this.color=(p=t.color)!==null&&p!==void 0?p:"rgba(0, 0, 0, 0.1)",this.minLength=(i=t.minLength)!==null&&i!==void 0?i:this.minLength,this.maxLength=(g=t.maxLength)!==null&&g!==void 0?g:this.maxLength,this.channelIdx=(h=t.channelIdx)!==null&&h!==void 0?h:-1,this.contentEditable=(y=t.contentEditable)!==null&&y!==void 0?y:this.contentEditable,this.element=this.initElement(),this.setContent(t.content),this.setPart(),this.renderPosition(),this.initMouseEvents()}clampPosition(t){return Math.max(0,Math.min(this.totalDuration,t))}setPart(){var t;let r=this.start===this.end;(t=this.element)===null||t===void 0||t.setAttribute("part",`${r?"marker":"region"} ${this.id}`)}addResizeHandles(t){let r={position:"absolute",zIndex:"2",width:"6px",height:"100%",top:"0",cursor:"ew-resize",wordBreak:"keep-all"},n=Yr("div",{part:"region-handle region-handle-left",style:Object.assign(Object.assign({},r),{left:"0",borderLeft:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"2px 0 0 2px"})},t),l=Yr("div",{part:"region-handle region-handle-right",style:Object.assign(Object.assign({},r),{right:"0",borderRight:"2px solid rgba(0, 0, 0, 0.5)",borderRadius:"0 2px 2px 0"})},t),a=Ol(n,{threshold:1}),c=Ol(l,{threshold:1}),s=zl((()=>{let p=a.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"start"):p.type==="end"&&this.onEndResizing("start"))}),[a.signal]),u=zl((()=>{let p=c.signal.value;p&&(p.type==="move"&&p.deltaX!==void 0?this.onResize(p.deltaX,"end"):p.type==="end"&&this.onEndResizing("end"))}),[c.signal]);this.subscriptions.push((()=>{s(),u(),a.cleanup(),c.cleanup()}))}removeResizeHandles(t){let r=t.querySelector('[part*="region-handle-left"]'),n=t.querySelector('[part*="region-handle-right"]');r&&t.removeChild(r),n&&t.removeChild(n)}initElement(){if(this.isRemoved)return null;let t=this.start===this.end,r=0,n=100;this.channelIdx>=0&&this.numberOfChannels>0&&this.channelIdx<this.numberOfChannels&&(n=100/this.numberOfChannels,r=n*this.channelIdx);let l=Yr("div",{style:{position:"absolute",top:`${r}%`,height:`${n}%`,backgroundColor:t?"none":this.color,borderLeft:t?"2px solid "+this.color:"none",borderRadius:"2px",boxSizing:"border-box",transition:"background-color 0.2s ease",cursor:this.drag?"grab":"default",pointerEvents:"all"}});return!t&&this.resize&&this.addResizeHandles(l),l}renderPosition(){if(!this.element)return;let t=this.start/this.totalDuration,r=(this.totalDuration-this.end)/this.totalDuration;this.element.style.left=100*t+"%",this.element.style.right=100*r+"%"}toggleCursor(t){var r;this.drag&&(!((r=this.element)===null||r===void 0)&&r.style)&&(this.element.style.cursor=t?"grabbing":"grab")}initMouseEvents(){let{element:t}=this;if(!t)return;let r=bn(t,"click"),n=bn(t,"mouseenter"),l=bn(t,"mouseleave"),a=bn(t,"dblclick"),c=bn(t,"pointerdown"),s=bn(t,"pointerup"),u=r.subscribe((v=>v&&this.emit("click",v))),p=n.subscribe((v=>v&&this.emit("over",v))),i=l.subscribe((v=>v&&this.emit("leave",v))),g=a.subscribe((v=>v&&this.emit("dblclick",v))),h=c.subscribe((v=>v&&this.toggleCursor(!0))),y=s.subscribe((v=>v&&this.toggleCursor(!1)));this.subscriptions.push((()=>{u(),p(),i(),g(),h(),y(),Mo(r),Mo(n),Mo(l),Mo(a),Mo(c),Mo(s)}));let b=Ol(t),f=zl((()=>{let v=b.signal.value;v&&(v.type==="start"?this.toggleCursor(!0):v.type==="move"&&v.deltaX!==void 0?this.onMove(v.deltaX):v.type==="end"&&(this.toggleCursor(!1),this.drag&&this.emit("update-end")))}),[b.signal]);this.subscriptions.push((()=>{f(),b.cleanup()})),this.contentEditable&&this.content&&(this.contentClickListener=v=>this.onContentClick(v),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener))}_onUpdate(t,r,n){var l;if(!(!((l=this.element)===null||l===void 0)&&l.parentElement))return;let{width:a}=this.element.parentElement.getBoundingClientRect(),c=t/a*this.totalDuration,s=r&&r!=="start"?this.start:this.start+c,u=r&&r!=="end"?this.end:this.end+c,p=n!==void 0;p&&this.updatingSide&&this.updatingSide!==r&&(this.updatingSide==="start"?s=n:u=n),s=Math.max(0,s),u=Math.min(this.totalDuration,u);let i=u-s;this.updatingSide=r;let g=i>=this.minLength&&i<=this.maxLength;s<=u&&(g||p)&&(this.start=s,this.end=u,this.renderPosition(),this.emit("update",r))}onMove(t){this.drag&&this._onUpdate(t)}onResize(t,r){this.resize&&(this.resizeStart||r!=="start")&&(this.resizeEnd||r!=="end")&&this._onUpdate(t,r)}onEndResizing(t){this.resize&&(this.emit("update-end",t),this.updatingSide=void 0)}onContentClick(t){t.stopPropagation(),t.target.focus(),this.emit("click",t)}onContentBlur(){this.emit("update-end")}_setTotalDuration(t){this.totalDuration=t,this.renderPosition()}play(t){this.emit("play",t&&this.end!==this.start?this.end:void 0)}getContent(t=!1){var r;return t?this.content||void 0:this.element instanceof HTMLElement?((r=this.content)===null||r===void 0?void 0:r.innerHTML)||void 0:""}setContent(t){var r;if(this.element)if(this.content&&this.contentEditable&&(this.contentClickListener&&this.content.removeEventListener("click",this.contentClickListener),this.contentBlurListener&&this.content.removeEventListener("blur",this.contentBlurListener)),(r=this.content)===null||r===void 0||r.remove(),t){if(typeof t=="string"){let n=this.start===this.end;this.content=Yr("div",{style:{padding:`0.2em ${n?.2:.4}em`,display:"inline-block"},textContent:t})}else this.content=t;this.contentEditable&&(this.content.contentEditable="true",this.contentClickListener=n=>this.onContentClick(n),this.contentBlurListener=()=>this.onContentBlur(),this.content.addEventListener("click",this.contentClickListener),this.content.addEventListener("blur",this.contentBlurListener)),this.content.setAttribute("part","region-content"),this.element.appendChild(this.content),this.emit("content-changed")}else this.content=void 0}setOptions(t){var r,n;if(this.element){if(t.color&&(this.color=t.color,this.element.style.backgroundColor=this.color),t.drag!==void 0&&(this.drag=t.drag,this.element.style.cursor=this.drag?"grab":"default"),t.start!==void 0||t.end!==void 0){let l=this.start===this.end;this.start=this.clampPosition((r=t.start)!==null&&r!==void 0?r:this.start),this.end=this.clampPosition((n=t.end)!==null&&n!==void 0?n:l?this.start:this.end),this.renderPosition(),this.setPart()}if(t.content&&this.setContent(t.content),t.id&&(this.id=t.id,this.setPart()),t.resize!==void 0&&t.resize!==this.resize){let l=this.start===this.end;this.resize=t.resize,this.resize&&!l?this.addResizeHandles(this.element):this.removeResizeHandles(this.element)}t.resizeStart!==void 0&&(this.resizeStart=t.resizeStart),t.resizeEnd!==void 0&&(this.resizeEnd=t.resizeEnd)}}remove(){this.isRemoved=!0,this.emit("remove"),this.subscriptions.forEach((t=>t())),this.subscriptions=[],this.content&&this.contentEditable&&(this.contentClickListener&&(this.content.removeEventListener("click",this.contentClickListener),this.contentClickListener=void 0),this.contentBlurListener&&(this.content.removeEventListener("blur",this.contentBlurListener),this.contentBlurListener=void 0)),this.element&&(this.element.remove(),this.element=null),this.unAll()}},Ul=class e extends N1{constructor(t){super(t),this.regions=[],this.regionsContainer=this.initRegionsContainer()}static create(t){return new e(t)}onInit(){if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");this.wavesurfer.getWrapper().appendChild(this.regionsContainer),this.subscriptions.push(this.wavesurfer.on("ready",(r=>{this.regions.forEach((n=>n._setTotalDuration(r)))})));let t=[];this.subscriptions.push(this.wavesurfer.on("timeupdate",(r=>{let n=this.regions.filter((l=>l.start<=r&&(l.end===l.start?l.start+.05:l.end)>=r));n.forEach((l=>{t.includes(l)||this.emit("region-in",l)})),t.forEach((l=>{n.includes(l)||this.emit("region-out",l)})),t=n})))}initRegionsContainer(){return Yr("div",{part:"regions-container",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"5",pointerEvents:"none"}})}getRegions(){return this.regions}avoidOverlapping(t){t.content&&setTimeout((()=>{let r=t.content,n=r.getBoundingClientRect(),l=this.regions.map((a=>{if(a===t||!a.content)return 0;let c=a.content.getBoundingClientRect();return n.left<c.left+c.width&&c.left<n.left+n.width?c.height:0})).reduce(((a,c)=>a+c),0);r.style.marginTop=`${l}px`}),10)}adjustScroll(t){var r,n;if(!t.element)return;let l=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getWrapper())===null||n===void 0?void 0:n.parentElement;if(!l)return;let{clientWidth:a,scrollWidth:c}=l;if(c<=a)return;let s=l.getBoundingClientRect(),u=t.element.getBoundingClientRect(),p=u.left-s.left,i=u.right-s.left;p<0?l.scrollLeft+=p:i>a&&(l.scrollLeft+=i-a)}virtualAppend(t,r,n){let l=()=>{if(!this.wavesurfer)return;let a=this.wavesurfer.getWidth(),c=this.wavesurfer.getScroll(),s=r.clientWidth,u=this.wavesurfer.getDuration(),p=Math.round(t.start/u*s),i=p+(Math.round((t.end-t.start)/u*s)||1)>c&&p<c+a;i&&!n.parentElement?r.appendChild(n):!i&&n.parentElement&&n.remove()};setTimeout((()=>{if(!this.wavesurfer||!t.element)return;l();let a=this.wavesurfer.on("scroll",l),c=this.wavesurfer.on("zoom",l),s=this.wavesurfer.on("resize",l);this.subscriptions.push(a,c,s),t.once("remove",(()=>{a(),c(),s()}))}),0)}saveRegion(t){if(!t.element)return;this.virtualAppend(t,this.regionsContainer,t.element),this.avoidOverlapping(t),this.regions.push(t);let r=[t.on("update",(n=>{n||this.adjustScroll(t),this.emit("region-update",t,n)})),t.on("update-end",(n=>{this.avoidOverlapping(t),this.emit("region-updated",t,n)})),t.on("play",(n=>{var l;(l=this.wavesurfer)===null||l===void 0||l.play(t.start,n)})),t.on("click",(n=>{this.emit("region-clicked",t,n)})),t.on("dblclick",(n=>{this.emit("region-double-clicked",t,n)})),t.on("content-changed",(()=>{this.emit("region-content-changed",t)})),t.once("remove",(()=>{r.forEach((n=>n())),this.regions=this.regions.filter((n=>n!==t)),this.emit("region-removed",t)}))];this.subscriptions.push(...r),this.emit("region-created",t)}addRegion(t){var r,n;if(!this.wavesurfer)throw Error("WaveSurfer is not initialized");let l=this.wavesurfer.getDuration(),a=(n=(r=this.wavesurfer)===null||r===void 0?void 0:r.getDecodedData())===null||n===void 0?void 0:n.numberOfChannels,c=new Hl(t,l,a);return this.emit("region-initialized",c),l?this.saveRegion(c):this.subscriptions.push(this.wavesurfer.once("ready",(s=>{c._setTotalDuration(s),this.saveRegion(c)}))),c}enableDragSelection(t,r=3){var n;let l=(n=this.wavesurfer)===null||n===void 0?void 0:n.getWrapper();if(!(l&&l instanceof HTMLElement))return()=>{};let a=null,c=0,s=0,u=Ol(l,{threshold:r}),p=zl((()=>{var i,g;let h=u.signal.value;if(h)if(h.type==="start"){if(c=h.x,!this.wavesurfer)return;let y=this.wavesurfer.getDuration(),b=(g=(i=this.wavesurfer)===null||i===void 0?void 0:i.getDecodedData())===null||g===void 0?void 0:g.numberOfChannels,{width:f}=this.wavesurfer.getWrapper().getBoundingClientRect();s=c/f*y;let v=h.x/f*y,C=(h.x+5)/f*y;a=new Hl(Object.assign(Object.assign({},t),{start:v,end:C}),y,b),this.emit("region-initialized",a),a.element&&this.regionsContainer.appendChild(a.element)}else h.type==="move"&&h.deltaX!==void 0?a&&a._onUpdate(h.deltaX,h.x>c?"end":"start",s):h.type==="end"&&a&&(this.saveRegion(a),a.updatingSide=void 0,a=null)}),[u.signal]);return()=>{p(),u.cleanup()}}clearRegions(){this.regions.slice().forEach((t=>t.remove())),this.regions=[]}destroy(){this.clearRegions(),super.destroy(),this.regionsContainer.remove()}};import{Fragment as B4,jsx as Me,jsxs as Jr}from"react/jsx-runtime";var k4=M4(function({onFinalize:t,recordOptions:r,options:n,labels:l=cg,className:a,classNames:c,style:s,styles:u,...p},i){let g=pg(null),[h,y]=Vl("idle"),[b,f]=Vl(null),[v,C]=Vl(null),[x,I]=Vl(!1),P=pg("idle");P.current=h;let M=w4(()=>[Al.create({renderRecordedAudio:!0,scrollingWaveform:!1,continuousWaveform:!1,...r}),Ul.create()],[]),[B,k]=M,{wavesurfer:w,isPlaying:R,isReady:E,currentTime:N}=S4({...lg,...n,container:g,plugins:M}),L=E?w?.getDuration()??0:0;F1(()=>{let _=[B.on("record-start",()=>y("recording")),B.on("record-end",G=>{y("recorded"),f(G)}),k.on("region-clicked",(G,$)=>{$.stopPropagation(),G.play(!0)})];return()=>_.forEach(G=>G?.())},[k,B]),F1(()=>w?w.on("ready",()=>{if(P.current!=="recorded")return;let G=w.getDuration();k.clearRegions();let $=k.addRegion({start:0,end:G,color:n?.regionColor??ag,drag:!1,resize:!0});C({start:$.start,end:$.end})}):void 0,[w,k,n]),F1(()=>k.on("region-updated",G=>{C({start:G.start,end:G.end})}),[k]);let F=yn(async()=>{await B.startRecording()},[B]),D=yn(()=>{B.stopRecording()},[B]),S=yn(()=>{w?.playPause()},[w]),H=yn(async()=>{if(!(!b||!v||!w)){I(!0);try{let _=await P4(b,v.start,v.end),G=URL.createObjectURL(_);f(_),w.load(G)}finally{I(!1)}}},[b,v,w]),T=yn(()=>{k.clearRegions(),w?.empty(),f(null),C(null),y("idle")},[w,k]),z=yn(()=>{if(b){let _=URL.createObjectURL(b);t?.(b,_)}},[t,b]),A=!v||v.start<=0&&v.end>=L;return Me("div",{ref:i,className:He("cleen wavesurfer-handle",a),style:s,...p,children:Jr("div",{className:He("cleen-flex cleen-flex-col cleen-items-center cleen-gap-3",c?.container),style:u?.container,children:[h==="idle"&&Jr(B4,{children:[Me("button",{type:"button",onClick:F,"aria-label":"Start recording",className:He("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.startButton),style:u?.startButton,children:Me(yr,{className:"cleen-size-8 cleen-text-primary"})}),Me("p",{className:He("cleen-text-neutral-600 cleen-text-sm cleen-select-none",c?.startLabel),style:u?.startLabel,children:l.startRecording})]}),h==="recording"&&Me("button",{type:"button",onClick:D,"aria-label":"Stop recording",className:He("cleen-p-8 cleen-border-2 cleen-border-primary/20 hover:cleen-border-primary cleen-rounded-full cleen-transition-colors",c?.stopButton),style:u?.stopButton,children:Me(Nr,{className:"cleen-size-8 cleen-text-primary"})}),Me("div",{ref:g,className:He("cleen-w-full cleen-min-w-0 cleen-waveform",h==="idle"&&"cleen-hidden",c?.waveform),style:u?.waveform}),h==="recorded"&&Jr("div",{className:He("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",c?.recordedContainer),style:u?.recordedContainer,children:[Me(re,{type:"button",onClick:S,disabled:!E,"aria-label":R?"Pause":"Play",className:c?.playPauseButton?.className,classNames:{...c?.playPauseButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.playPauseButton?.classNames?.container)},...u?.playPauseButton,children:R?Me(bo,{className:"cleen-fill-current"}):Me(yo,{className:"cleen-fill-current"})}),Jr("span",{className:He("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.timestamp),style:u?.timestamp,children:[Gl(N),"\xA0/\xA0",Gl(L)]}),Me("span",{className:"cleen-flex-1"}),!A&&v&&Jr("span",{className:He("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.trimmedTimestamp),style:u?.trimmedTimestamp,children:[Gl(v.start),"\u2013",Gl(v.end)]}),Me(re,{type:"button",onClick:T,variant:"secondary","aria-label":"Discard recording",className:c?.discardButton?.className,classNames:{...c?.discardButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.discardButton?.classNames?.container)},...u?.discardButton,children:Me(Ke,{className:"cleen-text-error"})}),Me(re,{type:"button",onClick:H,disabled:A||x||!E,"aria-label":"Apply trim",variant:"secondary",className:c?.trimButton?.className,classNames:{...c?.trimButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.trimButton?.classNames?.container)},...u?.trimButton,children:Me(kr,{})}),Me(re,{type:"button",onClick:z,"aria-label":"Finalize recording",className:c?.finalizeButton?.className,classNames:{...c?.finalizeButton?.classNames,container:He("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.finalizeButton?.classNames?.container)},...u?.finalizeButton,children:Me(xt,{})})]})]})})});import{cn as Wl}from"@cleen/ui-core";import{forwardRef as R4,useMemo as L4}from"react";var dg={xs:"cleen-size-6 cleen-text-[10px]",sm:"cleen-size-7 cleen-text-xs",md:"cleen-size-9 cleen-text-sm",lg:"cleen-size-11 cleen-text-base",xl:"cleen-size-14 cleen-text-lg"};import{jsx as jr}from"react/jsx-runtime";var $l=R4(function({title:t,name:r,src:n,alt:l,size:a="md",initialsLength:c=2,isSelected:s=!1,showBorder:u=!1,fallback:p=jr(Ar,{}),className:i,classNames:g,style:h,styles:y,onClick:b,...f},v){let C=L4(()=>(c===2?r?.split(" ").map(x=>x.charAt(0).toUpperCase()).join("").slice(0,c):r?.charAt(0).toUpperCase())||p,[r,c,p]);return jr("div",{className:Wl("cleen",i),style:h,ref:v,...f,children:jr("div",{onClick:b,className:Wl("cleen-flex cleen-justify-center cleen-items-center cleen-bg-neutral-200 cleen-rounded-full cleen-font-medium cleen-transition-all",typeof a=="string"&&dg[a],{"cleen-border-2 cleen-border-white":u,"cleen-cursor-pointer":!!b},g?.avatar,u&&s&&["cleen-border-primary",g?.avatarSelected]),style:{...typeof a=="number"&&{width:a,height:a,fontSize:a*.4,lineHeight:`${a}px`},...y?.avatar,...u&&s&&y?.avatarSelected},title:t||r,children:n?jr("img",{src:n,alt:l||r,className:Wl("cleen-rounded-full cleen-w-full cleen-h-full cleen-object-cover",g?.image),style:y?.image}):jr("span",{className:Wl("cleen-select-none cleen-text-neutral-700",g?.fallback),style:y?.fallback,children:C})})})});import{cn as mg}from"@cleen/ui-core";import{forwardRef as D4}from"react";import{jsx as E1,jsxs as N4}from"react/jsx-runtime";var T4=D4(function({avatars:t,size:r="md",selectedAvatars:n=[],onAvatarToggle:l,gap:a=4,maxVisible:c,maxExtra:s=99,showBorder:u=!0,initialsLength:p,fallback:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=c?t?.slice(0,c):t,x=c&&t&&t.length>c?Math.min(t.length-c,s):0;return E1("div",{className:mg("cleen",g),style:y,ref:v,...f,children:N4("div",{className:mg("cleen-flex cleen-items-center",h?.row),style:{gap:a,...b?.row},children:[C?.map((I,P)=>{let M=n.includes(I?.id??"");return E1($l,{name:I.name,src:I.src,size:r,isSelected:M,showBorder:u,initialsLength:p,fallback:i,onClick:()=>l?.(I.id??""),...h?.avatar,style:{zIndex:C.length-P,...b?.avatar?.style},styles:b?.avatar?.styles,...I},I.id||P)}),x>0&&E1($l,{size:r,fallback:`+${x}`,...h?.extra,...b?.extra})]})})});import{cn as Jt}from"@cleen/ui-core";import{forwardRef as F4}from"react";import{Link as ug}from"react-router-dom";import{jsx as ea,jsxs as ql}from"react/jsx-runtime";var E4=F4(function({root:t={path:"/",icon:ea(ur,{"aria-hidden":"true",className:"cleen-h-5 cleen-w-5"})},segments:r,className:n,classNames:l,style:a,styles:c,...s},u){return!r||r.length===0?null:ea("div",{className:Jt("cleen",n),style:a,ref:u,...s,children:ea("nav",{className:Jt("cleen-hidden sm:cleen-flex",l?.container),style:c?.container,"aria-label":"Breadcrumb",children:ql("ol",{role:"list",className:Jt("cleen-flex cleen-items-center cleen-gap-4",l?.list),style:c?.list,children:[t&&ea("li",{className:Jt("cleen-flex cleen-items-center",l?.rootItem),style:c?.rootItem,children:ql(ug,{to:t?.path,className:Jt("cleen-text-sm cleen-text-neutral-400 cleen-flex cleen-items-center cleen-gap-2 cleen-transition-colors cleen-duration-200 hover:cleen-text-neutral-600",l?.rootLink),style:c?.rootLink,"aria-current":"page",children:[t?.icon,t?.label]})}),r.map(({path:p,icon:i,label:g,id:h},y)=>{let b=y===r.length-1,f=g||p.charAt(0).toUpperCase()+p.slice(1);return ql("li",{className:Jt("cleen-flex cleen-items-center cleen-gap-4",l?.item),style:c?.item,children:[(t||!t&&y!==0)&&ea(ot,{className:Jt("cleen-h-5 cleen-w-5 cleen-text-neutral-300",l?.chevron),style:c?.chevron,"aria-hidden":"true"}),ql(ug,{to:p,className:Jt("cleen-transition-colors cleen-duration-200 hover:cleen-text-primary cleen-text-sm cleen-flex cleen-items-center cleen-gap-2",b?"cleen-rounded-md cleen-bg-neutral-50 cleen-py-1 cleen-px-2 cleen-text-neutral-700 cleen-font-semibold":"cleen-text-neutral-600 cleen-font-medium",l?.link),style:c?.link,"aria-current":b?"page":void 0,children:[i,f]})]},h||p)})]})})})});var Xl=(e,t)=>{if(!e)return;if(!t||!t.min&&!t.max)return e;let{min:r,max:n}=t,l=new Date,a=new Date(l.getFullYear(),l.getMonth(),l.getDate());if(r){let c=r==="today"?a:r;if(c>=e)return c}if(n){let c=n==="today"?a:n;if(c<=e)return c}return e};import{cn as Kl}from"@cleen/ui-core";import{forwardRef as A4,useState as A1}from"react";import{DayPicker as hg,MonthGrid as z4}from"react-day-picker";import{Fragment as O4,jsx as wo,jsxs as O1}from"react/jsx-runtime";var z1=e=>e?.toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric"}),_1=A4(function({label:t,labelTooltip:r,infoLabels:n,required:l,withDateInput:a=!1,withTodayButton:c=!1,selected:s,onSelect:u,month:p,labels:i,className:g,style:h,classNames:y,styles:b,mode:f="single",min:v,max:C,disabled:x,disabledDates:I,components:P,...M},B){let k=s!==void 0,w=f==="single",[R,E]=A1(),[N,L]=A1(),F=k?s:w?R:N,[D,S]=A1(p),H=(A,_)=>{k||(w&&(A===void 0||A instanceof Date)?E(A):w||L(A)),u?.(A,_)},T={MonthGrid:A=>O1(O4,{children:[(c||a)&&O1("div",{className:"cleen-flex cleen-gap-3 cleen-items-center cleen-py-2",children:[a&&wo(me,{value:f==="single"?z1(F):F?.from||F?.to?`${z1(F?.from)??"..."} - ${z1(F?.to)??"..."}`:void 0,placeholder:i?.inputPlaceholder??"No date selected",className:"cleen-flex-1",readOnly:!0}),c&&wo(re,{variant:"secondary",onClick:()=>S(new Date),children:i?.today??"Today"})]}),wo(z4,{...A})]}),...P},z={navLayout:"around",...M,className:Kl("cleen-text-foreground",y?.calendar?.className),classNames:{...y?.calendar?.classNames,nav:Kl("cleen-text-error",y?.calendar?.classNames?.nav)},disabled:v||C?{before:v==="today"?new Date:v,after:C==="today"?new Date:C}:I||x,components:T,month:D,onMonthChange:S,...b?.calendar};return O1("div",{ref:B,className:Kl("cleen",g),style:h,children:[t&&wo(te,{required:l,tooltip:r,className:Kl("cleen-mb-1.5",y?.label?.className),classNames:y?.label?.classNames,...b?.label,children:t}),w?wo(hg,{mode:"single",...z,selected:F,onSelect:(A,_)=>{if(v||C){H(Xl(A,{min:v,max:C}),_);return}H(A,_)}}):wo(hg,{mode:"range",...z,selected:F,onSelect:(A,_)=>{if(v||C){H({from:Xl(A?.from,{min:v,max:C}),to:Xl(A?.to,{min:v,max:C})},_);return}H(A,_)}}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&wo(j,{...n})]})});import{cn as Cn,useOutsideClick as _4,usePositionClose as H4,ZIndex as U4}from"@cleen/ui-core";import{forwardRef as G4,useEffect as V4,useRef as fg,useState as W4}from"react";import{createPortal as $4}from"react-dom";import{jsx as ko,jsxs as gg}from"react/jsx-runtime";var ta=G4(function({type:t="button",required:r,label:n,title:l,titleTooltip:a,disabled:c=!1,leftIcon:s,rightIcon:u=ko(er,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),fullWidth:p=!0,fullWidthDropdown:i,offset:g=4,isOpen:h,onOpenChange:y,keepOpenOnClickContent:b=!0,zIndex:f=U4.DROPDOWN,infoLabels:v,className:C,classNames:x,style:I,styles:P,children:M,...B},k){let[w,R]=W4(!1),E=h!==void 0?h:w,N=fg(null),L=fg(null),{positionStyles:F,isMounted:D}=H4({triggerRef:L,targetRef:N,position:"bottom-left",isOpen:E,offset:g});_4({refs:[N,L],handler:()=>{R(!1),y?.(!1)},enabled:E}),V4(()=>{let T=z=>{z.key==="Escape"&&E&&(R(!1),y?.(!1))};return document.addEventListener("keydown",T),()=>{document.removeEventListener("keydown",T)}},[E,y]);let S=()=>{let T=!E;h===void 0&&R(T),y?.(T)},H=()=>{b||(h===void 0&&R(!1),y?.(!1))};return gg("div",{className:Cn("cleen",C),style:I,ref:k,...B,children:[l&&ko(te,{required:r,tooltip:a,className:Cn("cleen-mb-1.5",x?.title?.className),classNames:x?.title?.classNames,...P?.title,children:l}),ko("div",{className:Cn("cleen-inline-block cleen-relative",p&&"cleen-w-full"),ref:L,children:gg("button",{type:t,className:Cn("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-bg-background cleen-shadow-sm cleen-my-auto cleen-px-3.5 cleen-py-2.5 cleen-border cleen-border-border cleen-rounded-md cleen-w-full cleen-text-foreground cleen-text-base cleen-transition-colors cleen-duration-200 hover:cleen-bg-neutral-25 hover:cleen-border-muted-foreground",{"cleen-w-full cleen-flex-1":p,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":c},p&&"cleen-w-full",x?.trigger),style:P?.trigger,disabled:c,"aria-haspopup":"dialog","aria-expanded":E,onClick:S,children:[s,ko("div",{className:Cn("cleen-flex-1 cleen-text-left",x?.label),style:P?.label,children:n}),u]})}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&ko(j,{...v}),M&&E&&$4(ko("div",{className:"cleen",children:ko("div",{ref:N,className:Cn("cleen-bg-background cleen-shadow-md cleen-p-2.5 cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute",{"cleen-opacity-0":!D},x?.dropdown),style:{zIndex:f,top:`${F.top}px`,left:`${F.left}px`,minWidth:i&&L.current?.offsetWidth?`${L.current.offsetWidth}px`:void 0,...P?.dropdown},onClick:H,children:M})}),document.body)]})});import{cn as vg}from"@cleen/ui-core";import{forwardRef as q4,useMemo as X4,useState as Zl}from"react";import{jsx as Bo,jsxs as Ig}from"react/jsx-runtime";var K4=q4(function({label:t,placeholder:r,infoLabels:n,required:l,selected:a,onSelect:c,onSelectInternal:s,leftIcon:u,rightIcon:p=Bo(Qn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),className:i,style:g,classNames:h,styles:y,mode:b="single",min:f,max:v,disabled:C,disabledDates:x,...I},P){let M=a!==void 0,B=b==="single",[k,w]=Zl(!1),[R,E]=Zl(),[N,L]=Zl(),F=M?a:B?R:N,[D,S]=Zl(),H=z=>{M||(B&&(z===void 0||z instanceof Date)?E(z):B||L(z)),c?.(z)},T=X4(()=>{if(!F)return r;if(B)return F?.toLocaleDateString();{let z=F;if(z.from&&z.to)return`${z.from.toLocaleDateString()} - ${z.to.toLocaleDateString()}`;if(z.from)return z.from.toLocaleDateString()}return r},[r,F,B]);return Ig("div",{ref:P,className:vg("cleen",i),style:g,children:[Bo(ta,{title:t,label:T,isOpen:k,onOpenChange:z=>{S(F),w(z)},leftIcon:u,rightIcon:p,className:h?.dropdown?.className,classNames:{...h?.dropdown?.classNames,dropdown:vg("cleen-p-0 cleen-border-0",h?.dropdown?.classNames?.dropdown)},required:l,disabled:C,...y?.dropdown,children:Bo(ie,{footer:{hasDivider:!0,content:Ig("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[Bo(re,{variant:"secondary",onClick:()=>w(!1),styles:{container:{minWidth:"max-content"}},children:"Close"}),Bo(re,{onClick:()=>{H(D),w(!1)},styles:{container:{minWidth:"max-content"}},children:"Apply"})]})},...h?.card,...y?.card,children:Bo(_1,{mode:b,...I,selected:D,onSelect:(z,A)=>S(s?.(z,A)??z),min:f,max:v,disabledDates:x,...h?.calendar,...y?.calendar})})}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&Bo(j,{...n})]})});import"react";import{cn as xn}from"@cleen/ui-core";import Z4 from"embla-carousel-auto-scroll";import Q4 from"embla-carousel-autoplay";import Y4 from"embla-carousel-react";import{forwardRef as J4,useEffect as j4,useMemo as bg,useState as yg}from"react";import{jsx as Ro,jsxs as t5}from"react/jsx-runtime";var e5=J4(function({options:t,slideAmount:r=3,slideSize:n,prevBtn:l,nextBtn:a,autoPlay:c=!1,autoPlayOptions:s,autoScroll:u=!1,autoScrollOptions:p,children:i,className:g,classNames:h,style:y,styles:b,...f},v){let C=bg(()=>{let L=[];return c&&L.push(Q4(s)),u&&L.push(Z4(p)),L},[c,u,s,p]),[x,I]=Y4({skipSnaps:!0,...t},C),[P,M]=yg(!0),[B,k]=yg(!0),w=()=>I?.scrollPrev(),R=()=>I?.scrollNext(),E=L=>{M(!L?.canScrollPrev()),k(!L?.canScrollNext())};j4(()=>{I&&(E(I),I.on("reInit",E),I.on("select",E))},[I]);let N=bg(()=>n?`${n}%`:`${100/r}%`,[n,r]);return Ro("div",{className:xn("cleen",g),style:y,ref:v,...f,children:t5("div",{className:xn("cleen-flex cleen-gap-2",h?.container),style:b?.container,children:[Ro("button",{className:xn("cleen-text-foreground",h?.prevBtn,P&&"cleen-opacity-50"),onClick:w,disabled:P,style:b?.prevBtn,children:l||Ro(Pt,{})}),Ro("div",{className:xn("cleen-flex-1 cleen-overflow-hidden",h?.viewport),style:b?.viewport,ref:x,children:Ro("div",{className:xn("cleen-flex [&>*]:cleen-flex-[0_0] cleen-gap-2 [&>*]:cleen-min-w-0 cleen-touch-pinch-zoom [&>*]:cleen-basis-[var(--cleen-carousel-slide-size)]",h?.list),style:{...b?.list,"--cleen-carousel-slide-size":N},children:i})}),Ro("button",{className:xn("cleen-text-foreground",h?.nextBtn,B&&"cleen-opacity-50"),onClick:R,disabled:B,style:b?.nextBtn,children:a||Ro(ot,{})})]})})});import{cn as Lo}from"@cleen/ui-core";import{forwardRef as o5,useEffect as Pg,useId as n5,useRef as r5,useState as a5}from"react";var Cg={primary:"cleen-bg-primary cleen-transition-all cleen-duration-200 hover:cleen-bg-primary hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error cleen-transition-all cleen-duration-200 hover:cleen-bg-error hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"},xg={primary:"cleen-bg-primary/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-primary/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-primary),0.25)]",error:"cleen-bg-error/60 cleen-transition-all cleen-duration-200 hover:cleen-bg-error/60 hover:cleen-shadow-[0px_0px_0px_4px_rgba(var(--cleen-error),0.25)]"};import{Fragment as l5,jsx as st,jsxs as Ql}from"react/jsx-runtime";var oa=o5(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,className:c,classNames:s,style:u,styles:p,onChange:i,disabled:g,title:h,titleTooltip:y,label:b,sublabel:f,variant:v="primary",allowIndeterminate:C=!1,fullTriggerArea:x=!1,infoLabels:I,inputRef:P,...M},B){let k=n5(),w=t??k,R=typeof l=="boolean"||l===null,[E,N]=a5(a),L=r5(null),F=z=>{L.current=z,P&&(P.current=z)};Pg(()=>{R||N(a)},[a,R]);let D=R?l:E;Pg(()=>{L.current&&(L.current.indeterminate=C&&D===null)},[C,D]);let S=z=>{let A;if(C)switch(D){case!0:A=null;break;case!1:A=!0;break;default:A=!1;break}else A=!D;R||N(A),i?.({...z,target:{...z.target,checked:A}})},H=Ql(l5,{children:[Ql("label",{className:Lo("cleen-bg-background cleen-transition-all cleen-duration-200 hover:cleen-bg-surface hover:cleen-shadow-[0px_0px_0px_4px_rgb(var(--cleen-neutral-100))] cleen-border cleen-border-neutral-300 cleen-rounded cleen-ring-primary cleen-size-5 cleen-min-w-5 cleen-min-h-5 cleen-cursor-pointer focus-within:cleen-ring-2 focus-within:cleen-ring-offset-1 focus-within:cleen-ring-primary",{[Cg[v]]:D,[xg[v]]:D===null},g&&"cleen-cursor-not-allowed cleen-pointer-events-none","cleen-flex cleen-items-center cleen-justify-center",s?.checkbox),style:p?.checkbox,children:[st("input",{ref:F,type:"checkbox",disabled:g,className:"cleen-sr-only",checked:D===!0,onChange:S,id:w,name:r,...M}),D===null?st("span",{className:"cleen-block cleen-m-auto cleen-border cleen-border-white cleen-rounded-sm cleen-w-2.5 cleen-h-0.5 cleen-size-3"}):D?st(xt,{className:"cleen-stroke-[3px] cleen-size-3 cleen-text-primary-foreground"}):null]}),(b||f)&&Ql("div",{children:[st("label",{htmlFor:w,className:Lo("cleen-block cleen-text-foreground",s?.label),style:p?.label,children:b}),st("label",{htmlFor:w,className:Lo("cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-leading-5",s?.sublabel),style:p?.sublabel,children:f})]})]}),T={className:Lo("cleen-flex cleen-items-start cleen-gap-2",{"cleen-opacity-50":g},s?.checkboxContainer),style:p?.checkboxContainer};return st("div",{className:Lo("cleen",c),style:u,ref:B,children:Ql("div",{className:Lo(s?.container),style:p?.container,children:[h&&st(te,{htmlFor:w,required:n,tooltip:y,className:Lo("cleen-mb-1.5",s?.title?.className),classNames:s?.title?.classNames,...p?.title,children:h}),x?st("div",{...T,onClick:z=>{z.target instanceof Element&&!z.target.closest("label")&&L.current?.click()},children:H}):st("div",{...T,children:H}),(I?.errorMessage||I?.infoMessage||I?.subtitle)&&st(j,{...I})]})})});import{cn as na}from"@cleen/ui-core";import{forwardRef as c5,useId as s5,useMemo as i5,useState as p5}from"react";import{jsx as Pn,jsxs as m5}from"react/jsx-runtime";var d5=c5(function({id:t,required:r,label:n,labelTooltip:l,checkboxes:a,allowIndeterminate:c,infoLabels:s,requiresAtLeastOneOptions:u,classNames:p,styles:i,onChange:g,...h},y){let b=s5(),f=t??b,[v,C]=p5(!1),x=i5(()=>u&&v&&a?.every(P=>P.checked===!1)?u.title:s?.errorMessage,[u,s?.errorMessage,a,v]),I=(P,M)=>{let B={...M,checked:P.target.checked},k;a&&M?.id&&(k=[...a].map(w=>w.id===M.id?B:w)),g?.(B,k),C(!0)};return Pn("div",{className:na("cleen"),...h,ref:y,children:m5("div",{className:na("cleen-flex cleen-flex-col cleen-gap-2",p?.container),style:i?.container,children:[n&&Pn(te,{htmlFor:f,required:r,tooltip:l,className:na("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...i?.label,children:n}),Pn("div",{className:na("cleen-flex cleen-flex-col cleen-gap-3",p?.checkboxes),style:i?.checkboxes,children:a?.map((P,M)=>Pn("div",{className:na("cleen-flex",p?.checkboxContainer),style:i?.checkboxContainer,children:Pn(oa,{allowIndeterminate:c,...P,id:`${f}-${M}`,fullTriggerArea:!0,onChange:B=>I(B,P)})},P.id))}),(x||s?.infoMessage||s?.subtitle)&&Pn(j,{...s,errorMessage:x})]})})});import{cn as Do}from"@cleen/ui-core";import{forwardRef as u5,useState as Sg}from"react";import{jsx as Sn,jsxs as Mg}from"react/jsx-runtime";var wg=u5(({sections:e,defaultOpenIndex:t,allowExpandAll:r=!1,className:n,classNames:l,style:a,styles:c,...s},u)=>{let[p,i]=Sg(t??null),[g,h]=Sg(()=>new Set(e.map((f,v)=>v))),y=f=>r?g.has(f):p===f,b=(f,v)=>{v.onClick?.(),v.items?.length&&(r?h(C=>{let x=new Set(C);return x.has(f)?x.delete(f):x.add(f),x}):i(p===f?null:f))};return Sn("div",{ref:u,className:Do("cleen",n),style:{...a,width:"100%"},...s,children:Sn("div",{className:Do("cleen-w-full",l?.container),style:c?.container,children:e.map((f,v)=>Mg("div",{className:Do("cleen-mb-3",l?.section),style:c?.section,children:[Mg("div",{onClick:()=>b(v,f),className:Do("cleen-flex cleen-w-full cleen-items-center cleen-justify-between cleen-font-medium cleen-text-md cleen-text-foreground cleen-p-2 cleen-rounded-lg cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.sectionHeader),style:c?.sectionHeader,children:[Sn("div",{className:"cleen-flex-1 cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis",children:f?.title}),f?.items?.length?Sn(St,{className:Do("cleen-shrink-0 cleen-text-neutral-400 cleen-transition-transform",{"cleen-rotate-180":!y(v)})}):null]}),y(v)&&f?.items&&Sn("div",{className:Do("cleen-mt-1 cleen-flex cleen-flex-col cleen-w-full",l?.sectionBody),style:c?.sectionBody,children:f?.items?.map((C,x)=>Sn("div",{className:Do("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-p-2 cleen-w-full cleen-rounded-lg cleen-font-normal cleen-text-md cleen-text-foreground cleen-cursor-pointer hover:cleen-bg-muted cleen-transition-colors",l?.item),style:c?.item,onClick:C?.onClick,children:C?.content},C?.key??x))})]},f?.key??v))})})});wg.displayName="Collapsible";function H1(e){let t=e.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/);return t?{r:Number(t[1]),g:Number(t[2]),b:Number(t[3]),a:t[4]!==void 0?Number(t[4]):1}:{r:0,g:0,b:0,a:1}}function kg(e){return`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`}import{cn as Yl}from"@cleen/ui-core";import{useEffect as h5,useState as f5}from"react";import{HexAlphaColorPicker as g5,RgbaColorPicker as v5}from"react-colorful";import{jsx as Mn,jsxs as b5}from"react/jsx-runtime";var Bg="rgba(0, 0, 0, 1)",Rg="#000000ff",I5=({required:e,value:t,defaultValue:r,onChange:n,colorModel:l="rgba",disabled:a,label:c,labelTooltip:s,className:u,classNames:p,style:i,styles:g,infoLabels:h,...y})=>{let b=t!==void 0,f=r??(l==="hexa"?Rg:Bg),[v,C]=f5(f),x=b?t:v;h5(()=>{b||C(r??(l==="hexa"?Rg:Bg))},[r,b,l]);let I=M=>{let B=kg(M);b||C(B),n?.(B)},P=M=>{b||C(M),n?.(M)};return Mn("div",{className:Yl("cleen",u),style:i,...y,children:b5("div",{className:Yl("cleen-flex cleen-flex-col cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-medium",p?.container),style:g?.container,children:[c&&Mn(te,{required:e,tooltip:s,className:Yl("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...g?.label,children:c}),Mn("div",{className:Yl("cleen-rounded-md",a&&"cleen-opacity-50 cleen-pointer-events-none",p?.picker),style:g?.picker,children:l==="hexa"?Mn(g5,{color:x,onChange:P}):Mn(v5,{color:H1(x),onChange:I})}),(h?.errorMessage||h?.infoMessage||h?.subtitle)&&Mn(j,{...h})]})})};import{cn as Ze}from"@cleen/ui-core";import{forwardRef as y5,useMemo as C5,useState as x5}from"react";var U1=(e="")=>e.replace(/\D+/g,""),Lg=e=>{switch(e.slice(0,2)){case"34":case"37":return"amex";case"36":return"dinersclub";default:return"other"}};function Dg(e,t="other"){if(!e)return e;let r=U1(e),n;switch(t){case"amex":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,15)}`;break;case"dinersclub":n=`${r.slice(0,4)} ${r.slice(4,10)} ${r.slice(10,14)}`;break;default:n=`${r.slice(0,4)} ${r.slice(4,8)} ${r.slice(8,12)} ${r.slice(12,19)}`;break}return n.trim()}var Tg=e=>U1(e);function Ng(e){let t=U1(e);if(!t||parseInt(t.charAt(0),10)>=2)return"";if(t.length<2)return t;let r=t.slice(0,2);if(parseInt(r,10)<1||parseInt(r,10)>12)return t.slice(0,1);if(t.length<3)return r;if(t.length===3)return`${r}/${t.charAt(2)}`;let n=t.length===6?t.slice(-2):t.slice(2,4),l=new Date,a=l.getFullYear()%100,c=l.getMonth()+1;return parseInt(n,10)<a||parseInt(n,10)===a&&parseInt(r,10)<c?`${r}/${n.charAt(0)}`:`${r}/${n}`}import{jsx as jt,jsxs as Fg}from"react/jsx-runtime";var P5=y5(function({labels:t,value:r,isLoading:n,errors:l,className:a,classNames:c,style:s,styles:u,infoLabels:p,onChange:i,onFieldFocus:g,...h},y){let[b,f]=x5({number:"",expiry:"",cvc:""}),v=!!r,C=v?r:b,x=C5(()=>Lg(C.number),[C.number]),I=M=>{let{name:B}=M.target,{value:k}=M.target;switch(B){case"number":k=Dg(k,x);break;case"expiry":k=Ng(k);break;case"cvc":k=Tg(k);break;default:return}v||f(w=>({...w,[B]:k})),i?.({...r,[B]:k})},P=M=>{g?.(M.target.name)};return jt("div",{className:Ze("cleen",a),style:s,ref:y,...h,children:jt("div",{className:Ze("cleen-flex cleen-flex-wrap cleen-justify-center cleen-items-start cleen-gap-8 cleen-bg-background cleen-min-w-80 cleen-w-min cleen-border cleen-border-primary/20 cleen-rounded-[10px] cleen-shadow-lg",c?.container),style:u?.container,children:n?jt("div",{className:Ze("cleen-py-4",c?.loader?.container),style:u?.loader?.container,children:jt(ne,{...c?.loader?.component,...u?.loader?.component})}):Fg("form",{className:Ze("cleen-flex cleen-flex-col cleen-items-start cleen-gap-3 cleen-p-4",c?.form?.container),style:u?.form?.container,onSubmit:M=>M.preventDefault(),children:[jt(me,{label:t?.number,name:"number",type:"tel",autoComplete:"cc-number",className:Ze("cleen-w-full",c?.form?.cardNumber?.className),classNames:{...c?.form?.cardNumber?.classNames,inputContainer:Ze({"cleen-border-error":l?.number},c?.form?.cardNumber?.classNames?.inputContainer),input:Ze({"cleen-text-error":l?.number},c?.form?.cardNumber?.classNames?.input)},...u?.form?.cardNumber,placeholder:"1111 1111 1111 1111",value:C.number,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.number}}),Fg("div",{className:Ze("cleen-flex cleen-justify-between cleen-items-start cleen-gap-3 cleen-w-full",c?.form?.cvcExpiryContainer),style:u?.form?.cvcExpiryContainer,children:[jt(me,{label:t?.expiry,name:"expiry",type:"tel",autoComplete:"cc-exp",className:c?.form?.expiry?.className,classNames:{...c?.form?.expiry?.classNames,inputContainer:Ze({"cleen-border-error":l?.expiry},c?.form?.expiry?.classNames?.inputContainer),input:Ze({"cleen-text-error":l?.expiry},c?.form?.expiry?.classNames?.input)},...u?.form?.expiry,placeholder:"00/00",value:C.expiry,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.expiry}}),jt(me,{label:t?.cvc,name:"cvc",type:"tel",inputMode:"numeric",autoComplete:"cc-csc",maxLength:x==="amex"?4:3,className:c?.form?.cvc?.className,classNames:{...c?.form?.cvc?.classNames,inputContainer:Ze({"cleen-border-error":l?.cvc},c?.form?.cvc?.classNames?.inputContainer),input:Ze({"cleen-text-error":l?.cvc},c?.form?.cvc?.classNames?.input)},...u?.form?.cvc,placeholder:"***",value:C.cvc,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.cvc}})]}),(p?.infoMessage||p?.errorMessage||p?.subtitle)&&jt(j,{...p})]})})})});import{cn as Eg}from"@cleen/ui-core";import{jsx as Ag}from"react/jsx-runtime";var rt=({isHorizontal:e=!0,className:t,classNames:r,style:n,styles:l,...a})=>Ag("div",{className:Eg("cleen",t),style:n,children:Ag("div",{className:Eg("cleen-bg-border cleen-my-0",e?"cleen-w-full cleen-h-[1px]":"cleen-w-[1px] cleen-h-full",r?.container),style:l?.container,...a})});import{cn as eo,useBodyScrollLock as S5,useCleenOverlays as zg,ZIndex as M5}from"@cleen/ui-core";import{forwardRef as w5,useCallback as k5,useEffect as G1,useId as B5,useRef as R5,useState as Og}from"react";import{createPortal as L5}from"react-dom";import{jsx as wn,jsxs as Jl}from"react/jsx-runtime";var D5={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768},_g=300,V1=w5(function({title:t,subtitle:r,children:n,headerCloseBtn:l,footer:a,isOpen:c=!1,onClose:s,closeOnOverlayClick:u=!0,position:p="right",zIndex:i=M5.DRAWER,size:g="lg",p:h,gap:y,className:b,classNames:f,style:v,styles:C,...x},I){let[P,M]=Og(c),[B,k]=Og(c),w=R5(null),R=B5(),{addOverlay:E,removeOverlay:N}=zg(),L=k5(()=>{M(!1),setTimeout(()=>s?.(),_g)},[s]);return G1(()=>{if(c){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),_g);return()=>clearTimeout(F)}},[c]),G1(()=>{if(c)return E(R),()=>N(R)},[E,N,c,R]),G1(()=>{let F=D=>{let{overlays:S}=zg.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),S5(B),B?L5(Jl("div",{className:eo("cleen",b),style:v,ref:I,...x,children:[wn("div",{className:eo("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",f?.overlay),onClick:()=>{u&&L()},style:{zIndex:i-1,...C?.overlay},"aria-hidden":"true"}),Jl("div",{className:eo("cleen-top-0 cleen-fixed cleen-flex cleen-flex-col cleen-gap-6 cleen-bg-surface cleen-shadow-l cleen-h-dvh cleen-transition-transform cleen-duration-300 cleen-ease-in-out cleen-transform",p==="right"?"cleen-right-0":"cleen-left-0",P?"cleen-translate-x-0":p==="right"?"cleen-translate-x-full":"-cleen-translate-x-full",f?.drawer),style:{zIndex:i,width:typeof g=="number"?g:D5[g],...y!==void 0&&{gap:y},...C?.drawer},ref:w,children:[Jl("div",{className:eo("cleen-flex cleen-justify-between cleen-items-center cleen-px-6 cleen-pt-6 cleen-w-full",f?.header),style:{...h!==void 0&&{paddingInline:h,paddingTop:h},...C?.header},children:[Jl("div",{className:"cleen-flex cleen-flex-col",children:[wn("span",{className:eo("cleen-font-semibold cleen-text-foreground-emphasis cleen-text-xl",f?.title),style:C?.title,children:t}),wn("span",{className:eo("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",f?.subtitle),style:C?.subtitle,children:r})]}),l||wn(Te,{onClick:L,className:"cleen-mb-auto cleen-size-5 cleen-cursor-pointer"})]}),wn("div",{className:eo("cleen-flex-1 cleen-px-6 cleen-overflow-y-auto cleen-no-scrollbar",f?.content),style:{...h!==void 0&&{paddingInline:h},...C?.content},children:n}),a&&wn("div",{className:eo("cleen-flex cleen-justify-end cleen-items-center cleen-gap-2 cleen-bg-sidebar cleen-px-6 cleen-py-4 cleen-border-border cleen-border-t",f?.footer),style:{...h!==void 0&&{paddingInline:h,paddingBlock:y},...C?.footer},children:a})]})]}),document.body):null});import{cn as To,useAnimateNumber as T5}from"@cleen/ui-core";import{forwardRef as N5,useEffect as F5,useMemo as E5,useRef as A5,useState as z5}from"react";import{jsx as jl,jsxs as W1}from"react/jsx-runtime";var kn=N5(({percentage:e,title:t,barColor:r,backgroundColor:n="rgb(var(--cleen-neutral-200))",textColor:l="rgb(var(--cleen-foreground))",invertProgressColors:a=!1,showPercentage:c=!1,renderAnimated:s=!1,renderAnimatedDuration:u=1e3,className:p,classNames:i,style:g,styles:h,...y},b)=>{let f=Math.max(0,Math.min(e,100)),v=A5(f),[C,x]=z5(s?0:f),I=T5({targetNumber:C,duration:u,disabled:!s});F5(()=>{if(s){setTimeout(()=>x(f),0);return}v.current!==f&&(x(f),v.current=f)},[f,s]);let P=E5(()=>{if(r)return r;switch(f<=30?"red":f<70?"orange":"green"){case"red":return a?"rgb(var(--cleen-success))":"rgb(var(--cleen-error))";case"orange":return"rgb(var(--cleen-warning))";case"green":return a?"rgb(var(--cleen-error))":"rgb(var(--cleen-success))";default:return"rgb(var(--cleen-success))"}},[f,a,r]);return jl("div",{ref:b,className:To("cleen",p),style:g,children:W1("div",{className:To("cleen-w-full",i?.container),style:h?.container,...y,children:[t&&jl("div",{className:To("cleen-mb-1 cleen-font-semibold cleen-text-xs",i?.title),style:h?.title,children:t}),W1("div",{className:To("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full cleen-h-4",i?.wrapper||i?.progress),style:h?.wrapper??h?.progress,children:[jl("div",{className:To("cleen-overflow-hidden cleen-flex-1 cleen-h-2 cleen-rounded-full",i?.track),style:{backgroundColor:n,...h?.track},children:jl("div",{className:To("cleen-h-full cleen-transition-all cleen-duration-300 ease-out",i?.fill),style:{width:`${C}%`,backgroundColor:P,...s&&{transitionDuration:`${u}ms`},...h?.fill}})}),c&&W1("span",{className:To("cleen-font-medium cleen-text-sm cleen-whitespace-nowrap cleen-w-10",i?.text),style:{color:l,...h?.text},children:[Math.round(I),"%"]})]})]})})});kn.displayName="ProgressBar";import{cn as to,FileEntryStatus as No}from"@cleen/ui-core";import{useMemo as Hg}from"react";import{Fragment as Ug,jsx as we,jsxs as Fo}from"react/jsx-runtime";var Gg=({fileEntry:e,onRemove:t,onFileClick:r,labels:n,classNames:l,styles:a})=>{let{id:c,file:s,name:u,size:p,url:i,type:g,status:h,progress:y=0,preExisting:b}=e,f=h===No.UPLOADING,v=h===No.ERROR,C=h===No.DONE,x=h===No.DELETING,I=p?p*y/100:0,P=Hg(()=>{switch(h){case No.UPLOADING:return Fo(Ug,{children:[we(Po,{className:"cleen-size-4"}),we("span",{children:n?.uploading})]});case No.DONE:return we(fo,{className:"cleen-size-4"});case No.ERROR:return we(ho,{className:"cleen-size-4"});default:return null}},[h,n]),M=()=>{if(r){r(e);return}i&&window.open(i,"_blank","noopener,noreferrer")},B=u||s?.name||"",[k,w]=B.split("."),R=Hg(()=>g?.startsWith("image/")&&i?we("img",{src:i,alt:B,className:"cleen-size-8 cleen-object-cover cleen-rounded-md"}):g==="application/pdf"?we(Io,{className:"cleen-size-8"}):we(vo,{className:"cleen-size-8"}),[B,g,i]);return we(ie,{p:12,className:l?.card?.className,classNames:{...l?.card?.classNames,container:to(l?.card?.classNames?.container,{"hover:cleen-bg-muted cleen-cursor-pointer cleen-overflow-hidden":C})},...a?.card,onClick:C?M:void 0,children:Fo("div",{className:to("cleen-space-y-1",l?.container),style:a?.container,children:[Fo("div",{className:to("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",l?.nameContainer),style:a?.nameContainer,children:[R,Fo("div",{className:to("cleen-text-foreground cleen-text-sm cleen-font-medium cleen-flex",l?.name),style:{maxWidth:R?"calc(100% - 5rem)":"calc(100% - 2.5rem)",...a?.name},children:[we("span",{className:"cleen-truncate cleen-shrink",children:k}),Fo("span",{className:"cleen-whitespace-nowrap",children:[".",w]})]}),we("div",{className:"cleen-flex-1"}),!f&&(x?we(ne,{color:"rgb(var(--cleen-error))",className:to("cleen-shrink-0")}):we(Ke,{className:to("cleen-size-4 cleen-shrink-0 cleen-text-neutral-600 hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer"),onClick:E=>{E.stopPropagation(),t?.(c)}}))]}),Fo("div",{className:to("cleen-flex cleen-gap-2 cleen-items-center cleen-text-neutral-600 cleen-text-xs",l?.statusContainer),style:a?.statusContainer,children:[!!p&&(f?we("p",{children:n?.uploadProgress?.(I,p)}):C&&we("p",{children:n?.uploaded?.(p)})),!b&&Fo(Ug,{children:[we("span",{children:"|"}),we("div",{className:to("cleen-flex cleen-items-center cleen-gap-1",{"cleen-text-error":v,"cleen-text-success":C},l?.statusText),style:a?.statusText,children:P})]})]}),f&&we(kn,{barColor:"rgb(var(--cleen-primary))",percentage:y,showPercentage:!0,...l?.progressBar,...a?.progressBar})]})},c)};var ec=e=>{if(e===0)return"0 B";let t=1024,r=["B","KB","MB","GB","TB"],n=Math.floor(Math.log(e)/Math.log(t));return`${parseFloat((e/Math.pow(t,n)).toFixed(1))} ${r[n]}`};var Vg={primaryText:"Click to upload",secondaryText:"or drag and drop",helperText:"SVG, PNG or JPG (max. 400x400px)",uploading:"Uploading...",uploadProgress:(e,t)=>`${ec(e)} of ${ec(t)}`,uploaded:e=>ec(e)};var Wg={uploading:e=>`Uploading ${e} ${e===1?"item":"items"}`,completed:"Uploads complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",uploadProgress:e=>`${Math.round(e)}%`};var ra=(a=>(a.PENDING="pending",a.IN_PROGRESS="inProgress",a.DONE="done",a.ERROR="error",a.REMOVING="removing",a))(ra||{});import{cn as Eo}from"@cleen/ui-core";import{jsx as oo,jsxs as $g}from"react/jsx-runtime";var $1=({item:e,labels:t,classNames:r,styles:n})=>{let{status:l,progress:a=0,icon:c,name:s}=e,u=l==="inProgress",p=l==="done",i=l==="error",g=l==="removing",h=l==="pending";return $g("div",{className:Eo("cleen-flex cleen-items-center cleen-gap-3",r?.container),style:n?.container,children:[c,$g("div",{className:Eo("cleen-flex-1 cleen-space-y-1 cleen-min-w-0",r?.infoContainer),style:n?.infoContainer,children:[oo("p",{className:Eo("cleen-font-medium cleen-text-foreground cleen-text-sm cleen-truncate",r?.name),style:n?.name,children:s}),u&&oo(kn,{barColor:"rgb(var(--cleen-primary))",percentage:a,...r?.progressBar,...n?.progressBar})]}),u&&oo("span",{className:Eo("cleen-shrink-0 cleen-text-muted-foreground cleen-text-xs",r?.progressText),style:n?.progressText,children:t?.itemProgress?.(a)}),g&&oo(ne,{color:"rgb(var(--cleen-error))"}),p&&oo(fo,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-success",r?.statusIcon),style:n?.statusIcon}),i&&oo(ho,{className:Eo("cleen-size-5 cleen-shrink-0 cleen-text-error",r?.statusIcon),style:n?.statusIcon}),h&&oo("div",{className:Eo("cleen-size-5 cleen-shrink-0 cleen-flex cleen-items-center cleen-gap-1",r?.statusIcon),style:n?.statusIcon,children:Array.from({length:3}).map((y,b)=>oo("div",{className:"cleen-size-1 cleen-bg-primary cleen-rounded-full cleen-animate-bounce-medium",style:{animationDelay:`${b*.1}s`}},b))})]})};var aa=(l=>(l.NOT_STARTED="notStarted",l.IN_PROGRESS="inProgress",l.COMPLETED="completed",l.ALL="all",l))(aa||{}),la=["notStarted","inProgress","completed","all"];import{cn as tc}from"@cleen/ui-core";import{jsx as qg,jsxs as O5}from"react/jsx-runtime";var q1=({value:e,onChange:t,counts:r,labels:n,classNames:l,styles:a})=>qg("div",{role:"group","aria-label":n?.statusFilter,className:tc("cleen-flex cleen-flex-wrap cleen-items-center cleen-gap-0.5 cleen-bg-muted cleen-p-0.5 cleen-border cleen-border-border cleen-rounded-md",l?.container),style:a?.container,children:la.map(c=>{let s=c===e;return O5("button",{type:"button","aria-pressed":s,onClick:()=>t(c),className:tc("cleen-flex cleen-items-center cleen-gap-1 cleen-px-2 cleen-py-0.5 cleen-rounded cleen-font-medium cleen-text-muted-foreground cleen-text-xs cleen-whitespace-nowrap cleen-transition-colors hover:cleen-text-foreground focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary",l?.option,s&&tc("cleen-bg-background cleen-text-foreground cleen-shadow-sm",l?.optionActive)),style:{...a?.option,...s&&a?.optionActive},children:[n?.statusFilterOptions?.[c],r&&qg("span",{className:tc("cleen-text-neutral-400 cleen-tabular-nums",l?.optionCount),style:a?.optionCount,children:r[c]})]},c)})});var Xg={processing:e=>`Processing ${e} ${e===1?"item":"items"}`,completed:"Processing complete",showMore:e=>`+${e} more`,showLess:"Show less",dismiss:"Dismiss",contract:"Contract",itemProgress:e=>`${Math.round(e)}%`,statusFilter:"Filter by status",statusFilterOptions:{notStarted:"Not Started",inProgress:"In Progress",completed:"Completed",all:"All"},emptyStatusFilter:"Nothing to show for this status"};var Kg=e=>e.status==="inProgress"||e.status==="pending",Zg=e=>e.length>0&&e.every(t=>t.status==="done"),X1=(e,t)=>{switch(t){case"notStarted":return e.status==="pending";case"inProgress":return e.status==="inProgress"||e.status==="removing";case"completed":return e.status==="done"||e.status==="error";case"all":default:return!0}};import{applyDefaults as _5,cn as at,useControlled as Qg,useDisclosure as H5}from"@cleen/ui-core";import{forwardRef as U5,useEffect as Yg,useMemo as K1,useRef as G5}from"react";import{jsx as it,jsxs as Z1}from"react/jsx-runtime";var Q1=U5(function({items:t,title:r,maxVisibleItems:n=5,isExpanded:l,defaultExpanded:a=!1,onExpandedChange:c,onDismiss:s,autoDismissOnUploadCompleteAfterMilliSeconds:u,showHeader:p=!0,showStatusFilter:i=!1,showStatusFilterCounts:g=!1,statusFilter:h,defaultStatusFilter:y="inProgress",onStatusFilterChange:b,labels:f,className:v,classNames:C,style:x,styles:I,...P},M){let{isOpen:B,toggle:k,close:w}=H5(),{value:R,handleChange:E}=Qg({value:l,defaultValue:a,onChange:c});Yg(()=>{t.length>0&&w()},[t.length,w]);let N=_5(Xg,f),{value:L,handleChange:F}=Qg({value:h,defaultValue:y,onChange:b}),D=G5(s);D.current=s;let S=Zg(t);Yg(()=>{if(u==null||!D.current||!S)return;if(u<=0){D.current();return}let $=setTimeout(()=>D.current?.(),u);return()=>clearTimeout($)},[S,u]);let H=K1(()=>t.filter(Kg).length,[t]),T=K1(()=>!i||!L?t:t.filter($=>X1($,L)),[t,i,L]),z=K1(()=>{if(g)return la.reduce(($,W)=>({...$,[W]:t.filter(U=>X1(U,W)).length}),{})},[t,g]);if(!t.length)return null;let A=Math.max(T.length-n,0),_=R||!A?T:T.slice(0,n),G=r??(H?N?.processing?.(H):N?.completed);return it(ie,{p:16,gap:12,ref:M,className:at(v,C?.card?.className),classNames:{...C?.card?.classNames,childrenContainer:at(C?.card?.classNames?.childrenContainer,{"cleen-hidden":B})},style:x,styles:I?.card?.styles,header:p?{hasDivider:!B,content:Z1("div",{className:at("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",C?.header),style:I?.header,children:[it("p",{className:at("cleen-font-semibold cleen-text-foreground cleen-text-sm",C?.title),style:I?.title,children:G}),Z1("div",{className:at("cleen-flex cleen-items-center cleen-gap-2",C?.headerButtons),style:I?.headerButtons,children:[it("button",{type:"button","aria-label":N?.contract,onClick:k,className:at("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.contractButton),style:I?.contractButton,children:it(St,{className:at("cleen-size-5 cleen-transition-transform",B&&"cleen-rotate-180")})}),s&&it("button",{type:"button","aria-label":N?.dismiss,onClick:s,className:at("cleen-text-muted-foreground hover:cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.dismissButton),style:I?.dismissButton,children:it(Te,{className:"cleen-size-4"})})]})]})}:void 0,...P,children:Z1("div",{className:at("cleen-flex cleen-flex-col cleen-gap-3",C?.list),style:I?.list,children:[i&&L&&it(q1,{value:L,onChange:F,counts:z,labels:N,classNames:C?.statusFilter,styles:I?.statusFilter}),!_.length&&it("p",{className:at("cleen-text-muted-foreground cleen-text-xs",C?.emptyStatusFilter),style:I?.emptyStatusFilter,children:N?.emptyStatusFilter}),_.map($=>it($1,{item:$,labels:N,classNames:C?.row,styles:I?.row},$.id)),!!A&&it("button",{type:"button","aria-expanded":R,onClick:()=>E(!R),className:at("cleen-self-start cleen-font-medium cleen-text-primary cleen-text-xs hover:cleen-underline focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary cleen-rounded",C?.expandButton),style:I?.expandButton,children:R?N?.showLess:N?.showMore?.(A)})]})})});import{FileEntryStatus as Lt}from"@cleen/ui-core";var V5=[{label:"PDF",className:"cleen-bg-error",extensions:["pdf"]},{label:"DOC",className:"cleen-bg-primary",extensions:["doc","docx","rtf","odt"]},{label:"XLS",className:"cleen-bg-success",extensions:["xls","xlsx","csv","ods"]},{label:"IMG",className:"cleen-bg-warning",extensions:["png","jpg","jpeg","gif","svg","webp"]}],Jg={label:"FILE",className:"cleen-bg-neutral-500"},W5={[Lt.QUEUED]:"inProgress",[Lt.UPLOADING]:"inProgress",[Lt.PAUSED]:"inProgress",[Lt.DONE]:"done",[Lt.ERROR]:"error",[Lt.DELETING]:"removing"},Y1=e=>e.name||e.file?.name||"",jg=e=>{let t=Y1(e).split(".").pop()?.toLowerCase()??"",r=V5.find(({extensions:n})=>n.includes(t));return r?{label:r.label,className:r.className}:{label:t?t.slice(0,4).toUpperCase():Jg.label,className:Jg.className}},ev=e=>e.status===Lt.QUEUED||e.status===Lt.UPLOADING||e.status===Lt.PAUSED,tv=e=>W5[e.status]??"pending",ov=e=>Array.isArray(e)?e:Array.from(e.values());import{cn as $5}from"@cleen/ui-core";import{jsx as q5}from"react/jsx-runtime";var nv=({fileEntry:e,className:t,style:r})=>{let n=jg(e);return q5("div",{className:$5("cleen-flex cleen-justify-center cleen-items-center cleen-rounded-md cleen-size-8 cleen-shrink-0 cleen-font-semibold cleen-text-[10px] cleen-text-white",n.className,t),style:r,children:n.label})};import{jsx as X5}from"react/jsx-runtime";var rv=(e,t)=>({id:e.id,name:Y1(e),progress:e.progress,status:tv(e),icon:X5(nv,{fileEntry:e,className:t?.className,style:t?.style})});import{applyDefaults as K5}from"@cleen/ui-core";import{forwardRef as Z5,useMemo as av}from"react";import{jsx as Q5}from"react/jsx-runtime";var J1=Z5(function({files:t,title:r,maxVisibleFiles:n=5,labels:l,classNames:a,styles:c,...s},u){let p=av(()=>ov(t),[t]),i=K5(Wg,l),g=av(()=>p.map(b=>rv(b,{className:a?.row?.typeBadge,style:c?.row?.typeBadge})),[p,a?.row?.typeBadge,c?.row?.typeBadge]),h=p.filter(ev).length,y=r??(h?i?.uploading?.(h):i?.completed);return Q5(Q1,{ref:u,items:g,title:y,maxVisibleItems:n,labels:{showMore:i?.showMore,showLess:i?.showLess,dismiss:i?.dismiss,contract:i?.contract,itemProgress:i?.uploadProgress},classNames:a,styles:c,...s})});import{applyDefaults as Y5,cn as Ne,FileEntryStatus as J5,useFileUpload as j5}from"@cleen/ui-core";import{forwardRef as e3,useEffect as t3,useMemo as lv,useRef as cv,useState as j1}from"react";import{createPortal as o3}from"react-dom";import{jsx as Fe,jsxs as oc}from"react/jsx-runtime";var n3=e3(function({required:t,icon:r,files:n,initialFiles:l=[],onFilesChange:a,onFileUpload:c,onFilesUpload:s,onFileRemove:u,onFileClick:p,infoLabels:i,containerRef:g,label:h,labelTooltip:y,labels:b,showUploadedFiles:f=!1,showProgressTracker:v=!1,progressTracker:C,className:x,classNames:I,style:P,styles:M,multiple:B,disabled:k,loadingWhileUploading:w,isLoading:R,readOnly:E,onChange:N,id:L,name:F,...D},S){let H=cv(null),{files:T,addFiles:z,remove:A}=j5({files:n,onFilesChange:a,initialFiles:l,onFileUpload:c,onFilesUpload:s,onFileRemove:u}),_=lv(()=>R||w&&Array.from(T.values()).some(X=>X.status===J5.UPLOADING),[T,w,R]),[G,$]=j1(!1),[W,U]=j1([]),[V,Q]=j1(!1),O=cv(new Set(T.keys()));t3(()=>{let X=Array.from(T.keys()),Be=X.filter(Pe=>!O.current.has(Pe));O.current=new Set(X),U(Pe=>{let pe=Pe.filter(mo=>T.has(mo));return Be.length?V?Be:[...pe,...Be.filter(mo=>!pe.includes(mo))]:pe.length===Pe.length?Pe:pe}),Be.length&&Q(!1)},[T,V]);let Z=lv(()=>W.map(X=>T.get(X)).filter(X=>!!X),[W,T]),se=()=>{Q(!0),U([]),C?.onDismiss?.()},ge=!k&&!E&&!_,ye=X=>{let Be=Array.from(X.target.files??[]);z(Be),N?.(X)},It=X=>{A(X)},Ge=()=>{ge&&H.current?.click()},Y=X=>{if(!X.length)return;let Be=B?X:X.slice(0,1);if(!H.current||typeof DataTransfer>"u"){z(Be);return}let Pe=new DataTransfer;Be.forEach(pe=>Pe.items.add(pe));try{H.current.files=Pe.files}catch{z(Be);return}z(Be),N?.({target:H.current,currentTarget:H.current})},le=X=>{X.preventDefault(),X.stopPropagation(),$(!1),ge&&Y(Array.from(X.dataTransfer.files??[]))},he=X=>{X.preventDefault(),X.stopPropagation(),ge&&$(!0)},et=X=>{X.preventDefault(),X.stopPropagation(),ge&&$(!0)},Ko=X=>{X.preventDefault(),X.stopPropagation(),ge&&$(!1)},Ve=X=>{ge&&(X.key!=="Enter"&&X.key!==" "||(X.preventDefault(),Ge()))},We=Y5(Vg,b);return oc("div",{className:Ne("cleen",x),style:P,ref:g,children:[Fe("input",{id:L||F,name:F,ref:X=>{if(H.current=X,typeof S=="function"){S(X);return}S&&(S.current=X)},type:"file",multiple:B,disabled:k||_,readOnly:E,className:Ne("cleen-hidden",I?.input),style:M?.input,onChange:ye,...D}),h&&Fe(te,{htmlFor:L||F,required:t,tooltip:y,className:Ne("cleen-mb-1.5",I?.label?.className),classNames:I?.label?.classNames,...M?.label,children:h}),oc("div",{className:Ne("cleen-relative cleen-blur-0",{"cleen-pointer-events-none":_}),children:[Fe(ie,{tabIndex:ge?0:-1,role:"button","aria-label":typeof h=="string"?h:"Upload file","aria-disabled":k||E||_,onClick:Ge,onKeyDown:Ve,onDrop:le,onDragEnter:he,onDragOver:et,onDragLeave:Ko,p:16,className:Ne("cleen-rounded-lg focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",I?.card?.className),classNames:{...I?.card?.classNames,container:Ne("cleen-transition-colors",k?"cleen-cursor-not-allowed cleen-bg-muted":"cleen-cursor-pointer hover:cleen-bg-surface hover:cleen-border-muted-foreground",I?.card?.classNames?.container,G&&["cleen-border-muted-foreground cleen-bg-surface",I?.cardDragActive]),childrenContainer:Ne({"cleen-blur-sm":_},I?.card?.classNames?.childrenContainer)},style:M?.card?.style,styles:{...M?.card?.styles,container:{...M?.card?.styles?.container,...G?M?.cardDragActive:void 0}},children:oc("div",{className:Ne("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-gap-3 cleen-text-center",I?.dropArea),style:M?.dropArea,"aria-disabled":k||E||_,children:[Fe("div",{className:Ne("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-border cleen-border-border cleen-rounded-xl cleen-size-11 cleen-text-neutral-700",I?.iconContainer),style:M?.iconContainer,children:r||Fe(Po,{className:"cleen-size-5"})}),oc("p",{className:Ne("cleen-font-medium cleen-text-sm",I?.textContainer),style:M?.textContainer,children:[Fe("span",{className:Ne(k?"cleen-text-muted-foreground":"cleen-text-primary",I?.primaryText),style:M?.primaryText,children:We?.primaryText})," ",Fe("span",{className:Ne("cleen-text-foreground",I?.secondaryText),style:M?.secondaryText,children:We?.secondaryText})]}),Fe("p",{className:Ne("cleen-text-neutral-600 cleen-text-xs",I?.helperText),style:M?.helperText,children:We?.helperText})]})}),_&&Fe(ne,{size:"md",className:"cleen-absolute cleen-top-1/2 cleen-left-1/2 -cleen-translate-x-1/2 -cleen-translate-y-1/2"})]}),f&&T.size>0&&Fe("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-mt-4",children:Array.from(T.values()).map(X=>Fe(Gg,{fileEntry:X,onRemove:It,onFileClick:p,labels:We,classNames:I?.fileCard,styles:M?.fileCard},X.id))}),v&&!V&&Z.length>0&&o3(Fe("div",{className:"cleen",children:Fe(J1,{...C,files:Z,onDismiss:se,className:Ne("cleen-fixed cleen-right-0 cleen-bottom-0 cleen-m-4 cleen-w-96",I?.progressTracker?.className),classNames:I?.progressTracker?.classNames,...M?.progressTracker})}),document.body),(i?.errorMessage||i?.infoMessage||i?.subtitle)&&Fe(j,{...i})]})});var r3=e=>{let t=e instanceof Date?e:new Date(e);if(Number.isNaN(t.getTime()))return;let r={dateStyle:"medium",timeStyle:"short"};try{return new Intl.DateTimeFormat("en-US",r).format(t)}catch{return new Intl.DateTimeFormat("en-US",r).format(t)}},sv={uploaded:e=>`Uploaded: ${r3(e)}`};var eh={"image/":"image","video/":"video","audio/":"audio"},th={"application/pdf":"pdf","application/msword":"document","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"document","application/vnd.oasis.opendocument.text":"document","application/rtf":"document","text/rtf":"document","text/plain":"document","application/vnd.ms-excel":"spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"spreadsheet","application/vnd.oasis.opendocument.spreadsheet":"spreadsheet","text/csv":"spreadsheet","application/zip":"archive","application/x-zip-compressed":"archive","application/vnd.rar":"archive","application/x-rar-compressed":"archive","application/x-7z-compressed":"archive","application/x-tar":"archive","application/gzip":"archive","application/x-gzip":"archive"},iv={png:"image",jpg:"image",jpeg:"image",gif:"image",bmp:"image",webp:"image",svg:"image",avif:"image",heic:"image",ico:"image",tif:"image",tiff:"image",mp4:"video",mov:"video",webm:"video",avi:"video",mkv:"video",m4v:"video",ogv:"video",mp3:"audio",wav:"audio",ogg:"audio",oga:"audio",m4a:"audio",aac:"audio",flac:"audio",weba:"audio",pdf:"pdf",doc:"document",docx:"document",txt:"document",rtf:"document",odt:"document",xls:"spreadsheet",xlsx:"spreadsheet",csv:"spreadsheet",ods:"spreadsheet",zip:"archive",rar:"archive","7z":"archive",tar:"archive",gz:"archive",tgz:"archive"},pv=["http:","https:","blob:"];var a3=e=>{let t=e?.split(";")[0].trim().toLowerCase();if(!t)return;if(t in th)return th[t];let r=Object.keys(eh).find(n=>t.startsWith(n));return r?eh[r]:void 0},oh=e=>{let t=e.lastIndexOf(".");return t<0?void 0:e.slice(t+1).toLowerCase()},l3=e=>{let t=oh(e);return t?iv[t]:void 0},dv=e=>a3(e.type)??l3(e.name)??"generic",mv=e=>{if(!e)return!1;try{let t=typeof document<"u"?document.baseURI:void 0;return pv.includes(new URL(e,t).protocol)}catch{return!1}};import{cn as Dt,formatFileSize as c3}from"@cleen/ui-core";import{forwardRef as s3,useMemo as uv,useState as i3}from"react";import{Fragment as d3,jsx as pt,jsxs as nc}from"react/jsx-runtime";var p3=s3(function({file:t,preview:r=!1,onRemove:n,description:l,labels:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=i3(),b=uv(()=>({...sv,...a}),[a]),f=dv(t),v=x1(oh(t.name)),C=mv(t.url)?t.url:void 0,x=t.previewUrl||t.url,I=r&&(f==="image"||f==="video")&&!!x&&h!==x,P=uv(()=>{if(l!=null)return l;let w=[];if(t.size!=null&&w.push(c3(t.size)),t.uploadedAt!=null){let R=b?.uploaded(t.uploadedAt);R&&w.push(R)}return w.length>0?w.join(" \u2022 "):null},[l,t.uploadedAt,t.size,b]),M=w=>{w.stopPropagation(),n?.(t)},B=Dt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-items-center cleen-gap-3 cleen-py-2 cleen-px-3 cleen-rounded-lg",C&&"cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-inset focus-visible:cleen-ring-primary",s?.main),k=nc(d3,{children:[nc("div",{className:Dt("cleen-flex cleen-size-10 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-overflow-hidden cleen-rounded-lg cleen-bg-primary-50 cleen-text-primary-600",s?.media),style:p?.media,children:[I&&(f==="image"||f==="video"&&t.previewUrl)&&pt("img",{src:x,alt:t.name,className:"cleen-size-full cleen-object-cover",onError:()=>y(x)}),I&&f==="video"&&!t.previewUrl&&pt("video",{src:x,"aria-label":t.name,className:"cleen-size-full cleen-object-cover",muted:!0,playsInline:!0,preload:"metadata",onError:()=>y(x)}),!I&&pt(v,{"aria-hidden":!0,className:Dt("cleen-size-5",s?.icon),style:p?.icon})]}),nc("div",{className:Dt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-flex-col cleen-gap-0.5",s?.content),style:p?.content,children:[pt("span",{className:Dt("cleen-truncate cleen-text-sm cleen-font-semibold cleen-text-foreground",s?.title),style:p?.title,title:t.name,children:t.name}),P!==null&&pt("span",{className:Dt("cleen-truncate cleen-text-xs cleen-text-muted-foreground",s?.description),style:p?.description,children:P})]})]});return pt("div",{className:Dt("cleen",c),style:u,ref:g,...i,children:nc("div",{className:Dt("cleen-flex cleen-w-full cleen-min-w-0 cleen-items-center cleen-rounded-lg cleen-border cleen-border-border cleen-bg-background cleen-transition-all cleen-duration-200",C&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",s?.container),style:p?.container,children:[C?pt("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:B,style:p?.main,children:k}):pt("div",{className:B,style:p?.main,children:k}),n&&pt("button",{type:"button",className:Dt("cleen-mr-3 cleen-flex cleen-size-8 cleen-shrink-0 cleen-items-center cleen-justify-center cleen-rounded-md cleen-text-error cleen-transition-colors hover:cleen-bg-muted focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-error",s?.removeButton),style:p?.removeButton,onClick:M,children:pt(Te,{"aria-hidden":!0,className:"cleen-size-5"})})]})})});var rc={filterName:"",exposed:!1};import{createContext as m3}from"react";var Qe=m3({isSaveFiltersStep:!1,setIsSaveFiltersStep:()=>{},saveStepValues:{exposed:!1,filterName:""},setSaveStepValues:()=>{},handleCloseSaveFilter:()=>{},isFiltersDropdownOpen:!1,setIsFiltersDropdownOpen:()=>{},errors:{},setErrors:()=>{},setError:()=>{}});import{cn as u3}from"@cleen/ui-core";import{useContext as h3,useState as f3}from"react";import{Fragment as g3,jsx as ca,jsxs as nh}from"react/jsx-runtime";var hv={min:3,max:50},fv=()=>{let{isSaveFiltersStep:e,saveStepValues:t,setSaveStepValues:r,setIsSaveFiltersStep:n,handleCloseSaveFilter:l,setError:a,onSave:c,classNames:s,styles:u,labels:p,withSavedFilters:i=!0,onCancel:g,onApply:h}=h3(Qe),[y,b]=f3(!1),f=async()=>{try{if(t.filterName.length<hv.min){a?.("filterName",p?.saveStep?.validation?.tooShort);return}if(t.filterName.length>hv.max){a?.("filterName",p?.saveStep?.validation?.tooLong);return}b(!0),await c?.(t),n(!1)}catch(v){console.error("Error saving filters:",v)}finally{b(!1)}};return e?nh("div",{className:"cleen-flex cleen-flex-1 cleen-justify-end cleen-gap-3",children:[ca(re,{onClick:()=>n(!1),variant:"secondary",...s?.saveFilter?.backBtn,...u?.saveFilter?.backBtn,children:p?.saveStep?.back}),ca(re,{onClick:f,isLoading:y,loaderColor:"rgb(var(--cleen-white))",...s?.saveFilter?.saveBtn,...u?.saveFilter?.saveBtn,children:p?.saveStep?.save})]}):nh(g3,{children:[i&&ca(re,{onClick:()=>{r(rc),n(!0)},variant:"borderless-blue",...s?.saveBtn,...u?.saveBtn,children:p?.save}),nh("div",{className:u3("cleen-flex cleen-items-center cleen-gap-3",{"cleen-flex-1 cleen-justify-end":!i}),children:[ca(re,{onClick:()=>{g?.(),l()},variant:"secondary",...s?.cancelBtn,...u?.cancelBtn,children:p?.cancel}),ca(re,{onClick:()=>{h?.(),l()},...s?.applyBtn,...u?.applyBtn,children:p?.apply})]})]})};import{cn as ac}from"@cleen/ui-core";import{Link as v3}from"react-router-dom";import{Fragment as vv,jsx as Ao,jsxs as rh}from"react/jsx-runtime";var gv=({item:e,classNames:t,styles:r})=>({disabled:e?.disabled,className:ac("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-foreground cleen-text-sm cleen-text-left cleen-transition-colors",e?.disabled?"cleen-opacity-50 cleen-select-none cleen-cursor-not-allowed cleen-pointer-events-none":"hover:cleen-bg-muted cleen-cursor-pointer",{"cleen-text-error hover:cleen-bg-error-bg":e?.danger},t?.container),style:r?.container,children:rh(vv,{children:[e?.icon,Ao("span",{className:ac("cleen-flex-1",t?.label),style:r?.label,children:e?.label})]}),...e?.type==="button"?{type:"button"}:{to:e?.to}}),ah=({item:e,isLast:t,handleClick:r,onEnterSubmenu:n,classNames:l,styles:a})=>{switch(e?.type){case"group":return rh(vv,{children:[e?.label&&Ao("p",{className:ac("cleen-px-4 cleen-py-2 cleen-font-bold cleen-text-muted-foreground cleen-text-xs",l?.groupLabel),style:a?.groupDivider,children:e?.label}),e?.items?.map((c,s,u)=>Ao(ah,{item:c,handleClick:r,onEnterSubmenu:n,isLast:s===u.length-1},c?.id||s)),!t&&Ao("hr",{className:ac("cleen-text-neutral-200",l?.groupDivider),style:a?.groupDivider})]});case"button":{let c=e?.submenu&&e?.submenu?.length>0;return rh("button",{type:"button",onClick:()=>{c?n?.(e.submenu,e?.label):r?.(e)},...gv({item:e,classNames:l,styles:a}),children:[e?.icon,Ao("span",{className:"cleen-flex-1",children:e?.label}),c&&Ao(ot,{className:"cleen-size-4 cleen-text-neutral-400"})]})}case"link":return Ao(v3,{to:"",...gv({item:e,classNames:l,styles:a})});default:return null}};import{cn as I3}from"@cleen/ui-core";import{useEffect as Iv,useState as bv}from"react";import{Fragment as b3,jsx as yv,jsxs as Cv}from"react/jsx-runtime";var xv=({items:e,keepOpenOnClick:t,hideMenu:r,classNames:n,styles:l})=>{let[a,c]=bv([]),[s,u]=bv(e),p=(h,y)=>{c(b=>[...b,{items:s,title:y}]),u(h)},i=()=>{let h=a[a?.length-1];h&&(u(h?.items),c(y=>y?.slice(0,-1)))};Iv(()=>{u(e),c([])},[e]),Iv(()=>{let h=y=>{if(y.key==="Escape")if(a.length>0){let b=a?.[a?.length-1];u(b?.items),c(f=>f?.slice(0,-1))}else r()};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[r,a]);let g=h=>{h?.onClick?.(),t||r()};return Cv(b3,{children:[a?.length>0&&Cv("button",{onClick:i,className:I3("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-2 cleen-w-full cleen-text-sm cleen-text-foreground hover:cleen-bg-neutral-50",n?.submenuButton),style:l?.submenuButton,children:[yv(Pt,{className:"cleen-size-4 cleen-text-neutral-300"}),a?.[a?.length-1]?.title]}),s?.map((h,y,b)=>yv(ah,{item:h,isLast:y===b?.length-1,handleClick:g,onEnterSubmenu:p,classNames:n?.item,styles:l?.item},h?.id||y))]})};import{CLEEN_IGNORE_OUTSIDE_CLICK as y3,cn as lh,useDisclosure as C3,useOutsideClick as x3,usePositionClose as P3,ZIndex as S3}from"@cleen/ui-core";import{forwardRef as M3,useRef as Pv}from"react";import{createPortal as w3}from"react-dom";import{jsx as lc,jsxs as k3}from"react/jsx-runtime";var Bn=M3(function({items:t=[],position:r="bottom-left",keepOpenOnClick:n=!0,triggerRef:l,menuRef:a,ignoreClickOutside:c=!1,zIndex:s=S3.MENU,children:u,className:p,classNames:i,style:g,styles:h,...y},b){let{isOpen:f,toggle:v,close:C}=C3(),x=Pv(null),I=Pv(null),P=l??x,M=a??I,{positionStyles:B,isMounted:k}=P3({triggerRef:P,targetRef:M,position:r,isOpen:f});x3({refs:[P,M],handler:C,enabled:f});let w=()=>{v()};return k3("div",{className:lh("cleen",p),style:g,ref:b,...y,children:[lc("div",{ref:P,onClick:w,className:lh("cleen-size-fit",i?.trigger,f&&i?.triggerOpen),style:{...h?.trigger,...f?h?.triggerOpen:{}},children:u}),f&&w3(lc("div",{className:"cleen",...c&&{[y3]:"true"},children:lc("div",{ref:M,className:lh("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!k},i?.menu),style:{zIndex:s,top:`${B.top}px`,left:`${B.left}px`,...h?.menu},children:lc(xv,{items:t,keepOpenOnClick:n,hideMenu:C,classNames:i,styles:h})})}),document.body)]})});import{cn as cc,ColorHelpers as ph}from"@cleen/ui-core";import{useMemo as B3}from"react";var ch=["blue","lighter-blue","primary","indigo","green","red","purple","pink","orange","gray","yellow"],sh={blue:"cleen-border-blue/30 cleen-bg-blue/10 cleen-text-blue","lighter-blue":"cleen-border-blue-light/20 cleen-bg-blue-light/5 cleen-text-blue-light",primary:"cleen-border-primary/30 cleen-bg-primary/10 cleen-text-primary",indigo:"cleen-border-indigo/50 cleen-bg-indigo/5 cleen-text-indigo/80",green:"cleen-border-success/20 cleen-bg-success-bg cleen-text-success",red:"cleen-border-error/20 cleen-bg-error-bg cleen-text-error",purple:"cleen-border-purple/20 cleen-bg-purple/5 cleen-text-purple/80",pink:"cleen-border-pink/50 cleen-bg-pink/5 cleen-text-pink/80",orange:"cleen-border-orange/20 cleen-bg-orange/5 cleen-text-orange/80",yellow:"cleen-text-yellow-500 cleen-bg-yellow/10 cleen-border-yellow",gray:"cleen-border-border cleen-bg-muted cleen-text-neutral-600"},Sv={blue:"cleen-bg-primary/50",primary:"cleen-bg-primary/50",indigo:"cleen-bg-indigo/50",green:"cleen-bg-success/50",red:"cleen-bg-error/50",purple:"cleen-bg-purple/50",pink:"cleen-bg-pink/50",orange:"cleen-bg-warning/50",yellow:"cleen-bg-yellow/50",gray:"cleen-bg-neutral-300"},Mv={full:"cleen-rounded-full",rounded:"cleen-rounded-2xl",semiRounded:"cleen-rounded-lg",sleek:"cleen-rounded"};var ih=(e,t)=>!e&&!t?"primary":t?ch[t%ch.length]:e;import{jsx as dh,jsxs as R3}from"react/jsx-runtime";var Ee=({className:e,classNames:t,style:r,styles:n,label:l,color:a="primary",variant:c="rounded",showDot:s=!1,icon:u,removeable:p=!1,withBorder:i=!0,onRemoveClicked:g,onClick:h,colorByIndex:y,children:b,...f})=>{let{variantClass:v,dotVariantClass:C,dotVariantStyle:x,variantStyle:I}=B3(()=>{let P={};return a in sh?(P.variantClass=sh[ih(a,y)],P.dotVariantClass=Sv[ih(a,y)]):(P.variantStyle={borderColor:ph.trasparentize(a,.8),backgroundColor:ph.trasparentize(a,.95),color:a},P.dotVariantStyle={backgroundColor:ph.trasparentize(a,.5)}),P},[a,y]);return dh("div",{className:cc("cleen",e),style:r,children:R3("span",{className:cc("cleen-flex cleen-justify-center cleen-items-center cleen-gap-1 cleen-text-xs cleen-font-medium cleen-py-0.5 cleen-px-2 cleen-w-fit cleen-min-w-max cleen-transition-all cleen-duration-200",v,Mv[c],{"cleen-border":i},{"hover:cleen-opacity-80 cleen-cursor-pointer":h||p},t?.container),style:{...I,...n?.container},onClick:h,...f,children:[s&&dh("span",{className:cc("cleen-size-2 cleen-rounded-[50%]",C,t?.dot),style:{...x,...n?.dot}}),u,l??b,p&&dh(Te,{className:cc("cleen-size-3 cleen-cursor-pointer cleen-flex cleen-flex-col cleen-justify-center cleen-items-center cleen-transition-transform cleen-duration-200 hover:cleen-scale-125",t?.removable),style:n?.removable,onClick:g})]})})};import{cn as D3}from"@cleen/ui-core";import{useContext as T3,useState as wv}from"react";import{jsx as dt,jsxs as N3}from"react/jsx-runtime";var kv=({filter:e,activeTabId:t})=>{let[r,n]=wv(!1),[l,a]=wv(!1),{labels:c,onFilterDelete:s,onFilterPin:u,onFilterSelect:p,onFilterUnpin:i,setIsFiltersDropdownOpen:g}=T3(Qe),h=async()=>{try{if(!s)return;n(!0),await s(e.filterID)}catch(b){console.error("Error while deleting filter:",b)}finally{n(!1)}},y=async()=>{try{a(!0),e?.isPinned?await i?.(e.filterID):await u?.(e.filterID)}catch(b){console.error("Error while pinning/unpinnning filter:",b)}finally{a(!1)}};return dt("div",{className:"cleen-group cleen-flex cleen-flex-col cleen-justify-around cleen-gap-2 hover:cleen-bg-primary/5 cleen-p-2 cleen-rounded-md cleen-min-h-10",children:N3("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-cursor-pointer",onClick:()=>{p?.(e),g(!1)},children:[dt("span",{className:"cleen-flex-1 cleen-text-neutral-600 cleen-text-sm cleen-text-left cleen-truncate",children:e.title}),l?dt(ne,{classNames:{loader:"cleen-size-5"}}):dt(Ee,{color:"gray",onClick:b=>{b.stopPropagation(),y()},icon:dt(Sr,{name:"pin",className:D3("cleen-size-3.5 group-hover:cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",e?.isPinned?"cleen-text-neutral-600":"cleen-text-neutral-300")}),classNames:{container:"cleen-font-bold"},label:e?.isPinned?c?.savedFilters?.filter?.unpin:c?.savedFilters?.filter?.pin}),t==="mine"&&dt(Bn,{items:[{id:"duplicate",type:"button",label:c?.savedFilters?.filter?.cancelDelete,icon:dt(Te,{className:"cleen-size-5"}),onClick:()=>{}},{id:"archive",type:"button",label:c?.savedFilters?.filter?.delete,icon:dt(Ke,{}),danger:!0,onClick:()=>h()}],keepOpenOnClick:!1,ignoreClickOutside:!0,onClick:b=>b.stopPropagation(),className:"cleen-flex",children:r?dt(ne,{size:"sm",color:"rgb(var(--cleen-error))"}):dt(Ke,{className:"cleen-text-foreground hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer",name:"delete"})})]})})};import{cn as no}from"@cleen/ui-core";import{forwardRef as F3,useMemo as Rv,useState as E3}from"react";import{cn as mh}from"@cleen/ui-core";var sa={horizontal:{list:"cleen-flex cleen-flex-wrap cleen-mb-4"},vertical:{container:"cleen-flex cleen-gap-4",list:"cleen-flex cleen-flex-col",content:"cleen-flex-1"}},Bv=e=>{let t=e==="vertical";return{underlined:{list:mh("cleen-gap-2 cleen-border-border",!t&&"cleen-border-b"),tab:mh("cleen-px-1 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",t?"cleen-border-l-2 cleen-pl-3 cleen-py-1.5":"cleen-border-b-2 cleen-pb-3"),tabActive:"cleen-border-primary cleen-text-primary",tabInactive:"cleen-border-transparent cleen-text-muted-foreground hover:cleen-text-neutral-700 hover:cleen-border-border",tabDisabled:"cleen-border-transparent cleen-text-neutral-300 cleen-cursor-not-allowed"},padded:{list:"cleen-gap-1",tab:"cleen-px-3 cleen-py-2.5 cleen-rounded-md cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200",tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-muted-foreground hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"},stretched:{list:"cleen-rounded-md cleen-overflow-hidden cleen-border cleen-border-border",tab:mh("cleen-flex-1 cleen-px-3 cleen-py-2 cleen-font-semibold cleen-text-sm cleen-transition-all cleen-duration-200 cleen-border-border cleen-justify-center",t?"[&:not(:first-child)]:cleen-border-t":"[&:not(:first-child)]:cleen-border-l"),tabActive:"cleen-bg-primary/10 cleen-text-primary",tabInactive:"cleen-text-neutral-600 hover:cleen-bg-muted",tabDisabled:"cleen-text-neutral-300 cleen-cursor-not-allowed"}}};import{jsx as sc,jsxs as Lv}from"react/jsx-runtime";var uh=F3(function({tabs:t,variant:r="underlined",direction:n="horizontal",currentTabIndex:l,onTabChange:a,className:c,classNames:s,style:u,styles:p,...i},g){let[h,y]=E3(0),f=l!==void 0?l:h,v=Rv(()=>t?.[f],[t,f]),C=(I,P)=>{y(I),a?.(I,P)},x=Rv(()=>Bv(n),[n]);return sc("div",{className:no("cleen",c),style:u,ref:g,...i,children:Lv("div",{className:no(sa[n].container,s?.container),style:p?.container,children:[sc("nav",{className:no(x[r].list,sa[n].list,s?.list),"aria-label":"Tabs",style:p?.list,children:t?.map((I,P)=>{let M=f===P,B=I?.isDisabled;return Lv("span",{onClick:()=>!B&&C(P,I),className:no("cleen-flex cleen-items-center cleen-gap-2 cleen-whitespace-nowrap",!B&&"cleen-cursor-pointer",x[r].tab,sa[n].tab,s?.tab,B?no(x[r].tabDisabled,s?.tabDisabled):M?no(x[r].tabActive,s?.tabActive):no(x[r].tabInactive,s?.tabInactive)),style:{...p?.tab,...B?p?.tabDisabled:M?p?.tabActive:p?.tabInactive},"aria-current":M?"page":void 0,"aria-disabled":B,children:[I?.label,!!I?.badge?.label&&sc(Ee,{variant:"rounded",color:M?"blue":"gray",...s?.count,...p?.count,...I.badge})]},I?.id||P)})}),!!v?.content&&sc("div",{className:no("h-full",sa[n].content,s?.content),style:p?.content,children:v?.content})]})})});import{useContext as A3,useState as z3}from"react";import{jsx as zo,jsxs as _3}from"react/jsx-runtime";var O3=e=>{let t={isFeatured:null,isMine:null,isPinned:null,isShared:null};switch(e){case"featured":t.isFeatured=!0;break;case"mine":t.isMine=!0;break;case"pinned":t.isPinned=!0;break;case"shared":t.isShared=!0;break;case"all":default:break}return t},Dv=({selectedSavedFilter:e,filters:t,isFiltersFetching:r,onFilterCategoryChange:n})=>{let[l,a]=z3("all"),{labels:c,classNames:s,styles:u,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i}=A3(Qe);return zo(ta,{isOpen:p,onOpenChange:i,leftIcon:zo(dr,{className:"cleen-size-5"}),label:e?.title??c?.savedFilters?.label,fullWidthDropdown:!0,...s?.dropdown,...u?.dropdown,children:_3("div",{className:"flex flex-col gap-2 p-2.5 w-full",children:[zo(uh,{tabs:[{id:"all",label:c?.savedFilters?.tabs?.all},{id:"mine",label:c?.savedFilters?.tabs?.mine},{id:"shared",label:c?.savedFilters?.tabs?.shared},{id:"featured",label:c?.savedFilters?.tabs?.featured},{id:"pinned",label:c?.savedFilters?.tabs?.pinned}],variant:"padded",onTabChange:(g,h)=>{a(h?.id),n?.(O3(h?.id))},classNames:{list:"cleen-mb-2"}}),zo("div",{className:"flex flex-col",children:r?zo(ne,{classNames:{loader:"cleen-size-6"}}):(t?.length||0)>0?t?.map(g=>zo(kv,{filter:g,activeTabId:l},g.filterID)):zo("p",{className:"cleen-font-normal cleen-text-neutral-600 cleen-text-base cleen-text-center",children:c?.savedFilters?.noFilters})})]})})};import{cn as Tt}from"@cleen/ui-core";import{forwardRef as H3,useEffect as U3,useId as G3,useState as V3}from"react";import{jsx as Oo,jsxs as hh}from"react/jsx-runtime";var fh=H3(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,onChange:c,title:s,label:u,labelTooltip:p,sublabel:i,disabled:g,classNames:h,className:y,style:b,styles:f,infoLabels:v,...C},x){let I=typeof l=="boolean",[P,M]=V3(a);U3(()=>{I||M(a)},[a,I]);let B=I?l:P,k=G3(),w=s?`${k}-title`:void 0,R=u?`${k}-label`:void 0,E=[w,R].filter(Boolean).join(" ")||void 0,N=()=>{g||(I||M(!P),c?.(!B))};return Oo("div",{className:Tt("cleen",y),style:b,children:hh("div",{className:Tt("cleen-flex cleen-flex-col",h?.container),style:f?.container,children:[s&&Oo(te,{id:w,htmlFor:t||r,required:n,tooltip:p,className:Tt("cleen-mb-1.5",h?.title?.className),classNames:h?.title?.classNames,...f?.title,children:s}),hh("div",{className:Tt("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",h?.switchContainer),style:f?.switchContainer,children:[Oo("button",{id:t||r,type:"button",role:"switch","aria-checked":B,"aria-labelledby":E,disabled:g,onClick:N,className:Tt("cleen-inline-flex cleen-relative cleen-flex-shrink-0 cleen-my-auto cleen-mb-auto cleen-border-2 cleen-border-transparent cleen-rounded-full cleen-w-11 cleen-h-6 cleen-transition-colors cleen-duration-200 cleen-ease-in-out cleen-cursor-pointer focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",B?"cleen-bg-primary hover:cleen-bg-[color-mix(in_srgb,rgba(var(--cleen-primary)),black_12%)]":"cleen-bg-neutral-200 hover:cleen-bg-neutral-300",h?.switch),style:f?.switch,ref:x,...C,children:Oo("span",{"aria-hidden":"true",className:Tt("cleen-inline-block cleen-bg-primary-foreground cleen-shadow cleen-rounded-full cleen-ring-0 cleen-w-5 cleen-h-5 cleen-transition cleen-duration-200 cleen-ease-in-out cleen-pointer-events-none cleen-transform",B?"cleen-translate-x-5":"cleen-translate-x-0",h?.check),style:f?.check})}),(u||i)&&hh("div",{className:Tt("cleen-flex cleen-flex-col cleen-text-sm",h?.labelContainer),style:f?.labelContainer,children:[u&&Oo("span",{id:R,className:Tt("cleen-font-semibold cleen-text-foreground",h?.label),style:f?.label,children:u}),i&&Oo("span",{className:Tt("cleen-font-normal cleen-text-muted-foreground",h?.sublabel),style:f?.sublabel,children:i})]})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&Oo(j,{...v})]})})});import{useContext as W3}from"react";import{Fragment as $3,jsx as Tv,jsxs as q3}from"react/jsx-runtime";var Nv=()=>{let{classNames:e,styles:t,labels:r,saveStepValues:n,setSaveStepValues:l,errors:a,clearError:c}=W3(Qe);return q3($3,{children:[Tv(me,{value:n.filterName,onChange:s=>{l(u=>({...u,filterName:s.target.value})),a?.filterName&&c?.("filterName")},label:r?.saveStep?.filterNameInput?.label,placeholder:r?.saveStep?.filterNameInput?.placeholder,infoLabels:{errorMessage:a?.filterName},...e?.saveFilter?.filterName,...t?.saveFilter?.filterName}),Tv(fh,{checked:n.exposed,onChange:s=>l(u=>({...u,exposed:s})),title:r?.saveStep?.exposureSwitch?.title,label:r?.saveStep?.exposureSwitch?.label,sublabel:r?.saveStep?.exposureSwitch?.sublabel,...e?.saveFilter?.exposure,...t?.saveFilter?.exposure})]})};var Fv={title:"Filters",subtitle:"Apply filters to table data.",apply:"Apply",cancel:"Cancel",clear:"Clear",save:"Save filters",saveStep:{back:"Back",save:"Save",title:"Save Filter",subtitle:"Filters are reusable and shareable.",filterNameInput:{label:"Filter name",placeholder:"Type a name for this filter"},exposureSwitch:{title:"Exposure",label:"Share this filter",sublabel:"Allows others to see and use this filter"},validation:{tooShort:"You must provide a valid filter title, above 3 characters long.",tooLong:"You must provide a valid filter title, below 50 characters long."}},savedFilters:{label:"Select saved filter",noFilters:"No saved filters",filter:{delete:"Delete",cancelDelete:"Cancel",pin:"Pin",unpin:"Unpin"},tabs:{all:"All",featured:"Featured",mine:"Mine",pinned:"Pinned",shared:"Shared"}}};import{useValidation as X3}from"@cleen/ui-core";import{useState as gh}from"react";import{jsx as K3}from"react/jsx-runtime";var Ev=({children:e,value:t})=>{let[r,n]=gh(!1),[l,a]=gh(rc),{errors:c,setError:s,clearError:u}=X3({}),[p,i]=gh(!1),g=()=>{n(!1),t?.onClose?.()};return K3(Qe.Provider,{value:{isSaveFiltersStep:r,setIsSaveFiltersStep:n,saveStepValues:l,setSaveStepValues:a,handleCloseSaveFilter:g,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i,errors:c,setError:s,clearError:u,...t},children:e})};import{applyDefaults as Z3,cn as Av}from"@cleen/ui-core";import{forwardRef as zv,useContext as Q3}from"react";import{Fragment as j3,jsx as ro,jsxs as eM}from"react/jsx-runtime";var Y3=zv(function({selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,children:l,classNames:a,styles:c,labels:s,withSavedFilters:u=!0,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I,...P},M){return ro(Ev,{value:{selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,classNames:a,styles:c,labels:Z3(Fv,s),withSavedFilters:u,onClear:p,onSave:i,onCancel:g,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:f,onFilterDelete:v,onFilterPin:C,onFilterSelect:x,onFilterUnpin:I},children:ro(J3,{...P,ref:M,children:l})})}),J3=zv(function({children:t,...r},n){let{handleCloseSaveFilter:l,isSaveFiltersStep:a,selectedSavedFilter:c,savedFilters:s,isFiltersFetching:u,classNames:p,styles:i,labels:g,withSavedFilters:h=!0,onClear:y,onFilterCategoryChange:b,onFilterSelect:f}=Q3(Qe);return ro(V1,{footer:ro(fv,{}),headerCloseBtn:ro(re,{onClick:()=>{y?.(),f?.(void 0)},leftIcon:ro(Ke,{}),variant:"secondary",...p?.clearBtn,...i?.clearBtn,children:g?.clear}),classNames:{...p,content:Av("cleen-space-y-4",p?.content),footer:Av("cleen-justify-between",p?.footer)},onClose:l,ref:n,...r,title:a?g?.saveStep?.title:r.title,subtitle:a?g?.saveStep?.subtitle:r.subtitle,children:a?ro(Nv,{}):eM(j3,{children:[h&&ro(Dv,{filters:s,selectedSavedFilter:c,onFilterCategoryChange:b,isFiltersFetching:u}),t]})})});import{cn as Rn}from"@cleen/ui-core";import{forwardRef as tM}from"react";import{jsx as ic,jsxs as Ov}from"react/jsx-runtime";var _v=tM(({title:e,titleTooltip:t,subtitle:r,required:n,labelProps:l,children:a,className:c,classNames:s,style:u,styles:p,...i},g)=>ic("div",{ref:g,className:Rn("cleen",c),style:{...u,width:"100%"},...i,children:Ov("div",{className:Rn("cleen-flex cleen-w-full cleen-items-start cleen-justify-start cleen-gap-8",s?.container),style:p?.container,children:[Ov("div",{className:Rn("cleen-flex cleen-flex-col cleen-w-1/3",s?.titleColumn),style:p?.titleColumn,children:[ic(te,{...l,required:n,tooltip:t,className:s?.title?.className,classNames:{...s?.title?.classNames,label:Rn("cleen-truncate",s?.title?.classNames?.label)},...p?.title,children:e}),r&&ic("div",{className:Rn("cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis cleen-w-full cleen-font-normal cleen-text-neutral-600 cleen-text-sm",s?.subtitle),style:p?.subtitle,children:r})]}),ic("div",{className:Rn("cleen-form-group--controls-row cleen-flex cleen-flex-1 cleen-flex-wrap cleen-gap-8",s?.controlsRow),style:p?.controlsRow,children:a})]})}));_v.displayName="FormGroup";import{cn as Ce,useDebounce as oM,useOutsideClick as nM,usePositionClose as rM,ZIndex as aM}from"@cleen/ui-core";import{useEffect as pc,useMemo as vh,useRef as Ih,useState as lt}from"react";import{createPortal as lM}from"react-dom";import{Fragment as iM,jsx as K,jsxs as Ae}from"react/jsx-runtime";function cM(e){return e!==null&&typeof e=="object"}function De(e,t){if(cM(e)&&t in e)return e[t]}function Hv(e,t){let r=De(e,t);return Array.isArray(r)?r:[]}function Uv(e,t){let r=e?.[t];if(typeof r=="string"||typeof r=="number")return r;let n=e?.data?.[t];return typeof n=="string"||typeof n=="number"?n:null}var sM=({position:e="bottom-right",labels:t,groups:r=[],selectedItemID:n=null,groupThreeDotMenuOptions:l=[],itemThreeDotMenuOptions:a=[],refetchData:c,onGroupSave:s,onItemSave:u,onGroupThreeDotMenuClick:p,onItemThreeDotMenuClick:i,onSearchChange:g,onItemSelect:h,groupIDKey:y,groupTitleKey:b,itemsKey:f,itemIDKey:v,itemGroupIDKey:C,itemTitleKey:x,itemSubtitleKey:I,newValueMinLength:P=2,isLoading:M=!1,isGroupSaving:B=!1,isItemSaving:k=!1,selectedColor:w="rgb(var(--cleen-primary-100))",hasFiltering:R=!0,zIndex:E=aM.POPOVER,className:N,classNames:L,style:F,styles:D})=>{let[S,H]=lt(!1),[T,z]=lt(!1),[A,_]=lt(!1),[G,$]=lt(!1),[W,U]=lt(null),[V,Q]=lt(null),[O,Z]=lt(""),[se,ge]=lt(""),[ye,It]=lt(null),Ge=Ih(void 0),[Y,le]=lt(""),[he]=oM(Y,500),[et,Ko]=lt(""),Ve=Ih(null),We=Ih(null),{positionStyles:X,isMounted:Be}=rM({triggerRef:Ve,targetRef:We,position:e,isOpen:S,offset:10});nM({refs:[We],handler:()=>H(!1),enabled:S});let Pe=vh(()=>r??[],[r]),pe=vh(()=>{let q=new Map;for(let oe of Pe){let de=De(oe,y);de!=null&&q.set(de,Hv(oe,f))}return q},[Pe,y,f]),mo=vh(()=>{let q=[];return W==null?q=Array.from(pe?.values()).flat():q=pe?.get(W)??[],R&&et.trim()!==""&&(q=q.filter(oe=>{let de=String(De(oe,x)??""),tt=I?String(De(oe,I)??""):"";return de.toLowerCase().includes(et?.toLowerCase()??"")||tt.toLowerCase().includes(et?.toLowerCase()??"")})),q},[W,pe,et,x,I,R]);pc(()=>{let q=Ge.current!==n;if(Ge.current=n,n==null){q&&(Q(null),U(null));return}let de=Array.from(pe?.values())?.flat()?.find(tt=>De(tt,v)===n);if(de){let tt=De(de,C)??null;Q(de),U(tt)}else q&&Q(null)},[n,pe,v,C]),pc(()=>{if(ye==null)return;let oe=Array.from(pe?.values())?.flat()?.find(tt=>De(tt,v)===ye);if(!oe)return;let de=De(oe,C);U(typeof de=="string"||typeof de=="number"?de:null),Q(oe),It(null),h?.(oe)},[ye,pe,v,C,h]),pc(()=>{g&&g(he??"")},[he,g]),pc(()=>{S||(z(!1),_(!1),Z(""),ge(""))},[S]);let Sa=q=>{q===W?(U(null),Q(null),h?.(null)):(Q(null),U(q),h?.(null))},ee=q=>{let oe=De(q,C);U(typeof oe=="string"||typeof oe=="number"?oe:null),Q(q),h?.(q),H(!1)};async function Re(){if(!s)return;let q={[b]:O};try{let oe=await s(q);if(oe?.success){z(!1),Z(""),c&&await c();let de=Uv(oe,y);de!=null&&(U(de),Q(null),h?.(null))}}catch{}}async function Se(){if(!u)return;let q={[x]:se,...W!=null?{[C]:W}:{}};try{let oe=await u(q);oe?.success&&(_(!1),ge(""),It(Uv(oe,v)),c&&await c())}catch{}}return K("div",{className:Ce("cleen",N),style:F,children:Ae("div",{ref:Ve,className:Ce("cleen-relative cleen-w-full cleen-cursor-pointer",L?.container),style:D?.container,onClick:q=>{q.stopPropagation(),H(!0)},children:[K(me,{placeholder:t?.inputPlaceholder,rightIcon:K(St,{className:Ce("cleen-w-5 cleen-h-5 cleen-text-neutral-300 cleen-transition-transform",{"cleen-rotate-180":!S})}),value:Y,onChange:q=>{U(null),Q(null),le(q.target.value)},classNames:{input:S?"":"cleen-cursor-pointer"},className:L?.input,style:D?.input}),S&&lM(K("div",{className:"cleen",children:Ae("div",{ref:We,className:Ce("cleen-overflow-hidden cleen-flex cleen-items-start cleen-justify-start cleen-w-[500px] cleen-h-[344px] cleen-bg-surface cleen-border cleen-border-border cleen-rounded-lg cleen-shadow-xl cleen-cursor-default","cleen-absolute",{"cleen-opacity-0":!Be},L?.columnsContainer),style:{zIndex:E,top:`${X.top}px`,left:`${X.left}px`,...D?.columnsContainer},children:[Ae("div",{className:"cleen-w-1/2 cleen-h-full",children:[K("div",{className:Ce("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.leftColumn),style:D?.leftColumn,children:M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):r?.map((q,oe)=>{let de=De(q,y),tt=de===W,Fc=String(De(q,b)??""),Ec=Hv(q,f)?.length??0;return Ae("div",{className:Ce("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.groupItem),style:{...D?.groupItem||{},...tt?{backgroundColor:w}:{}},onClick:ve=>{ve.stopPropagation(),ve.preventDefault(),Sa(de??null)},children:[Ae("div",{className:Ce("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2",l?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:Ce("cleen-truncate cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.groupItemTitle),style:D?.groupItemTitle,children:Fc}),K(Ee,{color:"lighter-blue",label:Ec})]}),l?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:ve=>{ve.stopPropagation(),p?.(q)},children:K(Bn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:l?.map(ve=>{let Hn=ve?.disabledOptionCallback?.(q);return{...ve,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:ve?.label}),onClick:()=>{Hn||ve?.onClick(q)},disabled:Hn}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(on,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`group-${oe}-${String(de??oe)}`)})}),K(rt,{isHorizontal:!0}),T?Ae("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(me,{leftIcon:K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newGroupPlaceholder,value:O,onChange:q=>Z(q.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:s?B?K(ne,{}):O?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Re()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ae("div",{className:Ce("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer cleen-transition-colors hover:cleen-bg-neutral-50",L?.newGroupButton),style:D?.newGroupButton,onClick:()=>z(!0),children:[K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newGroupPlaceholder})]})]}),K(rt,{className:"cleen-absolute cleen-top-0 cleen-left-1/2 cleen-min-w-[1px] cleen-h-full cleen-bg-border cleen-z-[1]"}),Ae("div",{className:"cleen-w-1/2 cleen-h-full",children:[Ae("div",{className:Ce("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",L?.rightColumn),style:D?.rightColumn,children:[R&&Ae(iM,{children:[K(me,{leftIcon:K(kt,{className:"cleen-size-5"}),className:Ce("cleen-w-full cleen-transition-transform",{"-cleen-translate-y-11":!G}),classNames:{inputContainer:"cleen-border-0 cleen-shadow-none"},onChange:q=>Ko(q.target.value),placeholder:t?.filterPlaceholder}),K("button",{type:"button",className:Ce("cleen-w-full cleen-py-0.5 cleen-transition-all cleen-bg-neutral-50 hover:cleen-bg-muted cleen-border-t cleen-border-border",{"-cleen-mt-10 cleen-border-transparent":!G}),onClick:()=>$(q=>!q),children:K(Jn,{className:Ce("cleen-mx-auto cleen-size-4 cleen-text-muted-foreground cleen-transition-transform",G?"-cleen-rotate-90":"cleen-rotate-90")})})]}),M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(ne,{size:"sm"})}):mo?.map((q,oe)=>{let de=De(q,v),tt=V&&De(V,v)===de,Fc=String(De(q,x)??""),Ec=I?String(De(q,I)??""):"";return Ae("div",{className:Ce("cleen-group cleen-flex cleen-items-center cleen-justify-between cleen-gap-2 cleen-px-3 cleen-w-full cleen-min-h-[60px] cleen-cursor-pointer hover:cleen-bg-neutral-50 cleen-transition-colors",L?.item),style:{...D?.item||{},...tt?{backgroundColor:w}:{}},onClick:ve=>{ve.stopPropagation(),ve.preventDefault(),ee(q)},children:[Ae("div",{className:Ce("cleen-flex cleen-flex-col cleen-items-start cleen-justify-center",a?.length>0?"cleen-w-[calc(100%-30px)]":"cleen-w-full"),children:[K("span",{className:Ce("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[14px] cleen-text-foreground",L?.itemTitle),style:D?.itemTitle,children:Fc}),K("span",{className:Ce("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[12px] cleen-text-neutral-600",L?.itemSubtitle),style:D?.itemSubtitle,children:Ec})]}),a?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:ve=>{ve.stopPropagation(),i?.(q)},children:K(Bn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:a?.map(ve=>{let Hn=ve?.disabledOptionCallback?.(q);return{...ve,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:ve?.label}),onClick:()=>{Hn||ve?.onClick(q)},disabled:Hn}}),classNames:{menu:"cleen-min-w-max"},className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-5 cleen-h-5 cleen-bg-surface cleen-rounded-md",children:K(on,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`item-${oe}-${String(de??oe)}`)})]}),K(rt,{isHorizontal:!0}),A?Ae("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(me,{leftIcon:K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newItemPlaceholder,value:se,onChange:q=>ge(q.target.value),classNames:{inputContainer:"cleen-border-none focus-within:cleen-ring-0",input:"cleen-w-full"},className:"cleen-w-[170px]",autoFocus:!0}),K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-[80px] cleen-h-full",children:u?k?K(ne,{}):se?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Se()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Ae("div",{className:Ce("cleen-flex cleen-items-center cleen-justify-start cleen-gap-2 cleen-w-full cleen-px-2 cleen-h-10 cleen-cursor-pointer hover:cleen-bg-primary/10",L?.newItemButton),style:D?.newItemButton,onClick:()=>_(!0),children:[K(Kt,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),K("span",{className:"cleen-text-normal cleen-text-[14px] cleen-text-muted-foreground",children:t?.newItemPlaceholder})]})]})]})}),document.body),!S&&V&&K("div",{className:"cleen-absolute cleen-top-1.5 cleen-left-1 cleen-flex cleen-items-center cleen-justify-start cleen-pl-2.5 cleen-w-[calc(100%-40px)] cleen-h-8 cleen-bg-surface",onClick:()=>H(!0),children:K("span",{className:"cleen-truncate cleen-font-semibold cleen-text-sm cleen-text-foreground",children:String(De(V,x)??"")})})]})})};import{cn as ke,useDebounce as pM,useOutsideClick as dM,usePositionClose as mM,ZIndex as uM}from"@cleen/ui-core";import{forwardRef as hM,useEffect as Wv,useId as fM,useMemo as $v,useRef as bh,useState as dc}from"react";import{createPortal as gM}from"react-dom";import{cn as _o}from"@cleen/ui-core";import{jsx as ao,jsxs as Gv}from"react/jsx-runtime";var Vv=({options:e,selection:t,classNames:r,styles:n,onChoose:l,displaySubtextInline:a=!0,activeIndex:c=-1,getOptionId:s,onActiveIndexChange:u,...p})=>ao("div",{...p,children:ao("div",{className:_o("cleen-flex cleen-flex-col cleen-pt-1 cleen-pb-1.5 cleen-max-h-64 cleen-overflow-y-auto",r?.container),style:n?.container,children:e?.map((i,g)=>{let h=t?.some(b=>b?.value===i?.value),y=g===c;return Gv("li",{id:s?.(g),role:"option","aria-selected":h,className:_o("cleen-flex cleen-justify-between cleen-items-center hover:cleen-bg-muted cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-cursor-pointer cleen-select-none",{"cleen-bg-muted hover:cleen-bg-neutral-200":h,"cleen-bg-muted":y},r?.item),style:n?.item,onMouseEnter:()=>u?.(g),onClick:()=>l?.(i,h),children:[Gv("div",{className:_o("cleen-flex cleen-justify-start cleen-items-center cleen-gap-2",r?.labels,!a&&"cleen-truncate cleen-flex-col cleen-items-start cleen-gap-0"),style:n?.labels,children:[i?.leadingBadgeValue&&ao(Ee,{color:"gray",label:i?.leadingBadgeValue}),i?.icon,i?.label&&ao("span",{className:_o("cleen-font-medium cleen-text-foreground cleen-text-base",!a&&"cleen-w-full cleen-truncate"),children:i?.label}),i?.preSublabel&&ao("span",{className:_o("cleen-font-medium cleen-text-neutral-400 cleen-text-xs",!a&&"cleen-w-full cleen-truncate"),children:i?.preSublabel}),i?.sublabel&&ao("span",{className:_o("cleen-font-medium cleen-text-neutral-600 cleen-text-sm",!a&&"cleen-w-full cleen-truncate"),children:i?.sublabel})]}),h&&ao("div",{className:r?.checkContainer,style:n?.checkContainer,children:ao(xt,{className:_o("cleen-text-primary",r?.check),style:n?.check})})]},i.value)})})});import{Fragment as IM,jsx as be,jsxs as mc}from"react/jsx-runtime";var vM=hM(function({id:t,name:r,label:n,labelTooltip:l,labels:a,options:c,value:s,displaySelected:u="under",isLoading:p=!1,required:i,internalFiltering:g=!1,closeOnReachingLimit:h=!0,limit:y,getCustomBadgeLabel:b,displaySubtextInline:f=!0,selectedBadgeColor:v="blue",debounceDelay:C=0,characterThreshold:x=2,disabled:I=!1,isNoDataVisibleOnCreateNew:P=!0,zIndex:M=uM.DROPDOWN,className:B,classNames:k,style:w,styles:R,infoLabels:E,menuDetachedFromPortal:N,onInputChange:L,onChange:F,onCreateNewOption:D,createNewOptionLabelString:S,onLookupBlur:H,triggerBlurOnlyWhenOpen:T=!0,menuRef:z,...A},_){let[G,$]=dc(!1),W=bh(null),U=bh(null),V=z??W,{positionStyles:Q,isMounted:O}=mM({triggerRef:U,targetRef:V,position:"bottom-left",isOpen:G,offset:4});dM({refs:[V,U],handler:()=>{$(!1),H?.()},enabled:T?G:!0});let[Z,se]=dc(""),ge=pM(Z,C),ye=C?ge:Z,It=bh(ye),Ge=Array.isArray(s),[Y,le]=dc([]),he=Ge?s:Y,et=["inside","inside-badge"].includes(u),Ko=(ee,Re=!1)=>{if(Re){let q=he.filter(oe=>oe.value!==ee.value);Ge||le(q),F?.(q);return}let Se;if(y===1)Se=[ee];else{if(y&&he.length>=y)return;Se=[...he,ee]}Ge||le(Se),F?.(Se),h&&y&&Se.length>=y&&(se(""),$(!1))},Ve=$v(()=>g?c?.filter(ee=>ee?.label?.match(new RegExp(ye,"i"))):c,[c,ye,g]),We=$v(()=>S&&D&&!p&&Z?.length>0&&!Ve?.some(ee=>ee?.label===Z)?typeof S=="function"?S(Z):S:null,[S,D,p,Z,Ve]);Wv(()=>{It.current!==ye&&(It.current=ye,ye.length<x?$(!1):(L?.(ye),$(!0)))},[ye,L,x]);let X=fM(),Be=ee=>`${X}-option-${ee}`,[Pe,pe]=dc(-1);Wv(()=>{pe(-1)},[ye,G]);let mo=ee=>{let Re=Ve?.length??0;switch(ee.key){case"ArrowDown":if(!Re)return;if(ee.preventDefault(),!G){$(!0),pe(0);return}pe(Se=>(Se+1)%Re);break;case"ArrowUp":if(!Re)return;if(ee.preventDefault(),!G){$(!0),pe(Re-1);return}pe(Se=>(Se-1+Re)%Re);break;case"Home":if(!G||!Re)return;ee.preventDefault(),pe(0);break;case"End":if(!G||!Re)return;ee.preventDefault(),pe(Re-1);break;case"Enter":{if(!G||Pe<0)return;let Se=Ve?.[Pe];if(!Se)return;ee.preventDefault();let q=he?.some(oe=>oe.value===Se.value);Ko(Se,q);break}case"Escape":G&&(ee.preventDefault(),$(!1));break;default:break}},Sa=mc("ul",{id:X,role:"listbox",className:ke("cleen-flex cleen-flex-col cleen-gap-0.5 cleen-bg-background cleen-shadow-[0px_12px_16px_-4px_rgba(var(--cleen-neutral-100))] cleen-px-1.5 cleen-pt-1 cleen-pb-0.5 cleen-border cleen-border-border cleen-rounded-lg",k?.menu?.container),style:R?.menu?.container,children:[p?be(ne,{className:ke("cleen-py-3",k?.menu?.loader),style:R?.menu?.loader}):!Ve||Ve?.length===0?!!a?.noDataFound&&(P||!We)&&be("div",{className:ke("cleen-flex cleen-justify-center cleen-items-center cleen-px-2 cleen-py-2.5 cleen-rounded-md cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-text-center cleen-pointer-events-none cleen-select-none",k?.menu?.noDataFound),style:R?.menu?.noDataFound,children:a?.noDataFound}):be(Vv,{options:Ve,selection:he,onChoose:Ko,displaySubtextInline:f,activeIndex:Pe,getOptionId:Be,onActiveIndexChange:pe,...k?.menu?.list,...R?.menu?.list}),We&&mc("div",{className:ke("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center",k?.createNewOption?.container),style:R?.createNewOption?.container,children:[be(rt,{...k?.createNewOption?.divider,...R?.createNewOption?.divider}),be("span",{className:ke("cleen-py-3 cleen-font-semibold cleen-text-primary/70 cleen-text-sm cleen-cursor-pointer",k?.createNewOption?.value),style:R?.createNewOption?.value,onClick:()=>{let ee=D?.(Z);typeof ee=="boolean"&&!ee||se("")},children:We})]})]});return be("div",{className:ke("cleen",B),style:w,children:mc("div",{className:ke("cleen-flex cleen-flex-col cleen-w-full",k?.container),style:R?.container,children:[n&&be(te,{htmlFor:t||r,required:i,tooltip:l,className:ke("cleen-mb-1.5",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:n}),be("div",{ref:U,className:ke("cleen-relative cleen-flex cleen-items-center",k?.input?.container),style:R?.input?.container,children:be(me,{id:t||r,type:"search",autoFocus:!1,autoComplete:"off",className:ke("cleen-w-full",k?.input?.component?.className),classNames:{...k?.input?.component?.classNames,inputContainer:ke({"cleen-flex-wrap":et},k?.input?.component?.classNames?.inputContainer),input:ke({"cleen-pl-2":et},k?.input?.component?.classNames?.input),leftIconContainer:ke({"cleen-pr-0":et},k?.input?.component?.classNames?.leftIconContainer)},...R?.input?.component,leftIcon:mc(IM,{children:[be(kt,{}),et&&(he||[])?.length>0&&be("div",{className:ke("cleen-flex cleen-gap-1 cleen-overflow-hidden cleen-text-ellipsis cleen-whitespace-nowrap"),onClick:()=>{$(!G)},children:u==="inside-badge"?he?.map(ee=>be(Ee,{label:ee?.label,color:"blue",variant:"semiRounded"},ee.value)):be("span",{className:ke("cleen-font-medium cleen-text-foreground cleen-text-sm"),children:he?.map(ee=>ee?.label).join(", ")})})," "]}),onFocus:()=>{ye.length>=x&&Z.length>=x&&$(!0)},value:Z,onChange:ee=>{se(ee.target.value)},role:"combobox","aria-autocomplete":"list","aria-expanded":G,"aria-controls":G?X:void 0,"aria-activedescendant":G&&Pe>=0?Be(Pe):void 0,onKeyDown:mo,ref:_,required:i,disabled:I,...A})}),G&&(N?be("div",{ref:V,children:Sa}):gM(be("div",{className:"cleen",children:be("div",{ref:V,className:ke("cleen-absolute",{"cleen-opacity-0":!O}),style:{zIndex:M,top:`${Q.top}px`,left:`${Q.left}px`,minWidth:U.current?.offsetWidth?`${U.current.offsetWidth}px`:void 0},children:Sa})}),document.body)),u==="under"&&he?.length>0&&be("span",{className:ke("cleen-flex cleen-flex-wrap cleen-gap-1.5 cleen-mt-1.5",k?.pillbadge?.container),style:R?.pillbadge?.container,children:he?.map(ee=>be(Ee,{label:b?b(ee):ee?.label,color:v,removeable:!I,onRemoveClicked:()=>{if(I)return;let Re=he?.filter(Se=>Se?.value!==ee?.value);Ge||le(Re),F?.(Re)},...k?.pillbadge?.component,...R?.pillbadge?.component},ee.value))}),(E?.errorMessage||E?.infoMessage||E?.subtitle)&&be(j,{...E})]})})});import{cn as ce}from"@cleen/ui-core";import{forwardRef as bM}from"react";import yM from"react-markdown";import CM from"remark-gfm";import{jsx as ae}from"react/jsx-runtime";var xM=bM(function({components:t,children:r,className:n,classNames:l,style:a,styles:c,...s},u){let p={h1:({children:i})=>ae("h1",{className:ce("cleen-text-3xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-4 cleen-mt-6"),children:i}),h2:({children:i})=>ae("h2",{className:ce("cleen-text-2xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-3 cleen-mt-5"),children:i}),h3:({children:i})=>ae("h3",{className:ce("cleen-text-xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-4"),children:i}),h4:({children:i})=>ae("h4",{className:ce("cleen-text-lg cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-3"),children:i}),h5:({children:i})=>ae("h5",{className:ce("cleen-text-base cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),h6:({children:i})=>ae("h6",{className:ce("cleen-text-sm cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),p:({children:i})=>ae("p",{className:ce("cleen-text-base cleen-text-foreground cleen-mb-4 cleen-leading-relaxed"),children:i}),a:({href:i,children:g})=>ae("a",{href:i,className:ce("cleen-text-primary cleen-underline"),target:"_blank",rel:"noopener noreferrer",children:g}),ul:({children:i})=>ae("ul",{className:ce("cleen-list-disc cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),ol:({children:i})=>ae("ol",{className:ce("cleen-list-decimal cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),li:({children:i})=>ae("li",{className:ce("cleen-mb-1"),children:i}),blockquote:({children:i})=>ae("blockquote",{className:ce("cleen-border-l-4 cleen-border-primary/30 cleen-pl-4 cleen-italic cleen-text-neutral-700 cleen-mb-4"),children:i}),code:({className:i,children:g,...h})=>i?ae("code",{className:ce("cleen-font-mono cleen-text-sm"),...h,children:g}):ae("code",{className:ce("cleen-font-mono cleen-bg-muted cleen-rounded cleen-px-1 cleen-text-sm"),...h,children:g}),pre:({children:i})=>ae("pre",{className:ce("cleen-bg-muted dark:cleen-bg-neutral-200 cleen-rounded cleen-p-4 cleen-overflow-x-auto cleen-mb-4 cleen-text-sm"),children:i}),hr:()=>ae("hr",{className:ce("cleen-border-t cleen-border-border cleen-my-4")}),img:({src:i,alt:g})=>ae("img",{src:i,alt:g,className:ce("cleen-max-w-full cleen-rounded")}),strong:({children:i})=>ae("strong",{className:ce("cleen-font-semibold"),children:i}),em:({children:i})=>ae("em",{className:ce("cleen-italic"),children:i}),table:({children:i})=>ae("div",{className:ce("cleen-overflow-x-auto cleen-mb-4"),children:ae("table",{className:ce("cleen-w-full cleen-border-collapse cleen-text-sm cleen-text-900"),children:i})}),thead:({children:i})=>ae("thead",{className:ce("cleen-border-b cleen-border-border"),children:i}),th:({children:i})=>ae("th",{className:ce("cleen-text-left cleen-font-semibold cleen-p-2 cleen-border-b cleen-border-border"),children:i}),td:({children:i})=>ae("td",{className:ce("cleen-p-2 cleen-border-b cleen-border-border"),children:i}),input:({type:i,checked:g,disabled:h})=>i==="checkbox"?ae("input",{type:"checkbox",checked:g,disabled:h,readOnly:!0,className:ce("cleen-mr-2 cleen-align-middle")}):ae("input",{type:i})};return ae("div",{ref:u,className:ce("cleen",n,l?.container),style:{...a,...c?.container},...s,children:ae(yM,{...s,remarkPlugins:[CM],components:{...p,...t},children:r})})});import{cn as Ho,useBodyScrollLock as PM,useCleenOverlays as qv,ZIndex as SM}from"@cleen/ui-core";import{forwardRef as MM,useCallback as wM,useEffect as yh,useId as kM,useRef as BM,useState as Xv}from"react";import{createPortal as RM}from"react-dom";import{jsx as ia,jsxs as Zv}from"react/jsx-runtime";var LM={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":728,"3xl":896,"4xl":1152},Kv=300,DM=MM(function({isOpen:t=!1,onClose:r,closeOnOverlayClick:n=!0,closeButtonIcon:l=ia(Te,{className:"cleen-size-5"}),header:a,footer:c,zIndex:s=SM.MODAL,size:u="md",color:p,p:i,gap:g,radius:h=16,className:y,classNames:b,style:f,styles:v,children:C,...x},I){let[P,M]=Xv(t),[B,k]=Xv(t),w=BM(null),R=kM(),{addOverlay:E,removeOverlay:N}=qv(),L=wM(()=>{M(!1),setTimeout(()=>r?.(),Kv)},[r]);return yh(()=>{if(t){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Kv);return()=>clearTimeout(F)}},[t]),yh(()=>{if(t)return E(R),()=>N(R)},[E,N,t,R]),yh(()=>{let F=D=>{let{overlays:S}=qv.getState();D.key==="Escape"&&S[S.length-1]===R&&L()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[L,R]),PM(B),B?RM(Zv("div",{className:Ho("cleen",y),style:f,ref:I,...x,children:[ia("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-bg-black/50 dark:cleen-bg-surface/50 cleen-transition-opacity cleen-duration-300 cleen-ease-in-out",P?"cleen-opacity-100":"cleen-opacity-0",b?.overlay),style:{zIndex:s,...v?.overlay},onClick:()=>{n&&L()},"aria-hidden":"true"}),ia("div",{className:Ho("cleen-fixed cleen-inset-0 cleen-flex cleen-justify-center cleen-items-center cleen-p-4 cleen-overflow-auto","cleen-transition-all cleen-duration-300 cleen-ease-in-out","cleen-pointer-events-none",P?"cleen-opacity-100 cleen-scale-100":"cleen-opacity-0 cleen-scale-95",b?.container),style:{zIndex:s,...v?.container},"aria-modal":"true",role:"dialog",children:Zv(ie,{header:a,footer:c,color:p,p:i,gap:g,radius:h,className:Ho("cleen-relative cleen-shadow-xl cleen-w-full cleen-max-w-lg cleen-rounded-lg cleen-pointer-events-auto",b?.modal?.className),style:{maxWidth:typeof u=="number"?u:LM[u],...v?.modal?.style},classNames:{...b?.modal?.classNames,container:Ho("cleen-min-h-48 cleen-max-h-[90vh] cleen-overflow-y-auto",b?.modal?.classNames?.container),childrenContainer:Ho("cleen-min-h-24 cleen-max-h-[80vh] cleen-overflow-y-auto",b?.modal?.classNames?.childrenContainer)},styles:v?.modal?.styles,ref:w,children:[C,l&&ia("div",{className:Ho("cleen-top-3 cleen-right-3 cleen-absolute"),children:ia(re,{variant:"borderless",onClick:L,"aria-label":"Close modal",classNames:{container:"cleen-p-1.5 cleen-rounded-full"},children:l})})]})})]}),document.body):null});import{useEffect as Qv,useRef as TM}from"react";import{Fragment as NM,jsx as FM}from"react/jsx-runtime";var Yv=({children:e,isIn:t,done:r,playToast:n})=>{let l=TM(!1);return Qv(()=>{l.current||(l.current=!0,n())},[n]),Qv(()=>{t||r()},[t,r]),FM(NM,{children:e})};import"react-toastify";var Ch={success:{},error:{autoClose:2e4,hideProgressBar:!0,closeOnClick:!0,pauseOnHover:!0},info:{},warning:{autoClose:4e3},default:{autoClose:3e3,position:"top-right",hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0}},Jv={success:{name:"CheckCircle",className:"cleen-text-success"},error:{name:"XCircle",className:"cleen-text-error"},info:{name:"InfoCircle",className:"cleen-text-primary"},warning:{name:"AlertTriangle",className:"cleen-text-warning"},default:null};import{cn as pa}from"@cleen/ui-core";import{jsx as uc,jsxs as jv}from"react/jsx-runtime";var eI=({message:e,title:t,icon:r,variant:n="default",classNames:l})=>{let a=Jv[n],c=r??(a?uc(_e,{name:a.name,width:18,height:18,className:a.className}):null);return jv("div",{className:pa("cleen-flex cleen-items-start cleen-gap-3",l?.container),children:[c&&uc("span",{className:pa("cleen-flex cleen-shrink-0 cleen-items-center cleen-pt-0.5",l?.icon),children:c}),jv("div",{className:pa("cleen-flex cleen-flex-col cleen-gap-0.5",l?.body),children:[t&&uc("span",{className:pa("cleen-text-sm cleen-font-semibold cleen-text-foreground",l?.title),children:t}),uc("span",{className:pa("cleen-text-sm cleen-text-muted-foreground",l?.message),children:e})]})]})};import{cn as EM}from"@cleen/ui-core";import{Bounce as AM,Flip as zM,toast as da,Slide as OM,Zoom as _M}from"react-toastify";import{jsx as UM}from"react/jsx-runtime";var HM=({message:e,title:t,icon:r,variant:n="default",animationType:l="slide",className:a,classNames:c,...s})=>{let u=()=>{switch(l){case"bounce":return AM;case"flip":return zM;case"zoom":return _M;case"none":return Yv;default:return OM}},p=t!==void 0||r!==void 0,i=p?UM(eI,{message:e,title:t,icon:r,variant:n,classNames:c}):e,g={...Ch.default,...n!=="default"&&Ch[n],transition:u(),className:EM("cleen-text-sm",a),...s,...p&&{icon:!1}};switch(n){case"success":return da.success(i,g);case"error":return da.error(i,g);case"info":return da.info(i,g);case"warning":return da.warning(i,g);default:return da(i,g)}};import{ToastContainer as GM}from"react-toastify";import{jsx as tI}from"react/jsx-runtime";var VM=e=>tI("div",{className:"cleen",children:tI(GM,{...e})});import{cn as oI}from"@cleen/ui-core";import{forwardRef as WM,useState as $M}from"react";import{jsx as xh,jsxs as qM}from"react/jsx-runtime";var Ph=WM(({totalPages:e,labels:t,onGoToPage:r,classNames:n,styles:l,...a},c)=>{let[s,u]=$M(""),p=()=>{let g=parseInt(s,10);isNaN(g)||(r?.(Math.min(Math.max(g,1),e)),u(""))},i=g=>{g.key==="Enter"?p():g.key==="Escape"&&u("")};return xh("div",{className:"cleen",...a,children:qM("div",{className:oI("cleen-flex cleen-items-center cleen-gap-2",n?.container),style:l?.container,children:[xh("span",{className:oI("cleen-text-sm cleen-text-neutral-700 cleen-whitespace-nowrap",n?.label),style:l?.label,children:t?.goToPage}),xh(me,{ref:c,type:"number",min:1,max:e,value:s,onChange:g=>u(g.target.value),onKeyDown:i,...n?.input,...l?.input})]})})});import{cn as hc,useOutsideClick as XM,usePositionClose as KM}from"@cleen/ui-core";import{forwardRef as ZM,useRef as nI,useState as rI}from"react";import{createPortal as QM}from"react-dom";import{jsx as Ln,jsxs as JM}from"react/jsx-runtime";var YM=[10,20,50,100],Sh=ZM(({pageSize:e,pageSizes:t=YM,labels:r,onPageSizeChange:n,classNames:l,styles:a,...c},s)=>{let[u,p]=rI(e??t?.[0]??void 0),[i,g]=rI(!1),h=nI(null),y=nI(null),{positionStyles:b,isMounted:f}=KM({triggerRef:h,targetRef:y,isOpen:i,position:"top-left"});return XM({refs:[h,y],handler:()=>g(!1),enabled:i}),Ln("div",{className:"cleen",ref:s,...c,children:JM("div",{className:hc("cleen-relative cleen-flex cleen-justify-start cleen-items-center cleen-w-10",l?.container),style:a?.container,children:[Ln(Ie,{label:r?.itemsPerPage?.(u),classNames:{labelContainer:"cleen-min-w-max"},children:Ln("div",{className:hc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted hover:cleen-bg-neutral-200 cleen-p-2 cleen-rounded-lg cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-sm cleen-text-neutral-700 cleen-transition-colors cleen-cursor-pointer",l?.trigger),style:a?.trigger,onClick:()=>g(v=>!v),ref:h,children:u})}),i&&QM(Ln("div",{className:"cleen",children:Ln("div",{ref:y,className:hc("cleen-flex cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute cleen-z-50",{"cleen-opacity-0":!f},l?.menu),style:{top:`${b.top}px`,left:`${b.left}px`,...a?.menu},children:t?.filter(v=>v!==u)?.map(v=>Ln("div",{className:hc("cleen-flex cleen-justify-center cleen-items-center hover:cleen-bg-muted cleen-p-2 cleen-min-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",l?.menuItem),style:a?.menuItem,onClick:()=>{p(v),n?.(v),g(!1)},children:v},v))})}),document.body)]})})});var aI={goToPreviousPage:"Go to previous page",goToNextPage:"Go to next page",goToPage:"Go to page",itemsPerPage:e=>`Show ${e} items per page`};import{cn as lo}from"@cleen/ui-core";import{forwardRef as jM,useCallback as fc,useMemo as ew,useRef as tw}from"react";import{jsx as ze,jsxs as nw}from"react/jsx-runtime";var ow=jM(({currentPage:e,totalPages:t,pageSize:r,pageSizes:n,hasGotoPage:l=!0,hasPageSizeSelector:a=!0,onPageChange:c,onPageSizeChange:s,labels:u=aI,classNames:p,styles:i,...g},h)=>{let y=tw(null),b=fc(()=>{e<t&&c?.(e+1)},[e,t,c]),f=fc(()=>{e>1&&c?.(e-1)},[e,c]),v=fc(I=>ze("span",{className:lo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-cursor-pointer",I===e&&"cleen-bg-muted hover:cleen-bg-neutral-200",p?.pageButton,I===e?p?.activePageButton:""),style:{...i?.pageButton,...I===e?i?.activePageButton:{}},onClick:()=>c?.(I),children:I},`page-${I}`),[e,c,p,i]),C=fc(I=>ze("span",{className:lo("cleen-flex cleen-justify-center cleen-self-end cleen-bg-background hover:cleen-bg-muted cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.ellipsis),style:i?.ellipsis,onClick:()=>y.current?.focus(),children:"..."},I),[p,i]),x=ew(()=>{if(isNaN(e)||isNaN(t))return[];let I=[];if(I.push(ze(Ie,{label:u.goToPreviousPage,classNames:{labelContainer:"cleen-min-w-max"},children:ze("span",{className:lo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:f,children:ze(Pt,{})})},"prev")),t<=7)for(let P=1;P<=t;P++)I.push(v(P));else if(I.push(v(1)),e<=3){for(let P=2;P<5;P++)I.push(v(P));I.push(C("dots-end")),I.push(v(t))}else if(e>=t-2){I.push(C("dots-start"));for(let P=t-3;P<=t;P++)I.push(v(P))}else I.push(C("dots-start")),I.push(v(e-1)),I.push(v(e)),I.push(v(e+1)),I.push(C("dots-end")),I.push(v(t));return I.push(ze(Ie,{label:u.goToNextPage,classNames:{labelContainer:"cleen-min-w-max"},children:ze("span",{className:lo("cleen-flex cleen-justify-center cleen-items-center cleen-bg-background cleen-p-2 cleen-rounded-lg cleen-w-10 cleen-h-10 cleen-font-medium cleen-text-neutral-700 hover:cleen-text-primary cleen-text-sm cleen-transition-colors cleen-cursor-pointer",p?.navButton),style:i?.navButton,onClick:b,children:ze(ot,{})})},"next")),I},[e,t,u,p,i,C,v,b,f]);return ze("div",{className:"cleen",ref:h,...g,children:nw("div",{className:lo("cleen-flex cleen-justify-between cleen-gap-4",p?.container),style:i?.container,children:[a?ze(Sh,{pageSize:r,labels:u,onPageSizeChange:s,pageSizes:n,className:lo("cleen-flex-1",p?.pageSizeSelector?.className),classNames:p?.pageSizeSelector?.classNames,...i?.pageSizeSelector}):ze("div",{className:"cleen-flex-1"}),ze("div",{className:lo("cleen-flex cleen-flex-1 cleen-justify-center cleen-items-center cleen-gap-2 cleen-w-full",p?.buttonsContainer),style:i?.buttonsContainer,children:x}),l?ze(Ph,{ref:y,totalPages:t,onGoToPage:c,labels:u,className:lo("cleen-flex cleen-flex-1 cleen-justify-end",p?.goToPage?.className),classNames:p?.goToPage?.classNames,...i?.goToPage}):ze("div",{className:"cleen-flex-1"})]})})});import{cn as Mh,useDisclosure as rw,useOutsideClick as aw,usePositionClose as lw,ZIndex as cw}from"@cleen/ui-core";import{forwardRef as sw,useRef as lI}from"react";import{createPortal as iw}from"react-dom";import{jsx as wh,jsxs as pw}from"react/jsx-runtime";var kh=sw(function({isOpen:t,onOpenChange:r,content:n,position:l="bottom-left",offset:a,zIndex:c=cw.POPOVER,children:s,className:u,classNames:p,style:i,styles:g,...h},y){let{isOpen:b,toggle:f,close:v}=rw({value:t,setValue:r}),C=lI(null),x=lI(null),{positionStyles:I,isMounted:P}=lw({triggerRef:C,targetRef:x,position:l,isOpen:b,offset:a});aw({refs:[C,x],handler:v,enabled:b});let M=B=>{B.stopPropagation(),f()};return pw("div",{className:Mh("cleen",u),style:i,ref:y,...h,children:[wh("div",{ref:C,onClick:M,className:Mh("cleen-size-fit",p?.trigger,b&&p?.triggerOpen),style:{...g?.trigger,...b?g?.triggerOpen:{}},children:s}),b&&iw(wh("div",{className:"cleen",onClick:B=>B.stopPropagation(),onPointerDown:B=>B.stopPropagation(),onMouseDown:B=>B.stopPropagation(),onTouchStart:B=>B.stopPropagation(),children:wh("div",{ref:x,className:Mh("cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg cleen-w-52","cleen-absolute",{"cleen-opacity-0":!P},p?.popover),style:{zIndex:c,top:`${I.top}px`,left:`${I.left}px`,...g?.popover},onClick:B=>B.stopPropagation(),children:n})}),document.body)]})});import{cn as cI}from"@cleen/ui-core";import{forwardRef as dw,useEffect as mw,useState as uw}from"react";import{jsx as gc,jsxs as sI}from"react/jsx-runtime";var hw={xs:40,sm:60,md:80,lg:100,xl:120,xxl:140,xxxl:160},iI=dw(({isFullscreen:e,percentage:t,duration:r=1e3,radius:n,stroke:l=16,size:a="md",color:c="rgb(var(--cleen-primary))",emptyColor:s="rgb(var(--cleen-neutral-200))",textColor:u="rgb(var(--cleen-foreground))",textHidden:p=!1,fontSize:i,renderText:g,className:h,classNames:y,style:b,styles:f,...v},C)=>{let x=n??hw[a]/2,I=x-l/2,P=I*2*Math.PI,[M,B]=uw(0);mw(()=>{let w=null;if(r===0){B(t);return}let R=E=>{w||(w=E);let N=E-w,L=Math.min(N/r*t,t);B(L),L<t&&requestAnimationFrame(R)};requestAnimationFrame(R)},[t,r]);let k=P-M/100*P;return gc("div",{ref:C,className:cI("cleen",h),style:b,...v,children:sI("div",{className:cI("cleen-flex cleen-justify-center cleen-items-center cleen-w-full cleen-h-full",{"cleen-h-screen cleen-w-screen cleen-bg-background":e},y?.container),style:f?.container,children:[sI("svg",{height:x*2,width:x*2,style:{transform:"rotate(-90deg)"},children:[gc("circle",{stroke:s,fill:"transparent",strokeWidth:l,r:I,cx:x,cy:x}),gc("circle",{stroke:c,fill:"transparent",strokeWidth:l,strokeLinecap:"round",strokeDasharray:P,strokeDashoffset:k,r:I,cx:x,cy:x})]}),!p&&gc("div",{className:"cleen-absolute cleen-font-semibold cleen-text-foreground",style:{fontSize:i??x/2.5,color:u},children:g?g(M):`${Math.round(M)}%`})]})})});iI.displayName="ProgressCircle";import{cn as Ye}from"@cleen/ui-core";import{useEffect as fw,useState as gw}from"react";import{Fragment as pI,jsx as Nt,jsxs as ma}from"react/jsx-runtime";var vw=({horizontal:e,boxes:t,selectedBox:r,onBoxClick:n,leftElement:l,rightElement:a,leftIcon:c,leftIconName:s,rightIconName:u,className:p,classNames:i,style:g,styles:h,...y})=>{let[b,f]=gw(r);fw(()=>{f(r)},[r]);let v=(P,M)=>ma(pI,{children:[l&&l(P),c||(s?Nt(_e,{name:s,className:Ye("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.leftIcon),style:h?.leftIcon}):null)]}),C=(P,M)=>Nt("span",{className:Ye("cleen-font-semibold",M?"cleen-text-primary":"cleen-text-neutral-700",i?.label),style:h?.label,children:P?.label}),x=(P,M)=>Nt("span",{className:Ye("cleen-font-semibold cleen-text-16px",M?"cleen-text-primary":"cleen-text-neutral-700",i?.subLabel),style:h?.subLabel,children:P?.subLabel}),I=(P,M)=>ma(pI,{children:[a&&a(P),u&&Nt(_e,{name:u,className:Ye("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.rightIcon),style:h?.rightIcon})]});return Nt("div",{className:Ye("cleen",p),style:g,...y,children:e?Nt("div",{className:Ye("cleen-flex cleen-flex-wrap cleen-items-start cleen-justify-start cleen-gap-3 cleen-w-full",i?.container),style:h?.container,children:t?.map(P=>{let M=P?.id===b?.id;return ma("div",{className:Ye("cleen-flex cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-100 cleen-w-max",M?"cleen-bg-primary/5 cleen-border-primary/50":"cleen-border-border",i?.box),style:h?.box,onClick:()=>{f(P),n?.(P)},children:[v(P,M),P?.label&&C(P,M),P?.subLabel&&x(P,M),I(P,M)]},P?.id)})}):Nt("div",{className:Ye("cleen-grid cleen-gap-3 cleen-w-full",i?.container),style:{gridTemplateColumns:"1fr auto 1fr",...h?.container},children:t?.map(P=>{let M=P?.id===b?.id;return ma("div",{className:Ye("cleen-grid cleen-col-span-full cleen-items-center cleen-gap-3 cleen-p-4 cleen-border cleen-rounded-xl cleen-shadow-lg cleen-cursor-pointer cleen-transition-all cleen-duration-200 hover:cleen-bg-primary-50",M?"cleen-bg-primary-100 cleen-border-muted-foreground":"cleen-bg-surface cleen-border-border",i?.box),style:{gridTemplateColumns:"subgrid",gridColumn:"1 / -1",...h?.box},onClick:()=>{f(P),n?.(P)},children:[Nt("div",{className:Ye("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-start",i?.leftIconContainer),style:h?.leftIconContainer,children:v(P,M)}),Nt("div",{className:Ye("cleen-flex cleen-items-center cleen-justify-center",i?.labelContainer),style:h?.labelContainer,children:P?.label&&C(P,M)}),ma("div",{className:Ye("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-end",i?.rightIconContainer),style:h?.rightIconContainer,children:[P?.subLabel&&x(P,M),I(P,M)]})]},P?.id)})})})};import{cn as Ft}from"@cleen/ui-core";import{forwardRef as yw,useEffect as Cw,useId as xw,useRef as Pw,useState as Sw}from"react";import{cn as dI}from"@cleen/ui-core";import{forwardRef as Iw}from"react";import{jsx as mI,jsxs as bw}from"react/jsx-runtime";var vc=Iw(function({checked:t,className:r,classNames:n,style:l,styles:a,...c},s){return bw("div",{className:dI("group cleen-flex cleen-size-5 cleen-min-h-5 cleen-min-w-5 cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-border-neutral-300 focus-within:cleen-ring-2 focus-within:cleen-ring-primary focus-within:cleen-ring-offset-1",t?"cleen-bg-primary":"cleen-bg-surface",r),style:l,children:[mI("input",{ref:s,type:"radio",checked:t,className:"cleen-sr-only",...c}),mI("span",{className:dI("cleen-size-2 cleen-rounded-full cleen-bg-primary-foreground",n?.innerCircle),style:a?.innerCircle})]})});import{jsx as mt,jsxs as Ic}from"react/jsx-runtime";var Mw=yw(function({required:t,radios:r,label:n,labelTooltip:l,className:a,classNames:c,style:s,styles:u,name:p,direction:i="vertical",radioPosition:g="left",defaultActiveId:h,value:y,infoLabels:b,onChange:f},v){let C=y!==void 0,[x,I]=Sw(h??r[0]?.id),P=xw(),M=`${P}-label`,B=p??`cleen-radio-group-${P}`;Cw(()=>{!C&&h!==void 0&&I(h)},[h,C]);let k=C?y:x,w=S=>k!=null&&k==S,R=S=>{C||I(S),f?.(S)},E=Pw([]),N=r?.findIndex(S=>w(S.id)),L=N>=0?N:0,F=S=>{let H=r[S];H&&(R(H.id),E.current[S]?.focus())},D=(S,H)=>{let T=r.length;if(T)switch(S.key){case"ArrowDown":case"ArrowRight":S.preventDefault(),F((H+1)%T);break;case"ArrowUp":case"ArrowLeft":S.preventDefault(),F((H-1+T)%T);break;default:break}};return mt("div",{className:Ft("cleen",a),style:s,ref:v,children:Ic("div",{className:c?.container,style:u?.container,children:[n&&mt(te,{id:M,htmlFor:P,required:t,tooltip:l,className:Ft("cleen-mb-1.5",c?.label?.className),classNames:c?.label?.classNames,...u?.label,children:n}),mt("div",{id:P,role:"radiogroup","aria-labelledby":n?M:void 0,className:Ft("cleen-flex cleen-flex-wrap cleen-gap-2.5",i==="vertical"&&"cleen-flex-col cleen-w-fit",c?.radios),style:u?.radios,children:r?.map((S,H)=>{let T=`${P}-${H}`,z=S.radioPosition??g;return Ic("div",{className:Ft("cleen-flex cleen-gap-2 hover:cleen-bg-muted cleen-p-5 cleen-border cleen-border-border hover:cleen-border-neutral-300 cleen-rounded-xl cleen-transition-all cleen-duration-200 cleen-cursor-pointer",i==="horizontal"&&"cleen-flex-1",w(S?.id)&&"cleen-border-primary hover:cleen-border-primary",c?.radioContainer,S?.className,w(S?.id)&&c?.radioActive),style:{...u?.radioContainer,...S?.style},onClick:A=>{A.target instanceof Element&&!A.target.closest("label, input")&&E.current[H]?.click()},children:[S.leftIcon,z==="left"&&mt(vc,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:Ft(c?.radioOuterCheckBox,S?.classNames?.outerCheckBox),style:{...u?.radioOuterCheckBox,...S?.styles?.outerCheckBox}}),Ic("label",{htmlFor:T,className:Ft("cleen-flex-1 cleen-cursor-pointer",c?.radioLabelsContainer,S?.classNames?.labelsContainer),style:{...u?.radioLabelsContainer,...S?.styles?.labelsContainer},children:[Ic("div",{className:"cleen-flex cleen-items-center cleen-gap-1",children:[mt("span",{className:Ft("cleen-font-semibold cleen-text-neutral-700 cleen-text-sm",c?.radioTitle,S?.classNames?.title),style:{...u?.radioTitle,...S?.styles?.title},children:S.title}),mt("span",{className:Ft("cleen-font-normal cleen-text-neutral-600 cleen-text-xs",c?.radiotPostTitle,S?.classNames?.postTitle),style:{...u?.radiotPostTitle,...S?.styles?.postTitle},children:S.postTitle})]}),mt("span",{className:Ft("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",c?.radioSubTitle,S?.classNames?.subTitle),style:{...u?.radioSubTitle,...S?.styles?.subTitle},children:S?.subTitle})]}),z==="right"&&mt(vc,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:c?.radioOuterCheckBox,style:u?.radioOuterCheckBox}),z==="hidden"&&mt(vc,{ref:A=>{E.current[H]=A},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:H===L?0:-1,onChange:()=>R(S.id),onKeyDown:A=>D(A,H),className:"cleen-sr-only"}),S.rightIcon]},S?.id)})}),(b?.errorMessage||b?.infoMessage||b?.subtitle)&&mt(j,{...b})]})})});import{cn as Dn,ColorHelpers as ww}from"@cleen/ui-core";import{forwardRef as kw,useRef as Bw,useState as Rw}from"react";import{jsx as Uo,jsxs as uI}from"react/jsx-runtime";var Lw=kw(function({id:t,required:r,label:n,labelTooltip:l,labels:a,infoLabels:c,value:s,onChange:u,amount:p=5,options:i=[],gap:g,size:h=36,readonly:y,color:b="rgb(var(--cleen-primary))",className:f,style:v,classNames:C,styles:x,...I},P){let[M,B]=Rw(0),k=s!==void 0,w=k?s:M,R=i?.length>0?i:Array.from({length:p},(T,z)=>z+1),E=Bw([]),N=R.findIndex(T=>T===w),L=N>=0?N:0,F=T=>{k||B(T),u?.(T)},D=T=>{let z=R[T];z!==void 0&&(F(z),E.current[T]?.focus())},S=(T,z)=>{if(y)return;let A=R.length;if(A)switch(T.key){case"ArrowRight":case"ArrowUp":T.preventDefault(),D((z+1)%A);break;case"ArrowLeft":case"ArrowDown":T.preventDefault(),D((z-1+A)%A);break;case"Home":T.preventDefault(),D(0);break;case"End":T.preventDefault(),D(A-1);break;default:break}},H=typeof n=="string"?n:"Rating";return Uo("div",{className:Dn("cleen",f),style:v,ref:P,...I,children:uI("div",{className:Dn("cleen-space-y-2",C?.container),style:x?.container,children:[n&&Uo(te,{htmlFor:t,required:r,tooltip:l,className:Dn("cleen-mb-1.5",C?.label?.className),classNames:C?.label?.classNames,...x?.label,children:n}),uI("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[Uo("div",{role:"radiogroup","aria-label":H,className:Dn("cleen-flex cleen-flex-wrap cleen-gap-3",C?.list),style:{...g?{gap:g}:{},...x?.list},children:R?.map((T,z)=>Uo("button",{id:t,ref:A=>{E.current[z]=A},role:"radio","aria-checked":w===T,"aria-label":`${T}`,tabIndex:z===L?0:-1,onClick:()=>F(T),onKeyDown:A=>S(A,z),className:Dn("cleen-flex cleen-justify-center cleen-items-center cleen-border cleen-border-border hover:cleen-border-muted-foreground cleen-rounded-full cleen-text-foreground cleen-transition-colors focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary",y&&"cleen-cursor-default cleen-pointer-events-none",C?.item),style:{width:h,height:h,...w===T?{borderColor:b,backgroundColor:ww.trasparentize(b,.9),color:b}:{},...x?.item},type:"button",children:Uo("span",{className:Dn("cleen-font-medium cleen-text-sm",C?.value),style:x?.value,children:T})},T))}),a?.helperText&&Uo("span",{className:"cleen-text-sm cleen-text-neutral-600",children:a.helperText})]}),(c?.errorMessage||c?.infoMessage||c?.subtitle)&&Uo(j,{...c})]})})});import{useState as Dw}from"react";import{components as Tw}from"react-select";import{jsx as Bh,jsxs as hI}from"react/jsx-runtime";var fI=e=>{let[t,r]=Dw(!1),n=e.data;return Bh("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:Bh(Tw.Option,{...e,children:hI("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[hI("div",{className:"cleen-flex-1",children:[n?.label,n?.sublabel&&Bh("p",{className:"cleen-text-xs",children:n?.sublabel})]}),typeof n?.icon=="function"?n.icon({...e,isHovered:t}):n?.icon]})})})};import{components as Nw}from"react-select";import{jsx as Rh,jsxs as Fw}from"react/jsx-runtime";var gI=e=>{let t=e.data;return Rh(Nw.SingleValue,{...e,children:Fw("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Rh("p",{children:t?.label}),t?.sublabel&&Rh("p",{className:"cleen-text-xs cleen-text-neutral-600 cleen-line-clamp-1",children:t?.sublabel})]})})};import{cn as ua,ZIndex as CI}from"@cleen/ui-core";import{forwardRef as zw,useId as Ow,useState as xI}from"react";import _w from"react-select";import{components as Ew}from"react-select";import{jsx as Lh,jsxs as vI}from"react/jsx-runtime";var II=({isLoading:e,inputValue:t,options:r,createNewOptionCallback:n,createNewOptionLabelStringCb:l,children:a,...c})=>{let s=t?.trim().toLowerCase(),u=r?.some(p=>p?.labelString?p.labelString.toLowerCase()===s:typeof p?.label=="string"?p.label.toLowerCase()===s:!1);return Lh("div",{className:"cleen",children:vI(Ew.MenuList,{options:r,...c,children:[a,n&&!e&&t&&t?.length>0&&!u&&vI("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-justify-center",children:[Lh(rt,{}),Lh("span",{className:"cleen-py-3 cleen-font-semibold cleen-text-sm cleen-text-primary/70 cleen-cursor-pointer",onClick:()=>{n(t)},children:l?.(t)||t})]})]})})};import{components as Aw}from"react-select";import{jsx as bI}from"react/jsx-runtime";var yI=({isLoading:e,noDataFound:t,...r})=>bI(Aw.NoOptionsMessage,{...r,children:e?bI(ne,{}):t||"No data found"});import{jsx as co,jsxs as SI}from"react/jsx-runtime";var PI=e=>typeof e=="object"&&e!==null&&("labelString"in e||"label"in e),Hw=zw(function({label:t,labelTooltip:r,sublabel:n,id:l,name:a,required:c,className:s,classNames:u,isLoading:p=!1,disabled:i,emboldenOptions:g=!1,labels:h,components:y,style:b,styles:f,infoLabels:v,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...I},P){let[M,B]=xI(!1),[k,w]=xI(""),R=Ow(),E=I.inputId??l??a??R,N=(F,D)=>{if(!PI(F.data))return!1;let{labelString:S,label:H}=F.data;return S?S.toLowerCase().includes(D.toLowerCase()):typeof H=="string"?H.toLowerCase().includes(D.toLowerCase()):!1},L=F=>PI(F)?F.labelString??(typeof F.label=="string"?F.label:""):"";return co("div",{className:ua("cleen",s),style:b,ref:P,children:SI("div",{className:ua("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full",u?.cleenContainer),style:f?.cleenContainer,children:[(t||n)&&SI("div",{className:ua("cleen-flex cleen-flex-col cleen-gap-1",u?.labels?.container),style:f?.labels?.container,children:[t&&co(te,{htmlFor:E,required:c,tooltip:r,...u?.labels?.label,...f?.labels?.label,children:t}),n&&co("span",{className:ua("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",u?.labels?.sublabel),style:f?.labels?.sublabel,children:n})]}),co(_w,{...C&&{menuIsOpen:M,inputValue:k,onInputChange:F=>w(F),onMenuOpen:()=>B(!0),onMenuClose:()=>B(!1)},...!I.filterOption&&{filterOption:N},...!I.getOptionLabel&&{getOptionLabel:L},id:l||a,classNames:u,isDisabled:i,menuPortalTarget:document.body,menuPosition:"fixed",...I,inputId:E,className:ua("cleen-shadow-none cleen-font-normal cleen-text-foreground cleen-text-sm",u?.inputOuterContainer),styles:{...f,control:(F,D)=>{let S={...F,minHeight:44,borderWidth:1,borderRadius:8,padding:3,transition:"border-color 200ms",fontWeight:g&&D.hasValue?"600":"400",borderColor:v?.errorMessage?"rgba(var(--cleen-error), 0.7)":"rgb(var(--cleen-border))",color:D.isDisabled?"rgb(var(--cleen-neutral-500))":"rgb(var(--cleen-foreground))",backgroundColor:D.isDisabled?"rgb(var(--cleen-neutral-100))":"rgba(var(--cleen-background))",boxShadow:D.isFocused?"0 0 0 2px rgba(var(--cleen-primary), 0.5)":"none",cursor:"pointer",caretColor:C?"rgba(var(--cleen-foreground))":"transparent","&:hover":{borderColor:v?.errorMessage?"rgba(var(--cleen-error))":"rgb(var(--cleen-border))"}};return f?.control?f?.control(S,D):S},menuPortal:(F,D)=>{let S={...F,zIndex:CI.SELECT,...f?.menuPortal};return f?.menuPortal?f?.menuPortal(S,D):S},menu:(F,D)=>{let S={...F,backgroundColor:"rgba(var(--cleen-surface))",border:"1px solid rgba(var(--cleen-border))",zIndex:CI.SELECT,...f?.menu};return f?.menu?f?.menu(S,D):S},option:(F,D)=>{let S={...F,backgroundColor:D.isSelected?"rgba(var(--cleen-primary))":D.isFocused?"rgba(var(--cleen-primary), 0.1)":"rgba(var(--cleen-white))",color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-foreground))",fontWeight:g?"600":"400","&:hover":D.isSelected?{}:{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))",cursor:"pointer"},p:{color:D.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-neutral-600))"},"&:hover p":{color:"rgba(var(--cleen-white))"},"&:active":{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))"}};return f?.option?f?.option(S,D):S},menuList:(F,D)=>{let S={...F,"::-webkit-scrollbar":{width:"6px",height:"0px"},"::-webkit-scrollbar-track":{background:"rgb(var(--cleen-background))"},"::-webkit-scrollbar-thumb":{background:"rgba(var(--cleen-neutral-200))"},"::-webkit-scrollbar-thumb:hover":{background:"rgba(var(--cleen-neutral-400))"},padding:0,borderRadius:4,...f?.menuList};return f?.menuList?f?.menuList(S,D):S},singleValue:(F,D)=>{let S={...F,color:D.isDisabled?"rgba(var(--cleen-neutral-500))":"rgba(var(--cleen-black))"};return f?.singleValue?f?.singleValue(S,D):S},input:(F,D)=>{let S={...F,color:"rgba(var(--cleen-foreground))"};return f?.input?f?.input(S,D):S}},components:{IndicatorSeparator:()=>null,SingleValue:F=>co(gI,{...F}),NoOptionsMessage:F=>co(yI,{isLoading:p,noDataFound:h?.noDataFound,...F}),MenuList:F=>co(II,{isLoading:p,inputValue:k,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...F}),Option:fI,...y}}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&co(j,{...v})]})})});import{jsx as MI,jsxs as Uw}from"react/jsx-runtime";function wI({children:e,title:t,className:r="",renderHeader:n}){return Uw("div",{className:`cleen-w-full cleen-h-full ${r}`,"data-testid":`drawer-container-${t}`,children:[n?n(t):MI("h1",{className:"cleen-text-sm cleen-font-medium cleen-pb-4 cleen-pt-9 cleen-px-4 cleen-text-foreground-emphasis",children:t}),MI("div",{className:"cleen-h-max cleen-w-full cleen-px-4",children:e})]})}import{cn as Et}from"@cleen/ui-core";import{forwardRef as Gw,useState as Vw}from"react";import{Fragment as Xw,jsx as Je,jsxs as bc}from"react/jsx-runtime";function Ww({icon:e,iconSrc:t,iconName:r,iconSize:n=24,title:l,className:a,style:c}){return e?Je("span",{className:Et("cleen-flex cleen-justify-center cleen-items-center cleen-shrink-0",a),style:{width:n,height:n,...c},children:e}):t?Je("img",{src:t,alt:l,width:n,height:n,className:a,style:c}):r?Je(_e,{name:r,width:n,height:n,className:a,style:c}):null}function kI({item:e,depth:t,iconSize:r=24,classNames:n,styles:l}){let[a,c]=Vw(!1),s={...e,classNames:{...n,...e.classNames},styles:{...l,...e.styles}},u=Array.isArray(s?.items)&&s.items.length>0,p=s?.iconSize??r,i=t>0?{paddingLeft:12+t*28}:{},g=bc(Xw,{children:[bc("div",{className:Et("cleen-flex cleen-items-center cleen-gap-3 cleen-min-w-0",s?.classNames?.containerInner),style:s?.styles?.containerInner,children:[Je(Ww,{icon:s?.icon,iconSrc:s?.iconSrc,iconName:s?.iconName,iconSize:p,title:s?.name,className:Et("cleen-text-neutral-700 group-hover/row:cleen-text-foreground [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.icon),style:s?.styles?.icon}),Je("span",{className:Et("cleen-font-semibold cleen-text-neutral-800 group-hover/row:cleen-text-foreground cleen-text-sm cleen-truncate cleen-transition-colors cleen-duration-200",s?.isActive&&"cleen-text-foreground",s?.classNames?.name),style:s?.styles?.name,children:s?.name})]}),["string","number"].includes(typeof s?.badgeCount)&&Je(Ee,{color:s?.badgeColor,label:String(s?.badgeCount),...s?.classNames?.badge,...s?.styles?.badge})]});return u?bc("details",{className:s?.classNames?.container,style:s?.styles?.container,children:[bc("summary",{className:Et("cleen-group/row [&::-webkit-details-marker]:cleen-hidden cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-muted cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer cleen-list-none",t===0?"cleen-px-3":void 0,s?.classNames?.parentItemContainer),style:{...i,...s?.styles?.parentItemContainer},onClick:()=>c(h=>!h),children:[g,Je(_e,{name:"ChevronDown",className:Et("cleen-w-5 cleen-h-5 cleen-text-neutral-700 group-hover/row:cleen-text-foreground cleen-transition-all cleen-shrink-0",{"cleen-rotate-180":a},s?.classNames?.chevron),style:s?.styles?.chevron})]}),Je("div",{className:Et("cleen-flex cleen-flex-col cleen-gap-1 cleen-mt-1",s?.classNames?.childItemsContainer),style:s?.styles?.childItemsContainer,children:s.items.map(h=>Je(kI,{item:h,depth:t+1,iconSize:r,classNames:n,styles:l},h?.id??h?.name))})]}):Je("div",{className:Et("cleen-group/row cleen-flex cleen-justify-between cleen-items-center cleen-gap-3 hover:cleen-bg-primary/5 cleen-py-2 cleen-pr-3 cleen-rounded-md cleen-w-full cleen-transition-colors cleen-duration-200 cleen-cursor-pointer",t===0?"cleen-px-3 hover:cleen-bg-muted":void 0,s?.isActive&&t===0&&"cleen-bg-muted",s?.disabled&&"cleen-opacity-50 cleen-pointer-events-none",s?.classNames?.container),style:{...i,...s?.styles?.container},onClick:()=>s?.onClick?.(s),children:g})}var $w=Gw(function({title:t,icon:r,iconName:n,iconSrc:l,iconSize:a=24,badgeColor:c="gray",badgeCount:s,items:u,onClick:p,isActive:i=!1,disabled:g,className:h,classNames:y,style:b,styles:f},v){let C={id:"root",name:t,icon:r,iconName:n,iconSrc:l,iconSize:a,badgeColor:c,badgeCount:s,isActive:i,disabled:g,onClick:p?()=>p():void 0,classNames:y,styles:f,items:u};return Je("div",{className:Et("cleen",h),style:b,ref:v,children:Je(kI,{item:C,depth:0,iconSize:a,classNames:y,styles:f})})}),qw=$w;import{cn as At}from"@cleen/ui-core";import{useEffect as Yw,useRef as Jw,useState as jw}from"react";import{cn as ha}from"@cleen/ui-core";import{useMemo as Kw}from"react";import{Link as Zw}from"react-router-dom";import{jsx as fa,jsxs as Qw}from"react/jsx-runtime";function ga({item:e,activeId:t,onClick:r,countBadge:n,classNames:l,styles:a,renderIcon:c}){let s=t===e?.id,u=Kw(()=>e?c?c(e,s):e.icon?e.icon:e.iconSrc?fa("img",{src:e.iconSrc,alt:e?.name||e?.label,className:ha("cleen-w-6 cleen-h-6 cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):e.iconName?fa(_e,{name:e.iconName,className:ha("cleen-w-6 cleen-h-6 cleen-text-neutral-700 [&_path]:cleen-stroke-[1.5] [&_path]:[vector-effect:non-scaling-stroke] cleen-transition-all cleen-duration-200 group-hover:cleen-text-primary",l?.icon,s&&"cleen-text-primary"),style:a?.icon}):null:null,[e,s,c,l?.icon,a?.icon]),p=Qw("div",{"data-testid":`nav-item-${e?.id}`,className:ha("cleen-group cleen-relative cleen-p-2 cleen-cursor-pointer cleen-rounded-md cleen-w-12 cleen-h-12 cleen-flex cleen-justify-center cleen-items-center cleen-select-none cleen-transition-colors cleen-duration-200 hover:cleen-bg-primary/10",l?.container,s&&"cleen-bg-primary/10"),style:a?.container,onClick:()=>{e?.path||r?.(e)},children:[u,n&&fa("div",{className:ha("cleen-absolute -cleen-top-1 -cleen-right-1 cleen-flex cleen-items-center cleen-justify-center cleen-w-4 cleen-h-4 cleen-bg-surface cleen-rounded-md cleen-border cleen-border-border cleen-font-normal cleen-text-[8px] cleen-text-foreground",l?.badge),style:a?.badge,children:n})]});return fa(Ie,{hasArrow:!0,placement:"right",color:"rgba(var(--cleen-foreground))",className:l?.tooltip?.className,classNames:{...l?.tooltip,labelContainer:ha("cleen-min-w-max",l?.tooltip?.classNames?.labelContainer)},...a?.tooltip,label:e?.label,children:e?.path?fa(Zw,{to:e.path,children:p}):p})}import{jsx as zt,jsxs as Go}from"react/jsx-runtime";function BI({navigationItems:e,bottomNavigationItems:t=[],drawerContent:r={},logo:n,onLogoClick:l,userAvatar:a,userInfo:c,drawerFooter:s,drawerWidth:u=330,direction:p="right",defaultActiveId:i=null,activeId:g,onActiveChange:h,closeOnOutsideClick:y=!0,closeOnBlur:b=!0,className:f,classNames:v,style:C,styles:x,renderSidebarItem:I}){let[P,M]=jw(i),B=Jw(null),k=g!==void 0?g:P,w=!!k,R=N=>{let L=k===N.id?null:N.id;g===void 0&&M(L),h?.(L)};Yw(()=>{if(!y||!w)return;let N=L=>{B.current&&!B.current.contains(L.target)&&(g===void 0&&M(null),h?.(null))};return document.addEventListener("mousedown",N),()=>{document.removeEventListener("mousedown",N)}},[y,w,g,h]);let E=N=>{!b||!w||B.current&&!B.current.contains(N.relatedTarget)&&(g===void 0&&M(null),h?.(null))};return Go("div",{className:At("cleen",f),style:{height:"100%",display:"flex",backgroundColor:"rgb(var(--cleen-sidebar))",flexDirection:p==="left"?"row-reverse":"row",...C},ref:B,onBlur:E,tabIndex:b?0:void 0,children:[Go("div",{className:At("cleen-flex cleen-flex-col cleen-items-center cleen-h-full",p==="right"?"cleen-border-r cleen-border-r-border":"cleen-border-l cleen-border-l-border",v?.navigation),style:x?.navigation,children:[n&&zt("div",{className:At("cleen-flex cleen-justify-center cleen-items-center cleen-pt-8 cleen-pb-6 cleen-w-full cleen-cursor-pointer",v?.logo),style:x?.logo,onClick:l,children:n}),Go("div",{className:At("cleen-flex cleen-flex-col cleen-flex-1 cleen-justify-between cleen-gap-2 cleen-px-4 cleen-overflow-y-auto cleen-no-scrollbar",v?.navigationItems),style:x?.navigationItems,children:[zt("nav",{className:At("cleen-flex cleen-flex-col cleen-gap-2",v?.upperNavigationItemsWrapper),style:x?.upperNavigationItemsWrapper,children:e.map(N=>Go("div",{children:[I?I(N,k===N.id,R):zt(ga,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&zt("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id))}),Go("div",{className:At("cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",v?.bottomNavigationItemsWrapper),style:x?.bottomNavigationItemsWrapper,children:[t.map(N=>Go("div",{children:[I?I(N,k===N.id,R):zt(ga,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&zt("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id)),a&&zt("div",{className:"cleen-mt-6 cleen-mb-8",children:a})]})]})]}),Go("div",{className:At("cleen-flex cleen-flex-col cleen-bg-sidebar cleen-h-full cleen-overflow-hidden cleen-transition-all cleen-duration-100",{"cleen-border-r cleen-border-r-border":w&&p==="right","cleen-border-l cleen-border-l-border":w&&p==="left"},v?.drawer),style:{...x?.drawer,width:w?`${u}px`:"0px",visibility:w?"visible":"hidden"},children:[k&&r[k]&&zt("div",{className:At("cleen-flex-1 cleen-overflow-auto",v?.drawerContent),style:x?.drawerContent,children:r[k]}),k&&(s||c)&&zt("div",{className:At("cleen-mt-auto cleen-flex cleen-justify-between cleen-items-start cleen-gap-4 cleen-px-5 cleen-pt-4 cleen-pb-8 cleen-border-border cleen-border-t cleen-w-full",v?.drawerFooter),style:x?.drawerFooter,children:typeof s=="function"?s(k):s||c})]})]})}var J=e=>e==="pulse"?"cleen-animate-pulse":"";import{cn as RI}from"@cleen/ui-core";import{forwardRef as ek}from"react";import{jsx as LI}from"react/jsx-runtime";var tk={none:"cleen-rounded-none",sm:"cleen-rounded-sm",md:"cleen-rounded-md",lg:"cleen-rounded-lg",xl:"cleen-rounded-xl","2xl":"cleen-rounded-2xl",full:"cleen-rounded-full"},ok=ek(function({width:t,height:r,roundness:n="md",variant:l="default",className:a,style:c},s){let u=J(l),p={...t!==void 0?{width:typeof t=="number"?`${t}px`:t}:{},...r!==void 0?{height:typeof r=="number"?`${r}px`:r}:{},...c};return LI("div",{ref:s,className:RI("cleen",a),children:LI("div",{className:RI("cleen-bg-muted",tk[n],t===void 0&&"cleen-w-full",r===void 0&&"cleen-h-4",u),style:p})})});import{cn as Dh}from"@cleen/ui-core";import{forwardRef as nk}from"react";import{jsx as yc,jsxs as rk}from"react/jsx-runtime";var Th=nk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=J(n);return yc("div",{ref:a,className:Dh("cleen",t),style:r,children:yc("div",{className:"cleen-flex cleen-items-start cleen-gap-4 cleen-flex-wrap",children:Array.from({length:l}).map((s,u)=>rk("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",children:[yc("div",{className:Dh("cleen-bg-muted cleen-rounded-full cleen-size-12 cleen-border cleen-border-border",c)}),yc("div",{className:Dh("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",c)})]},u))})})});import{cn as DI}from"@cleen/ui-core";import{forwardRef as ak}from"react";import{jsx as Nh}from"react/jsx-runtime";var Fh=ak(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=J(n);return Nh("div",{ref:a,className:DI("cleen",t),style:r,children:Nh("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Nh("div",{className:DI("cleen-bg-muted cleen-rounded-full cleen-h-6 cleen-w-16",c)},u))})})});import{cn as TI}from"@cleen/ui-core";import{forwardRef as lk}from"react";import{jsx as Vo,jsxs as Cc}from"react/jsx-runtime";var Eh=lk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return Vo("div",{ref:l,className:TI("cleen",t),style:r,children:Cc("div",{className:TI("cleen-relative cleen-bg-muted cleen-rounded-2xl cleen-w-full cleen-overflow-hidden",a),children:[Vo("div",{className:"cleen-h-48 cleen-w-full"}),Cc("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-flex-col cleen-justify-center cleen-items-start cleen-gap-4 cleen-px-8",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-w-24 cleen-h-6"}),Cc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-2/3 cleen-h-8"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),Cc("div",{className:"cleen-flex cleen-gap-3",children:[Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-28 cleen-h-10"}),Vo("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-24 cleen-h-10"})]})]})]})})});import{cn as NI}from"@cleen/ui-core";import{forwardRef as ck}from"react";import{jsx as Ah}from"react/jsx-runtime";var zh=ck(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=J(n);return Ah("div",{ref:a,className:NI("cleen",t),style:r,children:Ah("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:l}).map((s,u)=>Ah("div",{className:NI("cleen-bg-muted cleen-rounded-lg cleen-h-10 cleen-w-28",c)},u))})})});import{cn as xc}from"@cleen/ui-core";import{forwardRef as sk}from"react";import{jsx as Pc,jsxs as FI}from"react/jsx-runtime";var va=sk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return Pc("div",{ref:l,className:xc("cleen",t),style:r,children:FI("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full",children:[Pc("div",{className:xc("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-min-w-10 cleen-size-10",a)}),FI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Pc("div",{className:xc("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)}),Pc("div",{className:xc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3",a)})]})]})})});import{cn as Tn}from"@cleen/ui-core";import{forwardRef as ik}from"react";import{jsx as Nn,jsxs as Sc}from"react/jsx-runtime";var Mc=ik(({className:e,style:t,variant:r="default"},n)=>{let l=J(r);return Nn("div",{ref:n,className:Tn("cleen",e),style:t,children:Sc("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-lg",children:[Sc("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-w-full",children:[Nn("div",{className:Tn("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-size-10",l)}),Sc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-5",l)}),Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",l)})]})]}),Sc("div",{className:"cleen-space-y-2 cleen-w-full",children:[Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-2",l)}),Nn("div",{className:Tn("cleen-bg-muted cleen-rounded cleen-w-16 cleen-h-3",l)})]})]})})});Mc.displayName="AssessmentHeaderSkeleton";import{cn as ut}from"@cleen/ui-core";import{forwardRef as pk}from"react";import{jsx as ht,jsxs as Fn}from"react/jsx-runtime";var Oh=pk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return ht("div",{ref:l,className:ut("cleen",t),style:r,children:Fn("div",{className:"cleen-flex cleen-flex-col cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden cleen-w-full",children:[ht("div",{className:ut("cleen-bg-muted cleen-w-full cleen-h-40",a)}),Fn("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[Fn("div",{className:"cleen-flex cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-16 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-w-12 cleen-h-5",a)})]}),Fn("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-5",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)})]}),Fn("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[Fn("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[ht("div",{className:ut("cleen-bg-muted cleen-rounded-full cleen-size-7 cleen-shrink-0",a)}),ht("div",{className:ut("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),ht("div",{className:ut("cleen-bg-muted cleen-rounded-lg cleen-w-16 cleen-h-7",a)})]})]})]})})});import{forwardRef as dk}from"react";import{cn as mk}from"@cleen/ui-core";import{jsx as _h}from"react/jsx-runtime";var Hh=dk(function({className:t,style:r,itemCount:n=3,variant:l="default"},a){return _h("div",{ref:a,className:mk("cleen",t),style:r,children:_h("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:n}).map((c,s)=>_h(va,{variant:l},s))})})});import{cn as Wo}from"@cleen/ui-core";import{forwardRef as uk}from"react";import{jsx as je,jsxs as Ia}from"react/jsx-runtime";var EI=["cleen-h-16","cleen-h-24","cleen-h-14","cleen-h-28","cleen-h-20","cleen-h-10","cleen-h-24"],Uh=uk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return je("div",{ref:l,className:Wo("cleen",t),style:r,children:Ia("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-4 cleen-pt-4 cleen-pb-3 cleen-w-full",children:[Ia("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-32 cleen-h-5",a)}),je("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[28,20].map((c,s)=>Ia("div",{className:"cleen-flex cleen-items-center cleen-gap-1.5",children:[je("div",{className:Wo("cleen-bg-muted cleen-rounded-full cleen-size-2.5",a)}),je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-h-3",a),style:{width:c}})]},s))})]}),Ia("div",{className:"cleen-flex cleen-gap-3",children:[je("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-end cleen-py-1",style:{height:120},children:[0,1,2,3].map(c=>je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-6 cleen-h-2",a)},c))}),Ia("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1",children:[je("div",{className:"cleen-flex cleen-items-end cleen-justify-around cleen-gap-2",style:{height:112},children:EI.map((c,s)=>je("div",{className:Wo("cleen-bg-muted cleen-rounded-t cleen-flex-1",c,a)},s))}),je("div",{className:"cleen-w-full cleen-h-px cleen-bg-muted"}),je("div",{className:"cleen-flex cleen-justify-around cleen-gap-2 cleen-pt-1",children:EI.map((c,s)=>je("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-flex-1 cleen-h-2",a)},s))})]})]})]})})});import{cn as $o}from"@cleen/ui-core";import{forwardRef as hk}from"react";import{jsx as Ot,jsxs as wc}from"react/jsx-runtime";var Gh=hk(({variant:e="default",itemCount:t=3,className:r,style:n},l)=>{let a=J(e);return Ot("div",{ref:l,className:$o("cleen",r),style:n,children:Ot(ie,{className:"cleen-max-h-fit",children:wc("div",{className:"cleen-flex cleen-flex-col cleen-gap-4",children:[wc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-6",a)}),Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)})]}),Ot("div",{className:"cleen-space-y-6",children:Array.from({length:t}).map((c,s)=>wc("div",{className:"cleen-space-y-3",children:[Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-4",a)}),Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-10",a)})]},s))}),wc("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-4",children:[Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)}),Ot("div",{className:$o("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)})]})]})})})});import{cn as kc}from"@cleen/ui-core";import{forwardRef as fk}from"react";import{jsx as ba,jsxs as gk}from"react/jsx-runtime";var Vh=fk(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=J(n),s=["cleen-w-1/12","cleen-w-3/12","cleen-w-2/12","cleen-w-3/12","cleen-w-2/12","cleen-w-1/12"];return ba("div",{ref:a,className:kc("cleen",t),style:r,children:gk("div",{className:"cleen-flex cleen-flex-col cleen-w-full cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden",children:[ba("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3 cleen-bg-muted cleen-border-b cleen-border-border",children:s.map((u,p)=>ba("div",{className:kc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",u,c)},p))}),Array.from({length:l}).map((u,p)=>ba("div",{className:kc("cleen-flex cleen-items-center cleen-gap-3 cleen-px-4 cleen-py-3",p<l-1?"cleen-border-b cleen-border-border":""),children:s.map((i,g)=>ba("div",{className:kc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",g===s.length-1?"cleen-rounded-full":"cleen-rounded",i,c)},g))},p))]})})});import{cn as Bc}from"@cleen/ui-core";import{forwardRef as vk}from"react";import{jsx as ya,jsxs as AI}from"react/jsx-runtime";var Wh=vk(function({className:t,style:r,variant:n="default",itemCount:l=4},a){let c=J(n);return ya("div",{ref:a,className:Bc("cleen",t),style:r,children:AI("div",{className:"cleen-flex cleen-flex-col cleen-gap-5 cleen-w-full cleen-bg-surface cleen-border cleen-border-border cleen-rounded-xl cleen-px-6 cleen-py-6",children:[Array.from({length:l}).map((s,u)=>AI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ya("div",{className:Bc("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",c)}),ya("div",{className:Bc("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10",c)})]},u)),ya("div",{className:"cleen-flex cleen-justify-end cleen-pt-1",children:ya("div",{className:Bc("cleen-bg-muted cleen-rounded-lg cleen-w-28 cleen-h-10",c)})})]})})});import{cn as zI}from"@cleen/ui-core";import{forwardRef as Ik}from"react";import{jsx as $h}from"react/jsx-runtime";var bk=["rgb(var(--cleen-blue))","rgb(var(--cleen-aqua))","rgb(var(--cleen-green-light-300))","rgb(var(--cleen-aqua))","rgb(var(--cleen-blue))"],qh=Ik(function({className:t,style:r,variant:n="default",colors:l=bk},a){let c=J(n);return $h("div",{ref:a,className:zI("cleen",t),style:r,children:$h("div",{className:zI("cleen-p-1 cleen-size-full cleen-rounded-lg cleen-animate-[cleen-rotate-gradient-angle_2.5s_linear_infinite]",c),style:{background:`conic-gradient(from var(--cleen--gradient-angle),${l.join(",")})`},children:$h("div",{className:"cleen-bg-background cleen-size-full cleen-rounded-md"})})})});import{cn as Rc}from"@cleen/ui-core";import{forwardRef as yk}from"react";import{jsx as En,jsxs as OI}from"react/jsx-runtime";var Xh=yk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return En("div",{ref:l,className:Rc("cleen",t),style:r,children:OI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[En("div",{className:Rc("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:En("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:OI("div",{className:Rc("cleen-flex cleen-flex-col cleen-items-center cleen-gap-1 cleen-opacity-30"),children:[En("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-8"}),En("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),En("div",{className:Rc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3 cleen-mx-auto",a)})]})})});import{cn as Ue}from"@cleen/ui-core";import{forwardRef as Ck}from"react";import{jsx as Oe,jsxs as _t}from"react/jsx-runtime";var Kh=Ck(function({className:t,style:r,variant:n="default"},l){let a=J(n);return Oe("div",{ref:l,className:Ue("cleen",t),style:r,children:_t("div",{className:Ue("cleen-flex cleen-flex-col cleen-items-start cleen-gap-4 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-h-fit",t),style:r,children:[_t("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Oe("div",{className:Ue("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-p-2 cleen-rounded-full cleen-size-8",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),_t("div",{className:"cleen-space-y-3 cleen-w-full",children:[_t("div",{children:[Oe("div",{className:Ue("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Oe(ie,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:_t("div",{className:"cleen-space-y-2",children:[Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-5/6 cleen-h-3",a)})]})})]}),_t("div",{children:[Oe("div",{className:Ue("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),_t("div",{className:"cleen-space-y-2",children:[Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-3",a)})]})]}),_t("div",{children:[Oe("div",{className:Ue("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Oe(ie,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:_t("div",{className:"cleen-space-y-2",children:[Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),Oe("div",{className:Ue("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-3",a)})]})})]})]})]})})});import{cn as Zh}from"@cleen/ui-core";import{forwardRef as xk}from"react";import{jsx as Qh,jsxs as Pk}from"react/jsx-runtime";var Yh=xk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return Qh("div",{ref:l,className:Zh("cleen",t),style:r,children:Pk("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Qh("div",{className:Zh("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",a)}),Qh("div",{className:Zh("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10 cleen-border cleen-border-border",a)})]})})});import{cn as Ca}from"@cleen/ui-core";import{forwardRef as Sk}from"react";import{jsx as An,jsxs as _I}from"react/jsx-runtime";var Jh=Sk(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=J(n),s=["cleen-w-3/4","cleen-w-2/3","cleen-w-4/5","cleen-w-1/2","cleen-w-3/5"];return An("div",{ref:a,className:Ca("cleen",t),style:r,children:An("div",{className:"cleen-flex cleen-flex-col cleen-divide-y cleen-divide-border",children:Array.from({length:l}).map((u,p)=>_I("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-py-3",children:[An("div",{className:Ca("cleen-bg-muted cleen-rounded-full cleen-size-8 cleen-shrink-0 cleen-border cleen-border-border",c)}),_I("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1.5",children:[An("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-h-4",s[p%s.length],c)}),An("div",{className:Ca("cleen-bg-muted cleen-rounded cleen-h-3 cleen-w-2/5",c)})]}),An("div",{className:Ca("cleen-bg-muted cleen-rounded-full cleen-w-14 cleen-h-5 cleen-shrink-0",c)})]},p))})})});import{cn as HI}from"@cleen/ui-core";import{forwardRef as Mk}from"react";import{jsx as e0}from"react/jsx-runtime";var jh=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],t0=Mk(function({className:t,style:r,variant:n="default",itemCount:l},a){let c=J(n),s=l??jh.length;return e0("div",{ref:a,className:HI("cleen",t),style:r,children:e0("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((u,p)=>{let i=p<jh.length?jh[p]:p===s-1?"cleen-w-3/5":"cleen-w-full";return e0("div",{className:HI("cleen-bg-muted cleen-rounded cleen-h-3",i,c)},p)})})})});import{cn as UI}from"@cleen/ui-core";import{forwardRef as wk}from"react";import{jsx as GI}from"react/jsx-runtime";var o0=wk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return GI("div",{ref:l,className:UI("cleen",t),style:r,children:GI("div",{className:UI("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)})})});import{cn as qo}from"@cleen/ui-core";import{forwardRef as kk}from"react";import{jsx as ft,jsxs as Lc}from"react/jsx-runtime";var n0=kk(function({className:t,style:r,variant:n="default"},l){let a=J(n);return ft("div",{ref:l,className:qo("cleen",t),style:r,children:Lc("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[ft("div",{className:qo("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:ft("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-14 cleen-flex cleen-items-center cleen-justify-center",children:ft("div",{className:"cleen-w-0 cleen-h-0 cleen-ml-1 cleen-border-y-[8px] cleen-border-y-transparent cleen-border-l-[14px] cleen-border-l-neutral-400"})})})}),Lc("div",{className:"cleen-flex cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded-lg cleen-size-10 cleen-shrink-0",a)}),Lc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),Lc("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",a)}),ft("div",{className:qo("cleen-bg-muted cleen-rounded cleen-w-10 cleen-h-3",a)})]})]})]})]})})});import{cn as xa}from"@cleen/ui-core";import{forwardRef as Bk}from"react";import{jsx as Pa,jsxs as r0}from"react/jsx-runtime";var Dc=Bk(function({variant:t="default",className:r,style:n},l){let a=J(t);return Pa("div",{ref:l,className:xa("cleen",r),style:n,children:r0("div",{className:"cleen-flex cleen-flex-col cleen-justify-between cleen-items-start cleen-gap-3 cleen-bg-surface cleen-px-4 cleen-py-4 cleen-border cleen-border-border cleen-rounded-xl cleen-w-full cleen-h-full",children:[r0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-2 cleen-py-0.5 cleen-border cleen-border-border cleen-rounded-full",children:[Pa("div",{className:xa("cleen-bg-muted cleen-rounded-full cleen-size-1.5",a)}),Pa("div",{className:xa("cleen-bg-muted cleen-rounded cleen-w-20 cleen-h-3",a)})]}),r0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-w-full",children:[Pa("div",{className:xa("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-8",a)}),Pa("div",{className:xa("cleen-bg-muted cleen-rounded cleen-w-12 cleen-h-4",a)})]})]})})});Dc.displayName="SkeletonBadgeCard";import{forwardRef as Rk}from"react";import{jsx as ue}from"react/jsx-runtime";var Lk=Rk(function({className:t,style:r,variant:n="default",itemCount:l=3,colors:a,skeleton:c="card",isShowing:s=!1,children:u},p){if(!s)return u;let i={ref:p,variant:n,itemCount:l,colors:a,className:t,style:r};switch(c){case"card2":return ue(Mc,{...i});case"card3":return ue(Oh,{...i});case"cardStack":return ue(Hh,{...i});case"contentCard":return ue(Gh,{...i});case"infoCard":return ue(Kh,{...i});case"widgetCard":return ue(Dc,{...i});case"image":return ue(Xh,{...i});case"video":return ue(n0,{...i});case"avatar":return ue(Th,{...i});case"dataGrid":return ue(Vh,{...i});case"text":return ue(o0,{...i});case"paragraph":return ue(t0,{...i});case"list":return ue(Jh,{...i});case"form":return ue(Wh,{...i});case"banner":return ue(Eh,{...i});case"chart":return ue(Uh,{...i});case"button":return ue(zh,{...i});case"badge":return ue(Fh,{...i});case"input":return ue(Yh,{...i});case"glowingCard":return ue(qh,{...i});default:return ue(va,{...i})}});import{cn as so}from"@cleen/ui-core";import{forwardRef as Dk,useCallback as a0,useEffect as Tk,useRef as VI,useState as WI}from"react";import{jsx as io,jsxs as Tc}from"react/jsx-runtime";var Nk=Dk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=0,value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltip:I,infoLabels:P},M){let[B,k]=WI(c??n),w=s!==void 0?s:B,R=VI(null),[E,N]=WI(!1),L=VI(!1),F=(w-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=a0(W=>{let U=Math.round((W-n)/a)*a+n;return Math.min(l,Math.max(n,U))},[n,l,a]),H=a0((W,U)=>{let V=S(W);s===void 0&&k(V),p?.(V),U&&i?.(V)},[S,s,p,i]),T=a0(W=>{let U=R.current;if(!U)return n;let V=U.getBoundingClientRect(),Q=(W-V.left)/V.width;return S(n+Q*(l-n))},[n,l,S]),z=W=>{if(f)return;let U;switch(W.key){case"ArrowRight":case"ArrowUp":U=w+a;break;case"ArrowLeft":case"ArrowDown":U=w-a;break;case"Home":U=n;break;case"End":U=l;break;default:return}W.preventDefault(),H(U,!0)},A=W=>{f||(W.preventDefault(),N(!0))},_=W=>{if(f||L.current){L.current=!1;return}H(T(W.clientX),!0)},G=W=>{f||(W.preventDefault(),N(!0))};Tk(()=>{if(!E)return;let W=O=>{H(T(O.clientX))},U=O=>{N(!1),L.current=!0,i?.(S(T(O.clientX)))},V=O=>{O.touches.length>0&&H(T(O.touches[0].clientX))},Q=O=>{N(!1),L.current=!0,i?.(S(T(O.changedTouches[0].clientX)))};return document.addEventListener("mousemove",W),document.addEventListener("mouseup",U),document.addEventListener("touchmove",V),document.addEventListener("touchend",Q),()=>{document.removeEventListener("mousemove",W),document.removeEventListener("mouseup",U),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",Q)}},[E,S,T,H,i]);let $=W=>io("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:W});return io("div",{className:so("cleen",g),style:y,ref:M,children:Tc("div",{className:so("cleen-w-full",h?.container),style:b?.container,children:[v&&io(te,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Tc("div",{className:so({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&$(x?.minLabel),Tc("div",{ref:R,className:so("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:_,children:[io("div",{className:so("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.path),style:b?.path,children:io("div",{className:so("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{width:`${D}%`,...b?.filledTrack}})}),io(Ie,{invertColors:!0,...I,label:x?.tooltip?.(w)??w,className:so("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.className),style:{left:`calc(${D}% - 8px)`,...I?.style},isOpen:E||I?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,children:io("div",{id:t,className:so("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w,"aria-valuemin":n,"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?v:"Slider","aria-labelledby":t,onMouseDown:A,onTouchStart:G,onKeyDown:z})})]}),u==="inline"?x?.maxLabel&&$(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Tc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&$(x?.minLabel),x?.maxLabel&&$(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&io(j,{...P})]})})});import{cn as gt}from"@cleen/ui-core";import{forwardRef as Fk,useCallback as l0,useEffect as Ek,useRef as Ak,useState as $I}from"react";import{jsx as vt,jsxs as Nc}from"react/jsx-runtime";var zk=Fk(function({id:t,required:r,minValue:n=0,maxValue:l=100,step:a=1,defaultValue:c=[n,l],value:s,variant:u="default",onChange:p,onChangeEnd:i,className:g,classNames:h,style:y,styles:b,disabled:f=!1,label:v,labelTooltip:C,labels:x,tooltips:I,infoLabels:P},M){let[B,k]=$I(c??[n,l]),w=s!==void 0?s:B,R=Ak(null),[E,N]=$I(null),L=l0(U=>{let V=Math.round((U-n)/a)*a+n;return Math.min(l,Math.max(n,V))},[n,l,a]),F=(w[0]-n)/(l-n)*100,D=Math.min(100,Math.max(0,F)),S=(w[1]-n)/(l-n)*100,H=Math.min(100,Math.max(0,S)),T=l0(U=>{let V=[L(Math.min(U[0],U[1])),L(Math.max(U[0],U[1]))];s===void 0&&k(V),p?.(V)},[L,s,p]),z=l0(U=>{let V=R.current;if(!V)return n;let Q=V.getBoundingClientRect(),O=(U-Q.left)/Q.width;return L(n+O*(l-n))},[n,l,L]),A=U=>V=>{if(f)return;let Q=U==="min"?w[0]:w[1],O;switch(V.key){case"ArrowRight":case"ArrowUp":O=Q+a;break;case"ArrowLeft":case"ArrowDown":O=Q-a;break;case"Home":O=n;break;case"End":O=l;break;default:return}V.preventDefault();let Z=U==="min"?[Math.min(O,w[1]),w[1]]:[w[0],Math.max(O,w[0])];T(Z),i?.([L(Z[0]),L(Z[1])])},_=U=>V=>{f||(V.preventDefault(),N(U))},G=U=>{if(f)return;let V=z(U.clientX),Q=Math.abs(V-w[0]),O=Math.abs(V-w[1]);Q<O?T([V,w[1]]):T([w[0],V])},$=U=>V=>{f||(V.preventDefault(),N(U))};Ek(()=>{if(!E)return;let U=Z=>{let se=z(Z.clientX);T(E==="min"?[se,w[1]]:[w[0],se])},V=Z=>{let se=z(Z.clientX),ge=E==="min"?[se,w[1]]:[w[0],se];N(null),i?.(ge)},Q=Z=>{if(Z.touches.length>0){let se=z(Z.touches[0].clientX);T(E==="min"?[se,w[1]]:[w[0],se])}},O=Z=>{let se=z(Z.changedTouches[0].clientX),ge=E==="min"?[se,w[1]]:[w[0],se];N(null),i?.(ge)};return document.addEventListener("mousemove",U),document.addEventListener("mouseup",V),document.addEventListener("touchmove",Q),document.addEventListener("touchend",O),()=>{document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",Q),document.removeEventListener("touchend",O)}},[E,w,z,T,i]);let W=U=>vt("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:U});return vt("div",{className:gt("cleen",g),style:y,ref:M,children:Nc("div",{className:gt("cleen-w-full",h?.container),style:b?.container,children:[v&&vt(te,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Nc("div",{className:gt({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&x?.minLabel!==void 0&&W(x?.minLabel),Nc("div",{ref:R,className:gt("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":f,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":f,onClick:G,children:[vt("div",{className:gt("cleen-absolute cleen-left-0 cleen-right-0 cleen-top-1/2 cleen-h-1 cleen-bg-neutral-200 cleen-rounded-sm -cleen-translate-y-1/2",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer"),children:vt("div",{className:gt("cleen-absolute cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{left:`${D}%`,width:`${H-D}%`,...b?.filledTrack}})}),vt(Ie,{invertColors:!0,isOpen:E==="min"||I?.min?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.min,label:x?.tooltip?.(w[0])??w[0]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.min?.className),style:{left:`calc(${D}% - 8px)`,...I?.shared?.style,...I?.min?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[0],"aria-valuemin":n,"aria-valuemax":w[1],"aria-disabled":f,"aria-label":typeof v=="string"?`${v} minimum value`:"Minimum value",onMouseDown:_("min"),onTouchStart:$("min"),onKeyDown:A("min")})}),vt(Ie,{invertColors:!0,isOpen:E==="max"||I?.max?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.max,label:x?.tooltip?.(w[1])??w[1]?.toString(),className:gt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.max?.className),style:{left:`calc(${H}% - 8px)`,...I?.shared?.style,...I?.max?.style},children:vt("div",{className:gt("cleen-size-4 cleen-bg-white dark:cleen-bg-black cleen-border cleen-border-neutral-600 cleen-rounded-full cleen-transition-all cleen-duration-200 hover:cleen-scale-125 hover:cleen-border-primary focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-primary focus-visible:cleen-ring-offset-1",f?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:f?-1:0,role:"slider","aria-valuenow":w[1],"aria-valuemin":w[0],"aria-valuemax":l,"aria-disabled":f,"aria-label":typeof v=="string"?`${v} maximum value`:"Maximum value",onMouseDown:_("max"),onTouchStart:$("max"),onKeyDown:A("max")})})]}),u==="inline"?x?.maxLabel&&W(x?.maxLabel):(x?.minLabel||x?.maxLabel)&&Nc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[x?.minLabel&&W(x?.minLabel),x?.maxLabel&&W(x?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&vt(j,{...P})]})})});import{cn as zn}from"@cleen/ui-core";import{forwardRef as Ok,useRef as _k,useState as qI}from"react";import{jsx as Xo,jsxs as Uk}from"react/jsx-runtime";var Hk=Ok(function({label:t,infoLabels:r,value:n,onChange:l,amount:a=5,gap:c,size:s,readonly:u,color:p="rgb(var(--cleen-yellow))",className:i,style:g,classNames:h,styles:y,...b},f){let[v,C]=qI(0),x=n!==void 0,I=x?n:v,[P,M]=qI(null),B=P!==null?P+1:I,k=!u,w=_k([]),R=I>0?I-1:0,E=D=>{x||C(D),l?.(D)},N=D=>{D<0||D>=a||(E(D+1),w.current[D]?.focus())},L=(D,S)=>{switch(D.key){case"ArrowRight":case"ArrowUp":D.preventDefault(),N((S+1)%a);break;case"ArrowLeft":case"ArrowDown":D.preventDefault(),N((S-1+a)%a);break;case"Home":D.preventDefault(),N(0);break;case"End":D.preventDefault(),N(a-1);break;default:break}},F=typeof t=="string"?t:"Rating";return Xo("div",{className:zn("cleen",i),style:g,ref:f,...b,children:Uk("div",{className:zn("cleen-space-y-2",h?.container),style:y?.container,children:[t&&Xo("span",{className:zn("cleen-font-medium cleen-text-sm cleen-text-foreground",h?.label),style:y?.label,children:t}),Xo("div",{role:k?"radiogroup":"img","aria-label":k?F:`${F}: ${I} out of ${a}`,className:zn("cleen-flex cleen-gap-3",h?.list),style:{...c?{gap:c}:{},...y?.list},children:Array.from({length:a},(D,S)=>{let H=Xo(Tr,{"aria-hidden":"true",className:zn("cleen-size-5 cleen-text-neutral-700 cleen-transition-colors",h?.star),style:{...s?{width:s,height:s}:{},...y?.star,fill:(u?I:B)>S?p:"transparent"}});return k?Xo("button",{type:"button",ref:T=>{w.current[S]=T},role:"radio","aria-checked":I===S+1,"aria-label":`${S+1} ${S+1===1?"star":"stars"}`,tabIndex:S===R?0:-1,onMouseEnter:()=>M(S),onMouseLeave:()=>M(null),onClick:()=>E(S+1),onKeyDown:T=>L(T,S),className:zn("focus-visible:cleen-outline-none focus-visible:cleen-ring-2 focus-visible:cleen-ring-offset-2 focus-visible:cleen-ring-primary focus-visible:cleen-rounded"),children:H},S):Xo("span",{className:"cleen-cursor-default",children:H},S)})}),(r?.errorMessage||r?.infoMessage||r?.subtitle)&&Xo(j,{...r})]})})});import{cn as Ht}from"@cleen/ui-core";import{forwardRef as Gk}from"react";import{jsx as po,jsxs as XI}from"react/jsx-runtime";var KI=Gk(({steps:e,activeStep:t=0,orientation:r="horizontal",color:n="rgb(var(--cleen-primary))",className:l,classNames:a,style:c,styles:s,...u},p)=>{let i=r==="vertical";return po("div",{ref:p,className:Ht("cleen",l),style:{...c,width:"100%"},...u,children:po("div",{className:Ht("cleen-flex cleen-w-full",i?"cleen-flex-col cleen-gap-6":"cleen-flex-row cleen-items-start cleen-gap-8 cleen-justify-between",a?.container),style:{width:"100%",...s?.container},children:e?.map((g,h)=>{let y=h+1<t,b=h+1===t;return XI("div",{className:Ht("cleen-relative cleen-flex cleen-flex-1",i?"cleen-flex-row cleen-items-start":"cleen-flex-col cleen-items-center cleen-text-center",a?.step),style:s?.step,children:[h<e?.length-1&&po("div",{className:Ht("cleen-absolute cleen-bg-neutral-200 cleen-transition-all cleen-duration-300",i?"cleen-left-3 cleen-top-7 cleen-w-[2px] cleen-h-[calc(100%-4px)]":"cleen-top-3 cleen-left-[calc(50%+14px)] cleen-h-[2px] cleen-w-[calc(100%+4px)]",y&&"cleen-bg-primary",a?.connector),style:{backgroundColor:y?n:void 0,...s?.connector}}),po("div",{className:Ht("cleen-relative cleen-flex cleen-items-center cleen-justify-center cleen-rounded-full cleen-border cleen-transition-all cleen-duration-300","cleen-size-7",y||b?"cleen-border-[2px]":"cleen-border-border",a?.circle),style:{borderColor:b||y?n:void 0,backgroundColor:y?n:"transparent",...s?.circle},children:y?po("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):po("span",{className:Ht("cleen-w-2 cleen-h-2 cleen-rounded-full",b?"cleen-bg-white":"cleen-bg-neutral-200"),style:{backgroundColor:b?n:void 0}})}),XI("div",{className:Ht("cleen-flex cleen-flex-col",i?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[g.title&&po("div",{className:Ht("cleen-font-medium cleen-text-sm",b?"cleen-text-primary":"cleen-text-foreground",a?.title),style:{color:b?n:void 0,...s?.title},children:g.title}),g.subtitle&&po("div",{className:Ht("cleen-text-xs cleen-text-neutral-600",a?.subtitle),style:{color:b?n:void 0,...s?.subtitle},children:g.subtitle})]})]},h)})})})});KI.displayName="Stepper";import{cn as xe}from"@cleen/ui-core";import{forwardRef as Vk,useMemo as QI,useState as On}from"react";var ZI={trigger:"Filter by tags",noMatches:"No matching tags",searchPlaceholder:"Search or create a tag",noData:"There are no tags yet",footer:"Select tags to filter",selected:e=>`${e} selected`,create:e=>`Create \u201C${e}\u201D`,clear:"Clear",done:"Done"};import{Fragment as qk,jsx as fe,jsxs as _n}from"react/jsx-runtime";var Wk=[],$k=Vk(function({items:t=Wk,value:r,defaultValue:n,onApply:l,onCreate:a,isLoading:c=!1,icon:s,disabled:u=!1,isOpen:p,onOpenChange:i,position:g="bottom-left",zIndex:h,labels:y,className:b,classNames:f,style:v,styles:C,...x},I){let P={...ZI,...y},[M,B]=On(n??[]),k=r??M,[w,R]=On(!1),E=p??w,[N,L]=On(k),[F,D]=On(""),[S,H]=On([]),[T,z]=On(!1),A=QI(()=>[...t,...S.filter(Y=>!t.some(le=>le.id===Y.id))],[t,S]),_=F.trim(),G=QI(()=>{let Y=_.toLowerCase();return Y?A.filter(le=>le.label.toLowerCase().includes(Y)):A},[A,_]),$=!!_&&!A.some(Y=>Y.label.toLowerCase()===_.toLowerCase())&&!!a,W=c||T,U=k.length,V=U>0,Q=Y=>{Y&&(L(k),D("")),p===void 0&&R(Y),i?.(Y)},O=Y=>{L(le=>le.includes(Y)?le.filter(he=>he!==Y):[...le,Y])},Z=async()=>{if(!(!a||!_||W)){z(!0);try{let Y=await a(_);Y&&(H(le=>le.some(he=>he.id===Y.id)?le:[...le,Y]),L(le=>le.includes(Y.id)?le:[...le,Y.id]),D(""))}finally{z(!1)}}},se=Y=>{Y.key==="Enter"&&$&&(Y.preventDefault(),Z())},ge=()=>{L([])},ye=()=>{let Y=A.filter(le=>N.includes(le.id));r===void 0&&B(N),l?.(N,Y),Q(!1)},It=()=>_n(qk,{children:[$&&fe("div",{className:"cleen-p-1.5",children:fe(re,{variant:"borderless-blue",fullWidth:!0,isLoading:W,leftIcon:fe(Mr,{className:"cleen-size-4 cleen-shrink-0"}),onClick:()=>{Z()},classNames:{container:xe("cleen-justify-start cleen-px-2.5 cleen-py-1.5 cleen-font-medium",f?.createButton)},styles:{container:C?.createButton},children:fe("span",{className:"cleen-truncate",children:P.create(_)})})}),G.length===0?$?null:fe("p",{className:xe("cleen-px-3 cleen-py-4 cleen-text-gray-500 cleen-text-sm cleen-text-center cleen-opacity-50",f?.noData),style:C?.noData,children:A.length===0?P.noData:P.noMatches}):fe("ul",{className:xe("cleen-flex cleen-flex-col cleen-py-1 cleen-max-h-[300px] cleen-overflow-y-auto cleen-[scrollbar-width:thin] [&::-webkit-scrollbar]:cleen-w-1 [&::-webkit-scrollbar-track]:cleen-bg-transparent [&::-webkit-scrollbar-thumb]:cleen-rounded-full [&::-webkit-scrollbar-thumb]:cleen-bg-neutral-200",f?.list),style:C?.list,children:G.map(Y=>_n("li",{onClick:()=>O(Y.id),className:xe("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 hover:cleen-bg-surface cleen-px-3 cleen-py-2 cleen-transition-colors",f?.item),style:C?.item,children:[fe(oa,{className:"cleen-flex-1 cleen-min-w-0",classNames:{container:"cleen-min-w-0",checkboxContainer:"cleen-items-center cleen-min-w-0 [&>div]:cleen-flex-1 [&>div]:cleen-min-w-0",checkbox:f?.checkbox,label:xe("cleen-text-sm cleen-truncate cleen-cursor-pointer",f?.itemLabel)},styles:{checkbox:C?.checkbox,label:C?.itemLabel},checked:N.includes(Y.id),onClick:le=>le.stopPropagation(),label:fe("span",{title:Y.label,className:"cleen-select-none",children:Y.label}),fullTriggerArea:!0}),Y.count!==void 0&&fe("span",{className:xe("cleen-shrink-0 cleen-text-gray-500 cleen-text-sm cleen-tabular-nums cleen-opacity-50 cleen-select-none",f?.count),style:C?.count,children:Y.count})]},Y.id))})]}),Ge=_n("div",{className:xe("cleen-flex cleen-flex-col",f?.content),style:C?.content,role:"dialog",children:[fe(me,{autoFocus:!0,value:F,onChange:Y=>D(Y.target.value),onKeyDown:se,placeholder:P.searchPlaceholder,"aria-label":P.searchPlaceholder,leftIcon:fe(kt,{className:"cleen-size-4 cleen-text-muted-foreground"}),className:xe("cleen-shrink-0 cleen-p-1.5 cleen-py-1",f?.search),style:C?.search,classNames:{inputContainer:"cleen-border-0 cleen-shadow-none cleen-rounded-none focus-within:cleen-ring-0",input:"cleen-text-sm"}}),fe(rt,{className:xe("cleen-shrink-0",f?.divider),style:C?.divider}),fe("div",{className:"cleen-flex-1 cleen-min-h-0",children:It()}),_n("div",{className:xe("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2 cleen-px-3 cleen-py-2 cleen-border-t cleen-border-border cleen-shrink-0",f?.footer),style:C?.footer,children:[fe("span",{className:xe("cleen-min-w-0 cleen-text-muted-foreground cleen-text-xs cleen-truncate",f?.footerText),style:C?.footerText,children:N.length>0?P.selected(N.length):P.footer}),_n("div",{className:xe("cleen-flex cleen-items-center cleen-gap-2 cleen-shrink-0",f?.footerActions),style:C?.footerActions,children:[fe(re,{variant:"secondary",onClick:ge,disabled:N.length===0,classNames:{container:xe("cleen-h-8 cleen-px-4 cleen-py-0 cleen-text-sm",f?.clearButton)},styles:{container:C?.clearButton},children:P.clear}),fe(re,{variant:"primary",onClick:ye,classNames:{container:xe("cleen-h-8 cleen-px-4 cleen-py-0 cleen-text-sm",f?.doneButton)},styles:{container:C?.doneButton},children:P.done})]})]})]});return fe(kh,{ref:I,isOpen:E,onOpenChange:Q,position:g,zIndex:h,content:Ge,className:b,style:v,classNames:{trigger:xe(u&&"cleen-pointer-events-none"),popover:xe("cleen-w-80 cleen-overflow-hidden cleen-shadow-md",f?.popover)},styles:{popover:C?.popover},...x,children:_n("button",{type:"button",disabled:u,"aria-label":P.trigger,"aria-haspopup":"dialog","aria-expanded":E,className:xe("cleen-flex cleen-items-center cleen-gap-1 cleen-bg-background cleen-shadow-sm cleen-px-2.5 cleen-py-2 cleen-border cleen-border-border cleen-rounded-lg cleen-text-muted-foreground cleen-transition-colors cleen-duration-200 hover:cleen-bg-surface focus-visible:cleen-outline focus-visible:cleen-outline-2 focus-visible:cleen-outline-primary focus-visible:cleen-outline-offset-2",{"cleen-border-primary-300 cleen-bg-primary-50 cleen-text-primary hover:cleen-bg-primary-100":V,"cleen-opacity-50 cleen-cursor-not-allowed":u},f?.trigger,V&&f?.triggerActive),style:{...C?.trigger,...V?C?.triggerActive:{}},children:[s??fe(Fr,{className:"cleen-size-4 cleen-shrink-0"}),V&&fe("span",{className:xe("cleen-flex cleen-justify-center cleen-items-center cleen-bg-primary cleen-px-1.5 cleen-rounded-full cleen-min-w-5 cleen-h-5 cleen-font-semibold cleen-text-primary-foreground cleen-text-xs",f?.badge),style:C?.badge,children:U}),fe(Yn,{className:"cleen-size-3.5 cleen-shrink-0"})]})})});export{rb as AdvancedProgressBar,y4 as AudioPlayback,k4 as AudioRecorder,$l as Avatar,T4 as AvatarRow,E4 as Breadcrumb,re as Button,_1 as Calendar,K4 as CalendarDropdown,h4 as CanvasButton,ie as Card,FS as CardIcon,_S as CardMedia,e5 as Carousel,oa as Checkbox,d5 as CheckboxGroup,_e as CleenIcon,VM as CleenNotificationContainer,wg as Collapsible,I5 as ColorPicker,P5 as CreditCardInput,rt as Divider,V1 as Drawer,wI as DrawerContainer,qw as DrawerContentTitle,ta as Dropdown,n3 as Dropzone,p4 as EditableCard,S1 as EditableText,k1 as EditableTextArea,p3 as FileCard,J1 as FileStackedProgressTracker,Y3 as FilterDrawer,_v as FormGroup,sM as GroupSelector,Qc as Icon48AlertFeatured,Yc as Icon48SuccessFeatured,ho as IconAlertCircle,jc as IconAlertOctagon,ts as IconAlertTriangle,os as IconApps,rs as IconArchive,as as IconArrowBarDown,ls as IconArrowBarLeft,cs as IconArrowBarRight,ss as IconArrowBarToDown,is as IconArrowBarToLeft,ps as IconArrowBarToRight,ds as IconArrowBarToUp,ms as IconArrowBarUp,hs as IconArrowDown,fs as IconArrowDownLeft,vs as IconArrowDownNarrow,Is as IconArrowDownRight,ys as IconArrowLeft,xs as IconArrowLeftNarrow,Ss as IconArrowRight,ws as IconArrowRightNarrow,Bs as IconArrowUp,Rs as IconArrowUpLeft,Ds as IconArrowUpNarrow,Ts as IconArrowUpRight,Ns as IconAttachment,Fs as IconBarChart,Es as IconBarChartSquare,As as IconBell,zs as IconBold,Vs as IconBookOpen,Os as IconBookmark,Vc as IconBookmarkCheck,Wc as IconBookmarkCheckFill,_s as IconBookmarkFill,Hs as IconBookmarkMinus,qc as IconBookmarkPlus,Gs as IconBookmarkX,Ws as IconBoxLines,qs as IconBoxText,Ks as IconBracketsCheck,Zs as IconBracketsEllipses,Qs as IconBrickWall,Ys as IconBriefcase,Xc as IconBuilding,Js as IconCalculator,Qn as IconCalendar,js as IconCertificate,xt as IconCheck,fo as IconCheckCircle,ei as IconCheckCircleBroken,ti as IconCheckFill,oi as IconCheckVerified,ni as IconCheckVerifiedFill,Yn as IconChevronDown,ri as IconChevronDownDouble,ai as IconChevronDownLeft,li as IconChevronDownLeftDouble,ci as IconChevronDownRight,si as IconChevronDownRightDouble,Pt as IconChevronLeft,ii as IconChevronLeftDouble,ot as IconChevronRight,Jn as IconChevronRightDouble,pi as IconChevronSelectorVertical,St as IconChevronUp,di as IconChevronUpDouble,mi as IconChevronUpLeft,ui as IconChevronUpLeftDouble,hi as IconChevronUpRight,fi as IconChevronUpRightDouble,gi as IconClick,vi as IconClock,Ii as IconClockFastForward,yi as IconClockPlay,Ci as IconClockRewind,xi as IconClone,Si as IconCode,Mi as IconCodeBrowser,ki as IconCodeCircle,Ri as IconColors,Kc as IconColumnEdit,Li as IconCopy,Di as IconCopy2,Ni as IconCopyCheck,Fi as IconCreditCard,Ei as IconCube,Ai as IconCubeOutline,er as IconCursorBox,zi as IconDataflow,Oi as IconDataflow2,_i as IconDataflow3,Ui as IconDistributeHorizontal,Gi as IconDollar,Wi as IconDollarCircle,$i as IconDot,qi as IconDotFill,Xi as IconDotsGrid,Zi as IconDotsHorizontal,on as IconDotsVertical,Ji as IconDownload,ji as IconEdit,tp as IconEditable,op as IconExpand,rp as IconExternalLink,lp as IconExternalLink2,cp as IconEye,ip as IconEyeHidden,pp as IconEyeHidden2,dp as IconFaceAngry,mp as IconFaceLaugh,up as IconFaceSmile,vo as IconFile,fp as IconFileCheck,rr as IconFileCsv,gp as IconFileDownload,ar as IconFileJson,vp as IconFileList,Xe as IconFileMusic,Io as IconFilePdf,cr as IconFileSpreadsheet,wt as IconFileText,yp as IconFileUpload,ir as IconFileXls,pr as IconFileXlsx,ct as IconFileZip,bp as IconFiles,Cp as IconFilter,dr as IconFilter2,Pp as IconFlag,Sp as IconFlag2,Mp as IconFlagFill,wp as IconFocus,kp as IconFolder,Bp as IconFolderExport,Rp as IconFolderImport,Lp as IconGraduationCap,Dp as IconGripVertical,Tp as IconHand,Np as IconHandShield,Fp as IconHash,Ep as IconHeadsetMic,Ap as IconHeart,zp as IconHeartFill,_p as IconHouse,ur as IconHouseLine,Le as IconImage,Hp as IconImage2,Up as IconImageCheck,Gp as IconImageOff,Vp as IconImport,Wp as IconInbox,qp as IconInfoCircle,Kp as IconInfoHexagon,Qp as IconItalic,Jp as IconLayersMultiple,jp as IconLayersSingle,ed as IconLayout,od as IconLayout2,nd as IconLayoutColumns,rd as IconLayoutCustom,ld as IconLayoutStuffed,cd as IconLayoutTile,sd as IconLifeBuoy,pd as IconLightbulb,dd as IconLightning,md as IconLightningFast,ud as IconLineChart,hd as IconLineChartBar,fd as IconLineChartBreakoutSquare,vd as IconLineChartUp,Id as IconLines,bd as IconLinesCheck,yd as IconLinesPlay,xd as IconLink,Pd as IconLink2,Sd as IconLinkOff,Md as IconListBullet,wd as IconListOrder,Bd as IconLock,Rd as IconLockFill,Dd as IconLogIn,Nd as IconLogOut,Ed as IconLogOut2,Ad as IconMagicWand,zd as IconMail,Od as IconMapPin,_d as IconMaximize,Hd as IconMaximize2,Ud as IconMessageCircle,Vd as IconMessageSquare,Wd as IconMessageSquare2,$d as IconMessageXSquare,yr as IconMicrophone,qd as IconMinimize,Xd as IconMinimize2,Kd as IconMinusCircle,Qd as IconMobile,Yd as IconMonitor,Jd as IconMonitor2,jd as IconMoon,em as IconMoonCircle,nt as IconMovie,Or as IconName,tm as IconNavigationPointer,om as IconNotificationBox,im as IconPCSetup,nm as IconPackage,rm as IconPalette,am as IconPasscodeLock,bo as IconPause,cm as IconPauseCircle,dm as IconPen,mm as IconPercentageCircle,um as IconPerspective,fm as IconPhoneCall,Sr as IconPin,yo as IconPlay,vm as IconPlayCircle,Mr as IconPlus,Kt as IconPlusCircle,ym as IconPrinter,Cm as IconPulse,wr as IconQuestionCircle,Pm as IconQuote,Sm as IconRadioButton,Mm as IconRadioButtonFill,wm as IconReceipt,km as IconReceiptCheck,Bm as IconRedo,Rm as IconRefresh,Lm as IconRefresh2,Dm as IconRefresh3,Tm as IconRepeat,Nm as IconReplace,Fm as IconReplay,Am as IconRestore,Om as IconRocket,_m as IconRoundChart,Hm as IconRoundChart2,Gm as IconRoute,Wm as IconSave,$m as IconScanDots,kr as IconScissors,kt as IconSearch,qm as IconSend,Xm as IconServer,Km as IconSettings,Zm as IconSettings2,Qm as IconShare,Ym as IconShieldLightning,jm as IconShieldPlus,tu as IconShieldRemove,ou as IconShoppingBag,nu as IconShoppingCart,ru as IconShrink,au as IconShuffle,lu as IconSkipForward,cu as IconSlashCircle,su as IconSlashOctagon,iu as IconSocialAndroid,pu as IconSocialApple,du as IconSocialGithub,mu as IconSocialGlobe,uu as IconSocialGoogle,fu as IconSocialInstagram,gu as IconSocialLinkedin,Iu as IconSocialMastercard,bu as IconSocialReact,yu as IconSocialVisa,Cu as IconSocialX,xu as IconSpeedometer,Pu as IconStairs,Tr as IconStar,Su as IconStarFill,Mu as IconStarHalf,wu as IconStars,Nr as IconStop,ku as IconStrikethrough,Bu as IconSun,Ru as IconSwap,Lu as IconSwitchHorizontal,Tu as IconTable,Fr as IconTag,Nu as IconTarget,Eu as IconTarget2,zu as IconTextFormat,Ou as IconTextFormat2,_u as IconTextHighlight,Hu as IconThumbsDown,Uu as IconThumbsUp,Gu as IconThumbsUpFill,Vu as IconToggle,Wu as IconTranslate,Ke as IconTrash,$u as IconTrending,qu as IconUnderline,Xu as IconUndo,Zu as IconUnlock,Po as IconUploadCloud,Ar as IconUser,Ju as IconUserCheck,ju as IconUserDollar,t1 as IconUserEdit,o1 as IconUserPlus,n1 as IconUserRight,l1 as IconUserSquare,Zc as IconUserVoice,r1 as IconUsers,c1 as IconUsersUp,s1 as IconVideo,p1 as IconVideoChat,m1 as IconVolume,u1 as IconVolumeDown,h1 as IconVolumeMute,f1 as IconWrench,Te as IconX,g1 as IconXCircle,v1 as IconXCircleFill,I1 as IconXSquare,b1 as IconZoomIn,C1 as IconZoomOut,j as InfoLabels,me as Input,te as Label,ne as Loader,vM as Lookup,xM as Markdown,Bn as Menu,DM as Modal,ow as Pagination,Ph as PaginationGoToPage,Sh as PaginationPageSize,Ee as PillBadge,kh as Popover,kn as ProgressBar,iI as ProgressCircle,vw as RadioBoxGroup,Mw as RadioButtonGroup,Lw as Rating,Hw as Select,BI as Sidebar,ga as SidebarItem,ok as Skeleton,Th as SkeletonAvatar,Fh as SkeletonBadge,Eh as SkeletonBanner,zh as SkeletonButton,va as SkeletonCard,Mc as SkeletonCard2,Oh as SkeletonCard3,Hh as SkeletonCardStack,Uh as SkeletonChart,Gh as SkeletonContentCard,Vh as SkeletonDataGrid,Wh as SkeletonForm,qh as SkeletonGlowingCard,Xh as SkeletonImage,Kh as SkeletonInfoCard,Yh as SkeletonInput,Jh as SkeletonList,t0 as SkeletonParagraph,o0 as SkeletonText,n0 as SkeletonVideo,Dc as SkeletonWidgetCard,Lk as SkeletonWrapper,Nk as Slider,zk as SliderRange,Q1 as StackedProgressTracker,$1 as StackedProgressTrackerRow,q1 as StackedProgressTrackerStatusFilter,Hk as StarRating,KI as Stepper,fh as Switch,la as TRACKER_STATUS_FILTER_ORDER,uh as Tabs,$k as TagFilter,w1 as TextArea,Ie as Tooltip,ra as TrackerItemStatus,aa as TrackerStatusFilter,x1 as getFileIcon,H1 as parseRgbaString,HM as showNotification};
|