@progress/kendo-themes-html 14.0.0-dev.4 → 14.0.0-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 (160) hide show
  1. package/dist/cjs/chat/chat-message.js +1 -1
  2. package/dist/cjs/chat/chat.spec.js +1 -1
  3. package/dist/cjs/chat/demos/chat.js +1 -1
  4. package/dist/cjs/chat/templates/chat-empty.js +1 -1
  5. package/dist/cjs/chat/templates/chat-expandable.js +1 -1
  6. package/dist/cjs/chat/templates/chat-failed.js +1 -1
  7. package/dist/cjs/chat/templates/chat-message-skeleton.js +1 -1
  8. package/dist/cjs/chat/templates/chat-message-toolbar.js +1 -1
  9. package/dist/cjs/chat/templates/chat-normal.js +1 -1
  10. package/dist/cjs/chat/templates/chat-pinned.js +1 -1
  11. package/dist/cjs/chat/templates/chat-stop-response.js +1 -1
  12. package/dist/cjs/chat/templates/chat-textarea-file.js +1 -1
  13. package/dist/cjs/chat/templates/chat-typing.js +1 -1
  14. package/dist/cjs/chat/templates/chat-upload.js +1 -1
  15. package/dist/cjs/editor/demos/editor.js +1 -1
  16. package/dist/cjs/editor/templates/editor-normal.js +1 -1
  17. package/dist/cjs/editor/templates/editor-resizable.js +1 -1
  18. package/dist/cjs/editor/templates/editor-responsive-toolbar.js +1 -1
  19. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  20. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  21. package/dist/cjs/index.js +8 -8
  22. package/dist/cjs/prompt/demos/prompt.js +1 -1
  23. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  24. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  25. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  26. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  27. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  28. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  29. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  30. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  31. package/dist/cjs/prompt-box/prompt-box.spec.js +1 -1
  32. package/dist/cjs/prompt-box/templates/prompt-box-auto-expanded.js +1 -1
  33. package/dist/cjs/prompt-box/templates/prompt-box-auto.js +1 -1
  34. package/dist/cjs/prompt-box/templates/prompt-box-multi.js +1 -1
  35. package/dist/cjs/prompt-box/templates/prompt-box-single.js +1 -1
  36. package/dist/cjs/prompt-box/templates/prompt-box-stop-response.js +1 -1
  37. package/dist/cjs/rating/demos/rating.js +1 -1
  38. package/dist/cjs/rating/rating-item.js +1 -1
  39. package/dist/cjs/rating/rating.spec.js +1 -1
  40. package/dist/cjs/rating/templates/rating-disabled.js +1 -1
  41. package/dist/cjs/rating/templates/rating-normal.js +1 -1
  42. package/dist/cjs/rating/templates/rating-readonly.js +1 -1
  43. package/dist/cjs/rating/templates/rating-with-label.js +1 -1
  44. package/dist/cjs/smart-box/smart-box-send-button.js +1 -1
  45. package/dist/cjs/smart-box/templates/smart-box-disabled-send.js +1 -1
  46. package/dist/cjs/smart-box/templates/smart-box-normal.js +1 -1
  47. package/dist/cjs/smart-box/templates/smart-box-opened-focused.js +1 -1
  48. package/dist/cjs/smart-box/templates/smart-box-processing.js +1 -1
  49. package/dist/cjs/speech-to-text-button/demos/speech-to-text-button.js +1 -1
  50. package/dist/cjs/speech-to-text-button/speech-to-text-button.spec.js +1 -1
  51. package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-listening.js +1 -1
  52. package/dist/cjs/speech-to-text-button/templates/speech-to-text-button-normal.js +1 -1
  53. package/dist/cjs/spreadsheet/demos/spreadsheet.js +1 -1
  54. package/dist/cjs/spreadsheet/spreadsheet-header.js +1 -1
  55. package/dist/cjs/spreadsheet/spreadsheet-sheets-bar.js +1 -1
  56. package/dist/cjs/spreadsheet/spreadsheet-view.js +1 -1
  57. package/dist/cjs/spreadsheet/templates/spreadsheet-formula-open.js +1 -1
  58. package/dist/cjs/spreadsheet/templates/spreadsheet-normal.js +1 -1
  59. package/dist/esm/chat/chat-message.mjs +1 -1
  60. package/dist/esm/chat/chat.spec.mjs +1 -1
  61. package/dist/esm/chat/demos/chat.mjs +1 -1
  62. package/dist/esm/chat/templates/chat-empty.mjs +1 -1
  63. package/dist/esm/chat/templates/chat-expandable.mjs +1 -1
  64. package/dist/esm/chat/templates/chat-failed.mjs +1 -1
  65. package/dist/esm/chat/templates/chat-message-skeleton.mjs +1 -1
  66. package/dist/esm/chat/templates/chat-message-toolbar.mjs +1 -1
  67. package/dist/esm/chat/templates/chat-normal.mjs +1 -1
  68. package/dist/esm/chat/templates/chat-pinned.mjs +1 -1
  69. package/dist/esm/chat/templates/chat-stop-response.mjs +1 -1
  70. package/dist/esm/chat/templates/chat-textarea-file.mjs +1 -1
  71. package/dist/esm/chat/templates/chat-typing.mjs +1 -1
  72. package/dist/esm/chat/templates/chat-upload.mjs +1 -1
  73. package/dist/esm/editor/demos/editor.mjs +1 -1
  74. package/dist/esm/editor/templates/editor-normal.mjs +1 -1
  75. package/dist/esm/editor/templates/editor-resizable.mjs +1 -1
  76. package/dist/esm/editor/templates/editor-responsive-toolbar.mjs +1 -1
  77. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  78. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  79. package/dist/esm/index.mjs +8 -8
  80. package/dist/esm/prompt/demos/prompt.mjs +1 -1
  81. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  82. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  83. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  84. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  85. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  86. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  87. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  88. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  89. package/dist/esm/prompt-box/prompt-box.spec.mjs +1 -1
  90. package/dist/esm/prompt-box/templates/prompt-box-auto-expanded.mjs +1 -1
  91. package/dist/esm/prompt-box/templates/prompt-box-auto.mjs +1 -1
  92. package/dist/esm/prompt-box/templates/prompt-box-multi.mjs +1 -1
  93. package/dist/esm/prompt-box/templates/prompt-box-single.mjs +1 -1
  94. package/dist/esm/prompt-box/templates/prompt-box-stop-response.mjs +1 -1
  95. package/dist/esm/rating/demos/rating.mjs +1 -1
  96. package/dist/esm/rating/rating-item.mjs +1 -1
  97. package/dist/esm/rating/rating.spec.mjs +1 -1
  98. package/dist/esm/rating/templates/rating-disabled.mjs +1 -1
  99. package/dist/esm/rating/templates/rating-normal.mjs +1 -1
  100. package/dist/esm/rating/templates/rating-readonly.mjs +1 -1
  101. package/dist/esm/rating/templates/rating-with-label.mjs +1 -1
  102. package/dist/esm/smart-box/smart-box-send-button.mjs +1 -1
  103. package/dist/esm/smart-box/templates/smart-box-disabled-send.mjs +1 -1
  104. package/dist/esm/smart-box/templates/smart-box-normal.mjs +1 -1
  105. package/dist/esm/smart-box/templates/smart-box-opened-focused.mjs +1 -1
  106. package/dist/esm/smart-box/templates/smart-box-processing.mjs +1 -1
  107. package/dist/esm/speech-to-text-button/demos/speech-to-text-button.mjs +1 -1
  108. package/dist/esm/speech-to-text-button/speech-to-text-button.spec.mjs +1 -1
  109. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-listening.mjs +1 -1
  110. package/dist/esm/speech-to-text-button/templates/speech-to-text-button-normal.mjs +1 -1
  111. package/dist/esm/spreadsheet/demos/spreadsheet.mjs +1 -1
  112. package/dist/esm/spreadsheet/spreadsheet-header.mjs +1 -1
  113. package/dist/esm/spreadsheet/spreadsheet-sheets-bar.mjs +1 -1
  114. package/dist/esm/spreadsheet/spreadsheet-view.mjs +1 -1
  115. package/dist/esm/spreadsheet/templates/spreadsheet-formula-open.mjs +1 -1
  116. package/dist/esm/spreadsheet/templates/spreadsheet-normal.mjs +1 -1
  117. package/package.json +3 -3
  118. package/src/_preview/tests/preview-components.tsx +2 -2
  119. package/src/chat/chat-message.tsx +3 -3
  120. package/src/chat/chat.spec.tsx +2 -2
  121. package/src/chat/tests/chat-files-layout.tsx +8 -8
  122. package/src/chat/tests/chat-files-pin.tsx +2 -2
  123. package/src/chat/tests/chat-files.tsx +6 -6
  124. package/src/chat/tests/chat-message-toolbar.tsx +2 -2
  125. package/src/colorpicker/tests/colorpicker-size-rounded.tsx +34 -0
  126. package/src/drawer/tests/drawer-item-states.tsx +3 -3
  127. package/src/editor/demos/editor.tsx +1 -1
  128. package/src/editor/templates/editor-normal.tsx +1 -1
  129. package/src/editor/templates/editor-resizable.tsx +1 -1
  130. package/src/editor/templates/editor-responsive-toolbar.tsx +1 -1
  131. package/src/editor/tests/editor-table-wizard.tsx +1 -1
  132. package/src/editor/tests/editor.tsx +2 -2
  133. package/src/grid/tests/grid-assistant-window.tsx +4 -4
  134. package/src/grid/tests/grid-row-pinning-adaptive.tsx +1 -1
  135. package/src/grid/tests/grid-semantic-search-popup.tsx +10 -10
  136. package/src/grid/tests/grid-toolbar.tsx +2 -2
  137. package/src/imageeditor/templates/imageeditor-crop.tsx +1 -1
  138. package/src/imageeditor/templates/imageeditor-resize.tsx +1 -1
  139. package/src/prompt/demos/prompt.tsx +4 -4
  140. package/src/prompt/templates/prompt-inline.tsx +1 -1
  141. package/src/prompt/templates/prompt-output.tsx +4 -4
  142. package/src/prompt/tests/prompt-inline-response-generation.tsx +2 -2
  143. package/src/prompt-box/prompt-box.spec.tsx +1 -1
  144. package/src/prompt-box/tests/prompt-box-affixes.tsx +8 -8
  145. package/src/prompt-box/tests/prompt-box-files.tsx +2 -2
  146. package/src/rating/rating-item.tsx +20 -5
  147. package/src/smart-box/smart-box-send-button.tsx +1 -1
  148. package/src/smart-box/templates/smart-box-disabled-send.tsx +1 -1
  149. package/src/smart-box/templates/smart-box-normal.tsx +1 -1
  150. package/src/smart-box/templates/smart-box-opened-focused.tsx +1 -1
  151. package/src/smart-box/templates/smart-box-processing.tsx +1 -1
  152. package/src/speech-to-text-button/speech-to-text-button.spec.tsx +2 -2
  153. package/src/spreadsheet/spreadsheet-header.tsx +1 -1
  154. package/src/spreadsheet/spreadsheet-sheets-bar.tsx +8 -8
  155. package/src/spreadsheet/tests/spreadsheet-tools.tsx +1 -1
  156. package/src/toolbar/tests/toolbar-fill-modes.tsx +2 -2
  157. package/dist/types/loader/tests/loader-container-overlay.d.ts +0 -2
  158. package/src/colorpicker/tests/colorpicker-size.tsx +0 -28
  159. package/src/loader/tests/loader-container-overlay.tsx +0 -30
  160. /package/dist/types/colorpicker/tests/{colorpicker-size.d.ts → colorpicker-size-rounded.d.ts} +0 -0
