@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
2 lines • 86 kB
JavaScript
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...t):typeof t=="object"?Object.keys(t).map((o,s)=>t[s]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(e,t)=>n({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.fillMode}-${t.themeColor}`]:t.fillMode&&t.themeColor},{[`${e}-${t.themeColor}`]:t.themeColor&&t.fillMode===void 0},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full"}),g=(e,t)=>{let{valid:o,invalid:s,hover:r,focus:p,checked:l,active:c,selected:u,disabled:N,indeterminate:h,loading:S,empty:d,readonly:M,highlighted:L,...E}=t;return n({"k-valid":o,"k-invalid":s,"k-hover":r,"k-focus":p,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":S,"k-empty":d,"k-readonly":M,"k-highlighted":L},Object.keys(E).reduce((C,A)=>(A.startsWith("k-")?C[A]=E[A]:C[`k-${A}`]=E[A],C),{}))};function yo(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var i={xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},x={small:"small",medium:"medium",large:"large",full:"full"},b={solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},m={inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var pn="textarea",ts=pn;var Zt="input",Io=Zt;import{jsx as Pi}from"react/jsx-runtime";var Bo="k-input",Ki=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ri={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},_o={size:i.medium,rounded:i.medium,fillMode:b.solid},y=e=>{let{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c,size:u=_o.size,rounded:N=_o.rounded,fillMode:h=_o.fillMode,...S}=e;return Pi("span",{...S,className:n(e.className,Bo,k(Bo,{size:u,rounded:N,fillMode:h}),g(Bo,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c}))})};y.states=Ki;y.options=Ri;y.className=Bo;y.defaultOptions=_o;y.moduleName=Zt;y.folderName=Io;import{jsx as Hi}from"react/jsx-runtime";var Ko="k-picker",Di=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],wi={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Ro={size:i.medium,rounded:x.medium,fillMode:b.solid},V=e=>{let{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c,size:u=Ro.size,rounded:N=Ro.rounded,fillMode:h=Ro.fillMode,...S}=e;return Hi("span",{...S,className:n(e.className,Ko,k(Ko,{size:u,rounded:N,fillMode:h}),g(Ko,{hover:t,focus:o,disabled:s,invalid:r,valid:p,loading:l,readonly:c})),children:e.children})};V.states=Di;V.options=wi;V.className=Ko;V.defaultOptions=Ro;V.moduleName=Zt;V.folderName=Io;import{Fragment as Fi,jsx as os}from"react/jsx-runtime";var mn="k-font-icon",zi=[],Ui={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},Gi={},Yt=e=>{let{size:t,themeColor:o,icon:s,rotate:r,flip:p,...l}=e;return s?os("span",{...l,className:n(e.className,mn,k(mn,{size:t}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${r}`]:r,"k-flip-h":p==="h"||p==="both","k-flip-v":p==="v"||p==="both"})}):os(Fi,{})};Yt.states=zi;Yt.options=Ui;Yt.className=mn;Yt.defaultOptions=Gi;var ns=Yt;import{Fragment as Vi,jsx as Po}from"react/jsx-runtime";var cn="k-svg-icon",$i=[],Xi={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},as={viewBox:"0 0 24 24"},Qt=e=>{let{size:t,themeColor:o,rotate:s,flip:r,viewBox:p=as.viewBox,icon:l,...c}=e;if(!l)return Po(Vi,{});l==="none"&&{...c,className:n(e.className,cn,"k-none")};let u=typeof l=="object"&&l.name&&l.name;return Po("span",{...c,className:n(e.className,cn,k("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":r==="h"||r==="both","k-flip-v":r==="v"||r==="both"}),children:Po("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:p,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};Qt.states=$i;Qt.options=Xi;Qt.className=cn;Qt.defaultOptions=as;var dn=Qt;import*as un from"@progress/kendo-svg-icons";var ss="icon",rs="icons";import{Fragment as is,jsx as jt}from"react/jsx-runtime";var Do="k-icon",Ji=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Wi=[],qi={size:[i.xsmall,i.small,i.medium,i.large,i.xlarge,i.xxlarge,i.xxxlarge],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark]},fn={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{size:t,themeColor:o,icon:s,type:r=fn.type,rotate:p,flip:l,viewBox:c=fn.viewBox,...u}=e;if(!s)return jt(is,{});if(r==="svg"){if(s==="none")return jt(dn,{...u,className:n(e.className,Do),icon:s,size:t});let N=un[s]?s:Ji(`${s}-icon`);return un[N]?jt(dn,{...u,className:n(e.className,Do),icon:un[N],size:t,themeColor:o,rotate:p,flip:l,viewBox:c}):jt(is,{})}return jt(ns,{...u,className:n(e.className,Do),icon:s,size:t,themeColor:o,rotate:p,flip:l})};v.states=Wi;v.options=qi;v.defaultOptions=fn;v.className=Do;v.moduleName=ss;v.folderName=rs;import{Fragment as Qi,jsx as bn}from"react/jsx-runtime";var ls="k-clear-value",Zi=[a.disabled,a.loading,a.readonly],Yi={},me=e=>{let{disabled:t,loading:o,readonly:s,value:r}=e;return t||s||o||!r?bn(Qi,{}):bn("span",{className:n(e.className,ls),children:bn(v,{icon:"x"})})};me.states=Zi;me.options=Yi;me.className=ls;import{jsx as tl}from"react/jsx-runtime";var Nn="k-input-inner",ji=[],el={},wo={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=wo.value,type:o=wo.type,placeholder:s=wo.placeholder,autocomplete:r=wo.autocomplete,...p}=e;return tl("input",{...p,type:o,className:n(e.className,Nn,k(Nn,e)),placeholder:s,autoComplete:r,defaultValue:t})};ce.states=ji;ce.options=el;ce.className=Nn;import{jsx as ps,jsxs as al}from"react/jsx-runtime";var xn="k-input-inner",ol=[],nl={},at=e=>{let{value:t,placeholder:o,showValue:s,valueIcon:r,valueIconName:p,...l}=e;return al("span",{...l,className:n(e.className,xn,k(xn,e)),children:[r,!r&&p&&ps(v,{className:"k-input-value-icon",icon:p}),s&&!t&&o,s&&t&&ps("span",{className:"k-input-value-text",children:t})]})};at.states=ol;at.options=nl;at.className=xn;import{jsx as il}from"react/jsx-runtime";var hn="k-input-inner",sl=[],rl={},ms={value:"",placeholder:""},eo=e=>{let{value:t=ms.value,placeholder:o=ms.placeholder,rows:s,...r}=e;return il("textarea",{...r,className:n(e.className,hn,k(hn,e)),placeholder:o,rows:s,defaultValue:t})};eo.states=sl;eo.options=rl;eo.className=hn;import{Fragment as pl,jsx as cs}from"react/jsx-runtime";var ds="k-input-loading-icon",ll=[a.disabled,a.loading],Q=e=>{let{disabled:t,loading:o}=e;return t||!o?cs(pl,{}):cs("span",{className:n(e.className,ds,"k-icon k-i-loading")})};Q.states=ll;Q.className=ds;import{Fragment as dl,jsx as us}from"react/jsx-runtime";var fs="k-input-validation-icon",ml=[a.valid,a.invalid,a.disabled,a.loading],cl={},J=e=>{let{valid:t,invalid:o,disabled:s,loading:r}=e,p=o?"warning-circle":"check-circle";return s||r||!!!(t||o)?us(dl,{}):us(v,{className:n(fs),icon:p})};J.states=ml;J.options=cl;J.className=fs;import{Fragment as bl,jsx as bs}from"react/jsx-runtime";var ul="k-input-prefix",fl={direction:"horizontal"},j=e=>{let{direction:t=fl.direction,...o}=e;return e.children?bs("span",{...o,className:n(ul,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):bs(bl,{})};import{Fragment as hl,jsx as Ns}from"react/jsx-runtime";var Nl="k-input-suffix",xl={direction:"horizontal"},ee=e=>{let{direction:t=xl.direction,...o}=e;return e.children?Ns("span",{...o,className:n(Nl,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ns(hl,{})};import{jsx as Au}from"react/jsx-runtime";import{jsx as yu}from"react/jsx-runtime";import{jsx as Ml}from"react/jsx-runtime";var xs="k-input-separator",Ll={direction:"vertical"},te=e=>{let{direction:t=Ll.direction,...o}=e;return Ml("span",{...o,className:n(xs,e.className,{[`${xs}-${t}`]:t})})};import{Fragment as hs,jsx as to,jsxs as Ln}from"react/jsx-runtime";var Ls="k-textarea",vl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Sl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Te={size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},ze=e=>{let{size:t=Te.size,rounded:o=Te.rounded,fillMode:s=Te.fillMode,prefixSeparator:r=Te.prefixSeparator,suffixSeparator:p=Te.prefixSeparator,affixesOrientation:l=Te.affixesOrientation,flow:c=Te.flow,resize:u=Te.resize,prefix:N,suffix:h,rows:S,value:d,placeholder:M,hover:L,focus:E,valid:C,invalid:A,required:B,disabled:H,...Me}=e;return Ln(y,{...Me,size:t,rounded:o,fillMode:s,hover:L,focus:E,valid:C,invalid:A,required:B,disabled:H,className:n(e.className,Ls,{"!k-flex-col":c==="vertical","!k-flex-row":c==="horizontal"}),children:[N&&Ln(hs,{children:[to(j,{className:n({"!k-align-items-start":c===l}),direction:l,children:N}),r&&to(te,{direction:c==="horizontal"?"vertical":"horizontal"})]}),to(eo,{className:n("!k-overflow-auto",{"!k-flex-none":c==="vertical","k-resize-x":u==="x","k-resize-y":u==="y","k-resize":u==="both","k-resize-none":u==="none"}),value:d,placeholder:M,rows:S}),h&&Ln(hs,{children:[p&&to(te,{direction:c==="horizontal"?"vertical":"horizontal"}),to(ee,{className:n({"!k-align-items-start":c===l}),direction:l,children:h})]})]})};ze.states=vl;ze.options=Sl;ze.className=Ls;ze.defaultOptions=Te;ze.moduleName=pn;ze.folderName=ts;import{jsx as of}from"react/jsx-runtime";import{Fragment as pf,jsx as lf}from"react/jsx-runtime";var Mn="button",vs=Mn;import{Fragment as Al,jsx as oo,jsxs as Ss}from"react/jsx-runtime";var no="k-button",El=["icon-button"],gl=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],kl={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},st={size:i.medium,rounded:x.medium,fillMode:b.solid,themeColor:m.base,showArrow:!1,arrowIconName:"caret-alt-down"},f=e=>{let{size:t=st.size,rounded:o=st.rounded,fillMode:s=st.fillMode,themeColor:r=st.themeColor,showArrow:p=st.showArrow,arrowIconName:l=st.arrowIconName,variant:c,hover:u,focus:N,active:h,selected:S,disabled:d,icon:M,text:L,iconClassName:E,...C}=e,A=M!==void 0,B=e.children!==void 0;return Ss("button",{...C,className:n(e.className,no,yo(no,c),k(no,{size:t,rounded:o,fillMode:s,themeColor:r}),g(no,{hover:u,focus:N,active:h,disabled:d,selected:S}),{"k-icon-button":!L&&!B&&A}),children:[M&&oo(v,{className:n(E,"k-button-icon"),icon:M}),L?Ss(Al,{children:[L&&oo("span",{className:"k-button-text",children:L}),e.children]}):e.children&&oo("span",{className:"k-button-text",children:e.children}),p&&oo("span",{className:"k-menu-button-arrow k-button-arrow",children:oo(v,{icon:l})})]})};f.states=gl;f.options=kl;f.variants=El;f.className=no;f.defaultOptions=st;f.moduleName=Mn;f.folderName=vs;import{jsx as Cl}from"react/jsx-runtime";var Oe=e=>Cl(f,{icon:"folder",...e,children:void 0});import{jsx as Tl}from"react/jsx-runtime";var vn=e=>Tl(f,{icon:"folder",children:"Button",...e});import{jsx as kf}from"react/jsx-runtime";import{Fragment as Pf,jsx as Rf}from"react/jsx-runtime";var Sn="speech-to-text-button",Es=Sn;import{jsx as Ol}from"react/jsx-runtime";var gs="k-speech-to-text-button",ks={icon:"microphone-outline"},ve=e=>{let{listening:t=!1,icon:o=ks.icon,...s}=e;return Ol(f,{...s,icon:t?"stop-sm":o,className:n(e.className,gs,{"k-listening":t})})};ve.states=f.states;ve.options=f.options;ve.className=gs;ve.defaultOptions=ks;ve.moduleName=Sn;ve.folderName=Es;import{jsx as eb}from"react/jsx-runtime";import{jsx as ab}from"react/jsx-runtime";var En="chat",As=En;import{Fragment as gn,jsx as rt,jsxs as ao}from"react/jsx-runtime";var Cs="k-chat",yl=[],Il={},Bl=ao(gn,{children:[rt(ve,{fillMode:"clear"}),rt(Oe,{icon:"paperclip",fillMode:"clear"},"paperclip")]}),Ts={tools:Bl},F=e=>{let{header:t,dir:o,suggestedActions:s,files:r,pinned:p,replied:l,generating:c,tools:u=Ts.tools,value:N,empty:h,...S}=e;return ao("div",{...S,className:n(Cs,e.className),dir:o,children:[t,p,rt("div",{className:"k-message-list",children:rt("div",{className:n("k-message-list-content",h&&"k-message-list-content-empty"),children:e.children})}),ao("div",{className:"k-message-box-wrapper",children:[s,rt(ze,{className:"k-message-box",placeholder:"Type a message",value:N,prefixSeparator:!1,suffixSeparator:!1,rows:1,resize:"none",prefix:r||l?ao(gn,{children:[l,r]}):void 0,suffix:ao(gn,{children:[u,rt("span",{className:"k-spacer"}),rt(gt,{generating:c,disabled:!N&&!c})]})})]})]})};F.states=yl;F.options=Il;F.className=Cs;F.defaultOptions=Ts;F.moduleName=En;F.folderName=As;var kn="button",Os=kn;import{jsx as Rl}from"react/jsx-runtime";var so="k-button-group",_l=[a.disabled],Kl={fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},ys={fillMode:b.solid},K=e=>{let{fillMode:t=ys.fillMode,disabled:o,stretched:s,...r}=e;return Rl("div",{...r,className:n(e.className,so,k(so,{fillMode:t}),g(so,{disabled:o}),{[`${so}-stretched`]:s}),children:e.children})};K.states=_l;K.options=Kl;K.className=so;K.defaultOptions=ys;K.moduleName=kn;K.folderName=Os;import{Fragment as Tb,jsx as Cb,jsxs as Ob}from"react/jsx-runtime";import{Fragment as Rb,jsx as Kb,jsxs as Pb}from"react/jsx-runtime";import{Fragment as Gb,jsx as Ub,jsxs as Fb}from"react/jsx-runtime";import{Fragment as qb,jsx as Wb,jsxs as Zb}from"react/jsx-runtime";import{jsx as Is,jsxs as wl}from"react/jsx-runtime";var Bs="k-color-preview",Pl=[],Dl={},Ue=e=>{let{color:t,iconName:o,...s}=e;return wl("span",{...s,className:n(e.className,Bs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Is(v,{icon:o,className:"k-color-preview-icon"}),Is("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ue.states=Pl;Ue.options=Dl;Ue.className=Bs;var An="popup",_s=An;import{jsx as Ks}from"react/jsx-runtime";var Rs="k-animation-container",Hl=[],zl={},Ps={positionMode:"absolute"},Se=e=>{let{positionMode:t=Ps.positionMode,animationStyle:o,offset:s,...r}=e;return Ks("div",{...r,style:{...s,...e.style},className:n(e.className,Rs,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:Ks("div",{className:"k-child-animation-container",style:o,children:e.children})})};Se.states=Hl;Se.options=zl;Se.className=Rs;Se.defaultOptions=Ps;Se.moduleName=An;Se.folderName=_s;var Cn="popup",Ds=Cn;import{jsx as ws}from"react/jsx-runtime";var Hs="k-popup",Ul=[],Gl={},zs={positionMode:"absolute"},D=e=>{let{offset:t,positionMode:o=zs.positionMode,animationStyle:s,...r}=e;return ws(Se,{positionMode:o,offset:t,animationStyle:s,children:ws("div",{...r,className:n(e.className,Hs),children:e.children})})};D.states=Ul;D.options=Gl;D.className=Hs;D.defaultOptions=zs;D.moduleName=Cn;D.folderName=Ds;var Tn="action-buttons",Us=Tn;import{jsx as Xl}from"react/jsx-runtime";var Ho="k-actions",Fl=[],$l={},On={alignment:"start",orientation:"horizontal"},W=e=>{let{alignment:t=On.alignment,orientation:o=On.orientation,...s}=e;return Xl("div",{...s,className:n(Ho,{[`${Ho}-${t}`]:t,[`${Ho}-${o}`]:o},e.className),children:e.children})};W.states=Fl;W.options=$l;W.className=Ho;W.defaultOptions=On;W.moduleName=Tn;W.folderName=Us;var Gs=W;import{jsx as Jl}from"react/jsx-runtime";var Vl="k-actionsheet-footer",Fs={alignment:"stretched",orientation:"horizontal"},ro=e=>{let{alignment:t=Fs.alignment,orientation:o=Fs.orientation,template:s,as:r=s?"div":W,...p}=e;return Jl(r,{...p,...!s&&{alignment:t,orientation:o},className:n(e.className,Vl),children:e.children})};var yn="searchbox",$s=yn;import{jsx as io,jsxs as Zl}from"react/jsx-runtime";var Xs="k-searchbox",Wl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading],ql={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},In={showIcon:!0,icon:"search",size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode},de=e=>{let{value:t,placeholder:o,size:s,rounded:r,fillMode:p,hover:l,focus:c,valid:u,invalid:N,required:h,loading:S,disabled:d,showIcon:M=In.showIcon,icon:L=In.icon,...E}=e;return Zl(y,{...E,size:s,rounded:r,fillMode:p,hover:l,focus:c,valid:u,invalid:N,required:h,loading:S,disabled:d,className:n(e.className,Xs),children:[M&&io(v,{className:"k-input-icon",icon:L}),io(ce,{placeholder:o,value:t}),io(Q,{...e}),io(J,{...e}),io(me,{...e})]})};de.states=Wl;de.options=ql;de.className=Xs;de.defaultOptions=In;de.moduleName=yn;de.folderName=$s;import{jsx as VN}from"react/jsx-runtime";var Bn="textbox",Vs=Bn;import{Fragment as Js,jsx as Ge,jsxs as _n}from"react/jsx-runtime";var Ws="k-textbox",Yl=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Ql={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},it={showClearButton:!0,showValidationIcon:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},Ee=e=>{let{size:t=it.size,rounded:o=it.rounded,fillMode:s=it.fillMode,separators:r=it.separators,showClearButton:p=it.showClearButton,showValidationIcon:l=it.showValidationIcon,prefix:c,suffix:u,type:N,value:h,placeholder:S,hover:d,focus:M,valid:L,invalid:E,required:C,loading:A,disabled:B,readonly:H,...Me}=e;return _n(y,{...Me,size:t,rounded:o,fillMode:s,hover:d,focus:M,valid:L,invalid:E,required:C,loading:A,disabled:B,readonly:H,className:n(e.className,Ws),children:[c&&_n(Js,{children:[Ge(j,{children:c}),r&&Ge(te,{})]}),Ge(ce,{placeholder:S,value:h,type:N}),l&&Ge(J,{valid:L,invalid:E,loading:A,disabled:B}),Ge(Q,{loading:A,disabled:B}),p&&Ge(me,{loading:A,disabled:B,readonly:H,value:h}),u&&_n(Js,{children:[r&&Ge(te,{}),Ge(ee,{children:u})]})]})};Ee.states=Yl;Ee.options=Ql;Ee.className=Ws;Ee.defaultOptions=it;Ee.moduleName=Bn;Ee.folderName=Vs;import{jsx as sx}from"react/jsx-runtime";import{Fragment as cx,jsx as mx}from"react/jsx-runtime";import{Fragment as hx,jsx as xx}from"react/jsx-runtime";import{jsx as Fe,jsxs as Kn}from"react/jsx-runtime";var Zs="k-actionsheet-titlebar",jl={},oe=e=>{let{title:t,subtitle:o,actionsStart:s,actionsEnd:r,filter:p,input:l,inputValue:c,inputPlaceholder:u,adaptive:N,children:h,...S}=e;return Kn("div",{...S,className:n(e.className,Zs),children:[Kn("div",{className:"k-actionsheet-titlebar-group",children:[s&&Fe("div",{className:"k-actionsheet-actions",children:s}),!h&&Kn("div",{className:"k-actionsheet-title",children:[t&&Fe("div",{className:"k-text-center",children:t}),o&&Fe("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&Fe("div",{className:"k-actionsheet-title",children:h}),r&&Fe("div",{className:"k-actionsheet-actions",children:r})]}),(l||p)&&Fe("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Fe(Ee,{value:c,placeholder:u,size:N?"large":"medium"}):Fe(de,{placeholder:"Filter",size:N?"large":"medium"})})]})};oe.className=Zs;oe.defaultOptions=jl;import{jsx as Rn,jsxs as np}from"react/jsx-runtime";var Pn="k-actionsheet-view",ep=[],tp={},op={},kt=e=>{let{adaptive:t,animated:o,children:s,header:r,footer:p,...l}=e,c=r?.type===oe&&Rn(oe,{adaptive:t,...r?.props}),u=p?.type===ro&&Rn(ro,{...p?.props});return np("div",{...l,className:n(e.className,Pn,{[`${Pn}-animated`]:o}),children:[c,Rn("div",{className:"k-actionsheet-content",children:s}),u]})};kt.states=ep;kt.options=tp;kt.className=Pn;kt.defaultOptions=op;var lo="action-sheet",zo=lo;import{jsx as Uo,jsxs as rp}from"react/jsx-runtime";var Ys="k-actionsheet",ap=[],sp={},po={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=po.side,fullscreen:o=po.fullscreen,adaptive:s=po.adaptive,overlay:r=po.overlay,template:p,children:l,header:c,footer:u,...N}=e;return rp("div",{className:"k-actionsheet-container",children:[r&&Uo("div",{className:"k-overlay"}),Uo(Se,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Uo("div",{...N,className:n(e.className,Ys,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":s}),children:p||Uo(kt,{header:c,footer:u,adaptive:s,...e,children:l})})})]})};q.states=ap;q.options=sp;q.className=Ys;q.defaultOptions=po;q.moduleName=lo;q.folderName=zo;import{jsx as mp}from"react/jsx-runtime";var Qs="k-actionsheet-container",ip=[],lp={},pp={},At=e=>{let{children:t,...o}=e;return mp("div",{...o,className:Qs,children:t})};At.states=ip;At.options=lp;At.className=Qs;At.defaultOptions=pp;At.moduleName=lo;At.folderName=zo;import{jsx as Jx}from"react/jsx-runtime";import{Fragment as dp,jsx as mo,jsxs as Dn}from"react/jsx-runtime";var wn="k-actionsheet-item",cp=[a.hover,a.focus,a.selected,a.disabled],Hn=e=>{let{iconName:t,text:o,description:s,hover:r,focus:p,selected:l,disabled:c,...u}=e;return Dn("span",{...u,className:n(e.className,wn,g(wn,{hover:r,focus:p,selected:l,disabled:c})),children:[!e.children&&mo(dp,{children:Dn("span",{className:"k-actionsheet-action",children:[t&&mo("span",{className:"k-icon-wrap",children:mo(v,{className:"k-actionsheet-item-icon",icon:t})}),Dn("span",{className:"k-actionsheet-item-text",children:[o&&mo("span",{className:"k-actionsheet-item-title",children:o}),s&&mo("span",{className:"k-actionsheet-item-description",children:s})]})]})}),e.children]})};Hn.states=cp;Hn.className=wn;import{jsx as oh,jsxs as nh}from"react/jsx-runtime";import{jsx as ih}from"react/jsx-runtime";import{jsx as ch}from"react/jsx-runtime";import{jsx as bh}from"react/jsx-runtime";var zn="slider",er=zn;import{jsx as Ct,jsxs as Un}from"react/jsx-runtime";var co="k-slider",up=[a.hover,a.focus,a.active,a.disabled,a.readonly],fp={},$e={type:"single",orientation:"horizontal",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0},$=e=>{let{type:t=$e.type,orientation:o=$e.orientation,readonly:s=$e.readonly,disabled:r=$e.disabled,handlePosition:p=$e.handlePosition,showButtons:l=$e.showButtons,showTicks:c=$e.showTicks,hover:u,focus:N,active:h,trackStyle:S,dir:d,...M}=e,L,E;return o==="horizontal"?(L=d==="rtl"?"caret-alt-left":"caret-alt-right",E=d==="rtl"?"caret-alt-right":"caret-alt-left"):o==="vertical"&&(L="caret-alt-up",E="caret-alt-down"),Un("div",{...M,className:n(co,e.className,g(co,{readonly:s,disabled:r}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:d,children:[l&&Ct(f,{className:"k-button-decrease",rounded:"full",icon:E}),Un("div",{className:"k-slider-track-wrap",children:[c&&Ct("ul",{className:"k-reset k-slider-items",children:e.children}),Un("div",{className:"k-slider-track",style:S,children:[Ct("div",{className:"k-slider-selection"}),t==="range"&&Ct("span",{className:n("k-draghandle","k-draghandle-start",g(co,{hover:u,focus:N,active:h}))}),Ct("span",{className:n("k-draghandle",`k-draghandle-${p}`,g(co,{hover:u,focus:N,active:h}))})]})]}),l&&Ct(f,{className:"k-button-increase",rounded:"full",icon:L})]})};$.states=up;$.options=fp;$.className=co;$.defaultOptions=$e;$.moduleName=zn;$.folderName=er;import{jsx as tr}from"react/jsx-runtime";var or="k-tick",bp=[],Np={},nr={label:!1},Xe=e=>{let{style:t,label:o=nr.label,orientation:s,large:r,text:p,...l}=e;return tr("li",{...l,className:n(e.className,or,{[`k-tick-${s}`]:s,"k-tick-large":r}),style:t,children:o&&tr("span",{className:"k-label",children:p})})};Xe.states=bp;Xe.options=Np;Xe.className=or;Xe.defaultOptions=nr;import{Fragment as Uh,jsx as zh,jsxs as Gh}from"react/jsx-runtime";import{Fragment as Jh,jsx as Vh,jsxs as Wh}from"react/jsx-runtime";import{Fragment as jh,jsx as Qh,jsxs as eL}from"react/jsx-runtime";import{Fragment as sL,jsx as aL,jsxs as rL}from"react/jsx-runtime";import{jsx as xp}from"react/jsx-runtime";var Gn=e=>xp($,{type:"gradient",showButtons:!1,showTicks:!1,...e});import{jsx as hp}from"react/jsx-runtime";var Fn=e=>hp($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e});import{jsx as ar,jsxs as Ep}from"react/jsx-runtime";var sr="k-spin-button",vp=[],Sp={size:[i.small,i.medium,i.large],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link]},$n={size:i.medium,fillMode:b.solid},Ve=e=>{let{size:t=$n.size,fillMode:o=$n.fillMode,...s}=e;return Ep("span",{...s,className:n(sr,e.className),children:[ar(f,{className:"k-spinner-increase",icon:"caret-alt-up",rounded:null,size:t,fillMode:o}),ar(f,{className:"k-spinner-decrease",icon:"caret-alt-down",rounded:null,size:t,fillMode:o})]})};Ve.states=vp;Ve.options=Sp;Ve.className=sr;Ve.defaultOptions=$n;Ve.moduleName=null;Ve.folderName=null;var rr="numeric-textbox",ir="numerictextbox";import{Fragment as lr,jsx as ye,jsxs as Xn}from"react/jsx-runtime";var pr="k-numerictextbox",gp=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],kp={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},lt={showSpinButton:!0,showClearButton:!0,size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},R=e=>{let{size:t=lt.size,rounded:o=lt.rounded,fillMode:s=lt.fillMode,separators:r=lt.separators,showClearButton:p=lt.showClearButton,showSpinButton:l=lt.showSpinButton,prefix:c,suffix:u,value:N,placeholder:h,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,...H}=e;return Xn(y,{...H,size:t,rounded:o,fillMode:s,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,className:n(e.className,pr),children:[c&&Xn(lr,{children:[ye(j,{children:c}),r&&ye(te,{})]}),ye(ce,{placeholder:h,value:N}),ye(J,{valid:M,invalid:L,loading:C,disabled:A}),ye(Q,{loading:C,disabled:A}),p&&ye(me,{loading:C,disabled:A,readonly:B,value:N}),u&&Xn(lr,{children:[r&&ye(te,{}),ye(ee,{children:u})]}),l&&ye(Ve,{className:"k-input-spinner",size:t,fillMode:s})]})};R.states=gp;R.options=kp;R.className=pr;R.defaultOptions=lt;R.moduleName=rr;R.folderName=ir;import{jsx as zL}from"react/jsx-runtime";import{jsx as Cp}from"react/jsx-runtime";var Ap="k-no-data",uo=e=>Cp("span",{className:n(Ap,e.className),children:e.children});var Ie="list",Je=Ie;import{jsx as Tt,jsxs as cr}from"react/jsx-runtime";var Vn="k-list",Tp=[],Op={size:[i.small,i.medium,i.large]},dr={size:i.medium},_=e=>{let{size:t=dr.size,virtualization:o,children:s,optionLabel:r,customValue:p,screenReaders:l,...c}=e,u,N,h,S,d=[];return s?s.map((M,L)=>{M.type===z?(M.props.root===!0?(u=M.props.label,M.props.children.map((E,C)=>{d.push(Tt(T,{...E.props},`optChild-${C}-${new Date().getTime()}`))})):M.props.children.forEach((E,C)=>{let A="";C===0&&(A=M.props.label),d.push(Tt(T,{className:C===0?"k-first":"",...E.props,groupLabel:A},`groupLabel-${C}-${new Date().getTime()}`))}),N=Tt(z,{label:u,virtualization:o,children:d})):M.type===T&&(d.push(Tt(T,{...M.props},`${M.type}-${L}`)),h=Tt(Ot,{virtualization:o,children:d}),l&&(S=cr(uo,{className:"k-sr-only",children:[d.length," items found."]})))}):S=Tt(uo,{children:"No data found."}),cr("div",{...c,className:n(e.className,Vn,k(Vn,{size:t}),{"k-virtual-list":o}),children:[r,p,N,h,S]})};_.states=Tp;_.options=Op;_.className=Vn;_.defaultOptions=dr;_.moduleName=Ie;_.folderName=Je;import{jsx as _p}from"react/jsx-runtime";var ur="k-list-container",yp=[],Ip={},Bp={},yt=e=>{let{...t}=e;return _p("div",{...t,className:n(e.className,ur),children:e.children})};yt.states=yp;yt.options=Ip;yt.className=ur;yt.defaultOptions=Bp;yt.moduleName=Ie;yt.folderName=Je;import{jsx as pt,jsxs as Pp}from"react/jsx-runtime";var Jn="k-list",Kp=[],Rp={size:[i.small,i.medium,i.large]},fr={size:i.medium},Be=e=>{let{size:t=fr.size,virtualization:o,children:s,...r}=e,p,l,c,u=[];return s?s.map((N,h)=>{N.type===z?(N.props.root===!0?(p=N.props.label,N.props.children.map((S,d)=>{u.push(pt(T,{...S.props},`optChild-${d}-${new Date().getTime()}`))})):(u.push(pt(br,{...N.props,children:N.props.label},`listChild-${h}`)),N.props.children.map((S,d)=>{u.push(pt(T,{...S.props},`fwOptChild-${d}-${new Date().getTime()}`))})),l=pt(z,{label:p,virtualization:o,children:u})):N.type===T&&(u.push(pt(T,{...N.props},`${N.type}-${h}`)),c=pt(Ot,{virtualization:o,children:u}))}):c=pt(uo,{children:"No data found."}),Pp("div",{...r,className:n(e.className,Jn,k(Jn,{size:t}),{"k-virtual-list":o}),children:[l,c]})};Be.states=Kp;Be.options=Rp;Be.className=Jn;Be.defaultOptions=fr;Be.moduleName=Ie;Be.folderName=Je;var mt="checkbox",It=mt;import{jsx as Nr}from"react/jsx-runtime";var Go="k-checkbox",Dp=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.checked,a.indeterminate],wp={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full]},Wn={size:i.medium,rounded:x.medium},ge=e=>{let{id:t,checked:o,indeterminate:s,hover:r,focus:p,disabled:l,invalid:c,valid:u,required:N,size:h=Wn.size,rounded:S=Wn.rounded,...d}=e;return Nr("span",{className:"k-checkbox-wrap",children:Nr("input",{...d,id:t,type:"checkbox",defaultChecked:o,required:N,className:n(e.className,Go,k(Go,{size:h,rounded:S}),g(Go,{hover:r,focus:p,disabled:l,invalid:c,valid:u,indeterminate:s,checked:o}))})})};ge.states=Dp;ge.options=wp;ge.className=Go;ge.defaultOptions=Wn;ge.moduleName=mt;ge.folderName=It;import{jsx as Up}from"react/jsx-runtime";var xr="k-checkbox-list",Hp=[],zp={},hr={layout:"vertical"},We=e=>{let{layout:t=hr.layout,...o}=e;return Up("ul",{...o,className:n(e.className,xr,{[`k-list-${t}`]:t}),children:e.children})};We.states=Hp;We.options=zp;We.className=xr;We.defaultOptions=hr;We.moduleName=mt;We.folderName=It;import{jsx as Xp}from"react/jsx-runtime";var Lr="k-checkbox-list-item",Gp=[],Fp={},$p={},qe=e=>{let{...t}=e;return Xp("li",{...t,className:n(e.className,Lr),children:e.children})};qe.states=Gp;qe.options=Fp;qe.className=Lr;qe.defaultOptions=$p;qe.moduleName=mt;qe.folderName=It;import{Fragment as AM,jsx as kM,jsxs as CM}from"react/jsx-runtime";import{Fragment as BM,jsx as IM,jsxs as _M}from"react/jsx-runtime";import{Fragment as wM,jsx as DM,jsxs as HM}from"react/jsx-runtime";import{Fragment as $M,jsx as FM,jsxs as XM}from"react/jsx-runtime";import{jsx as qM}from"react/jsx-runtime";import{jsx as jM}from"react/jsx-runtime";import{jsx as Fo,jsxs as qp}from"react/jsx-runtime";var Zn="k-list-item",Vp=[a.hover,a.focus,a.selected,a.disabled],Jp={},Wp={},T=e=>{let{text:t,groupLabel:o,group:s,showIcon:r,iconName:p,showCheckbox:l,checked:c,hover:u,focus:N,selected:h,disabled:S,...d}=e,M=t||e.children;return qp("li",{...d,className:n(e.className,s?"k-list-group-item":Zn,g(Zn,{hover:u,focus:N,disabled:S,selected:h})),children:[l&&Fo(ge,{checked:c}),r&&Fo(v,{icon:p}),Fo("span",{className:"k-list-item-text",children:M}),o&&o!==""&&Fo("div",{className:"k-list-item-group-label",children:o})]})};T.states=Vp;T.options=Jp;T.className=Zn;T.defaultOptions=Wp;T.moduleName=Ie;T.folderName=Je;import{jsx as Yn,jsxs as Yp}from"react/jsx-runtime";var Zp="k-list-content",Ot=e=>{let{virtualization:t,...o}=e;return Yp("div",{...o,className:n(Zp,e.className),children:[Yn("ul",{className:n("k-list-ul"),children:e.children}),t&&Yn("div",{className:"k-height-container",children:Yn("div",{})})]})};import{jsx as Mr}from"react/jsx-runtime";var Qp="k-list-group-sticky-header",vr=e=>Mr("div",{className:n(Qp,e.className),children:Mr("div",{className:"k-list-header-text",children:e.children})});import{Fragment as jp,jsx as Sr,jsxs as em}from"react/jsx-runtime";var z=e=>{let{virtualization:t,label:o}=e;return em(jp,{children:[o&&Sr(vr,{children:o}),e.children&&Sr(Ot,{virtualization:t,children:e.children})]})};import{jsx as Er}from"react/jsx-runtime";var tm="k-list-group-item",br=e=>Er("li",{className:n(tm,e.className),children:Er("span",{className:"k-list-item-text",children:e.children})});import{jsx as sm}from"react/jsx-runtime";var Qn="k-list-optionlabel",om=[a.hover,a.focus,a.selected,a.disabled],nm={},am={},$o=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return sm("div",{...l,className:n(Qn,g(Qn,{hover:o,focus:s,selected:r,disabled:p})),children:t})};$o.states=om;$o.options=nm;$o.className=Qn;$o.defaultOptions=am;import{jsx as pm}from"react/jsx-runtime";var jn="k-list-custom-value",rm=[a.hover,a.focus,a.selected,a.disabled],im={},lm={},Ze=e=>{let{text:t,hover:o,focus:s,selected:r,disabled:p,...l}=e;return pm("div",{...l,className:n(jn,g(jn,{hover:o,focus:s,selected:r,disabled:p})),children:t})};Ze.states=rm;Ze.options=im;Ze.className=jn;Ze.defaultOptions=lm;import{jsx as Dv}from"react/jsx-runtime";import{jsx as Uv}from"react/jsx-runtime";import{jsx as Xv,jsxs as Vv}from"react/jsx-runtime";import{jsx as Zv,jsxs as Yv}from"react/jsx-runtime";import{jsx as tS}from"react/jsx-runtime";import{jsx as sS,jsxs as rS}from"react/jsx-runtime";import{jsx as mS,jsxs as cS}from"react/jsx-runtime";var gr="dropdown-list",kr="dropdownlist";import{Fragment as dm,jsx as X,jsxs as ea}from"react/jsx-runtime";var Ar="k-dropdownlist",mm=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],cm={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Bt={showValue:!0,arrowIconName:"caret-alt-down",size:i.medium,rounded:x.medium,fillMode:b.solid},ke=e=>{let{size:t=Bt.size,rounded:o=Bt.rounded,fillMode:s=Bt.fillMode,arrowIconName:r=Bt.arrowIconName,showValue:p=Bt.showValue,valueIconName:l,prefix:c,suffix:u,value:N,placeholder:h,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,popup:H,opened:Me,adaptive:Wt,adaptiveSettings:qt,adaptiveTitle:rn,adaptiveSubtitle:ln,adaptiveFilter:Bi,..._i}=e;return ea(dm,{children:[ea(V,{..._i,size:t,rounded:o,fillMode:s,hover:S,focus:d,valid:M,invalid:L,required:E,loading:C,disabled:A,readonly:B,className:n(e.className,Ar,{"k-icon-picker":!p&&l}),children:[X(j,{children:c}),X(at,{placeholder:h,value:N,showValue:p,valueIconName:l}),X(J,{valid:M,invalid:L,loading:C,disabled:A}),X(Q,{loading:C,disabled:A}),X(ee,{children:u}),X(f,{className:"k-input-button",icon:r,rounded:null,size:e.size,fillMode:e.fillMode})]}),Me&&H&&X(D,{className:"k-list-container k-dropdownlist-popup",children:H}),Wt&&X(q,{adaptive:!0,...qt,header:X(oe,{actionsEnd:X(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),filter:Bi,inputValue:N,inputPlaceholder:h,title:rn,subtitle:ln}),children:X("div",{className:"k-list-container",children:ea(_,{size:"large",children:[X(T,{text:"List item"}),X(T,{text:"List item"}),X(T,{text:"List item"})]})})})]})};ke.states=mm;ke.options=cm;ke.className=Ar;ke.defaultOptions=Bt;ke.moduleName=gr;ke.folderName=kr;import{jsx as $S}from"react/jsx-runtime";import{jsx as qS,jsxs as ZS}from"react/jsx-runtime";import{Fragment as aE,jsx as oE,jsxs as nE}from"react/jsx-runtime";import{jsx as lE}from"react/jsx-runtime";import{jsx as uE,jsxs as fE}from"react/jsx-runtime";import{jsx as LE,jsxs as ME}from"react/jsx-runtime";import{Fragment as TE,jsx as AE,jsxs as CE}from"react/jsx-runtime";import{Fragment as PE,jsx as KE,jsxs as RE}from"react/jsx-runtime";import{Fragment as QE,jsx as YE}from"react/jsx-runtime";import{Fragment as sg,jsx as ag}from"react/jsx-runtime";import{Fragment as fo,jsx as O,jsxs as P}from"react/jsx-runtime";var Cr="k-colorgradient-inputs",um=[],fm={size:[i.small,i.medium,i.large]},Tr={mode:"rgba",size:i.medium},_t=e=>{let{mode:t=Tr.mode,size:o,...s}=e;return P("div",{...s,className:n(Cr,"k-hstack"),children:[O("div",{className:"k-vstack",children:O(f,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o})}),t==="rgba"&&P(fo,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o}),O("label",{className:"k-colorgradient-input-label",children:"B"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&P(fo,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"R"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"G"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&P(fo,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"1.00"}),O("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&P(fo,{children:[P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"H"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"S"})]}),P("div",{className:"k-vstack",children:[O(R,{showSpinButton:!1,showClearButton:!1,value:"132"}),O("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&O(fo,{children:P("div",{className:"k-vstack k-flex-1",children:[O(Ee,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),O("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};_t.states=um;_t.options=fm;_t.className=Cr;_t.defaultOptions=Tr;import{jsx as dt,jsxs as ut}from"react/jsx-runtime";var Or="k-colorgradient-color-contrast",bm=[],Nm={},xm={},Kt=()=>ut("div",{className:n(Or,"k-vbox"),children:[ut("div",{className:"k-contrast-ratio",children:[dt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),ut("span",{className:"k-contrast-validation !k-text-success",children:[dt(v,{icon:"check"}),dt(v,{icon:"check"})]})]}),ut("div",{children:[dt("span",{children:"AA: 4.5"}),ut("span",{className:"k-contrast-validation !k-text-success",children:["Pass",dt(v,{icon:"check"})]})]}),ut("div",{children:[dt("span",{children:"AAA: 7.0"}),ut("span",{className:"k-contrast-validation !k-text-error",children:["Fail",dt(v,{icon:"x"})]})]})]});Kt.states=bm;Kt.options=Nm;Kt.className=Or;Kt.defaultOptions=xm;var yr="color-gradient",Ir="colorgradient";import{jsx as ne,jsxs as bo}from"react/jsx-runtime";var Xo="k-colorgradient",hm=[a.hover,a.focus,a.readonly,a.disabled],Lm={size:[i.small,i.medium,i.large]},ue={size:i.medium,mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Ae=e=>{let{size:t=ue.size,mode:o=ue.mode,readonly:s=ue.readonly,disabled:r=ue.disabled,gradientStyle:p=ue.gradientStyle,dragHandleStyle:l=ue.dragHandleStyle,alphaStyle:c=ue.alphaStyle,alphaStyleHorizontal:u=ue.alphaStyleHorizontal,contrast:N=ue.contrast,dir:h,hover:S,focus:d,hoverHandle:M,focusHandle:L,canvasOrientation:E=ue.canvasOrientation,...C}=e;return bo("div",{...C,className:n(e.className,Xo,k(Xo,{size:t}),g(Xo,{hover:S,focus:d,readonly:s,disabled:r})),dir:h,children:[!E||E==="horizontal"&&bo("div",{className:"k-colorgradient-canvas k-hstack",children:[ne("div",{className:"k-hsv-rectangle",style:p,children:ne("div",{className:"k-hsv-gradient",children:ne("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),bo("div",{className:"k-hsv-controls k-hstack",children:[ne(Fn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ne(Fn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:c})]})]}),E==="vertical"&&bo("div",{className:"k-colorgradient-canvas k-vstack",children:[ne("div",{className:"k-hsv-rectangle",style:p,children:ne("div",{className:"k-hsv-gradient",children:ne("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":L}),style:l})})}),bo("div",{className:"k-hsv-controls k-vstack",children:[ne(Gn,{className:"k-hue-slider",hover:M,focus:L}),o!=="rgb"&&o!=="hsv"&&ne(Gn,{className:"k-alpha-slider",hover:M,focus:L,trackStyle:u})]})]}),ne(_t,{mode:e.mode,size:t}),N&&ne(Kt,{})]})};Ae.states=hm;Ae.options=Lm;Ae.className=Xo;Ae.defaultOptions=ue;Ae.moduleName=yr;Ae.folderName=Ir;import{jsx as Bg}from"react/jsx-runtime";import{jsx as Pg}from"react/jsx-runtime";import{jsx as Mm}from"react/jsx-runtime";var Br=e=>Mm("tr",{children:e.children});import{jsx as Em}from"react/jsx-runtime";var ta="k-colorpalette-tile",vm=[a.hover,a.focus,a.selected],Sm={},No=e=>{let{color:t,tileSize:o,hover:s,focus:r,selected:p,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Em("td",{...l,className:n(e.className,ta,g(ta,{hover:s,focus:r,selected:p})),style:c})};No.states=vm;No.options=Sm;No.className=ta;var _r="color-palette",Kr="colorpalette";import{jsx as xo}from"react/jsx-runtime";var Vo="k-colorpalette",gm=[a.disabled],km={size:[i.small,i.medium,i.large]},oa={columns:10,size:i.medium},Ye=e=>{let{size:t=oa.size,palette:o,columns:s=oa.columns,tileSize:r,disabled:p,...l}=e,c=[];if(o){let u=s||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/u)},(h,S)=>{let d=[];N.slice(S*u,(S+1)*u).map((L,E)=>{d.push(xo(No,{color:L,tileSize:r},E))});let M=xo(Br,{children:d},S);c.push(M)})}return xo("div",{...l,className:n(e.className,Vo,g(Vo,{disabled:p}),k(Vo,{size:t})),children:xo("table",{className:"k-colorpalette-table",children:xo("tbody",{children:c.length>0?c:e.children})})})};Ye.states=gm;Ye.options=km;Ye.className=Vo;Ye.defaultOptions=oa;Ye.moduleName=_r;Ye.folderName=Kr;var na={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as ik}from"react/jsx-runtime";var Rr="color-editor",Pr="coloreditor";import{jsx as ae,jsxs as Rt}from"react/jsx-runtime";var Jo="k-coloreditor",Am=[a.focus],Cm={size:[i.small,i.medium,i.large]},Pt={size:i.medium,view:"gradient",palette:na.office,actionButtons:!0,canvasOrientation:"horizontal"},se=e=>{let{size:t=Pt.size,view:o=Pt.view,palette:s=Pt.palette,color:r,currentColor:p,focus:l,focusView:c,dir:u,group:N,actionButtons:h=Pt.actionButtons,canvasOrientation:S=Pt.canvasOrientation,...d}=e;return Rt("div",{...d,className:n(e.className,"k-flatcolorpicker",Jo,k(Jo,{size:t}),g(Jo,{focus:l})),dir:u,children:[Rt("div",{className:"k-coloreditor-header k-hstack",children:[ae("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&Rt(K,{fillMode:"flat",children:[ae(f,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient"}),ae(f,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette"})]})}),ae("div",{className:"k-spacer"}),Rt("div",{className:"k-coloreditor-header-actions k-hstack",children:[ae(f,{fillMode:"flat",icon:"droplet-slash",size:t}),Rt("div",{className:"k-coloreditor-preview k-vstack",children:[ae(Ue,{className:"k-coloreditor-preview-color",color:r}),ae(Ue,{className:"k-coloreditor-current-color",color:p})]})]})]}),ae("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?ae(Ae,{focus:c,size:t,canvasOrientation:S}):ae(Ye,{palette:s,size:t})}),h&&Rt(W,{className:"k-coloreditor-footer",alignment:"start",children:[ae(f,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),ae(f,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};se.states=Am;se.options=Cm;se.className=Jo;se.defaultOptions=Pt;se.moduleName=Rr;se.folderName=Pr;import{jsx as Tk}from"react/jsx-runtime";import{jsx as Bk}from"react/jsx-runtime";import{jsx as Pk}from"react/jsx-runtime";import{jsx as zk}from"react/jsx-runtime";var Dr="color-picker",wr="colorpicker";import{Fragment as ym,jsx as re,jsxs as sa}from"react/jsx-runtime";var Hr="k-colorpicker",Tm=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled],Om={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},ho={arrowIconName:"caret-alt-down",size:V.defaultOptions.size,rounded:V.defaultOptions.rounded,fillMode:V.defaultOptions.fillMode},fe=e=>{let{size:t=ho.size,rounded:o=ho.rounded,fillMode:s=ho.fillMode,arrowIconName:r=ho.arrowIconName,prefix:p,suffix:l,value:c,placeholder:u,hover:N,focus:h,valid:S,invalid:d,required:M,disabled:L,valueIconName:E,popup:C,opened:A,adaptive:B,adaptiveSettings:H,adaptiveTitle:Me,adaptiveSubtitle:Wt,...qt}=e;return sa(ym,{children:[sa(V,{...qt,size:t,rounded:o,fillMode:s,hover:N,focus:h,valid:S,invalid:d,required:M,disabled:L,className:n(e.className,Hr,"k-icon-picker"),children:[re(j,{children:p}),re(at,{placeholder:u,value:c,showValue:!1,valueIcon:re(Ue,{className:"k-value-icon",color:c,iconName:E}),valueIconName:E}),re(ee,{children:l}),re(f,{className:"k-input-button",icon:r,rounded:null,size:t,fillMode:s})]}),A&&C&&re(D,{className:"k-colorpicker-popup",children:C}),B&&re(q,{adaptive:!0,...H,header:re(oe,{actionsEnd:re(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),title:Me,subtitle:Wt}),footer:sa(ro,{children:[re(f,{text:"Cancel",size:"large",themeColor:"base"}),re(f,{text:"Set",size:"large",themeColor:"primary"})]}),children:re(se,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};fe.states=Tm;fe.options=Om;fe.className=Hr;fe.defaultOptions=ho;fe.moduleName=Dr;fe.folderName=wr;import{jsx as lA}from"react/jsx-runtime";import{jsx as uA}from"react/jsx-runtime";import{jsx as hA}from"react/jsx-runtime";import{jsx as SA}from"react/jsx-runtime";import{jsx as AA}from"react/jsx-runtime";import{jsx as yA}from"react/jsx-runtime";var ra="combobox",zr=ra;import{Fragment as ia,jsx as w,jsxs as Lo}from"react/jsx-runtime";var Ur="k-combobox",Bm=[a.hover,a.focus,a.valid,a.invalid,a.loading,a.required,a.disabled,a.readonly],_m={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline]},Mo={size:y.defaultOptions.size,rounded:y.defaultOptions.rounded,fillMode:y.defaultOptions.fillMode,separators:!0},_e=e=>{let{size:t=Mo.size,rounded:o=Mo.rounded,fillMode:s=Mo.fillMode,separators:r=Mo.separators,prefix:p,suffix:l,value:c,placeholder:u,hover:N,focus:h,valid:S,invalid:d,required:M,loading:L,disabled:E,popup:C,opened:A,readonly:B,adaptive:H,adaptiveSettings:Me,adaptiveTitle:Wt,adaptiveSubtitle:qt,adaptiveCustomValue:rn,...ln}=e;return Lo(ia,{children:[Lo(y,{...ln,size:t,rounded:o,fillMode:s,hover:N,focus:h,valid:S,invalid:d,required:M,loading:L,disabled:E,readonly:B,className:n(e.className,Ur),children:[p&&Lo(ia,{children:[w(j,{children:p}),r&&w(te,{})]}),w(ce,{placeholder:u,value:c}),w(J,{valid:S,invalid:d,loading:L,disabled:E}),w(Q,{loading:L,disabled:E}),w(me,{loading:L,disabled:E,readonly:B,value:c}),l&&Lo(ia,{children:[r&&w(te,{}),w(ee,{children:l})]}),w(f,{className:"k-input-button",icon:"caret-alt-down",rounded:null,size:t,fillMode:s})]}),A&&C&&w(D,{className:"k-list-container k-combobox-popup",children:C}),H&&w(q,{adaptive:!0,...Me,header:w(oe,{actionsEnd:w(f,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat"}),input:!0,inputValue:c,inputPlaceholder:u,title:Wt,subtitle:qt}),children:w("div",{className:"k-list-container",children:Lo(_,{customValue:rn?w(Ze,{text:`Use "${c}"`}):void 0,size:"large",children:[w(T,{text:"List item"}),w(T,{text:"List item"}),w(T,{text:"List item"})]})})})]})};_e.states=Bm;_e.options=_m;_e.className=Ur;_e.defaultOptions=Mo;_e.moduleName=ra;_e.folderName=zr;import{jsx as jA}from"react/jsx-runtime";import{jsx as aC,jsxs as sC}from"react/jsx-runtime";import{jsx as mC,jsxs as cC}from"react/jsx-runtime";import{jsx as NC,jsxs as xC}from"react/jsx-runtime";import{jsx as vC}from"react/jsx-runtime";import{Fragment as CC,jsx as AC}from"react/jsx-runtime";import{Fragment as _C,jsx as BC}from"react/jsx-runtime";import{jsx as wC,jsxs as HC}from"react/jsx-runtime";import{Fragment as VC,jsx as $C,jsxs as XC}from"react/jsx-runtime";var la="menu-button",Gr=la;import{Fragment as Pm,jsx as Fr,jsxs as Dm}from"react/jsx-runtime";var $r="k-menu-button",Km=[a.hover,a.focus,a.active,a.selected,a.disabled],Rm={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},ft={size:i.medium,rounded:x.medium,fillMode:b.solid,themeColor:m.base,showArrow:!0,arrowIconName:"caret-alt-down"},U=e=>{let{size:t=ft.size,rounded:o=ft.rounded,fillMode:s=ft.fillMode,themeColor:r=ft.themeColor,hover:p,focus:l,active:c,selected:u,disabled:N,icon:h,text:S,showArrow:d=ft.showArrow,arrowIconName:M=ft.arrowIconName,popup:L,opened:E,...C}=e;return Dm(Pm,{children:[Fr(f,{...C,className:n(e.className,$r),text:S,size:t,rounded:o,fillMode:s,themeColor:r,hover:p,focus:l,active:c,selected:u,disabled:N,icon:h,showArrow:d,arrowIconName:M}),E&&L&&Fr(D,{className:"k-menu-popup",children:L})]})};U.states=Km;U.options=Rm;U.className=$r;U.defaultOptions=ft;U.moduleName=la;U.folderName=Gr;import{jsx as fT}from"react/jsx-runtime";import{jsx as hT}from"react/jsx-runtime";import{jsx as ST}from"react/jsx-runtime";var Z="menu",ie=Z;import{Fragment as zm,jsx as Dt,jsxs as Xr}from"react/jsx-runtime";var ma="k-menu-item",wm=[a.hover,a.focus,a.active,a.selected,a.disabled],Hm={},Vr={iconPosition:"before"},be=e=>{let{hover:t,focus:o,active:s,selected:r,disabled:p,icon:l,text:c,first:u,last:N,showArrow:h,arrowIconName:S,iconPosition:d=Vr.iconPosition,dir:M,children:L,...E}=e,C=Dt(zm,{});L&&L.forEach(B=>{if(B.type==="MenuItemContent"){C.props.children.push(B);return}});let A=S;return A||(A=M==="rtl"?"caret-alt-left":"caret-alt-right"),Xr("li",{...E,className:n(e.className,ma,"k-item",g(ma,{focus:o,disabled:p,hover:t,active:s,selected:r}),{"k-first":u,"k-last":N}),children:[Xr("span",{className:n("k-link k-menu-link"),children:[l&&d==="before"&&Dt(v,{className:"k-menu-link-icon",icon:l}),Dt("span",{className:"k-menu-link-text",children:c}),l&&d==="after"&&Dt(v,{className:"k-menu-link-icon",icon:l}),h&&Dt("span",{className:"k-menu-expand-arrow",children:Dt(v,{icon:A})})]}),C]})};be.states=wm;be.options=Hm;be.className=ma;be.defaultOptions=Vr;be.moduleName=Z;be.folderName=ie;import{Fragment as Fm,jsx as wt,jsxs as Jr}from"react/jsx-runtime";var ca="k-menu-item",Um=[a.hover,a.focus,a.active,a.selected,a.disabled],Gm={},da={dir:"ltr",iconPosition:"before"},le=e=>{let{hover:t,focus:o,active:s,selected:r,disabled:p,icon:l,text:c,first:u,last:N,showArrow:h,arrowIconName:S,iconPosition:d=da.iconPosition,dir:M=da.dir,children:L,popup:E,...C}=e,A=wt(Fm,{});L&&L.forEach(H=>{if(H.type==="MenuListItemContent"){A.props.children.push(H);return}});let B=S;return B||(B=M==="rtl"?"caret-alt-left":"caret-alt-right"),Jr("li",{...C,className:n(e.className,ca,"k-item",g(ca,{focus:o,disabled:p}),{"k-first":u,"k-last":N}),children:[Jr("span",{className:n("k-link k-menu-link",g("k-menu-link",{hover:t,active:s,selected:r,disabled:p})),children:[l&&d==="before"&&wt(v,{className:"k-menu-link-icon",icon:l}),wt("span",{className:"k-menu-link-text",children:c}),l&&d==="after"&&wt(v,{className:"k-menu-link-icon",icon:l}),h&&wt("span",{className:"k-menu-expand-arrow",children:wt(v,{icon:B})})]}),A,E]})};le.states=Um;le.options=Gm;le.className=ca;le.defaultOptions=da;le.moduleName=Z;le.folderName=ie;import{jsx as Jm}from"react/jsx-runtime";var Wr="k-menu-scroll-wrapper",$m=[],Xm={},Vm={},bt=e=>{let{className:t,children:o,orientation:s,...r}=e;return Jm("div",{...r,className:n(t,Wr,{"k-menu-scroll-wrapper-vertical":s==="vertical"}),children:o})};bt.states=$m;bt.options=Xm;bt.className=Wr;bt.defaultOptions=Vm;bt.moduleName=Z;bt.folderName=ie;var qr=bt;import{Fragment as ua,jsx as Nt,jsxs as Wo}from"react/jsx-runtime";var fa="k-menu",Wm=[],qm={},qo={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Ne=e=>{let{children:t,orientation:o=qo.orientation,header:s=qo.header,scrollable:r,scrollButtonsPosition:p=qo.scrollButtonsPosition,wrapperStyles:l,dir:c,popup:u,...N}=e,h={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},S=Nt("ul",{dir:c,...N,className:n(e.className,"k-reset",fa,{[`${fa}-${o}`]:o,"k-header":s}),children:t});return Wo(ua,{children:[r?Wo(qr,{orientation:o,style:l,dir:e.dir,children:[p==="start"&&Wo(ua,{children:[Nt(f,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Nt(f,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),p==="around"&&Nt(f,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),S,p==="end"&&Wo(ua,{children:[Nt(f,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${h[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev"}),Nt(f,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}),p==="around"&&Nt(f,{fillMode:"flat",rounded:null,size:"medium",icon:`caret-alt-${h[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next"})]}):S,u]})};Ne.states=Wm;Ne.options=qm;Ne.className=fa;Ne.defaultOptions=qo;Ne.moduleName=Z;Ne.folderName=ie;import{jsx as Zm}from"react/jsx-runtime";var ba="k-separator",Zr={orientation:"horizontal"},xt=e=>{let{orientation:t=Zr.orientation,...o}=e;return Zm("li",{...o,className:n(e.className,"k-item",ba,{[`${ba}-${t}`]:t})})};xt.className=ba;xt.defaultOptions=Zr;xt.moduleName=Z;xt.folderName=ie;import{Fragment as YT,jsx as QT}from"react/jsx-runtime";import{jsx as Yr}from"react/jsx-runtime";import{createElement as jm}from"react";var Na="k-menu-group",Ym=[],Qm={size:[i.small,i.medium,i.large]},xa={size:i.medium,dir:"ltr"},Ke=e=>{let{children:t,size:o=xa.size,dir:s=xa.dir,...r}=e,p=[];return t&&Array.isArray(t)&&t.map((l,c)=>{l.type===le?p.push(jm(le,{...l.props,dir:s,key:c})):l.type===xt?p.push(Yr(xt,{})):p.push(l)}),Yr("ul",{...r,className:n(e.className,Na,k(Na,{size:o})),children:p})};Ke.states=Ym;Ke.options=Qm;Ke.className=Na;Ke.defaultOptions=xa;Ke.moduleName=Z;Ke.folderName=ie;import{Fragment as pO,jsx as lO,jsxs as mO}from"react/jsx-runtime";import{Fragment as xO,jsx as bO,jsxs as NO}from"react/jsx-runtime";import{Fragment as SO,jsx as vO,jsxs as EO}from"react/jsx-runtime";import{Fragment as TO,jsx as CO,jsxs as OO}from"react/jsx-runtime";import{Fragment as KO,jsx as _O,jsxs as RO}from"react/jsx-runtime";import{jsx as jO,jsxs as ey}from"react/jsx-runtime";var ha="split-button",Qr=ha;import{Fragment as oc,jsx as La,jsxs as jr}from"react/jsx-runtime";var Ma="k-split-button",ec=[a.hover,a.focus,a.active,a.selected,a.disabled],tc={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},Ht={size:i.medium,rounded:x.medium,fillMode:b.solid,themeColor:m.base,arrowIconName:"caret-alt-down"},G=e=>{let{size:t=Ht.size,rounded:o=Ht.rounded,fillMode:s=Ht.fillMode,themeColor:r=Ht.themeColor,hover:p,focus:l,active:c,selected:u,disabled:N,icon:h,text:S,arrowIconName:d=Ht.arrowIconName,popup:M,opened:L,...E}=e;return jr(oc,{children:[jr("div",{...E,className:n(e.className,Ma,"k-button-group",k(Ma,{rounded:o})),children:[La(f,{text:S,icon:h,size:t,rounded:o,fillMode:s,themeColor:r,hover:p,focus:l,active:c,selected:u,disabled:N,children:e.children}),La(f,{className:"k-split-button-arrow",icon:d,size:t,rounded:o,fillMode:s,disabled:N})]}),L&&M&&La(D,{className:"k-menu-popup",children:M})]})};G.states=ec;G.options=tc;G.className=Ma;G.defaultOptions=Ht;G.moduleName=ha;G.folderName=Qr;var va=G;import{jsx as ac}from"react/jsx-runtime";var nc="k-toolbar-separator",ht=e=>ac("div",{className:n(nc,e.className,"k-separator")});var Re="toolbar",je=Re;import{Fragment as Sa,jsx as I,jsxs as zt}from"react/jsx-runtime";var Pe="k-toolbar",sc=[a.focus],rc={size:[i.small,i.medium,i.large],fillMode:[b.solid,b.outline,b.flat]},Ea={size:i.medium,fillMode:b.solid,scrollButtons:"around"},Y=e=>{let{size:t=Ea.size,fillMode:o=Ea.fillMode,focus:s,resizable:r,scrollable:p,scrollButtons:l,scrollingPosition:c,section:u,...N}=e,h=[],S=(d,M)=>{let L=[];if(d.type===f&&d.props.className&&d.props.className.includes("k-toolbar-overflow-button"))L.push(I(f,{...d.props,className:`${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`));else if(d.type===f)L.push(I(f,{...d.props,className:`k-toolbar-button ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`));else if(d.type===vn)L.push(I(vn,{...d.props,className:`k-toolbar-button ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`));else if(d.type===Oe)L.push(I(Oe,{...d.props,className:`k-toolbar-button ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`));else if(d.type===U)L.push(I(U,{...d.props,className:`k-toolbar-menu-button ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`));else if(d.type===va)L.push(I(va,{...d.props,className:`k-toolbar-split-button ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`));else if(d.type===K||d.props.className&&d.props.className.includes("k-button-group")){let E=[];(Array.isArray(d.props.children)?d.props.children:[d.props.children]).forEach((A,B)=>{E.push(I(f,{...A.props,className:`${A.props.className?A.props.className:""}`},`${B}-${new Date().getTime()}`))}),L.push(I(K,{...d.props,className:`k-toolbar-button-group ${d.props.className?d.props.className:""}`,children:E},`${M}-${new Date().getTime()}`))}else d.type===_e?L.push(I(_e,{...d.props,className:`k-toolbar-combobox ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`)):d.type===ke?L.push(I(ke,{...d.props,className:`k-toolbar-dropdownlist ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`)):d.type===fe?L.push(I(fe,{...d.props,className:`k-toolbar-colorpicker ${d.props.className?d.props.className:""}`},`${M}-${new Date().getTime()}`)):L.push(d);L.forEach(E=>{h.push(E)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,L)=>{S(M,L)}),zt("div",{...N,className:n(e.className,Pe,k(Pe,{size:t,fillMode:o}),g(Pe,{focus:s}),{[`${Pe}-resizable`]:r,[`${Pe}-scrollable`]:p,[`${Pe}-scrollable-overlay`]:p&&l==="hidden",[`${Pe}-scrollable-${c}`]:c&&c!=="both",[`${Pe}-section`]:u}),children:[!p&&h,p&&l==="hidden"&&I("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),p&&l==="start"&&zt(Sa,{children:[zt(K,{children:[I("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o,themeColor:m.base,rounded:x.medium}),"k-icon-button"),children:I(v,{className:"k-button-icon",icon:"caret-alt-left"})}),I("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o,themeColor:m.base,rounded:x.medium}),"k-icon-button"),children:I(v,{className:"k-button-icon",icon:"caret-alt-right"})})]}),I(ht,{className:"k-toolbar-button-separator"}),I("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),p&&l==="end"&&zt(Sa,{children:[I("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),I(ht,{className:"k-toolbar-button-separator"}),zt(K,{children:[I("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o,themeColor:m.base,rounded:x.medium}),"k-icon-button"),children:I(v,{className:"k-button-icon",icon:"caret-alt-left"})}),I("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o,themeColor:m.base,rounded:x.medium}),"k-icon-button"),children:I(v,{className:"k-button-icon",icon:"caret-alt-right"})})]})]}),p&&(l==="around"||!l)&&zt(Sa,{children:[I("span",{className:n("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o,themeColor:m.base,rounded:x.medium}),"k-icon-button"),children:I(v,{className:"k-button-icon",icon:"caret-alt-left"})}),I(ht,{className:"k-toolbar-button-separator"}),I("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),I(ht,{className:"k-toolbar-button-separator"}),I("span",{className:n("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o,themeColor:m.base,rounded:x.medium}),"k-icon-button"),children:I(v,{className:"k-button-icon",icon:"caret-alt-right"})})]})]})};Y.states=sc;Y.options=rc;Y.className=Pe;Y.defaultOptions=Ea;Y.moduleName=Re;Y.folderName=je;import{jsx as mc}from"react/jsx-runtime";var ei="k-floating-toolbar",ic=[],lc={},pc={},Ut=e=>{let{...t}=e;return mc("div",{...t,className:n(e.className,ei),children:e.children})};Ut.states=ic;Ut.options=lc;Ut.className=ei;Ut.defaultOptions=pc;Ut.moduleName=Re;Ut.folderName=je;import{jsx as fc}from"react/jsx-runtime";var ga="k-toolbar-item",cc=[a.focus],dc={},uc={},Gt=e=>{let{focus:t,...o}=e;return fc("div",{...o,className:n(e.className,ga,g(ga,{focus:t})),children:e.children})};Gt.states=cc;Gt.options=dc;Gt.className=ga;Gt.defaultOptions=uc;Gt.moduleName=Re;Gt.folderName=je;import{jsx as ti}from"react/jsx-runtime";var oi="k-toolbar-popup",bc=[],Nc={size:[i.small,i.medium,i.large],fillMode:[b.solid,b.outline,b.flat]},ka={size:i.medium,fillMode:b.solid},Ft=e=>{let{size:t=ka.size,fillMode:o=ka.fillMode,section:s,...r}=e;return ti(D,{...r,className:n(e.className,oi),children:s?ti("span",{className:n("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),children:e.children}):e.children})};Ft.states=bc;Ft.options=Nc;Ft.className=oi;Ft.defaultOptions=ka;Ft.moduleName=Re;Ft.folderName=je;import{jsx as Jy}from"react/jsx-runtime";import{jsx as Yy}from"react/jsx-runtime";import{jsx as tI}from"react/jsx-runtime";import{jsx as rI,jsxs as iI}from"react/jsx-runtime";import{jsx as vI,jsxs as SI}from"react/jsx-runtime";import{jsx as II,jsxs as BI}from"react/jsx-runtime";import{jsx as zI,jsxs as UI}from"react/jsx-runtime";import{jsx as qI,jsxs as ZI}from"react/jsx-runtime";import{Fragment as pB,jsx as iB,jsxs as lB}from"react/jsx-runtime";import{Fragment as Mc,jsx as et,jsxs as Aa}from"react/jsx-runtime";var ni="k-message",xc=[a.hover,a.selected,a.active,a.focus],hc={},Lc=[et(f,{icon:"copy",fillMode:"flat"}),et(f,{icon:"arrow-rotate-cw",fillMode:"flat"}),et(f,{icon:"download",fillMode:"flat"})],vo={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:Lc},xe=e=>{let{time:t=vo.time,text:o=vo.text,content:s,status:r=vo.status,statusIcon:p,toolbarItems:l=vo.toolbarItems,hover:c,selected:u,active:N,focus:h,toolbar:S,typing:d,expandable:M,expanded:L,removed:E,files:C,...A}=e;return Aa("div",{...A,className:n(ni,e.className,{"k-message-removed":E}),children:[t&&et("time",{className:"k-message-time",children:t}),et(ai,{typing:d,selected:u,hover:c,active:N,focus:h,content:Aa(Mc,{children:[s,o&&et("span",{className:"k-chat-bubble-text",children:o})]}),expandable:M,expanded:L,files:C}),r&&Aa("span",{className:"k-message-status",children:[p&&et(v,{icon:p,size:"xsmall"}),r]}),S&&et(Y,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};xe.states=xc;xe.options=hc;xe.className=ni;xe.defaultOptions=vo;var Ca="avatar",si=Ca;import{jsx as ri}from"react/jsx-runtime";var So="k-avatar";var vc=[a.hover,a.focus,a.active,a.selected,a.disabled],Sc={size:[i.small,i.medium,i.large],rounded:[x.small,x.medium,x.large,x.full],fillMode:[b.solid,b.flat,b.outline],themeColor:[m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},Lt={type:"text",size:i.medium,rounded:x.full,fillMode:b.solid,themeColor:m.primary,border:!1},De=e=>{let{size:t=Lt.size,rounded:o=Lt.rounded,fillMode:s=Lt.fillMode,themeColor:r=Lt.themeColor,type:p=Lt.type,border:l=Lt.border,...c}=e;return ri("div",{...c,className:n(e.className,So,k(So,{size:t,rounded:o,fillMode:s,themeColor:r}),{[`${So}-bordered`]:l}),children:ri("span",{className:`${So}-${p}`,children:e.children})})};De.states=vc;De.options=Sc;De.className=So;De.defaultOptions=Lt;De.moduleName=Ca;De.folderName=si;import{jsx as PB}from"react/jsx-runtime";import{jsx as zB}from"react/jsx-runtime";import{jsx as $B}from"react/jsx-runtime";import{jsx as $t,jsxs as Ta}from"react/jsx-runtime";var Eo="k-message-group",Ec=[a.selected],gc={},Zo={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},he=e=>{let{type:t=Zo.type,author:o=Zo.author,avatar:s=Zo.avatar,status:r,selected:p,fullWidth:l,...c}=e;return Ta("div",{...c,className:n(Eo,e.className,g(Eo,{selected:p}),{[`${Eo}-${t}`]:t,"k-no-avatar":!s,[`${Eo}-full-width`]:l}),children:[s&&!r&&$t(De,{type:"image",children:$t("img",{src:s})}),r&&s&&Ta("div",{className:"k-chat-user-status-wrapper",children:[$t(De,{type:"image",children:$t("img",{src:s})}),$t("div",{className:"k-chat-user-status"})]}),Ta("div",{className:"k-message-group-content",children:[o&&$t("span",{className:"k-message-author",children:o}),e.children]})]})};he.states=Ec;he.options=gc;he.className=Eo;he.defaultOptions=Zo;import{jsx as kc}from"react/jsx-runtime";var li="k-chat-file-wrapper",pi={layout:"vertical"},Oa=e=>{let{layout:t=pi.layout,...o}=e;return kc("ul",{...o,className:n(e.className,li,{"k-chat-files-horizontal":t==="horizontal","k-chat-files-wrap":t==="wrap"}),children:e.children})};Oa.className=li;Oa.defaultOptions=pi;import{Fragment as Cc,jsx as Yo,jsxs as mi}from"react/jsx-runtime";var ya="k-message-reference",Ac={},ci={type:"receiver"},Ia=e=>{let{content:t,closeable:o,pinned:s,type:r=ci.type,...p}=e;return mi("div",{...p,className:n(ya,e.className,{[`${ya}-${r}`]:r,"k-message-pinned":s}),children:[s&&Yo(v,{icon:"pin",size:"xlarge"}),Yo("div",{className:"k-message-reference-content",children:t}),o&&mi(Cc,{children:[Yo("span",{className:"k-spacer"}),Yo(f,{icon:"x",fillMode:"flat"})]})]})};Ia.options=Ac;Ia.className=ya;Ia.defaultOptions=ci;var Ba="bubble",di=Ba;import{jsx as Qo,jsxs as Oc}from"react/jsx-runtime";var _a="k-bubble",Tc=[a.hover,a.active,a.selected,a.focus],Ka={expandable:!1,expanded:!1},Mt=e=>{let{content:t,hover:o,active:s,focus:r,selected:p,expandable:l=Ka.expandable,expanded:c=Ka.expanded,...u}=e;return Oc("div",{...u,className:n(e.className,_a,g(_a,{hover:o,active:s,focus:r,selected:p}),{"k-bubble-expandable":l},{"k-expanded":c}),children:[Qo("div",{className:"k-bubble-content",children:t??e.children}),l&&Qo("span",{className:"k-bubble-expandable-indicator",children:c?Qo(v,{icon:"chevron-up"}):Qo(v,{icon:"chevron-down"})})]})};Mt.states=Tc;Mt.className=_a;Mt.defaultOptions=Ka;Mt.moduleName=Ba;Mt.folderName=di;import{jsx as x_}from"react/jsx-runtime";import{jsx as v_}from"react/jsx-runtime";import{jsx as k_}from"react/jsx-runtime";import{jsx as Ra,jsxs as fi}from"react/jsx-runtime";var yc="k-chat-bubble",ai=e=>{let{typing:t,content:o,files:s,...r}=e;return fi(Mt,{...r,className:n(e.className,yc),children:[t?fi("div",{className:"k-typing-indicator",children:[Ra("span",{}),Ra("span",{}),Ra("span",{})]}):o,s]})};import{jsx as z_}from"react/jsx-runtime";import{jsx as bi,jsxs as Ic}from"react/jsx-runtime";var Ni="k-chat-event",Pa={icon:"trash",text:"You deleted Chat history."},xi=e=>{let{icon:t=Pa.icon,text:o=Pa.text,...s}=e;return Ic("div",{...s,className:n(e.className,Ni),children:[t&&bi(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&bi("span",{className:"k-chat-event-text",children:o})]})};xi.className=Ni;xi.defaultOptions=Pa;var Da="appbar",hi=Da;import{jsx as Rc}from"react/jsx-runtime";var wa="k-appbar",Bc=[],_c={themeColor:[m.inherit,m.base,m.primary,m.secondary,m.tertiary,m.success,m.warning,m.error,m.info,m.light,m.dark,m.inverse]},Kc={},tt=e=>{let{themeColor:t,positionMode:o,position:s,...r}=e;return Rc("div",{...r,className:n(e.className,wa,k(wa,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${s}`]:s}),children:e.children})};tt.states=Bc;tt.options=_c;tt.className=wa;tt.defaultOptions=Kc;tt.moduleName=Da;tt.folderName=hi;import{jsx as j_}from"react/jsx-runtime";import{Fragment as iK,jsx as sK,jsxs as rK}from"react/jsx-runtime";import{jsx as xK}from"react/jsx-runtime";import{jsx as Pc}from"react/jsx-runtime";var Li="k-chat-send",Mi={generating:!1},gt=e=>{let{generating:t=Mi.generating,...o}=e;return Pc(f,{...o,fillMode:"solid",themeColor:"primary",rounded:"full",icon:t?"stop-sm":"paper-plane",active:t,className:n(e.className,Li,{"k-generating":t})})};gt.states=f.states;gt.options=f.options;gt.className=Li;gt.defaultOptions=Mi;import{jsx as Xt,jsxs as vi}from"react/jsx-runtime";var Si="k-chat-file",Dc=[a.selected],wc={},go={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},ko=e=>{let{icon:t=go.icon,name:o=go.name,size:s=go.size,status:r,deleted:p,removeButton:l,showButton:c=go.showButton,...u}=e;return vi("li",{...u,className:n(Si,e.className,{"k-chat-file-deleted":p}),children:[Xt(v,{icon:t,size:"xlarge"}),vi("div",{className:"k-chat-file-info",children:[o&&Xt("span",{className:"k-chat-file-name",children:o}),s&&Xt("span",{className:"k-chat-file-size",children:s}),r&&Xt("span",{className:"k-chat-file-status",children:r})]}),c&&(l?Xt(Oe,{icon:"x",fillMode:"flat"}):Xt(U,{icon:"more-vertical",fillMode:"flat",showArrow:!1}))]})};ko.states=Dc;ko.options=wc;ko.className=Si;ko.defaultOptions=go;import{Fragment as RK,jsx as KK,jsxs as PK}from"react/jsx-runtime";import{Fragment as UK,jsx as zK,jsxs as GK}from"react/jsx-runtime";import{Fragment as JK,jsx as VK,jsxs as WK}from"react/jsx-runtime";var Ha="skeleton",Ei=Ha;import{jsx as Gc}from"react/jsx-runtime";var za="k-skeleton",Hc=["circle","text","rect"],zc=[],Uc={},Ua={variant:"text",shape:"text",animation:"pulse"},Ce=e=>{let{variant:t,shape:o,animation:s=Ua.animation,...r}=e,p=`skeleton-${t||o||Ua.variant}`;return Gc("span",{...r,className:n(e.className,za,yo(za,p),{[`k-skeleton-${s}`]:s}),style:e.style})};Ce.states=zc;Ce.options=Uc;Ce.variants=Hc;Ce.className=za;Ce.defaultOptions=Ua;Ce.moduleName=Ha;Ce.folderName=Ei;import{jsx as nR}from"react/jsx-runtime";import{jsx as iR}from"react/jsx-runtime";import{jsx as cR}from"react/jsx-runtime";import{Fragment as kR,jsx as ER,jsxs as gR}from"react/jsx-runtime";var Ga="window",gi=Ga;import{jsx as Vc}from"react/jsx-runtime";var ki="k-window-content",Fc=[],$c={},Xc={},ot=e=>{let{children:t,...o}=e;return Vc("div",{...o,className:n(ki,e.className),children:t})};ot.states=Fc;ot.options=$c;ot.className=ki;ot.defaultOptions=Xc;ot.moduleName=Ga;ot.folderName=gi;var Ao="dialog",jo=Ao;import{Fragment as qc,jsx as vt,jsxs as Fa}from"react/jsx-runtime";var $a="k-dialog",Jc=[],Wc={themeColor:[m.primary,m.light,m.dark]},Xa={actionButtonsAlign:"stretched",modal:!0},St=e=>{let{title:t,actions:o,themeColor:s,actionButtons:r,actionButtonsAlign:p=Xa.actionButtonsAlign,modal:l=Xa.modal,...c}=e;return Fa("div",{className:"k-dialog-wrapper",children:[l&&vt("div",{className:"k-overlay"}),Fa("div",{...c,className:n(e.className,$a,"k-window",k($a,{themeColor:s})),children:[(t!==void 0||o)&&Fa("div",{className:"k-window-titlebar k-dialog-titlebar",children:[t!==void 0&&vt("span",{className:"k-window-title k-dialog-title",children:t}),o&&vt(qc,{children:vt("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(u=>vt(f,{icon:u,fillMode:"flat",className:"k-window-titlebar-action k-dialog-titlebar-action"},u))})})]}),vt(ot,{className:"k-dialog-content",children:e.children}),r&&vt(W,{alignment:p,className:"k-window-actions k-dialog-actions",children:r})]})]})};St.states=Jc;St.options=Wc;St.className=$a;St.defaultOptions=Xa;St.moduleName=Ao;St.folderName=jo;import{jsx as jc}from"react/jsx-runtime";var Ai="k-dialog-wrapper",Zc=[],Yc={},Qc={},Vt=e=>{let{...t}=e;return jc("div",{...t,className:n(e.className,Ai),children:e.children})};Vt.states=Zc;Vt.options=Yc;Vt.className=Ai;Vt.defaultOptions=Qc;Vt.moduleName=Ao;Vt.folderName=jo;import{Fragment as JR,jsx as WR,jsxs as qR}from"react/jsx-runtime";import{Fragment as eP,jsx as tP,jsxs as oP}from"react/jsx-runtime";var Va="dropzone",Ci=Va;import{jsx as en,jsxs as nd}from"react/jsx-runtime";var Ja="k-external-dropzone",td=[a.disabled,a.hover],od={},Wa={icon:"upload",hint:"Drag and drop files here to upload"},we=e=>{let{hover:t,disabled:o,icon:s=Wa.icon,hint:r=Wa.hint,note:p,...l}=e;return en("div",{...l,className:n(e.className,Ja,g(Ja,{disabled:o}),{"k-external-dropzone-hover":t}),children:nd("div",{className:"k-dropzone-inner",children:[s&&en(v,{icon:s,className:"k-dropzone-icon",size:"xxxlarge"}),r&&en("span",{className:"k-dropzone-hint",children:r}),p&&en("span",{className:"k-dropzone-note",children:p})]})})};we.states=td;we.options=od;we.className=Ja;we.defaultOptions=Wa;we.moduleName=Va;we.folderName=Ci;import{jsx as xP}from"react/jsx-runtime";import{jsx as vP}from"react/jsx-runtime";import{Fragment as Co,jsx as He,jsxs as To}from"react/jsx-runtime";var qa="k-upload-dropzone",ad=[a.hover],tn=e=>{let{hover:t,status:o,...s}=e,r=He(Co,{});switch(o){case"uploading":r=To(Co,{children:[He(v,{icon:"upload"}),"Uploading..."]});break;case"done":r=To(Co,{children:[He(v,{icon:"check"}),"Done"]});break;case"failed":r=To(Co,{children:[He(v,{icon:"exclamation-circle"}),"Done"]});break;default:r=He(Co,{});break}return To("div",{...s,className:n(e.className,qa,"k-dropzone",g(qa,{hover:t})),children:[To("div",{className:"k-upload-button-wrap",children:[He(f,{className:"k-upload-button",children:"Select files..."}),He("input",{id:"upload-input",className:"k-hidden"})]}),He("span",{className:n("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&He("span",{className:"k-upload-status",children:r})]})};tn.states=ad;tn.className=qa;var Za="upload",Ti=Za;import{jsx as on,jsxs as Oi}from"react/jsx-runtime";var Ya="k-upload",sd=[a.hover,a.disabled],rd={},yi={actionsLayout:"end"},Le=e=>{let{async:t,empty:o,actions:s,actionsLayout:r=yi.actionsLayout,hover:p,status:l,disabled:c,...u}=e;return Oi("div",{...u,className:n(e.className,Ya,g(Ya,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[on(tn,{status:l,hover:p}),e.children&&on("ul",{className:"k-upload-files",children:e.children}),s&&e.children&&Oi(Gs,{alignment:r,orientation:"horizontal",children:[on(f,{className:"k-clear-selected",children:"Clear"}),on(f,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};Le.states=sd;Le.options=rd;Le.className=Ya;Le.defaultOptions=yi;Le.moduleName=Za;Le.folderName=Ti;var Oo="progressbar",nn=Oo;import{jsx as ja,jsxs as Qa}from"react/jsx-runtime";var pe="k-progressbar",id=[a.disabled,a.indeterminate],ld={},Et={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},nt=e=>{let{disabled:t,height:o,indeterminate:s=Et.indeterminate,label:r=Et.label,labelPosition:p=Et.labelPosition,orientation:l=Et.orientation,reverse:c=Et.reverse,value:u=Et.value,width:N,style:h,...S}=e;return Qa("div",{...S,className:n(e.className,pe,g(pe,{disabled:t}),{[`${pe}-${l}`]:l,[`${pe}-indeterminate`]:s,[`${pe}-reverse`]:c}),style:{...h,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:N},children:[ja("span",{className:n("k-progress-status-wrap",{[`k-progress-${p}`]:p&&!s}),children:r&&Qa("span",{className:"k-progress-status",children:[u,"%"]})}),!s&&ja("div",{className:"k-progressbar-value k-selected",children:ja("span",{className:n("k-progress-status-wrap",{[`k-progress-${p}`]:p}),children:r&&Qa("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};nt.states=id;nt.options=ld;nt.className=pe;nt.defaultOptions=Et;nt.moduleName=Oo;nt.folderName=nn;import{jsx as es}from"react/jsx-runtime";var Ii="k-chunk-progressbar",pd=(e,t)=>t<=e-1,md=[a.disabled,a.indeterminate],cd={},an={chunkCount:5,orientation:"horizontal",progress:0},Jt=e=>{let{disabled:t,chunkCount:o=an.chunkCount,indeterminate:s,orientation:r=an.orientation,progress:p=an.progress,reverse:l,...c}=e;return es("div",{...c,className:n(e.className,pe,Ii,g(pe,{disabled:t}),{[`${pe}-${r}`]:r,[`${pe}-indeterminate`]:s,[`${pe}-reverse`]:l}),children:es("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((u,N)=>es("li",{className:n("k-progressbar-chunk",{"k-first":N===0,"k-last":N===[...Array(o)].length-1,"k-selected":pd(p,N)})},N))})})};Jt.states=md;Jt.options=cd;Jt.className=Ii;Jt.defaultOptions=an;Jt.moduleName=Oo;Jt.folderName=nn;import{jsx as jP}from"react/jsx-runtime";import{jsx as aD}from"react/jsx-runtime";import{jsx as uD,jsxs as fD}from"react/jsx-runtime";import{Fragment as gD,jsx as SD,jsxs as ED}from"react/jsx-runtime";import{Fragment as _D,jsx as ID,jsxs as BD}from"react/jsx-runtime";import{Fragment as wD,jsx as DD,jsxs as HD}from"react/jsx-runtime";import{Fragment as VD,jsx as $D,jsxs as XD}from"react/jsx-runtime";import{jsx as ZD}from"react/jsx-runtime";import{Fragment as t0,jsx as e0,jsxs as o0}from"react/jsx-runtime";import{Fragment as v0,jsx as M0,jsxs as S0}from"react/jsx-runtime";import{jsx as A0}from"react/jsx-runtime";import{Fragment as fd,jsx as sn,jsxs as bd}from"react/jsx-runtime";var W0=e=>sn(F,{generating:!0,children:bd(fd,{children:[sn("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),sn(he,{fullWidth:!0,avatar:null,children:sn(xe,{})})]}),...e});export{W0 as ChatStopResponse};