@progress/kendo-themes-html 14.7.1-dev.5 → 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.
Files changed (103) hide show
  1. package/dist/cjs/chat/chat-message.spec.js +1 -1
  2. package/dist/cjs/chat/demos/chat.js +1 -1
  3. package/dist/cjs/chat/templates/chat-empty.js +1 -1
  4. package/dist/cjs/chat/templates/chat-expandable.js +1 -1
  5. package/dist/cjs/chat/templates/chat-failed.js +1 -1
  6. package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
  7. package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
  8. package/dist/cjs/chat/templates/chat-normal.js +1 -1
  9. package/dist/cjs/chat/templates/chat-pinned.js +1 -1
  10. package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
  11. package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
  12. package/dist/cjs/chat/templates/chat-typing.js +1 -1
  13. package/dist/cjs/chat/templates/chat-upload.js +1 -1
  14. package/dist/cjs/datainsights-composer/demos/datainsights-composer.js +1 -1
  15. package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.js +1 -1
  16. package/dist/cjs/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.js +1 -1
  17. package/dist/cjs/datainsights-composer/templates/datainsights-composer-error.js +1 -1
  18. package/dist/cjs/datainsights-composer/templates/datainsights-composer-followup.js +1 -1
  19. package/dist/cjs/datainsights-composer/templates/datainsights-composer-history-popup.js +1 -1
  20. package/dist/cjs/datainsights-composer/templates/datainsights-composer-loading.js +1 -1
  21. package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.js +1 -1
  22. package/dist/cjs/datainsights-composer/templates/datainsights-composer-prompt.js +1 -1
  23. package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.js +1 -0
  24. package/dist/cjs/datainsights-composer/templates/datainsights-composer-report-edit-panel.js +1 -1
  25. package/dist/cjs/datainsights-composer/templates/datainsights-composer-report.js +1 -1
  26. package/dist/cjs/index.js +8 -8
  27. package/dist/cjs/prompt/demos/prompt.js +1 -1
  28. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  29. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  30. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  31. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  32. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  33. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  34. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  35. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  36. package/dist/cjs/suggestion/suggestion.js +1 -1
  37. package/dist/cjs/suggestion/templates/suggestion-group-normal.js +1 -1
  38. package/dist/cjs/suggestion/templates/suggestion-group-scrollable-buttons.js +1 -1
  39. package/dist/cjs/suggestion/templates/suggestion-group-wrap.js +1 -1
  40. package/dist/cjs/timepicker/demos/timepicker.js +1 -1
  41. package/dist/cjs/timepicker/templates/timepicker-adaptive.js +1 -1
  42. package/dist/cjs/timepicker/templates/timepicker-disabled.js +1 -1
  43. package/dist/cjs/timepicker/templates/timepicker-invalid.js +1 -1
  44. package/dist/cjs/timepicker/templates/timepicker-normal.js +1 -1
  45. package/dist/cjs/timepicker/templates/timepicker-popup.js +1 -1
  46. package/dist/cjs/timepicker/timepicker.spec.js +1 -1
  47. package/dist/esm/chat/chat-message.spec.mjs +1 -1
  48. package/dist/esm/chat/demos/chat.mjs +1 -1
  49. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  50. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  51. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  52. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  53. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  54. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  55. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  56. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  57. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  58. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  59. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  60. package/dist/esm/datainsights-composer/demos/datainsights-composer.mjs +1 -1
  61. package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-browser-popup.mjs +1 -1
  62. package/dist/esm/datainsights-composer/templates/datainsights-composer-data-source-fields-popup.mjs +1 -1
  63. package/dist/esm/datainsights-composer/templates/datainsights-composer-error.mjs +1 -1
  64. package/dist/esm/datainsights-composer/templates/datainsights-composer-followup.mjs +1 -1
  65. package/dist/esm/datainsights-composer/templates/datainsights-composer-history-popup.mjs +1 -1
  66. package/dist/esm/datainsights-composer/templates/datainsights-composer-loading.mjs +1 -1
  67. package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt-many-data-sources.mjs +1 -1
  68. package/dist/esm/datainsights-composer/templates/datainsights-composer-prompt.mjs +1 -1
  69. package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.mjs +1 -0
  70. package/dist/esm/datainsights-composer/templates/datainsights-composer-report-edit-panel.mjs +1 -1
  71. package/dist/esm/datainsights-composer/templates/datainsights-composer-report.mjs +1 -1
  72. package/dist/esm/index.mjs +8 -8
  73. package/dist/esm/prompt/demos/prompt.mjs +1 -1
  74. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  75. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  76. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  77. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  78. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  79. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  80. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  81. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  82. package/dist/esm/suggestion/suggestion.mjs +1 -1
  83. package/dist/esm/suggestion/templates/suggestion-group-normal.mjs +1 -1
  84. package/dist/esm/suggestion/templates/suggestion-group-scrollable-buttons.mjs +1 -1
  85. package/dist/esm/suggestion/templates/suggestion-group-wrap.mjs +1 -1
  86. package/dist/esm/timepicker/demos/timepicker.mjs +1 -1
  87. package/dist/esm/timepicker/templates/timepicker-adaptive.mjs +1 -1
  88. package/dist/esm/timepicker/templates/timepicker-disabled.mjs +1 -1
  89. package/dist/esm/timepicker/templates/timepicker-invalid.mjs +1 -1
  90. package/dist/esm/timepicker/templates/timepicker-normal.mjs +1 -1
  91. package/dist/esm/timepicker/templates/timepicker-popup.mjs +1 -1
  92. package/dist/esm/timepicker/timepicker.spec.mjs +1 -1
  93. package/dist/types/datainsights-composer/index.d.ts +1 -0
  94. package/dist/types/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.d.ts +2 -0
  95. package/package.json +1 -1
  96. package/src/action-sheet/tests/action-sheet-date-time-selector.tsx +1 -1
  97. package/src/action-sheet/tests/action-sheet-time-selector.tsx +2 -2
  98. package/src/datainsights-composer/index.ts +1 -0
  99. package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel-compact.tsx +65 -0
  100. package/src/datainsights-composer/templates/datainsights-composer-report-edit-panel.tsx +3 -3
  101. package/src/datainsights-composer/tests/datainsights-composer-edit-mode-compact.tsx +10 -0
  102. package/src/suggestion/suggestion.tsx +3 -2
  103. package/src/timepicker/timepicker.spec.tsx +1 -1