@@ -1 +1 @@
1
- var Hc=Object.create;var un=Object.defineProperty;var zc=Object.getOwnPropertyDescriptor;var Uc=Object.getOwnPropertyNames;var Fc=Object.getPrototypeOf,Gc=Object.prototype.hasOwnProperty;var Vc=(e,t)=>{for(var o in t)un(e,o,{get:t[o],enumerable:!0})},Bi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Uc(t))!Gc.call(e,n)&&n!==o&&un(e,n,{get:()=>t[n],enumerable:!(a=zc(t,n))||a.enumerable});return e};var Pi=(e,t,o)=>(o=e!=null?Hc(Fc(e)):{},Bi(t||!e||!e.__esModule?un(o,"default",{value:e,enumerable:!0}):o,e)),$c=e=>Bi(un({},"__esModule",{value:!0}),e);var lN={};Vc(lN,{CHATMESSAGE_CLASSNAME:()=>Ti,ChatMessage:()=>X,default:()=>iN});module.exports=$c(lN);var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:f,indeterminate:N,loading:x,empty:m,readonly:L,highlighted:k,...A}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":f,"k-indeterminate":N&&!l,"k-loading":x,"k-empty":m,"k-readonly":L,"k-highlighted":k},Object.keys(A).reduce((E,M)=>(M.startsWith("k-")?E[M]=A[M]:E[`k-${M}`]=A[M],E),{}))};function fn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ar={};function R(e){return ar[e]=(ar[e]||0)+1,`k-${e}-${ar[e]}`}var Pa=require("react/jsx-runtime"),nr="k-font-icon",Xc=[],qc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},Wc={},wa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,Pa.jsx)("span",{...l,className:r(e.className,nr,C(nr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,Pa.jsx)(Pa.Fragment,{})};wa.states=Xc;wa.options=qc;wa.className=nr;wa.defaultOptions=Wc;var wi=wa;var No=require("react/jsx-runtime"),rr="k-svg-icon",Jc=[],Yc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},Ri={viewBox:"0 0 24 24"},Ra=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=Ri.viewBox,icon:l,...c}=e;if(!l)return(0,No.jsx)(No.Fragment,{});if(l==="none")return(0,No.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let u=typeof l=="object"&&l.name&&l.name;return(0,No.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,No.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:i,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};Ra.states=Jc;Ra.options=Yc;Ra.className=rr;Ra.defaultOptions=Ri;var sr=Ra;var ir=Pi(require("@progress/kendo-svg-icons"));var Ki="icon",_i="icons";var zi=require("react");var Di=require("react"),Hi=(0,Di.createContext)({iconsType:"svg"});var Gt=require("react/jsx-runtime"),bn="k-icon",Zc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Qc=[],jc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},lr={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{iconsType:t}=(0,zi.useContext)(Hi),{size:o,themeColor:a,icon:n,type:i=t||lr.type,rotate:l,flip:c,viewBox:u=lr.viewBox,...f}=e;if(!n)return(0,Gt.jsx)(Gt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:n,size:o});let x=ir[n]?n:Zc(`${n}-icon`);return ir[x]?(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:ir[x],size:o,themeColor:a,rotate:l,flip:c,viewBox:u}):(0,Gt.jsx)(Gt.Fragment,{})}return(0,Gt.jsx)(wi,{...f,className:r(e.className,bn),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=Qc;v.options=jc;v.defaultOptions=lr;v.className=bn;v.moduleName=Ki;v.folderName=_i;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var pr="button",Ui=pr;var vt=require("react/jsx-runtime"),Ka="k-button",em=["icon-button"],tm=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},dr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=dr.showArrow,arrowIconName:c=dr.arrowIconName,variant:u,hover:f,focus:N,active:x,selected:m,disabled:L,togglable:k,ariaDisabled:A,icon:E,text:M,iconClassName:O,className:W,...Se}=e,Re=E!==void 0,Ke=e.children!==void 0;return(0,vt.jsxs)(t,{className:r(W,Ka,fn(Ka,u),C(Ka,{size:o,rounded:a,fillMode:n,themeColor:i}),y(Ka,{hover:f,focus:N,active:x,disabled:L||A,selected:m}),{"k-icon-button":!M&&!Ke&&Re}),...Se,"aria-pressed":k?m?"true":"false":void 0,"aria-disabled":A?"true":void 0,disabled:L||void 0,children:[E&&(0,vt.jsx)(v,{className:r(O,"k-button-icon"),icon:E}),M?(0,vt.jsxs)(vt.Fragment,{children:[M&&(0,vt.jsx)("span",{className:"k-button-text",children:M}),e.children]}):e.children&&(0,vt.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,vt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,vt.jsx)(v,{icon:c})})]})};p.states=tm;p.options=om;p.variants=em;p.className=Ka;p.defaultOptions=dr;p.moduleName=pr;p.folderName=Ui;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Fi=require("react/jsx-runtime"),fe=e=>(0,Fi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Gi=require("react/jsx-runtime"),_a=e=>(0,Gi.jsx)(p,{icon:"folder",children:"Button",...e});var Vi=require("react/jsx-runtime"),kt=e=>(0,Vi.jsx)(p,{children:"Button",...e});var hn=require("react/jsx-runtime"),am=p.options,nm=p.states,rm={...p.defaultOptions,variant:"text"},sm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],im=[],Ro=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,hn.jsx)(fe,{...o,icon:"star"});case"icon-and-text":return(0,hn.jsx)(_a,{...o,icon:"star",children:"Button"});default:return(0,hn.jsx)(kt,{...o,children:"Button"})}};Ro.options=am;Ro.states=nm;Ro.variants=sm;Ro.defaultOptions=rm;Ro.modifiers=im;Ro.className=p.className;var cr="button",$i=cr;var Xi=require("react/jsx-runtime"),Da="k-button-group",lm=[s.disabled],pm={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},dm={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,Xi.jsx)("div",{role:"group",...n,className:r(e.className,Da,C(Da,{fillMode:t}),y(Da,{disabled:o}),{[`${Da}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=lm;B.options=pm;B.className=Da;B.defaultOptions=dm;B.moduleName=cr;B.folderName=$i;B.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var mr=require("react/jsx-runtime");var ur=require("react/jsx-runtime");var fr=require("react/jsx-runtime");var br=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var xr=require("react/jsx-runtime");var qe=require("react/jsx-runtime"),cm={...p.options,...B.options},mm=p.states,um={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},fm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],bm=[],Ko=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,qe.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(p,{...a,icon:"star"}),(0,qe.jsx)(p,{...a,icon:"star"}),(0,qe.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,qe.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(p,{...a,icon:"star",children:"First"}),(0,qe.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,qe.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,qe.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(p,{...a,children:"First"}),(0,qe.jsx)(p,{...a,children:"Middle"}),(0,qe.jsx)(p,{...a,children:"Last"})]})};Ko.options=cm;Ko.states=mm;Ko.variants=fm;Ko.defaultOptions=um;Ko.modifiers=bm;Ko.className=B.className;var Ha="input",xn=Ha;var qi=require("react/jsx-runtime"),gn="k-input",hm=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],xm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},gm={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,qi.jsx)("span",{...x,className:r(e.className,gn,C(gn,{size:u,rounded:f,fillMode:N}),y(gn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};oe.states=hm;oe.options=xm;oe.className=gn;oe.defaultOptions=gm;oe.moduleName=Ha;oe.folderName=xn;var Wi=require("react/jsx-runtime"),Nn="k-picker",Nm=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],vm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},km={},Tt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,Wi.jsx)("span",{...x,className:r(e.className,Nn,C(Nn,{size:u,rounded:f,fillMode:N}),y(Nn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};Tt.states=Nm;Tt.options=vm;Tt.className=Nn;Tt.defaultOptions=km;Tt.moduleName=Ha;Tt.folderName=xn;var _o=require("react/jsx-runtime"),Ji="k-clear-value",Lm=[s.disabled,s.loading,s.readonly],Mm={},ot=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,_o.jsx)(_o.Fragment,{}):(0,_o.jsx)("span",{className:r(e.className,Ji),children:(0,_o.jsx)(v,{icon:"x"})})};ot.states=Lm;ot.options=Mm;ot.className=Ji;var Yi=require("react/jsx-runtime"),gr="k-input-inner",Sm=[],ym={},vn={type:"text",autocomplete:"off",value:"",placeholder:""},_e=e=>{let{value:t=vn.value,type:o=vn.type,placeholder:a=vn.placeholder,autocomplete:n=vn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,Yi.jsx)("input",{...c,type:o,className:r(e.className,gr,C(gr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};_e.states=Sm;_e.options=ym;_e.className=gr;var za=require("react/jsx-runtime"),Nr="k-input-inner",Am=[],Cm={},vo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,za.jsxs)("span",{...l,className:r(e.className,Nr,C(Nr,e)),children:[n,!n&&i&&(0,za.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,za.jsx)("span",{className:"k-input-value-text",children:t})]})};vo.states=Am;vo.options=Cm;vo.className=Nr;var Qi=require("react/jsx-runtime"),vr="k-input-inner",Em=[],Im={},Zi={value:"",placeholder:""},Ua=e=>{let{value:t=Zi.value,placeholder:o=Zi.placeholder,rows:a,disabled:n,...i}=e;return(0,Qi.jsx)("textarea",{...i,className:r(e.className,vr,C(vr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ua.states=Em;Ua.options=Im;Ua.className=vr;var Fa=require("react/jsx-runtime"),ji="k-input-loading-icon",Tm=[s.disabled,s.loading],We=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Fa.jsx)(Fa.Fragment,{}):(0,Fa.jsx)("span",{className:r(e.className,ji,"k-icon k-i-loading")})};We.states=Tm;We.className=ji;var Ga=require("react/jsx-runtime"),el="k-input-validation-icon",Om=[s.valid,s.invalid,s.disabled,s.loading],Bm={},De=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Ga.jsx)(Ga.Fragment,{}):(0,Ga.jsx)(v,{className:r(el),icon:i})};De.states=Om;De.options=Bm;De.className=el;var Va=require("react/jsx-runtime"),Pm="k-input-prefix",wm={direction:"horizontal"},lt=e=>{let{direction:t=wm.direction,...o}=e;return e.children?(0,Va.jsx)("span",{...o,className:r(Pm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Va.jsx)(Va.Fragment,{})};var $a=require("react/jsx-runtime"),Rm="k-input-suffix",Km={direction:"horizontal"},pt=e=>{let{direction:t=Km.direction,...o}=e;return e.children?(0,$a.jsx)("span",{...o,className:r(Rm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,$a.jsx)($a.Fragment,{})};var _m=require("react/jsx-runtime");var tl=require("react/jsx-runtime"),Dm="k-input-suffix-text",kr=e=>{let{children:t,...o}=e;return(0,tl.jsx)("span",{...o,className:r(Dm,e.className),children:t})};var al=require("react/jsx-runtime"),ol="k-input-separator",Hm={direction:"vertical"},dt=e=>{let{direction:t=Hm.direction,...o}=e;return(0,al.jsx)("span",{...o,className:r(ol,e.className,{[`${ol}-${t}`]:t})})};var ce=require("react/jsx-runtime"),zm=oe.states,Um=oe.defaultOptions,Fm=oe.options,Gm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Vm=[],Do=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,f=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,ce.jsxs)(oe,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(lt,{children:(0,ce.jsx)(v,{icon:"lock"})}),m&&(0,ce.jsx)(dt,{})]}),(0,ce.jsx)(_e,{placeholder:"Placeholder",value:"Value"}),x&&(0,ce.jsx)(De,{valid:o,invalid:a,loading:n,disabled:i}),(0,ce.jsx)(We,{loading:n,disabled:i}),N&&(0,ce.jsx)(ot,{loading:n,disabled:i,readonly:l,value:"Value"}),f&&(0,ce.jsxs)(ce.Fragment,{children:[m&&(0,ce.jsx)(dt,{}),(0,ce.jsx)(pt,{children:(0,ce.jsx)(kt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Do.options=Fm;Do.states=zm;Do.variants=Vm;Do.defaultOptions=Um;Do.modifiers=Gm;Do.className=oe.className;var Xa=require("react/jsx-runtime"),nl="k-color-preview",$m=[],Xm={},no=e=>{let{color:t,iconName:o,...a}=e;return(0,Xa.jsxs)("span",{...a,className:r(e.className,nl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Xa.jsx)(v,{icon:o,className:"k-color-preview-icon"}),(0,Xa.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};no.states=$m;no.options=Xm;no.className=nl;var Lr="popup",rl=Lr;var Mr=require("react/jsx-runtime"),sl="k-animation-container",qm=[],Wm={},il={positionMode:"absolute"},Ot=e=>{let{positionMode:t=il.positionMode,animationStyle:o,offset:a,...n}=e;return(0,Mr.jsx)("div",{...n,style:{...a,...e.style},className:r(e.className,sl,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Mr.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ot.states=qm;Ot.options=Wm;Ot.className=sl;Ot.defaultOptions=il;Ot.moduleName=Lr;Ot.folderName=rl;var Sr="popup",ll=Sr;var yr=require("react/jsx-runtime"),pl="k-popup",Jm=[],Ym={},dl={positionMode:"absolute"},q=e=>{let{offset:t,positionMode:o=dl.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,yr.jsx)(Ot,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,yr.jsx)("div",{...c,className:r(e.className,pl),children:e.children})})};q.states=Jm;q.options=Ym;q.className=pl;q.defaultOptions=dl;q.moduleName=Sr;q.folderName=ll;q.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ar="action-buttons",cl=Ar;var ul=require("react/jsx-runtime"),kn="k-actions",Zm=[],Qm={},Cr={alignment:"start",orientation:"horizontal"},at=e=>{let{alignment:t=Cr.alignment,orientation:o=Cr.orientation,...a}=e;return(0,ul.jsx)("div",{...a,className:r(kn,{[`${kn}-${t}`]:t,[`${kn}-${o}`]:o},e.className),children:e.children})};at.states=Zm;at.options=Qm;at.className=kn;at.defaultOptions=Cr;at.moduleName=Ar;at.folderName=cl;var ml=at;var bl=require("react/jsx-runtime"),jm="k-actionsheet-footer",fl={alignment:"stretched",orientation:"horizontal"},ro=e=>{let{alignment:t=fl.alignment,orientation:o=fl.orientation,template:a,as:n=a?"div":at,...i}=e;return(0,bl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,jm),children:e.children})};var Er="searchbox",hl=Er;var so=require("react/jsx-runtime"),xl="k-searchbox",eu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],tu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ir={showIcon:!0,icon:"search"},ct=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,showIcon:L=Ir.showIcon,icon:k=Ir.icon,"aria-label":A,...E}=e;return(0,so.jsxs)(oe,{...E,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,className:r(e.className,xl),children:[L&&(0,so.jsx)(v,{className:"k-input-icon",icon:k}),(0,so.jsx)(_e,{placeholder:o,value:t,"aria-label":A}),(0,so.jsx)(We,{...e}),(0,so.jsx)(De,{...e}),(0,so.jsx)(ot,{...e})]})};ct.states=eu;ct.options=tu;ct.className=xl;ct.defaultOptions=Ir;ct.moduleName=Er;ct.folderName=hl;var ou=require("react/jsx-runtime");var Tr="textbox",gl=Tr;var ye=require("react/jsx-runtime"),Nl="k-textbox",au=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],nu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ln={showClearButton:!0,showValidationIcon:!0,separators:!0},be=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Ln.separators,showClearButton:i=Ln.showClearButton,showValidationIcon:l=Ln.showValidationIcon,prefix:c,suffix:u,type:f,value:N,placeholder:x,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:W,id:Se,"aria-label":Re,"aria-describedby":Ke,...tt}=e;return(0,ye.jsxs)(oe,{...tt,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:W,className:r(e.className,Nl),children:[c&&(0,ye.jsxs)(ye.Fragment,{children:[(0,ye.jsx)(lt,{children:c}),n&&(0,ye.jsx)(dt,{})]}),(0,ye.jsx)(_e,{id:Se,placeholder:x,value:N,type:f,disabled:O,"aria-label":Re,"aria-describedby":Ke,"aria-invalid":A?"true":void 0}),l&&(0,ye.jsx)(De,{valid:k,invalid:A,loading:M,disabled:O}),(0,ye.jsx)(We,{loading:M,disabled:O}),i&&(0,ye.jsx)(ot,{loading:M,disabled:O,readonly:W,value:N}),u&&(0,ye.jsxs)(ye.Fragment,{children:[n&&(0,ye.jsx)(dt,{}),(0,ye.jsx)(pt,{children:u})]})]})};be.states=au;be.options=nu;be.className=Nl;be.defaultOptions=Ln;be.moduleName=Tr;be.folderName=gl;be.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var qa=be;var vl=require("react/jsx-runtime"),Mn=e=>(0,vl.jsx)(qa,{...e});var kl=require("react/jsx-runtime");var Ll=require("react/jsx-runtime");var ru=require("react/jsx-runtime");var Sn=require("react/jsx-runtime"),su=be.states,iu=be.defaultOptions,lu=be.options,pu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],du=[],Ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Sn.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Sn.jsx)(kt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Sn.jsx)(Mn,{value:"Value",style:{width:300},...o,...a})};Ho.options=lu;Ho.states=su;Ho.variants=du;Ho.defaultOptions=iu;Ho.modifiers=pu;Ho.className=be.className;var nt=require("react/jsx-runtime"),Ml="k-actionsheet-titlebar",cu={},He=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:f,titleId:N,children:x,...m}=e;return(0,nt.jsxs)("div",{...m,className:r(e.className,Ml),children:[(0,nt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,nt.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,nt.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,nt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,nt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,nt.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),n&&(0,nt.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,nt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,nt.jsx)(be,{value:c,placeholder:u,size:f?"large":"medium","aria-label":t||u||"Input"}):(0,nt.jsx)(ct,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};He.className=Ml;He.defaultOptions=cu;var zo=require("react/jsx-runtime"),Or="k-actionsheet-view",mu=[],uu={},fu={},Uo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===He&&(0,zo.jsx)(He,{adaptive:t,titleId:l,...n==null?void 0:n.props}),f=(i==null?void 0:i.type)===ro&&(0,zo.jsx)(ro,{...i==null?void 0:i.props});return(0,zo.jsxs)("div",{...c,className:r(e.className,Or,{[`${Or}-animated`]:o}),children:[u,(0,zo.jsx)("div",{className:"k-actionsheet-content",children:a}),f]})};Uo.states=mu;Uo.options=uu;Uo.className=Or;Uo.defaultOptions=fu;var Wa="action-sheet",yn=Wa;var Br="overlay",Sl=Br;var Al=require("react/jsx-runtime"),yl="k-overlay",bu=[],hu={},xu={},Bt=e=>{let{...t}=e;return(0,Al.jsx)("div",{...t,className:r(e.className,yl),children:e.children})};Bt.states=bu;Bt.options=hu;Bt.className=yl;Bt.defaultOptions=xu;Bt.moduleName=Br;Bt.folderName=Sl;var ko=require("react/jsx-runtime"),Cl="k-actionsheet",gu=[],Nu={},Ja={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ee=e=>{let{side:t=Ja.side,fullscreen:o=Ja.fullscreen,adaptive:a=Ja.adaptive,overlay:n=Ja.overlay,template:i,children:l,header:c,footer:u,id:f,...N}=e,x=f&&!i&&c?`${f}-title`:void 0;return(0,ko.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,ko.jsx)(Bt,{}),(0,ko.jsx)(Ot,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,ko.jsx)("div",{...N,id:f,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":x,className:r(e.className,Cl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,ko.jsx)(Uo,{header:c,footer:u,adaptive:a,titleId:x,...e,children:l})})})]})};ee.states=gu;ee.options=Nu;ee.className=Cl;ee.defaultOptions=Ja;ee.moduleName=Wa;ee.folderName=yn;ee.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var Il=require("react/jsx-runtime"),El="k-actionsheet-container",vu=[],ku={},Lu={},Fo=e=>{let{children:t,...o}=e;return(0,Il.jsx)("div",{...o,className:El,children:t})};Fo.states=vu;Fo.options=ku;Fo.className=El;Fo.defaultOptions=Lu;Fo.moduleName=Wa;Fo.folderName=yn;var Tl=require("react/jsx-runtime"),Pr=e=>{let{...t}=e;return(0,Tl.jsx)("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};var mt=require("react/jsx-runtime"),wr="k-actionsheet-item",Mu=[s.hover,s.focus,s.selected,s.disabled],io=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,mt.jsxs)("span",{...u,className:r(e.className,wr,y(wr,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,mt.jsx)(mt.Fragment,{children:(0,mt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,mt.jsx)("span",{className:"k-icon-wrap",children:(0,mt.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,mt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,mt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,mt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};io.states=Mu;io.className=wr;var Ol=require("react/jsx-runtime");var Su=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var Au=require("react/jsx-runtime");var J=require("react/jsx-runtime"),Cu=ee.options,Eu=ee.states,Pl={...ee.defaultOptions,variant:"normal"},Iu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Tu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Go=e=>{let{variant:t,modifiers:o,...a}={...Pl,...e},n={},i=(0,J.jsxs)(Pr,{children:[(0,J.jsx)(io,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,J.jsx)(io,{text:"Add to Favorites",iconName:"heart"}),(0,J.jsx)(io,{text:"Upload New",iconName:"upload",disabled:!0}),(0,J.jsx)("hr",{className:"k-hr"}),(0,J.jsx)(io,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!(o!=null&&o[u]),n.actionsEnd=!!(o!=null&&o[u]);break;case"subtitle":n.subtitle=o!=null&&o[u]?l:void 0;break;case"footer":n.footer=!!(o!=null&&o[u]);break;default:break}}),t==="adaptive"?(0,J.jsx)(ee,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,J.jsx)(He,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,J.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,J.jsx)(ee,{...a,fullscreen:n.fullScreen,header:(0,J.jsx)(He,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,J.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Go.options=Cu;Go.states=Eu;Go.variants=Iu;Go.defaultOptions=Pl;Go.modifiers=Tu;Go.className=ee.className;var Rr="slider",wl=Rr;var Lt=require("react/jsx-runtime"),Ya="k-slider",Ou=[s.hover,s.focus,s.active,s.disabled,s.readonly],Bu={},ut={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},V=e=>{let{type:t=ut.type,orientation:o=ut.orientation,gradientType:a=ut.gradientType,readonly:n=ut.readonly,disabled:i=ut.disabled,handlePosition:l=ut.handlePosition,showButtons:c=ut.showButtons,showTicks:u=ut.showTicks,value:f=ut.value,min:N=ut.min,max:x=ut.max,startValue:m,endValue:L,hover:k,focus:A,active:E,trackStyle:M,dir:O,...W}=e,Re=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Ke,tt;return o==="horizontal"?(Ke=O==="rtl"?"chevron-left":"chevron-right",tt=O==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Ke="chevron-up",tt="chevron-down"),(0,Lt.jsxs)("div",{...W,className:r(Ya,e.className,y(Ya,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:O,children:[c&&(0,Lt.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:tt,tabIndex:-1,title:"Decrease"}),(0,Lt.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Lt.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Lt.jsxs)("div",{className:"k-slider-track",style:M,children:[(0,Lt.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Lt.jsx)("span",{className:r("k-draghandle","k-draghandle-start",y(Ya,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":Re,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":W["aria-label"]?`${W["aria-label"]} start`:"Range start"}),(0,Lt.jsx)("span",{className:r("k-draghandle",`k-draghandle-${l}`,y(Ya,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??x:f,"aria-valuemin":t==="range"?m??N:N,"aria-valuemax":x,"aria-orientation":Re,"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"]})]})]}),c&&(0,Lt.jsx)(p,{className:"k-button-increase",rounded:"full",icon:Ke,tabIndex:-1,title:"Increase"})]})};V.states=Ou;V.options=Bu;V.className=Ya;V.defaultOptions=ut;V.moduleName=Rr;V.folderName=wl;V.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var Kr=require("react/jsx-runtime"),Rl="k-tick",Pu=[],wu={},Kl={label:!1},I=e=>{let{style:t,label:o=Kl.label,orientation:a,large:n,text:i,...l}=e;return(0,Kr.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:r(e.className,Rl,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,Kr.jsx)("span",{className:"k-label",children:i})})};I.states=Pu;I.options=wu;I.className=Rl;I.defaultOptions=Kl;var he=require("react/jsx-runtime"),_l=e=>(0,he.jsx)(V,{"aria-label":e["aria-label"]||"Slider",children:(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{label:!0,large:!0,text:"5"}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var xe=require("react/jsx-runtime"),Dl=e=>(0,xe.jsx)(V,{children:(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{label:!0,large:!0,text:"5"}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var _r=require("react/jsx-runtime");var Dr=require("react/jsx-runtime");var Hl=require("react/jsx-runtime"),Hr=e=>(0,Hl.jsx)(V,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var zl=require("react/jsx-runtime"),zr=e=>(0,zl.jsx)(V,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ur=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),Ru=V.options,Ku=V.states,Ul={...V.defaultOptions,variant:"horizontal",label:!0},_u=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Du=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Ul,...e},n={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{n.showButtons=!!(o!=null&&o[f]);break}case"label":{n.label=!!(o!=null&&o[f]);break}case"tick":{n.showTicks=!!(o!=null&&o[f]);break}}});let{label:i=!0,showButtons:l,showTicks:c}=n,u={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Je.jsxs)(Dl,{showTicks:c,showButtons:l,style:{height:"300px",...u},...a,children:[(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Je.jsxs)(_l,{showTicks:c,showButtons:l,style:{width:"400px",...u},...a,children:[(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Vo.options=Ru;Vo.states=Ku;Vo.variants=_u;Vo.defaultOptions=Ul;Vo.modifiers=Du;Vo.className=V.className;var Za=require("react/jsx-runtime"),Fl="k-spin-button",Uu=[],Fu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Gr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},lo=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Gr.increaseLabel,decreaseLabel:i=Gr.decreaseLabel,...l}=e;return(0,Za.jsxs)("span",{...l,className:r(Fl,e.className),children:[(0,Za.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Za.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};lo.states=Uu;lo.options=Fu;lo.className=Fl;lo.defaultOptions=Gr;lo.moduleName=null;lo.folderName=null;var Gl="numeric-textbox",Vl="numerictextbox";var ge=require("react/jsx-runtime"),$l="k-numerictextbox",Gu=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Vu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},An={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=An.separators,showClearButton:i=An.showClearButton,showSpinButton:l=An.showSpinButton,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,id:W,"aria-label":Se,"aria-describedby":Re,...Ke}=e;return(0,ge.jsxs)(oe,{...Ke,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,$l),children:[c&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(lt,{children:c}),n&&(0,ge.jsx)(dt,{})]}),(0,ge.jsx)(_e,{id:W,placeholder:N,value:f,role:"spinbutton",disabled:M,"aria-label":Se,"aria-describedby":Re,"aria-invalid":k?"true":void 0}),(0,ge.jsx)(De,{valid:L,invalid:k,loading:E,disabled:M}),(0,ge.jsx)(We,{loading:E,disabled:M}),i&&(0,ge.jsx)(ot,{loading:E,disabled:M,readonly:O,value:f}),u&&(0,ge.jsxs)(ge.Fragment,{children:[n&&(0,ge.jsx)(dt,{}),(0,ge.jsx)(pt,{children:u})]}),l&&(0,ge.jsx)(lo,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};D.states=Gu;D.options=Vu;D.className=$l;D.defaultOptions=An;D.moduleName=Gl;D.folderName=Vl;D.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Qa=D;var ql=require("react/jsx-runtime"),Xl=e=>(0,ql.jsx)(Qa,{...e});var En=Pi(require("react"));var Vr=require("react/jsx-runtime"),$u="k-list-group-sticky-header",$r=e=>(0,Vr.jsx)("div",{className:r($u,e.className),children:(0,Vr.jsx)("div",{className:"k-list-header-text",children:e.children})});var Wl=require("react/jsx-runtime"),Xu="k-no-data",Cn=e=>{let{live:t,...o}=e;return(0,Wl.jsx)("span",{...o,className:r(Xu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Lo="list",$o=Lo;var Xo=require("react/jsx-runtime"),Xr="k-list",qu=[],Wu={size:[d.undefined,d.small,d.medium,d.large]},Ju={},K=e=>{var L;let{size:t,virtualization:o,children:a,header:n,optionLabel:i,customValue:l,noData:c,screenReaders:u,...f}=e,x=En.default.Children.toArray(a)[0],m=(L=x==null?void 0:x.props)!=null&&L.children?En.default.Children.count(x.props.children):En.default.Children.count(a);return(0,Xo.jsxs)("div",{...f,className:r(e.className,Xr,C(Xr,{size:t}),{"k-virtual-list":o}),children:[i,l,n&&(0,Xo.jsx)($r,{children:n}),a||(c!==void 0?c:(0,Xo.jsx)(Cn,{live:!0,children:"No data found."})),u&&a&&(0,Xo.jsxs)(Cn,{className:"k-sr-only",live:!0,children:[m," items found."]})]})};K.states=qu;K.options=Wu;K.className=Xr;K.defaultOptions=Ju;K.moduleName=Lo;K.folderName=$o;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Yl=require("react/jsx-runtime"),Jl="k-list-container",Yu=[],Zu={},Qu={},qo=e=>{let{...t}=e;return(0,Yl.jsx)("div",{...t,className:r(e.className,Jl),children:e.children})};qo.states=Yu;qo.options=Zu;qo.className=Jl;qo.defaultOptions=Qu;qo.moduleName=Lo;qo.folderName=$o;var Mo="checkbox",Wo=Mo;var qr=require("react/jsx-runtime"),In="k-checkbox",ju=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],ef={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},tf={},ft=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:f,size:N,rounded:x,wrapperRole:m,...L}=e;return(0,qr.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,qr.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,In,C(In,{size:N,rounded:x}),y(In,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};ft.states=ju;ft.options=ef;ft.className=In;ft.defaultOptions=tf;ft.moduleName=Mo;ft.folderName=Wo;ft.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var Mt=ft;var jl=require("react/jsx-runtime"),Zl="k-checkbox-list",of=[],af={},Ql={layout:"vertical"},ze=e=>{let{layout:t=Ql.layout,...o}=e;return(0,jl.jsx)("ul",{...o,className:r(e.className,Zl,{[`k-list-${t}`]:t}),children:e.children})};ze.states=of;ze.options=af;ze.className=Zl;ze.defaultOptions=Ql;ze.moduleName=Mo;ze.folderName=Wo;var tp=require("react/jsx-runtime"),ep="k-checkbox-list-item",nf=[],rf={},sf={},Ue=e=>{let{...t}=e;return(0,tp.jsx)("li",{...t,className:r(e.className,ep),children:e.children})};Ue.states=nf;Ue.options=rf;Ue.className=ep;Ue.defaultOptions=sf;Ue.moduleName=Mo;Ue.folderName=Wo;var So=require("react/jsx-runtime"),Vt=({children:e="Label",id:t="cb-label-after",...o})=>(0,So.jsxs)(So.Fragment,{children:[(0,So.jsx)(Mt,{id:t,...o}),(0,So.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Wr=require("react/jsx-runtime");var Jr=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var lf=require("react/jsx-runtime");var pf=require("react/jsx-runtime");var df=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),cf=ze.options,mf=ze.states,uf={...ze.defaultOptions,variant:"vertical"},ff=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],bf=[],Jo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ae.jsxs)(ze,{layout:"horizontal",...o,children:[(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})})]}):(0,Ae.jsxs)(ze,{...o,children:[(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})})]})};Jo.options=cf;Jo.states=mf;Jo.variants=ff;Jo.defaultOptions=uf;Jo.modifiers=bf;Jo.className=ze.className;var op=require("react/jsx-runtime"),hf=Mt.options,xf=Mt.states,gf=Mt.defaultOptions,Nf=[],vf=[],Yo=e=>(0,op.jsx)(Vt,{id:R("checkbox"),...e,defaultChecked:!0,children:"Label"});Yo.options=hf;Yo.states=xf;Yo.variants=Nf;Yo.defaultOptions=gf;Yo.modifiers=vf;Yo.className=Mt.className;var Pt=require("react/jsx-runtime"),Zr="k-list-item",kf=[s.hover,s.focus,s.selected,s.disabled],Lf={},Mf={},P=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:i,showCheckbox:l,checked:c,hover:u,focus:f,selected:N,disabled:x,actions:m,description:L,id:k,...A}=e,E=t||e.children;return(0,Pt.jsxs)("li",{...A,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:r(e.className,a?"k-list-group-item":Zr,y(Zr,{hover:u,focus:f,disabled:x,selected:N})),children:[l&&(0,Pt.jsx)(ft,{checked:c}),n&&(0,Pt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Pt.jsx)(v,{icon:n,className:r("k-list-item-icon",i)})}),(0,Pt.jsx)("span",{className:"k-list-item-text",children:E}),m&&(0,Pt.jsx)("div",{className:"k-list-item-actions",children:m}),L&&(0,Pt.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,Pt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};P.states=kf;P.options=Lf;P.className=Zr;P.defaultOptions=Mf;P.moduleName=Lo;P.folderName=$o;P.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var ap=require("react/jsx-runtime"),Sf="k-list-ul",$t=e=>{let{children:t,role:o,id:a,...n}=e;return(0,ap.jsx)("ul",{...n,id:a,role:o,className:r(Sf,e.className),children:t})};$t.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var Zo=require("react/jsx-runtime"),yf="k-list-content",F=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,Zo.jsxs)("div",{...l,className:r(yf,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:(0,Zo.jsx)($t,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,Zo.jsx)("div",{className:"k-height-container",children:(0,Zo.jsx)("div",{})})]})};F.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Qr=require("react/jsx-runtime");var Qo=require("react/jsx-runtime"),Af="k-list-group-item",yo=e=>{let{groupIconName:t,...o}=e;return(0,Qo.jsxs)("li",{...o,role:"presentation",className:r(Af,e.className),children:[t&&(0,Qo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Qo.jsx)(v,{icon:t,className:"k-list-item-icon"})}),(0,Qo.jsx)("span",{className:"k-list-item-text",children:e.children})]})};yo.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var np=require("react/jsx-runtime"),jr="k-list-optionlabel",Cf=[s.hover,s.focus,s.selected,s.disabled],Ef={},If={},Tn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,np.jsx)("div",{...l,className:r(jr,y(jr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Tn.states=Cf;Tn.options=Ef;Tn.className=jr;Tn.defaultOptions=If;var rp=require("react/jsx-runtime"),es="k-list-custom-value",Tf=[s.hover,s.focus,s.selected,s.disabled],Of={},Bf={},po=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,rp.jsx)("div",{...l,className:r(es,y(es,{hover:o,focus:a,selected:n,disabled:i})),children:t})};po.states=Tf;po.options=Of;po.className=es;po.defaultOptions=Bf;var ts=require("react/jsx-runtime");var os=require("react/jsx-runtime");var as=require("react/jsx-runtime");var ns=require("react/jsx-runtime");var Pf=require("react/jsx-runtime");var rs=require("react/jsx-runtime");var sp="dropdown-list",ip="dropdownlist";var Y=require("react/jsx-runtime"),lp="k-dropdownlist",wf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Rf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},ss={showValue:!0,arrowIconName:"chevron-down"},le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=ss.arrowIconName,showValue:i=ss.showValue,valueIconName:l,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,popup:W,opened:Se,adaptive:Re,adaptiveSettings:Ke,adaptiveTitle:tt,adaptiveSubtitle:go,adaptiveFilter:er,id:ao,activeDescendant:mn,"aria-label":tr,...or}=e,Dc=ao?`${ao}-listbox`:void 0,Oi=ao?`${ao}-value`:void 0;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(Tt,{...or,id:ao,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,lp,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Se?"true":"false","aria-controls":Se?Dc:void 0,"aria-activedescendant":Se&&mn?mn:void 0,"aria-describedby":Se?Oi:void 0,"aria-disabled":M?"true":void 0,"aria-label":tr,tabIndex:0,children:[(0,Y.jsx)(lt,{children:c}),(0,Y.jsx)(vo,{placeholder:N,value:f,showValue:i,valueIconName:l,id:Oi}),(0,Y.jsx)(De,{valid:L,invalid:k,loading:E,disabled:M}),(0,Y.jsx)(We,{loading:E,disabled:M}),(0,Y.jsx)(pt,{children:u}),(0,Y.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),Se&&W&&(0,Y.jsx)(q,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:W}),Re&&(0,Y.jsx)(ee,{adaptive:!0,...Ke,header:(0,Y.jsx)(He,{actionsEnd:(0,Y.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:er,inputValue:f,inputPlaceholder:N,title:tt,subtitle:go}),children:(0,Y.jsx)("div",{className:"k-list-container",children:(0,Y.jsx)(K,{size:"large",children:(0,Y.jsxs)(F,{"aria-label":"Options",children:[(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"})]})})})})]})};le.states=wf;le.options=Rf;le.className=lp;le.defaultOptions=ss;le.moduleName=sp;le.folderName=ip;le.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var Kf=require("react/jsx-runtime");var pp=require("react/jsx-runtime");var is=require("react/jsx-runtime");var _f=require("react/jsx-runtime");var dp=require("react/jsx-runtime");var ls=require("react/jsx-runtime");var Df=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),Hf=le.states,zf=le.defaultOptions,Uf=le.options,Ff=[{name:"opened",title:"Opened"}],Gf=[],ea=e=>{let{modifiers:t,...o}=e,a={},n=(0,Ye.jsxs)(Ye.Fragment,{children:[(0,Ye.jsx)("div",{className:"k-list-filter",children:(0,Ye.jsx)(ct,{})}),(0,Ye.jsx)(K,{style:{width:300},size:o.size,children:(0,Ye.jsxs)(F,{children:[(0,Ye.jsx)(P,{children:"List item"}),(0,Ye.jsx)(P,{children:"List item"}),(0,Ye.jsx)(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0)}),(0,Ye.jsx)("div",{children:(0,Ye.jsx)(le,{placeholder:"Value",style:{width:300},...o,...a})})};ea.options=Uf;ea.states=Hf;ea.variants=Gf;ea.defaultOptions=zf;ea.modifiers=Ff;ea.className=le.className;var cp=require("react/jsx-runtime");var mp=require("react/jsx-runtime");var Vf=require("react/jsx-runtime");var On=require("react/jsx-runtime"),$f=D.states,Xf=D.defaultOptions,qf=D.options,Wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Jf=[],ta=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,On.jsx)(le,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,On.jsx)(kr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,On.jsx)(Xl,{value:"Value",style:{width:300},...o,...a})};ta.options=qf;ta.states=$f;ta.variants=Jf;ta.defaultOptions=Xf;ta.modifiers=Wf;ta.className=D.className;var S=require("react/jsx-runtime"),up="k-colorgradient-inputs",Yf=[],Zf={size:[d.undefined,d.small,d.medium,d.large]},fp={mode:"rgba"},oa=e=>{let{mode:t=fp.mode,size:o,...a}=e;return(0,S.jsxs)("div",{...a,className:r(up,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(be,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};oa.states=Yf;oa.options=Zf;oa.className=up;oa.defaultOptions=fp;var Ce=require("react/jsx-runtime"),bp="k-colorgradient-color-contrast",Qf=[],jf={},eb={},aa=()=>(0,Ce.jsxs)("div",{className:r(bp,"k-vbox"),children:[(0,Ce.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Ce.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Ce.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Ce.jsx)(v,{icon:"check"}),(0,Ce.jsx)(v,{icon:"check"})]})]}),(0,Ce.jsxs)("div",{children:[(0,Ce.jsx)("span",{children:"AA: 4.5"}),(0,Ce.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Ce.jsx)(v,{icon:"check"})]})]}),(0,Ce.jsxs)("div",{children:[(0,Ce.jsx)("span",{children:"AAA: 7.0"}),(0,Ce.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Ce.jsx)(v,{icon:"x"})]})]})]});aa.states=Qf;aa.options=jf;aa.className=bp;aa.defaultOptions=eb;var hp="color-gradient",xp="colorgradient";var pe=require("react/jsx-runtime"),Bn="k-colorgradient",tb=[s.hover,s.focus,s.readonly,s.disabled],ob={size:[d.undefined,d.small,d.medium,d.large]},wt={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"},me=e=>{let{size:t,mode:o=wt.mode,readonly:a=wt.readonly,disabled:n=wt.disabled,gradientStyle:i=wt.gradientStyle,dragHandleStyle:l=wt.dragHandleStyle,alphaStyle:c=wt.alphaStyle,alphaStyleHorizontal:u=wt.alphaStyleHorizontal,contrast:f=wt.contrast,dir:N,hover:x,focus:m,hoverHandle:L,focusHandle:k,canvasOrientation:A=wt.canvasOrientation,role:E,tabIndex:M,...O}=e;return(0,pe.jsxs)("div",{...O,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":n?"true":void 0,className:r(e.className,Bn,C(Bn,{size:t}),y(Bn,{hover:x,focus:m,readonly:a,disabled:n})),dir:N,children:[!A||A==="horizontal"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,pe.jsx)(zr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(zr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),A==="vertical"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,pe.jsx)(Hr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(Hr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),(0,pe.jsx)(oa,{mode:e.mode,size:t}),f&&(0,pe.jsx)(aa,{})]})};me.states=tb;me.options=ob;me.className=Bn;me.defaultOptions=wt;me.moduleName=hp;me.folderName=xp;me.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var gp=require("react/jsx-runtime"),Pn=e=>(0,gp.jsx)(me,{...e});var ab=require("react/jsx-runtime");var nb=require("react/jsx-runtime");var wn=require("react/jsx-runtime"),rb=me.options,sb=me.states,ib={...me.defaultOptions,variant:"rgba"},lb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],pb=[],na=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,wn.jsx)(Pn,{...o,mode:t});case"rgb":return(0,wn.jsx)(Pn,{...o,mode:t});default:return(0,wn.jsx)(Pn,{...o,mode:t})}};na.options=rb;na.states=sb;na.variants=lb;na.defaultOptions=ib;na.modifiers=pb;na.className=me.className;var Np=require("react/jsx-runtime"),ps=e=>(0,Np.jsx)("tr",{role:"row",children:e.children});var vp=require("react/jsx-runtime"),ds="k-colorpalette-tile",db=[s.hover,s.focus,s.selected],cb={},ra=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,vp.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,ds,y(ds,{hover:a,focus:n,selected:i})),style:c})};ra.states=db;ra.options=cb;ra.className=ds;var kp="color-palette",Lp="colorpalette";var sa=require("react/jsx-runtime"),Rn="k-colorpalette",mb=[s.disabled],ub={size:[d.undefined,d.small,d.medium,d.large]},Mp={columns:10},Fe=e=>{let{size:t,palette:o,columns:a=Mp.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/u)},(N,x)=>{let m=[];f.slice(x*u,(x+1)*u).map((k,A)=>{m.push((0,sa.jsx)(ra,{color:k,tileSize:n},A))});let L=(0,sa.jsx)(ps,{children:m},x);c.push(L)})}return(0,sa.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:r(e.className,Rn,y(Rn,{disabled:i}),C(Rn,{size:t})),children:(0,sa.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,sa.jsx)("tbody",{children:c.length>0?c:e.children})})})};Fe.states=mb;Fe.options=ub;Fe.className=Rn;Fe.defaultOptions=Mp;Fe.moduleName=kp;Fe.folderName=Lp;Fe.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var Kn=Fe;var ja={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var yp=require("react/jsx-runtime"),Sp=e=>(0,yp.jsx)(Kn,{palette:ja.basic,...e});var fb=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var Cp=require("react/jsx-runtime"),bb=Fe.options,hb=Fe.states,xb={...Fe.defaultOptions,variant:"basic"},gb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Nb={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}},vb=[],ia=e=>{let{variant:t="basic",...o}=e,a=Nb[t];return(0,Cp.jsx)(Sp,{columns:a.columns,palette:a,...o})};ia.options=bb;ia.states=hb;ia.variants=gb;ia.defaultOptions=xb;ia.modifiers=vb;ia.className=Fe.className;var Ep="color-editor",Ip="coloreditor";var ae=require("react/jsx-runtime"),_n="k-coloreditor",kb=[s.focus],Lb={size:[d.undefined,d.small,d.medium,d.large]},en={view:"gradient",palette:ja.office,actionButtons:!0,canvasOrientation:"horizontal"},te=e=>{let{size:t,view:o=en.view,palette:a=en.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:f,actionButtons:N=en.actionButtons,canvasOrientation:x=en.canvasOrientation,...m}=e;return(0,ae.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",_n,C(_n,{size:t}),y(_n,{focus:l})),dir:u,children:[(0,ae.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ae.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&(0,ae.jsxs)(B,{fillMode:"flat",children:[(0,ae.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ae.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ae.jsx)("div",{className:"k-spacer"}),(0,ae.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ae.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ae.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ae.jsx)(no,{className:"k-coloreditor-preview-color",color:n}),(0,ae.jsx)(no,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ae.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ae.jsx)(me,{focus:c,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,ae.jsx)(Fe,{palette:a,size:t})}),N&&(0,ae.jsxs)(at,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ae.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ae.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};te.states=kb;te.options=Lb;te.className=_n;te.defaultOptions=en;te.moduleName=Ep;te.folderName=Ip;te.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var la=te;var Mb=require("react/jsx-runtime");var Sb=require("react/jsx-runtime");var Op=require("react/jsx-runtime"),Tp=e=>(0,Op.jsx)(la,{group:!0,currentColor:"fuchsia",...e});var Pp=require("react/jsx-runtime"),Bp=e=>(0,Pp.jsx)(la,{view:"palette",group:!0,currentColor:"fuchsia",...e});var cs=require("react/jsx-runtime"),yb=te.options,Ab=te.states,Cb={...te.defaultOptions,variant:"gradient"},Eb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Ib=[],pa=e=>{let{variant:t,...o}=e;return t==="palette"?(0,cs.jsx)(Bp,{...o,color:"white"}):(0,cs.jsx)(Tp,{...o,color:"rgba(183, 118 , 118, 1.00)"})};pa.options=yb;pa.states=Ab;pa.variants=Eb;pa.defaultOptions=Cb;pa.modifiers=Ib;pa.className=te.className;var wp="color-picker",Rp="colorpicker";var de=require("react/jsx-runtime"),Kp="k-colorpicker",Tb=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Ob={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},_p={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=_p.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,valueIconName:A,popup:E,opened:M,adaptive:O,adaptiveSettings:W,adaptiveTitle:Se,adaptiveSubtitle:Re,...Ke}=e,tt="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(Tt,{...Ke,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||O?tt:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:r(e.className,Kp,"k-icon-picker"),children:[(0,de.jsx)(lt,{children:i}),(0,de.jsx)(vo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,de.jsx)(no,{className:"k-value-icon",color:c,iconName:A}),valueIconName:A}),(0,de.jsx)(pt,{children:l}),(0,de.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&E&&(0,de.jsx)(q,{id:tt,className:"k-colorpicker-popup",children:E}),O&&(0,de.jsx)(ee,{adaptive:!0,id:tt,...W,header:(0,de.jsx)(He,{actionsEnd:(0,de.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Se,subtitle:Re}),footer:(0,de.jsxs)(ro,{children:[(0,de.jsx)(p,{text:"Cancel",size:"large"}),(0,de.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(te,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=Tb;rt.options=Ob;rt.className=Kp;rt.defaultOptions=_p;rt.moduleName=wp;rt.folderName=Rp;rt.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var Xt=rt;var Dp=require("react/jsx-runtime"),Dn=e=>(0,Dp.jsx)(Xt,{...e});var Bb=require("react/jsx-runtime");var Pb=require("react/jsx-runtime");var wb=require("react/jsx-runtime");var Rb=require("react/jsx-runtime");var Kb=require("react/jsx-runtime");var _b=require("react/jsx-runtime");var co=require("react/jsx-runtime"),Db=Xt.options,Hb=Xt.states,Hp={...Xt.defaultOptions,variant:"color"},zb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Ub=[{name:"opened",title:"Opened"}],da=e=>{let{variant:t,modifiers:o,...a}={...Hp,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,co.jsx)(te,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Dn,{...a,...n})});case"icon":return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Dn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Dn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};da.options=Db;da.states=Hb;da.variants=zb;da.defaultOptions=Hp;da.modifiers=Ub;da.className=Xt.className;var ms="combobox",zp=ms;var _=require("react/jsx-runtime"),Up="k-combobox",Fb=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Gb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Fp={separators:!0},Ee=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Fp.separators,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,popup:E,opened:M,readonly:O,adaptive:W,adaptiveSettings:Se,adaptiveTitle:Re,adaptiveSubtitle:Ke,adaptiveCustomValue:tt,id:go,autocomplete:er,activeDescendant:ao,"aria-label":mn,...tr}=e,or=go?`${go}-listbox`:void 0;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(oe,{...tr,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,readonly:O,className:r(e.className,Up),children:[i&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(lt,{children:i}),n&&(0,_.jsx)(dt,{})]}),(0,_.jsx)(_e,{id:go,placeholder:u,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?or:void 0,"aria-activedescendant":M&&ao?ao:void 0,"aria-autocomplete":er,"aria-invalid":m?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":mn,disabled:A,readOnly:O}),(0,_.jsx)(De,{valid:x,invalid:m,loading:k,disabled:A}),(0,_.jsx)(We,{loading:k,disabled:A}),(0,_.jsx)(ot,{loading:k,disabled:A,readonly:O,value:c}),l&&(0,_.jsxs)(_.Fragment,{children:[n&&(0,_.jsx)(dt,{}),(0,_.jsx)(pt,{children:l})]}),(0,_.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:A})]}),M&&E&&(0,_.jsx)(q,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),W&&(0,_.jsx)(ee,{adaptive:!0,id:go?`${go}-adaptive`:void 0,...Se,header:(0,_.jsx)(He,{actionsEnd:(0,_.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:u,title:Re,subtitle:Ke}),children:(0,_.jsx)("div",{className:"k-list-container",children:(0,_.jsx)(K,{customValue:tt?(0,_.jsx)(po,{text:`Use "${c}"`}):void 0,size:"large",children:(0,_.jsxs)(F,{"aria-label":Re||"Options",children:[(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"})]})})})})]})};Ee.states=Fb;Ee.options=Gb;Ee.className=Up;Ee.defaultOptions=Fp;Ee.moduleName=ms;Ee.folderName=zp;Ee.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var st=Ee;var Vp=require("react/jsx-runtime"),Gp=e=>(0,Vp.jsx)(st,{...e});var $p=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var qp=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var us=require("react/jsx-runtime");var Vb=require("react/jsx-runtime");var $b=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Qp=require("react/jsx-runtime");var St=require("react/jsx-runtime"),Xb=Ee.states,qb=Ee.defaultOptions,Wb=Ee.options,Jb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Yb=[],ca=e=>{let{modifiers:t,...o}=e,a={},n=(0,St.jsx)(K,{style:{width:300},size:o.size,children:(0,St.jsxs)(F,{children:[(0,St.jsx)(P,{children:"List item"}),(0,St.jsx)(P,{children:"List item"}),(0,St.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,St.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,St.jsx)(fe,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0;break;default:break}}),(0,St.jsx)("div",{children:(0,St.jsx)(Gp,{value:"Value",style:{width:300},...o,...a})})};ca.options=Wb;ca.states=Xb;ca.variants=Yb;ca.defaultOptions=qb;ca.modifiers=Jb;ca.className=Ee.className;var fs="menu-button",jp=fs;var td=require("react/jsx-runtime"),ed="k-menu-button",Zb=[s.hover,s.focus,s.active,s.selected,s.disabled],Qb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},bs={showArrow:!0,arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,showArrow:m=bs.showArrow,arrowIconName:L=bs.arrowIconName,expanded:k,...A}=e;return(0,td.jsx)(p,{...A,className:r(e.className,ed),text:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,showArrow:m,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};H.states=Zb;H.options=Qb;H.className=ed;H.defaultOptions=bs;H.moduleName=fs;H.folderName=jp;H.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var jb=require("react/jsx-runtime");var eh=require("react/jsx-runtime");var th=require("react/jsx-runtime");var it="menu",bt=it;var qt=require("react/jsx-runtime"),hs="k-menu-item",oh=[s.hover,s.focus,s.active,s.selected,s.disabled],ah={},od={iconPosition:"before"},Ie=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=od.iconPosition,dir:L,children:k,expanded:A,...E}=e,M=x;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),(0,qt.jsxs)("li",{...E,className:r(e.className,hs,"k-item",y(hs,{focus:o,disabled:i,hover:t,active:a,selected:n}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":A?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,qt.jsxs)("span",{className:r("k-link k-menu-link"),children:[l&&m==="before"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,qt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,qt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,qt.jsx)(v,{icon:M})})]}),k]})};Ie.states=oh;Ie.options=ah;Ie.className=hs;Ie.defaultOptions=od;Ie.moduleName=it;Ie.folderName=bt;var Wt=require("react/jsx-runtime"),xs="k-menu-item",nh=[s.hover,s.focus,s.active,s.selected,s.disabled],rh={},gs={dir:"ltr",iconPosition:"before"},Z=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=gs.iconPosition,dir:L=gs.dir,children:k,popup:A,expanded:E,...M}=e,O=x;return O||(O=L==="rtl"?"chevron-left":"chevron-right"),(0,Wt.jsxs)("li",{...M,className:r(e.className,xs,"k-item",y(xs,{focus:o,disabled:i}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":E?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Wt.jsxs)("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&m==="before"&&(0,Wt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Wt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,Wt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,Wt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Wt.jsx)(v,{icon:O})})]}),k,A]})};Z.states=nh;Z.options=rh;Z.className=xs;Z.defaultOptions=gs;Z.moduleName=it;Z.folderName=bt;var rd=require("react/jsx-runtime"),ad="k-menu-scroll-wrapper",sh=[],ih={},lh={},Ao=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,rd.jsx)("div",{...n,className:r(t,ad,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Ao.states=sh;Ao.options=ih;Ao.className=ad;Ao.defaultOptions=lh;Ao.moduleName=it;Ao.folderName=bt;var nd=Ao;var Ne=require("react/jsx-runtime"),Ns="k-menu",ph=[],dh={},zn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ue=e=>{let{children:t,orientation:o=zn.orientation,header:a=zn.header,scrollable:n,scrollButtonsPosition:i=zn.scrollButtonsPosition,wrapperStyles:l,dir:c,popup:u,contextMenu:f,...N}=e,x={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},m=(0,Ne.jsx)("ul",{dir:c,...N,className:r(e.className,"k-reset",Ns,{[`${Ns}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,Ne.jsxs)(Ne.Fragment,{children:[n?(0,Ne.jsxs)(nd,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),m,i==="end"&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):m,u]})};ue.states=ph;ue.options=dh;ue.className=Ns;ue.defaultOptions=zn;ue.moduleName=it;ue.folderName=bt;ue.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var id=require("react/jsx-runtime"),vs="k-separator",sd={orientation:"horizontal"},ma=e=>{let{orientation:t=sd.orientation,...o}=e;return(0,id.jsx)("li",{...o,className:r(e.className,"k-item",vs,{[`${vs}-${t}`]:t}),role:"separator"})};ma.className=vs;ma.defaultOptions=sd;ma.moduleName=it;ma.folderName=bt;var ld=require("react/jsx-runtime");var pd=require("react/jsx-runtime"),ks="k-menu-group",ch=[],mh={size:[d.undefined,d.small,d.medium,d.large]},uh={},Te=e=>{let{children:t,size:o,...a}=e;return(0,pd.jsx)("ul",{...a,className:r(e.className,ks,C(ks,{size:o})),role:"menu",children:t})};Te.states=ch;Te.options=mh;Te.className=ks;Te.defaultOptions=uh;Te.moduleName=it;Te.folderName=bt;var yt=require("react/jsx-runtime"),Ls=e=>(0,yt.jsx)(ue,{children:(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(Ie,{first:!0,text:"Item 1"}),(0,yt.jsx)(Ie,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,yt.jsx)(Ie,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,yt.jsx)(Ie,{text:"Item 4"}),(0,yt.jsx)(Ie,{last:!0,text:"Item 5"})]}),...e});var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Rt=require("react/jsx-runtime"),fh=ue.options,bh=ue.states,dd={...ue.defaultOptions,variant:"horizontal"},hh=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],xh=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],ua=e=>{let{variant:t,modifiers:o,...a}={...dd,...e},n={};return Object.keys(o||{}).forEach(i=>{switch(i){case"scrollable":n.scrollable=!!(o!=null&&o[i]);break;case"opened":n.opened=!!(o!=null&&o[i]),n.popup=(0,Rt.jsx)(q,{className:"k-menu-popup",children:(0,Rt.jsxs)(Te,{children:[(0,Rt.jsx)(Z,{text:"Item 1"}),(0,Rt.jsx)(Z,{text:"Item 2"}),(0,Rt.jsx)(ma,{}),(0,Rt.jsx)(Z,{text:"Item 3"})]})});break}}),t==="vertical"?(0,Rt.jsx)(Ls,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,Rt.jsx)(Ls,{...a,...n})};ua.options=fh;ua.states=bh;ua.variants=hh;ua.defaultOptions=dd;ua.modifiers=xh;ua.className=ue.className;var Cs=require("react/jsx-runtime");var gh=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),Nh=p.states,cd={...p.defaultOptions,variant:"text"},vh=p.options,kh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Lh=[{name:"opened",title:"Opened"}],fa=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={},i=(0,Oe.jsx)(q,{className:"k-menu-popup",children:(0,Oe.jsxs)(Te,{size:a.size,children:[(0,Oe.jsx)(Z,{first:!0,text:"Menu Item"}),(0,Oe.jsx)(Z,{text:"Menu Item"}),(0,Oe.jsx)(Z,{last:!0,text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Oe.jsx)("div",{children:(0,Oe.jsx)(H,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Oe.jsx)("div",{children:(0,Oe.jsx)(H,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Oe.jsx)("div",{children:(0,Oe.jsx)(H,{...a,...n,children:"Dropdown Button"})});break}return(0,Oe.jsxs)(Oe.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};fa.options=vh;fa.states=Nh;fa.variants=kh;fa.defaultOptions=cd;fa.modifiers=Lh;fa.className=H.className;var Es="split-button",md=Es;var Jt=require("react/jsx-runtime"),Is="k-split-button",Mh=[s.hover,s.focus,s.active,s.selected,s.disabled],Sh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},ud={arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,arrowIconName:m=ud.arrowIconName,popup:L,opened:k,popupId:A,...E}=e;return(0,Jt.jsxs)(Jt.Fragment,{children:[(0,Jt.jsxs)("div",{...E,className:r(e.className,Is,"k-button-group",C(Is,{rounded:o})),children:[(0,Jt.jsx)(p,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,Jt.jsx)(p,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?A:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&(0,Jt.jsx)(q,{className:"k-menu-popup",children:L})]})};w.states=Mh;w.options=Sh;w.className=Is;w.defaultOptions=ud;w.moduleName=Es;w.folderName=md;w.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Ts=w;var fd=require("react/jsx-runtime"),yh="k-toolbar-separator",At=e=>(0,fd.jsx)("div",{className:r(yh,e.className,"k-separator")});var Yt="toolbar",mo=Yt;var T=require("react/jsx-runtime"),Zt="k-toolbar",Ah=[s.focus],Ch={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Eh={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...f}=e,N=[],x=(m,L)=>{let k=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))k.push((0,T.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)k.push((0,T.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===_a)k.push((0,T.jsx)(_a,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===fe)k.push((0,T.jsx)(fe,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===H)k.push((0,T.jsx)(H,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===Ts)k.push((0,T.jsx)(Ts,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===B||m.props.className&&m.props.className.includes("k-button-group")){let A=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((M,O)=>{A.push((0,T.jsx)(p,{...M.props,className:`${M.props.className?M.props.className:""}`},`${O}-${new Date().getTime()}`))}),k.push((0,T.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:A},`${L}-${new Date().getTime()}`))}else m.type===Ee?k.push((0,T.jsx)(Ee,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===le?k.push((0,T.jsx)(le,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===rt?k.push((0,T.jsx)(rt,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(m);k.forEach(A=>{N.push(A)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,T.jsxs)("div",{...f,className:r(e.className,Zt,C(Zt,{size:t,fillMode:o}),y(Zt,{focus:a}),{[`${Zt}-resizable`]:n,[`${Zt}-scrollable`]:i,[`${Zt}-scrollable-overlay`]:i&&l==="hidden",[`${Zt}-scrollable-${c}`]:c&&c!=="both",[`${Zt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&N,i&&l==="hidden"&&(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),i&&l==="start"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),i&&l==="end"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=Ah;G.options=Ch;G.className=Zt;G.defaultOptions=Eh;G.moduleName=Yt;G.folderName=mo;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var hd=require("react/jsx-runtime"),bd="k-floating-toolbar",Ih=[],Th={},Oh={},ba=e=>{let{...t}=e;return(0,hd.jsx)("div",{...t,className:r(e.className,bd),children:e.children})};ba.states=Ih;ba.options=Th;ba.className=bd;ba.defaultOptions=Oh;ba.moduleName=Yt;ba.folderName=mo;var xd=require("react/jsx-runtime"),Os="k-toolbar-item",Bh=[s.focus],Ph={},wh={},ha=e=>{let{focus:t,...o}=e;return(0,xd.jsx)("div",{...o,className:r(e.className,Os,y(Os,{focus:t})),children:e.children})};ha.states=Bh;ha.options=Ph;ha.className=Os;ha.defaultOptions=wh;ha.moduleName=Yt;ha.folderName=mo;var Bs=require("react/jsx-runtime"),gd="k-toolbar-popup",Rh=[],Kh={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},_h={},Co=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Bs.jsx)(q,{...n,className:r(e.className,gd),children:a?(0,Bs.jsx)("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Co.states=Rh;Co.options=Kh;Co.className=gd;Co.defaultOptions=_h;Co.moduleName=Yt;Co.folderName=mo;var Un=Co;var Dh=require("react/jsx-runtime");var Hh=require("react/jsx-runtime");var zh=require("react/jsx-runtime");var Nd=require("react/jsx-runtime");var Uh=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),Fh=w.states,vd={...w.defaultOptions,variant:"text"},Gh=w.options,Vh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],$h=[{name:"opened",title:"Opened"}],xa=e=>{let{variant:t,modifiers:o,...a}={...vd,...e},n={},i=(0,ht.jsxs)(Te,{size:a.size,children:[(0,ht.jsx)(Z,{first:!0,text:"Menu Item"}),(0,ht.jsx)(Z,{text:"Menu Item"}),(0,ht.jsx)(Z,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?i:"")}),t){case"icon-only":return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star"})});case"icon-and-text":return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,children:"Split Button"})})}};xa.options=Gh;xa.states=Fh;xa.variants=Vh;xa.defaultOptions=vd;xa.modifiers=$h;xa.className=w.className;var Kt=require("react/jsx-runtime"),kd=e=>(0,Kt.jsx)(G,{children:[(0,Kt.jsx)(p,{children:"Button"},"toolbar-button"),(0,Kt.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,Kt.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,Kt.jsxs)(B,{children:[(0,Kt.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Kt.jsx)(p,{icon:"align-center",children:"Center"}),(0,Kt.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ld=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),Md=e=>(0,ve.jsx)(G,{scrollable:!0,...e,children:[(0,ve.jsx)(p,{children:"Button"},"toolbar-button"),(0,ve.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ve.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ve.jsxs)(B,{children:[(0,ve.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ve.jsx)(p,{icon:"align-center",children:"Center"}),(0,ve.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ve.jsx)(p,{children:"Button"},"toolbar-button"),(0,ve.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ve.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ve.jsxs)(B,{children:[(0,ve.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ve.jsx)(p,{icon:"align-center",children:"Center"}),(0,ve.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var ke=require("react/jsx-runtime"),Sd=({scrollingPosition:e="start",...t})=>(0,ke.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var Q=require("react/jsx-runtime"),yd=({fillMode:e,size:t,...o})=>(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Q.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Q.jsxs)(B,{fillMode:e,children:[(0,Q.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Q.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Q.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Q.jsx)(At,{className:"k-toolbar-button-separator"}),(0,Q.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Q.jsxs)(Un,{size:t,fillMode:e,section:!0,...o,children:[(0,Q.jsx)(w,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Q.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Q.jsx)(At,{}),(0,Q.jsx)(H,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Q.jsxs)(B,{fillMode:e,children:[(0,Q.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Q.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Q.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Ps=require("react/jsx-runtime");var ws=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),Xh=G.options,qh=G.states,Ad={...G.defaultOptions,variant:"default"},Wh=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Jh=[],ga=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(yd,{style:{width:"583px"},...o})});case"overlay":return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(Sd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(Md,{style:{width:"583px"},...o})});default:return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(kd,{style:{width:"583px"},...o})})}};ga.options=Xh;ga.states=qh;ga.variants=Wh;ga.defaultOptions=Ad;ga.modifiers=Jh;ga.className=G.className;var tn=require("react/jsx-runtime"),Fn="k-fab",Qh=[s.hover,s.focus,s.active,s.selected,s.disabled],jh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Cd={type:"button"},ne=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=Cd.type,position:c,hover:u,focus:f,active:N,selected:x,disabled:m,...L}=e;return(0,tn.jsxs)("button",{...L,type:l,className:r(e.className,Fn,C(Fn,{size:t,rounded:o,themeColor:a}),y(Fn,{hover:u,focus:f,active:N,disabled:m,selected:x}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&(0,tn.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,tn.jsx)("span",{className:"k-fab-text",children:n})]})};ne.states=Qh;ne.options=jh;ne.className=Fn;ne.defaultOptions=Cd;ne.moduleName="fab";ne.folderName="fab";ne.ariaSpec={selector:".k-fab",rules:[{selector:".k-fab",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-fab",attribute:"aria-label or title (when icon-only)",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-fab.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."}]};var Id=require("react/jsx-runtime"),ex="k-fab-items",Ed=e=>{let{position:t,...o}=e;return(0,Id.jsx)("ul",{...o,className:r(e.className,ex,{[`k-fab-items-${t}`]:t}),children:e.children})};var on=require("react/jsx-runtime"),Td="k-fab-item",tx=[s.hover,s.focus,s.active,s.disabled],Rs=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,on.jsxs)("li",{...u,className:r(e.className,Td,{[`k-text-${a}`]:a},y(Td,{hover:n,focus:i,active:l,disabled:c})),children:[(0,on.jsx)("span",{className:"k-fab-item-text",children:t}),(0,on.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};Rs.states=tx;var ox=require("react/jsx-runtime");var Bd=require("react/jsx-runtime"),Od=e=>(0,Bd.jsx)(ne,{icon:"plus",...e});var ax=require("react/jsx-runtime");var nx=require("react/jsx-runtime");var jt=require("react/jsx-runtime"),rx=ne.options,sx=ne.states,ix={...ne.defaultOptions,variant:"text"},lx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],Na=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,jt.jsx)("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:(0,jt.jsx)(Ed,{position:"bottom",children:(0,jt.jsx)(Rs,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,jt.jsx)(ne,{...a,icon:"star"});break;case"icon-and-text":l=(0,jt.jsx)(ne,{...a,icon:"star",text:"Action"});break;default:l=(0,jt.jsx)(ne,{...a,text:"Action"});break}return(0,jt.jsxs)("span",{style:{position:"relative"},children:[l,i]})};Na.options=rx;Na.states=sx;Na.variants=lx;Na.defaultOptions=ix;Na.modifiers=px;Na.className=ne.className;var Ks="prompt-box",Pd=Ks;var _s="speech-to-text-button",wd=_s;var _d=require("react/jsx-runtime"),Rd="k-speech-to-text-button",Kd={icon:"microphone-outline"},Ze=e=>{let{listening:t=!1,icon:o=Kd.icon,...a}=e;return(0,_d.jsx)(p,{...a,icon:t?"stop-sm":o,className:r(e.className,Rd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};Ze.states=p.states;Ze.options=p.options;Ze.className=Rd;Ze.defaultOptions=Kd;Ze.moduleName=_s;Ze.folderName=wd;Ze.ariaSpec={selector:".k-speech-to-text-button",rules:[{selector:".k-button.k-speech-to-text-button",attribute:"role=button or nodeName=button",usage:"If the used element is not <button>, explicitly set its role to button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-pressed",usage:"Announces the toggle behaviour of the button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-label",usage:"Accessible name for the speech-to-text button."}]};var dx=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var Hd=require("react/jsx-runtime"),mx=p.states,Dd={...p.defaultOptions,variant:"normal"},ux={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},fx=[],bx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],va=e=>{let{variant:t,...o}={...Dd,...e},a={};return t==="listening"&&(a.listening=!0),(0,Hd.jsx)(Ze,{...o,...a})};va.options=ux;va.states=mx;va.variants=bx;va.defaultOptions=Dd;va.modifiers=fx;va.className=Ze.className;var Ct=require("react/jsx-runtime"),_t="k-prompt-box",hx=[s.hover,s.focus,s.disabled],xx={fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ds={lineMode:"auto",isExpanded:!1},eo=e=>{let{fillMode:t,lineMode:o=Ds.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=Ds.isExpanded,className:c,children:u,value:f,placeholder:N,generating:x,hover:m,focus:L,disabled:k,...A}=e,E=o==="multi"||o==="auto"&&l;return(0,Ct.jsxs)("div",{...A,className:r(c,"k-input",_t,{[`${_t}-singleline`]:o==="single",[`${_t}-multiline`]:E,[`k-input-${t}`]:t,"k-hover":m,"k-focus":L,"k-disabled":k}),children:[i&&(0,Ct.jsx)("div",{className:`${_t}-header`,children:i}),(0,Ct.jsxs)("div",{className:`${_t}-content`,children:[a&&(0,Ct.jsx)("div",{className:`${_t}-affix`,children:a}),o==="single"?(0,Ct.jsx)(_e,{value:f,placeholder:N,className:`${_t}-input`,type:"text","aria-label":"Prompt input"}):(0,Ct.jsx)(Ua,{value:f,placeholder:N,className:`${_t}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,Ct.jsxs)("div",{className:`${_t}-affix`,children:[n,(0,Ct.jsx)(Ze,{size:"small",fillMode:"flat",rounded:"full"}),(0,Ct.jsx)(fe,{icon:x?"stop-sm":"arrow-up-outline",size:"small",rounded:"full",active:x,disabled:!f&&!x,className:r({"k-generating":x}),"aria-label":x?"Stop generating":"Send prompt","aria-live":"polite"})]})]}),u]})};eo.states=hx;eo.options=xx;eo.className=_t;eo.defaultOptions=Ds;eo.moduleName=Ks;eo.folderName=Pd;eo.ariaSpec={selector:".k-prompt-box",rules:[{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"nodeName=input",usage:"Ensures the input field has the proper textbox role."},{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"aria-label",usage:"Provides an accessible label for the single-line input."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the textarea has the proper textbox role."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the textarea."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the textarea supports multiple lines of text."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the auto-mode textarea has the proper textbox role."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the auto-mode textarea."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the auto-mode textarea supports multiple lines of text."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-label",usage:"The send/stop button is labelled to indicate its current action."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-live=polite",usage:"Announces the change in status of the send/stop button."}]};var gx=require("react/jsx-runtime");var Nx=require("react/jsx-runtime");var vx=require("react/jsx-runtime");var kx=require("react/jsx-runtime");var Lx=require("react/jsx-runtime");var Hs="chat",zd=Hs;var Le=require("react/jsx-runtime"),Ud="k-chat",Mx=[],Sx={},yx=(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)(fe,{icon:"paperclip-outline-alt-right",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,Le.jsx)("div",{className:"k-spacer"})]}),Fd={tools:yx},$=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=Fd.tools,value:f,empty:N,scrollToBottom:x,scrollbar:m,promptBoxProps:L,...k}=e;return(0,Le.jsxs)("div",{...k,className:r(Ud,e.className),dir:o,children:[t,(0,Le.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,Le.jsx)("div",{className:r("k-message-list-content",N&&"k-message-list-content-empty"),children:e.children}),x&&(0,Le.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,Le.jsx)(Od,{themeColor:"base",icon:"arrow-down-outline",size:"small"})})]}),m&&(0,Le.jsx)("div",{className:"k-separator"}),(0,Le.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,Le.jsx)(eo,{lineMode:"multi",placeholder:"Type a message",generating:c,value:f,header:n||l?(0,Le.jsxs)(Le.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};$.states=Mx;$.options=Sx;$.className=Ud;$.defaultOptions=Fd;$.moduleName=Hs;$.folderName=zd;$.ariaSpec={selector:".k-chat",rules:[{selector:".k-message-list",attribute:"role=log",usage:"The role of the Chat message list must imply that there is a log (list) of messages."},{selector:".k-message-list",attribute:"aria-label",usage:"Announces the purpose of the Chat message list."},{selector:".k-message-list",attribute:"aria-live=polite",usage:"Announces new messages in the Chat message list."},{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble .k-typing-indicator",attribute:"tabindex=-1",usage:"The Chat bubble typing indicator should not be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."},{selector:".k-message-reference>.k-button",attribute:"aria-label or title",usage:"The reference close button must be properly labelled."},{selector:".k-message-reference>.k-button",attribute:"role=button or nodeName=button",usage:"The reference close button must have an appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-prompt-box-affix>.k-button.k-disabled",attribute:"disabled",usage:"Announces the send action as disabled when necessary."}]};var zs="avatar",Gd=zs;var Fs=require("react/jsx-runtime"),an="k-avatar";var Ax=[s.hover,s.focus,s.active,s.selected,s.disabled],Cx={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Us={type:"text",border:!1},Be=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Us.type,border:l=Us.border,...c}=e;return(0,Fs.jsx)("div",{...c,className:r(e.className,an,C(an,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${an}-bordered`]:l}),children:(0,Fs.jsx)("span",{className:`${an}-${i}`,children:e.children})})};Be.states=Ax;Be.options=Cx;Be.className=an;Be.defaultOptions=Us;Be.moduleName=zs;Be.folderName=Gd;Be.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var Eo=Be;var $d=require("react/jsx-runtime"),Vd=e=>(0,$d.jsx)(Eo,{type:"icon",...e});var qd=require("react/jsx-runtime"),Xd=e=>(0,qd.jsx)(Eo,{type:"text",...e});var Wd=require("react/jsx-runtime"),Vn=e=>(0,Wd.jsx)(Eo,{type:"image",...e});var Ex=require("react/jsx-runtime");var ka=require("react/jsx-runtime"),Ix=Be.options,Tx=Be.states,Ox={...Be.defaultOptions,variant:"image"},Bx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Px=[],La=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,ka.jsx)(Vd,{...o,children:(0,ka.jsx)(v,{icon:"star"})});case"text":return(0,ka.jsx)(Xd,{...o,children:"JO"});default:return(0,ka.jsx)(Vn,{...o,children:(0,ka.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};La.options=Ix;La.states=Tx;La.variants=Bx;La.defaultOptions=Ox;La.modifiers=Px;La.className=Be.className;var Et=require("react/jsx-runtime"),nn="k-message-group",wx=[s.selected],Rx={},$n={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},j=e=>{let{type:t=$n.type,author:o=$n.author,avatar:a=$n.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Et.jsxs)("div",{...c,className:r(nn,e.className,y(nn,{selected:i}),{[`${nn}-${t}`]:t,"k-no-avatar":!a,[`${nn}-full-width`]:l}),children:[a&&!n&&(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Et.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),(0,Et.jsx)("div",{className:"k-chat-user-status"})]}),(0,Et.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Et.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};j.states=wx;j.options=Rx;j.className=nn;j.defaultOptions=$n;var Dt=require("react/jsx-runtime"),Gs="k-message-reference",Kx={},Jd={type:"receiver"},Ma=e=>{let{content:t,closeable:o,pinned:a,type:n=Jd.type,...i}=e;return(0,Dt.jsxs)("div",{...i,className:r(Gs,e.className,{[`${Gs}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,Dt.jsx)(v,{icon:"pin-outline"}),(0,Dt.jsx)("div",{className:"k-message-reference-content",children:t}),o&&(0,Dt.jsxs)(Dt.Fragment,{children:[(0,Dt.jsx)("span",{className:"k-spacer"}),(0,Dt.jsx)(p,{icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};Ma.options=Kx;Ma.className=Gs;Ma.defaultOptions=Jd;var Vs="bubble",Yd=Vs;var Io=require("react/jsx-runtime"),$s="k-bubble",_x=[s.hover,s.active,s.selected,s.focus],Xs={expandable:!1,expanded:!1},uo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=Xs.expandable,expanded:c=Xs.expanded,...u}=e;return(0,Io.jsxs)("div",{...u,className:r(e.className,$s,y($s,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":c}),tabIndex:0,children:[(0,Io.jsx)("div",{className:"k-bubble-content",children:t??e.children}),l&&(0,Io.jsx)("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?(0,Io.jsx)(v,{icon:"chevron-up"}):(0,Io.jsx)(v,{icon:"chevron-down"})})]})};uo.states=_x;uo.className=$s;uo.defaultOptions=Xs;uo.moduleName=Vs;uo.folderName=Yd;uo.ariaSpec={selector:".k-bubble",rules:[{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."}]};var Dx=require("react/jsx-runtime");var Hx=require("react/jsx-runtime");var zx=require("react/jsx-runtime");var To=require("react/jsx-runtime"),Ux="k-chat-bubble",Qd=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,To.jsxs)(uo,{...n,className:r(e.className,Ux),children:[t?(0,To.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,To.jsx)("span",{}),(0,To.jsx)("span",{}),(0,To.jsx)("span",{})]}):o,a]})};var Fx=require("react/jsx-runtime");var rn=require("react/jsx-runtime"),jd="k-chat-event",qs={icon:"trash",text:"You deleted Chat history."},ec=e=>{let{icon:t=qs.icon,text:o=qs.text,...a}=e;return(0,rn.jsxs)("div",{...a,className:r(e.className,jd),children:[t&&(0,rn.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,rn.jsx)("span",{className:"k-chat-event-text",children:o})]})};ec.className=jd;ec.defaultOptions=qs;var Gx=require("react/jsx-runtime");var Ge=require("react/jsx-runtime"),tc=e=>(0,Ge.jsx)($,{children:(0,Ge.jsxs)(Ge.Fragment,{children:[(0,Ge.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ge.jsx)(j,{children:(0,Ge.jsx)(X,{})}),(0,Ge.jsx)(j,{type:"sender",children:(0,Ge.jsx)(X,{})}),(0,Ge.jsx)(j,{children:(0,Ge.jsx)(X,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ge.jsx)(j,{type:"sender",children:(0,Ge.jsx)(X,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var Ws=require("react/jsx-runtime"),Xn="k-file-box-wrapper",oc={layout:"horizontal"},Ht=e=>{let{layout:t=oc.layout,scrollingPosition:o,...a}=e;return(0,Ws.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:r(e.className,Xn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${Xn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${Xn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,Ws.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Ht.className=Xn;Ht.defaultOptions=oc;var Js="file-box",ac=Js;var zt=require("react/jsx-runtime"),nc="k-file-box",Vx=[s.selected],$x={},sn={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},Ve=e=>{let{icon:t=sn.icon,name:o=sn.name,size:a=sn.size,status:n,deleted:i,removeButton:l,showButton:c=sn.showButton,...u}=e,f=[o,a].filter(Boolean).join(" ");return(0,zt.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":f||void 0,...u,className:r(nc,e.className,{"k-file-deleted":i}),children:[(0,zt.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,zt.jsxs)("div",{className:"k-file-info",children:[o&&(0,zt.jsx)("span",{className:"k-file-name",children:o}),a&&(0,zt.jsx)("span",{className:"k-file-size",children:a}),n&&(0,zt.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,zt.jsx)(p,{as:"span",icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,zt.jsx)(H,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};Ve.states=Vx;Ve.options=$x;Ve.className=nc;Ve.defaultOptions=sn;Ve.moduleName=Js;Ve.folderName=ac;Ve.ariaSpec={selector:".k-file-box-wrapper",rules:[{selector:".k-file-box-wrapper",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-file-box-wrapper",attribute:"aria-label",usage:'Provides an accessible name for the file list (e.g. "Attached files").'},{selector:".k-file-box-wrapper .k-files-scroll",attribute:"role=presentation",usage:"The scrollable container between the list and its items is presentational, ensuring the list\u2192listitem relationship is preserved in the accessibility tree."},{selector:".k-file-box-wrapper .k-file-box",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-file-box-wrapper .k-file-box",attribute:"tabindex",usage:"Makes the file box focusable. Uses roving tabindex: 0 for the focused item, -1 for the rest."},{selector:".k-file-box-wrapper .k-file-box",attribute:"aria-label",usage:'Provides an accessible name describing the file. Can include the file name and size (e.g. "FileName.pdf 2MB").'},{selector:".k-file-box-wrapper .k-file-box .k-icon",attribute:"aria-hidden=true",usage:"The file type icon is decorative and hidden from screen readers."},{selector:".k-file-box-wrapper .k-file-box span.k-button",attribute:"aria-hidden=true",usage:"The remove button is rendered as a decorative span and hidden from screen readers. File removal is handled by keyboard interaction on the listitem itself."}]};var Xx=require("react/jsx-runtime");var qx=require("react/jsx-runtime");var rc=require("react/jsx-runtime");var sc=require("react/jsx-runtime");var Wx=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Qs="skeleton",ic=Qs;var lc=require("react/jsx-runtime"),js="k-skeleton",Jx=["circle","text","rect"],Yx=[],Zx={},ei={variant:"text",shape:"text",animation:"pulse"},It=e=>{let{variant:t,shape:o,animation:a=ei.animation,...n}=e,i=`skeleton-${t||o||ei.variant}`;return(0,lc.jsx)("span",{...n,className:r(e.className,js,fn(js,i),{[`k-skeleton-${a}`]:a}),style:e.style})};It.states=Yx;It.options=Zx;It.variants=Jx;It.className=js;It.defaultOptions=ei;It.moduleName=Qs;It.folderName=ic;It.ariaSpec={selector:".k-skeleton",rules:[]};var Qx=require("react/jsx-runtime");var jx=require("react/jsx-runtime");var eg=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var oi=require("react/jsx-runtime");var ai="window",pc=ai;var cc=require("react/jsx-runtime"),dc="k-window-content",tg=[],og={},ag={},fo=e=>{let{children:t,...o}=e;return(0,cc.jsx)("div",{...o,className:r(dc,e.className),children:t})};fo.states=tg;fo.options=og;fo.className=dc;fo.defaultOptions=ag;fo.moduleName=ai;fo.folderName=pc;var ln="dialog",qn=ln;var Qe=require("react/jsx-runtime"),mc="k-dialog",ng=[],rg={},ni={actionButtonsAlign:"stretched",modal:!0},je=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=ni.actionButtonsAlign,modal:i=ni.modal,...l}=e,c=t!==void 0?R("dialog-titlebar"):void 0,u=R("dialog-content");return(0,Qe.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,Qe.jsx)(Bt,{}),(0,Qe.jsxs)("div",{...l,className:r(e.className,mc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,Qe.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,Qe.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,Qe.jsx)(Qe.Fragment,{children:(0,Qe.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(f=>(0,Qe.jsx)(p,{icon:f,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":f},f))})})]}),(0,Qe.jsx)(fo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,Qe.jsx)(at,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};je.states=ng;je.options=rg;je.className=mc;je.defaultOptions=ni;je.moduleName=ln;je.folderName=qn;je.ariaSpec={selector:".k-dialog",rules:[{selector:".k-dialog",attribute:"role=dialog or role=alertdialog",usage:"Announces the dialog or alertdialog role of the component."},{selector:".k-dialog",attribute:"aria-labelledby",usage:"Associate the title of the dialog."},{selector:".k-dialog",attribute:"aria-describedby",usage:"Associate the dialog content to the wrap element."},{selector:".k-overlay + .k-dialog",attribute:"aria-modal=true",usage:"Announces that the dialog is modal. Attribute is added only when the dialog is modal."}]};var ri=je;var fc=require("react/jsx-runtime"),uc="k-dialog-wrapper",sg=[],ig={},lg={},Sa=e=>{let{...t}=e;return(0,fc.jsx)("div",{...t,className:r(e.className,uc),children:e.children})};Sa.states=sg;Sa.options=ig;Sa.className=uc;Sa.defaultOptions=lg;Sa.moduleName=ln;Sa.folderName=qn;var Ut=require("react/jsx-runtime"),bc=e=>(0,Ut.jsx)(ri,{title:"Title",children:(0,Ut.jsx)(Ut.Fragment,{children:"Dialog content"}),actionButtons:(0,Ut.jsxs)(Ut.Fragment,{children:[(0,Ut.jsx)(p,{children:"Action"}),(0,Ut.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var si=require("react/jsx-runtime");var to=require("react/jsx-runtime"),pg=je.options,dg=[],cg=je.states,mg=je.defaultOptions,ug=[],ya=e=>(0,to.jsx)(bc,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:(0,to.jsxs)(to.Fragment,{children:[(0,to.jsx)(p,{children:"No"}),(0,to.jsx)(p,{themeColor:"primary",children:"Yes"})]}),children:(0,to.jsx)("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});ya.options=pg;ya.states=cg;ya.variants=dg;ya.defaultOptions=mg;ya.modifiers=ug;ya.className=je.className;var ii="dropzone",hc=ii;var Oo=require("react/jsx-runtime"),li="k-external-dropzone",fg=[s.disabled,s.hover],bg={},pi={icon:"upload",hint:"Drag and drop files here to upload"},$e=e=>{let{hover:t,disabled:o,icon:a=pi.icon,hint:n=pi.hint,note:i,...l}=e;return(0,Oo.jsx)("div",{...l,className:r(e.className,li,y(li,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Oo.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Oo.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Oo.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Oo.jsx)("span",{className:"k-dropzone-note",children:i})]})})};$e.states=fg;$e.options=bg;$e.className=li;$e.defaultOptions=pi;$e.moduleName=ii;$e.folderName=hc;var gc=require("react/jsx-runtime"),xc=e=>(0,gc.jsx)($e,{...e});var hg=require("react/jsx-runtime");var Nc=require("react/jsx-runtime"),xg=$e.options,gg=$e.states,Ng=$e.defaultOptions,vg=[{name:"note",title:"Note"}],kg=[],Aa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t!=null&&t[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,Nc.jsx)(xc,{style:{width:"500px"},...o,...a})};Aa.options=xg;Aa.states=gg;Aa.variants=kg;Aa.defaultOptions=Ng;Aa.modifiers=vg;Aa.className=$e.className;var re=require("react/jsx-runtime"),di="k-upload-dropzone",Lg=[s.hover],Wn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,...l}=e,c;switch(o){case"uploading":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=(0,re.jsx)(re.Fragment,{});break}return(0,re.jsxs)("div",{...l,className:r(e.className,di,"k-dropzone",y(di,{hover:t})),children:[(0,re.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,re.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:"Select files..."}),(0,re.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,re.jsx)("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,re.jsx)("span",{className:"k-upload-status",children:c})]})};Wn.states=Lg;Wn.className=di;var ci="upload",vc=ci;var bo=require("react/jsx-runtime"),mi="k-upload",Mg=[s.hover,s.disabled],Sg={},Lc={actionsLayout:"end"},kc="upload-files-list",se=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=Lc.actionsLayout,hover:i,status:l,disabled:c,...u}=e,f=!!e.children;return(0,bo.jsxs)("div",{...u,className:r(e.className,mi,y(mi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,bo.jsx)(Wn,{status:l,hover:i,disabled:c,hasFiles:f,filesId:kc}),f&&(0,bo.jsx)("ul",{className:"k-upload-files",role:"list",id:kc,children:e.children}),a&&f&&(0,bo.jsxs)(ml,{alignment:n,orientation:"horizontal",children:[(0,bo.jsx)(p,{className:"k-clear-selected",children:"Clear"}),(0,bo.jsx)(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};se.states=Mg;se.options=Sg;se.className=mi;se.defaultOptions=Lc;se.moduleName=ci;se.folderName=vc;se.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var pn="progressbar",Jn=pn;var ho=require("react/jsx-runtime"),xt="k-progressbar",yg=[s.disabled,s.indeterminate],Ag={orientation:["horizontal","vertical"]},Bo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Pe=e=>{let{disabled:t,height:o,indeterminate:a=Bo.indeterminate,label:n=Bo.label,labelPosition:i=Bo.labelPosition,orientation:l=Bo.orientation,reverse:c=Bo.reverse,value:u=Bo.value,width:f,style:N,ariaLabel:x,...m}=e;return(0,ho.jsxs)("div",{...m,className:r(e.className,xt,y(xt,{disabled:t}),{[`${xt}-${l}`]:l,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:c}),style:{...N,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:f},role:"progressbar","aria-label":x||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,ho.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Pe.states=yg;Pe.options=Ag;Pe.className=xt;Pe.defaultOptions=Bo;Pe.moduleName=pn;Pe.folderName=Jn;Pe.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var Mc=Pe;var Zn=require("react/jsx-runtime"),Sc="k-chunk-progressbar",Cg=(e,t)=>t<=e-1,Eg=[s.disabled,s.indeterminate],Ig={},Yn={chunkCount:5,orientation:"horizontal",progress:0},Po=e=>{let{disabled:t,chunkCount:o=Yn.chunkCount,indeterminate:a,orientation:n=Yn.orientation,progress:i=Yn.progress,reverse:l,ariaLabel:c,...u}=e;return(0,Zn.jsx)("div",{...u,className:r(e.className,xt,Sc,y(xt,{disabled:t}),{[`${xt}-${n}`]:n,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,Zn.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,N)=>(0,Zn.jsx)("li",{className:r("k-progressbar-chunk",{"k-first":N===0,"k-last":N===[...Array(o)].length-1,"k-selected":Cg(i,N)})},N))})})};Po.states=Eg;Po.options=Ig;Po.className=Sc;Po.defaultOptions=Yn;Po.moduleName=pn;Po.folderName=Jn;Po.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};var yc=require("react/jsx-runtime"),dn=e=>(0,yc.jsx)(Mc,{...e});var Tg=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Og=Pe.options,Bg=Pe.states,Ac={...Pe.defaultOptions,variant:"start"},Pg=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],wg=[],Ca=e=>{let{variant:t,modifiers:o,...a}={...Ac,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!(o!=null&&o[l]);break;case"vertical":n.orientation=o!=null&&o[l]?"vertical":void 0,i.style=o!=null&&o[l]?void 0:{width:"324px"};break}}),t){case"end":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,label:!1,value:"50"})});default:return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"start",value:"50"})})}};Ca.options=Og;Ca.states=Bg;Ca.variants=Pg;Ca.defaultOptions=Ac;Ca.modifiers=wg;Ca.className=Pe.className;var Ea=require("react/jsx-runtime"),Rg="k-file-info",ui=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ea.jsxs)("div",{...n,className:r(e.className,Rg),children:[t&&(0,Ea.jsx)("span",{className:"k-file-name",children:t}),o&&(0,Ea.jsx)("span",{className:"k-file-size",children:o}),a&&(0,Ea.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var Me=require("react/jsx-runtime"),Kg="k-file",et=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,Me.jsx)("li",{...u,className:r(e.className,Kg,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Me.jsxs)("div",{className:"k-file-single",children:[(0,Me.jsx)(Pe,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Me.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Me.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,Me.jsx)("span",{className:"k-file-state",children:l})]}),(0,Me.jsx)(ui,{name:a,size:i,validationMsg:c}),(0,Me.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Me.jsx)(p,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Me.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Me.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var fi=require("react/jsx-runtime");var xo=require("react/jsx-runtime"),cn=e=>(0,xo.jsx)(se,{async:!0,children:(0,xo.jsxs)(xo.Fragment,{children:[(0,xo.jsx)(et,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,xo.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var bi=require("react/jsx-runtime");var Ec=require("react/jsx-runtime"),Cc=e=>(0,Ec.jsx)(se,{async:!0,empty:!0,...e});var hi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Xe=require("react/jsx-runtime"),_g=se.options,Dg=se.states,Ic={...se.defaultOptions,variant:"empty"},Hg=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],zg=[],Ia=e=>{let{variant:t,...o}={...Ic,...e};switch(t){case"success":return(0,Xe.jsxs)(cn,{status:"done",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Xe.jsxs)(cn,{status:"failed",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Xe.jsxs)(cn,{status:"uploading",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Xe.jsx)(et,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Xe.jsxs)(cn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Xe.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Xe.jsx)(Cc,{async:!0,status:"upload",style:{width:"586px"},...o})}};Ia.options=_g;Ia.states=Dg;Ia.variants=Hg;Ia.defaultOptions=Ic;Ia.modifiers=zg;Ia.className=se.className;var gi=require("react/jsx-runtime");var Ug=require("react/jsx-runtime");var Ni=require("react/jsx-runtime");var vi=require("react/jsx-runtime");var ki=require("react/jsx-runtime");var Tc=require("react/jsx-runtime");var Li="appbar",Oc=Li;var Bc=require("react/jsx-runtime"),Mi="k-appbar",Fg=[],Gg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.inverse]},Vg={},we=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Bc.jsx)("div",{...n,className:r(e.className,Mi,C(Mi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};we.states=Fg;we.options=Gg;we.className=Mi;we.defaultOptions=Vg;we.moduleName=Li;we.folderName=Oc;we.ariaSpec={selector:".k-appbar",rules:[]};var Pc=require("react/jsx-runtime"),$g="k-appbar-section",Ft=e=>{let{...t}=e;return(0,Pc.jsx)("div",{...t,className:r($g,e.className),children:e.children})};var Si=require("react/jsx-runtime");var z=require("react/jsx-runtime"),yi={...we.options,positionMode:["static","sticky","fixed"]},Xg=we.states,wc={...we.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};yi.themeColor=["primary",...yi.themeColor.filter(e=>e!=="primary")];var qg=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Ta=e=>{let{variant:t,...o}={...wc,...e},a=(0,z.jsxs)(we,{position:t,...o,children:[(0,z.jsx)(Ft,{children:(0,z.jsx)(fe,{fillMode:"flat",icon:"menu"})}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"})]}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)(Mn,{value:"Input value"})}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(fe,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,z.jsx)("span",{className:"k-appbar-separator"}),(0,z.jsx)(Vn,{className:"k-mx-sm",children:(0,z.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,z.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,z.jsx)("p",{children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit, harum magnam? Possimus magnam non natus error consectetur voluptatum, unde quasi rerum ad facere, hic in! Qui ducimus ab sed consequuntur excepturi fugiat! Facilis fuga asperiores pariatur sed. Eligendi aliquid vel nemo, ipsum tempora minima consequatur culpa molestias maiores nihil eveniet accusantium porro. Inventore saepe ut ad in a. Quo itaque est expedita quidem consectetur enim quam minima, quisquam harum velit, earum adipisci provident, officia eveniet voluptas vero accusamus ad ducimus laudantium!"}),(0,z.jsx)("p",{children:"Consequatur incidunt sequi explicabo adipisci saepe, accusamus, numquam fuga quam ex, provident possimus ratione blanditiis ducimus quos nulla repellat error pariatur nemo nobis illo! Saepe deleniti dolore cumque, sequi similique eligendi consectetur corrupti iste reprehenderit adipisci enim laudantium inventore totam quos non impedit quibusdam et consequuntur blanditiis accusamus! Rerum, nostrum. Rerum, tempore earum officia alias suscipit ut minima recusandae dolorem reprehenderit ea?"}),(0,z.jsx)("p",{children:"Aliquam pariatur ut expedita, repellat architecto aut, consequatur iure recusandae tempora odit consequuntur, nihil nostrum totam accusantium at. Dignissimos repellendus culpa nesciunt. Officia repudiandae, laudantium error iure in minus ratione reprehenderit dolorum alias quo voluptatibus doloremque aliquid exercitationem quidem odit earum natus autem eaque tempore nulla esse sapiente? Dolore aliquid aliquam modi velit quaerat!"}),(0,z.jsx)("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?(0,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Ta.options=yi;Ta.states=Xg;Ta.variants=qg;Ta.defaultOptions=wc;Ta.modifiers=[];Ta.className=we.className;var Ai="suggestion",Rc=Ai;var wo=require("react/jsx-runtime"),Qn="k-suggestion-group",Wg=[],Jg={},Kc={layout:"scrollable",scrollingPosition:"start"},gt=e=>{let{layout:t=Kc.layout,scrollingPosition:o,...a}=e,n=(0,wo.jsx)("div",{...a,className:r(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"?(0,wo.jsx)("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?(0,wo.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,wo.jsx)(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,(0,wo.jsx)(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};gt.states=Wg;gt.options=Jg;gt.className=Qn;gt.defaultOptions=Kc;gt.moduleName=Ai;gt.folderName=Rc;var _c=require("react/jsx-runtime"),jn="k-suggestion",Yg=[s.active,s.hover,s.focus],Zg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Qg={text:"Suggestion"},Nt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...l}=e;return(0,_c.jsx)("span",{...l,className:r(e.className,jn,y(jn,{hover:a,active:o,focus:n}),C(jn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};Nt.states=Yg;Nt.options=Zg;Nt.className=jn;Nt.item=Qg;var Ci=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var U=require("react/jsx-runtime"),jg=$.states,eN=$.defaultOptions,tN=$.options,oN=[{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"}],aN=[],Oa=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,U.jsxs)(we,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,U.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,U.jsx)(Ft,{children:(0,U.jsx)("span",{children:"Chat with demo bot"})}),(0,U.jsx)("span",{className:"k-spacer"}),(0,U.jsx)(Ft,{children:(0,U.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,U.jsx)(Ma,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{text:"Provide a CV template"}),(0,U.jsx)(Nt,{text:"Generate a cover letter"})]}),c=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{themeColor:"primary",text:"Thank you!"}),(0,U.jsx)(Nt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",f=null,N="User",x="Demo Bot";Object.keys(t||{}).forEach(O=>{switch(O){case"header":a.header=t!=null&&t[O]?n:!1;break;case"pinned":a.pinned=t!=null&&t[O]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[O]?l:!1;break;case"author":a.author=t!=null&&t[O]?!0:null;break;case"avatar":a.avatar=t!=null&&t[O]?u:null;break;case"quick":a.quickReplies=t!=null&&t[O]?c:(0,U.jsx)(U.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:k,author:A,avatar:E,quickReplies:M}=a;return(0,U.jsxs)(tc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:k,children:[(0,U.jsx)(j,{avatar:f,author:A?x:null,children:(0,U.jsx)(X,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,U.jsx)(j,{avatar:E?u:null,author:A?N:null,type:"sender",children:(0,U.jsx)(X,{text:"Hello! Generate a cover letter."})}),(0,U.jsx)(j,{avatar:f,author:A?x:null,children:(0,U.jsx)(X,{text:"Sure. Here is a cover letter template",files:(0,U.jsx)(Ht,{children:(0,U.jsx)(Ve,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),M]})};Oa.options=tN;Oa.states=jg;Oa.variants=aN;Oa.defaultOptions=eN;Oa.modifiers=oN;Oa.className=$.className;var ie=require("react/jsx-runtime"),Ti="k-message",nN=[s.hover,s.selected,s.active,s.focus],rN={},sN=[(0,ie.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,ie.jsx)(p,{icon:"arrow-rotate-cw-outline",fillMode:"flat","aria-label":"Retry"}),(0,ie.jsx)(p,{icon:"download-light",fillMode:"flat","aria-label":"Download"})],Ba={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:sN,failed:"Failed to send"},X=e=>{let{time:t=Ba.time,text:o=Ba.text,content:a,status:n=Ba.status,statusIcon:i,toolbarItems:l=Ba.toolbarItems,hover:c,selected:u,active:f,focus:N,toolbar:x,typing:m,expandable:L,expanded:k,removed:A,files:E,failed:M,...O}=e,W=M===!0?Ba.failed:M;return(0,ie.jsxs)("div",{...O,className:r(Ti,e.className,{"k-message-removed":A,"k-message-failed":M}),children:[M&&(0,ie.jsx)(fe,{className:"k-resend-button",icon:"arrow-rotate-cw-outline",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,ie.jsx)(Qd,{typing:m,selected:u,hover:c,active:f,focus:N,content:(0,ie.jsxs)(ie.Fragment,{children:[a,o&&(0,ie.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:k,files:E}),(0,ie.jsxs)("div",{className:"k-message-info",children:[n&&(0,ie.jsxs)("span",{className:"k-message-status",children:[i&&(0,ie.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,ie.jsx)("time",{className:"k-message-time",children:t}),M&&(0,ie.jsxs)("span",{className:"k-message-failed-content",children:[M&&(0,ie.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),M&&(0,ie.jsx)("span",{className:"k-message-failed-text",children:W})]})]}),x&&(0,ie.jsx)(G,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};X.states=nN;X.options=rN;X.className=Ti;X.defaultOptions=Ba;var iN=X;
1
+ var Hc=Object.create;var un=Object.defineProperty;var zc=Object.getOwnPropertyDescriptor;var Uc=Object.getOwnPropertyNames;var Fc=Object.getPrototypeOf,Gc=Object.prototype.hasOwnProperty;var Vc=(e,t)=>{for(var o in t)un(e,o,{get:t[o],enumerable:!0})},Bi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Uc(t))!Gc.call(e,n)&&n!==o&&un(e,n,{get:()=>t[n],enumerable:!(a=zc(t,n))||a.enumerable});return e};var Pi=(e,t,o)=>(o=e!=null?Hc(Fc(e)):{},Bi(t||!e||!e.__esModule?un(o,"default",{value:e,enumerable:!0}):o,e)),$c=e=>Bi(un({},"__esModule",{value:!0}),e);var lN={};Vc(lN,{CHATMESSAGE_CLASSNAME:()=>Ti,ChatMessage:()=>X,default:()=>iN});module.exports=$c(lN);var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:i,checked:l,active:c,selected:u,disabled:f,indeterminate:N,loading:x,empty:m,readonly:L,highlighted:k,...A}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":i,"k-checked":l,"k-active":c,"k-selected":u,"k-disabled":f,"k-indeterminate":N&&!l,"k-loading":x,"k-empty":m,"k-readonly":L,"k-highlighted":k},Object.keys(A).reduce((E,M)=>(M.startsWith("k-")?E[M]=A[M]:E[`k-${M}`]=A[M],E),{}))};function fn(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},b={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},h={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},g={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},s={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var ar={};function R(e){return ar[e]=(ar[e]||0)+1,`k-${e}-${ar[e]}`}var Pa=require("react/jsx-runtime"),nr="k-font-icon",Xc=[],qc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},Wc={},wa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:i,...l}=e;return a?(0,Pa.jsx)("span",{...l,className:r(e.className,nr,C(nr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true"}):(0,Pa.jsx)(Pa.Fragment,{})};wa.states=Xc;wa.options=qc;wa.className=nr;wa.defaultOptions=Wc;var wi=wa;var No=require("react/jsx-runtime"),rr="k-svg-icon",Jc=[],Yc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},Ri={viewBox:"0 0 24 24"},Ra=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:i=Ri.viewBox,icon:l,...c}=e;if(!l)return(0,No.jsx)(No.Fragment,{});if(l==="none")return(0,No.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let u=typeof l=="object"&&l.name&&l.name;return(0,No.jsx)("span",{...c,className:r(e.className,rr,C("k-icon",{size:t}),{[`k-svg-i-${u}`]:u,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,No.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof l=="object"?l.viewBox:i,dangerouslySetInnerHTML:typeof l=="object"?{__html:l.content}:void 0,children:l?void 0:e.children})})};Ra.states=Jc;Ra.options=Yc;Ra.className=rr;Ra.defaultOptions=Ri;var sr=Ra;var ir=Pi(require("@progress/kendo-svg-icons"));var Ki="icon",_i="icons";var zi=require("react");var Di=require("react"),Hi=(0,Di.createContext)({iconsType:"svg"});var Gt=require("react/jsx-runtime"),bn="k-icon",Zc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Qc=[],jc={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info]},lr={viewBox:"0 0 24 24",type:"svg"},v=e=>{let{iconsType:t}=(0,zi.useContext)(Hi),{size:o,themeColor:a,icon:n,type:i=t||lr.type,rotate:l,flip:c,viewBox:u=lr.viewBox,...f}=e;if(!n)return(0,Gt.jsx)(Gt.Fragment,{});if((t||i)==="svg"){if(n==="none")return(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:n,size:o});let x=ir[n]?n:Zc(`${n}-icon`);return ir[x]?(0,Gt.jsx)(sr,{...f,className:r(e.className,bn),icon:ir[x],size:o,themeColor:a,rotate:l,flip:c,viewBox:u}):(0,Gt.jsx)(Gt.Fragment,{})}return(0,Gt.jsx)(wi,{...f,className:r(e.className,bn),icon:n,size:o,themeColor:a,rotate:l,flip:c})};v.states=Qc;v.options=jc;v.defaultOptions=lr;v.className=bn;v.moduleName=Ki;v.folderName=_i;v.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var pr="button",Ui=pr;var vt=require("react/jsx-runtime"),Ka="k-button",em=["icon-button"],tm=[s.hover,s.focus,s.active,s.selected,s.disabled,s.generating],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},dr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:i,showArrow:l=dr.showArrow,arrowIconName:c=dr.arrowIconName,variant:u,hover:f,focus:N,active:x,selected:m,disabled:L,togglable:k,ariaDisabled:A,icon:E,text:M,iconClassName:O,className:W,...Se}=e,Re=E!==void 0,Ke=e.children!==void 0;return(0,vt.jsxs)(t,{className:r(W,Ka,fn(Ka,u),C(Ka,{size:o,rounded:a,fillMode:n,themeColor:i}),y(Ka,{hover:f,focus:N,active:x,disabled:L||A,selected:m}),{"k-icon-button":!M&&!Ke&&Re}),...Se,"aria-pressed":k?m?"true":"false":void 0,"aria-disabled":A?"true":void 0,disabled:L||void 0,children:[E&&(0,vt.jsx)(v,{className:r(O,"k-button-icon"),icon:E}),M?(0,vt.jsxs)(vt.Fragment,{children:[M&&(0,vt.jsx)("span",{className:"k-button-text",children:M}),e.children]}):e.children&&(0,vt.jsx)("span",{className:"k-button-text",children:e.children}),l&&(0,vt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,vt.jsx)(v,{icon:c})})]})};p.states=tm;p.options=om;p.variants=em;p.className=Ka;p.defaultOptions=dr;p.moduleName=pr;p.folderName=Ui;p.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Fi=require("react/jsx-runtime"),fe=e=>(0,Fi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Gi=require("react/jsx-runtime"),_a=e=>(0,Gi.jsx)(p,{icon:"folder",children:"Button",...e});var Vi=require("react/jsx-runtime"),kt=e=>(0,Vi.jsx)(p,{children:"Button",...e});var hn=require("react/jsx-runtime"),am=p.options,nm=p.states,rm={...p.defaultOptions,variant:"text"},sm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],im=[],Ro=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,hn.jsx)(fe,{...o,icon:"star"});case"icon-and-text":return(0,hn.jsx)(_a,{...o,icon:"star",children:"Button"});default:return(0,hn.jsx)(kt,{...o,children:"Button"})}};Ro.options=am;Ro.states=nm;Ro.variants=sm;Ro.defaultOptions=rm;Ro.modifiers=im;Ro.className=p.className;var cr="button",$i=cr;var Xi=require("react/jsx-runtime"),Da="k-button-group",lm=[s.disabled],pm={fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},dm={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,Xi.jsx)("div",{role:"group",...n,className:r(e.className,Da,C(Da,{fillMode:t}),y(Da,{disabled:o}),{[`${Da}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=lm;B.options=pm;B.className=Da;B.defaultOptions=dm;B.moduleName=cr;B.folderName=$i;B.ariaSpec={selector:".k-button-group",rules:[{selector:".k-button-group:not(.k-split-button)",attribute:"role=group",usage:"Sets the proper role for the group of buttons."},{selector:".k-button-group.k-disabled",attribute:"aria-disabled=true",usage:"The attribute is rendered only when the entire button group is disabled."},{selector:".k-button-group:not(.k-split-button):not(.k-scheduler-navigation):not(.k-zoom-control) .k-button",attribute:"aria-pressed (when selected)",usage:"Specifies the current state of the ButtonGroup. Only the selected button within the group will have this attribute set to true."}]};var mr=require("react/jsx-runtime");var ur=require("react/jsx-runtime");var fr=require("react/jsx-runtime");var br=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var xr=require("react/jsx-runtime");var qe=require("react/jsx-runtime"),cm={...p.options,...B.options},mm=p.states,um={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},fm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],bm=[],Ko=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,qe.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(p,{...a,icon:"star"}),(0,qe.jsx)(p,{...a,icon:"star"}),(0,qe.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,qe.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(p,{...a,icon:"star",children:"First"}),(0,qe.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,qe.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,qe.jsxs)(B,{fillMode:a.fillMode,className:o,children:[(0,qe.jsx)(p,{...a,children:"First"}),(0,qe.jsx)(p,{...a,children:"Middle"}),(0,qe.jsx)(p,{...a,children:"Last"})]})};Ko.options=cm;Ko.states=mm;Ko.variants=fm;Ko.defaultOptions=um;Ko.modifiers=bm;Ko.className=B.className;var Ha="input",xn=Ha;var qi=require("react/jsx-runtime"),gn="k-input",hm=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],xm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},gm={},oe=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,qi.jsx)("span",{...x,className:r(e.className,gn,C(gn,{size:u,rounded:f,fillMode:N}),y(gn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c}))})};oe.states=hm;oe.options=xm;oe.className=gn;oe.defaultOptions=gm;oe.moduleName=Ha;oe.folderName=xn;var Wi=require("react/jsx-runtime"),Nn="k-picker",Nm=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],vm={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},km={},Tt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c,size:u,rounded:f,fillMode:N,...x}=e;return(0,Wi.jsx)("span",{...x,className:r(e.className,Nn,C(Nn,{size:u,rounded:f,fillMode:N}),y(Nn,{hover:t,focus:o,disabled:a,invalid:n,valid:i,loading:l,readonly:c})),children:e.children})};Tt.states=Nm;Tt.options=vm;Tt.className=Nn;Tt.defaultOptions=km;Tt.moduleName=Ha;Tt.folderName=xn;var _o=require("react/jsx-runtime"),Ji="k-clear-value",Lm=[s.disabled,s.loading,s.readonly],Mm={},ot=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,_o.jsx)(_o.Fragment,{}):(0,_o.jsx)("span",{className:r(e.className,Ji),children:(0,_o.jsx)(v,{icon:"x"})})};ot.states=Lm;ot.options=Mm;ot.className=Ji;var Yi=require("react/jsx-runtime"),gr="k-input-inner",Sm=[],ym={},vn={type:"text",autocomplete:"off",value:"",placeholder:""},_e=e=>{let{value:t=vn.value,type:o=vn.type,placeholder:a=vn.placeholder,autocomplete:n=vn.autocomplete,disabled:i,readOnly:l,...c}=e;return(0,Yi.jsx)("input",{...c,type:o,className:r(e.className,gr,C(gr,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:i||void 0,readOnly:l||void 0})};_e.states=Sm;_e.options=ym;_e.className=gr;var za=require("react/jsx-runtime"),Nr="k-input-inner",Am=[],Cm={},vo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:i,...l}=e;return(0,za.jsxs)("span",{...l,className:r(e.className,Nr,C(Nr,e)),children:[n,!n&&i&&(0,za.jsx)(v,{className:"k-input-value-icon",icon:i}),a&&!t&&o,a&&t&&(0,za.jsx)("span",{className:"k-input-value-text",children:t})]})};vo.states=Am;vo.options=Cm;vo.className=Nr;var Qi=require("react/jsx-runtime"),vr="k-input-inner",Em=[],Im={},Zi={value:"",placeholder:""},Ua=e=>{let{value:t=Zi.value,placeholder:o=Zi.placeholder,rows:a,disabled:n,...i}=e;return(0,Qi.jsx)("textarea",{...i,className:r(e.className,vr,C(vr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};Ua.states=Em;Ua.options=Im;Ua.className=vr;var Fa=require("react/jsx-runtime"),ji="k-input-loading-icon",Tm=[s.disabled,s.loading],We=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Fa.jsx)(Fa.Fragment,{}):(0,Fa.jsx)("span",{className:r(e.className,ji,"k-icon k-i-loading")})};We.states=Tm;We.className=ji;var Ga=require("react/jsx-runtime"),el="k-input-validation-icon",Om=[s.valid,s.invalid,s.disabled,s.loading],Bm={},De=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,i=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Ga.jsx)(Ga.Fragment,{}):(0,Ga.jsx)(v,{className:r(el),icon:i})};De.states=Om;De.options=Bm;De.className=el;var Va=require("react/jsx-runtime"),Pm="k-input-prefix",wm={direction:"horizontal"},lt=e=>{let{direction:t=wm.direction,...o}=e;return e.children?(0,Va.jsx)("span",{...o,className:r(Pm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Va.jsx)(Va.Fragment,{})};var $a=require("react/jsx-runtime"),Rm="k-input-suffix",Km={direction:"horizontal"},pt=e=>{let{direction:t=Km.direction,...o}=e;return e.children?(0,$a.jsx)("span",{...o,className:r(Rm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,$a.jsx)($a.Fragment,{})};var _m=require("react/jsx-runtime");var tl=require("react/jsx-runtime"),Dm="k-input-suffix-text",kr=e=>{let{children:t,...o}=e;return(0,tl.jsx)("span",{...o,className:r(Dm,e.className),children:t})};var al=require("react/jsx-runtime"),ol="k-input-separator",Hm={direction:"vertical"},dt=e=>{let{direction:t=Hm.direction,...o}=e;return(0,al.jsx)("span",{...o,className:r(ol,e.className,{[`${ol}-${t}`]:t})})};var ce=require("react/jsx-runtime"),zm=oe.states,Um=oe.defaultOptions,Fm=oe.options,Gm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Vm=[],Do=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:i,readonly:l,...c}=e,u=t==null?void 0:t.prefix,f=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],x=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,ce.jsxs)(oe,{...c,valid:o,invalid:a,loading:n,disabled:i,readonly:l,style:{width:300},children:[u&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(lt,{children:(0,ce.jsx)(v,{icon:"lock"})}),m&&(0,ce.jsx)(dt,{})]}),(0,ce.jsx)(_e,{placeholder:"Placeholder",value:"Value"}),x&&(0,ce.jsx)(De,{valid:o,invalid:a,loading:n,disabled:i}),(0,ce.jsx)(We,{loading:n,disabled:i}),N&&(0,ce.jsx)(ot,{loading:n,disabled:i,readonly:l,value:"Value"}),f&&(0,ce.jsxs)(ce.Fragment,{children:[m&&(0,ce.jsx)(dt,{}),(0,ce.jsx)(pt,{children:(0,ce.jsx)(kt,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};Do.options=Fm;Do.states=zm;Do.variants=Vm;Do.defaultOptions=Um;Do.modifiers=Gm;Do.className=oe.className;var Xa=require("react/jsx-runtime"),nl="k-color-preview",$m=[],Xm={},no=e=>{let{color:t,iconName:o,...a}=e;return(0,Xa.jsxs)("span",{...a,className:r(e.className,nl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,Xa.jsx)(v,{icon:o,className:"k-color-preview-icon"}),(0,Xa.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};no.states=$m;no.options=Xm;no.className=nl;var Lr="popup",rl=Lr;var Mr=require("react/jsx-runtime"),sl="k-animation-container",qm=[],Wm={},il={positionMode:"absolute"},Ot=e=>{let{positionMode:t=il.positionMode,animationStyle:o,offset:a,...n}=e;return(0,Mr.jsx)("div",{...n,style:{...a,...e.style},className:r(e.className,sl,"k-animation-container-shown",{"k-animation-container-fixed":t==="fixed"}),children:(0,Mr.jsx)("div",{className:"k-child-animation-container",style:o,children:e.children})})};Ot.states=qm;Ot.options=Wm;Ot.className=sl;Ot.defaultOptions=il;Ot.moduleName=Lr;Ot.folderName=rl;var Sr="popup",ll=Sr;var yr=require("react/jsx-runtime"),pl="k-popup",Jm=[],Ym={},dl={positionMode:"absolute"},q=e=>{let{offset:t,positionMode:o=dl.positionMode,animationStyle:a,containerClassName:n,containerRole:i,containerAriaLabel:l,...c}=e;return(0,yr.jsx)(Ot,{positionMode:o,offset:t,animationStyle:a,className:n,role:i,"aria-label":l,children:(0,yr.jsx)("div",{...c,className:r(e.className,pl),children:e.children})})};q.states=Jm;q.options=Ym;q.className=pl;q.defaultOptions=dl;q.moduleName=Sr;q.folderName=ll;q.ariaSpec={selector:".k-popup",rules:[{selector:".k-animation-container",attribute:"role (when appended to body)",usage:'Container gets role="region" when appended to document body. Popup is a building block \u2014 ARIA semantics come from consuming components.'}]};var Ar="action-buttons",cl=Ar;var ul=require("react/jsx-runtime"),kn="k-actions",Zm=[],Qm={},Cr={alignment:"start",orientation:"horizontal"},at=e=>{let{alignment:t=Cr.alignment,orientation:o=Cr.orientation,...a}=e;return(0,ul.jsx)("div",{...a,className:r(kn,{[`${kn}-${t}`]:t,[`${kn}-${o}`]:o},e.className),children:e.children})};at.states=Zm;at.options=Qm;at.className=kn;at.defaultOptions=Cr;at.moduleName=Ar;at.folderName=cl;var ml=at;var bl=require("react/jsx-runtime"),jm="k-actionsheet-footer",fl={alignment:"stretched",orientation:"horizontal"},ro=e=>{let{alignment:t=fl.alignment,orientation:o=fl.orientation,template:a,as:n=a?"div":at,...i}=e;return(0,bl.jsx)(n,{...i,...!a&&{alignment:t,orientation:o},className:r(e.className,jm),children:e.children})};var Er="searchbox",hl=Er;var so=require("react/jsx-runtime"),xl="k-searchbox",eu=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading],tu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ir={showIcon:!0,icon:"search"},ct=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,showIcon:L=Ir.showIcon,icon:k=Ir.icon,"aria-label":A,...E}=e;return(0,so.jsxs)(oe,{...E,size:a,rounded:n,fillMode:i,hover:l,focus:c,valid:u,invalid:f,required:N,loading:x,disabled:m,className:r(e.className,xl),children:[L&&(0,so.jsx)(v,{className:"k-input-icon",icon:k}),(0,so.jsx)(_e,{placeholder:o,value:t,"aria-label":A}),(0,so.jsx)(We,{...e}),(0,so.jsx)(De,{...e}),(0,so.jsx)(ot,{...e})]})};ct.states=eu;ct.options=tu;ct.className=xl;ct.defaultOptions=Ir;ct.moduleName=Er;ct.folderName=hl;var ou=require("react/jsx-runtime");var Tr="textbox",gl=Tr;var ye=require("react/jsx-runtime"),Nl="k-textbox",au=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],nu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ln={showClearButton:!0,showValidationIcon:!0,separators:!0},be=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Ln.separators,showClearButton:i=Ln.showClearButton,showValidationIcon:l=Ln.showValidationIcon,prefix:c,suffix:u,type:f,value:N,placeholder:x,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:W,id:Se,"aria-label":Re,"aria-describedby":Ke,...tt}=e;return(0,ye.jsxs)(oe,{...tt,size:t,rounded:o,fillMode:a,hover:m,focus:L,valid:k,invalid:A,required:E,loading:M,disabled:O,readonly:W,className:r(e.className,Nl),children:[c&&(0,ye.jsxs)(ye.Fragment,{children:[(0,ye.jsx)(lt,{children:c}),n&&(0,ye.jsx)(dt,{})]}),(0,ye.jsx)(_e,{id:Se,placeholder:x,value:N,type:f,disabled:O,"aria-label":Re,"aria-describedby":Ke,"aria-invalid":A?"true":void 0}),l&&(0,ye.jsx)(De,{valid:k,invalid:A,loading:M,disabled:O}),(0,ye.jsx)(We,{loading:M,disabled:O}),i&&(0,ye.jsx)(ot,{loading:M,disabled:O,readonly:W,value:N}),u&&(0,ye.jsxs)(ye.Fragment,{children:[n&&(0,ye.jsx)(dt,{}),(0,ye.jsx)(pt,{children:u})]})]})};be.states=au;be.options=nu;be.className=Nl;be.defaultOptions=Ln;be.moduleName=Tr;be.folderName=gl;be.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var qa=be;var vl=require("react/jsx-runtime"),Mn=e=>(0,vl.jsx)(qa,{...e});var kl=require("react/jsx-runtime");var Ll=require("react/jsx-runtime");var ru=require("react/jsx-runtime");var Sn=require("react/jsx-runtime"),su=be.states,iu=be.defaultOptions,lu=be.options,pu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],du=[],Ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,Sn.jsx)(v,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,Sn.jsx)(kt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,Sn.jsx)(Mn,{value:"Value",style:{width:300},...o,...a})};Ho.options=lu;Ho.states=su;Ho.variants=du;Ho.defaultOptions=iu;Ho.modifiers=pu;Ho.className=be.className;var nt=require("react/jsx-runtime"),Ml="k-actionsheet-titlebar",cu={},He=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:i,input:l,inputValue:c,inputPlaceholder:u,adaptive:f,titleId:N,children:x,...m}=e;return(0,nt.jsxs)("div",{...m,className:r(e.className,Ml),children:[(0,nt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,nt.jsx)("div",{className:"k-actionsheet-actions",children:a}),!x&&(0,nt.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,nt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,nt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),x&&(0,nt.jsx)("div",{className:"k-actionsheet-title",id:N,children:x}),n&&(0,nt.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(l||i)&&(0,nt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?(0,nt.jsx)(be,{value:c,placeholder:u,size:f?"large":"medium","aria-label":t||u||"Input"}):(0,nt.jsx)(ct,{placeholder:"Filter",size:f?"large":"medium","aria-label":"Filter options"})})]})};He.className=Ml;He.defaultOptions=cu;var zo=require("react/jsx-runtime"),Or="k-actionsheet-view",mu=[],uu={},fu={},Uo=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:i,titleId:l,...c}=e,u=(n==null?void 0:n.type)===He&&(0,zo.jsx)(He,{adaptive:t,titleId:l,...n==null?void 0:n.props}),f=(i==null?void 0:i.type)===ro&&(0,zo.jsx)(ro,{...i==null?void 0:i.props});return(0,zo.jsxs)("div",{...c,className:r(e.className,Or,{[`${Or}-animated`]:o}),children:[u,(0,zo.jsx)("div",{className:"k-actionsheet-content",children:a}),f]})};Uo.states=mu;Uo.options=uu;Uo.className=Or;Uo.defaultOptions=fu;var Wa="action-sheet",yn=Wa;var Br="overlay",Sl=Br;var Al=require("react/jsx-runtime"),yl="k-overlay",bu=[],hu={},xu={},Bt=e=>{let{...t}=e;return(0,Al.jsx)("div",{...t,className:r(e.className,yl),children:e.children})};Bt.states=bu;Bt.options=hu;Bt.className=yl;Bt.defaultOptions=xu;Bt.moduleName=Br;Bt.folderName=Sl;var ko=require("react/jsx-runtime"),Cl="k-actionsheet",gu=[],Nu={},Ja={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ee=e=>{let{side:t=Ja.side,fullscreen:o=Ja.fullscreen,adaptive:a=Ja.adaptive,overlay:n=Ja.overlay,template:i,children:l,header:c,footer:u,id:f,...N}=e,x=f&&!i&&c?`${f}-title`:void 0;return(0,ko.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,ko.jsx)(Bt,{}),(0,ko.jsx)(Ot,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:(0,ko.jsx)("div",{...N,id:f,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":x,className:r(e.className,Cl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:i||(0,ko.jsx)(Uo,{header:c,footer:u,adaptive:a,titleId:x,...e,children:l})})})]})};ee.states=gu;ee.options=Nu;ee.className=Cl;ee.defaultOptions=Ja;ee.moduleName=Wa;ee.folderName=yn;ee.ariaSpec={selector:".k-actionsheet",rules:[{selector:".k-actionsheet",attribute:"role=dialog",usage:"Announces the dialog role of the component."},{selector:".k-actionsheet",attribute:"aria-labelledby (when has title)",usage:"Associates the title of the action sheet."},{selector:".k-actionsheet",attribute:"aria-hidden=true/false (when hidden)",usage:"Announces the hidden state of the ActionSheet container."},{selector:".k-actionsheet",attribute:"aria-modal=true (when modal)",usage:"Announces that the action sheet is modal."},{selector:".k-actionsheet .k-actionsheet-title",attribute:"id",usage:"Used to associate the title with the action sheet wrapper element."}]};var Il=require("react/jsx-runtime"),El="k-actionsheet-container",vu=[],ku={},Lu={},Fo=e=>{let{children:t,...o}=e;return(0,Il.jsx)("div",{...o,className:El,children:t})};Fo.states=vu;Fo.options=ku;Fo.className=El;Fo.defaultOptions=Lu;Fo.moduleName=Wa;Fo.folderName=yn;var Tl=require("react/jsx-runtime"),Pr=e=>{let{...t}=e;return(0,Tl.jsx)("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};var mt=require("react/jsx-runtime"),wr="k-actionsheet-item",Mu=[s.hover,s.focus,s.selected,s.disabled],io=e=>{let{iconName:t,text:o,description:a,hover:n,focus:i,selected:l,disabled:c,...u}=e;return(0,mt.jsxs)("span",{...u,className:r(e.className,wr,y(wr,{hover:n,focus:i,selected:l,disabled:c})),children:[!e.children&&(0,mt.jsx)(mt.Fragment,{children:(0,mt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,mt.jsx)("span",{className:"k-icon-wrap",children:(0,mt.jsx)(v,{className:"k-actionsheet-item-icon",icon:t})}),(0,mt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,mt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,mt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};io.states=Mu;io.className=wr;var Ol=require("react/jsx-runtime");var Su=require("react/jsx-runtime");var yu=require("react/jsx-runtime");var Au=require("react/jsx-runtime");var J=require("react/jsx-runtime"),Cu=ee.options,Eu=ee.states,Pl={...ee.defaultOptions,variant:"normal"},Iu=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Tu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Go=e=>{let{variant:t,modifiers:o,...a}={...Pl,...e},n={},i=(0,J.jsxs)(Pr,{children:[(0,J.jsx)(io,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,J.jsx)(io,{text:"Add to Favorites",iconName:"heart"}),(0,J.jsx)(io,{text:"Upload New",iconName:"upload",disabled:!0}),(0,J.jsx)("hr",{className:"k-hr"}),(0,J.jsx)(io,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(u=>{switch(u){case"actions":n.actionsStart=!!(o!=null&&o[u]),n.actionsEnd=!!(o!=null&&o[u]);break;case"subtitle":n.subtitle=o!=null&&o[u]?l:void 0;break;case"footer":n.footer=!!(o!=null&&o[u]);break;default:break}}),t==="adaptive"?(0,J.jsx)(ee,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,J.jsx)(He,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,J.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:i}):(0,J.jsx)(ee,{...a,fullscreen:n.fullScreen,header:(0,J.jsx)(He,{actionsStart:n.actionsStart?(0,J.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,J.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,J.jsxs)(ro,{alignment:"stretched",children:[(0,J.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,J.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:i})};Go.options=Cu;Go.states=Eu;Go.variants=Iu;Go.defaultOptions=Pl;Go.modifiers=Tu;Go.className=ee.className;var Rr="slider",wl=Rr;var Lt=require("react/jsx-runtime"),Ya="k-slider",Ou=[s.hover,s.focus,s.active,s.disabled,s.readonly],Bu={},ut={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},V=e=>{let{type:t=ut.type,orientation:o=ut.orientation,gradientType:a=ut.gradientType,readonly:n=ut.readonly,disabled:i=ut.disabled,handlePosition:l=ut.handlePosition,showButtons:c=ut.showButtons,showTicks:u=ut.showTicks,value:f=ut.value,min:N=ut.min,max:x=ut.max,startValue:m,endValue:L,hover:k,focus:A,active:E,trackStyle:M,dir:O,...W}=e,Re=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),Ke,tt;return o==="horizontal"?(Ke=O==="rtl"?"chevron-left":"chevron-right",tt=O==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(Ke="chevron-up",tt="chevron-down"),(0,Lt.jsxs)("div",{...W,className:r(Ya,e.className,y(Ya,{readonly:n,disabled:i}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:O,children:[c&&(0,Lt.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:tt,tabIndex:-1,title:"Decrease"}),(0,Lt.jsxs)("div",{className:"k-slider-track-wrap",children:[u&&(0,Lt.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,Lt.jsxs)("div",{className:"k-slider-track",style:M,children:[(0,Lt.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,Lt.jsx)("span",{className:r("k-draghandle","k-draghandle-start",y(Ya,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":m??N,"aria-valuemin":N,"aria-valuemax":L??x,"aria-orientation":Re,"aria-disabled":i?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":W["aria-label"]?`${W["aria-label"]} start`:"Range start"}),(0,Lt.jsx)("span",{className:r("k-draghandle",`k-draghandle-${l}`,y(Ya,{hover:k,focus:A,active:E})),role:"slider",tabIndex:i?void 0:0,"aria-valuenow":t==="range"?L??x:f,"aria-valuemin":t==="range"?m??N:N,"aria-valuemax":x,"aria-orientation":Re,"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"]})]})]}),c&&(0,Lt.jsx)(p,{className:"k-button-increase",rounded:"full",icon:Ke,tabIndex:-1,title:"Increase"})]})};V.states=Ou;V.options=Bu;V.className=Ya;V.defaultOptions=ut;V.moduleName=Rr;V.folderName=wl;V.ariaSpec={selector:".k-slider",rules:[{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"role=slider",usage:"Sets the proper role for Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-label or aria-labelledby or title",usage:"The Slider needs an accessible name to be assigned to it."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the Slider is in a form and announces the invalid state."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuenow",usage:"Specifies the currently selected value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemin",usage:"Specifies the minimum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuemax",usage:"Specifies the maximum available value in the Slider."},{selector:".k-slider .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-valuetext (when has text alternative)",usage:"Specifies a human-readable text alternative to the numeric value. Provided by consuming applications."},{selector:".k-slider:not(.k-disabled) .k-draghandle:not(.k-hsv-draghandle)",attribute:"tabindex=0",usage:"The element must be focusable. Disabled sliders are removed from tab order."},{selector:".k-slider-vertical .k-draghandle",attribute:"aria-orientation=vertical (when vertical)",usage:"Present only when slider is vertical."},{selector:".k-slider.k-disabled .k-draghandle:not(.k-hsv-draghandle)",attribute:"aria-disabled=true",usage:"Rendered only when the Slider is disabled."},{selector:".k-slider.k-readonly .k-draghandle",attribute:"aria-readonly=true (when readonly)",usage:"Rendered only when the Slider is readonly. Readonly sliders remain focusable but their value cannot be changed."},{selector:".k-slider .k-button",attribute:"tabindex=-1",usage:"Excludes the buttons from the natural tab order. Keyboard users use arrow keys on the drag handle."},{selector:".k-slider .k-button",attribute:"title",usage:'Provides a tooltip describing the button action (e.g., "Decrease" or "Increase").'},{selector:".k-slider .k-slider-items",attribute:"aria-hidden=true",usage:"Hides the tick list from assistive technologies. Tick values are redundant with the drag handle value attributes."},{selector:".k-slider .k-tick",attribute:"role=presentation",usage:"Removes semantic meaning from individual tick elements. Ticks are visual-only markers."},{selector:".k-slider .k-tick",attribute:"title",usage:"Represents the value associated with the respective tick."}]};var Kr=require("react/jsx-runtime"),Rl="k-tick",Pu=[],wu={},Kl={label:!1},I=e=>{let{style:t,label:o=Kl.label,orientation:a,large:n,text:i,...l}=e;return(0,Kr.jsx)("li",{...l,role:"presentation",title:i||"Tick",className:r(e.className,Rl,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,Kr.jsx)("span",{className:"k-label",children:i})})};I.states=Pu;I.options=wu;I.className=Rl;I.defaultOptions=Kl;var he=require("react/jsx-runtime"),_l=e=>(0,he.jsx)(V,{"aria-label":e["aria-label"]||"Slider",children:(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{label:!0,large:!0,text:"5"}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{}),(0,he.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var xe=require("react/jsx-runtime"),Dl=e=>(0,xe.jsx)(V,{children:(0,xe.jsxs)(xe.Fragment,{children:[(0,xe.jsx)(I,{className:"k-first",label:!0,large:!0,text:"0"}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{label:!0,large:!0,text:"5"}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{}),(0,xe.jsx)(I,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var _r=require("react/jsx-runtime");var Dr=require("react/jsx-runtime");var Hl=require("react/jsx-runtime"),Hr=e=>(0,Hl.jsx)(V,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var zl=require("react/jsx-runtime"),zr=e=>(0,zl.jsx)(V,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ur=require("react/jsx-runtime");var Fr=require("react/jsx-runtime");var Je=require("react/jsx-runtime"),Ru=V.options,Ku=V.states,Ul={...V.defaultOptions,variant:"horizontal",label:!0},_u=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Du=[{name:"label",title:"Labels"},{name:"tick",title:"Ticks"},{name:"button",title:"Side Buttons"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Ul,...e},n={};Object.keys(o||{}).forEach(f=>{switch(f){case"button":{n.showButtons=!!(o!=null&&o[f]);break}case"label":{n.label=!!(o!=null&&o[f]);break}case"tick":{n.showTicks=!!(o!=null&&o[f]);break}}});let{label:i=!0,showButtons:l,showTicks:c}=n,u={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,Je.jsxs)(Dl,{showTicks:c,showButtons:l,style:{height:"300px",...u},...a,children:[(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,Je.jsxs)(_l,{showTicks:c,showButtons:l,style:{width:"400px",...u},...a,children:[(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,Je.jsx)(I,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Vo.options=Ru;Vo.states=Ku;Vo.variants=_u;Vo.defaultOptions=Ul;Vo.modifiers=Du;Vo.className=V.className;var Za=require("react/jsx-runtime"),Fl="k-spin-button",Uu=[],Fu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link]},Gr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},lo=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Gr.increaseLabel,decreaseLabel:i=Gr.decreaseLabel,...l}=e;return(0,Za.jsxs)("span",{...l,className:r(Fl,e.className),children:[(0,Za.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Za.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":i})]})};lo.states=Uu;lo.options=Fu;lo.className=Fl;lo.defaultOptions=Gr;lo.moduleName=null;lo.folderName=null;var Gl="numeric-textbox",Vl="numerictextbox";var ge=require("react/jsx-runtime"),$l="k-numerictextbox",Gu=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Vu={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},An={showSpinButton:!0,showClearButton:!0,separators:!0},D=e=>{let{size:t,rounded:o,fillMode:a,separators:n=An.separators,showClearButton:i=An.showClearButton,showSpinButton:l=An.showSpinButton,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,id:W,"aria-label":Se,"aria-describedby":Re,...Ke}=e;return(0,ge.jsxs)(oe,{...Ke,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,$l),children:[c&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)(lt,{children:c}),n&&(0,ge.jsx)(dt,{})]}),(0,ge.jsx)(_e,{id:W,placeholder:N,value:f,role:"spinbutton",disabled:M,"aria-label":Se,"aria-describedby":Re,"aria-invalid":k?"true":void 0}),(0,ge.jsx)(De,{valid:L,invalid:k,loading:E,disabled:M}),(0,ge.jsx)(We,{loading:E,disabled:M}),i&&(0,ge.jsx)(ot,{loading:E,disabled:M,readonly:O,value:f}),u&&(0,ge.jsxs)(ge.Fragment,{children:[n&&(0,ge.jsx)(dt,{}),(0,ge.jsx)(pt,{children:u})]}),l&&(0,ge.jsx)(lo,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};D.states=Gu;D.options=Vu;D.className=$l;D.defaultOptions=An;D.moduleName=Gl;D.folderName=Vl;D.ariaSpec={selector:".k-numerictextbox",rules:[{selector:".k-numerictextbox > .k-input-inner",attribute:"role=spinbutton",usage:"Announces the spin button capabilities of the NumericTextBox."},{selector:".k-numerictextbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuenow (when has value)",usage:"Announces the current value of the component."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemin (when has min)",usage:"Announces the minimum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-valuemax (when has max)",usage:"Announces the maximum allowed value."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the NumericTextBox is in an invalid state."},{selector:".k-numerictextbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message."},{selector:".k-numerictextbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"role=button or nodeName=button",usage:"Describes the role of the spin buttons."},{selector:".k-numerictextbox .k-spin-button > .k-button",attribute:"aria-label",usage:"The button element requires discernible text."},{selector:".k-numerictextbox.k-disabled .k-spin-button > .k-button",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the NumericTextBox is disabled."}]};var Qa=D;var ql=require("react/jsx-runtime"),Xl=e=>(0,ql.jsx)(Qa,{...e});var En=Pi(require("react"));var Vr=require("react/jsx-runtime"),$u="k-list-group-sticky-header",$r=e=>(0,Vr.jsx)("div",{className:r($u,e.className),children:(0,Vr.jsx)("div",{className:"k-list-header-text",children:e.children})});var Wl=require("react/jsx-runtime"),Xu="k-no-data",Cn=e=>{let{live:t,...o}=e;return(0,Wl.jsx)("span",{...o,className:r(Xu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Lo="list",$o=Lo;var Xo=require("react/jsx-runtime"),Xr="k-list",qu=[],Wu={size:[d.undefined,d.small,d.medium,d.large]},Ju={},K=e=>{var L;let{size:t,virtualization:o,children:a,header:n,optionLabel:i,customValue:l,noData:c,screenReaders:u,...f}=e,x=En.default.Children.toArray(a)[0],m=(L=x==null?void 0:x.props)!=null&&L.children?En.default.Children.count(x.props.children):En.default.Children.count(a);return(0,Xo.jsxs)("div",{...f,className:r(e.className,Xr,C(Xr,{size:t}),{"k-virtual-list":o}),children:[i,l,n&&(0,Xo.jsx)($r,{children:n}),a||(c!==void 0?c:(0,Xo.jsx)(Cn,{live:!0,children:"No data found."})),u&&a&&(0,Xo.jsxs)(Cn,{className:"k-sr-only",live:!0,children:[m," items found."]})]})};K.states=qu;K.options=Wu;K.className=Xr;K.defaultOptions=Ju;K.moduleName=Lo;K.folderName=$o;K.ariaSpec={selector:".k-list",rules:[{selector:".k-list .k-no-data",attribute:"aria-live=polite",usage:'Announces "No data found" to screen readers.'}]};var Yl=require("react/jsx-runtime"),Jl="k-list-container",Yu=[],Zu={},Qu={},qo=e=>{let{...t}=e;return(0,Yl.jsx)("div",{...t,className:r(e.className,Jl),children:e.children})};qo.states=Yu;qo.options=Zu;qo.className=Jl;qo.defaultOptions=Qu;qo.moduleName=Lo;qo.folderName=$o;var Mo="checkbox",Wo=Mo;var qr=require("react/jsx-runtime"),In="k-checkbox",ju=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.checked,s.indeterminate],ef={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full]},tf={},ft=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:i,disabled:l,invalid:c,valid:u,required:f,size:N,rounded:x,wrapperRole:m,...L}=e;return(0,qr.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,qr.jsx)("input",{...L,id:t,type:"checkbox",defaultChecked:o,required:f,disabled:l||void 0,"aria-invalid":c?"true":void 0,className:r(e.className,In,C(In,{size:N,rounded:x}),y(In,{hover:n,focus:i,disabled:l,invalid:c,valid:u,indeterminate:a,checked:o}))})})};ft.states=ju;ft.options=ef;ft.className=In;ft.defaultOptions=tf;ft.moduleName=Mo;ft.folderName=Wo;ft.ariaSpec={selector:".k-checkbox",rules:[{selector:".k-checkbox",attribute:"role=checkbox or type=checkbox",usage:"Announces the checkbox role of the element."},{selector:".k-checkbox",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name to which it will be assigned."},{selector:".k-checkbox",attribute:"aria-checked=true/false/mixed or checked",usage:"For native checkboxes the checked state is handled by the browser. aria-checked is used for custom implementations."},{selector:".k-checkbox",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the checkbox."},{selector:".k-checkbox",attribute:"disabled or aria-disabled=true (when disabled)",usage:"For native checkboxes use the HTML disabled attribute. aria-disabled for custom implementations."},{selector:".k-invalid, .ng-invalid",attribute:"aria-invalid=true (when invalid)",usage:"Rendered only when the CheckBox is in a form and announces the invalid state."}]};var Mt=ft;var jl=require("react/jsx-runtime"),Zl="k-checkbox-list",of=[],af={},Ql={layout:"vertical"},ze=e=>{let{layout:t=Ql.layout,...o}=e;return(0,jl.jsx)("ul",{...o,className:r(e.className,Zl,{[`k-list-${t}`]:t}),children:e.children})};ze.states=of;ze.options=af;ze.className=Zl;ze.defaultOptions=Ql;ze.moduleName=Mo;ze.folderName=Wo;var tp=require("react/jsx-runtime"),ep="k-checkbox-list-item",nf=[],rf={},sf={},Ue=e=>{let{...t}=e;return(0,tp.jsx)("li",{...t,className:r(e.className,ep),children:e.children})};Ue.states=nf;Ue.options=rf;Ue.className=ep;Ue.defaultOptions=sf;Ue.moduleName=Mo;Ue.folderName=Wo;var So=require("react/jsx-runtime"),Vt=({children:e="Label",id:t="cb-label-after",...o})=>(0,So.jsxs)(So.Fragment,{children:[(0,So.jsx)(Mt,{id:t,...o}),(0,So.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var Wr=require("react/jsx-runtime");var Jr=require("react/jsx-runtime");var Yr=require("react/jsx-runtime");var lf=require("react/jsx-runtime");var pf=require("react/jsx-runtime");var df=require("react/jsx-runtime");var Ae=require("react/jsx-runtime"),cf=ze.options,mf=ze.states,uf={...ze.defaultOptions,variant:"vertical"},ff=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],bf=[],Jo=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ae.jsxs)(ze,{layout:"horizontal",...o,children:[(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})})]}):(0,Ae.jsxs)(ze,{...o,children:[(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),defaultChecked:!0,children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})}),(0,Ae.jsx)(Ue,{children:(0,Ae.jsx)(Vt,{id:R("cb"),children:"Label"})})]})};Jo.options=cf;Jo.states=mf;Jo.variants=ff;Jo.defaultOptions=uf;Jo.modifiers=bf;Jo.className=ze.className;var op=require("react/jsx-runtime"),hf=Mt.options,xf=Mt.states,gf=Mt.defaultOptions,Nf=[],vf=[],Yo=e=>(0,op.jsx)(Vt,{id:R("checkbox"),...e,defaultChecked:!0,children:"Label"});Yo.options=hf;Yo.states=xf;Yo.variants=Nf;Yo.defaultOptions=gf;Yo.modifiers=vf;Yo.className=Mt.className;var Pt=require("react/jsx-runtime"),Zr="k-list-item",kf=[s.hover,s.focus,s.selected,s.disabled],Lf={},Mf={},P=e=>{let{text:t,groupLabel:o,group:a,iconName:n,iconClassName:i,showCheckbox:l,checked:c,hover:u,focus:f,selected:N,disabled:x,actions:m,description:L,id:k,...A}=e,E=t||e.children;return(0,Pt.jsxs)("li",{...A,id:k,role:a?"presentation":"option",tabIndex:a?void 0:f?0:-1,"aria-selected":!a&&N?"true":a?void 0:"false","aria-disabled":!a&&x?"true":void 0,className:r(e.className,a?"k-list-group-item":Zr,y(Zr,{hover:u,focus:f,disabled:x,selected:N})),children:[l&&(0,Pt.jsx)(ft,{checked:c}),n&&(0,Pt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Pt.jsx)(v,{icon:n,className:r("k-list-item-icon",i)})}),(0,Pt.jsx)("span",{className:"k-list-item-text",children:E}),m&&(0,Pt.jsx)("div",{className:"k-list-item-actions",children:m}),L&&(0,Pt.jsx)("span",{className:"k-list-item-description",children:L}),o&&o!==""&&(0,Pt.jsx)("div",{className:"k-list-item-group-label",children:o})]})};P.states=kf;P.options=Lf;P.className=Zr;P.defaultOptions=Mf;P.moduleName=Lo;P.folderName=$o;P.ariaSpec={selector:".k-list-item",rules:[{selector:".k-list-item",attribute:"role=option",usage:"Each list item is an option in the listbox."},{selector:".k-list-item",attribute:"id",usage:"ID for aria-activedescendant reference."},{selector:".k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state of the option."},{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-item-icon",attribute:"aria-hidden=true",usage:"Decorative icons are hidden from assistive technology."}]};var ap=require("react/jsx-runtime"),Sf="k-list-ul",$t=e=>{let{children:t,role:o,id:a,...n}=e;return(0,ap.jsx)("ul",{...n,id:a,role:o,className:r(Sf,e.className),children:t})};$t.ariaSpec={selector:".k-list-ul",rules:[{selector:'.k-list-ul[role="listbox"]',attribute:"role=listbox",usage:"For ungrouped lists, the UL has the listbox role."},{selector:'.k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."},{selector:'.k-list-ul[role="group"]',attribute:"role=group",usage:"For grouped sublists under a group header."},{selector:'.k-list-ul[role="group"]',attribute:"aria-labelledby (when grouped)",usage:"References the group header ID."}]};var Zo=require("react/jsx-runtime"),yf="k-list-content",F=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:i,...l}=e;return(0,Zo.jsxs)("div",{...l,className:r(yf,e.className),role:o?"listbox":void 0,id:o?i:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:(0,Zo.jsx)($t,{role:"listbox",id:i,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,Zo.jsx)("div",{className:"k-height-container",children:(0,Zo.jsx)("div",{})})]})};F.ariaSpec={selector:".k-list-content",rules:[{selector:'.k-list-content[role="listbox"]',attribute:"role=listbox",usage:"For grouped lists, the list content container has the listbox role."},{selector:'.k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name for the listbox."}]};var Qr=require("react/jsx-runtime");var Qo=require("react/jsx-runtime"),Af="k-list-group-item",yo=e=>{let{groupIconName:t,...o}=e;return(0,Qo.jsxs)("li",{...o,role:"presentation",className:r(Af,e.className),children:[t&&(0,Qo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Qo.jsx)(v,{icon:t,className:"k-list-item-icon"})}),(0,Qo.jsx)("span",{className:"k-list-item-text",children:e.children})]})};yo.ariaSpec={selector:".k-list-group-item",rules:[{selector:".k-list-group-item",attribute:"role=presentation",usage:"Group headers are presentational, not selectable options."},{selector:".k-list-group-item",attribute:"id (when referenced)",usage:"ID for aria-labelledby on the parent group UL."}]};var np=require("react/jsx-runtime"),jr="k-list-optionlabel",Cf=[s.hover,s.focus,s.selected,s.disabled],Ef={},If={},Tn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,np.jsx)("div",{...l,className:r(jr,y(jr,{hover:o,focus:a,selected:n,disabled:i})),children:t})};Tn.states=Cf;Tn.options=Ef;Tn.className=jr;Tn.defaultOptions=If;var rp=require("react/jsx-runtime"),es="k-list-custom-value",Tf=[s.hover,s.focus,s.selected,s.disabled],Of={},Bf={},po=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:i,...l}=e;return(0,rp.jsx)("div",{...l,className:r(es,y(es,{hover:o,focus:a,selected:n,disabled:i})),children:t})};po.states=Tf;po.options=Of;po.className=es;po.defaultOptions=Bf;var ts=require("react/jsx-runtime");var os=require("react/jsx-runtime");var as=require("react/jsx-runtime");var ns=require("react/jsx-runtime");var Pf=require("react/jsx-runtime");var rs=require("react/jsx-runtime");var sp="dropdown-list",ip="dropdownlist";var Y=require("react/jsx-runtime"),lp="k-dropdownlist",wf=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled,s.loading,s.readonly],Rf={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},ss={showValue:!0,arrowIconName:"chevron-down"},le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=ss.arrowIconName,showValue:i=ss.showValue,valueIconName:l,prefix:c,suffix:u,value:f,placeholder:N,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,popup:W,opened:Se,adaptive:Re,adaptiveSettings:Ke,adaptiveTitle:tt,adaptiveSubtitle:go,adaptiveFilter:er,id:ao,activeDescendant:mn,"aria-label":tr,...or}=e,Dc=ao?`${ao}-listbox`:void 0,Oi=ao?`${ao}-value`:void 0;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(Tt,{...or,id:ao,size:t,rounded:o,fillMode:a,hover:x,focus:m,valid:L,invalid:k,required:A,loading:E,disabled:M,readonly:O,className:r(e.className,lp,{"k-icon-picker":!i&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Se?"true":"false","aria-controls":Se?Dc:void 0,"aria-activedescendant":Se&&mn?mn:void 0,"aria-describedby":Se?Oi:void 0,"aria-disabled":M?"true":void 0,"aria-label":tr,tabIndex:0,children:[(0,Y.jsx)(lt,{children:c}),(0,Y.jsx)(vo,{placeholder:N,value:f,showValue:i,valueIconName:l,id:Oi}),(0,Y.jsx)(De,{valid:L,invalid:k,loading:E,disabled:M}),(0,Y.jsx)(We,{loading:E,disabled:M}),(0,Y.jsx)(pt,{children:u}),(0,Y.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),Se&&W&&(0,Y.jsx)(q,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:W}),Re&&(0,Y.jsx)(ee,{adaptive:!0,...Ke,header:(0,Y.jsx)(He,{actionsEnd:(0,Y.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:er,inputValue:f,inputPlaceholder:N,title:tt,subtitle:go}),children:(0,Y.jsx)("div",{className:"k-list-container",children:(0,Y.jsx)(K,{size:"large",children:(0,Y.jsxs)(F,{"aria-label":"Options",children:[(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"}),(0,Y.jsx)(P,{text:"List item"})]})})})})]})};le.states=wf;le.options=Rf;le.className=lp;le.defaultOptions=ss;le.moduleName=sp;le.folderName=ip;le.ariaSpec={rules:[{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"role=combobox",usage:"Announces the dropdown element."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-haspopup=listbox",usage:"Indicates the presence of a listbox popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-expanded",usage:"Announces the visibility state of the popup."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"aria-label",usage:"Accessible name for the dropdown."},{selector:".k-dropdownlist:not(.k-views-dropdown)",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-dropdownlist.k-disabled",attribute:"aria-disabled=true",usage:"Rendered when the dropdown is disabled."},{selector:".k-dropdownlist .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-dropdownlist .k-input-button",attribute:"tabindex=-1",usage:"The button must not be focusable."},{selector:".k-dropdownlist-popup .k-list-content, .k-dropdownlist-popup .k-list-ul",attribute:"role=listbox",usage:"Popup list has listbox role."},{selector:'.k-dropdownlist-popup .k-list-ul[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-dropdownlist-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."}]};var Kf=require("react/jsx-runtime");var pp=require("react/jsx-runtime");var is=require("react/jsx-runtime");var _f=require("react/jsx-runtime");var dp=require("react/jsx-runtime");var ls=require("react/jsx-runtime");var Df=require("react/jsx-runtime");var Ye=require("react/jsx-runtime"),Hf=le.states,zf=le.defaultOptions,Uf=le.options,Ff=[{name:"opened",title:"Opened"}],Gf=[],ea=e=>{let{modifiers:t,...o}=e,a={},n=(0,Ye.jsxs)(Ye.Fragment,{children:[(0,Ye.jsx)("div",{className:"k-list-filter",children:(0,Ye.jsx)(ct,{})}),(0,Ye.jsx)(K,{style:{width:300},size:o.size,children:(0,Ye.jsxs)(F,{children:[(0,Ye.jsx)(P,{children:"List item"}),(0,Ye.jsx)(P,{children:"List item"}),(0,Ye.jsx)(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(i=>{i==="opened"&&(a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0)}),(0,Ye.jsx)("div",{children:(0,Ye.jsx)(le,{placeholder:"Value",style:{width:300},...o,...a})})};ea.options=Uf;ea.states=Hf;ea.variants=Gf;ea.defaultOptions=zf;ea.modifiers=Ff;ea.className=le.className;var cp=require("react/jsx-runtime");var mp=require("react/jsx-runtime");var Vf=require("react/jsx-runtime");var On=require("react/jsx-runtime"),$f=D.states,Xf=D.defaultOptions,qf=D.options,Wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Jf=[],ta=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,On.jsx)(le,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,On.jsx)(kr,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,On.jsx)(Xl,{value:"Value",style:{width:300},...o,...a})};ta.options=qf;ta.states=$f;ta.variants=Jf;ta.defaultOptions=Xf;ta.modifiers=Wf;ta.className=D.className;var S=require("react/jsx-runtime"),up="k-colorgradient-inputs",Yf=[],Zf={size:[d.undefined,d.small,d.medium,d.large]},fp={mode:"rgba"},oa=e=>{let{mode:t=fp.mode,size:o,...a}=e;return(0,S.jsxs)("div",{...a,className:r(up,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(D,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(be,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};oa.states=Yf;oa.options=Zf;oa.className=up;oa.defaultOptions=fp;var Ce=require("react/jsx-runtime"),bp="k-colorgradient-color-contrast",Qf=[],jf={},eb={},aa=()=>(0,Ce.jsxs)("div",{className:r(bp,"k-vbox"),children:[(0,Ce.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Ce.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Ce.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Ce.jsx)(v,{icon:"check"}),(0,Ce.jsx)(v,{icon:"check"})]})]}),(0,Ce.jsxs)("div",{children:[(0,Ce.jsx)("span",{children:"AA: 4.5"}),(0,Ce.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Ce.jsx)(v,{icon:"check"})]})]}),(0,Ce.jsxs)("div",{children:[(0,Ce.jsx)("span",{children:"AAA: 7.0"}),(0,Ce.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Ce.jsx)(v,{icon:"x"})]})]})]});aa.states=Qf;aa.options=jf;aa.className=bp;aa.defaultOptions=eb;var hp="color-gradient",xp="colorgradient";var pe=require("react/jsx-runtime"),Bn="k-colorgradient",tb=[s.hover,s.focus,s.readonly,s.disabled],ob={size:[d.undefined,d.small,d.medium,d.large]},wt={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"},me=e=>{let{size:t,mode:o=wt.mode,readonly:a=wt.readonly,disabled:n=wt.disabled,gradientStyle:i=wt.gradientStyle,dragHandleStyle:l=wt.dragHandleStyle,alphaStyle:c=wt.alphaStyle,alphaStyleHorizontal:u=wt.alphaStyleHorizontal,contrast:f=wt.contrast,dir:N,hover:x,focus:m,hoverHandle:L,focusHandle:k,canvasOrientation:A=wt.canvasOrientation,role:E,tabIndex:M,...O}=e;return(0,pe.jsxs)("div",{...O,role:E??"textbox","aria-label":E==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":n?"true":void 0,className:r(e.className,Bn,C(Bn,{size:t}),y(Bn,{hover:x,focus:m,readonly:a,disabled:n})),dir:N,children:[!A||A==="horizontal"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,pe.jsx)(zr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(zr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:c})]})]}),A==="vertical"&&(0,pe.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,pe.jsx)("div",{className:"k-hsv-rectangle",style:i,children:(0,pe.jsx)("div",{className:"k-hsv-gradient",children:(0,pe.jsx)("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":L,"k-focus":k}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),(0,pe.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,pe.jsx)(Hr,{className:"k-hue-slider",hover:L,focus:k}),o!=="rgb"&&o!=="hsv"&&(0,pe.jsx)(Hr,{className:"k-alpha-slider",hover:L,focus:k,trackStyle:u})]})]}),(0,pe.jsx)(oa,{mode:e.mode,size:t}),f&&(0,pe.jsx)(aa,{})]})};me.states=tb;me.options=ob;me.className=Bn;me.defaultOptions=wt;me.moduleName=hp;me.folderName=xp;me.ariaSpec={selector:".k-colorgradient",rules:[{selector:".k-colorgradient",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a value that could be submitted."},{selector:".k-colorgradient",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorgradient",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorgradient.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorGradient is disabled."},{selector:".k-hsv-draghandle",attribute:"role=slider",usage:"The 2D draghandle must have slider role for ARIA-allowed attributes."},{selector:".k-hsv-draghandle",attribute:"aria-orientation=undefined",usage:"The implicit orientation for the slider must be removed for the 2D handle."},{selector:".k-hsv-draghandle",attribute:"aria-label",usage:"Must provide information about the purpose of the slider and the currently selected color."},{selector:".k-hsv-draghandle",attribute:"aria-valuetext",usage:"Must specify the values on both X and Y axis."},{selector:".k-hsv-draghandle",attribute:"aria-valuenow",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemin",usage:"Required by the slider role."},{selector:".k-hsv-draghandle",attribute:"aria-valuemax",usage:"Required by the slider role."},{selector:".k-numerictextbox>.k-input-inner",attribute:"aria-label",usage:"Must provide the name of the channel (red, green, blue, or alpha)."}]};var gp=require("react/jsx-runtime"),Pn=e=>(0,gp.jsx)(me,{...e});var ab=require("react/jsx-runtime");var nb=require("react/jsx-runtime");var wn=require("react/jsx-runtime"),rb=me.options,sb=me.states,ib={...me.defaultOptions,variant:"rgba"},lb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],pb=[],na=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,wn.jsx)(Pn,{...o,mode:t});case"rgb":return(0,wn.jsx)(Pn,{...o,mode:t});default:return(0,wn.jsx)(Pn,{...o,mode:t})}};na.options=rb;na.states=sb;na.variants=lb;na.defaultOptions=ib;na.modifiers=pb;na.className=me.className;var Np=require("react/jsx-runtime"),ps=e=>(0,Np.jsx)("tr",{role:"row",children:e.children});var vp=require("react/jsx-runtime"),ds="k-colorpalette-tile",db=[s.hover,s.focus,s.selected],cb={},ra=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:i,...l}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,vp.jsx)("td",{...l,role:"gridcell","aria-label":t,"aria-selected":i?"true":void 0,className:r(e.className,ds,y(ds,{hover:a,focus:n,selected:i})),style:c})};ra.states=db;ra.options=cb;ra.className=ds;var kp="color-palette",Lp="colorpalette";var sa=require("react/jsx-runtime"),Rn="k-colorpalette",mb=[s.disabled],ub={size:[d.undefined,d.small,d.medium,d.large]},Mp={columns:10},Fe=e=>{let{size:t,palette:o,columns:a=Mp.columns,tileSize:n,disabled:i,...l}=e,c=[];if(o){let u=a||o.columns,f=o.colors?o.colors:o;Array.isArray(f)&&Array.from({length:Math.ceil(f.length/u)},(N,x)=>{let m=[];f.slice(x*u,(x+1)*u).map((k,A)=>{m.push((0,sa.jsx)(ra,{color:k,tileSize:n},A))});let L=(0,sa.jsx)(ps,{children:m},x);c.push(L)})}return(0,sa.jsx)("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":i?"true":void 0,className:r(e.className,Rn,y(Rn,{disabled:i}),C(Rn,{size:t})),children:(0,sa.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,sa.jsx)("tbody",{children:c.length>0?c:e.children})})})};Fe.states=mb;Fe.options=ub;Fe.className=Rn;Fe.defaultOptions=Mp;Fe.moduleName=kp;Fe.folderName=Lp;Fe.ariaSpec={selector:".k-colorpalette",rules:[{selector:".k-colorpalette",attribute:"role=grid",usage:"The focusable wrapper announces its role as a grid."},{selector:".k-colorpalette",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpalette",attribute:"aria-activedescendant",usage:"Points to the focused cell in the table."},{selector:".k-colorpalette",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpalette.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the ColorPalette is disabled."},{selector:".k-colorpalette-table",attribute:"role=none or role=presentation",usage:"Negates the default role of the table element."},{selector:".k-colorpalette-table>tbody>tr",attribute:"role=row",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"role=gridcell",usage:"Required as the semantic role of the parent table has been removed."},{selector:".k-colorpalette-tile",attribute:"aria-label or title",usage:"The text representation of the color value for the current cell."},{selector:".k-colorpalette-tile.k-selected",attribute:"aria-selected=true",usage:"Present on the currently selected cell."}]};var Kn=Fe;var ja={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};var yp=require("react/jsx-runtime"),Sp=e=>(0,yp.jsx)(Kn,{palette:ja.basic,...e});var fb=require("react/jsx-runtime");var Ap=require("react/jsx-runtime");var Cp=require("react/jsx-runtime"),bb=Fe.options,hb=Fe.states,xb={...Fe.defaultOptions,variant:"basic"},gb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Nb={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}},vb=[],ia=e=>{let{variant:t="basic",...o}=e,a=Nb[t];return(0,Cp.jsx)(Sp,{columns:a.columns,palette:a,...o})};ia.options=bb;ia.states=hb;ia.variants=gb;ia.defaultOptions=xb;ia.modifiers=vb;ia.className=Fe.className;var Ep="color-editor",Ip="coloreditor";var ae=require("react/jsx-runtime"),_n="k-coloreditor",kb=[s.focus],Lb={size:[d.undefined,d.small,d.medium,d.large]},en={view:"gradient",palette:ja.office,actionButtons:!0,canvasOrientation:"horizontal"},te=e=>{let{size:t,view:o=en.view,palette:a=en.palette,color:n,currentColor:i,focus:l,focusView:c,dir:u,group:f,actionButtons:N=en.actionButtons,canvasOrientation:x=en.canvasOrientation,...m}=e;return(0,ae.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",_n,C(_n,{size:t}),y(_n,{focus:l})),dir:u,children:[(0,ae.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ae.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:f&&(0,ae.jsxs)(B,{fillMode:"flat",children:[(0,ae.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ae.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ae.jsx)("div",{className:"k-spacer"}),(0,ae.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ae.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ae.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ae.jsx)(no,{className:"k-coloreditor-preview-color",color:n}),(0,ae.jsx)(no,{className:"k-coloreditor-current-color",color:i})]})]})]}),(0,ae.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ae.jsx)(me,{focus:c,size:t,canvasOrientation:x,role:"none",tabIndex:-1}):(0,ae.jsx)(Fe,{palette:a,size:t})}),N&&(0,ae.jsxs)(at,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ae.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ae.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};te.states=kb;te.options=Lb;te.className=_n;te.defaultOptions=en;te.moduleName=Ep;te.folderName=Ip;te.ariaSpec={selector:".k-flatcolorpicker",rules:[{selector:".k-flatcolorpicker",attribute:"role=textbox",usage:"The focusable wrapper should be considered a textbox with a submittable value."},{selector:".k-flatcolorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-flatcolorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-flatcolorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the FlatColorPicker is disabled."},{selector:".k-colorgradient",attribute:"role=none",usage:"The inner ColorGradient must have its role removed."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var la=te;var Mb=require("react/jsx-runtime");var Sb=require("react/jsx-runtime");var Op=require("react/jsx-runtime"),Tp=e=>(0,Op.jsx)(la,{group:!0,currentColor:"fuchsia",...e});var Pp=require("react/jsx-runtime"),Bp=e=>(0,Pp.jsx)(la,{view:"palette",group:!0,currentColor:"fuchsia",...e});var cs=require("react/jsx-runtime"),yb=te.options,Ab=te.states,Cb={...te.defaultOptions,variant:"gradient"},Eb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Ib=[],pa=e=>{let{variant:t,...o}=e;return t==="palette"?(0,cs.jsx)(Bp,{...o,color:"white"}):(0,cs.jsx)(Tp,{...o,color:"rgba(183, 118 , 118, 1.00)"})};pa.options=yb;pa.states=Ab;pa.variants=Eb;pa.defaultOptions=Cb;pa.modifiers=Ib;pa.className=te.className;var wp="color-picker",Rp="colorpicker";var de=require("react/jsx-runtime"),Kp="k-colorpicker",Tb=[s.hover,s.focus,s.valid,s.invalid,s.required,s.disabled],Ob={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},_p={arrowIconName:"chevron-down"},rt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=_p.arrowIconName,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,valueIconName:A,popup:E,opened:M,adaptive:O,adaptiveSettings:W,adaptiveTitle:Se,adaptiveSubtitle:Re,...Ke}=e,tt="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(Tt,{...Ke,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,disabled:k,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||O?tt:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":k?"true":void 0,className:r(e.className,Kp,"k-icon-picker"),children:[(0,de.jsx)(lt,{children:i}),(0,de.jsx)(vo,{placeholder:u,value:c,showValue:!1,valueIcon:(0,de.jsx)(no,{className:"k-value-icon",color:c,iconName:A}),valueIconName:A}),(0,de.jsx)(pt,{children:l}),(0,de.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:k})]}),M&&E&&(0,de.jsx)(q,{id:tt,className:"k-colorpicker-popup",children:E}),O&&(0,de.jsx)(ee,{adaptive:!0,id:tt,...W,header:(0,de.jsx)(He,{actionsEnd:(0,de.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Se,subtitle:Re}),footer:(0,de.jsxs)(ro,{children:[(0,de.jsx)(p,{text:"Cancel",size:"large"}),(0,de.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(te,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};rt.states=Tb;rt.options=Ob;rt.className=Kp;rt.defaultOptions=_p;rt.moduleName=wp;rt.folderName=Rp;rt.ariaSpec={selector:".k-colorpicker",rules:[{selector:".k-colorpicker",attribute:"role=combobox",usage:"The focusable element should have role combobox (input with popup)."},{selector:".k-colorpicker",attribute:"aria-label or aria-labelledby",usage:"The component needs an accessible name including the currently selected value."},{selector:".k-colorpicker",attribute:"aria-haspopup=dialog",usage:"Indicates the component has a Dialog Popup."},{selector:".k-colorpicker",attribute:"aria-expanded=true/false",usage:"Announces the visibility state of the popup."},{selector:".k-colorpicker",attribute:"aria-controls (when open)",usage:"Points to the popup element."},{selector:".k-colorpicker",attribute:"tabindex=0",usage:"The element must be focusable."},{selector:".k-colorpicker.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorpicker.k-disabled .k-button",attribute:"disabled or aria-disabled=true",usage:"Rendered only when the picker is disabled."},{selector:".k-colorgradient",attribute:"tabindex=-1",usage:"The inner ColorGradient must be removed from the page tab sequence."}]};var Xt=rt;var Dp=require("react/jsx-runtime"),Dn=e=>(0,Dp.jsx)(Xt,{...e});var Bb=require("react/jsx-runtime");var Pb=require("react/jsx-runtime");var wb=require("react/jsx-runtime");var Rb=require("react/jsx-runtime");var Kb=require("react/jsx-runtime");var _b=require("react/jsx-runtime");var co=require("react/jsx-runtime"),Db=Xt.options,Hb=Xt.states,Hp={...Xt.defaultOptions,variant:"color"},zb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Ub=[{name:"opened",title:"Opened"}],da=e=>{let{variant:t,modifiers:o,...a}={...Hp,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?(0,co.jsx)(te,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let i=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Dn,{...a,...n})});case"icon":return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Dn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,co.jsx)("div",{style:i,children:(0,co.jsx)(Dn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};da.options=Db;da.states=Hb;da.variants=zb;da.defaultOptions=Hp;da.modifiers=Ub;da.className=Xt.className;var ms="combobox",zp=ms;var _=require("react/jsx-runtime"),Up="k-combobox",Fb=[s.hover,s.focus,s.valid,s.invalid,s.loading,s.required,s.disabled,s.readonly],Gb={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline]},Fp={separators:!0},Ee=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Fp.separators,prefix:i,suffix:l,value:c,placeholder:u,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,popup:E,opened:M,readonly:O,adaptive:W,adaptiveSettings:Se,adaptiveTitle:Re,adaptiveSubtitle:Ke,adaptiveCustomValue:tt,id:go,autocomplete:er,activeDescendant:ao,"aria-label":mn,...tr}=e,or=go?`${go}-listbox`:void 0;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(oe,{...tr,size:t,rounded:o,fillMode:a,hover:f,focus:N,valid:x,invalid:m,required:L,loading:k,disabled:A,readonly:O,className:r(e.className,Up),children:[i&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(lt,{children:i}),n&&(0,_.jsx)(dt,{})]}),(0,_.jsx)(_e,{id:go,placeholder:u,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":M?"true":"false","aria-controls":M?or:void 0,"aria-activedescendant":M&&ao?ao:void 0,"aria-autocomplete":er,"aria-invalid":m?"true":void 0,"aria-busy":k?"true":void 0,"aria-label":mn,disabled:A,readOnly:O}),(0,_.jsx)(De,{valid:x,invalid:m,loading:k,disabled:A}),(0,_.jsx)(We,{loading:k,disabled:A}),(0,_.jsx)(ot,{loading:k,disabled:A,readonly:O,value:c}),l&&(0,_.jsxs)(_.Fragment,{children:[n&&(0,_.jsx)(dt,{}),(0,_.jsx)(pt,{children:l})]}),(0,_.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:A})]}),M&&E&&(0,_.jsx)(q,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),W&&(0,_.jsx)(ee,{adaptive:!0,id:go?`${go}-adaptive`:void 0,...Se,header:(0,_.jsx)(He,{actionsEnd:(0,_.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:u,title:Re,subtitle:Ke}),children:(0,_.jsx)("div",{className:"k-list-container",children:(0,_.jsx)(K,{customValue:tt?(0,_.jsx)(po,{text:`Use "${c}"`}):void 0,size:"large",children:(0,_.jsxs)(F,{"aria-label":Re||"Options",children:[(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"}),(0,_.jsx)(P,{text:"List item"})]})})})})]})};Ee.states=Fb;Ee.options=Gb;Ee.className=Up;Ee.defaultOptions=Fp;Ee.moduleName=ms;Ee.folderName=zp;Ee.ariaSpec={selector:".k-combobox",rules:[{selector:".k-combobox > .k-input-inner",attribute:"role=combobox",usage:"Identifies the input as a combobox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-haspopup=listbox",usage:"Indicates the combobox has a listbox popup."},{selector:".k-combobox > .k-input-inner",attribute:"aria-expanded",usage:"Indicates whether the popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-controls=${id}-listbox (when open)",usage:"Points to the listbox element when popup is open."},{selector:".k-combobox > .k-input-inner",attribute:"aria-activedescendant (when open)",usage:"Points to the focused item in the listbox."},{selector:".k-combobox > .k-input-inner",attribute:"aria-autocomplete=list|both|inline (when has autocomplete)",usage:"Indicates the autocomplete behavior."},{selector:".k-combobox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the combobox is in an invalid state."},{selector:".k-combobox > .k-input-inner",attribute:"aria-busy=true (when loading)",usage:"Rendered when the combobox is loading data."},{selector:".k-combobox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"Accessible name provided by consuming app."},{selector:".k-combobox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the combobox is disabled."},{selector:".k-combobox .k-input-button",attribute:"role=button or nodeName=button",usage:"The dropdown toggle button."},{selector:".k-combobox .k-input-button",attribute:"aria-label",usage:"Accessible name for the dropdown button."},{selector:".k-combobox .k-input-button",attribute:"tabindex=-1",usage:"Dropdown button is not in the tab order."},{selector:".k-combobox-popup .k-list-content, .k-combobox-popup .k-list-ul",attribute:"role=listbox",usage:"The popup list container has the listbox role."},{selector:'.k-combobox-popup .k-list-ul[role="listbox"], .k-combobox-popup .k-list-content[role="listbox"]',attribute:"aria-label or aria-labelledby",usage:"Popup listbox must have an accessible name. Consuming code is responsible for associating with the component label via aria-labelledby."},{selector:".k-combobox-popup .k-list-item",attribute:"role=option",usage:"Each list item is an option."},{selector:".k-combobox-popup .k-list-item",attribute:"aria-selected (when selectable)",usage:"Indicates the selected state."},{selector:".k-combobox-popup .k-no-data",attribute:"aria-live=polite",usage:"Announces no-data state to screen readers."}]};var st=Ee;var Vp=require("react/jsx-runtime"),Gp=e=>(0,Vp.jsx)(st,{...e});var $p=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var qp=require("react/jsx-runtime");var Wp=require("react/jsx-runtime");var Jp=require("react/jsx-runtime");var Yp=require("react/jsx-runtime");var us=require("react/jsx-runtime");var Vb=require("react/jsx-runtime");var $b=require("react/jsx-runtime");var Zp=require("react/jsx-runtime");var Qp=require("react/jsx-runtime");var St=require("react/jsx-runtime"),Xb=Ee.states,qb=Ee.defaultOptions,Wb=Ee.options,Jb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Yb=[],ca=e=>{let{modifiers:t,...o}=e,a={},n=(0,St.jsx)(K,{style:{width:300},size:o.size,children:(0,St.jsxs)(F,{children:[(0,St.jsx)(P,{children:"List item"}),(0,St.jsx)(P,{children:"List item"}),(0,St.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,St.jsx)(v,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,St.jsx)(fe,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[i]),a.popup=t!=null&&t[i]?n:void 0;break;default:break}}),(0,St.jsx)("div",{children:(0,St.jsx)(Gp,{value:"Value",style:{width:300},...o,...a})})};ca.options=Wb;ca.states=Xb;ca.variants=Yb;ca.defaultOptions=qb;ca.modifiers=Jb;ca.className=Ee.className;var fs="menu-button",jp=fs;var td=require("react/jsx-runtime"),ed="k-menu-button",Zb=[s.hover,s.focus,s.active,s.selected,s.disabled],Qb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},bs={showArrow:!0,arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,showArrow:m=bs.showArrow,arrowIconName:L=bs.arrowIconName,expanded:k,...A}=e;return(0,td.jsx)(p,{...A,className:r(e.className,ed),text:x,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,showArrow:m,arrowIconName:L,"aria-expanded":k?"true":"false",...!x&&N&&!e["aria-label"]&&{"aria-label":"Menu"},...f&&{"aria-disabled":"true"}})};H.states=Zb;H.options=Qb;H.className=ed;H.defaultOptions=bs;H.moduleName=fs;H.folderName=jp;H.ariaSpec={selector:".k-menu-button",rules:[{selector:".k-menu-button",attribute:"role=button or nodeName=button",usage:"Omitted if the button DOM element is used."},{selector:".k-menu-button",attribute:"aria-label (when icon-only)",usage:"Required when no text is visible in the button."},{selector:".k-menu-button",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-menu-button",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-menu-button.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var jb=require("react/jsx-runtime");var eh=require("react/jsx-runtime");var th=require("react/jsx-runtime");var it="menu",bt=it;var qt=require("react/jsx-runtime"),hs="k-menu-item",oh=[s.hover,s.focus,s.active,s.selected,s.disabled],ah={},od={iconPosition:"before"},Ie=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=od.iconPosition,dir:L,children:k,expanded:A,...E}=e,M=x;return M||(M=L==="rtl"?"chevron-left":"chevron-right"),(0,qt.jsxs)("li",{...E,className:r(e.className,hs,"k-item",y(hs,{focus:o,disabled:i,hover:t,active:a,selected:n}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":A?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,qt.jsxs)("span",{className:r("k-link k-menu-link"),children:[l&&m==="before"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,qt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,qt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,qt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,qt.jsx)(v,{icon:M})})]}),k]})};Ie.states=oh;Ie.options=ah;Ie.className=hs;Ie.defaultOptions=od;Ie.moduleName=it;Ie.folderName=bt;var Wt=require("react/jsx-runtime"),xs="k-menu-item",nh=[s.hover,s.focus,s.active,s.selected,s.disabled],rh={},gs={dir:"ltr",iconPosition:"before"},Z=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:i,icon:l,text:c,first:u,last:f,showArrow:N,arrowIconName:x,iconPosition:m=gs.iconPosition,dir:L=gs.dir,children:k,popup:A,expanded:E,...M}=e,O=x;return O||(O=L==="rtl"?"chevron-left":"chevron-right"),(0,Wt.jsxs)("li",{...M,className:r(e.className,xs,"k-item",y(xs,{focus:o,disabled:i}),{"k-first":u,"k-last":f}),role:"menuitem",...N&&{"aria-haspopup":"menu"},...N&&{"aria-expanded":E?"true":"false"},...i&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Wt.jsxs)("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:i})),children:[l&&m==="before"&&(0,Wt.jsx)(v,{className:"k-menu-link-icon",icon:l}),(0,Wt.jsx)("span",{className:"k-menu-link-text",children:c}),l&&m==="after"&&(0,Wt.jsx)(v,{className:"k-menu-link-icon",icon:l}),N&&(0,Wt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Wt.jsx)(v,{icon:O})})]}),k,A]})};Z.states=nh;Z.options=rh;Z.className=xs;Z.defaultOptions=gs;Z.moduleName=it;Z.folderName=bt;var rd=require("react/jsx-runtime"),ad="k-menu-scroll-wrapper",sh=[],ih={},lh={},Ao=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,rd.jsx)("div",{...n,className:r(t,ad,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Ao.states=sh;Ao.options=ih;Ao.className=ad;Ao.defaultOptions=lh;Ao.moduleName=it;Ao.folderName=bt;var nd=Ao;var Ne=require("react/jsx-runtime"),Ns="k-menu",ph=[],dh={},zn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ue=e=>{let{children:t,orientation:o=zn.orientation,header:a=zn.header,scrollable:n,scrollButtonsPosition:i=zn.scrollButtonsPosition,wrapperStyles:l,dir:c,popup:u,contextMenu:f,...N}=e,x={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},m=(0,Ne.jsx)("ul",{dir:c,...N,className:r(e.className,"k-reset",Ns,{[`${Ns}-${o}`]:o,"k-header":a}),role:f?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,Ne.jsxs)(Ne.Fragment,{children:[n?(0,Ne.jsxs)(nd,{orientation:o,style:l,dir:e.dir,children:[i==="start"&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),m,i==="end"&&(0,Ne.jsxs)(Ne.Fragment,{children:[(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),i==="around"&&(0,Ne.jsx)(p,{fillMode:"flat",icon:`chevron-${x[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):m,u]})};ue.states=ph;ue.options=dh;ue.className=Ns;ue.defaultOptions=zn;ue.moduleName=it;ue.folderName=bt;ue.ariaSpec={selector:".k-menu",rules:[{selector:".k-menu:not(.k-context-menu)",attribute:"role=menubar",usage:"Announces the Menu menubar role."},{selector:".k-menu.k-menu-vertical",attribute:"aria-orientation=vertical",usage:"Announces the Menu orientation when vertical."},{selector:".k-menu-item",attribute:"role=menuitem",usage:"Announces the Menu item role."},{selector:".k-menu-item",attribute:"aria-haspopup=menu (when present)",usage:"Indicates a popup menu is associated with the item."},{selector:".k-menu-item",attribute:"aria-expanded=true/false (when present)",usage:"Indicates whether the submenu is expanded."},{selector:".k-menu-item.k-disabled",attribute:"aria-disabled=true",usage:"Informs assistive technologies that a Menu item is disabled."},{selector:".k-menu-expand-arrow",attribute:"aria-hidden=true",usage:"Expand arrow elements are hidden from assistive technologies."},{selector:".k-menu-popup .k-menu-group",attribute:"role=menu",usage:"The role of the nested menu displayed in a popup."},{selector:".k-menu-scroll-button",attribute:"tabindex=-1",usage:"Scroll buttons are removed from the tab sequence."},{selector:".k-menu-scroll-button",attribute:"aria-label",usage:"Scroll buttons have an accessible label."},{selector:".k-menu-item.k-focus",attribute:"tabindex=0",usage:"The focused item has tabindex 0."},{selector:".k-menu-item",attribute:"aria-controls=ul.k-menu-group id (when present)",usage:"Points to the ID of the submenu. Only present when the item controls a submenu element."},{selector:".k-menu-popup .k-menu-group",attribute:"id",usage:"Each nested menu has a deterministic id linked to the parent aria-controls."}]};var id=require("react/jsx-runtime"),vs="k-separator",sd={orientation:"horizontal"},ma=e=>{let{orientation:t=sd.orientation,...o}=e;return(0,id.jsx)("li",{...o,className:r(e.className,"k-item",vs,{[`${vs}-${t}`]:t}),role:"separator"})};ma.className=vs;ma.defaultOptions=sd;ma.moduleName=it;ma.folderName=bt;var ld=require("react/jsx-runtime");var pd=require("react/jsx-runtime"),ks="k-menu-group",ch=[],mh={size:[d.undefined,d.small,d.medium,d.large]},uh={},Te=e=>{let{children:t,size:o,...a}=e;return(0,pd.jsx)("ul",{...a,className:r(e.className,ks,C(ks,{size:o})),role:"menu",children:t})};Te.states=ch;Te.options=mh;Te.className=ks;Te.defaultOptions=uh;Te.moduleName=it;Te.folderName=bt;var yt=require("react/jsx-runtime"),Ls=e=>(0,yt.jsx)(ue,{children:(0,yt.jsxs)(yt.Fragment,{children:[(0,yt.jsx)(Ie,{first:!0,text:"Item 1"}),(0,yt.jsx)(Ie,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,yt.jsx)(Ie,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,yt.jsx)(Ie,{text:"Item 4"}),(0,yt.jsx)(Ie,{last:!0,text:"Item 5"})]}),...e});var Ms=require("react/jsx-runtime");var Ss=require("react/jsx-runtime");var ys=require("react/jsx-runtime");var As=require("react/jsx-runtime");var Rt=require("react/jsx-runtime"),fh=ue.options,bh=ue.states,dd={...ue.defaultOptions,variant:"horizontal"},hh=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],xh=[{name:"scrollable",title:"Scrollable"},{name:"opened",title:"Opened"}],ua=e=>{let{variant:t,modifiers:o,...a}={...dd,...e},n={};return Object.keys(o||{}).forEach(i=>{switch(i){case"scrollable":n.scrollable=!!(o!=null&&o[i]);break;case"opened":n.opened=!!(o!=null&&o[i]),n.popup=(0,Rt.jsx)(q,{className:"k-menu-popup",children:(0,Rt.jsxs)(Te,{children:[(0,Rt.jsx)(Z,{text:"Item 1"}),(0,Rt.jsx)(Z,{text:"Item 2"}),(0,Rt.jsx)(ma,{}),(0,Rt.jsx)(Z,{text:"Item 3"})]})});break}}),t==="vertical"?(0,Rt.jsx)(Ls,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,Rt.jsx)(Ls,{...a,...n})};ua.options=fh;ua.states=bh;ua.variants=hh;ua.defaultOptions=dd;ua.modifiers=xh;ua.className=ue.className;var Cs=require("react/jsx-runtime");var gh=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),Nh=p.states,cd={...p.defaultOptions,variant:"text"},vh=p.options,kh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Lh=[{name:"opened",title:"Opened"}],fa=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},n={},i=(0,Oe.jsx)(q,{className:"k-menu-popup",children:(0,Oe.jsxs)(Te,{size:a.size,children:[(0,Oe.jsx)(Z,{first:!0,text:"Menu Item"}),(0,Oe.jsx)(Z,{text:"Menu Item"}),(0,Oe.jsx)(Z,{last:!0,text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=(0,Oe.jsx)("div",{children:(0,Oe.jsx)(H,{...a,...n,icon:"star"})});break;case"icon-and-text":l=(0,Oe.jsx)("div",{children:(0,Oe.jsx)(H,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=(0,Oe.jsx)("div",{children:(0,Oe.jsx)(H,{...a,...n,children:"Dropdown Button"})});break}return(0,Oe.jsxs)(Oe.Fragment,{children:[l,(o==null?void 0:o.opened)&&i]})};fa.options=vh;fa.states=Nh;fa.variants=kh;fa.defaultOptions=cd;fa.modifiers=Lh;fa.className=H.className;var Es="split-button",md=Es;var Jt=require("react/jsx-runtime"),Is="k-split-button",Mh=[s.hover,s.focus,s.active,s.selected,s.disabled],Sh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.flat,h.outline,h.clear,h.link],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.success,g.warning,g.error,g.info,g.inverse]},ud={arrowIconName:"chevron-down"},w=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,icon:N,text:x,arrowIconName:m=ud.arrowIconName,popup:L,opened:k,popupId:A,...E}=e;return(0,Jt.jsxs)(Jt.Fragment,{children:[(0,Jt.jsxs)("div",{...E,className:r(e.className,Is,"k-button-group",C(Is,{rounded:o})),children:[(0,Jt.jsx)(p,{text:x,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:i,focus:l,active:c,selected:u,disabled:f,...!x&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,Jt.jsx)(p,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:a,disabled:f,"aria-label":"Toggle dropdown","aria-expanded":k?"true":"false","aria-controls":k?A:void 0,tabIndex:-1,...f&&{"aria-disabled":"true"}})]}),k&&L&&(0,Jt.jsx)(q,{className:"k-menu-popup",children:L})]})};w.states=Mh;w.options=Sh;w.className=Is;w.defaultOptions=ud;w.moduleName=Es;w.folderName=md;w.ariaSpec={selector:".k-split-button",rules:[{selector:".k-split-button-arrow",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-split-button-arrow",attribute:"aria-label",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-split-button-arrow",attribute:"aria-expanded=true/false",usage:"Announces the state of the popup visibility."},{selector:".k-split-button-arrow",attribute:"aria-controls=.k-menu-group id (when open)",usage:"Points to the popup element. Builds a relationship between the button and the popup."},{selector:".k-split-button-arrow",attribute:"tabindex=-1",usage:"The arrow button is removed from the tab sequence."},{selector:".k-split-button-arrow.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."},{selector:".k-menu-group",attribute:"role=list",usage:"Announces the list role of the popup."},{selector:".k-menu-item",attribute:"role=listitem",usage:"Announces the listitem role of the popup items."}]};var Ts=w;var fd=require("react/jsx-runtime"),yh="k-toolbar-separator",At=e=>(0,fd.jsx)("div",{className:r(yh,e.className,"k-separator")});var Yt="toolbar",mo=Yt;var T=require("react/jsx-runtime"),Zt="k-toolbar",Ah=[s.focus],Ch={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},Eh={scrollButtons:"around"},G=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:i,scrollButtons:l,scrollingPosition:c,section:u,...f}=e,N=[],x=(m,L)=>{let k=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))k.push((0,T.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===p)k.push((0,T.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===_a)k.push((0,T.jsx)(_a,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===fe)k.push((0,T.jsx)(fe,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===H)k.push((0,T.jsx)(H,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===Ts)k.push((0,T.jsx)(Ts,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`));else if(m.type===B||m.props.className&&m.props.className.includes("k-button-group")){let A=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((M,O)=>{A.push((0,T.jsx)(p,{...M.props,className:`${M.props.className?M.props.className:""}`},`${O}-${new Date().getTime()}`))}),k.push((0,T.jsx)(B,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:A},`${L}-${new Date().getTime()}`))}else m.type===Ee?k.push((0,T.jsx)(Ee,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===le?k.push((0,T.jsx)(le,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):m.type===rt?k.push((0,T.jsx)(rt,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${L}-${new Date().getTime()}`)):k.push(m);k.forEach(A=>{N.push(A)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((L,k)=>{x(L,k)}),(0,T.jsxs)("div",{...f,className:r(e.className,Zt,C(Zt,{size:t,fillMode:o}),y(Zt,{focus:a}),{[`${Zt}-resizable`]:n,[`${Zt}-scrollable`]:i,[`${Zt}-scrollable-overlay`]:i&&l==="hidden",[`${Zt}-scrollable-${c}`]:c&&c!=="both",[`${Zt}-section`]:u}),role:"toolbar","aria-label":"Toolbar",children:[!i&&N,i&&l==="hidden"&&(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),i&&l==="start"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),i&&l==="end"&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsxs)(B,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]}),i&&(l==="around"||!l)&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-left"})}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,T.jsx)(At,{className:"k-toolbar-button-separator"}),(0,T.jsx)("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,T.jsx)(v,{className:"k-button-icon",icon:"chevron-right"})})]})]})};G.states=Ah;G.options=Ch;G.className=Zt;G.defaultOptions=Eh;G.moduleName=Yt;G.folderName=mo;G.ariaSpec={selector:".k-toolbar",rules:[{selector:".k-toolbar",attribute:"role=toolbar",usage:"The component role."},{selector:".k-toolbar",attribute:"aria-label or aria-labelledby",usage:"Must be supplied when multiple toolbars exist."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-haspopup=menu",usage:"The overflow button opens a menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-expanded=true/false",usage:"Announces popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-controls=.k-toolbar-popup .k-menu-group id (when present)",usage:"Indicates the connection between the toggle button and the menu popup."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-vertical"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:".k-toolbar-popup .k-menu-group",attribute:"role=menu",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-menu-group",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the menu toggle button."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-expanded=true/false",usage:"Announces section popup visibility state."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-label or title",usage:"Icon-only button must have accessible text."},{selector:'.k-toolbar .k-toolbar-overflow-button:has([class*="i-more-horizontal"])',attribute:"aria-controls=.k-toolbar-popup .k-toolbar-items-list id (when present)",usage:"Indicates the connection between the toggle button and the section popup."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"role=toolbar",usage:"The role of the tools wrapper in the overflow section."},{selector:".k-toolbar-popup .k-toolbar-items-list",attribute:"aria-labelledby=.k-toolbar-overflow-button id (when present)",usage:"Associates the title of the section toggle button."}]};var hd=require("react/jsx-runtime"),bd="k-floating-toolbar",Ih=[],Th={},Oh={},ba=e=>{let{...t}=e;return(0,hd.jsx)("div",{...t,className:r(e.className,bd),children:e.children})};ba.states=Ih;ba.options=Th;ba.className=bd;ba.defaultOptions=Oh;ba.moduleName=Yt;ba.folderName=mo;var xd=require("react/jsx-runtime"),Os="k-toolbar-item",Bh=[s.focus],Ph={},wh={},ha=e=>{let{focus:t,...o}=e;return(0,xd.jsx)("div",{...o,className:r(e.className,Os,y(Os,{focus:t})),children:e.children})};ha.states=Bh;ha.options=Ph;ha.className=Os;ha.defaultOptions=wh;ha.moduleName=Yt;ha.folderName=mo;var Bs=require("react/jsx-runtime"),gd="k-toolbar-popup",Rh=[],Kh={size:[d.undefined,d.small,d.medium,d.large],fillMode:[h.undefined,h.solid,h.outline,h.flat]},_h={},Co=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,Bs.jsx)(q,{...n,className:r(e.className,gd),children:a?(0,Bs.jsx)("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Co.states=Rh;Co.options=Kh;Co.className=gd;Co.defaultOptions=_h;Co.moduleName=Yt;Co.folderName=mo;var Un=Co;var Dh=require("react/jsx-runtime");var Hh=require("react/jsx-runtime");var zh=require("react/jsx-runtime");var Nd=require("react/jsx-runtime");var Uh=require("react/jsx-runtime");var ht=require("react/jsx-runtime"),Fh=w.states,vd={...w.defaultOptions,variant:"text"},Gh=w.options,Vh=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],$h=[{name:"opened",title:"Opened"}],xa=e=>{let{variant:t,modifiers:o,...a}={...vd,...e},n={},i=(0,ht.jsxs)(Te,{size:a.size,children:[(0,ht.jsx)(Z,{first:!0,text:"Menu Item"}),(0,ht.jsx)(Z,{text:"Menu Item"}),(0,ht.jsx)(Z,{last:!0,text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!(o!=null&&o[l]),n.popup=o!=null&&o[l]?i:"")}),t){case"icon-only":return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star"})});case"icon-and-text":return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,ht.jsx)("div",{children:(0,ht.jsx)(w,{...a,...n,children:"Split Button"})})}};xa.options=Gh;xa.states=Fh;xa.variants=Vh;xa.defaultOptions=vd;xa.modifiers=$h;xa.className=w.className;var Kt=require("react/jsx-runtime"),kd=e=>(0,Kt.jsx)(G,{children:[(0,Kt.jsx)(p,{children:"Button"},"toolbar-button"),(0,Kt.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,Kt.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,Kt.jsxs)(B,{children:[(0,Kt.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Kt.jsx)(p,{icon:"align-center",children:"Center"}),(0,Kt.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ld=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),Md=e=>(0,ve.jsx)(G,{scrollable:!0,...e,children:[(0,ve.jsx)(p,{children:"Button"},"toolbar-button"),(0,ve.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ve.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ve.jsxs)(B,{children:[(0,ve.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ve.jsx)(p,{icon:"align-center",children:"Center"}),(0,ve.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ve.jsx)(p,{children:"Button"},"toolbar-button"),(0,ve.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ve.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ve.jsxs)(B,{children:[(0,ve.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ve.jsx)(p,{icon:"align-center",children:"Center"}),(0,ve.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var ke=require("react/jsx-runtime"),Sd=({scrollingPosition:e="start",...t})=>(0,ke.jsx)(G,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,ke.jsx)(p,{children:"Button"},"toolbar-button"),(0,ke.jsx)(H,{text:"Menu button"},"toolbar-menu-button"),(0,ke.jsx)(w,{children:"Split button"},"toolbar-split-button"),(0,ke.jsxs)(B,{children:[(0,ke.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,ke.jsx)(p,{icon:"align-center",children:"Center"}),(0,ke.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var Q=require("react/jsx-runtime"),yd=({fillMode:e,size:t,...o})=>(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(G,{section:!0,fillMode:e,size:t,children:[(0,Q.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Q.jsxs)(B,{fillMode:e,children:[(0,Q.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Q.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Q.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,Q.jsx)(At,{className:"k-toolbar-button-separator"}),(0,Q.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,rounded:"none","aria-label":"More options","aria-expanded":"false"})],...o}),(0,Q.jsxs)(Un,{size:t,fillMode:e,section:!0,...o,children:[(0,Q.jsx)(w,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,Q.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,Q.jsx)(At,{}),(0,Q.jsx)(H,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,Q.jsxs)(B,{fillMode:e,children:[(0,Q.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,Q.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,Q.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var Ps=require("react/jsx-runtime");var ws=require("react/jsx-runtime");var Qt=require("react/jsx-runtime"),Xh=G.options,qh=G.states,Ad={...G.defaultOptions,variant:"default"},Wh=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Jh=[],ga=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(yd,{style:{width:"583px"},...o})});case"overlay":return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(Sd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(Md,{style:{width:"583px"},...o})});default:return(0,Qt.jsx)("div",{children:(0,Qt.jsx)(kd,{style:{width:"583px"},...o})})}};ga.options=Xh;ga.states=qh;ga.variants=Wh;ga.defaultOptions=Ad;ga.modifiers=Jh;ga.className=G.className;var tn=require("react/jsx-runtime"),Fn="k-fab",Qh=[s.hover,s.focus,s.active,s.selected,s.disabled],jh={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Cd={type:"button"},ne=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:i,type:l=Cd.type,position:c,hover:u,focus:f,active:N,selected:x,disabled:m,...L}=e;return(0,tn.jsxs)("button",{...L,type:l,className:r(e.className,Fn,C(Fn,{size:t,rounded:o,themeColor:a}),y(Fn,{hover:u,focus:f,active:N,disabled:m,selected:x}),{[`!k-pos-absolute k-${c}`]:c}),...!n&&i&&!e["aria-label"]&&{"aria-label":"Action"},...m&&{"aria-disabled":"true"},disabled:m||void 0,children:[i&&(0,tn.jsx)(v,{className:"k-fab-icon",icon:i}),n&&(0,tn.jsx)("span",{className:"k-fab-text",children:n})]})};ne.states=Qh;ne.options=jh;ne.className=Fn;ne.defaultOptions=Cd;ne.moduleName="fab";ne.folderName="fab";ne.ariaSpec={selector:".k-fab",rules:[{selector:".k-fab",attribute:"role=button or nodeName=button",usage:"Omitted if the <button> DOM element is used."},{selector:".k-fab",attribute:"aria-label or title (when icon-only)",usage:"The attribute must be present when no text is initially visible in the button."},{selector:".k-fab.k-disabled",attribute:"aria-disabled=true",usage:"Rendered only when the button is disabled."}]};var Id=require("react/jsx-runtime"),ex="k-fab-items",Ed=e=>{let{position:t,...o}=e;return(0,Id.jsx)("ul",{...o,className:r(e.className,ex,{[`k-fab-items-${t}`]:t}),children:e.children})};var on=require("react/jsx-runtime"),Td="k-fab-item",tx=[s.hover,s.focus,s.active,s.disabled],Rs=e=>{let{text:t,icon:o,align:a,hover:n,focus:i,active:l,disabled:c,...u}=e;return(0,on.jsxs)("li",{...u,className:r(e.className,Td,{[`k-text-${a}`]:a},y(Td,{hover:n,focus:i,active:l,disabled:c})),children:[(0,on.jsx)("span",{className:"k-fab-item-text",children:t}),(0,on.jsx)(v,{className:"k-fab-item-icon",icon:o})]})};Rs.states=tx;var ox=require("react/jsx-runtime");var Bd=require("react/jsx-runtime"),Od=e=>(0,Bd.jsx)(ne,{icon:"plus",...e});var ax=require("react/jsx-runtime");var nx=require("react/jsx-runtime");var jt=require("react/jsx-runtime"),rx=ne.options,sx=ne.states,ix={...ne.defaultOptions,variant:"text"},lx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],Na=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},i=n?(0,jt.jsx)("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:(0,jt.jsx)(Ed,{position:"bottom",children:(0,jt.jsx)(Rs,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=(0,jt.jsx)(ne,{...a,icon:"star"});break;case"icon-and-text":l=(0,jt.jsx)(ne,{...a,icon:"star",text:"Action"});break;default:l=(0,jt.jsx)(ne,{...a,text:"Action"});break}return(0,jt.jsxs)("span",{style:{position:"relative"},children:[l,i]})};Na.options=rx;Na.states=sx;Na.variants=lx;Na.defaultOptions=ix;Na.modifiers=px;Na.className=ne.className;var Ks="prompt-box",Pd=Ks;var _s="speech-to-text-button",wd=_s;var _d=require("react/jsx-runtime"),Rd="k-speech-to-text-button",Kd={icon:"microphone"},Ze=e=>{let{listening:t=!1,icon:o=Kd.icon,...a}=e;return(0,_d.jsx)(p,{...a,icon:t?"stop":o,className:r(e.className,Rd,{"k-listening":t}),"aria-pressed":t?"true":"false","aria-label":t?"Stop listening":"Start listening"})};Ze.states=p.states;Ze.options=p.options;Ze.className=Rd;Ze.defaultOptions=Kd;Ze.moduleName=_s;Ze.folderName=wd;Ze.ariaSpec={selector:".k-speech-to-text-button",rules:[{selector:".k-button.k-speech-to-text-button",attribute:"role=button or nodeName=button",usage:"If the used element is not <button>, explicitly set its role to button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-pressed",usage:"Announces the toggle behaviour of the button."},{selector:".k-button.k-speech-to-text-button",attribute:"aria-label",usage:"Accessible name for the speech-to-text button."}]};var dx=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var Hd=require("react/jsx-runtime"),mx=p.states,Dd={...p.defaultOptions,variant:"normal"},ux={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},fx=[],bx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],va=e=>{let{variant:t,...o}={...Dd,...e},a={};return t==="listening"&&(a.listening=!0),(0,Hd.jsx)(Ze,{...o,...a})};va.options=ux;va.states=mx;va.variants=bx;va.defaultOptions=Dd;va.modifiers=fx;va.className=Ze.className;var Ct=require("react/jsx-runtime"),_t="k-prompt-box",hx=[s.hover,s.focus,s.disabled],xx={fillMode:[h.undefined,h.solid,h.flat,h.outline]},Ds={lineMode:"auto",isExpanded:!1},eo=e=>{let{fillMode:t,lineMode:o=Ds.lineMode,startAffix:a,endAffix:n,header:i,isExpanded:l=Ds.isExpanded,className:c,children:u,value:f,placeholder:N,generating:x,hover:m,focus:L,disabled:k,...A}=e,E=o==="multi"||o==="auto"&&l;return(0,Ct.jsxs)("div",{...A,className:r(c,"k-input",_t,{[`${_t}-singleline`]:o==="single",[`${_t}-multiline`]:E,[`k-input-${t}`]:t,"k-hover":m,"k-focus":L,"k-disabled":k}),children:[i&&(0,Ct.jsx)("div",{className:`${_t}-header`,children:i}),(0,Ct.jsxs)("div",{className:`${_t}-content`,children:[a&&(0,Ct.jsx)("div",{className:`${_t}-affix`,children:a}),o==="single"?(0,Ct.jsx)(_e,{value:f,placeholder:N,className:`${_t}-input`,type:"text","aria-label":"Prompt input"}):(0,Ct.jsx)(Ua,{value:f,placeholder:N,className:`${_t}-textarea`,rows:o==="multi"||l?3:1,"aria-label":"Prompt input","aria-multiline":"true"}),(0,Ct.jsxs)("div",{className:`${_t}-affix`,children:[n,(0,Ct.jsx)(Ze,{size:"small",fillMode:"flat",rounded:"full"}),(0,Ct.jsx)(fe,{icon:x?"stop":"arrow-up",size:"small",rounded:"full",active:x,disabled:!f&&!x,className:r({"k-generating":x}),"aria-label":x?"Stop generating":"Send prompt","aria-live":"polite"})]})]}),u]})};eo.states=hx;eo.options=xx;eo.className=_t;eo.defaultOptions=Ds;eo.moduleName=Ks;eo.folderName=Pd;eo.ariaSpec={selector:".k-prompt-box",rules:[{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"nodeName=input",usage:"Ensures the input field has the proper textbox role."},{selector:".k-prompt-box-singleline .k-prompt-box-input",attribute:"aria-label",usage:"Provides an accessible label for the single-line input."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the textarea has the proper textbox role."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the textarea."},{selector:".k-prompt-box-multiline .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the textarea supports multiple lines of text."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"nodeName=textarea",usage:"Ensures the auto-mode textarea has the proper textbox role."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-label",usage:"Provides an accessible label for the auto-mode textarea."},{selector:".k-prompt-box:not(.k-prompt-box-singleline):not(.k-prompt-box-multiline) .k-prompt-box-textarea",attribute:"aria-multiline=true",usage:"Indicates the auto-mode textarea supports multiple lines of text."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-label",usage:"The send/stop button is labelled to indicate its current action."},{selector:".k-prompt-box-affix .k-button:not(.k-speech-to-text-button)",attribute:"aria-live=polite",usage:"Announces the change in status of the send/stop button."}]};var gx=require("react/jsx-runtime");var Nx=require("react/jsx-runtime");var vx=require("react/jsx-runtime");var kx=require("react/jsx-runtime");var Lx=require("react/jsx-runtime");var Hs="chat",zd=Hs;var Le=require("react/jsx-runtime"),Ud="k-chat",Mx=[],Sx={},yx=(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)(fe,{icon:"paperclip",fillMode:"clear",rounded:"full",size:"small","aria-label":"Attach file"},"paperclip"),(0,Le.jsx)("div",{className:"k-spacer"})]}),Fd={tools:yx},$=e=>{let{header:t,dir:o,suggestedActions:a,files:n,pinned:i,replied:l,generating:c,tools:u=Fd.tools,value:f,empty:N,scrollToBottom:x,scrollbar:m,promptBoxProps:L,...k}=e;return(0,Le.jsxs)("div",{...k,className:r(Ud,e.className),dir:o,children:[t,(0,Le.jsxs)("div",{className:"k-message-list",role:"log","aria-label":"Message list","aria-live":"polite",children:[i,(0,Le.jsx)("div",{className:r("k-message-list-content",N&&"k-message-list-content-empty"),children:e.children}),x&&(0,Le.jsx)("div",{className:"k-chat-scroll-to-bottom-container",children:(0,Le.jsx)(Od,{themeColor:"base",icon:"arrow-down",size:"small"})})]}),m&&(0,Le.jsx)("div",{className:"k-separator"}),(0,Le.jsxs)("div",{className:"k-message-box-wrapper",children:[a,(0,Le.jsx)(eo,{lineMode:"multi",placeholder:"Type a message",generating:c,value:f,header:n||l?(0,Le.jsxs)(Le.Fragment,{children:[l,n]}):void 0,endAffix:u,...L})]})]})};$.states=Mx;$.options=Sx;$.className=Ud;$.defaultOptions=Fd;$.moduleName=Hs;$.folderName=zd;$.ariaSpec={selector:".k-chat",rules:[{selector:".k-message-list",attribute:"role=log",usage:"The role of the Chat message list must imply that there is a log (list) of messages."},{selector:".k-message-list",attribute:"aria-label",usage:"Announces the purpose of the Chat message list."},{selector:".k-message-list",attribute:"aria-live=polite",usage:"Announces new messages in the Chat message list."},{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble .k-typing-indicator",attribute:"tabindex=-1",usage:"The Chat bubble typing indicator should not be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."},{selector:".k-message-reference>.k-button",attribute:"aria-label or title",usage:"The reference close button must be properly labelled."},{selector:".k-message-reference>.k-button",attribute:"role=button or nodeName=button",usage:"The reference close button must have an appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"role=button or nodeName=button",usage:"The buttons must have appropriate role."},{selector:".k-prompt-box-affix>.k-button",attribute:"aria-label or title",usage:"The buttons must be properly labelled."},{selector:".k-prompt-box-affix>.k-button.k-disabled",attribute:"disabled",usage:"Announces the send action as disabled when necessary."}]};var zs="avatar",Gd=zs;var Fs=require("react/jsx-runtime"),an="k-avatar";var Ax=[s.hover,s.focus,s.active,s.selected,s.disabled],Cx={size:[d.undefined,d.small,d.medium,d.large],rounded:[b.undefined,b.none,b.small,b.medium,b.large,b.full],fillMode:[h.undefined,h.solid,h.outline],themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Us={type:"text",border:!1},Be=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:i=Us.type,border:l=Us.border,...c}=e;return(0,Fs.jsx)("div",{...c,className:r(e.className,an,C(an,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${an}-bordered`]:l}),children:(0,Fs.jsx)("span",{className:`${an}-${i}`,children:e.children})})};Be.states=Ax;Be.options=Cx;Be.className=an;Be.defaultOptions=Us;Be.moduleName=zs;Be.folderName=Gd;Be.ariaSpec={selector:".k-avatar",rules:[{selector:".k-avatar img",attribute:"alt",usage:"Images inside Avatar must have alt text for screen readers."}]};var Eo=Be;var $d=require("react/jsx-runtime"),Vd=e=>(0,$d.jsx)(Eo,{type:"icon",...e});var qd=require("react/jsx-runtime"),Xd=e=>(0,qd.jsx)(Eo,{type:"text",...e});var Wd=require("react/jsx-runtime"),Vn=e=>(0,Wd.jsx)(Eo,{type:"image",...e});var Ex=require("react/jsx-runtime");var ka=require("react/jsx-runtime"),Ix=Be.options,Tx=Be.states,Ox={...Be.defaultOptions,variant:"image"},Bx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Px=[],La=e=>{let{variant:t,...o}=e;switch(t){case"icon":return(0,ka.jsx)(Vd,{...o,children:(0,ka.jsx)(v,{icon:"star"})});case"text":return(0,ka.jsx)(Xd,{...o,children:"JO"});default:return(0,ka.jsx)(Vn,{...o,children:(0,ka.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};La.options=Ix;La.states=Tx;La.variants=Bx;La.defaultOptions=Ox;La.modifiers=Px;La.className=Be.className;var Et=require("react/jsx-runtime"),nn="k-message-group",wx=[s.selected],Rx={},$n={author:"Bruv",avatar:"/packages/html/assets/avatar.jpg",type:"receiver"},j=e=>{let{type:t=$n.type,author:o=$n.author,avatar:a=$n.avatar,status:n,selected:i,fullWidth:l,...c}=e;return(0,Et.jsxs)("div",{...c,className:r(nn,e.className,y(nn,{selected:i}),{[`${nn}-${t}`]:t,"k-no-avatar":!a,[`${nn}-full-width`]:l}),children:[a&&!n&&(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),n&&a&&(0,Et.jsxs)("div",{className:"k-chat-user-status-wrapper",children:[(0,Et.jsx)(Be,{type:"image",children:(0,Et.jsx)("img",{src:a,alt:o||""})}),(0,Et.jsx)("div",{className:"k-chat-user-status"})]}),(0,Et.jsxs)("div",{className:"k-message-group-content",children:[o&&(0,Et.jsx)("span",{className:"k-message-author",children:o}),e.children]})]})};j.states=wx;j.options=Rx;j.className=nn;j.defaultOptions=$n;var Dt=require("react/jsx-runtime"),Gs="k-message-reference",Kx={},Jd={type:"receiver"},Ma=e=>{let{content:t,closeable:o,pinned:a,type:n=Jd.type,...i}=e;return(0,Dt.jsxs)("div",{...i,className:r(Gs,e.className,{[`${Gs}-${n}`]:n,"k-message-pinned":a}),children:[a&&(0,Dt.jsx)(v,{icon:"pin-outline"}),(0,Dt.jsx)("div",{className:"k-message-reference-content",children:t}),o&&(0,Dt.jsxs)(Dt.Fragment,{children:[(0,Dt.jsx)("span",{className:"k-spacer"}),(0,Dt.jsx)(p,{icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-label":"Close"})]})]})};Ma.options=Kx;Ma.className=Gs;Ma.defaultOptions=Jd;var Vs="bubble",Yd=Vs;var Io=require("react/jsx-runtime"),$s="k-bubble",_x=[s.hover,s.active,s.selected,s.focus],Xs={expandable:!1,expanded:!1},uo=e=>{let{content:t,hover:o,active:a,focus:n,selected:i,expandable:l=Xs.expandable,expanded:c=Xs.expanded,...u}=e;return(0,Io.jsxs)("div",{...u,className:r(e.className,$s,y($s,{hover:o,active:a,focus:n,selected:i}),{"k-bubble-expandable":l},{"k-expanded":c}),tabIndex:0,children:[(0,Io.jsx)("div",{className:"k-bubble-content",children:t??e.children}),l&&(0,Io.jsx)("span",{className:"k-bubble-expandable-indicator",role:"button","aria-label":c?"Show less":"Show more",tabIndex:0,children:c?(0,Io.jsx)(v,{icon:"chevron-up"}):(0,Io.jsx)(v,{icon:"chevron-down"})})]})};uo.states=_x;uo.className=$s;uo.defaultOptions=Xs;uo.moduleName=Vs;uo.folderName=Yd;uo.ariaSpec={selector:".k-bubble",rules:[{selector:".k-bubble",attribute:"tabindex=0",usage:"The Chat bubble must be focusable."},{selector:".k-bubble-expandable-indicator",attribute:"role=button",usage:"The expandable indicator must have an appropriate role."},{selector:".k-bubble-expandable-indicator",attribute:"aria-label or title",usage:"The expandable indicator must be properly labelled."},{selector:".k-bubble-expandable-indicator",attribute:"tabindex=0",usage:"The expandable indicator must be part of the page tabsequence."}]};var Dx=require("react/jsx-runtime");var Hx=require("react/jsx-runtime");var zx=require("react/jsx-runtime");var To=require("react/jsx-runtime"),Ux="k-chat-bubble",Qd=e=>{let{typing:t,content:o,files:a,...n}=e;return(0,To.jsxs)(uo,{...n,className:r(e.className,Ux),children:[t?(0,To.jsxs)("div",{className:"k-typing-indicator",tabIndex:-1,children:[(0,To.jsx)("span",{}),(0,To.jsx)("span",{}),(0,To.jsx)("span",{})]}):o,a]})};var Fx=require("react/jsx-runtime");var rn=require("react/jsx-runtime"),jd="k-chat-event",qs={icon:"trash",text:"You deleted Chat history."},ec=e=>{let{icon:t=qs.icon,text:o=qs.text,...a}=e;return(0,rn.jsxs)("div",{...a,className:r(e.className,jd),children:[t&&(0,rn.jsx)(v,{className:"k-chat-event-icon",icon:t,size:"xsmall"}),o&&(0,rn.jsx)("span",{className:"k-chat-event-text",children:o})]})};ec.className=jd;ec.defaultOptions=qs;var Gx=require("react/jsx-runtime");var Ge=require("react/jsx-runtime"),tc=e=>(0,Ge.jsx)($,{children:(0,Ge.jsxs)(Ge.Fragment,{children:[(0,Ge.jsx)("div",{className:"k-timestamp",children:"Day, Month 7, 2023"}),(0,Ge.jsx)(j,{children:(0,Ge.jsx)(X,{})}),(0,Ge.jsx)(j,{type:"sender",children:(0,Ge.jsx)(X,{})}),(0,Ge.jsx)(j,{children:(0,Ge.jsx)(X,{text:"Very long message text that tests message overflowing behavior. Very long message text that tests message overflowing behavior."})}),(0,Ge.jsx)(j,{type:"sender",children:(0,Ge.jsx)(X,{text:"Unusually_long_word_that_tests_word_break_behavior__unusually_long_word_that_tests_word_break_behavior"})})]}),...e});var Ws=require("react/jsx-runtime"),Xn="k-file-box-wrapper",oc={layout:"horizontal"},Ht=e=>{let{layout:t=oc.layout,scrollingPosition:o,...a}=e;return(0,Ws.jsx)("ul",{role:"list","aria-label":"Attached files",...a,className:r(e.className,Xn,{"k-files-vertical":t==="vertical","k-files-wrap":t==="wrap",[`${Xn}-scrollable-start`]:t==="horizontal"&&(o==="start"||o==="both"),[`${Xn}-scrollable-end`]:t==="horizontal"&&(o==="end"||o==="both")}),children:t==="horizontal"?(0,Ws.jsx)("div",{className:"k-files-scroll",role:"presentation",children:e.children}):e.children})};Ht.className=Xn;Ht.defaultOptions=oc;var Js="file-box",ac=Js;var zt=require("react/jsx-runtime"),nc="k-file-box",Vx=[s.selected],$x={},sn={icon:"file-pdf",name:"FileName.pdf",size:"2MB",showButton:"true"},Ve=e=>{let{icon:t=sn.icon,name:o=sn.name,size:a=sn.size,status:n,deleted:i,removeButton:l,showButton:c=sn.showButton,...u}=e,f=[o,a].filter(Boolean).join(" ");return(0,zt.jsxs)("li",{role:"listitem",tabIndex:0,"aria-label":f||void 0,...u,className:r(nc,e.className,{"k-file-deleted":i}),children:[(0,zt.jsx)(v,{icon:t,size:"xlarge","aria-hidden":"true"}),(0,zt.jsxs)("div",{className:"k-file-info",children:[o&&(0,zt.jsx)("span",{className:"k-file-name",children:o}),a&&(0,zt.jsx)("span",{className:"k-file-size",children:a}),n&&(0,zt.jsx)("span",{className:"k-file-status",children:n})]}),c&&(l?(0,zt.jsx)(p,{as:"span",icon:"x-mark-sm-outline",fillMode:"flat",size:"xsmall","aria-hidden":"true"}):(0,zt.jsx)(H,{icon:"more-vertical",fillMode:"flat",size:"xsmall",showArrow:!1,"aria-label":"File actions"}))]})};Ve.states=Vx;Ve.options=$x;Ve.className=nc;Ve.defaultOptions=sn;Ve.moduleName=Js;Ve.folderName=ac;Ve.ariaSpec={selector:".k-file-box-wrapper",rules:[{selector:".k-file-box-wrapper",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-file-box-wrapper",attribute:"aria-label",usage:'Provides an accessible name for the file list (e.g. "Attached files").'},{selector:".k-file-box-wrapper .k-files-scroll",attribute:"role=presentation",usage:"The scrollable container between the list and its items is presentational, ensuring the list\u2192listitem relationship is preserved in the accessibility tree."},{selector:".k-file-box-wrapper .k-file-box",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-file-box-wrapper .k-file-box",attribute:"tabindex",usage:"Makes the file box focusable. Uses roving tabindex: 0 for the focused item, -1 for the rest."},{selector:".k-file-box-wrapper .k-file-box",attribute:"aria-label",usage:'Provides an accessible name describing the file. Can include the file name and size (e.g. "FileName.pdf 2MB").'},{selector:".k-file-box-wrapper .k-file-box .k-icon",attribute:"aria-hidden=true",usage:"The file type icon is decorative and hidden from screen readers."},{selector:".k-file-box-wrapper .k-file-box span.k-button",attribute:"aria-hidden=true",usage:"The remove button is rendered as a decorative span and hidden from screen readers. File removal is handled by keyboard interaction on the listitem itself."}]};var Xx=require("react/jsx-runtime");var qx=require("react/jsx-runtime");var rc=require("react/jsx-runtime");var sc=require("react/jsx-runtime");var Wx=require("react/jsx-runtime");var Ys=require("react/jsx-runtime");var Zs=require("react/jsx-runtime");var Qs="skeleton",ic=Qs;var lc=require("react/jsx-runtime"),js="k-skeleton",Jx=["circle","text","rect"],Yx=[],Zx={},ei={variant:"text",shape:"text",animation:"pulse"},It=e=>{let{variant:t,shape:o,animation:a=ei.animation,...n}=e,i=`skeleton-${t||o||ei.variant}`;return(0,lc.jsx)("span",{...n,className:r(e.className,js,fn(js,i),{[`k-skeleton-${a}`]:a}),style:e.style})};It.states=Yx;It.options=Zx;It.variants=Jx;It.className=js;It.defaultOptions=ei;It.moduleName=Qs;It.folderName=ic;It.ariaSpec={selector:".k-skeleton",rules:[]};var Qx=require("react/jsx-runtime");var jx=require("react/jsx-runtime");var eg=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var oi=require("react/jsx-runtime");var ai="window",pc=ai;var cc=require("react/jsx-runtime"),dc="k-window-content",tg=[],og={},ag={},fo=e=>{let{children:t,...o}=e;return(0,cc.jsx)("div",{...o,className:r(dc,e.className),children:t})};fo.states=tg;fo.options=og;fo.className=dc;fo.defaultOptions=ag;fo.moduleName=ai;fo.folderName=pc;var ln="dialog",qn=ln;var Qe=require("react/jsx-runtime"),mc="k-dialog",ng=[],rg={},ni={actionButtonsAlign:"stretched",modal:!0},je=e=>{let{title:t,actions:o,actionButtons:a,actionButtonsAlign:n=ni.actionButtonsAlign,modal:i=ni.modal,...l}=e,c=t!==void 0?R("dialog-titlebar"):void 0,u=R("dialog-content");return(0,Qe.jsxs)("div",{className:"k-dialog-wrapper",children:[i&&(0,Qe.jsx)(Bt,{}),(0,Qe.jsxs)("div",{...l,className:r(e.className,mc,"k-window"),role:"dialog","aria-labelledby":c,"aria-describedby":u,...i&&{"aria-modal":"true"},children:[(t!==void 0||o)&&(0,Qe.jsxs)("div",{className:"k-window-titlebar k-dialog-titlebar",id:c,children:[t!==void 0&&(0,Qe.jsx)("span",{className:"k-window-title k-dialog-title",children:t}),o&&(0,Qe.jsx)(Qe.Fragment,{children:(0,Qe.jsx)("div",{className:"k-window-titlebar-actions k-dialog-titlebar-actions",children:o.map(f=>(0,Qe.jsx)(p,{icon:f,fillMode:"flat",size:"xsmall",className:"k-window-titlebar-action k-dialog-titlebar-action","aria-label":f},f))})})]}),(0,Qe.jsx)(fo,{className:"k-dialog-content",id:u,children:e.children}),a&&(0,Qe.jsx)(at,{alignment:n,className:"k-window-actions k-dialog-actions",children:a})]})]})};je.states=ng;je.options=rg;je.className=mc;je.defaultOptions=ni;je.moduleName=ln;je.folderName=qn;je.ariaSpec={selector:".k-dialog",rules:[{selector:".k-dialog",attribute:"role=dialog or role=alertdialog",usage:"Announces the dialog or alertdialog role of the component."},{selector:".k-dialog",attribute:"aria-labelledby",usage:"Associate the title of the dialog."},{selector:".k-dialog",attribute:"aria-describedby",usage:"Associate the dialog content to the wrap element."},{selector:".k-overlay + .k-dialog",attribute:"aria-modal=true",usage:"Announces that the dialog is modal. Attribute is added only when the dialog is modal."}]};var ri=je;var fc=require("react/jsx-runtime"),uc="k-dialog-wrapper",sg=[],ig={},lg={},Sa=e=>{let{...t}=e;return(0,fc.jsx)("div",{...t,className:r(e.className,uc),children:e.children})};Sa.states=sg;Sa.options=ig;Sa.className=uc;Sa.defaultOptions=lg;Sa.moduleName=ln;Sa.folderName=qn;var Ut=require("react/jsx-runtime"),bc=e=>(0,Ut.jsx)(ri,{title:"Title",children:(0,Ut.jsx)(Ut.Fragment,{children:"Dialog content"}),actionButtons:(0,Ut.jsxs)(Ut.Fragment,{children:[(0,Ut.jsx)(p,{children:"Action"}),(0,Ut.jsx)(p,{themeColor:"primary",children:"Primary"})]}),actions:["x"],...e});var si=require("react/jsx-runtime");var to=require("react/jsx-runtime"),pg=je.options,dg=[],cg=je.states,mg=je.defaultOptions,ug=[],ya=e=>(0,to.jsx)(bc,{style:{width:"350px",height:"215px"},...e,title:"Please confirm",actions:["x"],actionButtonsAlign:"stretched",actionButtons:(0,to.jsxs)(to.Fragment,{children:[(0,to.jsx)(p,{children:"No"}),(0,to.jsx)(p,{themeColor:"primary",children:"Yes"})]}),children:(0,to.jsx)("p",{style:{margin:"36px",textAlign:"center"},children:"Are you sure you want to continue?"})});ya.options=pg;ya.states=cg;ya.variants=dg;ya.defaultOptions=mg;ya.modifiers=ug;ya.className=je.className;var ii="dropzone",hc=ii;var Oo=require("react/jsx-runtime"),li="k-external-dropzone",fg=[s.disabled,s.hover],bg={},pi={icon:"upload",hint:"Drag and drop files here to upload"},$e=e=>{let{hover:t,disabled:o,icon:a=pi.icon,hint:n=pi.hint,note:i,...l}=e;return(0,Oo.jsx)("div",{...l,className:r(e.className,li,y(li,{disabled:o}),{"k-external-dropzone-hover":t}),children:(0,Oo.jsxs)("div",{className:"k-dropzone-inner",children:[a&&(0,Oo.jsx)(v,{icon:a,className:"k-dropzone-icon",size:"xxxlarge"}),n&&(0,Oo.jsx)("span",{className:"k-dropzone-hint",children:n}),i&&(0,Oo.jsx)("span",{className:"k-dropzone-note",children:i})]})})};$e.states=fg;$e.options=bg;$e.className=li;$e.defaultOptions=pi;$e.moduleName=ii;$e.folderName=hc;var gc=require("react/jsx-runtime"),xc=e=>(0,gc.jsx)($e,{...e});var hg=require("react/jsx-runtime");var Nc=require("react/jsx-runtime"),xg=$e.options,gg=$e.states,Ng=$e.defaultOptions,vg=[{name:"note",title:"Note"}],kg=[],Aa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="note"&&(a.note=t!=null&&t[n]?"Only JPEG, PNG and SVG files are allowed.":void 0)}),(0,Nc.jsx)(xc,{style:{width:"500px"},...o,...a})};Aa.options=xg;Aa.states=gg;Aa.variants=kg;Aa.defaultOptions=Ng;Aa.modifiers=vg;Aa.className=$e.className;var re=require("react/jsx-runtime"),di="k-upload-dropzone",Lg=[s.hover],Wn=e=>{let{hover:t,status:o,disabled:a,hasFiles:n,filesId:i,...l}=e,c;switch(o){case"uploading":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"upload"}),"Uploading..."]});break;case"done":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"check"}),"Done"]});break;case"failed":c=(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(v,{icon:"exclamation-circle"}),"Done"]});break;default:c=(0,re.jsx)(re.Fragment,{});break}return(0,re.jsxs)("div",{...l,className:r(e.className,di,"k-dropzone",y(di,{hover:t})),children:[(0,re.jsxs)("div",{className:"k-upload-button-wrap",children:[(0,re.jsx)(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...n&&i?{"aria-controls":i}:{},children:"Select files..."}),(0,re.jsx)("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),(0,re.jsx)("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&(0,re.jsx)("span",{className:"k-upload-status",children:c})]})};Wn.states=Lg;Wn.className=di;var ci="upload",vc=ci;var bo=require("react/jsx-runtime"),mi="k-upload",Mg=[s.hover,s.disabled],Sg={},Lc={actionsLayout:"end"},kc="upload-files-list",se=e=>{let{async:t,empty:o,actions:a,actionsLayout:n=Lc.actionsLayout,hover:i,status:l,disabled:c,...u}=e,f=!!e.children;return(0,bo.jsxs)("div",{...u,className:r(e.className,mi,y(mi,{disabled:c}),{"k-upload-async":t,"k-upload-empty":o}),children:[(0,bo.jsx)(Wn,{status:l,hover:i,disabled:c,hasFiles:f,filesId:kc}),f&&(0,bo.jsx)("ul",{className:"k-upload-files",role:"list",id:kc,children:e.children}),a&&f&&(0,bo.jsxs)(ml,{alignment:n,orientation:"horizontal",children:[(0,bo.jsx)(p,{className:"k-clear-selected",children:"Clear"}),(0,bo.jsx)(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};se.states=Mg;se.options=Sg;se.className=mi;se.defaultOptions=Lc;se.moduleName=ci;se.folderName=vc;se.ariaSpec={selector:".k-upload",rules:[{selector:".k-upload .k-upload-button",attribute:"aria-disabled",usage:"Announces the disabled state of the upload button."},{selector:".k-upload .k-upload-button",attribute:"aria-controls (when present)",usage:"Creates the relationship between the button and the list of selected files when the list is present."},{selector:".k-upload input",attribute:"tabindex=-1",usage:"Assures that the input element inside the upload is not focusable."},{selector:".k-upload input",attribute:"aria-hidden=true",usage:"The input needs to be hidden from screen readers."},{selector:".k-upload-files",attribute:"role=list",usage:"Explicitly sets the UL role to list."},{selector:".k-upload-files",attribute:"id",usage:"Unique and deterministic id linked to the button aria-controls attribute."},{selector:".k-upload-files .k-file",attribute:"role=listitem",usage:"Explicitly sets the LI role to listitem."},{selector:".k-upload .k-file .k-file-validation-message",attribute:"aria-live=polite",usage:"Announces the change in the upload status of the file."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"aria-label",usage:"Provides accessible names for the file action buttons."},{selector:".k-upload .k-upload-actions .k-upload-action",attribute:"tabindex=-1",usage:"The list file action buttons are not focusable elements."}]};var pn="progressbar",Jn=pn;var ho=require("react/jsx-runtime"),xt="k-progressbar",yg=[s.disabled,s.indeterminate],Ag={orientation:["horizontal","vertical"]},Bo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Pe=e=>{let{disabled:t,height:o,indeterminate:a=Bo.indeterminate,label:n=Bo.label,labelPosition:i=Bo.labelPosition,orientation:l=Bo.orientation,reverse:c=Bo.reverse,value:u=Bo.value,width:f,style:N,ariaLabel:x,...m}=e;return(0,ho.jsxs)("div",{...m,className:r(e.className,xt,y(xt,{disabled:t}),{[`${xt}-${l}`]:l,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:c}),style:{...N,"--kendo-progressbar-value":u,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:f},role:"progressbar","aria-label":x||"progress","aria-valuenow":a?void 0:Number(u),"aria-valuemin":0,"aria-valuemax":100,children:[(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i&&!a}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[u,"%"]})}),!a&&(0,ho.jsx)("div",{className:"k-progressbar-value k-selected",children:(0,ho.jsx)("span",{className:r("k-progress-status-wrap",{[`k-progress-${i}`]:i}),children:n&&(0,ho.jsxs)("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Pe.states=yg;Pe.options=Ag;Pe.className=xt;Pe.defaultOptions=Bo;Pe.moduleName=pn;Pe.folderName=Jn;Pe.ariaSpec={selector:".k-progressbar",implicitRole:"progressbar",rules:[{selector:".k-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ProgressBar."},{selector:".k-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ProgressBar needs an accessible name to be assigned to it."},{selector:".k-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Decimal value between aria-valuemin and aria-valuemax."},{selector:".k-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to 100."}]};var Mc=Pe;var Zn=require("react/jsx-runtime"),Sc="k-chunk-progressbar",Cg=(e,t)=>t<=e-1,Eg=[s.disabled,s.indeterminate],Ig={},Yn={chunkCount:5,orientation:"horizontal",progress:0},Po=e=>{let{disabled:t,chunkCount:o=Yn.chunkCount,indeterminate:a,orientation:n=Yn.orientation,progress:i=Yn.progress,reverse:l,ariaLabel:c,...u}=e;return(0,Zn.jsx)("div",{...u,className:r(e.className,xt,Sc,y(xt,{disabled:t}),{[`${xt}-${n}`]:n,[`${xt}-indeterminate`]:a,[`${xt}-reverse`]:l}),role:"progressbar","aria-label":c||"progress","aria-valuenow":a?void 0:i,"aria-valuemin":0,"aria-valuemax":o,children:(0,Zn.jsx)("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((f,N)=>(0,Zn.jsx)("li",{className:r("k-progressbar-chunk",{"k-first":N===0,"k-last":N===[...Array(o)].length-1,"k-selected":Cg(i,N)})},N))})})};Po.states=Eg;Po.options=Ig;Po.className=Sc;Po.defaultOptions=Yn;Po.moduleName=pn;Po.folderName=Jn;Po.ariaSpec={selector:".k-chunk-progressbar",implicitRole:"progressbar",rules:[{selector:".k-chunk-progressbar",attribute:"role=progressbar",usage:"Sets the proper role for ChunkProgressBar."},{selector:".k-chunk-progressbar",attribute:"aria-label or aria-labelledby",usage:"The ChunkProgressBar needs an accessible name to be assigned to it."},{selector:".k-chunk-progressbar:not(.k-progressbar-indeterminate)",attribute:"aria-valuenow",usage:"Required if the value is not indeterminate. Value between aria-valuemin and aria-valuemax."},{selector:".k-chunk-progressbar",attribute:"aria-valuemin",usage:"Minimum value. Defaults to 0."},{selector:".k-chunk-progressbar",attribute:"aria-valuemax",usage:"Maximum value. Defaults to chunk count."}]};var yc=require("react/jsx-runtime"),dn=e=>(0,yc.jsx)(Mc,{...e});var Tg=require("react/jsx-runtime");var oo=require("react/jsx-runtime"),Og=Pe.options,Bg=Pe.states,Ac={...Pe.defaultOptions,variant:"start"},Pg=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],wg=[],Ca=e=>{let{variant:t,modifiers:o,...a}={...Ac,...e},n={},i={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":n.reverse=!!(o!=null&&o[l]);break;case"vertical":n.orientation=o!=null&&o[l]?"vertical":void 0,i.style=o!=null&&o[l]?void 0:{width:"324px"};break}}),t){case"end":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"end",value:"50"})});case"center":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"center",value:"50"})});case"empty":return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,label:!1,value:"50"})});default:return(0,oo.jsx)("div",{...i,children:(0,oo.jsx)(dn,{...a,...n,labelPosition:"start",value:"50"})})}};Ca.options=Og;Ca.states=Bg;Ca.variants=Pg;Ca.defaultOptions=Ac;Ca.modifiers=wg;Ca.className=Pe.className;var Ea=require("react/jsx-runtime"),Rg="k-file-info",ui=e=>{let{name:t,size:o,validationMsg:a,...n}=e;return(0,Ea.jsxs)("div",{...n,className:r(e.className,Rg),children:[t&&(0,Ea.jsx)("span",{className:"k-file-name",children:t}),o&&(0,Ea.jsx)("span",{className:"k-file-size",children:o}),a&&(0,Ea.jsx)("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};var Me=require("react/jsx-runtime"),Kg="k-file",et=e=>{let{status:t,progress:o,name:a,icon:n,size:i,state:l,validationMsg:c,...u}=e;return(0,Me.jsx)("li",{...u,className:r(e.className,Kg,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:(0,Me.jsxs)("div",{className:"k-file-single",children:[(0,Me.jsx)(Pe,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),(0,Me.jsxs)("span",{className:"k-file-icon-wrapper",children:[(0,Me.jsx)(v,{className:"k-file-icon",icon:n,size:"xxlarge"}),l&&(0,Me.jsx)("span",{className:"k-file-state",children:l})]}),(0,Me.jsx)(ui,{name:a,size:i,validationMsg:c}),(0,Me.jsx)("div",{className:"k-upload-actions",children:t==="progress"?(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsxs)("span",{className:"k-upload-pct",children:[o,"%"]}),(0,Me.jsx)(p,{icon:"pause-sm",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),(0,Me.jsx)(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):(0,Me.jsx)(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};var fi=require("react/jsx-runtime");var xo=require("react/jsx-runtime"),cn=e=>(0,xo.jsx)(se,{async:!0,children:(0,xo.jsxs)(xo.Fragment,{children:[(0,xo.jsx)(et,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),(0,xo.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});var bi=require("react/jsx-runtime");var Ec=require("react/jsx-runtime"),Cc=e=>(0,Ec.jsx)(se,{async:!0,empty:!0,...e});var hi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Xe=require("react/jsx-runtime"),_g=se.options,Dg=se.states,Ic={...se.defaultOptions,variant:"empty"},Hg=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],zg=[],Ia=e=>{let{variant:t,...o}={...Ic,...e};switch(t){case"success":return(0,Xe.jsxs)(cn,{status:"done",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),(0,Xe.jsx)(et,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return(0,Xe.jsxs)(cn,{status:"failed",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),(0,Xe.jsx)(et,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return(0,Xe.jsxs)(cn,{status:"uploading",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),(0,Xe.jsx)(et,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return(0,Xe.jsxs)(cn,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[(0,Xe.jsx)(et,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),(0,Xe.jsx)(et,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return(0,Xe.jsx)(Cc,{async:!0,status:"upload",style:{width:"586px"},...o})}};Ia.options=_g;Ia.states=Dg;Ia.variants=Hg;Ia.defaultOptions=Ic;Ia.modifiers=zg;Ia.className=se.className;var gi=require("react/jsx-runtime");var Ug=require("react/jsx-runtime");var Ni=require("react/jsx-runtime");var vi=require("react/jsx-runtime");var ki=require("react/jsx-runtime");var Tc=require("react/jsx-runtime");var Li="appbar",Oc=Li;var Bc=require("react/jsx-runtime"),Mi="k-appbar",Fg=[],Gg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary,g.inverse]},Vg={},we=e=>{let{themeColor:t,positionMode:o,position:a,...n}=e;return(0,Bc.jsx)("div",{...n,className:r(e.className,Mi,C(Mi,{themeColor:t}),{[`k-appbar-${o}`]:o,[`k-appbar-${a}`]:a}),children:e.children})};we.states=Fg;we.options=Gg;we.className=Mi;we.defaultOptions=Vg;we.moduleName=Li;we.folderName=Oc;we.ariaSpec={selector:".k-appbar",rules:[]};var Pc=require("react/jsx-runtime"),$g="k-appbar-section",Ft=e=>{let{...t}=e;return(0,Pc.jsx)("div",{...t,className:r($g,e.className),children:e.children})};var Si=require("react/jsx-runtime");var z=require("react/jsx-runtime"),yi={...we.options,positionMode:["static","sticky","fixed"]},Xg=we.states,wc={...we.defaultOptions,themeColor:"primary",variant:"top",positionMode:"sticky"};yi.themeColor=["primary",...yi.themeColor.filter(e=>e!=="primary")];var qg=[{name:"top",title:"Top"},{name:"bottom",title:"Bottom"}],Ta=e=>{let{variant:t,...o}={...wc,...e},a=(0,z.jsxs)(we,{position:t,...o,children:[(0,z.jsx)(Ft,{children:(0,z.jsx)(fe,{fillMode:"flat",icon:"menu"})}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)("h3",{className:"k-m-0",children:"AppBar"})}),(0,z.jsx)("span",{className:"k-spacer"}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"}),(0,z.jsx)(kt,{fillMode:"flat",children:"Button"})]}),(0,z.jsx)("span",{className:"k-spacer k-spacer-sized",style:{width:"8px"}}),(0,z.jsx)(Ft,{children:(0,z.jsx)(Mn,{value:"Input value"})}),(0,z.jsxs)(Ft,{children:[(0,z.jsx)(fe,{className:"k-mx-sm",fillMode:"flat",icon:"bell"}),(0,z.jsx)("span",{className:"k-appbar-separator"}),(0,z.jsx)(Vn,{className:"k-mx-sm",children:(0,z.jsx)("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})]})]}),n=(0,z.jsxs)("div",{style:{padding:"25px 10px"},children:[(0,z.jsx)("p",{children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit, harum magnam? Possimus magnam non natus error consectetur voluptatum, unde quasi rerum ad facere, hic in! Qui ducimus ab sed consequuntur excepturi fugiat! Facilis fuga asperiores pariatur sed. Eligendi aliquid vel nemo, ipsum tempora minima consequatur culpa molestias maiores nihil eveniet accusantium porro. Inventore saepe ut ad in a. Quo itaque est expedita quidem consectetur enim quam minima, quisquam harum velit, earum adipisci provident, officia eveniet voluptas vero accusamus ad ducimus laudantium!"}),(0,z.jsx)("p",{children:"Consequatur incidunt sequi explicabo adipisci saepe, accusamus, numquam fuga quam ex, provident possimus ratione blanditiis ducimus quos nulla repellat error pariatur nemo nobis illo! Saepe deleniti dolore cumque, sequi similique eligendi consectetur corrupti iste reprehenderit adipisci enim laudantium inventore totam quos non impedit quibusdam et consequuntur blanditiis accusamus! Rerum, nostrum. Rerum, tempore earum officia alias suscipit ut minima recusandae dolorem reprehenderit ea?"}),(0,z.jsx)("p",{children:"Aliquam pariatur ut expedita, repellat architecto aut, consequatur iure recusandae tempora odit consequuntur, nihil nostrum totam accusantium at. Dignissimos repellendus culpa nesciunt. Officia repudiandae, laudantium error iure in minus ratione reprehenderit dolorum alias quo voluptatibus doloremque aliquid exercitationem quidem odit earum natus autem eaque tempore nulla esse sapiente? Dolore aliquid aliquam modi velit quaerat!"}),(0,z.jsx)("p",{children:"Sunt consequuntur, aliquam eius beatae ex odit quasi iusto, accusamus architecto corrupti reprehenderit dolores itaque aliquid veniam odio eaque vel doloremque? Corporis, tenetur delectus deleniti voluptatum autem necessitatibus esse nisi ad, optio cumque quas dignissimos reprehenderit. Optio dolores quam corporis ea, reiciendis eos sit. Voluptate vel esse necessitatibus eum, sunt fuga, quaerat, eos natus quod repellendus nulla voluptatem ut quo quas ipsa animi incidunt autem saepe perferendis. Sequi ratione in iste, quibusdam, neque facilis accusantium, eum rem error sunt a explicabo commodi impedit quam."})]});return t==="bottom"?(0,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[n,a]}):(0,z.jsxs)("div",{style:{height:"250px",overflow:"auto"},children:[a,n]})};Ta.options=yi;Ta.states=Xg;Ta.variants=qg;Ta.defaultOptions=wc;Ta.modifiers=[];Ta.className=we.className;var Ai="suggestion",Rc=Ai;var wo=require("react/jsx-runtime"),Qn="k-suggestion-group",Wg=[],Jg={},Kc={layout:"scrollable",scrollingPosition:"start"},gt=e=>{let{layout:t=Kc.layout,scrollingPosition:o,...a}=e,n=(0,wo.jsx)("div",{...a,className:r(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"?(0,wo.jsx)("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?(0,wo.jsxs)("div",{className:"k-suggestion-scrollwrap",children:[(0,wo.jsx)(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,(0,wo.jsx)(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};gt.states=Wg;gt.options=Jg;gt.className=Qn;gt.defaultOptions=Kc;gt.moduleName=Ai;gt.folderName=Rc;var _c=require("react/jsx-runtime"),jn="k-suggestion",Yg=[s.active,s.hover,s.focus],Zg={themeColor:[g.undefined,g.base,g.primary,g.secondary,g.tertiary]},Qg={text:"Suggestion"},Nt=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:i,...l}=e;return(0,_c.jsx)("span",{...l,className:r(e.className,jn,y(jn,{hover:a,active:o,focus:n}),C(jn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":i,children:i})};Nt.states=Yg;Nt.options=Zg;Nt.className=jn;Nt.item=Qg;var Ci=require("react/jsx-runtime");var Ei=require("react/jsx-runtime");var Ii=require("react/jsx-runtime");var U=require("react/jsx-runtime"),jg=$.states,eN=$.defaultOptions,tN=$.options,oN=[{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"}],aN=[],Oa=e=>{let{modifiers:t,...o}=e,a={author:null,avatar:null},n=(0,U.jsxs)(we,{className:"k-chat-header",positionMode:"sticky",themeColor:"primary",children:[(0,U.jsx)("span",{className:"k-spacer k-spacer-sized k-w-1"}),(0,U.jsx)(Ft,{children:(0,U.jsx)("span",{children:"Chat with demo bot"})}),(0,U.jsx)("span",{className:"k-spacer"}),(0,U.jsx)(Ft,{children:(0,U.jsx)(p,{fillMode:"flat",icon:"more-vertical"})})]}),i=(0,U.jsx)(Ma,{type:"sender",pinned:!0,content:"Hello! Generate a cover letter.",closeable:!0}),l=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{text:"Provide a CV template"}),(0,U.jsx)(Nt,{text:"Generate a cover letter"})]}),c=(0,U.jsxs)(gt,{children:[(0,U.jsx)(Nt,{themeColor:"primary",text:"Thank you!"}),(0,U.jsx)(Nt,{themeColor:"primary",text:"Great!"})]}),u="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg",f=null,N="User",x="Demo Bot";Object.keys(t||{}).forEach(O=>{switch(O){case"header":a.header=t!=null&&t[O]?n:!1;break;case"pinned":a.pinned=t!=null&&t[O]?i:!1;break;case"suggested":a.suggestedActions=t!=null&&t[O]?l:!1;break;case"author":a.author=t!=null&&t[O]?!0:null;break;case"avatar":a.avatar=t!=null&&t[O]?u:null;break;case"quick":a.quickReplies=t!=null&&t[O]?c:(0,U.jsx)(U.Fragment,{});break;default:break}});let{header:m,pinned:L,suggestedActions:k,author:A,avatar:E,quickReplies:M}=a;return(0,U.jsxs)(tc,{value:"Thank you!",style:{minHeight:"100%"},...o,header:m,pinned:L,suggestedActions:k,children:[(0,U.jsx)(j,{avatar:f,author:A?x:null,children:(0,U.jsx)(X,{text:"Hello, this is a demo bot. How can I help you ?"})}),(0,U.jsx)(j,{avatar:E?u:null,author:A?N:null,type:"sender",children:(0,U.jsx)(X,{text:"Hello! Generate a cover letter."})}),(0,U.jsx)(j,{avatar:f,author:A?x:null,children:(0,U.jsx)(X,{text:"Sure. Here is a cover letter template",files:(0,U.jsx)(Ht,{children:(0,U.jsx)(Ve,{icon:"file-pdf",name:"cover_letter.pdf",size:"1.43MB"})})})}),M]})};Oa.options=tN;Oa.states=jg;Oa.variants=aN;Oa.defaultOptions=eN;Oa.modifiers=oN;Oa.className=$.className;var ie=require("react/jsx-runtime"),Ti="k-message",nN=[s.hover,s.selected,s.active,s.focus],rN={},sN=[(0,ie.jsx)(p,{icon:"copy",fillMode:"flat","aria-label":"Copy"}),(0,ie.jsx)(p,{icon:"arrow-rotate-cw",fillMode:"flat","aria-label":"Retry"}),(0,ie.jsx)(p,{icon:"download",fillMode:"flat","aria-label":"Download"})],Ba={time:"Thu Feb 08 2018",text:"How can I help you?",status:"Seen",toolbarItems:sN,failed:"Failed to send"},X=e=>{let{time:t=Ba.time,text:o=Ba.text,content:a,status:n=Ba.status,statusIcon:i,toolbarItems:l=Ba.toolbarItems,hover:c,selected:u,active:f,focus:N,toolbar:x,typing:m,expandable:L,expanded:k,removed:A,files:E,failed:M,...O}=e,W=M===!0?Ba.failed:M;return(0,ie.jsxs)("div",{...O,className:r(Ti,e.className,{"k-message-removed":A,"k-message-failed":M}),children:[M&&(0,ie.jsx)(fe,{className:"k-resend-button",icon:"arrow-rotate-cw",size:"xsmall",fillMode:"clear","aria-label":"Resend"}),(0,ie.jsx)(Qd,{typing:m,selected:u,hover:c,active:f,focus:N,content:(0,ie.jsxs)(ie.Fragment,{children:[a,o&&(0,ie.jsx)("span",{className:"k-chat-bubble-text",children:o})]}),expandable:L,expanded:k,files:E}),(0,ie.jsxs)("div",{className:"k-message-info",children:[n&&(0,ie.jsxs)("span",{className:"k-message-status",children:[i&&(0,ie.jsx)(v,{icon:i,size:"xsmall"}),n]}),t&&(0,ie.jsx)("time",{className:"k-message-time",children:t}),M&&(0,ie.jsxs)("span",{className:"k-message-failed-content",children:[M&&(0,ie.jsx)(v,{icon:"warning-triangle",size:"xsmall"}),M&&(0,ie.jsx)("span",{className:"k-message-failed-text",children:W})]})]}),x&&(0,ie.jsx)(G,{className:"k-chat-message-toolbar",fillMode:"flat",children:l})]})};X.states=nN;X.options=rN;X.className=Ti;X.defaultOptions=Ba;var iN=X;