@progress/kendo-themes-html 14.1.0-dev.0 → 14.1.0-dev.2
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/cjs/breadcrumb/demos/breadcrumb.js +1 -1
- package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-auto.js +1 -1
- package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-none.js +1 -1
- package/dist/cjs/breadcrumb/templates/breadcrumb-collapsing-wrap.js +1 -1
- package/dist/cjs/chat/chat-message-reference.js +1 -1
- package/dist/cjs/chat/chat-message.js +1 -1
- package/dist/cjs/chat/demos/chat.js +1 -1
- package/dist/cjs/chat/templates/chat-empty.js +1 -1
- package/dist/cjs/chat/templates/chat-expandable.js +1 -1
- package/dist/cjs/chat/templates/chat-failed.js +1 -1
- package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
- package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
- package/dist/cjs/chat/templates/chat-normal.js +1 -1
- package/dist/cjs/chat/templates/chat-pinned.js +1 -1
- package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
- package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
- package/dist/cjs/chat/templates/chat-typing.js +1 -1
- package/dist/cjs/chat/templates/chat-upload.js +1 -1
- package/dist/cjs/file-box/file-box.spec.js +1 -1
- package/dist/cjs/file-box/templates/file-box-default.js +1 -1
- package/dist/cjs/file-box/templates/file-box-multiple.js +1 -1
- package/dist/cjs/file-box/templates/file-box-no-button.js +1 -1
- package/dist/cjs/file-box/templates/file-box-remove-button.js +1 -1
- package/dist/cjs/file-box/templates/file-box-vertical.js +1 -1
- package/dist/cjs/filemanager/demos/filemanager.js +1 -1
- package/dist/cjs/filemanager/file-info.js +1 -1
- package/dist/cjs/filemanager/filemanager-breadcrumb.spec.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-normal.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-preview.js +1 -1
- package/dist/cjs/grid/templates/grid-with-pinned-rows-pin-column.js +1 -1
- package/dist/cjs/grid/templates/grid-with-pinned-rows.js +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/pdf-viewer/demos/pdf-viewer.js +1 -1
- package/dist/cjs/pdf-viewer/pdf-viewer.spec.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-blank.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-normal.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-with-annotations.js +1 -1
- package/dist/cjs/pdf-viewer/templates/pdf-viewer-with-search-panel.js +1 -1
- package/dist/esm/breadcrumb/demos/breadcrumb.mjs +1 -1
- package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-auto.mjs +1 -1
- package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-none.mjs +1 -1
- package/dist/esm/breadcrumb/templates/breadcrumb-collapsing-wrap.mjs +1 -1
- package/dist/esm/chat/chat-message-reference.mjs +1 -1
- package/dist/esm/chat/chat-message.mjs +1 -1
- package/dist/esm/chat/demos/chat.mjs +1 -1
- package/dist/esm/chat/templates/chat-empty.mjs +1 -1
- package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
- package/dist/esm/chat/templates/chat-failed.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
- package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
- package/dist/esm/chat/templates/chat-normal.mjs +1 -1
- package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
- package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
- package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
- package/dist/esm/chat/templates/chat-typing.mjs +1 -1
- package/dist/esm/chat/templates/chat-upload.mjs +1 -1
- package/dist/esm/file-box/file-box.spec.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-default.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-multiple.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-no-button.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-remove-button.mjs +1 -1
- package/dist/esm/file-box/templates/file-box-vertical.mjs +1 -1
- package/dist/esm/filemanager/demos/filemanager.mjs +1 -1
- package/dist/esm/filemanager/file-info.mjs +1 -1
- package/dist/esm/filemanager/filemanager-breadcrumb.spec.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid-preview.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-normal.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-preview.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-pinned-rows-pin-column.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-pinned-rows.mjs +1 -1
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/pdf-viewer/demos/pdf-viewer.mjs +1 -1
- package/dist/esm/pdf-viewer/pdf-viewer.spec.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-blank.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-normal.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-with-annotations.mjs +1 -1
- package/dist/esm/pdf-viewer/templates/pdf-viewer-with-search-panel.mjs +1 -1
- package/package.json +2 -2
- package/src/breadcrumb/demos/breadcrumb.tsx +2 -2
- package/src/chat/chat-message-reference.tsx +2 -2
- package/src/chat/tests/chat-files-pin.tsx +2 -2
- package/src/chat/tests/chat-message-action-copy.tsx +1 -1
- package/src/chat/tests/chat-message-action-delete.tsx +1 -1
- package/src/chat/tests/chat-message-action-pin.tsx +2 -2
- package/src/chat/tests/chat-message-action-reply.tsx +2 -2
- package/src/chat/tests/chat-message-actions.tsx +2 -2
- package/src/chat/tests/chat-message-toolbar.tsx +1 -1
- package/src/file-box/file-box.spec.tsx +1 -1
- package/src/grid/templates/grid-with-pinned-rows-pin-column.tsx +6 -6
- package/src/grid/templates/grid-with-pinned-rows.tsx +2 -2
- package/src/grid/tests/grid-row-pinning-adaptive.tsx +3 -3
- package/src/grid/tests/grid-row-pinning-with-sticky-grouping.tsx +1 -1
- package/src/grid/tests/grid-row-pinning.tsx +27 -27
- package/src/pdf-viewer/pdf-viewer.spec.tsx +2 -2
- package/src/tabstrip/tests/tabstrip-actions.tsx +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>r({[`${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.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),S=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:p,active:c,selected:u,disabled:f,indeterminate:x,loading:N,empty:m,readonly:L,highlighted:k,...y}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":p,"k-active":c,"k-selected":u,"k-disabled":f,"k-indeterminate":x&&!p,"k-loading":N,"k-empty":m,"k-readonly":L,"k-highlighted":k},Object.keys(y).reduce((C,M)=>(M.startsWith("k-")?C[M]=y[M]:C[`k-${M}`]=y[M],C),{}))};function Wa(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},lt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={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 Wn={};function w(e){return Wn[e]=(Wn[e]||0)+1,`k-${e}-${Wn[e]}`}import{Fragment as kd,jsx as js}from"react/jsx-runtime";var Jn="k-font-icon",gd=[],Nd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},vd={},ma=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...p}=e;return a?js("span",{...p,className:r(e.className,Jn,A(Jn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):js(kd,{})};ma.states=gd;ma.options=Nd;ma.className=Jn;ma.defaultOptions=vd;var ei=ma;import{Fragment as Sd,jsx as Ja}from"react/jsx-runtime";var Yn="k-svg-icon",Ld=[],Md={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[lt.outline,lt.solid,lt.duotone]},Zn={viewBox:"0 0 24 24",variant:lt.outline},ua=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=Zn.viewBox,variant:p=Zn.variant,icon:c,...u}=e;if(!c)return Ja(Sd,{});if(c==="none")return Ja("span",{...u,className:r(e.className,Yn,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name,x=typeof c=="object"?p&&c.variants?.[p]||c.variants?.outline||c.content:void 0;return Ja("span",{...u,className:r(e.className,Yn,A("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ja("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:c?void 0:e.children})})};ua.states=Ld;ua.options=Md;ua.className=Yn;ua.defaultOptions=Zn;var Qn=ua;import*as jn from"@progress/kendo-svg-icons";var ti="icon",oi="icons";import{useContext as Ad}from"react";import{createContext as yd}from"react";var ai=yd({iconsType:"svg"});import{Fragment as ni,jsx as fa}from"react/jsx-runtime";var Ya="k-icon",Cd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ed=[],Id={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[lt.outline,lt.solid,lt.duotone]},Za={viewBox:"0 0 24 24",type:"svg",variant:lt.outline},v=e=>{let{iconsType:t}=Ad(ai),{size:o,themeColor:a,icon:n,type:i=t||Za.type,rotate:p,flip:c,viewBox:u=Za.viewBox,variant:f=Za.variant,...x}=e;if(!n)return fa(ni,{});if((t||i)==="svg"){if(n==="none")return fa(Qn,{...x,className:r(e.className,Ya),icon:n,size:o,variant:f});let m=jn[n]?n:Cd(`${n}-icon`);return jn[m]?fa(Qn,{...x,className:r(e.className,Ya),icon:jn[m],size:o,themeColor:a,rotate:p,flip:c,viewBox:u,variant:f}):fa(ni,{})}return fa(ei,{...x,className:r(e.className,Ya),icon:n,size:o,themeColor:a,rotate:p,flip:c})};v.states=Ed;v.options=Id;v.defaultOptions=Za;v.className=Ya;v.moduleName=ti;v.folderName=oi;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var er="button",ri=er;import{Fragment as Pd,jsx as ba,jsxs as si}from"react/jsx-runtime";var ha="k-button",Td=["icon-button"],Od=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Bd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},tr={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:p=tr.showArrow,arrowIconName:c=tr.arrowIconName,variant:u,hover:f,focus:x,active:N,selected:m,disabled:L,togglable:k,ariaDisabled:y,icon:C,text:M,iconClassName:I,className:X,...de}=e,xe=C!==void 0,ge=e.children!==void 0;return si(t,{className:r(X,ha,Wa(ha,u),A(ha,{size:o,rounded:a,fillMode:n,themeColor:i}),S(ha,{hover:f,focus:x,active:N,disabled:L||y,selected:m}),{"k-icon-button":!M&&!ge&&xe}),...de,"aria-pressed":k?m?"true":"false":void 0,"aria-disabled":y?"true":void 0,disabled:L||void 0,children:[C&&ba(v,{className:r(I,"k-button-icon"),icon:C}),M?si(Pd,{children:[M&&ba("span",{className:"k-button-text",children:M}),e.children]}):e.children&&ba("span",{className:"k-button-text",children:e.children}),p&&ba("span",{className:"k-menu-button-arrow k-button-arrow",children:ba(v,{icon:c})})]})};l.states=Od;l.options=Bd;l.variants=Td;l.className=ha;l.defaultOptions=tr;l.moduleName=er;l.folderName=ri;l.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as wd}from"react/jsx-runtime";var ie=e=>wd(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Rd}from"react/jsx-runtime";var xa=e=>Rd(l,{icon:"folder",children:"Button",...e});import{jsx as Kd}from"react/jsx-runtime";var ot=e=>Kd(l,{children:"Button",...e});import{jsx as or}from"react/jsx-runtime";var _d=l.options,Dd=l.states,Hd={...l.defaultOptions,variant:"text"},zd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ud=[],uo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return or(ie,{...o,icon:"star"});case"icon-and-text":return or(xa,{...o,icon:"star",children:"Button"});default:return or(ot,{...o,children:"Button"})}};uo.options=_d;uo.states=Dd;uo.variants=zd;uo.defaultOptions=Hd;uo.modifiers=Ud;uo.className=l.className;import{jsx as ii,jsxs as Xd}from"react/jsx-runtime";var Qa="k-fab",Vd=[s.hover,s.focus,s.active,s.selected,s.disabled],$d={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},li={type:"button"},Y=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:p=li.type,position:c,hover:u,focus:f,active:x,selected:N,disabled:m,...L}=e;return Xd("button",{...L,type:p,className:r(e.className,Qa,A(Qa,{size:t,rounded:o,themeColor:a}),S(Qa,{hover:u,focus:f,active:x,disabled:m,selected:N}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&ii(v,{className:"k-fab-icon",icon:i}),n&&ii("span",{className:"k-fab-text",children:n})]})};Y.states=Vd;Y.options=$d;Y.className=Qa;Y.defaultOptions=li;Y.moduleName="fab";Y.folderName="fab";Y.ariaSpec={selector:".k-fab",rules:[{selector:".k-fab",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-fab",attribute:"aria-label or title (when icon-only)",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-fab.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."}]};import{jsx as Wd}from"react/jsx-runtime";var qd="k-fab-items",pi=e=>{let{position:t,...o}=e;return Wd("ul",{...o,className:r(e.className,qd,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as ci,jsxs as Yd}from"react/jsx-runtime";var di="k-fab-item",Jd=[s.hover,s.focus,s.active,s.disabled],ar=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:p,disabled:c,...u}=e;return Yd("li",{...u,className:r(e.className,di,{[`k-text-${a}`]:a},S(di,{hover:n,focus:i,active:p,disabled:c})),children:[ci("span",{className:"k-fab-item-text",children:t}),ci(v,{className:"k-fab-item-icon",icon:o})]})};ar.states=Jd;import{jsx as nv}from"react/jsx-runtime";import{jsx as Zd}from"react/jsx-runtime";var mi=e=>Zd(Y,{icon:"plus",...e});import{jsx as cv}from"react/jsx-runtime";import{jsx as bv}from"react/jsx-runtime";import{jsx as fo,jsxs as ac}from"react/jsx-runtime";var Qd=Y.options,jd=Y.states,ec={...Y.defaultOptions,variant:"text"},tc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],oc=[{name:"opened",title:"Opened"}],bo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?fo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:fo(pi,{position:"bottom",children:fo(ar,{text:"Item",icon:"pencil",align:"right"})})}):null,p;switch(t){case"icon-only":p=fo(Y,{...a,icon:"star"});break;case"icon-and-text":p=fo(Y,{...a,icon:"star",text:"Action"});break;default:p=fo(Y,{...a,text:"Action"});break}return ac("span",{style:{position:"relative"},children:[p,i]})};bo.options=Qd;bo.states=jd;bo.variants=tc;bo.defaultOptions=ec;bo.modifiers=oc;bo.className=Y.className;import{jsx as sc}from"react/jsx-runtime";var nr="k-input-inner",nc=[],rc={},ja={type:"text",autocomplete:"off",value:"",placeholder:""},Ne=e=>{let{value:t=ja.value,type:o=ja.type,placeholder:a=ja.placeholder,autocomplete:n=ja.autocomplete,disabled:i,readOnly:p,...c}=e;return sc("input",{...c,type:o,className:r(e.className,nr,A(nr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:p||void 0})};Ne.states=nc;Ne.options=rc;Ne.className=nr;import{jsx as pc}from"react/jsx-runtime";var rr="k-input-inner",ic=[],lc={},ui={value:"",placeholder:""},ga=e=>{let{value:t=ui.value,placeholder:o=ui.placeholder,rows:a,disabled:n,...i}=e;return pc("textarea",{...i,className:r(e.className,rr,A(rr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=ic;ga.options=lc;ga.className=rr;var sr="prompt-box",fi=sr;var ir="speech-to-text-button",bi=ir;import{jsx as dc}from"react/jsx-runtime";var hi="k-speech-to-text-button",xi={icon:"microphone"},Ce=e=>{let{listening:t=!1,icon:o=xi.icon,...a}=e;return dc(l,{...a,icon:t?"stop":o,className:r(e.className,hi,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};Ce.states=l.states;Ce.options=l.options;Ce.className=hi;Ce.defaultOptions=xi;Ce.moduleName=ir;Ce.folderName=bi;Ce.ariaSpec={selector:".k-speech-to-text-button",rules:[{selector:".k-button.k-speech-to-text-button",attribute:"role=button or nodeName=button",usage:"If the used element is not <button>, explicitly set its role to button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-pressed",usage:"Announces the toggle behaviour of the button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-label",usage:"Accessible name for the speech-to-text button."}]};import{jsx as Yv}from"react/jsx-runtime";import{jsx as ek}from"react/jsx-runtime";import{jsx as bc}from"react/jsx-runtime";var cc=l.states,gi={...l.defaultOptions,variant:"normal"},mc={...l.options,fillMode:l.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},uc=[],fc=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],ho=e=>{let{variant:t,...o}={...gi,...e},a={};return t==="listening"&&(a.listening=!0),bc(Ce,{...o,...a})};ho.options=mc;ho.states=cc;ho.variants=fc;ho.defaultOptions=gi;ho.modifiers=uc;ho.className=Ce.className;import{jsx as xo,jsxs as lr}from"react/jsx-runtime";var pt="k-prompt-box",hc=[s.hover,s.focus,s.disabled],xc={fillMode:[h.undefined,h.solid,h.flat,h.outline]},pr={lineMode:"auto",isExpanded:!1},Nt=e=>{let{fillMode:t,lineMode:o=pr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:p=pr.isExpanded,className:c,children:u,value:f,placeholder:x,generating:N,hover:m,focus:L,disabled:k,...y}=e,C=o==="multi"||o==="auto"&&p;return lr("div",{...y,className:r(c,"k-input",pt,{[`${pt}-singleline`]:o==="single",[`${pt}-multiline`]:C,[`k-input-${t}`]:t,"k-hover":m,"k-focus":L,"k-disabled":k}),children:[i&&xo("div",{className:`${pt}-header`,children:i}),lr("div",{className:`${pt}-content`,children:[a&&xo("div",{className:`${pt}-affix`,children:a}),o==="single"?xo(Ne,{value:f,placeholder:x,className:`${pt}-input`,type:"text","aria-label":"Prompt input"}):xo(ga,{value:f,placeholder:x,className:`${pt}-textarea`,rows:o==="multi"||p?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),lr("div",{className:`${pt}-affix`,children:[n,xo(Ce,{size:"small",fillMode:"flat",rounded:"full"}),xo(ie,{icon:N?"stop":"arrow-up",size:"small",rounded:"full",active:N,disabled:!f&&!N,className:r({"k-generating":N}),"aria-label":N?"Stop generating":"Send prompt","aria-live":"polite"})]})]}),u]})};Nt.states=hc;Nt.options=xc;Nt.className=pt;Nt.defaultOptions=pr;Nt.moduleName=sr;Nt.folderName=fi;Nt.ariaSpec={selector:".k-prompt-box",rules:[{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"nodeName=input",usage:"Ensures the input field has the proper textbox role."},{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"aria-label",usage:"Provides an accessible label for the single-line input."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the textarea has the proper textbox role."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the textarea."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the textarea supports multiple lines of text."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the auto-mode textarea has the proper textbox role."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the auto-mode textarea."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the auto-mode textarea supports multiple lines of text."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-label",usage:"The send/stop button is labelled to indicate its current action."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-live=polite",usage:"Announces the change in status of the send/stop button."}]};import{jsx as Lk}from"react/jsx-runtime";import{jsx as Ak}from"react/jsx-runtime";import{jsx as Tk}from"react/jsx-runtime";import{jsx as wk}from"react/jsx-runtime";import{jsx as Dk}from"react/jsx-runtime";var dr="chat",Ni=dr;import{Fragment as Li,jsx as Wt,jsxs as Na}from"react/jsx-runtime";var vi="k-chat",gc=[],Nc={},vc=Na(Li,{children:[Wt(ie,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),Wt("div",{className:"k-spacer"})]}),ki={tools:vc},U=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:p,generating:c,tools:u=ki.tools,value:f,empty:x,scrollToBottom:N,scrollbar:m,promptBoxProps:L,...k}=e;return Na("div",{...k,className:r(vi,e.className),dir:o,children:[t,Na("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,Wt("div",{className:r("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),N&&Wt("div",{className:"k-chat-scroll-to-bottom-container",children:Wt(mi,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&Wt("div",{className:"k-separator"}),Na("div",{className:"k-message-box-wrapper",children:[a,Wt(Nt,{lineMode:"multi",placeholder:"Type a message",generating:c,value:f,header:n||p?Na(Li,{children:[p,n]}):void 0,endAffix:u,...L})]})]})};U.states=gc;U.options=Nc;U.className=vi;U.defaultOptions=ki;U.moduleName=dr;U.folderName=Ni;U.ariaSpec={selector:".k-chat",rules:[{selector:".k-message-list",attribute:"role=log",usage:"The role of the Chat message list must imply that there is a log (list) of messages."},{selector:".k-message-list",attribute:"aria-label",usage:"Announces the purpose of the Chat message list."},{selector:".k-message-list",attribute:"aria-live=polite",usage:"Announces new messages in the Chat message list."},{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble .k-typing-indicator",attribute:"tabindex=-1",usage:"The Chat bubble typing indicator should not be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."},{selector:".k-message-reference>.k-button",attribute:"aria-label or title",usage:"The reference close button must be properly labelled."},{selector:".k-message-reference>.k-button",attribute:"role=button or nodeName=button",usage:"The reference close button must have an appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-prompt-box-affix>.k-button.k-disabled",attribute:"disabled",usage:"Announces the send action as disabled when necessary."}]};var cr="button",Mi=cr;import{jsx as Sc}from"react/jsx-runtime";var va="k-button-group",kc=[s.disabled],Lc={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Mc={},T=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Sc("div",{role:"group",...n,className:r(e.className,va,A(va,{fillMode:t}),S(va,{disabled:o}),{[`${va}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};T.states=kc;T.options=Lc;T.className=va;T.defaultOptions=Mc;T.moduleName=cr;T.folderName=Mi;T.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};import{Fragment as cL,jsx as dL,jsxs as mL}from"react/jsx-runtime";import{Fragment as gL,jsx as xL,jsxs as NL}from"react/jsx-runtime";import{Fragment as yL,jsx as SL,jsxs as AL}from"react/jsx-runtime";import{Fragment as BL,jsx as OL,jsxs as PL}from"react/jsx-runtime";import{Fragment as HL,jsx as DL,jsxs as zL}from"react/jsx-runtime";import{Fragment as XL,jsx as $L,jsxs as qL}from"react/jsx-runtime";import{jsx as vt,jsxs as mr}from"react/jsx-runtime";var yc={...l.options,...T.options},Ac=l.states,Cc={...l.defaultOptions,...T.defaultOptions,variant:"text-button"},Ec=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ic=[],go=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?mr(T,{fillMode:a.fillMode,className:o,children:[vt(l,{...a,icon:"star"}),vt(l,{...a,icon:"star"}),vt(l,{...a,icon:"star"})]}):t==="icon-text-button"?mr(T,{fillMode:a.fillMode,className:o,children:[vt(l,{...a,icon:"star",children:"First"}),vt(l,{...a,icon:"star",children:"Middle"}),vt(l,{...a,icon:"star",children:"Last"})]}):mr(T,{fillMode:a.fillMode,className:o,children:[vt(l,{...a,children:"First"}),vt(l,{...a,children:"Middle"}),vt(l,{...a,children:"Last"})]})};go.options=yc;go.states=Ac;go.variants=Ec;go.defaultOptions=Cc;go.modifiers=Ic;go.className=T.className;var ka="input",tn=ka;import{jsx as Pc}from"react/jsx-runtime";var on="k-input",Tc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Oc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Bc={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c,size:u,rounded:f,fillMode:x,...N}=e;return Pc("span",{...N,className:r(e.className,on,A(on,{size:u,rounded:f,fillMode:x}),S(on,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c}))})};Z.states=Tc;Z.options=Oc;Z.className=on;Z.defaultOptions=Bc;Z.moduleName=ka;Z.folderName=tn;import{jsx as _c}from"react/jsx-runtime";var an="k-picker",wc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Rc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Kc={},dt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c,size:u,rounded:f,fillMode:x,...N}=e;return _c("span",{...N,className:r(e.className,an,A(an,{size:u,rounded:f,fillMode:x}),S(an,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c})),children:e.children})};dt.states=wc;dt.options=Rc;dt.className=an;dt.defaultOptions=Kc;dt.moduleName=ka;dt.folderName=tn;import{Fragment as zc,jsx as ur}from"react/jsx-runtime";var Si="k-clear-value",Dc=[s.disabled,s.loading,s.readonly],Hc={},Pe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ur(zc,{}):ur("span",{className:r(e.className,Si),children:ur(v,{icon:"x"})})};Pe.states=Dc;Pe.options=Hc;Pe.className=Si;import{jsx as yi,jsxs as Gc}from"react/jsx-runtime";var fr="k-input-inner",Uc=[],Fc={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...p}=e;return Gc("span",{...p,className:r(e.className,fr,A(fr,e)),children:[n,!n&&i&&yi(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&yi("span",{className:"k-input-value-text",children:t})]})};Jt.states=Uc;Jt.options=Fc;Jt.className=fr;import{Fragment as $c,jsx as Ai}from"react/jsx-runtime";var Ci="k-input-loading-icon",Vc=[s.disabled,s.loading],Ee=e=>{let{disabled:t,loading:o}=e;return t||!o?Ai($c,{}):Ai("span",{className:r(e.className,Ci,"k-icon k-i-loading")})};Ee.states=Vc;Ee.className=Ci;import{Fragment as Wc,jsx as Ei}from"react/jsx-runtime";var Ii="k-input-validation-icon",Xc=[s.valid,s.invalid,s.disabled,s.loading],qc={},ve=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Ei(Wc,{}):Ei(v,{className:r(Ii),icon:i})};ve.states=Xc;ve.options=qc;ve.className=Ii;import{Fragment as Zc,jsx as Ti}from"react/jsx-runtime";var Jc="k-input-prefix",Yc={direction:"horizontal"},ze=e=>{let{direction:t=Yc.direction,...o}=e;return e.children?Ti("span",{...o,className:r(Jc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ti(Zc,{})};import{Fragment as em,jsx as Oi}from"react/jsx-runtime";var Qc="k-input-suffix",jc={direction:"horizontal"},Ue=e=>{let{direction:t=jc.direction,...o}=e;return e.children?Oi("span",{...o,className:r(Qc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Oi(em,{})};import{jsx as UM}from"react/jsx-runtime";import{jsx as om}from"react/jsx-runtime";var tm="k-input-suffix-text",br=e=>{let{children:t,...o}=e;return om("span",{...o,className:r(tm,e.className),children:t})};import{jsx as nm}from"react/jsx-runtime";var Bi="k-input-separator",am={direction:"vertical"},Fe=e=>{let{direction:t=am.direction,...o}=e;return nm("span",{...o,className:r(Bi,e.className,{[`${Bi}-${t}`]:t})})};import{Fragment as Pi,jsx as ct,jsxs as hr}from"react/jsx-runtime";var rm=Z.states,sm=Z.defaultOptions,im=Z.options,lm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],pm=[],No=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:p,...c}=e,u=t?.prefix,f=t?.suffix,x=t?.["clear-button"],N=t?.["validation-icon"],m=t?.separators;return hr(Z,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:p,style:{width:300},children:[u&&hr(Pi,{children:[ct(ze,{children:ct(v,{icon:"lock"})}),m&&ct(Fe,{})]}),ct(Ne,{placeholder:"Placeholder",value:"Value"}),N&&ct(ve,{valid:o,invalid:a,loading:n,disabled:i}),ct(Ee,{loading:n,disabled:i}),x&&ct(Pe,{loading:n,disabled:i,readonly:p,value:"Value"}),f&&hr(Pi,{children:[m&&ct(Fe,{}),ct(Ue,{children:ct(ot,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};No.options=im;No.states=rm;No.variants=pm;No.defaultOptions=sm;No.modifiers=lm;No.className=Z.className;import{jsx as wi,jsxs as mm}from"react/jsx-runtime";var Ri="k-color-preview",dm=[],cm={},Bt=e=>{let{color:t,iconName:o,...a}=e;return mm("span",{...a,className:r(e.className,Ri,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&wi(v,{icon:o,className:"k-color-preview-icon"}),wi("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Bt.states=dm;Bt.options=cm;Bt.className=Ri;var xr="popup",Ki=xr;import{jsx as _i}from"react/jsx-runtime";var Di="k-animation-container",um=[],fm={},Hi={positionMode:"absolute"},mt=e=>{let{positionMode:t=Hi.positionMode,animationStyle:o,offset:a,...n}=e;return _i("div",{...n,style:{...a,...e.style},className:r(e.className,Di,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:_i("div",{className:"k-child-animation-container",style:o,children:e.children})})};mt.states=um;mt.options=fm;mt.className=Di;mt.defaultOptions=Hi;mt.moduleName=xr;mt.folderName=Ki;var gr="popup",zi=gr;import{jsx as Ui}from"react/jsx-runtime";var Fi="k-popup",bm=[],hm={},Gi={positionMode:"absolute"},G=e=>{let{offset:t,positionMode:o=Gi.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:p,...c}=e;return Ui(mt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":p,children:Ui("div",{...c,className:r(e.className,Fi),children:e.children})})};G.states=bm;G.options=hm;G.className=Fi;G.defaultOptions=Gi;G.moduleName=gr;G.folderName=zi;G.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Nr="action-buttons",Vi=Nr;import{jsx as Nm}from"react/jsx-runtime";var nn="k-actions",xm=[],gm={},vr={alignment:"start",orientation:"horizontal"},we=e=>{let{alignment:t=vr.alignment,orientation:o=vr.orientation,...a}=e;return Nm("div",{...a,className:r(nn,{[`${nn}-${t}`]:t,[`${nn}-${o}`]:o},e.className),children:e.children})};we.states=xm;we.options=gm;we.className=nn;we.defaultOptions=vr;we.moduleName=Nr;we.folderName=Vi;var $i=we;import{jsx as km}from"react/jsx-runtime";var vm="k-actionsheet-footer",Xi={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=Xi.alignment,orientation:o=Xi.orientation,template:a,as:n=a?"div":we,...i}=e;return km(n,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var kr="searchbox",qi=kr;import{jsx as La,jsxs as Sm}from"react/jsx-runtime";var Wi="k-searchbox",Lm=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Lr={showIcon:!0,icon:"search"},Ge=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:p,focus:c,valid:u,invalid:f,required:x,loading:N,disabled:m,showIcon:L=Lr.showIcon,icon:k=Lr.icon,"aria-label":y,...C}=e;return Sm(Z,{...C,size:a,rounded:n,fillMode:i,hover:p,focus:c,valid:u,invalid:f,required:x,loading:N,disabled:m,className:r(e.className,Wi),children:[L&&La(v,{className:"k-input-icon",icon:k}),La(Ne,{placeholder:o,value:t,"aria-label":y}),La(Ee,{...e}),La(ve,{...e}),La(Pe,{...e})]})};Ge.states=Lm;Ge.options=Mm;Ge.className=Wi;Ge.defaultOptions=Lr;Ge.moduleName=kr;Ge.folderName=qi;import{jsx as my}from"react/jsx-runtime";var Mr="textbox",Ji=Mr;import{Fragment as Yi,jsx as wt,jsxs as Sr}from"react/jsx-runtime";var Zi="k-textbox",ym=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Am={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},le=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:i=rn.showClearButton,showValidationIcon:p=rn.showValidationIcon,prefix:c,suffix:u,type:f,value:x,placeholder:N,hover:m,focus:L,valid:k,invalid:y,required:C,loading:M,disabled:I,readonly:X,id:de,"aria-label":xe,"aria-describedby":ge,...Be}=e;return Sr(Z,{...Be,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:k,invalid:y,required:C,loading:M,disabled:I,readonly:X,className:r(e.className,Zi),children:[c&&Sr(Yi,{children:[wt(ze,{children:c}),n&&wt(Fe,{})]}),wt(Ne,{id:de,placeholder:N,value:x,type:f,disabled:I,"aria-label":xe,"aria-describedby":ge,"aria-invalid":y?"true":void 0}),p&&wt(ve,{valid:k,invalid:y,loading:M,disabled:I}),wt(Ee,{loading:M,disabled:I}),i&&wt(Pe,{loading:M,disabled:I,readonly:X,value:x}),u&&Sr(Yi,{children:[n&&wt(Fe,{}),wt(Ue,{children:u})]})]})};le.states=ym;le.options=Am;le.className=Zi;le.defaultOptions=rn;le.moduleName=Mr;le.folderName=Ji;le.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Ma=le;import{jsx as Cm}from"react/jsx-runtime";var sn=e=>Cm(Ma,{...e});import{Fragment as Ty,jsx as Iy}from"react/jsx-runtime";import{Fragment as Ky,jsx as Ry}from"react/jsx-runtime";import{jsx as zy}from"react/jsx-runtime";import{jsx as yr}from"react/jsx-runtime";var Em=le.states,Im=le.defaultOptions,Tm=le.options,Om=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?yr(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?yr(ot,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),yr(sn,{value:"Value",style:{width:300},...o,...a})};vo.options=Tm;vo.states=Em;vo.variants=Bm;vo.defaultOptions=Im;vo.modifiers=Om;vo.className=le.className;import{jsx as Rt,jsxs as Ar}from"react/jsx-runtime";var Qi="k-actionsheet-titlebar",Pm={},ke=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:p,inputValue:c,inputPlaceholder:u,adaptive:f,titleId:x,children:N,...m}=e;return Ar("div",{...m,className:r(e.className,Qi),children:[Ar("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!N&&Ar("div",{className:"k-actionsheet-title",id:x,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&Rt("div",{className:"k-actionsheet-title",id:x,children:N}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(p||i)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?Rt(le,{value:c,placeholder:u,size:f?"large":"medium","aria-label":t||u||"Input"}):Rt(Ge,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};ke.className=Qi;ke.defaultOptions=Pm;import{jsx as Cr,jsxs as _m}from"react/jsx-runtime";var Er="k-actionsheet-view",wm=[],Rm={},Km={},ko=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:p,...c}=e,u=n?.type===ke&&Cr(ke,{adaptive:t,titleId:p,...n?.props}),f=i?.type===Pt&&Cr(Pt,{...i?.props});return _m("div",{...c,className:r(e.className,Er,{[`${Er}-animated`]:o}),children:[u,Cr("div",{className:"k-actionsheet-content",children:a}),f]})};ko.states=wm;ko.options=Rm;ko.className=Er;ko.defaultOptions=Km;var Sa="action-sheet",ln=Sa;var Ir="overlay",ji=Ir;import{jsx as Um}from"react/jsx-runtime";var el="k-overlay",Dm=[],Hm={},zm={},ut=e=>{let{...t}=e;return Um("div",{...t,className:r(e.className,el),children:e.children})};ut.states=Dm;ut.options=Hm;ut.className=el;ut.defaultOptions=zm;ut.moduleName=Ir;ut.folderName=ji;import{jsx as pn,jsxs as Vm}from"react/jsx-runtime";var tl="k-actionsheet",Fm=[],Gm={},ya={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},W=e=>{let{side:t=ya.side,fullscreen:o=ya.fullscreen,adaptive:a=ya.adaptive,overlay:n=ya.overlay,template:i,children:p,header:c,footer:u,id:f,...x}=e,N=f&&!i&&c?`${f}-title`:void 0;return Vm("div",{className:"k-actionsheet-container",children:[n&&pn(ut,{}),pn(mt,{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:pn("div",{...x,id:f,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:r(e.className,tl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||pn(ko,{header:c,footer:u,adaptive:a,titleId:N,...e,children:p})})})]})};W.states=Fm;W.options=Gm;W.className=tl;W.defaultOptions=ya;W.moduleName=Sa;W.folderName=ln;W.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as Wm}from"react/jsx-runtime";var ol="k-actionsheet-container",$m=[],Xm={},qm={},Lo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:ol,children:t})};Lo.states=$m;Lo.options=Xm;Lo.className=ol;Lo.defaultOptions=qm;Lo.moduleName=Sa;Lo.folderName=ln;import{jsx as Jm}from"react/jsx-runtime";var Tr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Zm,jsx as Aa,jsxs as Or}from"react/jsx-runtime";var Br="k-actionsheet-item",Ym=[s.hover,s.focus,s.selected,s.disabled],Kt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:p,disabled:c,...u}=e;return Or("span",{...u,className:r(e.className,Br,S(Br,{hover:n,focus:i,selected:p,disabled:c})),children:[!e.children&&Aa(Zm,{children:Or("span",{className:"k-actionsheet-action",children:[t&&Aa("span",{className:"k-icon-wrap",children:Aa(v,{className:"k-actionsheet-item-icon",icon:t})}),Or("span",{className:"k-actionsheet-item-text",children:[o&&Aa("span",{className:"k-actionsheet-item-title",children:o}),a&&Aa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Kt.states=Ym;Kt.className=Br;import{jsx as HA,jsxs as zA}from"react/jsx-runtime";import{jsx as VA}from"react/jsx-runtime";import{jsx as WA}from"react/jsx-runtime";import{jsx as QA}from"react/jsx-runtime";import{jsx as pe,jsxs as Pr}from"react/jsx-runtime";var Qm=W.options,jm=W.states,nl={...W.defaultOptions,variant:"normal"},eu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],tu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Mo=e=>{let{variant:t,modifiers:o,...a}={...nl,...e},n={},i=Pr(Tr,{children:[pe(Kt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),pe(Kt,{text:"Add to Favorites",iconName:"heart"}),pe(Kt,{text:"Upload New",iconName:"upload",disabled:!0}),pe("hr",{className:"k-hr"}),pe(Kt,{text:"Cancel",iconName:"cancel"})]}),p="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!o?.[u],n.actionsEnd=!!o?.[u];break;case"subtitle":n.subtitle=o?.[u]?p:void 0;break;case"footer":n.footer=!!o?.[u];break;default:break}}),t==="adaptive"?pe(W,{...a,adaptive:!0,fullscreen:n.fullScreen,header:pe(ke,{actionsStart:n.actionsStart?pe(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?pe(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Pr(Pt,{alignment:"stretched",children:[pe(l,{text:"Cancel",size:"large",themeColor:"base"}),pe(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):pe(W,{...a,fullscreen:n.fullScreen,header:pe(ke,{actionsStart:n.actionsStart?pe(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?pe(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Pr(Pt,{alignment:"stretched",children:[pe(l,{text:"Apply",themeColor:"primary"}),pe(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Mo.options=Qm;Mo.states=jm;Mo.variants=eu;Mo.defaultOptions=nl;Mo.modifiers=tu;Mo.className=W.className;var wr="slider",rl=wr;import{jsx as So,jsxs as Rr}from"react/jsx-runtime";var Ca="k-slider",ou=[s.hover,s.focus,s.active,s.disabled,s.readonly],au={},Ve={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=Ve.type,orientation:o=Ve.orientation,gradientType:a=Ve.gradientType,readonly:n=Ve.readonly,disabled:i=Ve.disabled,handlePosition:p=Ve.handlePosition,showButtons:c=Ve.showButtons,showTicks:u=Ve.showTicks,value:f=Ve.value,min:x=Ve.min,max:N=Ve.max,startValue:m,endValue:L,hover:k,focus:y,active:C,trackStyle:M,dir:I,...X}=e,xe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ge,Be;return o==="horizontal"?(ge=I==="rtl"?"chevron-left":"chevron-right",Be=I==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ge="chevron-up",Be="chevron-down"),Rr("div",{...X,className:r(Ca,e.className,S(Ca,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:I,children:[c&&So(l,{className:"k-button-decrease",rounded:"full",icon:Be,tabIndex:-1,title:"Decrease"}),Rr("div",{className:"k-slider-track-wrap",children:[u&&So("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Rr("div",{className:"k-slider-track",style:M,children:[So("div",{className:"k-slider-selection"}),t==="range"&&So("span",{className:r("k-draghandle","k-draghandle-start",S(Ca,{hover:k,focus:y,active:C})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??x,"aria-valuemin":x,"aria-valuemax":L??N,"aria-orientation":xe,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":X["aria-label"]?`${X["aria-label"]} start`:"Range start"}),So("span",{className:r("k-draghandle",`k-draghandle-${p}`,S(Ca,{hover:k,focus:y,active:C})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??N:f,"aria-valuemin":t==="range"?m??x:x,"aria-valuemax":N,"aria-orientation":xe,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?X["aria-label"]?`${X["aria-label"]} end`:"Range end":X["aria-label"]})]})]}),c&&So(l,{className:"k-button-increase",rounded:"full",icon:ge,tabIndex:-1,title:"Increase"})]})};F.states=ou;F.options=au;F.className=Ca;F.defaultOptions=Ve;F.moduleName=wr;F.folderName=rl;F.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};import{jsx as sl}from"react/jsx-runtime";var il="k-tick",nu=[],ru={},ll={label:!1},E=e=>{let{style:t,label:o=ll.label,orientation:a,large:n,text:i,...p}=e;return sl("li",{...p,role:"presentation",title:i||"Tick",className:r(e.className,il,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&sl("span",{className:"k-label",children:i})})};E.states=nu;E.options=ru;E.className=il;E.defaultOptions=ll;import{Fragment as su,jsx as $e,jsxs as iu}from"react/jsx-runtime";var pl=e=>$e(F,{"aria-label":e["aria-label"]||"Slider",children:iu(su,{children:[$e(E,{className:"k-first",label:!0,large:!0,text:"0"}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{label:!0,large:!0,text:"5"}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as lu,jsx as Xe,jsxs as pu}from"react/jsx-runtime";var dl=e=>Xe(F,{children:pu(lu,{children:[Xe(E,{className:"k-first",label:!0,large:!0,text:"0"}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{label:!0,large:!0,text:"5"}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as zC,jsx as HC,jsxs as UC}from"react/jsx-runtime";import{Fragment as XC,jsx as $C,jsxs as qC}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var Kr=e=>du(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as cu}from"react/jsx-runtime";var _r=e=>cu(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as nE,jsx as aE,jsxs as rE}from"react/jsx-runtime";import{Fragment as dE,jsx as pE,jsxs as cE}from"react/jsx-runtime";import{jsx as ft,jsxs as cl}from"react/jsx-runtime";var mu=F.options,uu=F.states,ml={...F.defaultOptions,variant:"horizontal",label:!0},fu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],bu=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],yo=e=>{let{variant:t,modifiers:o,...a}={...ml,...e},n={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{n.showButtons=!!o?.[f];break}case"label":{n.label=!!o?.[f];break}case"tick":{n.showTicks=!!o?.[f];break}}});let{label:i=!0,showButtons:p,showTicks:c}=n,u={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?cl(dl,{showTicks:c,showButtons:p,style:{height:"300px",...u},...a,children:[ft(E,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):cl(pl,{showTicks:c,showButtons:p,style:{width:"400px",...u},...a,children:[ft(E,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};yo.options=mu;yo.states=uu;yo.variants=fu;yo.defaultOptions=ml;yo.modifiers=bu;yo.className=F.className;import{jsx as ul,jsxs as vu}from"react/jsx-runtime";var fl="k-spin-button",gu=[],Nu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Dr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},_t=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Dr.increaseLabel,decreaseLabel:i=Dr.decreaseLabel,...p}=e;return vu("span",{...p,className:r(fl,e.className),children:[ul(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),ul(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};_t.states=gu;_t.options=Nu;_t.className=fl;_t.defaultOptions=Dr;_t.moduleName=null;_t.folderName=null;var bl="numeric-textbox",hl="numerictextbox";import{Fragment as xl,jsx as kt,jsxs as Hr}from"react/jsx-runtime";var gl="k-numerictextbox",ku=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Lu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},dn={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=dn.separators,showClearButton:i=dn.showClearButton,showSpinButton:p=dn.showSpinButton,prefix:c,suffix:u,value:f,placeholder:x,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,id:X,"aria-label":de,"aria-describedby":xe,...ge}=e;return Hr(Z,{...ge,size:t,rounded:o,fillMode:a,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,className:r(e.className,gl),children:[c&&Hr(xl,{children:[kt(ze,{children:c}),n&&kt(Fe,{})]}),kt(Ne,{id:X,placeholder:x,value:f,role:"spinbutton",disabled:M,"aria-label":de,"aria-describedby":xe,"aria-invalid":k?"true":void 0}),kt(ve,{valid:L,invalid:k,loading:C,disabled:M}),kt(Ee,{loading:C,disabled:M}),i&&kt(Pe,{loading:C,disabled:M,readonly:I,value:f}),u&&Hr(xl,{children:[n&&kt(Fe,{}),kt(Ue,{children:u})]}),p&&kt(_t,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};_.states=ku;_.options=Lu;_.className=gl;_.defaultOptions=dn;_.moduleName=bl;_.folderName=hl;_.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Ea=_;import{jsx as Mu}from"react/jsx-runtime";var Nl=e=>Mu(Ea,{...e});import Ur from"react";import{jsx as vl}from"react/jsx-runtime";var Su="k-list-group-sticky-header",zr=e=>vl("div",{className:r(Su,e.className),children:vl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Au}from"react/jsx-runtime";var yu="k-no-data",cn=e=>{let{live:t,...o}=e;return Au("span",{...o,className:r(yu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Yt="list",Ao=Yt;import{jsx as kl,jsxs as Ll}from"react/jsx-runtime";var Fr="k-list",Cu=[],Eu={size:[d.undefined,d.small,d.medium,d.large]},Iu={},R=e=>{let{size:t,virtualization:o,children:a,header:n,optionLabel:i,customValue:p,noData:c,screenReaders:u,...f}=e,N=Ur.Children.toArray(a)[0],m=N?.props?.children?Ur.Children.count(N.props.children):Ur.Children.count(a);return Ll("div",{...f,className:r(e.className,Fr,A(Fr,{size:t}),{"k-virtual-list":o}),children:[i,p,n&&kl(zr,{children:n}),a||(c!==void 0?c:kl(cn,{live:!0,children:"No data found."})),u&&a&&Ll(cn,{className:"k-sr-only",live:!0,children:[m," items found."]})]})};R.states=Cu;R.options=Eu;R.className=Fr;R.defaultOptions=Iu;R.moduleName=Yt;R.folderName=Ao;R.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as Pu}from"react/jsx-runtime";var Ml="k-list-container",Tu=[],Ou={},Bu={},Co=e=>{let{...t}=e;return Pu("div",{...t,className:r(e.className,Ml),children:e.children})};Co.states=Tu;Co.options=Ou;Co.className=Ml;Co.defaultOptions=Bu;Co.moduleName=Yt;Co.folderName=Ao;var Zt="checkbox",Eo=Zt;import{jsx as Sl}from"react/jsx-runtime";var mn="k-checkbox",wu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],Ru={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},Ku={},qe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:p,invalid:c,valid:u,required:f,size:x,rounded:N,wrapperRole:m,...L}=e;return Sl("span",{className:"k-checkbox-wrap",role:m,children:Sl("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:p||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,mn,A(mn,{size:x,rounded:N}),S(mn,{hover:n,focus:i,disabled:p,invalid:c,valid:u,indeterminate:a,checked:o}))})})};qe.states=wu;qe.options=Ru;qe.className=mn;qe.defaultOptions=Ku;qe.moduleName=Zt;qe.folderName=Eo;qe.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var at=qe;import{jsx as Hu}from"react/jsx-runtime";var yl="k-checkbox-list",_u=[],Du={},Al={layout:"vertical"},Le=e=>{let{layout:t=Al.layout,...o}=e;return Hu("ul",{...o,className:r(e.className,yl,{[`k-list-${t}`]:t}),children:e.children})};Le.states=_u;Le.options=Du;Le.className=yl;Le.defaultOptions=Al;Le.moduleName=Zt;Le.folderName=Eo;import{jsx as Gu}from"react/jsx-runtime";var Cl="k-checkbox-list-item",zu=[],Uu={},Fu={},Me=e=>{let{...t}=e;return Gu("li",{...t,className:r(e.className,Cl),children:e.children})};Me.states=zu;Me.options=Uu;Me.className=Cl;Me.defaultOptions=Fu;Me.moduleName=Zt;Me.folderName=Eo;import{Fragment as Vu,jsx as El,jsxs as $u}from"react/jsx-runtime";var Lt=({children:e="Label",id:t="cb-label-after",...o})=>$u(Vu,{children:[El(at,{id:t,...o}),El("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as RI,jsx as wI,jsxs as KI}from"react/jsx-runtime";import{Fragment as UI,jsx as zI,jsxs as FI}from"react/jsx-runtime";import{Fragment as qI,jsx as XI,jsxs as WI}from"react/jsx-runtime";import{jsx as QI}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{jsx as sT}from"react/jsx-runtime";import{jsx as We,jsxs as Il}from"react/jsx-runtime";var Xu=Le.options,qu=Le.states,Wu={...Le.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Yu=[],Io=e=>{let{variant:t,...o}=e;return t==="horizontal"?Il(Le,{layout:"horizontal",...o,children:[We(Me,{children:We(Lt,{id:w("cb"),defaultChecked:!0,children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})})]}):Il(Le,{...o,children:[We(Me,{children:We(Lt,{id:w("cb"),defaultChecked:!0,children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})})]})};Io.options=Xu;Io.states=qu;Io.variants=Ju;Io.defaultOptions=Wu;Io.modifiers=Yu;Io.className=Le.className;import{jsx as of}from"react/jsx-runtime";var Zu=at.options,Qu=at.states,ju=at.defaultOptions,ef=[],tf=[],To=e=>of(Lt,{id:w("checkbox"),...e,defaultChecked:!0,children:"Label"});To.options=Zu;To.states=Qu;To.variants=ef;To.defaultOptions=ju;To.modifiers=tf;To.className=at.className;import{jsx as Qt,jsxs as sf}from"react/jsx-runtime";var Gr="k-list-item",af=[s.hover,s.focus,s.selected,s.disabled],nf={},rf={},O=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:i,showCheckbox:p,checked:c,hover:u,focus:f,selected:x,disabled:N,actions:m,description:L,id:k,...y}=e,C=t||e.children;return sf("li",{...y,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&x?"true":a?void 0:"false","aria-disabled":!a&&N?"true":void 0,className:r(e.className,a?"k-list-group-item":Gr,S(Gr,{hover:u,focus:f,disabled:N,selected:x})),children:[p&&Qt(qe,{checked:c}),n&&Qt("span",{className:"k-list-item-icon-wrapper",children:Qt(v,{icon:n,className:r("k-list-item-icon",i)})}),Qt("span",{className:"k-list-item-text",children:C}),m&&Qt("div",{className:"k-list-item-actions",children:m}),L&&Qt("span",{className:"k-list-item-description",children:L}),o&&o!==""&&Qt("div",{className:"k-list-item-group-label",children:o})]})};O.states=af;O.options=nf;O.className=Gr;O.defaultOptions=rf;O.moduleName=Yt;O.folderName=Ao;O.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};import{jsx as pf}from"react/jsx-runtime";var lf="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...n}=e;return pf("ul",{...n,id:a,role:o,className:r(lf,e.className),children:t})};Mt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};import{jsx as Vr,jsxs as cf}from"react/jsx-runtime";var df="k-list-content",H=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...p}=e;return cf("div",{...p,className:r(df,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:Vr(Mt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Vr("div",{className:"k-height-container",children:Vr("div",{})})]})};H.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};import{Fragment as YT,jsx as JT,jsxs as ZT}from"react/jsx-runtime";import{jsx as $r,jsxs as uf}from"react/jsx-runtime";var mf="k-list-group-item",jt=e=>{let{groupIconName:t,...o}=e;return uf("li",{...o,role:"presentation",className:r(mf,e.className),children:[t&&$r("span",{className:"k-list-item-icon-wrapper",children:$r(v,{icon:t,className:"k-list-item-icon"})}),$r("span",{className:"k-list-item-text",children:e.children})]})};jt.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};import{jsx as xf}from"react/jsx-runtime";var Xr="k-list-optionlabel",ff=[s.hover,s.focus,s.selected,s.disabled],bf={},hf={},un=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...p}=e;return xf("div",{...p,className:r(Xr,S(Xr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};un.states=ff;un.options=bf;un.className=Xr;un.defaultOptions=hf;import{jsx as kf}from"react/jsx-runtime";var qr="k-list-custom-value",gf=[s.hover,s.focus,s.selected,s.disabled],Nf={},vf={},Dt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...p}=e;return kf("div",{...p,className:r(qr,S(qr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Dt.states=gf;Dt.options=Nf;Dt.className=qr;Dt.defaultOptions=vf;import{Fragment as uO,jsx as mO,jsxs as fO}from"react/jsx-runtime";import{Fragment as vO,jsx as NO,jsxs as kO}from"react/jsx-runtime";import{Fragment as EO,jsx as AO,jsxs as CO}from"react/jsx-runtime";import{Fragment as RO,jsx as PO,jsxs as wO}from"react/jsx-runtime";import{jsx as HO}from"react/jsx-runtime";import{Fragment as $O,jsx as VO,jsxs as XO}from"react/jsx-runtime";var Tl="dropdown-list",Ol="dropdownlist";import{Fragment as Sf,jsx as Se,jsxs as Wr}from"react/jsx-runtime";var Bl="k-dropdownlist",Lf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Mf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Jr={showValue:!0,arrowIconName:"chevron-down"},oe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Jr.arrowIconName,showValue:i=Jr.showValue,valueIconName:p,prefix:c,suffix:u,value:f,placeholder:x,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,popup:X,opened:de,adaptive:xe,adaptiveSettings:ge,adaptiveTitle:Be,adaptiveSubtitle:qt,adaptiveFilter:$n,id:Ot,activeDescendant:qa,"aria-label":Xn,...qn}=e,xd=Ot?`${Ot}-listbox`:void 0,Qs=Ot?`${Ot}-value`:void 0;return Wr(Sf,{children:[Wr(dt,{...qn,id:Ot,size:t,rounded:o,fillMode:a,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,className:r(e.className,Bl,{"k-icon-picker":!i&&p}),role:"combobox","aria-haspopup":"listbox","aria-expanded":de?"true":"false","aria-controls":de?xd:void 0,"aria-activedescendant":de&&qa?qa:void 0,"aria-describedby":de?Qs:void 0,"aria-disabled":M?"true":void 0,"aria-label":Xn,tabIndex:0,children:[Se(ze,{children:c}),Se(Jt,{placeholder:x,value:f,showValue:i,valueIconName:p,id:Qs}),Se(ve,{valid:L,invalid:k,loading:C,disabled:M}),Se(Ee,{loading:C,disabled:M}),Se(Ue,{children:u}),Se(l,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),de&&X&&Se(G,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:X}),xe&&Se(W,{adaptive:!0,...ge,header:Se(ke,{actionsEnd:Se(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:$n,inputValue:f,inputPlaceholder:x,title:Be,subtitle:qt}),children:Se("div",{className:"k-list-container",children:Se(R,{size:"large",children:Wr(H,{"aria-label":"Options",children:[Se(O,{text:"List item"}),Se(O,{text:"List item"}),Se(O,{text:"List item"})]})})})})]})};oe.states=Lf;oe.options=Mf;oe.className=Bl;oe.defaultOptions=Jr;oe.moduleName=Tl;oe.folderName=Ol;oe.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};import{jsx as yB}from"react/jsx-runtime";import{jsx as OB,jsxs as BB}from"react/jsx-runtime";import{Fragment as UB,jsx as HB,jsxs as zB}from"react/jsx-runtime";import{jsx as XB}from"react/jsx-runtime";import{jsx as QB,jsxs as jB}from"react/jsx-runtime";import{Fragment as lP,jsx as sP,jsxs as iP}from"react/jsx-runtime";import{jsx as uP}from"react/jsx-runtime";import{Fragment as Tf,jsx as Ht,jsxs as Pl}from"react/jsx-runtime";var yf=oe.states,Af=oe.defaultOptions,Cf=oe.options,Ef=[{name:"opened",title:"Opened"}],If=[],Bo=e=>{let{modifiers:t,...o}=e,a={},n=Pl(Tf,{children:[Ht("div",{className:"k-list-filter",children:Ht(Ge,{})}),Ht(R,{style:{width:300},size:o.size,children:Pl(H,{children:[Ht(O,{children:"List item"}),Ht(O,{children:"List item"}),Ht(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0)}),Ht("div",{children:Ht(oe,{placeholder:"Value",style:{width:300},...o,...a})})};Bo.options=Cf;Bo.states=yf;Bo.variants=If;Bo.defaultOptions=Af;Bo.modifiers=Ef;Bo.className=oe.className;import{Fragment as RP,jsx as wP}from"react/jsx-runtime";import{Fragment as UP,jsx as zP}from"react/jsx-runtime";import{jsx as $P}from"react/jsx-runtime";import{jsx as Yr}from"react/jsx-runtime";var Of=_.states,Bf=_.defaultOptions,Pf=_.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Rf=[],Po=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Yr(oe,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Yr(br,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Yr(Nl,{value:"Value",style:{width:300},...o,...a})};Po.options=Pf;Po.states=Of;Po.variants=Rf;Po.defaultOptions=Bf;Po.modifiers=wf;Po.className=_.className;import{Fragment as Ia,jsx as B,jsxs as Q}from"react/jsx-runtime";var wl="k-colorgradient-inputs",Kf=[],_f={size:[d.undefined,d.small,d.medium,d.large]},Rl={mode:"rgba"},wo=e=>{let{mode:t=Rl.mode,size:o,...a}=e;return Q("div",{...a,className:r(wl,"k-hstack"),children:[B("div",{className:"k-vstack",children:B(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&B(Ia,{children:Q("div",{className:"k-vstack k-flex-1",children:[B(le,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),B("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};wo.states=Kf;wo.options=_f;wo.className=wl;wo.defaultOptions=Rl;import{jsx as eo,jsxs as to}from"react/jsx-runtime";var Kl="k-colorgradient-color-contrast",Df=[],Hf={},zf={},Ro=()=>to("div",{className:r(Kl,"k-vbox"),children:[to("div",{className:"k-contrast-ratio",children:[eo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),to("span",{className:"k-contrast-validation !k-text-success",children:[eo(v,{icon:"check"}),eo(v,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AA: 4.5"}),to("span",{className:"k-contrast-validation !k-text-success",children:["Pass",eo(v,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AAA: 7.0"}),to("span",{className:"k-contrast-validation !k-text-error",children:["Fail",eo(v,{icon:"x"})]})]})]});Ro.states=Df;Ro.options=Hf;Ro.className=Kl;Ro.defaultOptions=zf;var _l="color-gradient",Dl="colorgradient";import{jsx as Je,jsxs as Ta}from"react/jsx-runtime";var fn="k-colorgradient",Uf=[s.hover,s.focus,s.readonly,s.disabled],Ff={size:[d.undefined,d.small,d.medium,d.large]},bt={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"},re=e=>{let{size:t,mode:o=bt.mode,readonly:a=bt.readonly,disabled:n=bt.disabled,gradientStyle:i=bt.gradientStyle,dragHandleStyle:p=bt.dragHandleStyle,alphaStyle:c=bt.alphaStyle,alphaStyleHorizontal:u=bt.alphaStyleHorizontal,contrast:f=bt.contrast,dir:x,hover:N,focus:m,hoverHandle:L,focusHandle:k,canvasOrientation:y=bt.canvasOrientation,role:C,tabIndex:M,...I}=e;return Ta("div",{...I,role:C??"textbox","aria-label":C==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":n?"true":void 0,className:r(e.className,fn,A(fn,{size:t}),S(fn,{hover:N,focus:m,readonly:a,disabled:n})),dir:x,children:[!y||y==="horizontal"&&Ta("div",{className:"k-colorgradient-canvas k-hstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ta("div",{className:"k-hsv-controls k-hstack",children:[Je(_r,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Je(_r,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),y==="vertical"&&Ta("div",{className:"k-colorgradient-canvas k-vstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ta("div",{className:"k-hsv-controls k-vstack",children:[Je(Kr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Je(Kr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),Je(wo,{mode:e.mode,size:t}),f&&Je(Ro,{})]})};re.states=Uf;re.options=Ff;re.className=fn;re.defaultOptions=bt;re.moduleName=_l;re.folderName=Dl;re.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};import{jsx as Gf}from"react/jsx-runtime";var bn=e=>Gf(re,{...e});import{jsx as Tw}from"react/jsx-runtime";import{jsx as ww}from"react/jsx-runtime";import{jsx as Zr}from"react/jsx-runtime";var Vf=re.options,$f=re.states,Xf={...re.defaultOptions,variant:"rgba"},qf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Wf=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Zr(bn,{...o,mode:t});case"rgb":return Zr(bn,{...o,mode:t});default:return Zr(bn,{...o,mode:t})}};Ko.options=Vf;Ko.states=$f;Ko.variants=qf;Ko.defaultOptions=Xf;Ko.modifiers=Wf;Ko.className=re.className;import{jsx as Jf}from"react/jsx-runtime";var Qr=e=>Jf("tr",{role:"row",children:e.children});import{jsx as Qf}from"react/jsx-runtime";var jr="k-colorpalette-tile",Yf=[s.hover,s.focus,s.selected],Zf={},_o=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...p}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Qf("td",{...p,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,jr,S(jr,{hover:a,focus:n,selected:i})),style:c})};_o.states=Yf;_o.options=Zf;_o.className=jr;var Hl="color-palette",zl="colorpalette";import{jsx as Oa}from"react/jsx-runtime";var hn="k-colorpalette",jf=[s.disabled],eb={size:[d.undefined,d.small,d.medium,d.large]},Ul={columns:10},ye=e=>{let{size:t,palette:o,columns:a=Ul.columns,tileSize:n,disabled:i,...p}=e,c=[];if(o){let u=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/u)},(x,N)=>{let m=[];f.slice(N*u,(N+1)*u).map((k,y)=>{m.push(Oa(_o,{color:k,tileSize:n},y))});let L=Oa(Qr,{children:m},N);c.push(L)})}return Oa("div",{...p,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:r(e.className,hn,S(hn,{disabled:i}),A(hn,{size:t})),children:Oa("table",{className:"k-colorpalette-table",role:"none",children:Oa("tbody",{children:c.length>0?c:e.children})})})};ye.states=jf;ye.options=eb;ye.className=hn;ye.defaultOptions=Ul;ye.moduleName=Hl;ye.folderName=zl;ye.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var xn=ye;var Ba={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 tb}from"react/jsx-runtime";var Fl=e=>tb(xn,{palette:Ba.basic,...e});import{jsx as bR}from"react/jsx-runtime";import{jsx as kR,jsxs as LR}from"react/jsx-runtime";import{jsx as lb}from"react/jsx-runtime";var ob=ye.options,ab=ye.states,nb={...ye.defaultOptions,variant:"basic"},rb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sb={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},ib=[],Do=e=>{let{variant:t="basic",...o}=e,a=sb[t];return lb(Fl,{columns:a.columns,palette:a,...o})};Do.options=ob;Do.states=ab;Do.variants=rb;Do.defaultOptions=nb;Do.modifiers=ib;Do.className=ye.className;var Gl="color-editor",Vl="coloreditor";import{jsx as Ye,jsxs as Ho}from"react/jsx-runtime";var gn="k-coloreditor",pb=[s.focus],db={size:[d.undefined,d.small,d.medium,d.large]},Pa={view:"gradient",palette:Ba.office,actionButtons:!0,canvasOrientation:"horizontal"},J=e=>{let{size:t,view:o=Pa.view,palette:a=Pa.palette,color:n,currentColor:i,focus:p,focusView:c,dir:u,group:f,actionButtons:x=Pa.actionButtons,canvasOrientation:N=Pa.canvasOrientation,...m}=e;return Ho("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",gn,A(gn,{size:t}),S(gn,{focus:p})),dir:u,children:[Ho("div",{className:"k-coloreditor-header k-hstack",children:[Ye("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&Ho(T,{fillMode:"flat",children:[Ye(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Ye(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Ye("div",{className:"k-spacer"}),Ho("div",{className:"k-coloreditor-header-actions k-hstack",children:[Ye(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Ho("div",{className:"k-coloreditor-preview k-vstack",children:[Ye(Bt,{className:"k-coloreditor-preview-color",color:n}),Ye(Bt,{className:"k-coloreditor-current-color",color:i})]})]})]}),Ye("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Ye(re,{focus:c,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):Ye(ye,{palette:a,size:t})}),x&&Ho(we,{className:"k-coloreditor-footer",alignment:"start",children:[Ye(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Ye(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};J.states=pb;J.options=db;J.className=gn;J.defaultOptions=Pa;J.moduleName=Gl;J.folderName=Vl;J.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var zo=J;import{jsx as ZR}from"react/jsx-runtime";import{jsx as tK}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var $l=e=>cb(zo,{group:!0,currentColor:"fuchsia",...e});import{jsx as mb}from"react/jsx-runtime";var Xl=e=>mb(zo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ql}from"react/jsx-runtime";var ub=J.options,fb=J.states,bb={...J.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],xb=[],Uo=e=>{let{variant:t,...o}=e;return t==="palette"?ql(Xl,{...o,color:"white"}):ql($l,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Uo.options=ub;Uo.states=fb;Uo.variants=hb;Uo.defaultOptions=bb;Uo.modifiers=xb;Uo.className=J.className;var Wl="color-picker",Jl="colorpicker";import{Fragment as vb,jsx as Ze,jsxs as es}from"react/jsx-runtime";var Yl="k-colorpicker",gb=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Nb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Zl={arrowIconName:"chevron-down"},Re=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Zl.arrowIconName,prefix:i,suffix:p,value:c,placeholder:u,hover:f,focus:x,valid:N,invalid:m,required:L,disabled:k,valueIconName:y,popup:C,opened:M,adaptive:I,adaptiveSettings:X,adaptiveTitle:de,adaptiveSubtitle:xe,...ge}=e,Be="colorpicker-popup";return es(vb,{children:[es(dt,{...ge,size:t,rounded:o,fillMode:a,hover:f,focus:x,valid:N,invalid:m,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||I?Be:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:r(e.className,Yl,"k-icon-picker"),children:[Ze(ze,{children:i}),Ze(Jt,{placeholder:u,value:c,showValue:!1,valueIcon:Ze(Bt,{className:"k-value-icon",color:c,iconName:y}),valueIconName:y}),Ze(Ue,{children:p}),Ze(l,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&C&&Ze(G,{id:Be,className:"k-colorpicker-popup",children:C}),I&&Ze(W,{adaptive:!0,id:Be,...X,header:Ze(ke,{actionsEnd:Ze(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:de,subtitle:xe}),footer:es(Pt,{children:[Ze(l,{text:"Cancel",size:"large"}),Ze(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ze(J,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Re.states=gb;Re.options=Nb;Re.className=Yl;Re.defaultOptions=Zl;Re.moduleName=Wl;Re.folderName=Jl;Re.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var St=Re;import{jsx as kb}from"react/jsx-runtime";var Nn=e=>kb(St,{...e});import{jsx as DK}from"react/jsx-runtime";import{jsx as GK}from"react/jsx-runtime";import{jsx as qK}from"react/jsx-runtime";import{jsx as ZK}from"react/jsx-runtime";import{jsx as t_}from"react/jsx-runtime";import{jsx as r_}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var Lb=St.options,Mb=St.states,Ql={...St.defaultOptions,variant:"color"},Sb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],yb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...Ql,...e},n={};Object.keys(o||{}).forEach(p=>{p==="opened"&&(n.opened=!!o?.[p],n.popup=o?.[p]?oo(J,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return oo("div",{style:i,children:oo(Nn,{...a,...n})});case"icon":return oo("div",{style:i,children:oo(Nn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return oo("div",{style:i,children:oo(Nn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Fo.options=Lb;Fo.states=Mb;Fo.variants=Sb;Fo.defaultOptions=Ql;Fo.modifiers=yb;Fo.className=St.className;var ts="combobox",jl=ts;import{Fragment as os,jsx as ae,jsxs as wa}from"react/jsx-runtime";var ep="k-combobox",Ab=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Cb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},tp={separators:!0},ce=e=>{let{size:t,rounded:o,fillMode:a,separators:n=tp.separators,prefix:i,suffix:p,value:c,placeholder:u,hover:f,focus:x,valid:N,invalid:m,required:L,loading:k,disabled:y,popup:C,opened:M,readonly:I,adaptive:X,adaptiveSettings:de,adaptiveTitle:xe,adaptiveSubtitle:ge,adaptiveCustomValue:Be,id:qt,autocomplete:$n,activeDescendant:Ot,"aria-label":qa,...Xn}=e,qn=qt?`${qt}-listbox`:void 0;return wa(os,{children:[wa(Z,{...Xn,size:t,rounded:o,fillMode:a,hover:f,focus:x,valid:N,invalid:m,required:L,loading:k,disabled:y,readonly:I,className:r(e.className,ep),children:[i&&wa(os,{children:[ae(ze,{children:i}),n&&ae(Fe,{})]}),ae(Ne,{id:qt,placeholder:u,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?qn:void 0,"aria-activedescendant":M&&Ot?Ot:void 0,"aria-autocomplete":$n,"aria-invalid":m?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":qa,disabled:y,readOnly:I}),ae(ve,{valid:N,invalid:m,loading:k,disabled:y}),ae(Ee,{loading:k,disabled:y}),ae(Pe,{loading:k,disabled:y,readonly:I,value:c}),p&&wa(os,{children:[n&&ae(Fe,{}),ae(Ue,{children:p})]}),ae(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:y})]}),M&&C&&ae(G,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:C}),X&&ae(W,{adaptive:!0,id:qt?`${qt}-adaptive`:void 0,...de,header:ae(ke,{actionsEnd:ae(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:u,title:xe,subtitle:ge}),children:ae("div",{className:"k-list-container",children:ae(R,{customValue:Be?ae(Dt,{text:`Use "${c}"`}):void 0,size:"large",children:wa(H,{"aria-label":xe||"Options",children:[ae(O,{text:"List item"}),ae(O,{text:"List item"}),ae(O,{text:"List item"})]})})})})]})};ce.states=Ab;ce.options=Cb;ce.className=ep;ce.defaultOptions=tp;ce.moduleName=ts;ce.folderName=jl;ce.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var Ke=ce;import{jsx as Eb}from"react/jsx-runtime";var op=e=>Eb(Ke,{...e});import{jsx as U_,jsxs as F_}from"react/jsx-runtime";import{jsx as W_,jsxs as J_}from"react/jsx-runtime";import{jsx as t0,jsxs as o0}from"react/jsx-runtime";import{Fragment as l0,jsx as i0}from"react/jsx-runtime";import{Fragment as f0,jsx as u0}from"react/jsx-runtime";import{jsx as v0,jsxs as k0}from"react/jsx-runtime";import{Fragment as I0,jsx as C0,jsxs as E0}from"react/jsx-runtime";import{jsx as P0}from"react/jsx-runtime";import{jsx as _0}from"react/jsx-runtime";import{jsx as G0,jsxs as V0}from"react/jsx-runtime";import{jsx as Y0,jsxs as Z0}from"react/jsx-runtime";import{jsx as zt,jsxs as wb}from"react/jsx-runtime";var Ib=ce.states,Tb=ce.defaultOptions,Ob=ce.options,Bb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],Go=e=>{let{modifiers:t,...o}=e,a={},n=zt(R,{style:{width:300},size:o.size,children:wb(H,{children:[zt(O,{children:"List item"}),zt(O,{children:"List item"}),zt(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?zt(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[i]?zt(ie,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0;break;default:break}}),zt("div",{children:zt(op,{value:"Value",style:{width:300},...o,...a})})};Go.options=Ob;Go.states=Ib;Go.variants=Pb;Go.defaultOptions=Tb;Go.modifiers=Bb;Go.className=ce.className;var as="menu-button",ap=as;import{jsx as _b}from"react/jsx-runtime";var np="k-menu-button",Rb=[s.hover,s.focus,s.active,s.selected,s.disabled],Kb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},ns={showArrow:!0,arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,icon:x,text:N,showArrow:m=ns.showArrow,arrowIconName:L=ns.arrowIconName,expanded:k,...y}=e;return _b(l,{...y,className:r(e.className,np),text:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,icon:x,showArrow:m,arrowIconName:L,"aria-expanded":k?"true":"false",...!N&&x&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};D.states=Rb;D.options=Kb;D.className=np;D.defaultOptions=ns;D.moduleName=as;D.folderName=ap;D.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};import{jsx as TD}from"react/jsx-runtime";import{jsx as wD}from"react/jsx-runtime";import{jsx as DD}from"react/jsx-runtime";var _e="menu",Qe=_e;import{jsx as Ra,jsxs as rp}from"react/jsx-runtime";var rs="k-menu-item",Db=[s.hover,s.focus,s.active,s.selected,s.disabled],Hb={},sp={iconPosition:"before"},me=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:p,text:c,first:u,last:f,showArrow:x,arrowIconName:N,iconPosition:m=sp.iconPosition,dir:L,children:k,expanded:y,...C}=e,M=N;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),rp("li",{...C,className:r(e.className,rs,"k-item",S(rs,{focus:o,disabled:i,hover:t,active:a,selected:n}),{"k-first":u,"k-last":f}),role:"menuitem",...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":y?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[rp("span",{className:r("k-link k-menu-link"),children:[p&&m==="before"&&Ra(v,{className:"k-menu-link-icon",icon:p}),Ra("span",{className:"k-menu-link-text",children:c}),p&&m==="after"&&Ra(v,{className:"k-menu-link-icon",icon:p}),x&&Ra("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ra(v,{icon:M})})]}),k]})};me.states=Db;me.options=Hb;me.className=rs;me.defaultOptions=sp;me.moduleName=_e;me.folderName=Qe;import{jsx as Ka,jsxs as ip}from"react/jsx-runtime";var ss="k-menu-item",zb=[s.hover,s.focus,s.active,s.selected,s.disabled],Ub={},is={dir:"ltr",iconPosition:"before"},q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:p,text:c,first:u,last:f,showArrow:x,arrowIconName:N,iconPosition:m=is.iconPosition,dir:L=is.dir,children:k,popup:y,expanded:C,...M}=e,I=N;return I||(I=L==="rtl"?"chevron-left":"chevron-right"),ip("li",{...M,className:r(e.className,ss,"k-item",S(ss,{focus:o,disabled:i}),{"k-first":u,"k-last":f}),role:"menuitem",...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":C?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ip("span",{className:r("k-link k-menu-link",S("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[p&&m==="before"&&Ka(v,{className:"k-menu-link-icon",icon:p}),Ka("span",{className:"k-menu-link-text",children:c}),p&&m==="after"&&Ka(v,{className:"k-menu-link-icon",icon:p}),x&&Ka("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ka(v,{icon:I})})]}),k,y]})};q.states=zb;q.options=Ub;q.className=ss;q.defaultOptions=is;q.moduleName=_e;q.folderName=Qe;import{jsx as $b}from"react/jsx-runtime";var lp="k-menu-scroll-wrapper",Fb=[],Gb={},Vb={},ao=e=>{let{className:t,children:o,orientation:a,...n}=e;return $b("div",{...n,className:r(t,lp,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ao.states=Fb;ao.options=Gb;ao.className=lp;ao.defaultOptions=Vb;ao.moduleName=_e;ao.folderName=Qe;var pp=ao;import{Fragment as ls,jsx as no,jsxs as kn}from"react/jsx-runtime";var ps="k-menu",Xb=[],qb={},Ln={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},se=e=>{let{children:t,orientation:o=Ln.orientation,header:a=Ln.header,scrollable:n,scrollButtonsPosition:i=Ln.scrollButtonsPosition,wrapperStyles:p,dir:c,popup:u,contextMenu:f,...x}=e,N={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},m=no("ul",{dir:c,...x,className:r(e.className,"k-reset",ps,{[`${ps}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return kn(ls,{children:[n?kn(pp,{orientation:o,style:p,dir:e.dir,children:[i==="start"&&kn(ls,{children:[no(l,{fillMode:"flat",icon:`chevron-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),no(l,{fillMode:"flat",icon:`chevron-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&no(l,{fillMode:"flat",icon:`chevron-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),m,i==="end"&&kn(ls,{children:[no(l,{fillMode:"flat",icon:`chevron-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),no(l,{fillMode:"flat",icon:`chevron-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&no(l,{fillMode:"flat",icon:`chevron-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):m,u]})};se.states=Xb;se.options=qb;se.className=ps;se.defaultOptions=Ln;se.moduleName=_e;se.folderName=Qe;se.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};import{jsx as Wb}from"react/jsx-runtime";var ds="k-separator",dp={orientation:"horizontal"},Vo=e=>{let{orientation:t=dp.orientation,...o}=e;return Wb("li",{...o,className:r(e.className,"k-item",ds,{[`${ds}-${t}`]:t}),role:"separator"})};Vo.className=ds;Vo.defaultOptions=dp;Vo.moduleName=_e;Vo.folderName=Qe;import{Fragment as uH,jsx as fH}from"react/jsx-runtime";import{jsx as Qb}from"react/jsx-runtime";var cs="k-menu-group",Jb=[],Yb={size:[d.undefined,d.small,d.medium,d.large]},Zb={},ue=e=>{let{children:t,size:o,...a}=e;return Qb("ul",{...a,className:r(e.className,cs,A(cs,{size:o})),role:"menu",children:t})};ue.states=Jb;ue.options=Yb;ue.className=cs;ue.defaultOptions=Zb;ue.moduleName=_e;ue.folderName=Qe;import{Fragment as jb,jsx as $o,jsxs as eh}from"react/jsx-runtime";var ms=e=>$o(se,{children:eh(jb,{children:[$o(me,{first:!0,text:"Item 1"}),$o(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),$o(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),$o(me,{text:"Item 4"}),$o(me,{last:!0,text:"Item 5"})]}),...e});import{Fragment as EH,jsx as AH,jsxs as CH}from"react/jsx-runtime";import{Fragment as PH,jsx as BH,jsxs as wH}from"react/jsx-runtime";import{Fragment as HH,jsx as DH,jsxs as zH}from"react/jsx-runtime";import{Fragment as $H,jsx as VH,jsxs as XH}from"react/jsx-runtime";import{jsx as ro,jsxs as rh}from"react/jsx-runtime";var th={...se.options,scrollable:{type:"boolean"}},oh=se.states,cp={...se.defaultOptions,variant:"horizontal"},ah=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],nh=[{name:"opened",title:"Opened"}],Xo=e=>{let{variant:t,modifiers:o,...a}={...cp,...e},n={};return Object.keys(o||{}).forEach(i=>{i==="opened"&&(n.opened=!!o?.[i],n.popup=ro(G,{className:"k-menu-popup",children:rh(ue,{children:[ro(q,{text:"Item 1"}),ro(q,{text:"Item 2"}),ro(Vo,{}),ro(q,{text:"Item 3"})]})}))}),t==="vertical"?ro(ms,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ro(ms,{...a,...n})};Xo.options=th;Xo.states=oh;Xo.variants=ah;Xo.defaultOptions=cp;Xo.modifiers=nh;Xo.className=se.className;import{Fragment as S1,jsx as L1,jsxs as M1}from"react/jsx-runtime";import{jsx as E1}from"react/jsx-runtime";import{Fragment as dh,jsx as ht,jsxs as mp}from"react/jsx-runtime";var sh=l.states,up={...l.defaultOptions,variant:"text"},ih=l.options,lh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],ph=[{name:"opened",title:"Opened"}],qo=e=>{let{variant:t,modifiers:o,...a}={...up,...e},n={},i=ht(G,{className:"k-menu-popup",children:mp(ue,{size:a.size,children:[ht(q,{first:!0,text:"Menu Item"}),ht(q,{text:"Menu Item"}),ht(q,{last:!0,text:"Menu Item"})]})}),p;switch(t){case"icon-only":p=ht("div",{children:ht(D,{...a,...n,icon:"star"})});break;case"icon-and-text":p=ht("div",{children:ht(D,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:p=ht("div",{children:ht(D,{...a,...n,children:"Dropdown Button"})});break}return mp(dh,{children:[p,o?.opened&&i]})};qo.options=ih;qo.states=sh;qo.variants=lh;qo.defaultOptions=up;qo.modifiers=ph;qo.className=D.className;var us="split-button",fp=us;import{Fragment as uh,jsx as fs,jsxs as bp}from"react/jsx-runtime";var bs="k-split-button",ch=[s.hover,s.focus,s.active,s.selected,s.disabled],mh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},hp={arrowIconName:"chevron-down"},P=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,icon:x,text:N,arrowIconName:m=hp.arrowIconName,popup:L,opened:k,popupId:y,...C}=e;return bp(uh,{children:[bp("div",{...C,className:r(e.className,bs,"k-button-group",A(bs,{rounded:o})),children:[fs(l,{text:N,icon:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,...!N&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),fs(l,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?y:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&fs(G,{className:"k-menu-popup",children:L})]})};P.states=ch;P.options=mh;P.className=bs;P.defaultOptions=hp;P.moduleName=us;P.folderName=fp;P.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var hs=P;import{jsx as bh}from"react/jsx-runtime";var fh="k-toolbar-separator",nt=e=>bh("div",{className:r(fh,e.className,"k-separator")});var yt="toolbar",Ut=yt;import{Fragment as xs,jsx as K,jsxs as Wo}from"react/jsx-runtime";var At="k-toolbar",hh=[s.focus],xh={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},gh={scrollButtons:"around"},z=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:p,scrollingPosition:c,section:u,...f}=e,x=[],N=(m,L)=>{let k=[];if(m.type===l&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))k.push(K(l,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===l)k.push(K(l,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===xa)k.push(K(xa,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===ie)k.push(K(ie,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===D)k.push(K(D,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===hs)k.push(K(hs,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===T||m.props.className&&m.props.className.includes("k-button-group")){let y=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((M,I)=>{y.push(K(l,{...M.props,className:`${M.props.className?M.props.className:""}`},`${I}-${new Date().getTime()}`))}),k.push(K(T,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:y},`${L}-${new Date().getTime()}`))}else m.type===ce?k.push(K(ce,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===oe?k.push(K(oe,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===Re?k.push(K(Re,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(m);k.forEach(y=>{x.push(y)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{N(L,k)}),Wo("div",{...f,className:r(e.className,At,A(At,{size:t,fillMode:o}),S(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:i,[`${At}-scrollable-overlay`]:i&&p==="hidden",[`${At}-scrollable-${c}`]:c&&c!=="both",[`${At}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&p==="hidden"&&K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&p==="start"&&Wo(xs,{children:[Wo(T,{children:[K("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]}),K(nt,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&p==="end"&&Wo(xs,{children:[K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),K(nt,{className:"k-toolbar-button-separator"}),Wo(T,{children:[K("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(p==="around"||!p)&&Wo(xs,{children:[K("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K(nt,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),K(nt,{className:"k-toolbar-button-separator"}),K("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};z.states=hh;z.options=xh;z.className=At;z.defaultOptions=gh;z.moduleName=yt;z.folderName=Ut;z.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};import{jsx as Lh}from"react/jsx-runtime";var xp="k-floating-toolbar",Nh=[],vh={},kh={},Jo=e=>{let{...t}=e;return Lh("div",{...t,className:r(e.className,xp),children:e.children})};Jo.states=Nh;Jo.options=vh;Jo.className=xp;Jo.defaultOptions=kh;Jo.moduleName=yt;Jo.folderName=Ut;import{jsx as Ah}from"react/jsx-runtime";var gs="k-toolbar-item",Mh=[s.focus],Sh={},yh={},Yo=e=>{let{focus:t,...o}=e;return Ah("div",{...o,className:r(e.className,gs,S(gs,{focus:t})),children:e.children})};Yo.states=Mh;Yo.options=Sh;Yo.className=gs;Yo.defaultOptions=yh;Yo.moduleName=yt;Yo.folderName=Ut;import{jsx as gp}from"react/jsx-runtime";var Np="k-toolbar-popup",Ch=[],Eh={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Ih={},so=e=>{let{size:t,fillMode:o,section:a,...n}=e;return gp(G,{...n,className:r(e.className,Np),children:a?gp("span",{className:r("k-toolbar-items-list",A("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};so.states=Ch;so.options=Eh;so.className=Np;so.defaultOptions=Ih;so.moduleName=yt;so.folderName=Ut;var Mn=so;import{jsx as Oz}from"react/jsx-runtime";import{jsx as Rz}from"react/jsx-runtime";import{jsx as Hz}from"react/jsx-runtime";import{jsx as $z,jsxs as Xz}from"react/jsx-runtime";import{jsx as Yz}from"react/jsx-runtime";import{jsx as Ct,jsxs as wh}from"react/jsx-runtime";var Th=P.states,vp={...P.defaultOptions,variant:"text"},Oh=P.options,Bh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ph=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}={...vp,...e},n={},i=wh(ue,{size:a.size,children:[Ct(q,{first:!0,text:"Menu Item"}),Ct(q,{text:"Menu Item"}),Ct(q,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(p=>{p==="opened"&&(n.opened=!!o?.[p],n.popup=o?.[p]?i:"")}),t){case"icon-only":return Ct("div",{children:Ct(P,{...a,...n,icon:"star"})});case"icon-and-text":return Ct("div",{children:Ct(P,{...a,...n,icon:"star",children:"Split Button"})});default:return Ct("div",{children:Ct(P,{...a,...n,children:"Split Button"})})}};Zo.options=Oh;Zo.states=Th;Zo.variants=Bh;Zo.defaultOptions=vp;Zo.modifiers=Ph;Zo.className=P.className;import{jsx as io,jsxs as Rh}from"react/jsx-runtime";var kp=e=>io(z,{children:[io(l,{children:"Button"},"toolbar-button"),io(D,{text:"Menu button"},"toolbar-menu-button"),io(P,{children:"Split button"},"toolbar-split-button"),Rh(T,{children:[io(l,{className:"k-group-start",icon:"align-left",children:"Left"}),io(l,{icon:"align-center",children:"Center"}),io(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as y2,jsxs as A2}from"react/jsx-runtime";import{jsx as De,jsxs as Lp}from"react/jsx-runtime";var Mp=e=>De(z,{scrollable:!0,...e,children:[De(l,{children:"Button"},"toolbar-button"),De(D,{text:"Menu button"},"toolbar-menu-button"),De(P,{children:"Split button"},"toolbar-split-button"),Lp(T,{children:[De(l,{className:"k-group-start",icon:"align-left",children:"Left"}),De(l,{icon:"align-center",children:"Center"}),De(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),De(l,{children:"Button"},"toolbar-button"),De(D,{text:"Menu button"},"toolbar-menu-button"),De(P,{children:"Split button"},"toolbar-split-button"),Lp(T,{children:[De(l,{className:"k-group-start",icon:"align-left",children:"Left"}),De(l,{icon:"align-center",children:"Center"}),De(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as He,jsxs as Sp}from"react/jsx-runtime";var yp=({scrollingPosition:e="start",...t})=>He(z,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[He(l,{children:"Button"},"toolbar-button"),He(D,{text:"Menu button"},"toolbar-menu-button"),He(P,{children:"Split button"},"toolbar-split-button"),Sp(T,{children:[He(l,{className:"k-group-start",icon:"align-left",children:"Left"}),He(l,{icon:"align-center",children:"Center"}),He(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),He(l,{children:"Button"},"toolbar-button"),He(D,{text:"Menu button"},"toolbar-menu-button"),He(P,{children:"Split button"},"toolbar-split-button"),Sp(T,{children:[He(l,{className:"k-group-start",icon:"align-left",children:"Left"}),He(l,{icon:"align-center",children:"Center"}),He(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Kh,jsx as Ie,jsxs as Sn}from"react/jsx-runtime";var Ap=({fillMode:e,size:t,...o})=>Sn(Kh,{children:[Ie(z,{section:!0,fillMode:e,size:t,children:[Ie(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Sn(T,{fillMode:e,children:[Ie(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Ie(nt,{className:"k-toolbar-button-separator"}),Ie(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),Sn(Mn,{size:t,fillMode:e,section:!0,...o,children:[Ie(P,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Ie(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ie(nt,{}),Ie(D,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Sn(T,{fillMode:e,children:[Ie(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as rU,jsx as aU,jsxs as nU}from"react/jsx-runtime";import{Fragment as hU,jsx as fU,jsxs as bU}from"react/jsx-runtime";import{jsx as Ft}from"react/jsx-runtime";var _h=z.options,Dh=z.states,Cp={...z.defaultOptions,variant:"default"},Hh=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],zh=[],Qo=e=>{let{variant:t,...o}={...Cp,...e};switch(t){case"responsive":return Ft("div",{children:Ft(Ap,{style:{width:"583px"},...o})});case"overlay":return Ft("div",{children:Ft(yp,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Ft("div",{children:Ft(Mp,{style:{width:"583px"},...o})});default:return Ft("div",{children:Ft(kp,{style:{width:"583px"},...o})})}};Qo.options=_h;Qo.states=Dh;Qo.variants=Hh;Qo.defaultOptions=Cp;Qo.modifiers=zh;Qo.className=z.className;import{Fragment as Vh,jsx as rt,jsxs as _a}from"react/jsx-runtime";var Ep="k-message",Uh=[s.hover,s.selected,s.active,s.focus],Fh={},Gh=[rt(l,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),rt(l,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),rt(l,{icon:"download",fillMode:"flat","aria-label":"Download"})],jo={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:Gh,failed:"Failed to send"},V=e=>{let{time:t=jo.time,text:o=jo.text,content:a,status:n=jo.status,statusIcon:i,toolbarItems:p=jo.toolbarItems,hover:c,selected:u,active:f,focus:x,toolbar:N,typing:m,expandable:L,expanded:k,removed:y,files:C,failed:M,...I}=e,X=M===!0?jo.failed:M;return _a("div",{...I,className:r(Ep,e.className,{"k-message-removed":y,"k-message-failed":M}),children:[M&&rt(ie,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),rt(Ip,{typing:m,selected:u,hover:c,active:f,focus:x,content:_a(Vh,{children:[a,o&&rt("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:k,files:C}),_a("div",{className:"k-message-info",children:[n&&_a("span",{className:"k-message-status",children:[i&&rt(v,{icon:i,size:"xsmall"}),n]}),t&&rt("time",{className:"k-message-time",children:t}),M&&_a("span",{className:"k-message-failed-content",children:[M&&rt(v,{icon:"warning-triangle",size:"xsmall"}),M&&rt("span",{className:"k-message-failed-text",children:X})]})]}),N&&rt(z,{className:"k-chat-message-toolbar",fillMode:"flat",children:p})]})};V.states=Uh;V.options=Fh;V.className=Ep;V.defaultOptions=jo;var Ns="avatar",Tp=Ns;import{jsx as Op}from"react/jsx-runtime";var Da="k-avatar";var $h=[s.hover,s.focus,s.active,s.selected,s.disabled],Xh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},vs={type:"text",border:!1},fe=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=vs.type,border:p=vs.border,...c}=e;return Op("div",{...c,className:r(e.className,Da,A(Da,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Da}-bordered`]:p}),children:Op("span",{className:`${Da}-${i}`,children:e.children})})};fe.states=$h;fe.options=Xh;fe.className=Da;fe.defaultOptions=vs;fe.moduleName=Ns;fe.folderName=Tp;fe.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var lo=fe;import{jsx as qh}from"react/jsx-runtime";var Bp=e=>qh(lo,{type:"icon",...e});import{jsx as Wh}from"react/jsx-runtime";var Pp=e=>Wh(lo,{type:"text",...e});import{jsx as Jh}from"react/jsx-runtime";var yn=e=>Jh(lo,{type:"image",...e});import{jsx as p3}from"react/jsx-runtime";import{jsx as Ha}from"react/jsx-runtime";var Yh=fe.options,Zh=fe.states,Qh={...fe.defaultOptions,variant:"image"},jh=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],ex=[],ea=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ha(Bp,{...o,children:Ha(v,{icon:"star"})});case"text":return Ha(Pp,{...o,children:"JO"});default:return Ha(yn,{...o,children:Ha("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ea.options=Yh;ea.states=Zh;ea.variants=jh;ea.defaultOptions=Qh;ea.modifiers=ex;ea.className=fe.className;import{jsx as ta,jsxs as ks}from"react/jsx-runtime";var za="k-message-group",tx=[s.selected],ox={},An={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},$=e=>{let{type:t=An.type,author:o=An.author,avatar:a=An.avatar,status:n,selected:i,fullWidth:p,...c}=e;return ks("div",{...c,className:r(za,e.className,S(za,{selected:i}),{[`${za}-${t}`]:t,"k-no-avatar":!a,[`${za}-full-width`]:p}),children:[a&&!n&&ta(fe,{type:"image",children:ta("img",{src:a,alt:o||""})}),n&&a&&ks("div",{className:"k-chat-user-status-wrapper",children:[ta(fe,{type:"image",children:ta("img",{src:a,alt:o||""})}),ta("div",{className:"k-chat-user-status"})]}),ks("div",{className:"k-message-group-content",children:[o&&ta("span",{className:"k-message-author",children:o}),e.children]})]})};$.states=tx;$.options=ox;$.className=za;$.defaultOptions=An;import{Fragment as nx,jsx as Cn,jsxs as wp}from"react/jsx-runtime";var Ls="k-message-reference",ax={},Rp={type:"receiver"},oa=e=>{let{content:t,closeable:o,pinned:a,type:n=Rp.type,...i}=e;return wp("div",{...i,className:r(Ls,e.className,{[`${Ls}-${n}`]:n,"k-message-pinned":a}),children:[a&&Cn(v,{icon:"pin-outline"}),Cn("div",{className:"k-message-reference-content",children:t}),o&&wp(nx,{children:[Cn("span",{className:"k-spacer"}),Cn(l,{icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};oa.options=ax;oa.className=Ls;oa.defaultOptions=Rp;var Ms="bubble",Kp=Ms;import{jsx as En,jsxs as sx}from"react/jsx-runtime";var Ss="k-bubble",rx=[s.hover,s.active,s.selected,s.focus],ys={expandable:!1,expanded:!1},Gt=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:p=ys.expandable,expanded:c=ys.expanded,...u}=e;return sx("div",{...u,className:r(e.className,Ss,S(Ss,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":p},{"k-expanded":c}),tabIndex:0,children:[En("div",{className:"k-bubble-content",children:t??e.children}),p&&En("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?En(v,{icon:"chevron-up"}):En(v,{icon:"chevron-down"})})]})};Gt.states=rx;Gt.className=Ss;Gt.defaultOptions=ys;Gt.moduleName=Ms;Gt.folderName=Kp;Gt.ariaSpec={selector:".k-bubble",rules:[{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."}]};import{jsx as G3}from"react/jsx-runtime";import{jsx as q3}from"react/jsx-runtime";import{jsx as Z3}from"react/jsx-runtime";import{jsx as As,jsxs as Dp}from"react/jsx-runtime";var ix="k-chat-bubble",Ip=e=>{let{typing:t,content:o,files:a,...n}=e;return Dp(Gt,{...n,className:r(e.className,ix),children:[t?Dp("div",{className:"k-typing-indicator",tabIndex:-1,children:[As("span",{}),As("span",{}),As("span",{})]}):o,a]})};import{jsx as mF}from"react/jsx-runtime";import{jsx as Hp,jsxs as lx}from"react/jsx-runtime";var zp="k-chat-event",Cs={icon:"trash",text:"You deleted Chat history."},Up=e=>{let{icon:t=Cs.icon,text:o=Cs.text,...a}=e;return lx("div",{...a,className:r(e.className,zp),children:[t&&Hp(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&Hp("span",{className:"k-chat-event-text",children:o})]})};Up.className=zp;Up.defaultOptions=Cs;import{jsx as LF}from"react/jsx-runtime";import{Fragment as px,jsx as xt,jsxs as dx}from"react/jsx-runtime";var Fp=e=>xt(U,{children:dx(px,{children:[xt("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),xt($,{children:xt(V,{})}),xt($,{type:"sender",children:xt(V,{})}),xt($,{children:xt(V,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),xt($,{type:"sender",children:xt(V,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});import{Fragment as TF,jsx as IF,jsxs as OF}from"react/jsx-runtime";var Es="skeleton",Gp=Es;import{jsx as fx}from"react/jsx-runtime";var Is="k-skeleton",cx=["circle","text","rect"],mx=[],ux={},Ts={variant:"text",shape:"text",animation:"pulse"},st=e=>{let{variant:t,shape:o,animation:a=Ts.animation,...n}=e,i=`skeleton-${t||o||Ts.variant}`;return fx("span",{...n,className:r(e.className,Is,Wa(Is,i),{[`k-skeleton-${a}`]:a}),style:e.style})};st.states=mx;st.options=ux;st.variants=cx;st.className=Is;st.defaultOptions=Ts;st.moduleName=Es;st.folderName=Gp;st.ariaSpec={selector:".k-skeleton",rules:[]};import{jsx as zF}from"react/jsx-runtime";import{jsx as VF}from"react/jsx-runtime";import{jsx as WF}from"react/jsx-runtime";import{Fragment as l5,jsx as s5,jsxs as i5}from"react/jsx-runtime";import{Fragment as u5,jsx as m5,jsxs as f5}from"react/jsx-runtime";var Os="window",Vp=Os;import{jsx as gx}from"react/jsx-runtime";var $p="k-window-content",bx=[],hx={},xx={},Vt=e=>{let{children:t,...o}=e;return gx("div",{...o,className:r($p,e.className),children:t})};Vt.states=bx;Vt.options=hx;Vt.className=$p;Vt.defaultOptions=xx;Vt.moduleName=Os;Vt.folderName=Vp;var Ua="dialog",In=Ua;import{Fragment as kx,jsx as po,jsxs as Bs}from"react/jsx-runtime";var Xp="k-dialog",Nx=[],vx={},Ps={actionButtonsAlign:"stretched",modal:!0},Te=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=Ps.actionButtonsAlign,modal:i=Ps.modal,...p}=e,c=t!==void 0?w("dialog-titlebar"):void 0,u=w("dialog-content");return Bs("div",{className:"k-dialog-wrapper",children:[i&&po(ut,{}),Bs("div",{...p,className:r(e.className,Xp,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&Bs("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&po("span",{className:"k-window-title k-dialog-title",children:t}),o&&po(kx,{children:po("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(f=>po(l,{icon:f,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":f},f))})})]}),po(Vt,{className:"k-dialog-content",id:u,children:e.children}),a&&po(we,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};Te.states=Nx;Te.options=vx;Te.className=Xp;Te.defaultOptions=Ps;Te.moduleName=Ua;Te.folderName=In;Te.ariaSpec={selector:".k-dialog",rules:[{selector:".k-dialog",attribute:"role=dialog or role=alertdialog",usage:"Announces the dialog or alertdialog role of the component."},{selector:".k-dialog",attribute:"aria-labelledby",usage:"Associate the title of the dialog."},{selector:".k-dialog",attribute:"aria-describedby",usage:"Associate the dialog content to the wrap element."},{selector:".k-overlay + .k-dialog",attribute:"aria-modal=true",usage:"Announces that the dialog is modal. Attribute is added only when the dialog is modal."}]};var ws=Te;import{jsx as yx}from"react/jsx-runtime";var qp="k-dialog-wrapper",Lx=[],Mx={},Sx={},aa=e=>{let{...t}=e;return yx("div",{...t,className:r(e.className,qp),children:e.children})};aa.states=Lx;aa.options=Mx;aa.className=qp;aa.defaultOptions=Sx;aa.moduleName=Ua;aa.folderName=In;import{Fragment as Wp,jsx as Tn,jsxs as Ax}from"react/jsx-runtime";var Jp=e=>Tn(ws,{title:"Title",children:Tn(Wp,{children:"Dialog content"}),actionButtons:Ax(Wp,{children:[Tn(l,{children:"Action"}),Tn(l,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});import{Fragment as U5,jsx as F5,jsxs as G5}from"react/jsx-runtime";import{Fragment as Bx,jsx as On,jsxs as Px}from"react/jsx-runtime";var Cx=Te.options,Ex=[],Ix=Te.states,Tx=Te.defaultOptions,Ox=[],na=e=>On(Jp,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:Px(Bx,{children:[On(l,{children:"No"}),On(l,{themeColor:"primary",children:"Yes"})]}),children:On("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});na.options=Cx;na.states=Ix;na.variants=Ex;na.defaultOptions=Tx;na.modifiers=Ox;na.className=Te.className;var Rs="dropzone",Yp=Rs;import{jsx as Bn,jsxs as Kx}from"react/jsx-runtime";var Ks="k-external-dropzone",wx=[s.disabled,s.hover],Rx={},_s={icon:"upload",hint:"Drag and drop files here to upload"},Ae=e=>{let{hover:t,disabled:o,icon:a=_s.icon,hint:n=_s.hint,note:i,...p}=e;return Bn("div",{...p,className:r(e.className,Ks,S(Ks,{disabled:o}),{"k-external-dropzone-hover":t}),children:Kx("div",{className:"k-dropzone-inner",children:[a&&Bn(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&Bn("span",{className:"k-dropzone-hint",children:n}),i&&Bn("span",{className:"k-dropzone-note",children:i})]})})};Ae.states=wx;Ae.options=Rx;Ae.className=Ks;Ae.defaultOptions=_s;Ae.moduleName=Rs;Ae.folderName=Yp;import{jsx as _x}from"react/jsx-runtime";var Zp=e=>_x(Ae,{...e});import{jsx as fG}from"react/jsx-runtime";import{jsx as Gx}from"react/jsx-runtime";var Dx=Ae.options,Hx=Ae.states,zx=Ae.defaultOptions,Ux=[{name:"note",title:"Note"}],Fx=[],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t?.[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),Gx(Zp,{style:{width:"500px"},...o,...a})};ra.options=Dx;ra.states=Hx;ra.variants=Fx;ra.defaultOptions=zx;ra.modifiers=Ux;ra.className=Ae.className;import{Fragment as Pn,jsx as $t,jsxs as Fa}from"react/jsx-runtime";var Ds="k-upload-dropzone",Vx=[s.hover],wn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,...p}=e,c;switch(o){case"uploading":c=Fa(Pn,{children:[$t(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=Fa(Pn,{children:[$t(v,{icon:"check"}),"Done"]});break;case"failed":c=Fa(Pn,{children:[$t(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=$t(Pn,{});break}return Fa("div",{...p,className:r(e.className,Ds,"k-dropzone",S(Ds,{hover:t})),children:[Fa("div",{className:"k-upload-button-wrap",children:[$t(l,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:"Select files..."}),$t("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),$t("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&$t("span",{className:"k-upload-status",children:c})]})};wn.states=Vx;wn.className=Ds;var Hs="upload",Qp=Hs;import{jsx as Rn,jsxs as ed}from"react/jsx-runtime";var zs="k-upload",$x=[s.hover,s.disabled],Xx={},td={actionsLayout:"end"},jp="upload-files-list",j=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=td.actionsLayout,hover:i,status:p,disabled:c,...u}=e,f=!!e.children;return ed("div",{...u,className:r(e.className,zs,S(zs,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[Rn(wn,{status:p,hover:i,disabled:c,hasFiles:f,filesId:jp}),f&&Rn("ul",{className:"k-upload-files",role:"list",id:jp,children:e.children}),a&&f&&ed($i,{alignment:n,orientation:"horizontal",children:[Rn(l,{className:"k-clear-selected",children:"Clear"}),Rn(l,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};j.states=$x;j.options=Xx;j.className=zs;j.defaultOptions=td;j.moduleName=Hs;j.folderName=Qp;j.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var Ga="progressbar",Kn=Ga;import{jsx as Fs,jsxs as Us}from"react/jsx-runtime";var je="k-progressbar",qx=[s.disabled,s.indeterminate],Wx={orientation:["horizontal","vertical"]},co={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},be=e=>{let{disabled:t,height:o,indeterminate:a=co.indeterminate,label:n=co.label,labelPosition:i=co.labelPosition,orientation:p=co.orientation,reverse:c=co.reverse,value:u=co.value,width:f,style:x,ariaLabel:N,...m}=e;return Us("div",{...m,className:r(e.className,je,S(je,{disabled:t}),{[`${je}-${p}`]:p,[`${je}-indeterminate`]:a,[`${je}-reverse`]:c}),style:{...x,"--kendo-progressbar-value":u,[p==="horizontal"?"height":"width"]:p==="horizontal"?o:f},role:"progressbar","aria-label":N||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[Fs("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&Us("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&Fs("div",{className:"k-progressbar-value k-selected",children:Fs("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&Us("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};be.states=qx;be.options=Wx;be.className=je;be.defaultOptions=co;be.moduleName=Ga;be.folderName=Kn;be.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var od=be;import{jsx as Gs}from"react/jsx-runtime";var ad="k-chunk-progressbar",Jx=(e,t)=>t<=e-1,Yx=[s.disabled,s.indeterminate],Zx={},_n={chunkCount:5,orientation:"horizontal",progress:0},mo=e=>{let{disabled:t,chunkCount:o=_n.chunkCount,indeterminate:a,orientation:n=_n.orientation,progress:i=_n.progress,reverse:p,ariaLabel:c,...u}=e;return Gs("div",{...u,className:r(e.className,je,ad,S(je,{disabled:t}),{[`${je}-${n}`]:n,[`${je}-indeterminate`]:a,[`${je}-reverse`]:p}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:Gs("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,x)=>Gs("li",{className:r("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":Jx(i,x)})},x))})})};mo.states=Yx;mo.options=Zx;mo.className=ad;mo.defaultOptions=_n;mo.moduleName=Ga;mo.folderName=Kn;mo.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};import{jsx as Qx}from"react/jsx-runtime";var Va=e=>Qx(od,{...e});import{jsx as t6}from"react/jsx-runtime";import{jsx as Xt}from"react/jsx-runtime";var jx=be.options,eg=be.states,nd={...be.defaultOptions,variant:"start"},tg=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],og=[],sa=e=>{let{variant:t,modifiers:o,...a}={...nd,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(p=>{switch(p){case"reverse":n.reverse=!!o?.[p];break;case"vertical":n.orientation=o?.[p]?"vertical":void 0,i.style=o?.[p]?void 0:{width:"324px"};break}}),t){case"end":return Xt("div",{...i,children:Xt(Va,{...a,...n,labelPosition:"end",value:"50"})});case"center":return Xt("div",{...i,children:Xt(Va,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return Xt("div",{...i,children:Xt(Va,{...a,...n,label:!1,value:"50"})});default:return Xt("div",{...i,children:Xt(Va,{...a,...n,labelPosition:"start",value:"50"})})}};sa.options=jx;sa.states=eg;sa.variants=tg;sa.defaultOptions=nd;sa.modifiers=og;sa.className=be.className;import{jsx as Vs,jsxs as ng}from"react/jsx-runtime";var ag="k-file-info",$s=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return ng("div",{...n,className:r(e.className,ag),children:[t&&Vs("span",{className:"k-file-name",children:t}),o&&Vs("span",{className:"k-file-size",children:o}),a&&Vs("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as sg,jsx as Et,jsxs as Dn}from"react/jsx-runtime";var rg="k-file",Oe=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:p,validationMsg:c,...u}=e;return Et("li",{...u,className:r(e.className,rg,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Dn("div",{className:"k-file-single",children:[Et(be,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),Dn("span",{className:"k-file-icon-wrapper",children:[Et(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),p&&Et("span",{className:"k-file-state",children:p})]}),Et($s,{name:a,size:i,validationMsg:c}),Et("div",{className:"k-upload-actions",children:t==="progress"?Dn(sg,{children:[Dn("span",{className:"k-upload-pct",children:[o,"%"]}),Et(l,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Et(l,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Et(l,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as O6,jsx as I6,jsxs as T6}from"react/jsx-runtime";import{Fragment as ig,jsx as Xs,jsxs as lg}from"react/jsx-runtime";var $a=e=>Xs(j,{async:!0,children:lg(ig,{children:[Xs(Oe,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Xs(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as U6,jsx as H6,jsxs as z6}from"react/jsx-runtime";import{jsx as pg}from"react/jsx-runtime";var rd=e=>pg(j,{async:!0,empty:!0,...e});import{Fragment as J6,jsx as W6,jsxs as Y6}from"react/jsx-runtime";import{Fragment as t7,jsx as e7,jsxs as o7}from"react/jsx-runtime";import{jsx as It,jsxs as Hn}from"react/jsx-runtime";var dg=j.options,cg=j.states,sd={...j.defaultOptions,variant:"empty"},mg=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],ug=[],ia=e=>{let{variant:t,...o}={...sd,...e};switch(t){case"success":return Hn($a,{status:"done",style:{width:"586px"},...o,children:[It(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),It(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return Hn($a,{status:"failed",style:{width:"586px"},...o,children:[It(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),It(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return Hn($a,{status:"uploading",style:{width:"586px"},...o,children:[It(Oe,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),It(Oe,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return Hn($a,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[It(Oe,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),It(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return It(rd,{async:!0,status:"upload",style:{width:"586px"},...o})}};ia.options=dg;ia.states=cg;ia.variants=mg;ia.defaultOptions=sd;ia.modifiers=ug;ia.className=j.className;import{Fragment as T7,jsx as I7,jsxs as O7}from"react/jsx-runtime";import{jsx as R7}from"react/jsx-runtime";import{Fragment as z7,jsx as H7,jsxs as U7}from"react/jsx-runtime";import{Fragment as X7,jsx as $7,jsxs as q7}from"react/jsx-runtime";import{Fragment as Q7,jsx as Z7,jsxs as j7}from"react/jsx-runtime";import{Fragment as n9,jsx as a9}from"react/jsx-runtime";import{jsx as id}from"react/jsx-runtime";var zn="k-file-box-wrapper",ld={layout:"horizontal"},it=e=>{let{layout:t=ld.layout,scrollingPosition:o,...a}=e;return id("ul",{role:"list","aria-label":"Attached files",...a,className:r(e.className,zn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${zn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${zn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?id("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};it.className=zn;it.defaultOptions=ld;var qs="file-box",pd=qs;import{jsx as la,jsxs as dd}from"react/jsx-runtime";var cd="k-file-box",fg=[s.selected],bg={},Xa={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},ne=e=>{let{icon:t=Xa.icon,name:o=Xa.name,size:a=Xa.size,status:n,deleted:i,removeButton:p,showButton:c=Xa.showButton,...u}=e,f=[o,a].filter(Boolean).join(" ");return dd("li",{role:"listitem",tabIndex:0,"aria-label":f||void 0,...u,className:r(cd,e.className,{"k-file-deleted":i}),children:[la(v,{icon:t,size:"xlarge","aria-hidden":"true"}),dd("div",{className:"k-file-info",children:[o&&la("span",{className:"k-file-name",children:o}),a&&la("span",{className:"k-file-size",children:a}),n&&la("span",{className:"k-file-status",children:n})]}),c&&(p?la(l,{as:"span",icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):la(D,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};ne.states=fg;ne.options=bg;ne.className=cd;ne.defaultOptions=Xa;ne.moduleName=qs;ne.folderName=pd;ne.ariaSpec={selector:".k-file-box-wrapper",rules:[{selector:".k-file-box-wrapper",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-file-box-wrapper",attribute:"aria-label",usage:'Provides an accessible name for the file list (e.g. "Attached files").'},{selector:".k-file-box-wrapper .k-files-scroll",attribute:"role=presentation",usage:"The scrollable container between the list and its items is presentational, ensuring the list\u2192listitem relationship is preserved in the accessibility tree."},{selector:".k-file-box-wrapper .k-file-box",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-file-box-wrapper .k-file-box",attribute:"tabindex",usage:"Makes the file box focusable. Uses roving tabindex: 0 for the focused item, -1 for the rest."},{selector:".k-file-box-wrapper .k-file-box",attribute:"aria-label",usage:'Provides an accessible name describing the file. Can include the file name and size (e.g. "FileName.pdf 2MB").'},{selector:".k-file-box-wrapper .k-file-box .k-icon",attribute:"aria-hidden=true",usage:"The file type icon is decorative and hidden from screen readers."},{selector:".k-file-box-wrapper .k-file-box span.k-button",attribute:"aria-hidden=true",usage:"The remove button is rendered as a decorative span and hidden from screen readers. File removal is handled by keyboard interaction on the listitem itself."}]};import{jsx as v9}from"react/jsx-runtime";import{jsx as y9}from"react/jsx-runtime";import{jsx as T9,jsxs as O9}from"react/jsx-runtime";import{jsx as K9,jsxs as _9}from"react/jsx-runtime";import{jsx as F9}from"react/jsx-runtime";var Ws="appbar",md=Ws;import{jsx as Ng}from"react/jsx-runtime";var Js="k-appbar",hg=[],xg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.inverse]},gg={},he=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return Ng("div",{...n,className:r(e.className,Js,A(Js,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};he.states=hg;he.options=xg;he.className=Js;he.defaultOptions=gg;he.moduleName=Ws;he.folderName=md;he.ariaSpec={selector:".k-appbar",rules:[]};import{jsx as kg}from"react/jsx-runtime";var vg="k-appbar-section",gt=e=>{let{...t}=e;return kg("div",{...t,className:r(vg,e.className),children:e.children})};import{Fragment as c4,jsx as p4,jsxs as d4}from"react/jsx-runtime";import{jsx as ee,jsxs as pa}from"react/jsx-runtime";var Ys={...he.options,positionMode:["static","sticky","fixed"]},Lg=he.states,ud={...he.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};Ys.themeColor=["primary",...Ys.themeColor.filter(e=>e!=="primary")];var Mg=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],da=e=>{let{variant:t,...o}={...ud,...e},a=pa(he,{position:t,...o,children:[ee(gt,{children:ee(ie,{fillMode:"flat",icon:"menu"})}),ee("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),ee(gt,{children:ee("h3",{className:"k-m-0",children:"AppBar"})}),ee("span",{className:"k-spacer"}),pa(gt,{children:[ee(ot,{fillMode:"flat",children:"Button"}),ee(ot,{fillMode:"flat",children:"Button"}),ee(ot,{fillMode:"flat",children:"Button"})]}),ee("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),ee(gt,{children:ee(sn,{value:"Input value"})}),pa(gt,{children:[ee(ie,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),ee("span",{className:"k-appbar-separator"}),ee(yn,{className:"k-mx-sm",children:ee("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=pa("div",{style:{padding:"25px 10px"},children:[ee("p",{children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit, harum magnam? Possimus magnam non natus error consectetur voluptatum, unde quasi rerum ad facere, hic in! Qui ducimus ab sed consequuntur excepturi fugiat! Facilis fuga asperiores pariatur sed. Eligendi aliquid vel nemo, ipsum tempora minima consequatur culpa molestias maiores nihil eveniet accusantium porro. Inventore saepe ut ad in a. Quo itaque est expedita quidem consectetur enim quam minima, quisquam harum velit, earum adipisci provident, officia eveniet voluptas vero accusamus ad ducimus laudantium!"}),ee("p",{children:"Consequatur incidunt sequi explicabo adipisci saepe, accusamus, numquam fuga quam ex, provident possimus ratione blanditiis ducimus quos nulla repellat error pariatur nemo nobis illo! Saepe deleniti dolore cumque, sequi similique eligendi consectetur corrupti iste reprehenderit adipisci enim laudantium inventore totam quos non impedit quibusdam et consequuntur blanditiis accusamus! Rerum, nostrum. Rerum, tempore earum officia alias suscipit ut minima recusandae dolorem reprehenderit ea?"}),ee("p",{children:"Aliquam pariatur ut expedita, repellat architecto aut, consequatur iure recusandae tempora odit consequuntur, nihil nostrum totam accusantium at. Dignissimos repellendus culpa nesciunt. Officia repudiandae, laudantium error iure in minus ratione reprehenderit dolorum alias quo voluptatibus doloremque aliquid exercitationem quidem odit earum natus autem eaque tempore nulla esse sapiente? Dolore aliquid aliquam modi velit quaerat!"}),ee("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?pa("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):pa("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};da.options=Ys;da.states=Lg;da.variants=Mg;da.defaultOptions=ud;da.modifiers=[];da.className=he.className;var Zs="suggestion",fd=Zs;import{jsx as Un,jsxs as Ag}from"react/jsx-runtime";var Fn="k-suggestion-group",Sg=[],yg={},bd={layout:"scrollable",scrollingPosition:"start"},et=e=>{let{layout:t=bd.layout,scrollingPosition:o,...a}=e,n=Un("div",{...a,className:r(Fn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Fn}-scrollable-start`]:o==="start"||o==="both",[`${Fn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Un("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?Ag("div",{className:"k-suggestion-scrollwrap",children:[Un(l,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Un(l,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};et.states=Sg;et.options=yg;et.className=Fn;et.defaultOptions=bd;et.moduleName=Zs;et.folderName=fd;import{jsx as Tg}from"react/jsx-runtime";var Gn="k-suggestion",Cg=[s.active,s.hover,s.focus],Eg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Ig={text:"Suggestion"},tt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...p}=e;return Tg("span",{...p,className:r(e.className,Gn,S(Gn,{hover:a,active:o,focus:n}),A(Gn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};tt.states=Cg;tt.options=Eg;tt.className=Gn;tt.item=Ig;import{Fragment as D4,jsx as _4,jsxs as H4}from"react/jsx-runtime";import{Fragment as V4,jsx as G4,jsxs as $4}from"react/jsx-runtime";import{Fragment as Y4,jsx as J4,jsxs as Z4}from"react/jsx-runtime";import{Fragment as Kg,jsx as te,jsxs as Vn}from"react/jsx-runtime";var Og=U.states,Bg=U.defaultOptions,Pg=U.options,wg=[{name:"header",title:"Header"},{name:"pinned",title:"Pinned"},{name:"suggested",title:"Suggested Actions"},{name:"author",title:"Author"},{name:"avatar",title:"Avatar"},{name:"quick",title:"Quick Replies"}],Rg=[],ca=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=Vn(he,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[te("span",{className:"k-spacer k-spacer-sized k-w-1"}),te(gt,{children:te("span",{children:"Chat with demo bot"})}),te("span",{className:"k-spacer"}),te(gt,{children:te(l,{fillMode:"flat",icon:"more-vertical"})})]}),i=te(oa,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),p=Vn(et,{children:[te(tt,{text:"Provide a CV template"}),te(tt,{text:"Generate a cover letter"})]}),c=Vn(et,{children:[te(tt,{themeColor:"primary",text:"Thank you!"}),te(tt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",f=null,x="User",N="Demo Bot";Object.keys(t||{}).forEach(I=>{switch(I){case"header":a.header=t?.[I]?n:!1;break;case"pinned":a.pinned=t?.[I]?i:!1;break;case"suggested":a.suggestedActions=t?.[I]?p:!1;break;case"author":a.author=t?.[I]?!0:null;break;case"avatar":a.avatar=t?.[I]?u:null;break;case"quick":a.quickReplies=t?.[I]?c:te(Kg,{});break;default:break}});let{header:m,pinned:L,suggestedActions:k,author:y,avatar:C,quickReplies:M}=a;return Vn(Fp,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:k,children:[te($,{avatar:f,author:y?N:null,children:te(V,{text:"Hello, this is a demo bot. How can I help you ?"})}),te($,{avatar:C?u:null,author:y?x:null,type:"sender",children:te(V,{text:"Hello! Generate a cover letter."})}),te($,{avatar:f,author:y?N:null,children:te(V,{text:"Sure. Here is a cover letter template",files:te(it,{children:te(ne,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),M]})};ca.options=Pg;ca.states=Og;ca.variants=Rg;ca.defaultOptions=Bg;ca.modifiers=wg;ca.className=U.className;import{Fragment as hd,jsx as Tt,jsxs as _g}from"react/jsx-runtime";var z8=e=>Tt(U,{children:Tt(hd,{children:Tt($,{children:Tt(V,{})})}),files:Tt(hd,{children:_g(it,{scrollingPosition:"start",children:[Tt(ne,{removeButton:!0}),Tt(ne,{icon:"file-psd",name:"File with long name",size:"5MB",removeButton:!0}),Tt(ne,{icon:"file-txt",name:"Another file with longer name",removeButton:!0}),Tt(ne,{icon:"file-csv",name:"Another file with even longer name",size:"5MB",removeButton:!0})]})}),...e});export{z8 as ChatTextareaFile};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var A=(e,t)=>r({[`${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.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),S=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:p,active:c,selected:u,disabled:f,indeterminate:x,loading:N,empty:m,readonly:L,highlighted:k,...y}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":p,"k-active":c,"k-selected":u,"k-disabled":f,"k-indeterminate":x&&!p,"k-loading":N,"k-empty":m,"k-readonly":L,"k-highlighted":k},Object.keys(y).reduce((C,M)=>(M.startsWith("k-")?C[M]=y[M]:C[`k-${M}`]=y[M],C),{}))};function Wa(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},lt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={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 Wn={};function w(e){return Wn[e]=(Wn[e]||0)+1,`k-${e}-${Wn[e]}`}import{Fragment as kd,jsx as js}from"react/jsx-runtime";var Jn="k-font-icon",gd=[],Nd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},vd={},ma=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...p}=e;return a?js("span",{...p,className:r(e.className,Jn,A(Jn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):js(kd,{})};ma.states=gd;ma.options=Nd;ma.className=Jn;ma.defaultOptions=vd;var ei=ma;import{Fragment as Sd,jsx as Ja}from"react/jsx-runtime";var Yn="k-svg-icon",Ld=[],Md={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[lt.outline,lt.solid,lt.duotone]},Zn={viewBox:"0 0 24 24",variant:lt.outline},ua=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=Zn.viewBox,variant:p=Zn.variant,icon:c,...u}=e;if(!c)return Ja(Sd,{});if(c==="none")return Ja("span",{...u,className:r(e.className,Yn,A("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let f=typeof c=="object"&&c.name&&c.name,x=typeof c=="object"?p&&c.variants?.[p]||c.variants?.outline||c.content:void 0;return Ja("span",{...u,className:r(e.className,Yn,A("k-icon",{size:t}),{[`k-svg-i-${f}`]:f,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ja("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:i,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:c?void 0:e.children})})};ua.states=Ld;ua.options=Md;ua.className=Yn;ua.defaultOptions=Zn;var Qn=ua;import*as jn from"@progress/kendo-svg-icons";var ti="icon",oi="icons";import{useContext as Ad}from"react";import{createContext as yd}from"react";var ai=yd({iconsType:"svg"});import{Fragment as ni,jsx as fa}from"react/jsx-runtime";var Ya="k-icon",Cd=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Ed=[],Id={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info],variant:[lt.outline,lt.solid,lt.duotone]},Za={viewBox:"0 0 24 24",type:"svg",variant:lt.outline},v=e=>{let{iconsType:t}=Ad(ai),{size:o,themeColor:a,icon:n,type:i=t||Za.type,rotate:p,flip:c,viewBox:u=Za.viewBox,variant:f=Za.variant,...x}=e;if(!n)return fa(ni,{});if((t||i)==="svg"){if(n==="none")return fa(Qn,{...x,className:r(e.className,Ya),icon:n,size:o,variant:f});let m=jn[n]?n:Cd(`${n}-icon`);return jn[m]?fa(Qn,{...x,className:r(e.className,Ya),icon:jn[m],size:o,themeColor:a,rotate:p,flip:c,viewBox:u,variant:f}):fa(ni,{})}return fa(ei,{...x,className:r(e.className,Ya),icon:n,size:o,themeColor:a,rotate:p,flip:c})};v.states=Ed;v.options=Id;v.defaultOptions=Za;v.className=Ya;v.moduleName=ti;v.folderName=oi;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var er="button",ri=er;import{Fragment as Pd,jsx as ba,jsxs as si}from"react/jsx-runtime";var ha="k-button",Td=["icon-button"],Od=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],Bd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},tr={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:p=tr.showArrow,arrowIconName:c=tr.arrowIconName,variant:u,hover:f,focus:x,active:N,selected:m,disabled:L,togglable:k,ariaDisabled:y,icon:C,text:M,iconClassName:I,className:X,...de}=e,xe=C!==void 0,ge=e.children!==void 0;return si(t,{className:r(X,ha,Wa(ha,u),A(ha,{size:o,rounded:a,fillMode:n,themeColor:i}),S(ha,{hover:f,focus:x,active:N,disabled:L||y,selected:m}),{"k-icon-button":!M&&!ge&&xe}),...de,"aria-pressed":k?m?"true":"false":void 0,"aria-disabled":y?"true":void 0,disabled:L||void 0,children:[C&&ba(v,{className:r(I,"k-button-icon"),icon:C}),M?si(Pd,{children:[M&&ba("span",{className:"k-button-text",children:M}),e.children]}):e.children&&ba("span",{className:"k-button-text",children:e.children}),p&&ba("span",{className:"k-menu-button-arrow k-button-arrow",children:ba(v,{icon:c})})]})};l.states=Od;l.options=Bd;l.variants=Td;l.className=ha;l.defaultOptions=tr;l.moduleName=er;l.folderName=ri;l.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};import{jsx as wd}from"react/jsx-runtime";var ie=e=>wd(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Rd}from"react/jsx-runtime";var xa=e=>Rd(l,{icon:"folder",children:"Button",...e});import{jsx as Kd}from"react/jsx-runtime";var ot=e=>Kd(l,{children:"Button",...e});import{jsx as or}from"react/jsx-runtime";var _d=l.options,Dd=l.states,Hd={...l.defaultOptions,variant:"text"},zd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ud=[],uo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return or(ie,{...o,icon:"star"});case"icon-and-text":return or(xa,{...o,icon:"star",children:"Button"});default:return or(ot,{...o,children:"Button"})}};uo.options=_d;uo.states=Dd;uo.variants=zd;uo.defaultOptions=Hd;uo.modifiers=Ud;uo.className=l.className;import{jsx as ii,jsxs as Xd}from"react/jsx-runtime";var Qa="k-fab",Vd=[s.hover,s.focus,s.active,s.selected,s.disabled],$d={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},li={type:"button"},Y=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:p=li.type,position:c,hover:u,focus:f,active:x,selected:N,disabled:m,...L}=e;return Xd("button",{...L,type:p,className:r(e.className,Qa,A(Qa,{size:t,rounded:o,themeColor:a}),S(Qa,{hover:u,focus:f,active:x,disabled:m,selected:N}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&ii(v,{className:"k-fab-icon",icon:i}),n&&ii("span",{className:"k-fab-text",children:n})]})};Y.states=Vd;Y.options=$d;Y.className=Qa;Y.defaultOptions=li;Y.moduleName="fab";Y.folderName="fab";Y.ariaSpec={selector:".k-fab",rules:[{selector:".k-fab",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-fab",attribute:"aria-label or title (when icon-only)",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-fab.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."}]};import{jsx as Wd}from"react/jsx-runtime";var qd="k-fab-items",pi=e=>{let{position:t,...o}=e;return Wd("ul",{...o,className:r(e.className,qd,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as ci,jsxs as Yd}from"react/jsx-runtime";var di="k-fab-item",Jd=[s.hover,s.focus,s.active,s.disabled],ar=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:p,disabled:c,...u}=e;return Yd("li",{...u,className:r(e.className,di,{[`k-text-${a}`]:a},S(di,{hover:n,focus:i,active:p,disabled:c})),children:[ci("span",{className:"k-fab-item-text",children:t}),ci(v,{className:"k-fab-item-icon",icon:o})]})};ar.states=Jd;import{jsx as nv}from"react/jsx-runtime";import{jsx as Zd}from"react/jsx-runtime";var mi=e=>Zd(Y,{icon:"plus",...e});import{jsx as cv}from"react/jsx-runtime";import{jsx as bv}from"react/jsx-runtime";import{jsx as fo,jsxs as ac}from"react/jsx-runtime";var Qd=Y.options,jd=Y.states,ec={...Y.defaultOptions,variant:"text"},tc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],oc=[{name:"opened",title:"Opened"}],bo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?fo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:fo(pi,{position:"bottom",children:fo(ar,{text:"Item",icon:"pencil",align:"right"})})}):null,p;switch(t){case"icon-only":p=fo(Y,{...a,icon:"star"});break;case"icon-and-text":p=fo(Y,{...a,icon:"star",text:"Action"});break;default:p=fo(Y,{...a,text:"Action"});break}return ac("span",{style:{position:"relative"},children:[p,i]})};bo.options=Qd;bo.states=jd;bo.variants=tc;bo.defaultOptions=ec;bo.modifiers=oc;bo.className=Y.className;import{jsx as sc}from"react/jsx-runtime";var nr="k-input-inner",nc=[],rc={},ja={type:"text",autocomplete:"off",value:"",placeholder:""},Ne=e=>{let{value:t=ja.value,type:o=ja.type,placeholder:a=ja.placeholder,autocomplete:n=ja.autocomplete,disabled:i,readOnly:p,...c}=e;return sc("input",{...c,type:o,className:r(e.className,nr,A(nr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:p||void 0})};Ne.states=nc;Ne.options=rc;Ne.className=nr;import{jsx as pc}from"react/jsx-runtime";var rr="k-input-inner",ic=[],lc={},ui={value:"",placeholder:""},ga=e=>{let{value:t=ui.value,placeholder:o=ui.placeholder,rows:a,disabled:n,...i}=e;return pc("textarea",{...i,className:r(e.className,rr,A(rr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ga.states=ic;ga.options=lc;ga.className=rr;var sr="prompt-box",fi=sr;var ir="speech-to-text-button",bi=ir;import{jsx as dc}from"react/jsx-runtime";var hi="k-speech-to-text-button",xi={icon:"microphone"},Ce=e=>{let{listening:t=!1,icon:o=xi.icon,...a}=e;return dc(l,{...a,icon:t?"stop":o,className:r(e.className,hi,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};Ce.states=l.states;Ce.options=l.options;Ce.className=hi;Ce.defaultOptions=xi;Ce.moduleName=ir;Ce.folderName=bi;Ce.ariaSpec={selector:".k-speech-to-text-button",rules:[{selector:".k-button.k-speech-to-text-button",attribute:"role=button or nodeName=button",usage:"If the used element is not <button>, explicitly set its role to button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-pressed",usage:"Announces the toggle behaviour of the button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-label",usage:"Accessible name for the speech-to-text button."}]};import{jsx as Yv}from"react/jsx-runtime";import{jsx as ek}from"react/jsx-runtime";import{jsx as bc}from"react/jsx-runtime";var cc=l.states,gi={...l.defaultOptions,variant:"normal"},mc={...l.options,fillMode:l.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},uc=[],fc=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],ho=e=>{let{variant:t,...o}={...gi,...e},a={};return t==="listening"&&(a.listening=!0),bc(Ce,{...o,...a})};ho.options=mc;ho.states=cc;ho.variants=fc;ho.defaultOptions=gi;ho.modifiers=uc;ho.className=Ce.className;import{jsx as xo,jsxs as lr}from"react/jsx-runtime";var pt="k-prompt-box",hc=[s.hover,s.focus,s.disabled],xc={fillMode:[h.undefined,h.solid,h.flat,h.outline]},pr={lineMode:"auto",isExpanded:!1},Nt=e=>{let{fillMode:t,lineMode:o=pr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:p=pr.isExpanded,className:c,children:u,value:f,placeholder:x,generating:N,hover:m,focus:L,disabled:k,...y}=e,C=o==="multi"||o==="auto"&&p;return lr("div",{...y,className:r(c,"k-input",pt,{[`${pt}-singleline`]:o==="single",[`${pt}-multiline`]:C,[`k-input-${t}`]:t,"k-hover":m,"k-focus":L,"k-disabled":k}),children:[i&&xo("div",{className:`${pt}-header`,children:i}),lr("div",{className:`${pt}-content`,children:[a&&xo("div",{className:`${pt}-affix`,children:a}),o==="single"?xo(Ne,{value:f,placeholder:x,className:`${pt}-input`,type:"text","aria-label":"Prompt input"}):xo(ga,{value:f,placeholder:x,className:`${pt}-textarea`,rows:o==="multi"||p?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),lr("div",{className:`${pt}-affix`,children:[n,xo(Ce,{size:"small",fillMode:"flat",rounded:"full"}),xo(ie,{icon:N?"stop":"arrow-up",size:"small",rounded:"full",active:N,disabled:!f&&!N,className:r({"k-generating":N}),"aria-label":N?"Stop generating":"Send prompt","aria-live":"polite"})]})]}),u]})};Nt.states=hc;Nt.options=xc;Nt.className=pt;Nt.defaultOptions=pr;Nt.moduleName=sr;Nt.folderName=fi;Nt.ariaSpec={selector:".k-prompt-box",rules:[{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"nodeName=input",usage:"Ensures the input field has the proper textbox role."},{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"aria-label",usage:"Provides an accessible label for the single-line input."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the textarea has the proper textbox role."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the textarea."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the textarea supports multiple lines of text."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the auto-mode textarea has the proper textbox role."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the auto-mode textarea."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the auto-mode textarea supports multiple lines of text."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-label",usage:"The send/stop button is labelled to indicate its current action."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-live=polite",usage:"Announces the change in status of the send/stop button."}]};import{jsx as Lk}from"react/jsx-runtime";import{jsx as Ak}from"react/jsx-runtime";import{jsx as Tk}from"react/jsx-runtime";import{jsx as wk}from"react/jsx-runtime";import{jsx as Dk}from"react/jsx-runtime";var dr="chat",Ni=dr;import{Fragment as Li,jsx as Wt,jsxs as Na}from"react/jsx-runtime";var vi="k-chat",gc=[],Nc={},vc=Na(Li,{children:[Wt(ie,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),Wt("div",{className:"k-spacer"})]}),ki={tools:vc},U=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:p,generating:c,tools:u=ki.tools,value:f,empty:x,scrollToBottom:N,scrollbar:m,promptBoxProps:L,...k}=e;return Na("div",{...k,className:r(vi,e.className),dir:o,children:[t,Na("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,Wt("div",{className:r("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),N&&Wt("div",{className:"k-chat-scroll-to-bottom-container",children:Wt(mi,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&Wt("div",{className:"k-separator"}),Na("div",{className:"k-message-box-wrapper",children:[a,Wt(Nt,{lineMode:"multi",placeholder:"Type a message",generating:c,value:f,header:n||p?Na(Li,{children:[p,n]}):void 0,endAffix:u,...L})]})]})};U.states=gc;U.options=Nc;U.className=vi;U.defaultOptions=ki;U.moduleName=dr;U.folderName=Ni;U.ariaSpec={selector:".k-chat",rules:[{selector:".k-message-list",attribute:"role=log",usage:"The role of the Chat message list must imply that there is a log (list) of messages."},{selector:".k-message-list",attribute:"aria-label",usage:"Announces the purpose of the Chat message list."},{selector:".k-message-list",attribute:"aria-live=polite",usage:"Announces new messages in the Chat message list."},{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble .k-typing-indicator",attribute:"tabindex=-1",usage:"The Chat bubble typing indicator should not be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."},{selector:".k-message-reference>.k-button",attribute:"aria-label or title",usage:"The reference close button must be properly labelled."},{selector:".k-message-reference>.k-button",attribute:"role=button or nodeName=button",usage:"The reference close button must have an appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-prompt-box-affix>.k-button.k-disabled",attribute:"disabled",usage:"Announces the send action as disabled when necessary."}]};var cr="button",Mi=cr;import{jsx as Sc}from"react/jsx-runtime";var va="k-button-group",kc=[s.disabled],Lc={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Mc={},T=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Sc("div",{role:"group",...n,className:r(e.className,va,A(va,{fillMode:t}),S(va,{disabled:o}),{[`${va}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};T.states=kc;T.options=Lc;T.className=va;T.defaultOptions=Mc;T.moduleName=cr;T.folderName=Mi;T.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};import{Fragment as cL,jsx as dL,jsxs as mL}from"react/jsx-runtime";import{Fragment as gL,jsx as xL,jsxs as NL}from"react/jsx-runtime";import{Fragment as yL,jsx as SL,jsxs as AL}from"react/jsx-runtime";import{Fragment as BL,jsx as OL,jsxs as PL}from"react/jsx-runtime";import{Fragment as HL,jsx as DL,jsxs as zL}from"react/jsx-runtime";import{Fragment as XL,jsx as $L,jsxs as qL}from"react/jsx-runtime";import{jsx as vt,jsxs as mr}from"react/jsx-runtime";var yc={...l.options,...T.options},Ac=l.states,Cc={...l.defaultOptions,...T.defaultOptions,variant:"text-button"},Ec=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ic=[],go=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?mr(T,{fillMode:a.fillMode,className:o,children:[vt(l,{...a,icon:"star"}),vt(l,{...a,icon:"star"}),vt(l,{...a,icon:"star"})]}):t==="icon-text-button"?mr(T,{fillMode:a.fillMode,className:o,children:[vt(l,{...a,icon:"star",children:"First"}),vt(l,{...a,icon:"star",children:"Middle"}),vt(l,{...a,icon:"star",children:"Last"})]}):mr(T,{fillMode:a.fillMode,className:o,children:[vt(l,{...a,children:"First"}),vt(l,{...a,children:"Middle"}),vt(l,{...a,children:"Last"})]})};go.options=yc;go.states=Ac;go.variants=Ec;go.defaultOptions=Cc;go.modifiers=Ic;go.className=T.className;var ka="input",tn=ka;import{jsx as Pc}from"react/jsx-runtime";var on="k-input",Tc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Oc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Bc={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c,size:u,rounded:f,fillMode:x,...N}=e;return Pc("span",{...N,className:r(e.className,on,A(on,{size:u,rounded:f,fillMode:x}),S(on,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c}))})};Z.states=Tc;Z.options=Oc;Z.className=on;Z.defaultOptions=Bc;Z.moduleName=ka;Z.folderName=tn;import{jsx as _c}from"react/jsx-runtime";var an="k-picker",wc=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Rc={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Kc={},dt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c,size:u,rounded:f,fillMode:x,...N}=e;return _c("span",{...N,className:r(e.className,an,A(an,{size:u,rounded:f,fillMode:x}),S(an,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:p,readonly:c})),children:e.children})};dt.states=wc;dt.options=Rc;dt.className=an;dt.defaultOptions=Kc;dt.moduleName=ka;dt.folderName=tn;import{Fragment as zc,jsx as ur}from"react/jsx-runtime";var Si="k-clear-value",Dc=[s.disabled,s.loading,s.readonly],Hc={},Pe=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ur(zc,{}):ur("span",{className:r(e.className,Si),children:ur(v,{icon:"x"})})};Pe.states=Dc;Pe.options=Hc;Pe.className=Si;import{jsx as yi,jsxs as Gc}from"react/jsx-runtime";var fr="k-input-inner",Uc=[],Fc={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...p}=e;return Gc("span",{...p,className:r(e.className,fr,A(fr,e)),children:[n,!n&&i&&yi(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&yi("span",{className:"k-input-value-text",children:t})]})};Jt.states=Uc;Jt.options=Fc;Jt.className=fr;import{Fragment as $c,jsx as Ai}from"react/jsx-runtime";var Ci="k-input-loading-icon",Vc=[s.disabled,s.loading],Ee=e=>{let{disabled:t,loading:o}=e;return t||!o?Ai($c,{}):Ai("span",{className:r(e.className,Ci,"k-icon k-i-loading")})};Ee.states=Vc;Ee.className=Ci;import{Fragment as Wc,jsx as Ei}from"react/jsx-runtime";var Ii="k-input-validation-icon",Xc=[s.valid,s.invalid,s.disabled,s.loading],qc={},ve=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Ei(Wc,{}):Ei(v,{className:r(Ii),icon:i})};ve.states=Xc;ve.options=qc;ve.className=Ii;import{Fragment as Zc,jsx as Ti}from"react/jsx-runtime";var Jc="k-input-prefix",Yc={direction:"horizontal"},ze=e=>{let{direction:t=Yc.direction,...o}=e;return e.children?Ti("span",{...o,className:r(Jc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Ti(Zc,{})};import{Fragment as em,jsx as Oi}from"react/jsx-runtime";var Qc="k-input-suffix",jc={direction:"horizontal"},Ue=e=>{let{direction:t=jc.direction,...o}=e;return e.children?Oi("span",{...o,className:r(Qc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Oi(em,{})};import{jsx as UM}from"react/jsx-runtime";import{jsx as om}from"react/jsx-runtime";var tm="k-input-suffix-text",br=e=>{let{children:t,...o}=e;return om("span",{...o,className:r(tm,e.className),children:t})};import{jsx as nm}from"react/jsx-runtime";var Bi="k-input-separator",am={direction:"vertical"},Fe=e=>{let{direction:t=am.direction,...o}=e;return nm("span",{...o,className:r(Bi,e.className,{[`${Bi}-${t}`]:t})})};import{Fragment as Pi,jsx as ct,jsxs as hr}from"react/jsx-runtime";var rm=Z.states,sm=Z.defaultOptions,im=Z.options,lm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],pm=[],No=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:p,...c}=e,u=t?.prefix,f=t?.suffix,x=t?.["clear-button"],N=t?.["validation-icon"],m=t?.separators;return hr(Z,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:p,style:{width:300},children:[u&&hr(Pi,{children:[ct(ze,{children:ct(v,{icon:"lock"})}),m&&ct(Fe,{})]}),ct(Ne,{placeholder:"Placeholder",value:"Value"}),N&&ct(ve,{valid:o,invalid:a,loading:n,disabled:i}),ct(Ee,{loading:n,disabled:i}),x&&ct(Pe,{loading:n,disabled:i,readonly:p,value:"Value"}),f&&hr(Pi,{children:[m&&ct(Fe,{}),ct(Ue,{children:ct(ot,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};No.options=im;No.states=rm;No.variants=pm;No.defaultOptions=sm;No.modifiers=lm;No.className=Z.className;import{jsx as wi,jsxs as mm}from"react/jsx-runtime";var Ri="k-color-preview",dm=[],cm={},Bt=e=>{let{color:t,iconName:o,...a}=e;return mm("span",{...a,className:r(e.className,Ri,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&wi(v,{icon:o,className:"k-color-preview-icon"}),wi("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Bt.states=dm;Bt.options=cm;Bt.className=Ri;var xr="popup",Ki=xr;import{jsx as _i}from"react/jsx-runtime";var Di="k-animation-container",um=[],fm={},Hi={positionMode:"absolute"},mt=e=>{let{positionMode:t=Hi.positionMode,animationStyle:o,offset:a,...n}=e;return _i("div",{...n,style:{...a,...e.style},className:r(e.className,Di,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:_i("div",{className:"k-child-animation-container",style:o,children:e.children})})};mt.states=um;mt.options=fm;mt.className=Di;mt.defaultOptions=Hi;mt.moduleName=xr;mt.folderName=Ki;var gr="popup",zi=gr;import{jsx as Ui}from"react/jsx-runtime";var Fi="k-popup",bm=[],hm={},Gi={positionMode:"absolute"},G=e=>{let{offset:t,positionMode:o=Gi.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:p,...c}=e;return Ui(mt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":p,children:Ui("div",{...c,className:r(e.className,Fi),children:e.children})})};G.states=bm;G.options=hm;G.className=Fi;G.defaultOptions=Gi;G.moduleName=gr;G.folderName=zi;G.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Nr="action-buttons",Vi=Nr;import{jsx as Nm}from"react/jsx-runtime";var nn="k-actions",xm=[],gm={},vr={alignment:"start",orientation:"horizontal"},we=e=>{let{alignment:t=vr.alignment,orientation:o=vr.orientation,...a}=e;return Nm("div",{...a,className:r(nn,{[`${nn}-${t}`]:t,[`${nn}-${o}`]:o},e.className),children:e.children})};we.states=xm;we.options=gm;we.className=nn;we.defaultOptions=vr;we.moduleName=Nr;we.folderName=Vi;var $i=we;import{jsx as km}from"react/jsx-runtime";var vm="k-actionsheet-footer",Xi={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=Xi.alignment,orientation:o=Xi.orientation,template:a,as:n=a?"div":we,...i}=e;return km(n,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var kr="searchbox",qi=kr;import{jsx as La,jsxs as Sm}from"react/jsx-runtime";var Wi="k-searchbox",Lm=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Lr={showIcon:!0,icon:"search"},Ge=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:p,focus:c,valid:u,invalid:f,required:x,loading:N,disabled:m,showIcon:L=Lr.showIcon,icon:k=Lr.icon,"aria-label":y,...C}=e;return Sm(Z,{...C,size:a,rounded:n,fillMode:i,hover:p,focus:c,valid:u,invalid:f,required:x,loading:N,disabled:m,className:r(e.className,Wi),children:[L&&La(v,{className:"k-input-icon",icon:k}),La(Ne,{placeholder:o,value:t,"aria-label":y}),La(Ee,{...e}),La(ve,{...e}),La(Pe,{...e})]})};Ge.states=Lm;Ge.options=Mm;Ge.className=Wi;Ge.defaultOptions=Lr;Ge.moduleName=kr;Ge.folderName=qi;import{jsx as my}from"react/jsx-runtime";var Mr="textbox",Ji=Mr;import{Fragment as Yi,jsx as wt,jsxs as Sr}from"react/jsx-runtime";var Zi="k-textbox",ym=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Am={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},le=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:i=rn.showClearButton,showValidationIcon:p=rn.showValidationIcon,prefix:c,suffix:u,type:f,value:x,placeholder:N,hover:m,focus:L,valid:k,invalid:y,required:C,loading:M,disabled:I,readonly:X,id:de,"aria-label":xe,"aria-describedby":ge,...Be}=e;return Sr(Z,{...Be,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:k,invalid:y,required:C,loading:M,disabled:I,readonly:X,className:r(e.className,Zi),children:[c&&Sr(Yi,{children:[wt(ze,{children:c}),n&&wt(Fe,{})]}),wt(Ne,{id:de,placeholder:N,value:x,type:f,disabled:I,"aria-label":xe,"aria-describedby":ge,"aria-invalid":y?"true":void 0}),p&&wt(ve,{valid:k,invalid:y,loading:M,disabled:I}),wt(Ee,{loading:M,disabled:I}),i&&wt(Pe,{loading:M,disabled:I,readonly:X,value:x}),u&&Sr(Yi,{children:[n&&wt(Fe,{}),wt(Ue,{children:u})]})]})};le.states=ym;le.options=Am;le.className=Zi;le.defaultOptions=rn;le.moduleName=Mr;le.folderName=Ji;le.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var Ma=le;import{jsx as Cm}from"react/jsx-runtime";var sn=e=>Cm(Ma,{...e});import{Fragment as Ty,jsx as Iy}from"react/jsx-runtime";import{Fragment as Ky,jsx as Ry}from"react/jsx-runtime";import{jsx as zy}from"react/jsx-runtime";import{jsx as yr}from"react/jsx-runtime";var Em=le.states,Im=le.defaultOptions,Tm=le.options,Om=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?yr(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?yr(ot,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),yr(sn,{value:"Value",style:{width:300},...o,...a})};vo.options=Tm;vo.states=Em;vo.variants=Bm;vo.defaultOptions=Im;vo.modifiers=Om;vo.className=le.className;import{jsx as Rt,jsxs as Ar}from"react/jsx-runtime";var Qi="k-actionsheet-titlebar",Pm={},ke=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:p,inputValue:c,inputPlaceholder:u,adaptive:f,titleId:x,children:N,...m}=e;return Ar("div",{...m,className:r(e.className,Qi),children:[Ar("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!N&&Ar("div",{className:"k-actionsheet-title",id:x,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&Rt("div",{className:"k-actionsheet-title",id:x,children:N}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(p||i)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?Rt(le,{value:c,placeholder:u,size:f?"large":"medium","aria-label":t||u||"Input"}):Rt(Ge,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};ke.className=Qi;ke.defaultOptions=Pm;import{jsx as Cr,jsxs as _m}from"react/jsx-runtime";var Er="k-actionsheet-view",wm=[],Rm={},Km={},ko=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:p,...c}=e,u=n?.type===ke&&Cr(ke,{adaptive:t,titleId:p,...n?.props}),f=i?.type===Pt&&Cr(Pt,{...i?.props});return _m("div",{...c,className:r(e.className,Er,{[`${Er}-animated`]:o}),children:[u,Cr("div",{className:"k-actionsheet-content",children:a}),f]})};ko.states=wm;ko.options=Rm;ko.className=Er;ko.defaultOptions=Km;var Sa="action-sheet",ln=Sa;var Ir="overlay",ji=Ir;import{jsx as Um}from"react/jsx-runtime";var el="k-overlay",Dm=[],Hm={},zm={},ut=e=>{let{...t}=e;return Um("div",{...t,className:r(e.className,el),children:e.children})};ut.states=Dm;ut.options=Hm;ut.className=el;ut.defaultOptions=zm;ut.moduleName=Ir;ut.folderName=ji;import{jsx as pn,jsxs as Vm}from"react/jsx-runtime";var tl="k-actionsheet",Fm=[],Gm={},ya={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},W=e=>{let{side:t=ya.side,fullscreen:o=ya.fullscreen,adaptive:a=ya.adaptive,overlay:n=ya.overlay,template:i,children:p,header:c,footer:u,id:f,...x}=e,N=f&&!i&&c?`${f}-title`:void 0;return Vm("div",{className:"k-actionsheet-container",children:[n&&pn(ut,{}),pn(mt,{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:pn("div",{...x,id:f,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":N,className:r(e.className,tl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||pn(ko,{header:c,footer:u,adaptive:a,titleId:N,...e,children:p})})})]})};W.states=Fm;W.options=Gm;W.className=tl;W.defaultOptions=ya;W.moduleName=Sa;W.folderName=ln;W.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};import{jsx as Wm}from"react/jsx-runtime";var ol="k-actionsheet-container",$m=[],Xm={},qm={},Lo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:ol,children:t})};Lo.states=$m;Lo.options=Xm;Lo.className=ol;Lo.defaultOptions=qm;Lo.moduleName=Sa;Lo.folderName=ln;import{jsx as Jm}from"react/jsx-runtime";var Tr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Zm,jsx as Aa,jsxs as Or}from"react/jsx-runtime";var Br="k-actionsheet-item",Ym=[s.hover,s.focus,s.selected,s.disabled],Kt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:p,disabled:c,...u}=e;return Or("span",{...u,className:r(e.className,Br,S(Br,{hover:n,focus:i,selected:p,disabled:c})),children:[!e.children&&Aa(Zm,{children:Or("span",{className:"k-actionsheet-action",children:[t&&Aa("span",{className:"k-icon-wrap",children:Aa(v,{className:"k-actionsheet-item-icon",icon:t})}),Or("span",{className:"k-actionsheet-item-text",children:[o&&Aa("span",{className:"k-actionsheet-item-title",children:o}),a&&Aa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Kt.states=Ym;Kt.className=Br;import{jsx as HA,jsxs as zA}from"react/jsx-runtime";import{jsx as VA}from"react/jsx-runtime";import{jsx as WA}from"react/jsx-runtime";import{jsx as QA}from"react/jsx-runtime";import{jsx as pe,jsxs as Pr}from"react/jsx-runtime";var Qm=W.options,jm=W.states,nl={...W.defaultOptions,variant:"normal"},eu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],tu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Mo=e=>{let{variant:t,modifiers:o,...a}={...nl,...e},n={},i=Pr(Tr,{children:[pe(Kt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),pe(Kt,{text:"Add to Favorites",iconName:"heart"}),pe(Kt,{text:"Upload New",iconName:"upload",disabled:!0}),pe("hr",{className:"k-hr"}),pe(Kt,{text:"Cancel",iconName:"cancel"})]}),p="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!o?.[u],n.actionsEnd=!!o?.[u];break;case"subtitle":n.subtitle=o?.[u]?p:void 0;break;case"footer":n.footer=!!o?.[u];break;default:break}}),t==="adaptive"?pe(W,{...a,adaptive:!0,fullscreen:n.fullScreen,header:pe(ke,{actionsStart:n.actionsStart?pe(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?pe(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?Pr(Pt,{alignment:"stretched",children:[pe(l,{text:"Cancel",size:"large",themeColor:"base"}),pe(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):pe(W,{...a,fullscreen:n.fullScreen,header:pe(ke,{actionsStart:n.actionsStart?pe(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?pe(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Pr(Pt,{alignment:"stretched",children:[pe(l,{text:"Apply",themeColor:"primary"}),pe(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Mo.options=Qm;Mo.states=jm;Mo.variants=eu;Mo.defaultOptions=nl;Mo.modifiers=tu;Mo.className=W.className;var wr="slider",rl=wr;import{jsx as So,jsxs as Rr}from"react/jsx-runtime";var Ca="k-slider",ou=[s.hover,s.focus,s.active,s.disabled,s.readonly],au={},Ve={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=Ve.type,orientation:o=Ve.orientation,gradientType:a=Ve.gradientType,readonly:n=Ve.readonly,disabled:i=Ve.disabled,handlePosition:p=Ve.handlePosition,showButtons:c=Ve.showButtons,showTicks:u=Ve.showTicks,value:f=Ve.value,min:x=Ve.min,max:N=Ve.max,startValue:m,endValue:L,hover:k,focus:y,active:C,trackStyle:M,dir:I,...X}=e,xe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ge,Be;return o==="horizontal"?(ge=I==="rtl"?"chevron-left":"chevron-right",Be=I==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ge="chevron-up",Be="chevron-down"),Rr("div",{...X,className:r(Ca,e.className,S(Ca,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:I,children:[c&&So(l,{className:"k-button-decrease",rounded:"full",icon:Be,tabIndex:-1,title:"Decrease"}),Rr("div",{className:"k-slider-track-wrap",children:[u&&So("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Rr("div",{className:"k-slider-track",style:M,children:[So("div",{className:"k-slider-selection"}),t==="range"&&So("span",{className:r("k-draghandle","k-draghandle-start",S(Ca,{hover:k,focus:y,active:C})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??x,"aria-valuemin":x,"aria-valuemax":L??N,"aria-orientation":xe,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":X["aria-label"]?`${X["aria-label"]} start`:"Range start"}),So("span",{className:r("k-draghandle",`k-draghandle-${p}`,S(Ca,{hover:k,focus:y,active:C})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??N:f,"aria-valuemin":t==="range"?m??x:x,"aria-valuemax":N,"aria-orientation":xe,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?X["aria-label"]?`${X["aria-label"]} end`:"Range end":X["aria-label"]})]})]}),c&&So(l,{className:"k-button-increase",rounded:"full",icon:ge,tabIndex:-1,title:"Increase"})]})};F.states=ou;F.options=au;F.className=Ca;F.defaultOptions=Ve;F.moduleName=wr;F.folderName=rl;F.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};import{jsx as sl}from"react/jsx-runtime";var il="k-tick",nu=[],ru={},ll={label:!1},E=e=>{let{style:t,label:o=ll.label,orientation:a,large:n,text:i,...p}=e;return sl("li",{...p,role:"presentation",title:i||"Tick",className:r(e.className,il,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&sl("span",{className:"k-label",children:i})})};E.states=nu;E.options=ru;E.className=il;E.defaultOptions=ll;import{Fragment as su,jsx as $e,jsxs as iu}from"react/jsx-runtime";var pl=e=>$e(F,{"aria-label":e["aria-label"]||"Slider",children:iu(su,{children:[$e(E,{className:"k-first",label:!0,large:!0,text:"0"}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{label:!0,large:!0,text:"5"}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{}),$e(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as lu,jsx as Xe,jsxs as pu}from"react/jsx-runtime";var dl=e=>Xe(F,{children:pu(lu,{children:[Xe(E,{className:"k-first",label:!0,large:!0,text:"0"}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{label:!0,large:!0,text:"5"}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{}),Xe(E,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as zC,jsx as HC,jsxs as UC}from"react/jsx-runtime";import{Fragment as XC,jsx as $C,jsxs as qC}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var Kr=e=>du(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as cu}from"react/jsx-runtime";var _r=e=>cu(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as nE,jsx as aE,jsxs as rE}from"react/jsx-runtime";import{Fragment as dE,jsx as pE,jsxs as cE}from"react/jsx-runtime";import{jsx as ft,jsxs as cl}from"react/jsx-runtime";var mu=F.options,uu=F.states,ml={...F.defaultOptions,variant:"horizontal",label:!0},fu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],bu=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],yo=e=>{let{variant:t,modifiers:o,...a}={...ml,...e},n={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{n.showButtons=!!o?.[f];break}case"label":{n.label=!!o?.[f];break}case"tick":{n.showTicks=!!o?.[f];break}}});let{label:i=!0,showButtons:p,showTicks:c}=n,u={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?cl(dl,{showTicks:c,showButtons:p,style:{height:"300px",...u},...a,children:[ft(E,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),ft(E,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):cl(pl,{showTicks:c,showButtons:p,style:{width:"400px",...u},...a,children:[ft(E,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),ft(E,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};yo.options=mu;yo.states=uu;yo.variants=fu;yo.defaultOptions=ml;yo.modifiers=bu;yo.className=F.className;import{jsx as ul,jsxs as vu}from"react/jsx-runtime";var fl="k-spin-button",gu=[],Nu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Dr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},_t=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Dr.increaseLabel,decreaseLabel:i=Dr.decreaseLabel,...p}=e;return vu("span",{...p,className:r(fl,e.className),children:[ul(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),ul(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};_t.states=gu;_t.options=Nu;_t.className=fl;_t.defaultOptions=Dr;_t.moduleName=null;_t.folderName=null;var bl="numeric-textbox",hl="numerictextbox";import{Fragment as xl,jsx as kt,jsxs as Hr}from"react/jsx-runtime";var gl="k-numerictextbox",ku=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Lu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},dn={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=dn.separators,showClearButton:i=dn.showClearButton,showSpinButton:p=dn.showSpinButton,prefix:c,suffix:u,value:f,placeholder:x,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,id:X,"aria-label":de,"aria-describedby":xe,...ge}=e;return Hr(Z,{...ge,size:t,rounded:o,fillMode:a,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,className:r(e.className,gl),children:[c&&Hr(xl,{children:[kt(ze,{children:c}),n&&kt(Fe,{})]}),kt(Ne,{id:X,placeholder:x,value:f,role:"spinbutton",disabled:M,"aria-label":de,"aria-describedby":xe,"aria-invalid":k?"true":void 0}),kt(ve,{valid:L,invalid:k,loading:C,disabled:M}),kt(Ee,{loading:C,disabled:M}),i&&kt(Pe,{loading:C,disabled:M,readonly:I,value:f}),u&&Hr(xl,{children:[n&&kt(Fe,{}),kt(Ue,{children:u})]}),p&&kt(_t,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};_.states=ku;_.options=Lu;_.className=gl;_.defaultOptions=dn;_.moduleName=bl;_.folderName=hl;_.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Ea=_;import{jsx as Mu}from"react/jsx-runtime";var Nl=e=>Mu(Ea,{...e});import Ur from"react";import{jsx as vl}from"react/jsx-runtime";var Su="k-list-group-sticky-header",zr=e=>vl("div",{className:r(Su,e.className),children:vl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Au}from"react/jsx-runtime";var yu="k-no-data",cn=e=>{let{live:t,...o}=e;return Au("span",{...o,className:r(yu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Yt="list",Ao=Yt;import{jsx as kl,jsxs as Ll}from"react/jsx-runtime";var Fr="k-list",Cu=[],Eu={size:[d.undefined,d.small,d.medium,d.large]},Iu={},R=e=>{let{size:t,virtualization:o,children:a,header:n,optionLabel:i,customValue:p,noData:c,screenReaders:u,...f}=e,N=Ur.Children.toArray(a)[0],m=N?.props?.children?Ur.Children.count(N.props.children):Ur.Children.count(a);return Ll("div",{...f,className:r(e.className,Fr,A(Fr,{size:t}),{"k-virtual-list":o}),children:[i,p,n&&kl(zr,{children:n}),a||(c!==void 0?c:kl(cn,{live:!0,children:"No data found."})),u&&a&&Ll(cn,{className:"k-sr-only",live:!0,children:[m," items found."]})]})};R.states=Cu;R.options=Eu;R.className=Fr;R.defaultOptions=Iu;R.moduleName=Yt;R.folderName=Ao;R.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};import{jsx as Pu}from"react/jsx-runtime";var Ml="k-list-container",Tu=[],Ou={},Bu={},Co=e=>{let{...t}=e;return Pu("div",{...t,className:r(e.className,Ml),children:e.children})};Co.states=Tu;Co.options=Ou;Co.className=Ml;Co.defaultOptions=Bu;Co.moduleName=Yt;Co.folderName=Ao;var Zt="checkbox",Eo=Zt;import{jsx as Sl}from"react/jsx-runtime";var mn="k-checkbox",wu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],Ru={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},Ku={},qe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:p,invalid:c,valid:u,required:f,size:x,rounded:N,wrapperRole:m,...L}=e;return Sl("span",{className:"k-checkbox-wrap",role:m,children:Sl("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:p||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,mn,A(mn,{size:x,rounded:N}),S(mn,{hover:n,focus:i,disabled:p,invalid:c,valid:u,indeterminate:a,checked:o}))})})};qe.states=wu;qe.options=Ru;qe.className=mn;qe.defaultOptions=Ku;qe.moduleName=Zt;qe.folderName=Eo;qe.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var at=qe;import{jsx as Hu}from"react/jsx-runtime";var yl="k-checkbox-list",_u=[],Du={},Al={layout:"vertical"},Le=e=>{let{layout:t=Al.layout,...o}=e;return Hu("ul",{...o,className:r(e.className,yl,{[`k-list-${t}`]:t}),children:e.children})};Le.states=_u;Le.options=Du;Le.className=yl;Le.defaultOptions=Al;Le.moduleName=Zt;Le.folderName=Eo;import{jsx as Gu}from"react/jsx-runtime";var Cl="k-checkbox-list-item",zu=[],Uu={},Fu={},Me=e=>{let{...t}=e;return Gu("li",{...t,className:r(e.className,Cl),children:e.children})};Me.states=zu;Me.options=Uu;Me.className=Cl;Me.defaultOptions=Fu;Me.moduleName=Zt;Me.folderName=Eo;import{Fragment as Vu,jsx as El,jsxs as $u}from"react/jsx-runtime";var Lt=({children:e="Label",id:t="cb-label-after",...o})=>$u(Vu,{children:[El(at,{id:t,...o}),El("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as RI,jsx as wI,jsxs as KI}from"react/jsx-runtime";import{Fragment as UI,jsx as zI,jsxs as FI}from"react/jsx-runtime";import{Fragment as qI,jsx as XI,jsxs as WI}from"react/jsx-runtime";import{jsx as QI}from"react/jsx-runtime";import{jsx as oT}from"react/jsx-runtime";import{jsx as sT}from"react/jsx-runtime";import{jsx as We,jsxs as Il}from"react/jsx-runtime";var Xu=Le.options,qu=Le.states,Wu={...Le.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Yu=[],Io=e=>{let{variant:t,...o}=e;return t==="horizontal"?Il(Le,{layout:"horizontal",...o,children:[We(Me,{children:We(Lt,{id:w("cb"),defaultChecked:!0,children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})})]}):Il(Le,{...o,children:[We(Me,{children:We(Lt,{id:w("cb"),defaultChecked:!0,children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})}),We(Me,{children:We(Lt,{id:w("cb"),children:"Label"})})]})};Io.options=Xu;Io.states=qu;Io.variants=Ju;Io.defaultOptions=Wu;Io.modifiers=Yu;Io.className=Le.className;import{jsx as of}from"react/jsx-runtime";var Zu=at.options,Qu=at.states,ju=at.defaultOptions,ef=[],tf=[],To=e=>of(Lt,{id:w("checkbox"),...e,defaultChecked:!0,children:"Label"});To.options=Zu;To.states=Qu;To.variants=ef;To.defaultOptions=ju;To.modifiers=tf;To.className=at.className;import{jsx as Qt,jsxs as sf}from"react/jsx-runtime";var Gr="k-list-item",af=[s.hover,s.focus,s.selected,s.disabled],nf={},rf={},O=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:i,showCheckbox:p,checked:c,hover:u,focus:f,selected:x,disabled:N,actions:m,description:L,id:k,...y}=e,C=t||e.children;return sf("li",{...y,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&x?"true":a?void 0:"false","aria-disabled":!a&&N?"true":void 0,className:r(e.className,a?"k-list-group-item":Gr,S(Gr,{hover:u,focus:f,disabled:N,selected:x})),children:[p&&Qt(qe,{checked:c}),n&&Qt("span",{className:"k-list-item-icon-wrapper",children:Qt(v,{icon:n,className:r("k-list-item-icon",i)})}),Qt("span",{className:"k-list-item-text",children:C}),m&&Qt("div",{className:"k-list-item-actions",children:m}),L&&Qt("span",{className:"k-list-item-description",children:L}),o&&o!==""&&Qt("div",{className:"k-list-item-group-label",children:o})]})};O.states=af;O.options=nf;O.className=Gr;O.defaultOptions=rf;O.moduleName=Yt;O.folderName=Ao;O.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};import{jsx as pf}from"react/jsx-runtime";var lf="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...n}=e;return pf("ul",{...n,id:a,role:o,className:r(lf,e.className),children:t})};Mt.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};import{jsx as Vr,jsxs as cf}from"react/jsx-runtime";var df="k-list-content",H=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...p}=e;return cf("div",{...p,className:r(df,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:Vr(Mt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Vr("div",{className:"k-height-container",children:Vr("div",{})})]})};H.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};import{Fragment as YT,jsx as JT,jsxs as ZT}from"react/jsx-runtime";import{jsx as $r,jsxs as uf}from"react/jsx-runtime";var mf="k-list-group-item",jt=e=>{let{groupIconName:t,...o}=e;return uf("li",{...o,role:"presentation",className:r(mf,e.className),children:[t&&$r("span",{className:"k-list-item-icon-wrapper",children:$r(v,{icon:t,className:"k-list-item-icon"})}),$r("span",{className:"k-list-item-text",children:e.children})]})};jt.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};import{jsx as xf}from"react/jsx-runtime";var Xr="k-list-optionlabel",ff=[s.hover,s.focus,s.selected,s.disabled],bf={},hf={},un=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...p}=e;return xf("div",{...p,className:r(Xr,S(Xr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};un.states=ff;un.options=bf;un.className=Xr;un.defaultOptions=hf;import{jsx as kf}from"react/jsx-runtime";var qr="k-list-custom-value",gf=[s.hover,s.focus,s.selected,s.disabled],Nf={},vf={},Dt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...p}=e;return kf("div",{...p,className:r(qr,S(qr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Dt.states=gf;Dt.options=Nf;Dt.className=qr;Dt.defaultOptions=vf;import{Fragment as uO,jsx as mO,jsxs as fO}from"react/jsx-runtime";import{Fragment as vO,jsx as NO,jsxs as kO}from"react/jsx-runtime";import{Fragment as EO,jsx as AO,jsxs as CO}from"react/jsx-runtime";import{Fragment as RO,jsx as PO,jsxs as wO}from"react/jsx-runtime";import{jsx as HO}from"react/jsx-runtime";import{Fragment as $O,jsx as VO,jsxs as XO}from"react/jsx-runtime";var Tl="dropdown-list",Ol="dropdownlist";import{Fragment as Sf,jsx as Se,jsxs as Wr}from"react/jsx-runtime";var Bl="k-dropdownlist",Lf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Mf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Jr={showValue:!0,arrowIconName:"chevron-down"},oe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Jr.arrowIconName,showValue:i=Jr.showValue,valueIconName:p,prefix:c,suffix:u,value:f,placeholder:x,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,popup:X,opened:de,adaptive:xe,adaptiveSettings:ge,adaptiveTitle:Be,adaptiveSubtitle:qt,adaptiveFilter:$n,id:Ot,activeDescendant:qa,"aria-label":Xn,...qn}=e,xd=Ot?`${Ot}-listbox`:void 0,Qs=Ot?`${Ot}-value`:void 0;return Wr(Sf,{children:[Wr(dt,{...qn,id:Ot,size:t,rounded:o,fillMode:a,hover:N,focus:m,valid:L,invalid:k,required:y,loading:C,disabled:M,readonly:I,className:r(e.className,Bl,{"k-icon-picker":!i&&p}),role:"combobox","aria-haspopup":"listbox","aria-expanded":de?"true":"false","aria-controls":de?xd:void 0,"aria-activedescendant":de&&qa?qa:void 0,"aria-describedby":de?Qs:void 0,"aria-disabled":M?"true":void 0,"aria-label":Xn,tabIndex:0,children:[Se(ze,{children:c}),Se(Jt,{placeholder:x,value:f,showValue:i,valueIconName:p,id:Qs}),Se(ve,{valid:L,invalid:k,loading:C,disabled:M}),Se(Ee,{loading:C,disabled:M}),Se(Ue,{children:u}),Se(l,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),de&&X&&Se(G,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:X}),xe&&Se(W,{adaptive:!0,...ge,header:Se(ke,{actionsEnd:Se(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:$n,inputValue:f,inputPlaceholder:x,title:Be,subtitle:qt}),children:Se("div",{className:"k-list-container",children:Se(R,{size:"large",children:Wr(H,{"aria-label":"Options",children:[Se(O,{text:"List item"}),Se(O,{text:"List item"}),Se(O,{text:"List item"})]})})})})]})};oe.states=Lf;oe.options=Mf;oe.className=Bl;oe.defaultOptions=Jr;oe.moduleName=Tl;oe.folderName=Ol;oe.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};import{jsx as yB}from"react/jsx-runtime";import{jsx as OB,jsxs as BB}from"react/jsx-runtime";import{Fragment as UB,jsx as HB,jsxs as zB}from"react/jsx-runtime";import{jsx as XB}from"react/jsx-runtime";import{jsx as QB,jsxs as jB}from"react/jsx-runtime";import{Fragment as lP,jsx as sP,jsxs as iP}from"react/jsx-runtime";import{jsx as uP}from"react/jsx-runtime";import{Fragment as Tf,jsx as Ht,jsxs as Pl}from"react/jsx-runtime";var yf=oe.states,Af=oe.defaultOptions,Cf=oe.options,Ef=[{name:"opened",title:"Opened"}],If=[],Bo=e=>{let{modifiers:t,...o}=e,a={},n=Pl(Tf,{children:[Ht("div",{className:"k-list-filter",children:Ht(Ge,{})}),Ht(R,{style:{width:300},size:o.size,children:Pl(H,{children:[Ht(O,{children:"List item"}),Ht(O,{children:"List item"}),Ht(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0)}),Ht("div",{children:Ht(oe,{placeholder:"Value",style:{width:300},...o,...a})})};Bo.options=Cf;Bo.states=yf;Bo.variants=If;Bo.defaultOptions=Af;Bo.modifiers=Ef;Bo.className=oe.className;import{Fragment as RP,jsx as wP}from"react/jsx-runtime";import{Fragment as UP,jsx as zP}from"react/jsx-runtime";import{jsx as $P}from"react/jsx-runtime";import{jsx as Yr}from"react/jsx-runtime";var Of=_.states,Bf=_.defaultOptions,Pf=_.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Rf=[],Po=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Yr(oe,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Yr(br,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Yr(Nl,{value:"Value",style:{width:300},...o,...a})};Po.options=Pf;Po.states=Of;Po.variants=Rf;Po.defaultOptions=Bf;Po.modifiers=wf;Po.className=_.className;import{Fragment as Ia,jsx as B,jsxs as Q}from"react/jsx-runtime";var wl="k-colorgradient-inputs",Kf=[],_f={size:[d.undefined,d.small,d.medium,d.large]},Rl={mode:"rgba"},wo=e=>{let{mode:t=Rl.mode,size:o,...a}=e;return Q("div",{...a,className:r(wl,"k-hstack"),children:[B("div",{className:"k-vstack",children:B(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),B("label",{className:"k-colorgradient-input-label",children:"R"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),B("label",{className:"k-colorgradient-input-label",children:"G"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),B("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),B("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Q(Ia,{children:[Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),B("label",{className:"k-colorgradient-input-label",children:"H"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),B("label",{className:"k-colorgradient-input-label",children:"S"})]}),Q("div",{className:"k-vstack",children:[B(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),B("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&B(Ia,{children:Q("div",{className:"k-vstack k-flex-1",children:[B(le,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),B("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};wo.states=Kf;wo.options=_f;wo.className=wl;wo.defaultOptions=Rl;import{jsx as eo,jsxs as to}from"react/jsx-runtime";var Kl="k-colorgradient-color-contrast",Df=[],Hf={},zf={},Ro=()=>to("div",{className:r(Kl,"k-vbox"),children:[to("div",{className:"k-contrast-ratio",children:[eo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),to("span",{className:"k-contrast-validation !k-text-success",children:[eo(v,{icon:"check"}),eo(v,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AA: 4.5"}),to("span",{className:"k-contrast-validation !k-text-success",children:["Pass",eo(v,{icon:"check"})]})]}),to("div",{children:[eo("span",{children:"AAA: 7.0"}),to("span",{className:"k-contrast-validation !k-text-error",children:["Fail",eo(v,{icon:"x"})]})]})]});Ro.states=Df;Ro.options=Hf;Ro.className=Kl;Ro.defaultOptions=zf;var _l="color-gradient",Dl="colorgradient";import{jsx as Je,jsxs as Ta}from"react/jsx-runtime";var fn="k-colorgradient",Uf=[s.hover,s.focus,s.readonly,s.disabled],Ff={size:[d.undefined,d.small,d.medium,d.large]},bt={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"},re=e=>{let{size:t,mode:o=bt.mode,readonly:a=bt.readonly,disabled:n=bt.disabled,gradientStyle:i=bt.gradientStyle,dragHandleStyle:p=bt.dragHandleStyle,alphaStyle:c=bt.alphaStyle,alphaStyleHorizontal:u=bt.alphaStyleHorizontal,contrast:f=bt.contrast,dir:x,hover:N,focus:m,hoverHandle:L,focusHandle:k,canvasOrientation:y=bt.canvasOrientation,role:C,tabIndex:M,...I}=e;return Ta("div",{...I,role:C??"textbox","aria-label":C==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":n?"true":void 0,className:r(e.className,fn,A(fn,{size:t}),S(fn,{hover:N,focus:m,readonly:a,disabled:n})),dir:x,children:[!y||y==="horizontal"&&Ta("div",{className:"k-colorgradient-canvas k-hstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ta("div",{className:"k-hsv-controls k-hstack",children:[Je(_r,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Je(_r,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),y==="vertical"&&Ta("div",{className:"k-colorgradient-canvas k-vstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ta("div",{className:"k-hsv-controls k-vstack",children:[Je(Kr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&Je(Kr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),Je(wo,{mode:e.mode,size:t}),f&&Je(Ro,{})]})};re.states=Uf;re.options=Ff;re.className=fn;re.defaultOptions=bt;re.moduleName=_l;re.folderName=Dl;re.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};import{jsx as Gf}from"react/jsx-runtime";var bn=e=>Gf(re,{...e});import{jsx as Tw}from"react/jsx-runtime";import{jsx as ww}from"react/jsx-runtime";import{jsx as Zr}from"react/jsx-runtime";var Vf=re.options,$f=re.states,Xf={...re.defaultOptions,variant:"rgba"},qf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Wf=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Zr(bn,{...o,mode:t});case"rgb":return Zr(bn,{...o,mode:t});default:return Zr(bn,{...o,mode:t})}};Ko.options=Vf;Ko.states=$f;Ko.variants=qf;Ko.defaultOptions=Xf;Ko.modifiers=Wf;Ko.className=re.className;import{jsx as Jf}from"react/jsx-runtime";var Qr=e=>Jf("tr",{role:"row",children:e.children});import{jsx as Qf}from"react/jsx-runtime";var jr="k-colorpalette-tile",Yf=[s.hover,s.focus,s.selected],Zf={},_o=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...p}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Qf("td",{...p,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,jr,S(jr,{hover:a,focus:n,selected:i})),style:c})};_o.states=Yf;_o.options=Zf;_o.className=jr;var Hl="color-palette",zl="colorpalette";import{jsx as Oa}from"react/jsx-runtime";var hn="k-colorpalette",jf=[s.disabled],eb={size:[d.undefined,d.small,d.medium,d.large]},Ul={columns:10},ye=e=>{let{size:t,palette:o,columns:a=Ul.columns,tileSize:n,disabled:i,...p}=e,c=[];if(o){let u=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/u)},(x,N)=>{let m=[];f.slice(N*u,(N+1)*u).map((k,y)=>{m.push(Oa(_o,{color:k,tileSize:n},y))});let L=Oa(Qr,{children:m},N);c.push(L)})}return Oa("div",{...p,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:r(e.className,hn,S(hn,{disabled:i}),A(hn,{size:t})),children:Oa("table",{className:"k-colorpalette-table",role:"none",children:Oa("tbody",{children:c.length>0?c:e.children})})})};ye.states=jf;ye.options=eb;ye.className=hn;ye.defaultOptions=Ul;ye.moduleName=Hl;ye.folderName=zl;ye.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var xn=ye;var Ba={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 tb}from"react/jsx-runtime";var Fl=e=>tb(xn,{palette:Ba.basic,...e});import{jsx as bR}from"react/jsx-runtime";import{jsx as kR,jsxs as LR}from"react/jsx-runtime";import{jsx as lb}from"react/jsx-runtime";var ob=ye.options,ab=ye.states,nb={...ye.defaultOptions,variant:"basic"},rb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sb={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},ib=[],Do=e=>{let{variant:t="basic",...o}=e,a=sb[t];return lb(Fl,{columns:a.columns,palette:a,...o})};Do.options=ob;Do.states=ab;Do.variants=rb;Do.defaultOptions=nb;Do.modifiers=ib;Do.className=ye.className;var Gl="color-editor",Vl="coloreditor";import{jsx as Ye,jsxs as Ho}from"react/jsx-runtime";var gn="k-coloreditor",pb=[s.focus],db={size:[d.undefined,d.small,d.medium,d.large]},Pa={view:"gradient",palette:Ba.office,actionButtons:!0,canvasOrientation:"horizontal"},J=e=>{let{size:t,view:o=Pa.view,palette:a=Pa.palette,color:n,currentColor:i,focus:p,focusView:c,dir:u,group:f,actionButtons:x=Pa.actionButtons,canvasOrientation:N=Pa.canvasOrientation,...m}=e;return Ho("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",gn,A(gn,{size:t}),S(gn,{focus:p})),dir:u,children:[Ho("div",{className:"k-coloreditor-header k-hstack",children:[Ye("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&Ho(T,{fillMode:"flat",children:[Ye(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Ye(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Ye("div",{className:"k-spacer"}),Ho("div",{className:"k-coloreditor-header-actions k-hstack",children:[Ye(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Ho("div",{className:"k-coloreditor-preview k-vstack",children:[Ye(Bt,{className:"k-coloreditor-preview-color",color:n}),Ye(Bt,{className:"k-coloreditor-current-color",color:i})]})]})]}),Ye("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Ye(re,{focus:c,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):Ye(ye,{palette:a,size:t})}),x&&Ho(we,{className:"k-coloreditor-footer",alignment:"start",children:[Ye(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Ye(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};J.states=pb;J.options=db;J.className=gn;J.defaultOptions=Pa;J.moduleName=Gl;J.folderName=Vl;J.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var zo=J;import{jsx as ZR}from"react/jsx-runtime";import{jsx as tK}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var $l=e=>cb(zo,{group:!0,currentColor:"fuchsia",...e});import{jsx as mb}from"react/jsx-runtime";var Xl=e=>mb(zo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as ql}from"react/jsx-runtime";var ub=J.options,fb=J.states,bb={...J.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],xb=[],Uo=e=>{let{variant:t,...o}=e;return t==="palette"?ql(Xl,{...o,color:"white"}):ql($l,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Uo.options=ub;Uo.states=fb;Uo.variants=hb;Uo.defaultOptions=bb;Uo.modifiers=xb;Uo.className=J.className;var Wl="color-picker",Jl="colorpicker";import{Fragment as vb,jsx as Ze,jsxs as es}from"react/jsx-runtime";var Yl="k-colorpicker",gb=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Nb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Zl={arrowIconName:"chevron-down"},Re=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Zl.arrowIconName,prefix:i,suffix:p,value:c,placeholder:u,hover:f,focus:x,valid:N,invalid:m,required:L,disabled:k,valueIconName:y,popup:C,opened:M,adaptive:I,adaptiveSettings:X,adaptiveTitle:de,adaptiveSubtitle:xe,...ge}=e,Be="colorpicker-popup";return es(vb,{children:[es(dt,{...ge,size:t,rounded:o,fillMode:a,hover:f,focus:x,valid:N,invalid:m,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||I?Be:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:r(e.className,Yl,"k-icon-picker"),children:[Ze(ze,{children:i}),Ze(Jt,{placeholder:u,value:c,showValue:!1,valueIcon:Ze(Bt,{className:"k-value-icon",color:c,iconName:y}),valueIconName:y}),Ze(Ue,{children:p}),Ze(l,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&C&&Ze(G,{id:Be,className:"k-colorpicker-popup",children:C}),I&&Ze(W,{adaptive:!0,id:Be,...X,header:Ze(ke,{actionsEnd:Ze(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:de,subtitle:xe}),footer:es(Pt,{children:[Ze(l,{text:"Cancel",size:"large"}),Ze(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ze(J,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Re.states=gb;Re.options=Nb;Re.className=Yl;Re.defaultOptions=Zl;Re.moduleName=Wl;Re.folderName=Jl;Re.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var St=Re;import{jsx as kb}from"react/jsx-runtime";var Nn=e=>kb(St,{...e});import{jsx as DK}from"react/jsx-runtime";import{jsx as GK}from"react/jsx-runtime";import{jsx as qK}from"react/jsx-runtime";import{jsx as ZK}from"react/jsx-runtime";import{jsx as t_}from"react/jsx-runtime";import{jsx as r_}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var Lb=St.options,Mb=St.states,Ql={...St.defaultOptions,variant:"color"},Sb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],yb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...Ql,...e},n={};Object.keys(o||{}).forEach(p=>{p==="opened"&&(n.opened=!!o?.[p],n.popup=o?.[p]?oo(J,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return oo("div",{style:i,children:oo(Nn,{...a,...n})});case"icon":return oo("div",{style:i,children:oo(Nn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return oo("div",{style:i,children:oo(Nn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Fo.options=Lb;Fo.states=Mb;Fo.variants=Sb;Fo.defaultOptions=Ql;Fo.modifiers=yb;Fo.className=St.className;var ts="combobox",jl=ts;import{Fragment as os,jsx as ae,jsxs as wa}from"react/jsx-runtime";var ep="k-combobox",Ab=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Cb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},tp={separators:!0},ce=e=>{let{size:t,rounded:o,fillMode:a,separators:n=tp.separators,prefix:i,suffix:p,value:c,placeholder:u,hover:f,focus:x,valid:N,invalid:m,required:L,loading:k,disabled:y,popup:C,opened:M,readonly:I,adaptive:X,adaptiveSettings:de,adaptiveTitle:xe,adaptiveSubtitle:ge,adaptiveCustomValue:Be,id:qt,autocomplete:$n,activeDescendant:Ot,"aria-label":qa,...Xn}=e,qn=qt?`${qt}-listbox`:void 0;return wa(os,{children:[wa(Z,{...Xn,size:t,rounded:o,fillMode:a,hover:f,focus:x,valid:N,invalid:m,required:L,loading:k,disabled:y,readonly:I,className:r(e.className,ep),children:[i&&wa(os,{children:[ae(ze,{children:i}),n&&ae(Fe,{})]}),ae(Ne,{id:qt,placeholder:u,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?qn:void 0,"aria-activedescendant":M&&Ot?Ot:void 0,"aria-autocomplete":$n,"aria-invalid":m?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":qa,disabled:y,readOnly:I}),ae(ve,{valid:N,invalid:m,loading:k,disabled:y}),ae(Ee,{loading:k,disabled:y}),ae(Pe,{loading:k,disabled:y,readonly:I,value:c}),p&&wa(os,{children:[n&&ae(Fe,{}),ae(Ue,{children:p})]}),ae(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:y})]}),M&&C&&ae(G,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:C}),X&&ae(W,{adaptive:!0,id:qt?`${qt}-adaptive`:void 0,...de,header:ae(ke,{actionsEnd:ae(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:u,title:xe,subtitle:ge}),children:ae("div",{className:"k-list-container",children:ae(R,{customValue:Be?ae(Dt,{text:`Use "${c}"`}):void 0,size:"large",children:wa(H,{"aria-label":xe||"Options",children:[ae(O,{text:"List item"}),ae(O,{text:"List item"}),ae(O,{text:"List item"})]})})})})]})};ce.states=Ab;ce.options=Cb;ce.className=ep;ce.defaultOptions=tp;ce.moduleName=ts;ce.folderName=jl;ce.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var Ke=ce;import{jsx as Eb}from"react/jsx-runtime";var op=e=>Eb(Ke,{...e});import{jsx as U_,jsxs as F_}from"react/jsx-runtime";import{jsx as W_,jsxs as J_}from"react/jsx-runtime";import{jsx as t0,jsxs as o0}from"react/jsx-runtime";import{Fragment as l0,jsx as i0}from"react/jsx-runtime";import{Fragment as f0,jsx as u0}from"react/jsx-runtime";import{jsx as v0,jsxs as k0}from"react/jsx-runtime";import{Fragment as I0,jsx as C0,jsxs as E0}from"react/jsx-runtime";import{jsx as P0}from"react/jsx-runtime";import{jsx as _0}from"react/jsx-runtime";import{jsx as G0,jsxs as V0}from"react/jsx-runtime";import{jsx as Y0,jsxs as Z0}from"react/jsx-runtime";import{jsx as zt,jsxs as wb}from"react/jsx-runtime";var Ib=ce.states,Tb=ce.defaultOptions,Ob=ce.options,Bb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],Go=e=>{let{modifiers:t,...o}=e,a={},n=zt(R,{style:{width:300},size:o.size,children:wb(H,{children:[zt(O,{children:"List item"}),zt(O,{children:"List item"}),zt(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?zt(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[i]?zt(ie,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0;break;default:break}}),zt("div",{children:zt(op,{value:"Value",style:{width:300},...o,...a})})};Go.options=Ob;Go.states=Ib;Go.variants=Pb;Go.defaultOptions=Tb;Go.modifiers=Bb;Go.className=ce.className;var as="menu-button",ap=as;import{jsx as _b}from"react/jsx-runtime";var np="k-menu-button",Rb=[s.hover,s.focus,s.active,s.selected,s.disabled],Kb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},ns={showArrow:!0,arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,icon:x,text:N,showArrow:m=ns.showArrow,arrowIconName:L=ns.arrowIconName,expanded:k,...y}=e;return _b(l,{...y,className:r(e.className,np),text:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,icon:x,showArrow:m,arrowIconName:L,"aria-expanded":k?"true":"false",...!N&&x&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};D.states=Rb;D.options=Kb;D.className=np;D.defaultOptions=ns;D.moduleName=as;D.folderName=ap;D.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};import{jsx as TD}from"react/jsx-runtime";import{jsx as wD}from"react/jsx-runtime";import{jsx as DD}from"react/jsx-runtime";var _e="menu",Qe=_e;import{jsx as Ra,jsxs as rp}from"react/jsx-runtime";var rs="k-menu-item",Db=[s.hover,s.focus,s.active,s.selected,s.disabled],Hb={},sp={iconPosition:"before"},me=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:p,text:c,first:u,last:f,showArrow:x,arrowIconName:N,iconPosition:m=sp.iconPosition,dir:L,children:k,expanded:y,...C}=e,M=N;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),rp("li",{...C,className:r(e.className,rs,"k-item",S(rs,{focus:o,disabled:i,hover:t,active:a,selected:n}),{"k-first":u,"k-last":f}),role:"menuitem",...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":y?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[rp("span",{className:r("k-link k-menu-link"),children:[p&&m==="before"&&Ra(v,{className:"k-menu-link-icon",icon:p}),Ra("span",{className:"k-menu-link-text",children:c}),p&&m==="after"&&Ra(v,{className:"k-menu-link-icon",icon:p}),x&&Ra("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ra(v,{icon:M})})]}),k]})};me.states=Db;me.options=Hb;me.className=rs;me.defaultOptions=sp;me.moduleName=_e;me.folderName=Qe;import{jsx as Ka,jsxs as ip}from"react/jsx-runtime";var ss="k-menu-item",zb=[s.hover,s.focus,s.active,s.selected,s.disabled],Ub={},is={dir:"ltr",iconPosition:"before"},q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:p,text:c,first:u,last:f,showArrow:x,arrowIconName:N,iconPosition:m=is.iconPosition,dir:L=is.dir,children:k,popup:y,expanded:C,...M}=e,I=N;return I||(I=L==="rtl"?"chevron-left":"chevron-right"),ip("li",{...M,className:r(e.className,ss,"k-item",S(ss,{focus:o,disabled:i}),{"k-first":u,"k-last":f}),role:"menuitem",...x&&{"aria-haspopup":"menu"},...x&&{"aria-expanded":C?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ip("span",{className:r("k-link k-menu-link",S("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[p&&m==="before"&&Ka(v,{className:"k-menu-link-icon",icon:p}),Ka("span",{className:"k-menu-link-text",children:c}),p&&m==="after"&&Ka(v,{className:"k-menu-link-icon",icon:p}),x&&Ka("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ka(v,{icon:I})})]}),k,y]})};q.states=zb;q.options=Ub;q.className=ss;q.defaultOptions=is;q.moduleName=_e;q.folderName=Qe;import{jsx as $b}from"react/jsx-runtime";var lp="k-menu-scroll-wrapper",Fb=[],Gb={},Vb={},ao=e=>{let{className:t,children:o,orientation:a,...n}=e;return $b("div",{...n,className:r(t,lp,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ao.states=Fb;ao.options=Gb;ao.className=lp;ao.defaultOptions=Vb;ao.moduleName=_e;ao.folderName=Qe;var pp=ao;import{Fragment as ls,jsx as no,jsxs as kn}from"react/jsx-runtime";var ps="k-menu",Xb=[],qb={},Ln={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},se=e=>{let{children:t,orientation:o=Ln.orientation,header:a=Ln.header,scrollable:n,scrollButtonsPosition:i=Ln.scrollButtonsPosition,wrapperStyles:p,dir:c,popup:u,contextMenu:f,...x}=e,N={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},m=no("ul",{dir:c,...x,className:r(e.className,"k-reset",ps,{[`${ps}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return kn(ls,{children:[n?kn(pp,{orientation:o,style:p,dir:e.dir,children:[i==="start"&&kn(ls,{children:[no(l,{fillMode:"flat",icon:`chevron-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),no(l,{fillMode:"flat",icon:`chevron-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&no(l,{fillMode:"flat",icon:`chevron-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),m,i==="end"&&kn(ls,{children:[no(l,{fillMode:"flat",icon:`chevron-${N[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),no(l,{fillMode:"flat",icon:`chevron-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&no(l,{fillMode:"flat",icon:`chevron-${N[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):m,u]})};se.states=Xb;se.options=qb;se.className=ps;se.defaultOptions=Ln;se.moduleName=_e;se.folderName=Qe;se.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};import{jsx as Wb}from"react/jsx-runtime";var ds="k-separator",dp={orientation:"horizontal"},Vo=e=>{let{orientation:t=dp.orientation,...o}=e;return Wb("li",{...o,className:r(e.className,"k-item",ds,{[`${ds}-${t}`]:t}),role:"separator"})};Vo.className=ds;Vo.defaultOptions=dp;Vo.moduleName=_e;Vo.folderName=Qe;import{Fragment as uH,jsx as fH}from"react/jsx-runtime";import{jsx as Qb}from"react/jsx-runtime";var cs="k-menu-group",Jb=[],Yb={size:[d.undefined,d.small,d.medium,d.large]},Zb={},ue=e=>{let{children:t,size:o,...a}=e;return Qb("ul",{...a,className:r(e.className,cs,A(cs,{size:o})),role:"menu",children:t})};ue.states=Jb;ue.options=Yb;ue.className=cs;ue.defaultOptions=Zb;ue.moduleName=_e;ue.folderName=Qe;import{Fragment as jb,jsx as $o,jsxs as eh}from"react/jsx-runtime";var ms=e=>$o(se,{children:eh(jb,{children:[$o(me,{first:!0,text:"Item 1"}),$o(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),$o(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),$o(me,{text:"Item 4"}),$o(me,{last:!0,text:"Item 5"})]}),...e});import{Fragment as EH,jsx as AH,jsxs as CH}from"react/jsx-runtime";import{Fragment as PH,jsx as BH,jsxs as wH}from"react/jsx-runtime";import{Fragment as HH,jsx as DH,jsxs as zH}from"react/jsx-runtime";import{Fragment as $H,jsx as VH,jsxs as XH}from"react/jsx-runtime";import{jsx as ro,jsxs as rh}from"react/jsx-runtime";var th={...se.options,scrollable:{type:"boolean"}},oh=se.states,cp={...se.defaultOptions,variant:"horizontal"},ah=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],nh=[{name:"opened",title:"Opened"}],Xo=e=>{let{variant:t,modifiers:o,...a}={...cp,...e},n={};return Object.keys(o||{}).forEach(i=>{i==="opened"&&(n.opened=!!o?.[i],n.popup=ro(G,{className:"k-menu-popup",children:rh(ue,{children:[ro(q,{text:"Item 1"}),ro(q,{text:"Item 2"}),ro(Vo,{}),ro(q,{text:"Item 3"})]})}))}),t==="vertical"?ro(ms,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ro(ms,{...a,...n})};Xo.options=th;Xo.states=oh;Xo.variants=ah;Xo.defaultOptions=cp;Xo.modifiers=nh;Xo.className=se.className;import{Fragment as S1,jsx as L1,jsxs as M1}from"react/jsx-runtime";import{jsx as E1}from"react/jsx-runtime";import{Fragment as dh,jsx as ht,jsxs as mp}from"react/jsx-runtime";var sh=l.states,up={...l.defaultOptions,variant:"text"},ih=l.options,lh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],ph=[{name:"opened",title:"Opened"}],qo=e=>{let{variant:t,modifiers:o,...a}={...up,...e},n={},i=ht(G,{className:"k-menu-popup",children:mp(ue,{size:a.size,children:[ht(q,{first:!0,text:"Menu Item"}),ht(q,{text:"Menu Item"}),ht(q,{last:!0,text:"Menu Item"})]})}),p;switch(t){case"icon-only":p=ht("div",{children:ht(D,{...a,...n,icon:"star"})});break;case"icon-and-text":p=ht("div",{children:ht(D,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:p=ht("div",{children:ht(D,{...a,...n,children:"Dropdown Button"})});break}return mp(dh,{children:[p,o?.opened&&i]})};qo.options=ih;qo.states=sh;qo.variants=lh;qo.defaultOptions=up;qo.modifiers=ph;qo.className=D.className;var us="split-button",fp=us;import{Fragment as uh,jsx as fs,jsxs as bp}from"react/jsx-runtime";var bs="k-split-button",ch=[s.hover,s.focus,s.active,s.selected,s.disabled],mh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},hp={arrowIconName:"chevron-down"},P=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,icon:x,text:N,arrowIconName:m=hp.arrowIconName,popup:L,opened:k,popupId:y,...C}=e;return bp(uh,{children:[bp("div",{...C,className:r(e.className,bs,"k-button-group",A(bs,{rounded:o})),children:[fs(l,{text:N,icon:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:p,active:c,selected:u,disabled:f,...!N&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),fs(l,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?y:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&fs(G,{className:"k-menu-popup",children:L})]})};P.states=ch;P.options=mh;P.className=bs;P.defaultOptions=hp;P.moduleName=us;P.folderName=fp;P.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var hs=P;import{jsx as bh}from"react/jsx-runtime";var fh="k-toolbar-separator",nt=e=>bh("div",{className:r(fh,e.className,"k-separator")});var yt="toolbar",Ut=yt;import{Fragment as xs,jsx as K,jsxs as Wo}from"react/jsx-runtime";var At="k-toolbar",hh=[s.focus],xh={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},gh={scrollButtons:"around"},z=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:p,scrollingPosition:c,section:u,...f}=e,x=[],N=(m,L)=>{let k=[];if(m.type===l&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))k.push(K(l,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===l)k.push(K(l,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===xa)k.push(K(xa,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===ie)k.push(K(ie,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===D)k.push(K(D,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===hs)k.push(K(hs,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===T||m.props.className&&m.props.className.includes("k-button-group")){let y=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((M,I)=>{y.push(K(l,{...M.props,className:`${M.props.className?M.props.className:""}`},`${I}-${new Date().getTime()}`))}),k.push(K(T,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:y},`${L}-${new Date().getTime()}`))}else m.type===ce?k.push(K(ce,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===oe?k.push(K(oe,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===Re?k.push(K(Re,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(m);k.forEach(y=>{x.push(y)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{N(L,k)}),Wo("div",{...f,className:r(e.className,At,A(At,{size:t,fillMode:o}),S(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:i,[`${At}-scrollable-overlay`]:i&&p==="hidden",[`${At}-scrollable-${c}`]:c&&c!=="both",[`${At}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&p==="hidden"&&K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&p==="start"&&Wo(xs,{children:[Wo(T,{children:[K("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]}),K(nt,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&p==="end"&&Wo(xs,{children:[K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),K(nt,{className:"k-toolbar-button-separator"}),Wo(T,{children:[K("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(p==="around"||!p)&&Wo(xs,{children:[K("span",{className:r("k-toolbar-prev","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-left"})}),K(nt,{className:"k-toolbar-button-separator"}),K("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),K(nt,{className:"k-toolbar-button-separator"}),K("span",{className:r("k-toolbar-next","k-button",A("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:K(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};z.states=hh;z.options=xh;z.className=At;z.defaultOptions=gh;z.moduleName=yt;z.folderName=Ut;z.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};import{jsx as Lh}from"react/jsx-runtime";var xp="k-floating-toolbar",Nh=[],vh={},kh={},Jo=e=>{let{...t}=e;return Lh("div",{...t,className:r(e.className,xp),children:e.children})};Jo.states=Nh;Jo.options=vh;Jo.className=xp;Jo.defaultOptions=kh;Jo.moduleName=yt;Jo.folderName=Ut;import{jsx as Ah}from"react/jsx-runtime";var gs="k-toolbar-item",Mh=[s.focus],Sh={},yh={},Yo=e=>{let{focus:t,...o}=e;return Ah("div",{...o,className:r(e.className,gs,S(gs,{focus:t})),children:e.children})};Yo.states=Mh;Yo.options=Sh;Yo.className=gs;Yo.defaultOptions=yh;Yo.moduleName=yt;Yo.folderName=Ut;import{jsx as gp}from"react/jsx-runtime";var Np="k-toolbar-popup",Ch=[],Eh={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Ih={},so=e=>{let{size:t,fillMode:o,section:a,...n}=e;return gp(G,{...n,className:r(e.className,Np),children:a?gp("span",{className:r("k-toolbar-items-list",A("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};so.states=Ch;so.options=Eh;so.className=Np;so.defaultOptions=Ih;so.moduleName=yt;so.folderName=Ut;var Mn=so;import{jsx as Oz}from"react/jsx-runtime";import{jsx as Rz}from"react/jsx-runtime";import{jsx as Hz}from"react/jsx-runtime";import{jsx as $z,jsxs as Xz}from"react/jsx-runtime";import{jsx as Yz}from"react/jsx-runtime";import{jsx as Ct,jsxs as wh}from"react/jsx-runtime";var Th=P.states,vp={...P.defaultOptions,variant:"text"},Oh=P.options,Bh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ph=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}={...vp,...e},n={},i=wh(ue,{size:a.size,children:[Ct(q,{first:!0,text:"Menu Item"}),Ct(q,{text:"Menu Item"}),Ct(q,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(p=>{p==="opened"&&(n.opened=!!o?.[p],n.popup=o?.[p]?i:"")}),t){case"icon-only":return Ct("div",{children:Ct(P,{...a,...n,icon:"star"})});case"icon-and-text":return Ct("div",{children:Ct(P,{...a,...n,icon:"star",children:"Split Button"})});default:return Ct("div",{children:Ct(P,{...a,...n,children:"Split Button"})})}};Zo.options=Oh;Zo.states=Th;Zo.variants=Bh;Zo.defaultOptions=vp;Zo.modifiers=Ph;Zo.className=P.className;import{jsx as io,jsxs as Rh}from"react/jsx-runtime";var kp=e=>io(z,{children:[io(l,{children:"Button"},"toolbar-button"),io(D,{text:"Menu button"},"toolbar-menu-button"),io(P,{children:"Split button"},"toolbar-split-button"),Rh(T,{children:[io(l,{className:"k-group-start",icon:"align-left",children:"Left"}),io(l,{icon:"align-center",children:"Center"}),io(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as y2,jsxs as A2}from"react/jsx-runtime";import{jsx as De,jsxs as Lp}from"react/jsx-runtime";var Mp=e=>De(z,{scrollable:!0,...e,children:[De(l,{children:"Button"},"toolbar-button"),De(D,{text:"Menu button"},"toolbar-menu-button"),De(P,{children:"Split button"},"toolbar-split-button"),Lp(T,{children:[De(l,{className:"k-group-start",icon:"align-left",children:"Left"}),De(l,{icon:"align-center",children:"Center"}),De(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),De(l,{children:"Button"},"toolbar-button"),De(D,{text:"Menu button"},"toolbar-menu-button"),De(P,{children:"Split button"},"toolbar-split-button"),Lp(T,{children:[De(l,{className:"k-group-start",icon:"align-left",children:"Left"}),De(l,{icon:"align-center",children:"Center"}),De(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as He,jsxs as Sp}from"react/jsx-runtime";var yp=({scrollingPosition:e="start",...t})=>He(z,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[He(l,{children:"Button"},"toolbar-button"),He(D,{text:"Menu button"},"toolbar-menu-button"),He(P,{children:"Split button"},"toolbar-split-button"),Sp(T,{children:[He(l,{className:"k-group-start",icon:"align-left",children:"Left"}),He(l,{icon:"align-center",children:"Center"}),He(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),He(l,{children:"Button"},"toolbar-button"),He(D,{text:"Menu button"},"toolbar-menu-button"),He(P,{children:"Split button"},"toolbar-split-button"),Sp(T,{children:[He(l,{className:"k-group-start",icon:"align-left",children:"Left"}),He(l,{icon:"align-center",children:"Center"}),He(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Kh,jsx as Ie,jsxs as Sn}from"react/jsx-runtime";var Ap=({fillMode:e,size:t,...o})=>Sn(Kh,{children:[Ie(z,{section:!0,fillMode:e,size:t,children:[Ie(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Sn(T,{fillMode:e,children:[Ie(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Ie(nt,{className:"k-toolbar-button-separator"}),Ie(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),Sn(Mn,{size:t,fillMode:e,section:!0,...o,children:[Ie(P,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Ie(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ie(nt,{}),Ie(D,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Sn(T,{fillMode:e,children:[Ie(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as rU,jsx as aU,jsxs as nU}from"react/jsx-runtime";import{Fragment as hU,jsx as fU,jsxs as bU}from"react/jsx-runtime";import{jsx as Ft}from"react/jsx-runtime";var _h=z.options,Dh=z.states,Cp={...z.defaultOptions,variant:"default"},Hh=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],zh=[],Qo=e=>{let{variant:t,...o}={...Cp,...e};switch(t){case"responsive":return Ft("div",{children:Ft(Ap,{style:{width:"583px"},...o})});case"overlay":return Ft("div",{children:Ft(yp,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Ft("div",{children:Ft(Mp,{style:{width:"583px"},...o})});default:return Ft("div",{children:Ft(kp,{style:{width:"583px"},...o})})}};Qo.options=_h;Qo.states=Dh;Qo.variants=Hh;Qo.defaultOptions=Cp;Qo.modifiers=zh;Qo.className=z.className;import{Fragment as Vh,jsx as rt,jsxs as _a}from"react/jsx-runtime";var Ep="k-message",Uh=[s.hover,s.selected,s.active,s.focus],Fh={},Gh=[rt(l,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),rt(l,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),rt(l,{icon:"download",fillMode:"flat","aria-label":"Download"})],jo={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:Gh,failed:"Failed to send"},V=e=>{let{time:t=jo.time,text:o=jo.text,content:a,status:n=jo.status,statusIcon:i,toolbarItems:p=jo.toolbarItems,hover:c,selected:u,active:f,focus:x,toolbar:N,typing:m,expandable:L,expanded:k,removed:y,files:C,failed:M,...I}=e,X=M===!0?jo.failed:M;return _a("div",{...I,className:r(Ep,e.className,{"k-message-removed":y,"k-message-failed":M}),children:[M&&rt(ie,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),rt(Ip,{typing:m,selected:u,hover:c,active:f,focus:x,content:_a(Vh,{children:[a,o&&rt("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:k,files:C}),_a("div",{className:"k-message-info",children:[n&&_a("span",{className:"k-message-status",children:[i&&rt(v,{icon:i,size:"xsmall"}),n]}),t&&rt("time",{className:"k-message-time",children:t}),M&&_a("span",{className:"k-message-failed-content",children:[M&&rt(v,{icon:"warning-triangle",size:"xsmall"}),M&&rt("span",{className:"k-message-failed-text",children:X})]})]}),N&&rt(z,{className:"k-chat-message-toolbar",fillMode:"flat",children:p})]})};V.states=Uh;V.options=Fh;V.className=Ep;V.defaultOptions=jo;var Ns="avatar",Tp=Ns;import{jsx as Op}from"react/jsx-runtime";var Da="k-avatar";var $h=[s.hover,s.focus,s.active,s.selected,s.disabled],Xh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},vs={type:"text",border:!1},fe=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=vs.type,border:p=vs.border,...c}=e;return Op("div",{...c,className:r(e.className,Da,A(Da,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Da}-bordered`]:p}),children:Op("span",{className:`${Da}-${i}`,children:e.children})})};fe.states=$h;fe.options=Xh;fe.className=Da;fe.defaultOptions=vs;fe.moduleName=Ns;fe.folderName=Tp;fe.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var lo=fe;import{jsx as qh}from"react/jsx-runtime";var Bp=e=>qh(lo,{type:"icon",...e});import{jsx as Wh}from"react/jsx-runtime";var Pp=e=>Wh(lo,{type:"text",...e});import{jsx as Jh}from"react/jsx-runtime";var yn=e=>Jh(lo,{type:"image",...e});import{jsx as p3}from"react/jsx-runtime";import{jsx as Ha}from"react/jsx-runtime";var Yh=fe.options,Zh=fe.states,Qh={...fe.defaultOptions,variant:"image"},jh=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],ex=[],ea=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ha(Bp,{...o,children:Ha(v,{icon:"star"})});case"text":return Ha(Pp,{...o,children:"JO"});default:return Ha(yn,{...o,children:Ha("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ea.options=Yh;ea.states=Zh;ea.variants=jh;ea.defaultOptions=Qh;ea.modifiers=ex;ea.className=fe.className;import{jsx as ta,jsxs as ks}from"react/jsx-runtime";var za="k-message-group",tx=[s.selected],ox={},An={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},$=e=>{let{type:t=An.type,author:o=An.author,avatar:a=An.avatar,status:n,selected:i,fullWidth:p,...c}=e;return ks("div",{...c,className:r(za,e.className,S(za,{selected:i}),{[`${za}-${t}`]:t,"k-no-avatar":!a,[`${za}-full-width`]:p}),children:[a&&!n&&ta(fe,{type:"image",children:ta("img",{src:a,alt:o||""})}),n&&a&&ks("div",{className:"k-chat-user-status-wrapper",children:[ta(fe,{type:"image",children:ta("img",{src:a,alt:o||""})}),ta("div",{className:"k-chat-user-status"})]}),ks("div",{className:"k-message-group-content",children:[o&&ta("span",{className:"k-message-author",children:o}),e.children]})]})};$.states=tx;$.options=ox;$.className=za;$.defaultOptions=An;import{Fragment as nx,jsx as Cn,jsxs as wp}from"react/jsx-runtime";var Ls="k-message-reference",ax={},Rp={type:"receiver"},oa=e=>{let{content:t,closeable:o,pinned:a,type:n=Rp.type,...i}=e;return wp("div",{...i,className:r(Ls,e.className,{[`${Ls}-${n}`]:n,"k-message-pinned":a}),children:[a&&Cn(v,{icon:"pin"}),Cn("div",{className:"k-message-reference-content",children:t}),o&&wp(nx,{children:[Cn("span",{className:"k-spacer"}),Cn(l,{icon:"x-circle",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};oa.options=ax;oa.className=Ls;oa.defaultOptions=Rp;var Ms="bubble",Kp=Ms;import{jsx as En,jsxs as sx}from"react/jsx-runtime";var Ss="k-bubble",rx=[s.hover,s.active,s.selected,s.focus],ys={expandable:!1,expanded:!1},Gt=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:p=ys.expandable,expanded:c=ys.expanded,...u}=e;return sx("div",{...u,className:r(e.className,Ss,S(Ss,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":p},{"k-expanded":c}),tabIndex:0,children:[En("div",{className:"k-bubble-content",children:t??e.children}),p&&En("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?En(v,{icon:"chevron-up"}):En(v,{icon:"chevron-down"})})]})};Gt.states=rx;Gt.className=Ss;Gt.defaultOptions=ys;Gt.moduleName=Ms;Gt.folderName=Kp;Gt.ariaSpec={selector:".k-bubble",rules:[{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."}]};import{jsx as G3}from"react/jsx-runtime";import{jsx as q3}from"react/jsx-runtime";import{jsx as Z3}from"react/jsx-runtime";import{jsx as As,jsxs as Dp}from"react/jsx-runtime";var ix="k-chat-bubble",Ip=e=>{let{typing:t,content:o,files:a,...n}=e;return Dp(Gt,{...n,className:r(e.className,ix),children:[t?Dp("div",{className:"k-typing-indicator",tabIndex:-1,children:[As("span",{}),As("span",{}),As("span",{})]}):o,a]})};import{jsx as mF}from"react/jsx-runtime";import{jsx as Hp,jsxs as lx}from"react/jsx-runtime";var zp="k-chat-event",Cs={icon:"trash",text:"You deleted Chat history."},Up=e=>{let{icon:t=Cs.icon,text:o=Cs.text,...a}=e;return lx("div",{...a,className:r(e.className,zp),children:[t&&Hp(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&Hp("span",{className:"k-chat-event-text",children:o})]})};Up.className=zp;Up.defaultOptions=Cs;import{jsx as LF}from"react/jsx-runtime";import{Fragment as px,jsx as xt,jsxs as dx}from"react/jsx-runtime";var Fp=e=>xt(U,{children:dx(px,{children:[xt("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),xt($,{children:xt(V,{})}),xt($,{type:"sender",children:xt(V,{})}),xt($,{children:xt(V,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),xt($,{type:"sender",children:xt(V,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});import{Fragment as TF,jsx as IF,jsxs as OF}from"react/jsx-runtime";var Es="skeleton",Gp=Es;import{jsx as fx}from"react/jsx-runtime";var Is="k-skeleton",cx=["circle","text","rect"],mx=[],ux={},Ts={variant:"text",shape:"text",animation:"pulse"},st=e=>{let{variant:t,shape:o,animation:a=Ts.animation,...n}=e,i=`skeleton-${t||o||Ts.variant}`;return fx("span",{...n,className:r(e.className,Is,Wa(Is,i),{[`k-skeleton-${a}`]:a}),style:e.style})};st.states=mx;st.options=ux;st.variants=cx;st.className=Is;st.defaultOptions=Ts;st.moduleName=Es;st.folderName=Gp;st.ariaSpec={selector:".k-skeleton",rules:[]};import{jsx as zF}from"react/jsx-runtime";import{jsx as VF}from"react/jsx-runtime";import{jsx as WF}from"react/jsx-runtime";import{Fragment as l5,jsx as s5,jsxs as i5}from"react/jsx-runtime";import{Fragment as u5,jsx as m5,jsxs as f5}from"react/jsx-runtime";var Os="window",Vp=Os;import{jsx as gx}from"react/jsx-runtime";var $p="k-window-content",bx=[],hx={},xx={},Vt=e=>{let{children:t,...o}=e;return gx("div",{...o,className:r($p,e.className),children:t})};Vt.states=bx;Vt.options=hx;Vt.className=$p;Vt.defaultOptions=xx;Vt.moduleName=Os;Vt.folderName=Vp;var Ua="dialog",In=Ua;import{Fragment as kx,jsx as po,jsxs as Bs}from"react/jsx-runtime";var Xp="k-dialog",Nx=[],vx={},Ps={actionButtonsAlign:"stretched",modal:!0},Te=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=Ps.actionButtonsAlign,modal:i=Ps.modal,...p}=e,c=t!==void 0?w("dialog-titlebar"):void 0,u=w("dialog-content");return Bs("div",{className:"k-dialog-wrapper",children:[i&&po(ut,{}),Bs("div",{...p,className:r(e.className,Xp,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&Bs("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&po("span",{className:"k-window-title k-dialog-title",children:t}),o&&po(kx,{children:po("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(f=>po(l,{icon:f,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":f},f))})})]}),po(Vt,{className:"k-dialog-content",id:u,children:e.children}),a&&po(we,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};Te.states=Nx;Te.options=vx;Te.className=Xp;Te.defaultOptions=Ps;Te.moduleName=Ua;Te.folderName=In;Te.ariaSpec={selector:".k-dialog",rules:[{selector:".k-dialog",attribute:"role=dialog or role=alertdialog",usage:"Announces the dialog or alertdialog role of the component."},{selector:".k-dialog",attribute:"aria-labelledby",usage:"Associate the title of the dialog."},{selector:".k-dialog",attribute:"aria-describedby",usage:"Associate the dialog content to the wrap element."},{selector:".k-overlay + .k-dialog",attribute:"aria-modal=true",usage:"Announces that the dialog is modal. Attribute is added only when the dialog is modal."}]};var ws=Te;import{jsx as yx}from"react/jsx-runtime";var qp="k-dialog-wrapper",Lx=[],Mx={},Sx={},aa=e=>{let{...t}=e;return yx("div",{...t,className:r(e.className,qp),children:e.children})};aa.states=Lx;aa.options=Mx;aa.className=qp;aa.defaultOptions=Sx;aa.moduleName=Ua;aa.folderName=In;import{Fragment as Wp,jsx as Tn,jsxs as Ax}from"react/jsx-runtime";var Jp=e=>Tn(ws,{title:"Title",children:Tn(Wp,{children:"Dialog content"}),actionButtons:Ax(Wp,{children:[Tn(l,{children:"Action"}),Tn(l,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});import{Fragment as U5,jsx as F5,jsxs as G5}from"react/jsx-runtime";import{Fragment as Bx,jsx as On,jsxs as Px}from"react/jsx-runtime";var Cx=Te.options,Ex=[],Ix=Te.states,Tx=Te.defaultOptions,Ox=[],na=e=>On(Jp,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:Px(Bx,{children:[On(l,{children:"No"}),On(l,{themeColor:"primary",children:"Yes"})]}),children:On("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});na.options=Cx;na.states=Ix;na.variants=Ex;na.defaultOptions=Tx;na.modifiers=Ox;na.className=Te.className;var Rs="dropzone",Yp=Rs;import{jsx as Bn,jsxs as Kx}from"react/jsx-runtime";var Ks="k-external-dropzone",wx=[s.disabled,s.hover],Rx={},_s={icon:"upload",hint:"Drag and drop files here to upload"},Ae=e=>{let{hover:t,disabled:o,icon:a=_s.icon,hint:n=_s.hint,note:i,...p}=e;return Bn("div",{...p,className:r(e.className,Ks,S(Ks,{disabled:o}),{"k-external-dropzone-hover":t}),children:Kx("div",{className:"k-dropzone-inner",children:[a&&Bn(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&Bn("span",{className:"k-dropzone-hint",children:n}),i&&Bn("span",{className:"k-dropzone-note",children:i})]})})};Ae.states=wx;Ae.options=Rx;Ae.className=Ks;Ae.defaultOptions=_s;Ae.moduleName=Rs;Ae.folderName=Yp;import{jsx as _x}from"react/jsx-runtime";var Zp=e=>_x(Ae,{...e});import{jsx as fG}from"react/jsx-runtime";import{jsx as Gx}from"react/jsx-runtime";var Dx=Ae.options,Hx=Ae.states,zx=Ae.defaultOptions,Ux=[{name:"note",title:"Note"}],Fx=[],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t?.[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),Gx(Zp,{style:{width:"500px"},...o,...a})};ra.options=Dx;ra.states=Hx;ra.variants=Fx;ra.defaultOptions=zx;ra.modifiers=Ux;ra.className=Ae.className;import{Fragment as Pn,jsx as $t,jsxs as Fa}from"react/jsx-runtime";var Ds="k-upload-dropzone",Vx=[s.hover],wn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,...p}=e,c;switch(o){case"uploading":c=Fa(Pn,{children:[$t(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=Fa(Pn,{children:[$t(v,{icon:"check"}),"Done"]});break;case"failed":c=Fa(Pn,{children:[$t(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=$t(Pn,{});break}return Fa("div",{...p,className:r(e.className,Ds,"k-dropzone",S(Ds,{hover:t})),children:[Fa("div",{className:"k-upload-button-wrap",children:[$t(l,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:"Select files..."}),$t("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),$t("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&$t("span",{className:"k-upload-status",children:c})]})};wn.states=Vx;wn.className=Ds;var Hs="upload",Qp=Hs;import{jsx as Rn,jsxs as ed}from"react/jsx-runtime";var zs="k-upload",$x=[s.hover,s.disabled],Xx={},td={actionsLayout:"end"},jp="upload-files-list",j=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=td.actionsLayout,hover:i,status:p,disabled:c,...u}=e,f=!!e.children;return ed("div",{...u,className:r(e.className,zs,S(zs,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[Rn(wn,{status:p,hover:i,disabled:c,hasFiles:f,filesId:jp}),f&&Rn("ul",{className:"k-upload-files",role:"list",id:jp,children:e.children}),a&&f&&ed($i,{alignment:n,orientation:"horizontal",children:[Rn(l,{className:"k-clear-selected",children:"Clear"}),Rn(l,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};j.states=$x;j.options=Xx;j.className=zs;j.defaultOptions=td;j.moduleName=Hs;j.folderName=Qp;j.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var Ga="progressbar",Kn=Ga;import{jsx as Fs,jsxs as Us}from"react/jsx-runtime";var je="k-progressbar",qx=[s.disabled,s.indeterminate],Wx={orientation:["horizontal","vertical"]},co={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},be=e=>{let{disabled:t,height:o,indeterminate:a=co.indeterminate,label:n=co.label,labelPosition:i=co.labelPosition,orientation:p=co.orientation,reverse:c=co.reverse,value:u=co.value,width:f,style:x,ariaLabel:N,...m}=e;return Us("div",{...m,className:r(e.className,je,S(je,{disabled:t}),{[`${je}-${p}`]:p,[`${je}-indeterminate`]:a,[`${je}-reverse`]:c}),style:{...x,"--kendo-progressbar-value":u,[p==="horizontal"?"height":"width"]:p==="horizontal"?o:f},role:"progressbar","aria-label":N||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[Fs("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&Us("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&Fs("div",{className:"k-progressbar-value k-selected",children:Fs("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&Us("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};be.states=qx;be.options=Wx;be.className=je;be.defaultOptions=co;be.moduleName=Ga;be.folderName=Kn;be.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var od=be;import{jsx as Gs}from"react/jsx-runtime";var ad="k-chunk-progressbar",Jx=(e,t)=>t<=e-1,Yx=[s.disabled,s.indeterminate],Zx={},_n={chunkCount:5,orientation:"horizontal",progress:0},mo=e=>{let{disabled:t,chunkCount:o=_n.chunkCount,indeterminate:a,orientation:n=_n.orientation,progress:i=_n.progress,reverse:p,ariaLabel:c,...u}=e;return Gs("div",{...u,className:r(e.className,je,ad,S(je,{disabled:t}),{[`${je}-${n}`]:n,[`${je}-indeterminate`]:a,[`${je}-reverse`]:p}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:Gs("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,x)=>Gs("li",{className:r("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":Jx(i,x)})},x))})})};mo.states=Yx;mo.options=Zx;mo.className=ad;mo.defaultOptions=_n;mo.moduleName=Ga;mo.folderName=Kn;mo.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};import{jsx as Qx}from"react/jsx-runtime";var Va=e=>Qx(od,{...e});import{jsx as t6}from"react/jsx-runtime";import{jsx as Xt}from"react/jsx-runtime";var jx=be.options,eg=be.states,nd={...be.defaultOptions,variant:"start"},tg=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],og=[],sa=e=>{let{variant:t,modifiers:o,...a}={...nd,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(p=>{switch(p){case"reverse":n.reverse=!!o?.[p];break;case"vertical":n.orientation=o?.[p]?"vertical":void 0,i.style=o?.[p]?void 0:{width:"324px"};break}}),t){case"end":return Xt("div",{...i,children:Xt(Va,{...a,...n,labelPosition:"end",value:"50"})});case"center":return Xt("div",{...i,children:Xt(Va,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return Xt("div",{...i,children:Xt(Va,{...a,...n,label:!1,value:"50"})});default:return Xt("div",{...i,children:Xt(Va,{...a,...n,labelPosition:"start",value:"50"})})}};sa.options=jx;sa.states=eg;sa.variants=tg;sa.defaultOptions=nd;sa.modifiers=og;sa.className=be.className;import{jsx as Vs,jsxs as ng}from"react/jsx-runtime";var ag="k-file-info",$s=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return ng("div",{...n,className:r(e.className,ag),children:[t&&Vs("span",{className:"k-file-name",children:t}),o&&Vs("span",{className:"k-file-size",children:o}),a&&Vs("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as sg,jsx as Et,jsxs as Dn}from"react/jsx-runtime";var rg="k-file",Oe=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:p,validationMsg:c,...u}=e;return Et("li",{...u,className:r(e.className,rg,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Dn("div",{className:"k-file-single",children:[Et(be,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),Dn("span",{className:"k-file-icon-wrapper",children:[Et(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),p&&Et("span",{className:"k-file-state",children:p})]}),Et($s,{name:a,size:i,validationMsg:c}),Et("div",{className:"k-upload-actions",children:t==="progress"?Dn(sg,{children:[Dn("span",{className:"k-upload-pct",children:[o,"%"]}),Et(l,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Et(l,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Et(l,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as O6,jsx as I6,jsxs as T6}from"react/jsx-runtime";import{Fragment as ig,jsx as Xs,jsxs as lg}from"react/jsx-runtime";var $a=e=>Xs(j,{async:!0,children:lg(ig,{children:[Xs(Oe,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Xs(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as U6,jsx as H6,jsxs as z6}from"react/jsx-runtime";import{jsx as pg}from"react/jsx-runtime";var rd=e=>pg(j,{async:!0,empty:!0,...e});import{Fragment as J6,jsx as W6,jsxs as Y6}from"react/jsx-runtime";import{Fragment as t7,jsx as e7,jsxs as o7}from"react/jsx-runtime";import{jsx as It,jsxs as Hn}from"react/jsx-runtime";var dg=j.options,cg=j.states,sd={...j.defaultOptions,variant:"empty"},mg=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],ug=[],ia=e=>{let{variant:t,...o}={...sd,...e};switch(t){case"success":return Hn($a,{status:"done",style:{width:"586px"},...o,children:[It(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),It(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return Hn($a,{status:"failed",style:{width:"586px"},...o,children:[It(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),It(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return Hn($a,{status:"uploading",style:{width:"586px"},...o,children:[It(Oe,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),It(Oe,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return Hn($a,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[It(Oe,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),It(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return It(rd,{async:!0,status:"upload",style:{width:"586px"},...o})}};ia.options=dg;ia.states=cg;ia.variants=mg;ia.defaultOptions=sd;ia.modifiers=ug;ia.className=j.className;import{Fragment as T7,jsx as I7,jsxs as O7}from"react/jsx-runtime";import{jsx as R7}from"react/jsx-runtime";import{Fragment as z7,jsx as H7,jsxs as U7}from"react/jsx-runtime";import{Fragment as X7,jsx as $7,jsxs as q7}from"react/jsx-runtime";import{Fragment as Q7,jsx as Z7,jsxs as j7}from"react/jsx-runtime";import{Fragment as n9,jsx as a9}from"react/jsx-runtime";import{jsx as id}from"react/jsx-runtime";var zn="k-file-box-wrapper",ld={layout:"horizontal"},it=e=>{let{layout:t=ld.layout,scrollingPosition:o,...a}=e;return id("ul",{role:"list","aria-label":"Attached files",...a,className:r(e.className,zn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${zn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${zn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?id("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};it.className=zn;it.defaultOptions=ld;var qs="file-box",pd=qs;import{jsx as la,jsxs as dd}from"react/jsx-runtime";var cd="k-file-box",fg=[s.selected],bg={},Xa={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},ne=e=>{let{icon:t=Xa.icon,name:o=Xa.name,size:a=Xa.size,status:n,deleted:i,removeButton:p,showButton:c=Xa.showButton,...u}=e,f=[o,a].filter(Boolean).join(" ");return dd("li",{role:"listitem",tabIndex:0,"aria-label":f||void 0,...u,className:r(cd,e.className,{"k-file-deleted":i}),children:[la(v,{icon:t,size:"xlarge","aria-hidden":"true"}),dd("div",{className:"k-file-info",children:[o&&la("span",{className:"k-file-name",children:o}),a&&la("span",{className:"k-file-size",children:a}),n&&la("span",{className:"k-file-status",children:n})]}),c&&(p?la(l,{as:"span",icon:"x-circle",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):la(D,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};ne.states=fg;ne.options=bg;ne.className=cd;ne.defaultOptions=Xa;ne.moduleName=qs;ne.folderName=pd;ne.ariaSpec={selector:".k-file-box-wrapper",rules:[{selector:".k-file-box-wrapper",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-file-box-wrapper",attribute:"aria-label",usage:'Provides an accessible name for the file list (e.g. "Attached files").'},{selector:".k-file-box-wrapper .k-files-scroll",attribute:"role=presentation",usage:"The scrollable container between the list and its items is presentational, ensuring the list\u2192listitem relationship is preserved in the accessibility tree."},{selector:".k-file-box-wrapper .k-file-box",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-file-box-wrapper .k-file-box",attribute:"tabindex",usage:"Makes the file box focusable. Uses roving tabindex: 0 for the focused item, -1 for the rest."},{selector:".k-file-box-wrapper .k-file-box",attribute:"aria-label",usage:'Provides an accessible name describing the file. Can include the file name and size (e.g. "FileName.pdf 2MB").'},{selector:".k-file-box-wrapper .k-file-box .k-icon",attribute:"aria-hidden=true",usage:"The file type icon is decorative and hidden from screen readers."},{selector:".k-file-box-wrapper .k-file-box span.k-button",attribute:"aria-hidden=true",usage:"The remove button is rendered as a decorative span and hidden from screen readers. File removal is handled by keyboard interaction on the listitem itself."}]};import{jsx as v9}from"react/jsx-runtime";import{jsx as y9}from"react/jsx-runtime";import{jsx as T9,jsxs as O9}from"react/jsx-runtime";import{jsx as K9,jsxs as _9}from"react/jsx-runtime";import{jsx as F9}from"react/jsx-runtime";var Ws="appbar",md=Ws;import{jsx as Ng}from"react/jsx-runtime";var Js="k-appbar",hg=[],xg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.inverse]},gg={},he=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return Ng("div",{...n,className:r(e.className,Js,A(Js,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};he.states=hg;he.options=xg;he.className=Js;he.defaultOptions=gg;he.moduleName=Ws;he.folderName=md;he.ariaSpec={selector:".k-appbar",rules:[]};import{jsx as kg}from"react/jsx-runtime";var vg="k-appbar-section",gt=e=>{let{...t}=e;return kg("div",{...t,className:r(vg,e.className),children:e.children})};import{Fragment as c4,jsx as p4,jsxs as d4}from"react/jsx-runtime";import{jsx as ee,jsxs as pa}from"react/jsx-runtime";var Ys={...he.options,positionMode:["static","sticky","fixed"]},Lg=he.states,ud={...he.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};Ys.themeColor=["primary",...Ys.themeColor.filter(e=>e!=="primary")];var Mg=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],da=e=>{let{variant:t,...o}={...ud,...e},a=pa(he,{position:t,...o,children:[ee(gt,{children:ee(ie,{fillMode:"flat",icon:"menu"})}),ee("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),ee(gt,{children:ee("h3",{className:"k-m-0",children:"AppBar"})}),ee("span",{className:"k-spacer"}),pa(gt,{children:[ee(ot,{fillMode:"flat",children:"Button"}),ee(ot,{fillMode:"flat",children:"Button"}),ee(ot,{fillMode:"flat",children:"Button"})]}),ee("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),ee(gt,{children:ee(sn,{value:"Input value"})}),pa(gt,{children:[ee(ie,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),ee("span",{className:"k-appbar-separator"}),ee(yn,{className:"k-mx-sm",children:ee("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=pa("div",{style:{padding:"25px 10px"},children:[ee("p",{children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit, harum magnam? Possimus magnam non natus error consectetur voluptatum, unde quasi rerum ad facere, hic in! Qui ducimus ab sed consequuntur excepturi fugiat! Facilis fuga asperiores pariatur sed. Eligendi aliquid vel nemo, ipsum tempora minima consequatur culpa molestias maiores nihil eveniet accusantium porro. Inventore saepe ut ad in a. Quo itaque est expedita quidem consectetur enim quam minima, quisquam harum velit, earum adipisci provident, officia eveniet voluptas vero accusamus ad ducimus laudantium!"}),ee("p",{children:"Consequatur incidunt sequi explicabo adipisci saepe, accusamus, numquam fuga quam ex, provident possimus ratione blanditiis ducimus quos nulla repellat error pariatur nemo nobis illo! Saepe deleniti dolore cumque, sequi similique eligendi consectetur corrupti iste reprehenderit adipisci enim laudantium inventore totam quos non impedit quibusdam et consequuntur blanditiis accusamus! Rerum, nostrum. Rerum, tempore earum officia alias suscipit ut minima recusandae dolorem reprehenderit ea?"}),ee("p",{children:"Aliquam pariatur ut expedita, repellat architecto aut, consequatur iure recusandae tempora odit consequuntur, nihil nostrum totam accusantium at. Dignissimos repellendus culpa nesciunt. Officia repudiandae, laudantium error iure in minus ratione reprehenderit dolorum alias quo voluptatibus doloremque aliquid exercitationem quidem odit earum natus autem eaque tempore nulla esse sapiente? Dolore aliquid aliquam modi velit quaerat!"}),ee("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?pa("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):pa("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};da.options=Ys;da.states=Lg;da.variants=Mg;da.defaultOptions=ud;da.modifiers=[];da.className=he.className;var Zs="suggestion",fd=Zs;import{jsx as Un,jsxs as Ag}from"react/jsx-runtime";var Fn="k-suggestion-group",Sg=[],yg={},bd={layout:"scrollable",scrollingPosition:"start"},et=e=>{let{layout:t=bd.layout,scrollingPosition:o,...a}=e,n=Un("div",{...a,className:r(Fn,{"k-suggestion-group-scrollable":t=="scrollable",[`${Fn}-scrollable-start`]:o==="start"||o==="both",[`${Fn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Un("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?Ag("div",{className:"k-suggestion-scrollwrap",children:[Un(l,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Un(l,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};et.states=Sg;et.options=yg;et.className=Fn;et.defaultOptions=bd;et.moduleName=Zs;et.folderName=fd;import{jsx as Tg}from"react/jsx-runtime";var Gn="k-suggestion",Cg=[s.active,s.hover,s.focus],Eg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Ig={text:"Suggestion"},tt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...p}=e;return Tg("span",{...p,className:r(e.className,Gn,S(Gn,{hover:a,active:o,focus:n}),A(Gn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};tt.states=Cg;tt.options=Eg;tt.className=Gn;tt.item=Ig;import{Fragment as D4,jsx as _4,jsxs as H4}from"react/jsx-runtime";import{Fragment as V4,jsx as G4,jsxs as $4}from"react/jsx-runtime";import{Fragment as Y4,jsx as J4,jsxs as Z4}from"react/jsx-runtime";import{Fragment as Kg,jsx as te,jsxs as Vn}from"react/jsx-runtime";var Og=U.states,Bg=U.defaultOptions,Pg=U.options,wg=[{name:"header",title:"Header"},{name:"pinned",title:"Pinned"},{name:"suggested",title:"Suggested Actions"},{name:"author",title:"Author"},{name:"avatar",title:"Avatar"},{name:"quick",title:"Quick Replies"}],Rg=[],ca=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=Vn(he,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[te("span",{className:"k-spacer k-spacer-sized k-w-1"}),te(gt,{children:te("span",{children:"Chat with demo bot"})}),te("span",{className:"k-spacer"}),te(gt,{children:te(l,{fillMode:"flat",icon:"more-vertical"})})]}),i=te(oa,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),p=Vn(et,{children:[te(tt,{text:"Provide a CV template"}),te(tt,{text:"Generate a cover letter"})]}),c=Vn(et,{children:[te(tt,{themeColor:"primary",text:"Thank you!"}),te(tt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",f=null,x="User",N="Demo Bot";Object.keys(t||{}).forEach(I=>{switch(I){case"header":a.header=t?.[I]?n:!1;break;case"pinned":a.pinned=t?.[I]?i:!1;break;case"suggested":a.suggestedActions=t?.[I]?p:!1;break;case"author":a.author=t?.[I]?!0:null;break;case"avatar":a.avatar=t?.[I]?u:null;break;case"quick":a.quickReplies=t?.[I]?c:te(Kg,{});break;default:break}});let{header:m,pinned:L,suggestedActions:k,author:y,avatar:C,quickReplies:M}=a;return Vn(Fp,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:k,children:[te($,{avatar:f,author:y?N:null,children:te(V,{text:"Hello, this is a demo bot. How can I help you ?"})}),te($,{avatar:C?u:null,author:y?x:null,type:"sender",children:te(V,{text:"Hello! Generate a cover letter."})}),te($,{avatar:f,author:y?N:null,children:te(V,{text:"Sure. Here is a cover letter template",files:te(it,{children:te(ne,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),M]})};ca.options=Pg;ca.states=Og;ca.variants=Rg;ca.defaultOptions=Bg;ca.modifiers=wg;ca.className=U.className;import{Fragment as hd,jsx as Tt,jsxs as _g}from"react/jsx-runtime";var z8=e=>Tt(U,{children:Tt(hd,{children:Tt($,{children:Tt(V,{})})}),files:Tt(hd,{children:_g(it,{scrollingPosition:"start",children:[Tt(ne,{removeButton:!0}),Tt(ne,{icon:"file-psd",name:"File with long name",size:"5MB",removeButton:!0}),Tt(ne,{icon:"file-txt",name:"Another file with longer name",removeButton:!0}),Tt(ne,{icon:"file-csv",name:"Another file with even longer name",size:"5MB",removeButton:!0})]})}),...e});export{z8 as ChatTextareaFile};
|