@progress/kendo-themes-html 14.7.1-dev.4 → 14.7.1-dev.6
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/chat/chat-message.spec.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/datainsights-composer/demos/datainsights-composer.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.js +1 -0
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
- package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/prompt/demos/prompt.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/suggestion/suggestion.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-normal.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-scrollable-buttons.js +1 -1
- package/dist/cjs/suggestion/templates/suggestion-group-wrap.js +1 -1
- package/dist/cjs/timepicker/demos/timepicker.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
- package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
- package/dist/cjs/timepicker/timepicker.spec.js +1 -1
- package/dist/esm/chat/chat-message.spec.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/datainsights-composer/demos/datainsights-composer.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-error.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-followup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-history-popup.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-loading.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.mjs +1 -0
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel.mjs +1 -1
- package/dist/esm/datainsights-composer/templates/datainsights-composer-report.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/prompt/demos/prompt.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/suggestion/suggestion.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-normal.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-scrollable-buttons.mjs +1 -1
- package/dist/esm/suggestion/templates/suggestion-group-wrap.mjs +1 -1
- package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
- package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
- package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
- package/dist/types/datainsights-composer/index.d.ts +1 -0
- package/dist/types/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.d.ts +2 -0
- package/package.json +1 -1
- package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +1 -1
- package/src/action-sheet/tests/action-sheet-time-selector.tsx +2 -2
- package/src/datainsights-composer/index.ts +1 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx +65 -0
- package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel.tsx +3 -3
- package/src/datainsights-composer/tests/datainsights-composer-edit-mode-compact.tsx +10 -0
- package/src/suggestion/suggestion.tsx +3 -2
- package/src/timepicker/timepicker.spec.tsx +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var Jc=Object.create;var vn=Object.defineProperty;var Yc=Object.getOwnPropertyDescriptor;var Zc=Object.getOwnPropertyNames;var Qc=Object.getPrototypeOf,jc=Object.prototype.hasOwnProperty;var em=(e,t)=>{for(var o in t)vn(e,o,{get:t[o],enumerable:!0})},Fi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Zc(t))!jc.call(e,n)&&n!==o&&vn(e,n,{get:()=>t[n],enumerable:!(a=Yc(t,n))||a.enumerable});return e};var Gi=(e,t,o)=>(o=e!=null?Jc(Qc(e)):{},Fi(t||!e||!e.__esModule?vn(o,"default",{value:e,enumerable:!0}):o,e)),tm=e=>Fi(vn({},"__esModule",{value:!0}),e);var Sv={};em(Sv,{ChatMessageSkeleton:()=>Mv});module.exports=tm(Sv);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...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 y=(e,t)=>s({[`${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"}),C=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:b,indeterminate:x,loading:g,empty:m,readonly:L,highlighted:M,...S}=t;return s({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":b,"k-indeterminate":x&&!l,"k-loading":g,"k-empty":m,"k-readonly":L,"k-highlighted":M},Object.keys(S).reduce((E,k)=>(k.startsWith("k-")?E[k]=S[k]:E[`k-${k}`]=S[k],E),{}))};function gn(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"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},Kt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},h={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 us={};function K(e){return us[e]=(us[e]||0)+1,`k-${e}-${us[e]}`}var Da=require("react/jsx-runtime"),fs="k-font-icon",om=[],am={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info]},nm={},Ha=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,Da.jsx)("span",{...l,className:s(e.className,fs,y(fs,{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"}):(0,Da.jsx)(Da.Fragment,{})};Ha.states=om;Ha.options=am;Ha.className=fs;Ha.defaultOptions=nm;var Vi=Ha;var Lo=require("react/jsx-runtime"),bs="k-svg-icon",sm=[],rm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Kt.outline,Kt.solid,Kt.duotone]},xs={viewBox:"0 0 24 24",variant:Kt.outline},za=e=>{var g,m;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=xs.viewBox,variant:l=xs.variant,icon:c,...u}=e;if(!c)return(0,Lo.jsx)(Lo.Fragment,{});if(c==="none")return(0,Lo.jsx)("span",{...u,className:s(e.className,bs,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name,x=typeof c=="object"?l&&((g=c.variants)==null?void 0:g[l])||((m=c.variants)==null?void 0:m.outline)||c.content:void 0;return(0,Lo.jsx)("span",{...u,className:s(e.className,bs,y("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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:(0,Lo.jsx)("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})})};za.states=sm;za.options=rm;za.className=bs;za.defaultOptions=xs;var Ns=za;var hs=Gi(require("@progress/kendo-svg-icons"));var $i="icon",Xi="icons";var Ji=require("react");var qi=require("react"),Wi=(0,qi.createContext)({iconsType:"svg"});var qt=require("react/jsx-runtime"),Ln="k-icon",im=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),lm=[],pm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Kt.outline,Kt.solid,Kt.duotone]},Mn={viewBox:"0 0 24 24",type:"svg",variant:Kt.outline},v=e=>{let{iconsType:t}=(0,Ji.useContext)(Wi),{size:o,themeColor:a,icon:n,type:i=t||Mn.type,rotate:l,flip:c,viewBox:u=Mn.viewBox,variant:b=Mn.variant,...x}=e;if(!n)return(0,qt.jsx)(qt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,qt.jsx)(Ns,{...x,className:s(e.className,Ln),icon:n,size:o,variant:b});let m=hs[n]?n:im(`${n}-icon`);return hs[m]?(0,qt.jsx)(Ns,{...x,className:s(e.className,Ln),icon:hs[m],size:o,themeColor:a,rotate:l,flip:c,viewBox:u,variant:b}):(0,qt.jsx)(qt.Fragment,{})}return(0,qt.jsx)(Vi,{...x,className:s(e.className,Ln),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=lm;v.options=pm;v.defaultOptions=Mn;v.className=Ln;v.moduleName=$i;v.folderName=Xi;var vs="button",Yi=vs;var Ae=require("react/jsx-runtime"),Ua="k-button",dm=["icon-button"],cm=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],mm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},gs={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=gs.showArrow,arrowIconName:c=gs.arrowIconName,variant:u,hover:b,focus:x,active:g,selected:m,disabled:L,togglable:M,ariaDisabled:S,icon:E,endIcon:k,iconSize:I,text:D,iconClassName:fe,className:Je,...Ce}=e,Ke=E!=null,_a=e.children!==void 0;return(0,Ae.jsxs)(t,{className:s(Je,Ua,gn(Ua,u),y(Ua,{size:o,rounded:a,fillMode:n,themeColor:i}),C(Ua,{hover:b,focus:x,active:g,disabled:L||S,selected:m}),{"k-icon-button":!D&&!_a&&Ke}),"aria-pressed":M?m?"true":"false":void 0,...Ce,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof E=="string"&&E&&(0,Ae.jsx)(v,{className:s(fe,"k-button-icon"),icon:E,size:I}),E&&typeof E!="string"&&(0,Ae.jsx)(Ae.Fragment,{children:E}),D?(0,Ae.jsxs)(Ae.Fragment,{children:[D&&(0,Ae.jsx)("span",{className:"k-button-text",children:D}),e.children]}):e.children&&(0,Ae.jsx)("span",{className:"k-button-text",children:e.children}),typeof k=="string"&&k&&(0,Ae.jsx)(v,{className:s(fe,"k-button-icon"),icon:k,size:I}),k&&typeof k!="string"&&(0,Ae.jsx)(Ae.Fragment,{children:k}),l&&(0,Ae.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ae.jsx)(v,{icon:c})})]})};p.states=cm;p.options=mm;p.variants=dm;p.className=Ua;p.defaultOptions=gs;p.moduleName=vs;p.folderName=Yi;var Zi=require("react/jsx-runtime"),J=e=>(0,Zi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Qi=require("react/jsx-runtime"),Fa=e=>(0,Qi.jsx)(p,{icon:"folder",children:"Button",...e});var um=require("react/jsx-runtime");var ji=require("react/jsx-runtime"),At=e=>(0,ji.jsx)(p,{children:"Button",...e});var Sn=require("react/jsx-runtime"),fm=p.options,bm=p.states,xm={...p.defaultOptions,variant:"text"},Nm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hm=[],Do=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Sn.jsx)(J,{...o,icon:"star"});case"icon-and-text":return(0,Sn.jsx)(Fa,{...o,icon:"star",children:"Button"});default:return(0,Sn.jsx)(At,{...o,children:"Button"})}};Do.options=fm;Do.states=bm;Do.variants=Nm;Do.defaultOptions=xm;Do.modifiers=hm;Do.className=p.className;var Ga=require("react/jsx-runtime"),kn="k-fab",Lm=[r.hover,r.focus,r.active,r.selected,r.disabled],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},el={type:"button"},le=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=el.type,position:c,hover:u,focus:b,active:x,selected:g,disabled:m,...L}=e;return(0,Ga.jsxs)("button",{...L,type:l,className:s(e.className,kn,y(kn,{size:t,rounded:o,themeColor:a}),C(kn,{hover:u,focus:b,active:x,disabled:m,selected:g}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&(0,Ga.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,Ga.jsx)("span",{className:"k-fab-text",children:n})]})};le.states=Lm;le.options=Mm;le.className=kn;le.defaultOptions=el;le.moduleName="fab";le.folderName="fab";var ol=require("react/jsx-runtime"),Sm="k-fab-items",tl=e=>{let{position:t,...o}=e;return(0,ol.jsx)("ul",{...o,className:s(e.className,Sm,{[`k-fab-items-${t}`]:t}),children:e.children})};var Va=require("react/jsx-runtime"),al="k-fab-item",km=[r.hover,r.focus,r.active,r.disabled],Ls=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,Va.jsxs)("li",{...u,className:s(e.className,al,{[`k-text-${a}`]:a},C(al,{hover:n,focus:i,active:l,disabled:c})),children:[(0,Va.jsx)("span",{className:"k-fab-item-text",children:t}),(0,Va.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};Ls.states=km;var Cm=require("react/jsx-runtime");var sl=require("react/jsx-runtime"),nl=e=>(0,sl.jsx)(le,{icon:"plus",...e});var Am=require("react/jsx-runtime");var Em=require("react/jsx-runtime");var Wt=require("react/jsx-runtime"),ym=le.options,Im=le.states,Tm={...le.defaultOptions,variant:"text"},Om=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Bm=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,Wt.jsx)("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:(0,Wt.jsx)(tl,{position:"bottom",children:(0,Wt.jsx)(Ls,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,Wt.jsx)(le,{...a,icon:"star"});break;case"icon-and-text":l=(0,Wt.jsx)(le,{...a,icon:"star",text:"Action"});break;default:l=(0,Wt.jsx)(le,{...a,text:"Action"});break}return(0,Wt.jsxs)("span",{style:{position:"relative"},children:[l,i]})};Ho.options=ym;Ho.states=Im;Ho.variants=Om;Ho.defaultOptions=Tm;Ho.modifiers=Bm;Ho.className=le.className;var rl=require("react/jsx-runtime"),Ms="k-input-inner",Pm=[],Km={},Cn={type:"text",autocomplete:"off",value:"",placeholder:""},Re=e=>{let{value:t=Cn.value,type:o=Cn.type,placeholder:a=Cn.placeholder,autocomplete:n=Cn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,rl.jsx)("input",{...c,type:o,className:s(e.className,Ms,y(Ms,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};Re.states=Pm;Re.options=Km;Re.className=Ms;var ll=require("react/jsx-runtime"),Ss="k-input-inner",Rm=[],_m={},il={value:"",placeholder:""},$a=e=>{let{value:t=il.value,placeholder:o=il.placeholder,rows:a,disabled:n,...i}=e;return(0,ll.jsx)("textarea",{...i,className:s(e.className,Ss,y(Ss,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};$a.states=Rm;$a.options=_m;$a.className=Ss;var ks="prompt-box",pl=ks;var Cs="speech-to-text-button",dl=Cs;var ul=require("react/jsx-runtime"),cl="k-speech-to-text-button",ml={icon:"microphone"},nt=e=>{let{listening:t=!1,icon:o=ml.icon,...a}=e;return(0,ul.jsx)(p,{...a,icon:t?"stop":o,className:s(e.className,cl,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};nt.states=p.states;nt.options=p.options;nt.className=cl;nt.defaultOptions=ml;nt.moduleName=Cs;nt.folderName=dl;var wm=require("react/jsx-runtime");var Dm=require("react/jsx-runtime");var bl=require("react/jsx-runtime"),Hm=p.states,fl={...p.defaultOptions,variant:"normal"},zm={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Um=[],Fm=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],zo=e=>{let{variant:t,...o}={...fl,...e},a={};return t==="listening"&&(a.listening=!0),(0,bl.jsx)(nt,{...o,...a})};zo.options=zm;zo.states=Hm;zo.variants=Fm;zo.defaultOptions=fl;zo.modifiers=Um;zo.className=nt.className;var mt=require("react/jsx-runtime"),Rt="k-prompt-box",Gm=[r.hover,r.focus,r.disabled],Vm={fillMode:[N.undefined,N.solid,N.flat,N.outline]},As={lineMode:"auto",isExpanded:!1},_e=e=>{let{fillMode:t,lineMode:o=As.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=As.isExpanded,className:c,children:u,value:b,placeholder:x,generating:g,actionButtonConfig:m,speechToTextButtonConfig:L,uploadButtonConfig:M,hover:S,focus:E,disabled:k,...I}=e,D=o==="multi"||o==="auto"&&l;return(0,mt.jsxs)("div",{...I,className:s(c,"k-input",Rt,{[`${Rt}-singleline`]:o==="single",[`${Rt}-multiline`]:D,[`k-input-${t}`]:t,"k-hover":S,"k-focus":E,"k-disabled":k}),children:[i&&(0,mt.jsx)("div",{className:`${Rt}-header`,children:i}),(0,mt.jsxs)("div",{className:`${Rt}-content`,children:[a&&(0,mt.jsx)("div",{className:`${Rt}-affix`,children:a}),o==="single"?(0,mt.jsx)(Re,{value:b,placeholder:x,className:`${Rt}-input`,type:"text","aria-label":"Prompt input"}):(0,mt.jsx)($a,{value:b,placeholder:x,className:`${Rt}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,mt.jsxs)("div",{className:`${Rt}-affix`,children:[n,M&&(0,mt.jsx)(J,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...M}),L!==!1&&(0,mt.jsx)(nt,{size:"small",fillMode:"flat",rounded:"full",...L}),(0,mt.jsx)(J,{icon:g?"stop":"arrow-up",size:"small",rounded:"full",active:g,disabled:!b&&!g,"aria-label":g?"Stop generating":"Send prompt","aria-live":"polite",...m,className:s({"k-generating":g},m==null?void 0:m.className)})]})]}),u]})};_e.states=Gm;_e.options=Vm;_e.className=Rt;_e.defaultOptions=As;_e.moduleName=ks;_e.folderName=pl;var $m=require("react/jsx-runtime");var Xm=require("react/jsx-runtime");var qm=require("react/jsx-runtime");var Wm=require("react/jsx-runtime");var Jm=require("react/jsx-runtime");var we=require("react/jsx-runtime"),Ym=_e.options,Zm=_e.states,Qm={..._e.defaultOptions,variant:"Single"},jm=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],eu=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],Uo=e=>{let{variant:t,modifiers:o,...a}=e,n={},i=(0,we.jsx)(we.Fragment,{children:(0,we.jsx)(J,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(l=>{switch(l){case"header":n.header=o!=null&&o[l]?(0,we.jsx)(p,{children:"Button in header"}):void 0;break;case"endAffix":o!=null&&o[l]&&(n.endAffix=(0,we.jsxs)(we.Fragment,{children:[i,(0,we.jsx)(J,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":n.startAffix=o!=null&&o[l]?(0,we.jsx)(we.Fragment,{children:(0,we.jsx)(J,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?(0,we.jsx)(_e,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...a,...n}):(0,we.jsx)(_e,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...a,...n})};Uo.options=Ym;Uo.states=Zm;Uo.variants=jm;Uo.defaultOptions=Qm;Uo.modifiers=eu;Uo.className=_e.className;var Es="chat",xl=Es;var be=require("react/jsx-runtime"),Nl="k-chat",tu=[],ou={},au=(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(J,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,be.jsx)("div",{className:"k-spacer"})]}),hl={tools:au},X=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=hl.tools,value:b,empty:x,scrollToBottom:g,scrollbar:m,promptBoxProps:L,...M}=e;return(0,be.jsxs)("div",{...M,className:s(Nl,e.className),dir:o,children:[t,(0,be.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,be.jsx)("div",{className:s("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),g&&(0,be.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,be.jsx)(nl,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&(0,be.jsx)("div",{className:"k-separator"}),(0,be.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,be.jsx)(_e,{lineMode:"multi",placeholder:"Type a message",generating:c,value:b,header:n||l?(0,be.jsxs)(be.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};X.states=tu;X.options=ou;X.className=Nl;X.defaultOptions=hl;X.moduleName=Es;X.folderName=xl;var ys="button",vl=ys;var gl=require("react/jsx-runtime"),Xa="k-button-group",nu=[r.disabled],su={fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},ru={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,gl.jsx)("div",{role:"group",...n,className:s(e.className,Xa,y(Xa,{fillMode:t}),C(Xa,{disabled:o}),{[`${Xa}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=nu;B.options=su;B.className=Xa;B.defaultOptions=ru;B.moduleName=ys;B.folderName=vl;var Is=require("react/jsx-runtime");var Ts=require("react/jsx-runtime");var Os=require("react/jsx-runtime");var Bs=require("react/jsx-runtime");var Ps=require("react/jsx-runtime");var Ks=require("react/jsx-runtime");var Rs=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),iu={...p.options,...B.options},lu=p.states,pu={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},du=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],cu=[],Fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ye.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(p,{...a,icon:"star"}),(0,Ye.jsx)(p,{...a,icon:"star"}),(0,Ye.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ye.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(p,{...a,icon:"star",children:"First"}),(0,Ye.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,Ye.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,Ye.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(p,{...a,children:"First"}),(0,Ye.jsx)(p,{...a,children:"Middle"}),(0,Ye.jsx)(p,{...a,children:"Last"})]})};Fo.options=iu;Fo.states=lu;Fo.variants=du;Fo.defaultOptions=pu;Fo.modifiers=cu;Fo.className=B.className;var qa="input",En=qa;var Ll=require("react/jsx-runtime"),yn="k-input",mu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],uu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},fu={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,Ll.jsx)("span",{...g,className:s(e.className,yn,y(yn,{size:u,rounded:b,fillMode:x}),C(yn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};oe.states=mu;oe.options=uu;oe.className=yn;oe.defaultOptions=fu;oe.moduleName=qa;oe.folderName=En;var Ml=require("react/jsx-runtime"),In="k-picker",bu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],xu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Nu={},_t=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,Ml.jsx)("span",{...g,className:s(e.className,In,y(In,{size:u,rounded:b,fillMode:x}),C(In,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};_t.states=bu;_t.options=xu;_t.className=In;_t.defaultOptions=Nu;_t.moduleName=qa;_t.folderName=En;var Go=require("react/jsx-runtime"),Sl="k-clear-value",hu=[r.disabled,r.loading,r.readonly],vu={},st=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Go.jsx)(Go.Fragment,{}):(0,Go.jsx)("span",{className:s(e.className,Sl),children:(0,Go.jsx)(v,{icon:"x"})})};st.states=hu;st.options=vu;st.className=Sl;var Wa=require("react/jsx-runtime"),_s="k-input-inner",gu=[],Lu={},Mo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,Wa.jsxs)("span",{...l,className:s(e.className,_s,y(_s,e)),children:[n,!n&&i&&(0,Wa.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,Wa.jsx)("span",{className:"k-input-value-text",children:t})]})};Mo.states=gu;Mo.options=Lu;Mo.className=_s;var Ja=require("react/jsx-runtime"),kl="k-input-loading-icon",Mu=[r.disabled,r.loading],Ze=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ja.jsx)(Ja.Fragment,{}):(0,Ja.jsx)("span",{className:s(e.className,kl,"k-icon k-i-loading")})};Ze.states=Mu;Ze.className=kl;var Ya=require("react/jsx-runtime"),Cl="k-input-validation-icon",Su=[r.valid,r.invalid,r.disabled,r.loading],ku={},De=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Ya.jsx)(Ya.Fragment,{}):(0,Ya.jsx)(v,{className:s(Cl),icon:i})};De.states=Su;De.options=ku;De.className=Cl;var Za=require("react/jsx-runtime"),Cu="k-input-prefix",Au={direction:"horizontal"},ut=e=>{let{direction:t=Au.direction,...o}=e;return e.children?(0,Za.jsx)("span",{...o,className:s(Cu,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Za.jsx)(Za.Fragment,{})};var Qa=require("react/jsx-runtime"),Eu="k-input-suffix",yu={direction:"horizontal"},ft=e=>{let{direction:t=yu.direction,...o}=e;return e.children?(0,Qa.jsx)("span",{...o,className:s(Eu,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Qa.jsx)(Qa.Fragment,{})};var Iu=require("react/jsx-runtime");var Al=require("react/jsx-runtime"),Tu="k-input-suffix-text",ws=e=>{let{children:t,...o}=e;return(0,Al.jsx)("span",{...o,className:s(Tu,e.className),children:t})};var yl=require("react/jsx-runtime"),El="k-input-separator",Ou={direction:"vertical"},bt=e=>{let{direction:t=Ou.direction,...o}=e;return(0,yl.jsx)("span",{...o,className:s(El,e.className,{[`${El}-${t}`]:t})})};var me=require("react/jsx-runtime"),Bu=oe.states,Pu=oe.defaultOptions,Ku=oe.options,Ru=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],_u=[],Vo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,b=t==null?void 0:t.suffix,x=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,me.jsxs)(oe,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(ut,{children:(0,me.jsx)(v,{icon:"lock"})}),m&&(0,me.jsx)(bt,{})]}),(0,me.jsx)(Re,{placeholder:"Placeholder",value:"Value"}),g&&(0,me.jsx)(De,{valid:o,invalid:a,loading:n,disabled:i}),(0,me.jsx)(Ze,{loading:n,disabled:i}),x&&(0,me.jsx)(st,{loading:n,disabled:i,readonly:l,value:"Value"}),b&&(0,me.jsxs)(me.Fragment,{children:[m&&(0,me.jsx)(bt,{}),(0,me.jsx)(ft,{children:(0,me.jsx)(At,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Vo.options=Ku;Vo.states=Bu;Vo.variants=_u;Vo.defaultOptions=Pu;Vo.modifiers=Ru;Vo.className=oe.className;var ja=require("react/jsx-runtime"),Il="k-color-preview",wu=[],Du={},no=e=>{let{color:t,iconName:o,...a}=e;return(0,ja.jsxs)("span",{...a,className:s(e.className,Il,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ja.jsx)(v,{icon:o,className:"k-color-preview-icon"}),(0,ja.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};no.states=wu;no.options=Du;no.className=Il;var Ds="popup",Tl=Ds;var zs=require("react/jsx-runtime"),Ol="k-animation-container",Hu=[],zu={},Hs={positionMode:"absolute",shown:!0},wt=e=>{let{positionMode:t=Hs.positionMode,shown:o=Hs.shown,animationStyle:a,offset:n,...i}=e;return(0,zs.jsx)("div",{...i,style:{...n,...e.style},className:s(e.className,Ol,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,zs.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};wt.states=Hu;wt.options=zu;wt.className=Ol;wt.defaultOptions=Hs;wt.moduleName=Ds;wt.folderName=Tl;var Us="popup",Bl=Us;var Fs=require("react/jsx-runtime"),Pl="k-popup",Uu=[],Fu={},Kl={positionMode:"absolute"},Y=e=>{let{offset:t,positionMode:o=Kl.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,Fs.jsx)(wt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,Fs.jsx)("div",{...c,className:s(e.className,Pl),children:e.children})})};Y.states=Uu;Y.options=Fu;Y.className=Pl;Y.defaultOptions=Kl;Y.moduleName=Us;Y.folderName=Bl;var Gs="action-buttons",Rl=Gs;var wl=require("react/jsx-runtime"),Tn="k-actions",Gu=[],Vu={},Vs={alignment:"start",orientation:"horizontal"},rt=e=>{let{alignment:t=Vs.alignment,orientation:o=Vs.orientation,...a}=e;return(0,wl.jsx)("div",{...a,className:s(Tn,{[`${Tn}-${t}`]:t,[`${Tn}-${o}`]:o},e.className),children:e.children})};rt.states=Gu;rt.options=Vu;rt.className=Tn;rt.defaultOptions=Vs;rt.moduleName=Gs;rt.folderName=Rl;var _l=rt;var Hl=require("react/jsx-runtime"),$u="k-actionsheet-footer",Dl={alignment:"stretched",orientation:"horizontal"},so=e=>{let{alignment:t=Dl.alignment,orientation:o=Dl.orientation,template:a,as:n=a?"div":rt,...i}=e;return(0,Hl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:s(e.className,$u),children:e.children})};var $s="searchbox",zl=$s;var ro=require("react/jsx-runtime"),Ul="k-searchbox",Xu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],qu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},On={showIcon:!0,showClearButton:!0,icon:"search"},xt=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,showIcon:L=On.showIcon,showClearButton:M=On.showClearButton,icon:S=On.icon,"aria-label":E,...k}=e;return(0,ro.jsxs)(oe,{...k,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,className:s(e.className,Ul),children:[L&&(0,ro.jsx)(v,{className:"k-input-icon",icon:S}),(0,ro.jsx)(Re,{placeholder:o,value:t,"aria-label":E}),(0,ro.jsx)(Ze,{...e}),(0,ro.jsx)(De,{...e}),M&&(0,ro.jsx)(st,{...e})]})};xt.states=Xu;xt.options=qu;xt.className=Ul;xt.defaultOptions=On;xt.moduleName=$s;xt.folderName=zl;var Wu=require("react/jsx-runtime");var Xs="textbox",Fl=Xs;var Ee=require("react/jsx-runtime"),Gl="k-textbox",Ju=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Yu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Bn={showClearButton:!0,showValidationIcon:!0,separators:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Bn.separators,showClearButton:i=Bn.showClearButton,showValidationIcon:l=Bn.showValidationIcon,prefix:c,suffix:u,type:b,value:x,placeholder:g,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,id:fe,"aria-label":Je,"aria-describedby":Ce,...Ke}=e;return(0,Ee.jsxs)(oe,{...Ke,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,className:s(e.className,Gl),children:[c&&(0,Ee.jsxs)(Ee.Fragment,{children:[(0,Ee.jsx)(ut,{children:c}),n&&(0,Ee.jsx)(bt,{})]}),(0,Ee.jsx)(Re,{id:fe,placeholder:g,value:x,type:b,disabled:I,"aria-label":Je,"aria-describedby":Ce,"aria-invalid":S?"true":void 0}),l&&(0,Ee.jsx)(De,{valid:M,invalid:S,loading:k,disabled:I}),(0,Ee.jsx)(Ze,{loading:k,disabled:I}),i&&(0,Ee.jsx)(st,{loading:k,disabled:I,readonly:D,value:x}),u&&(0,Ee.jsxs)(Ee.Fragment,{children:[n&&(0,Ee.jsx)(bt,{}),(0,Ee.jsx)(ft,{children:u})]})]})};ye.states=Ju;ye.options=Yu;ye.className=Gl;ye.defaultOptions=Bn;ye.moduleName=Xs;ye.folderName=Fl;var en=ye;var Vl=require("react/jsx-runtime"),Pn=e=>(0,Vl.jsx)(en,{...e});var $l=require("react/jsx-runtime");var Xl=require("react/jsx-runtime");var Zu=require("react/jsx-runtime");var Kn=require("react/jsx-runtime"),Qu=ye.states,ju=ye.defaultOptions,ef=ye.options,tf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],of=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Kn.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Kn.jsx)(At,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Kn.jsx)(Pn,{value:"Value",style:{width:300},...o,...a})};$o.options=ef;$o.states=Qu;$o.variants=of;$o.defaultOptions=ju;$o.modifiers=tf;$o.className=ye.className;var it=require("react/jsx-runtime"),ql="k-actionsheet-titlebar",af={},He=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:b,titleId:x,children:g,...m}=e;return(0,it.jsxs)("div",{...m,className:s(e.className,ql),children:[(0,it.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,it.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,it.jsxs)("div",{className:"k-actionsheet-title",id:x,children:[t&&(0,it.jsx)("div",{className:"k-text-center",children:t}),o&&(0,it.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,it.jsx)("div",{className:"k-actionsheet-title",id:x,children:g}),n&&(0,it.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,it.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,it.jsx)(ye,{value:c,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):(0,it.jsx)(xt,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};He.className=ql;He.defaultOptions=af;var Xo=require("react/jsx-runtime"),qs="k-actionsheet-view",nf=[],sf={},rf={},qo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===He&&(0,Xo.jsx)(He,{adaptive:t,titleId:l,...n==null?void 0:n.props}),b=(i==null?void 0:i.type)===so&&(0,Xo.jsx)(so,{...i==null?void 0:i.props});return(0,Xo.jsxs)("div",{...c,className:s(e.className,qs,{[`${qs}-animated`]:o}),children:[u,(0,Xo.jsx)("div",{className:"k-actionsheet-content",children:a}),b]})};qo.states=nf;qo.options=sf;qo.className=qs;qo.defaultOptions=rf;var tn="action-sheet",Rn=tn;var Ws="overlay",Wl=Ws;var Yl=require("react/jsx-runtime"),Jl="k-overlay",lf=[],pf={},df={},Dt=e=>{let{...t}=e;return(0,Yl.jsx)("div",{...t,className:s(e.className,Jl),children:e.children})};Dt.states=lf;Dt.options=pf;Dt.className=Jl;Dt.defaultOptions=df;Dt.moduleName=Ws;Dt.folderName=Wl;var So=require("react/jsx-runtime"),Zl="k-actionsheet",cf=[],mf={},on={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=on.side,fullscreen:o=on.fullscreen,adaptive:a=on.adaptive,overlay:n=on.overlay,template:i,children:l,header:c,footer:u,id:b,...x}=e,g=b&&!i&&c?`${b}-title`:void 0;return(0,So.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,So.jsx)(Dt,{}),(0,So.jsx)(wt,{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:(0,So.jsx)("div",{...x,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":g,className:s(e.className,Zl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,So.jsx)(qo,{header:c,footer:u,adaptive:a,titleId:g,...e,children:l})})})]})};ae.states=cf;ae.options=mf;ae.className=Zl;ae.defaultOptions=on;ae.moduleName=tn;ae.folderName=Rn;var jl=require("react/jsx-runtime"),Ql="k-actionsheet-container",uf=[],ff={},bf={},Wo=e=>{let{children:t,...o}=e;return(0,jl.jsx)("div",{...o,className:Ql,children:t})};Wo.states=uf;Wo.options=ff;Wo.className=Ql;Wo.defaultOptions=bf;Wo.moduleName=tn;Wo.folderName=Rn;var ep=require("react/jsx-runtime"),Js=e=>{let{...t}=e;return(0,ep.jsx)("div",{...t,className:s(e.className,"k-list-ul"),children:e.children})};var Nt=require("react/jsx-runtime"),Ys="k-actionsheet-item",xf=[r.hover,r.focus,r.selected,r.disabled],io=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,Nt.jsxs)("span",{...u,className:s(e.className,Ys,C(Ys,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,Nt.jsx)(Nt.Fragment,{children:(0,Nt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Nt.jsx)("span",{className:"k-icon-wrap",children:(0,Nt.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,Nt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Nt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Nt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};io.states=xf;io.className=Ys;var tp=require("react/jsx-runtime");var Nf=require("react/jsx-runtime");var hf=require("react/jsx-runtime");var vf=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),gf=ae.options,Lf=ae.states,ap={...ae.defaultOptions,variant:"normal"},Mf=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Sf=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...ap,...e},n={},i=(0,Z.jsxs)(Js,{children:[(0,Z.jsx)(io,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Z.jsx)(io,{text:"Add to Favorites",iconName:"heart"}),(0,Z.jsx)(io,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Z.jsx)("hr",{className:"k-hr"}),(0,Z.jsx)(io,{text:"Cancel",iconName:"cancel"})]}),l="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!=null&&o[u]),n.actionsEnd=!!(o!=null&&o[u]);break;case"subtitle":n.subtitle=o!=null&&o[u]?l:void 0;break;case"footer":n.footer=!!(o!=null&&o[u]);break;default:break}}),t==="adaptive"?(0,Z.jsx)(ae,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,Z.jsx)(He,{actionsStart:n.actionsStart?(0,Z.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Z.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,Z.jsxs)(so,{alignment:"stretched",children:[(0,Z.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,Z.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,Z.jsx)(ae,{...a,fullscreen:n.fullScreen,header:(0,Z.jsx)(He,{actionsStart:n.actionsStart?(0,Z.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Z.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,Z.jsxs)(so,{alignment:"stretched",children:[(0,Z.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,Z.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Jo.options=gf;Jo.states=Lf;Jo.variants=Mf;Jo.defaultOptions=ap;Jo.modifiers=Sf;Jo.className=ae.className;var Zs="slider",np=Zs;var Et=require("react/jsx-runtime"),an="k-slider",kf=[r.hover,r.focus,r.active,r.disabled,r.readonly],Cf={},ht={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},W=e=>{let{type:t=ht.type,orientation:o=ht.orientation,gradientType:a=ht.gradientType,readonly:n=ht.readonly,disabled:i=ht.disabled,handlePosition:l=ht.handlePosition,showButtons:c=ht.showButtons,showTicks:u=ht.showTicks,value:b=ht.value,min:x=ht.min,max:g=ht.max,startValue:m,endValue:L,hover:M,focus:S,active:E,trackStyle:k,dir:I,...D}=e,Je=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Ce,Ke;return o==="horizontal"?(Ce=I==="rtl"?"chevron-left":"chevron-right",Ke=I==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Ce="chevron-up",Ke="chevron-down"),(0,Et.jsxs)("div",{...D,className:s(an,e.className,C(an,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:I,children:[c&&(0,Et.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:Ke,tabIndex:-1,title:"Decrease"}),(0,Et.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Et.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Et.jsxs)("div",{className:"k-slider-track",style:k,children:[(0,Et.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Et.jsx)("span",{className:s("k-draghandle","k-draghandle-start",C(an,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??x,"aria-valuemin":x,"aria-valuemax":L??g,"aria-orientation":Je,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":D["aria-label"]?`${D["aria-label"]} start`:"Range start"}),(0,Et.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,C(an,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??g:b,"aria-valuemin":t==="range"?m??x:x,"aria-valuemax":g,"aria-orientation":Je,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?D["aria-label"]?`${D["aria-label"]} end`:"Range end":D["aria-label"]})]})]}),c&&(0,Et.jsx)(p,{className:"k-button-increase",rounded:"full",icon:Ce,tabIndex:-1,title:"Increase"})]})};W.states=kf;W.options=Cf;W.className=an;W.defaultOptions=ht;W.moduleName=Zs;W.folderName=np;var Qs=require("react/jsx-runtime"),sp="k-tick",Af=[],Ef={},rp={label:!1},T=e=>{let{style:t,label:o=rp.label,orientation:a,large:n,text:i,...l}=e;return(0,Qs.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:s(e.className,sp,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,Qs.jsx)("span",{className:"k-label",children:i})})};T.states=Af;T.options=Ef;T.className=sp;T.defaultOptions=rp;var xe=require("react/jsx-runtime"),ip=e=>(0,xe.jsx)(W,{"aria-label":e["aria-label"]||"Slider",children:(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{label:!0,large:!0,text:"5"}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Ne=require("react/jsx-runtime"),lp=e=>(0,Ne.jsx)(W,{children:(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{label:!0,large:!0,text:"5"}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var js=require("react/jsx-runtime");var er=require("react/jsx-runtime");var pp=require("react/jsx-runtime"),tr=e=>(0,pp.jsx)(W,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var dp=require("react/jsx-runtime"),or=e=>(0,dp.jsx)(W,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ar=require("react/jsx-runtime");var nr=require("react/jsx-runtime");var Qe=require("react/jsx-runtime"),yf=W.options,If=W.states,cp={...W.defaultOptions,variant:"horizontal",label:!0},Tf=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Of=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Yo=e=>{let{variant:t,modifiers:o,...a}=e,n=cp.label,i={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{i.showButtons=!!(o!=null&&o[c]);break}case"label":{n=!!(o!=null&&o[c]);break}case"tick":{i.showTicks=!!(o!=null&&o[c]);break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Qe.jsxs)(lp,{style:{height:"300px",...l},...a,...i,children:[(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Qe.jsxs)(ip,{style:{width:"400px",...l},...a,...i,children:[(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Yo.options=yf;Yo.states=If;Yo.variants=Tf;Yo.defaultOptions=cp;Yo.modifiers=Of;Yo.className=W.className;var nn=require("react/jsx-runtime"),mp="k-spin-button",Kf=[],Rf={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},sr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},lo=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=sr.increaseLabel,decreaseLabel:i=sr.decreaseLabel,...l}=e;return(0,nn.jsxs)("span",{...l,className:s(mp,e.className),children:[(0,nn.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,nn.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};lo.states=Kf;lo.options=Rf;lo.className=mp;lo.defaultOptions=sr;lo.moduleName=null;lo.folderName=null;var up="numeric-textbox",fp="numerictextbox";var he=require("react/jsx-runtime"),bp="k-numerictextbox",_f=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],wf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},_n={showSpinButton:!0,showClearButton:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:n=_n.separators,showClearButton:i=_n.showClearButton,showSpinButton:l=_n.showSpinButton,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,id:D,"aria-label":fe,"aria-describedby":Je,...Ce}=e;return(0,he.jsxs)(oe,{...Ce,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,bp),children:[c&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(ut,{children:c}),n&&(0,he.jsx)(bt,{})]}),(0,he.jsx)(Re,{id:D,placeholder:x,value:b,role:"spinbutton",disabled:k,"aria-label":fe,"aria-describedby":Je,"aria-invalid":M?"true":void 0}),(0,he.jsx)(De,{valid:L,invalid:M,loading:E,disabled:k}),(0,he.jsx)(Ze,{loading:E,disabled:k}),i&&(0,he.jsx)(st,{loading:E,disabled:k,readonly:I,value:b}),u&&(0,he.jsxs)(he.Fragment,{children:[n&&(0,he.jsx)(bt,{}),(0,he.jsx)(ft,{children:u})]}),l&&(0,he.jsx)(lo,{className:"k-input-spinner",size:t,fillMode:a,disabled:k})]})};U.states=_f;U.options=wf;U.className=bp;U.defaultOptions=_n;U.moduleName=up;U.folderName=fp;var sn=U;var Np=require("react/jsx-runtime"),xp=e=>(0,Np.jsx)(sn,{...e});var Dn=Gi(require("react"));var rr=require("react/jsx-runtime"),Df="k-list-group-sticky-header",ir=e=>(0,rr.jsx)("div",{className:s(Df,e.className),children:(0,rr.jsx)("div",{className:"k-list-header-text",children:e.children})});var hp=require("react/jsx-runtime"),Hf="k-no-data",wn=e=>{let{live:t,...o}=e;return(0,hp.jsx)("span",{...o,className:s(Hf,e.className),"aria-live":t?"polite":void 0,children:e.children})};var ko="list",Zo=ko;var Qo=require("react/jsx-runtime"),lr="k-list",zf=[],Uf={size:[d.undefined,d.small,d.medium,d.large]},Ff={},_=e=>{var M;let{size:t,virtualization:o,children:a,header:n,selectAll:i,optionLabel:l,customValue:c,noData:u,screenReaders:b,...x}=e,m=Dn.default.Children.toArray(a)[0],L=(M=m==null?void 0:m.props)!=null&&M.children?Dn.default.Children.count(m.props.children):Dn.default.Children.count(a);return(0,Qo.jsxs)("div",{...x,className:s(e.className,lr,y(lr,{size:t}),{"k-virtual-list":o}),children:[l,i,c,n&&(0,Qo.jsx)(ir,{children:n}),a||(u!==void 0?u:(0,Qo.jsx)(wn,{live:!0,children:"No data found."})),b&&a&&(0,Qo.jsxs)(wn,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};_.states=zf;_.options=Uf;_.className=lr;_.defaultOptions=Ff;_.moduleName=ko;_.folderName=Zo;var gp=require("react/jsx-runtime"),vp="k-list-container",Gf=[],Vf={},$f={},jo=e=>{let{...t}=e;return(0,gp.jsx)("div",{...t,className:s(e.className,vp),children:e.children})};jo.states=Gf;jo.options=Vf;jo.className=vp;jo.defaultOptions=$f;jo.moduleName=ko;jo.folderName=Zo;var Co="checkbox",ea=Co;var pr=require("react/jsx-runtime"),Hn="k-checkbox",Xf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],qf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Wf={},lt=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:b,size:x,rounded:g,wrapperRole:m,...L}=e;return(0,pr.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,pr.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:s(e.className,Hn,y(Hn,{size:x,rounded:g}),C(Hn,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};lt.states=Xf;lt.options=qf;lt.className=Hn;lt.defaultOptions=Wf;lt.moduleName=Co;lt.folderName=ea;var yt=lt;var Sp=require("react/jsx-runtime"),Lp="k-checkbox-list",Jf=[],Yf={},Mp={layout:"vertical"},ze=e=>{let{layout:t=Mp.layout,...o}=e;return(0,Sp.jsx)("ul",{...o,className:s(e.className,Lp,{[`k-list-${t}`]:t}),children:e.children})};ze.states=Jf;ze.options=Yf;ze.className=Lp;ze.defaultOptions=Mp;ze.moduleName=Co;ze.folderName=ea;var Cp=require("react/jsx-runtime"),kp="k-checkbox-list-item",Zf=[],Qf={},jf={},Ue=e=>{let{...t}=e;return(0,Cp.jsx)("li",{...t,className:s(e.className,kp),children:e.children})};Ue.states=Zf;Ue.options=Qf;Ue.className=kp;Ue.defaultOptions=jf;Ue.moduleName=Co;Ue.folderName=ea;var Ao=require("react/jsx-runtime"),Jt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ao.jsxs)(Ao.Fragment,{children:[(0,Ao.jsx)(yt,{id:t,...o}),(0,Ao.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var dr=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var mr=require("react/jsx-runtime");var eb=require("react/jsx-runtime");var tb=require("react/jsx-runtime");var ob=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),ab=ze.options,nb=ze.states,sb={...ze.defaultOptions,variant:"vertical"},rb=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ib=[],ta=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ie.jsxs)(ze,{layout:"horizontal",...o,children:[(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})})]}):(0,Ie.jsxs)(ze,{...o,children:[(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})})]})};ta.options=ab;ta.states=nb;ta.variants=rb;ta.defaultOptions=sb;ta.modifiers=ib;ta.className=ze.className;var Ap=require("react/jsx-runtime"),lb=yt.options,pb=yt.states,db=yt.defaultOptions,cb=[],mb=[],oa=e=>(0,Ap.jsx)(Jt,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});oa.options=lb;oa.states=pb;oa.variants=cb;oa.defaultOptions=db;oa.modifiers=mb;oa.className=yt.className;var Yt=require("react/jsx-runtime"),ur="k-list-item",ub=[r.hover,r.focus,r.selected,r.disabled],fb={},bb={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:i,hover:l,focus:c,selected:u,disabled:b,actions:x,description:g,id:m,...L}=e,M=t||e.children,S=t||(typeof M=="string"?M:void 0);return(0,Yt.jsxs)("li",{...L,id:m,role:"option",tabIndex:c?0:-1,"aria-selected":u?"true":"false","aria-disabled":b?"true":void 0,className:s(e.className,ur,C(ur,{hover:l,focus:c,disabled:b,selected:u})),children:[n&&(0,Yt.jsx)(lt,{checked:i,disabled:b,"aria-label":S,tabIndex:-1}),o&&(0,Yt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Yt.jsx)(v,{icon:o,className:s("k-list-item-icon",a)})}),(0,Yt.jsx)("span",{className:"k-list-item-text",children:M}),x&&(0,Yt.jsx)("div",{className:"k-list-item-actions",children:x}),g&&(0,Yt.jsx)("span",{className:"k-list-item-description",children:g})]})};P.states=ub;P.options=fb;P.className=ur;P.defaultOptions=bb;P.moduleName=ko;P.folderName=Zo;var Ep=require("react/jsx-runtime"),xb="k-list-ul",po=e=>{let{children:t,role:o,id:a,...n}=e;return(0,Ep.jsx)("ul",{...n,id:a,role:o,className:s(xb,e.className),children:t})};var aa=require("react/jsx-runtime"),Nb="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,aa.jsxs)("div",{...l,className:s(Nb,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:(0,aa.jsx)(po,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,aa.jsx)("div",{className:"k-height-container",children:(0,aa.jsx)("div",{})})]})};var na=require("react/jsx-runtime"),zn="k-list-sticky-header",hb=[r.hover,r.focus,r.selected],vb={},gb={},Un=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:i,focus:l,selected:c,...u}=e;return(0,na.jsx)("div",{...u,className:s(zn,e.className),children:(0,na.jsxs)("div",{className:s(`${zn}-item`,C(`${zn}-item`,{hover:i,focus:l,selected:c})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":c?"true":"false"},children:[o&&(0,na.jsx)(lt,{checked:a,indeterminate:n,"aria-label":t}),(0,na.jsx)("span",{className:"k-list-item-text",children:t})]})})};Un.states=hb;Un.options=vb;Un.className=zn;Un.defaultOptions=gb;var fr=require("react/jsx-runtime");var yp=require("react/jsx-runtime");var Ip=require("react/jsx-runtime"),br="k-list-optionlabel",Lb=[r.hover,r.focus,r.selected,r.disabled],Mb={},Sb={},Fn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,Ip.jsx)("div",{...l,className:s(br,C(br,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Fn.states=Lb;Fn.options=Mb;Fn.className=br;Fn.defaultOptions=Sb;var Tp=require("react/jsx-runtime"),xr="k-list-custom-value",kb=[r.hover,r.focus,r.selected,r.disabled],Cb={},Ab={},co=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,Tp.jsx)("div",{...l,className:s(xr,C(xr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};co.states=kb;co.options=Cb;co.className=xr;co.defaultOptions=Ab;var Nr=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var vr=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var Eb=require("react/jsx-runtime");var Lr=require("react/jsx-runtime");var Mr=require("react/jsx-runtime");var Op="dropdown-list",Bp="dropdownlist";var Q=require("react/jsx-runtime"),Pp="k-dropdownlist",yb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ib={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Sr={showValue:!0,arrowIconName:"chevron-down"},ue=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Sr.arrowIconName,showValue:i=Sr.showValue,valueIconName:l,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,popup:D,opened:fe,adaptive:Je,adaptiveSettings:Ce,adaptiveTitle:Ke,adaptiveSubtitle:_a,adaptiveFilter:vo,id:go,activeDescendant:wa,"aria-label":ds,...cs}=e,ms=go?`${go}-listbox`:void 0,Ui=go?`${go}-value`:void 0;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(_t,{...cs,id:go,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,Pp,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":fe?"true":"false","aria-controls":fe?ms:void 0,"aria-activedescendant":fe&&wa?wa:void 0,"aria-describedby":fe?Ui:void 0,"aria-disabled":k?"true":void 0,"aria-label":ds,tabIndex:0,children:[(0,Q.jsx)(ut,{children:c}),(0,Q.jsx)(Mo,{placeholder:x,value:b,showValue:i,valueIconName:l,id:Ui}),(0,Q.jsx)(De,{valid:L,invalid:M,loading:E,disabled:k}),(0,Q.jsx)(Ze,{loading:E,disabled:k}),(0,Q.jsx)(ft,{children:u}),(0,Q.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),fe&&D&&(0,Q.jsx)(Y,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:D}),Je&&(0,Q.jsx)(ae,{adaptive:!0,...Ce,header:(0,Q.jsx)(He,{actionsEnd:(0,Q.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:vo,inputValue:b,inputPlaceholder:x,title:Ke,subtitle:_a}),children:(0,Q.jsx)("div",{className:"k-list-container",children:(0,Q.jsx)(_,{size:"large",children:(0,Q.jsxs)(G,{"aria-label":"Options",children:[(0,Q.jsx)(P,{text:"List item"}),(0,Q.jsx)(P,{text:"List item"}),(0,Q.jsx)(P,{text:"List item"})]})})})})]})};ue.states=yb;ue.options=Ib;ue.className=Pp;ue.defaultOptions=Sr;ue.moduleName=Op;ue.folderName=Bp;var Tb=require("react/jsx-runtime");var Kp=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Ob=require("react/jsx-runtime");var Rp=require("react/jsx-runtime");var Cr=require("react/jsx-runtime");var Bb=require("react/jsx-runtime");var je=require("react/jsx-runtime"),Pb=ue.states,Kb=ue.defaultOptions,Rb=ue.options,_b=[{name:"opened",title:"Opened"}],wb=[],ra=e=>{let{modifiers:t,...o}=e,a={},n=(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)("div",{className:"k-list-filter",children:(0,je.jsx)(xt,{})}),(0,je.jsx)(_,{style:{width:300},size:o.size,children:(0,je.jsxs)(G,{children:[(0,je.jsx)(P,{children:"List item"}),(0,je.jsx)(P,{children:"List item"}),(0,je.jsx)(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0)}),(0,je.jsx)("div",{children:(0,je.jsx)(ue,{placeholder:"Value",style:{width:300},...o,...a})})};ra.options=Rb;ra.states=Pb;ra.variants=wb;ra.defaultOptions=Kb;ra.modifiers=_b;ra.className=ue.className;var _p=require("react/jsx-runtime");var wp=require("react/jsx-runtime");var Db=require("react/jsx-runtime");var Gn=require("react/jsx-runtime"),Hb=U.states,zb=U.defaultOptions,Ub=U.options,Fb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Gb=[],ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Gn.jsx)(ue,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Gn.jsx)(ws,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,Gn.jsx)(xp,{value:"Value",style:{width:300},...o,...a})};ia.options=Ub;ia.states=Hb;ia.variants=Gb;ia.defaultOptions=zb;ia.modifiers=Fb;ia.className=U.className;var A=require("react/jsx-runtime"),Dp="k-colorgradient-inputs",Vb=[],$b={size:[d.undefined,d.small,d.medium,d.large]},Hp={mode:"rgba"},la=e=>{let{mode:t=Hp.mode,size:o,...a}=e;return(0,A.jsxs)("div",{...a,className:s(Dp,"k-hstack"),children:[(0,A.jsx)("div",{className:"k-vstack",children:(0,A.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,A.jsx)(ye,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};la.states=Vb;la.options=$b;la.className=Dp;la.defaultOptions=Hp;var Te=require("react/jsx-runtime"),zp="k-colorgradient-color-contrast",Xb=[],qb={},Wb={},pa=()=>(0,Te.jsxs)("div",{className:s(zp,"k-vbox"),children:[(0,Te.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Te.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Te.jsx)(v,{icon:"check"}),(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AA: 4.5"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AAA: 7.0"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Te.jsx)(v,{icon:"x"})]})]})]});pa.states=Xb;pa.options=qb;pa.className=zp;pa.defaultOptions=Wb;var Up="color-gradient",Fp="colorgradient";var pe=require("react/jsx-runtime"),Vn="k-colorgradient",Jb=[r.hover,r.focus,r.readonly,r.disabled],Yb={size:[d.undefined,d.small,d.medium,d.large]},Ht={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"},ve=e=>{let{size:t,mode:o=Ht.mode,readonly:a=Ht.readonly,disabled:n=Ht.disabled,gradientStyle:i=Ht.gradientStyle,dragHandleStyle:l=Ht.dragHandleStyle,alphaStyle:c=Ht.alphaStyle,alphaStyleHorizontal:u=Ht.alphaStyleHorizontal,contrast:b=Ht.contrast,dir:x,hover:g,focus:m,hoverHandle:L,focusHandle:M,canvasOrientation:S=Ht.canvasOrientation,role:E,tabIndex:k,...I}=e;return(0,pe.jsxs)("div",{...I,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:k??0,"aria-disabled":n?"true":void 0,className:s(e.className,Vn,y(Vn,{size:t}),C(Vn,{hover:g,focus:m,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),style:l,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})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,pe.jsx)(or,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(or,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:c})]})]}),S==="vertical"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),style:l,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})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,pe.jsx)(tr,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(tr,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:u})]})]}),(0,pe.jsx)(la,{mode:e.mode,size:t}),b&&(0,pe.jsx)(pa,{})]})};ve.states=Jb;ve.options=Yb;ve.className=Vn;ve.defaultOptions=Ht;ve.moduleName=Up;ve.folderName=Fp;var Gp=require("react/jsx-runtime"),$n=e=>(0,Gp.jsx)(ve,{...e});var Zb=require("react/jsx-runtime");var Qb=require("react/jsx-runtime");var Xn=require("react/jsx-runtime"),jb=ve.options,ex=ve.states,tx={...ve.defaultOptions,variant:"rgba"},ox=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],ax=[],da=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Xn.jsx)($n,{...o,mode:t});case"rgb":return(0,Xn.jsx)($n,{...o,mode:t});default:return(0,Xn.jsx)($n,{...o,mode:t})}};da.options=jb;da.states=ex;da.variants=ox;da.defaultOptions=tx;da.modifiers=ax;da.className=ve.className;var Vp=require("react/jsx-runtime"),Ar=e=>(0,Vp.jsx)("tr",{role:"row",children:e.children});var $p=require("react/jsx-runtime"),Er="k-colorpalette-tile",nx=[r.hover,r.focus,r.selected],sx={},mo=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,$p.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:s(e.className,Er,C(Er,{hover:a,focus:n,selected:i})),style:c})};mo.states=nx;mo.options=sx;mo.className=Er;mo.moduleName=null;mo.folderName=null;var Xp="color-palette",qp="colorpalette";var ca=require("react/jsx-runtime"),qn="k-colorpalette",rx=[r.disabled],ix={size:[d.undefined,d.small,d.medium,d.large]},Wp={columns:10},et=e=>{let{size:t,palette:o,columns:a=Wp.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/u)},(x,g)=>{let m=[];b.slice(g*u,(g+1)*u).map((M,S)=>{m.push((0,ca.jsx)(mo,{color:M,tileSize:n},S))});let L=(0,ca.jsx)(Ar,{children:m},g);c.push(L)})}return(0,ca.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:s(e.className,qn,C(qn,{disabled:i}),y(qn,{size:t})),children:(0,ca.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,ca.jsx)("tbody",{children:c.length>0?c:e.children})})})};et.states=rx;et.options=ix;et.className=qn;et.defaultOptions=Wp;et.moduleName=Xp;et.folderName=qp;var Wn=et;var ln={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}};var Yp=require("react/jsx-runtime"),Jp=e=>(0,Yp.jsx)(Wn,{palette:ln.basic,...e});var lx=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Qp=require("react/jsx-runtime"),px=et.options,dx=et.states,cx={...et.defaultOptions,variant:"basic"},mx=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],ux={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}},fx=[],ma=e=>{let{variant:t="basic",...o}=e,a=ux[t];return(0,Qp.jsx)(Jp,{columns:a.columns,palette:a,...o})};ma.options=px;ma.states=dx;ma.variants=mx;ma.defaultOptions=cx;ma.modifiers=fx;ma.className=et.className;var jp="color-editor",ed="coloreditor";var ne=require("react/jsx-runtime"),Jn="k-coloreditor",bx=[r.focus],xx={size:[d.undefined,d.small,d.medium,d.large]},pn={view:"gradient",palette:ln.office,actionButtons:!0,canvasOrientation:"horizontal"},se=e=>{let{size:t,view:o=pn.view,palette:a=pn.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:b,actionButtons:x=pn.actionButtons,canvasOrientation:g=pn.canvasOrientation,...m}=e;return(0,ne.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:s(e.className,"k-flatcolorpicker",Jn,y(Jn,{size:t}),C(Jn,{focus:l})),dir:u,children:[(0,ne.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ne.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&(0,ne.jsxs)(B,{fillMode:"flat",children:[(0,ne.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ne.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ne.jsx)("div",{className:"k-spacer"}),(0,ne.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ne.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ne.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ne.jsx)(no,{className:"k-coloreditor-preview-color",color:n}),(0,ne.jsx)(no,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ne.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ne.jsx)(ve,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):(0,ne.jsx)(et,{palette:a,size:t})}),x&&(0,ne.jsxs)(rt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ne.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ne.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};se.states=bx;se.options=xx;se.className=Jn;se.defaultOptions=pn;se.moduleName=jp;se.folderName=ed;var ua=se;var Nx=require("react/jsx-runtime");var hx=require("react/jsx-runtime");var od=require("react/jsx-runtime"),td=e=>(0,od.jsx)(ua,{group:!0,currentColor:"fuchsia",...e});var nd=require("react/jsx-runtime"),ad=e=>(0,nd.jsx)(ua,{view:"palette",group:!0,currentColor:"fuchsia",...e});var yr=require("react/jsx-runtime"),vx=se.options,gx=se.states,Lx={...se.defaultOptions,variant:"gradient"},Mx=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Sx=[],fa=e=>{let{variant:t,...o}=e;return t==="palette"?(0,yr.jsx)(ad,{...o,color:"white"}):(0,yr.jsx)(td,{...o,color:"rgba(183, 118 , 118, 1.00)"})};fa.options=vx;fa.states=gx;fa.variants=Mx;fa.defaultOptions=Lx;fa.modifiers=Sx;fa.className=se.className;var sd="color-picker",rd="colorpicker";var de=require("react/jsx-runtime"),id="k-colorpicker",kx=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Cx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},ld={arrowIconName:"chevron-down"},vt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=ld.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,valueIconName:S,popup:E,opened:k,adaptive:I,adaptiveSettings:D,adaptiveTitle:fe,adaptiveSubtitle:Je,...Ce}=e,Ke="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(_t,{...Ce,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,role:"combobox","aria-haspopup":"dialog","aria-expanded":k?"true":"false","aria-controls":k||I?Ke:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":M?"true":void 0,className:s(e.className,id,"k-icon-picker"),children:[(0,de.jsx)(ut,{children:i}),(0,de.jsx)(Mo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,de.jsx)(no,{className:"k-value-icon",color:c,iconName:S}),valueIconName:S}),(0,de.jsx)(ft,{children:l}),(0,de.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:M})]}),k&&E&&(0,de.jsx)(Y,{id:Ke,className:"k-colorpicker-popup",children:E}),I&&(0,de.jsx)(ae,{adaptive:!0,id:Ke,...D,header:(0,de.jsx)(He,{actionsEnd:(0,de.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:Je}),footer:(0,de.jsxs)(so,{children:[(0,de.jsx)(p,{text:"Cancel",size:"large"}),(0,de.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(se,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};vt.states=kx;vt.options=Cx;vt.className=id;vt.defaultOptions=ld;vt.moduleName=sd;vt.folderName=rd;var Zt=vt;var pd=require("react/jsx-runtime"),Yn=e=>(0,pd.jsx)(Zt,{...e});var Ax=require("react/jsx-runtime");var Ex=require("react/jsx-runtime");var yx=require("react/jsx-runtime");var Ix=require("react/jsx-runtime");var Tx=require("react/jsx-runtime");var Ox=require("react/jsx-runtime");var uo=require("react/jsx-runtime"),Bx=Zt.options,Px=Zt.states,dd={...Zt.defaultOptions,variant:"color"},Kx=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Rx=[{name:"opened",title:"Opened"}],ba=e=>{let{variant:t,modifiers:o,...a}={...dd,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,uo.jsx)(se,{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(0,uo.jsx)("div",{style:i,children:(0,uo.jsx)(Yn,{...a,...n})});case"icon":return(0,uo.jsx)("div",{style:i,children:(0,uo.jsx)(Yn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,uo.jsx)("div",{style:i,children:(0,uo.jsx)(Yn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};ba.options=Bx;ba.states=Px;ba.variants=Kx;ba.defaultOptions=dd;ba.modifiers=Rx;ba.className=Zt.className;var Ir="combobox",cd=Ir;var w=require("react/jsx-runtime"),md="k-combobox",_x=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],wx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Tr={separators:!0,showClearButton:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Tr.separators,showClearButton:i=Tr.showClearButton,prefix:l,suffix:c,value:u,placeholder:b,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,popup:k,opened:I,readonly:D,adaptive:fe,adaptiveSettings:Je,adaptiveTitle:Ce,adaptiveSubtitle:Ke,adaptiveCustomValue:_a,id:vo,autocomplete:go,activeDescendant:wa,"aria-label":ds,...cs}=e,ms=vo?`${vo}-listbox`:void 0;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(oe,{...cs,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,readonly:D,className:s(e.className,md),children:[l&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(ut,{children:l}),n&&(0,w.jsx)(bt,{})]}),(0,w.jsx)(Re,{id:vo,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?ms:void 0,"aria-activedescendant":I&&wa?wa:void 0,"aria-autocomplete":go,"aria-invalid":L?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":ds,disabled:E,readOnly:D}),(0,w.jsx)(De,{valid:m,invalid:L,loading:S,disabled:E}),(0,w.jsx)(Ze,{loading:S,disabled:E}),i&&(0,w.jsx)(st,{loading:S,disabled:E,readonly:D,value:u}),c&&(0,w.jsxs)(w.Fragment,{children:[n&&(0,w.jsx)(bt,{}),(0,w.jsx)(ft,{children:c})]}),(0,w.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:E})]}),I&&k&&(0,w.jsx)(Y,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:k}),fe&&(0,w.jsx)(ae,{adaptive:!0,id:vo?`${vo}-adaptive`:void 0,...Je,header:(0,w.jsx)(He,{actionsEnd:(0,w.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:Ce,subtitle:Ke}),children:(0,w.jsx)("div",{className:"k-list-container",children:(0,w.jsx)(_,{customValue:_a?(0,w.jsx)(co,{text:`Use "${u}"`}):void 0,size:"large",children:(0,w.jsxs)(G,{"aria-label":Ce||"Options",children:[(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"})]})})})})]})};Fe.states=_x;Fe.options=wx;Fe.className=md;Fe.defaultOptions=Tr;Fe.moduleName=Ir;Fe.folderName=cd;var pt=Fe;var fd=require("react/jsx-runtime"),ud=e=>(0,fd.jsx)(pt,{...e});var bd=require("react/jsx-runtime");var xd=require("react/jsx-runtime");var Nd=require("react/jsx-runtime");var hd=require("react/jsx-runtime");var vd=require("react/jsx-runtime");var gd=require("react/jsx-runtime");var Or=require("react/jsx-runtime");var Dx=require("react/jsx-runtime");var Hx=require("react/jsx-runtime");var Ld=require("react/jsx-runtime");var Md=require("react/jsx-runtime");var It=require("react/jsx-runtime"),zx=Fe.states,Ux=Fe.defaultOptions,Fx=Fe.options,Gx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],xa=e=>{let{modifiers:t,...o}=e,a={},n=(0,It.jsx)(_,{style:{width:300},size:o.size,children:(0,It.jsxs)(G,{children:[(0,It.jsx)(P,{children:"List item"}),(0,It.jsx)(P,{children:"List item"}),(0,It.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,It.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,It.jsx)(J,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0;break;default:break}}),(0,It.jsx)("div",{children:(0,It.jsx)(ud,{value:"Value",style:{width:300},...o,...a})})};xa.options=Fx;xa.states=zx;xa.variants=Vx;xa.defaultOptions=Ux;xa.modifiers=Gx;xa.className=Fe.className;var Br="menu-button",Sd=Br;var Cd=require("react/jsx-runtime"),kd="k-menu-button",$x=[r.hover,r.focus,r.active,r.selected,r.disabled],Xx={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Pr={showArrow:!0,arrowIconName:"chevron-down"},F=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,showArrow:L=Pr.showArrow,arrowIconName:M=Pr.arrowIconName,expanded:S,...E}=e;return(0,Cd.jsx)(p,{...E,className:s(e.className,kd),text:m,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:L,arrowIconName:M,"aria-expanded":S?"true":"false",...!m&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};F.states=$x;F.options=Xx;F.className=kd;F.defaultOptions=Pr;F.moduleName=Br;F.folderName=Sd;var qx=require("react/jsx-runtime");var Wx=require("react/jsx-runtime");var Jx=require("react/jsx-runtime");var Yx=require("react/jsx-runtime");var dt="menu",gt=dt;var Qt=require("react/jsx-runtime"),Kr="k-menu-item",Zx=[r.hover,r.focus,r.active,r.selected,r.disabled],Qx={},Ad={iconPosition:"before"},Oe=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=Ad.iconPosition,dir:g,children:m,expanded:L,...M}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),(0,Qt.jsxs)("li",{...M,className:s(e.className,Kr,"k-item",C(Kr,{focus:o,disabled:i,hover:t,active:a,selected:n})),role:"menuitem",...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":L?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Qt.jsxs)("span",{className:s("k-link k-menu-link"),children:[l&&x==="before"&&(0,Qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Qt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,Qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),u&&(0,Qt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Qt.jsx)(v,{icon:S})})]}),m]})};Oe.states=Zx;Oe.options=Qx;Oe.className=Kr;Oe.defaultOptions=Ad;Oe.moduleName=dt;Oe.folderName=gt;var Tt=require("react/jsx-runtime"),Rr="k-menu-item",jx=[r.hover,r.focus,r.active,r.selected,r.disabled],eN={},_r={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=_r.iconPosition,dir:g=_r.dir,children:m,popup:L,expanded:M,actions:S,description:E,...k}=e,I=b;return I||(I=g==="rtl"?"chevron-left":"chevron-right"),(0,Tt.jsxs)("li",{role:"menuitem",...k,className:s(e.className,Rr,"k-item",C(Rr,{focus:o,disabled:i})),...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":M?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Tt.jsxs)("span",{className:s("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&x==="before"&&(0,Tt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Tt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,Tt.jsx)(v,{className:"k-menu-link-icon",icon:l}),S&&(0,Tt.jsx)("span",{className:"k-menu-link-actions",children:S}),u&&(0,Tt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Tt.jsx)(v,{icon:I})}),E&&(0,Tt.jsx)("span",{className:"k-menu-link-description",children:E})]}),m,L]})};j.states=jx;j.options=eN;j.className=Rr;j.defaultOptions=_r;j.moduleName=dt;j.folderName=gt;var Id=require("react/jsx-runtime"),Ed="k-menu-scroll-wrapper",tN=[],oN={},aN={},Eo=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,Id.jsx)("div",{...n,className:s(t,Ed,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Eo.states=tN;Eo.options=oN;Eo.className=Ed;Eo.defaultOptions=aN;Eo.moduleName=dt;Eo.folderName=gt;var yd=Eo;var ge=require("react/jsx-runtime"),Zn="k-menu",nN=[],sN={size:[d.undefined,d.small,d.medium,d.large]},Qn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Le=e=>{let{children:t,orientation:o=Qn.orientation,header:a=Qn.header,scrollable:n,scrollButtonsPosition:i=Qn.scrollButtonsPosition,wrapperStyles:l,dir:c,size:u,popup:b,contextMenu:x,...g}=e,m={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},L=(0,ge.jsx)("ul",{dir:c,...g,className:s(e.className,"k-reset",Zn,{[`${Zn}-${o}`]:o,"k-header":a},y(Zn,{size:u})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,ge.jsxs)(ge.Fragment,{children:[n?(0,ge.jsxs)(yd,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),L,i==="end"&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):L,b]})};Le.states=nN;Le.options=sN;Le.className=Zn;Le.defaultOptions=Qn;Le.moduleName=dt;Le.folderName=gt;var Od=require("react/jsx-runtime"),wr="k-separator",Td={orientation:"horizontal"},Na=e=>{let{orientation:t=Td.orientation,...o}=e;return(0,Od.jsx)("li",{...o,className:s(e.className,"k-item",wr,{[`${wr}-${t}`]:t}),role:"separator"})};Na.className=wr;Na.defaultOptions=Td;Na.moduleName=dt;Na.folderName=gt;var Bd=require("react/jsx-runtime");var Pd=require("react/jsx-runtime"),Dr="k-menu-group",rN=[],iN={size:[d.undefined,d.small,d.medium,d.large]},lN={},Be=e=>{let{children:t,size:o,...a}=e;return(0,Pd.jsx)("ul",{role:"menu",...a,className:s(e.className,Dr,y(Dr,{size:o})),children:t})};Be.states=rN;Be.options=iN;Be.className=Dr;Be.defaultOptions=lN;Be.moduleName=dt;Be.folderName=gt;var Kd=require("react/jsx-runtime");var Ot=require("react/jsx-runtime"),Hr=e=>(0,Ot.jsx)(Le,{children:(0,Ot.jsxs)(Ot.Fragment,{children:[(0,Ot.jsx)(Oe,{text:"Item 1"}),(0,Ot.jsx)(Oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Ot.jsx)(Oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Ot.jsx)(Oe,{text:"Item 4"}),(0,Ot.jsx)(Oe,{text:"Item 5"})]}),...e});var zr=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var zt=require("react/jsx-runtime"),pN={...Le.options,scrollable:{type:"boolean"}},dN=Le.states,Rd={...Le.defaultOptions,variant:"horizontal"},cN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],mN=[{name:"opened",title:"Opened"}],ha=e=>{let{variant:t,modifiers:o,...a}={...Rd,...e},n={},i=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,zt.jsx)(Y,{className:"k-menu-popup",offset:i,children:(0,zt.jsxs)(Be,{children:[(0,zt.jsx)(j,{text:"Item 1"}),(0,zt.jsx)(j,{text:"Item 2"}),(0,zt.jsx)(Na,{}),(0,zt.jsx)(j,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,zt.jsx)(Hr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,zt.jsx)(Hr,{...a,...n})};ha.options=pN;ha.states=dN;ha.variants=cN;ha.defaultOptions=Rd;ha.modifiers=mN;ha.className=Le.className;var Vr=require("react/jsx-runtime");var uN=require("react/jsx-runtime");var Pe=require("react/jsx-runtime"),fN=p.states,_d={...p.defaultOptions,variant:"text"},bN=p.options,xN=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],NN=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}={..._d,...e},n={},i=(0,Pe.jsx)(Y,{className:"k-menu-popup",children:(0,Pe.jsxs)(Be,{size:a.size,children:[(0,Pe.jsx)(j,{text:"Menu Item"}),(0,Pe.jsx)(j,{text:"Menu Item"}),(0,Pe.jsx)(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Pe.jsx)("div",{children:(0,Pe.jsx)(F,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Pe.jsx)("div",{children:(0,Pe.jsx)(F,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Pe.jsx)("div",{children:(0,Pe.jsx)(F,{...a,...n,children:"Dropdown Button"})});break}return(0,Pe.jsxs)(Pe.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};va.options=bN;va.states=fN;va.variants=xN;va.defaultOptions=_d;va.modifiers=NN;va.className=F.className;var $r="split-button",wd=$r;var jt=require("react/jsx-runtime"),Xr="k-split-button",hN=[r.hover,r.focus,r.active,r.selected,r.disabled],vN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Dd={arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,arrowIconName:L=Dd.arrowIconName,popup:M,opened:S,popupId:E,...k}=e;return(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsxs)("div",{...k,className:s(e.className,Xr,"k-button-group",y(Xr,{rounded:o})),children:[(0,jt.jsx)(p,{text:m,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,...!m&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),(0,jt.jsx)(p,{className:"k-split-button-arrow",icon:L,size:t,rounded:o,fillMode:a,disabled:b,ariaDisabled:b||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?E:void 0,tabIndex:-1})]}),S&&M&&(0,jt.jsx)(Y,{className:"k-menu-popup",children:M})]})};R.states=hN;R.options=vN;R.className=Xr;R.defaultOptions=Dd;R.moduleName=$r;R.folderName=wd;var qr=R;var Hd=require("react/jsx-runtime"),gN="k-toolbar-separator",Bt=e=>(0,Hd.jsx)("div",{className:s(gN,e.className,"k-separator")});var yo="toolbar",ga=yo;var O=require("react/jsx-runtime"),eo="k-toolbar",LN=[r.focus],MN={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},SN={scrollButtons:"around"},$=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...b}=e,x=[],g=(m,L)=>{let M=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))M.push((0,O.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)M.push((0,O.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===Fa)M.push((0,O.jsx)(Fa,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===J)M.push((0,O.jsx)(J,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===F)M.push((0,O.jsx)(F,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===qr)M.push((0,O.jsx)(qr,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===B||m.props.className&&m.props.className.includes("k-button-group")){let S=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((k,I)=>{S.push((0,O.jsx)(p,{...k.props,className:`${k.props.className?k.props.className:""}`},`${I}-${new Date().getTime()}`))}),M.push((0,O.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:S},`${L}-${new Date().getTime()}`))}else m.type===Fe?M.push((0,O.jsx)(Fe,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===ue?M.push((0,O.jsx)(ue,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===vt?M.push((0,O.jsx)(vt,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):M.push(m);M.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,M)=>{g(L,M)}),(0,O.jsxs)("div",{...b,className:s(e.className,eo,y(eo,{size:t,fillMode:o}),C(eo,{focus:a}),{[`${eo}-resizable`]:n,[`${eo}-scrollable`]:i,[`${eo}-scrollable-overlay`]:i&&l==="hidden",[`${eo}-scrollable-${c}`]:c&&c!=="both",[`${eo}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&l==="hidden"&&(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&l==="start"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&l==="end"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};$.states=LN;$.options=MN;$.className=eo;$.defaultOptions=SN;$.moduleName=yo;$.folderName=ga;var zd=require("react/jsx-runtime"),Wr="k-toolbar-item",kN=[r.focus],CN={},AN={},La=e=>{let{focus:t,...o}=e;return(0,zd.jsx)("div",{...o,className:s(e.className,Wr,C(Wr,{focus:t})),children:e.children})};La.states=kN;La.options=CN;La.className=Wr;La.defaultOptions=AN;La.moduleName=yo;La.folderName=ga;var Jr=require("react/jsx-runtime"),Ud="k-toolbar-popup",EN=[],yN={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},IN={},Io=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Jr.jsx)(Y,{...n,className:s(e.className,Ud),children:a?(0,Jr.jsx)("span",{className:s("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Io.states=EN;Io.options=yN;Io.className=Ud;Io.defaultOptions=IN;Io.moduleName=yo;Io.folderName=ga;var jn=Io;var TN=require("react/jsx-runtime");var ON=require("react/jsx-runtime");var BN=require("react/jsx-runtime");var PN=require("react/jsx-runtime");var Fd=require("react/jsx-runtime");var KN=require("react/jsx-runtime");var Lt=require("react/jsx-runtime"),RN=R.states,Gd={...R.defaultOptions,variant:"text"},_N=R.options,wN=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],DN=[{name:"opened",title:"Opened"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...Gd,...e},n={},i=(0,Lt.jsxs)(Be,{size:a.size,children:[(0,Lt.jsx)(j,{text:"Menu Item"}),(0,Lt.jsx)(j,{text:"Menu Item"}),(0,Lt.jsx)(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?i:"")}),t){case"icon-only":return(0,Lt.jsx)("div",{children:(0,Lt.jsx)(R,{...a,...n,icon:"star"})});case"icon-and-text":return(0,Lt.jsx)("div",{children:(0,Lt.jsx)(R,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,Lt.jsx)("div",{children:(0,Lt.jsx)(R,{...a,...n,children:"Split Button"})})}};Ma.options=_N;Ma.states=RN;Ma.variants=wN;Ma.defaultOptions=Gd;Ma.modifiers=DN;Ma.className=R.className;var Ut=require("react/jsx-runtime"),Vd=e=>(0,Ut.jsx)($,{children:[(0,Ut.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ut.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Ut.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Ut.jsxs)(B,{children:[(0,Ut.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ut.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ut.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var $d=require("react/jsx-runtime");var Me=require("react/jsx-runtime"),Xd=e=>(0,Me.jsx)($,{scrollable:!0,...e,children:[(0,Me.jsx)(p,{children:"Button"},"toolbar-button"),(0,Me.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(B,{children:[(0,Me.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(p,{icon:"align-center",children:"Center"}),(0,Me.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Me.jsx)(p,{children:"Button"},"toolbar-button"),(0,Me.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(B,{children:[(0,Me.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(p,{icon:"align-center",children:"Center"}),(0,Me.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Se=require("react/jsx-runtime"),qd=({scrollingPosition:e="start",...t})=>(0,Se.jsx)($,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Se.jsx)(p,{children:"Button"},"toolbar-button"),(0,Se.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Se.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Se.jsxs)(B,{children:[(0,Se.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Se.jsx)(p,{icon:"align-center",children:"Center"}),(0,Se.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Se.jsx)(p,{children:"Button"},"toolbar-button"),(0,Se.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Se.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Se.jsxs)(B,{children:[(0,Se.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Se.jsx)(p,{icon:"align-center",children:"Center"}),(0,Se.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var ee=require("react/jsx-runtime"),Wd=({fillMode:e,size:t,...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)($,{section:!0,fillMode:e,size:t,children:[(0,ee.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsxs)(B,{fillMode:e,children:[(0,ee.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,ee.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,ee.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),(0,ee.jsxs)(jn,{size:t,fillMode:e,section:!0,...o,children:[(0,ee.jsx)(R,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,ee.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsx)(Bt,{}),(0,ee.jsx)(F,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,ee.jsxs)(B,{fillMode:e,children:[(0,ee.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Yr=require("react/jsx-runtime");var Zr=require("react/jsx-runtime");var to=require("react/jsx-runtime"),HN=$.options,zN=$.states,Jd={...$.defaultOptions,variant:"default"},UN=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],FN=[],Sa=e=>{let{variant:t,...o}={...Jd,...e};switch(t){case"responsive":return(0,to.jsx)("div",{children:(0,to.jsx)(Wd,{style:{width:"583px"},...o})});case"overlay":return(0,to.jsx)("div",{children:(0,to.jsx)(qd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,to.jsx)("div",{children:(0,to.jsx)(Xd,{style:{width:"583px"},...o})});default:return(0,to.jsx)("div",{children:(0,to.jsx)(Vd,{style:{width:"583px"},...o})})}};Sa.options=HN;Sa.states=zN;Sa.variants=UN;Sa.defaultOptions=Jd;Sa.modifiers=FN;Sa.className=$.className;var re=require("react/jsx-runtime"),Yd="k-message",GN=[r.hover,r.selected,r.active,r.focus],VN={},$N=[(0,re.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,re.jsx)(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),(0,re.jsx)(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],ka={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:$N,failed:"Failed to send"},V=e=>{let{time:t=ka.time,text:o=ka.text,content:a,status:n=ka.status,statusIcon:i,toolbarItems:l=ka.toolbarItems,hover:c,selected:u,active:b,focus:x,toolbar:g,typing:m,expandable:L,expanded:M,removed:S,files:E,failed:k,...I}=e,D=k===!0?ka.failed:k;return(0,re.jsxs)("div",{...I,className:s(Yd,e.className,{"k-message-removed":S,"k-message-failed":k}),children:[k&&(0,re.jsx)(J,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,re.jsx)(Zd,{typing:m,selected:u,hover:c,active:b,focus:x,content:(0,re.jsxs)(re.Fragment,{children:[a,o&&(0,re.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:M,files:E}),(0,re.jsxs)("div",{className:"k-message-info",children:[n&&(0,re.jsxs)("span",{className:"k-message-status",children:[i&&(0,re.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,re.jsx)("time",{className:"k-message-time",children:t}),k&&(0,re.jsxs)("span",{className:"k-message-failed-content",children:[k&&(0,re.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),k&&(0,re.jsx)("span",{className:"k-message-failed-text",children:D})]})]}),g&&(0,re.jsx)($,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};V.states=GN;V.options=VN;V.className=Yd;V.moduleName=null;V.folderName=null;V.defaultOptions=ka;var Qr="avatar",Qd=Qr;var ei=require("react/jsx-runtime"),cn="k-avatar";var XN=[r.hover,r.focus,r.active,r.selected,r.disabled],qN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.outline],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},jr={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=jr.type,border:l=jr.border,...c}=e;return(0,ei.jsx)("div",{...c,className:s(e.className,cn,y(cn,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${cn}-bordered`]:l}),children:(0,ei.jsx)("span",{className:`${cn}-${i}`,children:e.children})})};Ge.states=XN;Ge.options=qN;Ge.className=cn;Ge.defaultOptions=jr;Ge.moduleName=Qr;Ge.folderName=Qd;var To=Ge;var ec=require("react/jsx-runtime"),jd=e=>(0,ec.jsx)(To,{type:"icon",...e});var oc=require("react/jsx-runtime"),tc=e=>(0,oc.jsx)(To,{type:"text",...e});var ac=require("react/jsx-runtime"),es=e=>(0,ac.jsx)(To,{type:"image",...e});var WN=require("react/jsx-runtime");var Ca=require("react/jsx-runtime"),JN=Ge.options,YN=Ge.states,ZN={...Ge.defaultOptions,variant:"image"},QN=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],jN=[],Aa=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,Ca.jsx)(jd,{...o,children:(0,Ca.jsx)(v,{icon:"star"})});case"text":return(0,Ca.jsx)(tc,{...o,children:"JO"});default:return(0,Ca.jsx)(es,{...o,children:(0,Ca.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Aa.options=JN;Aa.states=YN;Aa.variants=QN;Aa.defaultOptions=ZN;Aa.modifiers=jN;Aa.className=Ge.className;var Pt=require("react/jsx-runtime"),mn="k-message-group",eh=[r.selected],th={},ts={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},q=e=>{let{type:t=ts.type,author:o=ts.author,avatar:a=ts.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Pt.jsxs)("div",{...c,className:s(mn,e.className,C(mn,{selected:i}),{[`${mn}-${t}`]:t,"k-no-avatar":!a,[`${mn}-full-width`]:l}),children:[a&&!n&&(0,Pt.jsx)(Ge,{type:"image",children:(0,Pt.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Pt.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Pt.jsx)(Ge,{type:"image",children:(0,Pt.jsx)("img",{src:a,alt:o||""})}),(0,Pt.jsx)("div",{className:"k-chat-user-status"})]}),(0,Pt.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Pt.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};q.states=eh;q.options=th;q.className=mn;q.defaultOptions=ts;var Ft=require("react/jsx-runtime"),ti="k-message-reference",oh={},nc={type:"receiver"},fo=e=>{let{content:t,closeable:o,pinned:a,type:n=nc.type,...i}=e;return(0,Ft.jsxs)("div",{...i,className:s(ti,e.className,{[`${ti}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,Ft.jsx)(v,{icon:"pin"}),(0,Ft.jsx)("div",{className:"k-message-reference-content",children:t}),o&&(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsx)("span",{className:"k-spacer"}),(0,Ft.jsx)(p,{icon:"x-circle",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};fo.options=oh;fo.className=ti;fo.moduleName=null;fo.folderName=null;fo.defaultOptions=nc;var oi="bubble",sc=oi;var Oo=require("react/jsx-runtime"),ai="k-bubble",ah=[r.hover,r.active,r.selected,r.focus],ni={expandable:!1,expanded:!1},Bo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=ni.expandable,expanded:c=ni.expanded,...u}=e;return(0,Oo.jsxs)("div",{...u,className:s(e.className,ai,C(ai,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":c}),tabIndex:0,children:[(0,Oo.jsx)("div",{className:"k-bubble-content",children:t??e.children}),l&&(0,Oo.jsx)("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?(0,Oo.jsx)(v,{icon:"chevron-up"}):(0,Oo.jsx)(v,{icon:"chevron-down"})})]})};Bo.states=ah;Bo.className=ai;Bo.defaultOptions=ni;Bo.moduleName=oi;Bo.folderName=sc;var nh=require("react/jsx-runtime");var sh=require("react/jsx-runtime");var rh=require("react/jsx-runtime");var Po=require("react/jsx-runtime"),ih="k-chat-bubble",Zd=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,Po.jsxs)(Bo,{...n,className:s(e.className,ih),children:[t?(0,Po.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,Po.jsx)("span",{}),(0,Po.jsx)("span",{}),(0,Po.jsx)("span",{})]}):o,a]})};var lh=require("react/jsx-runtime");var un=require("react/jsx-runtime"),ic="k-chat-event",si={icon:"trash",text:"You deleted Chat history."},lc=e=>{let{icon:t=si.icon,text:o=si.text,...a}=e;return(0,un.jsxs)("div",{...a,className:s(e.className,ic),children:[t&&(0,un.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,un.jsx)("span",{className:"k-chat-event-text",children:o})]})};lc.className=ic;lc.defaultOptions=si;var ph=require("react/jsx-runtime");var Ve=require("react/jsx-runtime"),pc=e=>(0,Ve.jsx)(X,{children:(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ve.jsx)(q,{children:(0,Ve.jsx)(V,{})}),(0,Ve.jsx)(q,{type:"sender",children:(0,Ve.jsx)(V,{})}),(0,Ve.jsx)(q,{children:(0,Ve.jsx)(V,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ve.jsx)(q,{type:"sender",children:(0,Ve.jsx)(V,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var ri=require("react/jsx-runtime"),os="k-file-box-wrapper",dc={layout:"horizontal"},Gt=e=>{let{layout:t=dc.layout,scrollingPosition:o,...a}=e;return(0,ri.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:s(e.className,os,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${os}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${os}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,ri.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Gt.className=os;Gt.defaultOptions=dc;var ii="file-box",cc=ii;var Vt=require("react/jsx-runtime"),mc="k-file-box",dh=[r.selected],ch={},fn={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},tt=e=>{let{icon:t=fn.icon,name:o=fn.name,size:a=fn.size,status:n,deleted:i,removeButton:l,showButton:c=fn.showButton,...u}=e,b=[o,a].filter(Boolean).join(" ");return(0,Vt.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":b||void 0,...u,className:s(mc,e.className,{"k-file-deleted":i}),children:[(0,Vt.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,Vt.jsxs)("div",{className:"k-file-info",children:[o&&(0,Vt.jsx)("span",{className:"k-file-name",children:o}),a&&(0,Vt.jsx)("span",{className:"k-file-size",children:a}),n&&(0,Vt.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,Vt.jsx)(p,{as:"span",icon:"x-circle",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,Vt.jsx)(F,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};tt.states=dh;tt.options=ch;tt.className=mc;tt.defaultOptions=fn;tt.moduleName=ii;tt.folderName=cc;var mh=require("react/jsx-runtime");var uh=require("react/jsx-runtime");var uc=require("react/jsx-runtime");var fc=require("react/jsx-runtime");var fh=require("react/jsx-runtime");var li=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var di=require("react/jsx-runtime");var ci="window",bc=ci;var Nc=require("react/jsx-runtime"),xc="k-window-content",bh=[],xh={},Nh={},bo=e=>{let{children:t,...o}=e;return(0,Nc.jsx)("div",{...o,className:s(xc,e.className),children:t})};bo.states=bh;bo.options=xh;bo.className=xc;bo.defaultOptions=Nh;bo.moduleName=ci;bo.folderName=bc;var bn="dialog",as=bn;var ot=require("react/jsx-runtime"),hc="k-dialog",hh=[],vh={},mi={actionButtonsAlign:"stretched",modal:!0},ct=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=mi.actionButtonsAlign,modal:i=mi.modal,...l}=e,c=t!==void 0?K("dialog-titlebar"):void 0,u=K("dialog-content");return(0,ot.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,ot.jsx)(Dt,{}),(0,ot.jsxs)("div",{...l,className:s(e.className,hc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,ot.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,ot.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,ot.jsx)(ot.Fragment,{children:(0,ot.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(b=>(0,ot.jsx)(p,{icon:b,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":b},b))})})]}),(0,ot.jsx)(bo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,ot.jsx)(rt,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};ct.states=hh;ct.options=vh;ct.className=hc;ct.defaultOptions=mi;ct.moduleName=bn;ct.folderName=as;var ui=ct;var gc=require("react/jsx-runtime"),vc="k-dialog-wrapper",gh=[],Lh={},Mh={},Ea=e=>{let{...t}=e;return(0,gc.jsx)("div",{...t,className:s(e.className,vc),children:e.children})};Ea.states=gh;Ea.options=Lh;Ea.className=vc;Ea.defaultOptions=Mh;Ea.moduleName=bn;Ea.folderName=as;var $t=require("react/jsx-runtime"),Lc=e=>(0,$t.jsx)(ui,{title:"Title",children:(0,$t.jsx)($t.Fragment,{children:"Dialog content"}),actionButtons:(0,$t.jsxs)($t.Fragment,{children:[(0,$t.jsx)(p,{children:"Action"}),(0,$t.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var fi=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Sh=ct.options,kh=[],Ch=ct.states,Ah=ct.defaultOptions,Eh=[],ya=e=>(0,oo.jsx)(Lc,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:(0,oo.jsxs)(oo.Fragment,{children:[(0,oo.jsx)(p,{children:"No"}),(0,oo.jsx)(p,{themeColor:"primary",children:"Yes"})]}),children:(0,oo.jsx)("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});ya.options=Sh;ya.states=Ch;ya.variants=kh;ya.defaultOptions=Ah;ya.modifiers=Eh;ya.className=ct.className;var bi="dropzone",Mc=bi;var Ko=require("react/jsx-runtime"),xi="k-external-dropzone",yh=[r.disabled,r.hover],Ih={},Ni={icon:"upload",hint:"Drag and drop files here to upload"},$e=e=>{let{hover:t,disabled:o,icon:a=Ni.icon,hint:n=Ni.hint,note:i,...l}=e;return(0,Ko.jsx)("div",{...l,className:s(e.className,xi,C(xi,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Ko.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Ko.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Ko.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Ko.jsx)("span",{className:"k-dropzone-note",children:i})]})})};$e.states=yh;$e.options=Ih;$e.className=xi;$e.defaultOptions=Ni;$e.moduleName=bi;$e.folderName=Mc;var kc=require("react/jsx-runtime"),Sc=e=>(0,kc.jsx)($e,{...e});var Th=require("react/jsx-runtime");var Cc=require("react/jsx-runtime"),Oh=$e.options,Bh=$e.states,Ph=$e.defaultOptions,Kh=[{name:"note",title:"Note"}],Rh=[],Ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t!=null&&t[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,Cc.jsx)(Sc,{style:{width:"500px"},...o,...a})};Ia.options=Oh;Ia.states=Bh;Ia.variants=Rh;Ia.defaultOptions=Ph;Ia.modifiers=Kh;Ia.className=$e.className;var ie=require("react/jsx-runtime"),hi="k-upload-dropzone",_h=[r.hover],ns=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,buttonText:l="Select files...",...c}=e,u;switch(o){case"uploading":u=(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":u=(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":u=(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:u=(0,ie.jsx)(ie.Fragment,{});break}return(0,ie.jsxs)("div",{...c,className:s(e.className,hi,"k-dropzone",C(hi,{hover:t})),children:[(0,ie.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,ie.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:l}),(0,ie.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,ie.jsx)("span",{className:s("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,ie.jsx)("span",{className:"k-upload-status",children:u})]})};ns.states=_h;ns.className=hi;var vi="upload",Ac=vi;var xo=require("react/jsx-runtime"),gi="k-upload",wh=[r.hover,r.disabled],Dh={},yc={actionsLayout:"end"},Ec="upload-files-list",ce=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=yc.actionsLayout,hover:i,status:l,disabled:c,buttonText:u,...b}=e,x=!!e.children;return(0,xo.jsxs)("div",{...b,className:s(e.className,gi,C(gi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,xo.jsx)(ns,{status:l,hover:i,disabled:c,hasFiles:x,filesId:Ec,buttonText:u}),x&&(0,xo.jsx)("ul",{className:"k-upload-files",role:"list",id:Ec,children:e.children}),a&&x&&(0,xo.jsxs)(_l,{alignment:n,orientation:"horizontal",children:[(0,xo.jsx)(p,{className:"k-clear-selected",children:"Clear"}),(0,xo.jsx)(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ce.states=wh;ce.options=Dh;ce.className=gi;ce.defaultOptions=yc;ce.moduleName=vi;ce.folderName=Ac;var xn="progressbar",ss=xn;var No=require("react/jsx-runtime"),Mt="k-progressbar",Hh=[r.disabled,r.indeterminate],zh={orientation:["horizontal","vertical"]},Ro={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Xe=e=>{let{disabled:t,height:o,indeterminate:a=Ro.indeterminate,label:n=Ro.label,labelPosition:i=Ro.labelPosition,orientation:l=Ro.orientation,reverse:c=Ro.reverse,value:u=Ro.value,width:b,style:x,ariaLabel:g,...m}=e;return(0,No.jsxs)("div",{...m,className:s(e.className,Mt,C(Mt,{disabled:t}),{[`${Mt}-${l}`]:l,[`${Mt}-indeterminate`]:a,[`${Mt}-reverse`]:c}),style:{...x,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:b},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,No.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,No.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,No.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,No.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,No.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Xe.states=Hh;Xe.options=zh;Xe.className=Mt;Xe.defaultOptions=Ro;Xe.moduleName=xn;Xe.folderName=ss;var Ic=Xe;var is=require("react/jsx-runtime"),Tc="k-chunk-progressbar",Uh=(e,t)=>t<=e-1,Fh=[r.disabled,r.indeterminate],Gh={},rs={chunkCount:5,orientation:"horizontal",progress:0},Ta=e=>{let{disabled:t,chunkCount:o=rs.chunkCount,indeterminate:a,orientation:n=rs.orientation,progress:i=rs.progress,reverse:l,ariaLabel:c,...u}=e;return(0,is.jsx)("div",{...u,className:s(e.className,Mt,Tc,C(Mt,{disabled:t}),{[`${Mt}-${n}`]:n,[`${Mt}-indeterminate`]:a,[`${Mt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,is.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>(0,is.jsx)("li",{className:s("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":Uh(i,x)})},x))})})};Ta.states=Fh;Ta.options=Gh;Ta.className=Tc;Ta.defaultOptions=rs;Ta.moduleName=xn;Ta.folderName=ss;var Oc=require("react/jsx-runtime"),Nn=e=>(0,Oc.jsx)(Ic,{...e});var Vh=require("react/jsx-runtime");var ao=require("react/jsx-runtime"),$h=Xe.options,Xh=Xe.states,Bc={...Xe.defaultOptions,variant:"start"},qh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Wh=[],Oa=e=>{let{variant:t,modifiers:o,...a}={...Bc,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!(o!=null&&o[l]);break;case"vertical":n.orientation=o!=null&&o[l]?"vertical":void 0,i.style=o!=null&&o[l]?void 0:{width:"324px"};break}}),t){case"end":return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,label:!1,value:"50"})});default:return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,labelPosition:"start",value:"50"})})}};Oa.options=$h;Oa.states=Xh;Oa.variants=qh;Oa.defaultOptions=Bc;Oa.modifiers=Wh;Oa.className=Xe.className;var Ba=require("react/jsx-runtime"),Jh="k-file-info",Li=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ba.jsxs)("div",{...n,className:s(e.className,Jh),children:[t&&(0,Ba.jsx)("span",{className:"k-file-name",children:t}),o&&(0,Ba.jsx)("span",{className:"k-file-size",children:o}),a&&(0,Ba.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var ke=require("react/jsx-runtime"),Yh="k-file",at=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,ke.jsx)("li",{...u,className:s(e.className,Yh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,ke.jsxs)("div",{className:"k-file-single",children:[(0,ke.jsx)(Xe,{className:s({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,ke.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,ke.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,ke.jsx)("span",{className:"k-file-state",children:l})]}),(0,ke.jsx)(Li,{name:a,size:i,validationMsg:c}),(0,ke.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,ke.jsxs)(ke.Fragment,{children:[(0,ke.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,ke.jsx)(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,ke.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,ke.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var Mi=require("react/jsx-runtime");var ho=require("react/jsx-runtime"),hn=e=>(0,ho.jsx)(ce,{async:!0,children:(0,ho.jsxs)(ho.Fragment,{children:[(0,ho.jsx)(at,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,ho.jsx)(at,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var Si=require("react/jsx-runtime");var Kc=require("react/jsx-runtime"),Pc=e=>(0,Kc.jsx)(ce,{async:!0,empty:!0,...e});var ki=require("react/jsx-runtime");var Ci=require("react/jsx-runtime");var qe=require("react/jsx-runtime"),Zh=ce.options,Qh=ce.states,Rc={...ce.defaultOptions,variant:"empty"},jh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],ev=[],Pa=e=>{let{variant:t,...o}={...Rc,...e};switch(t){case"success":return(0,qe.jsxs)(hn,{status:"done",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,qe.jsx)(at,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,qe.jsxs)(hn,{status:"failed",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,qe.jsx)(at,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,qe.jsxs)(hn,{status:"uploading",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,qe.jsx)(at,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,qe.jsxs)(hn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,qe.jsx)(at,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,qe.jsx)(Pc,{async:!0,status:"upload",style:{width:"586px"},...o})}};Pa.options=Zh;Pa.states=Qh;Pa.variants=jh;Pa.defaultOptions=Rc;Pa.modifiers=ev;Pa.className=ce.className;var Ai=require("react/jsx-runtime");var tv=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var yi=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var _c=require("react/jsx-runtime");var Ti="appbar",wc=Ti;var Dc=require("react/jsx-runtime"),Oi="k-appbar",ov=[],av={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.inverse]},nv={},We=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Dc.jsx)("div",{...n,className:s(e.className,Oi,y(Oi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};We.states=ov;We.options=av;We.className=Oi;We.defaultOptions=nv;We.moduleName=Ti;We.folderName=wc;var Hc=require("react/jsx-runtime"),sv="k-appbar-section",Xt=e=>{let{...t}=e;return(0,Hc.jsx)("div",{...t,className:s(sv,e.className),children:e.children})};var Bi=require("react/jsx-runtime");var H=require("react/jsx-runtime"),Pi={...We.options,positionMode:["static","sticky","fixed"]},rv=We.states,zc={...We.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};Pi.themeColor=["primary",...Pi.themeColor.filter(e=>e!=="primary")];var iv=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Ka=e=>{let{variant:t,...o}={...zc,...e},a=(0,H.jsxs)(We,{position:t,...o,children:[(0,H.jsx)(Xt,{children:(0,H.jsx)(J,{fillMode:"flat",icon:"menu"})}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)(Xt,{children:(0,H.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,H.jsx)("span",{className:"k-spacer"}),(0,H.jsxs)(Xt,{children:[(0,H.jsx)(At,{fillMode:"flat",children:"Button"}),(0,H.jsx)(At,{fillMode:"flat",children:"Button"}),(0,H.jsx)(At,{fillMode:"flat",children:"Button"})]}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)(Xt,{children:(0,H.jsx)(Pn,{value:"Input value"})}),(0,H.jsxs)(Xt,{children:[(0,H.jsx)(J,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,H.jsx)("span",{className:"k-appbar-separator"}),(0,H.jsx)(es,{className:"k-mx-sm",children:(0,H.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,H.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,H.jsx)("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!"}),(0,H.jsx)("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?"}),(0,H.jsx)("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!"}),(0,H.jsx)("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"?(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Ka.options=Pi;Ka.states=rv;Ka.variants=iv;Ka.defaultOptions=zc;Ka.modifiers=[];Ka.className=We.className;var Ki="suggestion",Uc=Ki;var _o=require("react/jsx-runtime"),ls="k-suggestion-group",lv=[],pv={},Fc={layout:"scrollable",scrollingPosition:"start"},St=e=>{let{layout:t=Fc.layout,scrollingPosition:o,...a}=e,n=(0,_o.jsx)("div",{...a,className:s(ls,{"k-suggestion-group-scrollable":t=="scrollable",[`${ls}-scrollable-start`]:o==="start"||o==="both",[`${ls}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?(0,_o.jsx)("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?(0,_o.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,_o.jsx)(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,(0,_o.jsx)(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};St.states=lv;St.options=pv;St.className=ls;St.defaultOptions=Fc;St.moduleName=Ki;St.folderName=Uc;var Gc=require("react/jsx-runtime"),ps="k-suggestion",dv=[r.active,r.hover,r.focus],cv={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},mv={text:"Suggestion"},kt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...l}=e;return(0,Gc.jsx)("span",{...l,className:s(e.className,ps,C(ps,{hover:a,active:o,focus:n}),y(ps,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};kt.states=dv;kt.options=cv;kt.className=ps;kt.item=mv;var Ri=require("react/jsx-runtime");var _i=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var z=require("react/jsx-runtime"),uv=X.states,fv=X.defaultOptions,bv=X.options,xv=[{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"}],Nv=[],Ra=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,z.jsxs)(We,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,z.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,z.jsx)(Xt,{children:(0,z.jsx)("span",{children:"Chat with demo bot"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsx)(Xt,{children:(0,z.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,z.jsx)(fo,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,z.jsxs)(St,{children:[(0,z.jsx)(kt,{text:"Provide a CV template"}),(0,z.jsx)(kt,{text:"Generate a cover letter"})]}),c=(0,z.jsxs)(St,{children:[(0,z.jsx)(kt,{themeColor:"primary",text:"Thank you!"}),(0,z.jsx)(kt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",b=null,x="User",g="Demo Bot";Object.keys(t||{}).forEach(I=>{switch(I){case"header":a.header=t!=null&&t[I]?n:!1;break;case"pinned":a.pinned=t!=null&&t[I]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[I]?l:!1;break;case"author":a.author=t!=null&&t[I]?!0:null;break;case"avatar":a.avatar=t!=null&&t[I]?u:null;break;case"quick":a.quickReplies=t!=null&&t[I]?c:(0,z.jsx)(z.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:M,author:S,avatar:E,quickReplies:k}=a;return(0,z.jsxs)(pc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:M,children:[(0,z.jsx)(q,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,z.jsx)(q,{avatar:E?u:null,author:S?x:null,type:"sender",children:(0,z.jsx)(V,{text:"Hello! Generate a cover letter."})}),(0,z.jsx)(q,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Sure. Here is a cover letter template",files:(0,z.jsx)(Gt,{children:(0,z.jsx)(tt,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),k]})};Ra.options=bv;Ra.states=uv;Ra.variants=Nv;Ra.defaultOptions=fv;Ra.modifiers=xv;Ra.className=X.className;var Di="skeleton",Vc=Di;var $c=require("react/jsx-runtime"),Hi="k-skeleton",hv=["circle","text","rect"],vv=[],gv={},zi={variant:"text",shape:"text",animation:"pulse"},Ct=e=>{let{variant:t,shape:o,animation:a=zi.animation,...n}=e,i=`skeleton-${t||o||zi.variant}`;return(0,$c.jsx)("span",{...n,className:s(e.className,Hi,gn(Hi,i),{[`k-skeleton-${a}`]:a}),style:e.style})};Ct.states=vv;Ct.options=gv;Ct.variants=hv;Ct.className=Hi;Ct.defaultOptions=zi;Ct.moduleName=Di;Ct.folderName=Vc;var Xc=require("react/jsx-runtime"),wo=e=>(0,Xc.jsx)(Ct,{...e});var Wc=require("react/jsx-runtime"),qc=e=>(0,Wc.jsx)(Ct,{shape:"rect",...e});var Lv=require("react/jsx-runtime");var te=require("react/jsx-runtime"),Mv=e=>(0,te.jsx)(X,{children:(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,te.jsx)(q,{fullWidth:!0,children:(0,te.jsx)(V,{text:null,content:(0,te.jsxs)("div",{className:"k-skeleton-container",style:{width:"100%"},children:[(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"75%"}})]})})}),(0,te.jsx)(q,{type:"sender",fullWidth:!0,avatar:null,children:(0,te.jsx)(V,{text:null,content:(0,te.jsxs)("div",{className:"k-skeleton-container",style:{width:"100%",display:"flex",alignItems:"center",gap:"var( --kendo-spacing-1 )"},children:[(0,te.jsx)(qc,{style:{width:"32px",height:"32px"}}),(0,te.jsxs)("div",{style:{flex:"1 1 50%"},children:[(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"50%"}})]})]})})})]}),...e});
|
|
1
|
+
var Jc=Object.create;var vn=Object.defineProperty;var Yc=Object.getOwnPropertyDescriptor;var Zc=Object.getOwnPropertyNames;var Qc=Object.getPrototypeOf,jc=Object.prototype.hasOwnProperty;var em=(e,t)=>{for(var o in t)vn(e,o,{get:t[o],enumerable:!0})},Fi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Zc(t))!jc.call(e,n)&&n!==o&&vn(e,n,{get:()=>t[n],enumerable:!(a=Yc(t,n))||a.enumerable});return e};var Gi=(e,t,o)=>(o=e!=null?Jc(Qc(e)):{},Fi(t||!e||!e.__esModule?vn(o,"default",{value:e,enumerable:!0}):o,e)),tm=e=>Fi(vn({},"__esModule",{value:!0}),e);var Sv={};em(Sv,{ChatMessageSkeleton:()=>Mv});module.exports=tm(Sv);var s=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?s(...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 y=(e,t)=>s({[`${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"}),C=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:b,indeterminate:x,loading:g,empty:m,readonly:L,highlighted:M,...S}=t;return s({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":b,"k-indeterminate":x&&!l,"k-loading":g,"k-empty":m,"k-readonly":L,"k-highlighted":M},Object.keys(S).reduce((E,k)=>(k.startsWith("k-")?E[k]=S[k]:E[`k-${k}`]=S[k],E),{}))};function gn(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"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},N={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},Kt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},h={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 us={};function K(e){return us[e]=(us[e]||0)+1,`k-${e}-${us[e]}`}var Da=require("react/jsx-runtime"),fs="k-font-icon",om=[],am={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info]},nm={},Ha=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,Da.jsx)("span",{...l,className:s(e.className,fs,y(fs,{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"}):(0,Da.jsx)(Da.Fragment,{})};Ha.states=om;Ha.options=am;Ha.className=fs;Ha.defaultOptions=nm;var Vi=Ha;var Lo=require("react/jsx-runtime"),bs="k-svg-icon",sm=[],rm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Kt.outline,Kt.solid,Kt.duotone]},xs={viewBox:"0 0 24 24",variant:Kt.outline},za=e=>{var g,m;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=xs.viewBox,variant:l=xs.variant,icon:c,...u}=e;if(!c)return(0,Lo.jsx)(Lo.Fragment,{});if(c==="none")return(0,Lo.jsx)("span",{...u,className:s(e.className,bs,y("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof c=="object"&&c.name&&c.name,x=typeof c=="object"?l&&((g=c.variants)==null?void 0:g[l])||((m=c.variants)==null?void 0:m.outline)||c.content:void 0;return(0,Lo.jsx)("span",{...u,className:s(e.className,bs,y("k-icon",{size:t}),{[`k-svg-i-${b}`]:b,[`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:(0,Lo.jsx)("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})})};za.states=sm;za.options=rm;za.className=bs;za.defaultOptions=xs;var Ns=za;var hs=Gi(require("@progress/kendo-svg-icons"));var $i="icon",Xi="icons";var Ji=require("react");var qi=require("react"),Wi=(0,qi.createContext)({iconsType:"svg"});var qt=require("react/jsx-runtime"),Ln="k-icon",im=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),lm=[],pm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info],variant:[Kt.outline,Kt.solid,Kt.duotone]},Mn={viewBox:"0 0 24 24",type:"svg",variant:Kt.outline},v=e=>{let{iconsType:t}=(0,Ji.useContext)(Wi),{size:o,themeColor:a,icon:n,type:i=t||Mn.type,rotate:l,flip:c,viewBox:u=Mn.viewBox,variant:b=Mn.variant,...x}=e;if(!n)return(0,qt.jsx)(qt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,qt.jsx)(Ns,{...x,className:s(e.className,Ln),icon:n,size:o,variant:b});let m=hs[n]?n:im(`${n}-icon`);return hs[m]?(0,qt.jsx)(Ns,{...x,className:s(e.className,Ln),icon:hs[m],size:o,themeColor:a,rotate:l,flip:c,viewBox:u,variant:b}):(0,qt.jsx)(qt.Fragment,{})}return(0,qt.jsx)(Vi,{...x,className:s(e.className,Ln),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=lm;v.options=pm;v.defaultOptions=Mn;v.className=Ln;v.moduleName=$i;v.folderName=Xi;var vs="button",Yi=vs;var Ae=require("react/jsx-runtime"),Ua="k-button",dm=["icon-button"],cm=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],mm={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},gs={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=gs.showArrow,arrowIconName:c=gs.arrowIconName,variant:u,hover:b,focus:x,active:g,selected:m,disabled:L,togglable:M,ariaDisabled:S,icon:E,endIcon:k,iconSize:I,text:D,iconClassName:fe,className:Je,...Ce}=e,Ke=E!=null,_a=e.children!==void 0;return(0,Ae.jsxs)(t,{className:s(Je,Ua,gn(Ua,u),y(Ua,{size:o,rounded:a,fillMode:n,themeColor:i}),C(Ua,{hover:b,focus:x,active:g,disabled:L||S,selected:m}),{"k-icon-button":!D&&!_a&&Ke}),"aria-pressed":M?m?"true":"false":void 0,...Ce,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof E=="string"&&E&&(0,Ae.jsx)(v,{className:s(fe,"k-button-icon"),icon:E,size:I}),E&&typeof E!="string"&&(0,Ae.jsx)(Ae.Fragment,{children:E}),D?(0,Ae.jsxs)(Ae.Fragment,{children:[D&&(0,Ae.jsx)("span",{className:"k-button-text",children:D}),e.children]}):e.children&&(0,Ae.jsx)("span",{className:"k-button-text",children:e.children}),typeof k=="string"&&k&&(0,Ae.jsx)(v,{className:s(fe,"k-button-icon"),icon:k,size:I}),k&&typeof k!="string"&&(0,Ae.jsx)(Ae.Fragment,{children:k}),l&&(0,Ae.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Ae.jsx)(v,{icon:c})})]})};p.states=cm;p.options=mm;p.variants=dm;p.className=Ua;p.defaultOptions=gs;p.moduleName=vs;p.folderName=Yi;var Zi=require("react/jsx-runtime"),J=e=>(0,Zi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Qi=require("react/jsx-runtime"),Fa=e=>(0,Qi.jsx)(p,{icon:"folder",children:"Button",...e});var um=require("react/jsx-runtime");var ji=require("react/jsx-runtime"),At=e=>(0,ji.jsx)(p,{children:"Button",...e});var Sn=require("react/jsx-runtime"),fm=p.options,bm=p.states,xm={...p.defaultOptions,variant:"text"},Nm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hm=[],Do=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Sn.jsx)(J,{...o,icon:"star"});case"icon-and-text":return(0,Sn.jsx)(Fa,{...o,icon:"star",children:"Button"});default:return(0,Sn.jsx)(At,{...o,children:"Button"})}};Do.options=fm;Do.states=bm;Do.variants=Nm;Do.defaultOptions=xm;Do.modifiers=hm;Do.className=p.className;var Ga=require("react/jsx-runtime"),kn="k-fab",Lm=[r.hover,r.focus,r.active,r.selected,r.disabled],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},el={type:"button"},le=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=el.type,position:c,hover:u,focus:b,active:x,selected:g,disabled:m,...L}=e;return(0,Ga.jsxs)("button",{...L,type:l,className:s(e.className,kn,y(kn,{size:t,rounded:o,themeColor:a}),C(kn,{hover:u,focus:b,active:x,disabled:m,selected:g}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&(0,Ga.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,Ga.jsx)("span",{className:"k-fab-text",children:n})]})};le.states=Lm;le.options=Mm;le.className=kn;le.defaultOptions=el;le.moduleName="fab";le.folderName="fab";var ol=require("react/jsx-runtime"),Sm="k-fab-items",tl=e=>{let{position:t,...o}=e;return(0,ol.jsx)("ul",{...o,className:s(e.className,Sm,{[`k-fab-items-${t}`]:t}),children:e.children})};var Va=require("react/jsx-runtime"),al="k-fab-item",km=[r.hover,r.focus,r.active,r.disabled],Ls=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,Va.jsxs)("li",{...u,className:s(e.className,al,{[`k-text-${a}`]:a},C(al,{hover:n,focus:i,active:l,disabled:c})),children:[(0,Va.jsx)("span",{className:"k-fab-item-text",children:t}),(0,Va.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};Ls.states=km;var Cm=require("react/jsx-runtime");var sl=require("react/jsx-runtime"),nl=e=>(0,sl.jsx)(le,{icon:"plus",...e});var Am=require("react/jsx-runtime");var Em=require("react/jsx-runtime");var Wt=require("react/jsx-runtime"),ym=le.options,Im=le.states,Tm={...le.defaultOptions,variant:"text"},Om=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Bm=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,Wt.jsx)("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:(0,Wt.jsx)(tl,{position:"bottom",children:(0,Wt.jsx)(Ls,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,Wt.jsx)(le,{...a,icon:"star"});break;case"icon-and-text":l=(0,Wt.jsx)(le,{...a,icon:"star",text:"Action"});break;default:l=(0,Wt.jsx)(le,{...a,text:"Action"});break}return(0,Wt.jsxs)("span",{style:{position:"relative"},children:[l,i]})};Ho.options=ym;Ho.states=Im;Ho.variants=Om;Ho.defaultOptions=Tm;Ho.modifiers=Bm;Ho.className=le.className;var rl=require("react/jsx-runtime"),Ms="k-input-inner",Pm=[],Km={},Cn={type:"text",autocomplete:"off",value:"",placeholder:""},Re=e=>{let{value:t=Cn.value,type:o=Cn.type,placeholder:a=Cn.placeholder,autocomplete:n=Cn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,rl.jsx)("input",{...c,type:o,className:s(e.className,Ms,y(Ms,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};Re.states=Pm;Re.options=Km;Re.className=Ms;var ll=require("react/jsx-runtime"),Ss="k-input-inner",Rm=[],_m={},il={value:"",placeholder:""},$a=e=>{let{value:t=il.value,placeholder:o=il.placeholder,rows:a,disabled:n,...i}=e;return(0,ll.jsx)("textarea",{...i,className:s(e.className,Ss,y(Ss,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};$a.states=Rm;$a.options=_m;$a.className=Ss;var ks="prompt-box",pl=ks;var Cs="speech-to-text-button",dl=Cs;var ul=require("react/jsx-runtime"),cl="k-speech-to-text-button",ml={icon:"microphone"},nt=e=>{let{listening:t=!1,icon:o=ml.icon,...a}=e;return(0,ul.jsx)(p,{...a,icon:t?"stop":o,className:s(e.className,cl,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};nt.states=p.states;nt.options=p.options;nt.className=cl;nt.defaultOptions=ml;nt.moduleName=Cs;nt.folderName=dl;var wm=require("react/jsx-runtime");var Dm=require("react/jsx-runtime");var bl=require("react/jsx-runtime"),Hm=p.states,fl={...p.defaultOptions,variant:"normal"},zm={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Um=[],Fm=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],zo=e=>{let{variant:t,...o}={...fl,...e},a={};return t==="listening"&&(a.listening=!0),(0,bl.jsx)(nt,{...o,...a})};zo.options=zm;zo.states=Hm;zo.variants=Fm;zo.defaultOptions=fl;zo.modifiers=Um;zo.className=nt.className;var mt=require("react/jsx-runtime"),Rt="k-prompt-box",Gm=[r.hover,r.focus,r.disabled],Vm={fillMode:[N.undefined,N.solid,N.flat,N.outline]},As={lineMode:"auto",isExpanded:!1},_e=e=>{let{fillMode:t,lineMode:o=As.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=As.isExpanded,className:c,children:u,value:b,placeholder:x,generating:g,actionButtonConfig:m,speechToTextButtonConfig:L,uploadButtonConfig:M,hover:S,focus:E,disabled:k,...I}=e,D=o==="multi"||o==="auto"&&l;return(0,mt.jsxs)("div",{...I,className:s(c,"k-input",Rt,{[`${Rt}-singleline`]:o==="single",[`${Rt}-multiline`]:D,[`k-input-${t}`]:t,"k-hover":S,"k-focus":E,"k-disabled":k}),children:[i&&(0,mt.jsx)("div",{className:`${Rt}-header`,children:i}),(0,mt.jsxs)("div",{className:`${Rt}-content`,children:[a&&(0,mt.jsx)("div",{className:`${Rt}-affix`,children:a}),o==="single"?(0,mt.jsx)(Re,{value:b,placeholder:x,className:`${Rt}-input`,type:"text","aria-label":"Prompt input"}):(0,mt.jsx)($a,{value:b,placeholder:x,className:`${Rt}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,mt.jsxs)("div",{className:`${Rt}-affix`,children:[n,M&&(0,mt.jsx)(J,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...M}),L!==!1&&(0,mt.jsx)(nt,{size:"small",fillMode:"flat",rounded:"full",...L}),(0,mt.jsx)(J,{icon:g?"stop":"arrow-up",size:"small",rounded:"full",active:g,disabled:!b&&!g,"aria-label":g?"Stop generating":"Send prompt","aria-live":"polite",...m,className:s({"k-generating":g},m==null?void 0:m.className)})]})]}),u]})};_e.states=Gm;_e.options=Vm;_e.className=Rt;_e.defaultOptions=As;_e.moduleName=ks;_e.folderName=pl;var $m=require("react/jsx-runtime");var Xm=require("react/jsx-runtime");var qm=require("react/jsx-runtime");var Wm=require("react/jsx-runtime");var Jm=require("react/jsx-runtime");var we=require("react/jsx-runtime"),Ym=_e.options,Zm=_e.states,Qm={..._e.defaultOptions,variant:"Single"},jm=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],eu=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],Uo=e=>{let{variant:t,modifiers:o,...a}=e,n={},i=(0,we.jsx)(we.Fragment,{children:(0,we.jsx)(J,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(l=>{switch(l){case"header":n.header=o!=null&&o[l]?(0,we.jsx)(p,{children:"Button in header"}):void 0;break;case"endAffix":o!=null&&o[l]&&(n.endAffix=(0,we.jsxs)(we.Fragment,{children:[i,(0,we.jsx)(J,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":n.startAffix=o!=null&&o[l]?(0,we.jsx)(we.Fragment,{children:(0,we.jsx)(J,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?(0,we.jsx)(_e,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...a,...n}):(0,we.jsx)(_e,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...a,...n})};Uo.options=Ym;Uo.states=Zm;Uo.variants=jm;Uo.defaultOptions=Qm;Uo.modifiers=eu;Uo.className=_e.className;var Es="chat",xl=Es;var be=require("react/jsx-runtime"),Nl="k-chat",tu=[],ou={},au=(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)(J,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,be.jsx)("div",{className:"k-spacer"})]}),hl={tools:au},X=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=hl.tools,value:b,empty:x,scrollToBottom:g,scrollbar:m,promptBoxProps:L,...M}=e;return(0,be.jsxs)("div",{...M,className:s(Nl,e.className),dir:o,children:[t,(0,be.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,be.jsx)("div",{className:s("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),g&&(0,be.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,be.jsx)(nl,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&(0,be.jsx)("div",{className:"k-separator"}),(0,be.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,be.jsx)(_e,{lineMode:"multi",placeholder:"Type a message",generating:c,value:b,header:n||l?(0,be.jsxs)(be.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};X.states=tu;X.options=ou;X.className=Nl;X.defaultOptions=hl;X.moduleName=Es;X.folderName=xl;var ys="button",vl=ys;var gl=require("react/jsx-runtime"),Xa="k-button-group",nu=[r.disabled],su={fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},ru={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,gl.jsx)("div",{role:"group",...n,className:s(e.className,Xa,y(Xa,{fillMode:t}),C(Xa,{disabled:o}),{[`${Xa}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=nu;B.options=su;B.className=Xa;B.defaultOptions=ru;B.moduleName=ys;B.folderName=vl;var Is=require("react/jsx-runtime");var Ts=require("react/jsx-runtime");var Os=require("react/jsx-runtime");var Bs=require("react/jsx-runtime");var Ps=require("react/jsx-runtime");var Ks=require("react/jsx-runtime");var Rs=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),iu={...p.options,...B.options},lu=p.states,pu={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},du=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],cu=[],Fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ye.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(p,{...a,icon:"star"}),(0,Ye.jsx)(p,{...a,icon:"star"}),(0,Ye.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ye.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(p,{...a,icon:"star",children:"First"}),(0,Ye.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,Ye.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,Ye.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,Ye.jsx)(p,{...a,children:"First"}),(0,Ye.jsx)(p,{...a,children:"Middle"}),(0,Ye.jsx)(p,{...a,children:"Last"})]})};Fo.options=iu;Fo.states=lu;Fo.variants=du;Fo.defaultOptions=pu;Fo.modifiers=cu;Fo.className=B.className;var qa="input",En=qa;var Ll=require("react/jsx-runtime"),yn="k-input",mu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],uu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},fu={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,Ll.jsx)("span",{...g,className:s(e.className,yn,y(yn,{size:u,rounded:b,fillMode:x}),C(yn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};oe.states=mu;oe.options=uu;oe.className=yn;oe.defaultOptions=fu;oe.moduleName=qa;oe.folderName=En;var Ml=require("react/jsx-runtime"),In="k-picker",bu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],xu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Nu={},_t=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:b,fillMode:x,...g}=e;return(0,Ml.jsx)("span",{...g,className:s(e.className,In,y(In,{size:u,rounded:b,fillMode:x}),C(In,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};_t.states=bu;_t.options=xu;_t.className=In;_t.defaultOptions=Nu;_t.moduleName=qa;_t.folderName=En;var Go=require("react/jsx-runtime"),Sl="k-clear-value",hu=[r.disabled,r.loading,r.readonly],vu={},st=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Go.jsx)(Go.Fragment,{}):(0,Go.jsx)("span",{className:s(e.className,Sl),children:(0,Go.jsx)(v,{icon:"x"})})};st.states=hu;st.options=vu;st.className=Sl;var Wa=require("react/jsx-runtime"),_s="k-input-inner",gu=[],Lu={},Mo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,Wa.jsxs)("span",{...l,className:s(e.className,_s,y(_s,e)),children:[n,!n&&i&&(0,Wa.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,Wa.jsx)("span",{className:"k-input-value-text",children:t})]})};Mo.states=gu;Mo.options=Lu;Mo.className=_s;var Ja=require("react/jsx-runtime"),kl="k-input-loading-icon",Mu=[r.disabled,r.loading],Ze=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Ja.jsx)(Ja.Fragment,{}):(0,Ja.jsx)("span",{className:s(e.className,kl,"k-icon k-i-loading")})};Ze.states=Mu;Ze.className=kl;var Ya=require("react/jsx-runtime"),Cl="k-input-validation-icon",Su=[r.valid,r.invalid,r.disabled,r.loading],ku={},De=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Ya.jsx)(Ya.Fragment,{}):(0,Ya.jsx)(v,{className:s(Cl),icon:i})};De.states=Su;De.options=ku;De.className=Cl;var Za=require("react/jsx-runtime"),Cu="k-input-prefix",Au={direction:"horizontal"},ut=e=>{let{direction:t=Au.direction,...o}=e;return e.children?(0,Za.jsx)("span",{...o,className:s(Cu,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Za.jsx)(Za.Fragment,{})};var Qa=require("react/jsx-runtime"),Eu="k-input-suffix",yu={direction:"horizontal"},ft=e=>{let{direction:t=yu.direction,...o}=e;return e.children?(0,Qa.jsx)("span",{...o,className:s(Eu,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Qa.jsx)(Qa.Fragment,{})};var Iu=require("react/jsx-runtime");var Al=require("react/jsx-runtime"),Tu="k-input-suffix-text",ws=e=>{let{children:t,...o}=e;return(0,Al.jsx)("span",{...o,className:s(Tu,e.className),children:t})};var yl=require("react/jsx-runtime"),El="k-input-separator",Ou={direction:"vertical"},bt=e=>{let{direction:t=Ou.direction,...o}=e;return(0,yl.jsx)("span",{...o,className:s(El,e.className,{[`${El}-${t}`]:t})})};var me=require("react/jsx-runtime"),Bu=oe.states,Pu=oe.defaultOptions,Ku=oe.options,Ru=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],_u=[],Vo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,b=t==null?void 0:t.suffix,x=t==null?void 0:t["clear-button"],g=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,me.jsxs)(oe,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,me.jsxs)(me.Fragment,{children:[(0,me.jsx)(ut,{children:(0,me.jsx)(v,{icon:"lock"})}),m&&(0,me.jsx)(bt,{})]}),(0,me.jsx)(Re,{placeholder:"Placeholder",value:"Value"}),g&&(0,me.jsx)(De,{valid:o,invalid:a,loading:n,disabled:i}),(0,me.jsx)(Ze,{loading:n,disabled:i}),x&&(0,me.jsx)(st,{loading:n,disabled:i,readonly:l,value:"Value"}),b&&(0,me.jsxs)(me.Fragment,{children:[m&&(0,me.jsx)(bt,{}),(0,me.jsx)(ft,{children:(0,me.jsx)(At,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Vo.options=Ku;Vo.states=Bu;Vo.variants=_u;Vo.defaultOptions=Pu;Vo.modifiers=Ru;Vo.className=oe.className;var ja=require("react/jsx-runtime"),Il="k-color-preview",wu=[],Du={},no=e=>{let{color:t,iconName:o,...a}=e;return(0,ja.jsxs)("span",{...a,className:s(e.className,Il,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ja.jsx)(v,{icon:o,className:"k-color-preview-icon"}),(0,ja.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};no.states=wu;no.options=Du;no.className=Il;var Ds="popup",Tl=Ds;var zs=require("react/jsx-runtime"),Ol="k-animation-container",Hu=[],zu={},Hs={positionMode:"absolute",shown:!0},wt=e=>{let{positionMode:t=Hs.positionMode,shown:o=Hs.shown,animationStyle:a,offset:n,...i}=e;return(0,zs.jsx)("div",{...i,style:{...n,...e.style},className:s(e.className,Ol,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,zs.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};wt.states=Hu;wt.options=zu;wt.className=Ol;wt.defaultOptions=Hs;wt.moduleName=Ds;wt.folderName=Tl;var Us="popup",Bl=Us;var Fs=require("react/jsx-runtime"),Pl="k-popup",Uu=[],Fu={},Kl={positionMode:"absolute"},Y=e=>{let{offset:t,positionMode:o=Kl.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,Fs.jsx)(wt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,Fs.jsx)("div",{...c,className:s(e.className,Pl),children:e.children})})};Y.states=Uu;Y.options=Fu;Y.className=Pl;Y.defaultOptions=Kl;Y.moduleName=Us;Y.folderName=Bl;var Gs="action-buttons",Rl=Gs;var wl=require("react/jsx-runtime"),Tn="k-actions",Gu=[],Vu={},Vs={alignment:"start",orientation:"horizontal"},rt=e=>{let{alignment:t=Vs.alignment,orientation:o=Vs.orientation,...a}=e;return(0,wl.jsx)("div",{...a,className:s(Tn,{[`${Tn}-${t}`]:t,[`${Tn}-${o}`]:o},e.className),children:e.children})};rt.states=Gu;rt.options=Vu;rt.className=Tn;rt.defaultOptions=Vs;rt.moduleName=Gs;rt.folderName=Rl;var _l=rt;var Hl=require("react/jsx-runtime"),$u="k-actionsheet-footer",Dl={alignment:"stretched",orientation:"horizontal"},so=e=>{let{alignment:t=Dl.alignment,orientation:o=Dl.orientation,template:a,as:n=a?"div":rt,...i}=e;return(0,Hl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:s(e.className,$u),children:e.children})};var $s="searchbox",zl=$s;var ro=require("react/jsx-runtime"),Ul="k-searchbox",Xu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],qu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},On={showIcon:!0,showClearButton:!0,icon:"search"},xt=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,showIcon:L=On.showIcon,showClearButton:M=On.showClearButton,icon:S=On.icon,"aria-label":E,...k}=e;return(0,ro.jsxs)(oe,{...k,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:b,required:x,loading:g,disabled:m,className:s(e.className,Ul),children:[L&&(0,ro.jsx)(v,{className:"k-input-icon",icon:S}),(0,ro.jsx)(Re,{placeholder:o,value:t,"aria-label":E}),(0,ro.jsx)(Ze,{...e}),(0,ro.jsx)(De,{...e}),M&&(0,ro.jsx)(st,{...e})]})};xt.states=Xu;xt.options=qu;xt.className=Ul;xt.defaultOptions=On;xt.moduleName=$s;xt.folderName=zl;var Wu=require("react/jsx-runtime");var Xs="textbox",Fl=Xs;var Ee=require("react/jsx-runtime"),Gl="k-textbox",Ju=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Yu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Bn={showClearButton:!0,showValidationIcon:!0,separators:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Bn.separators,showClearButton:i=Bn.showClearButton,showValidationIcon:l=Bn.showValidationIcon,prefix:c,suffix:u,type:b,value:x,placeholder:g,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,id:fe,"aria-label":Je,"aria-describedby":Ce,...Ke}=e;return(0,Ee.jsxs)(oe,{...Ke,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:M,invalid:S,required:E,loading:k,disabled:I,readonly:D,className:s(e.className,Gl),children:[c&&(0,Ee.jsxs)(Ee.Fragment,{children:[(0,Ee.jsx)(ut,{children:c}),n&&(0,Ee.jsx)(bt,{})]}),(0,Ee.jsx)(Re,{id:fe,placeholder:g,value:x,type:b,disabled:I,"aria-label":Je,"aria-describedby":Ce,"aria-invalid":S?"true":void 0}),l&&(0,Ee.jsx)(De,{valid:M,invalid:S,loading:k,disabled:I}),(0,Ee.jsx)(Ze,{loading:k,disabled:I}),i&&(0,Ee.jsx)(st,{loading:k,disabled:I,readonly:D,value:x}),u&&(0,Ee.jsxs)(Ee.Fragment,{children:[n&&(0,Ee.jsx)(bt,{}),(0,Ee.jsx)(ft,{children:u})]})]})};ye.states=Ju;ye.options=Yu;ye.className=Gl;ye.defaultOptions=Bn;ye.moduleName=Xs;ye.folderName=Fl;var en=ye;var Vl=require("react/jsx-runtime"),Pn=e=>(0,Vl.jsx)(en,{...e});var $l=require("react/jsx-runtime");var Xl=require("react/jsx-runtime");var Zu=require("react/jsx-runtime");var Kn=require("react/jsx-runtime"),Qu=ye.states,ju=ye.defaultOptions,ef=ye.options,tf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],of=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Kn.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Kn.jsx)(At,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Kn.jsx)(Pn,{value:"Value",style:{width:300},...o,...a})};$o.options=ef;$o.states=Qu;$o.variants=of;$o.defaultOptions=ju;$o.modifiers=tf;$o.className=ye.className;var it=require("react/jsx-runtime"),ql="k-actionsheet-titlebar",af={},He=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:b,titleId:x,children:g,...m}=e;return(0,it.jsxs)("div",{...m,className:s(e.className,ql),children:[(0,it.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,it.jsx)("div",{className:"k-actionsheet-actions",children:a}),!g&&(0,it.jsxs)("div",{className:"k-actionsheet-title",id:x,children:[t&&(0,it.jsx)("div",{className:"k-text-center",children:t}),o&&(0,it.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&(0,it.jsx)("div",{className:"k-actionsheet-title",id:x,children:g}),n&&(0,it.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,it.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,it.jsx)(ye,{value:c,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):(0,it.jsx)(xt,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};He.className=ql;He.defaultOptions=af;var Xo=require("react/jsx-runtime"),qs="k-actionsheet-view",nf=[],sf={},rf={},qo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===He&&(0,Xo.jsx)(He,{adaptive:t,titleId:l,...n==null?void 0:n.props}),b=(i==null?void 0:i.type)===so&&(0,Xo.jsx)(so,{...i==null?void 0:i.props});return(0,Xo.jsxs)("div",{...c,className:s(e.className,qs,{[`${qs}-animated`]:o}),children:[u,(0,Xo.jsx)("div",{className:"k-actionsheet-content",children:a}),b]})};qo.states=nf;qo.options=sf;qo.className=qs;qo.defaultOptions=rf;var tn="action-sheet",Rn=tn;var Ws="overlay",Wl=Ws;var Yl=require("react/jsx-runtime"),Jl="k-overlay",lf=[],pf={},df={},Dt=e=>{let{...t}=e;return(0,Yl.jsx)("div",{...t,className:s(e.className,Jl),children:e.children})};Dt.states=lf;Dt.options=pf;Dt.className=Jl;Dt.defaultOptions=df;Dt.moduleName=Ws;Dt.folderName=Wl;var So=require("react/jsx-runtime"),Zl="k-actionsheet",cf=[],mf={},on={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ae=e=>{let{side:t=on.side,fullscreen:o=on.fullscreen,adaptive:a=on.adaptive,overlay:n=on.overlay,template:i,children:l,header:c,footer:u,id:b,...x}=e,g=b&&!i&&c?`${b}-title`:void 0;return(0,So.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,So.jsx)(Dt,{}),(0,So.jsx)(wt,{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:(0,So.jsx)("div",{...x,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":g,className:s(e.className,Zl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,So.jsx)(qo,{header:c,footer:u,adaptive:a,titleId:g,...e,children:l})})})]})};ae.states=cf;ae.options=mf;ae.className=Zl;ae.defaultOptions=on;ae.moduleName=tn;ae.folderName=Rn;var jl=require("react/jsx-runtime"),Ql="k-actionsheet-container",uf=[],ff={},bf={},Wo=e=>{let{children:t,...o}=e;return(0,jl.jsx)("div",{...o,className:Ql,children:t})};Wo.states=uf;Wo.options=ff;Wo.className=Ql;Wo.defaultOptions=bf;Wo.moduleName=tn;Wo.folderName=Rn;var ep=require("react/jsx-runtime"),Js=e=>{let{...t}=e;return(0,ep.jsx)("div",{...t,className:s(e.className,"k-list-ul"),children:e.children})};var Nt=require("react/jsx-runtime"),Ys="k-actionsheet-item",xf=[r.hover,r.focus,r.selected,r.disabled],io=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,Nt.jsxs)("span",{...u,className:s(e.className,Ys,C(Ys,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,Nt.jsx)(Nt.Fragment,{children:(0,Nt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,Nt.jsx)("span",{className:"k-icon-wrap",children:(0,Nt.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,Nt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,Nt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,Nt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};io.states=xf;io.className=Ys;var tp=require("react/jsx-runtime");var Nf=require("react/jsx-runtime");var hf=require("react/jsx-runtime");var vf=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),gf=ae.options,Lf=ae.states,ap={...ae.defaultOptions,variant:"normal"},Mf=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Sf=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...ap,...e},n={},i=(0,Z.jsxs)(Js,{children:[(0,Z.jsx)(io,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Z.jsx)(io,{text:"Add to Favorites",iconName:"heart"}),(0,Z.jsx)(io,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Z.jsx)("hr",{className:"k-hr"}),(0,Z.jsx)(io,{text:"Cancel",iconName:"cancel"})]}),l="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!=null&&o[u]),n.actionsEnd=!!(o!=null&&o[u]);break;case"subtitle":n.subtitle=o!=null&&o[u]?l:void 0;break;case"footer":n.footer=!!(o!=null&&o[u]);break;default:break}}),t==="adaptive"?(0,Z.jsx)(ae,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,Z.jsx)(He,{actionsStart:n.actionsStart?(0,Z.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Z.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,Z.jsxs)(so,{alignment:"stretched",children:[(0,Z.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,Z.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,Z.jsx)(ae,{...a,fullscreen:n.fullScreen,header:(0,Z.jsx)(He,{actionsStart:n.actionsStart?(0,Z.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Z.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,Z.jsxs)(so,{alignment:"stretched",children:[(0,Z.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,Z.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Jo.options=gf;Jo.states=Lf;Jo.variants=Mf;Jo.defaultOptions=ap;Jo.modifiers=Sf;Jo.className=ae.className;var Zs="slider",np=Zs;var Et=require("react/jsx-runtime"),an="k-slider",kf=[r.hover,r.focus,r.active,r.disabled,r.readonly],Cf={},ht={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},W=e=>{let{type:t=ht.type,orientation:o=ht.orientation,gradientType:a=ht.gradientType,readonly:n=ht.readonly,disabled:i=ht.disabled,handlePosition:l=ht.handlePosition,showButtons:c=ht.showButtons,showTicks:u=ht.showTicks,value:b=ht.value,min:x=ht.min,max:g=ht.max,startValue:m,endValue:L,hover:M,focus:S,active:E,trackStyle:k,dir:I,...D}=e,Je=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Ce,Ke;return o==="horizontal"?(Ce=I==="rtl"?"chevron-left":"chevron-right",Ke=I==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Ce="chevron-up",Ke="chevron-down"),(0,Et.jsxs)("div",{...D,className:s(an,e.className,C(an,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:I,children:[c&&(0,Et.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:Ke,tabIndex:-1,title:"Decrease"}),(0,Et.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Et.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Et.jsxs)("div",{className:"k-slider-track",style:k,children:[(0,Et.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Et.jsx)("span",{className:s("k-draghandle","k-draghandle-start",C(an,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??x,"aria-valuemin":x,"aria-valuemax":L??g,"aria-orientation":Je,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":D["aria-label"]?`${D["aria-label"]} start`:"Range start"}),(0,Et.jsx)("span",{className:s("k-draghandle",`k-draghandle-${l}`,C(an,{hover:M,focus:S,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??g:b,"aria-valuemin":t==="range"?m??x:x,"aria-valuemax":g,"aria-orientation":Je,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?D["aria-label"]?`${D["aria-label"]} end`:"Range end":D["aria-label"]})]})]}),c&&(0,Et.jsx)(p,{className:"k-button-increase",rounded:"full",icon:Ce,tabIndex:-1,title:"Increase"})]})};W.states=kf;W.options=Cf;W.className=an;W.defaultOptions=ht;W.moduleName=Zs;W.folderName=np;var Qs=require("react/jsx-runtime"),sp="k-tick",Af=[],Ef={},rp={label:!1},T=e=>{let{style:t,label:o=rp.label,orientation:a,large:n,text:i,...l}=e;return(0,Qs.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:s(e.className,sp,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,Qs.jsx)("span",{className:"k-label",children:i})})};T.states=Af;T.options=Ef;T.className=sp;T.defaultOptions=rp;var xe=require("react/jsx-runtime"),ip=e=>(0,xe.jsx)(W,{"aria-label":e["aria-label"]||"Slider",children:(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{label:!0,large:!0,text:"5"}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{}),(0,xe.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Ne=require("react/jsx-runtime"),lp=e=>(0,Ne.jsx)(W,{children:(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{label:!0,large:!0,text:"5"}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{}),(0,Ne.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var js=require("react/jsx-runtime");var er=require("react/jsx-runtime");var pp=require("react/jsx-runtime"),tr=e=>(0,pp.jsx)(W,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var dp=require("react/jsx-runtime"),or=e=>(0,dp.jsx)(W,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var ar=require("react/jsx-runtime");var nr=require("react/jsx-runtime");var Qe=require("react/jsx-runtime"),yf=W.options,If=W.states,cp={...W.defaultOptions,variant:"horizontal",label:!0},Tf=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Of=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Yo=e=>{let{variant:t,modifiers:o,...a}=e,n=cp.label,i={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{i.showButtons=!!(o!=null&&o[c]);break}case"label":{n=!!(o!=null&&o[c]);break}case"tick":{i.showTicks=!!(o!=null&&o[c]);break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Qe.jsxs)(lp,{style:{height:"300px",...l},...a,...i,children:[(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Qe.jsxs)(ip,{style:{width:"400px",...l},...a,...i,children:[(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Qe.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Yo.options=yf;Yo.states=If;Yo.variants=Tf;Yo.defaultOptions=cp;Yo.modifiers=Of;Yo.className=W.className;var nn=require("react/jsx-runtime"),mp="k-spin-button",Kf=[],Rf={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},sr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},lo=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=sr.increaseLabel,decreaseLabel:i=sr.decreaseLabel,...l}=e;return(0,nn.jsxs)("span",{...l,className:s(mp,e.className),children:[(0,nn.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,nn.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};lo.states=Kf;lo.options=Rf;lo.className=mp;lo.defaultOptions=sr;lo.moduleName=null;lo.folderName=null;var up="numeric-textbox",fp="numerictextbox";var he=require("react/jsx-runtime"),bp="k-numerictextbox",_f=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],wf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},_n={showSpinButton:!0,showClearButton:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:n=_n.separators,showClearButton:i=_n.showClearButton,showSpinButton:l=_n.showSpinButton,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,id:D,"aria-label":fe,"aria-describedby":Je,...Ce}=e;return(0,he.jsxs)(oe,{...Ce,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,bp),children:[c&&(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(ut,{children:c}),n&&(0,he.jsx)(bt,{})]}),(0,he.jsx)(Re,{id:D,placeholder:x,value:b,role:"spinbutton",disabled:k,"aria-label":fe,"aria-describedby":Je,"aria-invalid":M?"true":void 0}),(0,he.jsx)(De,{valid:L,invalid:M,loading:E,disabled:k}),(0,he.jsx)(Ze,{loading:E,disabled:k}),i&&(0,he.jsx)(st,{loading:E,disabled:k,readonly:I,value:b}),u&&(0,he.jsxs)(he.Fragment,{children:[n&&(0,he.jsx)(bt,{}),(0,he.jsx)(ft,{children:u})]}),l&&(0,he.jsx)(lo,{className:"k-input-spinner",size:t,fillMode:a,disabled:k})]})};U.states=_f;U.options=wf;U.className=bp;U.defaultOptions=_n;U.moduleName=up;U.folderName=fp;var sn=U;var Np=require("react/jsx-runtime"),xp=e=>(0,Np.jsx)(sn,{...e});var Dn=Gi(require("react"));var rr=require("react/jsx-runtime"),Df="k-list-group-sticky-header",ir=e=>(0,rr.jsx)("div",{className:s(Df,e.className),children:(0,rr.jsx)("div",{className:"k-list-header-text",children:e.children})});var hp=require("react/jsx-runtime"),Hf="k-no-data",wn=e=>{let{live:t,...o}=e;return(0,hp.jsx)("span",{...o,className:s(Hf,e.className),"aria-live":t?"polite":void 0,children:e.children})};var ko="list",Zo=ko;var Qo=require("react/jsx-runtime"),lr="k-list",zf=[],Uf={size:[d.undefined,d.small,d.medium,d.large]},Ff={},_=e=>{var M;let{size:t,virtualization:o,children:a,header:n,selectAll:i,optionLabel:l,customValue:c,noData:u,screenReaders:b,...x}=e,m=Dn.default.Children.toArray(a)[0],L=(M=m==null?void 0:m.props)!=null&&M.children?Dn.default.Children.count(m.props.children):Dn.default.Children.count(a);return(0,Qo.jsxs)("div",{...x,className:s(e.className,lr,y(lr,{size:t}),{"k-virtual-list":o}),children:[l,i,c,n&&(0,Qo.jsx)(ir,{children:n}),a||(u!==void 0?u:(0,Qo.jsx)(wn,{live:!0,children:"No data found."})),b&&a&&(0,Qo.jsxs)(wn,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};_.states=zf;_.options=Uf;_.className=lr;_.defaultOptions=Ff;_.moduleName=ko;_.folderName=Zo;var gp=require("react/jsx-runtime"),vp="k-list-container",Gf=[],Vf={},$f={},jo=e=>{let{...t}=e;return(0,gp.jsx)("div",{...t,className:s(e.className,vp),children:e.children})};jo.states=Gf;jo.options=Vf;jo.className=vp;jo.defaultOptions=$f;jo.moduleName=ko;jo.folderName=Zo;var Co="checkbox",ea=Co;var pr=require("react/jsx-runtime"),Hn="k-checkbox",Xf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],qf={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Wf={},lt=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:b,size:x,rounded:g,wrapperRole:m,...L}=e;return(0,pr.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,pr.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:s(e.className,Hn,y(Hn,{size:x,rounded:g}),C(Hn,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};lt.states=Xf;lt.options=qf;lt.className=Hn;lt.defaultOptions=Wf;lt.moduleName=Co;lt.folderName=ea;var yt=lt;var Sp=require("react/jsx-runtime"),Lp="k-checkbox-list",Jf=[],Yf={},Mp={layout:"vertical"},ze=e=>{let{layout:t=Mp.layout,...o}=e;return(0,Sp.jsx)("ul",{...o,className:s(e.className,Lp,{[`k-list-${t}`]:t}),children:e.children})};ze.states=Jf;ze.options=Yf;ze.className=Lp;ze.defaultOptions=Mp;ze.moduleName=Co;ze.folderName=ea;var Cp=require("react/jsx-runtime"),kp="k-checkbox-list-item",Zf=[],Qf={},jf={},Ue=e=>{let{...t}=e;return(0,Cp.jsx)("li",{...t,className:s(e.className,kp),children:e.children})};Ue.states=Zf;Ue.options=Qf;Ue.className=kp;Ue.defaultOptions=jf;Ue.moduleName=Co;Ue.folderName=ea;var Ao=require("react/jsx-runtime"),Jt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Ao.jsxs)(Ao.Fragment,{children:[(0,Ao.jsx)(yt,{id:t,...o}),(0,Ao.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var dr=require("react/jsx-runtime");var cr=require("react/jsx-runtime");var mr=require("react/jsx-runtime");var eb=require("react/jsx-runtime");var tb=require("react/jsx-runtime");var ob=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),ab=ze.options,nb=ze.states,sb={...ze.defaultOptions,variant:"vertical"},rb=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ib=[],ta=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ie.jsxs)(ze,{layout:"horizontal",...o,children:[(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})})]}):(0,Ie.jsxs)(ze,{...o,children:[(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),defaultChecked:!0,children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})}),(0,Ie.jsx)(Ue,{children:(0,Ie.jsx)(Jt,{id:K("cb"),children:"Label"})})]})};ta.options=ab;ta.states=nb;ta.variants=rb;ta.defaultOptions=sb;ta.modifiers=ib;ta.className=ze.className;var Ap=require("react/jsx-runtime"),lb=yt.options,pb=yt.states,db=yt.defaultOptions,cb=[],mb=[],oa=e=>(0,Ap.jsx)(Jt,{id:K("checkbox"),...e,defaultChecked:!0,children:"Label"});oa.options=lb;oa.states=pb;oa.variants=cb;oa.defaultOptions=db;oa.modifiers=mb;oa.className=yt.className;var Yt=require("react/jsx-runtime"),ur="k-list-item",ub=[r.hover,r.focus,r.selected,r.disabled],fb={},bb={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:i,hover:l,focus:c,selected:u,disabled:b,actions:x,description:g,id:m,...L}=e,M=t||e.children,S=t||(typeof M=="string"?M:void 0);return(0,Yt.jsxs)("li",{...L,id:m,role:"option",tabIndex:c?0:-1,"aria-selected":u?"true":"false","aria-disabled":b?"true":void 0,className:s(e.className,ur,C(ur,{hover:l,focus:c,disabled:b,selected:u})),children:[n&&(0,Yt.jsx)(lt,{checked:i,disabled:b,"aria-label":S,tabIndex:-1}),o&&(0,Yt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Yt.jsx)(v,{icon:o,className:s("k-list-item-icon",a)})}),(0,Yt.jsx)("span",{className:"k-list-item-text",children:M}),x&&(0,Yt.jsx)("div",{className:"k-list-item-actions",children:x}),g&&(0,Yt.jsx)("span",{className:"k-list-item-description",children:g})]})};P.states=ub;P.options=fb;P.className=ur;P.defaultOptions=bb;P.moduleName=ko;P.folderName=Zo;var Ep=require("react/jsx-runtime"),xb="k-list-ul",po=e=>{let{children:t,role:o,id:a,...n}=e;return(0,Ep.jsx)("ul",{...n,id:a,role:o,className:s(xb,e.className),children:t})};var aa=require("react/jsx-runtime"),Nb="k-list-content",G=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,aa.jsxs)("div",{...l,className:s(Nb,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:(0,aa.jsx)(po,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,aa.jsx)("div",{className:"k-height-container",children:(0,aa.jsx)("div",{})})]})};var na=require("react/jsx-runtime"),zn="k-list-sticky-header",hb=[r.hover,r.focus,r.selected],vb={},gb={},Un=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:i,focus:l,selected:c,...u}=e;return(0,na.jsx)("div",{...u,className:s(zn,e.className),children:(0,na.jsxs)("div",{className:s(`${zn}-item`,C(`${zn}-item`,{hover:i,focus:l,selected:c})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":c?"true":"false"},children:[o&&(0,na.jsx)(lt,{checked:a,indeterminate:n,"aria-label":t}),(0,na.jsx)("span",{className:"k-list-item-text",children:t})]})})};Un.states=hb;Un.options=vb;Un.className=zn;Un.defaultOptions=gb;var fr=require("react/jsx-runtime");var yp=require("react/jsx-runtime");var Ip=require("react/jsx-runtime"),br="k-list-optionlabel",Lb=[r.hover,r.focus,r.selected,r.disabled],Mb={},Sb={},Fn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,Ip.jsx)("div",{...l,className:s(br,C(br,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Fn.states=Lb;Fn.options=Mb;Fn.className=br;Fn.defaultOptions=Sb;var Tp=require("react/jsx-runtime"),xr="k-list-custom-value",kb=[r.hover,r.focus,r.selected,r.disabled],Cb={},Ab={},co=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,Tp.jsx)("div",{...l,className:s(xr,C(xr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};co.states=kb;co.options=Cb;co.className=xr;co.defaultOptions=Ab;var Nr=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var vr=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var Eb=require("react/jsx-runtime");var Lr=require("react/jsx-runtime");var Mr=require("react/jsx-runtime");var Op="dropdown-list",Bp="dropdownlist";var Q=require("react/jsx-runtime"),Pp="k-dropdownlist",yb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ib={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Sr={showValue:!0,arrowIconName:"chevron-down"},ue=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Sr.arrowIconName,showValue:i=Sr.showValue,valueIconName:l,prefix:c,suffix:u,value:b,placeholder:x,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,popup:D,opened:fe,adaptive:Je,adaptiveSettings:Ce,adaptiveTitle:Ke,adaptiveSubtitle:_a,adaptiveFilter:vo,id:go,activeDescendant:wa,"aria-label":ds,...cs}=e,ms=go?`${go}-listbox`:void 0,Ui=go?`${go}-value`:void 0;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(_t,{...cs,id:go,size:t,rounded:o,fillMode:a,hover:g,focus:m,valid:L,invalid:M,required:S,loading:E,disabled:k,readonly:I,className:s(e.className,Pp,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":fe?"true":"false","aria-controls":fe?ms:void 0,"aria-activedescendant":fe&&wa?wa:void 0,"aria-describedby":fe?Ui:void 0,"aria-disabled":k?"true":void 0,"aria-label":ds,tabIndex:0,children:[(0,Q.jsx)(ut,{children:c}),(0,Q.jsx)(Mo,{placeholder:x,value:b,showValue:i,valueIconName:l,id:Ui}),(0,Q.jsx)(De,{valid:L,invalid:M,loading:E,disabled:k}),(0,Q.jsx)(Ze,{loading:E,disabled:k}),(0,Q.jsx)(ft,{children:u}),(0,Q.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),fe&&D&&(0,Q.jsx)(Y,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:D}),Je&&(0,Q.jsx)(ae,{adaptive:!0,...Ce,header:(0,Q.jsx)(He,{actionsEnd:(0,Q.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:vo,inputValue:b,inputPlaceholder:x,title:Ke,subtitle:_a}),children:(0,Q.jsx)("div",{className:"k-list-container",children:(0,Q.jsx)(_,{size:"large",children:(0,Q.jsxs)(G,{"aria-label":"Options",children:[(0,Q.jsx)(P,{text:"List item"}),(0,Q.jsx)(P,{text:"List item"}),(0,Q.jsx)(P,{text:"List item"})]})})})})]})};ue.states=yb;ue.options=Ib;ue.className=Pp;ue.defaultOptions=Sr;ue.moduleName=Op;ue.folderName=Bp;var Tb=require("react/jsx-runtime");var Kp=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Ob=require("react/jsx-runtime");var Rp=require("react/jsx-runtime");var Cr=require("react/jsx-runtime");var Bb=require("react/jsx-runtime");var je=require("react/jsx-runtime"),Pb=ue.states,Kb=ue.defaultOptions,Rb=ue.options,_b=[{name:"opened",title:"Opened"}],wb=[],ra=e=>{let{modifiers:t,...o}=e,a={},n=(0,je.jsxs)(je.Fragment,{children:[(0,je.jsx)("div",{className:"k-list-filter",children:(0,je.jsx)(xt,{})}),(0,je.jsx)(_,{style:{width:300},size:o.size,children:(0,je.jsxs)(G,{children:[(0,je.jsx)(P,{children:"List item"}),(0,je.jsx)(P,{children:"List item"}),(0,je.jsx)(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0)}),(0,je.jsx)("div",{children:(0,je.jsx)(ue,{placeholder:"Value",style:{width:300},...o,...a})})};ra.options=Rb;ra.states=Pb;ra.variants=wb;ra.defaultOptions=Kb;ra.modifiers=_b;ra.className=ue.className;var _p=require("react/jsx-runtime");var wp=require("react/jsx-runtime");var Db=require("react/jsx-runtime");var Gn=require("react/jsx-runtime"),Hb=U.states,zb=U.defaultOptions,Ub=U.options,Fb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Gb=[],ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Gn.jsx)(ue,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Gn.jsx)(ws,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,Gn.jsx)(xp,{value:"Value",style:{width:300},...o,...a})};ia.options=Ub;ia.states=Hb;ia.variants=Gb;ia.defaultOptions=zb;ia.modifiers=Fb;ia.className=U.className;var A=require("react/jsx-runtime"),Dp="k-colorgradient-inputs",Vb=[],$b={size:[d.undefined,d.small,d.medium,d.large]},Hp={mode:"rgba"},la=e=>{let{mode:t=Hp.mode,size:o,...a}=e;return(0,A.jsxs)("div",{...a,className:s(Dp,"k-hstack"),children:[(0,A.jsx)("div",{className:"k-vstack",children:(0,A.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,A.jsxs)("div",{className:"k-vstack",children:[(0,A.jsx)(U,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,A.jsx)(ye,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,A.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};la.states=Vb;la.options=$b;la.className=Dp;la.defaultOptions=Hp;var Te=require("react/jsx-runtime"),zp="k-colorgradient-color-contrast",Xb=[],qb={},Wb={},pa=()=>(0,Te.jsxs)("div",{className:s(zp,"k-vbox"),children:[(0,Te.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Te.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Te.jsx)(v,{icon:"check"}),(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AA: 4.5"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Te.jsx)(v,{icon:"check"})]})]}),(0,Te.jsxs)("div",{children:[(0,Te.jsx)("span",{children:"AAA: 7.0"}),(0,Te.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Te.jsx)(v,{icon:"x"})]})]})]});pa.states=Xb;pa.options=qb;pa.className=zp;pa.defaultOptions=Wb;var Up="color-gradient",Fp="colorgradient";var pe=require("react/jsx-runtime"),Vn="k-colorgradient",Jb=[r.hover,r.focus,r.readonly,r.disabled],Yb={size:[d.undefined,d.small,d.medium,d.large]},Ht={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"},ve=e=>{let{size:t,mode:o=Ht.mode,readonly:a=Ht.readonly,disabled:n=Ht.disabled,gradientStyle:i=Ht.gradientStyle,dragHandleStyle:l=Ht.dragHandleStyle,alphaStyle:c=Ht.alphaStyle,alphaStyleHorizontal:u=Ht.alphaStyleHorizontal,contrast:b=Ht.contrast,dir:x,hover:g,focus:m,hoverHandle:L,focusHandle:M,canvasOrientation:S=Ht.canvasOrientation,role:E,tabIndex:k,...I}=e;return(0,pe.jsxs)("div",{...I,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:k??0,"aria-disabled":n?"true":void 0,className:s(e.className,Vn,y(Vn,{size:t}),C(Vn,{hover:g,focus:m,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),style:l,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})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,pe.jsx)(or,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(or,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:c})]})]}),S==="vertical"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:s("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":M}),style:l,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})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,pe.jsx)(tr,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(tr,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:u})]})]}),(0,pe.jsx)(la,{mode:e.mode,size:t}),b&&(0,pe.jsx)(pa,{})]})};ve.states=Jb;ve.options=Yb;ve.className=Vn;ve.defaultOptions=Ht;ve.moduleName=Up;ve.folderName=Fp;var Gp=require("react/jsx-runtime"),$n=e=>(0,Gp.jsx)(ve,{...e});var Zb=require("react/jsx-runtime");var Qb=require("react/jsx-runtime");var Xn=require("react/jsx-runtime"),jb=ve.options,ex=ve.states,tx={...ve.defaultOptions,variant:"rgba"},ox=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],ax=[],da=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Xn.jsx)($n,{...o,mode:t});case"rgb":return(0,Xn.jsx)($n,{...o,mode:t});default:return(0,Xn.jsx)($n,{...o,mode:t})}};da.options=jb;da.states=ex;da.variants=ox;da.defaultOptions=tx;da.modifiers=ax;da.className=ve.className;var Vp=require("react/jsx-runtime"),Ar=e=>(0,Vp.jsx)("tr",{role:"row",children:e.children});var $p=require("react/jsx-runtime"),Er="k-colorpalette-tile",nx=[r.hover,r.focus,r.selected],sx={},mo=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,$p.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:s(e.className,Er,C(Er,{hover:a,focus:n,selected:i})),style:c})};mo.states=nx;mo.options=sx;mo.className=Er;mo.moduleName=null;mo.folderName=null;var Xp="color-palette",qp="colorpalette";var ca=require("react/jsx-runtime"),qn="k-colorpalette",rx=[r.disabled],ix={size:[d.undefined,d.small,d.medium,d.large]},Wp={columns:10},et=e=>{let{size:t,palette:o,columns:a=Wp.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,b=o.colors?o.colors:o;Array.isArray(b)&&Array.from({length:Math.ceil(b.length/u)},(x,g)=>{let m=[];b.slice(g*u,(g+1)*u).map((M,S)=>{m.push((0,ca.jsx)(mo,{color:M,tileSize:n},S))});let L=(0,ca.jsx)(Ar,{children:m},g);c.push(L)})}return(0,ca.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:s(e.className,qn,C(qn,{disabled:i}),y(qn,{size:t})),children:(0,ca.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,ca.jsx)("tbody",{children:c.length>0?c:e.children})})})};et.states=rx;et.options=ix;et.className=qn;et.defaultOptions=Wp;et.moduleName=Xp;et.folderName=qp;var Wn=et;var ln={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}};var Yp=require("react/jsx-runtime"),Jp=e=>(0,Yp.jsx)(Wn,{palette:ln.basic,...e});var lx=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Qp=require("react/jsx-runtime"),px=et.options,dx=et.states,cx={...et.defaultOptions,variant:"basic"},mx=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],ux={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}},fx=[],ma=e=>{let{variant:t="basic",...o}=e,a=ux[t];return(0,Qp.jsx)(Jp,{columns:a.columns,palette:a,...o})};ma.options=px;ma.states=dx;ma.variants=mx;ma.defaultOptions=cx;ma.modifiers=fx;ma.className=et.className;var jp="color-editor",ed="coloreditor";var ne=require("react/jsx-runtime"),Jn="k-coloreditor",bx=[r.focus],xx={size:[d.undefined,d.small,d.medium,d.large]},pn={view:"gradient",palette:ln.office,actionButtons:!0,canvasOrientation:"horizontal"},se=e=>{let{size:t,view:o=pn.view,palette:a=pn.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:b,actionButtons:x=pn.actionButtons,canvasOrientation:g=pn.canvasOrientation,...m}=e;return(0,ne.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:s(e.className,"k-flatcolorpicker",Jn,y(Jn,{size:t}),C(Jn,{focus:l})),dir:u,children:[(0,ne.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ne.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&(0,ne.jsxs)(B,{fillMode:"flat",children:[(0,ne.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ne.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ne.jsx)("div",{className:"k-spacer"}),(0,ne.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ne.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ne.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ne.jsx)(no,{className:"k-coloreditor-preview-color",color:n}),(0,ne.jsx)(no,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ne.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ne.jsx)(ve,{focus:c,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):(0,ne.jsx)(et,{palette:a,size:t})}),x&&(0,ne.jsxs)(rt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ne.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ne.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};se.states=bx;se.options=xx;se.className=Jn;se.defaultOptions=pn;se.moduleName=jp;se.folderName=ed;var ua=se;var Nx=require("react/jsx-runtime");var hx=require("react/jsx-runtime");var od=require("react/jsx-runtime"),td=e=>(0,od.jsx)(ua,{group:!0,currentColor:"fuchsia",...e});var nd=require("react/jsx-runtime"),ad=e=>(0,nd.jsx)(ua,{view:"palette",group:!0,currentColor:"fuchsia",...e});var yr=require("react/jsx-runtime"),vx=se.options,gx=se.states,Lx={...se.defaultOptions,variant:"gradient"},Mx=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Sx=[],fa=e=>{let{variant:t,...o}=e;return t==="palette"?(0,yr.jsx)(ad,{...o,color:"white"}):(0,yr.jsx)(td,{...o,color:"rgba(183, 118 , 118, 1.00)"})};fa.options=vx;fa.states=gx;fa.variants=Mx;fa.defaultOptions=Lx;fa.modifiers=Sx;fa.className=se.className;var sd="color-picker",rd="colorpicker";var de=require("react/jsx-runtime"),id="k-colorpicker",kx=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Cx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},ld={arrowIconName:"chevron-down"},vt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=ld.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,valueIconName:S,popup:E,opened:k,adaptive:I,adaptiveSettings:D,adaptiveTitle:fe,adaptiveSubtitle:Je,...Ce}=e,Ke="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(_t,{...Ce,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:m,required:L,disabled:M,role:"combobox","aria-haspopup":"dialog","aria-expanded":k?"true":"false","aria-controls":k||I?Ke:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":M?"true":void 0,className:s(e.className,id,"k-icon-picker"),children:[(0,de.jsx)(ut,{children:i}),(0,de.jsx)(Mo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,de.jsx)(no,{className:"k-value-icon",color:c,iconName:S}),valueIconName:S}),(0,de.jsx)(ft,{children:l}),(0,de.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:M})]}),k&&E&&(0,de.jsx)(Y,{id:Ke,className:"k-colorpicker-popup",children:E}),I&&(0,de.jsx)(ae,{adaptive:!0,id:Ke,...D,header:(0,de.jsx)(He,{actionsEnd:(0,de.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:fe,subtitle:Je}),footer:(0,de.jsxs)(so,{children:[(0,de.jsx)(p,{text:"Cancel",size:"large"}),(0,de.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(se,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};vt.states=kx;vt.options=Cx;vt.className=id;vt.defaultOptions=ld;vt.moduleName=sd;vt.folderName=rd;var Zt=vt;var pd=require("react/jsx-runtime"),Yn=e=>(0,pd.jsx)(Zt,{...e});var Ax=require("react/jsx-runtime");var Ex=require("react/jsx-runtime");var yx=require("react/jsx-runtime");var Ix=require("react/jsx-runtime");var Tx=require("react/jsx-runtime");var Ox=require("react/jsx-runtime");var uo=require("react/jsx-runtime"),Bx=Zt.options,Px=Zt.states,dd={...Zt.defaultOptions,variant:"color"},Kx=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Rx=[{name:"opened",title:"Opened"}],ba=e=>{let{variant:t,modifiers:o,...a}={...dd,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,uo.jsx)(se,{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(0,uo.jsx)("div",{style:i,children:(0,uo.jsx)(Yn,{...a,...n})});case"icon":return(0,uo.jsx)("div",{style:i,children:(0,uo.jsx)(Yn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,uo.jsx)("div",{style:i,children:(0,uo.jsx)(Yn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};ba.options=Bx;ba.states=Px;ba.variants=Kx;ba.defaultOptions=dd;ba.modifiers=Rx;ba.className=Zt.className;var Ir="combobox",cd=Ir;var w=require("react/jsx-runtime"),md="k-combobox",_x=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],wx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline]},Tr={separators:!0,showClearButton:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Tr.separators,showClearButton:i=Tr.showClearButton,prefix:l,suffix:c,value:u,placeholder:b,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,popup:k,opened:I,readonly:D,adaptive:fe,adaptiveSettings:Je,adaptiveTitle:Ce,adaptiveSubtitle:Ke,adaptiveCustomValue:_a,id:vo,autocomplete:go,activeDescendant:wa,"aria-label":ds,...cs}=e,ms=vo?`${vo}-listbox`:void 0;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsxs)(oe,{...cs,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:m,invalid:L,required:M,loading:S,disabled:E,readonly:D,className:s(e.className,md),children:[l&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(ut,{children:l}),n&&(0,w.jsx)(bt,{})]}),(0,w.jsx)(Re,{id:vo,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":I?"true":"false","aria-controls":I?ms:void 0,"aria-activedescendant":I&&wa?wa:void 0,"aria-autocomplete":go,"aria-invalid":L?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":ds,disabled:E,readOnly:D}),(0,w.jsx)(De,{valid:m,invalid:L,loading:S,disabled:E}),(0,w.jsx)(Ze,{loading:S,disabled:E}),i&&(0,w.jsx)(st,{loading:S,disabled:E,readonly:D,value:u}),c&&(0,w.jsxs)(w.Fragment,{children:[n&&(0,w.jsx)(bt,{}),(0,w.jsx)(ft,{children:c})]}),(0,w.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:E})]}),I&&k&&(0,w.jsx)(Y,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:k}),fe&&(0,w.jsx)(ae,{adaptive:!0,id:vo?`${vo}-adaptive`:void 0,...Je,header:(0,w.jsx)(He,{actionsEnd:(0,w.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:Ce,subtitle:Ke}),children:(0,w.jsx)("div",{className:"k-list-container",children:(0,w.jsx)(_,{customValue:_a?(0,w.jsx)(co,{text:`Use "${u}"`}):void 0,size:"large",children:(0,w.jsxs)(G,{"aria-label":Ce||"Options",children:[(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"}),(0,w.jsx)(P,{text:"List item"})]})})})})]})};Fe.states=_x;Fe.options=wx;Fe.className=md;Fe.defaultOptions=Tr;Fe.moduleName=Ir;Fe.folderName=cd;var pt=Fe;var fd=require("react/jsx-runtime"),ud=e=>(0,fd.jsx)(pt,{...e});var bd=require("react/jsx-runtime");var xd=require("react/jsx-runtime");var Nd=require("react/jsx-runtime");var hd=require("react/jsx-runtime");var vd=require("react/jsx-runtime");var gd=require("react/jsx-runtime");var Or=require("react/jsx-runtime");var Dx=require("react/jsx-runtime");var Hx=require("react/jsx-runtime");var Ld=require("react/jsx-runtime");var Md=require("react/jsx-runtime");var It=require("react/jsx-runtime"),zx=Fe.states,Ux=Fe.defaultOptions,Fx=Fe.options,Gx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],xa=e=>{let{modifiers:t,...o}=e,a={},n=(0,It.jsx)(_,{style:{width:300},size:o.size,children:(0,It.jsxs)(G,{children:[(0,It.jsx)(P,{children:"List item"}),(0,It.jsx)(P,{children:"List item"}),(0,It.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,It.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,It.jsx)(J,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0;break;default:break}}),(0,It.jsx)("div",{children:(0,It.jsx)(ud,{value:"Value",style:{width:300},...o,...a})})};xa.options=Fx;xa.states=zx;xa.variants=Vx;xa.defaultOptions=Ux;xa.modifiers=Gx;xa.className=Fe.className;var Br="menu-button",Sd=Br;var Cd=require("react/jsx-runtime"),kd="k-menu-button",$x=[r.hover,r.focus,r.active,r.selected,r.disabled],Xx={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Pr={showArrow:!0,arrowIconName:"chevron-down"},F=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,showArrow:L=Pr.showArrow,arrowIconName:M=Pr.arrowIconName,expanded:S,...E}=e;return(0,Cd.jsx)(p,{...E,className:s(e.className,kd),text:m,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:L,arrowIconName:M,"aria-expanded":S?"true":"false",...!m&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};F.states=$x;F.options=Xx;F.className=kd;F.defaultOptions=Pr;F.moduleName=Br;F.folderName=Sd;var qx=require("react/jsx-runtime");var Wx=require("react/jsx-runtime");var Jx=require("react/jsx-runtime");var Yx=require("react/jsx-runtime");var dt="menu",gt=dt;var Qt=require("react/jsx-runtime"),Kr="k-menu-item",Zx=[r.hover,r.focus,r.active,r.selected,r.disabled],Qx={},Ad={iconPosition:"before"},Oe=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=Ad.iconPosition,dir:g,children:m,expanded:L,...M}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),(0,Qt.jsxs)("li",{...M,className:s(e.className,Kr,"k-item",C(Kr,{focus:o,disabled:i,hover:t,active:a,selected:n})),role:"menuitem",...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":L?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Qt.jsxs)("span",{className:s("k-link k-menu-link"),children:[l&&x==="before"&&(0,Qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Qt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,Qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),u&&(0,Qt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Qt.jsx)(v,{icon:S})})]}),m]})};Oe.states=Zx;Oe.options=Qx;Oe.className=Kr;Oe.defaultOptions=Ad;Oe.moduleName=dt;Oe.folderName=gt;var Tt=require("react/jsx-runtime"),Rr="k-menu-item",jx=[r.hover,r.focus,r.active,r.selected,r.disabled],eN={},_r={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,showArrow:u,arrowIconName:b,iconPosition:x=_r.iconPosition,dir:g=_r.dir,children:m,popup:L,expanded:M,actions:S,description:E,...k}=e,I=b;return I||(I=g==="rtl"?"chevron-left":"chevron-right"),(0,Tt.jsxs)("li",{role:"menuitem",...k,className:s(e.className,Rr,"k-item",C(Rr,{focus:o,disabled:i})),...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":M?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Tt.jsxs)("span",{className:s("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&x==="before"&&(0,Tt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Tt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&x==="after"&&(0,Tt.jsx)(v,{className:"k-menu-link-icon",icon:l}),S&&(0,Tt.jsx)("span",{className:"k-menu-link-actions",children:S}),u&&(0,Tt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Tt.jsx)(v,{icon:I})}),E&&(0,Tt.jsx)("span",{className:"k-menu-link-description",children:E})]}),m,L]})};j.states=jx;j.options=eN;j.className=Rr;j.defaultOptions=_r;j.moduleName=dt;j.folderName=gt;var Id=require("react/jsx-runtime"),Ed="k-menu-scroll-wrapper",tN=[],oN={},aN={},Eo=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,Id.jsx)("div",{...n,className:s(t,Ed,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Eo.states=tN;Eo.options=oN;Eo.className=Ed;Eo.defaultOptions=aN;Eo.moduleName=dt;Eo.folderName=gt;var yd=Eo;var ge=require("react/jsx-runtime"),Zn="k-menu",nN=[],sN={size:[d.undefined,d.small,d.medium,d.large]},Qn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Le=e=>{let{children:t,orientation:o=Qn.orientation,header:a=Qn.header,scrollable:n,scrollButtonsPosition:i=Qn.scrollButtonsPosition,wrapperStyles:l,dir:c,size:u,popup:b,contextMenu:x,...g}=e,m={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},L=(0,ge.jsx)("ul",{dir:c,...g,className:s(e.className,"k-reset",Zn,{[`${Zn}-${o}`]:o,"k-header":a},y(Zn,{size:u})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,ge.jsxs)(ge.Fragment,{children:[n?(0,ge.jsxs)(yd,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),L,i==="end"&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,ge.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):L,b]})};Le.states=nN;Le.options=sN;Le.className=Zn;Le.defaultOptions=Qn;Le.moduleName=dt;Le.folderName=gt;var Od=require("react/jsx-runtime"),wr="k-separator",Td={orientation:"horizontal"},Na=e=>{let{orientation:t=Td.orientation,...o}=e;return(0,Od.jsx)("li",{...o,className:s(e.className,"k-item",wr,{[`${wr}-${t}`]:t}),role:"separator"})};Na.className=wr;Na.defaultOptions=Td;Na.moduleName=dt;Na.folderName=gt;var Bd=require("react/jsx-runtime");var Pd=require("react/jsx-runtime"),Dr="k-menu-group",rN=[],iN={size:[d.undefined,d.small,d.medium,d.large]},lN={},Be=e=>{let{children:t,size:o,...a}=e;return(0,Pd.jsx)("ul",{role:"menu",...a,className:s(e.className,Dr,y(Dr,{size:o})),children:t})};Be.states=rN;Be.options=iN;Be.className=Dr;Be.defaultOptions=lN;Be.moduleName=dt;Be.folderName=gt;var Kd=require("react/jsx-runtime");var Ot=require("react/jsx-runtime"),Hr=e=>(0,Ot.jsx)(Le,{children:(0,Ot.jsxs)(Ot.Fragment,{children:[(0,Ot.jsx)(Oe,{text:"Item 1"}),(0,Ot.jsx)(Oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Ot.jsx)(Oe,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Ot.jsx)(Oe,{text:"Item 4"}),(0,Ot.jsx)(Oe,{text:"Item 5"})]}),...e});var zr=require("react/jsx-runtime");var Ur=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var zt=require("react/jsx-runtime"),pN={...Le.options,scrollable:{type:"boolean"}},dN=Le.states,Rd={...Le.defaultOptions,variant:"horizontal"},cN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],mN=[{name:"opened",title:"Opened"}],ha=e=>{let{variant:t,modifiers:o,...a}={...Rd,...e},n={},i=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,zt.jsx)(Y,{className:"k-menu-popup",offset:i,children:(0,zt.jsxs)(Be,{children:[(0,zt.jsx)(j,{text:"Item 1"}),(0,zt.jsx)(j,{text:"Item 2"}),(0,zt.jsx)(Na,{}),(0,zt.jsx)(j,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,zt.jsx)(Hr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,zt.jsx)(Hr,{...a,...n})};ha.options=pN;ha.states=dN;ha.variants=cN;ha.defaultOptions=Rd;ha.modifiers=mN;ha.className=Le.className;var Vr=require("react/jsx-runtime");var uN=require("react/jsx-runtime");var Pe=require("react/jsx-runtime"),fN=p.states,_d={...p.defaultOptions,variant:"text"},bN=p.options,xN=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],NN=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}={..._d,...e},n={},i=(0,Pe.jsx)(Y,{className:"k-menu-popup",children:(0,Pe.jsxs)(Be,{size:a.size,children:[(0,Pe.jsx)(j,{text:"Menu Item"}),(0,Pe.jsx)(j,{text:"Menu Item"}),(0,Pe.jsx)(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Pe.jsx)("div",{children:(0,Pe.jsx)(F,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Pe.jsx)("div",{children:(0,Pe.jsx)(F,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Pe.jsx)("div",{children:(0,Pe.jsx)(F,{...a,...n,children:"Dropdown Button"})});break}return(0,Pe.jsxs)(Pe.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};va.options=bN;va.states=fN;va.variants=xN;va.defaultOptions=_d;va.modifiers=NN;va.className=F.className;var $r="split-button",wd=$r;var jt=require("react/jsx-runtime"),Xr="k-split-button",hN=[r.hover,r.focus,r.active,r.selected,r.disabled],vN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.success,h.warning,h.error,h.info,h.inverse]},Dd={arrowIconName:"chevron-down"},R=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,icon:x,endIcon:g,text:m,arrowIconName:L=Dd.arrowIconName,popup:M,opened:S,popupId:E,...k}=e;return(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsxs)("div",{...k,className:s(e.className,Xr,"k-button-group",y(Xr,{rounded:o})),children:[(0,jt.jsx)(p,{text:m,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:b,...!m&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),(0,jt.jsx)(p,{className:"k-split-button-arrow",icon:L,size:t,rounded:o,fillMode:a,disabled:b,ariaDisabled:b||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?E:void 0,tabIndex:-1})]}),S&&M&&(0,jt.jsx)(Y,{className:"k-menu-popup",children:M})]})};R.states=hN;R.options=vN;R.className=Xr;R.defaultOptions=Dd;R.moduleName=$r;R.folderName=wd;var qr=R;var Hd=require("react/jsx-runtime"),gN="k-toolbar-separator",Bt=e=>(0,Hd.jsx)("div",{className:s(gN,e.className,"k-separator")});var yo="toolbar",ga=yo;var O=require("react/jsx-runtime"),eo="k-toolbar",LN=[r.focus],MN={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},SN={scrollButtons:"around"},$=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...b}=e,x=[],g=(m,L)=>{let M=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))M.push((0,O.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)M.push((0,O.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===Fa)M.push((0,O.jsx)(Fa,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===J)M.push((0,O.jsx)(J,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===F)M.push((0,O.jsx)(F,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===qr)M.push((0,O.jsx)(qr,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===B||m.props.className&&m.props.className.includes("k-button-group")){let S=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((k,I)=>{S.push((0,O.jsx)(p,{...k.props,className:`${k.props.className?k.props.className:""}`},`${I}-${new Date().getTime()}`))}),M.push((0,O.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:S},`${L}-${new Date().getTime()}`))}else m.type===Fe?M.push((0,O.jsx)(Fe,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===ue?M.push((0,O.jsx)(ue,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===vt?M.push((0,O.jsx)(vt,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):M.push(m);M.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,M)=>{g(L,M)}),(0,O.jsxs)("div",{...b,className:s(e.className,eo,y(eo,{size:t,fillMode:o}),C(eo,{focus:a}),{[`${eo}-resizable`]:n,[`${eo}-scrollable`]:i,[`${eo}-scrollable-overlay`]:i&&l==="hidden",[`${eo}-scrollable-${c}`]:c&&c!=="both",[`${eo}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&l==="hidden"&&(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&l==="start"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&l==="end"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsxs)(B,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{className:s("k-toolbar-prev","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),(0,O.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,O.jsx)("span",{className:s("k-toolbar-next","k-button",y("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};$.states=LN;$.options=MN;$.className=eo;$.defaultOptions=SN;$.moduleName=yo;$.folderName=ga;var zd=require("react/jsx-runtime"),Wr="k-toolbar-item",kN=[r.focus],CN={},AN={},La=e=>{let{focus:t,...o}=e;return(0,zd.jsx)("div",{...o,className:s(e.className,Wr,C(Wr,{focus:t})),children:e.children})};La.states=kN;La.options=CN;La.className=Wr;La.defaultOptions=AN;La.moduleName=yo;La.folderName=ga;var Jr=require("react/jsx-runtime"),Ud="k-toolbar-popup",EN=[],yN={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},IN={},Io=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Jr.jsx)(Y,{...n,className:s(e.className,Ud),children:a?(0,Jr.jsx)("span",{className:s("k-toolbar-items-list",y("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Io.states=EN;Io.options=yN;Io.className=Ud;Io.defaultOptions=IN;Io.moduleName=yo;Io.folderName=ga;var jn=Io;var TN=require("react/jsx-runtime");var ON=require("react/jsx-runtime");var BN=require("react/jsx-runtime");var PN=require("react/jsx-runtime");var Fd=require("react/jsx-runtime");var KN=require("react/jsx-runtime");var Lt=require("react/jsx-runtime"),RN=R.states,Gd={...R.defaultOptions,variant:"text"},_N=R.options,wN=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],DN=[{name:"opened",title:"Opened"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...Gd,...e},n={},i=(0,Lt.jsxs)(Be,{size:a.size,children:[(0,Lt.jsx)(j,{text:"Menu Item"}),(0,Lt.jsx)(j,{text:"Menu Item"}),(0,Lt.jsx)(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?i:"")}),t){case"icon-only":return(0,Lt.jsx)("div",{children:(0,Lt.jsx)(R,{...a,...n,icon:"star"})});case"icon-and-text":return(0,Lt.jsx)("div",{children:(0,Lt.jsx)(R,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,Lt.jsx)("div",{children:(0,Lt.jsx)(R,{...a,...n,children:"Split Button"})})}};Ma.options=_N;Ma.states=RN;Ma.variants=wN;Ma.defaultOptions=Gd;Ma.modifiers=DN;Ma.className=R.className;var Ut=require("react/jsx-runtime"),Vd=e=>(0,Ut.jsx)($,{children:[(0,Ut.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ut.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Ut.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Ut.jsxs)(B,{children:[(0,Ut.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ut.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ut.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var $d=require("react/jsx-runtime");var Me=require("react/jsx-runtime"),Xd=e=>(0,Me.jsx)($,{scrollable:!0,...e,children:[(0,Me.jsx)(p,{children:"Button"},"toolbar-button"),(0,Me.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(B,{children:[(0,Me.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(p,{icon:"align-center",children:"Center"}),(0,Me.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Me.jsx)(p,{children:"Button"},"toolbar-button"),(0,Me.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Me.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Me.jsxs)(B,{children:[(0,Me.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Me.jsx)(p,{icon:"align-center",children:"Center"}),(0,Me.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Se=require("react/jsx-runtime"),qd=({scrollingPosition:e="start",...t})=>(0,Se.jsx)($,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Se.jsx)(p,{children:"Button"},"toolbar-button"),(0,Se.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Se.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Se.jsxs)(B,{children:[(0,Se.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Se.jsx)(p,{icon:"align-center",children:"Center"}),(0,Se.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Se.jsx)(p,{children:"Button"},"toolbar-button"),(0,Se.jsx)(F,{text:"Menu button"},"toolbar-menu-button"),(0,Se.jsx)(R,{children:"Split button"},"toolbar-split-button"),(0,Se.jsxs)(B,{children:[(0,Se.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Se.jsx)(p,{icon:"align-center",children:"Center"}),(0,Se.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var ee=require("react/jsx-runtime"),Wd=({fillMode:e,size:t,...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)($,{section:!0,fillMode:e,size:t,children:[(0,ee.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsxs)(B,{fillMode:e,children:[(0,ee.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,ee.jsx)(Bt,{className:"k-toolbar-button-separator"}),(0,ee.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),(0,ee.jsxs)(jn,{size:t,fillMode:e,section:!0,...o,children:[(0,ee.jsx)(R,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,ee.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsx)(Bt,{}),(0,ee.jsx)(F,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,ee.jsxs)(B,{fillMode:e,children:[(0,ee.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Yr=require("react/jsx-runtime");var Zr=require("react/jsx-runtime");var to=require("react/jsx-runtime"),HN=$.options,zN=$.states,Jd={...$.defaultOptions,variant:"default"},UN=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],FN=[],Sa=e=>{let{variant:t,...o}={...Jd,...e};switch(t){case"responsive":return(0,to.jsx)("div",{children:(0,to.jsx)(Wd,{style:{width:"583px"},...o})});case"overlay":return(0,to.jsx)("div",{children:(0,to.jsx)(qd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,to.jsx)("div",{children:(0,to.jsx)(Xd,{style:{width:"583px"},...o})});default:return(0,to.jsx)("div",{children:(0,to.jsx)(Vd,{style:{width:"583px"},...o})})}};Sa.options=HN;Sa.states=zN;Sa.variants=UN;Sa.defaultOptions=Jd;Sa.modifiers=FN;Sa.className=$.className;var re=require("react/jsx-runtime"),Yd="k-message",GN=[r.hover,r.selected,r.active,r.focus],VN={},$N=[(0,re.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,re.jsx)(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),(0,re.jsx)(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],ka={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:$N,failed:"Failed to send"},V=e=>{let{time:t=ka.time,text:o=ka.text,content:a,status:n=ka.status,statusIcon:i,toolbarItems:l=ka.toolbarItems,hover:c,selected:u,active:b,focus:x,toolbar:g,typing:m,expandable:L,expanded:M,removed:S,files:E,failed:k,...I}=e,D=k===!0?ka.failed:k;return(0,re.jsxs)("div",{...I,className:s(Yd,e.className,{"k-message-removed":S,"k-message-failed":k}),children:[k&&(0,re.jsx)(J,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,re.jsx)(Zd,{typing:m,selected:u,hover:c,active:b,focus:x,content:(0,re.jsxs)(re.Fragment,{children:[a,o&&(0,re.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:M,files:E}),(0,re.jsxs)("div",{className:"k-message-info",children:[n&&(0,re.jsxs)("span",{className:"k-message-status",children:[i&&(0,re.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,re.jsx)("time",{className:"k-message-time",children:t}),k&&(0,re.jsxs)("span",{className:"k-message-failed-content",children:[k&&(0,re.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),k&&(0,re.jsx)("span",{className:"k-message-failed-text",children:D})]})]}),g&&(0,re.jsx)($,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};V.states=GN;V.options=VN;V.className=Yd;V.moduleName=null;V.folderName=null;V.defaultOptions=ka;var Qr="avatar",Qd=Qr;var ei=require("react/jsx-runtime"),cn="k-avatar";var XN=[r.hover,r.focus,r.active,r.selected,r.disabled],qN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[N.undefined,N.solid,N.outline],themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},jr={type:"text",border:!1},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=jr.type,border:l=jr.border,...c}=e;return(0,ei.jsx)("div",{...c,className:s(e.className,cn,y(cn,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${cn}-bordered`]:l}),children:(0,ei.jsx)("span",{className:`${cn}-${i}`,children:e.children})})};Ge.states=XN;Ge.options=qN;Ge.className=cn;Ge.defaultOptions=jr;Ge.moduleName=Qr;Ge.folderName=Qd;var To=Ge;var ec=require("react/jsx-runtime"),jd=e=>(0,ec.jsx)(To,{type:"icon",...e});var oc=require("react/jsx-runtime"),tc=e=>(0,oc.jsx)(To,{type:"text",...e});var ac=require("react/jsx-runtime"),es=e=>(0,ac.jsx)(To,{type:"image",...e});var WN=require("react/jsx-runtime");var Ca=require("react/jsx-runtime"),JN=Ge.options,YN=Ge.states,ZN={...Ge.defaultOptions,variant:"image"},QN=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],jN=[],Aa=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,Ca.jsx)(jd,{...o,children:(0,Ca.jsx)(v,{icon:"star"})});case"text":return(0,Ca.jsx)(tc,{...o,children:"JO"});default:return(0,Ca.jsx)(es,{...o,children:(0,Ca.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};Aa.options=JN;Aa.states=YN;Aa.variants=QN;Aa.defaultOptions=ZN;Aa.modifiers=jN;Aa.className=Ge.className;var Pt=require("react/jsx-runtime"),mn="k-message-group",eh=[r.selected],th={},ts={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},q=e=>{let{type:t=ts.type,author:o=ts.author,avatar:a=ts.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Pt.jsxs)("div",{...c,className:s(mn,e.className,C(mn,{selected:i}),{[`${mn}-${t}`]:t,"k-no-avatar":!a,[`${mn}-full-width`]:l}),children:[a&&!n&&(0,Pt.jsx)(Ge,{type:"image",children:(0,Pt.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Pt.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Pt.jsx)(Ge,{type:"image",children:(0,Pt.jsx)("img",{src:a,alt:o||""})}),(0,Pt.jsx)("div",{className:"k-chat-user-status"})]}),(0,Pt.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Pt.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};q.states=eh;q.options=th;q.className=mn;q.defaultOptions=ts;var Ft=require("react/jsx-runtime"),ti="k-message-reference",oh={},nc={type:"receiver"},fo=e=>{let{content:t,closeable:o,pinned:a,type:n=nc.type,...i}=e;return(0,Ft.jsxs)("div",{...i,className:s(ti,e.className,{[`${ti}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,Ft.jsx)(v,{icon:"pin"}),(0,Ft.jsx)("div",{className:"k-message-reference-content",children:t}),o&&(0,Ft.jsxs)(Ft.Fragment,{children:[(0,Ft.jsx)("span",{className:"k-spacer"}),(0,Ft.jsx)(p,{icon:"x-circle",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};fo.options=oh;fo.className=ti;fo.moduleName=null;fo.folderName=null;fo.defaultOptions=nc;var oi="bubble",sc=oi;var Oo=require("react/jsx-runtime"),ai="k-bubble",ah=[r.hover,r.active,r.selected,r.focus],ni={expandable:!1,expanded:!1},Bo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=ni.expandable,expanded:c=ni.expanded,...u}=e;return(0,Oo.jsxs)("div",{...u,className:s(e.className,ai,C(ai,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":c}),tabIndex:0,children:[(0,Oo.jsx)("div",{className:"k-bubble-content",children:t??e.children}),l&&(0,Oo.jsx)("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?(0,Oo.jsx)(v,{icon:"chevron-up"}):(0,Oo.jsx)(v,{icon:"chevron-down"})})]})};Bo.states=ah;Bo.className=ai;Bo.defaultOptions=ni;Bo.moduleName=oi;Bo.folderName=sc;var nh=require("react/jsx-runtime");var sh=require("react/jsx-runtime");var rh=require("react/jsx-runtime");var Po=require("react/jsx-runtime"),ih="k-chat-bubble",Zd=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,Po.jsxs)(Bo,{...n,className:s(e.className,ih),children:[t?(0,Po.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,Po.jsx)("span",{}),(0,Po.jsx)("span",{}),(0,Po.jsx)("span",{})]}):o,a]})};var lh=require("react/jsx-runtime");var un=require("react/jsx-runtime"),ic="k-chat-event",si={icon:"trash",text:"You deleted Chat history."},lc=e=>{let{icon:t=si.icon,text:o=si.text,...a}=e;return(0,un.jsxs)("div",{...a,className:s(e.className,ic),children:[t&&(0,un.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,un.jsx)("span",{className:"k-chat-event-text",children:o})]})};lc.className=ic;lc.defaultOptions=si;var ph=require("react/jsx-runtime");var Ve=require("react/jsx-runtime"),pc=e=>(0,Ve.jsx)(X,{children:(0,Ve.jsxs)(Ve.Fragment,{children:[(0,Ve.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ve.jsx)(q,{children:(0,Ve.jsx)(V,{})}),(0,Ve.jsx)(q,{type:"sender",children:(0,Ve.jsx)(V,{})}),(0,Ve.jsx)(q,{children:(0,Ve.jsx)(V,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ve.jsx)(q,{type:"sender",children:(0,Ve.jsx)(V,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var ri=require("react/jsx-runtime"),os="k-file-box-wrapper",dc={layout:"horizontal"},Gt=e=>{let{layout:t=dc.layout,scrollingPosition:o,...a}=e;return(0,ri.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:s(e.className,os,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${os}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${os}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,ri.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Gt.className=os;Gt.defaultOptions=dc;var ii="file-box",cc=ii;var Vt=require("react/jsx-runtime"),mc="k-file-box",dh=[r.selected],ch={},fn={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},tt=e=>{let{icon:t=fn.icon,name:o=fn.name,size:a=fn.size,status:n,deleted:i,removeButton:l,showButton:c=fn.showButton,...u}=e,b=[o,a].filter(Boolean).join(" ");return(0,Vt.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":b||void 0,...u,className:s(mc,e.className,{"k-file-deleted":i}),children:[(0,Vt.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,Vt.jsxs)("div",{className:"k-file-info",children:[o&&(0,Vt.jsx)("span",{className:"k-file-name",children:o}),a&&(0,Vt.jsx)("span",{className:"k-file-size",children:a}),n&&(0,Vt.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,Vt.jsx)(p,{as:"span",icon:"x-circle",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,Vt.jsx)(F,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};tt.states=dh;tt.options=ch;tt.className=mc;tt.defaultOptions=fn;tt.moduleName=ii;tt.folderName=cc;var mh=require("react/jsx-runtime");var uh=require("react/jsx-runtime");var uc=require("react/jsx-runtime");var fc=require("react/jsx-runtime");var fh=require("react/jsx-runtime");var li=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var di=require("react/jsx-runtime");var ci="window",bc=ci;var Nc=require("react/jsx-runtime"),xc="k-window-content",bh=[],xh={},Nh={},bo=e=>{let{children:t,...o}=e;return(0,Nc.jsx)("div",{...o,className:s(xc,e.className),children:t})};bo.states=bh;bo.options=xh;bo.className=xc;bo.defaultOptions=Nh;bo.moduleName=ci;bo.folderName=bc;var bn="dialog",as=bn;var ot=require("react/jsx-runtime"),hc="k-dialog",hh=[],vh={},mi={actionButtonsAlign:"stretched",modal:!0},ct=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=mi.actionButtonsAlign,modal:i=mi.modal,...l}=e,c=t!==void 0?K("dialog-titlebar"):void 0,u=K("dialog-content");return(0,ot.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,ot.jsx)(Dt,{}),(0,ot.jsxs)("div",{...l,className:s(e.className,hc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,ot.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,ot.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,ot.jsx)(ot.Fragment,{children:(0,ot.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(b=>(0,ot.jsx)(p,{icon:b,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":b},b))})})]}),(0,ot.jsx)(bo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,ot.jsx)(rt,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};ct.states=hh;ct.options=vh;ct.className=hc;ct.defaultOptions=mi;ct.moduleName=bn;ct.folderName=as;var ui=ct;var gc=require("react/jsx-runtime"),vc="k-dialog-wrapper",gh=[],Lh={},Mh={},Ea=e=>{let{...t}=e;return(0,gc.jsx)("div",{...t,className:s(e.className,vc),children:e.children})};Ea.states=gh;Ea.options=Lh;Ea.className=vc;Ea.defaultOptions=Mh;Ea.moduleName=bn;Ea.folderName=as;var $t=require("react/jsx-runtime"),Lc=e=>(0,$t.jsx)(ui,{title:"Title",children:(0,$t.jsx)($t.Fragment,{children:"Dialog content"}),actionButtons:(0,$t.jsxs)($t.Fragment,{children:[(0,$t.jsx)(p,{children:"Action"}),(0,$t.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var fi=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Sh=ct.options,kh=[],Ch=ct.states,Ah=ct.defaultOptions,Eh=[],ya=e=>(0,oo.jsx)(Lc,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:(0,oo.jsxs)(oo.Fragment,{children:[(0,oo.jsx)(p,{children:"No"}),(0,oo.jsx)(p,{themeColor:"primary",children:"Yes"})]}),children:(0,oo.jsx)("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});ya.options=Sh;ya.states=Ch;ya.variants=kh;ya.defaultOptions=Ah;ya.modifiers=Eh;ya.className=ct.className;var bi="dropzone",Mc=bi;var Ko=require("react/jsx-runtime"),xi="k-external-dropzone",yh=[r.disabled,r.hover],Ih={},Ni={icon:"upload",hint:"Drag and drop files here to upload"},$e=e=>{let{hover:t,disabled:o,icon:a=Ni.icon,hint:n=Ni.hint,note:i,...l}=e;return(0,Ko.jsx)("div",{...l,className:s(e.className,xi,C(xi,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Ko.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Ko.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Ko.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Ko.jsx)("span",{className:"k-dropzone-note",children:i})]})})};$e.states=yh;$e.options=Ih;$e.className=xi;$e.defaultOptions=Ni;$e.moduleName=bi;$e.folderName=Mc;var kc=require("react/jsx-runtime"),Sc=e=>(0,kc.jsx)($e,{...e});var Th=require("react/jsx-runtime");var Cc=require("react/jsx-runtime"),Oh=$e.options,Bh=$e.states,Ph=$e.defaultOptions,Kh=[{name:"note",title:"Note"}],Rh=[],Ia=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t!=null&&t[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,Cc.jsx)(Sc,{style:{width:"500px"},...o,...a})};Ia.options=Oh;Ia.states=Bh;Ia.variants=Rh;Ia.defaultOptions=Ph;Ia.modifiers=Kh;Ia.className=$e.className;var ie=require("react/jsx-runtime"),hi="k-upload-dropzone",_h=[r.hover],ns=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,buttonText:l="Select files...",...c}=e,u;switch(o){case"uploading":u=(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":u=(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":u=(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:u=(0,ie.jsx)(ie.Fragment,{});break}return(0,ie.jsxs)("div",{...c,className:s(e.className,hi,"k-dropzone",C(hi,{hover:t})),children:[(0,ie.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,ie.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:l}),(0,ie.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,ie.jsx)("span",{className:s("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,ie.jsx)("span",{className:"k-upload-status",children:u})]})};ns.states=_h;ns.className=hi;var vi="upload",Ac=vi;var xo=require("react/jsx-runtime"),gi="k-upload",wh=[r.hover,r.disabled],Dh={},yc={actionsLayout:"end"},Ec="upload-files-list",ce=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=yc.actionsLayout,hover:i,status:l,disabled:c,buttonText:u,...b}=e,x=!!e.children;return(0,xo.jsxs)("div",{...b,className:s(e.className,gi,C(gi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,xo.jsx)(ns,{status:l,hover:i,disabled:c,hasFiles:x,filesId:Ec,buttonText:u}),x&&(0,xo.jsx)("ul",{className:"k-upload-files",role:"list",id:Ec,children:e.children}),a&&x&&(0,xo.jsxs)(_l,{alignment:n,orientation:"horizontal",children:[(0,xo.jsx)(p,{className:"k-clear-selected",children:"Clear"}),(0,xo.jsx)(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ce.states=wh;ce.options=Dh;ce.className=gi;ce.defaultOptions=yc;ce.moduleName=vi;ce.folderName=Ac;var xn="progressbar",ss=xn;var No=require("react/jsx-runtime"),Mt="k-progressbar",Hh=[r.disabled,r.indeterminate],zh={orientation:["horizontal","vertical"]},Ro={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Xe=e=>{let{disabled:t,height:o,indeterminate:a=Ro.indeterminate,label:n=Ro.label,labelPosition:i=Ro.labelPosition,orientation:l=Ro.orientation,reverse:c=Ro.reverse,value:u=Ro.value,width:b,style:x,ariaLabel:g,...m}=e;return(0,No.jsxs)("div",{...m,className:s(e.className,Mt,C(Mt,{disabled:t}),{[`${Mt}-${l}`]:l,[`${Mt}-indeterminate`]:a,[`${Mt}-reverse`]:c}),style:{...x,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:b},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,No.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,No.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,No.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,No.jsx)("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,No.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Xe.states=Hh;Xe.options=zh;Xe.className=Mt;Xe.defaultOptions=Ro;Xe.moduleName=xn;Xe.folderName=ss;var Ic=Xe;var is=require("react/jsx-runtime"),Tc="k-chunk-progressbar",Uh=(e,t)=>t<=e-1,Fh=[r.disabled,r.indeterminate],Gh={},rs={chunkCount:5,orientation:"horizontal",progress:0},Ta=e=>{let{disabled:t,chunkCount:o=rs.chunkCount,indeterminate:a,orientation:n=rs.orientation,progress:i=rs.progress,reverse:l,ariaLabel:c,...u}=e;return(0,is.jsx)("div",{...u,className:s(e.className,Mt,Tc,C(Mt,{disabled:t}),{[`${Mt}-${n}`]:n,[`${Mt}-indeterminate`]:a,[`${Mt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,is.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>(0,is.jsx)("li",{className:s("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":Uh(i,x)})},x))})})};Ta.states=Fh;Ta.options=Gh;Ta.className=Tc;Ta.defaultOptions=rs;Ta.moduleName=xn;Ta.folderName=ss;var Oc=require("react/jsx-runtime"),Nn=e=>(0,Oc.jsx)(Ic,{...e});var Vh=require("react/jsx-runtime");var ao=require("react/jsx-runtime"),$h=Xe.options,Xh=Xe.states,Bc={...Xe.defaultOptions,variant:"start"},qh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Wh=[],Oa=e=>{let{variant:t,modifiers:o,...a}={...Bc,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!(o!=null&&o[l]);break;case"vertical":n.orientation=o!=null&&o[l]?"vertical":void 0,i.style=o!=null&&o[l]?void 0:{width:"324px"};break}}),t){case"end":return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,label:!1,value:"50"})});default:return(0,ao.jsx)("div",{...i,children:(0,ao.jsx)(Nn,{...a,...n,labelPosition:"start",value:"50"})})}};Oa.options=$h;Oa.states=Xh;Oa.variants=qh;Oa.defaultOptions=Bc;Oa.modifiers=Wh;Oa.className=Xe.className;var Ba=require("react/jsx-runtime"),Jh="k-file-info",Li=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ba.jsxs)("div",{...n,className:s(e.className,Jh),children:[t&&(0,Ba.jsx)("span",{className:"k-file-name",children:t}),o&&(0,Ba.jsx)("span",{className:"k-file-size",children:o}),a&&(0,Ba.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var ke=require("react/jsx-runtime"),Yh="k-file",at=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,ke.jsx)("li",{...u,className:s(e.className,Yh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,ke.jsxs)("div",{className:"k-file-single",children:[(0,ke.jsx)(Xe,{className:s({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,ke.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,ke.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,ke.jsx)("span",{className:"k-file-state",children:l})]}),(0,ke.jsx)(Li,{name:a,size:i,validationMsg:c}),(0,ke.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,ke.jsxs)(ke.Fragment,{children:[(0,ke.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,ke.jsx)(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,ke.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,ke.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var Mi=require("react/jsx-runtime");var ho=require("react/jsx-runtime"),hn=e=>(0,ho.jsx)(ce,{async:!0,children:(0,ho.jsxs)(ho.Fragment,{children:[(0,ho.jsx)(at,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,ho.jsx)(at,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var Si=require("react/jsx-runtime");var Kc=require("react/jsx-runtime"),Pc=e=>(0,Kc.jsx)(ce,{async:!0,empty:!0,...e});var ki=require("react/jsx-runtime");var Ci=require("react/jsx-runtime");var qe=require("react/jsx-runtime"),Zh=ce.options,Qh=ce.states,Rc={...ce.defaultOptions,variant:"empty"},jh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],ev=[],Pa=e=>{let{variant:t,...o}={...Rc,...e};switch(t){case"success":return(0,qe.jsxs)(hn,{status:"done",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,qe.jsx)(at,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,qe.jsxs)(hn,{status:"failed",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,qe.jsx)(at,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,qe.jsxs)(hn,{status:"uploading",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,qe.jsx)(at,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,qe.jsxs)(hn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,qe.jsx)(at,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,qe.jsx)(at,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,qe.jsx)(Pc,{async:!0,status:"upload",style:{width:"586px"},...o})}};Pa.options=Zh;Pa.states=Qh;Pa.variants=jh;Pa.defaultOptions=Rc;Pa.modifiers=ev;Pa.className=ce.className;var Ai=require("react/jsx-runtime");var tv=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var yi=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var _c=require("react/jsx-runtime");var Ti="appbar",wc=Ti;var Dc=require("react/jsx-runtime"),Oi="k-appbar",ov=[],av={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.inverse]},nv={},We=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Dc.jsx)("div",{...n,className:s(e.className,Oi,y(Oi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};We.states=ov;We.options=av;We.className=Oi;We.defaultOptions=nv;We.moduleName=Ti;We.folderName=wc;var Hc=require("react/jsx-runtime"),sv="k-appbar-section",Xt=e=>{let{...t}=e;return(0,Hc.jsx)("div",{...t,className:s(sv,e.className),children:e.children})};var Bi=require("react/jsx-runtime");var H=require("react/jsx-runtime"),Pi={...We.options,positionMode:["static","sticky","fixed"]},rv=We.states,zc={...We.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};Pi.themeColor=["primary",...Pi.themeColor.filter(e=>e!=="primary")];var iv=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Ka=e=>{let{variant:t,...o}={...zc,...e},a=(0,H.jsxs)(We,{position:t,...o,children:[(0,H.jsx)(Xt,{children:(0,H.jsx)(J,{fillMode:"flat",icon:"menu"})}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)(Xt,{children:(0,H.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,H.jsx)("span",{className:"k-spacer"}),(0,H.jsxs)(Xt,{children:[(0,H.jsx)(At,{fillMode:"flat",children:"Button"}),(0,H.jsx)(At,{fillMode:"flat",children:"Button"}),(0,H.jsx)(At,{fillMode:"flat",children:"Button"})]}),(0,H.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,H.jsx)(Xt,{children:(0,H.jsx)(Pn,{value:"Input value"})}),(0,H.jsxs)(Xt,{children:[(0,H.jsx)(J,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,H.jsx)("span",{className:"k-appbar-separator"}),(0,H.jsx)(es,{className:"k-mx-sm",children:(0,H.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,H.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,H.jsx)("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!"}),(0,H.jsx)("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?"}),(0,H.jsx)("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!"}),(0,H.jsx)("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"?(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,H.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Ka.options=Pi;Ka.states=rv;Ka.variants=iv;Ka.defaultOptions=zc;Ka.modifiers=[];Ka.className=We.className;var Ki="suggestion",Uc=Ki;var _o=require("react/jsx-runtime"),ls="k-suggestion-group",lv=[],pv={},Fc={layout:"scrollable",scrollingPosition:"start"},St=e=>{let{layout:t=Fc.layout,scrollingPosition:o,...a}=e,n=(0,_o.jsx)("div",{...a,className:s(ls,{"k-suggestion-group-scrollable":t=="scrollable",[`${ls}-scrollable-start`]:o==="start"||o==="both",[`${ls}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?(0,_o.jsx)("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?(0,_o.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,_o.jsx)(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,(0,_o.jsx)(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};St.states=lv;St.options=pv;St.className=ls;St.defaultOptions=Fc;St.moduleName=Ki;St.folderName=Uc;var Gc=require("react/jsx-runtime"),ps="k-suggestion",dv=[r.active,r.hover,r.focus],cv={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},mv={text:"Suggestion"},kt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,children:l,...c}=e;return(0,Gc.jsx)("span",{...c,className:s(e.className,ps,C(ps,{hover:a,active:o,focus:n}),y(ps,{themeColor:t})),role:"button",tabIndex:0,"aria-label":e["aria-label"]||i,children:l||i})};kt.states=dv;kt.options=cv;kt.className=ps;kt.item=mv;var Ri=require("react/jsx-runtime");var _i=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var z=require("react/jsx-runtime"),uv=X.states,fv=X.defaultOptions,bv=X.options,xv=[{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"}],Nv=[],Ra=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,z.jsxs)(We,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,z.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,z.jsx)(Xt,{children:(0,z.jsx)("span",{children:"Chat with demo bot"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsx)(Xt,{children:(0,z.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,z.jsx)(fo,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,z.jsxs)(St,{children:[(0,z.jsx)(kt,{text:"Provide a CV template"}),(0,z.jsx)(kt,{text:"Generate a cover letter"})]}),c=(0,z.jsxs)(St,{children:[(0,z.jsx)(kt,{themeColor:"primary",text:"Thank you!"}),(0,z.jsx)(kt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",b=null,x="User",g="Demo Bot";Object.keys(t||{}).forEach(I=>{switch(I){case"header":a.header=t!=null&&t[I]?n:!1;break;case"pinned":a.pinned=t!=null&&t[I]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[I]?l:!1;break;case"author":a.author=t!=null&&t[I]?!0:null;break;case"avatar":a.avatar=t!=null&&t[I]?u:null;break;case"quick":a.quickReplies=t!=null&&t[I]?c:(0,z.jsx)(z.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:M,author:S,avatar:E,quickReplies:k}=a;return(0,z.jsxs)(pc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:M,children:[(0,z.jsx)(q,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,z.jsx)(q,{avatar:E?u:null,author:S?x:null,type:"sender",children:(0,z.jsx)(V,{text:"Hello! Generate a cover letter."})}),(0,z.jsx)(q,{avatar:b,author:S?g:null,children:(0,z.jsx)(V,{text:"Sure. Here is a cover letter template",files:(0,z.jsx)(Gt,{children:(0,z.jsx)(tt,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),k]})};Ra.options=bv;Ra.states=uv;Ra.variants=Nv;Ra.defaultOptions=fv;Ra.modifiers=xv;Ra.className=X.className;var Di="skeleton",Vc=Di;var $c=require("react/jsx-runtime"),Hi="k-skeleton",hv=["circle","text","rect"],vv=[],gv={},zi={variant:"text",shape:"text",animation:"pulse"},Ct=e=>{let{variant:t,shape:o,animation:a=zi.animation,...n}=e,i=`skeleton-${t||o||zi.variant}`;return(0,$c.jsx)("span",{...n,className:s(e.className,Hi,gn(Hi,i),{[`k-skeleton-${a}`]:a}),style:e.style})};Ct.states=vv;Ct.options=gv;Ct.variants=hv;Ct.className=Hi;Ct.defaultOptions=zi;Ct.moduleName=Di;Ct.folderName=Vc;var Xc=require("react/jsx-runtime"),wo=e=>(0,Xc.jsx)(Ct,{...e});var Wc=require("react/jsx-runtime"),qc=e=>(0,Wc.jsx)(Ct,{shape:"rect",...e});var Lv=require("react/jsx-runtime");var te=require("react/jsx-runtime"),Mv=e=>(0,te.jsx)(X,{children:(0,te.jsxs)(te.Fragment,{children:[(0,te.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,te.jsx)(q,{fullWidth:!0,children:(0,te.jsx)(V,{text:null,content:(0,te.jsxs)("div",{className:"k-skeleton-container",style:{width:"100%"},children:[(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"75%"}})]})})}),(0,te.jsx)(q,{type:"sender",fullWidth:!0,avatar:null,children:(0,te.jsx)(V,{text:null,content:(0,te.jsxs)("div",{className:"k-skeleton-container",style:{width:"100%",display:"flex",alignItems:"center",gap:"var( --kendo-spacing-1 )"},children:[(0,te.jsx)(qc,{style:{width:"32px",height:"32px"}}),(0,te.jsxs)("div",{style:{flex:"1 1 50%"},children:[(0,te.jsx)(wo,{style:{width:"100%"}}),(0,te.jsx)(wo,{style:{width:"50%"}})]})]})})})]}),...e});
|