@@ -1 +1 @@
1
- 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 E=(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:m,selected:u,disabled:b,indeterminate:x,loading:g,empty:c,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":m,"k-selected":u,"k-disabled":b,"k-indeterminate":x&&!l,"k-loading":g,"k-empty":c,"k-readonly":L,"k-highlighted":M},Object.keys(S).reduce((A,k)=>(k.startsWith("k-")?A[k]=S[k]:A[`k-${k}`]=S[k],A),{}))};function Ya(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"},it={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 jn={};function B(e){return jn[e]=(jn[e]||0)+1,`k-${e}-${jn[e]}`}import{Fragment as Sd,jsx as ri}from"react/jsx-runtime";var es="k-font-icon",gd=[],Ld={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]},Md={},ba=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?ri("span",{...l,className:s(e.className,es,E(es,{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"}):ri(Sd,{})};ba.states=gd;ba.options=Ld;ba.className=es;ba.defaultOptions=Md;var ii=ba;import{Fragment as Ad,jsx as Za}from"react/jsx-runtime";var ts="k-svg-icon",kd=[],Cd={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:[it.outline,it.solid,it.duotone]},os={viewBox:"0 0 24 24",variant:it.outline},xa=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=os.viewBox,variant:l=os.variant,icon:m,...u}=e;if(!m)return Za(Ad,{});if(m==="none")return Za("span",{...u,className:s(e.className,ts,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Za("span",{...u,className:s(e.className,ts,E("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:Za("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:i,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};xa.states=kd;xa.options=Cd;xa.className=ts;xa.defaultOptions=os;var as=xa;import*as ns from"@progress/kendo-svg-icons";var li="icon",pi="icons";import{useContext as yd}from"react";import{createContext as Ed}from"react";var di=Ed({iconsType:"svg"});import{Fragment as mi,jsx as Na}from"react/jsx-runtime";var Qa="k-icon",Id=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Td=[],Od={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:[it.outline,it.solid,it.duotone]},ja={viewBox:"0 0 24 24",type:"svg",variant:it.outline},v=e=>{let{iconsType:t}=yd(di),{size:o,themeColor:a,icon:n,type:i=t||ja.type,rotate:l,flip:m,viewBox:u=ja.viewBox,variant:b=ja.variant,...x}=e;if(!n)return Na(mi,{});if((t||i)==="svg"){if(n==="none")return Na(as,{...x,className:s(e.className,Qa),icon:n,size:o,variant:b});let c=ns[n]?n:Id(`${n}-icon`);return ns[c]?Na(as,{...x,className:s(e.className,Qa),icon:ns[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:u,variant:b}):Na(mi,{})}return Na(ii,{...x,className:s(e.className,Qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};v.states=Td;v.options=Od;v.defaultOptions=ja;v.className=Qa;v.moduleName=li;v.folderName=pi;var ss="button",ci=ss;import{Fragment as rs,jsx as yt,jsxs as ui}from"react/jsx-runtime";var ha="k-button",Bd=["icon-button"],Pd=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Kd={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]},is={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=is.showArrow,arrowIconName:m=is.arrowIconName,variant:u,hover:b,focus:x,active:g,selected:c,disabled:L,togglable:M,ariaDisabled:S,icon:A,endIcon:k,iconSize:y,text:w,iconClassName:se,className:Ae,...pe}=e,ue=A!=null,ua=e.children!==void 0;return ui(t,{className:s(Ae,ha,Ya(ha,u),E(ha,{size:o,rounded:a,fillMode:n,themeColor:i}),C(ha,{hover:b,focus:x,active:g,disabled:L||S,selected:c}),{"k-icon-button":!w&&!ua&&ue}),"aria-pressed":M?c?"true":"false":void 0,...pe,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof A=="string"&&A&&yt(v,{className:s(se,"k-button-icon"),icon:A,size:y}),A&&typeof A!="string"&&yt(rs,{children:A}),w?ui(rs,{children:[w&&yt("span",{className:"k-button-text",children:w}),e.children]}):e.children&&yt("span",{className:"k-button-text",children:e.children}),typeof k=="string"&&k&&yt(v,{className:s(se,"k-button-icon"),icon:k,size:y}),k&&typeof k!="string"&&yt(rs,{children:k}),l&&yt("span",{className:"k-menu-button-arrow k-button-arrow",children:yt(v,{icon:m})})]})};p.states=Pd;p.options=Kd;p.variants=Bd;p.className=ha;p.defaultOptions=is;p.moduleName=ss;p.folderName=ci;import{jsx as Rd}from"react/jsx-runtime";var $=e=>Rd(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as _d}from"react/jsx-runtime";var va=e=>_d(p,{icon:"folder",children:"Button",...e});import{jsx as Pv}from"react/jsx-runtime";import{jsx as wd}from"react/jsx-runtime";var at=e=>wd(p,{children:"Button",...e});import{jsx as ls}from"react/jsx-runtime";var Dd=p.options,Hd=p.states,zd={...p.defaultOptions,variant:"text"},Ud=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Fd=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ls($,{...o,icon:"star"});case"icon-and-text":return ls(va,{...o,icon:"star",children:"Button"});default:return ls(at,{...o,children:"Button"})}};fo.options=Dd;fo.states=Hd;fo.variants=Ud;fo.defaultOptions=zd;fo.modifiers=Fd;fo.className=p.className;var ps="button",fi=ps;import{jsx as Xd}from"react/jsx-runtime";var ga="k-button-group",Gd=[r.disabled],Vd={fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},$d={},T=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Xd("div",{role:"group",...n,className:s(e.className,ga,E(ga,{fillMode:t}),C(ga,{disabled:o}),{[`${ga}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};T.states=Gd;T.options=Vd;T.className=ga;T.defaultOptions=$d;T.moduleName=ps;T.folderName=fi;import{Fragment as ig,jsx as rg,jsxs as lg}from"react/jsx-runtime";import{Fragment as fg,jsx as ug,jsxs as bg}from"react/jsx-runtime";import{Fragment as Lg,jsx as gg,jsxs as Mg}from"react/jsx-runtime";import{Fragment as yg,jsx as Eg,jsxs as Ig}from"react/jsx-runtime";import{Fragment as Rg,jsx as Kg,jsxs as _g}from"react/jsx-runtime";import{Fragment as Fg,jsx as Ug,jsxs as Gg}from"react/jsx-runtime";import{Fragment as Jg,jsx as Wg,jsxs as Yg}from"react/jsx-runtime";import{jsx as gt,jsxs as ds}from"react/jsx-runtime";var qd={...p.options,...T.options},Wd=p.states,Jd={...p.defaultOptions,...T.defaultOptions,variant:"text-button"},Yd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Zd=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?ds(T,{fillMode:a.fillMode,className:o,children:[gt(p,{...a,icon:"star"}),gt(p,{...a,icon:"star"}),gt(p,{...a,icon:"star"})]}):t==="icon-text-button"?ds(T,{fillMode:a.fillMode,className:o,children:[gt(p,{...a,icon:"star",children:"First"}),gt(p,{...a,icon:"star",children:"Middle"}),gt(p,{...a,icon:"star",children:"Last"})]}):ds(T,{fillMode:a.fillMode,className:o,children:[gt(p,{...a,children:"First"}),gt(p,{...a,children:"Middle"}),gt(p,{...a,children:"Last"})]})};bo.options=qd;bo.states=Wd;bo.variants=Yd;bo.defaultOptions=Jd;bo.modifiers=Zd;bo.className=T.className;var La="input",en=La;import{jsx as tm}from"react/jsx-runtime";var tn="k-input",Qd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],jd={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]},em={},J=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m,size:u,rounded:b,fillMode:x,...g}=e;return tm("span",{...g,className:s(e.className,tn,E(tn,{size:u,rounded:b,fillMode:x}),C(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m}))})};J.states=Qd;J.options=jd;J.className=tn;J.defaultOptions=em;J.moduleName=La;J.folderName=en;import{jsx as sm}from"react/jsx-runtime";var on="k-picker",om=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],am={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]},nm={},lt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m,size:u,rounded:b,fillMode:x,...g}=e;return sm("span",{...g,className:s(e.className,on,E(on,{size:u,rounded:b,fillMode:x}),C(on,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m})),children:e.children})};lt.states=om;lt.options=am;lt.className=on;lt.defaultOptions=nm;lt.moduleName=La;lt.folderName=en;import{Fragment as lm,jsx as ms}from"react/jsx-runtime";var bi="k-clear-value",rm=[r.disabled,r.loading,r.readonly],im={},Be=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ms(lm,{}):ms("span",{className:s(e.className,bi),children:ms(v,{icon:"x"})})};Be.states=rm;Be.options=im;Be.className=bi;import{jsx as mm}from"react/jsx-runtime";var cs="k-input-inner",pm=[],dm={},an={type:"text",autocomplete:"off",value:"",placeholder:""},fe=e=>{let{value:t=an.value,type:o=an.type,placeholder:a=an.placeholder,autocomplete:n=an.autocomplete,disabled:i,readOnly:l,...m}=e;return mm("input",{...m,type:o,className:s(e.className,cs,E(cs,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};fe.states=pm;fe.options=dm;fe.className=cs;import{jsx as xi,jsxs as fm}from"react/jsx-runtime";var us="k-input-inner",cm=[],um={},Wt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return fm("span",{...l,className:s(e.className,us,E(us,e)),children:[n,!n&&i&&xi(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&xi("span",{className:"k-input-value-text",children:t})]})};Wt.states=cm;Wt.options=um;Wt.className=us;import{jsx as Nm}from"react/jsx-runtime";var fs="k-input-inner",bm=[],xm={},Ni={value:"",placeholder:""},Ma=e=>{let{value:t=Ni.value,placeholder:o=Ni.placeholder,rows:a,disabled:n,...i}=e;return Nm("textarea",{...i,className:s(e.className,fs,E(fs,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ma.states=bm;Ma.options=xm;Ma.className=fs;import{Fragment as vm,jsx as hi}from"react/jsx-runtime";var vi="k-input-loading-icon",hm=[r.disabled,r.loading],Ee=e=>{let{disabled:t,loading:o}=e;return t||!o?hi(vm,{}):hi("span",{className:s(e.className,vi,"k-icon k-i-loading")})};Ee.states=hm;Ee.className=vi;import{Fragment as Mm,jsx as gi}from"react/jsx-runtime";var Li="k-input-validation-icon",gm=[r.valid,r.invalid,r.disabled,r.loading],Lm={},be=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?gi(Mm,{}):gi(v,{className:s(Li),icon:i})};be.states=gm;be.options=Lm;be.className=Li;import{Fragment as Cm,jsx as Mi}from"react/jsx-runtime";var Sm="k-input-prefix",km={direction:"horizontal"},Ue=e=>{let{direction:t=km.direction,...o}=e;return e.children?Mi("span",{...o,className:s(Sm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Mi(Cm,{})};import{Fragment as ym,jsx as Si}from"react/jsx-runtime";var Am="k-input-suffix",Em={direction:"horizontal"},Fe=e=>{let{direction:t=Em.direction,...o}=e;return e.children?Si("span",{...o,className:s(Am,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Si(ym,{})};import{jsx as ZL}from"react/jsx-runtime";import{jsx as Tm}from"react/jsx-runtime";var Im="k-input-suffix-text",bs=e=>{let{children:t,...o}=e;return Tm("span",{...o,className:s(Im,e.className),children:t})};import{jsx as Bm}from"react/jsx-runtime";var ki="k-input-separator",Om={direction:"vertical"},Ge=e=>{let{direction:t=Om.direction,...o}=e;return Bm("span",{...o,className:s(ki,e.className,{[`${ki}-${t}`]:t})})};import{Fragment as Ci,jsx as pt,jsxs as xs}from"react/jsx-runtime";var Pm=J.states,Km=J.defaultOptions,Rm=J.options,_m=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],wm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...m}=e,u=t?.prefix,b=t?.suffix,x=t?.["clear-button"],g=t?.["validation-icon"],c=t?.separators;return xs(J,{...m,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&xs(Ci,{children:[pt(Ue,{children:pt(v,{icon:"lock"})}),c&&pt(Ge,{})]}),pt(fe,{placeholder:"Placeholder",value:"Value"}),g&&pt(be,{valid:o,invalid:a,loading:n,disabled:i}),pt(Ee,{loading:n,disabled:i}),x&&pt(Be,{loading:n,disabled:i,readonly:l,value:"Value"}),b&&xs(Ci,{children:[c&&pt(Ge,{}),pt(Fe,{children:pt(at,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=Rm;xo.states=Pm;xo.variants=wm;xo.defaultOptions=Km;xo.modifiers=_m;xo.className=J.className;import{jsx as Ai,jsxs as zm}from"react/jsx-runtime";var Ei="k-color-preview",Dm=[],Hm={},It=e=>{let{color:t,iconName:o,...a}=e;return zm("span",{...a,className:s(e.className,Ei,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ai(v,{icon:o,className:"k-color-preview-icon"}),Ai("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};It.states=Dm;It.options=Hm;It.className=Ei;var Ns="popup",yi=Ns;import{jsx as Ii}from"react/jsx-runtime";var Ti="k-animation-container",Um=[],Fm={},hs={positionMode:"absolute",shown:!0},dt=e=>{let{positionMode:t=hs.positionMode,shown:o=hs.shown,animationStyle:a,offset:n,...i}=e;return Ii("div",{...i,style:{...n,...e.style},className:s(e.className,Ti,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Ii("div",{className:"k-child-animation-container",style:a,children:e.children})})};dt.states=Um;dt.options=Fm;dt.className=Ti;dt.defaultOptions=hs;dt.moduleName=Ns;dt.folderName=yi;var vs="popup",Oi=vs;import{jsx as Bi}from"react/jsx-runtime";var Pi="k-popup",Gm=[],Vm={},Ki={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Ki.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...m}=e;return Bi(dt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:Bi("div",{...m,className:s(e.className,Pi),children:e.children})})};X.states=Gm;X.options=Vm;X.className=Pi;X.defaultOptions=Ki;X.moduleName=vs;X.folderName=Oi;var gs="action-buttons",Ri=gs;import{jsx as qm}from"react/jsx-runtime";var nn="k-actions",$m=[],Xm={},Ls={alignment:"start",orientation:"horizontal"},Pe=e=>{let{alignment:t=Ls.alignment,orientation:o=Ls.orientation,...a}=e;return qm("div",{...a,className:s(nn,{[`${nn}-${t}`]:t,[`${nn}-${o}`]:o},e.className),children:e.children})};Pe.states=$m;Pe.options=Xm;Pe.className=nn;Pe.defaultOptions=Ls;Pe.moduleName=gs;Pe.folderName=Ri;var _i=Pe;import{jsx as Jm}from"react/jsx-runtime";var Wm="k-actionsheet-footer",wi={alignment:"stretched",orientation:"horizontal"},Tt=e=>{let{alignment:t=wi.alignment,orientation:o=wi.orientation,template:a,as:n=a?"div":Pe,...i}=e;return Jm(n,{...i,...!a&&{alignment:t,orientation:o},className:s(e.className,Wm),children:e.children})};var Ms="searchbox",Di=Ms;import{jsx as Sa,jsxs as Qm}from"react/jsx-runtime";var Hi="k-searchbox",Ym=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Zm={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]},sn={showIcon:!0,showClearButton:!0,icon:"search"},Ve=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:m,valid:u,invalid:b,required:x,loading:g,disabled:c,showIcon:L=sn.showIcon,showClearButton:M=sn.showClearButton,icon:S=sn.icon,"aria-label":A,...k}=e;return Qm(J,{...k,size:a,rounded:n,fillMode:i,hover:l,focus:m,valid:u,invalid:b,required:x,loading:g,disabled:c,className:s(e.className,Hi),children:[L&&Sa(v,{className:"k-input-icon",icon:S}),Sa(fe,{placeholder:o,value:t,"aria-label":A}),Sa(Ee,{...e}),Sa(be,{...e}),M&&Sa(Be,{...e})]})};Ve.states=Ym;Ve.options=Zm;Ve.className=Hi;Ve.defaultOptions=sn;Ve.moduleName=Ms;Ve.folderName=Di;import{jsx as MS}from"react/jsx-runtime";var Ss="textbox",zi=Ss;import{Fragment as Ui,jsx as Ot,jsxs as ks}from"react/jsx-runtime";var Fi="k-textbox",jm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ec={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]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},de=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:i=rn.showClearButton,showValidationIcon:l=rn.showValidationIcon,prefix:m,suffix:u,type:b,value:x,placeholder:g,hover:c,focus:L,valid:M,invalid:S,required:A,loading:k,disabled:y,readonly:w,id:se,"aria-label":Ae,"aria-describedby":pe,...ue}=e;return ks(J,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:L,valid:M,invalid:S,required:A,loading:k,disabled:y,readonly:w,className:s(e.className,Fi),children:[m&&ks(Ui,{children:[Ot(Ue,{children:m}),n&&Ot(Ge,{})]}),Ot(fe,{id:se,placeholder:g,value:x,type:b,disabled:y,"aria-label":Ae,"aria-describedby":pe,"aria-invalid":S?"true":void 0}),l&&Ot(be,{valid:M,invalid:S,loading:k,disabled:y}),Ot(Ee,{loading:k,disabled:y}),i&&Ot(Be,{loading:k,disabled:y,readonly:w,value:x}),u&&ks(Ui,{children:[n&&Ot(Ge,{}),Ot(Fe,{children:u})]})]})};de.states=jm;de.options=ec;de.className=Fi;de.defaultOptions=rn;de.moduleName=Ss;de.folderName=zi;var ka=de;import{jsx as tc}from"react/jsx-runtime";var ln=e=>tc(ka,{...e});import{Fragment as zS,jsx as HS}from"react/jsx-runtime";import{Fragment as XS,jsx as $S}from"react/jsx-runtime";import{jsx as YS}from"react/jsx-runtime";import{jsx as Cs}from"react/jsx-runtime";var oc=de.states,ac=de.defaultOptions,nc=de.options,sc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],rc=[],No=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Cs(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Cs(at,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Cs(ln,{value:"Value",style:{width:300},...o,...a})};No.options=nc;No.states=oc;No.variants=rc;No.defaultOptions=ac;No.modifiers=sc;No.className=de.className;import{jsx as Bt,jsxs as As}from"react/jsx-runtime";var Gi="k-actionsheet-titlebar",ic={},xe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:m,inputPlaceholder:u,adaptive:b,titleId:x,children:g,...c}=e;return As("div",{...c,className:s(e.className,Gi),children:[As("div",{className:"k-actionsheet-titlebar-group",children:[a&&Bt("div",{className:"k-actionsheet-actions",children:a}),!g&&As("div",{className:"k-actionsheet-title",id:x,children:[t&&Bt("div",{className:"k-text-center",children:t}),o&&Bt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&Bt("div",{className:"k-actionsheet-title",id:x,children:g}),n&&Bt("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&Bt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Bt(de,{value:m,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):Bt(Ve,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};xe.className=Gi;xe.defaultOptions=ic;import{jsx as Es,jsxs as mc}from"react/jsx-runtime";var ys="k-actionsheet-view",lc=[],pc={},dc={},ho=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...m}=e,u=n?.type===xe&&Es(xe,{adaptive:t,titleId:l,...n?.props}),b=i?.type===Tt&&Es(Tt,{...i?.props});return mc("div",{...m,className:s(e.className,ys,{[`${ys}-animated`]:o}),children:[u,Es("div",{className:"k-actionsheet-content",children:a}),b]})};ho.states=lc;ho.options=pc;ho.className=ys;ho.defaultOptions=dc;var Ca="action-sheet",pn=Ca;var Is="overlay",Vi=Is;import{jsx as bc}from"react/jsx-runtime";var $i="k-overlay",cc=[],uc={},fc={},mt=e=>{let{...t}=e;return bc("div",{...t,className:s(e.className,$i),children:e.children})};mt.states=cc;mt.options=uc;mt.className=$i;mt.defaultOptions=fc;mt.moduleName=Is;mt.folderName=Vi;import{jsx as dn,jsxs as hc}from"react/jsx-runtime";var Xi="k-actionsheet",xc=[],Nc={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Y=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:n=Aa.overlay,template:i,children:l,header:m,footer:u,id:b,...x}=e,g=b&&!i&&m?`${b}-title`:void 0;return hc("div",{className:"k-actionsheet-container",children:[n&&dn(mt,{}),dn(dt,{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:dn("div",{...x,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":g,className:s(e.className,Xi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||dn(ho,{header:m,footer:u,adaptive:a,titleId:g,...e,children:l})})})]})};Y.states=xc;Y.options=Nc;Y.className=Xi;Y.defaultOptions=Aa;Y.moduleName=Ca;Y.folderName=pn;import{jsx as Mc}from"react/jsx-runtime";var qi="k-actionsheet-container",vc=[],gc={},Lc={},vo=e=>{let{children:t,...o}=e;return Mc("div",{...o,className:qi,children:t})};vo.states=vc;vo.options=gc;vo.className=qi;vo.defaultOptions=Lc;vo.moduleName=Ca;vo.folderName=pn;import{jsx as Sc}from"react/jsx-runtime";var Ts=e=>{let{...t}=e;return Sc("div",{...t,className:s(e.className,"k-list-ul"),children:e.children})};import{Fragment as Cc,jsx as Ea,jsxs as Os}from"react/jsx-runtime";var Bs="k-actionsheet-item",kc=[r.hover,r.focus,r.selected,r.disabled],Pt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:m,...u}=e;return Os("span",{...u,className:s(e.className,Bs,C(Bs,{hover:n,focus:i,selected:l,disabled:m})),children:[!e.children&&Ea(Cc,{children:Os("span",{className:"k-actionsheet-action",children:[t&&Ea("span",{className:"k-icon-wrap",children:Ea(v,{className:"k-actionsheet-item-icon",icon:t})}),Os("span",{className:"k-actionsheet-item-text",children:[o&&Ea("span",{className:"k-actionsheet-item-title",children:o}),a&&Ea("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Pt.states=kc;Pt.className=Bs;import{jsx as Jk,jsxs as Yk}from"react/jsx-runtime";import{jsx as eC}from"react/jsx-runtime";import{jsx as nC}from"react/jsx-runtime";import{jsx as lC}from"react/jsx-runtime";import{jsx as re,jsxs as Ps}from"react/jsx-runtime";var Ac=Y.options,Ec=Y.states,Ji={...Y.defaultOptions,variant:"normal"},yc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ic=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],go=e=>{let{variant:t,modifiers:o,...a}={...Ji,...e},n={},i=Ps(Ts,{children:[re(Pt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),re(Pt,{text:"Add to Favorites",iconName:"heart"}),re(Pt,{text:"Upload New",iconName:"upload",disabled:!0}),re("hr",{className:"k-hr"}),re(Pt,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!o?.[u],n.actionsEnd=!!o?.[u];break;case"subtitle":n.subtitle=o?.[u]?l:void 0;break;case"footer":n.footer=!!o?.[u];break;default:break}}),t==="adaptive"?re(Y,{...a,adaptive:!0,fullscreen:n.fullScreen,header:re(xe,{actionsStart:n.actionsStart?re(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?re(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Ps(Tt,{alignment:"stretched",children:[re(p,{text:"Cancel",size:"large",themeColor:"base"}),re(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):re(Y,{...a,fullscreen:n.fullScreen,header:re(xe,{actionsStart:n.actionsStart?re(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?re(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Ps(Tt,{alignment:"stretched",children:[re(p,{text:"Apply",themeColor:"primary"}),re(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};go.options=Ac;go.states=Ec;go.variants=yc;go.defaultOptions=Ji;go.modifiers=Ic;go.className=Y.className;var Ks="slider",Yi=Ks;import{jsx as Lo,jsxs as Rs}from"react/jsx-runtime";var ya="k-slider",Tc=[r.hover,r.focus,r.active,r.disabled,r.readonly],Oc={},$e={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},G=e=>{let{type:t=$e.type,orientation:o=$e.orientation,gradientType:a=$e.gradientType,readonly:n=$e.readonly,disabled:i=$e.disabled,handlePosition:l=$e.handlePosition,showButtons:m=$e.showButtons,showTicks:u=$e.showTicks,value:b=$e.value,min:x=$e.min,max:g=$e.max,startValue:c,endValue:L,hover:M,focus:S,active:A,trackStyle:k,dir:y,...w}=e,Ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,ue;return o==="horizontal"?(pe=y==="rtl"?"chevron-left":"chevron-right",ue=y==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",ue="chevron-down"),Rs("div",{...w,className:s(ya,e.className,C(ya,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:y,children:[m&&Lo(p,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Rs("div",{className:"k-slider-track-wrap",children:[u&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Rs("div",{className:"k-slider-track",style:k,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:s("k-draghandle","k-draghandle-start",C(ya,{hover:M,focus:S,active:A})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":c??x,"aria-valuemin":x,"aria-valuemax":L??g,"aria-orientation":Ae,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),Lo("span",{className:s("k-draghandle",`k-draghandle-${l}`,C(ya,{hover:M,focus:S,active:A})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??g:b,"aria-valuemin":t==="range"?c??x:x,"aria-valuemax":g,"aria-orientation":Ae,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?w["aria-label"]?`${w["aria-label"]} end`:"Range end":w["aria-label"]})]})]}),m&&Lo(p,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};G.states=Tc;G.options=Oc;G.className=ya;G.defaultOptions=$e;G.moduleName=Ks;G.folderName=Yi;import{jsx as Zi}from"react/jsx-runtime";var Qi="k-tick",Bc=[],Pc={},ji={label:!1},I=e=>{let{style:t,label:o=ji.label,orientation:a,large:n,text:i,...l}=e;return Zi("li",{...l,role:"presentation",title:i||"Tick",className:s(e.className,Qi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Zi("span",{className:"k-label",children:i})})};I.states=Bc;I.options=Pc;I.className=Qi;I.defaultOptions=ji;import{Fragment as Kc,jsx as Xe,jsxs as Rc}from"react/jsx-runtime";var el=e=>Xe(G,{"aria-label":e["aria-label"]||"Slider",children:Rc(Kc,{children:[Xe(I,{className:"k-first",label:!0,large:!0,text:"0"}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{label:!0,large:!0,text:"5"}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as _c,jsx as qe,jsxs as wc}from"react/jsx-runtime";var tl=e=>qe(G,{children:wc(_c,{children:[qe(I,{className:"k-first",label:!0,large:!0,text:"0"}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{label:!0,large:!0,text:"5"}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as YC,jsx as JC,jsxs as ZC}from"react/jsx-runtime";import{Fragment as oA,jsx as tA,jsxs as aA}from"react/jsx-runtime";import{jsx as Dc}from"react/jsx-runtime";var _s=e=>Dc(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Hc}from"react/jsx-runtime";var ws=e=>Hc(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as fA,jsx as uA,jsxs as bA}from"react/jsx-runtime";import{Fragment as gA,jsx as vA,jsxs as LA}from"react/jsx-runtime";import{jsx as ct,jsxs as ol}from"react/jsx-runtime";var zc=G.options,Uc=G.states,al={...G.defaultOptions,variant:"horizontal",label:!0},Fc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Gc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=al.label,i={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{i.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{i.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ol(tl,{style:{height:"300px",...l},...a,...i,children:[ct(I,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ol(el,{style:{width:"400px",...l},...a,...i,children:[ct(I,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=zc;Mo.states=Uc;Mo.variants=Fc;Mo.defaultOptions=al;Mo.modifiers=Gc;Mo.className=G.className;import{jsx as nl,jsxs as Wc}from"react/jsx-runtime";var sl="k-spin-button",Xc=[],qc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},Ds={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Kt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Ds.increaseLabel,decreaseLabel:i=Ds.decreaseLabel,...l}=e;return Wc("span",{...l,className:s(sl,e.className),children:[nl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),nl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};Kt.states=Xc;Kt.options=qc;Kt.className=sl;Kt.defaultOptions=Ds;Kt.moduleName=null;Kt.folderName=null;var rl="numeric-textbox",il="numerictextbox";import{Fragment as ll,jsx as Lt,jsxs as Hs}from"react/jsx-runtime";var pl="k-numerictextbox",Jc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Yc={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]},mn={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=mn.separators,showClearButton:i=mn.showClearButton,showSpinButton:l=mn.showSpinButton,prefix:m,suffix:u,value:b,placeholder:x,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,id:w,"aria-label":se,"aria-describedby":Ae,...pe}=e;return Hs(J,{...pe,size:t,rounded:o,fillMode:a,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,className:s(e.className,pl),children:[m&&Hs(ll,{children:[Lt(Ue,{children:m}),n&&Lt(Ge,{})]}),Lt(fe,{id:w,placeholder:x,value:b,role:"spinbutton",disabled:k,"aria-label":se,"aria-describedby":Ae,"aria-invalid":M?"true":void 0}),Lt(be,{valid:L,invalid:M,loading:A,disabled:k}),Lt(Ee,{loading:A,disabled:k}),i&&Lt(Be,{loading:A,disabled:k,readonly:y,value:b}),u&&Hs(ll,{children:[n&&Lt(Ge,{}),Lt(Fe,{children:u})]}),l&&Lt(Kt,{className:"k-input-spinner",size:t,fillMode:a,disabled:k})]})};D.states=Jc;D.options=Yc;D.className=pl;D.defaultOptions=mn;D.moduleName=rl;D.folderName=il;var Ia=D;import{jsx as Zc}from"react/jsx-runtime";var dl=e=>Zc(Ia,{...e});import Us from"react";import{jsx as ml}from"react/jsx-runtime";var Qc="k-list-group-sticky-header",zs=e=>ml("div",{className:s(Qc,e.className),children:ml("div",{className:"k-list-header-text",children:e.children})});import{jsx as eu}from"react/jsx-runtime";var jc="k-no-data",cn=e=>{let{live:t,...o}=e;return eu("span",{...o,className:s(jc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Jt="list",So=Jt;import{jsx as cl,jsxs as ul}from"react/jsx-runtime";var Fs="k-list",tu=[],ou={size:[d.undefined,d.small,d.medium,d.large]},au={},R=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:i,optionLabel:l,customValue:m,noData:u,screenReaders:b,...x}=e,c=Us.Children.toArray(a)[0],L=c?.props?.children?Us.Children.count(c.props.children):Us.Children.count(a);return ul("div",{...x,className:s(e.className,Fs,E(Fs,{size:t}),{"k-virtual-list":o}),children:[l,i,m,n&&cl(zs,{children:n}),a||(u!==void 0?u:cl(cn,{live:!0,children:"No data found."})),b&&a&&ul(cn,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};R.states=tu;R.options=ou;R.className=Fs;R.defaultOptions=au;R.moduleName=Jt;R.folderName=So;import{jsx as iu}from"react/jsx-runtime";var fl="k-list-container",nu=[],su={},ru={},ko=e=>{let{...t}=e;return iu("div",{...t,className:s(e.className,fl),children:e.children})};ko.states=nu;ko.options=su;ko.className=fl;ko.defaultOptions=ru;ko.moduleName=Jt;ko.folderName=So;var Yt="checkbox",Co=Yt;import{jsx as bl}from"react/jsx-runtime";var un="k-checkbox",lu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],pu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},du={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:m,valid:u,required:b,size:x,rounded:g,wrapperRole:c,...L}=e;return bl("span",{className:"k-checkbox-wrap",role:c,children:bl("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:s(e.className,un,E(un,{size:x,rounded:g}),C(un,{hover:n,focus:i,disabled:l,invalid:m,valid:u,indeterminate:a,checked:o}))})})};Ke.states=lu;Ke.options=pu;Ke.className=un;Ke.defaultOptions=du;Ke.moduleName=Yt;Ke.folderName=Co;var nt=Ke;import{jsx as uu}from"react/jsx-runtime";var xl="k-checkbox-list",mu=[],cu={},Nl={layout:"vertical"},Ne=e=>{let{layout:t=Nl.layout,...o}=e;return uu("ul",{...o,className:s(e.className,xl,{[`k-list-${t}`]:t}),children:e.children})};Ne.states=mu;Ne.options=cu;Ne.className=xl;Ne.defaultOptions=Nl;Ne.moduleName=Yt;Ne.folderName=Co;import{jsx as Nu}from"react/jsx-runtime";var hl="k-checkbox-list-item",fu=[],bu={},xu={},he=e=>{let{...t}=e;return Nu("li",{...t,className:s(e.className,hl),children:e.children})};he.states=fu;he.options=bu;he.className=hl;he.defaultOptions=xu;he.moduleName=Yt;he.folderName=Co;import{Fragment as hu,jsx as vl,jsxs as vu}from"react/jsx-runtime";var Mt=({children:e="Label",id:t="cb-label-after",...o})=>vu(hu,{children:[vl(nt,{id:t,...o}),vl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as $E,jsx as VE,jsxs as XE}from"react/jsx-runtime";import{Fragment as ZE,jsx as YE,jsxs as QE}from"react/jsx-runtime";import{Fragment as ay,jsx as oy,jsxs as ny}from"react/jsx-runtime";import{jsx as ly}from"react/jsx-runtime";import{jsx as cy}from"react/jsx-runtime";import{jsx as xy}from"react/jsx-runtime";import{jsx as We,jsxs as gl}from"react/jsx-runtime";var gu=Ne.options,Lu=Ne.states,Mu={...Ne.defaultOptions,variant:"vertical"},Su=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ku=[],Ao=e=>{let{variant:t,...o}=e;return t==="horizontal"?gl(Ne,{layout:"horizontal",...o,children:[We(he,{children:We(Mt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})})]}):gl(Ne,{...o,children:[We(he,{children:We(Mt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})})]})};Ao.options=gu;Ao.states=Lu;Ao.variants=Su;Ao.defaultOptions=Mu;Ao.modifiers=ku;Ao.className=Ne.className;import{jsx as Tu}from"react/jsx-runtime";var Cu=nt.options,Au=nt.states,Eu=nt.defaultOptions,yu=[],Iu=[],Eo=e=>Tu(Mt,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Eo.options=Cu;Eo.states=Au;Eo.variants=yu;Eo.defaultOptions=Eu;Eo.modifiers=Iu;Eo.className=nt.className;import{jsx as yo,jsxs as Ku}from"react/jsx-runtime";var Gs="k-list-item",Ou=[r.hover,r.focus,r.selected,r.disabled],Bu={},Pu={},O=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:i,hover:l,focus:m,selected:u,disabled:b,actions:x,description:g,id:c,...L}=e,M=t||e.children,S=t||(typeof M=="string"?M:void 0);return Ku("li",{...L,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":u?"true":"false","aria-disabled":b?"true":void 0,className:s(e.className,Gs,C(Gs,{hover:l,focus:m,disabled:b,selected:u})),children:[n&&yo(Ke,{checked:i,disabled:b,"aria-label":S,tabIndex:-1}),o&&yo("span",{className:"k-list-item-icon-wrapper",children:yo(v,{icon:o,className:s("k-list-item-icon",a)})}),yo("span",{className:"k-list-item-text",children:M}),x&&yo("div",{className:"k-list-item-actions",children:x}),g&&yo("span",{className:"k-list-item-description",children:g})]})};O.states=Ou;O.options=Bu;O.className=Gs;O.defaultOptions=Pu;O.moduleName=Jt;O.folderName=So;import{jsx as _u}from"react/jsx-runtime";var Ru="k-list-ul",Rt=e=>{let{children:t,role:o,id:a,...n}=e;return _u("ul",{...n,id:a,role:o,className:s(Ru,e.className),children:t})};import{jsx as Vs,jsxs as Du}from"react/jsx-runtime";var wu="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return Du("div",{...l,className:s(wu,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:Vs(Rt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Vs("div",{className:"k-height-container",children:Vs("div",{})})]})};import{jsx as $s,jsxs as Fu}from"react/jsx-runtime";var fn="k-list-sticky-header",Hu=[r.hover,r.focus,r.selected],zu={},Uu={},bn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:i,focus:l,selected:m,...u}=e;return $s("div",{...u,className:s(fn,e.className),children:Fu("div",{className:s(`${fn}-item`,C(`${fn}-item`,{hover:i,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&$s(Ke,{checked:a,indeterminate:n,"aria-label":t}),$s("span",{className:"k-list-item-text",children:t})]})})};bn.states=Hu;bn.options=zu;bn.className=fn;bn.defaultOptions=Uu;import{Fragment as dI,jsx as pI,jsxs as mI}from"react/jsx-runtime";import{jsx as xI,jsxs as NI}from"react/jsx-runtime";import{jsx as Xu}from"react/jsx-runtime";var Xs="k-list-optionlabel",Gu=[r.hover,r.focus,r.selected,r.disabled],Vu={},$u={},xn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return Xu("div",{...l,className:s(Xs,C(Xs,{hover:o,focus:a,selected:n,disabled:i})),children:t})};xn.states=Gu;xn.options=Vu;xn.className=Xs;xn.defaultOptions=$u;import{jsx as Yu}from"react/jsx-runtime";var qs="k-list-custom-value",qu=[r.hover,r.focus,r.selected,r.disabled],Wu={},Ju={},_t=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return Yu("div",{...l,className:s(qs,C(qs,{hover:o,focus:a,selected:n,disabled:i})),children:t})};_t.states=qu;_t.options=Wu;_t.className=qs;_t.defaultOptions=Ju;import{Fragment as II,jsx as yI,jsxs as TI}from"react/jsx-runtime";import{Fragment as _I,jsx as RI,jsxs as wI}from"react/jsx-runtime";import{Fragment as VI,jsx as FI,jsxs as GI}from"react/jsx-runtime";import{Fragment as ZI,jsx as JI,jsxs as YI}from"react/jsx-runtime";import{jsx as tT}from"react/jsx-runtime";import{Fragment as iT,jsx as rT,jsxs as lT}from"react/jsx-runtime";import{Fragment as fT,jsx as uT,jsxs as bT}from"react/jsx-runtime";var Ll="dropdown-list",Ml="dropdownlist";import{Fragment as ju,jsx as ve,jsxs as Ws}from"react/jsx-runtime";var Sl="k-dropdownlist",Zu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],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]},Js={showValue:!0,arrowIconName:"chevron-down"},ne=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Js.arrowIconName,showValue:i=Js.showValue,valueIconName:l,prefix:m,suffix:u,value:b,placeholder:x,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,popup:w,opened:se,adaptive:Ae,adaptiveSettings:pe,adaptiveTitle:ue,adaptiveSubtitle:ua,adaptiveFilter:Xt,id:qt,activeDescendant:fa,"aria-label":Yn,...Zn}=e,Qn=qt?`${qt}-listbox`:void 0,si=qt?`${qt}-value`:void 0;return Ws(ju,{children:[Ws(lt,{...Zn,id:qt,size:t,rounded:o,fillMode:a,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,className:s(e.className,Sl,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":se?"true":"false","aria-controls":se?Qn:void 0,"aria-activedescendant":se&&fa?fa:void 0,"aria-describedby":se?si:void 0,"aria-disabled":k?"true":void 0,"aria-label":Yn,tabIndex:0,children:[ve(Ue,{children:m}),ve(Wt,{placeholder:x,value:b,showValue:i,valueIconName:l,id:si}),ve(be,{valid:L,invalid:M,loading:A,disabled:k}),ve(Ee,{loading:A,disabled:k}),ve(Fe,{children:u}),ve(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),se&&w&&ve(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),Ae&&ve(Y,{adaptive:!0,...pe,header:ve(xe,{actionsEnd:ve(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xt,inputValue:b,inputPlaceholder:x,title:ue,subtitle:ua}),children:ve("div",{className:"k-list-container",children:ve(R,{size:"large",children:Ws(z,{"aria-label":"Options",children:[ve(O,{text:"List item"}),ve(O,{text:"List item"}),ve(O,{text:"List item"})]})})})})]})};ne.states=Zu;ne.options=Qu;ne.className=Sl;ne.defaultOptions=Js;ne.moduleName=Ll;ne.folderName=Ml;import{jsx as YT}from"react/jsx-runtime";import{jsx as oO,jsxs as aO}from"react/jsx-runtime";import{Fragment as cO,jsx as dO,jsxs as mO}from"react/jsx-runtime";import{jsx as NO}from"react/jsx-runtime";import{jsx as SO,jsxs as kO}from"react/jsx-runtime";import{Fragment as PO,jsx as OO,jsxs as BO}from"react/jsx-runtime";import{jsx as DO}from"react/jsx-runtime";import{Fragment as sf,jsx as wt,jsxs as kl}from"react/jsx-runtime";var ef=ne.states,tf=ne.defaultOptions,of=ne.options,af=[{name:"opened",title:"Opened"}],nf=[],To=e=>{let{modifiers:t,...o}=e,a={},n=kl(sf,{children:[wt("div",{className:"k-list-filter",children:wt(Ve,{})}),wt(R,{style:{width:300},size:o.size,children:kl(z,{children:[wt(O,{children:"List item"}),wt(O,{children:"List item"}),wt(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0)}),wt("div",{children:wt(ne,{placeholder:"Value",style:{width:300},...o,...a})})};To.options=of;To.states=ef;To.variants=nf;To.defaultOptions=tf;To.modifiers=af;To.className=ne.className;import{Fragment as rB,jsx as sB}from"react/jsx-runtime";import{Fragment as cB,jsx as mB}from"react/jsx-runtime";import{jsx as xB}from"react/jsx-runtime";import{jsx as Ys}from"react/jsx-runtime";var rf=D.states,lf=D.defaultOptions,pf=D.options,df=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],mf=[],Oo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ys(ne,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ys(bs,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Ys(dl,{value:"Value",style:{width:300},...o,...a})};Oo.options=pf;Oo.states=rf;Oo.variants=mf;Oo.defaultOptions=lf;Oo.modifiers=df;Oo.className=D.className;import{Fragment as Oa,jsx as P,jsxs as Z}from"react/jsx-runtime";var Cl="k-colorgradient-inputs",cf=[],uf={size:[d.undefined,d.small,d.medium,d.large]},Al={mode:"rgba"},Bo=e=>{let{mode:t=Al.mode,size:o,...a}=e;return Z("div",{...a,className:s(Cl,"k-hstack"),children:[P("div",{className:"k-vstack",children:P(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&P(Oa,{children:Z("div",{className:"k-vstack k-flex-1",children:[P(de,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),P("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Bo.states=cf;Bo.options=uf;Bo.className=Cl;Bo.defaultOptions=Al;import{jsx as Zt,jsxs as Qt}from"react/jsx-runtime";var El="k-colorgradient-color-contrast",ff=[],bf={},xf={},Po=()=>Qt("div",{className:s(El,"k-vbox"),children:[Qt("div",{className:"k-contrast-ratio",children:[Zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Qt("span",{className:"k-contrast-validation !k-text-success",children:[Zt(v,{icon:"check"}),Zt(v,{icon:"check"})]})]}),Qt("div",{children:[Zt("span",{children:"AA: 4.5"}),Qt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Zt(v,{icon:"check"})]})]}),Qt("div",{children:[Zt("span",{children:"AAA: 7.0"}),Qt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Zt(v,{icon:"x"})]})]})]});Po.states=ff;Po.options=bf;Po.className=El;Po.defaultOptions=xf;var yl="color-gradient",Il="colorgradient";import{jsx as Je,jsxs as Ba}from"react/jsx-runtime";var Nn="k-colorgradient",Nf=[r.hover,r.focus,r.readonly,r.disabled],hf={size:[d.undefined,d.small,d.medium,d.large]},ut={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"},ie=e=>{let{size:t,mode:o=ut.mode,readonly:a=ut.readonly,disabled:n=ut.disabled,gradientStyle:i=ut.gradientStyle,dragHandleStyle:l=ut.dragHandleStyle,alphaStyle:m=ut.alphaStyle,alphaStyleHorizontal:u=ut.alphaStyleHorizontal,contrast:b=ut.contrast,dir:x,hover:g,focus:c,hoverHandle:L,focusHandle:M,canvasOrientation:S=ut.canvasOrientation,role:A,tabIndex:k,...y}=e;return Ba("div",{...y,role:A??"textbox","aria-label":A==="none"?void 0:"Color gradient",tabIndex:k??0,"aria-disabled":n?"true":void 0,className:s(e.className,Nn,E(Nn,{size:t}),C(Nn,{hover:g,focus:c,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&Ba("div",{className:"k-colorgradient-canvas k-hstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className: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})})}),Ba("div",{className:"k-hsv-controls k-hstack",children:[Je(ws,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&Je(ws,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:m})]})]}),S==="vertical"&&Ba("div",{className:"k-colorgradient-canvas k-vstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className: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})})}),Ba("div",{className:"k-hsv-controls k-vstack",children:[Je(_s,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&Je(_s,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:u})]})]}),Je(Bo,{mode:e.mode,size:t}),b&&Je(Po,{})]})};ie.states=Nf;ie.options=hf;ie.className=Nn;ie.defaultOptions=ut;ie.moduleName=yl;ie.folderName=Il;import{jsx as vf}from"react/jsx-runtime";var hn=e=>vf(ie,{...e});import{jsx as tP}from"react/jsx-runtime";import{jsx as sP}from"react/jsx-runtime";import{jsx as Zs}from"react/jsx-runtime";var gf=ie.options,Lf=ie.states,Mf={...ie.defaultOptions,variant:"rgba"},Sf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],kf=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Zs(hn,{...o,mode:t});case"rgb":return Zs(hn,{...o,mode:t});default:return Zs(hn,{...o,mode:t})}};Ko.options=gf;Ko.states=Lf;Ko.variants=Sf;Ko.defaultOptions=Mf;Ko.modifiers=kf;Ko.className=ie.className;import{jsx as Cf}from"react/jsx-runtime";var Qs=e=>Cf("tr",{role:"row",children:e.children});import{jsx as yf}from"react/jsx-runtime";var js="k-colorpalette-tile",Af=[r.hover,r.focus,r.selected],Ef={},Dt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return yf("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:s(e.className,js,C(js,{hover:a,focus:n,selected:i})),style:m})};Dt.states=Af;Dt.options=Ef;Dt.className=js;Dt.moduleName=null;Dt.folderName=null;var Tl="color-palette",Ol="colorpalette";import{jsx as Pa}from"react/jsx-runtime";var vn="k-colorpalette",If=[r.disabled],Tf={size:[d.undefined,d.small,d.medium,d.large]},Bl={columns:10},ye=e=>{let{size:t,palette:o,columns:a=Bl.columns,tileSize:n,disabled:i,...l}=e,m=[];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 c=[];b.slice(g*u,(g+1)*u).map((M,S)=>{c.push(Pa(Dt,{color:M,tileSize:n},S))});let L=Pa(Qs,{children:c},g);m.push(L)})}return Pa("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:s(e.className,vn,C(vn,{disabled:i}),E(vn,{size:t})),children:Pa("table",{className:"k-colorpalette-table",role:"none",children:Pa("tbody",{children:m.length>0?m:e.children})})})};ye.states=If;ye.options=Tf;ye.className=vn;ye.defaultOptions=Bl;ye.moduleName=Tl;ye.folderName=Ol;var gn=ye;var Ka={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as Of}from"react/jsx-runtime";var Pl=e=>Of(gn,{palette:Ka.basic,...e});import{jsx as zP}from"react/jsx-runtime";import{jsx as XP,jsxs as qP}from"react/jsx-runtime";import{jsx as Df}from"react/jsx-runtime";var Bf=ye.options,Pf=ye.states,Kf={...ye.defaultOptions,variant:"basic"},Rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],_f={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}},wf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=_f[t];return Df(Pl,{columns:a.columns,palette:a,...o})};Ro.options=Bf;Ro.states=Pf;Ro.variants=Rf;Ro.defaultOptions=Kf;Ro.modifiers=wf;Ro.className=ye.className;var Kl="color-editor",Rl="coloreditor";import{jsx as Ye,jsxs as _o}from"react/jsx-runtime";var Ln="k-coloreditor",Hf=[r.focus],zf={size:[d.undefined,d.small,d.medium,d.large]},Ra={view:"gradient",palette:Ka.office,actionButtons:!0,canvasOrientation:"horizontal"},Q=e=>{let{size:t,view:o=Ra.view,palette:a=Ra.palette,color:n,currentColor:i,focus:l,focusView:m,dir:u,group:b,actionButtons:x=Ra.actionButtons,canvasOrientation:g=Ra.canvasOrientation,...c}=e;return _o("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:s(e.className,"k-flatcolorpicker",Ln,E(Ln,{size:t}),C(Ln,{focus:l})),dir:u,children:[_o("div",{className:"k-coloreditor-header k-hstack",children:[Ye("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&_o(T,{fillMode:"flat",children:[Ye(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Ye(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Ye("div",{className:"k-spacer"}),_o("div",{className:"k-coloreditor-header-actions k-hstack",children:[Ye(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),_o("div",{className:"k-coloreditor-preview k-vstack",children:[Ye(It,{className:"k-coloreditor-preview-color",color:n}),Ye(It,{className:"k-coloreditor-current-color",color:i})]})]})]}),Ye("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Ye(ie,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):Ye(ye,{palette:a,size:t})}),x&&_o(Pe,{className:"k-coloreditor-footer",alignment:"start",children:[Ye(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Ye(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Q.states=Hf;Q.options=zf;Q.className=Ln;Q.defaultOptions=Ra;Q.moduleName=Kl;Q.folderName=Rl;var wo=Q;import{jsx as MK}from"react/jsx-runtime";import{jsx as AK}from"react/jsx-runtime";import{jsx as Uf}from"react/jsx-runtime";var _l=e=>Uf(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as Ff}from"react/jsx-runtime";var wl=e=>Ff(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Dl}from"react/jsx-runtime";var Gf=Q.options,Vf=Q.states,$f={...Q.defaultOptions,variant:"gradient"},Xf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],qf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?Dl(wl,{...o,color:"white"}):Dl(_l,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=Gf;Do.states=Vf;Do.variants=Xf;Do.defaultOptions=$f;Do.modifiers=qf;Do.className=Q.className;var Hl="color-picker",zl="colorpicker";import{Fragment as Yf,jsx as Ze,jsxs as er}from"react/jsx-runtime";var Ul="k-colorpicker",Wf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Jf={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]},Fl={arrowIconName:"chevron-down"},Qe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Fl.arrowIconName,prefix:i,suffix:l,value:m,placeholder:u,hover:b,focus:x,valid:g,invalid:c,required:L,disabled:M,valueIconName:S,popup:A,opened:k,adaptive:y,adaptiveSettings:w,adaptiveTitle:se,adaptiveSubtitle:Ae,...pe}=e,ue="colorpicker-popup";return er(Yf,{children:[er(lt,{...pe,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:c,required:L,disabled:M,role:"combobox","aria-haspopup":"dialog","aria-expanded":k?"true":"false","aria-controls":k||y?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":M?"true":void 0,className:s(e.className,Ul,"k-icon-picker"),children:[Ze(Ue,{children:i}),Ze(Wt,{placeholder:u,value:m,showValue:!1,valueIcon:Ze(It,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),Ze(Fe,{children:l}),Ze(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:M})]}),k&&A&&Ze(X,{id:ue,className:"k-colorpicker-popup",children:A}),y&&Ze(Y,{adaptive:!0,id:ue,...w,header:Ze(xe,{actionsEnd:Ze(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:se,subtitle:Ae}),footer:er(Tt,{children:[Ze(p,{text:"Cancel",size:"large"}),Ze(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ze(Q,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Qe.states=Wf;Qe.options=Jf;Qe.className=Ul;Qe.defaultOptions=Fl;Qe.moduleName=Hl;Qe.folderName=zl;var St=Qe;import{jsx as Zf}from"react/jsx-runtime";var Mn=e=>Zf(St,{...e});import{jsx as pR}from"react/jsx-runtime";import{jsx as fR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as MR}from"react/jsx-runtime";import{jsx as AR}from"react/jsx-runtime";import{jsx as TR}from"react/jsx-runtime";import{jsx as jt}from"react/jsx-runtime";var Qf=St.options,jf=St.states,Gl={...St.defaultOptions,variant:"color"},eb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],tb=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...Gl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?jt(Q,{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 jt("div",{style:i,children:jt(Mn,{...a,...n})});case"icon":return jt("div",{style:i,children:jt(Mn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return jt("div",{style:i,children:jt(Mn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=Qf;Ho.states=jf;Ho.variants=eb;Ho.defaultOptions=Gl;Ho.modifiers=tb;Ho.className=St.className;var tr="combobox",Vl=tr;import{Fragment as or,jsx as te,jsxs as _a}from"react/jsx-runtime";var $l="k-combobox",ob=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],ab={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]},ar={separators:!0,showClearButton:!0},ge=e=>{let{size:t,rounded:o,fillMode:a,separators:n=ar.separators,showClearButton:i=ar.showClearButton,prefix:l,suffix:m,value:u,placeholder:b,hover:x,focus:g,valid:c,invalid:L,required:M,loading:S,disabled:A,popup:k,opened:y,readonly:w,adaptive:se,adaptiveSettings:Ae,adaptiveTitle:pe,adaptiveSubtitle:ue,adaptiveCustomValue:ua,id:Xt,autocomplete:qt,activeDescendant:fa,"aria-label":Yn,...Zn}=e,Qn=Xt?`${Xt}-listbox`:void 0;return _a(or,{children:[_a(J,{...Zn,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:c,invalid:L,required:M,loading:S,disabled:A,readonly:w,className:s(e.className,$l),children:[l&&_a(or,{children:[te(Ue,{children:l}),n&&te(Ge,{})]}),te(fe,{id:Xt,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":y?"true":"false","aria-controls":y?Qn:void 0,"aria-activedescendant":y&&fa?fa:void 0,"aria-autocomplete":qt,"aria-invalid":L?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Yn,disabled:A,readOnly:w}),te(be,{valid:c,invalid:L,loading:S,disabled:A}),te(Ee,{loading:S,disabled:A}),i&&te(Be,{loading:S,disabled:A,readonly:w,value:u}),m&&_a(or,{children:[n&&te(Ge,{}),te(Fe,{children:m})]}),te(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:A})]}),y&&k&&te(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:k}),se&&te(Y,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...Ae,header:te(xe,{actionsEnd:te(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:pe,subtitle:ue}),children:te("div",{className:"k-list-container",children:te(R,{customValue:ua?te(_t,{text:`Use "${u}"`}):void 0,size:"large",children:_a(z,{"aria-label":pe||"Options",children:[te(O,{text:"List item"}),te(O,{text:"List item"}),te(O,{text:"List item"})]})})})})]})};ge.states=ob;ge.options=ab;ge.className=$l;ge.defaultOptions=ar;ge.moduleName=tr;ge.folderName=Vl;var Re=ge;import{jsx as nb}from"react/jsx-runtime";var Xl=e=>nb(Re,{...e});import{jsx as c_,jsxs as u_}from"react/jsx-runtime";import{jsx as v_,jsxs as g_}from"react/jsx-runtime";import{jsx as A_,jsxs as E_}from"react/jsx-runtime";import{Fragment as P_,jsx as B_}from"react/jsx-runtime";import{Fragment as H_,jsx as D_}from"react/jsx-runtime";import{jsx as $_,jsxs as X_}from"react/jsx-runtime";import{Fragment as e0,jsx as Q_,jsxs as j_}from"react/jsx-runtime";import{jsx as n0}from"react/jsx-runtime";import{jsx as l0}from"react/jsx-runtime";import{jsx as f0,jsxs as b0}from"react/jsx-runtime";import{jsx as L0,jsxs as M0}from"react/jsx-runtime";import{jsx as Ht,jsxs as db}from"react/jsx-runtime";var sb=ge.states,rb=ge.defaultOptions,ib=ge.options,lb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],pb=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ht(R,{style:{width:300},size:o.size,children:db(z,{children:[Ht(O,{children:"List item"}),Ht(O,{children:"List item"}),Ht(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Ht(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[i]?Ht($,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0;break;default:break}}),Ht("div",{children:Ht(Xl,{value:"Value",style:{width:300},...o,...a})})};zo.options=ib;zo.states=sb;zo.variants=pb;zo.defaultOptions=rb;zo.modifiers=lb;zo.className=ge.className;var nr="menu-button",ql=nr;import{jsx as ub}from"react/jsx-runtime";var Wl="k-menu-button",mb=[r.hover,r.focus,r.active,r.selected,r.disabled],cb={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]},sr={showArrow:!0,arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,icon:x,endIcon:g,text:c,showArrow:L=sr.showArrow,arrowIconName:M=sr.arrowIconName,expanded:S,...A}=e;return ub(p,{...A,className:s(e.className,Wl),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:L,arrowIconName:M,"aria-expanded":S?"true":"false",...!c&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};H.states=mb;H.options=cb;H.className=Wl;H.defaultOptions=sr;H.moduleName=nr;H.folderName=ql;import{jsx as tw}from"react/jsx-runtime";import{jsx as sw}from"react/jsx-runtime";import{jsx as pw}from"react/jsx-runtime";import{jsx as uw}from"react/jsx-runtime";var _e="menu",je=_e;import{jsx as Da,jsxs as Jl}from"react/jsx-runtime";var rr="k-menu-item",fb=[r.hover,r.focus,r.active,r.selected,r.disabled],bb={},Yl={iconPosition:"before"},me=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:m,showArrow:u,arrowIconName:b,iconPosition:x=Yl.iconPosition,dir:g,children:c,expanded:L,...M}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),Jl("li",{...M,className:s(e.className,rr,"k-item",C(rr,{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:[Jl("span",{className:s("k-link k-menu-link"),children:[l&&x==="before"&&Da(v,{className:"k-menu-link-icon",icon:l}),Da("span",{className:"k-menu-link-text",children:m}),l&&x==="after"&&Da(v,{className:"k-menu-link-icon",icon:l}),u&&Da("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Da(v,{icon:S})})]}),c]})};me.states=fb;me.options=bb;me.className=rr;me.defaultOptions=Yl;me.moduleName=_e;me.folderName=je;import{jsx as eo,jsxs as Zl}from"react/jsx-runtime";var ir="k-menu-item",xb=[r.hover,r.focus,r.active,r.selected,r.disabled],Nb={},lr={dir:"ltr",iconPosition:"before"},q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:m,showArrow:u,arrowIconName:b,iconPosition:x=lr.iconPosition,dir:g=lr.dir,children:c,popup:L,expanded:M,actions:S,description:A,...k}=e,y=b;return y||(y=g==="rtl"?"chevron-left":"chevron-right"),Zl("li",{role:"menuitem",...k,className:s(e.className,ir,"k-item",C(ir,{focus:o,disabled:i})),...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":M?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Zl("span",{className:s("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&x==="before"&&eo(v,{className:"k-menu-link-icon",icon:l}),eo("span",{className:"k-menu-link-text",children:m}),l&&x==="after"&&eo(v,{className:"k-menu-link-icon",icon:l}),S&&eo("span",{className:"k-menu-link-actions",children:S}),u&&eo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:eo(v,{icon:y})}),A&&eo("span",{className:"k-menu-link-description",children:A})]}),c,L]})};q.states=xb;q.options=Nb;q.className=ir;q.defaultOptions=lr;q.moduleName=_e;q.folderName=je;import{jsx as Lb}from"react/jsx-runtime";var Ql="k-menu-scroll-wrapper",hb=[],vb={},gb={},to=e=>{let{className:t,children:o,orientation:a,...n}=e;return Lb("div",{...n,className:s(t,Ql,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=hb;to.options=vb;to.className=Ql;to.defaultOptions=gb;to.moduleName=_e;to.folderName=je;var jl=to;import{Fragment as pr,jsx as oo,jsxs as Sn}from"react/jsx-runtime";var kn="k-menu",Mb=[],Sb={size:[d.undefined,d.small,d.medium,d.large]},Cn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},le=e=>{let{children:t,orientation:o=Cn.orientation,header:a=Cn.header,scrollable:n,scrollButtonsPosition:i=Cn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:u,popup:b,contextMenu:x,...g}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},L=oo("ul",{dir:m,...g,className:s(e.className,"k-reset",kn,{[`${kn}-${o}`]:o,"k-header":a},E(kn,{size:u})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Sn(pr,{children:[n?Sn(jl,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&Sn(pr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),L,i==="end"&&Sn(pr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):L,b]})};le.states=Mb;le.options=Sb;le.className=kn;le.defaultOptions=Cn;le.moduleName=_e;le.folderName=je;import{jsx as kb}from"react/jsx-runtime";var dr="k-separator",ep={orientation:"horizontal"},Uo=e=>{let{orientation:t=ep.orientation,...o}=e;return kb("li",{...o,className:s(e.className,"k-item",dr,{[`${dr}-${t}`]:t}),role:"separator"})};Uo.className=dr;Uo.defaultOptions=ep;Uo.moduleName=_e;Uo.folderName=je;import{Fragment as Fw,jsx as Gw}from"react/jsx-runtime";import{jsx as yb}from"react/jsx-runtime";var mr="k-menu-group",Cb=[],Ab={size:[d.undefined,d.small,d.medium,d.large]},Eb={},ce=e=>{let{children:t,size:o,...a}=e;return yb("ul",{role:"menu",...a,className:s(e.className,mr,E(mr,{size:o})),children:t})};ce.states=Cb;ce.options=Ab;ce.className=mr;ce.defaultOptions=Eb;ce.moduleName=_e;ce.folderName=je;import{jsx as Qw,jsxs as jw}from"react/jsx-runtime";import{Fragment as Ib,jsx as Fo,jsxs as Tb}from"react/jsx-runtime";var cr=e=>Fo(le,{children:Tb(Ib,{children:[Fo(me,{text:"Item 1"}),Fo(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Fo(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Fo(me,{text:"Item 4"}),Fo(me,{text:"Item 5"})]}),...e});import{Fragment as pD,jsx as iD,jsxs as lD}from"react/jsx-runtime";import{Fragment as fD,jsx as uD,jsxs as bD}from"react/jsx-runtime";import{Fragment as gD,jsx as vD,jsxs as LD}from"react/jsx-runtime";import{Fragment as AD,jsx as CD,jsxs as ED}from"react/jsx-runtime";import{jsx as ao,jsxs as Rb}from"react/jsx-runtime";var Ob={...le.options,scrollable:{type:"boolean"}},Bb=le.states,tp={...le.defaultOptions,variant:"horizontal"},Pb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Kb=[{name:"opened",title:"Opened"}],Go=e=>{let{variant:t,modifiers:o,...a}={...tp,...e},n={},i=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?ao(X,{className:"k-menu-popup",offset:i,children:Rb(ce,{children:[ao(q,{text:"Item 1"}),ao(q,{text:"Item 2"}),ao(Uo,{}),ao(q,{text:"Item 3"})]})}):null)}),t==="vertical"?ao(cr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ao(cr,{...a,...n})};Go.options=Ob;Go.states=Bb;Go.variants=Pb;Go.defaultOptions=tp;Go.modifiers=Kb;Go.className=le.className;import{Fragment as rH,jsx as nH,jsxs as sH}from"react/jsx-runtime";import{jsx as dH}from"react/jsx-runtime";import{Fragment as zb,jsx as ft,jsxs as op}from"react/jsx-runtime";var _b=p.states,ap={...p.defaultOptions,variant:"text"},wb=p.options,Db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Hb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...ap,...e},n={},i=ft(X,{className:"k-menu-popup",children:op(ce,{size:a.size,children:[ft(q,{text:"Menu Item"}),ft(q,{text:"Menu Item"}),ft(q,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=ft("div",{children:ft(H,{...a,...n,icon:"star"})});break;case"icon-and-text":l=ft("div",{children:ft(H,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=ft("div",{children:ft(H,{...a,...n,children:"Dropdown Button"})});break}return op(zb,{children:[l,o?.opened&&i]})};Vo.options=wb;Vo.states=_b;Vo.variants=Db;Vo.defaultOptions=ap;Vo.modifiers=Hb;Vo.className=H.className;var ur="split-button",np=ur;import{Fragment as Gb,jsx as fr,jsxs as sp}from"react/jsx-runtime";var br="k-split-button",Ub=[r.hover,r.focus,r.active,r.selected,r.disabled],Fb={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]},rp={arrowIconName:"chevron-down"},K=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,icon:x,endIcon:g,text:c,arrowIconName:L=rp.arrowIconName,popup:M,opened:S,popupId:A,...k}=e;return sp(Gb,{children:[sp("div",{...k,className:s(e.className,br,"k-button-group",E(br,{rounded:o})),children:[fr(p,{text:c,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,...!c&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),fr(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?A:void 0,tabIndex:-1})]}),S&&M&&fr(X,{className:"k-menu-popup",children:M})]})};K.states=Ub;K.options=Fb;K.className=br;K.defaultOptions=rp;K.moduleName=ur;K.folderName=np;var xr=K;import{jsx as $b}from"react/jsx-runtime";var Vb="k-toolbar-separator",st=e=>$b("div",{className:s(Vb,e.className,"k-separator")});var no="toolbar",$o=no;import{Fragment as Nr,jsx as _,jsxs as Xo}from"react/jsx-runtime";var kt="k-toolbar",Xb=[r.focus],qb={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},Wb={scrollButtons:"around"},U=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:m,section:u,...b}=e,x=[],g=(c,L)=>{let M=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))M.push(_(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===p)M.push(_(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===va)M.push(_(va,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===$)M.push(_($,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===H)M.push(_(H,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===xr)M.push(_(xr,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===T||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((k,y)=>{S.push(_(p,{...k.props,className:`${k.props.className?k.props.className:""}`},`${y}-${new Date().getTime()}`))}),M.push(_(T,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${L}-${new Date().getTime()}`))}else c.type===ge?M.push(_(ge,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`)):c.type===ne?M.push(_(ne,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`)):c.type===Qe?M.push(_(Qe,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`)):M.push(c);M.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,M)=>{g(L,M)}),Xo("div",{...b,className:s(e.className,kt,E(kt,{size:t,fillMode:o}),C(kt,{focus:a}),{[`${kt}-resizable`]:n,[`${kt}-scrollable`]:i,[`${kt}-scrollable-overlay`]:i&&l==="hidden",[`${kt}-scrollable-${m}`]:m&&m!=="both",[`${kt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&l==="hidden"&&_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&l==="start"&&Xo(Nr,{children:[Xo(T,{children:[_("span",{className:s("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-left"})}),_("span",{className:s("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-right"})})]}),_(st,{className:"k-toolbar-button-separator"}),_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&l==="end"&&Xo(Nr,{children:[_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),_(st,{className:"k-toolbar-button-separator"}),Xo(T,{children:[_("span",{className:s("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-left"})}),_("span",{className:s("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&Xo(Nr,{children:[_("span",{className:s("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-left"})}),_(st,{className:"k-toolbar-button-separator"}),_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),_(st,{className:"k-toolbar-button-separator"}),_("span",{className:s("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};U.states=Xb;U.options=qb;U.className=kt;U.defaultOptions=Wb;U.moduleName=no;U.folderName=$o;import{jsx as Qb}from"react/jsx-runtime";var hr="k-toolbar-item",Jb=[r.focus],Yb={},Zb={},qo=e=>{let{focus:t,...o}=e;return Qb("div",{...o,className:s(e.className,hr,C(hr,{focus:t})),children:e.children})};qo.states=Jb;qo.options=Yb;qo.className=hr;qo.defaultOptions=Zb;qo.moduleName=no;qo.folderName=$o;import{jsx as ip}from"react/jsx-runtime";var lp="k-toolbar-popup",jb=[],ex={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},tx={},so=e=>{let{size:t,fillMode:o,section:a,...n}=e;return ip(X,{...n,className:s(e.className,lp),children:a?ip("span",{className:s("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};so.states=jb;so.options=ex;so.className=lp;so.defaultOptions=tx;so.moduleName=no;so.folderName=$o;var An=so;import{jsx as dz}from"react/jsx-runtime";import{jsx as fz}from"react/jsx-runtime";import{jsx as hz}from"react/jsx-runtime";import{jsx as Mz}from"react/jsx-runtime";import{jsx as yz,jsxs as Iz}from"react/jsx-runtime";import{jsx as Pz}from"react/jsx-runtime";import{jsx as Ct,jsxs as rx}from"react/jsx-runtime";var ox=K.states,pp={...K.defaultOptions,variant:"text"},ax=K.options,nx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],sx=[{name:"opened",title:"Opened"}],Wo=e=>{let{variant:t,modifiers:o,...a}={...pp,...e},n={},i=rx(ce,{size:a.size,children:[Ct(q,{text:"Menu Item"}),Ct(q,{text:"Menu Item"}),Ct(q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?i:"")}),t){case"icon-only":return Ct("div",{children:Ct(K,{...a,...n,icon:"star"})});case"icon-and-text":return Ct("div",{children:Ct(K,{...a,...n,icon:"star",children:"Split Button"})});default:return Ct("div",{children:Ct(K,{...a,...n,children:"Split Button"})})}};Wo.options=ax;Wo.states=ox;Wo.variants=nx;Wo.defaultOptions=pp;Wo.modifiers=sx;Wo.className=K.className;import{jsx as ro,jsxs as ix}from"react/jsx-runtime";var dp=e=>ro(U,{children:[ro(p,{children:"Button"},"toolbar-button"),ro(H,{text:"Menu button"},"toolbar-menu-button"),ro(K,{children:"Split button"},"toolbar-split-button"),ix(T,{children:[ro(p,{className:"k-group-start",icon:"align-left",children:"Left"}),ro(p,{icon:"align-center",children:"Center"}),ro(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as p1,jsxs as d1}from"react/jsx-runtime";import{jsx as we,jsxs as mp}from"react/jsx-runtime";var cp=e=>we(U,{scrollable:!0,...e,children:[we(p,{children:"Button"},"toolbar-button"),we(H,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),mp(T,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),we(p,{children:"Button"},"toolbar-button"),we(H,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),mp(T,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as De,jsxs as up}from"react/jsx-runtime";var fp=({scrollingPosition:e="start",...t})=>De(U,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[De(p,{children:"Button"},"toolbar-button"),De(H,{text:"Menu button"},"toolbar-menu-button"),De(K,{children:"Split button"},"toolbar-split-button"),up(T,{children:[De(p,{className:"k-group-start",icon:"align-left",children:"Left"}),De(p,{icon:"align-center",children:"Center"}),De(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),De(p,{children:"Button"},"toolbar-button"),De(H,{text:"Menu button"},"toolbar-menu-button"),De(K,{children:"Split button"},"toolbar-split-button"),up(T,{children:[De(p,{className:"k-group-start",icon:"align-left",children:"Left"}),De(p,{icon:"align-center",children:"Center"}),De(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as lx,jsx as Ie,jsxs as En}from"react/jsx-runtime";var bp=({fillMode:e,size:t,...o})=>En(lx,{children:[Ie(U,{section:!0,fillMode:e,size:t,children:[Ie(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),En(T,{fillMode:e,children:[Ie(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Ie(st,{className:"k-toolbar-button-separator"}),Ie(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),En(An,{size:t,fillMode:e,section:!0,...o,children:[Ie(K,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Ie(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ie(st,{}),Ie(H,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),En(T,{fillMode:e,children:[Ie(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as G1,jsx as U1,jsxs as F1}from"react/jsx-runtime";import{Fragment as e2,jsx as Q1,jsxs as j1}from"react/jsx-runtime";import{jsx as zt}from"react/jsx-runtime";var px=U.options,dx=U.states,xp={...U.defaultOptions,variant:"default"},mx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],cx=[],Jo=e=>{let{variant:t,...o}={...xp,...e};switch(t){case"responsive":return zt("div",{children:zt(bp,{style:{width:"583px"},...o})});case"overlay":return zt("div",{children:zt(fp,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return zt("div",{children:zt(cp,{style:{width:"583px"},...o})});default:return zt("div",{children:zt(dp,{style:{width:"583px"},...o})})}};Jo.options=px;Jo.states=dx;Jo.variants=mx;Jo.defaultOptions=xp;Jo.modifiers=cx;Jo.className=U.className;import{jsx as Np,jsxs as Nx}from"react/jsx-runtime";var yn="k-fab",bx=[r.hover,r.focus,r.active,r.selected,r.disabled],xx={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]},hp={type:"button"},oe=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=hp.type,position:m,hover:u,focus:b,active:x,selected:g,disabled:c,...L}=e;return Nx("button",{...L,type:l,className:s(e.className,yn,E(yn,{size:t,rounded:o,themeColor:a}),C(yn,{hover:u,focus:b,active:x,disabled:c,selected:g}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[i&&Np(v,{className:"k-fab-icon",icon:i}),n&&Np("span",{className:"k-fab-text",children:n})]})};oe.states=bx;oe.options=xx;oe.className=yn;oe.defaultOptions=hp;oe.moduleName="fab";oe.folderName="fab";import{jsx as vx}from"react/jsx-runtime";var hx="k-fab-items",vp=e=>{let{position:t,...o}=e;return vx("ul",{...o,className:s(e.className,hx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as Lp,jsxs as Lx}from"react/jsx-runtime";var gp="k-fab-item",gx=[r.hover,r.focus,r.active,r.disabled],vr=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:m,...u}=e;return Lx("li",{...u,className:s(e.className,gp,{[`k-text-${a}`]:a},C(gp,{hover:n,focus:i,active:l,disabled:m})),children:[Lp("span",{className:"k-fab-item-text",children:t}),Lp(v,{className:"k-fab-item-icon",icon:o})]})};vr.states=gx;import{jsx as D2}from"react/jsx-runtime";import{jsx as Mx}from"react/jsx-runtime";var Mp=e=>Mx(oe,{icon:"plus",...e});import{jsx as $2}from"react/jsx-runtime";import{jsx as J2}from"react/jsx-runtime";import{jsx as Yo,jsxs as yx}from"react/jsx-runtime";var Sx=oe.options,kx=oe.states,Cx={...oe.defaultOptions,variant:"text"},Ax=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ex=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?Yo("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:Yo(vp,{position:"bottom",children:Yo(vr,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(oe,{...a,icon:"star"});break;case"icon-and-text":l=Yo(oe,{...a,icon:"star",text:"Action"});break;default:l=Yo(oe,{...a,text:"Action"});break}return yx("span",{style:{position:"relative"},children:[l,i]})};Zo.options=Sx;Zo.states=kx;Zo.variants=Ax;Zo.defaultOptions=Cx;Zo.modifiers=Ex;Zo.className=oe.className;var gr="prompt-box",Sp=gr;var Lr="speech-to-text-button",kp=Lr;import{jsx as Ix}from"react/jsx-runtime";var Cp="k-speech-to-text-button",Ap={icon:"microphone"},He=e=>{let{listening:t=!1,icon:o=Ap.icon,...a}=e;return Ix(p,{...a,icon:t?"stop":o,className:s(e.className,Cp,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};He.states=p.states;He.options=p.options;He.className=Cp;He.defaultOptions=Ap;He.moduleName=Lr;He.folderName=kp;import{jsx as kU}from"react/jsx-runtime";import{jsx as yU}from"react/jsx-runtime";import{jsx as Kx}from"react/jsx-runtime";var Tx=p.states,Ep={...p.defaultOptions,variant:"normal"},Ox={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Bx=[],Px=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Qo=e=>{let{variant:t,...o}={...Ep,...e},a={};return t==="listening"&&(a.listening=!0),Kx(He,{...o,...a})};Qo.options=Ox;Qo.states=Tx;Qo.variants=Px;Qo.defaultOptions=Ep;Qo.modifiers=Bx;Qo.className=He.className;import{jsx as io,jsxs as Mr}from"react/jsx-runtime";var bt="k-prompt-box",Rx=[r.hover,r.focus,r.disabled],_x={fillMode:[N.undefined,N.solid,N.flat,N.outline]},Sr={lineMode:"auto",isExpanded:!1},Le=e=>{let{fillMode:t,lineMode:o=Sr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=Sr.isExpanded,className:m,children:u,value:b,placeholder:x,generating:g,actionButtonConfig:c,speechToTextButtonConfig:L,uploadButtonConfig:M,hover:S,focus:A,disabled:k,...y}=e,w=o==="multi"||o==="auto"&&l;return Mr("div",{...y,className:s(m,"k-input",bt,{[`${bt}-singleline`]:o==="single",[`${bt}-multiline`]:w,[`k-input-${t}`]:t,"k-hover":S,"k-focus":A,"k-disabled":k}),children:[i&&io("div",{className:`${bt}-header`,children:i}),Mr("div",{className:`${bt}-content`,children:[a&&io("div",{className:`${bt}-affix`,children:a}),o==="single"?io(fe,{value:b,placeholder:x,className:`${bt}-input`,type:"text","aria-label":"Prompt input"}):io(Ma,{value:b,placeholder:x,className:`${bt}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),Mr("div",{className:`${bt}-affix`,children:[n,M&&io($,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...M}),L!==!1&&io(He,{size:"small",fillMode:"flat",rounded:"full",...L}),io($,{icon:g?"stop":"arrow-up",size:"small",rounded:"full",active:g,disabled:!b&&!g,"aria-label":g?"Stop generating":"Send prompt","aria-live":"polite",...c,className:s({"k-generating":g},c?.className)})]})]}),u]})};Le.states=Rx;Le.options=_x;Le.className=bt;Le.defaultOptions=Sr;Le.moduleName=gr;Le.folderName=Sp;import{jsx as QU}from"react/jsx-runtime";import{jsx as o3}from"react/jsx-runtime";import{jsx as r3}from"react/jsx-runtime";import{jsx as d3}from"react/jsx-runtime";import{jsx as f3}from"react/jsx-runtime";import{Fragment as kr,jsx as Ut,jsxs as Fx}from"react/jsx-runtime";var wx=Le.options,Dx=Le.states,Hx={...Le.defaultOptions,variant:"Single"},zx=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],Ux=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],jo=e=>{let{variant:t,modifiers:o,...a}=e,n={},i=Ut(kr,{children:Ut($,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(l=>{switch(l){case"header":n.header=o?.[l]?Ut(p,{children:"Button in header"}):void 0;break;case"endAffix":o?.[l]&&(n.endAffix=Fx(kr,{children:[i,Ut($,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":n.startAffix=o?.[l]?Ut(kr,{children:Ut($,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?Ut(Le,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...a,...n}):Ut(Le,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...a,...n})};jo.options=wx;jo.states=Dx;jo.variants=zx;jo.defaultOptions=Hx;jo.modifiers=Ux;jo.className=Le.className;var Cr="chat",yp=Cr;import{Fragment as Op,jsx as lo,jsxs as Ha}from"react/jsx-runtime";var Ip="k-chat",Gx=[],Vx={},$x=Ha(Op,{children:[lo($,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),lo("div",{className:"k-spacer"})]}),Tp={tools:$x},V=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:m,tools:u=Tp.tools,value:b,empty:x,scrollToBottom:g,scrollbar:c,promptBoxProps:L,...M}=e;return Ha("div",{...M,className:s(Ip,e.className),dir:o,children:[t,Ha("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,lo("div",{className:s("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),g&&lo("div",{className:"k-chat-scroll-to-bottom-container",children:lo(Mp,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),c&&lo("div",{className:"k-separator"}),Ha("div",{className:"k-message-box-wrapper",children:[a,lo(Le,{lineMode:"multi",placeholder:"Type a message",generating:m,value:b,header:n||l?Ha(Op,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};V.states=Gx;V.options=Vx;V.className=Ip;V.defaultOptions=Tp;V.moduleName=Cr;V.folderName=yp;var Ar="avatar",Bp=Ar;import{jsx as Pp}from"react/jsx-runtime";var za="k-avatar";var Xx=[r.hover,r.focus,r.active,r.selected,r.disabled],qx={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]},Er={type:"text",border:!1},Me=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Er.type,border:l=Er.border,...m}=e;return Pp("div",{...m,className:s(e.className,za,E(za,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${za}-bordered`]:l}),children:Pp("span",{className:`${za}-${i}`,children:e.children})})};Me.states=Xx;Me.options=qx;Me.className=za;Me.defaultOptions=Er;Me.moduleName=Ar;Me.folderName=Bp;var po=Me;import{jsx as Wx}from"react/jsx-runtime";var Kp=e=>Wx(po,{type:"icon",...e});import{jsx as Jx}from"react/jsx-runtime";var Rp=e=>Jx(po,{type:"text",...e});import{jsx as Yx}from"react/jsx-runtime";var Tn=e=>Yx(po,{type:"image",...e});import{jsx as t5}from"react/jsx-runtime";import{jsx as Ua}from"react/jsx-runtime";var Zx=Me.options,Qx=Me.states,jx={...Me.defaultOptions,variant:"image"},eN=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],tN=[],ea=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ua(Kp,{...o,children:Ua(v,{icon:"star"})});case"text":return Ua(Rp,{...o,children:"JO"});default:return Ua(Tn,{...o,children:Ua("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ea.options=Zx;ea.states=Qx;ea.variants=eN;ea.defaultOptions=jx;ea.modifiers=tN;ea.className=Me.className;import{jsx as ta,jsxs as yr}from"react/jsx-runtime";var Fa="k-message-group",oN=[r.selected],aN={},On={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},W=e=>{let{type:t=On.type,author:o=On.author,avatar:a=On.avatar,status:n,selected:i,fullWidth:l,...m}=e;return yr("div",{...m,className:s(Fa,e.className,C(Fa,{selected:i}),{[`${Fa}-${t}`]:t,"k-no-avatar":!a,[`${Fa}-full-width`]:l}),children:[a&&!n&&ta(Me,{type:"image",children:ta("img",{src:a,alt:o||""})}),n&&a&&yr("div",{className:"k-chat-user-status-wrapper",children:[ta(Me,{type:"image",children:ta("img",{src:a,alt:o||""})}),ta("div",{className:"k-chat-user-status"})]}),yr("div",{className:"k-message-group-content",children:[o&&ta("span",{className:"k-message-author",children:o}),e.children]})]})};W.states=oN;W.options=aN;W.className=Fa;W.defaultOptions=On;import{Fragment as sN,jsx as Bn,jsxs as _p}from"react/jsx-runtime";var Ir="k-message-reference",nN={},wp={type:"receiver"},Ft=e=>{let{content:t,closeable:o,pinned:a,type:n=wp.type,...i}=e;return _p("div",{...i,className:s(Ir,e.className,{[`${Ir}-${n}`]:n,"k-message-pinned":a}),children:[a&&Bn(v,{icon:"pin"}),Bn("div",{className:"k-message-reference-content",children:t}),o&&_p(sN,{children:[Bn("span",{className:"k-spacer"}),Bn(p,{icon:"x-circle",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};Ft.options=nN;Ft.className=Ir;Ft.moduleName=null;Ft.folderName=null;Ft.defaultOptions=wp;var Tr="bubble",Dp=Tr;import{jsx as Pn,jsxs as iN}from"react/jsx-runtime";var Or="k-bubble",rN=[r.hover,r.active,r.selected,r.focus],Br={expandable:!1,expanded:!1},mo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=Br.expandable,expanded:m=Br.expanded,...u}=e;return iN("div",{...u,className:s(e.className,Or,C(Or,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":m}),tabIndex:0,children:[Pn("div",{className:"k-bubble-content",children:t??e.children}),l&&Pn("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":m?"Show less":"Show more",tabIndex:0,children:m?Pn(v,{icon:"chevron-up"}):Pn(v,{icon:"chevron-down"})})]})};mo.states=rN;mo.className=Or;mo.defaultOptions=Br;mo.moduleName=Tr;mo.folderName=Dp;import{jsx as R5}from"react/jsx-runtime";import{jsx as H5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as Pr,jsxs as zp}from"react/jsx-runtime";var lN="k-chat-bubble",Up=e=>{let{typing:t,content:o,files:a,...n}=e;return zp(mo,{...n,className:s(e.className,lN),children:[t?zp("div",{className:"k-typing-indicator",tabIndex:-1,children:[Pr("span",{}),Pr("span",{}),Pr("span",{})]}):o,a]})};import{jsx as nF}from"react/jsx-runtime";import{jsx as Fp,jsxs as pN}from"react/jsx-runtime";var Gp="k-chat-event",Kr={icon:"trash",text:"You deleted Chat history."},Vp=e=>{let{icon:t=Kr.icon,text:o=Kr.text,...a}=e;return pN("div",{...a,className:s(e.className,Gp),children:[t&&Fp(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&Fp("span",{className:"k-chat-event-text",children:o})]})};Vp.className=Gp;Vp.defaultOptions=Kr;import{jsx as fF}from"react/jsx-runtime";import{Fragment as dN,jsx as xt,jsxs as mN}from"react/jsx-runtime";var $p=e=>xt(V,{children:mN(dN,{children:[xt("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),xt(W,{children:xt(F,{})}),xt(W,{type:"sender",children:xt(F,{})}),xt(W,{children:xt(F,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),xt(W,{type:"sender",children:xt(F,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});import{jsx as Xp}from"react/jsx-runtime";var Kn="k-file-box-wrapper",qp={layout:"horizontal"},Nt=e=>{let{layout:t=qp.layout,scrollingPosition:o,...a}=e;return Xp("ul",{role:"list","aria-label":"Attached files",...a,className:s(e.className,Kn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${Kn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${Kn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?Xp("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Nt.className=Kn;Nt.defaultOptions=qp;var Rr="file-box",Wp=Rr;import{jsx as oa,jsxs as Jp}from"react/jsx-runtime";var Yp="k-file-box",cN=[r.selected],uN={},Ga={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},Te=e=>{let{icon:t=Ga.icon,name:o=Ga.name,size:a=Ga.size,status:n,deleted:i,removeButton:l,showButton:m=Ga.showButton,...u}=e,b=[o,a].filter(Boolean).join(" ");return Jp("li",{role:"listitem",tabIndex:0,"aria-label":b||void 0,...u,className:s(Yp,e.className,{"k-file-deleted":i}),children:[oa(v,{icon:t,size:"xlarge","aria-hidden":"true"}),Jp("div",{className:"k-file-info",children:[o&&oa("span",{className:"k-file-name",children:o}),a&&oa("span",{className:"k-file-size",children:a}),n&&oa("span",{className:"k-file-status",children:n})]}),m&&(l?oa(p,{as:"span",icon:"x-circle",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):oa(H,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};Te.states=cN;Te.options=uN;Te.className=Yp;Te.defaultOptions=Ga;Te.moduleName=Rr;Te.folderName=Wp;import{jsx as PF}from"react/jsx-runtime";import{jsx as DF}from"react/jsx-runtime";import{jsx as GF,jsxs as VF}from"react/jsx-runtime";import{jsx as JF,jsxs as YF}from"react/jsx-runtime";import{jsx as tG}from"react/jsx-runtime";import{Fragment as bG,jsx as fG,jsxs as xG}from"react/jsx-runtime";import{Fragment as LG,jsx as gG,jsxs as MG}from"react/jsx-runtime";var _r="skeleton",Zp=_r;import{jsx as NN}from"react/jsx-runtime";var wr="k-skeleton",fN=["circle","text","rect"],bN=[],xN={},Dr={variant:"text",shape:"text",animation:"pulse"},ht=e=>{let{variant:t,shape:o,animation:a=Dr.animation,...n}=e,i=`skeleton-${t||o||Dr.variant}`;return NN("span",{...n,className:s(e.className,wr,Ya(wr,i),{[`k-skeleton-${a}`]:a}),style:e.style})};ht.states=bN;ht.options=xN;ht.variants=fN;ht.className=wr;ht.defaultOptions=Dr;ht.moduleName=_r;ht.folderName=Zp;import{jsx as OG}from"react/jsx-runtime";import{jsx as RG}from"react/jsx-runtime";import{jsx as HG}from"react/jsx-runtime";import{Fragment as jG,jsx as ZG,jsxs as QG}from"react/jsx-runtime";import{Fragment as n6,jsx as a6,jsxs as s6}from"react/jsx-runtime";var Hr="window",Qp=Hr;import{jsx as LN}from"react/jsx-runtime";var jp="k-window-content",hN=[],vN={},gN={},Gt=e=>{let{children:t,...o}=e;return LN("div",{...o,className:s(jp,e.className),children:t})};Gt.states=hN;Gt.options=vN;Gt.className=jp;Gt.defaultOptions=gN;Gt.moduleName=Hr;Gt.folderName=Qp;var Va="dialog",Rn=Va;import{Fragment as kN,jsx as co,jsxs as zr}from"react/jsx-runtime";var ed="k-dialog",MN=[],SN={},Ur={actionButtonsAlign:"stretched",modal:!0},ze=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=Ur.actionButtonsAlign,modal:i=Ur.modal,...l}=e,m=t!==void 0?B("dialog-titlebar"):void 0,u=B("dialog-content");return zr("div",{className:"k-dialog-wrapper",children:[i&&co(mt,{}),zr("div",{...l,className:s(e.className,ed,"k-window"),role:"dialog","aria-labelledby":m,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&zr("div",{className:"k-window-titlebar k-dialog-titlebar",id:m,children:[t!==void 0&&co("span",{className:"k-window-title k-dialog-title",children:t}),o&&co(kN,{children:co("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(b=>co(p,{icon:b,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":b},b))})})]}),co(Gt,{className:"k-dialog-content",id:u,children:e.children}),a&&co(Pe,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};ze.states=MN;ze.options=SN;ze.className=ed;ze.defaultOptions=Ur;ze.moduleName=Va;ze.folderName=Rn;var Fr=ze;import{jsx as yN}from"react/jsx-runtime";var td="k-dialog-wrapper",CN=[],AN={},EN={},aa=e=>{let{...t}=e;return yN("div",{...t,className:s(e.className,td),children:e.children})};aa.states=CN;aa.options=AN;aa.className=td;aa.defaultOptions=EN;aa.moduleName=Va;aa.folderName=Rn;import{Fragment as od,jsx as _n,jsxs as IN}from"react/jsx-runtime";var ad=e=>_n(Fr,{title:"Title",children:_n(od,{children:"Dialog content"}),actionButtons:IN(od,{children:[_n(p,{children:"Action"}),_n(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});import{Fragment as B6,jsx as P6,jsxs as K6}from"react/jsx-runtime";import{Fragment as RN,jsx as wn,jsxs as _N}from"react/jsx-runtime";var TN=ze.options,ON=[],BN=ze.states,PN=ze.defaultOptions,KN=[],na=e=>wn(ad,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:_N(RN,{children:[wn(p,{children:"No"}),wn(p,{themeColor:"primary",children:"Yes"})]}),children:wn("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});na.options=TN;na.states=BN;na.variants=ON;na.defaultOptions=PN;na.modifiers=KN;na.className=ze.className;var Gr="dropzone",nd=Gr;import{jsx as Dn,jsxs as HN}from"react/jsx-runtime";var Vr="k-external-dropzone",wN=[r.disabled,r.hover],DN={},$r={icon:"upload",hint:"Drag and drop files here to upload"},Se=e=>{let{hover:t,disabled:o,icon:a=$r.icon,hint:n=$r.hint,note:i,...l}=e;return Dn("div",{...l,className:s(e.className,Vr,C(Vr,{disabled:o}),{"k-external-dropzone-hover":t}),children:HN("div",{className:"k-dropzone-inner",children:[a&&Dn(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&Dn("span",{className:"k-dropzone-hint",children:n}),i&&Dn("span",{className:"k-dropzone-note",children:i})]})})};Se.states=wN;Se.options=DN;Se.className=Vr;Se.defaultOptions=$r;Se.moduleName=Gr;Se.folderName=nd;import{jsx as zN}from"react/jsx-runtime";var sd=e=>zN(Se,{...e});import{jsx as s7}from"react/jsx-runtime";import{jsx as XN}from"react/jsx-runtime";var UN=Se.options,FN=Se.states,GN=Se.defaultOptions,VN=[{name:"note",title:"Note"}],$N=[],sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t?.[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),XN(sd,{style:{width:"500px"},...o,...a})};sa.options=UN;sa.states=FN;sa.variants=$N;sa.defaultOptions=GN;sa.modifiers=VN;sa.className=Se.className;import{Fragment as Hn,jsx as Vt,jsxs as $a}from"react/jsx-runtime";var Xr="k-upload-dropzone",qN=[r.hover],zn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,buttonText:l="Select files...",...m}=e,u;switch(o){case"uploading":u=$a(Hn,{children:[Vt(v,{icon:"upload"}),"Uploading..."]});break;case"done":u=$a(Hn,{children:[Vt(v,{icon:"check"}),"Done"]});break;case"failed":u=$a(Hn,{children:[Vt(v,{icon:"exclamation-circle"}),"Done"]});break;default:u=Vt(Hn,{});break}return $a("div",{...m,className:s(e.className,Xr,"k-dropzone",C(Xr,{hover:t})),children:[$a("div",{className:"k-upload-button-wrap",children:[Vt(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:l}),Vt("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),Vt("span",{className:s("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&Vt("span",{className:"k-upload-status",children:u})]})};zn.states=qN;zn.className=Xr;var qr="upload",rd=qr;import{jsx as Un,jsxs as ld}from"react/jsx-runtime";var Wr="k-upload",WN=[r.hover,r.disabled],JN={},pd={actionsLayout:"end"},id="upload-files-list",ae=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=pd.actionsLayout,hover:i,status:l,disabled:m,buttonText:u,...b}=e,x=!!e.children;return ld("div",{...b,className:s(e.className,Wr,C(Wr,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Un(zn,{status:l,hover:i,disabled:m,hasFiles:x,filesId:id,buttonText:u}),x&&Un("ul",{className:"k-upload-files",role:"list",id,children:e.children}),a&&x&&ld(_i,{alignment:n,orientation:"horizontal",children:[Un(p,{className:"k-clear-selected",children:"Clear"}),Un(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ae.states=WN;ae.options=JN;ae.className=Wr;ae.defaultOptions=pd;ae.moduleName=qr;ae.folderName=rd;var Xa="progressbar",Fn=Xa;import{jsx as Yr,jsxs as Jr}from"react/jsx-runtime";var et="k-progressbar",YN=[r.disabled,r.indeterminate],ZN={orientation:["horizontal","vertical"]},uo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},ke=e=>{let{disabled:t,height:o,indeterminate:a=uo.indeterminate,label:n=uo.label,labelPosition:i=uo.labelPosition,orientation:l=uo.orientation,reverse:m=uo.reverse,value:u=uo.value,width:b,style:x,ariaLabel:g,...c}=e;return Jr("div",{...c,className:s(e.className,et,C(et,{disabled:t}),{[`${et}-${l}`]:l,[`${et}-indeterminate`]:a,[`${et}-reverse`]:m}),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:[Yr("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&Jr("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&Yr("div",{className:"k-progressbar-value k-selected",children:Yr("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&Jr("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};ke.states=YN;ke.options=ZN;ke.className=et;ke.defaultOptions=uo;ke.moduleName=Xa;ke.folderName=Fn;var dd=ke;import{jsx as Zr}from"react/jsx-runtime";var md="k-chunk-progressbar",QN=(e,t)=>t<=e-1,jN=[r.disabled,r.indeterminate],eh={},Gn={chunkCount:5,orientation:"horizontal",progress:0},ra=e=>{let{disabled:t,chunkCount:o=Gn.chunkCount,indeterminate:a,orientation:n=Gn.orientation,progress:i=Gn.progress,reverse:l,ariaLabel:m,...u}=e;return Zr("div",{...u,className:s(e.className,et,md,C(et,{disabled:t}),{[`${et}-${n}`]:n,[`${et}-indeterminate`]:a,[`${et}-reverse`]:l}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:Zr("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>Zr("li",{className:s("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":QN(i,x)})},x))})})};ra.states=jN;ra.options=eh;ra.className=md;ra.defaultOptions=Gn;ra.moduleName=Xa;ra.folderName=Fn;import{jsx as th}from"react/jsx-runtime";var qa=e=>th(dd,{...e});import{jsx as X7}from"react/jsx-runtime";import{jsx as $t}from"react/jsx-runtime";var oh=ke.options,ah=ke.states,cd={...ke.defaultOptions,variant:"start"},nh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],sh=[],ia=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!o?.[l];break;case"vertical":n.orientation=o?.[l]?"vertical":void 0,i.style=o?.[l]?void 0:{width:"324px"};break}}),t){case"end":return $t("div",{...i,children:$t(qa,{...a,...n,labelPosition:"end",value:"50"})});case"center":return $t("div",{...i,children:$t(qa,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return $t("div",{...i,children:$t(qa,{...a,...n,label:!1,value:"50"})});default:return $t("div",{...i,children:$t(qa,{...a,...n,labelPosition:"start",value:"50"})})}};ia.options=oh;ia.states=ah;ia.variants=nh;ia.defaultOptions=cd;ia.modifiers=sh;ia.className=ke.className;import{jsx as Qr,jsxs as ih}from"react/jsx-runtime";var rh="k-file-info",jr=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return ih("div",{...n,className:s(e.className,rh),children:[t&&Qr("span",{className:"k-file-name",children:t}),o&&Qr("span",{className:"k-file-size",children:o}),a&&Qr("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as ph,jsx as At,jsxs as Vn}from"react/jsx-runtime";var lh="k-file",Oe=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:m,...u}=e;return At("li",{...u,className:s(e.className,lh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Vn("div",{className:"k-file-single",children:[At(ke,{className:s({"k-hidden":t!=="progress"}),value:o,label:!1}),Vn("span",{className:"k-file-icon-wrapper",children:[At(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&At("span",{className:"k-file-state",children:l})]}),At(jr,{name:a,size:i,validationMsg:m}),At("div",{className:"k-upload-actions",children:t==="progress"?Vn(ph,{children:[Vn("span",{className:"k-upload-pct",children:[o,"%"]}),At(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),At(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):At(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as M9,jsx as g9,jsxs as L9}from"react/jsx-runtime";import{Fragment as dh,jsx as ei,jsxs as mh}from"react/jsx-runtime";var Wa=e=>ei(ae,{async:!0,children:mh(dh,{children:[ei(Oe,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),ei(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as B9,jsx as T9,jsxs as O9}from"react/jsx-runtime";import{jsx as ch}from"react/jsx-runtime";var ud=e=>ch(ae,{async:!0,empty:!0,...e});import{Fragment as z9,jsx as H9,jsxs as U9}from"react/jsx-runtime";import{Fragment as X9,jsx as $9,jsxs as q9}from"react/jsx-runtime";import{jsx as Et,jsxs as $n}from"react/jsx-runtime";var uh=ae.options,fh=ae.states,fd={...ae.defaultOptions,variant:"empty"},bh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],xh=[],la=e=>{let{variant:t,...o}={...fd,...e};switch(t){case"success":return $n(Wa,{status:"done",style:{width:"586px"},...o,children:[Et(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Et(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return $n(Wa,{status:"failed",style:{width:"586px"},...o,children:[Et(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Et(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return $n(Wa,{status:"uploading",style:{width:"586px"},...o,children:[Et(Oe,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Et(Oe,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return $n(Wa,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Et(Oe,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Et(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Et(ud,{async:!0,status:"upload",style:{width:"586px"},...o})}};la.options=uh;la.states=fh;la.variants=bh;la.defaultOptions=fd;la.modifiers=xh;la.className=ae.className;import{Fragment as L4,jsx as g4,jsxs as M4}from"react/jsx-runtime";import{jsx as A4}from"react/jsx-runtime";import{Fragment as O4,jsx as T4,jsxs as B4}from"react/jsx-runtime";import{Fragment as w4,jsx as _4,jsxs as D4}from"react/jsx-runtime";import{Fragment as G4,jsx as F4,jsxs as V4}from"react/jsx-runtime";import{Fragment as J4,jsx as W4}from"react/jsx-runtime";var ti="appbar",bd=ti;import{jsx as gh}from"react/jsx-runtime";var oi="k-appbar",Nh=[],hh={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.inverse]},vh={},Ce=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return gh("div",{...n,className:s(e.className,oi,E(oi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};Ce.states=Nh;Ce.options=hh;Ce.className=oi;Ce.defaultOptions=vh;Ce.moduleName=ti;Ce.folderName=bd;import{jsx as Mh}from"react/jsx-runtime";var Lh="k-appbar-section",vt=e=>{let{...t}=e;return Mh("div",{...t,className:s(Lh,e.className),children:e.children})};import{Fragment as d8,jsx as l8,jsxs as p8}from"react/jsx-runtime";import{jsx as j,jsxs as pa}from"react/jsx-runtime";var ai={...Ce.options,positionMode:["static","sticky","fixed"]},Sh=Ce.states,xd={...Ce.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};ai.themeColor=["primary",...ai.themeColor.filter(e=>e!=="primary")];var kh=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],da=e=>{let{variant:t,...o}={...xd,...e},a=pa(Ce,{position:t,...o,children:[j(vt,{children:j($,{fillMode:"flat",icon:"menu"})}),j("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),j(vt,{children:j("h3",{className:"k-m-0",children:"AppBar"})}),j("span",{className:"k-spacer"}),pa(vt,{children:[j(at,{fillMode:"flat",children:"Button"}),j(at,{fillMode:"flat",children:"Button"}),j(at,{fillMode:"flat",children:"Button"})]}),j("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),j(vt,{children:j(ln,{value:"Input value"})}),pa(vt,{children:[j($,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),j("span",{className:"k-appbar-separator"}),j(Tn,{className:"k-mx-sm",children:j("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=pa("div",{style:{padding:"25px 10px"},children:[j("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!"}),j("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?"}),j("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!"}),j("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?pa("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):pa("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};da.options=ai;da.states=Sh;da.variants=kh;da.defaultOptions=xd;da.modifiers=[];da.className=Ce.className;var ni="suggestion",Nd=ni;import{jsx as Xn,jsxs as Eh}from"react/jsx-runtime";var qn="k-suggestion-group",Ch=[],Ah={},hd={layout:"scrollable",scrollingPosition:"start"},tt=e=>{let{layout:t=hd.layout,scrollingPosition:o,...a}=e,n=Xn("div",{...a,className:s(qn,{"k-suggestion-group-scrollable":t=="scrollable",[`${qn}-scrollable-start`]:o==="start"||o==="both",[`${qn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Xn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?Eh("div",{className:"k-suggestion-scrollwrap",children:[Xn(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Xn(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};tt.states=Ch;tt.options=Ah;tt.className=qn;tt.defaultOptions=hd;tt.moduleName=ni;tt.folderName=Nd;import{jsx as Oh}from"react/jsx-runtime";var Wn="k-suggestion",yh=[r.active,r.hover,r.focus],Ih={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},Th={text:"Suggestion"},ot=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...l}=e;return Oh("span",{...l,className:s(e.className,Wn,C(Wn,{hover:a,active:o,focus:n}),E(Wn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};ot.states=yh;ot.options=Ih;ot.className=Wn;ot.item=Th;import{Fragment as w8,jsx as _8,jsxs as D8}from"react/jsx-runtime";import{Fragment as G8,jsx as F8,jsxs as V8}from"react/jsx-runtime";import{Fragment as J8,jsx as W8,jsxs as Y8}from"react/jsx-runtime";import{Fragment as wh,jsx as ee,jsxs as Jn}from"react/jsx-runtime";var Bh=V.states,Ph=V.defaultOptions,Kh=V.options,Rh=[{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"}],_h=[],ma=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=Jn(Ce,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[ee("span",{className:"k-spacer k-spacer-sized k-w-1"}),ee(vt,{children:ee("span",{children:"Chat with demo bot"})}),ee("span",{className:"k-spacer"}),ee(vt,{children:ee(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=ee(Ft,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=Jn(tt,{children:[ee(ot,{text:"Provide a CV template"}),ee(ot,{text:"Generate a cover letter"})]}),m=Jn(tt,{children:[ee(ot,{themeColor:"primary",text:"Thank you!"}),ee(ot,{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(y=>{switch(y){case"header":a.header=t?.[y]?n:!1;break;case"pinned":a.pinned=t?.[y]?i:!1;break;case"suggested":a.suggestedActions=t?.[y]?l:!1;break;case"author":a.author=t?.[y]?!0:null;break;case"avatar":a.avatar=t?.[y]?u:null;break;case"quick":a.quickReplies=t?.[y]?m:ee(wh,{});break;default:break}});let{header:c,pinned:L,suggestedActions:M,author:S,avatar:A,quickReplies:k}=a;return Jn($p,{value:"Thank you!",style:{minHeight:"100%"},...o,header:c,pinned:L,suggestedActions:M,children:[ee(W,{avatar:b,author:S?g:null,children:ee(F,{text:"Hello, this is a demo bot. How can I help you ?"})}),ee(W,{avatar:A?u:null,author:S?x:null,type:"sender",children:ee(F,{text:"Hello! Generate a cover letter."})}),ee(W,{avatar:b,author:S?g:null,children:ee(F,{text:"Sure. Here is a cover letter template",files:ee(Nt,{children:ee(Te,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),k]})};ma.options=Kh;ma.states=Bh;ma.variants=_h;ma.defaultOptions=Ph;ma.modifiers=Rh;ma.className=V.className;import{Fragment as Uh,jsx as rt,jsxs as Ja}from"react/jsx-runtime";var vd="k-message",Dh=[r.hover,r.selected,r.active,r.focus],Hh={},zh=[rt(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),rt(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),rt(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],ca={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:zh,failed:"Failed to send"},F=e=>{let{time:t=ca.time,text:o=ca.text,content:a,status:n=ca.status,statusIcon:i,toolbarItems:l=ca.toolbarItems,hover:m,selected:u,active:b,focus:x,toolbar:g,typing:c,expandable:L,expanded:M,removed:S,files:A,failed:k,...y}=e,w=k===!0?ca.failed:k;return Ja("div",{...y,className:s(vd,e.className,{"k-message-removed":S,"k-message-failed":k}),children:[k&&rt($,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),rt(Up,{typing:c,selected:u,hover:m,active:b,focus:x,content:Ja(Uh,{children:[a,o&&rt("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:M,files:A}),Ja("div",{className:"k-message-info",children:[n&&Ja("span",{className:"k-message-status",children:[i&&rt(v,{icon:i,size:"xsmall"}),n]}),t&&rt("time",{className:"k-message-time",children:t}),k&&Ja("span",{className:"k-message-failed-content",children:[k&&rt(v,{icon:"warning-triangle",size:"xsmall"}),k&&rt("span",{className:"k-message-failed-text",children:w})]})]}),g&&rt(U,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};F.states=Dh;F.options=Hh;F.className=vd;F.moduleName=null;F.folderName=null;F.defaultOptions=ca;var FV=F;export{vd as CHATMESSAGE_CLASSNAME,F as ChatMessage,FV as default};
1
+ 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 E=(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:m,selected:u,disabled:b,indeterminate:x,loading:g,empty:c,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":m,"k-selected":u,"k-disabled":b,"k-indeterminate":x&&!l,"k-loading":g,"k-empty":c,"k-readonly":L,"k-highlighted":M},Object.keys(S).reduce((A,k)=>(k.startsWith("k-")?A[k]=S[k]:A[`k-${k}`]=S[k],A),{}))};function Ya(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"},it={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 jn={};function B(e){return jn[e]=(jn[e]||0)+1,`k-${e}-${jn[e]}`}import{Fragment as Sd,jsx as ri}from"react/jsx-runtime";var es="k-font-icon",gd=[],Ld={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]},Md={},ba=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?ri("span",{...l,className:s(e.className,es,E(es,{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"}):ri(Sd,{})};ba.states=gd;ba.options=Ld;ba.className=es;ba.defaultOptions=Md;var ii=ba;import{Fragment as Ad,jsx as Za}from"react/jsx-runtime";var ts="k-svg-icon",kd=[],Cd={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:[it.outline,it.solid,it.duotone]},os={viewBox:"0 0 24 24",variant:it.outline},xa=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=os.viewBox,variant:l=os.variant,icon:m,...u}=e;if(!m)return Za(Ad,{});if(m==="none")return Za("span",{...u,className:s(e.className,ts,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let b=typeof m=="object"&&m.name&&m.name,x=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Za("span",{...u,className:s(e.className,ts,E("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:Za("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:i,dangerouslySetInnerHTML:x!==void 0?{__html:x}:void 0,children:m?void 0:e.children})})};xa.states=kd;xa.options=Cd;xa.className=ts;xa.defaultOptions=os;var as=xa;import*as ns from"@progress/kendo-svg-icons";var li="icon",pi="icons";import{useContext as yd}from"react";import{createContext as Ed}from"react";var di=Ed({iconsType:"svg"});import{Fragment as mi,jsx as Na}from"react/jsx-runtime";var Qa="k-icon",Id=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Td=[],Od={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:[it.outline,it.solid,it.duotone]},ja={viewBox:"0 0 24 24",type:"svg",variant:it.outline},v=e=>{let{iconsType:t}=yd(di),{size:o,themeColor:a,icon:n,type:i=t||ja.type,rotate:l,flip:m,viewBox:u=ja.viewBox,variant:b=ja.variant,...x}=e;if(!n)return Na(mi,{});if((t||i)==="svg"){if(n==="none")return Na(as,{...x,className:s(e.className,Qa),icon:n,size:o,variant:b});let c=ns[n]?n:Id(`${n}-icon`);return ns[c]?Na(as,{...x,className:s(e.className,Qa),icon:ns[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:u,variant:b}):Na(mi,{})}return Na(ii,{...x,className:s(e.className,Qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};v.states=Td;v.options=Od;v.defaultOptions=ja;v.className=Qa;v.moduleName=li;v.folderName=pi;var ss="button",ci=ss;import{Fragment as rs,jsx as yt,jsxs as ui}from"react/jsx-runtime";var ha="k-button",Bd=["icon-button"],Pd=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Kd={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]},is={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=is.showArrow,arrowIconName:m=is.arrowIconName,variant:u,hover:b,focus:x,active:g,selected:c,disabled:L,togglable:M,ariaDisabled:S,icon:A,endIcon:k,iconSize:y,text:w,iconClassName:se,className:Ae,...pe}=e,ue=A!=null,ua=e.children!==void 0;return ui(t,{className:s(Ae,ha,Ya(ha,u),E(ha,{size:o,rounded:a,fillMode:n,themeColor:i}),C(ha,{hover:b,focus:x,active:g,disabled:L||S,selected:c}),{"k-icon-button":!w&&!ua&&ue}),"aria-pressed":M?c?"true":"false":void 0,...pe,"aria-disabled":S?"true":void 0,disabled:L||void 0,children:[typeof A=="string"&&A&&yt(v,{className:s(se,"k-button-icon"),icon:A,size:y}),A&&typeof A!="string"&&yt(rs,{children:A}),w?ui(rs,{children:[w&&yt("span",{className:"k-button-text",children:w}),e.children]}):e.children&&yt("span",{className:"k-button-text",children:e.children}),typeof k=="string"&&k&&yt(v,{className:s(se,"k-button-icon"),icon:k,size:y}),k&&typeof k!="string"&&yt(rs,{children:k}),l&&yt("span",{className:"k-menu-button-arrow k-button-arrow",children:yt(v,{icon:m})})]})};p.states=Pd;p.options=Kd;p.variants=Bd;p.className=ha;p.defaultOptions=is;p.moduleName=ss;p.folderName=ci;import{jsx as Rd}from"react/jsx-runtime";var $=e=>Rd(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as _d}from"react/jsx-runtime";var va=e=>_d(p,{icon:"folder",children:"Button",...e});import{jsx as Pv}from"react/jsx-runtime";import{jsx as wd}from"react/jsx-runtime";var at=e=>wd(p,{children:"Button",...e});import{jsx as ls}from"react/jsx-runtime";var Dd=p.options,Hd=p.states,zd={...p.defaultOptions,variant:"text"},Ud=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Fd=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return ls($,{...o,icon:"star"});case"icon-and-text":return ls(va,{...o,icon:"star",children:"Button"});default:return ls(at,{...o,children:"Button"})}};fo.options=Dd;fo.states=Hd;fo.variants=Ud;fo.defaultOptions=zd;fo.modifiers=Fd;fo.className=p.className;var ps="button",fi=ps;import{jsx as Xd}from"react/jsx-runtime";var ga="k-button-group",Gd=[r.disabled],Vd={fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},$d={},T=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Xd("div",{role:"group",...n,className:s(e.className,ga,E(ga,{fillMode:t}),C(ga,{disabled:o}),{[`${ga}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};T.states=Gd;T.options=Vd;T.className=ga;T.defaultOptions=$d;T.moduleName=ps;T.folderName=fi;import{Fragment as ig,jsx as rg,jsxs as lg}from"react/jsx-runtime";import{Fragment as fg,jsx as ug,jsxs as bg}from"react/jsx-runtime";import{Fragment as Lg,jsx as gg,jsxs as Mg}from"react/jsx-runtime";import{Fragment as yg,jsx as Eg,jsxs as Ig}from"react/jsx-runtime";import{Fragment as Rg,jsx as Kg,jsxs as _g}from"react/jsx-runtime";import{Fragment as Fg,jsx as Ug,jsxs as Gg}from"react/jsx-runtime";import{Fragment as Jg,jsx as Wg,jsxs as Yg}from"react/jsx-runtime";import{jsx as gt,jsxs as ds}from"react/jsx-runtime";var qd={...p.options,...T.options},Wd=p.states,Jd={...p.defaultOptions,...T.defaultOptions,variant:"text-button"},Yd=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Zd=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?ds(T,{fillMode:a.fillMode,className:o,children:[gt(p,{...a,icon:"star"}),gt(p,{...a,icon:"star"}),gt(p,{...a,icon:"star"})]}):t==="icon-text-button"?ds(T,{fillMode:a.fillMode,className:o,children:[gt(p,{...a,icon:"star",children:"First"}),gt(p,{...a,icon:"star",children:"Middle"}),gt(p,{...a,icon:"star",children:"Last"})]}):ds(T,{fillMode:a.fillMode,className:o,children:[gt(p,{...a,children:"First"}),gt(p,{...a,children:"Middle"}),gt(p,{...a,children:"Last"})]})};bo.options=qd;bo.states=Wd;bo.variants=Yd;bo.defaultOptions=Jd;bo.modifiers=Zd;bo.className=T.className;var La="input",en=La;import{jsx as tm}from"react/jsx-runtime";var tn="k-input",Qd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],jd={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]},em={},J=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m,size:u,rounded:b,fillMode:x,...g}=e;return tm("span",{...g,className:s(e.className,tn,E(tn,{size:u,rounded:b,fillMode:x}),C(tn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m}))})};J.states=Qd;J.options=jd;J.className=tn;J.defaultOptions=em;J.moduleName=La;J.folderName=en;import{jsx as sm}from"react/jsx-runtime";var on="k-picker",om=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],am={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]},nm={},lt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m,size:u,rounded:b,fillMode:x,...g}=e;return sm("span",{...g,className:s(e.className,on,E(on,{size:u,rounded:b,fillMode:x}),C(on,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:m})),children:e.children})};lt.states=om;lt.options=am;lt.className=on;lt.defaultOptions=nm;lt.moduleName=La;lt.folderName=en;import{Fragment as lm,jsx as ms}from"react/jsx-runtime";var bi="k-clear-value",rm=[r.disabled,r.loading,r.readonly],im={},Be=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?ms(lm,{}):ms("span",{className:s(e.className,bi),children:ms(v,{icon:"x"})})};Be.states=rm;Be.options=im;Be.className=bi;import{jsx as mm}from"react/jsx-runtime";var cs="k-input-inner",pm=[],dm={},an={type:"text",autocomplete:"off",value:"",placeholder:""},fe=e=>{let{value:t=an.value,type:o=an.type,placeholder:a=an.placeholder,autocomplete:n=an.autocomplete,disabled:i,readOnly:l,...m}=e;return mm("input",{...m,type:o,className:s(e.className,cs,E(cs,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};fe.states=pm;fe.options=dm;fe.className=cs;import{jsx as xi,jsxs as fm}from"react/jsx-runtime";var us="k-input-inner",cm=[],um={},Wt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return fm("span",{...l,className:s(e.className,us,E(us,e)),children:[n,!n&&i&&xi(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&xi("span",{className:"k-input-value-text",children:t})]})};Wt.states=cm;Wt.options=um;Wt.className=us;import{jsx as Nm}from"react/jsx-runtime";var fs="k-input-inner",bm=[],xm={},Ni={value:"",placeholder:""},Ma=e=>{let{value:t=Ni.value,placeholder:o=Ni.placeholder,rows:a,disabled:n,...i}=e;return Nm("textarea",{...i,className:s(e.className,fs,E(fs,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ma.states=bm;Ma.options=xm;Ma.className=fs;import{Fragment as vm,jsx as hi}from"react/jsx-runtime";var vi="k-input-loading-icon",hm=[r.disabled,r.loading],Ee=e=>{let{disabled:t,loading:o}=e;return t||!o?hi(vm,{}):hi("span",{className:s(e.className,vi,"k-icon k-i-loading")})};Ee.states=hm;Ee.className=vi;import{Fragment as Mm,jsx as gi}from"react/jsx-runtime";var Li="k-input-validation-icon",gm=[r.valid,r.invalid,r.disabled,r.loading],Lm={},be=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?gi(Mm,{}):gi(v,{className:s(Li),icon:i})};be.states=gm;be.options=Lm;be.className=Li;import{Fragment as Cm,jsx as Mi}from"react/jsx-runtime";var Sm="k-input-prefix",km={direction:"horizontal"},Ue=e=>{let{direction:t=km.direction,...o}=e;return e.children?Mi("span",{...o,className:s(Sm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Mi(Cm,{})};import{Fragment as ym,jsx as Si}from"react/jsx-runtime";var Am="k-input-suffix",Em={direction:"horizontal"},Fe=e=>{let{direction:t=Em.direction,...o}=e;return e.children?Si("span",{...o,className:s(Am,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Si(ym,{})};import{jsx as ZL}from"react/jsx-runtime";import{jsx as Tm}from"react/jsx-runtime";var Im="k-input-suffix-text",bs=e=>{let{children:t,...o}=e;return Tm("span",{...o,className:s(Im,e.className),children:t})};import{jsx as Bm}from"react/jsx-runtime";var ki="k-input-separator",Om={direction:"vertical"},Ge=e=>{let{direction:t=Om.direction,...o}=e;return Bm("span",{...o,className:s(ki,e.className,{[`${ki}-${t}`]:t})})};import{Fragment as Ci,jsx as pt,jsxs as xs}from"react/jsx-runtime";var Pm=J.states,Km=J.defaultOptions,Rm=J.options,_m=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],wm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...m}=e,u=t?.prefix,b=t?.suffix,x=t?.["clear-button"],g=t?.["validation-icon"],c=t?.separators;return xs(J,{...m,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&xs(Ci,{children:[pt(Ue,{children:pt(v,{icon:"lock"})}),c&&pt(Ge,{})]}),pt(fe,{placeholder:"Placeholder",value:"Value"}),g&&pt(be,{valid:o,invalid:a,loading:n,disabled:i}),pt(Ee,{loading:n,disabled:i}),x&&pt(Be,{loading:n,disabled:i,readonly:l,value:"Value"}),b&&xs(Ci,{children:[c&&pt(Ge,{}),pt(Fe,{children:pt(at,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=Rm;xo.states=Pm;xo.variants=wm;xo.defaultOptions=Km;xo.modifiers=_m;xo.className=J.className;import{jsx as Ai,jsxs as zm}from"react/jsx-runtime";var Ei="k-color-preview",Dm=[],Hm={},It=e=>{let{color:t,iconName:o,...a}=e;return zm("span",{...a,className:s(e.className,Ei,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ai(v,{icon:o,className:"k-color-preview-icon"}),Ai("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};It.states=Dm;It.options=Hm;It.className=Ei;var Ns="popup",yi=Ns;import{jsx as Ii}from"react/jsx-runtime";var Ti="k-animation-container",Um=[],Fm={},hs={positionMode:"absolute",shown:!0},dt=e=>{let{positionMode:t=hs.positionMode,shown:o=hs.shown,animationStyle:a,offset:n,...i}=e;return Ii("div",{...i,style:{...n,...e.style},className:s(e.className,Ti,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Ii("div",{className:"k-child-animation-container",style:a,children:e.children})})};dt.states=Um;dt.options=Fm;dt.className=Ti;dt.defaultOptions=hs;dt.moduleName=Ns;dt.folderName=yi;var vs="popup",Oi=vs;import{jsx as Bi}from"react/jsx-runtime";var Pi="k-popup",Gm=[],Vm={},Ki={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Ki.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...m}=e;return Bi(dt,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:Bi("div",{...m,className:s(e.className,Pi),children:e.children})})};X.states=Gm;X.options=Vm;X.className=Pi;X.defaultOptions=Ki;X.moduleName=vs;X.folderName=Oi;var gs="action-buttons",Ri=gs;import{jsx as qm}from"react/jsx-runtime";var nn="k-actions",$m=[],Xm={},Ls={alignment:"start",orientation:"horizontal"},Pe=e=>{let{alignment:t=Ls.alignment,orientation:o=Ls.orientation,...a}=e;return qm("div",{...a,className:s(nn,{[`${nn}-${t}`]:t,[`${nn}-${o}`]:o},e.className),children:e.children})};Pe.states=$m;Pe.options=Xm;Pe.className=nn;Pe.defaultOptions=Ls;Pe.moduleName=gs;Pe.folderName=Ri;var _i=Pe;import{jsx as Jm}from"react/jsx-runtime";var Wm="k-actionsheet-footer",wi={alignment:"stretched",orientation:"horizontal"},Tt=e=>{let{alignment:t=wi.alignment,orientation:o=wi.orientation,template:a,as:n=a?"div":Pe,...i}=e;return Jm(n,{...i,...!a&&{alignment:t,orientation:o},className:s(e.className,Wm),children:e.children})};var Ms="searchbox",Di=Ms;import{jsx as Sa,jsxs as Qm}from"react/jsx-runtime";var Hi="k-searchbox",Ym=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Zm={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]},sn={showIcon:!0,showClearButton:!0,icon:"search"},Ve=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:m,valid:u,invalid:b,required:x,loading:g,disabled:c,showIcon:L=sn.showIcon,showClearButton:M=sn.showClearButton,icon:S=sn.icon,"aria-label":A,...k}=e;return Qm(J,{...k,size:a,rounded:n,fillMode:i,hover:l,focus:m,valid:u,invalid:b,required:x,loading:g,disabled:c,className:s(e.className,Hi),children:[L&&Sa(v,{className:"k-input-icon",icon:S}),Sa(fe,{placeholder:o,value:t,"aria-label":A}),Sa(Ee,{...e}),Sa(be,{...e}),M&&Sa(Be,{...e})]})};Ve.states=Ym;Ve.options=Zm;Ve.className=Hi;Ve.defaultOptions=sn;Ve.moduleName=Ms;Ve.folderName=Di;import{jsx as MS}from"react/jsx-runtime";var Ss="textbox",zi=Ss;import{Fragment as Ui,jsx as Ot,jsxs as ks}from"react/jsx-runtime";var Fi="k-textbox",jm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],ec={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]},rn={showClearButton:!0,showValidationIcon:!0,separators:!0},de=e=>{let{size:t,rounded:o,fillMode:a,separators:n=rn.separators,showClearButton:i=rn.showClearButton,showValidationIcon:l=rn.showValidationIcon,prefix:m,suffix:u,type:b,value:x,placeholder:g,hover:c,focus:L,valid:M,invalid:S,required:A,loading:k,disabled:y,readonly:w,id:se,"aria-label":Ae,"aria-describedby":pe,...ue}=e;return ks(J,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:L,valid:M,invalid:S,required:A,loading:k,disabled:y,readonly:w,className:s(e.className,Fi),children:[m&&ks(Ui,{children:[Ot(Ue,{children:m}),n&&Ot(Ge,{})]}),Ot(fe,{id:se,placeholder:g,value:x,type:b,disabled:y,"aria-label":Ae,"aria-describedby":pe,"aria-invalid":S?"true":void 0}),l&&Ot(be,{valid:M,invalid:S,loading:k,disabled:y}),Ot(Ee,{loading:k,disabled:y}),i&&Ot(Be,{loading:k,disabled:y,readonly:w,value:x}),u&&ks(Ui,{children:[n&&Ot(Ge,{}),Ot(Fe,{children:u})]})]})};de.states=jm;de.options=ec;de.className=Fi;de.defaultOptions=rn;de.moduleName=Ss;de.folderName=zi;var ka=de;import{jsx as tc}from"react/jsx-runtime";var ln=e=>tc(ka,{...e});import{Fragment as zS,jsx as HS}from"react/jsx-runtime";import{Fragment as XS,jsx as $S}from"react/jsx-runtime";import{jsx as YS}from"react/jsx-runtime";import{jsx as Cs}from"react/jsx-runtime";var oc=de.states,ac=de.defaultOptions,nc=de.options,sc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],rc=[],No=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Cs(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?Cs(at,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),Cs(ln,{value:"Value",style:{width:300},...o,...a})};No.options=nc;No.states=oc;No.variants=rc;No.defaultOptions=ac;No.modifiers=sc;No.className=de.className;import{jsx as Bt,jsxs as As}from"react/jsx-runtime";var Gi="k-actionsheet-titlebar",ic={},xe=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:m,inputPlaceholder:u,adaptive:b,titleId:x,children:g,...c}=e;return As("div",{...c,className:s(e.className,Gi),children:[As("div",{className:"k-actionsheet-titlebar-group",children:[a&&Bt("div",{className:"k-actionsheet-actions",children:a}),!g&&As("div",{className:"k-actionsheet-title",id:x,children:[t&&Bt("div",{className:"k-text-center",children:t}),o&&Bt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&Bt("div",{className:"k-actionsheet-title",id:x,children:g}),n&&Bt("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&Bt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Bt(de,{value:m,placeholder:u,size:b?"large":"medium","aria-label":t||u||"Input"}):Bt(Ve,{placeholder:"Filter",size:b?"large":"medium","aria-label":"Filter options"})})]})};xe.className=Gi;xe.defaultOptions=ic;import{jsx as Es,jsxs as mc}from"react/jsx-runtime";var ys="k-actionsheet-view",lc=[],pc={},dc={},ho=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...m}=e,u=n?.type===xe&&Es(xe,{adaptive:t,titleId:l,...n?.props}),b=i?.type===Tt&&Es(Tt,{...i?.props});return mc("div",{...m,className:s(e.className,ys,{[`${ys}-animated`]:o}),children:[u,Es("div",{className:"k-actionsheet-content",children:a}),b]})};ho.states=lc;ho.options=pc;ho.className=ys;ho.defaultOptions=dc;var Ca="action-sheet",pn=Ca;var Is="overlay",Vi=Is;import{jsx as bc}from"react/jsx-runtime";var $i="k-overlay",cc=[],uc={},fc={},mt=e=>{let{...t}=e;return bc("div",{...t,className:s(e.className,$i),children:e.children})};mt.states=cc;mt.options=uc;mt.className=$i;mt.defaultOptions=fc;mt.moduleName=Is;mt.folderName=Vi;import{jsx as dn,jsxs as hc}from"react/jsx-runtime";var Xi="k-actionsheet",xc=[],Nc={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Y=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:n=Aa.overlay,template:i,children:l,header:m,footer:u,id:b,...x}=e,g=b&&!i&&m?`${b}-title`:void 0;return hc("div",{className:"k-actionsheet-container",children:[n&&dn(mt,{}),dn(dt,{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:dn("div",{...x,id:b,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":g,className:s(e.className,Xi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||dn(ho,{header:m,footer:u,adaptive:a,titleId:g,...e,children:l})})})]})};Y.states=xc;Y.options=Nc;Y.className=Xi;Y.defaultOptions=Aa;Y.moduleName=Ca;Y.folderName=pn;import{jsx as Mc}from"react/jsx-runtime";var qi="k-actionsheet-container",vc=[],gc={},Lc={},vo=e=>{let{children:t,...o}=e;return Mc("div",{...o,className:qi,children:t})};vo.states=vc;vo.options=gc;vo.className=qi;vo.defaultOptions=Lc;vo.moduleName=Ca;vo.folderName=pn;import{jsx as Sc}from"react/jsx-runtime";var Ts=e=>{let{...t}=e;return Sc("div",{...t,className:s(e.className,"k-list-ul"),children:e.children})};import{Fragment as Cc,jsx as Ea,jsxs as Os}from"react/jsx-runtime";var Bs="k-actionsheet-item",kc=[r.hover,r.focus,r.selected,r.disabled],Pt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:m,...u}=e;return Os("span",{...u,className:s(e.className,Bs,C(Bs,{hover:n,focus:i,selected:l,disabled:m})),children:[!e.children&&Ea(Cc,{children:Os("span",{className:"k-actionsheet-action",children:[t&&Ea("span",{className:"k-icon-wrap",children:Ea(v,{className:"k-actionsheet-item-icon",icon:t})}),Os("span",{className:"k-actionsheet-item-text",children:[o&&Ea("span",{className:"k-actionsheet-item-title",children:o}),a&&Ea("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Pt.states=kc;Pt.className=Bs;import{jsx as Jk,jsxs as Yk}from"react/jsx-runtime";import{jsx as eC}from"react/jsx-runtime";import{jsx as nC}from"react/jsx-runtime";import{jsx as lC}from"react/jsx-runtime";import{jsx as re,jsxs as Ps}from"react/jsx-runtime";var Ac=Y.options,Ec=Y.states,Ji={...Y.defaultOptions,variant:"normal"},yc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Ic=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],go=e=>{let{variant:t,modifiers:o,...a}={...Ji,...e},n={},i=Ps(Ts,{children:[re(Pt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),re(Pt,{text:"Add to Favorites",iconName:"heart"}),re(Pt,{text:"Upload New",iconName:"upload",disabled:!0}),re("hr",{className:"k-hr"}),re(Pt,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!o?.[u],n.actionsEnd=!!o?.[u];break;case"subtitle":n.subtitle=o?.[u]?l:void 0;break;case"footer":n.footer=!!o?.[u];break;default:break}}),t==="adaptive"?re(Y,{...a,adaptive:!0,fullscreen:n.fullScreen,header:re(xe,{actionsStart:n.actionsStart?re(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?re(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Ps(Tt,{alignment:"stretched",children:[re(p,{text:"Cancel",size:"large",themeColor:"base"}),re(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):re(Y,{...a,fullscreen:n.fullScreen,header:re(xe,{actionsStart:n.actionsStart?re(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?re(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Ps(Tt,{alignment:"stretched",children:[re(p,{text:"Apply",themeColor:"primary"}),re(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};go.options=Ac;go.states=Ec;go.variants=yc;go.defaultOptions=Ji;go.modifiers=Ic;go.className=Y.className;var Ks="slider",Yi=Ks;import{jsx as Lo,jsxs as Rs}from"react/jsx-runtime";var ya="k-slider",Tc=[r.hover,r.focus,r.active,r.disabled,r.readonly],Oc={},$e={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},G=e=>{let{type:t=$e.type,orientation:o=$e.orientation,gradientType:a=$e.gradientType,readonly:n=$e.readonly,disabled:i=$e.disabled,handlePosition:l=$e.handlePosition,showButtons:m=$e.showButtons,showTicks:u=$e.showTicks,value:b=$e.value,min:x=$e.min,max:g=$e.max,startValue:c,endValue:L,hover:M,focus:S,active:A,trackStyle:k,dir:y,...w}=e,Ae=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),pe,ue;return o==="horizontal"?(pe=y==="rtl"?"chevron-left":"chevron-right",ue=y==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(pe="chevron-up",ue="chevron-down"),Rs("div",{...w,className:s(ya,e.className,C(ya,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:y,children:[m&&Lo(p,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Rs("div",{className:"k-slider-track-wrap",children:[u&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Rs("div",{className:"k-slider-track",style:k,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:s("k-draghandle","k-draghandle-start",C(ya,{hover:M,focus:S,active:A})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":c??x,"aria-valuemin":x,"aria-valuemax":L??g,"aria-orientation":Ae,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),Lo("span",{className:s("k-draghandle",`k-draghandle-${l}`,C(ya,{hover:M,focus:S,active:A})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??g:b,"aria-valuemin":t==="range"?c??x:x,"aria-valuemax":g,"aria-orientation":Ae,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?w["aria-label"]?`${w["aria-label"]} end`:"Range end":w["aria-label"]})]})]}),m&&Lo(p,{className:"k-button-increase",rounded:"full",icon:pe,tabIndex:-1,title:"Increase"})]})};G.states=Tc;G.options=Oc;G.className=ya;G.defaultOptions=$e;G.moduleName=Ks;G.folderName=Yi;import{jsx as Zi}from"react/jsx-runtime";var Qi="k-tick",Bc=[],Pc={},ji={label:!1},I=e=>{let{style:t,label:o=ji.label,orientation:a,large:n,text:i,...l}=e;return Zi("li",{...l,role:"presentation",title:i||"Tick",className:s(e.className,Qi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Zi("span",{className:"k-label",children:i})})};I.states=Bc;I.options=Pc;I.className=Qi;I.defaultOptions=ji;import{Fragment as Kc,jsx as Xe,jsxs as Rc}from"react/jsx-runtime";var el=e=>Xe(G,{"aria-label":e["aria-label"]||"Slider",children:Rc(Kc,{children:[Xe(I,{className:"k-first",label:!0,large:!0,text:"0"}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{label:!0,large:!0,text:"5"}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{}),Xe(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as _c,jsx as qe,jsxs as wc}from"react/jsx-runtime";var tl=e=>qe(G,{children:wc(_c,{children:[qe(I,{className:"k-first",label:!0,large:!0,text:"0"}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{label:!0,large:!0,text:"5"}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{}),qe(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as YC,jsx as JC,jsxs as ZC}from"react/jsx-runtime";import{Fragment as oA,jsx as tA,jsxs as aA}from"react/jsx-runtime";import{jsx as Dc}from"react/jsx-runtime";var _s=e=>Dc(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Hc}from"react/jsx-runtime";var ws=e=>Hc(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as fA,jsx as uA,jsxs as bA}from"react/jsx-runtime";import{Fragment as gA,jsx as vA,jsxs as LA}from"react/jsx-runtime";import{jsx as ct,jsxs as ol}from"react/jsx-runtime";var zc=G.options,Uc=G.states,al={...G.defaultOptions,variant:"horizontal",label:!0},Fc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Gc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=al.label,i={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{i.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{i.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ol(tl,{style:{height:"300px",...l},...a,...i,children:[ct(I,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),ct(I,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ol(el,{style:{width:"400px",...l},...a,...i,children:[ct(I,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),ct(I,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=zc;Mo.states=Uc;Mo.variants=Fc;Mo.defaultOptions=al;Mo.modifiers=Gc;Mo.className=G.className;import{jsx as nl,jsxs as Wc}from"react/jsx-runtime";var sl="k-spin-button",Xc=[],qc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.flat,N.outline,N.clear,N.link]},Ds={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Kt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Ds.increaseLabel,decreaseLabel:i=Ds.decreaseLabel,...l}=e;return Wc("span",{...l,className:s(sl,e.className),children:[nl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),nl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};Kt.states=Xc;Kt.options=qc;Kt.className=sl;Kt.defaultOptions=Ds;Kt.moduleName=null;Kt.folderName=null;var rl="numeric-textbox",il="numerictextbox";import{Fragment as ll,jsx as Lt,jsxs as Hs}from"react/jsx-runtime";var pl="k-numerictextbox",Jc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Yc={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]},mn={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=mn.separators,showClearButton:i=mn.showClearButton,showSpinButton:l=mn.showSpinButton,prefix:m,suffix:u,value:b,placeholder:x,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,id:w,"aria-label":se,"aria-describedby":Ae,...pe}=e;return Hs(J,{...pe,size:t,rounded:o,fillMode:a,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,className:s(e.className,pl),children:[m&&Hs(ll,{children:[Lt(Ue,{children:m}),n&&Lt(Ge,{})]}),Lt(fe,{id:w,placeholder:x,value:b,role:"spinbutton",disabled:k,"aria-label":se,"aria-describedby":Ae,"aria-invalid":M?"true":void 0}),Lt(be,{valid:L,invalid:M,loading:A,disabled:k}),Lt(Ee,{loading:A,disabled:k}),i&&Lt(Be,{loading:A,disabled:k,readonly:y,value:b}),u&&Hs(ll,{children:[n&&Lt(Ge,{}),Lt(Fe,{children:u})]}),l&&Lt(Kt,{className:"k-input-spinner",size:t,fillMode:a,disabled:k})]})};D.states=Jc;D.options=Yc;D.className=pl;D.defaultOptions=mn;D.moduleName=rl;D.folderName=il;var Ia=D;import{jsx as Zc}from"react/jsx-runtime";var dl=e=>Zc(Ia,{...e});import Us from"react";import{jsx as ml}from"react/jsx-runtime";var Qc="k-list-group-sticky-header",zs=e=>ml("div",{className:s(Qc,e.className),children:ml("div",{className:"k-list-header-text",children:e.children})});import{jsx as eu}from"react/jsx-runtime";var jc="k-no-data",cn=e=>{let{live:t,...o}=e;return eu("span",{...o,className:s(jc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Jt="list",So=Jt;import{jsx as cl,jsxs as ul}from"react/jsx-runtime";var Fs="k-list",tu=[],ou={size:[d.undefined,d.small,d.medium,d.large]},au={},R=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:i,optionLabel:l,customValue:m,noData:u,screenReaders:b,...x}=e,c=Us.Children.toArray(a)[0],L=c?.props?.children?Us.Children.count(c.props.children):Us.Children.count(a);return ul("div",{...x,className:s(e.className,Fs,E(Fs,{size:t}),{"k-virtual-list":o}),children:[l,i,m,n&&cl(zs,{children:n}),a||(u!==void 0?u:cl(cn,{live:!0,children:"No data found."})),b&&a&&ul(cn,{className:"k-sr-only",live:!0,children:[L," items found."]})]})};R.states=tu;R.options=ou;R.className=Fs;R.defaultOptions=au;R.moduleName=Jt;R.folderName=So;import{jsx as iu}from"react/jsx-runtime";var fl="k-list-container",nu=[],su={},ru={},ko=e=>{let{...t}=e;return iu("div",{...t,className:s(e.className,fl),children:e.children})};ko.states=nu;ko.options=su;ko.className=fl;ko.defaultOptions=ru;ko.moduleName=Jt;ko.folderName=So;var Yt="checkbox",Co=Yt;import{jsx as bl}from"react/jsx-runtime";var un="k-checkbox",lu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],pu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},du={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:m,valid:u,required:b,size:x,rounded:g,wrapperRole:c,...L}=e;return bl("span",{className:"k-checkbox-wrap",role:c,children:bl("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:b,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:s(e.className,un,E(un,{size:x,rounded:g}),C(un,{hover:n,focus:i,disabled:l,invalid:m,valid:u,indeterminate:a,checked:o}))})})};Ke.states=lu;Ke.options=pu;Ke.className=un;Ke.defaultOptions=du;Ke.moduleName=Yt;Ke.folderName=Co;var nt=Ke;import{jsx as uu}from"react/jsx-runtime";var xl="k-checkbox-list",mu=[],cu={},Nl={layout:"vertical"},Ne=e=>{let{layout:t=Nl.layout,...o}=e;return uu("ul",{...o,className:s(e.className,xl,{[`k-list-${t}`]:t}),children:e.children})};Ne.states=mu;Ne.options=cu;Ne.className=xl;Ne.defaultOptions=Nl;Ne.moduleName=Yt;Ne.folderName=Co;import{jsx as Nu}from"react/jsx-runtime";var hl="k-checkbox-list-item",fu=[],bu={},xu={},he=e=>{let{...t}=e;return Nu("li",{...t,className:s(e.className,hl),children:e.children})};he.states=fu;he.options=bu;he.className=hl;he.defaultOptions=xu;he.moduleName=Yt;he.folderName=Co;import{Fragment as hu,jsx as vl,jsxs as vu}from"react/jsx-runtime";var Mt=({children:e="Label",id:t="cb-label-after",...o})=>vu(hu,{children:[vl(nt,{id:t,...o}),vl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as $E,jsx as VE,jsxs as XE}from"react/jsx-runtime";import{Fragment as ZE,jsx as YE,jsxs as QE}from"react/jsx-runtime";import{Fragment as ay,jsx as oy,jsxs as ny}from"react/jsx-runtime";import{jsx as ly}from"react/jsx-runtime";import{jsx as cy}from"react/jsx-runtime";import{jsx as xy}from"react/jsx-runtime";import{jsx as We,jsxs as gl}from"react/jsx-runtime";var gu=Ne.options,Lu=Ne.states,Mu={...Ne.defaultOptions,variant:"vertical"},Su=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ku=[],Ao=e=>{let{variant:t,...o}=e;return t==="horizontal"?gl(Ne,{layout:"horizontal",...o,children:[We(he,{children:We(Mt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})})]}):gl(Ne,{...o,children:[We(he,{children:We(Mt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})}),We(he,{children:We(Mt,{id:B("cb"),children:"Label"})})]})};Ao.options=gu;Ao.states=Lu;Ao.variants=Su;Ao.defaultOptions=Mu;Ao.modifiers=ku;Ao.className=Ne.className;import{jsx as Tu}from"react/jsx-runtime";var Cu=nt.options,Au=nt.states,Eu=nt.defaultOptions,yu=[],Iu=[],Eo=e=>Tu(Mt,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Eo.options=Cu;Eo.states=Au;Eo.variants=yu;Eo.defaultOptions=Eu;Eo.modifiers=Iu;Eo.className=nt.className;import{jsx as yo,jsxs as Ku}from"react/jsx-runtime";var Gs="k-list-item",Ou=[r.hover,r.focus,r.selected,r.disabled],Bu={},Pu={},O=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:i,hover:l,focus:m,selected:u,disabled:b,actions:x,description:g,id:c,...L}=e,M=t||e.children,S=t||(typeof M=="string"?M:void 0);return Ku("li",{...L,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":u?"true":"false","aria-disabled":b?"true":void 0,className:s(e.className,Gs,C(Gs,{hover:l,focus:m,disabled:b,selected:u})),children:[n&&yo(Ke,{checked:i,disabled:b,"aria-label":S,tabIndex:-1}),o&&yo("span",{className:"k-list-item-icon-wrapper",children:yo(v,{icon:o,className:s("k-list-item-icon",a)})}),yo("span",{className:"k-list-item-text",children:M}),x&&yo("div",{className:"k-list-item-actions",children:x}),g&&yo("span",{className:"k-list-item-description",children:g})]})};O.states=Ou;O.options=Bu;O.className=Gs;O.defaultOptions=Pu;O.moduleName=Jt;O.folderName=So;import{jsx as _u}from"react/jsx-runtime";var Ru="k-list-ul",Rt=e=>{let{children:t,role:o,id:a,...n}=e;return _u("ul",{...n,id:a,role:o,className:s(Ru,e.className),children:t})};import{jsx as Vs,jsxs as Du}from"react/jsx-runtime";var wu="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return Du("div",{...l,className:s(wu,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:Vs(Rt,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Vs("div",{className:"k-height-container",children:Vs("div",{})})]})};import{jsx as $s,jsxs as Fu}from"react/jsx-runtime";var fn="k-list-sticky-header",Hu=[r.hover,r.focus,r.selected],zu={},Uu={},bn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:i,focus:l,selected:m,...u}=e;return $s("div",{...u,className:s(fn,e.className),children:Fu("div",{className:s(`${fn}-item`,C(`${fn}-item`,{hover:i,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&$s(Ke,{checked:a,indeterminate:n,"aria-label":t}),$s("span",{className:"k-list-item-text",children:t})]})})};bn.states=Hu;bn.options=zu;bn.className=fn;bn.defaultOptions=Uu;import{Fragment as dI,jsx as pI,jsxs as mI}from"react/jsx-runtime";import{jsx as xI,jsxs as NI}from"react/jsx-runtime";import{jsx as Xu}from"react/jsx-runtime";var Xs="k-list-optionlabel",Gu=[r.hover,r.focus,r.selected,r.disabled],Vu={},$u={},xn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return Xu("div",{...l,className:s(Xs,C(Xs,{hover:o,focus:a,selected:n,disabled:i})),children:t})};xn.states=Gu;xn.options=Vu;xn.className=Xs;xn.defaultOptions=$u;import{jsx as Yu}from"react/jsx-runtime";var qs="k-list-custom-value",qu=[r.hover,r.focus,r.selected,r.disabled],Wu={},Ju={},_t=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return Yu("div",{...l,className:s(qs,C(qs,{hover:o,focus:a,selected:n,disabled:i})),children:t})};_t.states=qu;_t.options=Wu;_t.className=qs;_t.defaultOptions=Ju;import{Fragment as II,jsx as yI,jsxs as TI}from"react/jsx-runtime";import{Fragment as _I,jsx as RI,jsxs as wI}from"react/jsx-runtime";import{Fragment as VI,jsx as FI,jsxs as GI}from"react/jsx-runtime";import{Fragment as ZI,jsx as JI,jsxs as YI}from"react/jsx-runtime";import{jsx as tT}from"react/jsx-runtime";import{Fragment as iT,jsx as rT,jsxs as lT}from"react/jsx-runtime";import{Fragment as fT,jsx as uT,jsxs as bT}from"react/jsx-runtime";var Ll="dropdown-list",Ml="dropdownlist";import{Fragment as ju,jsx as ve,jsxs as Ws}from"react/jsx-runtime";var Sl="k-dropdownlist",Zu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],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]},Js={showValue:!0,arrowIconName:"chevron-down"},ne=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Js.arrowIconName,showValue:i=Js.showValue,valueIconName:l,prefix:m,suffix:u,value:b,placeholder:x,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,popup:w,opened:se,adaptive:Ae,adaptiveSettings:pe,adaptiveTitle:ue,adaptiveSubtitle:ua,adaptiveFilter:Xt,id:qt,activeDescendant:fa,"aria-label":Yn,...Zn}=e,Qn=qt?`${qt}-listbox`:void 0,si=qt?`${qt}-value`:void 0;return Ws(ju,{children:[Ws(lt,{...Zn,id:qt,size:t,rounded:o,fillMode:a,hover:g,focus:c,valid:L,invalid:M,required:S,loading:A,disabled:k,readonly:y,className:s(e.className,Sl,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":se?"true":"false","aria-controls":se?Qn:void 0,"aria-activedescendant":se&&fa?fa:void 0,"aria-describedby":se?si:void 0,"aria-disabled":k?"true":void 0,"aria-label":Yn,tabIndex:0,children:[ve(Ue,{children:m}),ve(Wt,{placeholder:x,value:b,showValue:i,valueIconName:l,id:si}),ve(be,{valid:L,invalid:M,loading:A,disabled:k}),ve(Ee,{loading:A,disabled:k}),ve(Fe,{children:u}),ve(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":x||"Toggle dropdown",tabIndex:-1})]}),se&&w&&ve(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),Ae&&ve(Y,{adaptive:!0,...pe,header:ve(xe,{actionsEnd:ve(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Xt,inputValue:b,inputPlaceholder:x,title:ue,subtitle:ua}),children:ve("div",{className:"k-list-container",children:ve(R,{size:"large",children:Ws(z,{"aria-label":"Options",children:[ve(O,{text:"List item"}),ve(O,{text:"List item"}),ve(O,{text:"List item"})]})})})})]})};ne.states=Zu;ne.options=Qu;ne.className=Sl;ne.defaultOptions=Js;ne.moduleName=Ll;ne.folderName=Ml;import{jsx as YT}from"react/jsx-runtime";import{jsx as oO,jsxs as aO}from"react/jsx-runtime";import{Fragment as cO,jsx as dO,jsxs as mO}from"react/jsx-runtime";import{jsx as NO}from"react/jsx-runtime";import{jsx as SO,jsxs as kO}from"react/jsx-runtime";import{Fragment as PO,jsx as OO,jsxs as BO}from"react/jsx-runtime";import{jsx as DO}from"react/jsx-runtime";import{Fragment as sf,jsx as wt,jsxs as kl}from"react/jsx-runtime";var ef=ne.states,tf=ne.defaultOptions,of=ne.options,af=[{name:"opened",title:"Opened"}],nf=[],To=e=>{let{modifiers:t,...o}=e,a={},n=kl(sf,{children:[wt("div",{className:"k-list-filter",children:wt(Ve,{})}),wt(R,{style:{width:300},size:o.size,children:kl(z,{children:[wt(O,{children:"List item"}),wt(O,{children:"List item"}),wt(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0)}),wt("div",{children:wt(ne,{placeholder:"Value",style:{width:300},...o,...a})})};To.options=of;To.states=ef;To.variants=nf;To.defaultOptions=tf;To.modifiers=af;To.className=ne.className;import{Fragment as rB,jsx as sB}from"react/jsx-runtime";import{Fragment as cB,jsx as mB}from"react/jsx-runtime";import{jsx as xB}from"react/jsx-runtime";import{jsx as Ys}from"react/jsx-runtime";var rf=D.states,lf=D.defaultOptions,pf=D.options,df=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],mf=[],Oo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?Ys(ne,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?Ys(bs,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),Ys(dl,{value:"Value",style:{width:300},...o,...a})};Oo.options=pf;Oo.states=rf;Oo.variants=mf;Oo.defaultOptions=lf;Oo.modifiers=df;Oo.className=D.className;import{Fragment as Oa,jsx as P,jsxs as Z}from"react/jsx-runtime";var Cl="k-colorgradient-inputs",cf=[],uf={size:[d.undefined,d.small,d.medium,d.large]},Al={mode:"rgba"},Bo=e=>{let{mode:t=Al.mode,size:o,...a}=e;return Z("div",{...a,className:s(Cl,"k-hstack"),children:[P("div",{className:"k-vstack",children:P(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),P("label",{className:"k-colorgradient-input-label",children:"R"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),P("label",{className:"k-colorgradient-input-label",children:"G"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),P("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),P("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Z(Oa,{children:[Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),P("label",{className:"k-colorgradient-input-label",children:"H"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),P("label",{className:"k-colorgradient-input-label",children:"S"})]}),Z("div",{className:"k-vstack",children:[P(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),P("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&P(Oa,{children:Z("div",{className:"k-vstack k-flex-1",children:[P(de,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),P("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Bo.states=cf;Bo.options=uf;Bo.className=Cl;Bo.defaultOptions=Al;import{jsx as Zt,jsxs as Qt}from"react/jsx-runtime";var El="k-colorgradient-color-contrast",ff=[],bf={},xf={},Po=()=>Qt("div",{className:s(El,"k-vbox"),children:[Qt("div",{className:"k-contrast-ratio",children:[Zt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Qt("span",{className:"k-contrast-validation !k-text-success",children:[Zt(v,{icon:"check"}),Zt(v,{icon:"check"})]})]}),Qt("div",{children:[Zt("span",{children:"AA: 4.5"}),Qt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Zt(v,{icon:"check"})]})]}),Qt("div",{children:[Zt("span",{children:"AAA: 7.0"}),Qt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Zt(v,{icon:"x"})]})]})]});Po.states=ff;Po.options=bf;Po.className=El;Po.defaultOptions=xf;var yl="color-gradient",Il="colorgradient";import{jsx as Je,jsxs as Ba}from"react/jsx-runtime";var Nn="k-colorgradient",Nf=[r.hover,r.focus,r.readonly,r.disabled],hf={size:[d.undefined,d.small,d.medium,d.large]},ut={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"},ie=e=>{let{size:t,mode:o=ut.mode,readonly:a=ut.readonly,disabled:n=ut.disabled,gradientStyle:i=ut.gradientStyle,dragHandleStyle:l=ut.dragHandleStyle,alphaStyle:m=ut.alphaStyle,alphaStyleHorizontal:u=ut.alphaStyleHorizontal,contrast:b=ut.contrast,dir:x,hover:g,focus:c,hoverHandle:L,focusHandle:M,canvasOrientation:S=ut.canvasOrientation,role:A,tabIndex:k,...y}=e;return Ba("div",{...y,role:A??"textbox","aria-label":A==="none"?void 0:"Color gradient",tabIndex:k??0,"aria-disabled":n?"true":void 0,className:s(e.className,Nn,E(Nn,{size:t}),C(Nn,{hover:g,focus:c,readonly:a,disabled:n})),dir:x,children:[!S||S==="horizontal"&&Ba("div",{className:"k-colorgradient-canvas k-hstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className: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})})}),Ba("div",{className:"k-hsv-controls k-hstack",children:[Je(ws,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&Je(ws,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:m})]})]}),S==="vertical"&&Ba("div",{className:"k-colorgradient-canvas k-vstack",children:[Je("div",{className:"k-hsv-rectangle",style:i,children:Je("div",{className:"k-hsv-gradient",children:Je("div",{className: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})})}),Ba("div",{className:"k-hsv-controls k-vstack",children:[Je(_s,{className:"k-hue-slider",hover:L,focus:M}),o!=="rgb"&&o!=="hsv"&&Je(_s,{className:"k-alpha-slider",hover:L,focus:M,trackStyle:u})]})]}),Je(Bo,{mode:e.mode,size:t}),b&&Je(Po,{})]})};ie.states=Nf;ie.options=hf;ie.className=Nn;ie.defaultOptions=ut;ie.moduleName=yl;ie.folderName=Il;import{jsx as vf}from"react/jsx-runtime";var hn=e=>vf(ie,{...e});import{jsx as tP}from"react/jsx-runtime";import{jsx as sP}from"react/jsx-runtime";import{jsx as Zs}from"react/jsx-runtime";var gf=ie.options,Lf=ie.states,Mf={...ie.defaultOptions,variant:"rgba"},Sf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],kf=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Zs(hn,{...o,mode:t});case"rgb":return Zs(hn,{...o,mode:t});default:return Zs(hn,{...o,mode:t})}};Ko.options=gf;Ko.states=Lf;Ko.variants=Sf;Ko.defaultOptions=Mf;Ko.modifiers=kf;Ko.className=ie.className;import{jsx as Cf}from"react/jsx-runtime";var Qs=e=>Cf("tr",{role:"row",children:e.children});import{jsx as yf}from"react/jsx-runtime";var js="k-colorpalette-tile",Af=[r.hover,r.focus,r.selected],Ef={},Dt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return yf("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:s(e.className,js,C(js,{hover:a,focus:n,selected:i})),style:m})};Dt.states=Af;Dt.options=Ef;Dt.className=js;Dt.moduleName=null;Dt.folderName=null;var Tl="color-palette",Ol="colorpalette";import{jsx as Pa}from"react/jsx-runtime";var vn="k-colorpalette",If=[r.disabled],Tf={size:[d.undefined,d.small,d.medium,d.large]},Bl={columns:10},ye=e=>{let{size:t,palette:o,columns:a=Bl.columns,tileSize:n,disabled:i,...l}=e,m=[];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 c=[];b.slice(g*u,(g+1)*u).map((M,S)=>{c.push(Pa(Dt,{color:M,tileSize:n},S))});let L=Pa(Qs,{children:c},g);m.push(L)})}return Pa("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:s(e.className,vn,C(vn,{disabled:i}),E(vn,{size:t})),children:Pa("table",{className:"k-colorpalette-table",role:"none",children:Pa("tbody",{children:m.length>0?m:e.children})})})};ye.states=If;ye.options=Tf;ye.className=vn;ye.defaultOptions=Bl;ye.moduleName=Tl;ye.folderName=Ol;var gn=ye;var Ka={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as Of}from"react/jsx-runtime";var Pl=e=>Of(gn,{palette:Ka.basic,...e});import{jsx as zP}from"react/jsx-runtime";import{jsx as XP,jsxs as qP}from"react/jsx-runtime";import{jsx as Df}from"react/jsx-runtime";var Bf=ye.options,Pf=ye.states,Kf={...ye.defaultOptions,variant:"basic"},Rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],_f={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}},wf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=_f[t];return Df(Pl,{columns:a.columns,palette:a,...o})};Ro.options=Bf;Ro.states=Pf;Ro.variants=Rf;Ro.defaultOptions=Kf;Ro.modifiers=wf;Ro.className=ye.className;var Kl="color-editor",Rl="coloreditor";import{jsx as Ye,jsxs as _o}from"react/jsx-runtime";var Ln="k-coloreditor",Hf=[r.focus],zf={size:[d.undefined,d.small,d.medium,d.large]},Ra={view:"gradient",palette:Ka.office,actionButtons:!0,canvasOrientation:"horizontal"},Q=e=>{let{size:t,view:o=Ra.view,palette:a=Ra.palette,color:n,currentColor:i,focus:l,focusView:m,dir:u,group:b,actionButtons:x=Ra.actionButtons,canvasOrientation:g=Ra.canvasOrientation,...c}=e;return _o("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:s(e.className,"k-flatcolorpicker",Ln,E(Ln,{size:t}),C(Ln,{focus:l})),dir:u,children:[_o("div",{className:"k-coloreditor-header k-hstack",children:[Ye("div",{className:"k-coloreditor-header-actions k-hstack",children:b&&_o(T,{fillMode:"flat",children:[Ye(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Ye(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Ye("div",{className:"k-spacer"}),_o("div",{className:"k-coloreditor-header-actions k-hstack",children:[Ye(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),_o("div",{className:"k-coloreditor-preview k-vstack",children:[Ye(It,{className:"k-coloreditor-preview-color",color:n}),Ye(It,{className:"k-coloreditor-current-color",color:i})]})]})]}),Ye("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Ye(ie,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):Ye(ye,{palette:a,size:t})}),x&&_o(Pe,{className:"k-coloreditor-footer",alignment:"start",children:[Ye(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Ye(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Q.states=Hf;Q.options=zf;Q.className=Ln;Q.defaultOptions=Ra;Q.moduleName=Kl;Q.folderName=Rl;var wo=Q;import{jsx as MK}from"react/jsx-runtime";import{jsx as AK}from"react/jsx-runtime";import{jsx as Uf}from"react/jsx-runtime";var _l=e=>Uf(wo,{group:!0,currentColor:"fuchsia",...e});import{jsx as Ff}from"react/jsx-runtime";var wl=e=>Ff(wo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Dl}from"react/jsx-runtime";var Gf=Q.options,Vf=Q.states,$f={...Q.defaultOptions,variant:"gradient"},Xf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],qf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?Dl(wl,{...o,color:"white"}):Dl(_l,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=Gf;Do.states=Vf;Do.variants=Xf;Do.defaultOptions=$f;Do.modifiers=qf;Do.className=Q.className;var Hl="color-picker",zl="colorpicker";import{Fragment as Yf,jsx as Ze,jsxs as er}from"react/jsx-runtime";var Ul="k-colorpicker",Wf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Jf={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]},Fl={arrowIconName:"chevron-down"},Qe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Fl.arrowIconName,prefix:i,suffix:l,value:m,placeholder:u,hover:b,focus:x,valid:g,invalid:c,required:L,disabled:M,valueIconName:S,popup:A,opened:k,adaptive:y,adaptiveSettings:w,adaptiveTitle:se,adaptiveSubtitle:Ae,...pe}=e,ue="colorpicker-popup";return er(Yf,{children:[er(lt,{...pe,size:t,rounded:o,fillMode:a,hover:b,focus:x,valid:g,invalid:c,required:L,disabled:M,role:"combobox","aria-haspopup":"dialog","aria-expanded":k?"true":"false","aria-controls":k||y?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":M?"true":void 0,className:s(e.className,Ul,"k-icon-picker"),children:[Ze(Ue,{children:i}),Ze(Wt,{placeholder:u,value:m,showValue:!1,valueIcon:Ze(It,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),Ze(Fe,{children:l}),Ze(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:M})]}),k&&A&&Ze(X,{id:ue,className:"k-colorpicker-popup",children:A}),y&&Ze(Y,{adaptive:!0,id:ue,...w,header:Ze(xe,{actionsEnd:Ze(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:se,subtitle:Ae}),footer:er(Tt,{children:[Ze(p,{text:"Cancel",size:"large"}),Ze(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ze(Q,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Qe.states=Wf;Qe.options=Jf;Qe.className=Ul;Qe.defaultOptions=Fl;Qe.moduleName=Hl;Qe.folderName=zl;var St=Qe;import{jsx as Zf}from"react/jsx-runtime";var Mn=e=>Zf(St,{...e});import{jsx as pR}from"react/jsx-runtime";import{jsx as fR}from"react/jsx-runtime";import{jsx as hR}from"react/jsx-runtime";import{jsx as MR}from"react/jsx-runtime";import{jsx as AR}from"react/jsx-runtime";import{jsx as TR}from"react/jsx-runtime";import{jsx as jt}from"react/jsx-runtime";var Qf=St.options,jf=St.states,Gl={...St.defaultOptions,variant:"color"},eb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],tb=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...Gl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?jt(Q,{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 jt("div",{style:i,children:jt(Mn,{...a,...n})});case"icon":return jt("div",{style:i,children:jt(Mn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return jt("div",{style:i,children:jt(Mn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=Qf;Ho.states=jf;Ho.variants=eb;Ho.defaultOptions=Gl;Ho.modifiers=tb;Ho.className=St.className;var tr="combobox",Vl=tr;import{Fragment as or,jsx as te,jsxs as _a}from"react/jsx-runtime";var $l="k-combobox",ob=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],ab={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]},ar={separators:!0,showClearButton:!0},ge=e=>{let{size:t,rounded:o,fillMode:a,separators:n=ar.separators,showClearButton:i=ar.showClearButton,prefix:l,suffix:m,value:u,placeholder:b,hover:x,focus:g,valid:c,invalid:L,required:M,loading:S,disabled:A,popup:k,opened:y,readonly:w,adaptive:se,adaptiveSettings:Ae,adaptiveTitle:pe,adaptiveSubtitle:ue,adaptiveCustomValue:ua,id:Xt,autocomplete:qt,activeDescendant:fa,"aria-label":Yn,...Zn}=e,Qn=Xt?`${Xt}-listbox`:void 0;return _a(or,{children:[_a(J,{...Zn,size:t,rounded:o,fillMode:a,hover:x,focus:g,valid:c,invalid:L,required:M,loading:S,disabled:A,readonly:w,className:s(e.className,$l),children:[l&&_a(or,{children:[te(Ue,{children:l}),n&&te(Ge,{})]}),te(fe,{id:Xt,placeholder:b,value:u,role:"combobox","aria-haspopup":"listbox","aria-expanded":y?"true":"false","aria-controls":y?Qn:void 0,"aria-activedescendant":y&&fa?fa:void 0,"aria-autocomplete":qt,"aria-invalid":L?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Yn,disabled:A,readOnly:w}),te(be,{valid:c,invalid:L,loading:S,disabled:A}),te(Ee,{loading:S,disabled:A}),i&&te(Be,{loading:S,disabled:A,readonly:w,value:u}),m&&_a(or,{children:[n&&te(Ge,{}),te(Fe,{children:m})]}),te(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:A})]}),y&&k&&te(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:k}),se&&te(Y,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...Ae,header:te(xe,{actionsEnd:te(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:u,inputPlaceholder:b,title:pe,subtitle:ue}),children:te("div",{className:"k-list-container",children:te(R,{customValue:ua?te(_t,{text:`Use "${u}"`}):void 0,size:"large",children:_a(z,{"aria-label":pe||"Options",children:[te(O,{text:"List item"}),te(O,{text:"List item"}),te(O,{text:"List item"})]})})})})]})};ge.states=ob;ge.options=ab;ge.className=$l;ge.defaultOptions=ar;ge.moduleName=tr;ge.folderName=Vl;var Re=ge;import{jsx as nb}from"react/jsx-runtime";var Xl=e=>nb(Re,{...e});import{jsx as c_,jsxs as u_}from"react/jsx-runtime";import{jsx as v_,jsxs as g_}from"react/jsx-runtime";import{jsx as A_,jsxs as E_}from"react/jsx-runtime";import{Fragment as P_,jsx as B_}from"react/jsx-runtime";import{Fragment as H_,jsx as D_}from"react/jsx-runtime";import{jsx as $_,jsxs as X_}from"react/jsx-runtime";import{Fragment as e0,jsx as Q_,jsxs as j_}from"react/jsx-runtime";import{jsx as n0}from"react/jsx-runtime";import{jsx as l0}from"react/jsx-runtime";import{jsx as f0,jsxs as b0}from"react/jsx-runtime";import{jsx as L0,jsxs as M0}from"react/jsx-runtime";import{jsx as Ht,jsxs as db}from"react/jsx-runtime";var sb=ge.states,rb=ge.defaultOptions,ib=ge.options,lb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],pb=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ht(R,{style:{width:300},size:o.size,children:db(z,{children:[Ht(O,{children:"List item"}),Ht(O,{children:"List item"}),Ht(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Ht(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[i]?Ht($,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[i],a.popup=t?.[i]?n:void 0;break;default:break}}),Ht("div",{children:Ht(Xl,{value:"Value",style:{width:300},...o,...a})})};zo.options=ib;zo.states=sb;zo.variants=pb;zo.defaultOptions=rb;zo.modifiers=lb;zo.className=ge.className;var nr="menu-button",ql=nr;import{jsx as ub}from"react/jsx-runtime";var Wl="k-menu-button",mb=[r.hover,r.focus,r.active,r.selected,r.disabled],cb={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]},sr={showArrow:!0,arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,icon:x,endIcon:g,text:c,showArrow:L=sr.showArrow,arrowIconName:M=sr.arrowIconName,expanded:S,...A}=e;return ub(p,{...A,className:s(e.className,Wl),text:c,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,ariaDisabled:b||void 0,icon:x,endIcon:g,showArrow:L,arrowIconName:M,"aria-expanded":S?"true":"false",...!c&&x&&!e["aria-label"]&&{"aria-label":"Menu"}})};H.states=mb;H.options=cb;H.className=Wl;H.defaultOptions=sr;H.moduleName=nr;H.folderName=ql;import{jsx as tw}from"react/jsx-runtime";import{jsx as sw}from"react/jsx-runtime";import{jsx as pw}from"react/jsx-runtime";import{jsx as uw}from"react/jsx-runtime";var _e="menu",je=_e;import{jsx as Da,jsxs as Jl}from"react/jsx-runtime";var rr="k-menu-item",fb=[r.hover,r.focus,r.active,r.selected,r.disabled],bb={},Yl={iconPosition:"before"},me=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:m,showArrow:u,arrowIconName:b,iconPosition:x=Yl.iconPosition,dir:g,children:c,expanded:L,...M}=e,S=b;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),Jl("li",{...M,className:s(e.className,rr,"k-item",C(rr,{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:[Jl("span",{className:s("k-link k-menu-link"),children:[l&&x==="before"&&Da(v,{className:"k-menu-link-icon",icon:l}),Da("span",{className:"k-menu-link-text",children:m}),l&&x==="after"&&Da(v,{className:"k-menu-link-icon",icon:l}),u&&Da("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Da(v,{icon:S})})]}),c]})};me.states=fb;me.options=bb;me.className=rr;me.defaultOptions=Yl;me.moduleName=_e;me.folderName=je;import{jsx as eo,jsxs as Zl}from"react/jsx-runtime";var ir="k-menu-item",xb=[r.hover,r.focus,r.active,r.selected,r.disabled],Nb={},lr={dir:"ltr",iconPosition:"before"},q=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:m,showArrow:u,arrowIconName:b,iconPosition:x=lr.iconPosition,dir:g=lr.dir,children:c,popup:L,expanded:M,actions:S,description:A,...k}=e,y=b;return y||(y=g==="rtl"?"chevron-left":"chevron-right"),Zl("li",{role:"menuitem",...k,className:s(e.className,ir,"k-item",C(ir,{focus:o,disabled:i})),...u&&{"aria-haspopup":"menu"},...u&&{"aria-expanded":M?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Zl("span",{className:s("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&x==="before"&&eo(v,{className:"k-menu-link-icon",icon:l}),eo("span",{className:"k-menu-link-text",children:m}),l&&x==="after"&&eo(v,{className:"k-menu-link-icon",icon:l}),S&&eo("span",{className:"k-menu-link-actions",children:S}),u&&eo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:eo(v,{icon:y})}),A&&eo("span",{className:"k-menu-link-description",children:A})]}),c,L]})};q.states=xb;q.options=Nb;q.className=ir;q.defaultOptions=lr;q.moduleName=_e;q.folderName=je;import{jsx as Lb}from"react/jsx-runtime";var Ql="k-menu-scroll-wrapper",hb=[],vb={},gb={},to=e=>{let{className:t,children:o,orientation:a,...n}=e;return Lb("div",{...n,className:s(t,Ql,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=hb;to.options=vb;to.className=Ql;to.defaultOptions=gb;to.moduleName=_e;to.folderName=je;var jl=to;import{Fragment as pr,jsx as oo,jsxs as Sn}from"react/jsx-runtime";var kn="k-menu",Mb=[],Sb={size:[d.undefined,d.small,d.medium,d.large]},Cn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},le=e=>{let{children:t,orientation:o=Cn.orientation,header:a=Cn.header,scrollable:n,scrollButtonsPosition:i=Cn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:u,popup:b,contextMenu:x,...g}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},L=oo("ul",{dir:m,...g,className:s(e.className,"k-reset",kn,{[`${kn}-${o}`]:o,"k-header":a},E(kn,{size:u})),role:x?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Sn(pr,{children:[n?Sn(jl,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&Sn(pr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),L,i==="end"&&Sn(pr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):L,b]})};le.states=Mb;le.options=Sb;le.className=kn;le.defaultOptions=Cn;le.moduleName=_e;le.folderName=je;import{jsx as kb}from"react/jsx-runtime";var dr="k-separator",ep={orientation:"horizontal"},Uo=e=>{let{orientation:t=ep.orientation,...o}=e;return kb("li",{...o,className:s(e.className,"k-item",dr,{[`${dr}-${t}`]:t}),role:"separator"})};Uo.className=dr;Uo.defaultOptions=ep;Uo.moduleName=_e;Uo.folderName=je;import{Fragment as Fw,jsx as Gw}from"react/jsx-runtime";import{jsx as yb}from"react/jsx-runtime";var mr="k-menu-group",Cb=[],Ab={size:[d.undefined,d.small,d.medium,d.large]},Eb={},ce=e=>{let{children:t,size:o,...a}=e;return yb("ul",{role:"menu",...a,className:s(e.className,mr,E(mr,{size:o})),children:t})};ce.states=Cb;ce.options=Ab;ce.className=mr;ce.defaultOptions=Eb;ce.moduleName=_e;ce.folderName=je;import{jsx as Qw,jsxs as jw}from"react/jsx-runtime";import{Fragment as Ib,jsx as Fo,jsxs as Tb}from"react/jsx-runtime";var cr=e=>Fo(le,{children:Tb(Ib,{children:[Fo(me,{text:"Item 1"}),Fo(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Fo(me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Fo(me,{text:"Item 4"}),Fo(me,{text:"Item 5"})]}),...e});import{Fragment as pD,jsx as iD,jsxs as lD}from"react/jsx-runtime";import{Fragment as fD,jsx as uD,jsxs as bD}from"react/jsx-runtime";import{Fragment as gD,jsx as vD,jsxs as LD}from"react/jsx-runtime";import{Fragment as AD,jsx as CD,jsxs as ED}from"react/jsx-runtime";import{jsx as ao,jsxs as Rb}from"react/jsx-runtime";var Ob={...le.options,scrollable:{type:"boolean"}},Bb=le.states,tp={...le.defaultOptions,variant:"horizontal"},Pb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Kb=[{name:"opened",title:"Opened"}],Go=e=>{let{variant:t,modifiers:o,...a}={...tp,...e},n={},i=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?ao(X,{className:"k-menu-popup",offset:i,children:Rb(ce,{children:[ao(q,{text:"Item 1"}),ao(q,{text:"Item 2"}),ao(Uo,{}),ao(q,{text:"Item 3"})]})}):null)}),t==="vertical"?ao(cr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ao(cr,{...a,...n})};Go.options=Ob;Go.states=Bb;Go.variants=Pb;Go.defaultOptions=tp;Go.modifiers=Kb;Go.className=le.className;import{Fragment as rH,jsx as nH,jsxs as sH}from"react/jsx-runtime";import{jsx as dH}from"react/jsx-runtime";import{Fragment as zb,jsx as ft,jsxs as op}from"react/jsx-runtime";var _b=p.states,ap={...p.defaultOptions,variant:"text"},wb=p.options,Db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Hb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...ap,...e},n={},i=ft(X,{className:"k-menu-popup",children:op(ce,{size:a.size,children:[ft(q,{text:"Menu Item"}),ft(q,{text:"Menu Item"}),ft(q,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=ft("div",{children:ft(H,{...a,...n,icon:"star"})});break;case"icon-and-text":l=ft("div",{children:ft(H,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=ft("div",{children:ft(H,{...a,...n,children:"Dropdown Button"})});break}return op(zb,{children:[l,o?.opened&&i]})};Vo.options=wb;Vo.states=_b;Vo.variants=Db;Vo.defaultOptions=ap;Vo.modifiers=Hb;Vo.className=H.className;var ur="split-button",np=ur;import{Fragment as Gb,jsx as fr,jsxs as sp}from"react/jsx-runtime";var br="k-split-button",Ub=[r.hover,r.focus,r.active,r.selected,r.disabled],Fb={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]},rp={arrowIconName:"chevron-down"},K=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,icon:x,endIcon:g,text:c,arrowIconName:L=rp.arrowIconName,popup:M,opened:S,popupId:A,...k}=e;return sp(Gb,{children:[sp("div",{...k,className:s(e.className,br,"k-button-group",E(br,{rounded:o})),children:[fr(p,{text:c,icon:x,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:m,selected:u,disabled:b,...!c&&!e.children&&x&&{"aria-label":"Action"},children:e.children}),fr(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?A:void 0,tabIndex:-1})]}),S&&M&&fr(X,{className:"k-menu-popup",children:M})]})};K.states=Ub;K.options=Fb;K.className=br;K.defaultOptions=rp;K.moduleName=ur;K.folderName=np;var xr=K;import{jsx as $b}from"react/jsx-runtime";var Vb="k-toolbar-separator",st=e=>$b("div",{className:s(Vb,e.className,"k-separator")});var no="toolbar",$o=no;import{Fragment as Nr,jsx as _,jsxs as Xo}from"react/jsx-runtime";var kt="k-toolbar",Xb=[r.focus],qb={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},Wb={scrollButtons:"around"},U=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:m,section:u,...b}=e,x=[],g=(c,L)=>{let M=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))M.push(_(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===p)M.push(_(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===va)M.push(_(va,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===$)M.push(_($,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===H)M.push(_(H,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===xr)M.push(_(xr,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`));else if(c.type===T||c.props.className&&c.props.className.includes("k-button-group")){let S=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((k,y)=>{S.push(_(p,{...k.props,className:`${k.props.className?k.props.className:""}`},`${y}-${new Date().getTime()}`))}),M.push(_(T,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:S},`${L}-${new Date().getTime()}`))}else c.type===ge?M.push(_(ge,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`)):c.type===ne?M.push(_(ne,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`)):c.type===Qe?M.push(_(Qe,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${L}-${new Date().getTime()}`)):M.push(c);M.forEach(S=>{x.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,M)=>{g(L,M)}),Xo("div",{...b,className:s(e.className,kt,E(kt,{size:t,fillMode:o}),C(kt,{focus:a}),{[`${kt}-resizable`]:n,[`${kt}-scrollable`]:i,[`${kt}-scrollable-overlay`]:i&&l==="hidden",[`${kt}-scrollable-${m}`]:m&&m!=="both",[`${kt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&x,i&&l==="hidden"&&_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),i&&l==="start"&&Xo(Nr,{children:[Xo(T,{children:[_("span",{className:s("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-left"})}),_("span",{className:s("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-right"})})]}),_(st,{className:"k-toolbar-button-separator"}),_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x})]}),i&&l==="end"&&Xo(Nr,{children:[_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),_(st,{className:"k-toolbar-button-separator"}),Xo(T,{children:[_("span",{className:s("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-left"})}),_("span",{className:s("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&Xo(Nr,{children:[_("span",{className:s("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-left"})}),_(st,{className:"k-toolbar-button-separator"}),_("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:x}),_(st,{className:"k-toolbar-button-separator"}),_("span",{className:s("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:_(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};U.states=Xb;U.options=qb;U.className=kt;U.defaultOptions=Wb;U.moduleName=no;U.folderName=$o;import{jsx as Qb}from"react/jsx-runtime";var hr="k-toolbar-item",Jb=[r.focus],Yb={},Zb={},qo=e=>{let{focus:t,...o}=e;return Qb("div",{...o,className:s(e.className,hr,C(hr,{focus:t})),children:e.children})};qo.states=Jb;qo.options=Yb;qo.className=hr;qo.defaultOptions=Zb;qo.moduleName=no;qo.folderName=$o;import{jsx as ip}from"react/jsx-runtime";var lp="k-toolbar-popup",jb=[],ex={size:[d.undefined,d.small,d.medium,d.large],fillMode:[N.undefined,N.solid,N.outline,N.flat]},tx={},so=e=>{let{size:t,fillMode:o,section:a,...n}=e;return ip(X,{...n,className:s(e.className,lp),children:a?ip("span",{className:s("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};so.states=jb;so.options=ex;so.className=lp;so.defaultOptions=tx;so.moduleName=no;so.folderName=$o;var An=so;import{jsx as dz}from"react/jsx-runtime";import{jsx as fz}from"react/jsx-runtime";import{jsx as hz}from"react/jsx-runtime";import{jsx as Mz}from"react/jsx-runtime";import{jsx as yz,jsxs as Iz}from"react/jsx-runtime";import{jsx as Pz}from"react/jsx-runtime";import{jsx as Ct,jsxs as rx}from"react/jsx-runtime";var ox=K.states,pp={...K.defaultOptions,variant:"text"},ax=K.options,nx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],sx=[{name:"opened",title:"Opened"}],Wo=e=>{let{variant:t,modifiers:o,...a}={...pp,...e},n={},i=rx(ce,{size:a.size,children:[Ct(q,{text:"Menu Item"}),Ct(q,{text:"Menu Item"}),Ct(q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?i:"")}),t){case"icon-only":return Ct("div",{children:Ct(K,{...a,...n,icon:"star"})});case"icon-and-text":return Ct("div",{children:Ct(K,{...a,...n,icon:"star",children:"Split Button"})});default:return Ct("div",{children:Ct(K,{...a,...n,children:"Split Button"})})}};Wo.options=ax;Wo.states=ox;Wo.variants=nx;Wo.defaultOptions=pp;Wo.modifiers=sx;Wo.className=K.className;import{jsx as ro,jsxs as ix}from"react/jsx-runtime";var dp=e=>ro(U,{children:[ro(p,{children:"Button"},"toolbar-button"),ro(H,{text:"Menu button"},"toolbar-menu-button"),ro(K,{children:"Split button"},"toolbar-split-button"),ix(T,{children:[ro(p,{className:"k-group-start",icon:"align-left",children:"Left"}),ro(p,{icon:"align-center",children:"Center"}),ro(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as p1,jsxs as d1}from"react/jsx-runtime";import{jsx as we,jsxs as mp}from"react/jsx-runtime";var cp=e=>we(U,{scrollable:!0,...e,children:[we(p,{children:"Button"},"toolbar-button"),we(H,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),mp(T,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),we(p,{children:"Button"},"toolbar-button"),we(H,{text:"Menu button"},"toolbar-menu-button"),we(K,{children:"Split button"},"toolbar-split-button"),mp(T,{children:[we(p,{className:"k-group-start",icon:"align-left",children:"Left"}),we(p,{icon:"align-center",children:"Center"}),we(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as De,jsxs as up}from"react/jsx-runtime";var fp=({scrollingPosition:e="start",...t})=>De(U,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[De(p,{children:"Button"},"toolbar-button"),De(H,{text:"Menu button"},"toolbar-menu-button"),De(K,{children:"Split button"},"toolbar-split-button"),up(T,{children:[De(p,{className:"k-group-start",icon:"align-left",children:"Left"}),De(p,{icon:"align-center",children:"Center"}),De(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),De(p,{children:"Button"},"toolbar-button"),De(H,{text:"Menu button"},"toolbar-menu-button"),De(K,{children:"Split button"},"toolbar-split-button"),up(T,{children:[De(p,{className:"k-group-start",icon:"align-left",children:"Left"}),De(p,{icon:"align-center",children:"Center"}),De(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as lx,jsx as Ie,jsxs as En}from"react/jsx-runtime";var bp=({fillMode:e,size:t,...o})=>En(lx,{children:[Ie(U,{section:!0,fillMode:e,size:t,children:[Ie(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),En(T,{fillMode:e,children:[Ie(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Ie(st,{className:"k-toolbar-button-separator"}),Ie(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),En(An,{size:t,fillMode:e,section:!0,...o,children:[Ie(K,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Ie(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ie(st,{}),Ie(H,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),En(T,{fillMode:e,children:[Ie(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ie(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ie(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as G1,jsx as U1,jsxs as F1}from"react/jsx-runtime";import{Fragment as e2,jsx as Q1,jsxs as j1}from"react/jsx-runtime";import{jsx as zt}from"react/jsx-runtime";var px=U.options,dx=U.states,xp={...U.defaultOptions,variant:"default"},mx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],cx=[],Jo=e=>{let{variant:t,...o}={...xp,...e};switch(t){case"responsive":return zt("div",{children:zt(bp,{style:{width:"583px"},...o})});case"overlay":return zt("div",{children:zt(fp,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return zt("div",{children:zt(cp,{style:{width:"583px"},...o})});default:return zt("div",{children:zt(dp,{style:{width:"583px"},...o})})}};Jo.options=px;Jo.states=dx;Jo.variants=mx;Jo.defaultOptions=xp;Jo.modifiers=cx;Jo.className=U.className;import{jsx as Np,jsxs as Nx}from"react/jsx-runtime";var yn="k-fab",bx=[r.hover,r.focus,r.active,r.selected,r.disabled],xx={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]},hp={type:"button"},oe=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=hp.type,position:m,hover:u,focus:b,active:x,selected:g,disabled:c,...L}=e;return Nx("button",{...L,type:l,className:s(e.className,yn,E(yn,{size:t,rounded:o,themeColor:a}),C(yn,{hover:u,focus:b,active:x,disabled:c,selected:g}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[i&&Np(v,{className:"k-fab-icon",icon:i}),n&&Np("span",{className:"k-fab-text",children:n})]})};oe.states=bx;oe.options=xx;oe.className=yn;oe.defaultOptions=hp;oe.moduleName="fab";oe.folderName="fab";import{jsx as vx}from"react/jsx-runtime";var hx="k-fab-items",vp=e=>{let{position:t,...o}=e;return vx("ul",{...o,className:s(e.className,hx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as Lp,jsxs as Lx}from"react/jsx-runtime";var gp="k-fab-item",gx=[r.hover,r.focus,r.active,r.disabled],vr=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:m,...u}=e;return Lx("li",{...u,className:s(e.className,gp,{[`k-text-${a}`]:a},C(gp,{hover:n,focus:i,active:l,disabled:m})),children:[Lp("span",{className:"k-fab-item-text",children:t}),Lp(v,{className:"k-fab-item-icon",icon:o})]})};vr.states=gx;import{jsx as D2}from"react/jsx-runtime";import{jsx as Mx}from"react/jsx-runtime";var Mp=e=>Mx(oe,{icon:"plus",...e});import{jsx as $2}from"react/jsx-runtime";import{jsx as J2}from"react/jsx-runtime";import{jsx as Yo,jsxs as yx}from"react/jsx-runtime";var Sx=oe.options,kx=oe.states,Cx={...oe.defaultOptions,variant:"text"},Ax=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ex=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?Yo("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:Yo(vp,{position:"bottom",children:Yo(vr,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(oe,{...a,icon:"star"});break;case"icon-and-text":l=Yo(oe,{...a,icon:"star",text:"Action"});break;default:l=Yo(oe,{...a,text:"Action"});break}return yx("span",{style:{position:"relative"},children:[l,i]})};Zo.options=Sx;Zo.states=kx;Zo.variants=Ax;Zo.defaultOptions=Cx;Zo.modifiers=Ex;Zo.className=oe.className;var gr="prompt-box",Sp=gr;var Lr="speech-to-text-button",kp=Lr;import{jsx as Ix}from"react/jsx-runtime";var Cp="k-speech-to-text-button",Ap={icon:"microphone"},He=e=>{let{listening:t=!1,icon:o=Ap.icon,...a}=e;return Ix(p,{...a,icon:t?"stop":o,className:s(e.className,Cp,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};He.states=p.states;He.options=p.options;He.className=Cp;He.defaultOptions=Ap;He.moduleName=Lr;He.folderName=kp;import{jsx as kU}from"react/jsx-runtime";import{jsx as yU}from"react/jsx-runtime";import{jsx as Kx}from"react/jsx-runtime";var Tx=p.states,Ep={...p.defaultOptions,variant:"normal"},Ox={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Bx=[],Px=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Qo=e=>{let{variant:t,...o}={...Ep,...e},a={};return t==="listening"&&(a.listening=!0),Kx(He,{...o,...a})};Qo.options=Ox;Qo.states=Tx;Qo.variants=Px;Qo.defaultOptions=Ep;Qo.modifiers=Bx;Qo.className=He.className;import{jsx as io,jsxs as Mr}from"react/jsx-runtime";var bt="k-prompt-box",Rx=[r.hover,r.focus,r.disabled],_x={fillMode:[N.undefined,N.solid,N.flat,N.outline]},Sr={lineMode:"auto",isExpanded:!1},Le=e=>{let{fillMode:t,lineMode:o=Sr.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=Sr.isExpanded,className:m,children:u,value:b,placeholder:x,generating:g,actionButtonConfig:c,speechToTextButtonConfig:L,uploadButtonConfig:M,hover:S,focus:A,disabled:k,...y}=e,w=o==="multi"||o==="auto"&&l;return Mr("div",{...y,className:s(m,"k-input",bt,{[`${bt}-singleline`]:o==="single",[`${bt}-multiline`]:w,[`k-input-${t}`]:t,"k-hover":S,"k-focus":A,"k-disabled":k}),children:[i&&io("div",{className:`${bt}-header`,children:i}),Mr("div",{className:`${bt}-content`,children:[a&&io("div",{className:`${bt}-affix`,children:a}),o==="single"?io(fe,{value:b,placeholder:x,className:`${bt}-input`,type:"text","aria-label":"Prompt input"}):io(Ma,{value:b,placeholder:x,className:`${bt}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),Mr("div",{className:`${bt}-affix`,children:[n,M&&io($,{icon:"paperclip",size:"small",fillMode:"flat",rounded:"full","aria-label":"Attach files",...M}),L!==!1&&io(He,{size:"small",fillMode:"flat",rounded:"full",...L}),io($,{icon:g?"stop":"arrow-up",size:"small",rounded:"full",active:g,disabled:!b&&!g,"aria-label":g?"Stop generating":"Send prompt","aria-live":"polite",...c,className:s({"k-generating":g},c?.className)})]})]}),u]})};Le.states=Rx;Le.options=_x;Le.className=bt;Le.defaultOptions=Sr;Le.moduleName=gr;Le.folderName=Sp;import{jsx as QU}from"react/jsx-runtime";import{jsx as o3}from"react/jsx-runtime";import{jsx as r3}from"react/jsx-runtime";import{jsx as d3}from"react/jsx-runtime";import{jsx as f3}from"react/jsx-runtime";import{Fragment as kr,jsx as Ut,jsxs as Fx}from"react/jsx-runtime";var wx=Le.options,Dx=Le.states,Hx={...Le.defaultOptions,variant:"Single"},zx=[{name:"Single",title:"Singleline"},{name:"Multi",title:"Multiline"}],Ux=[{name:"header",title:"Header"},{name:"endAffix",title:"End Affix"},{name:"startAffix",title:"Start Affix"}],jo=e=>{let{variant:t,modifiers:o,...a}=e,n={},i=Ut(kr,{children:Ut($,{size:"small",icon:"send",fillMode:"flat"})});return Object.keys(o||{}).forEach(l=>{switch(l){case"header":n.header=o?.[l]?Ut(p,{children:"Button in header"}):void 0;break;case"endAffix":o?.[l]&&(n.endAffix=Fx(kr,{children:[i,Ut($,{icon:"paperclip",size:"small",fillMode:"flat"})]}));break;case"startAffix":n.startAffix=o?.[l]?Ut(kr,{children:Ut($,{icon:"plus",size:"small",fillMode:"flat"})}):void 0;break;default:break}}),t==="Multi"?Ut(Le,{style:{width:300},lineMode:"multi",endAffix:i,placeholder:"Enter your prompt...",...a,...n}):Ut(Le,{style:{width:300},lineMode:"single",endAffix:i,placeholder:"Enter your prompt...",...a,...n})};jo.options=wx;jo.states=Dx;jo.variants=zx;jo.defaultOptions=Hx;jo.modifiers=Ux;jo.className=Le.className;var Cr="chat",yp=Cr;import{Fragment as Op,jsx as lo,jsxs as Ha}from"react/jsx-runtime";var Ip="k-chat",Gx=[],Vx={},$x=Ha(Op,{children:[lo($,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),lo("div",{className:"k-spacer"})]}),Tp={tools:$x},V=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:m,tools:u=Tp.tools,value:b,empty:x,scrollToBottom:g,scrollbar:c,promptBoxProps:L,...M}=e;return Ha("div",{...M,className:s(Ip,e.className),dir:o,children:[t,Ha("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,lo("div",{className:s("k-message-list-content",x&&"k-message-list-content-empty"),children:e.children}),g&&lo("div",{className:"k-chat-scroll-to-bottom-container",children:lo(Mp,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),c&&lo("div",{className:"k-separator"}),Ha("div",{className:"k-message-box-wrapper",children:[a,lo(Le,{lineMode:"multi",placeholder:"Type a message",generating:m,value:b,header:n||l?Ha(Op,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};V.states=Gx;V.options=Vx;V.className=Ip;V.defaultOptions=Tp;V.moduleName=Cr;V.folderName=yp;var Ar="avatar",Bp=Ar;import{jsx as Pp}from"react/jsx-runtime";var za="k-avatar";var Xx=[r.hover,r.focus,r.active,r.selected,r.disabled],qx={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]},Er={type:"text",border:!1},Me=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Er.type,border:l=Er.border,...m}=e;return Pp("div",{...m,className:s(e.className,za,E(za,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${za}-bordered`]:l}),children:Pp("span",{className:`${za}-${i}`,children:e.children})})};Me.states=Xx;Me.options=qx;Me.className=za;Me.defaultOptions=Er;Me.moduleName=Ar;Me.folderName=Bp;var po=Me;import{jsx as Wx}from"react/jsx-runtime";var Kp=e=>Wx(po,{type:"icon",...e});import{jsx as Jx}from"react/jsx-runtime";var Rp=e=>Jx(po,{type:"text",...e});import{jsx as Yx}from"react/jsx-runtime";var Tn=e=>Yx(po,{type:"image",...e});import{jsx as t5}from"react/jsx-runtime";import{jsx as Ua}from"react/jsx-runtime";var Zx=Me.options,Qx=Me.states,jx={...Me.defaultOptions,variant:"image"},eN=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],tN=[],ea=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ua(Kp,{...o,children:Ua(v,{icon:"star"})});case"text":return Ua(Rp,{...o,children:"JO"});default:return Ua(Tn,{...o,children:Ua("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ea.options=Zx;ea.states=Qx;ea.variants=eN;ea.defaultOptions=jx;ea.modifiers=tN;ea.className=Me.className;import{jsx as ta,jsxs as yr}from"react/jsx-runtime";var Fa="k-message-group",oN=[r.selected],aN={},On={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},W=e=>{let{type:t=On.type,author:o=On.author,avatar:a=On.avatar,status:n,selected:i,fullWidth:l,...m}=e;return yr("div",{...m,className:s(Fa,e.className,C(Fa,{selected:i}),{[`${Fa}-${t}`]:t,"k-no-avatar":!a,[`${Fa}-full-width`]:l}),children:[a&&!n&&ta(Me,{type:"image",children:ta("img",{src:a,alt:o||""})}),n&&a&&yr("div",{className:"k-chat-user-status-wrapper",children:[ta(Me,{type:"image",children:ta("img",{src:a,alt:o||""})}),ta("div",{className:"k-chat-user-status"})]}),yr("div",{className:"k-message-group-content",children:[o&&ta("span",{className:"k-message-author",children:o}),e.children]})]})};W.states=oN;W.options=aN;W.className=Fa;W.defaultOptions=On;import{Fragment as sN,jsx as Bn,jsxs as _p}from"react/jsx-runtime";var Ir="k-message-reference",nN={},wp={type:"receiver"},Ft=e=>{let{content:t,closeable:o,pinned:a,type:n=wp.type,...i}=e;return _p("div",{...i,className:s(Ir,e.className,{[`${Ir}-${n}`]:n,"k-message-pinned":a}),children:[a&&Bn(v,{icon:"pin"}),Bn("div",{className:"k-message-reference-content",children:t}),o&&_p(sN,{children:[Bn("span",{className:"k-spacer"}),Bn(p,{icon:"x-circle",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};Ft.options=nN;Ft.className=Ir;Ft.moduleName=null;Ft.folderName=null;Ft.defaultOptions=wp;var Tr="bubble",Dp=Tr;import{jsx as Pn,jsxs as iN}from"react/jsx-runtime";var Or="k-bubble",rN=[r.hover,r.active,r.selected,r.focus],Br={expandable:!1,expanded:!1},mo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=Br.expandable,expanded:m=Br.expanded,...u}=e;return iN("div",{...u,className:s(e.className,Or,C(Or,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":m}),tabIndex:0,children:[Pn("div",{className:"k-bubble-content",children:t??e.children}),l&&Pn("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":m?"Show less":"Show more",tabIndex:0,children:m?Pn(v,{icon:"chevron-up"}):Pn(v,{icon:"chevron-down"})})]})};mo.states=rN;mo.className=Or;mo.defaultOptions=Br;mo.moduleName=Tr;mo.folderName=Dp;import{jsx as R5}from"react/jsx-runtime";import{jsx as H5}from"react/jsx-runtime";import{jsx as G5}from"react/jsx-runtime";import{jsx as Pr,jsxs as zp}from"react/jsx-runtime";var lN="k-chat-bubble",Up=e=>{let{typing:t,content:o,files:a,...n}=e;return zp(mo,{...n,className:s(e.className,lN),children:[t?zp("div",{className:"k-typing-indicator",tabIndex:-1,children:[Pr("span",{}),Pr("span",{}),Pr("span",{})]}):o,a]})};import{jsx as nF}from"react/jsx-runtime";import{jsx as Fp,jsxs as pN}from"react/jsx-runtime";var Gp="k-chat-event",Kr={icon:"trash",text:"You deleted Chat history."},Vp=e=>{let{icon:t=Kr.icon,text:o=Kr.text,...a}=e;return pN("div",{...a,className:s(e.className,Gp),children:[t&&Fp(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&Fp("span",{className:"k-chat-event-text",children:o})]})};Vp.className=Gp;Vp.defaultOptions=Kr;import{jsx as fF}from"react/jsx-runtime";import{Fragment as dN,jsx as xt,jsxs as mN}from"react/jsx-runtime";var $p=e=>xt(V,{children:mN(dN,{children:[xt("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),xt(W,{children:xt(F,{})}),xt(W,{type:"sender",children:xt(F,{})}),xt(W,{children:xt(F,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),xt(W,{type:"sender",children:xt(F,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});import{jsx as Xp}from"react/jsx-runtime";var Kn="k-file-box-wrapper",qp={layout:"horizontal"},Nt=e=>{let{layout:t=qp.layout,scrollingPosition:o,...a}=e;return Xp("ul",{role:"list","aria-label":"Attached files",...a,className:s(e.className,Kn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${Kn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${Kn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?Xp("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Nt.className=Kn;Nt.defaultOptions=qp;var Rr="file-box",Wp=Rr;import{jsx as oa,jsxs as Jp}from"react/jsx-runtime";var Yp="k-file-box",cN=[r.selected],uN={},Ga={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},Te=e=>{let{icon:t=Ga.icon,name:o=Ga.name,size:a=Ga.size,status:n,deleted:i,removeButton:l,showButton:m=Ga.showButton,...u}=e,b=[o,a].filter(Boolean).join(" ");return Jp("li",{role:"listitem",tabIndex:0,"aria-label":b||void 0,...u,className:s(Yp,e.className,{"k-file-deleted":i}),children:[oa(v,{icon:t,size:"xlarge","aria-hidden":"true"}),Jp("div",{className:"k-file-info",children:[o&&oa("span",{className:"k-file-name",children:o}),a&&oa("span",{className:"k-file-size",children:a}),n&&oa("span",{className:"k-file-status",children:n})]}),m&&(l?oa(p,{as:"span",icon:"x-circle",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):oa(H,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};Te.states=cN;Te.options=uN;Te.className=Yp;Te.defaultOptions=Ga;Te.moduleName=Rr;Te.folderName=Wp;import{jsx as PF}from"react/jsx-runtime";import{jsx as DF}from"react/jsx-runtime";import{jsx as GF,jsxs as VF}from"react/jsx-runtime";import{jsx as JF,jsxs as YF}from"react/jsx-runtime";import{jsx as tG}from"react/jsx-runtime";import{Fragment as bG,jsx as fG,jsxs as xG}from"react/jsx-runtime";import{Fragment as LG,jsx as gG,jsxs as MG}from"react/jsx-runtime";var _r="skeleton",Zp=_r;import{jsx as NN}from"react/jsx-runtime";var wr="k-skeleton",fN=["circle","text","rect"],bN=[],xN={},Dr={variant:"text",shape:"text",animation:"pulse"},ht=e=>{let{variant:t,shape:o,animation:a=Dr.animation,...n}=e,i=`skeleton-${t||o||Dr.variant}`;return NN("span",{...n,className:s(e.className,wr,Ya(wr,i),{[`k-skeleton-${a}`]:a}),style:e.style})};ht.states=bN;ht.options=xN;ht.variants=fN;ht.className=wr;ht.defaultOptions=Dr;ht.moduleName=_r;ht.folderName=Zp;import{jsx as OG}from"react/jsx-runtime";import{jsx as RG}from"react/jsx-runtime";import{jsx as HG}from"react/jsx-runtime";import{Fragment as jG,jsx as ZG,jsxs as QG}from"react/jsx-runtime";import{Fragment as n6,jsx as a6,jsxs as s6}from"react/jsx-runtime";var Hr="window",Qp=Hr;import{jsx as LN}from"react/jsx-runtime";var jp="k-window-content",hN=[],vN={},gN={},Gt=e=>{let{children:t,...o}=e;return LN("div",{...o,className:s(jp,e.className),children:t})};Gt.states=hN;Gt.options=vN;Gt.className=jp;Gt.defaultOptions=gN;Gt.moduleName=Hr;Gt.folderName=Qp;var Va="dialog",Rn=Va;import{Fragment as kN,jsx as co,jsxs as zr}from"react/jsx-runtime";var ed="k-dialog",MN=[],SN={},Ur={actionButtonsAlign:"stretched",modal:!0},ze=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=Ur.actionButtonsAlign,modal:i=Ur.modal,...l}=e,m=t!==void 0?B("dialog-titlebar"):void 0,u=B("dialog-content");return zr("div",{className:"k-dialog-wrapper",children:[i&&co(mt,{}),zr("div",{...l,className:s(e.className,ed,"k-window"),role:"dialog","aria-labelledby":m,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&zr("div",{className:"k-window-titlebar k-dialog-titlebar",id:m,children:[t!==void 0&&co("span",{className:"k-window-title k-dialog-title",children:t}),o&&co(kN,{children:co("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(b=>co(p,{icon:b,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":b},b))})})]}),co(Gt,{className:"k-dialog-content",id:u,children:e.children}),a&&co(Pe,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};ze.states=MN;ze.options=SN;ze.className=ed;ze.defaultOptions=Ur;ze.moduleName=Va;ze.folderName=Rn;var Fr=ze;import{jsx as yN}from"react/jsx-runtime";var td="k-dialog-wrapper",CN=[],AN={},EN={},aa=e=>{let{...t}=e;return yN("div",{...t,className:s(e.className,td),children:e.children})};aa.states=CN;aa.options=AN;aa.className=td;aa.defaultOptions=EN;aa.moduleName=Va;aa.folderName=Rn;import{Fragment as od,jsx as _n,jsxs as IN}from"react/jsx-runtime";var ad=e=>_n(Fr,{title:"Title",children:_n(od,{children:"Dialog content"}),actionButtons:IN(od,{children:[_n(p,{children:"Action"}),_n(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});import{Fragment as B6,jsx as P6,jsxs as K6}from"react/jsx-runtime";import{Fragment as RN,jsx as wn,jsxs as _N}from"react/jsx-runtime";var TN=ze.options,ON=[],BN=ze.states,PN=ze.defaultOptions,KN=[],na=e=>wn(ad,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:_N(RN,{children:[wn(p,{children:"No"}),wn(p,{themeColor:"primary",children:"Yes"})]}),children:wn("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});na.options=TN;na.states=BN;na.variants=ON;na.defaultOptions=PN;na.modifiers=KN;na.className=ze.className;var Gr="dropzone",nd=Gr;import{jsx as Dn,jsxs as HN}from"react/jsx-runtime";var Vr="k-external-dropzone",wN=[r.disabled,r.hover],DN={},$r={icon:"upload",hint:"Drag and drop files here to upload"},Se=e=>{let{hover:t,disabled:o,icon:a=$r.icon,hint:n=$r.hint,note:i,...l}=e;return Dn("div",{...l,className:s(e.className,Vr,C(Vr,{disabled:o}),{"k-external-dropzone-hover":t}),children:HN("div",{className:"k-dropzone-inner",children:[a&&Dn(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&Dn("span",{className:"k-dropzone-hint",children:n}),i&&Dn("span",{className:"k-dropzone-note",children:i})]})})};Se.states=wN;Se.options=DN;Se.className=Vr;Se.defaultOptions=$r;Se.moduleName=Gr;Se.folderName=nd;import{jsx as zN}from"react/jsx-runtime";var sd=e=>zN(Se,{...e});import{jsx as s7}from"react/jsx-runtime";import{jsx as XN}from"react/jsx-runtime";var UN=Se.options,FN=Se.states,GN=Se.defaultOptions,VN=[{name:"note",title:"Note"}],$N=[],sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t?.[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),XN(sd,{style:{width:"500px"},...o,...a})};sa.options=UN;sa.states=FN;sa.variants=$N;sa.defaultOptions=GN;sa.modifiers=VN;sa.className=Se.className;import{Fragment as Hn,jsx as Vt,jsxs as $a}from"react/jsx-runtime";var Xr="k-upload-dropzone",qN=[r.hover],zn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,buttonText:l="Select files...",...m}=e,u;switch(o){case"uploading":u=$a(Hn,{children:[Vt(v,{icon:"upload"}),"Uploading..."]});break;case"done":u=$a(Hn,{children:[Vt(v,{icon:"check"}),"Done"]});break;case"failed":u=$a(Hn,{children:[Vt(v,{icon:"exclamation-circle"}),"Done"]});break;default:u=Vt(Hn,{});break}return $a("div",{...m,className:s(e.className,Xr,"k-dropzone",C(Xr,{hover:t})),children:[$a("div",{className:"k-upload-button-wrap",children:[Vt(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:l}),Vt("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),Vt("span",{className:s("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&Vt("span",{className:"k-upload-status",children:u})]})};zn.states=qN;zn.className=Xr;var qr="upload",rd=qr;import{jsx as Un,jsxs as ld}from"react/jsx-runtime";var Wr="k-upload",WN=[r.hover,r.disabled],JN={},pd={actionsLayout:"end"},id="upload-files-list",ae=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=pd.actionsLayout,hover:i,status:l,disabled:m,buttonText:u,...b}=e,x=!!e.children;return ld("div",{...b,className:s(e.className,Wr,C(Wr,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Un(zn,{status:l,hover:i,disabled:m,hasFiles:x,filesId:id,buttonText:u}),x&&Un("ul",{className:"k-upload-files",role:"list",id,children:e.children}),a&&x&&ld(_i,{alignment:n,orientation:"horizontal",children:[Un(p,{className:"k-clear-selected",children:"Clear"}),Un(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ae.states=WN;ae.options=JN;ae.className=Wr;ae.defaultOptions=pd;ae.moduleName=qr;ae.folderName=rd;var Xa="progressbar",Fn=Xa;import{jsx as Yr,jsxs as Jr}from"react/jsx-runtime";var et="k-progressbar",YN=[r.disabled,r.indeterminate],ZN={orientation:["horizontal","vertical"]},uo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},ke=e=>{let{disabled:t,height:o,indeterminate:a=uo.indeterminate,label:n=uo.label,labelPosition:i=uo.labelPosition,orientation:l=uo.orientation,reverse:m=uo.reverse,value:u=uo.value,width:b,style:x,ariaLabel:g,...c}=e;return Jr("div",{...c,className:s(e.className,et,C(et,{disabled:t}),{[`${et}-${l}`]:l,[`${et}-indeterminate`]:a,[`${et}-reverse`]:m}),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:[Yr("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&Jr("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&Yr("div",{className:"k-progressbar-value k-selected",children:Yr("span",{className:s("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&Jr("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};ke.states=YN;ke.options=ZN;ke.className=et;ke.defaultOptions=uo;ke.moduleName=Xa;ke.folderName=Fn;var dd=ke;import{jsx as Zr}from"react/jsx-runtime";var md="k-chunk-progressbar",QN=(e,t)=>t<=e-1,jN=[r.disabled,r.indeterminate],eh={},Gn={chunkCount:5,orientation:"horizontal",progress:0},ra=e=>{let{disabled:t,chunkCount:o=Gn.chunkCount,indeterminate:a,orientation:n=Gn.orientation,progress:i=Gn.progress,reverse:l,ariaLabel:m,...u}=e;return Zr("div",{...u,className:s(e.className,et,md,C(et,{disabled:t}),{[`${et}-${n}`]:n,[`${et}-indeterminate`]:a,[`${et}-reverse`]:l}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:Zr("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((b,x)=>Zr("li",{className:s("k-progressbar-chunk",{"k-first":x===0,"k-last":x===[...Array(o)].length-1,"k-selected":QN(i,x)})},x))})})};ra.states=jN;ra.options=eh;ra.className=md;ra.defaultOptions=Gn;ra.moduleName=Xa;ra.folderName=Fn;import{jsx as th}from"react/jsx-runtime";var qa=e=>th(dd,{...e});import{jsx as X7}from"react/jsx-runtime";import{jsx as $t}from"react/jsx-runtime";var oh=ke.options,ah=ke.states,cd={...ke.defaultOptions,variant:"start"},nh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],sh=[],ia=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!o?.[l];break;case"vertical":n.orientation=o?.[l]?"vertical":void 0,i.style=o?.[l]?void 0:{width:"324px"};break}}),t){case"end":return $t("div",{...i,children:$t(qa,{...a,...n,labelPosition:"end",value:"50"})});case"center":return $t("div",{...i,children:$t(qa,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return $t("div",{...i,children:$t(qa,{...a,...n,label:!1,value:"50"})});default:return $t("div",{...i,children:$t(qa,{...a,...n,labelPosition:"start",value:"50"})})}};ia.options=oh;ia.states=ah;ia.variants=nh;ia.defaultOptions=cd;ia.modifiers=sh;ia.className=ke.className;import{jsx as Qr,jsxs as ih}from"react/jsx-runtime";var rh="k-file-info",jr=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return ih("div",{...n,className:s(e.className,rh),children:[t&&Qr("span",{className:"k-file-name",children:t}),o&&Qr("span",{className:"k-file-size",children:o}),a&&Qr("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as ph,jsx as At,jsxs as Vn}from"react/jsx-runtime";var lh="k-file",Oe=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:m,...u}=e;return At("li",{...u,className:s(e.className,lh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Vn("div",{className:"k-file-single",children:[At(ke,{className:s({"k-hidden":t!=="progress"}),value:o,label:!1}),Vn("span",{className:"k-file-icon-wrapper",children:[At(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&At("span",{className:"k-file-state",children:l})]}),At(jr,{name:a,size:i,validationMsg:m}),At("div",{className:"k-upload-actions",children:t==="progress"?Vn(ph,{children:[Vn("span",{className:"k-upload-pct",children:[o,"%"]}),At(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),At(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):At(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as M9,jsx as g9,jsxs as L9}from"react/jsx-runtime";import{Fragment as dh,jsx as ei,jsxs as mh}from"react/jsx-runtime";var Wa=e=>ei(ae,{async:!0,children:mh(dh,{children:[ei(Oe,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),ei(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as B9,jsx as T9,jsxs as O9}from"react/jsx-runtime";import{jsx as ch}from"react/jsx-runtime";var ud=e=>ch(ae,{async:!0,empty:!0,...e});import{Fragment as z9,jsx as H9,jsxs as U9}from"react/jsx-runtime";import{Fragment as X9,jsx as $9,jsxs as q9}from"react/jsx-runtime";import{jsx as Et,jsxs as $n}from"react/jsx-runtime";var uh=ae.options,fh=ae.states,fd={...ae.defaultOptions,variant:"empty"},bh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],xh=[],la=e=>{let{variant:t,...o}={...fd,...e};switch(t){case"success":return $n(Wa,{status:"done",style:{width:"586px"},...o,children:[Et(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Et(Oe,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return $n(Wa,{status:"failed",style:{width:"586px"},...o,children:[Et(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Et(Oe,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return $n(Wa,{status:"uploading",style:{width:"586px"},...o,children:[Et(Oe,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Et(Oe,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return $n(Wa,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Et(Oe,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Et(Oe,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Et(ud,{async:!0,status:"upload",style:{width:"586px"},...o})}};la.options=uh;la.states=fh;la.variants=bh;la.defaultOptions=fd;la.modifiers=xh;la.className=ae.className;import{Fragment as L4,jsx as g4,jsxs as M4}from"react/jsx-runtime";import{jsx as A4}from"react/jsx-runtime";import{Fragment as O4,jsx as T4,jsxs as B4}from"react/jsx-runtime";import{Fragment as w4,jsx as _4,jsxs as D4}from"react/jsx-runtime";import{Fragment as G4,jsx as F4,jsxs as V4}from"react/jsx-runtime";import{Fragment as J4,jsx as W4}from"react/jsx-runtime";var ti="appbar",bd=ti;import{jsx as gh}from"react/jsx-runtime";var oi="k-appbar",Nh=[],hh={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary,h.inverse]},vh={},Ce=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return gh("div",{...n,className:s(e.className,oi,E(oi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};Ce.states=Nh;Ce.options=hh;Ce.className=oi;Ce.defaultOptions=vh;Ce.moduleName=ti;Ce.folderName=bd;import{jsx as Mh}from"react/jsx-runtime";var Lh="k-appbar-section",vt=e=>{let{...t}=e;return Mh("div",{...t,className:s(Lh,e.className),children:e.children})};import{Fragment as d8,jsx as l8,jsxs as p8}from"react/jsx-runtime";import{jsx as j,jsxs as pa}from"react/jsx-runtime";var ai={...Ce.options,positionMode:["static","sticky","fixed"]},Sh=Ce.states,xd={...Ce.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};ai.themeColor=["primary",...ai.themeColor.filter(e=>e!=="primary")];var kh=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],da=e=>{let{variant:t,...o}={...xd,...e},a=pa(Ce,{position:t,...o,children:[j(vt,{children:j($,{fillMode:"flat",icon:"menu"})}),j("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),j(vt,{children:j("h3",{className:"k-m-0",children:"AppBar"})}),j("span",{className:"k-spacer"}),pa(vt,{children:[j(at,{fillMode:"flat",children:"Button"}),j(at,{fillMode:"flat",children:"Button"}),j(at,{fillMode:"flat",children:"Button"})]}),j("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),j(vt,{children:j(ln,{value:"Input value"})}),pa(vt,{children:[j($,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),j("span",{className:"k-appbar-separator"}),j(Tn,{className:"k-mx-sm",children:j("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=pa("div",{style:{padding:"25px 10px"},children:[j("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!"}),j("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?"}),j("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!"}),j("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?pa("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):pa("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};da.options=ai;da.states=Sh;da.variants=kh;da.defaultOptions=xd;da.modifiers=[];da.className=Ce.className;var ni="suggestion",Nd=ni;import{jsx as Xn,jsxs as Eh}from"react/jsx-runtime";var qn="k-suggestion-group",Ch=[],Ah={},hd={layout:"scrollable",scrollingPosition:"start"},tt=e=>{let{layout:t=hd.layout,scrollingPosition:o,...a}=e,n=Xn("div",{...a,className:s(qn,{"k-suggestion-group-scrollable":t=="scrollable",[`${qn}-scrollable-start`]:o==="start"||o==="both",[`${qn}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?Xn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?Eh("div",{className:"k-suggestion-scrollwrap",children:[Xn(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,Xn(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};tt.states=Ch;tt.options=Ah;tt.className=qn;tt.defaultOptions=hd;tt.moduleName=ni;tt.folderName=Nd;import{jsx as Oh}from"react/jsx-runtime";var Wn="k-suggestion",yh=[r.active,r.hover,r.focus],Ih={themeColor:[h.undefined,h.base,h.primary,h.secondary,h.tertiary]},Th={text:"Suggestion"},ot=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,children:l,...m}=e;return Oh("span",{...m,className:s(e.className,Wn,C(Wn,{hover:a,active:o,focus:n}),E(Wn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":e["aria-label"]||i,children:l||i})};ot.states=yh;ot.options=Ih;ot.className=Wn;ot.item=Th;import{Fragment as w8,jsx as _8,jsxs as D8}from"react/jsx-runtime";import{Fragment as G8,jsx as F8,jsxs as V8}from"react/jsx-runtime";import{Fragment as J8,jsx as W8,jsxs as Y8}from"react/jsx-runtime";import{Fragment as wh,jsx as ee,jsxs as Jn}from"react/jsx-runtime";var Bh=V.states,Ph=V.defaultOptions,Kh=V.options,Rh=[{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"}],_h=[],ma=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=Jn(Ce,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[ee("span",{className:"k-spacer k-spacer-sized k-w-1"}),ee(vt,{children:ee("span",{children:"Chat with demo bot"})}),ee("span",{className:"k-spacer"}),ee(vt,{children:ee(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=ee(Ft,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=Jn(tt,{children:[ee(ot,{text:"Provide a CV template"}),ee(ot,{text:"Generate a cover letter"})]}),m=Jn(tt,{children:[ee(ot,{themeColor:"primary",text:"Thank you!"}),ee(ot,{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(y=>{switch(y){case"header":a.header=t?.[y]?n:!1;break;case"pinned":a.pinned=t?.[y]?i:!1;break;case"suggested":a.suggestedActions=t?.[y]?l:!1;break;case"author":a.author=t?.[y]?!0:null;break;case"avatar":a.avatar=t?.[y]?u:null;break;case"quick":a.quickReplies=t?.[y]?m:ee(wh,{});break;default:break}});let{header:c,pinned:L,suggestedActions:M,author:S,avatar:A,quickReplies:k}=a;return Jn($p,{value:"Thank you!",style:{minHeight:"100%"},...o,header:c,pinned:L,suggestedActions:M,children:[ee(W,{avatar:b,author:S?g:null,children:ee(F,{text:"Hello, this is a demo bot. How can I help you ?"})}),ee(W,{avatar:A?u:null,author:S?x:null,type:"sender",children:ee(F,{text:"Hello! Generate a cover letter."})}),ee(W,{avatar:b,author:S?g:null,children:ee(F,{text:"Sure. Here is a cover letter template",files:ee(Nt,{children:ee(Te,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),k]})};ma.options=Kh;ma.states=Bh;ma.variants=_h;ma.defaultOptions=Ph;ma.modifiers=Rh;ma.className=V.className;import{Fragment as Uh,jsx as rt,jsxs as Ja}from"react/jsx-runtime";var vd="k-message",Dh=[r.hover,r.selected,r.active,r.focus],Hh={},zh=[rt(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),rt(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),rt(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],ca={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:zh,failed:"Failed to send"},F=e=>{let{time:t=ca.time,text:o=ca.text,content:a,status:n=ca.status,statusIcon:i,toolbarItems:l=ca.toolbarItems,hover:m,selected:u,active:b,focus:x,toolbar:g,typing:c,expandable:L,expanded:M,removed:S,files:A,failed:k,...y}=e,w=k===!0?ca.failed:k;return Ja("div",{...y,className:s(vd,e.className,{"k-message-removed":S,"k-message-failed":k}),children:[k&&rt($,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),rt(Up,{typing:c,selected:u,hover:m,active:b,focus:x,content:Ja(Uh,{children:[a,o&&rt("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:M,files:A}),Ja("div",{className:"k-message-info",children:[n&&Ja("span",{className:"k-message-status",children:[i&&rt(v,{icon:i,size:"xsmall"}),n]}),t&&rt("time",{className:"k-message-time",children:t}),k&&Ja("span",{className:"k-message-failed-content",children:[k&&rt(v,{icon:"warning-triangle",size:"xsmall"}),k&&rt("span",{className:"k-message-failed-text",children:w})]})]}),g&&rt(U,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};F.states=Dh;F.options=Hh;F.className=vd;F.moduleName=null;F.folderName=null;F.defaultOptions=ca;var FV=F;export{vd as CHATMESSAGE_CLASSNAME,F as ChatMessage,FV as default};