@cleen/ui 0.1.260 → 0.1.261
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.d.ts +88 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{cn as co,useAnimateNumber as ZI}from"@cleen/ui-core";import{forwardRef as QI,useMemo as sh}from"react";import{cn as va,usePositionClose as WI,ZIndex as $I}from"@cleen/ui-core";import{useEffect as oh,useRef as Bc,useState as nh}from"react";import{createPortal as qI}from"react-dom";import{jsx as Rc,jsxs as rh}from"react/jsx-runtime";var ue=({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:f,isDisabled:h,openDelay:y=0,invertColors:b=!1,extraUpdateTriggers:g,allowNonDescendantHover:v=!0,zIndex:x=$I.TOOLTIP,style:C,styles:I,onClick:P,onMouseEnter:M,onMouseLeave:B,...k})=>{let[w,R]=nh(a??!1),[E,N]=nh(!1),D=Bc(null),F=Bc(null),L=Bc(null),{positionStyles:S,isMounted:_,optimalPosition:T}=WI({triggerRef:F,targetRef:D,position:u,isOpen:w&&!h,offset:p,extraUpdateTriggers:g});oh(()=>{R(a??!1)},[a]);let A=H=>{P?.(H),n&&R(!1)},z=(H,G)=>{if(a!==void 0)return;let q=F.current?.contains(H.target);!v&&!q||(G?(M?.(H),y&&y>0?L.current=setTimeout(()=>{R(!0)},y):R(!0)):(L.current&&(clearTimeout(L.current),L.current=null),R(!1),B?.(H)))};return oh(()=>{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)}},[]),rh("div",{className:va("cleen",i),style:C,children:[Rc("div",{ref:F,className:va("cleen-relative cleen-max-w-fit",f?.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&&qI(Rc("div",{className:"cleen",children:rh("div",{ref:D,className:va("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":_},f?.labelContainer),style:{zIndex:x,top:`${S.top}px`,left:`${S.left}px`,...e&&{backgroundColor:e},...r&&{color:r},...I?.labelContainer},children:[t,Rc("div",{className:va(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 An}from"@cleen/ui-core";var ut=e=>Math.max(0,Math.min(100,Number.isFinite(e)?e:0)),ht=(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 Ia}from"@cleen/ui-core";import{jsx as Dc}from"react/jsx-runtime";var ba=({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=ut(ht(u,t,r)),i=Math.max(2,e?.height??l*1.5),f={left:`${p}%`,top:"50%"};return e.tooltip?Dc(ue,{invertColors:!0,...e.tooltip,className:Ia("cleen-absolute cleen-z-10 -cleen-translate-x-1/2 -cleen-translate-y-1/2",e.tooltip.className),style:{...f,...e.tooltip.style},classNames:{...e.tooltip.classNames,labelContainer:Ia("cleen-z-10",e.tooltip.classNames?.labelContainer)},children:Dc("div",{className:Ia("cleen-rounded-full",a),style:{width:i,height:i,backgroundColor:n,...c}})}):Dc("div",{className:Ia("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,...f,...c}})};import{jsx as ya}from"react/jsx-runtime";var ah=({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,f=typeof e.end=="number"?e.end:r,h=ut(ht(i,t,r)),y=ut(ht(f,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 ya(ba,{serie:{...e,type:"clamp",value:h},color:a,trackHeight:c,minValue:t,maxValue:r,className:u,style:p});let g={left:`${h}%`,top:e?.height?(c-e.height)/2:0,width:`${b}%`,height:e?.height??"100%"},v={width:"100%",height:"100%"},x={background:a,borderRadius:e?.radius??s??(e?.height??c)/2};return e.tooltip?ya(ue,{invertColors:!0,...e.tooltip,className:An("cleen-absolute",e.tooltip.className),style:{...g,...e.tooltip.style},classNames:{...e.tooltip.classNames,container:An("cleen-size-full !cleen-max-w-none",e.tooltip.classNames?.container),labelContainer:An("cleen-z-10",e.tooltip.classNames?.labelContainer)},styles:{...e.tooltip.styles,container:{width:"100%",maxWidth:"none",height:"100%",...e.tooltip.styles?.container}},children:ya("div",{className:An("cleen-relative cleen-size-full",u),style:{...x,...v,...p}})}):ya("div",{className:An("cleen-absolute cleen-pointer-events-none",u),style:{...x,...g,...p}})};import{cn as XI}from"@cleen/ui-core";import{jsx as KI}from"react/jsx-runtime";var lh=({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=ut(ht(s,t,r))}else{let c=typeof e.start=="number"?e.start:t,s=typeof e.end=="number"?e.end:r,u=ut(ht(c,t,r)),p=ut(ht(s,t,r));a=(u+p)/2}return KI("div",{className:XI("cleen-absolute -cleen-translate-x-1/2 cleen-whitespace-nowrap",n),style:{left:`${a}%`,...l},children:e.label})};var ch={color:"rgb(var(--cleen-neutral-200))",height:8};import{jsx as qo,jsxs as ih}from"react/jsx-runtime";var JI=QI(function({series:t=[],track:r,renderAnimated:n,renderAnimatedDuration:l=1e3,className:a,classNames:c,style:s,styles:u,minValue:p=0,maxValue:i=100,...f},h){let y=sh(()=>({...ch,...r}),[r]),b=sh(()=>t.reduce((C,I)=>{if(I.type==="bar"){let P=typeof I.end=="number"?I.end:i,M=Math.max(p,Math.min(P,i));if(M>C)return M}return C},0),[t,p,i]),g=ZI({targetNumber:b,defaultNumber:p,duration:l,disabled:!n}),{bars:v,clamps:x}=t.reduce((C,I,P)=>{if(I==null||!I.type)return C;let M=I.color??"var(--cleen-primary)";switch(I.type){case"clamp":C.clamps.push(qo(ba,{serie:I,color:M,trackHeight:y.height,minValue:p,maxValue:i,className:co(c?.clamp,I.className),style:{...u?.clamp,...I.style}},`clamp-${P}`));break;case"bar":C.bars.push(qo(ah,{serie:I,color:M,trackHeight:y.height,trackRadius:y.radius,minValue:p,maxValue:i,renderAnimated:n,animatedGlobal:g,className:co(c?.bar,I.className),style:{...u?.bar,...I.style}},`bar-${P}`));break;default:break}return C},{clamps:[],bars:[]});return qo("div",{className:co("cleen",a),style:s,ref:h,...f,children:ih("div",{className:co("cleen-relative cleen-w-full",c?.container),style:u?.container,children:[ih("div",{className:co("cleen-relative cleen-size-full",c?.trackWrapper),style:u?.trackWrapper,children:[qo("div",{className:co("cleen-relative cleen-w-full",c?.track),style:{height:y.height,backgroundColor:y.color,borderRadius:y.radius??y.height/2,...u?.track},children:v}),x]}),t.some(C=>!!C.label)&&qo("div",{"aria-hidden":!0,className:co("cleen-relative cleen-mt-2 cleen-h-5",c?.labels),style:u?.labels,children:t.map((C,I)=>!C||!C.type||!C.label?null:qo(lh,{serie:C,minValue:p,maxValue:i,className:c?.label,style:u?.label},`label-${I}`))})]})})});import{cn as Lc}from"@cleen/ui-core";import{jsx as Tc}from"react/jsx-runtime";var YI={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"},jI={slow:1.3,normal:.65,fast:.4},oe=({isFullscreen:e,size:t="xs",stroke:r,speed:n="normal",className:l,classNames:a,style:c,styles:s,color:u,...p})=>Tc("div",{className:Lc("cleen",l),style:c,children:Tc("div",{className:Lc("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:Tc("span",{className:Lc("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"&&YI[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:jI[n]}s`,...s?.loader}})})});import{cn as Nc,useWidthDynamicResize as eb}from"@cleen/ui-core";import{forwardRef as tb,useImperativeHandle as ob,useRef as nb}from"react";var ph={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"},dh={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 mh,jsxs as rb}from"react/jsx-runtime";var re=tb(function({type:t="button",label:r,onClick:n,className:l,classNames:a,style:c,styles:s,disabled:u=!1,leftIcon:p,rightIcon:i,loaderColor:f,isLoading:h=!1,variant:y="primary",fullWidth:b=!1,children:g,...v},x){let C=nb(null);return ob(x,()=>C.current),eb({ref:C,skip:b},[h,p,i,b]),mh("div",{className:Nc("cleen",l),style:c,children:rb("button",{type:t,ref:C,className:Nc("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",ph[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&&mh(oe,{size:"xs",color:f||dh[y],className:Nc("cleen-mr-1.5 cleen-w-fit",a?.loaderContainer),style:s?.loaderContainer,classNames:{loader:a?.loader},styles:{loader:s?.loader}}),p||null,r||g,i||null]})})});var uh={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"},hh={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 Ft,ColorHelpers as gb}from"@cleen/ui-core";function Xo(e,t,r){return Math.min(Math.max(e,r),t)}var Fc=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}},zn=Fc;function ab(e){if(typeof e!="string")throw new zn(e);if(e.trim().toLowerCase()==="transparent")return[0,0,0,0];let t=e.trim();t=ub.test(e)?sb(e):e;let r=ib.exec(t);if(r){let c=Array.from(r).slice(1);return[...c.slice(0,3).map(s=>parseInt(On(s,2),16)),parseInt(On(c[3]||"f",2),16)/255]}let n=pb.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=db.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=mb.exec(t);if(a){let[c,s,u,p]=Array.from(a).slice(1).map(parseFloat);if(Xo(0,100,s)!==s)throw new zn(e);if(Xo(0,100,u)!==u)throw new zn(e);return[...hb(c,s,u),Number.isNaN(p)?1:p]}throw new zn(e)}function lb(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return(t>>>0)%2341}var fh=e=>parseInt(e.replace(/_/g,""),36),cb="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=fh(t.substring(0,3)),n=fh(t.substring(3)).toString(16),l="";for(let a=0;a<6-n.length;a++)l+="0";return e[r]=`${l}${n}`,e},{});function sb(e){let t=e.toLowerCase().trim(),r=cb[lb(t)];if(!r)throw new zn(e);return`#${r}`}var On=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),ib=new RegExp(`^#${On("([a-f0-9])",3)}([a-f0-9])?$`,"i"),pb=new RegExp(`^#${On("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),db=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${On(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),mb=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,ub=/^[a-z]+$/i,gh=e=>Math.round(e*255),hb=(e,t,r)=>{let n=r/100;if(t===0)return[n,n,n].map(gh);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,f=s+i,h=u+i,y=p+i;return[f,h,y].map(gh)};function fb(e,t,r,n){return`rgba(${Xo(0,255,e).toFixed()}, ${Xo(0,255,t).toFixed()}, ${Xo(0,255,r).toFixed()}, ${parseFloat(Xo(0,1,n).toFixed(3))})`}function _n(e,t){let[r,n,l,a]=ab(e);return fb(r,n,l,a-t)}import{forwardRef as vb,useMemo as Ib}from"react";import{jsx as Ko,jsxs as vh}from"react/jsx-runtime";var le=vb(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:f,style:h,styles:y,...b},g){let{cardColor:v,backgroundColor:x,borderColor:C}=Ib(()=>{let I=gb.getComputedColor(n);return I?{cardColor:I,backgroundColor:_n(I,.9),borderColor:_n(I,.8)}:{cardColor:I}},[n]);return Ko("div",{className:Ft("cleen",i),style:h,ref:g,...b,children:vh("div",{className:Ft("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",f?.container),style:{...v&&{backgroundColor:x,borderColor:C,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)&&vh("div",{className:Ft("cleen-px-6",f?.header?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.header?.content},children:[t?.title&&Ko("div",{className:Ft("cleen-text-xl cleen-font-bold cleen-text-foreground-emphasis",f?.header?.title),style:{...v&&{color:v},...y?.header?.title},children:t?.title}),t?.content]}),(t?.content||t?.title)&&t?.hasDivider&&Ko("hr",{className:Ft("cleen-text-neutral-200",f?.header?.divider),style:{...v&&{color:C},...y?.header?.divider}}),p&&Ko("div",{className:Ft("cleen-px-6",f?.childrenContainer),style:{...c!==void 0&&{paddingInline:c},...y?.childrenContainer},children:p}),r?.content&&r?.hasDivider&&Ko("hr",{className:Ft("cleen-text-neutral-200",f?.footer?.divider),style:{...v&&{color:C},...y?.footer?.divider}}),r?.content&&Ko("div",{className:Ft("cleen-px-6 -cleen-mt-3 cleen-text-foreground",f?.footer?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.footer?.content},children:r.content})]})})});import{jsx as bb}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,bb("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 Ih,jsxs as yb}from"react/jsx-runtime";var Ec=e=>yb(o,{...e,children:[Ih("path",{d:"M9 10.5l2 2l4 -4"}),Ih("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})]});import{jsx as bh}from"react/jsx-runtime";var Ac=e=>bh(o,{isFilled:!0,...e,children:bh("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 zc,jsxs as Cb}from"react/jsx-runtime";var Oc=e=>Cb(o,{...e,children:[zc("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v5"}),zc("path",{d:"M16 19h6"}),zc("path",{d:"M19 16v6"})]});import{jsx as Et,jsxs as xb}from"react/jsx-runtime";var _c=e=>xb(o,{...e,children:[Et("path",{d:"M3 21l18 0"}),Et("path",{d:"M9 8l1 0"}),Et("path",{d:"M9 12l1 0"}),Et("path",{d:"M9 16l1 0"}),Et("path",{d:"M14 8l1 0"}),Et("path",{d:"M14 12l1 0"}),Et("path",{d:"M14 16l1 0"}),Et("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16"})]});import{jsx as yh,jsxs as Pb}from"react/jsx-runtime";var Hc=e=>Pb(o,{...e,children:[yh("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"}),yh("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 Ca,jsxs as Sb}from"react/jsx-runtime";var Uc=e=>Sb(o,{...e,children:[Ca("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Ca("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),Ca("path",{d:"M16.32 3.27a6.5 6.5 0 0 1 0 7.46"}),Ca("path",{d:"M19.37 1.84a9 9 0 0 1 0 10.32"})]});import{jsx as Hn,jsxs as Mb}from"react/jsx-runtime";var Gc=e=>Mb(o,{viewBox:"0 0 48 48",...e,children:[Hn("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),Hn("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),Hn("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),Hn("path",{d:"M24 18v8"}),Hn("path",{d:"M24 30h.01"})]});import{jsx as xa,jsxs as wb}from"react/jsx-runtime";var Vc=e=>wb(o,{viewBox:"0 0 48 48",...e,children:[xa("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),xa("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),xa("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),xa("path",{d:"M18 24l4 4l8 -8"})]});import{jsx as Wc,jsxs as kb}from"react/jsx-runtime";var so=e=>kb(o,{...e,children:[Wc("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Wc("path",{d:"M12 8v4"}),Wc("path",{d:"M12 16h.01"})]});import{jsx as Ch}from"react/jsx-runtime";var $c=e=>Ch(o,{isFilled:!0,...e,children:Ch("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 qc,jsxs as Bb}from"react/jsx-runtime";var Xc=e=>Bb(o,{...e,children:[qc("path",{d:"M12 9v4"}),qc("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"}),qc("path",{d:"M12 16h.01"})]});import{jsx as Un,jsxs as Rb}from"react/jsx-runtime";var Kc=e=>Rb(o,{...e,children:[Un("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"}),Un("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"}),Un("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"}),Un("path",{d:"M14 7l6 0"}),Un("path",{d:"M17 4l0 6"})]});import{jsx as Zc,jsxs as Db}from"react/jsx-runtime";var Qc=e=>Db(o,{...e,children:[Zc("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"}),Zc("path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10"}),Zc("path",{d:"M10 12l4 0"})]});import{jsx as Pa,jsxs as Lb}from"react/jsx-runtime";var Jc=e=>Lb(o,{...e,children:[Pa("path",{d:"M12 20l0 -10"}),Pa("path",{d:"M12 20l4 -4"}),Pa("path",{d:"M12 20l-4 -4"}),Pa("path",{d:"M4 4l16 0"})]});import{jsx as Sa,jsxs as Tb}from"react/jsx-runtime";var Yc=e=>Tb(o,{...e,children:[Sa("path",{d:"M4 12l10 0"}),Sa("path",{d:"M4 12l4 4"}),Sa("path",{d:"M4 12l4 -4"}),Sa("path",{d:"M20 4l0 16"})]});import{jsx as Ma,jsxs as Nb}from"react/jsx-runtime";var jc=e=>Nb(o,{...e,children:[Ma("path",{d:"M20 12l-10 0"}),Ma("path",{d:"M20 12l-4 4"}),Ma("path",{d:"M20 12l-4 -4"}),Ma("path",{d:"M4 4l0 16"})]});import{jsx as wa,jsxs as Fb}from"react/jsx-runtime";var es=e=>Fb(o,{...e,children:[wa("path",{d:"M4 20l16 0"}),wa("path",{d:"M12 14l0 -10"}),wa("path",{d:"M12 14l4 -4"}),wa("path",{d:"M12 14l-4 -4"})]});import{jsx as ka,jsxs as Eb}from"react/jsx-runtime";var ts=e=>Eb(o,{...e,children:[ka("path",{d:"M10 12l10 0"}),ka("path",{d:"M10 12l4 4"}),ka("path",{d:"M10 12l4 -4"}),ka("path",{d:"M4 4l0 16"})]});import{jsx as Ba,jsxs as Ab}from"react/jsx-runtime";var os=e=>Ab(o,{...e,children:[Ba("path",{d:"M14 12l-10 0"}),Ba("path",{d:"M14 12l-4 4"}),Ba("path",{d:"M14 12l-4 -4"}),Ba("path",{d:"M20 4l0 16"})]});import{jsx as Ra,jsxs as zb}from"react/jsx-runtime";var ns=e=>zb(o,{...e,children:[Ra("path",{d:"M12 10l0 10"}),Ra("path",{d:"M12 10l4 4"}),Ra("path",{d:"M12 10l-4 4"}),Ra("path",{d:"M4 4l16 0"})]});import{jsx as Da,jsxs as Ob}from"react/jsx-runtime";var rs=e=>Ob(o,{...e,children:[Da("path",{d:"M12 4l0 10"}),Da("path",{d:"M12 4l4 4"}),Da("path",{d:"M12 4l-4 4"}),Da("path",{d:"M4 20l16 0"})]});import{jsx as as,jsxs as _b}from"react/jsx-runtime";var ls=e=>_b(o,{...e,children:[as("path",{d:"M12 5l0 14"}),as("path",{d:"M18 13l-6 6"}),as("path",{d:"M6 13l6 6"})]});import{jsx as xh,jsxs as Hb}from"react/jsx-runtime";var cs=e=>Hb(o,{...e,children:[xh("path",{d:"M17 7l-10 10"}),xh("path",{d:"M16 17l-9 0l0 -9"})]});import{jsx as ss,jsxs as Ub}from"react/jsx-runtime";var is=e=>Ub(o,{...e,children:[ss("path",{d:"M12 5l0 14"}),ss("path",{d:"M16 15l-4 4"}),ss("path",{d:"M8 15l4 4"})]});import{jsx as Ph,jsxs as Gb}from"react/jsx-runtime";var ps=e=>Gb(o,{...e,children:[Ph("path",{d:"M7 7l10 10"}),Ph("path",{d:"M17 8l0 9l-9 0"})]});import{jsx as ds,jsxs as Vb}from"react/jsx-runtime";var ms=e=>Vb(o,{...e,children:[ds("path",{d:"M5 12l14 0"}),ds("path",{d:"M5 12l6 6"}),ds("path",{d:"M5 12l6 -6"})]});import{jsx as us,jsxs as Wb}from"react/jsx-runtime";var hs=e=>Wb(o,{...e,children:[us("path",{d:"M5 12l14 0"}),us("path",{d:"M5 12l4 4"}),us("path",{d:"M5 12l4 -4"})]});import{jsx as fs,jsxs as $b}from"react/jsx-runtime";var gs=e=>$b(o,{...e,children:[fs("path",{d:"M5 12l14 0"}),fs("path",{d:"M13 18l6 -6"}),fs("path",{d:"M13 6l6 6"})]});import{jsx as vs,jsxs as qb}from"react/jsx-runtime";var Is=e=>qb(o,{...e,children:[vs("path",{d:"M5 12l14 0"}),vs("path",{d:"M15 16l4 -4"}),vs("path",{d:"M15 8l4 4"})]});import{jsx as bs,jsxs as Xb}from"react/jsx-runtime";var ys=e=>Xb(o,{...e,children:[bs("path",{d:"M12 5l0 14"}),bs("path",{d:"M18 11l-6 -6"}),bs("path",{d:"M6 11l6 -6"})]});import{jsx as Sh,jsxs as Kb}from"react/jsx-runtime";var Cs=e=>Kb(o,{...e,children:[Sh("path",{d:"M7 7l10 10"}),Sh("path",{d:"M16 7l-9 0l0 9"})]});import{jsx as xs,jsxs as Zb}from"react/jsx-runtime";var Ps=e=>Zb(o,{...e,children:[xs("path",{d:"M12 5l0 14"}),xs("path",{d:"M16 9l-4 -4"}),xs("path",{d:"M8 9l4 -4"})]});import{jsx as Mh,jsxs as Qb}from"react/jsx-runtime";var Ss=e=>Qb(o,{...e,children:[Mh("path",{d:"M17 7l-10 10"}),Mh("path",{d:"M8 7l9 0l0 9"})]});import{jsx as wh}from"react/jsx-runtime";var Ms=e=>wh(o,{...e,children:wh("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 La,jsxs as Jb}from"react/jsx-runtime";var ws=e=>Jb(o,{...e,children:[La("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"}),La("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"}),La("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"}),La("path",{d:"M4 20h14"})]});import{jsx as Gn,jsxs as Yb}from"react/jsx-runtime";var ks=e=>Yb(o,{...e,children:[Gn("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"}),Gn("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"}),Gn("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"}),Gn("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"}),Gn("path",{d:"M7 18.5h10"})]});import{jsx as kh,jsxs as jb}from"react/jsx-runtime";var Bs=e=>jb(o,{...e,children:[kh("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"}),kh("path",{d:"M9 17v1a3 3 0 0 0 6 0v-1"})]});import{jsx as Bh,jsxs as ey}from"react/jsx-runtime";var Rs=e=>ey(o,{...e,children:[Bh("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),Bh("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})]});import{jsx as Rh}from"react/jsx-runtime";var Ds=e=>Rh(o,{...e,children:Rh("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})});import{jsx as Dh}from"react/jsx-runtime";var Ls=e=>Dh(o,{isFilled:!0,...e,children:Dh("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 Lh,jsxs as ty}from"react/jsx-runtime";var Ts=e=>ty(o,{...e,children:[Lh("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v8"}),Lh("path",{d:"M16 19h6"})]});import{jsx as Ns,jsxs as oy}from"react/jsx-runtime";var Fs=e=>oy(o,{...e,children:[Ns("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v6.5"}),Ns("path",{d:"M20.5 21.5l-5 -5"}),Ns("path",{d:"M15.5 21.5l5 -5"})]});import{jsx as Vn,jsxs as ny}from"react/jsx-runtime";var Es=e=>ny(o,{...e,children:[Vn("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Vn("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),Vn("path",{d:"M3 6l0 13"}),Vn("path",{d:"M12 6l0 13"}),Vn("path",{d:"M21 6l0 13"})]});import{jsx as Ta,jsxs as ry}from"react/jsx-runtime";var As=e=>ry(o,{...e,children:[Ta("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"}),Ta("path",{d:"M9 13h-2"}),Ta("path",{d:"M13 10h-6"}),Ta("path",{d:"M11 7h-4"})]});import{jsx as zs,jsxs as ay}from"react/jsx-runtime";var Os=e=>ay(o,{...e,children:[zs("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"}),zs("path",{d:"M10 8h4"}),zs("path",{d:"M12 8v8"})]});import{jsx as _s,jsxs as ly}from"react/jsx-runtime";var Hs=e=>ly(o,{...e,children:[_s("path",{d:"M9 12l2 2l4 -4"}),_s("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),_s("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as Wn,jsxs as cy}from"react/jsx-runtime";var Us=e=>cy(o,{...e,children:[Wn("path",{d:"M15 12h.01"}),Wn("path",{d:"M12 12h.01"}),Wn("path",{d:"M9 12h.01"}),Wn("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Wn("path",{d:"M18 19a2 2 0 0 0 2 -2v-4l1 -1l-1 -1v-4a2 2 0 0 0 -2 -2"})]});import{jsx as ft,jsxs as sy}from"react/jsx-runtime";var Gs=e=>sy(o,{...e,children:[ft("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"}),ft("path",{d:"M4 8h16"}),ft("path",{d:"M20 12h-16"}),ft("path",{d:"M4 16h16"}),ft("path",{d:"M9 4v4"}),ft("path",{d:"M14 8v4"}),ft("path",{d:"M8 12v4"}),ft("path",{d:"M16 12v4"}),ft("path",{d:"M11 16v4"})]});import{jsx as Na,jsxs as iy}from"react/jsx-runtime";var Vs=e=>iy(o,{...e,children:[Na("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"}),Na("path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2"}),Na("path",{d:"M12 12l0 .01"}),Na("path",{d:"M3 13a20 20 0 0 0 18 0"})]});import{jsx as At,jsxs as py}from"react/jsx-runtime";var Ws=e=>py(o,{...e,children:[At("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"}),At("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"}),At("path",{d:"M8 14l0 .01"}),At("path",{d:"M12 14l0 .01"}),At("path",{d:"M16 14l0 .01"}),At("path",{d:"M8 17l0 .01"}),At("path",{d:"M12 17l0 .01"}),At("path",{d:"M16 17l0 .01"})]});import{jsx as Zo,jsxs as dy}from"react/jsx-runtime";var $n=e=>dy(o,{...e,children:[Zo("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"}),Zo("path",{d:"M16 3v4"}),Zo("path",{d:"M8 3v4"}),Zo("path",{d:"M4 11h16"}),Zo("path",{d:"M11 15h1"}),Zo("path",{d:"M12 15v3"})]});import{jsx as Qo,jsxs as my}from"react/jsx-runtime";var $s=e=>my(o,{...e,children:[Qo("path",{d:"M15 15m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Qo("path",{d:"M13 17.5v4.5l2 -1.5l2 1.5v-4.5"}),Qo("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"}),Qo("path",{d:"M6 9l12 0"}),Qo("path",{d:"M6 12l3 0"}),Qo("path",{d:"M6 15l2 0"})]});import{jsx as Th}from"react/jsx-runtime";var gt=e=>Th(o,{...e,children:Th("path",{d:"M5 12l5 5l10 -10"})});import{jsx as Nh,jsxs as uy}from"react/jsx-runtime";var io=e=>uy(o,{...e,children:[Nh("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Nh("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as Fh,jsxs as hy}from"react/jsx-runtime";var qs=e=>hy(o,{...e,children:[Fh("path",{d:"M16.8 4.3a9 9 0 1 0 4.3 6.1"}),Fh("path",{d:"M8.5 12l3 3l9.5 -10"})]});import{jsx as Eh}from"react/jsx-runtime";var Xs=e=>Eh(o,{isFilled:!0,...e,children:Eh("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 Ah,jsxs as fy}from"react/jsx-runtime";var Ks=e=>fy(o,{...e,children:[Ah("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"}),Ah("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as zh}from"react/jsx-runtime";var Zs=e=>zh(o,{isFilled:!0,...e,children:zh("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 Oh}from"react/jsx-runtime";var Qs=e=>Oh(o,{...e,children:Oh("path",{d:"M6 9l6 6l6 -6"})});import{jsx as _h,jsxs as gy}from"react/jsx-runtime";var Js=e=>gy(o,{...e,children:[_h("path",{d:"M7 7l5 5l5 -5"}),_h("path",{d:"M7 13l5 5l5 -5"})]});import{jsx as Hh}from"react/jsx-runtime";var Ys=e=>Hh(o,{...e,children:Hh("path",{d:"M8 8v8h8"})});import{jsx as Uh,jsxs as vy}from"react/jsx-runtime";var js=e=>vy(o,{...e,children:[Uh("path",{d:"M11 5v8h8"}),Uh("path",{d:"M7 9v8h8"})]});import{jsx as Gh}from"react/jsx-runtime";var ei=e=>Gh(o,{...e,children:Gh("path",{d:"M16 8v8h-8"})});import{jsx as Vh,jsxs as Iy}from"react/jsx-runtime";var ti=e=>Iy(o,{...e,children:[Vh("path",{d:"M13 5v8h-8"}),Vh("path",{d:"M17 9v8h-8"})]});import{jsx as Wh}from"react/jsx-runtime";var vt=e=>Wh(o,{...e,children:Wh("path",{d:"M15 6l-6 6l6 6"})});import{jsx as $h,jsxs as by}from"react/jsx-runtime";var oi=e=>by(o,{...e,children:[$h("path",{d:"M11 7l-5 5l5 5"}),$h("path",{d:"M17 7l-5 5l5 5"})]});import{jsx as qh}from"react/jsx-runtime";var Je=e=>qh(o,{...e,children:qh("path",{d:"M9 6l6 6l-6 6"})});import{jsx as Xh,jsxs as yy}from"react/jsx-runtime";var qn=e=>yy(o,{...e,children:[Xh("path",{d:"M7 7l5 5l-5 5"}),Xh("path",{d:"M13 7l5 5l-5 5"})]});import{jsx as Kh,jsxs as Cy}from"react/jsx-runtime";var ni=e=>Cy(o,{...e,children:[Kh("path",{d:"M8 9l4 -4l4 4"}),Kh("path",{d:"M16 15l-4 4l-4 -4"})]});import{jsx as Zh}from"react/jsx-runtime";var It=e=>Zh(o,{...e,children:Zh("path",{d:"M6 15l6 -6l6 6"})});import{jsx as Qh,jsxs as xy}from"react/jsx-runtime";var ri=e=>xy(o,{...e,children:[Qh("path",{d:"M7 11l5 -5l5 5"}),Qh("path",{d:"M7 17l5 -5l5 5"})]});import{jsx as Jh}from"react/jsx-runtime";var ai=e=>Jh(o,{...e,children:Jh("path",{d:"M8 16v-8h8"})});import{jsx as Yh,jsxs as Py}from"react/jsx-runtime";var li=e=>Py(o,{...e,children:[Yh("path",{d:"M7 15v-8h8"}),Yh("path",{d:"M11 19v-8h8"})]});import{jsx as jh}from"react/jsx-runtime";var ci=e=>jh(o,{...e,children:jh("path",{d:"M8 8h8v8"})});import{jsx as ef,jsxs as Sy}from"react/jsx-runtime";var si=e=>Sy(o,{...e,children:[ef("path",{d:"M9 7h8v8"}),ef("path",{d:"M5 11h8v8"})]});import{jsx as Jo,jsxs as My}from"react/jsx-runtime";var ii=e=>My(o,{...e,children:[Jo("path",{d:"M3 12l3 0"}),Jo("path",{d:"M12 3l0 3"}),Jo("path",{d:"M7.8 7.8l-2.2 -2.2"}),Jo("path",{d:"M16.2 7.8l2.2 -2.2"}),Jo("path",{d:"M7.8 16.2l-2.2 2.2"}),Jo("path",{d:"M12 12l9 3l-4 2l-2 4l-3 -9"})]});import{jsx as tf,jsxs as wy}from"react/jsx-runtime";var pi=e=>wy(o,{...e,children:[tf("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),tf("path",{d:"M12 7v5l3 3"})]});import{jsx as Fa,jsxs as ky}from"react/jsx-runtime";var di=e=>ky(o,{...e,children:[Fa("path",{d:"M12 7v5l2 2"}),Fa("path",{d:"M16.5 20.5l2 -1.5l-2 -1.5z"}),Fa("path",{d:"M19 20.5l2 -1.5l-2 -1.5z"}),Fa("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as mi,jsxs as By}from"react/jsx-runtime";var ui=e=>By(o,{...e,children:[mi("path",{d:"M12 7v5l2 2"}),mi("path",{d:"M17 22l5 -3l-5 -3z"}),mi("path",{d:"M13.017 20.943a9 9 0 1 1 7.831 -7.292"})]});import{jsx as of,jsxs as Ry}from"react/jsx-runtime";var hi=e=>Ry(o,{...e,children:[of("path",{d:"M12 8l0 4l2 2"}),of("path",{d:"M3.05 13a9 9 0 1 0 .5 -4m-.5 -5v5h5"})]});import{jsx as Xn,jsxs as Dy}from"react/jsx-runtime";var fi=e=>Dy(o,{...e,children:[Xn("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Xn("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"}),Xn("path",{d:"M11 14h6"}),Xn("path",{d:"M14 11v6"}),Xn("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 gi,jsxs as Ly}from"react/jsx-runtime";var vi=e=>Ly(o,{...e,children:[gi("path",{d:"M7 8l-4 4l4 4"}),gi("path",{d:"M17 8l4 4l-4 4"}),gi("path",{d:"M14 4l-4 16"})]});import{jsx as Yo,jsxs as Ty}from"react/jsx-runtime";var Ii=e=>Ty(o,{...e,children:[Yo("path",{d:"M4 8h16"}),Yo("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"}),Yo("path",{d:"M8 4v4"}),Yo("path",{d:"M9 12l-2 2l2 2"}),Yo("path",{d:"M15 12l2 2l-2 2"}),Yo("path",{d:"M13 11l-2 6"})]});import{jsx as bi,jsxs as Ny}from"react/jsx-runtime";var yi=e=>Ny(o,{...e,children:[bi("path",{d:"M10 14l-2 -2l2 -2"}),bi("path",{d:"M14 10l2 2l-2 2"}),bi("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Ci,jsxs as Fy}from"react/jsx-runtime";var xi=e=>Fy(o,{...e,children:[Ci("path",{d:"M12 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Ci("path",{d:"M6.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),Ci("path",{d:"M17.5 17m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})]});import{jsx as nf,jsxs as Ey}from"react/jsx-runtime";var Pi=e=>Ey(o,{...e,children:[nf("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"}),nf("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 rf,jsxs as Ay}from"react/jsx-runtime";var Si=e=>Ay(o,{...e,children:[rf("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"}),rf("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 Mi,jsxs as zy}from"react/jsx-runtime";var wi=e=>zy(o,{...e,children:[Mi("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"}),Mi("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"}),Mi("path",{d:"M11 14l2 2l4 -4"})]});import{jsx as Ea,jsxs as Oy}from"react/jsx-runtime";var ki=e=>Oy(o,{...e,children:[Ea("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"}),Ea("path",{d:"M3 10l18 0"}),Ea("path",{d:"M7 15l.01 0"}),Ea("path",{d:"M11 15l2 0"})]});import{jsx as Aa,jsxs as _y}from"react/jsx-runtime";var Bi=e=>_y(o,{...e,children:[Aa("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"}),Aa("path",{d:"M12 22v-10"}),Aa("path",{d:"M12 12l8.73 -5.04"}),Aa("path",{d:"M3.27 6.96l8.73 5.04"})]});import{jsx as He,jsxs as Hy}from"react/jsx-runtime";var Ri=e=>Hy(o,{...e,children:[He("path",{d:"M6 17.6l-2 -1.1v-2.5"}),He("path",{d:"M4 10v-2.5l2 -1.1"}),He("path",{d:"M10 4.1l2 -1.1l2 1.1"}),He("path",{d:"M18 6.4l2 1.1v2.5"}),He("path",{d:"M20 14v2.5l-2 1.12"}),He("path",{d:"M14 19.9l-2 1.1l-2 -1.1"}),He("path",{d:"M12 12l2 -1.1"}),He("path",{d:"M18 8.6l2 -1.1"}),He("path",{d:"M12 12l0 2.5"}),He("path",{d:"M12 18.5l0 2.5"}),He("path",{d:"M12 12l-2 -1.12"}),He("path",{d:"M6 8.6l-2 -1.1"})]});import{jsx as af,jsxs as Uy}from"react/jsx-runtime";var Kn=e=>Uy(o,{...e,children:[af("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"}),af("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 po,jsxs as Gy}from"react/jsx-runtime";var Di=e=>Gy(o,{...e,children:[po("path",{d:"M5 2h5v4h-5z"}),po("path",{d:"M15 10h5v4h-5z"}),po("path",{d:"M5 18h5v4h-5z"}),po("path",{d:"M5 10h5v4h-5z"}),po("path",{d:"M10 12h5"}),po("path",{d:"M7.5 6v4"}),po("path",{d:"M7.5 14v4"})]});import{jsx as Ue,jsxs as Vy}from"react/jsx-runtime";var Li=e=>Vy(o,{...e,children:[Ue("path",{d:"M12 5m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ue("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ue("path",{d:"M12 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ue("path",{d:"M20 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ue("path",{d:"M4 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ue("path",{d:"M16 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ue("path",{d:"M5 17l2 -3"}),Ue("path",{d:"M9 10l2 -3"}),Ue("path",{d:"M13 7l2 3"}),Ue("path",{d:"M17 14l2 3"}),Ue("path",{d:"M15 14l-2 3"}),Ue("path",{d:"M9 14l2 3"})]});import{jsx as Zn,jsxs as Wy}from"react/jsx-runtime";var Ti=e=>Wy(o,{...e,children:[Zn("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"}),Zn("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"}),Zn("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"}),Zn("path",{d:"M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1"}),Zn("path",{d:"M12 9l0 3"})]});import{jsx as Ni,jsxs as $y}from"react/jsx-runtime";var Fi=e=>$y(o,{...e,children:[Ni("path",{d:"M4 4l16 0"}),Ni("path",{d:"M4 20l16 0"}),Ni("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 lf,jsxs as qy}from"react/jsx-runtime";var Ei=e=>qy(o,{...e,children:[lf("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"}),lf("path",{d:"M12 3v3m0 12v3"})]});import{jsx as Ai,jsxs as Xy}from"react/jsx-runtime";var zi=e=>Xy(o,{...e,children:[Ai("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Ai("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"}),Ai("path",{d:"M12 7v10"})]});import{jsx as cf}from"react/jsx-runtime";var Oi=e=>cf(o,{...e,children:cf("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"})});import{jsx as sf}from"react/jsx-runtime";var _i=e=>sf(o,{isFilled:!0,...e,children:sf("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 bt,jsxs as Ky}from"react/jsx-runtime";var Hi=e=>Ky(o,{...e,children:[bt("path",{d:"M5 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M19 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M5 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),bt("path",{d:"M19 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Ui,jsxs as Zy}from"react/jsx-runtime";var Gi=e=>Zy(o,{...e,children:[Ui("path",{d:"M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ui("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ui("path",{d:"M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Vi,jsxs as Qy}from"react/jsx-runtime";var jo=e=>Qy(o,{...e,children:[Vi("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Vi("path",{d:"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Vi("path",{d:"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Wi,jsxs as Jy}from"react/jsx-runtime";var $i=e=>Jy(o,{...e,children:[Wi("path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}),Wi("path",{d:"M7 11l5 5l5 -5"}),Wi("path",{d:"M12 4l0 12"})]});import{jsx as pf,jsxs as Yy}from"react/jsx-runtime";var qi=e=>Yy(o,{...e,children:[pf("path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),pf("path",{d:"M13.5 6.5l4 4"})]});import{jsx as Xi,jsxs as jy}from"react/jsx-runtime";var Ki=e=>jy(o,{...e,children:[Xi("path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1"}),Xi("path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z"}),Xi("path",{d:"M16 5l3 3"})]});import{jsx as zt,jsxs as eC}from"react/jsx-runtime";var Zi=e=>eC(o,{...e,children:[zt("path",{d:"M16 4l4 0l0 4"}),zt("path",{d:"M14 10l6 -6"}),zt("path",{d:"M8 20l-4 0l0 -4"}),zt("path",{d:"M4 20l6 -6"}),zt("path",{d:"M16 20l4 0l0 -4"}),zt("path",{d:"M14 14l6 6"}),zt("path",{d:"M8 4l-4 0l0 4"}),zt("path",{d:"M4 4l6 6"})]});import{jsx as Qi,jsxs as tC}from"react/jsx-runtime";var Ji=e=>tC(o,{...e,children:[Qi("path",{d:"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6"}),Qi("path",{d:"M11 13l9 -9"}),Qi("path",{d:"M15 4h5v5"})]});import{jsx as Yi,jsxs as oC}from"react/jsx-runtime";var ji=e=>oC(o,{...e,children:[Yi("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"}),Yi("path",{d:"M15 9l-6 6"}),Yi("path",{d:"M10 9l5 0l0 5"})]});import{jsx as df,jsxs as nC}from"react/jsx-runtime";var ep=e=>nC(o,{...e,children:[df("path",{d:"M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),df("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 tp,jsxs as rC}from"react/jsx-runtime";var op=e=>rC(o,{...e,children:[tp("path",{d:"M10.585 10.587a2 2 0 0 0 2.829 2.828"}),tp("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"}),tp("path",{d:"M3 3l18 18"})]});import{jsx as Qn,jsxs as aC}from"react/jsx-runtime";var np=e=>aC(o,{...e,children:[Qn("path",{d:"M21 9c-2.4 2.667 -5.4 4 -9 4c-3.6 0 -6.6 -1.333 -9 -4"}),Qn("path",{d:"M3 15l2.5 -3.8"}),Qn("path",{d:"M21 14.976l-2.492 -3.776"}),Qn("path",{d:"M9 17l.5 -4"}),Qn("path",{d:"M15 17l-.5 -4"})]});import{jsx as za,jsxs as lC}from"react/jsx-runtime";var rp=e=>lC(o,{...e,children:[za("path",{d:"M12 21a9 9 0 1 1 0 -18a9 9 0 0 1 0 18z"}),za("path",{d:"M8 9l2 1"}),za("path",{d:"M16 9l-2 1"}),za("path",{d:"M14.5 16.05a3.5 3.5 0 0 0 -5 0"})]});import{jsx as en,jsxs as cC}from"react/jsx-runtime";var ap=e=>cC(o,{...e,children:[en("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),en("path",{d:"M7 8.5l3 3"}),en("path",{d:"M7 11.5l3 -3"}),en("path",{d:"M14 8.5l3 3"}),en("path",{d:"M14 11.5l3 -3"}),en("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as Oa,jsxs as sC}from"react/jsx-runtime";var lp=e=>sC(o,{...e,children:[Oa("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Oa("path",{d:"M9 10l.01 0"}),Oa("path",{d:"M15 10l.01 0"}),Oa("path",{d:"M9.5 15a3.5 3.5 0 0 0 5 0"})]});import{jsx as mf,jsxs as iC}from"react/jsx-runtime";var mo=e=>iC(o,{...e,children:[mf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),mf("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 cp,jsxs as pC}from"react/jsx-runtime";var sp=e=>pC(o,{...e,children:[cp("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),cp("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"}),cp("path",{d:"M9 15l2 2l4 -4"})]});import{jsx as Jn,jsxs as dC}from"react/jsx-runtime";var Yn=e=>dC(o,{...e,children:[Jn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Jn("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),Jn("path",{d:"M7 16.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0"}),Jn("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"}),Jn("path",{d:"M16 15l2 6l2 -6"})]});import{jsx as _a,jsxs as mC}from"react/jsx-runtime";var ip=e=>mC(o,{...e,children:[_a("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),_a("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"}),_a("path",{d:"M12 17v-6"}),_a("path",{d:"M9.5 14.5l2.5 2.5l2.5 -2.5"})]});import{jsx as tn,jsxs as uC}from"react/jsx-runtime";var jn=e=>uC(o,{...e,children:[tn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),tn("path",{d:"M5 12v-8a2 2 0 0 1 2 -2h7l5 5v5"}),tn("path",{d:"M4 15.125h2.5v4.5a1.25 1.25 0 0 1 -2.5 0v-.5"}),tn("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"}),tn("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"}),tn("path",{d:"M17.5 20.875v-5.75l2.5 5.75v-5.75"})]});import{jsx as Ha,jsxs as hC}from"react/jsx-runtime";var pp=e=>hC(o,{...e,children:[Ha("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ha("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"}),Ha("path",{d:"M9 17h6"}),Ha("path",{d:"M9 13h6"})]});import{jsx as Ua,jsxs as fC}from"react/jsx-runtime";var Ge=e=>fC(o,{...e,children:[Ua("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ua("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"}),Ua("path",{d:"M11 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ua("path",{d:"M12 16l0 -5l2 1"})]});import{jsx as on,jsxs as gC}from"react/jsx-runtime";var uo=e=>gC(o,{...e,children:[on("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),on("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),on("path",{d:"M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6"}),on("path",{d:"M17 18h2"}),on("path",{d:"M20 15h-3v6"}),on("path",{d:"M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z"})]});import{jsx as dp,jsxs as vC}from"react/jsx-runtime";var mp=e=>vC(o,{...e,children:[dp("path",{d:"M15 3v4a1 1 0 0 0 1 1h4"}),dp("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"}),dp("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 er,jsxs as IC}from"react/jsx-runtime";var tr=e=>IC(o,{...e,children:[er("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),er("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"}),er("path",{d:"M8 11h8v7h-8z"}),er("path",{d:"M8 15h8"}),er("path",{d:"M11 11v7"})]});import{jsx as or,jsxs as bC}from"react/jsx-runtime";var yt=e=>bC(o,{...e,children:[or("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),or("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"}),or("path",{d:"M9 9l1 0"}),or("path",{d:"M9 13l6 0"}),or("path",{d:"M9 17l6 0"})]});import{jsx as Ga,jsxs as yC}from"react/jsx-runtime";var up=e=>yC(o,{...e,children:[Ga("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ga("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"}),Ga("path",{d:"M12 11v6"}),Ga("path",{d:"M9.5 13.5l2.5 -2.5l2.5 2.5"})]});import{jsx as nn,jsxs as CC}from"react/jsx-runtime";var nr=e=>CC(o,{...e,children:[nn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),nn("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),nn("path",{d:"M4 15l4 6"}),nn("path",{d:"M4 21l4 -6"}),nn("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"}),nn("path",{d:"M11 15v6h3"})]});import{jsx as Ot,jsxs as xC}from"react/jsx-runtime";var rr=e=>xC(o,{...e,children:[Ot("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Ot("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v5"}),Ot("path",{d:"M4 16l3 5"}),Ot("path",{d:"M4 21l3 -5"}),Ot("path",{d:"M8.5 16v5h2"}),Ot("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"}),Ot("path",{d:"M16.5 16l3 5"}),Ot("path",{d:"M16.5 21l3 -5"})]});import{jsx as _t,jsxs as PC}from"react/jsx-runtime";var ot=e=>PC(o,{...e,children:[_t("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"}),_t("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"}),_t("path",{d:"M11 5l-1 0"}),_t("path",{d:"M13 7l-1 0"}),_t("path",{d:"M11 9l-1 0"}),_t("path",{d:"M13 11l-1 0"}),_t("path",{d:"M11 13l-1 0"}),_t("path",{d:"M13 15l-1 0"})]});import{jsx as uf}from"react/jsx-runtime";var hp=e=>uf(o,{...e,children:uf("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 fp,jsxs as SC}from"react/jsx-runtime";var ar=e=>SC(o,{...e,children:[fp("path",{d:"M4 6h16"}),fp("path",{d:"M6 12h12"}),fp("path",{d:"M9 18h6"})]});import{jsx as hf,jsxs as MC}from"react/jsx-runtime";var gp=e=>MC(o,{...e,children:[hf("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"}),hf("path",{d:"M5 21v-7"})]});import{jsx as ff}from"react/jsx-runtime";var vp=e=>ff(o,{...e,children:ff("path",{d:"M5 14h14v-9h-14v16"})});import{jsx as gf}from"react/jsx-runtime";var Ip=e=>gf(o,{isFilled:!0,...e,children:gf("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 lr,jsxs as wC}from"react/jsx-runtime";var bp=e=>wC(o,{...e,children:[lr("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),lr("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),lr("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),lr("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),lr("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as vf}from"react/jsx-runtime";var yp=e=>vf(o,{...e,children:vf("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 Va,jsxs as kC}from"react/jsx-runtime";var Cp=e=>kC(o,{...e,children:[Va("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"}),Va("path",{d:"M1 12.5l7 0"}),Va("path",{d:"M1 12.5l2 2"}),Va("path",{d:"M1 12.5l2 -2"})]});import{jsx as Wa,jsxs as BC}from"react/jsx-runtime";var xp=e=>BC(o,{...e,children:[Wa("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"}),Wa("path",{d:"M2 13l7 0"}),Wa("path",{d:"M9 13l-2 2"}),Wa("path",{d:"M9 13l-2 -2"})]});import{jsx as If,jsxs as RC}from"react/jsx-runtime";var Pp=e=>RC(o,{...e,children:[If("path",{d:"M22 9l-10 -4l-10 4l10 4l10 -4v6"}),If("path",{d:"M6 10.6v5.4a6 3 0 0 0 12 0v-5.4"})]});import{jsx as rn,jsxs as DC}from"react/jsx-runtime";var Sp=e=>DC(o,{...e,children:[rn("path",{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),rn("path",{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),rn("path",{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),rn("path",{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),rn("path",{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),rn("path",{d:"M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as $a,jsxs as LC}from"react/jsx-runtime";var Mp=e=>LC(o,{...e,children:[$a("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),$a("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),$a("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),$a("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 an,jsxs as TC}from"react/jsx-runtime";var wp=e=>TC(o,{...e,children:[an("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),an("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),an("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),an("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v5"}),an("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"}),an("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 qa,jsxs as NC}from"react/jsx-runtime";var kp=e=>NC(o,{...e,children:[qa("path",{d:"M5 9l14 0"}),qa("path",{d:"M5 15l14 0"}),qa("path",{d:"M11 4l-4 16"}),qa("path",{d:"M17 4l-4 16"})]});import{jsx as Xa,jsxs as FC}from"react/jsx-runtime";var Bp=e=>FC(o,{...e,children:[Xa("path",{d:"M4 14v-3a8 8 0 1 1 16 0v3"}),Xa("path",{d:"M18 19c0 1.657 -2.686 3 -6 3"}),Xa("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"}),Xa("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 bf}from"react/jsx-runtime";var Rp=e=>bf(o,{...e,children:bf("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 yf}from"react/jsx-runtime";var Dp=e=>yf(o,{isFilled:!0,...e,children:yf("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 Lp,jsxs as EC}from"react/jsx-runtime";var Tp=e=>EC(o,{...e,children:[Lp("path",{d:"M5 12l-2 0l9 -9l9 9l-2 0"}),Lp("path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7"}),Lp("path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6"})]});import{jsx as Cf,jsxs as AC}from"react/jsx-runtime";var cr=e=>AC(o,{...e,children:[Cf("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"}),Cf("path",{d:"M16 15c-2.21 1.333 -5.792 1.333 -8 0"})]});import{jsx as Ka,jsxs as zC}from"react/jsx-runtime";var we=e=>zC(o,{...e,children:[Ka("path",{d:"M15 8h.01"}),Ka("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"}),Ka("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),Ka("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3"})]});import{jsx as sr,jsxs as OC}from"react/jsx-runtime";var Np=e=>OC(o,{...e,children:[sr("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"}),sr("path",{d:"M4 16l16 0"}),sr("path",{d:"M4 12l3 -3c.928 -.893 2.072 -.893 3 0l4 4"}),sr("path",{d:"M13 12l2 -2c.928 -.893 2.072 -.893 3 0l2 2"}),sr("path",{d:"M14 7l.01 0"})]});import{jsx as ir,jsxs as _C}from"react/jsx-runtime";var Fp=e=>_C(o,{...e,children:[ir("path",{d:"M15 8h.01"}),ir("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"}),ir("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l4 4"}),ir("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l.5 .5"}),ir("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as pr,jsxs as HC}from"react/jsx-runtime";var Ep=e=>HC(o,{...e,children:[pr("path",{d:"M15 8h.01"}),pr("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"}),pr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),pr("path",{d:"M16.33 12.338c.574 -.054 1.155 .166 1.67 .662l3 3"}),pr("path",{d:"M3 3l18 18"})]});import{jsx as xf,jsxs as UC}from"react/jsx-runtime";var Ap=e=>UC(o,{...e,children:[xf("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),xf("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 Pf,jsxs as GC}from"react/jsx-runtime";var zp=e=>GC(o,{...e,children:[Pf("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"}),Pf("path",{d:"M4 13h3l3 3h4l3 -3h3"})]});import{jsx as Op,jsxs as VC}from"react/jsx-runtime";var _p=e=>VC(o,{...e,children:[Op("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),Op("path",{d:"M12 9h.01"}),Op("path",{d:"M11 12h1v4h1"})]});import{jsx as Hp,jsxs as WC}from"react/jsx-runtime";var Up=e=>WC(o,{...e,children:[Hp("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"}),Hp("path",{d:"M12 9h.01"}),Hp("path",{d:"M11 12h1v4h1"})]});import{jsx as Gp,jsxs as $C}from"react/jsx-runtime";var Vp=e=>$C(o,{...e,children:[Gp("path",{d:"M11 5l6 0"}),Gp("path",{d:"M7 19l6 0"}),Gp("path",{d:"M14 5l-4 14"})]});import{jsx as Wp,jsxs as qC}from"react/jsx-runtime";var $p=e=>qC(o,{...e,children:[Wp("path",{d:"M12 4l-8 4l8 4l8 -4l-8 -4"}),Wp("path",{d:"M4 12l8 4l8 -4"}),Wp("path",{d:"M4 16l8 4l8 -4"})]});import{jsx as Sf,jsxs as XC}from"react/jsx-runtime";var qp=e=>XC(o,{...e,children:[Sf("path",{d:"M12 6l-8 4l8 4l8 -4l-8 -4"}),Sf("path",{d:"M4 14l8 4l8 -4"})]});import{jsx as Mf,jsxs as KC}from"react/jsx-runtime";var Xp=e=>KC(o,{...e,children:[Mf("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"}),Mf("path",{d:"M9 4l0 16"})]});import{jsx as Kp,jsxs as ZC}from"react/jsx-runtime";var Zp=e=>ZC(o,{...e,children:[Kp("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"}),Kp("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"}),Kp("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 Za,jsxs as QC}from"react/jsx-runtime";var Qp=e=>QC(o,{...e,children:[Za("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"}),Za("path",{d:"M4 9h8"}),Za("path",{d:"M12 15h8"}),Za("path",{d:"M12 4v16"})]});import{jsx as dr,jsxs as JC}from"react/jsx-runtime";var Jp=e=>JC(o,{...e,children:[dr("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"}),dr("path",{d:"M4 12h8"}),dr("path",{d:"M12 15h8"}),dr("path",{d:"M12 9h8"}),dr("path",{d:"M12 4v16"})]});import{jsx as Yp,jsxs as YC}from"react/jsx-runtime";var jp=e=>YC(o,{...e,children:[Yp("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"}),Yp("path",{d:"M10 4l4 16"}),Yp("path",{d:"M12 12l-8 2"})]});import{jsx as Qa,jsxs as jC}from"react/jsx-runtime";var ed=e=>jC(o,{...e,children:[Qa("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"}),Qa("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"}),Qa("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"}),Qa("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 ln,jsxs as ex}from"react/jsx-runtime";var td=e=>ex(o,{...e,children:[ln("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),ln("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),ln("path",{d:"M15 15l3.35 3.35"}),ln("path",{d:"M9 15l-3.35 3.35"}),ln("path",{d:"M5.65 5.65l3.35 3.35"}),ln("path",{d:"M18.35 5.65l-3.35 3.35"})]});import{jsx as od,jsxs as tx}from"react/jsx-runtime";var nd=e=>tx(o,{...e,children:[od("path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7"}),od("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"}),od("path",{d:"M9.7 17l4.6 0"})]});import{jsx as wf}from"react/jsx-runtime";var rd=e=>wf(o,{...e,children:wf("path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11"})});import{jsx as kf,jsxs as ox}from"react/jsx-runtime";var ad=e=>ox(o,{...e,children:[kf("path",{d:"M16 3l0 7l4 0l-6 11l0 -7l-4 0l6 -11"}),kf("path",{d:"M5 7h4M3 13h4M5 19h4"})]});import{jsx as Bf,jsxs as nx}from"react/jsx-runtime";var ld=e=>nx(o,{...e,children:[Bf("path",{d:"M4 19l16 0"}),Bf("path",{d:"M4 15l4 -6l4 2l4 -5l4 4"})]});import{jsx as cn,jsxs as rx}from"react/jsx-runtime";var cd=e=>rx(o,{...e,children:[cn("path",{d:"M3 3v18h18"}),cn("path",{d:"M20 18v3"}),cn("path",{d:"M16 16v5"}),cn("path",{d:"M12 13v8"}),cn("path",{d:"M8 16v5"}),cn("path",{d:"M3 11c6 0 5 -5 9 -5s3 5 9 5"})]});import{jsx as sn,jsxs as ax}from"react/jsx-runtime";var sd=e=>ax(o,{...e,children:[sn("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"}),sn("path",{d:"M3 13c0 0, 8 0, 12 -4"}),sn("path",{d:"M12 8h4v4"}),sn("path",{d:"M15 2v1.44"}),sn("path",{d:"M18.75 4.75l1.2 -1.2"}),sn("path",{d:"M20 9h1.44"})]});import{jsx as id,jsxs as lx}from"react/jsx-runtime";var pd=e=>lx(o,{...e,children:[id("path",{d:"M4 19l16 0"}),id("path",{d:"M4 16l6 -6l4 4l5 -5"}),id("path",{d:"M15 8h5v5"})]});import{jsx as Rf,jsxs as cx}from"react/jsx-runtime";var dd=e=>cx(o,{...e,children:[Rf("path",{d:"M5 10h14"}),Rf("path",{d:"M5 14h14"})]});import{jsx as pn,jsxs as sx}from"react/jsx-runtime";var md=e=>sx(o,{...e,children:[pn("path",{d:"M3.5 5.5l1.5 1.5l2.5 -2.5"}),pn("path",{d:"M3.5 11.5l1.5 1.5l2.5 -2.5"}),pn("path",{d:"M3.5 17.5l1.5 1.5l2.5 -2.5"}),pn("path",{d:"M11 6l9 0"}),pn("path",{d:"M11 12l9 0"}),pn("path",{d:"M11 18l9 0"})]});import{jsx as Ja,jsxs as ix}from"react/jsx-runtime";var ud=e=>ix(o,{...e,children:[Ja("path",{d:"M12 10v8l8 -4z"}),Ja("path",{d:"M4 6h16"}),Ja("path",{d:"M4 12h4.5"}),Ja("path",{d:"M4 18h4.5"})]});import{jsx as hd,jsxs as px}from"react/jsx-runtime";var fd=e=>px(o,{...e,children:[hd("path",{d:"M9 15l6 -6"}),hd("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),hd("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 Df,jsxs as dx}from"react/jsx-runtime";var gd=e=>dx(o,{...e,children:[Df("path",{d:"M9.183 6.117a6 6 0 1 0 4.511 3.986"}),Df("path",{d:"M14.813 17.883a6 6 0 1 0 -4.496 -3.954"})]});import{jsx as Ya,jsxs as mx}from"react/jsx-runtime";var vd=e=>mx(o,{...e,children:[Ya("path",{d:"M9 15l3 -3m2 -2l1 -1"}),Ya("path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464"}),Ya("path",{d:"M3 3l18 18"}),Ya("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 dn,jsxs as ux}from"react/jsx-runtime";var Id=e=>ux(o,{...e,children:[dn("path",{d:"M9 6l11 0"}),dn("path",{d:"M9 12l11 0"}),dn("path",{d:"M9 18l11 0"}),dn("path",{d:"M5 6l0 .01"}),dn("path",{d:"M5 12l0 .01"}),dn("path",{d:"M5 18l0 .01"})]});import{jsx as mr,jsxs as hx}from"react/jsx-runtime";var bd=e=>hx(o,{...e,children:[mr("path",{d:"M11 6h9"}),mr("path",{d:"M11 12h9"}),mr("path",{d:"M12 18h8"}),mr("path",{d:"M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4"}),mr("path",{d:"M6 10v-6l-2 2"})]});import{jsx as yd,jsxs as fx}from"react/jsx-runtime";var Cd=e=>fx(o,{...e,children:[yd("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"}),yd("path",{d:"M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),yd("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as Lf}from"react/jsx-runtime";var xd=e=>Lf(o,{isFilled:!0,...e,children:Lf("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 Pd,jsxs as gx}from"react/jsx-runtime";var Sd=e=>gx(o,{...e,children:[Pd("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"}),Pd("path",{d:"M3 12h13l-3 -3"}),Pd("path",{d:"M13 15l3 -3"})]});import{jsx as Md,jsxs as vx}from"react/jsx-runtime";var wd=e=>vx(o,{...e,children:[Md("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"}),Md("path",{d:"M9 12h12l-3 -3"}),Md("path",{d:"M18 15l3 -3"})]});import{jsx as kd,jsxs as Ix}from"react/jsx-runtime";var Bd=e=>Ix(o,{...e,children:[kd("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"}),kd("path",{d:"M15 12h-12l3 -3"}),kd("path",{d:"M6 15l-3 -3"})]});import{jsx as ja,jsxs as bx}from"react/jsx-runtime";var Rd=e=>bx(o,{...e,children:[ja("path",{d:"M6 21l15 -15l-3 -3l-15 15l3 3"}),ja("path",{d:"M15 6l3 3"}),ja("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"}),ja("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 Tf,jsxs as yx}from"react/jsx-runtime";var Dd=e=>yx(o,{...e,children:[Tf("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"}),Tf("path",{d:"M3 7l9 6l9 -6"})]});import{jsx as Nf,jsxs as Cx}from"react/jsx-runtime";var Ld=e=>Cx(o,{...e,children:[Nf("path",{d:"M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),Nf("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 el,jsxs as xx}from"react/jsx-runtime";var Td=e=>xx(o,{...e,children:[el("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),el("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),el("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),el("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as tl,jsxs as Px}from"react/jsx-runtime";var Nd=e=>Px(o,{...e,children:[tl("path",{d:"M16 4l4 0l0 4"}),tl("path",{d:"M14 10l6 -6"}),tl("path",{d:"M8 20l-4 0l0 -4"}),tl("path",{d:"M4 20l6 -6"})]});import{jsx as Ff}from"react/jsx-runtime";var Fd=e=>Ff(o,{...e,children:Ff("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 Ed,jsxs as Sx}from"react/jsx-runtime";var Ad=e=>Sx(o,{...e,children:[Ed("path",{d:"M8 9h8"}),Ed("path",{d:"M8 13h6"}),Ed("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 ol,jsxs as Mx}from"react/jsx-runtime";var zd=e=>Mx(o,{...e,children:[ol("path",{d:"M12 11v.01"}),ol("path",{d:"M8 11v.01"}),ol("path",{d:"M16 11v.01"}),ol("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 ur,jsxs as wx}from"react/jsx-runtime";var Od=e=>wx(o,{...e,children:[ur("path",{d:"M8 9h8"}),ur("path",{d:"M8 13h6"}),ur("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"}),ur("path",{d:"M22 22l-5 -5"}),ur("path",{d:"M17 22l5 -5"})]});import{jsx as nl,jsxs as kx}from"react/jsx-runtime";var hr=e=>kx(o,{...e,children:[nl("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"}),nl("path",{d:"M5 10a7 7 0 0 0 14 0"}),nl("path",{d:"M8 21l8 0"}),nl("path",{d:"M12 17l0 4"})]});import{jsx as rl,jsxs as Bx}from"react/jsx-runtime";var _d=e=>Bx(o,{...e,children:[rl("path",{d:"M15 19v-2a2 2 0 0 1 2 -2h2"}),rl("path",{d:"M15 5v2a2 2 0 0 0 2 2h2"}),rl("path",{d:"M5 15h2a2 2 0 0 1 2 2v2"}),rl("path",{d:"M5 9h2a2 2 0 0 0 2 -2v-2"})]});import{jsx as al,jsxs as Rx}from"react/jsx-runtime";var Hd=e=>Rx(o,{...e,children:[al("path",{d:"M18 10h-4v-4"}),al("path",{d:"M20 4l-6 6"}),al("path",{d:"M6 14h4v4"}),al("path",{d:"M10 14l-6 6"})]});import{jsx as Ef,jsxs as Dx}from"react/jsx-runtime";var Ud=e=>Dx(o,{...e,children:[Ef("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Ef("path",{d:"M9 12l6 0"})]});import{jsx as Gd,jsxs as Lx}from"react/jsx-runtime";var Vd=e=>Lx(o,{...e,children:[Gd("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"}),Gd("path",{d:"M11 4h2"}),Gd("path",{d:"M12 17v.01"})]});import{jsx as ll,jsxs as Tx}from"react/jsx-runtime";var Wd=e=>Tx(o,{...e,children:[ll("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"}),ll("path",{d:"M7 20h10"}),ll("path",{d:"M9 16v4"}),ll("path",{d:"M15 16v4"})]});import{jsx as fr,jsxs as Nx}from"react/jsx-runtime";var $d=e=>Nx(o,{...e,children:[fr("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"}),fr("path",{d:"M3 13h18"}),fr("path",{d:"M8 21h8"}),fr("path",{d:"M10 17l-.5 4"}),fr("path",{d:"M14 17l.5 4"})]});import{jsx as Af}from"react/jsx-runtime";var qd=e=>Af(o,{...e,children:Af("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 zf,jsxs as Fx}from"react/jsx-runtime";var Xd=e=>Fx(o,{...e,children:[zf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),zf("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 Ht,jsxs as Ex}from"react/jsx-runtime";var Ye=e=>Ex(o,{...e,children:[Ht("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"}),Ht("path",{d:"M8 4l0 16"}),Ht("path",{d:"M16 4l0 16"}),Ht("path",{d:"M4 8l4 0"}),Ht("path",{d:"M4 16l4 0"}),Ht("path",{d:"M4 12l16 0"}),Ht("path",{d:"M16 8l4 0"}),Ht("path",{d:"M16 16l4 0"})]});import{jsx as Of}from"react/jsx-runtime";var Kd=e=>Of(o,{...e,children:Of("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 _f,jsxs as Ax}from"react/jsx-runtime";var Zd=e=>Ax(o,{...e,children:[_f("path",{d:"M10 6h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3"}),_f("path",{d:"M17 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"})]});import{jsx as gr,jsxs as zx}from"react/jsx-runtime";var Qd=e=>zx(o,{...e,children:[gr("path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5"}),gr("path",{d:"M12 12l8 -4.5"}),gr("path",{d:"M12 12l0 9"}),gr("path",{d:"M12 12l-8 -4.5"}),gr("path",{d:"M16 5.25l-8 4.5"})]});import{jsx as cl,jsxs as Ox}from"react/jsx-runtime";var Jd=e=>Ox(o,{...e,children:[cl("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"}),cl("path",{d:"M8.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cl("path",{d:"M12.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),cl("path",{d:"M16.5 10.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as vr,jsxs as _x}from"react/jsx-runtime";var Yd=e=>_x(o,{...e,children:[vr("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"}),vr("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"}),vr("path",{d:"M15 16h.01"}),vr("path",{d:"M12.01 16h.01"}),vr("path",{d:"M9.02 16h.01"})]});import{jsx as Hf,jsxs as Hx}from"react/jsx-runtime";var ho=e=>Hx(o,{...e,children:[Hf("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"}),Hf("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 jd,jsxs as Ux}from"react/jsx-runtime";var em=e=>Ux(o,{...e,children:[jd("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),jd("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"}),jd("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 tm,jsxs as Gx}from"react/jsx-runtime";var om=e=>Gx(o,{...e,children:[tm("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"}),tm("path",{d:"M18 8v-3a1 1 0 0 0 -1 -1h-13a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h9"}),tm("path",{d:"M16 9h2"})]});import{jsx as nm,jsxs as Vx}from"react/jsx-runtime";var rm=e=>Vx(o,{...e,children:[nm("path",{d:"M14 6l7 7l-4 4"}),nm("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"}),nm("path",{d:"M4 20l1.768 -1.768"})]});import{jsx as sl,jsxs as Wx}from"react/jsx-runtime";var am=e=>Wx(o,{...e,children:[sl("path",{d:"M9 15l6 -6"}),sl("circle",{cx:"9.5",cy:"9.5",r:".5",fill:"currentColor"}),sl("circle",{cx:"14.5",cy:"14.5",r:".5",fill:"currentColor"}),sl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Uf}from"react/jsx-runtime";var lm=e=>Uf(o,{...e,children:Uf("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 cm,jsxs as $x}from"react/jsx-runtime";var sm=e=>$x(o,{...e,children:[cm("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"}),cm("path",{d:"M15 7a2 2 0 0 1 2 2"}),cm("path",{d:"M15 3a6 6 0 0 1 6 6"})]});import{jsx as im,jsxs as qx}from"react/jsx-runtime";var Ir=e=>qx(o,{...e,children:[im("path",{d:"M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4"}),im("path",{d:"M9 15l-4.5 4.5"}),im("path",{d:"M14.5 4l5.5 5.5"})]});import{jsx as Gf}from"react/jsx-runtime";var fo=e=>Gf(o,{...e,children:Gf("path",{d:"M7 4v16l13 -8z"})});import{jsx as Vf,jsxs as Xx}from"react/jsx-runtime";var pm=e=>Xx(o,{...e,children:[Vf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Vf("path",{d:"M9 8v8l8 -4z"})]});import{jsx as Wf,jsxs as Kx}from"react/jsx-runtime";var dm=e=>Kx(o,{...e,children:[Wf("path",{d:"M12 5l0 14"}),Wf("path",{d:"M5 12l14 0"})]});import{jsx as mm,jsxs as Zx}from"react/jsx-runtime";var Ut=e=>Zx(o,{...e,children:[mm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),mm("path",{d:"M9 12h6"}),mm("path",{d:"M12 9v6"})]});import{jsx as um,jsxs as Qx}from"react/jsx-runtime";var hm=e=>Qx(o,{...e,children:[um("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"}),um("path",{d:"M17 9v-4a2 2 0 0 0 -2 -2h-6a2 2 0 0 0 -2 2v4"}),um("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 $f}from"react/jsx-runtime";var fm=e=>$f(o,{...e,children:$f("path",{d:"M3 12h4l3 8l4 -16l3 8h4"})});import{jsx as gm,jsxs as Jx}from"react/jsx-runtime";var br=e=>Jx(o,{...e,children:[gm("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),gm("path",{d:"M12 16v.01"}),gm("path",{d:"M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483"})]});import{jsx as qf,jsxs as Yx}from"react/jsx-runtime";var vm=e=>Yx(o,{...e,children:[qf("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"}),qf("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 Xf,jsxs as jx}from"react/jsx-runtime";var Im=e=>jx(o,{...e,children:[Xf("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Xf("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Kf}from"react/jsx-runtime";var bm=e=>Kf(o,{isFilled:!0,...e,children:Kf("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 Zf}from"react/jsx-runtime";var ym=e=>Zf(o,{...e,children:Zf("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 Qf,jsxs as eP}from"react/jsx-runtime";var Cm=e=>eP(o,{...e,children:[Qf("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"}),Qf("path",{d:"M9 11l2 2l4 -4"})]});import{jsx as Jf,jsxs as tP}from"react/jsx-runtime";var xm=e=>tP(o,{...e,children:[Jf("path",{d:"M15 14l4 -4l-4 -4"}),Jf("path",{d:"M19 10h-11a4 4 0 1 0 0 8h1"})]});import{jsx as Yf}from"react/jsx-runtime";var Pm=e=>Yf(o,{...e,children:Yf("path",{d:"M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5"})});import{jsx as jf,jsxs as oP}from"react/jsx-runtime";var Sm=e=>oP(o,{...e,children:[jf("path",{d:"M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4"}),jf("path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"})]});import{jsx as e2,jsxs as nP}from"react/jsx-runtime";var Mm=e=>nP(o,{...e,children:[e2("path",{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747"}),e2("path",{d:"M20 4v5h-5"})]});import{jsx as t2,jsxs as rP}from"react/jsx-runtime";var wm=e=>rP(o,{...e,children:[t2("path",{d:"M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3"}),t2("path",{d:"M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3"})]});import{jsx as il,jsxs as aP}from"react/jsx-runtime";var km=e=>aP(o,{...e,children:[il("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"}),il("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"}),il("path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3"}),il("path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3"})]});import{jsx as o2}from"react/jsx-runtime";var Bm=e=>o2(o,{...e,children:o2("path",{d:"M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5"})});import{jsx as Rm,jsxs as lP}from"react/jsx-runtime";var Dm=e=>lP(o,{...e,children:[Rm("path",{d:"M3.06 13a9 9 0 1 0 .49 -4.087"}),Rm("path",{d:"M3 4.001v5h5"}),Rm("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as Lm,jsxs as cP}from"react/jsx-runtime";var Tm=e=>cP(o,{...e,children:[Lm("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"}),Lm("path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3"}),Lm("path",{d:"M15 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"})]});import{jsx as n2,jsxs as sP}from"react/jsx-runtime";var Nm=e=>sP(o,{...e,children:[n2("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"}),n2("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 r2,jsxs as iP}from"react/jsx-runtime";var Fm=e=>iP(o,{...e,children:[r2("path",{d:"M12 3v9h9"}),r2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Em,jsxs as pP}from"react/jsx-runtime";var Am=e=>pP(o,{...e,children:[Em("path",{d:"M3 19a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"}),Em("path",{d:"M19 7a2 2 0 1 0 0 -4a2 2 0 0 0 0 4z"}),Em("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 zm,jsxs as dP}from"react/jsx-runtime";var Om=e=>dP(o,{...e,children:[zm("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"}),zm("path",{d:"M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),zm("path",{d:"M14 4l0 4l-6 0l0 -4"})]});import{jsx as Gt,jsxs as mP}from"react/jsx-runtime";var _m=e=>mP(o,{...e,children:[Gt("path",{d:"M4 7v-1a2 2 0 0 1 2 -2h2"}),Gt("path",{d:"M4 17v1a2 2 0 0 0 2 2h2"}),Gt("path",{d:"M16 4h2a2 2 0 0 1 2 2v1"}),Gt("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-1"}),Gt("path",{d:"M5 11h1v2h-1z"}),Gt("path",{d:"M10 11l0 2"}),Gt("path",{d:"M14 11h1v2h-1z"}),Gt("path",{d:"M19 11l0 2"})]});import{jsx as pl,jsxs as uP}from"react/jsx-runtime";var yr=e=>uP(o,{...e,children:[pl("path",{d:"M6 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),pl("path",{d:"M6 17m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),pl("path",{d:"M8.6 8.6l10.4 10.4"}),pl("path",{d:"M8.6 15.4l10.4 -10.4"})]});import{jsx as a2,jsxs as hP}from"react/jsx-runtime";var go=e=>hP(o,{...e,children:[a2("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),a2("path",{d:"M21 21l-6 -6"})]});import{jsx as l2,jsxs as fP}from"react/jsx-runtime";var Hm=e=>fP(o,{...e,children:[l2("path",{d:"M10 14l11 -11"}),l2("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 dl,jsxs as gP}from"react/jsx-runtime";var Um=e=>gP(o,{...e,children:[dl("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"}),dl("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"}),dl("path",{d:"M7 8l0 .01"}),dl("path",{d:"M7 16l0 .01"})]});import{jsx as c2,jsxs as vP}from"react/jsx-runtime";var Gm=e=>vP(o,{...e,children:[c2("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"}),c2("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"})]});import{jsx as Ct,jsxs as IP}from"react/jsx-runtime";var Vm=e=>IP(o,{...e,children:[Ct("path",{d:"M14 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ct("path",{d:"M4 6l8 0"}),Ct("path",{d:"M16 6l4 0"}),Ct("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ct("path",{d:"M4 12l2 0"}),Ct("path",{d:"M10 12l10 0"}),Ct("path",{d:"M17 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),Ct("path",{d:"M4 18l11 0"}),Ct("path",{d:"M19 18l1 0"})]});import{jsx as Cr,jsxs as bP}from"react/jsx-runtime";var Wm=e=>bP(o,{...e,children:[Cr("path",{d:"M6 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Cr("path",{d:"M18 6m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Cr("path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),Cr("path",{d:"M8.7 10.7l6.6 -3.4"}),Cr("path",{d:"M8.7 13.3l6.6 3.4"})]});import{jsx as s2,jsxs as yP}from"react/jsx-runtime";var $m=e=>yP(o,{...e,children:[s2("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"}),s2("path",{d:"M19 16l-2 3h4l-2 3"})]});import{jsx as qm,jsxs as CP}from"react/jsx-runtime";var Xm=e=>CP(o,{...e,children:[qm("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"}),qm("path",{d:"M16 19h6"}),qm("path",{d:"M19 16v6"})]});import{jsx as Km,jsxs as xP}from"react/jsx-runtime";var Zm=e=>xP(o,{...e,children:[Km("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"}),Km("path",{d:"M22 22l-5 -5"}),Km("path",{d:"M17 22l5 -5"})]});import{jsx as i2,jsxs as PP}from"react/jsx-runtime";var Qm=e=>PP(o,{...e,children:[i2("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"}),i2("path",{d:"M9 11v-5a3 3 0 0 1 6 0v5"})]});import{jsx as ml,jsxs as SP}from"react/jsx-runtime";var Jm=e=>SP(o,{...e,children:[ml("path",{d:"M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),ml("path",{d:"M17 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),ml("path",{d:"M17 17h-11v-14h-2"}),ml("path",{d:"M6 5l14 1l-1 7h-13"})]});import{jsx as Vt,jsxs as MP}from"react/jsx-runtime";var Ym=e=>MP(o,{...e,children:[Vt("path",{d:"M5 9l4 0l0 -4"}),Vt("path",{d:"M3 3l6 6"}),Vt("path",{d:"M5 15l4 0l0 4"}),Vt("path",{d:"M3 21l6 -6"}),Vt("path",{d:"M19 9l-4 0l0 -4"}),Vt("path",{d:"M15 9l6 -6"}),Vt("path",{d:"M19 15l-4 0l0 4"}),Vt("path",{d:"M15 15l6 6"})]});import{jsx as ul,jsxs as wP}from"react/jsx-runtime";var jm=e=>wP(o,{...e,children:[ul("path",{d:"M18 4l3 3l-3 3"}),ul("path",{d:"M18 20l3 -3l-3 -3"}),ul("path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5"}),ul("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 p2,jsxs as kP}from"react/jsx-runtime";var eu=e=>kP(o,{...e,children:[p2("path",{d:"M4 5v14l12 -7z"}),p2("path",{d:"M20 5l0 14"})]});import{jsx as d2,jsxs as BP}from"react/jsx-runtime";var tu=e=>BP(o,{...e,children:[d2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),d2("path",{d:"M5.7 5.7l12.6 12.6"})]});import{jsx as m2,jsxs as RP}from"react/jsx-runtime";var ou=e=>RP(o,{...e,children:[m2("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"}),m2("path",{d:"M5 5 L19 19"})]});import{jsx as vo,jsxs as DP}from"react/jsx-runtime";var nu=e=>DP(o,{...e,children:[vo("path",{d:"M4 10l0 6"}),vo("path",{d:"M20 10l0 6"}),vo("path",{d:"M7 9h10v8a1 1 0 0 1 -1 1h-8a1 1 0 0 1 -1 -1v-8a5 5 0 0 1 10 0"}),vo("path",{d:"M8 3l1 2"}),vo("path",{d:"M16 3l-1 2"}),vo("path",{d:"M9 18l0 3"}),vo("path",{d:"M15 18l0 3"})]});import{jsx as u2,jsxs as LP}from"react/jsx-runtime";var ru=e=>LP(o,{...e,children:[u2("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"}),u2("path",{d:"M12 4a2 2 0 0 0 2 -2a2 2 0 0 0 -2 2"})]});import{jsx as h2}from"react/jsx-runtime";var au=e=>h2(o,{...e,children:h2("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 xr,jsxs as TP}from"react/jsx-runtime";var lu=e=>TP(o,{...e,children:[xr("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),xr("path",{d:"M3.6 9h16.8"}),xr("path",{d:"M3.6 15h16.8"}),xr("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),xr("path",{d:"M12.5 3a17 17 0 0 1 0 18"})]});import{jsx as f2}from"react/jsx-runtime";var cu=e=>f2(o,{...e,children:f2("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 su,jsxs as NP}from"react/jsx-runtime";var iu=e=>NP(o,{...e,children:[su("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"}),su("path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),su("path",{d:"M16.5 7.5v.01"})]});import{jsx as Pr,jsxs as FP}from"react/jsx-runtime";var pu=e=>FP(o,{...e,children:[Pr("path",{d:"M8 11v5"}),Pr("path",{d:"M8 8v.01"}),Pr("path",{d:"M12 16v-5"}),Pr("path",{d:"M16 16v-3a2 2 0 1 0 -4 0"}),Pr("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 du,jsxs as EP}from"react/jsx-runtime";var mu=e=>EP(o,{...e,children:[du("path",{d:"M14 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),du("path",{d:"M12 9.765a3 3 0 1 0 0 4.47"}),du("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 Io,jsxs as AP}from"react/jsx-runtime";var uu=e=>AP(o,{...e,children:[Io("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"}),Io("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"}),Io("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"}),Io("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"}),Io("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"}),Io("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"}),Io("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"})]});import{jsx as Sr,jsxs as zP}from"react/jsx-runtime";var hu=e=>zP(o,{...e,children:[Sr("path",{d:"M21 15l-1 -6l-2.5 6"}),Sr("path",{d:"M9 15l1 -6"}),Sr("path",{d:"M3 9h1v6h.5l2.5 -6"}),Sr("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"}),Sr("path",{d:"M18 14h2.7"})]});import{jsx as g2,jsxs as OP}from"react/jsx-runtime";var fu=e=>OP(o,{...e,children:[g2("path",{d:"M4 4l11.733 16h4.267l-11.733 -16z"}),g2("path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772"})]});import{jsx as hl,jsxs as _P}from"react/jsx-runtime";var gu=e=>_P(o,{...e,children:[hl("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),hl("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),hl("path",{d:"M13.41 10.59l2.59 -2.59"}),hl("path",{d:"M7 12a5 5 0 0 1 5 -5"})]});import{jsx as v2}from"react/jsx-runtime";var vu=e=>v2(o,{...e,children:v2("path",{d:"M22 5h-5v5h-5v5h-5v5h-5"})});import{jsx as I2}from"react/jsx-runtime";var Mr=e=>I2(o,{...e,children:I2("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 b2}from"react/jsx-runtime";var Iu=e=>b2(o,{isFilled:!0,...e,children:b2("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 y2}from"react/jsx-runtime";var bu=e=>y2(o,{isFilled:!0,...e,children:y2("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 C2}from"react/jsx-runtime";var yu=e=>C2(o,{...e,children:C2("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 x2}from"react/jsx-runtime";var wr=e=>x2(o,{...e,children:x2("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 P2,jsxs as HP}from"react/jsx-runtime";var Cu=e=>HP(o,{...e,children:[P2("path",{d:"M5 12l14 0"}),P2("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 S2,jsxs as UP}from"react/jsx-runtime";var xu=e=>UP(o,{...e,children:[S2("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),S2("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 M2,jsxs as GP}from"react/jsx-runtime";var Pu=e=>GP(o,{...e,children:[M2("path",{d:"M7 10h14l-4 -4"}),M2("path",{d:"M17 14h-14l4 4"})]});import{jsx as fl,jsxs as VP}from"react/jsx-runtime";var Su=e=>VP(o,{...e,children:[fl("path",{d:"M16 3l4 4l-4 4"}),fl("path",{d:"M10 7l10 0"}),fl("path",{d:"M8 13l-4 4l4 4"}),fl("path",{d:"M4 17l9 0"})]});import{jsx as Mu,jsxs as WP}from"react/jsx-runtime";var wu=e=>WP(o,{...e,children:[Mu("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"}),Mu("path",{d:"M3 10h18"}),Mu("path",{d:"M10 3v18"})]});import{jsx as w2,jsxs as $P}from"react/jsx-runtime";var ku=e=>$P(o,{...e,children:[w2("path",{d:"M7.5 7.5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),w2("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 mn,jsxs as qP}from"react/jsx-runtime";var Bu=e=>qP(o,{...e,children:[mn("path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),mn("path",{d:"M12 12m-8 0a8 8 0 1 0 16 0a8 8 0 1 0 -16 0"}),mn("path",{d:"M12 2l0 2"}),mn("path",{d:"M12 20l0 2"}),mn("path",{d:"M20 12l2 0"}),mn("path",{d:"M2 12l2 0"})]});import{jsx as Ru,jsxs as XP}from"react/jsx-runtime";var Du=e=>XP(o,{...e,children:[Ru("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),Ru("path",{d:"M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0"}),Ru("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"})]});import{jsx as Lu,jsxs as KP}from"react/jsx-runtime";var Tu=e=>KP(o,{...e,children:[Lu("path",{d:"M9 15v-7a3 3 0 0 1 6 0v7"}),Lu("path",{d:"M9 11h6"}),Lu("path",{d:"M5 19h14"})]});import{jsx as k2,jsxs as ZP}from"react/jsx-runtime";var Nu=e=>ZP(o,{...e,children:[k2("path",{d:"M6 4l12 0"}),k2("path",{d:"M12 4l0 16"})]});import{jsx as gl,jsxs as QP}from"react/jsx-runtime";var Fu=e=>QP(o,{...e,children:[gl("path",{d:"M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4"}),gl("path",{d:"M12.5 5.5l4 4"}),gl("path",{d:"M4.5 13.5l4 4"}),gl("path",{d:"M21 15v4h-8l4 -4z"})]});import{jsx as B2}from"react/jsx-runtime";var Eu=e=>B2(o,{...e,children:B2("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 R2}from"react/jsx-runtime";var Au=e=>R2(o,{...e,children:R2("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 D2,jsxs as JP}from"react/jsx-runtime";var zu=e=>JP(o,{isFilled:!0,...e,children:[D2("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"}),D2("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 L2,jsxs as YP}from"react/jsx-runtime";var Ou=e=>YP(o,{...e,children:[L2("path",{d:"M8 12m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"}),L2("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 un,jsxs as jP}from"react/jsx-runtime";var _u=e=>jP(o,{...e,children:[un("path",{d:"M9 6.371c0 4.418 -2.239 6.629 -5 6.629"}),un("path",{d:"M4 6.371h7"}),un("path",{d:"M5 9c0 2.144 2.252 3.908 6 4"}),un("path",{d:"M12 20l4 -9l4 9"}),un("path",{d:"M19.1 18h-6.2"}),un("path",{d:"M6.694 3l.793 .582"})]});import{jsx as kr,jsxs as eS}from"react/jsx-runtime";var Ve=e=>eS(o,{...e,children:[kr("path",{d:"M4 7l16 0"}),kr("path",{d:"M10 11l0 6"}),kr("path",{d:"M14 11l0 6"}),kr("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),kr("path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"})]});import{jsx as T2,jsxs as tS}from"react/jsx-runtime";var Hu=e=>tS(o,{...e,children:[T2("path",{d:"M3 17l6 -6l4 4l8 -8"}),T2("path",{d:"M14 7l7 0l0 7"})]});import{jsx as N2,jsxs as oS}from"react/jsx-runtime";var Uu=e=>oS(o,{...e,children:[N2("path",{d:"M7 5v5a5 5 0 0 0 10 0v-5"}),N2("path",{d:"M5 19h14"})]});import{jsx as F2,jsxs as nS}from"react/jsx-runtime";var Gu=e=>nS(o,{...e,children:[F2("path",{d:"M9 14l-4 -4l4 -4"}),F2("path",{d:"M5 10h11a4 4 0 1 1 0 8h-1"})]});import{jsx as Vu,jsxs as rS}from"react/jsx-runtime";var Wu=e=>rS(o,{...e,children:[Vu("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"}),Vu("path",{d:"M9 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0"}),Vu("path",{d:"M13 11v-4a4 4 0 1 1 8 0v4"})]});import{jsx as $u,jsxs as aS}from"react/jsx-runtime";var bo=e=>aS(o,{...e,children:[$u("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"}),$u("path",{d:"M9 15l3 -3l3 3"}),$u("path",{d:"M12 12l0 9"})]});import{jsx as E2,jsxs as lS}from"react/jsx-runtime";var Br=e=>lS(o,{...e,children:[E2("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),E2("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"})]});import{jsx as qu,jsxs as cS}from"react/jsx-runtime";var Xu=e=>cS(o,{...e,children:[qu("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),qu("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"}),qu("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as vl,jsxs as sS}from"react/jsx-runtime";var Ku=e=>sS(o,{...e,children:[vl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),vl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),vl("path",{d:"M21 15h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3h-2.5"}),vl("path",{d:"M19 21v1m0 -8v1"})]});import{jsx as Zu,jsxs as iS}from"react/jsx-runtime";var Qu=e=>iS(o,{...e,children:[Zu("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Zu("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3.5"}),Zu("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 Il,jsxs as pS}from"react/jsx-runtime";var Ju=e=>pS(o,{...e,children:[Il("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Il("path",{d:"M16 19h6"}),Il("path",{d:"M19 16v6"}),Il("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4"})]});import{jsx as bl,jsxs as dS}from"react/jsx-runtime";var Yu=e=>dS(o,{...e,children:[bl("path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),bl("path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3"}),bl("path",{d:"M16 22l5 -5"}),bl("path",{d:"M21 21.5v-4.5h-4.5"})]});import{jsx as yl,jsxs as mS}from"react/jsx-runtime";var ju=e=>mS(o,{...e,children:[yl("path",{d:"M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),yl("path",{d:"M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"}),yl("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),yl("path",{d:"M21 21v-2a4 4 0 0 0 -3 -3.85"})]});import{jsx as e1,jsxs as uS}from"react/jsx-runtime";var t1=e=>uS(o,{...e,children:[e1("path",{d:"M9 10a3 3 0 1 0 6 0a3 3 0 0 0 -6 0"}),e1("path",{d:"M6 21v-1a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v1"}),e1("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 Rr,jsxs as hS}from"react/jsx-runtime";var o1=e=>hS(o,{...e,children:[Rr("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Rr("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h6"}),Rr("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Rr("path",{d:"M19 22v-6"}),Rr("path",{d:"M22 19l-3 -3l-3 3"})]});import{jsx as A2,jsxs as fS}from"react/jsx-runtime";var n1=e=>fS(o,{...e,children:[A2("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"}),A2("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 r1,jsxs as gS}from"react/jsx-runtime";var a1=e=>gS(o,{...e,children:[r1("path",{d:"M12 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),r1("path",{d:"M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),r1("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 l1,jsxs as vS}from"react/jsx-runtime";var c1=e=>vS(o,{...e,children:[l1("path",{d:"M15 8a5 5 0 0 1 0 8"}),l1("path",{d:"M17.7 5a9 9 0 0 1 0 14"}),l1("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 z2,jsxs as IS}from"react/jsx-runtime";var s1=e=>IS(o,{...e,children:[z2("path",{d:"M15 8a5 5 0 0 1 0 8"}),z2("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 O2,jsxs as bS}from"react/jsx-runtime";var i1=e=>bS(o,{...e,children:[O2("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"}),O2("path",{d:"M16 10l4 4m0 -4l-4 4"})]});import{jsx as _2}from"react/jsx-runtime";var p1=e=>_2(o,{...e,children:_2("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 H2,jsxs as yS}from"react/jsx-runtime";var Be=e=>yS(o,{...e,children:[H2("path",{d:"M18 6l-12 12"}),H2("path",{d:"M6 6l12 12"})]});import{jsx as U2,jsxs as CS}from"react/jsx-runtime";var d1=e=>CS(o,{...e,children:[U2("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),U2("path",{d:"M10 10l4 4m0 -4l-4 4"})]});import{jsx as G2}from"react/jsx-runtime";var m1=e=>G2(o,{isFilled:!0,...e,children:G2("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 V2,jsxs as xS}from"react/jsx-runtime";var u1=e=>xS(o,{...e,children:[V2("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"}),V2("path",{d:"M9 9l6 6m0 -6l-6 6"})]});import{jsx as Cl,jsxs as PS}from"react/jsx-runtime";var h1=e=>PS(o,{...e,children:[Cl("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),Cl("path",{d:"M7 10l6 0"}),Cl("path",{d:"M10 7l0 6"}),Cl("path",{d:"M21 21l-6 -6"})]});import{jsx as f1,jsxs as SS}from"react/jsx-runtime";var g1=e=>SS(o,{...e,children:[f1("path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"}),f1("path",{d:"M7 10l6 0"}),f1("path",{d:"M21 21l-6 -6"})]});var Dr=(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))(Dr||{});import{jsx as m}from"react/jsx-runtime";function Ee({name:e,...t}){switch(e){case"48AlertFeatured":return m(Gc,{...t});case"48SuccessFeatured":return m(Vc,{...t});case"AlertCircle":return m(so,{...t});case"AlertOctagon":return m($c,{...t});case"AlertTriangle":return m(Xc,{...t});case"ArrowBarDown":return m(Jc,{...t});case"ArrowBarLeft":return m(Yc,{...t});case"ArrowBarRight":return m(jc,{...t});case"ArrowBarToDown":return m(es,{...t});case"ArrowBarToLeft":return m(ts,{...t});case"ArrowBarToRight":return m(os,{...t});case"ArrowBarToUp":return m(ns,{...t});case"ArrowBarUp":return m(rs,{...t});case"Apps":return m(Kc,{...t});case"Archive":return m(Qc,{...t});case"ArrowDown":return m(ls,{...t});case"ArrowDownLeft":return m(cs,{...t});case"ArrowDownNarrow":return m(is,{...t});case"ArrowDownRight":return m(ps,{...t});case"ArrowLeft":return m(ms,{...t});case"ArrowLeftNarrow":return m(hs,{...t});case"ArrowRight":return m(gs,{...t});case"ArrowRightNarrow":return m(Is,{...t});case"ArrowUp":return m(ys,{...t});case"ArrowUpLeft":return m(Cs,{...t});case"ArrowUpNarrow":return m(Ps,{...t});case"ArrowUpRight":return m(Ss,{...t});case"Attachment":return m(Ms,{...t});case"BarChart":return m(ws,{...t});case"BarChartSquare":return m(ks,{...t});case"Bell":return m(Bs,{...t});case"Bold":return m(Rs,{...t});case"BookOpen":return m(Es,{...t});case"Bookmark":return m(Ds,{...t});case"BookmarkCheck":return m(Ec,{...t});case"BookmarkCheckFill":return m(Ac,{...t});case"BookmarkFill":return m(Ls,{...t});case"BookmarkMinus":return m(Ts,{...t});case"BookmarkPlus":return m(Oc,{...t});case"BookmarkX":return m(Fs,{...t});case"BoxLines":return m(As,{...t});case"BoxText":return m(Os,{...t});case"BracketsCheck":return m(Hs,{...t});case"BracketsEllipses":return m(Us,{...t});case"BrickWall":return m(Gs,{...t});case"Briefcase":return m(Vs,{...t});case"Building":return m(_c,{...t});case"Calculator":return m(Ws,{...t});case"Calendar":return m($n,{...t});case"Certificate":return m($s,{...t});case"Check":return m(gt,{...t});case"CheckCircle":return m(io,{...t});case"CheckCircleBroken":return m(qs,{...t});case"CheckFill":return m(Xs,{...t});case"CheckVerified":return m(Ks,{...t});case"CheckVerifiedFill":return m(Zs,{...t});case"ChevronDown":return m(Qs,{...t});case"ChevronDownDouble":return m(Js,{...t});case"ChevronDownLeft":return m(Ys,{...t});case"ChevronDownLeftDouble":return m(js,{...t});case"ChevronDownRight":return m(ei,{...t});case"ChevronDownRightDouble":return m(ti,{...t});case"ChevronLeft":return m(vt,{...t});case"ChevronLeftDouble":return m(oi,{...t});case"ChevronRight":return m(Je,{...t});case"ChevronRightDouble":return m(qn,{...t});case"ChevronSelectorVertical":return m(ni,{...t});case"ChevronUp":return m(It,{...t});case"ChevronUpDouble":return m(ri,{...t});case"ChevronUpLeft":return m(ai,{...t});case"ChevronUpLeftDouble":return m(li,{...t});case"ChevronUpRight":return m(ci,{...t});case"ChevronUpRightDouble":return m(si,{...t});case"Click":return m(ii,{...t});case"Clock":return m(pi,{...t});case"ClockFastForward":return m(di,{...t});case"ClockPlay":return m(ui,{...t});case"ClockRewind":return m(hi,{...t});case"Clone":return m(fi,{...t});case"Code":return m(vi,{...t});case"CodeBrowser":return m(Ii,{...t});case"CodeCircle":return m(yi,{...t});case"Colors":return m(xi,{...t});case"ColumnEdit":return m(Hc,{...t});case"Copy":return m(Pi,{...t});case"Copy2":return m(Si,{...t});case"CopyCheck":return m(wi,{...t});case"Files":return m(mp,{...t});case"CreditCard":return m(ki,{...t});case"Cube":return m(Bi,{...t});case"CubeOutline":return m(Ri,{...t});case"CursorBox":return m(Kn,{...t});case"Dataflow":return m(Di,{...t});case"Dataflow2":return m(Li,{...t});case"Dataflow3":return m(Ti,{...t});case"DistributeHorizontal":return m(Fi,{...t});case"Dollar":return m(Ei,{...t});case"DollarCircle":return m(zi,{...t});case"Dot":return m(Oi,{...t});case"DotFill":return m(_i,{...t});case"DotsGrid":return m(Hi,{...t});case"DotsHorizontal":return m(Gi,{...t});case"DotsVertical":return m(jo,{...t});case"Download":return m($i,{...t});case"Edit":return m(qi,{...t});case"Editable":return m(Ki,{...t});case"Expand":return m(Zi,{...t});case"ExternalLink":return m(Ji,{...t});case"ExternalLink2":return m(ji,{...t});case"Eye":return m(ep,{...t});case"EyeHidden":return m(op,{...t});case"EyeHidden2":return m(np,{...t});case"FaceAngry":return m(rp,{...t});case"FaceLaugh":return m(ap,{...t});case"FaceSmile":return m(lp,{...t});case"File":return m(mo,{...t});case"FileCheck":return m(sp,{...t});case"FileCsv":return m(Yn,{...t});case"FileDownload":return m(ip,{...t});case"FileJson":return m(jn,{...t});case"FileList":return m(pp,{...t});case"FileMusic":return m(Ge,{...t});case"FilePdf":return m(uo,{...t});case"FileSpreadsheet":return m(tr,{...t});case"FileText":return m(yt,{...t});case"FileUpload":return m(up,{...t});case"FileXls":return m(nr,{...t});case"FileXlsx":return m(rr,{...t});case"FileZip":return m(ot,{...t});case"Filter":return m(hp,{...t});case"Filter2":return m(ar,{...t});case"Flag":return m(gp,{...t});case"Flag2":return m(vp,{...t});case"FlagFill":return m(Ip,{...t});case"Focus":return m(bp,{...t});case"Folder":return m(yp,{...t});case"FolderExport":return m(Cp,{...t});case"FolderImport":return m(xp,{...t});case"GraduationCap":return m(Pp,{...t});case"GripVertical":return m(Sp,{...t});case"Hand":return m(Mp,{...t});case"HandShield":return m(wp,{...t});case"Hash":return m(kp,{...t});case"HeadsetMic":return m(Bp,{...t});case"Heart":return m(Rp,{...t});case"HeartFill":return m(Dp,{...t});case"House":return m(Tp,{...t});case"HouseLine":return m(cr,{...t});case"Image":return m(we,{...t});case"Image2":return m(Np,{...t});case"ImageCheck":return m(Fp,{...t});case"ImageOff":return m(Ep,{...t});case"Import":return m(Ap,{...t});case"Inbox":return m(zp,{...t});case"InfoCircle":return m(_p,{...t});case"InfoHexagon":return m(Up,{...t});case"Italic":return m(Vp,{...t});case"LayersMultiple":return m($p,{...t});case"LayersSingle":return m(qp,{...t});case"Layout":return m(Xp,{...t});case"Layout2":return m(Zp,{...t});case"LayoutColumns":return m(Qp,{...t});case"LayoutCustom":return m(Jp,{...t});case"LayoutStuffed":return m(jp,{...t});case"LayoutTile":return m(ed,{...t});case"LifeBuoy":return m(td,{...t});case"Lightbulb":return m(nd,{...t});case"Lightning":return m(rd,{...t});case"LightningFast":return m(ad,{...t});case"LineChartBar":return m(cd,{...t});case"LineChartBreakoutSquare":return m(sd,{...t});case"LineChart":return m(ld,{...t});case"LineChartUp":return m(pd,{...t});case"Lines":return m(dd,{...t});case"LinesCheck":return m(md,{...t});case"LinesPlay":return m(ud,{...t});case"Link":return m(fd,{...t});case"Link2":return m(gd,{...t});case"LinkOff":return m(vd,{...t});case"ListBullet":return m(Id,{...t});case"ListOrder":return m(bd,{...t});case"Lock":return m(Cd,{...t});case"LockFill":return m(xd,{...t});case"LogIn":return m(Sd,{...t});case"LogOut":return m(wd,{...t});case"LogOut2":return m(Bd,{...t});case"MagicWand":return m(Rd,{...t});case"Mail":return m(Dd,{...t});case"MapPin":return m(Ld,{...t});case"Maximize":return m(Td,{...t});case"Maximize2":return m(Nd,{...t});case"MessageCircle":return m(Fd,{...t});case"MessageSquare":return m(Ad,{...t});case"MessageSquare2":return m(zd,{...t});case"MessageXSquare":return m(Od,{...t});case"Microphone":return m(hr,{...t});case"Minimize":return m(_d,{...t});case"Minimize2":return m(Hd,{...t});case"MinusCircle":return m(Ud,{...t});case"Mobile":return m(Vd,{...t});case"Monitor":return m(Wd,{...t});case"Monitor2":return m($d,{...t});case"Moon":return m(qd,{...t});case"MoonCircle":return m(Xd,{...t});case"Movie":return m(Ye,{...t});case"NavigationPointer":return m(Kd,{...t});case"NotificationBox":return m(Zd,{...t});case"Package":return m(Qd,{...t});case"Palette":return m(Jd,{...t});case"PasscodeLock":return m(Yd,{...t});case"Pause":return m(ho,{...t});case"PauseCircle":return m(em,{...t});case"PCSetup":return m(om,{...t});case"Pen":return m(rm,{...t});case"PercentageCircle":return m(am,{...t});case"Perspective":return m(lm,{...t});case"PhoneCall":return m(sm,{...t});case"Pin":return m(Ir,{...t});case"Play":return m(fo,{...t});case"PlayCircle":return m(pm,{...t});case"Plus":return m(dm,{...t});case"PlusCircle":return m(Ut,{...t});case"Printer":return m(hm,{...t});case"Pulse":return m(fm,{...t});case"QuestionCircle":return m(br,{...t});case"Quote":return m(vm,{...t});case"RadioButton":return m(Im,{...t});case"RadioButtonFill":return m(bm,{...t});case"Receipt":return m(ym,{...t});case"ReceiptCheck":return m(Cm,{...t});case"Redo":return m(xm,{...t});case"Refresh":return m(Pm,{...t});case"Refresh2":return m(Sm,{...t});case"Refresh3":return m(Mm,{...t});case"Repeat":return m(wm,{...t});case"Replace":return m(km,{...t});case"Replay":return m(Bm,{...t});case"Restore":return m(Dm,{...t});case"Rocket":return m(Tm,{...t});case"RoundChart":return m(Nm,{...t});case"RoundChart2":return m(Fm,{...t});case"Route":return m(Am,{...t});case"Save":return m(Om,{...t});case"ScanDots":return m(_m,{...t});case"Scissors":return m(yr,{...t});case"Search":return m(go,{...t});case"Send":return m(Hm,{...t});case"Server":return m(Um,{...t});case"Settings":return m(Gm,{...t});case"Settings2":return m(Vm,{...t});case"Share":return m(Wm,{...t});case"ShieldLightning":return m($m,{...t});case"ShieldPlus":return m(Xm,{...t});case"ShieldRemove":return m(Zm,{...t});case"ShoppingBag":return m(Qm,{...t});case"ShoppingCart":return m(Jm,{...t});case"Shrink":return m(Ym,{...t});case"Shuffle":return m(jm,{...t});case"SkipForward":return m(eu,{...t});case"SlashCircle":return m(tu,{...t});case"SlashOctagon":return m(ou,{...t});case"SocialAndroid":return m(nu,{...t});case"SocialApple":return m(ru,{...t});case"SocialGithub":return m(au,{...t});case"SocialGlobe":return m(lu,{...t});case"SocialGoogle":return m(cu,{...t});case"SocialInstagram":return m(iu,{...t});case"SocialLinkedin":return m(pu,{...t});case"SocialMastercard":return m(mu,{...t});case"SocialReact":return m(uu,{...t});case"SocialVisa":return m(hu,{...t});case"SocialX":return m(fu,{...t});case"Speedometer":return m(gu,{...t});case"Stairs":return m(vu,{...t});case"Star":return m(Mr,{...t});case"StarFill":return m(Iu,{...t});case"StarHalf":return m(bu,{...t});case"Stars":return m(yu,{...t});case"Stop":return m(wr,{...t});case"Strikethrough":return m(Cu,{...t});case"Sun":return m(xu,{...t});case"Swap":return m(Pu,{...t});case"SwitchHorizontal":return m(Su,{...t});case"Table":return m(wu,{...t});case"Tag":return m(ku,{...t});case"Target":return m(Bu,{...t});case"Target2":return m(Du,{...t});case"TextFormat":return m(Tu,{...t});case"TextFormat2":return m(Nu,{...t});case"TextHighlight":return m(Fu,{...t});case"ThumbsDown":return m(Eu,{...t});case"ThumbsUp":return m(Au,{...t});case"ThumbsUpFill":return m(zu,{...t});case"Toggle":return m(Ou,{...t});case"Translate":return m(_u,{...t});case"Trash":return m(Ve,{...t});case"Trending":return m(Hu,{...t});case"Underline":return m(Uu,{...t});case"Undo":return m(Gu,{...t});case"Unlock":return m(Wu,{...t});case"UploadCloud":return m(bo,{...t});case"User":return m(Br,{...t});case"UserCheck":return m(Xu,{...t});case"UserDollar":return m(Ku,{...t});case"UserEdit":return m(Qu,{...t});case"UserPlus":return m(Ju,{...t});case"UserRight":return m(Yu,{...t});case"UserSquare":return m(t1,{...t});case"Users":return m(ju,{...t});case"UsersUp":return m(o1,{...t});case"UserVoice":return m(Uc,{...t});case"Video":return m(n1,{...t});case"VideoChat":return m(a1,{...t});case"Volume":return m(c1,{...t});case"VolumeDown":return m(s1,{...t});case"VolumeMute":return m(i1,{...t});case"Wrench":return m(p1,{...t});case"X":return m(Be,{...t});case"XCircle":return m(d1,{...t});case"XCircleFill":return m(m1,{...t});case"XSquare":return m(u1,{...t});case"ZoomIn":return m(h1,{...t});case"ZoomOut":return m(g1,{...t});default:return null}}var W2=mo,$2={png:we,jpg:we,jpeg:we,gif:we,bmp:we,webp:we,svg:we,avif:we,heic:we,ico:we,tif:we,tiff:we,mp4:Ye,mov:Ye,webm:Ye,avi:Ye,mkv:Ye,m4v:Ye,ogv:Ye,mp3:Ge,wav:Ge,ogg:Ge,oga:Ge,m4a:Ge,aac:Ge,flac:Ge,weba:Ge,pdf:uo,doc:yt,docx:yt,txt:yt,rtf:yt,odt:yt,json:jn,csv:Yn,xls:nr,xlsx:rr,ods:tr,zip:ot,rar:ot,"7z":ot,tar:ot,gz:ot,tgz:ot};var v1=e=>{let t=e?.trim().replace(/^\./,"").toLowerCase();return t&&$2[t]||W2};import{cn as I1,ColorHelpers as MS}from"@cleen/ui-core";import{forwardRef as wS}from"react";import{Fragment as BS,jsx as Lr,jsxs as RS}from"react/jsx-runtime";var kS=wS(function({iconName:t,iconSrc:r,icon:n,iconSize:l=20,header:a,color:c,children:s,classNames:u,styles:p,...i},f){let h=MS.getComputedColor(c);return Lr(le,{ref:f,classNames:{...u,header:{...u?.header,title:I1("cleen-flex cleen-gap-4",u?.header?.title)}},header:{...a,title:RS(BS,{children:[Lr("div",{className:I1("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:_n(h,.85),color:h,borderColor:"transparent"},...p?.iconHolder},children:n||(t?Lr(Ee,{name:t,className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):r?Lr("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&&Lr("div",{className:I1("cleen-flex-1",u?.content),style:p?.content,children:s})})});import{cn as hn}from"@cleen/ui-core";import{forwardRef as DS,useMemo as LS}from"react";import{jsx as Tr}from"react/jsx-runtime";var TS=DS(function({media:t,header:r,color:n,children:l,classNames:a,styles:c,...s},u){let p=LS(()=>{switch(t?.type){case"image":return Tr("img",{...t,alt:t.alt??"Card media",className:hn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"video":return Tr("video",{playsInline:!0,controls:!0,...t,className:hn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"iframe":return Tr("iframe",{...t,title:t.title??"Card iframe",className:hn("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 Tr(le,{ref:u,color:n,classNames:{...a,container:hn("cleen-pt-0",a?.container),header:{...a?.header,content:hn("cleen-p-0",a?.header?.content)}},header:{...r,...p&&{content:Tr("div",{className:hn("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 Nr}from"@cleen/ui-core";import{jsx as xl,jsxs as NS}from"react/jsx-runtime";var Y=({className:e,classNames:t,style:r,styles:n,infoMessage:l,errorMessage:a,subtitle:c,...s})=>xl("div",{className:Nr("cleen",e),style:r,children:NS("div",{className:Nr(t?.container),style:n?.container,...s,children:[l&&xl("div",{className:Nr("cleen-mt-1 cleen-font-normal cleen-text-sm cleen-text-info",t?.infoMessage),style:n?.infoMessage,role:"note",children:l}),a&&xl("div",{className:Nr("cleen-mt-1 cleen-font-medium cleen-text-sm cleen-text-error",t?.errorMessage),style:n?.errorMessage,role:"alert",children:a}),c&&xl("div",{className:Nr("cleen-mt-2 cleen-font-normal cleen-text-sm cleen-text-neutral-600",t?.subtitle),style:n?.subtitle,children:c})]})});import{cn as Fr}from"@cleen/ui-core";import{jsx as Er,jsxs as FS}from"react/jsx-runtime";var ee=({required:e=!1,tooltip:t,children:r,className:n,classNames:l,style:a,styles:c,...s})=>Er("div",{className:Fr("cleen",n),style:a,children:FS("label",{...s,className:Fr("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:[Er("div",{className:Fr({"cleen-flex-1":!e&&!t},l?.label),style:c?.label,children:r}),e&&Er("span",{className:Fr("cleen-text-primary",l?.required),style:c?.required,children:"*"}),t&&Er(ue,{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:Er(br,{className:Fr("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 xt}from"@cleen/ui-core";import{forwardRef as ES,useEffect as AS,useId as zS,useMemo as OS,useState as q2}from"react";import{jsx as Wt,jsxs as Pl}from"react/jsx-runtime";var de=ES(function({name:t,id:r,type:n,label:l,labelTooltip:a,defaultValue:c,value:s,files:u,disabled:p,required:i,className:f,classNames:h,style:y,styles:b,autoComplete:g="off",isFocusedBorder:v,maxLength:x,minLength:C,maxLengthLabelThreshold:I=.5,uploadLabel:P="Choose a file",leftIcon:M,rightIcon:B,topRightIcon:k,inputOverlay:w,infoLabels:R,maxLengthLabel:E,minLengthLabel:N,onChange:D,...F},L){let S=s!==void 0||u!==void 0,[_,T]=q2(c??""),[A,z]=q2(null),H=S?s:_,G=S?u:A;AS(()=>{S||T(s??c??"")},[s,c,S]);let q=O=>{let Z=O.target.value;if(n==="file"&&O.target.files){S||z(O.target.files),D?.(O);return}(!x||Z.length<=x)&&(S||T(Z),D?.(O))},$=OS(()=>C&&N&&(H?.toString()?.length??0)<C?N(C-(H?.toString()?.length??0)):!x||!E||(H?.toString()?.length??0)/x<I?R?.subtitle:E?.(x-(H?.toString()?.length??0)),[H,x,I,R?.subtitle]),U=zS(),V=!!(R?.errorMessage||R?.infoMessage||$),J=V?`${U}-info`:void 0;return Wt("div",{className:xt("cleen",f),style:y,children:Pl("div",{className:xt("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)&&Pl("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",children:[Wt(ee,{htmlFor:r||t,required:i,tooltip:a,className:xt("cleen-w-full",h?.label?.className),classNames:h?.label?.classNames,...b?.label,children:l}),k]}),Pl("label",{className:xt("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&&Wt("div",{className:xt("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}),Pl("div",{className:"cleen-relative cleen-flex cleen-flex-1 cleen-items-stretch",children:[Wt("input",{id:r||t,name:t,type:n,disabled:p,maxLength:x,autoComplete:g,value:H,className:xt("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:q,required:i,"aria-invalid":R?.errorMessage?!0:void 0,"aria-describedby":J,ref:L,...F}),w&&Wt("div",{className:xt("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"&&Wt("p",{className:xt("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&&Wt("div",{className:xt("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&&Wt(Y,{id:J,...R,subtitle:$})]})})});import{cn as Ar,useOutsideClick as _S}from"@cleen/ui-core";import{forwardRef as HS,useEffect as X2,useImperativeHandle as US,useMemo as GS,useRef as VS,useState as Sl}from"react";import{jsx as zr,jsxs as WS}from"react/jsx-runtime";var b1=HS(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:f,inputProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:g,customLoader:v=zr(oe,{}),selectAllOnEdit:x=!1,renderText:C,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Sl(r??""),D=R?t??"":E,[F,L]=Sl(!1),S=g??F,_=GS(()=>typeof C=="function"?C(D):C||D||s||c,[D,C,c,s]),[T,A]=Sl(n),z=l!==void 0,H=z?l:T,[G,q]=Sl(D),$=VS(null);US(w,()=>({...$.current,save:V,cancel:U})),X2(()=>{R||N(r??"")},[r,R]),X2(()=>{H||q(D)},[D,H]);let U=async()=>{z||A(!1),a?.(!1),q(D),await i?.()},V=async()=>{if(!S){if(D===G){await i?.(),z||A(!1),a?.(!1);return}L(!0),R||N(G);try{await p?.(G),z||A(!1),a?.(!1)}finally{L(!1)}}},J=async O=>{O.key==="Enter"&&(O.preventDefault(),await V()),O.key==="Escape"&&(O.stopPropagation(),O.preventDefault(),await U()),h?.onKeyDown?.(O)};return _S({refs:[$],enabled:y&&H,handler:async()=>{b?await V():await U()}}),zr("div",{className:Ar("cleen",I),style:M,ref:$,...k,children:H?WS("div",{className:Ar("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[zr(de,{value:G,onChange:O=>{q(O.target.value),f?.(O.target.value)},autoFocus:!0,placeholder:c,className:P?.input?.className,classNames:{...P?.input?.classNames,inputContainer:Ar("cleen-border-primary hover:cleen-border-primary/60",P?.input?.classNames?.inputContainer)},...B?.input,...h,onFocus:O=>{h?.onFocus?.(O),x&&O.target.select()},disabled:S||h?.disabled,onKeyDown:J}),S&&zr("div",{className:Ar("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})]}):zr("div",{onClick:()=>{u&&(z||A(!0),a?.(!0))},className:Ar("cleen-min-h-6 cleen-text-foreground",u&&"cleen-cursor-text hover:cleen-bg-muted cleen-rounded cleen-p-2 cleen-transition-colors",!D&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:_})})});import{cn as fn}from"@cleen/ui-core";import{forwardRef as $S,useEffect as K2,useId as qS,useMemo as XS,useRef as KS,useState as ZS}from"react";import{jsx as yo,jsxs as y1}from"react/jsx-runtime";var C1=$S(function({name:t,id:r,value:n,defaultValue:l,label:a,labelTooltip:c,disabled:s,required:u,infoLabels:p,topRightElement:i,labelRightElement:f,textareaOverlay:h,onChange:y,minHeight:b,maxHeight:g=200,autoResize:v=!0,maxLength:x,minLength:C,maxLengthLabelThreshold:I=.5,maxLengthLabel:P,minLengthLabel:M,className:B,classNames:k,style:w,styles:R,...E},N){let D=n!==void 0,[F,L]=ZS(typeof l=="string"?l:""),S=KS(null),_=N??S,T=D?n:F;K2(()=>{D||L(n??(typeof l=="string"?l:""))},[n,l,D]);let A=O=>{O.style.height="auto";let Z=Math.min(O.scrollHeight,g);O.style.height=`${Z}px`},z=O=>{A(O.target)};K2(()=>{!v||!S.current||A(S.current)},[v,T,g]);let H=O=>{O.preventDefault()},G=O=>{O.preventDefault();let Z=O.dataTransfer?.getData("text/plain");D?y?.(`${n??""}${Z}`):(L(ce=>`${ce}${Z}`),y?.(`${F}${Z}`))},q=O=>{let Z=O.target.value;(!x||Z.length<=x)&&(D||L(Z),y?.(Z),v&&z(O))},$=XS(()=>C&&M&&(T?.length??0)<C?M(C-(T?.length??0)):!x||!P||(T?.toString()?.length??0)/x<I?p?.subtitle:P?.(x-(T?.toString()?.length??0)),[T,x,I,p?.subtitle]),U=qS(),V=!!(p?.errorMessage||p?.infoMessage||$),J=V?`${U}-info`:void 0;return yo("div",{className:fn("cleen",B),style:w,children:y1("div",{className:fn("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||f)&&y1("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-mb-1.5",children:[a&&yo(ee,{htmlFor:r||t,required:u,tooltip:c,className:fn("cleen-w-full",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:a}),f&&yo("div",{className:"cleen-ml-auto",children:f})]}),y1("div",{className:fn("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&&yo("div",{className:"cleen-absolute cleen-top-2 cleen-right-2 cleen-z-10",children:i}),h&&yo("div",{className:fn("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}),yo("textarea",{id:r||t,name:t,ref:_,disabled:s,value:T,minLength:C,maxLength:x,"aria-invalid":p?.errorMessage?!0:void 0,"aria-describedby":J,className:fn("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:q})]}),V&&yo(Y,{id:J,...p,subtitle:$})]})})});import{cn as Or,useOutsideClick as QS}from"@cleen/ui-core";import{forwardRef as JS,useEffect as Z2,useImperativeHandle as YS,useMemo as jS,useRef as e4,useState as Ml}from"react";import{jsx as _r,jsxs as t4}from"react/jsx-runtime";var x1=JS(function({value:t,defaultValue:r,defaultIsEditing:n=!1,isEditing:l,onIsEditingChange:a,placeholder:c,placeholderText:s,canEdit:u=!0,onSave:p,onCancel:i,onChange:f,textAreaProps:h,blurOnOutsideClick:y=!0,saveOnBlur:b=!0,isLoading:g,customLoader:v=_r(oe,{size:"md"}),selectAllOnEdit:x=!1,renderText:C,className:I,classNames:P,style:M,styles:B,...k},w){let R=t!==void 0,[E,N]=Ml(r??""),D=R?t??"":E,[F,L]=Ml(!1),S=g??F,_=jS(()=>typeof C=="function"?C(D):C||D||s||c,[D,C,c,s]),[T,A]=Ml(n),z=l!==void 0,H=z?l:T,[G,q]=Ml(D),$=e4(null);YS(w,()=>({...$.current,save:V,cancel:U})),Z2(()=>{R||N(r??"")},[r,R]),Z2(()=>{H||q(D)},[D,H]);let U=async()=>{z||A(!1),a?.(!1),q(D),await i?.()},V=async()=>{if(!S){if(D===G){await i?.(),z||A(!1),a?.(!1);return}L(!0),R||N(G);try{await p?.(G),z||A(!1),a?.(!1)}finally{L(!1)}}},J=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 QS({refs:[$],enabled:y&&H,handler:async()=>{b?await V():await U()}}),_r("div",{className:Or("cleen",I),style:M,ref:$,...k,children:H?t4("div",{className:Or("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[_r(C1,{value:G,onChange:O=>{q(O),f?.(O)},autoFocus:!0,placeholder:c,className:P?.textArea?.className,classNames:{...P?.textArea?.classNames,textareaContainer:Or("cleen-border-primary hover:cleen-border-primary/60",P?.textArea?.classNames?.textareaContainer)},...B?.textArea,...h,onFocus:O=>{h?.onFocus?.(O),x&&O.target.select()},disabled:S||h?.disabled,onKeyDown:J}),S&&_r("div",{className:Or("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&&(z||A(!0),a?.(!0))},className:Or("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",!D&&"cleen-text-muted-foreground",P?.preview),style:B?.preview,children:_})})});import"@cleen/ui-core";import{forwardRef as o4}from"react";import{Fragment as r4,jsx as P1,jsxs as a4}from"react/jsx-runtime";var n4=o4(function({header:t,color:r,children:n,description:l,onSave:a,isDescriptionHidden:c=!1,titleProps:s,descriptionProps:u,classNames:p,styles:i,...f},h){let y=typeof t?.title=="string"||typeof t?.title=="number"?String(t.title):void 0;return P1(le,{ref:h,color:r,header:{...t,title:P1(b1,{value:y??"",onSave:async b=>{await a?.("title",b)},...p?.titleTextInput,...i?.titleTextInput,...s})},classNames:p,styles:i,...f,children:(!c||n)&&a4(r4,{children:[P1(x1,{value:l??"",onSave:async b=>{await a?.("description",b)},...u,textAreaProps:u?.textAreaProps,...p?.descriptionTextInput,...i?.descriptionTextInput}),n]})})});import{cn as Hr}from"@cleen/ui-core";import{forwardRef as l4}from"react";import{jsx as wl}from"react/jsx-runtime";var c4=l4(function({type:t="button",label:r,onClick:n,containerRef:l,className:a,classNames:c,style:s,styles:u,disabled:p=!1,loaderOptions:i,isLoading:f=!1,variant:h="primary",children:y,...b},g){return wl("div",{className:Hr("cleen",a),style:s,ref:l,children:wl("button",{type:t,ref:g,disabled:f||p,onClick:n,className:Hr("cleen-size-full",c?.container),style:u?.container,...b,children:wl(le,{p:0,className:Hr("cleen-size-full cleen-group",c?.card?.className),classNames:{...c?.card?.classNames,container:Hr("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",uh[h],c?.card?.classNames?.container,{"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":p||f}),childrenContainer:Hr("cleen-flex cleen-justify-center cleen-items-center cleen-size-full",c?.card?.classNames?.childrenContainer)},"aria-disabled":p||f,...u?.card,children:f?wl(oe,{size:"lg",...i,color:i?.color||hh[h],...c?.loader,...u?.loader}):r||y})})})});import{cn as Ur,ColorHelpers as Q2,formatAudioTime as J2}from"@cleen/ui-core";import{useWavesurfer as s4}from"@wavesurfer/react";import{forwardRef as i4,useCallback as p4,useRef as d4}from"react";import{jsx as Gr,jsxs as Y2}from"react/jsx-runtime";var m4={waveColor:Q2.getComputedColor("var(--cleen-neutral-200)"),progressColor:Q2.getComputedColor("var(--cleen-primary)"),cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,interact:!0,normalize:!0},u4=i4(function({url:t,options:r,className:n,classNames:l,style:a,styles:c,...s},u){let p=d4(null),{wavesurfer:i,isPlaying:f,isReady:h,currentTime:y}=s4({...m4,...r,container:p,url:t}),b=h?i?.getDuration()??0:0,g=p4(()=>{i?.playPause()},[i]);return Gr("div",{ref:u,className:Ur("cleen",n),style:a,...s,children:Y2("div",{className:Ur("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:[Gr(re,{type:"button",onClick:g,disabled:!h,"aria-label":f?"Pause":"Play",className:l?.playButton?.className,classNames:{...l?.playButton?.classNames,container:Ur("cleen-p-0 !cleen-size-9 cleen-rounded-full",l?.playButton?.classNames?.container)},...c?.playButton,children:f?Gr(ho,{className:"cleen-fill-current"}):Gr(fo,{className:"cleen-fill-current"})}),Gr("div",{ref:p,className:Ur("cleen-flex-1 cleen-min-w-0",l?.waveform),style:c?.waveform}),Y2("span",{className:Ur("cleen-shrink-0 cleen-text-xs cleen-text-muted-foreground cleen-tabular-nums",l?.timestamp),style:c?.timestamp,children:[J2(y),"\xA0/\xA0",J2(b)]})]})})});import{ColorHelpers as h4}from"@cleen/ui-core";var j2=h4.getComputedColor("var(--cleen-primary)"),eg="rgba(var(--cleen-primary), 0.15)",tg={waveColor:j2,progressColor:j2,cursorColor:"rgb(var(--cleen-primary))",height:56,barWidth:2,barGap:2,barRadius:2,minPxPerSec:.5,sampleRate:8e3};var og={startRecording:"Click to start recording"};import{cn as Ae,formatAudioTime as Fl,trimBlob as g4}from"@cleen/ui-core";import{useWavesurfer as v4}from"@wavesurfer/react";import{forwardRef as I4,useCallback as vn,useEffect as R1,useMemo as b4,useRef as ag,useState as El}from"react";function S1(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(f){f(i)}))).then(c,s)}u((n=n.apply(e,t||[])).next())}))}var kl=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)))}},w1=class extends kl{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}},k1=class extends kl{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()}},M1=100,f4=["audio/webm","audio/wav","audio/mpeg","audio/mp4","audio/mp3"],Bl=class e extends w1{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 k1,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,f,h,y;if(!this.isWaveformPaused){if(a.getFloatTimeDomainData(s),this.options.scrollingWaveform){let b=Math.floor((this.options.scrollingWaveformWindow||0)*M1),g=0;for(let x=0;x<c;x++){let C=Math.abs(s[x]);C>g&&(g=C)}this.dataWindow||(this.dataWindow=new Float32Array(b));let v=new Float32Array(b);if(this.dataWindow&&this.dataWindow.length>0){let x=b-1,C=this.dataWindow.slice(-x);v.set(C,0)}v[b-1]=g,this.dataWindow=v}else if(this.options.continuousWaveform){if(!this.dataWindow){let g=this.options.continuousWaveformDuration?Math.round(this.options.continuousWaveformDuration*M1):((f=(i=this.wavesurfer)===null||i===void 0?void 0:i.getWidth())!==null&&f!==void 0?f:0)*window.devicePixelRatio;this.dataWindow=new Float32Array(g)}let b=0;for(let g=0;g<c;g++){let v=Math.abs(s[g]);v>b&&(b=v)}if(u+1>this.dataWindow.length){let g=new Float32Array(2*this.dataWindow.length);g.set(this.dataWindow,0),this.dataWindow=g}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)/M1;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((g=>{console.error("Error rendering real-time recording data:",g)}))}}}),10);return{onDestroy:()=>{clearInterval(p),l?.disconnect(),n?.close()},onEnd:()=>{this.isWaveformPaused=!0,this.stopMic()}}}startMic(t){return S1(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 S1(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||f4.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 S1(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 Ll=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)))}},B1=class extends Ll{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 ng(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(ng(a,c));else n==="style"?Object.assign(r.style,l):n==="textContent"?r.textContent=l:r.setAttribute(n,l.toString());return r}function Vr(e,t,r){let n=ng(e,t||{});return r?.appendChild(n),n}function rg(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 Rl(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 gn(e,t){let r=rg(null),n=l=>{r.set(l)};return e.addEventListener(t,n),r._cleanup=()=>{e.removeEventListener(t,n)},r}function Co(e){let t=e._cleanup;typeof t=="function"&&t()}function Dl(e,t={}){let{threshold:r=3,mouseButton:n=0,touchDelay:l=100}=t,a=rg(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 f=i.clientX,h=i.clientY,y=!1,b=Date.now(),g=e.getBoundingClientRect(),{left:v,top:x}=g,C=k=>{if(k.defaultPrevented||c.size>1||s&&Date.now()-b<l)return;let w=k.clientX,R=k.clientY,E=w-f,N=R-h;(y||Math.abs(E)>r||Math.abs(N)>r)&&(k.preventDefault(),k.stopPropagation(),y||(a.set({type:"start",x:f-v,y:h-x}),y=!0),a.set({type:"move",x:w-v,y:R-x,deltaX:E,deltaY:N}),f=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-x})}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",C),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",C),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(),Co(a)}}}var Tl=class extends Ll{constructor(t,r,n=0){var l,a,c,s,u,p,i,f,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=(f=t.maxLength)!==null&&f!==void 0?f: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=Vr("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=Vr("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=Dl(n,{threshold:1}),c=Dl(l,{threshold:1}),s=Rl((()=>{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=Rl((()=>{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=Vr("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=gn(t,"click"),n=gn(t,"mouseenter"),l=gn(t,"mouseleave"),a=gn(t,"dblclick"),c=gn(t,"pointerdown"),s=gn(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))),f=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(),f(),h(),y(),Co(r),Co(n),Co(l),Co(a),Co(c),Co(s)}));let b=Dl(t),g=Rl((()=>{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((()=>{g(),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 f=i>=this.minLength&&i<=this.maxLength;s<=u&&(f||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=Vr("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()}},Nl=class e extends B1{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 Vr("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 Tl(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=Dl(l,{threshold:r}),p=Rl((()=>{var i,f;let h=u.signal.value;if(h)if(h.type==="start"){if(c=h.x,!this.wavesurfer)return;let y=this.wavesurfer.getDuration(),b=(f=(i=this.wavesurfer)===null||i===void 0?void 0:i.getDecodedData())===null||f===void 0?void 0:f.numberOfChannels,{width:g}=this.wavesurfer.getWrapper().getBoundingClientRect();s=c/g*y;let v=h.x/g*y,x=(h.x+5)/g*y;a=new Tl(Object.assign(Object.assign({},t),{start:v,end:x}),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 C4,jsx as be,jsxs as Wr}from"react/jsx-runtime";var y4=I4(function({onFinalize:t,recordOptions:r,options:n,labels:l=og,className:a,classNames:c,style:s,styles:u,...p},i){let f=ag(null),[h,y]=El("idle"),[b,g]=El(null),[v,x]=El(null),[C,I]=El(!1),P=ag("idle");P.current=h;let M=b4(()=>[Bl.create({renderRecordedAudio:!0,scrollingWaveform:!1,continuousWaveform:!1,...r}),Nl.create()],[]),[B,k]=M,{wavesurfer:w,isPlaying:R,isReady:E,currentTime:N}=v4({...tg,...n,container:f,plugins:M}),D=E?w?.getDuration()??0:0;R1(()=>{let H=[B.on("record-start",()=>y("recording")),B.on("record-end",G=>{y("recorded"),g(G)}),k.on("region-clicked",(G,q)=>{q.stopPropagation(),G.play(!0)})];return()=>H.forEach(G=>G?.())},[k,B]),R1(()=>w?w.on("ready",()=>{if(P.current!=="recorded")return;let G=w.getDuration();k.clearRegions();let q=k.addRegion({start:0,end:G,color:n?.regionColor??eg,drag:!1,resize:!0});x({start:q.start,end:q.end})}):void 0,[w,k,n]),R1(()=>k.on("region-updated",G=>{x({start:G.start,end:G.end})}),[k]);let F=vn(async()=>{await B.startRecording()},[B]),L=vn(()=>{B.stopRecording()},[B]),S=vn(()=>{w?.playPause()},[w]),_=vn(async()=>{if(!(!b||!v||!w)){I(!0);try{let H=await g4(b,v.start,v.end),G=URL.createObjectURL(H);g(H),w.load(G)}finally{I(!1)}}},[b,v,w]),T=vn(()=>{k.clearRegions(),w?.empty(),g(null),x(null),y("idle")},[w,k]),A=vn(()=>{if(b){let H=URL.createObjectURL(b);t?.(b,H)}},[t,b]),z=!v||v.start<=0&&v.end>=D;return be("div",{ref:i,className:Ae("cleen wavesurfer-handle",a),style:s,...p,children:Wr("div",{className:Ae("cleen-flex cleen-flex-col cleen-items-center cleen-gap-3",c?.container),style:u?.container,children:[h==="idle"&&Wr(C4,{children:[be("button",{type:"button",onClick:F,"aria-label":"Start recording",className:Ae("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:be(hr,{className:"cleen-size-8 cleen-text-primary"})}),be("p",{className:Ae("cleen-text-neutral-600 cleen-text-sm cleen-select-none",c?.startLabel),style:u?.startLabel,children:l.startRecording})]}),h==="recording"&&be("button",{type:"button",onClick:L,"aria-label":"Stop recording",className:Ae("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:be(wr,{className:"cleen-size-8 cleen-text-primary"})}),be("div",{ref:f,className:Ae("cleen-w-full cleen-min-w-0 cleen-waveform",h==="idle"&&"cleen-hidden",c?.waveform),style:u?.waveform}),h==="recorded"&&Wr("div",{className:Ae("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",c?.recordedContainer),style:u?.recordedContainer,children:[be(re,{type:"button",onClick:S,disabled:!E,"aria-label":R?"Pause":"Play",className:c?.playPauseButton?.className,classNames:{...c?.playPauseButton?.classNames,container:Ae("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.playPauseButton?.classNames?.container)},...u?.playPauseButton,children:R?be(ho,{className:"cleen-fill-current"}):be(fo,{className:"cleen-fill-current"})}),Wr("span",{className:Ae("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.timestamp),style:u?.timestamp,children:[Fl(N),"\xA0/\xA0",Fl(D)]}),be("span",{className:"cleen-flex-1"}),!z&&v&&Wr("span",{className:Ae("cleen-tabular-nums cleen-text-muted-foreground cleen-text-xs cleen-shrink-0",c?.trimmedTimestamp),style:u?.trimmedTimestamp,children:[Fl(v.start),"\u2013",Fl(v.end)]}),be(re,{type:"button",onClick:T,variant:"secondary","aria-label":"Discard recording",className:c?.discardButton?.className,classNames:{...c?.discardButton?.classNames,container:Ae("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.discardButton?.classNames?.container)},...u?.discardButton,children:be(Ve,{className:"cleen-text-error"})}),be(re,{type:"button",onClick:_,disabled:z||C||!E,"aria-label":"Apply trim",variant:"secondary",className:c?.trimButton?.className,classNames:{...c?.trimButton?.classNames,container:Ae("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.trimButton?.classNames?.container)},...u?.trimButton,children:be(yr,{})}),be(re,{type:"button",onClick:A,"aria-label":"Finalize recording",className:c?.finalizeButton?.className,classNames:{...c?.finalizeButton?.classNames,container:Ae("cleen-p-0 !cleen-size-9 cleen-rounded-full cleen-shrink-0",c?.finalizeButton?.classNames?.container)},...u?.finalizeButton,children:be(gt,{})})]})]})})});import{cn as Al}from"@cleen/ui-core";import{forwardRef as x4,useMemo as P4}from"react";var lg={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 $r}from"react/jsx-runtime";var zl=x4(function({title:t,name:r,src:n,alt:l,size:a="md",initialsLength:c=2,isSelected:s=!1,showBorder:u=!1,fallback:p=$r(Br,{}),className:i,classNames:f,style:h,styles:y,onClick:b,...g},v){let x=P4(()=>(c===2?r?.split(" ").map(C=>C.charAt(0).toUpperCase()).join("").slice(0,c):r?.charAt(0).toUpperCase())||p,[r,c,p]);return $r("div",{className:Al("cleen",i),style:h,ref:v,...g,children:$r("div",{onClick:b,className:Al("cleen-flex cleen-justify-center cleen-items-center cleen-bg-neutral-200 cleen-rounded-full cleen-font-medium cleen-transition-all",typeof a=="string"&&lg[a],{"cleen-border-2 cleen-border-white":u,"cleen-cursor-pointer":!!b},f?.avatar,u&&s&&["cleen-border-primary",f?.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?$r("img",{src:n,alt:l||r,className:Al("cleen-rounded-full cleen-w-full cleen-h-full cleen-object-cover",f?.image),style:y?.image}):$r("span",{className:Al("cleen-select-none cleen-text-neutral-700",f?.fallback),style:y?.fallback,children:x})})})});import{cn as cg}from"@cleen/ui-core";import{forwardRef as S4}from"react";import{jsx as D1,jsxs as w4}from"react/jsx-runtime";var M4=S4(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:f,classNames:h,style:y,styles:b,...g},v){let x=c?t?.slice(0,c):t,C=c&&t&&t.length>c?Math.min(t.length-c,s):0;return D1("div",{className:cg("cleen",f),style:y,ref:v,...g,children:w4("div",{className:cg("cleen-flex cleen-items-center",h?.row),style:{gap:a,...b?.row},children:[x?.map((I,P)=>{let M=n.includes(I?.id??"");return D1(zl,{name:I.name,src:I.src,size:r,isSelected:M,showBorder:u,initialsLength:p,fallback:i,onClick:()=>l?.(I.id??""),...h?.avatar,style:{zIndex:x.length-P,...b?.avatar?.style},styles:b?.avatar?.styles,...I},I.id||P)}),C>0&&D1(zl,{size:r,fallback:`+${C}`,...h?.extra,...b?.extra})]})})});import{cn as $t}from"@cleen/ui-core";import{forwardRef as k4}from"react";import{Link as sg}from"react-router-dom";import{jsx as qr,jsxs as Ol}from"react/jsx-runtime";var B4=k4(function({root:t={path:"/",icon:qr(cr,{"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:qr("div",{className:$t("cleen",n),style:a,ref:u,...s,children:qr("nav",{className:$t("cleen-hidden sm:cleen-flex",l?.container),style:c?.container,"aria-label":"Breadcrumb",children:Ol("ol",{role:"list",className:$t("cleen-flex cleen-items-center cleen-gap-4",l?.list),style:c?.list,children:[t&&qr("li",{className:$t("cleen-flex cleen-items-center",l?.rootItem),style:c?.rootItem,children:Ol(sg,{to:t?.path,className:$t("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:f,id:h},y)=>{let b=y===r.length-1,g=f||p.charAt(0).toUpperCase()+p.slice(1);return Ol("li",{className:$t("cleen-flex cleen-items-center cleen-gap-4",l?.item),style:c?.item,children:[(t||!t&&y!==0)&&qr(Je,{className:$t("cleen-h-5 cleen-w-5 cleen-text-neutral-300",l?.chevron),style:c?.chevron,"aria-hidden":"true"}),Ol(sg,{to:p,className:$t("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,g]})]},h||p)})]})})})});var _l=(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 Hl}from"@cleen/ui-core";import{forwardRef as R4,useState as L1}from"react";import{DayPicker as ig,MonthGrid as D4}from"react-day-picker";import{Fragment as L4,jsx as xo,jsxs as N1}from"react/jsx-runtime";var T1=e=>e?.toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric"}),F1=R4(function({label:t,labelTooltip:r,infoLabels:n,required:l,withDateInput:a=!1,withTodayButton:c=!1,selected:s,onSelect:u,month:p,labels:i,className:f,style:h,classNames:y,styles:b,mode:g="single",min:v,max:x,disabled:C,disabledDates:I,components:P,...M},B){let k=s!==void 0,w=g==="single",[R,E]=L1(),[N,D]=L1(),F=k?s:w?R:N,[L,S]=L1(p),_=(z,H)=>{k||(w&&(z===void 0||z instanceof Date)?E(z):w||D(z)),u?.(z,H)},T={MonthGrid:z=>N1(L4,{children:[(c||a)&&N1("div",{className:"cleen-flex cleen-gap-3 cleen-items-center cleen-py-2",children:[a&&xo(de,{value:g==="single"?T1(F):F?.from||F?.to?`${T1(F?.from)??"..."} - ${T1(F?.to)??"..."}`:void 0,placeholder:i?.inputPlaceholder??"No date selected",className:"cleen-flex-1",readOnly:!0}),c&&xo(re,{variant:"secondary",onClick:()=>S(new Date),children:i?.today??"Today"})]}),xo(D4,{...z})]}),...P},A={navLayout:"around",...M,className:Hl("cleen-text-foreground",y?.calendar?.className),classNames:{...y?.calendar?.classNames,nav:Hl("cleen-text-error",y?.calendar?.classNames?.nav)},disabled:v||x?{before:v==="today"?new Date:v,after:x==="today"?new Date:x}:I||C,components:T,month:L,onMonthChange:S,...b?.calendar};return N1("div",{ref:B,className:Hl("cleen",f),style:h,children:[t&&xo(ee,{required:l,tooltip:r,className:Hl("cleen-mb-1.5",y?.label?.className),classNames:y?.label?.classNames,...b?.label,children:t}),w?xo(ig,{mode:"single",...A,selected:F,onSelect:(z,H)=>{if(v||x){_(_l(z,{min:v,max:x}),H);return}_(z,H)}}):xo(ig,{mode:"range",...A,selected:F,onSelect:(z,H)=>{if(v||x){_({from:_l(z?.from,{min:v,max:x}),to:_l(z?.to,{min:v,max:x})},H);return}_(z,H)}}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&xo(Y,{...n})]})});import{cn as In,useOutsideClick as T4,usePositionClose as N4,ZIndex as F4}from"@cleen/ui-core";import{forwardRef as E4,useEffect as A4,useRef as pg,useState as z4}from"react";import{createPortal as O4}from"react-dom";import{jsx as Po,jsxs as dg}from"react/jsx-runtime";var Xr=E4(function({type:t="button",required:r,label:n,title:l,titleTooltip:a,disabled:c=!1,leftIcon:s,rightIcon:u=Po(Kn,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),fullWidth:p=!0,fullWidthDropdown:i,offset:f=4,isOpen:h,onOpenChange:y,keepOpenOnClickContent:b=!0,zIndex:g=F4.DROPDOWN,infoLabels:v,className:x,classNames:C,style:I,styles:P,children:M,...B},k){let[w,R]=z4(!1),E=h!==void 0?h:w,N=pg(null),D=pg(null),{positionStyles:F,isMounted:L}=N4({triggerRef:D,targetRef:N,position:"bottom-left",isOpen:E,offset:f});T4({refs:[N,D],handler:()=>{R(!1),y?.(!1)},enabled:E}),A4(()=>{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 dg("div",{className:In("cleen",x),style:I,ref:k,...B,children:[l&&Po(ee,{required:r,tooltip:a,className:In("cleen-mb-1.5",C?.title?.className),classNames:C?.title?.classNames,...P?.title,children:l}),Po("div",{className:In("cleen-inline-block cleen-relative",p&&"cleen-w-full"),ref:D,children:dg("button",{type:t,className:In("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-neutral-300 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-border",{"cleen-w-full cleen-flex-1":p,"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":c},p&&"cleen-w-full",C?.trigger),style:P?.trigger,disabled:c,"aria-haspopup":"dialog","aria-expanded":E,onClick:S,children:[s,Po("div",{className:In("cleen-flex-1 cleen-text-left",C?.label),style:P?.label,children:n}),u]})}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&Po(Y,{...v}),M&&E&&O4(Po("div",{className:"cleen",children:Po("div",{ref:N,className:In("cleen-bg-background cleen-shadow-md cleen-p-2.5 cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute",{"cleen-opacity-0":!L},C?.dropdown),style:{zIndex:g,top:`${F.top}px`,left:`${F.left}px`,minWidth:i&&D.current?.offsetWidth?`${D.current.offsetWidth}px`:void 0,...P?.dropdown},onClick:_,children:M})}),document.body)]})});import{cn as mg}from"@cleen/ui-core";import{forwardRef as _4,useMemo as H4,useState as Ul}from"react";import{jsx as So,jsxs as ug}from"react/jsx-runtime";var U4=_4(function({label:t,placeholder:r,infoLabels:n,required:l,selected:a,onSelect:c,onSelectInternal:s,leftIcon:u,rightIcon:p=So($n,{className:"cleen-size-5 cleen-shrink-0 cleen-text-foreground"}),className:i,style:f,classNames:h,styles:y,mode:b="single",min:g,max:v,disabled:x,disabledDates:C,...I},P){let M=a!==void 0,B=b==="single",[k,w]=Ul(!1),[R,E]=Ul(),[N,D]=Ul(),F=M?a:B?R:N,[L,S]=Ul(),_=A=>{M||(B&&(A===void 0||A instanceof Date)?E(A):B||D(A)),c?.(A)},T=H4(()=>{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 ug("div",{ref:P,className:mg("cleen",i),style:f,children:[So(Xr,{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:mg("cleen-p-0 cleen-border-0",h?.dropdown?.classNames?.dropdown)},required:l,disabled:x,...y?.dropdown,children:So(le,{footer:{hasDivider:!0,content:ug("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[So(re,{variant:"secondary",onClick:()=>w(!1),styles:{container:{minWidth:"max-content"}},children:"Close"}),So(re,{onClick:()=>{_(L),w(!1)},styles:{container:{minWidth:"max-content"}},children:"Apply"})]})},...h?.card,...y?.card,children:So(F1,{mode:b,...I,selected:L,onSelect:(A,z)=>S(s?.(A,z)??A),min:g,max:v,disabledDates:C,...h?.calendar,...y?.calendar})})}),(n?.errorMessage||n?.infoMessage||n?.subtitle)&&So(Y,{...n})]})});import"react";import{cn as bn}from"@cleen/ui-core";import G4 from"embla-carousel-auto-scroll";import V4 from"embla-carousel-autoplay";import W4 from"embla-carousel-react";import{forwardRef as $4,useEffect as q4,useMemo as hg,useState as fg}from"react";import{jsx as Mo,jsxs as K4}from"react/jsx-runtime";var X4=$4(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:f,classNames:h,style:y,styles:b,...g},v){let x=hg(()=>{let D=[];return c&&D.push(V4(s)),u&&D.push(G4(p)),D},[c,u,s,p]),[C,I]=W4({skipSnaps:!0,...t},x),[P,M]=fg(!0),[B,k]=fg(!0),w=()=>I?.scrollPrev(),R=()=>I?.scrollNext(),E=D=>{M(!D?.canScrollPrev()),k(!D?.canScrollNext())};q4(()=>{I&&(E(I),I.on("reInit",E),I.on("select",E))},[I]);let N=hg(()=>n?`${n}%`:`${100/r}%`,[n,r]);return Mo("div",{className:bn("cleen",f),style:y,ref:v,...g,children:K4("div",{className:bn("cleen-flex cleen-gap-2",h?.container),style:b?.container,children:[Mo("button",{className:bn("cleen-text-foreground",h?.prevBtn,P&&"cleen-opacity-50"),onClick:w,disabled:P,style:b?.prevBtn,children:l||Mo(vt,{})}),Mo("div",{className:bn("cleen-flex-1 cleen-overflow-hidden",h?.viewport),style:b?.viewport,ref:C,children:Mo("div",{className:bn("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})}),Mo("button",{className:bn("cleen-text-foreground",h?.nextBtn,B&&"cleen-opacity-50"),onClick:R,disabled:B,style:b?.nextBtn,children:a||Mo(Je,{})})]})})});import{cn as wo}from"@cleen/ui-core";import{forwardRef as Z4,useEffect as Ig,useId as Q4,useRef as J4,useState as Y4}from"react";var gg={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)]"},vg={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 j4,jsx as nt,jsxs as Gl}from"react/jsx-runtime";var E1=Z4(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,className:c,classNames:s,style:u,styles:p,onChange:i,disabled:f,title:h,titleTooltip:y,label:b,sublabel:g,variant:v="primary",allowIndeterminate:x=!1,fullTriggerArea:C=!1,infoLabels:I,inputRef:P,...M},B){let k=Q4(),w=t??k,R=typeof l=="boolean"||l===null,[E,N]=Y4(a),D=J4(null),F=A=>{D.current=A,P&&(P.current=A)};Ig(()=>{R||N(a)},[a,R]);let L=R?l:E;Ig(()=>{D.current&&(D.current.indeterminate=x&&L===null)},[x,L]);let S=A=>{let z;if(x)switch(L){case!0:z=null;break;case!1:z=!0;break;default:z=!1;break}else z=!L;R||N(z),i?.({...A,target:{...A.target,checked:z}})},_=Gl(j4,{children:[Gl("label",{className:wo("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",{[gg[v]]:L,[vg[v]]:L===null},f&&"cleen-cursor-not-allowed cleen-pointer-events-none","cleen-flex cleen-items-center cleen-justify-center",s?.checkbox),style:p?.checkbox,children:[nt("input",{ref:F,type:"checkbox",disabled:f,className:"cleen-sr-only",checked:L===!0,onChange:S,id:w,name:r,...M}),L===null?nt("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"}):L?nt(gt,{className:"cleen-stroke-[3px] cleen-size-3 cleen-text-primary-foreground"}):null]}),(b||g)&&Gl("div",{children:[nt("label",{htmlFor:w,className:wo("cleen-block cleen-text-foreground",s?.label),style:p?.label,children:b}),nt("label",{htmlFor:w,className:wo("cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-leading-5",s?.sublabel),style:p?.sublabel,children:g})]})]}),T={className:wo("cleen-flex cleen-items-start cleen-gap-2",{"cleen-opacity-50":f},s?.checkboxContainer),style:p?.checkboxContainer};return nt("div",{className:wo("cleen",c),style:u,ref:B,children:Gl("div",{className:wo(s?.container),style:p?.container,children:[h&&nt(ee,{htmlFor:w,required:n,tooltip:y,className:wo("cleen-mb-1.5",s?.title?.className),classNames:s?.title?.classNames,...p?.title,children:h}),C?nt("div",{...T,onClick:A=>{A.target instanceof Element&&!A.target.closest("label")&&D.current?.click()},children:_}):nt("div",{...T,children:_}),(I?.errorMessage||I?.infoMessage||I?.subtitle)&&nt(Y,{...I})]})})});import{cn as Kr}from"@cleen/ui-core";import{forwardRef as e5,useId as t5,useMemo as o5,useState as n5}from"react";import{jsx as yn,jsxs as a5}from"react/jsx-runtime";var r5=e5(function({id:t,required:r,label:n,labelTooltip:l,checkboxes:a,allowIndeterminate:c,infoLabels:s,requiresAtLeastOneOptions:u,classNames:p,styles:i,onChange:f,...h},y){let b=t5(),g=t??b,[v,x]=n5(!1),C=o5(()=>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)),f?.(B,k),x(!0)};return yn("div",{className:Kr("cleen"),...h,ref:y,children:a5("div",{className:Kr("cleen-flex cleen-flex-col cleen-gap-2",p?.container),style:i?.container,children:[n&&yn(ee,{htmlFor:g,required:r,tooltip:l,className:Kr("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...i?.label,children:n}),yn("div",{className:Kr("cleen-flex cleen-flex-col cleen-gap-3",p?.checkboxes),style:i?.checkboxes,children:a?.map((P,M)=>yn("div",{className:Kr("cleen-flex",p?.checkboxContainer),style:i?.checkboxContainer,children:yn(E1,{allowIndeterminate:c,...P,id:`${g}-${M}`,fullTriggerArea:!0,onChange:B=>I(B,P)})},P.id))}),(C||s?.infoMessage||s?.subtitle)&&yn(Y,{...s,errorMessage:C})]})})});import{cn as ko}from"@cleen/ui-core";import{forwardRef as l5,useState as bg}from"react";import{jsx as Cn,jsxs as yg}from"react/jsx-runtime";var Cg=l5(({sections:e,defaultOpenIndex:t,allowExpandAll:r=!1,className:n,classNames:l,style:a,styles:c,...s},u)=>{let[p,i]=bg(t??null),[f,h]=bg(()=>new Set(e.map((g,v)=>v))),y=g=>r?f.has(g):p===g,b=(g,v)=>{v.onClick?.(),v.items?.length&&(r?h(x=>{let C=new Set(x);return C.has(g)?C.delete(g):C.add(g),C}):i(p===g?null:g))};return Cn("div",{ref:u,className:ko("cleen",n),style:{...a,width:"100%"},...s,children:Cn("div",{className:ko("cleen-w-full",l?.container),style:c?.container,children:e.map((g,v)=>yg("div",{className:ko("cleen-mb-3",l?.section),style:c?.section,children:[yg("div",{onClick:()=>b(v,g),className:ko("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:[Cn("div",{className:"cleen-flex-1 cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis",children:g?.title}),g?.items?.length?Cn(It,{className:ko("cleen-shrink-0 cleen-text-neutral-400 cleen-transition-transform",{"cleen-rotate-180":!y(v)})}):null]}),y(v)&&g?.items&&Cn("div",{className:ko("cleen-mt-1 cleen-flex cleen-flex-col cleen-w-full",l?.sectionBody),style:c?.sectionBody,children:g?.items?.map((x,C)=>Cn("div",{className:ko("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:x?.onClick,children:x?.content},x?.key??C))})]},g?.key??v))})})});Cg.displayName="Collapsible";function A1(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 xg(e){return`rgba(${e.r}, ${e.g}, ${e.b}, ${e.a})`}import{cn as Vl}from"@cleen/ui-core";import{useEffect as c5,useState as s5}from"react";import{HexAlphaColorPicker as i5,RgbaColorPicker as p5}from"react-colorful";import{jsx as xn,jsxs as m5}from"react/jsx-runtime";var Pg="rgba(0, 0, 0, 1)",Sg="#000000ff",d5=({required:e,value:t,defaultValue:r,onChange:n,colorModel:l="rgba",disabled:a,label:c,labelTooltip:s,className:u,classNames:p,style:i,styles:f,infoLabels:h,...y})=>{let b=t!==void 0,g=r??(l==="hexa"?Sg:Pg),[v,x]=s5(g),C=b?t:v;c5(()=>{b||x(r??(l==="hexa"?Sg:Pg))},[r,b,l]);let I=M=>{let B=xg(M);b||x(B),n?.(B)},P=M=>{b||x(M),n?.(M)};return xn("div",{className:Vl("cleen",u),style:i,...y,children:m5("div",{className:Vl("cleen-flex cleen-flex-col cleen-rounded-md cleen-w-full cleen-overflow-visible cleen-font-medium",p?.container),style:f?.container,children:[c&&xn(ee,{required:e,tooltip:s,className:Vl("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...f?.label,children:c}),xn("div",{className:Vl("cleen-rounded-md",a&&"cleen-opacity-50 cleen-pointer-events-none",p?.picker),style:f?.picker,children:l==="hexa"?xn(i5,{color:C,onChange:P}):xn(p5,{color:A1(C),onChange:I})}),(h?.errorMessage||h?.infoMessage||h?.subtitle)&&xn(Y,{...h})]})})};import{cn as We}from"@cleen/ui-core";import{forwardRef as u5,useMemo as h5,useState as f5}from"react";var z1=(e="")=>e.replace(/\D+/g,""),Mg=e=>{switch(e.slice(0,2)){case"34":case"37":return"amex";case"36":return"dinersclub";default:return"other"}};function wg(e,t="other"){if(!e)return e;let r=z1(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 kg=e=>z1(e);function Bg(e){let t=z1(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 qt,jsxs as Rg}from"react/jsx-runtime";var g5=u5(function({labels:t,value:r,isLoading:n,errors:l,className:a,classNames:c,style:s,styles:u,infoLabels:p,onChange:i,onFieldFocus:f,...h},y){let[b,g]=f5({number:"",expiry:"",cvc:""}),v=!!r,x=v?r:b,C=h5(()=>Mg(x.number),[x.number]),I=M=>{let{name:B}=M.target,{value:k}=M.target;switch(B){case"number":k=wg(k,C);break;case"expiry":k=Bg(k);break;case"cvc":k=kg(k);break;default:return}v||g(w=>({...w,[B]:k})),i?.({...r,[B]:k})},P=M=>{f?.(M.target.name)};return qt("div",{className:We("cleen",a),style:s,ref:y,...h,children:qt("div",{className:We("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?qt("div",{className:We("cleen-py-4",c?.loader?.container),style:u?.loader?.container,children:qt(oe,{...c?.loader?.component,...u?.loader?.component})}):Rg("form",{className:We("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:[qt(de,{label:t?.number,name:"number",type:"tel",autoComplete:"cc-number",className:We("cleen-w-full",c?.form?.cardNumber?.className),classNames:{...c?.form?.cardNumber?.classNames,inputContainer:We({"cleen-border-error":l?.number},c?.form?.cardNumber?.classNames?.inputContainer),input:We({"cleen-text-error":l?.number},c?.form?.cardNumber?.classNames?.input)},...u?.form?.cardNumber,placeholder:"1111 1111 1111 1111",value:x.number,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.number}}),Rg("div",{className:We("cleen-flex cleen-justify-between cleen-items-start cleen-gap-3 cleen-w-full",c?.form?.cvcExpiryContainer),style:u?.form?.cvcExpiryContainer,children:[qt(de,{label:t?.expiry,name:"expiry",type:"tel",autoComplete:"cc-exp",className:c?.form?.expiry?.className,classNames:{...c?.form?.expiry?.classNames,inputContainer:We({"cleen-border-error":l?.expiry},c?.form?.expiry?.classNames?.inputContainer),input:We({"cleen-text-error":l?.expiry},c?.form?.expiry?.classNames?.input)},...u?.form?.expiry,placeholder:"00/00",value:x.expiry,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.expiry}}),qt(de,{label:t?.cvc,name:"cvc",type:"tel",inputMode:"numeric",autoComplete:"cc-csc",maxLength:C==="amex"?4:3,className:c?.form?.cvc?.className,classNames:{...c?.form?.cvc?.classNames,inputContainer:We({"cleen-border-error":l?.cvc},c?.form?.cvc?.classNames?.inputContainer),input:We({"cleen-text-error":l?.cvc},c?.form?.cvc?.classNames?.input)},...u?.form?.cvc,placeholder:"***",value:x.cvc,onChange:I,onFocus:P,infoLabels:{errorMessage:l?.cvc}})]}),(p?.infoMessage||p?.errorMessage||p?.subtitle)&&qt(Y,{...p})]})})})});import{cn as Dg}from"@cleen/ui-core";import{jsx as Lg}from"react/jsx-runtime";var Pt=({isHorizontal:e=!0,className:t,classNames:r,style:n,styles:l,...a})=>Lg("div",{className:Dg("cleen",t),style:n,children:Lg("div",{className:Dg("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 Xt,useBodyScrollLock as v5,useCleenOverlays as Tg,ZIndex as I5}from"@cleen/ui-core";import{forwardRef as b5,useCallback as y5,useEffect as O1,useId as C5,useRef as x5,useState as Ng}from"react";import{createPortal as P5}from"react-dom";import{jsx as Pn,jsxs as Wl}from"react/jsx-runtime";var S5={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":672,"3xl":768},Fg=300,_1=b5(function({title:t,subtitle:r,children:n,headerCloseBtn:l,footer:a,isOpen:c=!1,onClose:s,closeOnOverlayClick:u=!0,position:p="right",zIndex:i=I5.DRAWER,size:f="lg",p:h,gap:y,className:b,classNames:g,style:v,styles:x,...C},I){let[P,M]=Ng(c),[B,k]=Ng(c),w=x5(null),R=C5(),{addOverlay:E,removeOverlay:N}=Tg(),D=y5(()=>{M(!1),setTimeout(()=>s?.(),Fg)},[s]);return O1(()=>{if(c){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Fg);return()=>clearTimeout(F)}},[c]),O1(()=>{if(c)return E(R),()=>N(R)},[E,N,c,R]),O1(()=>{let F=L=>{let{overlays:S}=Tg.getState();L.key==="Escape"&&S[S.length-1]===R&&D()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[D,R]),v5(B),B?P5(Wl("div",{className:Xt("cleen",b),style:v,ref:I,...C,children:[Pn("div",{className:Xt("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",g?.overlay),onClick:()=>{u&&D()},style:{zIndex:i-1,...x?.overlay},"aria-hidden":"true"}),Wl("div",{className:Xt("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",g?.drawer),style:{zIndex:i,width:typeof f=="number"?f:S5[f],...y!==void 0&&{gap:y},...x?.drawer},ref:w,children:[Wl("div",{className:Xt("cleen-flex cleen-justify-between cleen-items-center cleen-px-6 cleen-pt-6 cleen-w-full",g?.header),style:{...h!==void 0&&{paddingInline:h,paddingTop:h},...x?.header},children:[Wl("div",{className:"cleen-flex cleen-flex-col",children:[Pn("span",{className:Xt("cleen-font-semibold cleen-text-foreground-emphasis cleen-text-xl",g?.title),style:x?.title,children:t}),Pn("span",{className:Xt("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",g?.subtitle),style:x?.subtitle,children:r})]}),l||Pn(Be,{onClick:D,className:"cleen-mb-auto cleen-size-5 cleen-cursor-pointer"})]}),Pn("div",{className:Xt("cleen-flex-1 cleen-px-6 cleen-overflow-y-auto cleen-no-scrollbar",g?.content),style:{...h!==void 0&&{paddingInline:h},...x?.content},children:n}),a&&Pn("div",{className:Xt("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",g?.footer),style:{...h!==void 0&&{paddingInline:h,paddingBlock:y},...x?.footer},children:a})]})]}),document.body):null});import{cn as Bo,useAnimateNumber as M5}from"@cleen/ui-core";import{forwardRef as w5,useEffect as k5,useMemo as B5,useRef as R5,useState as D5}from"react";import{jsx as $l,jsxs as H1}from"react/jsx-runtime";var Sn=w5(({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:f,styles:h,...y},b)=>{let g=Math.max(0,Math.min(e,100)),v=R5(g),[x,C]=D5(s?0:g),I=M5({targetNumber:x,duration:u,disabled:!s});k5(()=>{if(s){setTimeout(()=>C(g),0);return}v.current!==g&&(C(g),v.current=g)},[g,s]);let P=B5(()=>{if(r)return r;switch(g<=30?"red":g<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))"}},[g,a,r]);return $l("div",{ref:b,className:Bo("cleen",p),style:f,children:H1("div",{className:Bo("cleen-w-full",i?.container),style:h?.container,...y,children:[t&&$l("div",{className:Bo("cleen-mb-1 cleen-font-semibold cleen-text-xs",i?.title),style:h?.title,children:t}),H1("div",{className:Bo("cleen-flex cleen-items-center cleen-gap-2 cleen-w-full cleen-h-4",i?.wrapper||i?.progress),style:h?.wrapper??h?.progress,children:[$l("div",{className:Bo("cleen-overflow-hidden cleen-flex-1 cleen-h-2 cleen-rounded-full",i?.track),style:{backgroundColor:n,...h?.track},children:$l("div",{className:Bo("cleen-h-full cleen-transition-all cleen-duration-300 ease-out",i?.fill),style:{width:`${x}%`,backgroundColor:P,...s&&{transitionDuration:`${u}ms`},...h?.fill}})}),c&&H1("span",{className:Bo("cleen-font-medium cleen-text-sm cleen-whitespace-nowrap cleen-w-10",i?.text),style:{color:l,...h?.text},children:[Math.round(I),"%"]})]})]})})});Sn.displayName="ProgressBar";import{cn as Kt,FileEntryStatus as Ro}from"@cleen/ui-core";import{useMemo as Eg}from"react";import{Fragment as Ag,jsx as ye,jsxs as Do}from"react/jsx-runtime";var zg=({fileEntry:e,onRemove:t,onFileClick:r,labels:n,classNames:l,styles:a})=>{let{id:c,file:s,name:u,size:p,url:i,type:f,status:h,progress:y=0,preExisting:b}=e,g=h===Ro.UPLOADING,v=h===Ro.ERROR,x=h===Ro.DONE,C=h===Ro.DELETING,I=p?p*y/100:0,P=Eg(()=>{switch(h){case Ro.UPLOADING:return Do(Ag,{children:[ye(bo,{className:"cleen-size-4"}),ye("span",{children:n?.uploading})]});case Ro.DONE:return ye(io,{className:"cleen-size-4"});case Ro.ERROR:return ye(so,{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=Eg(()=>f?.startsWith("image/")&&i?ye("img",{src:i,alt:B,className:"cleen-size-8 cleen-object-cover cleen-rounded-md"}):f==="application/pdf"?ye(uo,{className:"cleen-size-8"}):ye(mo,{className:"cleen-size-8"}),[B,f,i]);return ye(le,{p:12,className:l?.card?.className,classNames:{...l?.card?.classNames,container:Kt(l?.card?.classNames?.container,{"hover:cleen-bg-muted cleen-cursor-pointer cleen-overflow-hidden":x})},...a?.card,onClick:x?M:void 0,children:Do("div",{className:Kt("cleen-space-y-1",l?.container),style:a?.container,children:[Do("div",{className:Kt("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",l?.nameContainer),style:a?.nameContainer,children:[R,Do("div",{className:Kt("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:[ye("span",{className:"cleen-truncate cleen-shrink",children:k}),Do("span",{className:"cleen-whitespace-nowrap",children:[".",w]})]}),ye("div",{className:"cleen-flex-1"}),!g&&(C?ye(oe,{color:"rgb(var(--cleen-error))",className:Kt("cleen-shrink-0")}):ye(Ve,{className:Kt("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)}}))]}),Do("div",{className:Kt("cleen-flex cleen-gap-2 cleen-items-center cleen-text-neutral-600 cleen-text-xs",l?.statusContainer),style:a?.statusContainer,children:[!!p&&(g?ye("p",{children:n?.uploadProgress?.(I,p)}):x&&ye("p",{children:n?.uploaded?.(p)})),!b&&Do(Ag,{children:[ye("span",{children:"|"}),ye("div",{className:Kt("cleen-flex cleen-items-center cleen-gap-1",{"cleen-text-error":v,"cleen-text-success":x},l?.statusText),style:a?.statusText,children:P})]})]}),g&&ye(Sn,{barColor:"rgb(var(--cleen-primary))",percentage:y,showPercentage:!0,...l?.progressBar,...a?.progressBar})]})},c)};var ql=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 Og={primaryText:"Click to upload",secondaryText:"or drag and drop",helperText:"SVG, PNG or JPG (max. 400x400px)",uploading:"Uploading...",uploadProgress:(e,t)=>`${ql(e)} of ${ql(t)}`,uploaded:e=>ql(e)};var _g={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 Zr=(a=>(a.PENDING="pending",a.IN_PROGRESS="inProgress",a.DONE="done",a.ERROR="error",a.REMOVING="removing",a))(Zr||{});import{cn as Lo}from"@cleen/ui-core";import{jsx as Zt,jsxs as Hg}from"react/jsx-runtime";var U1=({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",f=l==="removing",h=l==="pending";return Hg("div",{className:Lo("cleen-flex cleen-items-center cleen-gap-3",r?.container),style:n?.container,children:[c,Hg("div",{className:Lo("cleen-flex-1 cleen-space-y-1 cleen-min-w-0",r?.infoContainer),style:n?.infoContainer,children:[Zt("p",{className:Lo("cleen-font-medium cleen-text-foreground cleen-text-sm cleen-truncate",r?.name),style:n?.name,children:s}),u&&Zt(Sn,{barColor:"rgb(var(--cleen-primary))",percentage:a,...r?.progressBar,...n?.progressBar})]}),u&&Zt("span",{className:Lo("cleen-shrink-0 cleen-text-muted-foreground cleen-text-xs",r?.progressText),style:n?.progressText,children:t?.itemProgress?.(a)}),f&&Zt(oe,{color:"rgb(var(--cleen-error))"}),p&&Zt(io,{className:Lo("cleen-size-5 cleen-shrink-0 cleen-text-success",r?.statusIcon),style:n?.statusIcon}),i&&Zt(so,{className:Lo("cleen-size-5 cleen-shrink-0 cleen-text-error",r?.statusIcon),style:n?.statusIcon}),h&&Zt("div",{className:Lo("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)=>Zt("div",{className:"cleen-size-1 cleen-bg-primary cleen-rounded-full cleen-animate-bounce-medium",style:{animationDelay:`${b*.1}s`}},b))})]})};var Qr=(l=>(l.NOT_STARTED="notStarted",l.IN_PROGRESS="inProgress",l.COMPLETED="completed",l.ALL="all",l))(Qr||{}),Jr=["notStarted","inProgress","completed","all"];import{cn as Xl}from"@cleen/ui-core";import{jsx as Ug,jsxs as L5}from"react/jsx-runtime";var G1=({value:e,onChange:t,counts:r,labels:n,classNames:l,styles:a})=>Ug("div",{role:"group","aria-label":n?.statusFilter,className:Xl("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:Jr.map(c=>{let s=c===e;return L5("button",{type:"button","aria-pressed":s,onClick:()=>t(c),className:Xl("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&&Xl("cleen-bg-background cleen-text-foreground cleen-shadow-sm",l?.optionActive)),style:{...a?.option,...s&&a?.optionActive},children:[n?.statusFilterOptions?.[c],r&&Ug("span",{className:Xl("cleen-text-neutral-400 cleen-tabular-nums",l?.optionCount),style:a?.optionCount,children:r[c]})]},c)})});var Gg={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 Vg=e=>e.status==="inProgress"||e.status==="pending",Wg=e=>e.length>0&&e.every(t=>t.status==="done"),V1=(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 T5,cn as je,useControlled as $g,useDisclosure as N5}from"@cleen/ui-core";import{forwardRef as F5,useEffect as qg,useMemo as W1,useRef as E5}from"react";import{jsx as rt,jsxs as $1}from"react/jsx-runtime";var q1=F5(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:f=!1,statusFilter:h,defaultStatusFilter:y="inProgress",onStatusFilterChange:b,labels:g,className:v,classNames:x,style:C,styles:I,...P},M){let{isOpen:B,toggle:k,close:w}=N5(),{value:R,handleChange:E}=$g({value:l,defaultValue:a,onChange:c});qg(()=>{t.length>0&&w()},[t.length,w]);let N=T5(Gg,g),{value:D,handleChange:F}=$g({value:h,defaultValue:y,onChange:b}),L=E5(s);L.current=s;let S=Wg(t);qg(()=>{if(u==null||!L.current||!S)return;if(u<=0){L.current();return}let q=setTimeout(()=>L.current?.(),u);return()=>clearTimeout(q)},[S,u]);let _=W1(()=>t.filter(Vg).length,[t]),T=W1(()=>!i||!D?t:t.filter(q=>V1(q,D)),[t,i,D]),A=W1(()=>{if(f)return Jr.reduce((q,$)=>({...q,[$]:t.filter(U=>V1(U,$)).length}),{})},[t,f]);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 rt(le,{p:16,gap:12,ref:M,className:je(v,x?.card?.className),classNames:{...x?.card?.classNames,childrenContainer:je(x?.card?.classNames?.childrenContainer,{"cleen-hidden":B})},style:C,styles:I?.card?.styles,header:p?{hasDivider:!B,content:$1("div",{className:je("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",x?.header),style:I?.header,children:[rt("p",{className:je("cleen-font-semibold cleen-text-foreground cleen-text-sm",x?.title),style:I?.title,children:G}),$1("div",{className:je("cleen-flex cleen-items-center cleen-gap-2",x?.headerButtons),style:I?.headerButtons,children:[rt("button",{type:"button","aria-label":N?.contract,onClick:k,className:je("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",x?.contractButton),style:I?.contractButton,children:rt(It,{className:je("cleen-size-5 cleen-transition-transform",B&&"cleen-rotate-180")})}),s&&rt("button",{type:"button","aria-label":N?.dismiss,onClick:s,className:je("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",x?.dismissButton),style:I?.dismissButton,children:rt(Be,{className:"cleen-size-4"})})]})]})}:void 0,...P,children:$1("div",{className:je("cleen-flex cleen-flex-col cleen-gap-3",x?.list),style:I?.list,children:[i&&D&&rt(G1,{value:D,onChange:F,counts:A,labels:N,classNames:x?.statusFilter,styles:I?.statusFilter}),!H.length&&rt("p",{className:je("cleen-text-muted-foreground cleen-text-xs",x?.emptyStatusFilter),style:I?.emptyStatusFilter,children:N?.emptyStatusFilter}),H.map(q=>rt(U1,{item:q,labels:N,classNames:x?.row,styles:I?.row},q.id)),!!z&&rt("button",{type:"button","aria-expanded":R,onClick:()=>E(!R),className:je("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",x?.expandButton),style:I?.expandButton,children:R?N?.showLess:N?.showMore?.(z)})]})})});import{FileEntryStatus as St}from"@cleen/ui-core";var A5=[{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"]}],Xg={label:"FILE",className:"cleen-bg-neutral-500"},z5={[St.QUEUED]:"inProgress",[St.UPLOADING]:"inProgress",[St.PAUSED]:"inProgress",[St.DONE]:"done",[St.ERROR]:"error",[St.DELETING]:"removing"},X1=e=>e.name||e.file?.name||"",Kg=e=>{let t=X1(e).split(".").pop()?.toLowerCase()??"",r=A5.find(({extensions:n})=>n.includes(t));return r?{label:r.label,className:r.className}:{label:t?t.slice(0,4).toUpperCase():Xg.label,className:Xg.className}},Zg=e=>e.status===St.QUEUED||e.status===St.UPLOADING||e.status===St.PAUSED,Qg=e=>z5[e.status]??"pending",Jg=e=>Array.isArray(e)?e:Array.from(e.values());import{cn as O5}from"@cleen/ui-core";import{jsx as _5}from"react/jsx-runtime";var Yg=({fileEntry:e,className:t,style:r})=>{let n=Kg(e);return _5("div",{className:O5("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 H5}from"react/jsx-runtime";var jg=(e,t)=>({id:e.id,name:X1(e),progress:e.progress,status:Qg(e),icon:H5(Yg,{fileEntry:e,className:t?.className,style:t?.style})});import{applyDefaults as U5}from"@cleen/ui-core";import{forwardRef as G5,useMemo as ev}from"react";import{jsx as V5}from"react/jsx-runtime";var K1=G5(function({files:t,title:r,maxVisibleFiles:n=5,labels:l,classNames:a,styles:c,...s},u){let p=ev(()=>Jg(t),[t]),i=U5(_g,l),f=ev(()=>p.map(b=>jg(b,{className:a?.row?.typeBadge,style:c?.row?.typeBadge})),[p,a?.row?.typeBadge,c?.row?.typeBadge]),h=p.filter(Zg).length,y=r??(h?i?.uploading?.(h):i?.completed);return V5(q1,{ref:u,items:f,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 W5,cn as Re,FileEntryStatus as $5,useFileUpload as q5}from"@cleen/ui-core";import{forwardRef as X5,useEffect as K5,useMemo as tv,useRef as ov,useState as Z1}from"react";import{createPortal as Z5}from"react-dom";import{jsx as De,jsxs as Kl}from"react/jsx-runtime";var Q5=X5(function({required:t,icon:r,files:n,initialFiles:l=[],onFilesChange:a,onFileUpload:c,onFilesUpload:s,onFileRemove:u,onFileClick:p,infoLabels:i,containerRef:f,label:h,labelTooltip:y,labels:b,showUploadedFiles:g=!1,showProgressTracker:v=!1,progressTracker:x,className:C,classNames:I,style:P,styles:M,multiple:B,disabled:k,loadingWhileUploading:w,isLoading:R,readOnly:E,onChange:N,id:D,name:F,...L},S){let _=ov(null),{files:T,addFiles:A,remove:z}=q5({files:n,onFilesChange:a,initialFiles:l,onFileUpload:c,onFilesUpload:s,onFileRemove:u}),H=tv(()=>R||w&&Array.from(T.values()).some(X=>X.status===$5.UPLOADING),[T,w,R]),[G,q]=Z1(!1),[$,U]=Z1([]),[V,J]=Z1(!1),O=ov(new Set(T.keys()));K5(()=>{let X=Array.from(T.keys()),Se=X.filter(ve=>!O.current.has(ve));O.current=new Set(X),U(ve=>{let se=ve.filter(lo=>T.has(lo));return Se.length?V?Se:[...se,...Se.filter(lo=>!se.includes(lo))]:se.length===ve.length?ve:se}),Se.length&&J(!1)},[T,V]);let Z=tv(()=>$.map(X=>T.get(X)).filter(X=>!!X),[$,T]),ce=()=>{J(!0),U([]),x?.onDismiss?.()},ge=!k&&!E&&!H,xe=X=>{let Se=Array.from(X.target.files??[]);A(Se),N?.(X)},ro=X=>{z(X)},tt=()=>{ge&&_.current?.click()},Wo=X=>{if(!X.length)return;let Se=B?X:X.slice(0,1);if(!_.current||typeof DataTransfer>"u"){A(Se);return}let ve=new DataTransfer;Se.forEach(se=>ve.items.add(se));try{_.current.files=ve.files}catch{A(Se);return}A(Se),N?.({target:_.current,currentTarget:_.current})},ao=X=>{X.preventDefault(),X.stopPropagation(),q(!1),ge&&Wo(Array.from(X.dataTransfer.files??[]))},Pe=X=>{X.preventDefault(),X.stopPropagation(),ge&&q(!0)},Ze=X=>{X.preventDefault(),X.stopPropagation(),ge&&q(!0)},$o=X=>{X.preventDefault(),X.stopPropagation(),ge&&q(!1)},Oe=X=>{ge&&(X.key!=="Enter"&&X.key!==" "||(X.preventDefault(),tt()))},_e=W5(Og,b);return Kl("div",{className:Re("cleen",C),style:P,ref:f,children:[De("input",{id:D||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:Re("cleen-hidden",I?.input),style:M?.input,onChange:xe,...L}),h&&De(ee,{htmlFor:D||F,required:t,tooltip:y,className:Re("cleen-mb-1.5",I?.label?.className),classNames:I?.label?.classNames,...M?.label,children:h}),Kl("div",{className:Re("cleen-relative cleen-blur-0",{"cleen-pointer-events-none":H}),children:[De(le,{tabIndex:ge?0:-1,role:"button","aria-label":typeof h=="string"?h:"Upload file","aria-disabled":k||E||H,onClick:tt,onKeyDown:Oe,onDrop:ao,onDragEnter:Pe,onDragOver:Ze,onDragLeave:$o,p:16,className:Re("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:Re("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:Re({"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:Kl("div",{className:Re("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:[De("div",{className:Re("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||De(bo,{className:"cleen-size-5"})}),Kl("p",{className:Re("cleen-font-medium cleen-text-sm",I?.textContainer),style:M?.textContainer,children:[De("span",{className:Re(k?"cleen-text-muted-foreground":"cleen-text-primary",I?.primaryText),style:M?.primaryText,children:_e?.primaryText})," ",De("span",{className:Re("cleen-text-foreground",I?.secondaryText),style:M?.secondaryText,children:_e?.secondaryText})]}),De("p",{className:Re("cleen-text-neutral-600 cleen-text-xs",I?.helperText),style:M?.helperText,children:_e?.helperText})]})}),H&&De(oe,{size:"md",className:"cleen-absolute cleen-top-1/2 cleen-left-1/2 -cleen-translate-x-1/2 -cleen-translate-y-1/2"})]}),g&&T.size>0&&De("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-mt-4",children:Array.from(T.values()).map(X=>De(zg,{fileEntry:X,onRemove:ro,onFileClick:p,labels:_e,classNames:I?.fileCard,styles:M?.fileCard},X.id))}),v&&!V&&Z.length>0&&Z5(De("div",{className:"cleen",children:De(K1,{...x,files:Z,onDismiss:ce,className:Re("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)&&De(Y,{...i})]})});var J5=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)}},nv={uploaded:e=>`Uploaded: ${J5(e)}`};var Q1={"image/":"image","video/":"video","audio/":"audio"},J1={"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"},rv={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"},av=["http:","https:","blob:"];var Y5=e=>{let t=e?.split(";")[0].trim().toLowerCase();if(!t)return;if(t in J1)return J1[t];let r=Object.keys(Q1).find(n=>t.startsWith(n));return r?Q1[r]:void 0},Y1=e=>{let t=e.lastIndexOf(".");return t<0?void 0:e.slice(t+1).toLowerCase()},j5=e=>{let t=Y1(e);return t?rv[t]:void 0},lv=e=>Y5(e.type)??j5(e.name)??"generic",cv=e=>{if(!e)return!1;try{let t=typeof document<"u"?document.baseURI:void 0;return av.includes(new URL(e,t).protocol)}catch{return!1}};import{cn as Mt,formatFileSize as e3}from"@cleen/ui-core";import{forwardRef as t3,useMemo as sv,useState as o3}from"react";import{Fragment as r3,jsx as at,jsxs as Zl}from"react/jsx-runtime";var n3=t3(function({file:t,preview:r=!1,onRemove:n,description:l,labels:a,className:c,classNames:s,style:u,styles:p,...i},f){let[h,y]=o3(),b=sv(()=>({...nv,...a}),[a]),g=lv(t),v=v1(Y1(t.name)),x=cv(t.url)?t.url:void 0,C=t.previewUrl||t.url,I=r&&(g==="image"||g==="video")&&!!C&&h!==C,P=sv(()=>{if(l!=null)return l;let w=[];if(t.size!=null&&w.push(e3(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=Mt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-items-center cleen-gap-3 cleen-py-2 cleen-px-3 cleen-rounded-lg",x&&"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=Zl(r3,{children:[Zl("div",{className:Mt("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&&(g==="image"||g==="video"&&t.previewUrl)&&at("img",{src:C,alt:t.name,className:"cleen-size-full cleen-object-cover",onError:()=>y(C)}),I&&g==="video"&&!t.previewUrl&&at("video",{src:C,"aria-label":t.name,className:"cleen-size-full cleen-object-cover",muted:!0,playsInline:!0,preload:"metadata",onError:()=>y(C)}),!I&&at(v,{"aria-hidden":!0,className:Mt("cleen-size-5",s?.icon),style:p?.icon})]}),Zl("div",{className:Mt("cleen-flex cleen-min-w-0 cleen-flex-1 cleen-flex-col cleen-gap-0.5",s?.content),style:p?.content,children:[at("span",{className:Mt("cleen-truncate cleen-text-sm cleen-font-semibold cleen-text-foreground",s?.title),style:p?.title,title:t.name,children:t.name}),P!==null&&at("span",{className:Mt("cleen-truncate cleen-text-xs cleen-text-muted-foreground",s?.description),style:p?.description,children:P})]})]});return at("div",{className:Mt("cleen",c),style:u,ref:f,...i,children:Zl("div",{className:Mt("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",x&&"hover:cleen-border-neutral-300 hover:cleen-shadow-md",s?.container),style:p?.container,children:[x?at("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:B,style:p?.main,children:k}):at("div",{className:B,style:p?.main,children:k}),n&&at("button",{type:"button",className:Mt("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:at(Be,{"aria-hidden":!0,className:"cleen-size-5"})})]})})});var Ql={filterName:"",exposed:!1};import{createContext as a3}from"react";var $e=a3({isSaveFiltersStep:!1,setIsSaveFiltersStep:()=>{},saveStepValues:{exposed:!1,filterName:""},setSaveStepValues:()=>{},handleCloseSaveFilter:()=>{},isFiltersDropdownOpen:!1,setIsFiltersDropdownOpen:()=>{},errors:{},setErrors:()=>{},setError:()=>{}});import{cn as l3}from"@cleen/ui-core";import{useContext as c3,useState as s3}from"react";import{Fragment as i3,jsx as Yr,jsxs as j1}from"react/jsx-runtime";var iv={min:3,max:50},pv=()=>{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:f,onApply:h}=c3($e),[y,b]=s3(!1),g=async()=>{try{if(t.filterName.length<iv.min){a?.("filterName",p?.saveStep?.validation?.tooShort);return}if(t.filterName.length>iv.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?j1("div",{className:"cleen-flex cleen-flex-1 cleen-justify-end cleen-gap-3",children:[Yr(re,{onClick:()=>n(!1),variant:"secondary",...s?.saveFilter?.backBtn,...u?.saveFilter?.backBtn,children:p?.saveStep?.back}),Yr(re,{onClick:g,isLoading:y,loaderColor:"rgb(var(--cleen-white))",...s?.saveFilter?.saveBtn,...u?.saveFilter?.saveBtn,children:p?.saveStep?.save})]}):j1(i3,{children:[i&&Yr(re,{onClick:()=>{r(Ql),n(!0)},variant:"borderless-blue",...s?.saveBtn,...u?.saveBtn,children:p?.save}),j1("div",{className:l3("cleen-flex cleen-items-center cleen-gap-3",{"cleen-flex-1 cleen-justify-end":!i}),children:[Yr(re,{onClick:()=>{f?.(),l()},variant:"secondary",...s?.cancelBtn,...u?.cancelBtn,children:p?.cancel}),Yr(re,{onClick:()=>{h?.(),l()},...s?.applyBtn,...u?.applyBtn,children:p?.apply})]})]})};import{cn as Jl}from"@cleen/ui-core";import{Link as p3}from"react-router-dom";import{Fragment as mv,jsx as To,jsxs as e0}from"react/jsx-runtime";var dv=({item:e,classNames:t,styles:r})=>({disabled:e?.disabled,className:Jl("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:e0(mv,{children:[e?.icon,To("span",{className:Jl("cleen-flex-1",t?.label),style:r?.label,children:e?.label})]}),...e?.type==="button"?{type:"button"}:{to:e?.to}}),t0=({item:e,isLast:t,handleClick:r,onEnterSubmenu:n,classNames:l,styles:a})=>{switch(e?.type){case"group":return e0(mv,{children:[e?.label&&To("p",{className:Jl("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)=>To(t0,{item:c,handleClick:r,onEnterSubmenu:n,isLast:s===u.length-1},c?.id||s)),!t&&To("hr",{className:Jl("cleen-text-neutral-200",l?.groupDivider),style:a?.groupDivider})]});case"button":{let c=e?.submenu&&e?.submenu?.length>0;return e0("button",{type:"button",onClick:()=>{c?n?.(e.submenu,e?.label):r?.(e)},...dv({item:e,classNames:l,styles:a}),children:[e?.icon,To("span",{className:"cleen-flex-1",children:e?.label}),c&&To(Je,{className:"cleen-size-4 cleen-text-neutral-400"})]})}case"link":return To(p3,{to:"",...dv({item:e,classNames:l,styles:a})});default:return null}};import{cn as d3}from"@cleen/ui-core";import{useEffect as uv,useState as hv}from"react";import{Fragment as m3,jsx as fv,jsxs as gv}from"react/jsx-runtime";var vv=({items:e,keepOpenOnClick:t,hideMenu:r,classNames:n,styles:l})=>{let[a,c]=hv([]),[s,u]=hv(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)))};uv(()=>{u(e),c([])},[e]),uv(()=>{let h=y=>{if(y.key==="Escape")if(a.length>0){let b=a?.[a?.length-1];u(b?.items),c(g=>g?.slice(0,-1))}else r()};return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[r,a]);let f=h=>{h?.onClick?.(),t||r()};return gv(m3,{children:[a?.length>0&&gv("button",{onClick:i,className:d3("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:[fv(vt,{className:"cleen-size-4 cleen-text-neutral-300"}),a?.[a?.length-1]?.title]}),s?.map((h,y,b)=>fv(t0,{item:h,isLast:y===b?.length-1,handleClick:f,onEnterSubmenu:p,classNames:n?.item,styles:l?.item},h?.id||y))]})};import{CLEEN_IGNORE_OUTSIDE_CLICK as u3,cn as o0,useDisclosure as h3,useOutsideClick as f3,usePositionClose as g3,ZIndex as v3}from"@cleen/ui-core";import{forwardRef as I3,useRef as Iv}from"react";import{createPortal as b3}from"react-dom";import{jsx as Yl,jsxs as y3}from"react/jsx-runtime";var Mn=I3(function({items:t=[],position:r="bottom-left",keepOpenOnClick:n=!0,triggerRef:l,menuRef:a,ignoreClickOutside:c=!1,zIndex:s=v3.MENU,children:u,className:p,classNames:i,style:f,styles:h,...y},b){let{isOpen:g,toggle:v,close:x}=h3(),C=Iv(null),I=Iv(null),P=l??C,M=a??I,{positionStyles:B,isMounted:k}=g3({triggerRef:P,targetRef:M,position:r,isOpen:g});f3({refs:[P,M],handler:x,enabled:g});let w=()=>{v()};return y3("div",{className:o0("cleen",p),style:f,ref:b,...y,children:[Yl("div",{ref:P,onClick:w,className:o0("cleen-size-fit",i?.trigger,g&&i?.triggerOpen),style:{...h?.trigger,...g?h?.triggerOpen:{}},children:u}),g&&b3(Yl("div",{className:"cleen",...c&&{[u3]:"true"},children:Yl("div",{ref:M,className:o0("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:Yl(vv,{items:t,keepOpenOnClick:n,hideMenu:x,classNames:i,styles:h})})}),document.body)]})});import{cn as jl,ColorHelpers as l0}from"@cleen/ui-core";import{useMemo as C3}from"react";var n0=["blue","lighter-blue","primary","indigo","green","red","purple","pink","orange","gray","yellow"],r0={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"},bv={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"},yv={full:"cleen-rounded-full",rounded:"cleen-rounded-2xl",semiRounded:"cleen-rounded-lg",sleek:"cleen-rounded"};var a0=(e,t)=>!e&&!t?"primary":t?n0[t%n0.length]:e;import{jsx as c0,jsxs as x3}from"react/jsx-runtime";var Le=({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:f,onClick:h,colorByIndex:y,children:b,...g})=>{let{variantClass:v,dotVariantClass:x,dotVariantStyle:C,variantStyle:I}=C3(()=>{let P={};return a in r0?(P.variantClass=r0[a0(a,y)],P.dotVariantClass=bv[a0(a,y)]):(P.variantStyle={borderColor:l0.trasparentize(a,.8),backgroundColor:l0.trasparentize(a,.95),color:a},P.dotVariantStyle={backgroundColor:l0.trasparentize(a,.5)}),P},[a,y]);return c0("div",{className:jl("cleen",e),style:r,children:x3("span",{className:jl("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,yv[c],{"cleen-border":i},{"hover:cleen-opacity-80 cleen-cursor-pointer":h||p},t?.container),style:{...I,...n?.container},onClick:h,...g,children:[s&&c0("span",{className:jl("cleen-size-2 cleen-rounded-[50%]",x,t?.dot),style:{...C,...n?.dot}}),u,l??b,p&&c0(Be,{className:jl("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:f})]})})};import{cn as S3}from"@cleen/ui-core";import{useContext as M3,useState as Cv}from"react";import{jsx as lt,jsxs as w3}from"react/jsx-runtime";var xv=({filter:e,activeTabId:t})=>{let[r,n]=Cv(!1),[l,a]=Cv(!1),{labels:c,onFilterDelete:s,onFilterPin:u,onFilterSelect:p,onFilterUnpin:i,setIsFiltersDropdownOpen:f}=M3($e),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 lt("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:w3("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-cursor-pointer",onClick:()=>{p?.(e),f(!1)},children:[lt("span",{className:"cleen-flex-1 cleen-text-neutral-600 cleen-text-sm cleen-text-left cleen-truncate",children:e.title}),l?lt(oe,{classNames:{loader:"cleen-size-5"}}):lt(Le,{color:"gray",onClick:b=>{b.stopPropagation(),y()},icon:lt(Ir,{name:"pin",className:S3("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"&<(Mn,{items:[{id:"duplicate",type:"button",label:c?.savedFilters?.filter?.cancelDelete,icon:lt(Be,{className:"cleen-size-5"}),onClick:()=>{}},{id:"archive",type:"button",label:c?.savedFilters?.filter?.delete,icon:lt(Ve,{}),danger:!0,onClick:()=>h()}],keepOpenOnClick:!1,ignoreClickOutside:!0,onClick:b=>b.stopPropagation(),className:"cleen-flex",children:r?lt(oe,{size:"sm",color:"rgb(var(--cleen-error))"}):lt(Ve,{className:"cleen-text-foreground hover:cleen-text-error cleen-transition-colors cleen-cursor-pointer",name:"delete"})})]})})};import{cn as Qt}from"@cleen/ui-core";import{forwardRef as k3,useMemo as Sv,useState as B3}from"react";import{cn as s0}from"@cleen/ui-core";var jr={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"}},Pv=e=>{let t=e==="vertical";return{underlined:{list:s0("cleen-gap-2 cleen-border-border",!t&&"cleen-border-b"),tab:s0("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:s0("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 ec,jsxs as Mv}from"react/jsx-runtime";var i0=k3(function({tabs:t,variant:r="underlined",direction:n="horizontal",currentTabIndex:l,onTabChange:a,className:c,classNames:s,style:u,styles:p,...i},f){let[h,y]=B3(0),g=l!==void 0?l:h,v=Sv(()=>t?.[g],[t,g]),x=(I,P)=>{y(I),a?.(I,P)},C=Sv(()=>Pv(n),[n]);return ec("div",{className:Qt("cleen",c),style:u,ref:f,...i,children:Mv("div",{className:Qt(jr[n].container,s?.container),style:p?.container,children:[ec("nav",{className:Qt(C[r].list,jr[n].list,s?.list),"aria-label":"Tabs",style:p?.list,children:t?.map((I,P)=>{let M=g===P,B=I?.isDisabled;return Mv("span",{onClick:()=>!B&&x(P,I),className:Qt("cleen-flex cleen-items-center cleen-gap-2 cleen-whitespace-nowrap",!B&&"cleen-cursor-pointer",C[r].tab,jr[n].tab,s?.tab,B?Qt(C[r].tabDisabled,s?.tabDisabled):M?Qt(C[r].tabActive,s?.tabActive):Qt(C[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&&ec(Le,{variant:"rounded",color:M?"blue":"gray",...s?.count,...p?.count,...I.badge})]},I?.id||P)})}),!!v?.content&&ec("div",{className:Qt("h-full",jr[n].content,s?.content),style:p?.content,children:v?.content})]})})});import{useContext as R3,useState as D3}from"react";import{jsx as No,jsxs as T3}from"react/jsx-runtime";var L3=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},wv=({selectedSavedFilter:e,filters:t,isFiltersFetching:r,onFilterCategoryChange:n})=>{let[l,a]=D3("all"),{labels:c,classNames:s,styles:u,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i}=R3($e);return No(Xr,{isOpen:p,onOpenChange:i,leftIcon:No(ar,{className:"cleen-size-5"}),label:e?.title??c?.savedFilters?.label,fullWidthDropdown:!0,...s?.dropdown,...u?.dropdown,children:T3("div",{className:"flex flex-col gap-2 p-2.5 w-full",children:[No(i0,{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:(f,h)=>{a(h?.id),n?.(L3(h?.id))},classNames:{list:"cleen-mb-2"}}),No("div",{className:"flex flex-col",children:r?No(oe,{classNames:{loader:"cleen-size-6"}}):(t?.length||0)>0?t?.map(f=>No(xv,{filter:f,activeTabId:l},f.filterID)):No("p",{className:"cleen-font-normal cleen-text-neutral-600 cleen-text-base cleen-text-center",children:c?.savedFilters?.noFilters})})]})})};import{cn as ea}from"@cleen/ui-core";import{forwardRef as N3,useEffect as F3,useId as E3,useState as A3}from"react";import{jsx as Fo,jsxs as p0}from"react/jsx-runtime";var d0=N3(function({id:t,name:r,required:n,checked:l,defaultChecked:a=!1,onChange:c,title:s,label:u,labelTooltip:p,sublabel:i,disabled:f,classNames:h,className:y,style:b,styles:g,infoLabels:v,...x},C){let I=typeof l=="boolean",[P,M]=A3(a);F3(()=>{I||M(a)},[a,I]);let B=I?l:P,k=E3(),w=s?`${k}-title`:void 0,R=u?`${k}-label`:void 0,E=[w,R].filter(Boolean).join(" ")||void 0,N=()=>{f||(I||M(!P),c?.(!B))};return Fo("div",{className:ea("cleen",y),style:b,children:p0("div",{className:ea("cleen-flex cleen-flex-col",h?.container),style:g?.container,children:[s&&Fo(ee,{id:w,htmlFor:t||r,required:n,tooltip:p,className:ea("cleen-mb-1.5",h?.title?.className),classNames:h?.title?.classNames,...g?.title,children:s}),p0("div",{className:"cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",children:[Fo("button",{id:t||r,type:"button",role:"switch","aria-checked":B,"aria-labelledby":E,disabled:f,onClick:N,className:ea("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:g?.switch,ref:C,...x,children:Fo("span",{"aria-hidden":"true",className:ea("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:g?.check})}),(u||i)&&p0("div",{className:"cleen-flex cleen-flex-col cleen-text-sm",children:[u&&Fo("span",{id:R,className:"cleen-font-semibold cleen-text-foreground",children:u}),i&&Fo("span",{className:"cleen-font-normal cleen-text-neutral-600",children:i})]})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&Fo(Y,{...v})]})})});import{useContext as z3}from"react";import{Fragment as O3,jsx as kv,jsxs as _3}from"react/jsx-runtime";var Bv=()=>{let{classNames:e,styles:t,labels:r,saveStepValues:n,setSaveStepValues:l,errors:a,clearError:c}=z3($e);return _3(O3,{children:[kv(de,{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}),kv(d0,{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 Rv={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 H3}from"@cleen/ui-core";import{useState as m0}from"react";import{jsx as U3}from"react/jsx-runtime";var Dv=({children:e,value:t})=>{let[r,n]=m0(!1),[l,a]=m0(Ql),{errors:c,setError:s,clearError:u}=H3({}),[p,i]=m0(!1),f=()=>{n(!1),t?.onClose?.()};return U3($e.Provider,{value:{isSaveFiltersStep:r,setIsSaveFiltersStep:n,saveStepValues:l,setSaveStepValues:a,handleCloseSaveFilter:f,isFiltersDropdownOpen:p,setIsFiltersDropdownOpen:i,errors:c,setError:s,clearError:u,...t},children:e})};import{applyDefaults as G3,cn as Lv}from"@cleen/ui-core";import{forwardRef as Tv,useContext as V3}from"react";import{Fragment as q3,jsx as Jt,jsxs as X3}from"react/jsx-runtime";var W3=Tv(function({selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,children:l,classNames:a,styles:c,labels:s,withSavedFilters:u=!0,onClear:p,onSave:i,onCancel:f,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:g,onFilterDelete:v,onFilterPin:x,onFilterSelect:C,onFilterUnpin:I,...P},M){return Jt(Dv,{value:{selectedSavedFilter:t,savedFilters:r,isFiltersFetching:n,classNames:a,styles:c,labels:G3(Rv,s),withSavedFilters:u,onClear:p,onSave:i,onCancel:f,onApply:h,onClose:y,filterDateFormatter:b,onFilterCategoryChange:g,onFilterDelete:v,onFilterPin:x,onFilterSelect:C,onFilterUnpin:I},children:Jt($3,{...P,ref:M,children:l})})}),$3=Tv(function({children:t,...r},n){let{handleCloseSaveFilter:l,isSaveFiltersStep:a,selectedSavedFilter:c,savedFilters:s,isFiltersFetching:u,classNames:p,styles:i,labels:f,withSavedFilters:h=!0,onClear:y,onFilterCategoryChange:b,onFilterSelect:g}=V3($e);return Jt(_1,{footer:Jt(pv,{}),headerCloseBtn:Jt(re,{onClick:()=>{y?.(),g?.(void 0)},leftIcon:Jt(Ve,{}),variant:"secondary",...p?.clearBtn,...i?.clearBtn,children:f?.clear}),classNames:{...p,content:Lv("cleen-space-y-4",p?.content),footer:Lv("cleen-justify-between",p?.footer)},onClose:l,ref:n,...r,title:a?f?.saveStep?.title:r.title,subtitle:a?f?.saveStep?.subtitle:r.subtitle,children:a?Jt(Bv,{}):X3(q3,{children:[h&&Jt(wv,{filters:s,selectedSavedFilter:c,onFilterCategoryChange:b,isFiltersFetching:u}),t]})})});import{cn as wn}from"@cleen/ui-core";import{forwardRef as K3}from"react";import{jsx as tc,jsxs as Nv}from"react/jsx-runtime";var Fv=K3(({title:e,titleTooltip:t,subtitle:r,required:n,labelProps:l,children:a,className:c,classNames:s,style:u,styles:p,...i},f)=>tc("div",{ref:f,className:wn("cleen",c),style:{...u,width:"100%"},...i,children:Nv("div",{className:wn("cleen-flex cleen-w-full cleen-items-start cleen-justify-start cleen-gap-8",s?.container),style:p?.container,children:[Nv("div",{className:wn("cleen-flex cleen-flex-col cleen-w-1/3",s?.titleColumn),style:p?.titleColumn,children:[tc(ee,{...l,required:n,tooltip:t,className:s?.title?.className,classNames:{...s?.title?.classNames,label:wn("cleen-truncate",s?.title?.classNames?.label)},...p?.title,children:e}),r&&tc("div",{className:wn("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})]}),tc("div",{className:wn("cleen-form-group--controls-row cleen-flex cleen-flex-1 cleen-flex-wrap cleen-gap-8",s?.controlsRow),style:p?.controlsRow,children:a})]})}));Fv.displayName="FormGroup";import{cn as fe,useDebounce as Z3,useOutsideClick as Q3,usePositionClose as J3,ZIndex as Y3}from"@cleen/ui-core";import{useEffect as oc,useMemo as u0,useRef as h0,useState as et}from"react";import{createPortal as j3}from"react-dom";import{Fragment as oM,jsx as K,jsxs as Te}from"react/jsx-runtime";function eM(e){return e!==null&&typeof e=="object"}function ke(e,t){if(eM(e)&&t in e)return e[t]}function Ev(e,t){let r=ke(e,t);return Array.isArray(r)?r:[]}function Av(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 tM=({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:f,onItemSelect:h,groupIDKey:y,groupTitleKey:b,itemsKey:g,itemIDKey:v,itemGroupIDKey:x,itemTitleKey:C,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=Y3.POPOVER,className:N,classNames:D,style:F,styles:L})=>{let[S,_]=et(!1),[T,A]=et(!1),[z,H]=et(!1),[G,q]=et(!1),[$,U]=et(null),[V,J]=et(null),[O,Z]=et(""),[ce,ge]=et(""),[xe,ro]=et(null),tt=h0(void 0),[Wo,ao]=et(""),[Pe]=Z3(Wo,500),[Ze,$o]=et(""),Oe=h0(null),_e=h0(null),{positionStyles:X,isMounted:Se}=J3({triggerRef:Oe,targetRef:_e,position:e,isOpen:S,offset:10});Q3({refs:[_e],handler:()=>_(!1),enabled:S});let ve=u0(()=>r??[],[r]),se=u0(()=>{let W=new Map;for(let te of ve){let ie=ke(te,y);ie!=null&&W.set(ie,Ev(te,g))}return W},[ve,y,g]),lo=u0(()=>{let W=[];return $==null?W=Array.from(se?.values()).flat():W=se?.get($)??[],R&&Ze.trim()!==""&&(W=W.filter(te=>{let ie=String(ke(te,C)??""),Qe=I?String(ke(te,I)??""):"";return ie.toLowerCase().includes(Ze?.toLowerCase()??"")||Qe.toLowerCase().includes(Ze?.toLowerCase()??"")})),W},[$,se,Ze,C,I,R]);oc(()=>{let W=tt.current!==n;if(tt.current=n,n==null){W&&(J(null),U(null));return}let ie=Array.from(se?.values())?.flat()?.find(Qe=>ke(Qe,v)===n);if(ie){let Qe=ke(ie,x)??null;J(ie),U(Qe)}else W&&J(null)},[n,se,v,x]),oc(()=>{if(xe==null)return;let te=Array.from(se?.values())?.flat()?.find(Qe=>ke(Qe,v)===xe);if(!te)return;let ie=ke(te,x);U(typeof ie=="string"||typeof ie=="number"?ie:null),J(te),ro(null),h?.(te)},[xe,se,v,x,h]),oc(()=>{f&&f(Pe??"")},[Pe,f]),oc(()=>{S||(A(!1),H(!1),Z(""),ge(""))},[S]);let ga=W=>{W===$?(U(null),J(null),h?.(null)):(J(null),U(W),h?.(null))},j=W=>{let te=ke(W,x);U(typeof te=="string"||typeof te=="number"?te:null),J(W),h?.(W),_(!1)};async function Me(){if(!s)return;let W={[b]:O};try{let te=await s(W);if(te?.success){A(!1),Z(""),c&&await c();let ie=Av(te,y);ie!=null&&(U(ie),J(null),h?.(null))}}catch{}}async function Ie(){if(!u)return;let W={[C]:ce,...$!=null?{[x]:$}:{}};try{let te=await u(W);te?.success&&(H(!1),ge(""),ro(Av(te,v)),c&&await c())}catch{}}return K("div",{className:fe("cleen",N),style:F,children:Te("div",{ref:Oe,className:fe("cleen-relative cleen-w-full cleen-cursor-pointer",D?.container),style:L?.container,onClick:W=>{W.stopPropagation(),_(!0)},children:[K(de,{placeholder:t?.inputPlaceholder,rightIcon:K(It,{className:fe("cleen-w-5 cleen-h-5 cleen-text-neutral-300 cleen-transition-transform",{"cleen-rotate-180":!S})}),value:Wo,onChange:W=>{U(null),J(null),ao(W.target.value)},classNames:{input:S?"":"cleen-cursor-pointer"},className:D?.input,style:L?.input}),S&&j3(K("div",{className:"cleen",children:Te("div",{ref:_e,className:fe("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":!Se},D?.columnsContainer),style:{zIndex:E,top:`${X.top}px`,left:`${X.left}px`,...L?.columnsContainer},children:[Te("div",{className:"cleen-w-1/2 cleen-h-full",children:[K("div",{className:fe("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",D?.leftColumn),style:L?.leftColumn,children:M?K("div",{className:"cleen-flex cleen-items-center cleen-justify-center cleen-w-full cleen-h-full",children:K(oe,{size:"sm"})}):r?.map((W,te)=>{let ie=ke(W,y),Qe=ie===$,wc=String(ke(W,b)??""),kc=Ev(W,g)?.length??0;return Te("div",{className:fe("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",D?.groupItem),style:{...L?.groupItem||{},...Qe?{backgroundColor:w}:{}},onClick:me=>{me.stopPropagation(),me.preventDefault(),ga(ie??null)},children:[Te("div",{className:fe("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:fe("cleen-truncate cleen-font-semibold cleen-text-[14px] cleen-text-foreground",D?.groupItemTitle),style:L?.groupItemTitle,children:wc}),K(Le,{color:"lighter-blue",label:kc})]}),l?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:me=>{me.stopPropagation(),p?.(W)},children:K(Mn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:l?.map(me=>{let En=me?.disabledOptionCallback?.(W);return{...me,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:me?.label}),onClick:()=>{En||me?.onClick(W)},disabled:En}}),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(jo,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`group-${te}-${String(ie??te)}`)})}),K(Pt,{isHorizontal:!0}),T?Te("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(de,{leftIcon:K(Ut,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newGroupPlaceholder,value:O,onChange:W=>Z(W.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(oe,{}):O?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Me()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Te("div",{className:fe("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",D?.newGroupButton),style:L?.newGroupButton,onClick:()=>A(!0),children:[K(Ut,{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(Pt,{className:"cleen-absolute cleen-top-0 cleen-left-1/2 cleen-min-w-[1px] cleen-h-full cleen-bg-border cleen-z-[1]"}),Te("div",{className:"cleen-w-1/2 cleen-h-full",children:[Te("div",{className:fe("cleen-overflow-scroll cleen-no-scrollbar cleen-flex cleen-flex-col cleen-items-start cleen-justify-start cleen-w-full cleen-h-[300px]",D?.rightColumn),style:L?.rightColumn,children:[R&&Te(oM,{children:[K(de,{leftIcon:K(go,{className:"cleen-size-5"}),className:fe("cleen-w-full cleen-transition-transform",{"-cleen-translate-y-11":!G}),classNames:{inputContainer:"cleen-border-0 cleen-shadow-none"},onChange:W=>$o(W.target.value),placeholder:t?.filterPlaceholder}),K("button",{type:"button",className:fe("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(W=>!W),children:K(qn,{className:fe("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(oe,{size:"sm"})}):lo?.map((W,te)=>{let ie=ke(W,v),Qe=V&&ke(V,v)===ie,wc=String(ke(W,C)??""),kc=I?String(ke(W,I)??""):"";return Te("div",{className:fe("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",D?.item),style:{...L?.item||{},...Qe?{backgroundColor:w}:{}},onClick:me=>{me.stopPropagation(),me.preventDefault(),j(W)},children:[Te("div",{className:fe("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:fe("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[14px] cleen-text-foreground",D?.itemTitle),style:L?.itemTitle,children:wc}),K("span",{className:fe("cleen-truncate cleen-w-full cleen-font-semibold cleen-text-[12px] cleen-text-neutral-600",D?.itemSubtitle),style:L?.itemSubtitle,children:kc})]}),a?.length>0&&K("div",{className:"cleen-opacity-0 group-hover:cleen-opacity-100",onClick:me=>{me.stopPropagation(),i?.(W)},children:K(Mn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:a?.map(me=>{let En=me?.disabledOptionCallback?.(W);return{...me,type:"button",label:K("span",{className:"cleen-font-semibold cleen-text-[14px] cleen-text-neutral-700",children:me?.label}),onClick:()=>{En||me?.onClick(W)},disabled:En}}),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(jo,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-700 cleen-cursor-pointer hover:cleen-text-primary"})})})]},`item-${te}-${String(ie??te)}`)})]}),K(Pt,{isHorizontal:!0}),z?Te("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full cleen-h-10",children:[K(de,{leftIcon:K(Ut,{className:"cleen-w-4 cleen-h-4 cleen-text-neutral-300"}),placeholder:t?.newItemPlaceholder,value:ce,onChange:W=>ge(W.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(oe,{}):ce?.length>P?K(re,{variant:"primary",label:t?.saveButtonLabel,onClick:()=>{Ie()},classNames:{container:"cleen-w-max cleen-h-7"}}):K("div",{}):K("div",{})})]}):Te("div",{className:fe("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",D?.newItemButton),style:L?.newItemButton,onClick:()=>H(!0),children:[K(Ut,{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(ke(V,C)??"")})})]})})};import{cn as Ce,useDebounce as nM,useOutsideClick as rM,usePositionClose as aM,ZIndex as lM}from"@cleen/ui-core";import{forwardRef as cM,useEffect as _v,useId as sM,useMemo as Hv,useRef as f0,useState as nc}from"react";import{createPortal as iM}from"react-dom";import{cn as Eo}from"@cleen/ui-core";import{jsx as Yt,jsxs as zv}from"react/jsx-runtime";var Ov=({options:e,selection:t,classNames:r,styles:n,onChoose:l,displaySubtextInline:a=!0,activeIndex:c=-1,getOptionId:s,onActiveIndexChange:u,...p})=>Yt("div",{...p,children:Yt("div",{className:Eo("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,f)=>{let h=t?.some(b=>b?.value===i?.value),y=f===c;return zv("li",{id:s?.(f),role:"option","aria-selected":h,className:Eo("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?.(f),onClick:()=>l?.(i,h),children:[zv("div",{className:Eo("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&&Yt(Le,{color:"gray",label:i?.leadingBadgeValue}),i?.icon,i?.label&&Yt("span",{className:Eo("cleen-font-medium cleen-text-foreground cleen-text-base",!a&&"cleen-w-full cleen-truncate"),children:i?.label}),i?.preSublabel&&Yt("span",{className:Eo("cleen-font-medium cleen-text-neutral-400 cleen-text-xs",!a&&"cleen-w-full cleen-truncate"),children:i?.preSublabel}),i?.sublabel&&Yt("span",{className:Eo("cleen-font-medium cleen-text-neutral-600 cleen-text-sm",!a&&"cleen-w-full cleen-truncate"),children:i?.sublabel})]}),h&&Yt("div",{className:r?.checkContainer,style:n?.checkContainer,children:Yt(gt,{className:Eo("cleen-text-primary",r?.check),style:n?.check})})]},i.value)})})});import{Fragment as dM,jsx as he,jsxs as rc}from"react/jsx-runtime";var pM=cM(function({id:t,name:r,label:n,labelTooltip:l,labels:a,options:c,value:s,displaySelected:u="under",isLoading:p=!1,required:i,internalFiltering:f=!1,closeOnReachingLimit:h=!0,limit:y,getCustomBadgeLabel:b,displaySubtextInline:g=!0,selectedBadgeColor:v="blue",debounceDelay:x=0,characterThreshold:C=2,disabled:I=!1,isNoDataVisibleOnCreateNew:P=!0,zIndex:M=lM.DROPDOWN,className:B,classNames:k,style:w,styles:R,infoLabels:E,menuDetachedFromPortal:N,onInputChange:D,onChange:F,onCreateNewOption:L,createNewOptionLabelString:S,onLookupBlur:_,triggerBlurOnlyWhenOpen:T=!0,menuRef:A,...z},H){let[G,q]=nc(!1),$=f0(null),U=f0(null),V=A??$,{positionStyles:J,isMounted:O}=aM({triggerRef:U,targetRef:V,position:"bottom-left",isOpen:G,offset:4});rM({refs:[V,U],handler:()=>{q(!1),_?.()},enabled:T?G:!0});let[Z,ce]=nc(""),ge=nM(Z,x),xe=x?ge:Z,ro=f0(xe),tt=Array.isArray(s),[Wo,ao]=nc([]),Pe=tt?s:Wo,Ze=["inside","inside-badge"].includes(u),$o=(j,Me=!1)=>{if(Me){let W=Pe.filter(te=>te.value!==j.value);tt||ao(W),F?.(W);return}let Ie;if(y===1)Ie=[j];else{if(y&&Pe.length>=y)return;Ie=[...Pe,j]}tt||ao(Ie),F?.(Ie),h&&y&&Ie.length>=y&&(ce(""),q(!1))},Oe=Hv(()=>f?c?.filter(j=>j?.label?.match(new RegExp(xe,"i"))):c,[c,xe,f]),_e=Hv(()=>S&&L&&!p&&Z?.length>0&&!Oe?.some(j=>j?.label===Z)?typeof S=="function"?S(Z):S:null,[S,L,p,Z,Oe]);_v(()=>{ro.current!==xe&&(ro.current=xe,xe.length<C?q(!1):(D?.(xe),q(!0)))},[xe,D,C]);let X=sM(),Se=j=>`${X}-option-${j}`,[ve,se]=nc(-1);_v(()=>{se(-1)},[xe,G]);let lo=j=>{let Me=Oe?.length??0;switch(j.key){case"ArrowDown":if(!Me)return;if(j.preventDefault(),!G){q(!0),se(0);return}se(Ie=>(Ie+1)%Me);break;case"ArrowUp":if(!Me)return;if(j.preventDefault(),!G){q(!0),se(Me-1);return}se(Ie=>(Ie-1+Me)%Me);break;case"Home":if(!G||!Me)return;j.preventDefault(),se(0);break;case"End":if(!G||!Me)return;j.preventDefault(),se(Me-1);break;case"Enter":{if(!G||ve<0)return;let Ie=Oe?.[ve];if(!Ie)return;j.preventDefault();let W=Pe?.some(te=>te.value===Ie.value);$o(Ie,W);break}case"Escape":G&&(j.preventDefault(),q(!1));break;default:break}},ga=rc("ul",{id:X,role:"listbox",className:Ce("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?he(oe,{className:Ce("cleen-py-3",k?.menu?.loader),style:R?.menu?.loader}):!Oe||Oe?.length===0?!!a?.noDataFound&&(P||!_e)&&he("div",{className:Ce("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}):he(Ov,{options:Oe,selection:Pe,onChoose:$o,displaySubtextInline:g,activeIndex:ve,getOptionId:Se,onActiveIndexChange:se,...k?.menu?.list,...R?.menu?.list}),_e&&rc("div",{className:Ce("cleen-flex cleen-flex-col cleen-justify-center cleen-items-center",k?.createNewOption?.container),style:R?.createNewOption?.container,children:[he(Pt,{...k?.createNewOption?.divider,...R?.createNewOption?.divider}),he("span",{className:Ce("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 j=L?.(Z);typeof j=="boolean"&&!j||ce("")},children:_e})]})]});return he("div",{className:Ce("cleen",B),style:w,children:rc("div",{className:Ce("cleen-flex cleen-flex-col cleen-w-full",k?.container),style:R?.container,children:[n&&he(ee,{htmlFor:t||r,required:i,tooltip:l,className:Ce("cleen-mb-1.5",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:n}),he("div",{ref:U,className:Ce("cleen-relative cleen-flex cleen-items-center",k?.input?.container),style:R?.input?.container,children:he(de,{id:t||r,type:"search",autoFocus:!1,autoComplete:"off",className:Ce("cleen-w-full",k?.input?.component?.className),classNames:{...k?.input?.component?.classNames,inputContainer:Ce({"cleen-flex-wrap":Ze},k?.input?.component?.classNames?.inputContainer),input:Ce({"cleen-pl-2":Ze},k?.input?.component?.classNames?.input),leftIconContainer:Ce({"cleen-pr-0":Ze},k?.input?.component?.classNames?.leftIconContainer)},...R?.input?.component,leftIcon:rc(dM,{children:[he(go,{}),Ze&&(Pe||[])?.length>0&&he("div",{className:Ce("cleen-flex cleen-gap-1 cleen-overflow-hidden cleen-text-ellipsis cleen-whitespace-nowrap"),onClick:()=>{q(!G)},children:u==="inside-badge"?Pe?.map(j=>he(Le,{label:j?.label,color:"blue",variant:"semiRounded"},j.value)):he("span",{className:Ce("cleen-font-medium cleen-text-foreground cleen-text-sm"),children:Pe?.map(j=>j?.label).join(", ")})})," "]}),onFocus:()=>{xe.length>=C&&Z.length>=C&&q(!0)},value:Z,onChange:j=>{ce(j.target.value)},role:"combobox","aria-autocomplete":"list","aria-expanded":G,"aria-controls":G?X:void 0,"aria-activedescendant":G&&ve>=0?Se(ve):void 0,onKeyDown:lo,ref:H,required:i,disabled:I,...z})}),G&&(N?he("div",{ref:V,children:ga}):iM(he("div",{className:"cleen",children:he("div",{ref:V,className:Ce("cleen-absolute",{"cleen-opacity-0":!O}),style:{zIndex:M,top:`${J.top}px`,left:`${J.left}px`,minWidth:U.current?.offsetWidth?`${U.current.offsetWidth}px`:void 0},children:ga})}),document.body)),u==="under"&&Pe?.length>0&&he("span",{className:Ce("cleen-flex cleen-flex-wrap cleen-gap-1.5 cleen-mt-1.5",k?.pillbadge?.container),style:R?.pillbadge?.container,children:Pe?.map(j=>he(Le,{label:b?b(j):j?.label,color:v,removeable:!I,onRemoveClicked:()=>{if(I)return;let Me=Pe?.filter(Ie=>Ie?.value!==j?.value);tt||ao(Me),F?.(Me)},...k?.pillbadge?.component,...R?.pillbadge?.component},j.value))}),(E?.errorMessage||E?.infoMessage||E?.subtitle)&&he(Y,{...E})]})})});import{cn as ae}from"@cleen/ui-core";import{forwardRef as mM}from"react";import uM from"react-markdown";import hM from"remark-gfm";import{jsx as ne}from"react/jsx-runtime";var fM=mM(function({components:t,children:r,className:n,classNames:l,style:a,styles:c,...s},u){let p={h1:({children:i})=>ne("h1",{className:ae("cleen-text-3xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-4 cleen-mt-6"),children:i}),h2:({children:i})=>ne("h2",{className:ae("cleen-text-2xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-3 cleen-mt-5"),children:i}),h3:({children:i})=>ne("h3",{className:ae("cleen-text-xl cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-4"),children:i}),h4:({children:i})=>ne("h4",{className:ae("cleen-text-lg cleen-font-semibold cleen-text-foreground-emphasis cleen-mb-2 cleen-mt-3"),children:i}),h5:({children:i})=>ne("h5",{className:ae("cleen-text-base cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),h6:({children:i})=>ne("h6",{className:ae("cleen-text-sm cleen-font-semibold cleen-text-foreground cleen-mb-1 cleen-mt-2"),children:i}),p:({children:i})=>ne("p",{className:ae("cleen-text-base cleen-text-foreground cleen-mb-4 cleen-leading-relaxed"),children:i}),a:({href:i,children:f})=>ne("a",{href:i,className:ae("cleen-text-primary cleen-underline"),target:"_blank",rel:"noopener noreferrer",children:f}),ul:({children:i})=>ne("ul",{className:ae("cleen-list-disc cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),ol:({children:i})=>ne("ol",{className:ae("cleen-list-decimal cleen-pl-6 cleen-mb-4 cleen-text-foreground"),children:i}),li:({children:i})=>ne("li",{className:ae("cleen-mb-1"),children:i}),blockquote:({children:i})=>ne("blockquote",{className:ae("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:f,...h})=>i?ne("code",{className:ae("cleen-font-mono cleen-text-sm"),...h,children:f}):ne("code",{className:ae("cleen-font-mono cleen-bg-muted cleen-rounded cleen-px-1 cleen-text-sm"),...h,children:f}),pre:({children:i})=>ne("pre",{className:ae("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:()=>ne("hr",{className:ae("cleen-border-t cleen-border-border cleen-my-4")}),img:({src:i,alt:f})=>ne("img",{src:i,alt:f,className:ae("cleen-max-w-full cleen-rounded")}),strong:({children:i})=>ne("strong",{className:ae("cleen-font-semibold"),children:i}),em:({children:i})=>ne("em",{className:ae("cleen-italic"),children:i}),table:({children:i})=>ne("div",{className:ae("cleen-overflow-x-auto cleen-mb-4"),children:ne("table",{className:ae("cleen-w-full cleen-border-collapse cleen-text-sm cleen-text-900"),children:i})}),thead:({children:i})=>ne("thead",{className:ae("cleen-border-b cleen-border-border"),children:i}),th:({children:i})=>ne("th",{className:ae("cleen-text-left cleen-font-semibold cleen-p-2 cleen-border-b cleen-border-border"),children:i}),td:({children:i})=>ne("td",{className:ae("cleen-p-2 cleen-border-b cleen-border-border"),children:i}),input:({type:i,checked:f,disabled:h})=>i==="checkbox"?ne("input",{type:"checkbox",checked:f,disabled:h,readOnly:!0,className:ae("cleen-mr-2 cleen-align-middle")}):ne("input",{type:i})};return ne("div",{ref:u,className:ae("cleen",n,l?.container),style:{...a,...c?.container},...s,children:ne(uM,{...s,remarkPlugins:[hM],components:{...p,...t},children:r})})});import{cn as Ao,useBodyScrollLock as gM,useCleenOverlays as Uv,ZIndex as vM}from"@cleen/ui-core";import{forwardRef as IM,useCallback as bM,useEffect as g0,useId as yM,useRef as CM,useState as Gv}from"react";import{createPortal as xM}from"react-dom";import{jsx as ta,jsxs as Wv}from"react/jsx-runtime";var PM={xs:320,sm:384,md:448,lg:512,xl:576,"2xl":728,"3xl":896,"4xl":1152},Vv=300,SM=IM(function({isOpen:t=!1,onClose:r,closeOnOverlayClick:n=!0,closeButtonIcon:l=ta(Be,{className:"cleen-size-5"}),header:a,footer:c,zIndex:s=vM.MODAL,size:u="md",color:p,p:i,gap:f,radius:h=16,className:y,classNames:b,style:g,styles:v,children:x,...C},I){let[P,M]=Gv(t),[B,k]=Gv(t),w=CM(null),R=yM(),{addOverlay:E,removeOverlay:N}=Uv(),D=bM(()=>{M(!1),setTimeout(()=>r?.(),Vv)},[r]);return g0(()=>{if(t){k(!0);let F=setTimeout(()=>M(!0),1);return()=>clearTimeout(F)}else{M(!1);let F=setTimeout(()=>k(!1),Vv);return()=>clearTimeout(F)}},[t]),g0(()=>{if(t)return E(R),()=>N(R)},[E,N,t,R]),g0(()=>{let F=L=>{let{overlays:S}=Uv.getState();L.key==="Escape"&&S[S.length-1]===R&&D()};return document.addEventListener("keydown",F),()=>document.removeEventListener("keydown",F)},[D,R]),gM(B),B?xM(Wv("div",{className:Ao("cleen",y),style:g,ref:I,...C,children:[ta("div",{className:Ao("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&&D()},"aria-hidden":"true"}),ta("div",{className:Ao("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:Wv(le,{header:a,footer:c,color:p,p:i,gap:f,radius:h,className:Ao("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:PM[u],...v?.modal?.style},classNames:{...b?.modal?.classNames,container:Ao("cleen-min-h-48 cleen-max-h-[90vh] cleen-overflow-y-auto",b?.modal?.classNames?.container),childrenContainer:Ao("cleen-min-h-24 cleen-max-h-[80vh] cleen-overflow-y-auto",b?.modal?.classNames?.childrenContainer)},styles:v?.modal?.styles,ref:w,children:[x,l&&ta("div",{className:Ao("cleen-top-3 cleen-right-3 cleen-absolute"),children:ta(re,{variant:"borderless",onClick:D,"aria-label":"Close modal",classNames:{container:"cleen-p-1.5 cleen-rounded-full"},children:l})})]})})]}),document.body):null});import{useEffect as $v,useRef as MM}from"react";import{Fragment as wM,jsx as kM}from"react/jsx-runtime";var qv=({children:e,isIn:t,done:r,playToast:n})=>{let l=MM(!1);return $v(()=>{l.current||(l.current=!0,n())},[n]),$v(()=>{t||r()},[t,r]),kM(wM,{children:e})};import"react-toastify";var v0={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}},Xv={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 oa}from"@cleen/ui-core";import{jsx as ac,jsxs as Kv}from"react/jsx-runtime";var Zv=({message:e,title:t,icon:r,variant:n="default",classNames:l})=>{let a=Xv[n],c=r??(a?ac(Ee,{name:a.name,width:18,height:18,className:a.className}):null);return Kv("div",{className:oa("cleen-flex cleen-items-start cleen-gap-3",l?.container),children:[c&&ac("span",{className:oa("cleen-flex cleen-shrink-0 cleen-items-center cleen-pt-0.5",l?.icon),children:c}),Kv("div",{className:oa("cleen-flex cleen-flex-col cleen-gap-0.5",l?.body),children:[t&&ac("span",{className:oa("cleen-text-sm cleen-font-semibold cleen-text-foreground",l?.title),children:t}),ac("span",{className:oa("cleen-text-sm cleen-text-muted-foreground",l?.message),children:e})]})]})};import{cn as BM}from"@cleen/ui-core";import{Bounce as RM,Flip as DM,toast as na,Slide as LM,Zoom as TM}from"react-toastify";import{jsx as FM}from"react/jsx-runtime";var NM=({message:e,title:t,icon:r,variant:n="default",animationType:l="slide",className:a,classNames:c,...s})=>{let u=()=>{switch(l){case"bounce":return RM;case"flip":return DM;case"zoom":return TM;case"none":return qv;default:return LM}},p=t!==void 0||r!==void 0,i=p?FM(Zv,{message:e,title:t,icon:r,variant:n,classNames:c}):e,f={...v0.default,...n!=="default"&&v0[n],transition:u(),className:BM("cleen-text-sm",a),...s,...p&&{icon:!1}};switch(n){case"success":return na.success(i,f);case"error":return na.error(i,f);case"info":return na.info(i,f);case"warning":return na.warning(i,f);default:return na(i,f)}};import{ToastContainer as EM}from"react-toastify";import{jsx as Qv}from"react/jsx-runtime";var AM=e=>Qv("div",{className:"cleen",children:Qv(EM,{...e})});import{cn as Jv}from"@cleen/ui-core";import{forwardRef as zM,useState as OM}from"react";import{jsx as I0,jsxs as _M}from"react/jsx-runtime";var b0=zM(({totalPages:e,labels:t,onGoToPage:r,classNames:n,styles:l,...a},c)=>{let[s,u]=OM(""),p=()=>{let f=parseInt(s,10);isNaN(f)||(r?.(Math.min(Math.max(f,1),e)),u(""))},i=f=>{f.key==="Enter"?p():f.key==="Escape"&&u("")};return I0("div",{className:"cleen",...a,children:_M("div",{className:Jv("cleen-flex cleen-items-center cleen-gap-2",n?.container),style:l?.container,children:[I0("span",{className:Jv("cleen-text-sm cleen-text-neutral-700 cleen-whitespace-nowrap",n?.label),style:l?.label,children:t?.goToPage}),I0(de,{ref:c,type:"number",min:1,max:e,value:s,onChange:f=>u(f.target.value),onKeyDown:i,...n?.input,...l?.input})]})})});import{cn as lc,useOutsideClick as HM,usePositionClose as UM}from"@cleen/ui-core";import{forwardRef as GM,useRef as Yv,useState as jv}from"react";import{createPortal as VM}from"react-dom";import{jsx as kn,jsxs as $M}from"react/jsx-runtime";var WM=[10,20,50,100],y0=GM(({pageSize:e,pageSizes:t=WM,labels:r,onPageSizeChange:n,classNames:l,styles:a,...c},s)=>{let[u,p]=jv(e??t?.[0]??void 0),[i,f]=jv(!1),h=Yv(null),y=Yv(null),{positionStyles:b,isMounted:g}=UM({triggerRef:h,targetRef:y,isOpen:i,position:"top-left"});return HM({refs:[h,y],handler:()=>f(!1),enabled:i}),kn("div",{className:"cleen",ref:s,...c,children:$M("div",{className:lc("cleen-relative cleen-flex cleen-justify-start cleen-items-center cleen-w-10",l?.container),style:a?.container,children:[kn(ue,{label:r?.itemsPerPage?.(u),classNames:{labelContainer:"cleen-min-w-max"},children:kn("div",{className:lc("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:()=>f(v=>!v),ref:h,children:u})}),i&&VM(kn("div",{className:"cleen",children:kn("div",{ref:y,className:lc("cleen-flex cleen-bg-background cleen-shadow-lg cleen-border cleen-border-border cleen-rounded-lg","cleen-absolute cleen-z-50",{"cleen-opacity-0":!g},l?.menu),style:{top:`${b.top}px`,left:`${b.left}px`,...a?.menu},children:t?.filter(v=>v!==u)?.map(v=>kn("div",{className:lc("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),f(!1)},children:v},v))})}),document.body)]})})});var eI={goToPreviousPage:"Go to previous page",goToNextPage:"Go to next page",goToPage:"Go to page",itemsPerPage:e=>`Show ${e} items per page`};import{cn as jt}from"@cleen/ui-core";import{forwardRef as qM,useCallback as cc,useMemo as XM,useRef as KM}from"react";import{jsx as Ne,jsxs as QM}from"react/jsx-runtime";var ZM=qM(({currentPage:e,totalPages:t,pageSize:r,pageSizes:n,hasGotoPage:l=!0,hasPageSizeSelector:a=!0,onPageChange:c,onPageSizeChange:s,labels:u=eI,classNames:p,styles:i,...f},h)=>{let y=KM(null),b=cc(()=>{e<t&&c?.(e+1)},[e,t,c]),g=cc(()=>{e>1&&c?.(e-1)},[e,c]),v=cc(I=>Ne("span",{className:jt("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]),x=cc(I=>Ne("span",{className:jt("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]),C=XM(()=>{if(isNaN(e)||isNaN(t))return[];let I=[];if(I.push(Ne(ue,{label:u.goToPreviousPage,classNames:{labelContainer:"cleen-min-w-max"},children:Ne("span",{className:jt("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:g,children:Ne(vt,{})})},"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(x("dots-end")),I.push(v(t))}else if(e>=t-2){I.push(x("dots-start"));for(let P=t-3;P<=t;P++)I.push(v(P))}else I.push(x("dots-start")),I.push(v(e-1)),I.push(v(e)),I.push(v(e+1)),I.push(x("dots-end")),I.push(v(t));return I.push(Ne(ue,{label:u.goToNextPage,classNames:{labelContainer:"cleen-min-w-max"},children:Ne("span",{className:jt("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:Ne(Je,{})})},"next")),I},[e,t,u,p,i,x,v,b,g]);return Ne("div",{className:"cleen",ref:h,...f,children:QM("div",{className:jt("cleen-flex cleen-justify-between cleen-gap-4",p?.container),style:i?.container,children:[a?Ne(y0,{pageSize:r,labels:u,onPageSizeChange:s,pageSizes:n,className:jt("cleen-flex-1",p?.pageSizeSelector?.className),classNames:p?.pageSizeSelector?.classNames,...i?.pageSizeSelector}):Ne("div",{className:"cleen-flex-1"}),Ne("div",{className:jt("cleen-flex cleen-flex-1 cleen-justify-center cleen-items-center cleen-gap-2 cleen-w-full",p?.buttonsContainer),style:i?.buttonsContainer,children:C}),l?Ne(b0,{ref:y,totalPages:t,onGoToPage:c,labels:u,className:jt("cleen-flex cleen-flex-1 cleen-justify-end",p?.goToPage?.className),classNames:p?.goToPage?.classNames,...i?.goToPage}):Ne("div",{className:"cleen-flex-1"})]})})});import{cn as C0,useDisclosure as JM,useOutsideClick as YM,usePositionClose as jM,ZIndex as ew}from"@cleen/ui-core";import{forwardRef as tw,useRef as tI}from"react";import{createPortal as ow}from"react-dom";import{jsx as x0,jsxs as rw}from"react/jsx-runtime";var nw=tw(function({isOpen:t,onOpenChange:r,content:n,position:l="bottom-left",offset:a,zIndex:c=ew.POPOVER,children:s,className:u,classNames:p,style:i,styles:f,...h},y){let{isOpen:b,toggle:g,close:v}=JM({value:t,setValue:r}),x=tI(null),C=tI(null),{positionStyles:I,isMounted:P}=jM({triggerRef:x,targetRef:C,position:l,isOpen:b,offset:a});YM({refs:[x,C],handler:v,enabled:b});let M=B=>{B.stopPropagation(),g()};return rw("div",{className:C0("cleen",u),style:i,ref:y,...h,children:[x0("div",{ref:x,onClick:M,className:C0("cleen-size-fit",p?.trigger,b&&p?.triggerOpen),style:{...f?.trigger,...b?f?.triggerOpen:{}},children:s}),b&&ow(x0("div",{className:"cleen",onClick:B=>B.stopPropagation(),onPointerDown:B=>B.stopPropagation(),onMouseDown:B=>B.stopPropagation(),onTouchStart:B=>B.stopPropagation(),children:x0("div",{ref:C,className:C0("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`,...f?.popover},onClick:B=>B.stopPropagation(),children:n})}),document.body)]})});import{cn as oI}from"@cleen/ui-core";import{forwardRef as aw,useEffect as lw,useState as cw}from"react";import{jsx as sc,jsxs as nI}from"react/jsx-runtime";var sw={xs:40,sm:60,md:80,lg:100,xl:120,xxl:140,xxxl:160},rI=aw(({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:f,className:h,classNames:y,style:b,styles:g,...v},x)=>{let C=n??sw[a]/2,I=C-l/2,P=I*2*Math.PI,[M,B]=cw(0);lw(()=>{let w=null;if(r===0){B(t);return}let R=E=>{w||(w=E);let N=E-w,D=Math.min(N/r*t,t);B(D),D<t&&requestAnimationFrame(R)};requestAnimationFrame(R)},[t,r]);let k=P-M/100*P;return sc("div",{ref:x,className:oI("cleen",h),style:b,...v,children:nI("div",{className:oI("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:g?.container,children:[nI("svg",{height:C*2,width:C*2,style:{transform:"rotate(-90deg)"},children:[sc("circle",{stroke:s,fill:"transparent",strokeWidth:l,r:I,cx:C,cy:C}),sc("circle",{stroke:c,fill:"transparent",strokeWidth:l,strokeLinecap:"round",strokeDasharray:P,strokeDashoffset:k,r:I,cx:C,cy:C})]}),!p&&sc("div",{className:"cleen-absolute cleen-font-semibold cleen-text-foreground",style:{fontSize:i??C/2.5,color:u},children:f?f(M):`${Math.round(M)}%`})]})})});rI.displayName="ProgressCircle";import{cn as qe}from"@cleen/ui-core";import{useEffect as iw,useState as pw}from"react";import{Fragment as aI,jsx as wt,jsxs as ra}from"react/jsx-runtime";var dw=({horizontal:e,boxes:t,selectedBox:r,onBoxClick:n,leftElement:l,rightElement:a,leftIcon:c,leftIconName:s,rightIconName:u,className:p,classNames:i,style:f,styles:h,...y})=>{let[b,g]=pw(r);iw(()=>{g(r)},[r]);let v=(P,M)=>ra(aI,{children:[l&&l(P),c||(s?wt(Ee,{name:s,className:qe("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.leftIcon),style:h?.leftIcon}):null)]}),x=(P,M)=>wt("span",{className:qe("cleen-font-semibold",M?"cleen-text-primary":"cleen-text-neutral-700",i?.label),style:h?.label,children:P?.label}),C=(P,M)=>wt("span",{className:qe("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)=>ra(aI,{children:[a&&a(P),u&&wt(Ee,{name:u,className:qe("cleen-w-5 cleen-h-5",M?"cleen-text-primary":"cleen-text-neutral-700",i?.rightIcon),style:h?.rightIcon})]});return wt("div",{className:qe("cleen",p),style:f,...y,children:e?wt("div",{className:qe("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 ra("div",{className:qe("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:()=>{g(P),n?.(P)},children:[v(P,M),P?.label&&x(P,M),P?.subLabel&&C(P,M),I(P,M)]},P?.id)})}):wt("div",{className:qe("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 ra("div",{className:qe("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:()=>{g(P),n?.(P)},children:[wt("div",{className:qe("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-start",i?.leftIconContainer),style:h?.leftIconContainer,children:v(P,M)}),wt("div",{className:qe("cleen-flex cleen-items-center cleen-justify-center",i?.labelContainer),style:h?.labelContainer,children:P?.label&&x(P,M)}),ra("div",{className:qe("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-end",i?.rightIconContainer),style:h?.rightIconContainer,children:[P?.subLabel&&C(P,M),I(P,M)]})]},P?.id)})})})};import{cn as kt}from"@cleen/ui-core";import{forwardRef as hw,useEffect as fw,useId as gw,useRef as vw,useState as Iw}from"react";import{cn as lI}from"@cleen/ui-core";import{forwardRef as mw}from"react";import{jsx as cI,jsxs as uw}from"react/jsx-runtime";var ic=mw(function({checked:t,className:r,classNames:n,style:l,styles:a,...c},s){return uw("div",{className:lI("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:[cI("input",{ref:s,type:"radio",checked:t,className:"cleen-sr-only",...c}),cI("span",{className:lI("cleen-size-2 cleen-rounded-full cleen-bg-primary-foreground",n?.innerCircle),style:a?.innerCircle})]})});import{jsx as ct,jsxs as pc}from"react/jsx-runtime";var bw=hw(function({required:t,radios:r,label:n,labelTooltip:l,className:a,classNames:c,style:s,styles:u,name:p,direction:i="vertical",radioPosition:f="left",defaultActiveId:h,value:y,infoLabels:b,onChange:g},v){let x=y!==void 0,[C,I]=Iw(h??r[0]?.id),P=gw(),M=`${P}-label`,B=p??`cleen-radio-group-${P}`;fw(()=>{!x&&h!==void 0&&I(h)},[h,x]);let k=x?y:C,w=S=>k!=null&&k==S,R=S=>{x||I(S),g?.(S)},E=vw([]),N=r?.findIndex(S=>w(S.id)),D=N>=0?N:0,F=S=>{let _=r[S];_&&(R(_.id),E.current[S]?.focus())},L=(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 ct("div",{className:kt("cleen",a),style:s,ref:v,children:pc("div",{className:c?.container,style:u?.container,children:[n&&ct(ee,{id:M,htmlFor:P,required:t,tooltip:l,className:kt("cleen-mb-1.5",c?.label?.className),classNames:c?.label?.classNames,...u?.label,children:n}),ct("div",{id:P,role:"radiogroup","aria-labelledby":n?M:void 0,className:kt("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??f;return pc("div",{className:kt("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"&&ct(ic,{ref:z=>{E.current[_]=z},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:_===D?0:-1,onChange:()=>R(S.id),onKeyDown:z=>L(z,_),className:kt(c?.radioOuterCheckBox,S?.classNames?.outerCheckBox),style:{...u?.radioOuterCheckBox,...S?.styles?.outerCheckBox}}),pc("label",{htmlFor:T,className:kt("cleen-flex-1 cleen-cursor-pointer",c?.radioLabelsContainer,S?.classNames?.labelsContainer),style:{...u?.radioLabelsContainer,...S?.styles?.labelsContainer},children:[pc("div",{className:"cleen-flex cleen-items-center cleen-gap-1",children:[ct("span",{className:kt("cleen-font-semibold cleen-text-neutral-700 cleen-text-sm",c?.radioTitle,S?.classNames?.title),style:{...u?.radioTitle,...S?.styles?.title},children:S.title}),ct("span",{className:kt("cleen-font-normal cleen-text-neutral-600 cleen-text-xs",c?.radiotPostTitle,S?.classNames?.postTitle),style:{...u?.radiotPostTitle,...S?.styles?.postTitle},children:S.postTitle})]}),ct("span",{className:kt("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"&&ct(ic,{ref:z=>{E.current[_]=z},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:_===D?0:-1,onChange:()=>R(S.id),onKeyDown:z=>L(z,_),className:c?.radioOuterCheckBox,style:u?.radioOuterCheckBox}),A==="hidden"&&ct(ic,{ref:z=>{E.current[_]=z},id:T,name:B,value:S.id,checked:w(S.id),tabIndex:_===D?0:-1,onChange:()=>R(S.id),onKeyDown:z=>L(z,_),className:"cleen-sr-only"}),S.rightIcon]},S?.id)})}),(b?.errorMessage||b?.infoMessage||b?.subtitle)&&ct(Y,{...b})]})})});import{cn as Bn,ColorHelpers as yw}from"@cleen/ui-core";import{forwardRef as Cw,useRef as xw,useState as Pw}from"react";import{jsx as zo,jsxs as sI}from"react/jsx-runtime";var Sw=Cw(function({id:t,required:r,label:n,labelTooltip:l,labels:a,infoLabels:c,value:s,onChange:u,amount:p=5,options:i=[],gap:f,size:h=36,readonly:y,color:b="rgb(var(--cleen-primary))",className:g,style:v,classNames:x,styles:C,...I},P){let[M,B]=Pw(0),k=s!==void 0,w=k?s:M,R=i?.length>0?i:Array.from({length:p},(T,A)=>A+1),E=xw([]),N=R.findIndex(T=>T===w),D=N>=0?N:0,F=T=>{k||B(T),u?.(T)},L=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(),L((A+1)%z);break;case"ArrowLeft":case"ArrowDown":T.preventDefault(),L((A-1+z)%z);break;case"Home":T.preventDefault(),L(0);break;case"End":T.preventDefault(),L(z-1);break;default:break}},_=typeof n=="string"?n:"Rating";return zo("div",{className:Bn("cleen",g),style:v,ref:P,...I,children:sI("div",{className:Bn("cleen-space-y-2",x?.container),style:C?.container,children:[n&&zo(ee,{htmlFor:t,required:r,tooltip:l,className:Bn("cleen-mb-1.5",x?.label?.className),classNames:x?.label?.classNames,...C?.label,children:n}),sI("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[zo("div",{role:"radiogroup","aria-label":_,className:Bn("cleen-flex cleen-flex-wrap cleen-gap-3",x?.list),style:{...f?{gap:f}:{},...C?.list},children:R?.map((T,A)=>zo("button",{id:t,ref:z=>{E.current[A]=z},role:"radio","aria-checked":w===T,"aria-label":`${T}`,tabIndex:A===D?0:-1,onClick:()=>F(T),onKeyDown:z=>S(z,A),className:Bn("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",x?.item),style:{width:h,height:h,...w===T?{borderColor:b,backgroundColor:yw.trasparentize(b,.9),color:b}:{},...C?.item},type:"button",children:zo("span",{className:Bn("cleen-font-medium cleen-text-sm",x?.value),style:C?.value,children:T})},T))}),a?.helperText&&zo("span",{className:"cleen-text-sm cleen-text-neutral-600",children:a.helperText})]}),(c?.errorMessage||c?.infoMessage||c?.subtitle)&&zo(Y,{...c})]})})});import{useState as Mw}from"react";import{components as ww}from"react-select";import{jsx as P0,jsxs as iI}from"react/jsx-runtime";var pI=e=>{let[t,r]=Mw(!1),n=e.data;return P0("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:P0(ww.Option,{...e,children:iI("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[iI("div",{className:"cleen-flex-1",children:[n?.label,n?.sublabel&&P0("p",{className:"cleen-text-xs",children:n?.sublabel})]}),typeof n?.icon=="function"?n.icon({...e,isHovered:t}):n?.icon]})})})};import{components as kw}from"react-select";import{jsx as S0,jsxs as Bw}from"react/jsx-runtime";var dI=e=>{let t=e.data;return S0(kw.SingleValue,{...e,children:Bw("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[S0("p",{children:t?.label}),t?.sublabel&&S0("p",{className:"cleen-text-xs cleen-text-neutral-600 cleen-line-clamp-1",children:t?.sublabel})]})})};import{cn as aa,ZIndex as gI}from"@cleen/ui-core";import{forwardRef as Lw,useId as Tw,useState as vI}from"react";import Nw from"react-select";import{components as Rw}from"react-select";import{jsx as M0,jsxs as mI}from"react/jsx-runtime";var uI=({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 M0("div",{className:"cleen",children:mI(Rw.MenuList,{options:r,...c,children:[a,n&&!e&&t&&t?.length>0&&!u&&mI("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-justify-center",children:[M0(Pt,{}),M0("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 Dw}from"react-select";import{jsx as hI}from"react/jsx-runtime";var fI=({isLoading:e,noDataFound:t,...r})=>hI(Dw.NoOptionsMessage,{...r,children:e?hI(oe,{}):t||"No data found"});import{jsx as eo,jsxs as bI}from"react/jsx-runtime";var II=e=>typeof e=="object"&&e!==null&&("labelString"in e||"label"in e),Fw=Lw(function({label:t,labelTooltip:r,sublabel:n,id:l,name:a,required:c,className:s,classNames:u,isLoading:p=!1,disabled:i,emboldenOptions:f=!1,labels:h,components:y,style:b,styles:g,infoLabels:v,createNewOptionCallback:x,createNewOptionLabelStringCb:C,...I},P){let[M,B]=vI(!1),[k,w]=vI(""),R=Tw(),E=I.inputId??l??a??R,N=(F,L)=>{if(!II(F.data))return!1;let{labelString:S,label:_}=F.data;return S?S.toLowerCase().includes(L.toLowerCase()):typeof _=="string"?_.toLowerCase().includes(L.toLowerCase()):!1},D=F=>II(F)?F.labelString??(typeof F.label=="string"?F.label:""):"";return eo("div",{className:aa("cleen",s),style:b,ref:P,children:bI("div",{className:aa("cleen-flex cleen-flex-col cleen-gap-1.5 cleen-rounded-md cleen-w-full",u?.cleenContainer),style:g?.cleenContainer,children:[(t||n)&&bI("div",{className:aa("cleen-flex cleen-flex-col cleen-gap-1",u?.labels?.container),style:g?.labels?.container,children:[t&&eo(ee,{htmlFor:E,required:c,tooltip:r,...u?.labels?.label,...g?.labels?.label,children:t}),n&&eo("span",{className:aa("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",u?.labels?.sublabel),style:g?.labels?.sublabel,children:n})]}),eo(Nw,{...x&&{menuIsOpen:M,inputValue:k,onInputChange:F=>w(F),onMenuOpen:()=>B(!0),onMenuClose:()=>B(!1)},...!I.filterOption&&{filterOption:N},...!I.getOptionLabel&&{getOptionLabel:D},id:l||a,classNames:u,isDisabled:i,menuPortalTarget:document.body,menuPosition:"fixed",...I,inputId:E,className:aa("cleen-shadow-none cleen-font-normal cleen-text-foreground cleen-text-sm",u?.inputOuterContainer),styles:{...g,control:(F,L)=>{let S={...F,minHeight:44,borderWidth:1,borderRadius:8,padding:3,transition:"border-color 200ms",fontWeight:f&&L.hasValue?"600":"400",borderColor:v?.errorMessage?"rgba(var(--cleen-error), 0.7)":"rgb(var(--cleen-border))",color:L.isDisabled?"rgb(var(--cleen-neutral-500))":"rgb(var(--cleen-foreground))",backgroundColor:L.isDisabled?"rgb(var(--cleen-neutral-100))":"rgba(var(--cleen-background))",boxShadow:L.isFocused?"0 0 0 2px rgba(var(--cleen-primary), 0.5)":"none",cursor:"pointer",caretColor:x?"rgba(var(--cleen-foreground))":"transparent","&:hover":{borderColor:v?.errorMessage?"rgba(var(--cleen-error))":"rgb(var(--cleen-border))"}};return g?.control?g?.control(S,L):S},menuPortal:(F,L)=>{let S={...F,zIndex:gI.SELECT,...g?.menuPortal};return g?.menuPortal?g?.menuPortal(S,L):S},menu:(F,L)=>{let S={...F,backgroundColor:"rgba(var(--cleen-surface))",border:"1px solid rgba(var(--cleen-border))",zIndex:gI.SELECT,...g?.menu};return g?.menu?g?.menu(S,L):S},option:(F,L)=>{let S={...F,backgroundColor:L.isSelected?"rgba(var(--cleen-primary))":L.isFocused?"rgba(var(--cleen-primary), 0.1)":"rgba(var(--cleen-white))",color:L.isSelected?"rgba(var(--cleen-white))":"rgba(var(--cleen-foreground))",fontWeight:f?"600":"400","&:hover":L.isSelected?{}:{backgroundColor:"rgba(var(--cleen-primary))",color:"rgba(var(--cleen-white))",cursor:"pointer"},p:{color:L.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 g?.option?g?.option(S,L):S},menuList:(F,L)=>{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,...g?.menuList};return g?.menuList?g?.menuList(S,L):S},singleValue:(F,L)=>{let S={...F,color:L.isDisabled?"rgba(var(--cleen-neutral-500))":"rgba(var(--cleen-black))"};return g?.singleValue?g?.singleValue(S,L):S},input:(F,L)=>{let S={...F,color:"rgba(var(--cleen-foreground))"};return g?.input?g?.input(S,L):S}},components:{IndicatorSeparator:()=>null,SingleValue:F=>eo(dI,{...F}),NoOptionsMessage:F=>eo(fI,{isLoading:p,noDataFound:h?.noDataFound,...F}),MenuList:F=>eo(uI,{isLoading:p,inputValue:k,createNewOptionCallback:x,createNewOptionLabelStringCb:C,...F}),Option:pI,...y}}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&eo(Y,{...v})]})})});import{jsx as yI,jsxs as Ew}from"react/jsx-runtime";function CI({children:e,title:t,className:r="",renderHeader:n}){return Ew("div",{className:`cleen-w-full cleen-h-full ${r}`,"data-testid":`drawer-container-${t}`,children:[n?n(t):yI("h1",{className:"cleen-text-sm cleen-font-medium cleen-pb-4 cleen-pt-9 cleen-px-4 cleen-text-foreground-emphasis",children:t}),yI("div",{className:"cleen-h-max cleen-w-full cleen-px-4",children:e})]})}import{cn as Bt}from"@cleen/ui-core";import{forwardRef as Aw,useState as zw}from"react";import{Fragment as Uw,jsx as Xe,jsxs as dc}from"react/jsx-runtime";function Ow({icon:e,iconSrc:t,iconName:r,iconSize:n=24,title:l,className:a,style:c}){return e?Xe("span",{className:Bt("cleen-flex cleen-justify-center cleen-items-center cleen-shrink-0",a),style:{width:n,height:n,...c},children:e}):t?Xe("img",{src:t,alt:l,width:n,height:n,className:a,style:c}):r?Xe(Ee,{name:r,width:n,height:n,className:a,style:c}):null}function xI({item:e,depth:t,iconSize:r=24,classNames:n,styles:l}){let[a,c]=zw(!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}:{},f=dc(Uw,{children:[dc("div",{className:Bt("cleen-flex cleen-items-center cleen-gap-3 cleen-min-w-0",s?.classNames?.containerInner),style:s?.styles?.containerInner,children:[Xe(Ow,{icon:s?.icon,iconSrc:s?.iconSrc,iconName:s?.iconName,iconSize:p,title:s?.name,className:Bt("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}),Xe("span",{className:Bt("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)&&Xe(Le,{color:s?.badgeColor,label:String(s?.badgeCount),...s?.classNames?.badge,...s?.styles?.badge})]});return u?dc("details",{className:s?.classNames?.container,style:s?.styles?.container,children:[dc("summary",{className:Bt("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:[f,Xe(Ee,{name:"ChevronDown",className:Bt("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})]}),Xe("div",{className:Bt("cleen-flex cleen-flex-col cleen-gap-1 cleen-mt-1",s?.classNames?.childItemsContainer),style:s?.styles?.childItemsContainer,children:s.items.map(h=>Xe(xI,{item:h,depth:t+1,iconSize:r,classNames:n,styles:l},h?.id??h?.name))})]}):Xe("div",{className:Bt("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:f})}var _w=Aw(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:f,className:h,classNames:y,style:b,styles:g},v){let x={id:"root",name:t,icon:r,iconName:n,iconSrc:l,iconSize:a,badgeColor:c,badgeCount:s,isActive:i,disabled:f,onClick:p?()=>p():void 0,classNames:y,styles:g,items:u};return Xe("div",{className:Bt("cleen",h),style:b,ref:v,children:Xe(xI,{item:x,depth:0,iconSize:a,classNames:y,styles:g})})}),Hw=_w;import{cn as Rt}from"@cleen/ui-core";import{useEffect as $w,useRef as qw,useState as Xw}from"react";import{cn as la}from"@cleen/ui-core";import{useMemo as Gw}from"react";import{Link as Vw}from"react-router-dom";import{jsx as ca,jsxs as Ww}from"react/jsx-runtime";function sa({item:e,activeId:t,onClick:r,countBadge:n,classNames:l,styles:a,renderIcon:c}){let s=t===e?.id,u=Gw(()=>e?c?c(e,s):e.icon?e.icon:e.iconSrc?ca("img",{src:e.iconSrc,alt:e?.name||e?.label,className:la("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?ca(Ee,{name:e.iconName,className:la("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=Ww("div",{"data-testid":`nav-item-${e?.id}`,className:la("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&&ca("div",{className:la("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 ca(ue,{hasArrow:!0,placement:"right",color:"rgba(var(--cleen-foreground))",className:l?.tooltip?.className,classNames:{...l?.tooltip,labelContainer:la("cleen-min-w-max",l?.tooltip?.classNames?.labelContainer)},...a?.tooltip,label:e?.label,children:e?.path?ca(Vw,{to:e.path,children:p}):p})}import{jsx as Dt,jsxs as Oo}from"react/jsx-runtime";function PI({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:f,onActiveChange:h,closeOnOutsideClick:y=!0,closeOnBlur:b=!0,className:g,classNames:v,style:x,styles:C,renderSidebarItem:I}){let[P,M]=Xw(i),B=qw(null),k=f!==void 0?f:P,w=!!k,R=N=>{let D=k===N.id?null:N.id;f===void 0&&M(D),h?.(D)};$w(()=>{if(!y||!w)return;let N=D=>{B.current&&!B.current.contains(D.target)&&(f===void 0&&M(null),h?.(null))};return document.addEventListener("mousedown",N),()=>{document.removeEventListener("mousedown",N)}},[y,w,f,h]);let E=N=>{!b||!w||B.current&&!B.current.contains(N.relatedTarget)&&(f===void 0&&M(null),h?.(null))};return Oo("div",{className:Rt("cleen",g),style:{height:"100%",display:"flex",backgroundColor:"rgb(var(--cleen-sidebar))",flexDirection:p==="left"?"row-reverse":"row",...x},ref:B,onBlur:E,tabIndex:b?0:void 0,children:[Oo("div",{className:Rt("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:C?.navigation,children:[n&&Dt("div",{className:Rt("cleen-flex cleen-justify-center cleen-items-center cleen-pt-8 cleen-pb-6 cleen-w-full cleen-cursor-pointer",v?.logo),style:C?.logo,onClick:l,children:n}),Oo("div",{className:Rt("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:C?.navigationItems,children:[Dt("nav",{className:Rt("cleen-flex cleen-flex-col cleen-gap-2",v?.upperNavigationItemsWrapper),style:C?.upperNavigationItemsWrapper,children:e.map(N=>Oo("div",{children:[I?I(N,k===N.id,R):Dt(sa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...C?.navigationItem,...N?.styles}}),N?.withBottomDivider&&Dt("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id))}),Oo("div",{className:Rt("cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",v?.bottomNavigationItemsWrapper),style:C?.bottomNavigationItemsWrapper,children:[t.map(N=>Oo("div",{children:[I?I(N,k===N.id,R):Dt(sa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...C?.navigationItem,...N?.styles}}),N?.withBottomDivider&&Dt("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id)),a&&Dt("div",{className:"cleen-mt-6 cleen-mb-8",children:a})]})]})]}),Oo("div",{className:Rt("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:{...C?.drawer,width:w?`${u}px`:"0px",visibility:w?"visible":"hidden"},children:[k&&r[k]&&Dt("div",{className:Rt("cleen-flex-1 cleen-overflow-auto",v?.drawerContent),style:C?.drawerContent,children:r[k]}),k&&(s||c)&&Dt("div",{className:Rt("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:C?.drawerFooter,children:typeof s=="function"?s(k):s||c})]})]})}var Q=e=>e==="pulse"?"cleen-animate-pulse":"";import{cn as SI}from"@cleen/ui-core";import{forwardRef as Kw}from"react";import{jsx as MI}from"react/jsx-runtime";var Zw={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"},Qw=Kw(function({width:t,height:r,roundness:n="md",variant:l="default",className:a,style:c},s){let u=Q(l),p={...t!==void 0?{width:typeof t=="number"?`${t}px`:t}:{},...r!==void 0?{height:typeof r=="number"?`${r}px`:r}:{},...c};return MI("div",{ref:s,className:SI("cleen",a),children:MI("div",{className:SI("cleen-bg-muted",Zw[n],t===void 0&&"cleen-w-full",r===void 0&&"cleen-h-4",u),style:p})})});import{cn as w0}from"@cleen/ui-core";import{forwardRef as Jw}from"react";import{jsx as mc,jsxs as Yw}from"react/jsx-runtime";var k0=Jw(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Q(n);return mc("div",{ref:a,className:w0("cleen",t),style:r,children:mc("div",{className:"cleen-flex cleen-items-start cleen-gap-4 cleen-flex-wrap",children:Array.from({length:l}).map((s,u)=>Yw("div",{className:"cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",children:[mc("div",{className:w0("cleen-bg-muted cleen-rounded-full cleen-size-12 cleen-border cleen-border-border",c)}),mc("div",{className:w0("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",c)})]},u))})})});import{cn as wI}from"@cleen/ui-core";import{forwardRef as jw}from"react";import{jsx as B0}from"react/jsx-runtime";var R0=jw(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Q(n);return B0("div",{ref:a,className:wI("cleen",t),style:r,children:B0("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:l}).map((s,u)=>B0("div",{className:wI("cleen-bg-muted cleen-rounded-full cleen-h-6 cleen-w-16",c)},u))})})});import{cn as kI}from"@cleen/ui-core";import{forwardRef as ek}from"react";import{jsx as _o,jsxs as uc}from"react/jsx-runtime";var D0=ek(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return _o("div",{ref:l,className:kI("cleen",t),style:r,children:uc("div",{className:kI("cleen-relative cleen-bg-muted cleen-rounded-2xl cleen-w-full cleen-overflow-hidden",a),children:[_o("div",{className:"cleen-h-48 cleen-w-full"}),uc("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:[_o("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-w-24 cleen-h-6"}),uc("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[_o("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-2/3 cleen-h-8"}),_o("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),uc("div",{className:"cleen-flex cleen-gap-3",children:[_o("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-28 cleen-h-10"}),_o("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-24 cleen-h-10"})]})]})]})})});import{cn as BI}from"@cleen/ui-core";import{forwardRef as tk}from"react";import{jsx as L0}from"react/jsx-runtime";var T0=tk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Q(n);return L0("div",{ref:a,className:BI("cleen",t),style:r,children:L0("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:l}).map((s,u)=>L0("div",{className:BI("cleen-bg-muted cleen-rounded-lg cleen-h-10 cleen-w-28",c)},u))})})});import{cn as hc}from"@cleen/ui-core";import{forwardRef as ok}from"react";import{jsx as fc,jsxs as RI}from"react/jsx-runtime";var ia=ok(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return fc("div",{ref:l,className:hc("cleen",t),style:r,children:RI("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:[fc("div",{className:hc("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)}),RI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[fc("div",{className:hc("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)}),fc("div",{className:hc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3",a)})]})]})})});import{cn as Rn}from"@cleen/ui-core";import{forwardRef as nk}from"react";import{jsx as Dn,jsxs as gc}from"react/jsx-runtime";var vc=nk(({className:e,style:t,variant:r="default"},n)=>{let l=Q(r);return Dn("div",{ref:n,className:Rn("cleen",e),style:t,children:gc("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:[gc("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-w-full",children:[Dn("div",{className:Rn("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-border cleen-border-border cleen-rounded-xl cleen-size-10",l)}),gc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[Dn("div",{className:Rn("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-5",l)}),Dn("div",{className:Rn("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",l)})]})]}),gc("div",{className:"cleen-space-y-2 cleen-w-full",children:[Dn("div",{className:Rn("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-2",l)}),Dn("div",{className:Rn("cleen-bg-muted cleen-rounded cleen-w-16 cleen-h-3",l)})]})]})})});vc.displayName="AssessmentHeaderSkeleton";import{cn as st}from"@cleen/ui-core";import{forwardRef as rk}from"react";import{jsx as it,jsxs as Ln}from"react/jsx-runtime";var N0=rk(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return it("div",{ref:l,className:st("cleen",t),style:r,children:Ln("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:[it("div",{className:st("cleen-bg-muted cleen-w-full cleen-h-40",a)}),Ln("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[Ln("div",{className:"cleen-flex cleen-gap-2",children:[it("div",{className:st("cleen-bg-muted cleen-rounded-full cleen-w-16 cleen-h-5",a)}),it("div",{className:st("cleen-bg-muted cleen-rounded-full cleen-w-12 cleen-h-5",a)})]}),Ln("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[it("div",{className:st("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-5",a)}),it("div",{className:st("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),it("div",{className:st("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)})]}),Ln("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[Ln("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[it("div",{className:st("cleen-bg-muted cleen-rounded-full cleen-size-7 cleen-shrink-0",a)}),it("div",{className:st("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),it("div",{className:st("cleen-bg-muted cleen-rounded-lg cleen-w-16 cleen-h-7",a)})]})]})]})})});import{forwardRef as ak}from"react";import{cn as lk}from"@cleen/ui-core";import{jsx as F0}from"react/jsx-runtime";var E0=ak(function({className:t,style:r,itemCount:n=3,variant:l="default"},a){return F0("div",{ref:a,className:lk("cleen",t),style:r,children:F0("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:n}).map((c,s)=>F0(ia,{variant:l},s))})})});import{cn as Ho}from"@cleen/ui-core";import{forwardRef as ck}from"react";import{jsx as Ke,jsxs as pa}from"react/jsx-runtime";var DI=["cleen-h-16","cleen-h-24","cleen-h-14","cleen-h-28","cleen-h-20","cleen-h-10","cleen-h-24"],A0=ck(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return Ke("div",{ref:l,className:Ho("cleen",t),style:r,children:pa("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:[pa("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[Ke("div",{className:Ho("cleen-bg-muted cleen-rounded cleen-w-32 cleen-h-5",a)}),Ke("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[28,20].map((c,s)=>pa("div",{className:"cleen-flex cleen-items-center cleen-gap-1.5",children:[Ke("div",{className:Ho("cleen-bg-muted cleen-rounded-full cleen-size-2.5",a)}),Ke("div",{className:Ho("cleen-bg-muted cleen-rounded cleen-h-3",a),style:{width:c}})]},s))})]}),pa("div",{className:"cleen-flex cleen-gap-3",children:[Ke("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=>Ke("div",{className:Ho("cleen-bg-muted cleen-rounded cleen-w-6 cleen-h-2",a)},c))}),pa("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1",children:[Ke("div",{className:"cleen-flex cleen-items-end cleen-justify-around cleen-gap-2",style:{height:112},children:DI.map((c,s)=>Ke("div",{className:Ho("cleen-bg-muted cleen-rounded-t cleen-flex-1",c,a)},s))}),Ke("div",{className:"cleen-w-full cleen-h-px cleen-bg-muted"}),Ke("div",{className:"cleen-flex cleen-justify-around cleen-gap-2 cleen-pt-1",children:DI.map((c,s)=>Ke("div",{className:Ho("cleen-bg-muted cleen-rounded cleen-flex-1 cleen-h-2",a)},s))})]})]})]})})});import{cn as Uo}from"@cleen/ui-core";import{forwardRef as sk}from"react";import{jsx as Lt,jsxs as Ic}from"react/jsx-runtime";var z0=sk(({variant:e="default",itemCount:t=3,className:r,style:n},l)=>{let a=Q(e);return Lt("div",{ref:l,className:Uo("cleen",r),style:n,children:Lt(le,{className:"cleen-max-h-fit",children:Ic("div",{className:"cleen-flex cleen-flex-col cleen-gap-4",children:[Ic("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[Lt("div",{className:Uo("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-6",a)}),Lt("div",{className:Uo("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)})]}),Lt("div",{className:"cleen-space-y-6",children:Array.from({length:t}).map((c,s)=>Ic("div",{className:"cleen-space-y-3",children:[Lt("div",{className:Uo("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-4",a)}),Lt("div",{className:Uo("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-10",a)})]},s))}),Ic("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-4",children:[Lt("div",{className:Uo("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)}),Lt("div",{className:Uo("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)})]})]})})})});import{cn as bc}from"@cleen/ui-core";import{forwardRef as ik}from"react";import{jsx as da,jsxs as pk}from"react/jsx-runtime";var O0=ik(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=Q(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 da("div",{ref:a,className:bc("cleen",t),style:r,children:pk("div",{className:"cleen-flex cleen-flex-col cleen-w-full cleen-border cleen-border-border cleen-rounded-xl cleen-overflow-hidden",children:[da("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)=>da("div",{className:bc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",u,c)},p))}),Array.from({length:l}).map((u,p)=>da("div",{className:bc("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,f)=>da("div",{className:bc("cleen-bg-muted cleen-rounded cleen-h-4 cleen-flex-shrink-0",f===s.length-1?"cleen-rounded-full":"cleen-rounded",i,c)},f))},p))]})})});import{cn as yc}from"@cleen/ui-core";import{forwardRef as dk}from"react";import{jsx as ma,jsxs as LI}from"react/jsx-runtime";var _0=dk(function({className:t,style:r,variant:n="default",itemCount:l=4},a){let c=Q(n);return ma("div",{ref:a,className:yc("cleen",t),style:r,children:LI("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)=>LI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2",children:[ma("div",{className:yc("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",c)}),ma("div",{className:yc("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10",c)})]},u)),ma("div",{className:"cleen-flex cleen-justify-end cleen-pt-1",children:ma("div",{className:yc("cleen-bg-muted cleen-rounded-lg cleen-w-28 cleen-h-10",c)})})]})})});import{cn as TI}from"@cleen/ui-core";import{forwardRef as mk}from"react";import{jsx as H0}from"react/jsx-runtime";var uk=["rgb(var(--cleen-blue))","rgb(var(--cleen-aqua))","rgb(var(--cleen-green-light-300))","rgb(var(--cleen-aqua))","rgb(var(--cleen-blue))"],U0=mk(function({className:t,style:r,variant:n="default",colors:l=uk},a){let c=Q(n);return H0("div",{ref:a,className:TI("cleen",t),style:r,children:H0("div",{className:TI("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:H0("div",{className:"cleen-bg-background cleen-size-full cleen-rounded-md"})})})});import{cn as Cc}from"@cleen/ui-core";import{forwardRef as hk}from"react";import{jsx as Tn,jsxs as NI}from"react/jsx-runtime";var G0=hk(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return Tn("div",{ref:l,className:Cc("cleen",t),style:r,children:NI("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Tn("div",{className:Cc("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:Tn("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:NI("div",{className:Cc("cleen-flex cleen-flex-col cleen-items-center cleen-gap-1 cleen-opacity-30"),children:[Tn("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-8"}),Tn("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),Tn("div",{className:Cc("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-3 cleen-mx-auto",a)})]})})});import{cn as ze}from"@cleen/ui-core";import{forwardRef as fk}from"react";import{jsx as Fe,jsxs as Tt}from"react/jsx-runtime";var V0=fk(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return Fe("div",{ref:l,className:ze("cleen",t),style:r,children:Tt("div",{className:ze("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:[Tt("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[Fe("div",{className:ze("cleen-flex cleen-justify-center cleen-items-center cleen-bg-muted cleen-p-2 cleen-rounded-full cleen-size-8",a)}),Fe("div",{className:ze("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-3",a)})]}),Tt("div",{className:"cleen-space-y-3 cleen-w-full",children:[Tt("div",{children:[Fe("div",{className:ze("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Fe(le,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Tt("div",{className:"cleen-space-y-2",children:[Fe("div",{className:ze("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),Fe("div",{className:ze("cleen-bg-muted cleen-rounded cleen-w-5/6 cleen-h-3",a)})]})})]}),Tt("div",{children:[Fe("div",{className:ze("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Tt("div",{className:"cleen-space-y-2",children:[Fe("div",{className:ze("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),Fe("div",{className:ze("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-3",a)})]})]}),Tt("div",{children:[Fe("div",{className:ze("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Fe(le,{isGlass:!0,classNames:{container:"!cleen-py-3",childrenContainer:"!cleen-px-3"},children:Tt("div",{className:"cleen-space-y-2",children:[Fe("div",{className:ze("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-3",a)}),Fe("div",{className:ze("cleen-bg-muted cleen-rounded cleen-w-4/5 cleen-h-3",a)})]})})]})]})]})})});import{cn as W0}from"@cleen/ui-core";import{forwardRef as gk}from"react";import{jsx as $0,jsxs as vk}from"react/jsx-runtime";var q0=gk(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return $0("div",{ref:l,className:W0("cleen",t),style:r,children:vk("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[$0("div",{className:W0("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",a)}),$0("div",{className:W0("cleen-bg-muted cleen-rounded-lg cleen-w-full cleen-h-10 cleen-border cleen-border-border",a)})]})})});import{cn as ua}from"@cleen/ui-core";import{forwardRef as Ik}from"react";import{jsx as Nn,jsxs as FI}from"react/jsx-runtime";var X0=Ik(function({className:t,style:r,variant:n="default",itemCount:l=5},a){let c=Q(n),s=["cleen-w-3/4","cleen-w-2/3","cleen-w-4/5","cleen-w-1/2","cleen-w-3/5"];return Nn("div",{ref:a,className:ua("cleen",t),style:r,children:Nn("div",{className:"cleen-flex cleen-flex-col cleen-divide-y cleen-divide-border",children:Array.from({length:l}).map((u,p)=>FI("div",{className:"cleen-flex cleen-items-center cleen-gap-3 cleen-py-3",children:[Nn("div",{className:ua("cleen-bg-muted cleen-rounded-full cleen-size-8 cleen-shrink-0 cleen-border cleen-border-border",c)}),FI("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-1.5",children:[Nn("div",{className:ua("cleen-bg-muted cleen-rounded cleen-h-4",s[p%s.length],c)}),Nn("div",{className:ua("cleen-bg-muted cleen-rounded cleen-h-3 cleen-w-2/5",c)})]}),Nn("div",{className:ua("cleen-bg-muted cleen-rounded-full cleen-w-14 cleen-h-5 cleen-shrink-0",c)})]},p))})})});import{cn as EI}from"@cleen/ui-core";import{forwardRef as bk}from"react";import{jsx as Z0}from"react/jsx-runtime";var K0=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],Q0=bk(function({className:t,style:r,variant:n="default",itemCount:l},a){let c=Q(n),s=l??K0.length;return Z0("div",{ref:a,className:EI("cleen",t),style:r,children:Z0("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((u,p)=>{let i=p<K0.length?K0[p]:p===s-1?"cleen-w-3/5":"cleen-w-full";return Z0("div",{className:EI("cleen-bg-muted cleen-rounded cleen-h-3",i,c)},p)})})})});import{cn as AI}from"@cleen/ui-core";import{forwardRef as yk}from"react";import{jsx as zI}from"react/jsx-runtime";var J0=yk(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return zI("div",{ref:l,className:AI("cleen",t),style:r,children:zI("div",{className:AI("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",a)})})});import{cn as Go}from"@cleen/ui-core";import{forwardRef as Ck}from"react";import{jsx as pt,jsxs as xc}from"react/jsx-runtime";var Y0=Ck(function({className:t,style:r,variant:n="default"},l){let a=Q(n);return pt("div",{ref:l,className:Go("cleen",t),style:r,children:xc("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[pt("div",{className:Go("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:pt("div",{className:"cleen-absolute cleen-inset-0 cleen-flex cleen-items-center cleen-justify-center",children:pt("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-14 cleen-flex cleen-items-center cleen-justify-center",children:pt("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"})})})}),xc("div",{className:"cleen-flex cleen-gap-3",children:[pt("div",{className:Go("cleen-bg-muted cleen-rounded-lg cleen-size-10 cleen-shrink-0",a)}),xc("div",{className:"cleen-flex cleen-flex-col cleen-flex-1 cleen-gap-2",children:[pt("div",{className:Go("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)}),pt("div",{className:Go("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-3",a)}),xc("div",{className:"cleen-flex cleen-items-center cleen-gap-3",children:[pt("div",{className:Go("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",a)}),pt("div",{className:Go("cleen-bg-muted cleen-rounded cleen-w-10 cleen-h-3",a)})]})]})]})]})})});import{cn as ha}from"@cleen/ui-core";import{forwardRef as xk}from"react";import{jsx as fa,jsxs as j0}from"react/jsx-runtime";var Pc=xk(function({variant:t="default",className:r,style:n},l){let a=Q(t);return fa("div",{ref:l,className:ha("cleen",r),style:n,children:j0("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:[j0("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:[fa("div",{className:ha("cleen-bg-muted cleen-rounded-full cleen-size-1.5",a)}),fa("div",{className:ha("cleen-bg-muted cleen-rounded cleen-w-20 cleen-h-3",a)})]}),j0("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-w-full",children:[fa("div",{className:ha("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-8",a)}),fa("div",{className:ha("cleen-bg-muted cleen-rounded cleen-w-12 cleen-h-4",a)})]})]})})});Pc.displayName="SkeletonBadgeCard";import{forwardRef as Pk}from"react";import{jsx as pe}from"react/jsx-runtime";var Sk=Pk(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 pe(vc,{...i});case"card3":return pe(N0,{...i});case"cardStack":return pe(E0,{...i});case"contentCard":return pe(z0,{...i});case"infoCard":return pe(V0,{...i});case"widgetCard":return pe(Pc,{...i});case"image":return pe(G0,{...i});case"video":return pe(Y0,{...i});case"avatar":return pe(k0,{...i});case"dataGrid":return pe(O0,{...i});case"text":return pe(J0,{...i});case"paragraph":return pe(Q0,{...i});case"list":return pe(X0,{...i});case"form":return pe(_0,{...i});case"banner":return pe(D0,{...i});case"chart":return pe(A0,{...i});case"button":return pe(T0,{...i});case"badge":return pe(R0,{...i});case"input":return pe(q0,{...i});case"glowingCard":return pe(U0,{...i});default:return pe(ia,{...i})}});import{cn as to}from"@cleen/ui-core";import{forwardRef as Mk,useCallback as eh,useEffect as wk,useRef as OI,useState as _I}from"react";import{jsx as oo,jsxs as Sc}from"react/jsx-runtime";var kk=Mk(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:f,classNames:h,style:y,styles:b,disabled:g=!1,label:v,labelTooltip:x,labels:C,tooltip:I,infoLabels:P},M){let[B,k]=_I(c??n),w=s!==void 0?s:B,R=OI(null),[E,N]=_I(!1),D=OI(!1),F=(w-n)/(l-n)*100,L=Math.min(100,Math.max(0,F)),S=eh($=>{let U=Math.round(($-n)/a)*a+n;return Math.min(l,Math.max(n,U))},[n,l,a]),_=eh(($,U)=>{let V=S($);s===void 0&&k(V),p?.(V),U&&i?.(V)},[S,s,p,i]),T=eh($=>{let U=R.current;if(!U)return n;let V=U.getBoundingClientRect(),J=($-V.left)/V.width;return S(n+J*(l-n))},[n,l,S]),A=$=>{if(g)return;let U;switch($.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}$.preventDefault(),_(U,!0)},z=$=>{g||($.preventDefault(),N(!0))},H=$=>{if(g||D.current){D.current=!1;return}_(T($.clientX),!0)},G=$=>{g||($.preventDefault(),N(!0))};wk(()=>{if(!E)return;let $=O=>{_(T(O.clientX))},U=O=>{N(!1),D.current=!0,i?.(S(T(O.clientX)))},V=O=>{O.touches.length>0&&_(T(O.touches[0].clientX))},J=O=>{N(!1),D.current=!0,i?.(S(T(O.changedTouches[0].clientX)))};return document.addEventListener("mousemove",$),document.addEventListener("mouseup",U),document.addEventListener("touchmove",V),document.addEventListener("touchend",J),()=>{document.removeEventListener("mousemove",$),document.removeEventListener("mouseup",U),document.removeEventListener("touchmove",V),document.removeEventListener("touchend",J)}},[E,S,T,_,i]);let q=$=>oo("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:$});return oo("div",{className:to("cleen",f),style:y,ref:M,children:Sc("div",{className:to("cleen-w-full",h?.container),style:b?.container,children:[v&&oo(ee,{htmlFor:t,required:r,tooltip:x,...h?.label,...b?.label,children:v}),Sc("div",{className:to({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&C?.minLabel!==void 0&&q(C?.minLabel),Sc("div",{ref:R,className:to("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":g,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":g,onClick:H,children:[oo("div",{className:to("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",g?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.path),style:b?.path,children:oo("div",{className:to("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{width:`${L}%`,...b?.filledTrack}})}),oo(ue,{invertColors:!0,...I,label:C?.tooltip?.(w)??w,className:to("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.className),style:{left:`calc(${L}% - 8px)`,...I?.style},isOpen:E||I?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,children:oo("div",{id:t,className:to("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",g?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:g?-1:0,role:"slider","aria-valuenow":w,"aria-valuemin":n,"aria-valuemax":l,"aria-disabled":g,"aria-label":typeof v=="string"?v:"Slider","aria-labelledby":t,onMouseDown:z,onTouchStart:G,onKeyDown:A})})]}),u==="inline"?C?.maxLabel&&q(C?.maxLabel):(C?.minLabel||C?.maxLabel)&&Sc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[C?.minLabel&&q(C?.minLabel),C?.maxLabel&&q(C?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&oo(Y,{...P})]})})});import{cn as dt}from"@cleen/ui-core";import{forwardRef as Bk,useCallback as th,useEffect as Rk,useRef as Dk,useState as HI}from"react";import{jsx as mt,jsxs as Mc}from"react/jsx-runtime";var Lk=Bk(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:f,classNames:h,style:y,styles:b,disabled:g=!1,label:v,labelTooltip:x,labels:C,tooltips:I,infoLabels:P},M){let[B,k]=HI(c??[n,l]),w=s!==void 0?s:B,R=Dk(null),[E,N]=HI(null),D=th(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,L=Math.min(100,Math.max(0,F)),S=(w[1]-n)/(l-n)*100,_=Math.min(100,Math.max(0,S)),T=th(U=>{let V=[D(Math.min(U[0],U[1])),D(Math.max(U[0],U[1]))];s===void 0&&k(V),p?.(V)},[D,s,p]),A=th(U=>{let V=R.current;if(!V)return n;let J=V.getBoundingClientRect(),O=(U-J.left)/J.width;return D(n+O*(l-n))},[n,l,D]),z=U=>V=>{if(g)return;let J=U==="min"?w[0]:w[1],O;switch(V.key){case"ArrowRight":case"ArrowUp":O=J+a;break;case"ArrowLeft":case"ArrowDown":O=J-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?.([D(Z[0]),D(Z[1])])},H=U=>V=>{g||(V.preventDefault(),N(U))},G=U=>{if(g)return;let V=A(U.clientX),J=Math.abs(V-w[0]),O=Math.abs(V-w[1]);J<O?T([V,w[1]]):T([w[0],V])},q=U=>V=>{g||(V.preventDefault(),N(U))};Rk(()=>{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)},J=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",J),document.addEventListener("touchend",O),()=>{document.removeEventListener("mousemove",U),document.removeEventListener("mouseup",V),document.removeEventListener("touchmove",J),document.removeEventListener("touchend",O)}},[E,w,A,T,i]);let $=U=>mt("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:U});return mt("div",{className:dt("cleen",f),style:y,ref:M,children:Mc("div",{className:dt("cleen-w-full",h?.container),style:b?.container,children:[v&&mt(ee,{htmlFor:t,required:r,tooltip:x,...h?.label,...b?.label,children:v}),Mc("div",{className:dt({"cleen-flex cleen-items-center cleen-gap-2":u==="inline"},h?.slider),style:b?.slider,children:[u==="inline"&&C?.minLabel!==void 0&&$(C?.minLabel),Mc("div",{ref:R,className:dt("cleen-relative cleen-w-full cleen-h-8 cleen-touch-none",{"cleen-opacity-60":g,"cleen-flex-1":u==="inline"},h?.track),style:b?.track,"aria-disabled":g,onClick:G,children:[mt("div",{className:dt("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",g?"cleen-cursor-not-allowed":"cleen-cursor-pointer"),children:mt("div",{className:dt("cleen-absolute cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{left:`${L}%`,width:`${_-L}%`,...b?.filledTrack}})}),mt(ue,{invertColors:!0,isOpen:E==="min"||I?.min?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.min,label:C?.tooltip?.(w[0])??w[0]?.toString(),className:dt("cleen-absolute cleen-top-1/2 -cleen-translate-y-1/2",I?.shared?.className,I?.min?.className),style:{left:`calc(${L}% - 8px)`,...I?.shared?.style,...I?.min?.style},children:mt("div",{className:dt("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",g?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:g?-1:0,role:"slider","aria-valuenow":w[0],"aria-valuemin":n,"aria-valuemax":w[1],"aria-disabled":g,"aria-label":typeof v=="string"?`${v} minimum value`:"Minimum value",onMouseDown:H("min"),onTouchStart:q("min"),onKeyDown:z("min")})}),mt(ue,{invertColors:!0,isOpen:E==="max"||I?.max?.isOpen||I?.shared?.isOpen,hideOnMouseDown:!1,closeOnClick:!1,...I?.shared,...I?.max,label:C?.tooltip?.(w[1])??w[1]?.toString(),className:dt("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:mt("div",{className:dt("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",g?"cleen-cursor-not-allowed":"cleen-cursor-pointer",h?.thumb),style:b?.thumb,tabIndex:g?-1:0,role:"slider","aria-valuenow":w[1],"aria-valuemin":w[0],"aria-valuemax":l,"aria-disabled":g,"aria-label":typeof v=="string"?`${v} maximum value`:"Maximum value",onMouseDown:H("max"),onTouchStart:q("max"),onKeyDown:z("max")})})]}),u==="inline"?C?.maxLabel&&$(C?.maxLabel):(C?.minLabel||C?.maxLabel)&&Mc("div",{className:"cleen-flex cleen-items-center cleen-justify-between cleen-w-full",children:[C?.minLabel&&$(C?.minLabel),C?.maxLabel&&$(C?.maxLabel)]})]}),(P?.errorMessage||P?.infoMessage||P?.subtitle)&&mt(Y,{...P})]})})});import{cn as Fn}from"@cleen/ui-core";import{forwardRef as Tk,useRef as Nk,useState as UI}from"react";import{jsx as Vo,jsxs as Ek}from"react/jsx-runtime";var Fk=Tk(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:f,classNames:h,styles:y,...b},g){let[v,x]=UI(0),C=n!==void 0,I=C?n:v,[P,M]=UI(null),B=P!==null?P+1:I,k=!u,w=Nk([]),R=I>0?I-1:0,E=L=>{C||x(L),l?.(L)},N=L=>{L<0||L>=a||(E(L+1),w.current[L]?.focus())},D=(L,S)=>{switch(L.key){case"ArrowRight":case"ArrowUp":L.preventDefault(),N((S+1)%a);break;case"ArrowLeft":case"ArrowDown":L.preventDefault(),N((S-1+a)%a);break;case"Home":L.preventDefault(),N(0);break;case"End":L.preventDefault(),N(a-1);break;default:break}},F=typeof t=="string"?t:"Rating";return Vo("div",{className:Fn("cleen",i),style:f,ref:g,...b,children:Ek("div",{className:Fn("cleen-space-y-2",h?.container),style:y?.container,children:[t&&Vo("span",{className:Fn("cleen-font-medium cleen-text-sm cleen-text-foreground",h?.label),style:y?.label,children:t}),Vo("div",{role:k?"radiogroup":"img","aria-label":k?F:`${F}: ${I} out of ${a}`,className:Fn("cleen-flex cleen-gap-3",h?.list),style:{...c?{gap:c}:{},...y?.list},children:Array.from({length:a},(L,S)=>{let _=Vo(Mr,{"aria-hidden":"true",className:Fn("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?Vo("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=>D(T,S),className:Fn("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):Vo("span",{className:"cleen-cursor-default",children:_},S)})}),(r?.errorMessage||r?.infoMessage||r?.subtitle)&&Vo(Y,{...r})]})})});import{cn as Nt}from"@cleen/ui-core";import{forwardRef as Ak}from"react";import{jsx as no,jsxs as GI}from"react/jsx-runtime";var VI=Ak(({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 no("div",{ref:p,className:Nt("cleen",l),style:{...c,width:"100%"},...u,children:no("div",{className:Nt("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((f,h)=>{let y=h+1<t,b=h+1===t;return GI("div",{className:Nt("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&&no("div",{className:Nt("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}}),no("div",{className:Nt("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?no("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):no("span",{className:Nt("cleen-w-2 cleen-h-2 cleen-rounded-full",b?"cleen-bg-white":"cleen-bg-neutral-200"),style:{backgroundColor:b?n:void 0}})}),GI("div",{className:Nt("cleen-flex cleen-flex-col",i?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[f.title&&no("div",{className:Nt("cleen-font-medium cleen-text-sm",b?"cleen-text-primary":"cleen-text-foreground",a?.title),style:{color:b?n:void 0,...s?.title},children:f.title}),f.subtitle&&no("div",{className:Nt("cleen-text-xs cleen-text-neutral-600",a?.subtitle),style:{color:b?n:void 0,...s?.subtitle},children:f.subtitle})]})]},h)})})})});VI.displayName="Stepper";export{JI as AdvancedProgressBar,u4 as AudioPlayback,y4 as AudioRecorder,zl as Avatar,M4 as AvatarRow,B4 as Breadcrumb,re as Button,F1 as Calendar,U4 as CalendarDropdown,c4 as CanvasButton,le as Card,kS as CardIcon,TS as CardMedia,X4 as Carousel,E1 as Checkbox,r5 as CheckboxGroup,Ee as CleenIcon,AM as CleenNotificationContainer,Cg as Collapsible,d5 as ColorPicker,g5 as CreditCardInput,Pt as Divider,_1 as Drawer,CI as DrawerContainer,Hw as DrawerContentTitle,Xr as Dropdown,Q5 as Dropzone,n4 as EditableCard,b1 as EditableText,x1 as EditableTextArea,n3 as FileCard,K1 as FileStackedProgressTracker,W3 as FilterDrawer,Fv as FormGroup,tM as GroupSelector,Gc as Icon48AlertFeatured,Vc as Icon48SuccessFeatured,so as IconAlertCircle,$c as IconAlertOctagon,Xc as IconAlertTriangle,Kc as IconApps,Qc as IconArchive,Jc as IconArrowBarDown,Yc as IconArrowBarLeft,jc as IconArrowBarRight,es as IconArrowBarToDown,ts as IconArrowBarToLeft,os as IconArrowBarToRight,ns as IconArrowBarToUp,rs as IconArrowBarUp,ls as IconArrowDown,cs as IconArrowDownLeft,is as IconArrowDownNarrow,ps as IconArrowDownRight,ms as IconArrowLeft,hs as IconArrowLeftNarrow,gs as IconArrowRight,Is as IconArrowRightNarrow,ys as IconArrowUp,Cs as IconArrowUpLeft,Ps as IconArrowUpNarrow,Ss as IconArrowUpRight,Ms as IconAttachment,ws as IconBarChart,ks as IconBarChartSquare,Bs as IconBell,Rs as IconBold,Es as IconBookOpen,Ds as IconBookmark,Ec as IconBookmarkCheck,Ac as IconBookmarkCheckFill,Ls as IconBookmarkFill,Ts as IconBookmarkMinus,Oc as IconBookmarkPlus,Fs as IconBookmarkX,As as IconBoxLines,Os as IconBoxText,Hs as IconBracketsCheck,Us as IconBracketsEllipses,Gs as IconBrickWall,Vs as IconBriefcase,_c as IconBuilding,Ws as IconCalculator,$n as IconCalendar,$s as IconCertificate,gt as IconCheck,io as IconCheckCircle,qs as IconCheckCircleBroken,Xs as IconCheckFill,Ks as IconCheckVerified,Zs as IconCheckVerifiedFill,Qs as IconChevronDown,Js as IconChevronDownDouble,Ys as IconChevronDownLeft,js as IconChevronDownLeftDouble,ei as IconChevronDownRight,ti as IconChevronDownRightDouble,vt as IconChevronLeft,oi as IconChevronLeftDouble,Je as IconChevronRight,qn as IconChevronRightDouble,ni as IconChevronSelectorVertical,It as IconChevronUp,ri as IconChevronUpDouble,ai as IconChevronUpLeft,li as IconChevronUpLeftDouble,ci as IconChevronUpRight,si as IconChevronUpRightDouble,ii as IconClick,pi as IconClock,di as IconClockFastForward,ui as IconClockPlay,hi as IconClockRewind,fi as IconClone,vi as IconCode,Ii as IconCodeBrowser,yi as IconCodeCircle,xi as IconColors,Hc as IconColumnEdit,Pi as IconCopy,Si as IconCopy2,wi as IconCopyCheck,ki as IconCreditCard,Bi as IconCube,Ri as IconCubeOutline,Kn as IconCursorBox,Di as IconDataflow,Li as IconDataflow2,Ti as IconDataflow3,Fi as IconDistributeHorizontal,Ei as IconDollar,zi as IconDollarCircle,Oi as IconDot,_i as IconDotFill,Hi as IconDotsGrid,Gi as IconDotsHorizontal,jo as IconDotsVertical,$i as IconDownload,qi as IconEdit,Ki as IconEditable,Zi as IconExpand,Ji as IconExternalLink,ji as IconExternalLink2,ep as IconEye,op as IconEyeHidden,np as IconEyeHidden2,rp as IconFaceAngry,ap as IconFaceLaugh,lp as IconFaceSmile,mo as IconFile,sp as IconFileCheck,Yn as IconFileCsv,ip as IconFileDownload,jn as IconFileJson,pp as IconFileList,Ge as IconFileMusic,uo as IconFilePdf,tr as IconFileSpreadsheet,yt as IconFileText,up as IconFileUpload,nr as IconFileXls,rr as IconFileXlsx,ot as IconFileZip,mp as IconFiles,hp as IconFilter,ar as IconFilter2,gp as IconFlag,vp as IconFlag2,Ip as IconFlagFill,bp as IconFocus,yp as IconFolder,Cp as IconFolderExport,xp as IconFolderImport,Pp as IconGraduationCap,Sp as IconGripVertical,Mp as IconHand,wp as IconHandShield,kp as IconHash,Bp as IconHeadsetMic,Rp as IconHeart,Dp as IconHeartFill,Tp as IconHouse,cr as IconHouseLine,we as IconImage,Np as IconImage2,Fp as IconImageCheck,Ep as IconImageOff,Ap as IconImport,zp as IconInbox,_p as IconInfoCircle,Up as IconInfoHexagon,Vp as IconItalic,$p as IconLayersMultiple,qp as IconLayersSingle,Xp as IconLayout,Zp as IconLayout2,Qp as IconLayoutColumns,Jp as IconLayoutCustom,jp as IconLayoutStuffed,ed as IconLayoutTile,td as IconLifeBuoy,nd as IconLightbulb,rd as IconLightning,ad as IconLightningFast,ld as IconLineChart,cd as IconLineChartBar,sd as IconLineChartBreakoutSquare,pd as IconLineChartUp,dd as IconLines,md as IconLinesCheck,ud as IconLinesPlay,fd as IconLink,gd as IconLink2,vd as IconLinkOff,Id as IconListBullet,bd as IconListOrder,Cd as IconLock,xd as IconLockFill,Sd as IconLogIn,wd as IconLogOut,Bd as IconLogOut2,Rd as IconMagicWand,Dd as IconMail,Ld as IconMapPin,Td as IconMaximize,Nd as IconMaximize2,Fd as IconMessageCircle,Ad as IconMessageSquare,zd as IconMessageSquare2,Od as IconMessageXSquare,hr as IconMicrophone,_d as IconMinimize,Hd as IconMinimize2,Ud as IconMinusCircle,Vd as IconMobile,Wd as IconMonitor,$d as IconMonitor2,qd as IconMoon,Xd as IconMoonCircle,Ye as IconMovie,Dr as IconName,Kd as IconNavigationPointer,Zd as IconNotificationBox,om as IconPCSetup,Qd as IconPackage,Jd as IconPalette,Yd as IconPasscodeLock,ho as IconPause,em as IconPauseCircle,rm as IconPen,am as IconPercentageCircle,lm as IconPerspective,sm as IconPhoneCall,Ir as IconPin,fo as IconPlay,pm as IconPlayCircle,dm as IconPlus,Ut as IconPlusCircle,hm as IconPrinter,fm as IconPulse,br as IconQuestionCircle,vm as IconQuote,Im as IconRadioButton,bm as IconRadioButtonFill,ym as IconReceipt,Cm as IconReceiptCheck,xm as IconRedo,Pm as IconRefresh,Sm as IconRefresh2,Mm as IconRefresh3,wm as IconRepeat,km as IconReplace,Bm as IconReplay,Dm as IconRestore,Tm as IconRocket,Nm as IconRoundChart,Fm as IconRoundChart2,Am as IconRoute,Om as IconSave,_m as IconScanDots,yr as IconScissors,go as IconSearch,Hm as IconSend,Um as IconServer,Gm as IconSettings,Vm as IconSettings2,Wm as IconShare,$m as IconShieldLightning,Xm as IconShieldPlus,Zm as IconShieldRemove,Qm as IconShoppingBag,Jm as IconShoppingCart,Ym as IconShrink,jm as IconShuffle,eu as IconSkipForward,tu as IconSlashCircle,ou as IconSlashOctagon,nu as IconSocialAndroid,ru as IconSocialApple,au as IconSocialGithub,lu as IconSocialGlobe,cu as IconSocialGoogle,iu as IconSocialInstagram,pu as IconSocialLinkedin,mu as IconSocialMastercard,uu as IconSocialReact,hu as IconSocialVisa,fu as IconSocialX,gu as IconSpeedometer,vu as IconStairs,Mr as IconStar,Iu as IconStarFill,bu as IconStarHalf,yu as IconStars,wr as IconStop,Cu as IconStrikethrough,xu as IconSun,Pu as IconSwap,Su as IconSwitchHorizontal,wu as IconTable,ku as IconTag,Bu as IconTarget,Du as IconTarget2,Tu as IconTextFormat,Nu as IconTextFormat2,Fu as IconTextHighlight,Eu as IconThumbsDown,Au as IconThumbsUp,zu as IconThumbsUpFill,Ou as IconToggle,_u as IconTranslate,Ve as IconTrash,Hu as IconTrending,Uu as IconUnderline,Gu as IconUndo,Wu as IconUnlock,bo as IconUploadCloud,Br as IconUser,Xu as IconUserCheck,Ku as IconUserDollar,Qu as IconUserEdit,Ju as IconUserPlus,Yu as IconUserRight,t1 as IconUserSquare,Uc as IconUserVoice,ju as IconUsers,o1 as IconUsersUp,n1 as IconVideo,a1 as IconVideoChat,c1 as IconVolume,s1 as IconVolumeDown,i1 as IconVolumeMute,p1 as IconWrench,Be as IconX,d1 as IconXCircle,m1 as IconXCircleFill,u1 as IconXSquare,h1 as IconZoomIn,g1 as IconZoomOut,Y as InfoLabels,de as Input,ee as Label,oe as Loader,pM as Lookup,fM as Markdown,Mn as Menu,SM as Modal,ZM as Pagination,b0 as PaginationGoToPage,y0 as PaginationPageSize,Le as PillBadge,nw as Popover,Sn as ProgressBar,rI as ProgressCircle,dw as RadioBoxGroup,bw as RadioButtonGroup,Sw as Rating,Fw as Select,PI as Sidebar,sa as SidebarItem,Qw as Skeleton,k0 as SkeletonAvatar,R0 as SkeletonBadge,D0 as SkeletonBanner,T0 as SkeletonButton,ia as SkeletonCard,vc as SkeletonCard2,N0 as SkeletonCard3,E0 as SkeletonCardStack,A0 as SkeletonChart,z0 as SkeletonContentCard,O0 as SkeletonDataGrid,_0 as SkeletonForm,U0 as SkeletonGlowingCard,G0 as SkeletonImage,V0 as SkeletonInfoCard,q0 as SkeletonInput,X0 as SkeletonList,Q0 as SkeletonParagraph,J0 as SkeletonText,Y0 as SkeletonVideo,Pc as SkeletonWidgetCard,Sk as SkeletonWrapper,kk as Slider,Lk as SliderRange,q1 as StackedProgressTracker,U1 as StackedProgressTrackerRow,G1 as StackedProgressTrackerStatusFilter,Fk as StarRating,VI as Stepper,d0 as Switch,Jr as TRACKER_STATUS_FILTER_ORDER,i0 as Tabs,C1 as TextArea,ue as Tooltip,Zr as TrackerItemStatus,Qr as TrackerStatusFilter,v1 as getFileIcon,A1 as parseRgbaString,NM as showNotification};
|
|
1
|
+
import{cn as mo,useAnimateNumber as ob}from"@cleen/ui-core";import{forwardRef as nb,useMemo as uh}from"react";import{cn as Ma,usePositionClose as YI,ZIndex as JI}from"@cleen/ui-core";import{useEffect as ch,useRef as Ac,useState as sh}from"react";import{createPortal as jI}from"react-dom";import{jsx as zc,jsxs as ih}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]=sh(a??!1),[E,N]=sh(!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});ch(()=>{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 ch(()=>{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)}},[]),ih("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:ih("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 _n}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 ph=({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:_n("cleen-absolute",e.tooltip.className),style:{...f,...e.tooltip.style},classNames:{...e.tooltip.classNames,container:_n("cleen-size-full !cleen-max-w-none",e.tooltip.classNames?.container),labelContainer:_n("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:_n("cleen-relative cleen-size-full",u),style:{...C,...v,...p}})}):Ba("div",{className:_n("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 dh=({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 mh={color:"rgb(var(--cleen-neutral-200))",height:8};import{jsx as Ko,jsxs as hh}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=uh(()=>({...mh,...r}),[r]),b=uh(()=>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(Ko(ka,{serie:I,color:M,trackHeight:y.height,minValue:p,maxValue:i,className:mo(c?.clamp,I.className),style:{...u?.clamp,...I.style}},`clamp-${P}`));break;case"bar":x.bars.push(Ko(ph,{serie:I,color:M,trackHeight:y.height,trackRadius:y.radius,minValue:p,maxValue:i,renderAnimated:n,animatedGlobal:f,className:mo(c?.bar,I.className),style:{...u?.bar,...I.style}},`bar-${P}`));break;default:break}return x},{clamps:[],bars:[]});return Ko("div",{className:mo("cleen",a),style:s,ref:h,...g,children:hh("div",{className:mo("cleen-relative cleen-w-full",c?.container),style:u?.container,children:[hh("div",{className:mo("cleen-relative cleen-size-full",c?.trackWrapper),style:u?.trackWrapper,children:[Ko("div",{className:mo("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)&&Ko("div",{"aria-hidden":!0,className:mo("cleen-relative cleen-mt-2 cleen-h-5",c?.labels),style:u?.labels,children:t.map((x,I)=>!x||!x.type||!x.label?null:Ko(dh,{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 fh={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"},gh={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 vh,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]),vh("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",fh[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&&vh(ne,{size:"xs",color:g||gh[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 Ih={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"},bh={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 Ht,ColorHelpers as Pb}from"@cleen/ui-core";function Zo(e,t,r){return Math.min(Math.max(e,r),t)}var Gc=class extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}},Hn=Gc;function mb(e){if(typeof e!="string")throw new Hn(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(Un(s,2),16)),parseInt(Un(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(Zo(0,100,s)!==s)throw new Hn(e);if(Zo(0,100,u)!==u)throw new Hn(e);return[...Cb(c,s,u),Number.isNaN(p)?1:p]}throw new Hn(e)}function ub(e){let t=5381,r=e.length;for(;r;)t=t*33^e.charCodeAt(--r);return(t>>>0)%2341}var yh=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=yh(t.substring(0,3)),n=yh(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 Hn(e);return`#${r}`}var Un=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),gb=new RegExp(`^#${Un("([a-f0-9])",3)}([a-f0-9])?$`,"i"),vb=new RegExp(`^#${Un("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Ib=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Un(",\\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,Ch=e=>Math.round(e*255),Cb=(e,t,r)=>{let n=r/100;if(t===0)return[n,n,n].map(Ch);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(Ch)};function xb(e,t,r,n){return`rgba(${Zo(0,255,e).toFixed()}, ${Zo(0,255,t).toFixed()}, ${Zo(0,255,r).toFixed()}, ${parseFloat(Zo(0,1,n).toFixed(3))})`}function Gn(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 Qo,jsxs as xh}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:Gn(I,.9),borderColor:Gn(I,.8)}:{cardColor:I}},[n]);return Qo("div",{className:Ht("cleen",i),style:h,ref:f,...b,children:xh("div",{className:Ht("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)&&xh("div",{className:Ht("cleen-px-6",g?.header?.content),style:{...v&&{color:v},...c!==void 0&&{paddingInline:c},...y?.header?.content},children:[t?.title&&Qo("div",{className:Ht("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&&Qo("hr",{className:Ht("cleen-text-neutral-200",g?.header?.divider),style:{...v&&{color:x},...y?.header?.divider}}),p&&Qo("div",{className:Ht("cleen-px-6",g?.childrenContainer),style:{...c!==void 0&&{paddingInline:c},...y?.childrenContainer},children:p}),r?.content&&r?.hasDivider&&Qo("hr",{className:Ht("cleen-text-neutral-200",g?.footer?.divider),style:{...v&&{color:x},...y?.footer?.divider}}),r?.content&&Qo("div",{className:Ht("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 Ph,jsxs as kb}from"react/jsx-runtime";var Vc=e=>kb(o,{...e,children:[Ph("path",{d:"M9 10.5l2 2l4 -4"}),Ph("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})]});import{jsx as Sh}from"react/jsx-runtime";var Wc=e=>Sh(o,{isFilled:!0,...e,children:Sh("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 Ut,jsxs as Rb}from"react/jsx-runtime";var Xc=e=>Rb(o,{...e,children:[Ut("path",{d:"M3 21l18 0"}),Ut("path",{d:"M9 8l1 0"}),Ut("path",{d:"M9 12l1 0"}),Ut("path",{d:"M9 16l1 0"}),Ut("path",{d:"M14 8l1 0"}),Ut("path",{d:"M14 12l1 0"}),Ut("path",{d:"M14 16l1 0"}),Ut("path",{d:"M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16"})]});import{jsx as Mh,jsxs as Lb}from"react/jsx-runtime";var Kc=e=>Lb(o,{...e,children:[Mh("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"}),Mh("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 Vn,jsxs as Tb}from"react/jsx-runtime";var Qc=e=>Tb(o,{viewBox:"0 0 48 48",...e,children:[Vn("path",{opacity:"0.1",d:"M3 24a21 21 0 1 0 42 0a21 21 0 0 0 -42 0"}),Vn("path",{opacity:"0.3",d:"M8 24a16 16 0 1 0 32 0a16 16 0 0 0 -32 0"}),Vn("path",{d:"M13 24a11 11 0 1 0 22 0a11 11 0 0 0 -22 0"}),Vn("path",{d:"M24 18v8"}),Vn("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 uo=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 wh}from"react/jsx-runtime";var jc=e=>wh(o,{isFilled:!0,...e,children:wh("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 Wn,jsxs as Ab}from"react/jsx-runtime";var os=e=>Ab(o,{...e,children:[Wn("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"}),Wn("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"}),Wn("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"}),Wn("path",{d:"M14 7l6 0"}),Wn("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 kh,jsxs as Xb}from"react/jsx-runtime";var fs=e=>Xb(o,{...e,children:[kh("path",{d:"M17 7l-10 10"}),kh("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 Bh,jsxs as Zb}from"react/jsx-runtime";var Is=e=>Zb(o,{...e,children:[Bh("path",{d:"M7 7l10 10"}),Bh("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 Rh,jsxs as ty}from"react/jsx-runtime";var Rs=e=>ty(o,{...e,children:[Rh("path",{d:"M7 7l10 10"}),Rh("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 Lh,jsxs as ny}from"react/jsx-runtime";var Ts=e=>ny(o,{...e,children:[Lh("path",{d:"M17 7l-10 10"}),Lh("path",{d:"M8 7l9 0l0 9"})]});import{jsx as Dh}from"react/jsx-runtime";var Ns=e=>Dh(o,{...e,children:Dh("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 $n,jsxs as ay}from"react/jsx-runtime";var Es=e=>ay(o,{...e,children:[$n("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"}),$n("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"}),$n("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"}),$n("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"}),$n("path",{d:"M7 18.5h10"})]});import{jsx as Th,jsxs as ly}from"react/jsx-runtime";var As=e=>ly(o,{...e,children:[Th("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"}),Th("path",{d:"M9 17v1a3 3 0 0 0 6 0v-1"})]});import{jsx as Nh,jsxs as cy}from"react/jsx-runtime";var zs=e=>cy(o,{...e,children:[Nh("path",{d:"M7 5h6a3.5 3.5 0 0 1 0 7h-6z"}),Nh("path",{d:"M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7"})]});import{jsx as Fh}from"react/jsx-runtime";var Os=e=>Fh(o,{...e,children:Fh("path",{d:"M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z"})});import{jsx as Eh}from"react/jsx-runtime";var _s=e=>Eh(o,{isFilled:!0,...e,children:Eh("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 Ah,jsxs as sy}from"react/jsx-runtime";var Hs=e=>sy(o,{...e,children:[Ah("path",{d:"M12 17l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v8"}),Ah("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 qn,jsxs as py}from"react/jsx-runtime";var Vs=e=>py(o,{...e,children:[qn("path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),qn("path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0"}),qn("path",{d:"M3 6l0 13"}),qn("path",{d:"M12 6l0 13"}),qn("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 Xn,jsxs as hy}from"react/jsx-runtime";var Zs=e=>hy(o,{...e,children:[Xn("path",{d:"M15 12h.01"}),Xn("path",{d:"M12 12h.01"}),Xn("path",{d:"M9 12h.01"}),Xn("path",{d:"M6 19a2 2 0 0 1 -2 -2v-4l-1 -1l1 -1v-4a2 2 0 0 1 2 -2"}),Xn("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 Gt,jsxs as vy}from"react/jsx-runtime";var Js=e=>vy(o,{...e,children:[Gt("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"}),Gt("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"}),Gt("path",{d:"M8 14l0 .01"}),Gt("path",{d:"M12 14l0 .01"}),Gt("path",{d:"M16 14l0 .01"}),Gt("path",{d:"M8 17l0 .01"}),Gt("path",{d:"M12 17l0 .01"}),Gt("path",{d:"M16 17l0 .01"})]});import{jsx as Yo,jsxs as Iy}from"react/jsx-runtime";var Kn=e=>Iy(o,{...e,children:[Yo("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"}),Yo("path",{d:"M16 3v4"}),Yo("path",{d:"M8 3v4"}),Yo("path",{d:"M4 11h16"}),Yo("path",{d:"M11 15h1"}),Yo("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 zh}from"react/jsx-runtime";var xt=e=>zh(o,{...e,children:zh("path",{d:"M5 12l5 5l10 -10"})});import{jsx as Oh,jsxs as yy}from"react/jsx-runtime";var ho=e=>yy(o,{...e,children:[Oh("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),Oh("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as _h,jsxs as Cy}from"react/jsx-runtime";var ei=e=>Cy(o,{...e,children:[_h("path",{d:"M16.8 4.3a9 9 0 1 0 4.3 6.1"}),_h("path",{d:"M8.5 12l3 3l9.5 -10"})]});import{jsx as Hh}from"react/jsx-runtime";var ti=e=>Hh(o,{isFilled:!0,...e,children:Hh("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 Uh,jsxs as xy}from"react/jsx-runtime";var oi=e=>xy(o,{...e,children:[Uh("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"}),Uh("path",{d:"M9 12l2 2l4 -4"})]});import{jsx as Gh}from"react/jsx-runtime";var ni=e=>Gh(o,{isFilled:!0,...e,children:Gh("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 Vh}from"react/jsx-runtime";var Zn=e=>Vh(o,{...e,children:Vh("path",{d:"M6 9l6 6l6 -6"})});import{jsx as Wh,jsxs as Py}from"react/jsx-runtime";var ri=e=>Py(o,{...e,children:[Wh("path",{d:"M7 7l5 5l5 -5"}),Wh("path",{d:"M7 13l5 5l5 -5"})]});import{jsx as $h}from"react/jsx-runtime";var ai=e=>$h(o,{...e,children:$h("path",{d:"M8 8v8h8"})});import{jsx as qh,jsxs as Sy}from"react/jsx-runtime";var li=e=>Sy(o,{...e,children:[qh("path",{d:"M11 5v8h8"}),qh("path",{d:"M7 9v8h8"})]});import{jsx as Xh}from"react/jsx-runtime";var ci=e=>Xh(o,{...e,children:Xh("path",{d:"M16 8v8h-8"})});import{jsx as Kh,jsxs as My}from"react/jsx-runtime";var si=e=>My(o,{...e,children:[Kh("path",{d:"M13 5v8h-8"}),Kh("path",{d:"M17 9v8h-8"})]});import{jsx as Zh}from"react/jsx-runtime";var Pt=e=>Zh(o,{...e,children:Zh("path",{d:"M15 6l-6 6l6 6"})});import{jsx as Qh,jsxs as wy}from"react/jsx-runtime";var ii=e=>wy(o,{...e,children:[Qh("path",{d:"M11 7l-5 5l5 5"}),Qh("path",{d:"M17 7l-5 5l5 5"})]});import{jsx as Yh}from"react/jsx-runtime";var ot=e=>Yh(o,{...e,children:Yh("path",{d:"M9 6l6 6l-6 6"})});import{jsx as Jh,jsxs as ky}from"react/jsx-runtime";var Qn=e=>ky(o,{...e,children:[Jh("path",{d:"M7 7l5 5l-5 5"}),Jh("path",{d:"M13 7l5 5l-5 5"})]});import{jsx as jh,jsxs as By}from"react/jsx-runtime";var pi=e=>By(o,{...e,children:[jh("path",{d:"M8 9l4 -4l4 4"}),jh("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 jo,jsxs as Ty}from"react/jsx-runtime";var gi=e=>Ty(o,{...e,children:[jo("path",{d:"M3 12l3 0"}),jo("path",{d:"M12 3l0 3"}),jo("path",{d:"M7.8 7.8l-2.2 -2.2"}),jo("path",{d:"M16.2 7.8l2.2 -2.2"}),jo("path",{d:"M7.8 16.2l-2.2 2.2"}),jo("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 Yn,jsxs as zy}from"react/jsx-runtime";var xi=e=>zy(o,{...e,children:[Yn("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),Yn("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"}),Yn("path",{d:"M11 14h6"}),Yn("path",{d:"M14 11v6"}),Yn("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 en,jsxs as _y}from"react/jsx-runtime";var Mi=e=>_y(o,{...e,children:[en("path",{d:"M4 8h16"}),en("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"}),en("path",{d:"M8 4v4"}),en("path",{d:"M9 12l-2 2l2 2"}),en("path",{d:"M15 12l2 2l-2 2"}),en("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 fo,jsxs as Zy}from"react/jsx-runtime";var zi=e=>Zy(o,{...e,children:[fo("path",{d:"M5 2h5v4h-5z"}),fo("path",{d:"M15 10h5v4h-5z"}),fo("path",{d:"M5 18h5v4h-5z"}),fo("path",{d:"M5 10h5v4h-5z"}),fo("path",{d:"M10 12h5"}),fo("path",{d:"M7.5 6v4"}),fo("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 jn,jsxs as Yy}from"react/jsx-runtime";var _i=e=>Yy(o,{...e,children:[jn("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"}),jn("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"}),jn("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"}),jn("path",{d:"M6 15v-1a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v1"}),jn("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 tn=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 Vt,jsxs as cC}from"react/jsx-runtime";var op=e=>cC(o,{...e,children:[Vt("path",{d:"M16 4l4 0l0 4"}),Vt("path",{d:"M14 10l6 -6"}),Vt("path",{d:"M8 20l-4 0l0 -4"}),Vt("path",{d:"M4 20l6 -6"}),Vt("path",{d:"M16 20l4 0l0 -4"}),Vt("path",{d:"M14 14l6 6"}),Vt("path",{d:"M8 4l-4 0l0 4"}),Vt("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 er,jsxs as mC}from"react/jsx-runtime";var pp=e=>mC(o,{...e,children:[er("path",{d:"M21 9c-2.4 2.667 -5.4 4 -9 4c-3.6 0 -6.6 -1.333 -9 -4"}),er("path",{d:"M3 15l2.5 -3.8"}),er("path",{d:"M21 14.976l-2.492 -3.776"}),er("path",{d:"M9 17l.5 -4"}),er("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 on,jsxs as hC}from"react/jsx-runtime";var mp=e=>hC(o,{...e,children:[on("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),on("path",{d:"M7 8.5l3 3"}),on("path",{d:"M7 11.5l3 -3"}),on("path",{d:"M14 8.5l3 3"}),on("path",{d:"M14 11.5l3 -3"}),on("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 go=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 tr,jsxs as IC}from"react/jsx-runtime";var or=e=>IC(o,{...e,children:[tr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),tr("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),tr("path",{d:"M7 16.5a1.5 1.5 0 0 0 -3 0v3a1.5 1.5 0 0 0 3 0"}),tr("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"}),tr("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 nn,jsxs as yC}from"react/jsx-runtime";var nr=e=>yC(o,{...e,children:[nn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),nn("path",{d:"M5 12v-8a2 2 0 0 1 2 -2h7l5 5v5"}),nn("path",{d:"M4 15.125h2.5v4.5a1.25 1.25 0 0 1 -2.5 0v-.5"}),nn("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"}),nn("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"}),nn("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 rn,jsxs as PC}from"react/jsx-runtime";var vo=e=>PC(o,{...e,children:[rn("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),rn("path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4"}),rn("path",{d:"M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6"}),rn("path",{d:"M17 18h2"}),rn("path",{d:"M20 15h-3v6"}),rn("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 rr,jsxs as MC}from"react/jsx-runtime";var ar=e=>MC(o,{...e,children:[rr("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),rr("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"}),rr("path",{d:"M8 11h8v7h-8z"}),rr("path",{d:"M8 15h8"}),rr("path",{d:"M11 11v7"})]});import{jsx as lr,jsxs as wC}from"react/jsx-runtime";var wt=e=>wC(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:"M9 9l1 0"}),lr("path",{d:"M9 13l6 0"}),lr("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 an,jsxs as BC}from"react/jsx-runtime";var cr=e=>BC(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:"M4 15l4 6"}),an("path",{d:"M4 21l4 -6"}),an("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"}),an("path",{d:"M11 15v6h3"})]});import{jsx as Wt,jsxs as RC}from"react/jsx-runtime";var sr=e=>RC(o,{...e,children:[Wt("path",{d:"M14 3v4a1 1 0 0 0 1 1h4"}),Wt("path",{d:"M5 13v-8a2 2 0 0 1 2 -2h7l5 5v5"}),Wt("path",{d:"M4 16l3 5"}),Wt("path",{d:"M4 21l3 -5"}),Wt("path",{d:"M8.5 16v5h2"}),Wt("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"}),Wt("path",{d:"M16.5 16l3 5"}),Wt("path",{d:"M16.5 21l3 -5"})]});import{jsx as $t,jsxs as LC}from"react/jsx-runtime";var ct=e=>LC(o,{...e,children:[$t("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"}),$t("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"}),$t("path",{d:"M11 5l-1 0"}),$t("path",{d:"M13 7l-1 0"}),$t("path",{d:"M11 9l-1 0"}),$t("path",{d:"M13 11l-1 0"}),$t("path",{d:"M11 13l-1 0"}),$t("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 ir=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 pr,jsxs as NC}from"react/jsx-runtime";var wp=e=>NC(o,{...e,children:[pr("path",{d:"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),pr("path",{d:"M4 8v-2a2 2 0 0 1 2 -2h2"}),pr("path",{d:"M4 16v2a2 2 0 0 0 2 2h2"}),pr("path",{d:"M16 4h2a2 2 0 0 1 2 2v2"}),pr("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 ln,jsxs as zC}from"react/jsx-runtime";var Dp=e=>zC(o,{...e,children:[ln("path",{d:"M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("path",{d:"M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"}),ln("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 cn,jsxs as _C}from"react/jsx-runtime";var Np=e=>_C(o,{...e,children:[cn("path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5"}),cn("path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5"}),cn("path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5"}),cn("path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v5"}),cn("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"}),cn("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 dr=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 mr,jsxs as $C}from"react/jsx-runtime";var Hp=e=>$C(o,{...e,children:[mr("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"}),mr("path",{d:"M4 16l16 0"}),mr("path",{d:"M4 12l3 -3c.928 -.893 2.072 -.893 3 0l4 4"}),mr("path",{d:"M13 12l2 -2c.928 -.893 2.072 -.893 3 0l2 2"}),mr("path",{d:"M14 7l.01 0"})]});import{jsx as ur,jsxs as qC}from"react/jsx-runtime";var Up=e=>qC(o,{...e,children:[ur("path",{d:"M15 8h.01"}),ur("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"}),ur("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l4 4"}),ur("path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l.5 .5"}),ur("path",{d:"M15 19l2 2l4 -4"})]});import{jsx as hr,jsxs as XC}from"react/jsx-runtime";var Gp=e=>XC(o,{...e,children:[hr("path",{d:"M15 8h.01"}),hr("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"}),hr("path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5"}),hr("path",{d:"M16.33 12.338c.574 -.054 1.155 .166 1.67 .662l3 3"}),hr("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 fr,jsxs as rx}from"react/jsx-runtime";var rd=e=>rx(o,{...e,children:[fr("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"}),fr("path",{d:"M4 12h8"}),fr("path",{d:"M12 15h8"}),fr("path",{d:"M12 9h8"}),fr("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 sn,jsxs as cx}from"react/jsx-runtime";var sd=e=>cx(o,{...e,children:[sn("path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0"}),sn("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),sn("path",{d:"M15 15l3.35 3.35"}),sn("path",{d:"M9 15l-3.35 3.35"}),sn("path",{d:"M5.65 5.65l3.35 3.35"}),sn("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 pn,jsxs as dx}from"react/jsx-runtime";var hd=e=>dx(o,{...e,children:[pn("path",{d:"M3 3v18h18"}),pn("path",{d:"M20 18v3"}),pn("path",{d:"M16 16v5"}),pn("path",{d:"M12 13v8"}),pn("path",{d:"M8 16v5"}),pn("path",{d:"M3 11c6 0 5 -5 9 -5s3 5 9 5"})]});import{jsx as dn,jsxs as mx}from"react/jsx-runtime";var fd=e=>mx(o,{...e,children:[dn("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"}),dn("path",{d:"M3 13c0 0, 8 0, 12 -4"}),dn("path",{d:"M12 8h4v4"}),dn("path",{d:"M15 2v1.44"}),dn("path",{d:"M18.75 4.75l1.2 -1.2"}),dn("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 mn,jsxs as fx}from"react/jsx-runtime";var bd=e=>fx(o,{...e,children:[mn("path",{d:"M3.5 5.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M3.5 11.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M3.5 17.5l1.5 1.5l2.5 -2.5"}),mn("path",{d:"M11 6l9 0"}),mn("path",{d:"M11 12l9 0"}),mn("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 un,jsxs as yx}from"react/jsx-runtime";var Md=e=>yx(o,{...e,children:[un("path",{d:"M9 6l11 0"}),un("path",{d:"M9 12l11 0"}),un("path",{d:"M9 18l11 0"}),un("path",{d:"M5 6l0 .01"}),un("path",{d:"M5 12l0 .01"}),un("path",{d:"M5 18l0 .01"})]});import{jsx as gr,jsxs as Cx}from"react/jsx-runtime";var wd=e=>Cx(o,{...e,children:[gr("path",{d:"M11 6h9"}),gr("path",{d:"M11 12h9"}),gr("path",{d:"M12 18h8"}),gr("path",{d:"M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4"}),gr("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 vr,jsxs as Nx}from"react/jsx-runtime";var $d=e=>Nx(o,{...e,children:[vr("path",{d:"M8 9h8"}),vr("path",{d:"M8 13h6"}),vr("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"}),vr("path",{d:"M22 22l-5 -5"}),vr("path",{d:"M17 22l5 -5"})]});import{jsx as dl,jsxs as Fx}from"react/jsx-runtime";var Ir=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 br,jsxs as Hx}from"react/jsx-runtime";var Jd=e=>Hx(o,{...e,children:[br("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"}),br("path",{d:"M3 13h18"}),br("path",{d:"M8 21h8"}),br("path",{d:"M10 17l-.5 4"}),br("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 qt,jsxs as Gx}from"react/jsx-runtime";var nt=e=>Gx(o,{...e,children:[qt("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"}),qt("path",{d:"M8 4l0 16"}),qt("path",{d:"M16 4l0 16"}),qt("path",{d:"M4 8l4 0"}),qt("path",{d:"M4 16l4 0"}),qt("path",{d:"M4 12l16 0"}),qt("path",{d:"M16 8l4 0"}),qt("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 yr,jsxs as Wx}from"react/jsx-runtime";var nm=e=>Wx(o,{...e,children:[yr("path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5"}),yr("path",{d:"M12 12l8 -4.5"}),yr("path",{d:"M12 12l0 9"}),yr("path",{d:"M12 12l-8 -4.5"}),yr("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 Cr,jsxs as qx}from"react/jsx-runtime";var am=e=>qx(o,{...e,children:[Cr("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"}),Cr("path",{d:"M8 11v-4a4 4 0 1 1 8 0v4"}),Cr("path",{d:"M15 16h.01"}),Cr("path",{d:"M12.01 16h.01"}),Cr("path",{d:"M9.02 16h.01"})]});import{jsx as $f,jsxs as Xx}from"react/jsx-runtime";var Io=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 xr=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 bo=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 Pr=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 Xt=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 Sr=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 Kt,jsxs as bP}from"react/jsx-runtime";var $m=e=>bP(o,{...e,children:[Kt("path",{d:"M4 7v-1a2 2 0 0 1 2 -2h2"}),Kt("path",{d:"M4 17v1a2 2 0 0 0 2 2h2"}),Kt("path",{d:"M16 4h2a2 2 0 0 1 2 2v1"}),Kt("path",{d:"M16 20h2a2 2 0 0 0 2 -2v-1"}),Kt("path",{d:"M5 11h1v2h-1z"}),Kt("path",{d:"M10 11l0 2"}),Kt("path",{d:"M14 11h1v2h-1z"}),Kt("path",{d:"M19 11l0 2"})]});import{jsx as Il,jsxs as yP}from"react/jsx-runtime";var Mr=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 wr,jsxs as wP}from"react/jsx-runtime";var Qm=e=>wP(o,{...e,children:[wr("path",{d:"M6 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),wr("path",{d:"M18 6m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),wr("path",{d:"M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),wr("path",{d:"M8.7 10.7l6.6 -3.4"}),wr("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 Zt,jsxs as TP}from"react/jsx-runtime";var ru=e=>TP(o,{...e,children:[Zt("path",{d:"M5 9l4 0l0 -4"}),Zt("path",{d:"M3 3l6 6"}),Zt("path",{d:"M5 15l4 0l0 4"}),Zt("path",{d:"M3 21l6 -6"}),Zt("path",{d:"M19 9l-4 0l0 -4"}),Zt("path",{d:"M15 9l6 -6"}),Zt("path",{d:"M19 15l-4 0l0 4"}),Zt("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 yo,jsxs as zP}from"react/jsx-runtime";var iu=e=>zP(o,{...e,children:[yo("path",{d:"M4 10l0 6"}),yo("path",{d:"M20 10l0 6"}),yo("path",{d:"M7 9h10v8a1 1 0 0 1 -1 1h-8a1 1 0 0 1 -1 -1v-8a5 5 0 0 1 10 0"}),yo("path",{d:"M8 3l1 2"}),yo("path",{d:"M16 3l-1 2"}),yo("path",{d:"M9 18l0 3"}),yo("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 kr,jsxs as _P}from"react/jsx-runtime";var mu=e=>_P(o,{...e,children:[kr("path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0"}),kr("path",{d:"M3.6 9h16.8"}),kr("path",{d:"M3.6 15h16.8"}),kr("path",{d:"M11.5 3a17 17 0 0 0 0 18"}),kr("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 Br,jsxs as UP}from"react/jsx-runtime";var gu=e=>UP(o,{...e,children:[Br("path",{d:"M8 11v5"}),Br("path",{d:"M8 8v.01"}),Br("path",{d:"M12 16v-5"}),Br("path",{d:"M16 16v-3a2 2 0 1 0 -4 0"}),Br("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 Co,jsxs as VP}from"react/jsx-runtime";var bu=e=>VP(o,{...e,children:[Co("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"}),Co("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"}),Co("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"}),Co("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"}),Co("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"}),Co("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"}),Co("path",{d:"M11.5 12.866a1 1 0 1 0 1 -1.732a1 1 0 0 0 -1 1.732z"})]});import{jsx as Rr,jsxs as WP}from"react/jsx-runtime";var yu=e=>WP(o,{...e,children:[Rr("path",{d:"M21 15l-1 -6l-2.5 6"}),Rr("path",{d:"M9 15l1 -6"}),Rr("path",{d:"M3 9h1v6h.5l2.5 -6"}),Rr("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"}),Rr("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 Lr=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 Dr=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 Tr=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 hn,jsxs as jP}from"react/jsx-runtime";var Nu=e=>jP(o,{...e,children:[hn("path",{d:"M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"}),hn("path",{d:"M12 12m-8 0a8 8 0 1 0 16 0a8 8 0 1 0 -16 0"}),hn("path",{d:"M12 2l0 2"}),hn("path",{d:"M12 20l0 2"}),hn("path",{d:"M20 12l2 0"}),hn("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 fn,jsxs as lS}from"react/jsx-runtime";var Wu=e=>lS(o,{...e,children:[fn("path",{d:"M9 6.371c0 4.418 -2.239 6.629 -5 6.629"}),fn("path",{d:"M4 6.371h7"}),fn("path",{d:"M5 9c0 2.144 2.252 3.908 6 4"}),fn("path",{d:"M12 20l4 -9l4 9"}),fn("path",{d:"M19.1 18h-6.2"}),fn("path",{d:"M6.694 3l.793 .582"})]});import{jsx as Nr,jsxs as cS}from"react/jsx-runtime";var Ke=e=>cS(o,{...e,children:[Nr("path",{d:"M4 7l16 0"}),Nr("path",{d:"M10 11l0 6"}),Nr("path",{d:"M14 11l0 6"}),Nr("path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"}),Nr("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 xo=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 Fr=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 Er,jsxs as CS}from"react/jsx-runtime";var c1=e=>CS(o,{...e,children:[Er("path",{d:"M6 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"}),Er("path",{d:"M4 21v-2a4 4 0 0 1 4 -4h6"}),Er("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}),Er("path",{d:"M19 22v-6"}),Er("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 Ar=(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))(Ar||{});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(uo,{...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(Kn,{...t});case"Certificate":return m(js,{...t});case"Check":return m(xt,{...t});case"CheckCircle":return m(ho,{...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(Zn,{...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(Qn,{...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(tn,{...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(go,{...t});case"FileCheck":return m(fp,{...t});case"FileCsv":return m(or,{...t});case"FileDownload":return m(gp,{...t});case"FileJson":return m(nr,{...t});case"FileList":return m(vp,{...t});case"FileMusic":return m(Xe,{...t});case"FilePdf":return m(vo,{...t});case"FileSpreadsheet":return m(ar,{...t});case"FileText":return m(wt,{...t});case"FileUpload":return m(yp,{...t});case"FileXls":return m(cr,{...t});case"FileXlsx":return m(sr,{...t});case"FileZip":return m(ct,{...t});case"Filter":return m(Cp,{...t});case"Filter2":return m(ir,{...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(dr,{...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(Ir,{...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(Io,{...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(xr,{...t});case"Play":return m(bo,{...t});case"PlayCircle":return m(vm,{...t});case"Plus":return m(Pr,{...t});case"PlusCircle":return m(Xt,{...t});case"Printer":return m(ym,{...t});case"Pulse":return m(Cm,{...t});case"QuestionCircle":return m(Sr,{...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(Mr,{...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(Lr,{...t});case"StarFill":return m(Su,{...t});case"StarHalf":return m(Mu,{...t});case"Stars":return m(wu,{...t});case"Stop":return m(Dr,{...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(Tr,{...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(xo,{...t});case"User":return m(Fr,{...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=go,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:vo,doc:wt,docx:wt,txt:wt,rtf:wt,odt:wt,json:nr,csv:or,xls:cr,xlsx:sr,ods:ar,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 zr,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 zr(ie,{ref:g,classNames:{...u,header:{...u?.header,title:P1("cleen-flex cleen-gap-4",u?.header?.title)}},header:{...a,title:AS(ES,{children:[zr("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:Gn(h,.85),color:h,borderColor:"transparent"},...p?.iconHolder},children:n||(t?zr(_e,{name:t,className:"cleen-text-foreground",style:{width:l,height:l,...h&&{color:h}}}):r?zr("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&&zr("div",{className:P1("cleen-flex-1",u?.content),style:p?.content,children:s})})});import{cn as gn}from"@cleen/ui-core";import{forwardRef as zS,useMemo as OS}from"react";import{jsx as Or}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 Or("img",{...t,alt:t.alt??"Card media",className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"video":return Or("video",{playsInline:!0,controls:!0,...t,className:gn("cleen-w-full cleen-aspect-video cleen-object-cover",a?.media?.content),style:c?.media?.content});case"iframe":return Or("iframe",{...t,title:t.title??"Card iframe",className:gn("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 Or(ie,{ref:u,color:n,classNames:{...a,container:gn("cleen-pt-0",a?.container),header:{...a?.header,content:gn("cleen-p-0",a?.header?.content)}},header:{...r,...p&&{content:Or("div",{className:gn("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 _r}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:_r("cleen",e),style:r,children:HS("div",{className:_r(t?.container),style:n?.container,...s,children:[l&&Ll("div",{className:_r("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:_r("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:_r("cleen-mt-2 cleen-font-normal cleen-text-sm cleen-text-neutral-600",t?.subtitle),style:n?.subtitle,children:c})]})});import{cn as Hr}from"@cleen/ui-core";import{jsx as Ur,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})=>Ur("div",{className:Hr("cleen",n),style:a,children:US("label",{...s,className:Hr("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:[Ur("div",{className:Hr({"cleen-flex-1":!e&&!t},l?.label),style:c?.label,children:r}),e&&Ur("span",{className:Hr("cleen-text-primary",l?.required),style:c?.required,children:"*"}),t&&Ur(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:Ur(Sr,{className:Hr("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 Qt,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 Qt("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:[Qt(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&&Qt("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:[Qt("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&&Qt("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"&&Qt("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&&Qt("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&&Qt(j,{id:Q,...R,subtitle:W})]})})});import{cn as Gr,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 Vr,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=Vr(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()}}),Vr("div",{className:Gr("cleen",I),style:M,ref:W,...k,children:H?YS("div",{className:Gr("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[Vr(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:Gr("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&&Vr("div",{className:Gr("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})]}):Vr("div",{onClick:()=>{u&&(z||A(!0),a?.(!0))},className:Gr("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 vn}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 Po,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 Po("div",{className:vn("cleen",B),style:w,children:M1("div",{className:vn("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&&Po(te,{htmlFor:r||t,required:u,tooltip:c,className:vn("cleen-w-full",k?.label?.className),classNames:k?.label?.classNames,...R?.label,children:a}),g&&Po("div",{className:"cleen-ml-auto",children:g})]}),M1("div",{className:vn("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&&Po("div",{className:"cleen-absolute cleen-top-2 cleen-right-2 cleen-z-10",children:i}),h&&Po("div",{className:vn("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}),Po("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:vn("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&&Po(j,{id:Q,...p,subtitle:W})]})})});import{cn as Wr,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 $r,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=$r(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()}}),$r("div",{className:Wr("cleen",I),style:M,ref:W,...k,children:H?s4("div",{className:Wr("cleen-relative cleen-h-full",P?.container),style:B?.container,children:[$r(w1,{value:G,onChange:O=>{$(O),g?.(O)},autoFocus:!0,placeholder:c,className:P?.textArea?.className,classNames:{...P?.textArea?.classNames,textareaContainer:Wr("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&&$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&&(z||A(!0),a?.(!0))},className:Wr("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 qr}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:qr("cleen",a),style:s,ref:l,children:Fl("button",{type:t,ref:f,disabled:g||p,onClick:n,className:qr("cleen-size-full",c?.container),style:u?.container,...b,children:Fl(ie,{p:0,className:qr("cleen-size-full cleen-group",c?.card?.className),classNames:{...c?.card?.classNames,container:qr("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",Ih[h],c?.card?.classNames?.container,{"cleen-opacity-50 cleen-cursor-not-allowed cleen-pointer-events-none":p||g}),childrenContainer:qr("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||bh[h],...c?.loader,...u?.loader}):r||y})})})});import{cn as Xr,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 Kr,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 Kr("div",{ref:u,className:Xr("cleen",n),style:a,...s,children:ng("div",{className:Xr("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:[Kr(re,{type:"button",onClick:f,disabled:!h,"aria-label":g?"Pause":"Play",className:l?.playButton?.className,classNames:{...l?.playButton?.classNames,container:Xr("cleen-p-0 !cleen-size-9 cleen-rounded-full",l?.playButton?.classNames?.container)},...c?.playButton,children:g?Kr(Io,{className:"cleen-fill-current"}):Kr(bo,{className:"cleen-fill-current"})}),Kr("div",{ref:p,className:Xr("cleen-flex-1 cleen-min-w-0",l?.waveform),style:c?.waveform}),ng("span",{className:Xr("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 bn,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 Zr(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 In(e,t){let r=ig(null),n=l=>{r.set(l)};return e.addEventListener(t,n),r._cleanup=()=>{e.removeEventListener(t,n)},r}function So(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(),So(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=Zr("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=Zr("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=Zr("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=In(t,"click"),n=In(t,"mouseenter"),l=In(t,"mouseleave"),a=In(t,"dblclick"),c=In(t,"pointerdown"),s=In(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(),So(r),So(n),So(l),So(a),So(c),So(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=Zr("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 Zr("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 Qr}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=bn(async()=>{await B.startRecording()},[B]),D=bn(()=>{B.stopRecording()},[B]),S=bn(()=>{w?.playPause()},[w]),_=bn(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=bn(()=>{k.clearRegions(),w?.empty(),f(null),C(null),y("idle")},[w,k]),A=bn(()=>{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:Qr("div",{className:He("cleen-flex cleen-flex-col cleen-items-center cleen-gap-3",c?.container),style:u?.container,children:[h==="idle"&&Qr(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(Ir,{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(Dr,{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"&&Qr("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(Io,{className:"cleen-fill-current"}):Me(bo,{className:"cleen-fill-current"})}),Qr("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&&Qr("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(Mr,{})}),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 Yr}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=Yr(Fr,{}),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 Yr("div",{className:Wl("cleen",i),style:h,ref:v,...f,children:Yr("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?Yr("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}):Yr("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 Yt}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(dr,{"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:Yt("cleen",n),style:a,ref:u,...s,children:Jr("nav",{className:Yt("cleen-hidden sm:cleen-flex",l?.container),style:c?.container,"aria-label":"Breadcrumb",children:ql("ol",{role:"list",className:Yt("cleen-flex cleen-items-center cleen-gap-4",l?.list),style:c?.list,children:[t&&Jr("li",{className:Yt("cleen-flex cleen-items-center",l?.rootItem),style:c?.rootItem,children:ql(ug,{to:t?.path,className:Yt("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:Yt("cleen-flex cleen-items-center cleen-gap-4",l?.item),style:c?.item,children:[(t||!t&&y!==0)&&Jr(ot,{className:Yt("cleen-h-5 cleen-w-5 cleen-text-neutral-300",l?.chevron),style:c?.chevron,"aria-hidden":"true"}),ql(ug,{to:p,className:Yt("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 Mo,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&&Mo(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&&Mo(re,{variant:"secondary",onClick:()=>S(new Date),children:i?.today??"Today"})]}),Mo(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&&Mo(te,{required:l,tooltip:r,className:Kl("cleen-mb-1.5",y?.label?.className),classNames:y?.label?.classNames,...b?.label,children:t}),w?Mo(hg,{mode:"single",...A,selected:F,onSelect:(z,H)=>{if(v||C){_(Xl(z,{min:v,max:C}),H);return}_(z,H)}}):Mo(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)&&Mo(j,{...n})]})});import{cn as yn,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 wo,jsxs as gg}from"react/jsx-runtime";var jr=G4(function({type:t="button",required:r,label:n,title:l,titleTooltip:a,disabled:c=!1,leftIcon:s,rightIcon:u=wo(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:yn("cleen",C),style:I,ref:k,...B,children:[l&&wo(te,{required:r,tooltip:a,className:yn("cleen-mb-1.5",x?.title?.className),classNames:x?.title?.classNames,...P?.title,children:l}),wo("div",{className:yn("cleen-inline-block cleen-relative",p&&"cleen-w-full"),ref:L,children:gg("button",{type:t,className:yn("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-neutral-300 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-border",{"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,wo("div",{className:yn("cleen-flex-1 cleen-text-left",x?.label),style:P?.label,children:n}),u]})}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&wo(j,{...v}),M&&E&&$4(wo("div",{className:"cleen",children:wo("div",{ref:N,className:yn("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 ko,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=ko(Kn,{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:[ko(jr,{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:ko(ie,{footer:{hasDivider:!0,content:Ig("div",{className:"cleen-flex cleen-justify-between cleen-items-center",children:[ko(re,{variant:"secondary",onClick:()=>w(!1),styles:{container:{minWidth:"max-content"}},children:"Close"}),ko(re,{onClick:()=>{_(D),w(!1)},styles:{container:{minWidth:"max-content"}},children:"Apply"})]})},...h?.card,...y?.card,children:ko(_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)&&ko(j,{...n})]})});import"react";import{cn as Cn}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 Bo,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 Bo("div",{className:Cn("cleen",g),style:y,ref:v,...f,children:t5("div",{className:Cn("cleen-flex cleen-gap-2",h?.container),style:b?.container,children:[Bo("button",{className:Cn("cleen-text-foreground",h?.prevBtn,P&&"cleen-opacity-50"),onClick:w,disabled:P,style:b?.prevBtn,children:l||Bo(Pt,{})}),Bo("div",{className:Cn("cleen-flex-1 cleen-overflow-hidden",h?.viewport),style:b?.viewport,ref:x,children:Bo("div",{className:Cn("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})}),Bo("button",{className:Cn("cleen-text-foreground",h?.nextBtn,B&&"cleen-opacity-50"),onClick:R,disabled:B,style:b?.nextBtn,children:a||Bo(ot,{})})]})})});import{cn as Ro}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 ea=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:Ro("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:Ro("cleen-block cleen-text-foreground",s?.label),style:p?.label,children:b}),st("label",{htmlFor:w,className:Ro("cleen-font-normal cleen-text-neutral-600 cleen-text-sm cleen-leading-5",s?.sublabel),style:p?.sublabel,children:f})]})]}),T={className:Ro("cleen-flex cleen-items-start cleen-gap-2",{"cleen-opacity-50":g},s?.checkboxContainer),style:p?.checkboxContainer};return st("div",{className:Ro("cleen",c),style:u,ref:B,children:Ql("div",{className:Ro(s?.container),style:p?.container,children:[h&&st(te,{htmlFor:w,required:n,tooltip:y,className:Ro("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 ta}from"@cleen/ui-core";import{forwardRef as c5,useId as s5,useMemo as i5,useState as p5}from"react";import{jsx as xn,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 xn("div",{className:ta("cleen"),...h,ref:y,children:m5("div",{className:ta("cleen-flex cleen-flex-col cleen-gap-2",p?.container),style:i?.container,children:[n&&xn(te,{htmlFor:f,required:r,tooltip:l,className:ta("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...i?.label,children:n}),xn("div",{className:ta("cleen-flex cleen-flex-col cleen-gap-3",p?.checkboxes),style:i?.checkboxes,children:a?.map((P,M)=>xn("div",{className:ta("cleen-flex",p?.checkboxContainer),style:i?.checkboxContainer,children:xn(ea,{allowIndeterminate:c,...P,id:`${f}-${M}`,fullTriggerArea:!0,onChange:B=>I(B,P)})},P.id))}),(x||s?.infoMessage||s?.subtitle)&&xn(j,{...s,errorMessage:x})]})})});import{cn as Lo}from"@cleen/ui-core";import{forwardRef as u5,useState as Sg}from"react";import{jsx as Pn,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 Pn("div",{ref:u,className:Lo("cleen",n),style:{...a,width:"100%"},...s,children:Pn("div",{className:Lo("cleen-w-full",l?.container),style:c?.container,children:e.map((f,v)=>Mg("div",{className:Lo("cleen-mb-3",l?.section),style:c?.section,children:[Mg("div",{onClick:()=>b(v,f),className:Lo("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:[Pn("div",{className:"cleen-flex-1 cleen-overflow-hidden cleen-whitespace-nowrap cleen-text-ellipsis",children:f?.title}),f?.items?.length?Pn(St,{className:Lo("cleen-shrink-0 cleen-text-neutral-400 cleen-transition-transform",{"cleen-rotate-180":!y(v)})}):null]}),y(v)&&f?.items&&Pn("div",{className:Lo("cleen-mt-1 cleen-flex cleen-flex-col cleen-w-full",l?.sectionBody),style:c?.sectionBody,children:f?.items?.map((C,x)=>Pn("div",{className:Lo("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 Sn,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 Sn("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&&Sn(te,{required:e,tooltip:s,className:Yl("cleen-mb-1.5",p?.label?.className),classNames:p?.label?.classNames,...g?.label,children:c}),Sn("div",{className:Yl("cleen-rounded-md",a&&"cleen-opacity-50 cleen-pointer-events-none",p?.picker),style:g?.picker,children:l==="hexa"?Sn(g5,{color:x,onChange:P}):Sn(v5,{color:H1(x),onChange:I})}),(h?.errorMessage||h?.infoMessage||h?.subtitle)&&Sn(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 jt,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 Mn,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:jt("cleen",b),style:v,ref:I,...x,children:[Mn("div",{className:jt("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:jt("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:jt("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:[Mn("span",{className:jt("cleen-font-semibold cleen-text-foreground-emphasis cleen-text-xl",f?.title),style:C?.title,children:t}),Mn("span",{className:jt("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",f?.subtitle),style:C?.subtitle,children:r})]}),l||Mn(Te,{onClick:L,className:"cleen-mb-auto cleen-size-5 cleen-cursor-pointer"})]}),Mn("div",{className:jt("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&&Mn("div",{className:jt("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 Do,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 wn=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:Do("cleen",p),style:g,children:W1("div",{className:Do("cleen-w-full",i?.container),style:h?.container,...y,children:[t&&jl("div",{className:Do("cleen-mb-1 cleen-font-semibold cleen-text-xs",i?.title),style:h?.title,children:t}),W1("div",{className:Do("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:Do("cleen-overflow-hidden cleen-flex-1 cleen-h-2 cleen-rounded-full",i?.track),style:{backgroundColor:n,...h?.track},children:jl("div",{className:Do("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:Do("cleen-font-medium cleen-text-sm cleen-whitespace-nowrap cleen-w-10",i?.text),style:{color:l,...h?.text},children:[Math.round(I),"%"]})]})]})})});wn.displayName="ProgressBar";import{cn as eo,FileEntryStatus as To}from"@cleen/ui-core";import{useMemo as Hg}from"react";import{Fragment as Ug,jsx as we,jsxs as No}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===To.UPLOADING,v=h===To.ERROR,C=h===To.DONE,x=h===To.DELETING,I=p?p*y/100:0,P=Hg(()=>{switch(h){case To.UPLOADING:return No(Ug,{children:[we(xo,{className:"cleen-size-4"}),we("span",{children:n?.uploading})]});case To.DONE:return we(ho,{className:"cleen-size-4"});case To.ERROR:return we(uo,{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(vo,{className:"cleen-size-8"}):we(go,{className:"cleen-size-8"}),[B,g,i]);return we(ie,{p:12,className:l?.card?.className,classNames:{...l?.card?.classNames,container:eo(l?.card?.classNames?.container,{"hover:cleen-bg-muted cleen-cursor-pointer cleen-overflow-hidden":C})},...a?.card,onClick:C?M:void 0,children:No("div",{className:eo("cleen-space-y-1",l?.container),style:a?.container,children:[No("div",{className:eo("cleen-flex cleen-justify-between cleen-items-center cleen-gap-2",l?.nameContainer),style:a?.nameContainer,children:[R,No("div",{className:eo("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}),No("span",{className:"cleen-whitespace-nowrap",children:[".",w]})]}),we("div",{className:"cleen-flex-1"}),!f&&(x?we(ne,{color:"rgb(var(--cleen-error))",className:eo("cleen-shrink-0")}):we(Ke,{className:eo("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)}}))]}),No("div",{className:eo("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&&No(Ug,{children:[we("span",{children:"|"}),we("div",{className:eo("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(wn,{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 oa=(a=>(a.PENDING="pending",a.IN_PROGRESS="inProgress",a.DONE="done",a.ERROR="error",a.REMOVING="removing",a))(oa||{});import{cn as Fo}from"@cleen/ui-core";import{jsx as to,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:Fo("cleen-flex cleen-items-center cleen-gap-3",r?.container),style:n?.container,children:[c,$g("div",{className:Fo("cleen-flex-1 cleen-space-y-1 cleen-min-w-0",r?.infoContainer),style:n?.infoContainer,children:[to("p",{className:Fo("cleen-font-medium cleen-text-foreground cleen-text-sm cleen-truncate",r?.name),style:n?.name,children:s}),u&&to(wn,{barColor:"rgb(var(--cleen-primary))",percentage:a,...r?.progressBar,...n?.progressBar})]}),u&&to("span",{className:Fo("cleen-shrink-0 cleen-text-muted-foreground cleen-text-xs",r?.progressText),style:n?.progressText,children:t?.itemProgress?.(a)}),g&&to(ne,{color:"rgb(var(--cleen-error))"}),p&&to(ho,{className:Fo("cleen-size-5 cleen-shrink-0 cleen-text-success",r?.statusIcon),style:n?.statusIcon}),i&&to(uo,{className:Fo("cleen-size-5 cleen-shrink-0 cleen-text-error",r?.statusIcon),style:n?.statusIcon}),h&&to("div",{className:Fo("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)=>to("div",{className:"cleen-size-1 cleen-bg-primary cleen-rounded-full cleen-animate-bounce-medium",style:{animationDelay:`${b*.1}s`}},b))})]})};var na=(l=>(l.NOT_STARTED="notStarted",l.IN_PROGRESS="inProgress",l.COMPLETED="completed",l.ALL="all",l))(na||{}),ra=["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:ra.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 ra.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(po=>T.has(po));return Be.length?V?Be:[...pe,...Be.filter(po=>!pe.includes(po))]: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)},Xo=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:Xo,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(xo,{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 e0={"image/":"image","video/":"video","audio/":"audio"},t0={"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 t0)return t0[t];let r=Object.keys(e0).find(n=>t.startsWith(n));return r?e0[r]:void 0},o0=e=>{let t=e.lastIndexOf(".");return t<0?void 0:e.slice(t+1).toLowerCase()},l3=e=>{let t=o0(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(o0(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 aa,jsxs as n0}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?n0("div",{className:"cleen-flex cleen-flex-1 cleen-justify-end cleen-gap-3",children:[aa(re,{onClick:()=>n(!1),variant:"secondary",...s?.saveFilter?.backBtn,...u?.saveFilter?.backBtn,children:p?.saveStep?.back}),aa(re,{onClick:f,isLoading:y,loaderColor:"rgb(var(--cleen-white))",...s?.saveFilter?.saveBtn,...u?.saveFilter?.saveBtn,children:p?.saveStep?.save})]}):n0(g3,{children:[i&&aa(re,{onClick:()=>{r(rc),n(!0)},variant:"borderless-blue",...s?.saveBtn,...u?.saveBtn,children:p?.save}),n0("div",{className:u3("cleen-flex cleen-items-center cleen-gap-3",{"cleen-flex-1 cleen-justify-end":!i}),children:[aa(re,{onClick:()=>{g?.(),l()},variant:"secondary",...s?.cancelBtn,...u?.cancelBtn,children:p?.cancel}),aa(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 Eo,jsxs as r0}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:r0(vv,{children:[e?.icon,Eo("span",{className:ac("cleen-flex-1",t?.label),style:r?.label,children:e?.label})]}),...e?.type==="button"?{type:"button"}:{to:e?.to}}),a0=({item:e,isLast:t,handleClick:r,onEnterSubmenu:n,classNames:l,styles:a})=>{switch(e?.type){case"group":return r0(vv,{children:[e?.label&&Eo("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)=>Eo(a0,{item:c,handleClick:r,onEnterSubmenu:n,isLast:s===u.length-1},c?.id||s)),!t&&Eo("hr",{className:ac("cleen-text-neutral-200",l?.groupDivider),style:a?.groupDivider})]});case"button":{let c=e?.submenu&&e?.submenu?.length>0;return r0("button",{type:"button",onClick:()=>{c?n?.(e.submenu,e?.label):r?.(e)},...gv({item:e,classNames:l,styles:a}),children:[e?.icon,Eo("span",{className:"cleen-flex-1",children:e?.label}),c&&Eo(ot,{className:"cleen-size-4 cleen-text-neutral-400"})]})}case"link":return Eo(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(a0,{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 l0,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 kn=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:l0("cleen",p),style:g,ref:b,...y,children:[lc("div",{ref:P,onClick:w,className:l0("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:l0("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 p0}from"@cleen/ui-core";import{useMemo as B3}from"react";var c0=["blue","lighter-blue","primary","indigo","green","red","purple","pink","orange","gray","yellow"],s0={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 i0=(e,t)=>!e&&!t?"primary":t?c0[t%c0.length]:e;import{jsx as d0,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 s0?(P.variantClass=s0[i0(a,y)],P.dotVariantClass=Sv[i0(a,y)]):(P.variantStyle={borderColor:p0.trasparentize(a,.8),backgroundColor:p0.trasparentize(a,.95),color:a},P.dotVariantStyle={backgroundColor:p0.trasparentize(a,.5)}),P},[a,y]);return d0("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&&d0("span",{className:cc("cleen-size-2 cleen-rounded-[50%]",C,t?.dot),style:{...x,...n?.dot}}),u,l??b,p&&d0(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(xr,{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(kn,{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 oo}from"@cleen/ui-core";import{forwardRef as F3,useMemo as Rv,useState as E3}from"react";import{cn as m0}from"@cleen/ui-core";var la={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:m0("cleen-gap-2 cleen-border-border",!t&&"cleen-border-b"),tab:m0("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:m0("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 u0=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:oo("cleen",c),style:u,ref:g,...i,children:Lv("div",{className:oo(la[n].container,s?.container),style:p?.container,children:[sc("nav",{className:oo(x[r].list,la[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:oo("cleen-flex cleen-items-center cleen-gap-2 cleen-whitespace-nowrap",!B&&"cleen-cursor-pointer",x[r].tab,la[n].tab,s?.tab,B?oo(x[r].tabDisabled,s?.tabDisabled):M?oo(x[r].tabActive,s?.tabActive):oo(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:oo("h-full",la[n].content,s?.content),style:p?.content,children:v?.content})]})})});import{useContext as A3,useState as z3}from"react";import{jsx as Ao,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 Ao(jr,{isOpen:p,onOpenChange:i,leftIcon:Ao(ir,{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:[Ao(u0,{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"}}),Ao("div",{className:"flex flex-col",children:r?Ao(ne,{classNames:{loader:"cleen-size-6"}}):(t?.length||0)>0?t?.map(g=>Ao(kv,{filter:g,activeTabId:l},g.filterID)):Ao("p",{className:"cleen-font-normal cleen-text-neutral-600 cleen-text-base cleen-text-center",children:c?.savedFilters?.noFilters})})]})})};import{cn as ca}from"@cleen/ui-core";import{forwardRef as H3,useEffect as U3,useId as G3,useState as V3}from"react";import{jsx as zo,jsxs as h0}from"react/jsx-runtime";var f0=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 zo("div",{className:ca("cleen",y),style:b,children:h0("div",{className:ca("cleen-flex cleen-flex-col",h?.container),style:f?.container,children:[s&&zo(te,{id:w,htmlFor:t||r,required:n,tooltip:p,className:ca("cleen-mb-1.5",h?.title?.className),classNames:h?.title?.classNames,...f?.title,children:s}),h0("div",{className:"cleen-flex cleen-items-center cleen-gap-2 cleen-w-full",children:[zo("button",{id:t||r,type:"button",role:"switch","aria-checked":B,"aria-labelledby":E,disabled:g,onClick:N,className:ca("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:zo("span",{"aria-hidden":"true",className:ca("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)&&h0("div",{className:"cleen-flex cleen-flex-col cleen-text-sm",children:[u&&zo("span",{id:R,className:"cleen-font-semibold cleen-text-foreground",children:u}),i&&zo("span",{className:"cleen-font-normal cleen-text-neutral-600",children:i})]})]}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&zo(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(f0,{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 g0}from"react";import{jsx as K3}from"react/jsx-runtime";var Ev=({children:e,value:t})=>{let[r,n]=g0(!1),[l,a]=g0(rc),{errors:c,setError:s,clearError:u}=X3({}),[p,i]=g0(!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 no,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 no(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:no(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 no(V1,{footer:no(fv,{}),headerCloseBtn:no(re,{onClick:()=>{y?.(),f?.(void 0)},leftIcon:no(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?no(Nv,{}):eM(j3,{children:[h&&no(Dv,{filters:s,selectedSavedFilter:c,onFilterCategoryChange:b,isFiltersFetching:u}),t]})})});import{cn as Bn}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:Bn("cleen",c),style:{...u,width:"100%"},...i,children:Ov("div",{className:Bn("cleen-flex cleen-w-full cleen-items-start cleen-justify-start cleen-gap-8",s?.container),style:p?.container,children:[Ov("div",{className:Bn("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:Bn("cleen-truncate",s?.title?.classNames?.label)},...p?.title,children:e}),r&&ic("div",{className:Bn("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:Bn("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 v0,useRef as I0,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=I0(void 0),[J,se]=lt(""),[he]=oM(J,500),[et,Xo]=lt(""),Ve=I0(null),We=I0(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=v0(()=>r??[],[r]),pe=v0(()=>{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]),po=v0(()=>{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(kn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:l?.map(ve=>{let On=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:()=>{On||ve?.onClick(q)},disabled:On}}),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(tn,{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(Xt,{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(Xt,{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=>Xo(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(Qn,{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"})}):po?.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(kn,{position:"bottom-right",keepOpenOnClick:!1,ignoreClickOutside:!0,items:a?.map(ve=>{let On=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:()=>{On||ve?.onClick(q)},disabled:On}}),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(tn,{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(Xt,{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(Xt,{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 b0,useState as dc}from"react";import{createPortal as gM}from"react-dom";import{cn as Oo}from"@cleen/ui-core";import{jsx as ro,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})=>ro("div",{...p,children:ro("div",{className:Oo("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:Oo("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:Oo("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&&ro(Ee,{color:"gray",label:i?.leadingBadgeValue}),i?.icon,i?.label&&ro("span",{className:Oo("cleen-font-medium cleen-text-foreground cleen-text-base",!a&&"cleen-w-full cleen-truncate"),children:i?.label}),i?.preSublabel&&ro("span",{className:Oo("cleen-font-medium cleen-text-neutral-400 cleen-text-xs",!a&&"cleen-w-full cleen-truncate"),children:i?.preSublabel}),i?.sublabel&&ro("span",{className:Oo("cleen-font-medium cleen-text-neutral-600 cleen-text-sm",!a&&"cleen-w-full cleen-truncate"),children:i?.sublabel})]}),h&&ro("div",{className:r?.checkContainer,style:n?.checkContainer,children:ro(xt,{className:Oo("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=b0(null),U=b0(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=b0(ye),Ge=Array.isArray(s),[J,se]=dc([]),he=Ge?s:J,et=["inside","inside-badge"].includes(u),Xo=(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 po=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);Xo(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:Xo,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:po,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 _o,useBodyScrollLock as PM,useCleenOverlays as qv,ZIndex as SM}from"@cleen/ui-core";import{forwardRef as MM,useCallback as wM,useEffect as y0,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 y0(()=>{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]),y0(()=>{if(t)return E(R),()=>N(R)},[E,N,t,R]),y0(()=>{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:_o("cleen",y),style:f,ref:I,...x,children:[sa("div",{className:_o("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:_o("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:_o("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:_o("cleen-min-h-48 cleen-max-h-[90vh] cleen-overflow-y-auto",b?.modal?.classNames?.container),childrenContainer:_o("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:_o("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 C0={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={...C0.default,...n!=="default"&&C0[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 x0,jsxs as qM}from"react/jsx-runtime";var P0=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 x0("div",{className:"cleen",...a,children:qM("div",{className:oI("cleen-flex cleen-items-center cleen-gap-2",n?.container),style:l?.container,children:[x0("span",{className:oI("cleen-text-sm cleen-text-neutral-700 cleen-whitespace-nowrap",n?.label),style:l?.label,children:t?.goToPage}),x0(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 Rn,jsxs as JM}from"react/jsx-runtime";var YM=[10,20,50,100],S0=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}),Rn("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:[Rn(Ie,{label:r?.itemsPerPage?.(u),classNames:{labelContainer:"cleen-min-w-max"},children:Rn("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(Rn("div",{className:"cleen",children:Rn("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=>Rn("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 ao}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:ao("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:ao("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:ao("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:ao("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:ao("cleen-flex cleen-justify-between cleen-gap-4",p?.container),style:i?.container,children:[a?ze(S0,{pageSize:r,labels:u,onPageSizeChange:s,pageSizes:n,className:ao("cleen-flex-1",p?.pageSizeSelector?.className),classNames:p?.pageSizeSelector?.classNames,...i?.pageSizeSelector}):ze("div",{className:"cleen-flex-1"}),ze("div",{className:ao("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(P0,{ref:y,totalPages:t,onGoToPage:c,labels:u,className:ao("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 M0,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 w0,jsxs as pw}from"react/jsx-runtime";var k0=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:M0("cleen",u),style:i,ref:y,...h,children:[w0("div",{ref:C,onClick:M,className:M0("cleen-size-fit",p?.trigger,b&&p?.triggerOpen),style:{...g?.trigger,...b?g?.triggerOpen:{}},children:s}),b&&iw(w0("div",{className:"cleen",onClick:B=>B.stopPropagation(),onPointerDown:B=>B.stopPropagation(),onMouseDown:B=>B.stopPropagation(),onTouchStart:B=>B.stopPropagation(),children:w0("div",{ref:x,className:M0("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 Tt,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?Tt(_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)=>Tt("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)=>Tt("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&&Tt(_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 Tt("div",{className:Ye("cleen",p),style:g,...y,children:e?Tt("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)})}):Tt("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:[Tt("div",{className:Ye("cleen-flex cleen-items-center cleen-gap-2 cleen-justify-start",i?.leftIconContainer),style:h?.leftIconContainer,children:v(P,M)}),Tt("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 Nt}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:Nt("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:Nt("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:Nt("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:Nt("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:Nt(c?.radioOuterCheckBox,S?.classNames?.outerCheckBox),style:{...u?.radioOuterCheckBox,...S?.styles?.outerCheckBox}}),Ic("label",{htmlFor:T,className:Nt("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:Nt("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:Nt("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:Nt("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 Ln,ColorHelpers as ww}from"@cleen/ui-core";import{forwardRef as kw,useRef as Bw,useState as Rw}from"react";import{jsx as Ho,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 Ho("div",{className:Ln("cleen",f),style:v,ref:P,...I,children:uI("div",{className:Ln("cleen-space-y-2",C?.container),style:x?.container,children:[n&&Ho(te,{htmlFor:t,required:r,tooltip:l,className:Ln("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:[Ho("div",{role:"radiogroup","aria-label":_,className:Ln("cleen-flex cleen-flex-wrap cleen-gap-3",C?.list),style:{...g?{gap:g}:{},...x?.list},children:R?.map((T,A)=>Ho("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:Ln("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:Ho("span",{className:Ln("cleen-font-medium cleen-text-sm",C?.value),style:x?.value,children:T})},T))}),a?.helperText&&Ho("span",{className:"cleen-text-sm cleen-text-neutral-600",children:a.helperText})]}),(c?.errorMessage||c?.infoMessage||c?.subtitle)&&Ho(j,{...c})]})})});import{useState as Dw}from"react";import{components as Tw}from"react-select";import{jsx as B0,jsxs as hI}from"react/jsx-runtime";var fI=e=>{let[t,r]=Dw(!1),n=e.data;return B0("div",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:B0(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&&B0("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 R0,jsxs as Fw}from"react/jsx-runtime";var gI=e=>{let t=e.data;return R0(Nw.SingleValue,{...e,children:Fw("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:[R0("p",{children:t?.label}),t?.sublabel&&R0("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 L0,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 L0("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:[L0(rt,{}),L0("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 lo,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 lo("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&&lo(te,{htmlFor:E,required:c,tooltip:r,...u?.labels?.label,...f?.labels?.label,children:t}),n&&lo("span",{className:ma("cleen-font-normal cleen-text-neutral-600 cleen-text-sm",u?.labels?.sublabel),style:f?.labels?.sublabel,children:n})]}),lo(_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=>lo(gI,{...F}),NoOptionsMessage:F=>lo(yI,{isLoading:p,noDataFound:h?.noDataFound,...F}),MenuList:F=>lo(II,{isLoading:p,inputValue:k,createNewOptionCallback:C,createNewOptionLabelStringCb:x,...F}),Option:fI,...y}}),(v?.errorMessage||v?.infoMessage||v?.subtitle)&&lo(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 Ft}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:Ft("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:Ft("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:Ft("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:Ft("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:Ft("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:Ft("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:Ft("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:Ft("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:Ft("cleen",h),style:b,ref:v,children:Je(kI,{item:C,depth:0,iconSize:a,classNames:y,styles:f})})}),qw=$w;import{cn as Et}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 At,jsxs as Uo}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 Uo("div",{className:Et("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:[Uo("div",{className:Et("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&&At("div",{className:Et("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}),Uo("div",{className:Et("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:[At("nav",{className:Et("cleen-flex cleen-flex-col cleen-gap-2",v?.upperNavigationItemsWrapper),style:x?.upperNavigationItemsWrapper,children:e.map(N=>Uo("div",{children:[I?I(N,k===N.id,R):At(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&At("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id))}),Uo("div",{className:Et("cleen-flex cleen-flex-col cleen-items-center cleen-gap-2",v?.bottomNavigationItemsWrapper),style:x?.bottomNavigationItemsWrapper,children:[t.map(N=>Uo("div",{children:[I?I(N,k===N.id,R):At(fa,{item:N,activeId:k,onClick:R,countBadge:N.badgeCount,classNames:{...v?.navigationItem,...N?.classNames},styles:{...x?.navigationItem,...N?.styles}}),N?.withBottomDivider&&At("div",{className:"cleen-bg-neutral-200 cleen-mt-2 cleen-w-12 cleen-h-[1px]"})]},N.id)),a&&At("div",{className:"cleen-mt-6 cleen-mb-8",children:a})]})]})]}),Uo("div",{className:Et("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]&&At("div",{className:Et("cleen-flex-1 cleen-overflow-auto",v?.drawerContent),style:x?.drawerContent,children:r[k]}),k&&(s||c)&&At("div",{className:Et("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 D0}from"@cleen/ui-core";import{forwardRef as nk}from"react";import{jsx as yc,jsxs as rk}from"react/jsx-runtime";var T0=nk(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Y(n);return yc("div",{ref:a,className:D0("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:D0("cleen-bg-muted cleen-rounded-full cleen-size-12 cleen-border cleen-border-border",c)}),yc("div",{className:D0("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 N0}from"react/jsx-runtime";var F0=ak(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Y(n);return N0("div",{ref:a,className:DI("cleen",t),style:r,children:N0("div",{className:"cleen-flex cleen-items-center cleen-flex-wrap cleen-gap-2",children:Array.from({length:l}).map((s,u)=>N0("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 Go,jsxs as Cc}from"react/jsx-runtime";var E0=lk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return Go("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:[Go("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:[Go("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:[Go("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-2/3 cleen-h-8"}),Go("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-1/2 cleen-h-5"})]}),Cc("div",{className:"cleen-flex cleen-gap-3",children:[Go("div",{className:"cleen-bg-neutral-200 cleen-rounded-lg cleen-w-28 cleen-h-10"}),Go("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 A0}from"react/jsx-runtime";var z0=ck(function({className:t,style:r,variant:n="default",itemCount:l=1},a){let c=Y(n);return A0("div",{ref:a,className:NI("cleen",t),style:r,children:A0("div",{className:"cleen-flex cleen-items-center cleen-gap-2",children:Array.from({length:l}).map((s,u)=>A0("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 Dn}from"@cleen/ui-core";import{forwardRef as ik}from"react";import{jsx as Tn,jsxs as Sc}from"react/jsx-runtime";var Mc=ik(({className:e,style:t,variant:r="default"},n)=>{let l=Y(r);return Tn("div",{ref:n,className:Dn("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:[Tn("div",{className:Dn("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:[Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-1/2 cleen-h-5",l)}),Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-4",l)})]})]}),Sc("div",{className:"cleen-space-y-2 cleen-w-full",children:[Tn("div",{className:Dn("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-2",l)}),Tn("div",{className:Dn("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 Nn}from"react/jsx-runtime";var O0=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:Nn("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)}),Nn("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-px-4 cleen-py-4",children:[Nn("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)})]}),Nn("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)})]}),Nn("div",{className:"cleen-flex cleen-justify-between cleen-items-center cleen-pt-1",children:[Nn("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 _0}from"react/jsx-runtime";var H0=dk(function({className:t,style:r,itemCount:n=3,variant:l="default"},a){return _0("div",{ref:a,className:mk("cleen",t),style:r,children:_0("div",{className:"cleen-flex cleen-flex-col cleen-gap-3",children:Array.from({length:n}).map((c,s)=>_0(ga,{variant:l},s))})})});import{cn as Vo}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"],U0=uk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return je("div",{ref:l,className:Vo("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:Vo("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:Vo("cleen-bg-muted cleen-rounded-full cleen-size-2.5",a)}),je("div",{className:Vo("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:Vo("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:Vo("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:Vo("cleen-bg-muted cleen-rounded cleen-flex-1 cleen-h-2",a)},s))})]})]})]})})});import{cn as Wo}from"@cleen/ui-core";import{forwardRef as hk}from"react";import{jsx as zt,jsxs as wc}from"react/jsx-runtime";var G0=hk(({variant:e="default",itemCount:t=3,className:r,style:n},l)=>{let a=Y(e);return zt("div",{ref:l,className:Wo("cleen",r),style:n,children:zt(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:[zt("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-3/4 cleen-h-6",a)}),zt("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)})]}),zt("div",{className:"cleen-space-y-6",children:Array.from({length:t}).map((c,s)=>wc("div",{className:"cleen-space-y-3",children:[zt("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-2/3 cleen-h-4",a)}),zt("div",{className:Wo("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:[zt("div",{className:Wo("cleen-bg-muted cleen-rounded cleen-w-24 cleen-h-10",a)}),zt("div",{className:Wo("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 V0=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 W0=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 $0}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))"],q0=Ik(function({className:t,style:r,variant:n="default",colors:l=bk},a){let c=Y(n);return $0("div",{ref:a,className:zI("cleen",t),style:r,children:$0("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:$0("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 Fn,jsxs as OI}from"react/jsx-runtime";var X0=yk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return Fn("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:[Fn("div",{className:Rc("cleen-relative cleen-bg-muted cleen-rounded-xl cleen-w-full cleen-aspect-video cleen-overflow-hidden",a),children:Fn("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:[Fn("div",{className:"cleen-bg-neutral-200 cleen-rounded-full cleen-size-8"}),Fn("div",{className:"cleen-bg-neutral-200 cleen-rounded cleen-w-16 cleen-h-2"})]})})}),Fn("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 Ot}from"react/jsx-runtime";var K0=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:Ot("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:[Ot("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)})]}),Ot("div",{className:"cleen-space-y-3 cleen-w-full",children:[Ot("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:Ot("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)})]})})]}),Ot("div",{children:[Oe("div",{className:Ue("cleen-bg-muted cleen-mb-1 cleen-rounded cleen-w-20 cleen-h-3",a)}),Ot("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)})]})]}),Ot("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:Ot("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 Z0}from"@cleen/ui-core";import{forwardRef as xk}from"react";import{jsx as Q0,jsxs as Pk}from"react/jsx-runtime";var Y0=xk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return Q0("div",{ref:l,className:Z0("cleen",t),style:r,children:Pk("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:[Q0("div",{className:Z0("cleen-bg-muted cleen-rounded cleen-w-1/4 cleen-h-3",a)}),Q0("div",{className:Z0("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 En,jsxs as _I}from"react/jsx-runtime";var J0=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 En("div",{ref:a,className:ya("cleen",t),style:r,children:En("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:[En("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:[En("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-4",s[p%s.length],c)}),En("div",{className:ya("cleen-bg-muted cleen-rounded cleen-h-3 cleen-w-2/5",c)})]}),En("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 eh}from"react/jsx-runtime";var j0=["cleen-w-full","cleen-w-full","cleen-w-11/12","cleen-w-full","cleen-w-4/5"],th=Mk(function({className:t,style:r,variant:n="default",itemCount:l},a){let c=Y(n),s=l??j0.length;return eh("div",{ref:a,className:HI("cleen",t),style:r,children:eh("div",{className:"cleen-flex cleen-flex-col cleen-gap-2 cleen-w-full",children:Array.from({length:s}).map((u,p)=>{let i=p<j0.length?j0[p]:p===s-1?"cleen-w-3/5":"cleen-w-full";return eh("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 oh=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 $o}from"@cleen/ui-core";import{forwardRef as kk}from"react";import{jsx as ft,jsxs as Lc}from"react/jsx-runtime";var nh=kk(function({className:t,style:r,variant:n="default"},l){let a=Y(n);return ft("div",{ref:l,className:$o("cleen",t),style:r,children:Lc("div",{className:"cleen-flex cleen-flex-col cleen-gap-3 cleen-w-full",children:[ft("div",{className:$o("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:$o("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:$o("cleen-bg-muted cleen-rounded cleen-w-full cleen-h-4",a)}),ft("div",{className:$o("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:$o("cleen-bg-muted cleen-rounded cleen-w-14 cleen-h-3",a)}),ft("div",{className:$o("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 rh}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:rh("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:[rh("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)})]}),rh("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(O0,{...i});case"cardStack":return ue(H0,{...i});case"contentCard":return ue(G0,{...i});case"infoCard":return ue(K0,{...i});case"widgetCard":return ue(Dc,{...i});case"image":return ue(X0,{...i});case"video":return ue(nh,{...i});case"avatar":return ue(T0,{...i});case"dataGrid":return ue(V0,{...i});case"text":return ue(oh,{...i});case"paragraph":return ue(th,{...i});case"list":return ue(J0,{...i});case"form":return ue(W0,{...i});case"banner":return ue(E0,{...i});case"chart":return ue(U0,{...i});case"button":return ue(z0,{...i});case"badge":return ue(F0,{...i});case"input":return ue(Y0,{...i});case"glowingCard":return ue(q0,{...i});default:return ue(ga,{...i})}});import{cn as co}from"@cleen/ui-core";import{forwardRef as Dk,useCallback as ah,useEffect as Tk,useRef as VI,useState as WI}from"react";import{jsx as so,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=ah(W=>{let U=Math.round((W-n)/a)*a+n;return Math.min(l,Math.max(n,U))},[n,l,a]),_=ah((W,U)=>{let V=S(W);s===void 0&&k(V),p?.(V),U&&i?.(V)},[S,s,p,i]),T=ah(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=>so("span",{className:"cleen-font-medium cleen-text-xs cleen-text-foreground",children:W});return so("div",{className:co("cleen",g),style:y,ref:M,children:Tc("div",{className:co("cleen-w-full",h?.container),style:b?.container,children:[v&&so(te,{htmlFor:t,required:r,tooltip:C,...h?.label,...b?.label,children:v}),Tc("div",{className:co({"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:co("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:[so("div",{className:co("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:so("div",{className:co("cleen-absolute cleen-left-0 cleen-top-0 cleen-h-full cleen-bg-primary cleen-rounded-sm",h?.filledTrack),style:{width:`${D}%`,...b?.filledTrack}})}),so(Ie,{invertColors:!0,...I,label:x?.tooltip?.(w)??w,className:co("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:so("div",{id:t,className:co("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)&&so(j,{...P})]})})});import{cn as gt}from"@cleen/ui-core";import{forwardRef as Fk,useCallback as lh,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=lh(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=lh(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=lh(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 An}from"@cleen/ui-core";import{forwardRef as Ok,useRef as _k,useState as qI}from"react";import{jsx as qo,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 qo("div",{className:An("cleen",i),style:g,ref:f,...b,children:Uk("div",{className:An("cleen-space-y-2",h?.container),style:y?.container,children:[t&&qo("span",{className:An("cleen-font-medium cleen-text-sm cleen-text-foreground",h?.label),style:y?.label,children:t}),qo("div",{role:k?"radiogroup":"img","aria-label":k?F:`${F}: ${I} out of ${a}`,className:An("cleen-flex cleen-gap-3",h?.list),style:{...c?{gap:c}:{},...y?.list},children:Array.from({length:a},(D,S)=>{let _=qo(Lr,{"aria-hidden":"true",className:An("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?qo("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:An("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):qo("span",{className:"cleen-cursor-default",children:_},S)})}),(r?.errorMessage||r?.infoMessage||r?.subtitle)&&qo(j,{...r})]})})});import{cn as _t}from"@cleen/ui-core";import{forwardRef as Gk}from"react";import{jsx as io,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 io("div",{ref:p,className:_t("cleen",l),style:{...c,width:"100%"},...u,children:io("div",{className:_t("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:_t("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&&io("div",{className:_t("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}}),io("div",{className:_t("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?io("span",{className:"cleen-text-white cleen-text-sm",children:"\u2713"}):io("span",{className:_t("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:_t("cleen-flex cleen-flex-col",i?"cleen-ml-3":"cleen-mt-3 cleen-items-center"),children:[g.title&&io("div",{className:_t("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&&io("div",{className:_t("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 zn}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]=zn(n??[]),k=r??M,[w,R]=zn(!1),E=p??w,[N,L]=zn(k),[F,D]=zn(""),[S,_]=zn([]),[T,A]=zn(!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(Pr,{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(ea,{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(k0,{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(Tr,{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(Zn,{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,ea 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,jr 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,uo 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,Kn as IconCalendar,js as IconCertificate,xt as IconCheck,ho as IconCheckCircle,ei as IconCheckCircleBroken,ti as IconCheckFill,oi as IconCheckVerified,ni as IconCheckVerifiedFill,Zn 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,Qn 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,tn 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,go as IconFile,fp as IconFileCheck,or as IconFileCsv,gp as IconFileDownload,nr as IconFileJson,vp as IconFileList,Xe as IconFileMusic,vo as IconFilePdf,ar as IconFileSpreadsheet,wt as IconFileText,yp as IconFileUpload,cr as IconFileXls,sr as IconFileXlsx,ct as IconFileZip,bp as IconFiles,Cp as IconFilter,ir 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,dr 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,Ir 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,Ar as IconName,tm as IconNavigationPointer,om as IconNotificationBox,im as IconPCSetup,nm as IconPackage,rm as IconPalette,am as IconPasscodeLock,Io as IconPause,cm as IconPauseCircle,dm as IconPen,mm as IconPercentageCircle,um as IconPerspective,fm as IconPhoneCall,xr as IconPin,bo as IconPlay,vm as IconPlayCircle,Pr as IconPlus,Xt as IconPlusCircle,ym as IconPrinter,Cm as IconPulse,Sr 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,Mr 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,Lr as IconStar,Su as IconStarFill,Mu as IconStarHalf,wu as IconStars,Dr as IconStop,ku as IconStrikethrough,Bu as IconSun,Ru as IconSwap,Lu as IconSwitchHorizontal,Tu as IconTable,Tr 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,xo as IconUploadCloud,Fr 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,kn as Menu,DM as Modal,ow as Pagination,P0 as PaginationGoToPage,S0 as PaginationPageSize,Ee as PillBadge,k0 as Popover,wn 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,T0 as SkeletonAvatar,F0 as SkeletonBadge,E0 as SkeletonBanner,z0 as SkeletonButton,ga as SkeletonCard,Mc as SkeletonCard2,O0 as SkeletonCard3,H0 as SkeletonCardStack,U0 as SkeletonChart,G0 as SkeletonContentCard,V0 as SkeletonDataGrid,W0 as SkeletonForm,q0 as SkeletonGlowingCard,X0 as SkeletonImage,K0 as SkeletonInfoCard,Y0 as SkeletonInput,J0 as SkeletonList,th as SkeletonParagraph,oh as SkeletonText,nh 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,f0 as Switch,ra as TRACKER_STATUS_FILTER_ORDER,u0 as Tabs,$k as TagFilter,w1 as TextArea,Ie as Tooltip,oa as TrackerItemStatus,na as TrackerStatusFilter,x1 as getFileIcon,H1 as parseRgbaString,HM as showNotification};
|