@progress/kendo-themes-html 14.5.1-dev.7 → 14.5.1-dev.8

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 (171) hide show
  1. package/dist/cjs/colorgradient/demos/colorgradient.js +1 -1
  2. package/dist/cjs/colorpicker/colorpicker.spec.js +1 -1
  3. package/dist/cjs/colorpicker/templates/colorpicker-adaptive.js +1 -1
  4. package/dist/cjs/colorpicker/templates/colorpicker-disabled.js +1 -1
  5. package/dist/cjs/colorpicker/templates/colorpicker-normal.js +1 -1
  6. package/dist/cjs/combobox/demos/combobox.js +1 -1
  7. package/dist/cjs/combobox/templates/combobox-grouping-modern-custom-value.js +1 -1
  8. package/dist/cjs/filemanager/filemanager-listview.spec.js +1 -1
  9. package/dist/cjs/floating-toolbar/floating-toolbar.spec.js +1 -1
  10. package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -0
  11. package/dist/cjs/imageeditor/imageeditor-option-preview.js +1 -0
  12. package/dist/cjs/imageeditor/imageeditor-pane.js +1 -0
  13. package/dist/cjs/imageeditor/imageeditor-placeholder.js +1 -0
  14. package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -0
  15. package/dist/cjs/imageeditor/imageeditor-resize-handles.js +1 -0
  16. package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -0
  17. package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
  18. package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
  19. package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -0
  20. package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -0
  21. package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
  22. package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +1 -0
  23. package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -0
  24. package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -0
  25. package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -0
  26. package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -0
  27. package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -0
  28. package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
  29. package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -0
  30. package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
  31. package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -0
  32. package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -0
  33. package/dist/cjs/index.js +8 -8
  34. package/dist/cjs/listview/demos/listview.js +1 -1
  35. package/dist/cjs/listview/listview.spec.js +1 -1
  36. package/dist/cjs/listview/templates/listview-no-data.js +1 -1
  37. package/dist/cjs/listview/templates/listview-normal.js +1 -1
  38. package/dist/cjs/listview/templates/listview-selectable.js +1 -1
  39. package/dist/cjs/pager/index.js +1 -1
  40. package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
  41. package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
  42. package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
  43. package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
  44. package/dist/cjs/prompt/templates/prompt-output.js +1 -1
  45. package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
  46. package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
  47. package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
  48. package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
  49. package/dist/cjs/spreadsheet/spreadsheet-action-bar.js +1 -1
  50. package/dist/cjs/toolbar/demos/toolbar.js +1 -1
  51. package/dist/cjs/toolbar/templates/toolbar-scrollable-buttons-hidden.js +1 -1
  52. package/dist/cjs/toolbar/templates/toolbar-scrollable.js +1 -1
  53. package/dist/esm/colorgradient/demos/colorgradient.mjs +1 -1
  54. package/dist/esm/colorpicker/colorpicker.spec.mjs +1 -1
  55. package/dist/esm/colorpicker/templates/colorpicker-adaptive.mjs +1 -1
  56. package/dist/esm/colorpicker/templates/colorpicker-disabled.mjs +1 -1
  57. package/dist/esm/colorpicker/templates/colorpicker-normal.mjs +1 -1
  58. package/dist/esm/combobox/demos/combobox.mjs +1 -1
  59. package/dist/esm/combobox/templates/combobox-grouping-modern-custom-value.mjs +1 -1
  60. package/dist/esm/filemanager/filemanager-listview.spec.mjs +1 -1
  61. package/dist/esm/floating-toolbar/floating-toolbar.spec.mjs +1 -1
  62. package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -0
  63. package/dist/esm/imageeditor/imageeditor-option-preview.mjs +1 -0
  64. package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -0
  65. package/dist/esm/imageeditor/imageeditor-placeholder.mjs +1 -0
  66. package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -0
  67. package/dist/esm/imageeditor/imageeditor-resize-handles.mjs +1 -0
  68. package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -0
  69. package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
  70. package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
  71. package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -0
  72. package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -0
  73. package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
  74. package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +1 -0
  75. package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -0
  76. package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -0
  77. package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -0
  78. package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -0
  79. package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -0
  80. package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
  81. package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -0
  82. package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
  83. package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -0
  84. package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -0
  85. package/dist/esm/index.mjs +8 -8
  86. package/dist/esm/listview/demos/listview.mjs +1 -1
  87. package/dist/esm/listview/templates/listview-no-data.mjs +1 -1
  88. package/dist/esm/listview/templates/listview-normal.mjs +1 -1
  89. package/dist/esm/listview/templates/listview-selectable.mjs +1 -1
  90. package/dist/esm/pager/index.mjs +1 -1
  91. package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
  92. package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
  93. package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
  94. package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
  95. package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
  96. package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
  97. package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
  98. package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
  99. package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
  100. package/dist/esm/spreadsheet/spreadsheet-action-bar.mjs +1 -1
  101. package/dist/esm/toolbar/demos/toolbar.mjs +1 -1
  102. package/dist/esm/toolbar/templates/toolbar-scrollable-buttons-hidden.mjs +1 -1
  103. package/dist/esm/toolbar/templates/toolbar-scrollable.mjs +1 -1
  104. package/dist/types/combobox/combobox.spec.d.ts +1 -1
  105. package/dist/types/imageeditor/imageeditor-option-list.d.ts +18 -0
  106. package/dist/types/imageeditor/imageeditor-option-preview.d.ts +18 -0
  107. package/dist/types/imageeditor/imageeditor-pane.d.ts +21 -0
  108. package/dist/types/imageeditor/imageeditor-placeholder.d.ts +7 -0
  109. package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +12 -0
  110. package/dist/types/imageeditor/imageeditor-resize-handles.d.ts +14 -0
  111. package/dist/types/imageeditor/imageeditor-sidebar.d.ts +11 -0
  112. package/dist/types/imageeditor/imageeditor-toolbar.d.ts +1 -0
  113. package/dist/types/imageeditor/imageeditor.spec.d.ts +40 -4
  114. package/dist/types/imageeditor/index.d.ts +18 -0
  115. package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -0
  116. package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -0
  117. package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +1 -0
  118. package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +6 -0
  119. package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -0
  120. package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +2 -0
  121. package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +2 -0
  122. package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +2 -0
  123. package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -0
  124. package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -0
  125. package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -0
  126. package/dist/types/numerictextbox/numerictextbox.spec.d.ts +1 -1
  127. package/package.json +4 -4
  128. package/src/combobox/combobox.spec.tsx +2 -2
  129. package/src/imageeditor/imageeditor-option-list.tsx +53 -0
  130. package/src/imageeditor/imageeditor-option-preview.tsx +56 -0
  131. package/src/imageeditor/imageeditor-pane.tsx +70 -0
  132. package/src/imageeditor/imageeditor-placeholder.tsx +51 -0
  133. package/src/imageeditor/imageeditor-preview-thumbnail.tsx +42 -0
  134. package/src/imageeditor/imageeditor-resize-handles.tsx +37 -0
  135. package/src/imageeditor/imageeditor-sidebar.tsx +66 -0
  136. package/src/imageeditor/imageeditor-toolbar.tsx +14 -13
  137. package/src/imageeditor/imageeditor.spec.tsx +79 -13
  138. package/src/imageeditor/index.ts +19 -0
  139. package/src/imageeditor/templates/imageeditor-adjustments.tsx +88 -0
  140. package/src/imageeditor/templates/imageeditor-blur.tsx +92 -0
  141. package/src/imageeditor/templates/imageeditor-crop.tsx +64 -59
  142. package/src/imageeditor/templates/imageeditor-disabled.tsx +45 -0
  143. package/src/imageeditor/templates/imageeditor-filters.tsx +98 -0
  144. package/src/imageeditor/templates/imageeditor-frames.tsx +180 -0
  145. package/src/imageeditor/templates/imageeditor-insert-line.tsx +141 -0
  146. package/src/imageeditor/templates/imageeditor-insert-shape.tsx +195 -0
  147. package/src/imageeditor/templates/imageeditor-insert-text.tsx +143 -0
  148. package/src/imageeditor/templates/imageeditor-normal.tsx +20 -1
  149. package/src/imageeditor/templates/imageeditor-pixelate.tsx +92 -0
  150. package/src/imageeditor/templates/imageeditor-resize.tsx +68 -50
  151. package/src/imageeditor/templates/imageeditor-rotate.tsx +98 -0
  152. package/src/imageeditor/templates/imageeditor-shadow.tsx +96 -0
  153. package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +373 -0
  154. package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +14 -0
  155. package/src/imageeditor/tests/imageeditor-blur-pane.tsx +29 -0
  156. package/src/imageeditor/tests/imageeditor-crop-pane.tsx +3 -2
  157. package/src/imageeditor/tests/imageeditor-export-dialog.tsx +85 -0
  158. package/src/imageeditor/tests/imageeditor-filters-pane.tsx +14 -0
  159. package/src/imageeditor/tests/imageeditor-frames-pane.tsx +22 -0
  160. package/src/imageeditor/tests/imageeditor-insert-line-pane.tsx +52 -0
  161. package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +57 -0
  162. package/src/imageeditor/tests/imageeditor-insert-text-pane.tsx +51 -0
  163. package/src/imageeditor/tests/imageeditor-interactive-states.tsx +79 -0
  164. package/src/imageeditor/tests/imageeditor-option-list-states.tsx +17 -0
  165. package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +29 -0
  166. package/src/imageeditor/tests/imageeditor-resize-pane.tsx +15 -1
  167. package/src/imageeditor/tests/imageeditor-responsive.tsx +71 -0
  168. package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +27 -0
  169. package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +14 -0
  170. package/src/imageeditor/tests/imageeditor-sidebar-scrollable.tsx +97 -0
  171. package/src/numerictextbox/numerictextbox.spec.tsx +2 -2
@@ -1 +1 @@
1
- var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(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"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:b,disabled:N,indeterminate:h,loading:L,empty:c,readonly:M,highlighted:v,...g}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":L,"k-empty":c,"k-readonly":M,"k-highlighted":v},Object.keys(g).reduce((y,E)=>(E.startsWith("k-")?y[E]=g[E]:y[`k-${E}`]=g[E],y),{}))};function yi(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"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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"},Ei={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Fn={};function A(e){return Fn[e]=(Fn[e]||0)+1,`k-${e}-${Fn[e]}`}var Vn="action-buttons",Bi=Vn;import{jsx as Wd}from"react/jsx-runtime";var Wa="k-actions",$d=[],Xd={},$n={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=$n.alignment,orientation:o=$n.orientation,...a}=e;return Wd("div",{...a,className:r(Wa,{[`${Wa}-${t}`]:t,[`${Wa}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=Wa;z.defaultOptions=$n;z.moduleName=Vn;z.folderName=Bi;import{Fragment as Qd,jsx as Oi}from"react/jsx-runtime";var Xn="k-font-icon",Jd=[],qd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Yd={},ba=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Oi("span",{...l,className:r(e.className,Xn,k(Xn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Oi(Qd,{})};ba.states=Jd;ba.options=qd;ba.className=Xn;ba.defaultOptions=Yd;var Pi=ba;import{Fragment as ep,jsx as Ja}from"react/jsx-runtime";var Wn="k-svg-icon",Zd=[],jd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Jn={viewBox:"0 0 24 24",variant:bt.outline},xa=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Jn.viewBox,variant:l=Jn.variant,icon:m,...b}=e;if(!m)return Ja(ep,{});if(m==="none")return Ja("span",{...b,className:r(e.className,Wn,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Ja("span",{...b,className:r(e.className,Wn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ja("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};xa.states=Zd;xa.options=jd;xa.className=Wn;xa.defaultOptions=Jn;var qn=xa;import*as Yn from"@progress/kendo-svg-icons";var Ki="icon",Ri="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var wi=tp({iconsType:"svg"});import{Fragment as _i,jsx as ha}from"react/jsx-runtime";var qa="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Ya={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},S=e=>{let{iconsType:t}=op(wi),{size:o,themeColor:a,icon:n,type:s=t||Ya.type,rotate:l,flip:m,viewBox:b=Ya.viewBox,variant:N=Ya.variant,...h}=e;if(!n)return ha(_i,{});if((t||s)==="svg"){if(n==="none")return ha(qn,{...h,className:r(e.className,qa),icon:n,size:o,variant:N});let c=Yn[n]?n:ap(`${n}-icon`);return Yn[c]?ha(qn,{...h,className:r(e.className,qa),icon:Yn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:b,variant:N}):ha(_i,{})}return ha(Pi,{...h,className:r(e.className,qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};S.states=np;S.options=rp;S.defaultOptions=Ya;S.className=qa;S.moduleName=Ki;S.folderName=Ri;var Qn="button",Di=Qn;import{Fragment as Hi,jsx as uo,jsxs as zi}from"react/jsx-runtime";var Na="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Zn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=Zn.showArrow,arrowIconName:m=Zn.arrowIconName,variant:b,hover:N,focus:h,active:L,selected:c,disabled:M,togglable:v,ariaDisabled:g,icon:y,iconSize:E,text:K,iconClassName:q,className:de,...me}=e,ce=y!=null,ue=e.children!==void 0;return zi(t,{className:r(de,Na,yi(Na,b),k(Na,{size:o,rounded:a,fillMode:n,themeColor:s}),I(Na,{hover:N,focus:h,active:L,disabled:M||g,selected:c}),{"k-icon-button":!K&&!ue&&ce}),"aria-pressed":v?c?"true":"false":void 0,...me,"aria-disabled":g?"true":void 0,disabled:M||void 0,children:[typeof y=="string"&&y&&uo(S,{className:r(q,"k-button-icon"),icon:y,size:E}),y&&typeof y!="string"&&uo(Hi,{children:y}),K?zi(Hi,{children:[K&&uo("span",{className:"k-button-text",children:K}),e.children]}):e.children&&uo("span",{className:"k-button-text",children:e.children}),l&&uo("span",{className:"k-menu-button-arrow k-button-arrow",children:uo(S,{icon:m})})]})};p.states=sp;p.options=lp;p.variants=ip;p.className=Na;p.defaultOptions=Zn;p.moduleName=Qn;p.folderName=Di;import{jsx as dp}from"react/jsx-runtime";var V=e=>dp(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var R=e=>pp(p,{icon:"folder",children:"Button",...e});import{jsx as mp}from"react/jsx-runtime";var Wt=e=>mp(p,{children:"Button",...e});import{jsx as jn}from"react/jsx-runtime";var cp=p.options,up=p.states,fp={...p.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return jn(V,{...o,icon:"star"});case"icon-and-text":return jn(R,{...o,icon:"star",children:"Button"});default:return jn(Wt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=p.className;var er="button",Gi=er;import{jsx as Cp}from"react/jsx-runtime";var va="k-button-group",hp=[i.disabled],Np={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},vp={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,va,k(va,{fillMode:t}),I(va,{disabled:o}),{[`${va}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=hp;O.options=Np;O.className=va;O.defaultOptions=vp;O.moduleName=er;O.folderName=Gi;import{Fragment as eC,jsx as jv,jsxs as tC}from"react/jsx-runtime";import{Fragment as sC,jsx as iC,jsxs as lC}from"react/jsx-runtime";import{Fragment as fC,jsx as uC,jsxs as bC}from"react/jsx-runtime";import{Fragment as LC,jsx as CC,jsxs as MC}from"react/jsx-runtime";import{Fragment as TC,jsx as AC,jsxs as yC}from"react/jsx-runtime";import{Fragment as RC,jsx as KC,jsxs as wC}from"react/jsx-runtime";import{jsx as St,jsxs as tr}from"react/jsx-runtime";var Lp={...p.options,...O.options},Mp=p.states,Sp={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},gp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?tr(O,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"})]}):t==="icon-text-button"?tr(O,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star",children:"First"}),St(p,{...a,icon:"star",children:"Middle"}),St(p,{...a,icon:"star",children:"Last"})]}):tr(O,{fillMode:a.fillMode,className:o,children:[St(p,{...a,children:"First"}),St(p,{...a,children:"Middle"}),St(p,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=gp;bo.defaultOptions=Sp;bo.modifiers=Ip;bo.className=O.className;var Ca="input",Qa=Ca;import{jsx as yp}from"react/jsx-runtime";var Za="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Tp={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return yp("span",{...L,className:r(e.className,Za,k(Za,{size:b,rounded:N,fillMode:h}),I(Za,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=kp;Z.options=Ap;Z.className=Za;Z.defaultOptions=Tp;Z.moduleName=Ca;Z.folderName=Qa;import{jsx as Pp}from"react/jsx-runtime";var ja="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Bp={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Op={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return Pp("span",{...L,className:r(e.className,ja,k(ja,{size:b,rounded:N,fillMode:h}),I(ja,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ep;xt.options=Bp;xt.className=ja;xt.defaultOptions=Op;xt.moduleName=Ca;xt.folderName=Qa;import{Fragment as wp,jsx as or}from"react/jsx-runtime";var Ui="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Ue=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?or(wp,{}):or("span",{className:r(e.className,Ui),children:or(S,{icon:"x"})})};Ue.states=Kp;Ue.options=Rp;Ue.className=Ui;import{jsx as Hp}from"react/jsx-runtime";var ar="k-input-inner",_p=[],Dp={},en={type:"text",autocomplete:"off",value:"",placeholder:""},Fe=e=>{let{value:t=en.value,type:o=en.type,placeholder:a=en.placeholder,autocomplete:n=en.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,ar,k(ar,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Fe.states=_p;Fe.options=Dp;Fe.className=ar;import{jsx as Fi,jsxs as Up}from"react/jsx-runtime";var nr="k-input-inner",zp=[],Gp={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,nr,k(nr,e)),children:[n,!n&&s&&Fi(S,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Fi("span",{className:"k-input-value-text",children:t})]})};Jt.states=zp;Jt.options=Gp;Jt.className=nr;import{jsx as $p}from"react/jsx-runtime";var rr="k-input-inner",Fp=[],Vp={},Vi={value:"",placeholder:""},La=e=>{let{value:t=Vi.value,placeholder:o=Vi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,rr,k(rr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};La.states=Fp;La.options=Vp;La.className=rr;import{Fragment as Wp,jsx as $i}from"react/jsx-runtime";var Xi="k-input-loading-icon",Xp=[i.disabled,i.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?$i(Wp,{}):$i("span",{className:r(e.className,Xi,"k-icon k-i-loading")})};Re.states=Xp;Re.className=Xi;import{Fragment as Yp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},Se=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Wi(Yp,{}):Wi(S,{className:r(Ji),icon:s})};Se.states=Jp;Se.options=qp;Se.className=Ji;import{Fragment as jp,jsx as qi}from"react/jsx-runtime";var Qp="k-input-prefix",Zp={direction:"horizontal"},we=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?qi("span",{...o,className:r(Qp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):qi(jp,{})};import{Fragment as om,jsx as Yi}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},_e=e=>{let{direction:t=tm.direction,...o}=e;return e.children?Yi("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Yi(om,{})};import{jsx as wL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",ir=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var Qi="k-input-separator",rm={direction:"vertical"},ge=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(Qi,e.className,{[`${Qi}-${t}`]:t})})};import{Fragment as Zi,jsx as ht,jsxs as sr}from"react/jsx-runtime";var sm=Z.states,lm=Z.defaultOptions,dm=Z.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,b=t?.prefix,N=t?.suffix,h=t?.["clear-button"],L=t?.["validation-icon"],c=t?.separators;return sr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[b&&sr(Zi,{children:[ht(we,{children:ht(S,{icon:"lock"})}),c&&ht(ge,{})]}),ht(Fe,{placeholder:"Placeholder",value:"Value"}),L&&ht(Se,{valid:o,invalid:a,loading:n,disabled:s}),ht(Re,{loading:n,disabled:s}),h&&ht(Ue,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&sr(Zi,{children:[c&&ht(ge,{}),ht(_e,{children:ht(Wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=Z.className;import{jsx as ji,jsxs as fm}from"react/jsx-runtime";var es="k-color-preview",cm=[],um={},Ot=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,es,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ji(S,{icon:o,className:"k-color-preview-icon"}),ji("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Ot.states=cm;Ot.options=um;Ot.className=es;var lr="popup",ts=lr;import{jsx as os}from"react/jsx-runtime";var as="k-animation-container",bm=[],xm={},dr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=dr.positionMode,shown:o=dr.shown,animationStyle:a,offset:n,...s}=e;return os("div",{...s,style:{...n,...e.style},className:r(e.className,as,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:os("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=bm;Nt.options=xm;Nt.className=as;Nt.defaultOptions=dr;Nt.moduleName=lr;Nt.folderName=ts;var pr="popup",ns=pr;import{jsx as rs}from"react/jsx-runtime";var is="k-popup",hm=[],Nm={},ss={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ss.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return rs(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:rs("div",{...m,className:r(e.className,is),children:e.children})})};U.states=hm;U.options=Nm;U.className=is;U.defaultOptions=ss;U.moduleName=pr;U.folderName=ns;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ls={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ls.alignment,orientation:o=ls.orientation,template:a,as:n=a?"div":z,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var mr="searchbox",ds=mr;import{jsx as Ma,jsxs as Sm}from"react/jsx-runtime";var ps="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},cr={showIcon:!0,icon:"search"},Ye=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,showIcon:M=cr.showIcon,icon:v=cr.icon,"aria-label":g,...y}=e;return Sm(Z,{...y,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,className:r(e.className,ps),children:[M&&Ma(S,{className:"k-input-icon",icon:v}),Ma(Fe,{placeholder:o,value:t,"aria-label":g}),Ma(Re,{...e}),Ma(Se,{...e}),Ma(Ue,{...e})]})};Ye.states=Lm;Ye.options=Mm;Ye.className=ps;Ye.defaultOptions=cr;Ye.moduleName=mr;Ye.folderName=ds;import{jsx as eS}from"react/jsx-runtime";var ur="textbox",ms=ur;import{Fragment as cs,jsx as Kt,jsxs as fr}from"react/jsx-runtime";var us="k-textbox",gm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},tn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=tn.separators,showClearButton:s=tn.showClearButton,showValidationIcon:l=tn.showValidationIcon,prefix:m,suffix:b,type:N,value:h,placeholder:L,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:q,id:de,"aria-label":me,"aria-describedby":ce,...ue}=e;return fr(Z,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:q,className:r(e.className,us),children:[m&&fr(cs,{children:[Kt(we,{children:m}),n&&Kt(ge,{})]}),Kt(Fe,{id:de,placeholder:L,value:h,type:N,disabled:K,"aria-label":me,"aria-describedby":ce,"aria-invalid":g?"true":void 0}),l&&Kt(Se,{valid:v,invalid:g,loading:E,disabled:K}),Kt(Re,{loading:E,disabled:K}),s&&Kt(Ue,{loading:E,disabled:K,readonly:q,value:h}),b&&fr(cs,{children:[n&&Kt(ge,{}),Kt(_e,{children:b})]})]})};Ne.states=gm;Ne.options=Im;Ne.className=us;Ne.defaultOptions=tn;Ne.moduleName=ur;Ne.folderName=ms;var Sa=Ne;import{jsx as km}from"react/jsx-runtime";var fs=e=>km(Sa,{...e});import{Fragment as NS,jsx as hS}from"react/jsx-runtime";import{Fragment as gS,jsx as SS}from"react/jsx-runtime";import{jsx as TS}from"react/jsx-runtime";import{jsx as br}from"react/jsx-runtime";var Am=Ne.states,Tm=Ne.defaultOptions,ym=Ne.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Bm=[],ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?br(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?br(Wt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),br(fs,{value:"Value",style:{width:300},...o,...a})};ho.options=ym;ho.states=Am;ho.variants=Bm;ho.defaultOptions=Tm;ho.modifiers=Em;ho.className=Ne.className;import{jsx as Rt,jsxs as xr}from"react/jsx-runtime";var bs="k-actionsheet-titlebar",Om={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:h,children:L,...c}=e;return xr("div",{...c,className:r(e.className,bs),children:[xr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!L&&xr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&Rt("div",{className:"k-actionsheet-title",id:h,children:L}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ne,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):Rt(Ye,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=bs;Ie.defaultOptions=Om;import{jsx as hr,jsxs as wm}from"react/jsx-runtime";var Nr="k-actionsheet-view",Pm=[],Km={},Rm={},No=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,b=n?.type===Ie&&hr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&hr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Nr,{[`${Nr}-animated`]:o}),children:[b,hr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=Pm;No.options=Km;No.className=Nr;No.defaultOptions=Rm;var ga="action-sheet",on=ga;var vr="overlay",xs=vr;import{jsx as zm}from"react/jsx-runtime";var hs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,hs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=hs;wt.defaultOptions=Hm;wt.moduleName=vr;wt.folderName=xs;import{jsx as an,jsxs as Fm}from"react/jsx-runtime";var Ns="k-actionsheet",Gm=[],Um={},Ia={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Ia.side,fullscreen:o=Ia.fullscreen,adaptive:a=Ia.adaptive,overlay:n=Ia.overlay,template:s,children:l,header:m,footer:b,id:N,...h}=e,L=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&an(wt,{}),an(Nt,{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:an("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":L,className:r(e.className,Ns,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||an(No,{header:m,footer:b,adaptive:a,titleId:L,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Ns;oe.defaultOptions=Ia;oe.moduleName=ga;oe.folderName=on;import{jsx as Wm}from"react/jsx-runtime";var vs="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:vs,children:t})};vo.states=Vm;vo.options=$m;vo.className=vs;vo.defaultOptions=Xm;vo.moduleName=ga;vo.folderName=on;import{jsx as Jm}from"react/jsx-runtime";var Cr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as ka,jsxs as Lr}from"react/jsx-runtime";var Mr="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...b}=e;return Lr("span",{...b,className:r(e.className,Mr,I(Mr,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&ka(Ym,{children:Lr("span",{className:"k-actionsheet-action",children:[t&&ka("span",{className:"k-icon-wrap",children:ka(S,{className:"k-actionsheet-item-icon",icon:t})}),Lr("span",{className:"k-actionsheet-item-text",children:[o&&ka("span",{className:"k-actionsheet-item-title",children:o}),a&&ka("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Mr;import{jsx as Ag,jsxs as Tg}from"react/jsx-runtime";import{jsx as Og}from"react/jsx-runtime";import{jsx as wg}from"react/jsx-runtime";import{jsx as zg}from"react/jsx-runtime";import{jsx as fe,jsxs as Sr}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,Ls={...oe.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Ls,...e},n={},s=Sr(Cr,{children:[fe(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),fe(_t,{text:"Add to Favorites",iconName:"heart"}),fe(_t,{text:"Upload New",iconName:"upload",disabled:!0}),fe("hr",{className:"k-hr"}),fe(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":n.actionsStart=!!o?.[b],n.actionsEnd=!!o?.[b];break;case"subtitle":n.subtitle=o?.[b]?l:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?fe(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Sr(Pt,{alignment:"stretched",children:[fe(p,{text:"Cancel",size:"large",themeColor:"base"}),fe(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):fe(oe,{...a,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Sr(Pt,{alignment:"stretched",children:[fe(p,{text:"Apply",themeColor:"primary"}),fe(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=Ls;Co.modifiers=ec;Co.className=oe.className;var gr="slider",Ms=gr;import{jsx as Lo,jsxs as Ir}from"react/jsx-runtime";var Aa="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Qe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Y=e=>{let{type:t=Qe.type,orientation:o=Qe.orientation,gradientType:a=Qe.gradientType,readonly:n=Qe.readonly,disabled:s=Qe.disabled,handlePosition:l=Qe.handlePosition,showButtons:m=Qe.showButtons,showTicks:b=Qe.showTicks,value:N=Qe.value,min:h=Qe.min,max:L=Qe.max,startValue:c,endValue:M,hover:v,focus:g,active:y,trackStyle:E,dir:K,...q}=e,me=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ce,ue;return o==="horizontal"?(ce=K==="rtl"?"chevron-left":"chevron-right",ue=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ce="chevron-up",ue="chevron-down"),Ir("div",{...q,className:r(Aa,e.className,I(Aa,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Lo(p,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Ir("div",{className:"k-slider-track-wrap",children:[b&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ir("div",{className:"k-slider-track",style:E,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(Aa,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":M??L,"aria-orientation":me,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":q["aria-label"]?`${q["aria-label"]} start`:"Range start"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Aa,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?M??L:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":L,"aria-orientation":me,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?q["aria-label"]?`${q["aria-label"]} end`:"Range end":q["aria-label"]})]})]}),m&&Lo(p,{className:"k-button-increase",rounded:"full",icon:ce,tabIndex:-1,title:"Increase"})]})};Y.states=tc;Y.options=oc;Y.className=Aa;Y.defaultOptions=Qe;Y.moduleName=gr;Y.folderName=Ms;import{jsx as Ss}from"react/jsx-runtime";var gs="k-tick",ac=[],nc={},Is={label:!1},B=e=>{let{style:t,label:o=Is.label,orientation:a,large:n,text:s,...l}=e;return Ss("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,gs,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Ss("span",{className:"k-label",children:s})})};B.states=ac;B.options=nc;B.className=gs;B.defaultOptions=Is;import{Fragment as rc,jsx as Ze,jsxs as ic}from"react/jsx-runtime";var ks=e=>Ze(Y,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[Ze(B,{className:"k-first",label:!0,large:!0,text:"0"}),Ze(B,{}),Ze(B,{}),Ze(B,{}),Ze(B,{}),Ze(B,{label:!0,large:!0,text:"5"}),Ze(B,{}),Ze(B,{}),Ze(B,{}),Ze(B,{}),Ze(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as je,jsxs as lc}from"react/jsx-runtime";var As=e=>je(Y,{children:lc(sc,{children:[je(B,{className:"k-first",label:!0,large:!0,text:"0"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{label:!0,large:!0,text:"5"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as TI,jsx as AI,jsxs as yI}from"react/jsx-runtime";import{Fragment as KI,jsx as PI,jsxs as RI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var kr=e=>dc(Y,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var Ar=e=>pc(Y,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{Fragment as ZI,jsx as QI,jsxs as jI}from"react/jsx-runtime";import{jsx as vt,jsxs as Ts}from"react/jsx-runtime";var mc=Y.options,cc=Y.states,ys={...Y.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=ys.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Ts(As,{style:{height:"300px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),vt(B,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Ts(ks,{style:{width:"400px",...l},...a,...s,children:[vt(B,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),vt(B,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=ys;Mo.modifiers=fc;Mo.className=Y.className;import{jsx as Es,jsxs as vc}from"react/jsx-runtime";var Bs="k-spin-button",hc=[],Nc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Tr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Tr.increaseLabel,decreaseLabel:s=Tr.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Bs,e.className),children:[Es(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Es(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Bs;Dt.defaultOptions=Tr;Dt.moduleName=null;Dt.folderName=null;var Os="numeric-textbox",Ps="numerictextbox";import{Fragment as Ks,jsx as gt,jsxs as yr}from"react/jsx-runtime";var Rs="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},nn={showSpinButton:!0,showClearButton:!0,separators:!0},$=e=>{let{size:t,rounded:o,fillMode:a,separators:n=nn.separators,showClearButton:s=nn.showClearButton,showSpinButton:l=nn.showSpinButton,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,id:q,"aria-label":de,"aria-describedby":me,...ce}=e;return yr(Z,{...ce,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,Rs),children:[m&&yr(Ks,{children:[gt(we,{children:m}),n&&gt(ge,{})]}),gt(Fe,{id:q,placeholder:h,value:N,role:"spinbutton",disabled:E,"aria-label":de,"aria-describedby":me,"aria-invalid":v?"true":void 0}),gt(Se,{valid:M,invalid:v,loading:y,disabled:E}),gt(Re,{loading:y,disabled:E}),s&&gt(Ue,{loading:y,disabled:E,readonly:K,value:N}),b&&yr(Ks,{children:[n&&gt(ge,{}),gt(_e,{children:b})]}),l&&gt(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};$.states=Cc;$.options=Lc;$.className=Rs;$.defaultOptions=nn;$.moduleName=Os;$.folderName=Ps;var Ta=$;import{jsx as Mc}from"react/jsx-runtime";var ws=e=>Mc(Ta,{...e});import Br from"react";import{jsx as _s}from"react/jsx-runtime";var Sc="k-list-group-sticky-header",Er=e=>_s("div",{className:r(Sc,e.className),children:_s("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var gc="k-no-data",rn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(gc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var qt="list",So=qt;import{jsx as Ds,jsxs as Hs}from"react/jsx-runtime";var Or="k-list",kc=[],Ac={size:[d.undefined,d.small,d.medium,d.large]},Tc={},D=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:b,screenReaders:N,...h}=e,c=Br.Children.toArray(a)[0],M=c?.props?.children?Br.Children.count(c.props.children):Br.Children.count(a);return Hs("div",{...h,className:r(e.className,Or,k(Or,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Ds(Er,{children:n}),a||(b!==void 0?b:Ds(rn,{live:!0,children:"No data found."})),N&&a&&Hs(rn,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};D.states=kc;D.options=Ac;D.className=Or;D.defaultOptions=Tc;D.moduleName=qt;D.folderName=So;import{jsx as Oc}from"react/jsx-runtime";var zs="k-list-container",yc=[],Ec={},Bc={},go=e=>{let{...t}=e;return Oc("div",{...t,className:r(e.className,zs),children:e.children})};go.states=yc;go.options=Ec;go.className=zs;go.defaultOptions=Bc;go.moduleName=qt;go.folderName=So;var Yt="checkbox",Io=Yt;import{jsx as Gs}from"react/jsx-runtime";var sn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},Ve=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:b,required:N,size:h,rounded:L,wrapperRole:c,...M}=e;return Gs("span",{className:"k-checkbox-wrap",role:c,children:Gs("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,sn,k(sn,{size:h,rounded:L}),I(sn,{hover:n,focus:s,disabled:l,invalid:m,valid:b,indeterminate:a,checked:o}))})})};Ve.states=Pc;Ve.options=Kc;Ve.className=sn;Ve.defaultOptions=Rc;Ve.moduleName=Yt;Ve.folderName=Io;var mt=Ve;import{jsx as Dc}from"react/jsx-runtime";var Us="k-checkbox-list",wc=[],_c={},Fs={layout:"vertical"},ke=e=>{let{layout:t=Fs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,Us,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=Us;ke.defaultOptions=Fs;ke.moduleName=Yt;ke.folderName=Io;import{jsx as Uc}from"react/jsx-runtime";var Vs="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Vs),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=Vs;Ae.defaultOptions=Gc;Ae.moduleName=Yt;Ae.folderName=Io;import{Fragment as Fc,jsx as $s,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[$s(mt,{id:t,...o}),$s("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as SA,jsx as MA,jsxs as gA}from"react/jsx-runtime";import{Fragment as yA,jsx as TA,jsxs as EA}from"react/jsx-runtime";import{Fragment as RA,jsx as KA,jsxs as wA}from"react/jsx-runtime";import{jsx as zA}from"react/jsx-runtime";import{jsx as VA}from"react/jsx-runtime";import{jsx as JA}from"react/jsx-runtime";import{jsx as et,jsxs as Xs}from"react/jsx-runtime";var $c=ke.options,Xc=ke.states,Wc={...ke.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?Xs(ke,{layout:"horizontal",...o,children:[et(Ae,{children:et(It,{id:A("cb"),defaultChecked:!0,children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})})]}):Xs(ke,{...o,children:[et(Ae,{children:et(It,{id:A("cb"),defaultChecked:!0,children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],Ao=e=>tu(It,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=mt.className;import{jsx as To,jsxs as ru}from"react/jsx-runtime";var Pr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:b,disabled:N,actions:h,description:L,id:c,...M}=e,v=t||e.children,g=t||(typeof v=="string"?v:void 0);return ru("li",{...M,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":b?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,Pr,I(Pr,{hover:l,focus:m,disabled:N,selected:b})),children:[n&&To(Ve,{checked:s,disabled:N,"aria-label":g,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(S,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:v}),h&&To("div",{className:"k-list-item-actions",children:h}),L&&To("span",{className:"k-list-item-description",children:L})]})};P.states=ou;P.options=au;P.className=Pr;P.defaultOptions=nu;P.moduleName=qt;P.folderName=So;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as Kr,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:Kr(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Kr("div",{className:"k-height-container",children:Kr("div",{})})]})};import{jsx as Rr,jsxs as uu}from"react/jsx-runtime";var ln="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},dn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...b}=e;return Rr("div",{...b,className:r(ln,e.className),children:uu("div",{className:r(`${ln}-item`,I(`${ln}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Rr(Ve,{checked:a,indeterminate:n,"aria-label":t}),Rr("span",{className:"k-list-item-text",children:t})]})})};dn.states=pu;dn.options=mu;dn.className=ln;dn.defaultOptions=cu;import{Fragment as UT,jsx as GT,jsxs as FT}from"react/jsx-runtime";import{jsx as JT,jsxs as qT}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var wr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},pn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(wr,I(wr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};pn.states=fu;pn.options=bu;pn.className=wr;pn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var _r="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(_r,I(_r,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=_r;zt.defaultOptions=Cu;import{Fragment as sy,jsx as iy,jsxs as ly}from"react/jsx-runtime";import{Fragment as fy,jsx as uy,jsxs as by}from"react/jsx-runtime";import{Fragment as My,jsx as Cy,jsxs as Ly}from"react/jsx-runtime";import{Fragment as yy,jsx as Ay,jsxs as Ty}from"react/jsx-runtime";import{jsx as Py}from"react/jsx-runtime";import{Fragment as Hy,jsx as Dy,jsxs as zy}from"react/jsx-runtime";import{Fragment as Xy,jsx as $y,jsxs as Wy}from"react/jsx-runtime";var Ws="dropdown-list",Js="dropdownlist";import{Fragment as gu,jsx as Te,jsxs as Dr}from"react/jsx-runtime";var qs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Su={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Hr={showValue:!0,arrowIconName:"chevron-down"},pe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Hr.arrowIconName,showValue:s=Hr.showValue,valueIconName:l,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,popup:q,opened:de,adaptive:me,adaptiveSettings:ce,adaptiveTitle:ue,adaptiveSubtitle:Xt,adaptiveFilter:zn,id:Bt,activeDescendant:Xa,"aria-label":Gn,...Un}=e,Vd=Bt?`${Bt}-listbox`:void 0,Ti=Bt?`${Bt}-value`:void 0;return Dr(gu,{children:[Dr(xt,{...Un,id:Bt,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,qs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":de?"true":"false","aria-controls":de?Vd:void 0,"aria-activedescendant":de&&Xa?Xa:void 0,"aria-describedby":de?Ti:void 0,"aria-disabled":E?"true":void 0,"aria-label":Gn,tabIndex:0,children:[Te(we,{children:m}),Te(Jt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Ti}),Te(Se,{valid:M,invalid:v,loading:y,disabled:E}),Te(Re,{loading:y,disabled:E}),Te(_e,{children:b}),Te(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),de&&q&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:q}),me&&Te(oe,{adaptive:!0,...ce,header:Te(Ie,{actionsEnd:Te(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:zn,inputValue:N,inputPlaceholder:h,title:ue,subtitle:Xt}),children:Te("div",{className:"k-list-container",children:Te(D,{size:"large",children:Dr(X,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};pe.states=Mu;pe.options=Su;pe.className=qs;pe.defaultOptions=Hr;pe.moduleName=Ws;pe.folderName=Js;import{jsx as TE}from"react/jsx-runtime";import{jsx as KE,jsxs as RE}from"react/jsx-runtime";import{Fragment as VE,jsx as UE,jsxs as FE}from"react/jsx-runtime";import{jsx as qE}from"react/jsx-runtime";import{jsx as tB,jsxs as oB}from"react/jsx-runtime";import{Fragment as mB,jsx as dB,jsxs as pB}from"react/jsx-runtime";import{jsx as xB}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as Ys}from"react/jsx-runtime";var Iu=pe.states,ku=pe.defaultOptions,Au=pe.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=Ys(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Ye,{})}),Gt(D,{style:{width:300},size:o.size,children:Ys(X,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(pe,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=pe.className;import{Fragment as DB,jsx as _B}from"react/jsx-runtime";import{Fragment as VB,jsx as FB}from"react/jsx-runtime";import{jsx as JB}from"react/jsx-runtime";import{jsx as zr}from"react/jsx-runtime";var Bu=$.states,Ou=$.defaultOptions,Pu=$.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Bo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?zr(pe,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?zr(ir,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),zr(ws,{value:"Value",style:{width:300},...o,...a})};Bo.options=Pu;Bo.states=Bu;Bo.variants=Ru;Bo.defaultOptions=Ou;Bo.modifiers=Ku;Bo.className=$.className;import{Fragment as Ea,jsx as w,jsxs as ae}from"react/jsx-runtime";var Qs="k-colorgradient-inputs",wu=[],_u={size:[d.undefined,d.small,d.medium,d.large]},Zs={mode:"rgba"},Oo=e=>{let{mode:t=Zs.mode,size:o,...a}=e;return ae("div",{...a,className:r(Qs,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Ea,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Oo.states=wu;Oo.options=_u;Oo.className=Qs;Oo.defaultOptions=Zs;import{jsx as Qt,jsxs as Zt}from"react/jsx-runtime";var js="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>Zt("div",{className:r(js,"k-vbox"),children:[Zt("div",{className:"k-contrast-ratio",children:[Qt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:[Qt(S,{icon:"check"}),Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AA: 4.5"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AAA: 7.0"}),Zt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Qt(S,{icon:"x"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=js;Po.defaultOptions=zu;var el="color-gradient",tl="colorgradient";import{jsx as tt,jsxs as Ba}from"react/jsx-runtime";var mn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[d.undefined,d.small,d.medium,d.large]},Ct={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"},be=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:n=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:b=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:L,focus:c,hoverHandle:M,focusHandle:v,canvasOrientation:g=Ct.canvasOrientation,role:y,tabIndex:E,...K}=e;return Ba("div",{...K,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":n?"true":void 0,className:r(e.className,mn,k(mn,{size:t}),I(mn,{hover:L,focus:c,readonly:a,disabled:n})),dir:h,children:[!g||g==="horizontal"&&Ba("div",{className:"k-colorgradient-canvas k-hstack",children:[tt("div",{className:"k-hsv-rectangle",style:s,children:tt("div",{className:"k-hsv-gradient",children:tt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":v}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ba("div",{className:"k-hsv-controls k-hstack",children:[tt(Ar,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&tt(Ar,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:m})]})]}),g==="vertical"&&Ba("div",{className:"k-colorgradient-canvas k-vstack",children:[tt("div",{className:"k-hsv-rectangle",style:s,children:tt("div",{className:"k-hsv-gradient",children:tt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":v}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ba("div",{className:"k-hsv-controls k-vstack",children:[tt(kr,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&tt(kr,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:b})]})]}),tt(Oo,{mode:e.mode,size:t}),N&&tt(Po,{})]})};be.states=Gu;be.options=Uu;be.className=mn;be.defaultOptions=Ct;be.moduleName=el;be.folderName=tl;import{jsx as Fu}from"react/jsx-runtime";var cn=e=>Fu(be,{...e});import{jsx as PO}from"react/jsx-runtime";import{jsx as _O}from"react/jsx-runtime";import{jsx as Gr}from"react/jsx-runtime";var Vu=be.options,$u=be.states,Xu={...be.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Gr(cn,{...o,mode:t});case"rgb":return Gr(cn,{...o,mode:t});default:return Gr(cn,{...o,mode:t})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=be.className;import{jsx as qu}from"react/jsx-runtime";var Ur=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Fr="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Fr,I(Fr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Fr;Ut.moduleName=null;Ut.folderName=null;var ol="color-palette",al="colorpalette";import{jsx as Oa}from"react/jsx-runtime";var un="k-colorpalette",ju=[i.disabled],ef={size:[d.undefined,d.small,d.medium,d.large]},nl={columns:10},De=e=>{let{size:t,palette:o,columns:a=nl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let b=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/b)},(h,L)=>{let c=[];N.slice(L*b,(L+1)*b).map((v,g)=>{c.push(Oa(Ut,{color:v,tileSize:n},g))});let M=Oa(Ur,{children:c},L);m.push(M)})}return Oa("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,un,I(un,{disabled:s}),k(un,{size:t})),children:Oa("table",{className:"k-colorpalette-table",role:"none",children:Oa("tbody",{children:m.length>0?m:e.children})})})};De.states=ju;De.options=ef;De.className=un;De.defaultOptions=nl;De.moduleName=ol;De.folderName=al;var fn=De;var Pa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as tf}from"react/jsx-runtime";var rl=e=>tf(fn,{palette:Pa.basic,...e});import{jsx as NP}from"react/jsx-runtime";import{jsx as gP,jsxs as IP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=De.options,af=De.states,nf={...De.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={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}},lf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(rl,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=De.className;var il="color-editor",sl="coloreditor";import{jsx as ot,jsxs as wo}from"react/jsx-runtime";var bn="k-coloreditor",pf=[i.focus],mf={size:[d.undefined,d.small,d.medium,d.large]},Ka={view:"gradient",palette:Pa.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=Ka.view,palette:a=Ka.palette,color:n,currentColor:s,focus:l,focusView:m,dir:b,group:N,actionButtons:h=Ka.actionButtons,canvasOrientation:L=Ka.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",bn,k(bn,{size:t}),I(bn,{focus:l})),dir:b,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[ot("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(O,{fillMode:"flat",children:[ot(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),ot(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),ot("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[ot(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[ot(Ot,{className:"k-coloreditor-preview-color",color:n}),ot(Ot,{className:"k-coloreditor-current-color",color:s})]})]})]}),ot("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?ot(be,{focus:m,size:t,canvasOrientation:L,role:"none",tabIndex:-1}):ot(De,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[ot(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),ot(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=bn;ne.defaultOptions=Ka;ne.moduleName=il;ne.folderName=sl;var _o=ne;import{jsx as eK}from"react/jsx-runtime";import{jsx as nK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ll=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var dl=e=>uf(_o,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as pl}from"react/jsx-runtime";var ff=ne.options,bf=ne.states,xf={...ne.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?pl(dl,{...o,color:"white"}):pl(ll,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=ne.className;var ml="color-picker",cl="colorpicker";import{Fragment as Lf,jsx as at,jsxs as Vr}from"react/jsx-runtime";var ul="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},fl={arrowIconName:"chevron-down"},nt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=fl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,valueIconName:g,popup:y,opened:E,adaptive:K,adaptiveSettings:q,adaptiveTitle:de,adaptiveSubtitle:me,...ce}=e,ue="colorpicker-popup";return Vr(Lf,{children:[Vr(xt,{...ce,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||K?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":v?"true":void 0,className:r(e.className,ul,"k-icon-picker"),children:[at(we,{children:s}),at(Jt,{placeholder:b,value:m,showValue:!1,valueIcon:at(Ot,{className:"k-value-icon",color:m,iconName:g}),valueIconName:g}),at(_e,{children:l}),at(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:v})]}),E&&y&&at(U,{id:ue,className:"k-colorpicker-popup",children:y}),K&&at(oe,{adaptive:!0,id:ue,...q,header:at(Ie,{actionsEnd:at(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:de,subtitle:me}),footer:Vr(Pt,{children:[at(p,{text:"Cancel",size:"large"}),at(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:at(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};nt.states=vf;nt.options=Cf;nt.className=ul;nt.defaultOptions=fl;nt.moduleName=ml;nt.folderName=cl;var kt=nt;import{jsx as Mf}from"react/jsx-runtime";var xn=e=>Mf(kt,{...e});import{jsx as GK}from"react/jsx-runtime";import{jsx as XK}from"react/jsx-runtime";import{jsx as YK}from"react/jsx-runtime";import{jsx as eR}from"react/jsx-runtime";import{jsx as nR}from"react/jsx-runtime";import{jsx as lR}from"react/jsx-runtime";import{jsx as jt}from"react/jsx-runtime";var Sf=kt.options,gf=kt.states,bl={...kt.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...bl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?jt(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return jt("div",{style:s,children:jt(xn,{...a,...n})});case"icon":return jt("div",{style:s,children:jt(xn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return jt("div",{style:s,children:jt(xn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=Sf;Ho.states=gf;Ho.variants=If;Ho.defaultOptions=bl;Ho.modifiers=kf;Ho.className=kt.className;var $r="combobox",xl=$r;import{Fragment as Xr,jsx as ie,jsxs as Ra}from"react/jsx-runtime";var hl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Nl={separators:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Nl.separators,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,popup:y,opened:E,readonly:K,adaptive:q,adaptiveSettings:de,adaptiveTitle:me,adaptiveSubtitle:ce,adaptiveCustomValue:ue,id:Xt,autocomplete:zn,activeDescendant:Bt,"aria-label":Xa,...Gn}=e,Un=Xt?`${Xt}-listbox`:void 0;return Ra(Xr,{children:[Ra(Z,{...Gn,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,readonly:K,className:r(e.className,hl),children:[s&&Ra(Xr,{children:[ie(we,{children:s}),n&&ie(ge,{})]}),ie(Fe,{id:Xt,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Un:void 0,"aria-activedescendant":E&&Bt?Bt:void 0,"aria-autocomplete":zn,"aria-invalid":c?"true":void 0,"aria-busy":v?"true":void 0,"aria-label":Xa,disabled:g,readOnly:K}),ie(Se,{valid:L,invalid:c,loading:v,disabled:g}),ie(Re,{loading:v,disabled:g}),ie(Ue,{loading:v,disabled:g,readonly:K,value:m}),l&&Ra(Xr,{children:[n&&ie(ge,{}),ie(_e,{children:l})]}),ie(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:g})]}),E&&y&&ie(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),q&&ie(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...de,header:ie(Ie,{actionsEnd:ie(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:me,subtitle:ce}),children:ie("div",{className:"k-list-container",children:ie(D,{customValue:ue?ie(zt,{text:`Use "${m}"`}):void 0,size:"large",children:Ra(X,{"aria-label":me||"Options",children:[ie(P,{text:"List item"}),ie(P,{text:"List item"}),ie(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=hl;ye.defaultOptions=Nl;ye.moduleName=$r;ye.folderName=xl;var $e=ye;import{jsx as yf}from"react/jsx-runtime";var vl=e=>yf($e,{...e});import{jsx as VR,jsxs as $R}from"react/jsx-runtime";import{jsx as QR,jsxs as ZR}from"react/jsx-runtime";import{jsx as nw,jsxs as rw}from"react/jsx-runtime";import{Fragment as mw,jsx as pw}from"react/jsx-runtime";import{Fragment as hw,jsx as xw}from"react/jsx-runtime";import{jsx as Sw,jsxs as gw}from"react/jsx-runtime";import{Fragment as Ow,jsx as Ew,jsxs as Bw}from"react/jsx-runtime";import{jsx as ww}from"react/jsx-runtime";import{jsx as zw}from"react/jsx-runtime";import{jsx as Xw,jsxs as Ww}from"react/jsx-runtime";import{jsx as jw,jsxs as e_}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=ye.states,Bf=ye.defaultOptions,Of=ye.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ft(D,{style:{width:300},size:o.size,children:Rf(X,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(S,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(V,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(vl,{value:"Value",style:{width:300},...o,...a})})};zo.options=Of;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Bf;zo.modifiers=Pf;zo.className=ye.className;var Wr="menu-button",Cl=Wr;import{jsx as Df}from"react/jsx-runtime";var Ll="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Jr={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,showArrow:c=Jr.showArrow,arrowIconName:M=Jr.arrowIconName,expanded:v,...g}=e;return Df(p,{...g,className:r(e.className,Ll),text:L,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:h,showArrow:c,arrowIconName:M,"aria-expanded":v?"true":"false",...!L&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=wf;W.options=_f;W.className=Ll;W.defaultOptions=Jr;W.moduleName=Wr;W.folderName=Cl;import{jsx as P_}from"react/jsx-runtime";import{jsx as __}from"react/jsx-runtime";import{jsx as G_}from"react/jsx-runtime";var Xe="menu",rt=Xe;import{jsx as wa,jsxs as Ml}from"react/jsx-runtime";var qr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Sl={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=Sl.iconPosition,dir:L,children:c,expanded:M,...v}=e,g=N;return g||(g=L==="rtl"?"chevron-left":"chevron-right"),Ml("li",{...v,className:r(e.className,qr,"k-item",I(qr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":M?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Ml("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&wa(S,{className:"k-menu-link-icon",icon:l}),wa("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&wa(S,{className:"k-menu-link-icon",icon:l}),b&&wa("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:wa(S,{icon:g})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=qr;ve.defaultOptions=Sl;ve.moduleName=Xe;ve.folderName=rt;import{jsx as eo,jsxs as gl}from"react/jsx-runtime";var Yr="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},Qr={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=Qr.iconPosition,dir:L=Qr.dir,children:c,popup:M,expanded:v,actions:g,description:y,...E}=e,K=N;return K||(K=L==="rtl"?"chevron-left":"chevron-right"),gl("li",{role:"menuitem",...E,className:r(e.className,Yr,"k-item",I(Yr,{focus:o,disabled:s})),...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[gl("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&eo(S,{className:"k-menu-link-icon",icon:l}),eo("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&eo(S,{className:"k-menu-link-icon",icon:l}),g&&eo("span",{className:"k-menu-link-actions",children:g}),b&&eo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:eo(S,{icon:K})}),y&&eo("span",{className:"k-menu-link-description",children:y})]}),c,M]})};j.states=Gf;j.options=Uf;j.className=Yr;j.defaultOptions=Qr;j.moduleName=Xe;j.folderName=rt;import{jsx as Xf}from"react/jsx-runtime";var Il="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},to=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,Il,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=Ff;to.options=Vf;to.className=Il;to.defaultOptions=$f;to.moduleName=Xe;to.folderName=rt;var kl=to;import{Fragment as Zr,jsx as oo,jsxs as Nn}from"react/jsx-runtime";var vn="k-menu",Wf=[],Jf={size:[d.undefined,d.small,d.medium,d.large]},Cn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},xe=e=>{let{children:t,orientation:o=Cn.orientation,header:a=Cn.header,scrollable:n,scrollButtonsPosition:s=Cn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:b,popup:N,contextMenu:h,...L}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},M=oo("ul",{dir:m,...L,className:r(e.className,"k-reset",vn,{[`${vn}-${o}`]:o,"k-header":a},k(vn,{size:b})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Nn(Zr,{children:[n?Nn(kl,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Nn(Zr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),M,s==="end"&&Nn(Zr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):M,N]})};xe.states=Wf;xe.options=Jf;xe.className=vn;xe.defaultOptions=Cn;xe.moduleName=Xe;xe.folderName=rt;import{jsx as qf}from"react/jsx-runtime";var jr="k-separator",Al={orientation:"horizontal"},Go=e=>{let{orientation:t=Al.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",jr,{[`${jr}-${t}`]:t}),role:"separator"})};Go.className=jr;Go.defaultOptions=Al;Go.moduleName=Xe;Go.folderName=rt;import{Fragment as x0,jsx as h0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ei="k-menu-group",Yf=[],Qf={size:[d.undefined,d.small,d.medium,d.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ei,k(ei,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ei;Ce.defaultOptions=Zf;Ce.moduleName=Xe;Ce.folderName=rt;import{jsx as k0,jsxs as A0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ti=e=>Uo(xe,{children:tb(eb,{children:[Uo(ve,{text:"Item 1"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(ve,{text:"Item 4"}),Uo(ve,{text:"Item 5"})]}),...e});import{Fragment as _0,jsx as R0,jsxs as w0}from"react/jsx-runtime";import{Fragment as U0,jsx as G0,jsxs as F0}from"react/jsx-runtime";import{Fragment as J0,jsx as W0,jsxs as q0}from"react/jsx-runtime";import{Fragment as eD,jsx as j0,jsxs as tD}from"react/jsx-runtime";import{jsx as ao,jsxs as ib}from"react/jsx-runtime";var ob={...xe.options,scrollable:{type:"boolean"}},ab=xe.states,Tl={...xe.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...Tl,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?ao(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[ao(j,{text:"Item 1"}),ao(j,{text:"Item 2"}),ao(Go,{}),ao(j,{text:"Item 3"})]})}):null)}),t==="vertical"?ao(ti,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ao(ti,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=Tl;Fo.modifiers=rb;Fo.className=xe.className;import{Fragment as KD,jsx as OD,jsxs as PD}from"react/jsx-runtime";import{jsx as DD}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as yl}from"react/jsx-runtime";var sb=p.states,El={...p.defaultOptions,variant:"text"},lb=p.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...El,...e},n={},s=Lt(U,{className:"k-menu-popup",children:yl(Ce,{size:a.size,children:[Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(W,{...a,...n,children:"Dropdown Button"})});break}return yl(mb,{children:[l,o?.opened&&s]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=El;Vo.modifiers=pb;Vo.className=W.className;var oi="split-button",Bl=oi;import{Fragment as fb,jsx as ai,jsxs as Ol}from"react/jsx-runtime";var ni="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Pl={arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,arrowIconName:c=Pl.arrowIconName,popup:M,opened:v,popupId:g,...y}=e;return Ol(fb,{children:[Ol("div",{...y,className:r(e.className,ni,"k-button-group",k(ni,{rounded:o})),children:[ai(p,{text:L,icon:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,...!L&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),ai(p,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":v?"true":"false","aria-controls":v?g:void 0,tabIndex:-1})]}),v&&M&&ai(U,{className:"k-menu-popup",children:M})]})};H.states=cb;H.options=ub;H.className=ni;H.defaultOptions=Pl;H.moduleName=oi;H.folderName=Bl;var ri=H;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var no="toolbar",$o=no;import{Fragment as ii,jsx as G,jsxs as Xo}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},vb={scrollButtons:"around"},_=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:b,...N}=e,h=[],L=(c,M)=>{let v=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))v.push(G(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===p)v.push(G(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===R)v.push(G(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===V)v.push(G(V,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===W)v.push(G(W,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===ri)v.push(G(ri,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===O||c.props.className&&c.props.className.includes("k-button-group")){let g=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((E,K)=>{g.push(G(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${K}-${new Date().getTime()}`))}),v.push(G(O,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:g},`${M}-${new Date().getTime()}`))}else c.type===ye?v.push(G(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===pe?v.push(G(pe,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===nt?v.push(G(nt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):v.push(c);v.forEach(g=>{h.push(g)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,v)=>{L(M,v)}),Xo("div",{...N,className:r(e.className,At,k(At,{size:t,fillMode:o}),I(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:s,[`${At}-scrollable-overlay`]:s&&l==="hidden",[`${At}-scrollable-${m}`]:m&&m!=="both",[`${At}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(ii,{children:[Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-right"})})]}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(ii,{children:[G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),Xo(O,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(ii,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-left"})}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-right"})})]})]})};_.states=hb;_.options=Nb;_.className=At;_.defaultOptions=vb;_.moduleName=no;_.folderName=$o;import{jsx as Sb}from"react/jsx-runtime";var si="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return Sb("div",{...o,className:r(e.className,si,I(si,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=si;Wo.defaultOptions=Mb;Wo.moduleName=no;Wo.folderName=$o;import{jsx as Kl}from"react/jsx-runtime";var Rl="k-toolbar-popup",gb=[],Ib={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},kb={},ro=e=>{let{size:t,fillMode:o,section:a,...n}=e;return Kl(U,{...n,className:r(e.className,Rl),children:a?Kl("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};ro.states=gb;ro.options=Ib;ro.className=Rl;ro.defaultOptions=kb;ro.moduleName=no;ro.folderName=$o;var Ln=ro;import{jsx as _H}from"react/jsx-runtime";import{jsx as GH}from"react/jsx-runtime";import{jsx as $H}from"react/jsx-runtime";import{jsx as QH,jsxs as ZH}from"react/jsx-runtime";import{jsx as o1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Bb}from"react/jsx-runtime";var Ab=H.states,wl={...H.defaultOptions,variant:"text"},Tb=H.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...wl,...e},n={},s=Bb(Ce,{size:a.size,children:[Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return Tt("div",{children:Tt(H,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(H,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(H,{...a,...n,children:"Split Button"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=wl;Jo.modifiers=Eb;Jo.className=H.className;import{jsx as io,jsxs as Ob}from"react/jsx-runtime";var _l=e=>io(_,{children:[io(p,{children:"Button"},"toolbar-button"),io(W,{text:"Menu button"},"toolbar-menu-button"),io(H,{children:"Split button"},"toolbar-split-button"),Ob(O,{children:[io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),io(p,{icon:"align-center",children:"Center"}),io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as B1,jsxs as O1}from"react/jsx-runtime";import{jsx as We,jsxs as Dl}from"react/jsx-runtime";var Hl=e=>We(_,{scrollable:!0,...e,children:[We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(H,{children:"Split button"},"toolbar-split-button"),Dl(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(H,{children:"Split button"},"toolbar-split-button"),Dl(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Je,jsxs as zl}from"react/jsx-runtime";var Gl=({scrollingPosition:e="start",...t})=>Je(_,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),zl(O,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as He,jsxs as Mn}from"react/jsx-runtime";var Ul=({fillMode:e,size:t,...o})=>Mn(Pb,{children:[He(_,{section:!0,fillMode:e,size:t,children:[He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Mn(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(ct,{className:"k-toolbar-button-separator"}),He(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Mn(Ln,{size:t,fillMode:e,section:!0,...o,children:[He(H,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(ct,{}),He(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Mn(O,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as m2,jsx as d2,jsxs as p2}from"react/jsx-runtime";import{Fragment as M2,jsx as C2,jsxs as L2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=_.options,Rb=_.states,Fl={..._.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],qo=e=>{let{variant:t,...o}={...Fl,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Ul,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Gl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(Hl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(_l,{style:{width:"583px"},...o})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=Fl;qo.modifiers=_b;qo.className=_.className;var li="prompt",Vl=li;import{Fragment as Gb,jsx as $l}from"react/jsx-runtime";var Xl="k-prompt",Db=[],Hb={},zb={},F=e=>{let{...t}=e;return $l("div",{...t,className:r(e.className,Xl),children:$l(Gb,{children:e.children})})};F.states=Db;F.options=Hb;F.className=Xl;F.defaultOptions=zb;F.moduleName=li;F.folderName=Vl;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as Wl}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return Wl("div",{...t,className:r(e.className,Vb),children:Wl($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Be=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as Jl,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",Sn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=A("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[Jl(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&Jl("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",so=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as fz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var ql="k-prompt-send",Yl={generating:!1},Mt=e=>{let{generating:t=Yl.generating,...o}=e;return Zb(p,{...o,className:r(e.className,ql,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=p.states;Mt.options=p.options;Mt.className=ql;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Yl;import{jsx as Ql,jsxs as ax}from"react/jsx-runtime";var gn="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Zl={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=Zl.type,position:m,hover:b,focus:N,active:h,selected:L,disabled:c,...M}=e;return ax("button",{...M,type:l,className:r(e.className,gn,k(gn,{size:t,rounded:o,themeColor:a}),I(gn,{hover:b,focus:N,active:h,disabled:c,selected:L}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&Ql(S,{className:"k-fab-icon",icon:s}),n&&Ql("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=gn;re.defaultOptions=Zl;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",jl=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as td,jsxs as sx}from"react/jsx-runtime";var ed="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],di=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...b}=e;return sx("li",{...b,className:r(e.className,ed,{[`k-text-${a}`]:a},I(ed,{hover:n,focus:s,active:l,disabled:m})),children:[td("span",{className:"k-fab-item-text",children:t}),td(S,{className:"k-fab-item-icon",icon:o})]})};di.states=ix;import{jsx as _z}from"react/jsx-runtime";import{jsx as Gz}from"react/jsx-runtime";import{jsx as $z}from"react/jsx-runtime";import{jsx as qz}from"react/jsx-runtime";import{jsx as Yo,jsxs as ux}from"react/jsx-runtime";var lx=re.options,dx=re.states,px={...re.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Yo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Yo(jl,{position:"bottom",children:Yo(di,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(re,{...a,icon:"star"});break;case"icon-and-text":l=Yo(re,{...a,icon:"star",text:"Action"});break;default:l=Yo(re,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Qo.options=lx;Qo.states=dx;Qo.variants=mx;Qo.defaultOptions=px;Qo.modifiers=cx;Qo.className=re.className;import{jsx as fx}from"react/jsx-runtime";var od="k-prompt-stop-fab",ad={generating:!0},lo=e=>{let{generating:t=ad.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,od,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};lo.states=p.states;lo.options=p.options;lo.className=od;lo.defaultOptions=ad;var pi="speech-to-text-button",nd=pi;import{jsx as bx}from"react/jsx-runtime";var rd="k-speech-to-text-button",id={icon:"microphone"},ee=e=>{let{listening:t=!1,icon:o=id.icon,...a}=e;return bx(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"})};ee.states=p.states;ee.options=p.options;ee.className=rd;ee.defaultOptions=id;ee.moduleName=pi;ee.folderName=nd;import{jsx as O3}from"react/jsx-runtime";import{jsx as w3}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=p.states,sd={...p.defaultOptions,variant:"normal"},hx={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...sd,...e},a={};return t==="listening"&&(a.listening=!0),Cx(ee,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=sd;Zo.modifiers=Nx;Zo.className=ee.className;var mi="textarea",ld=mi;import{Fragment as dd,jsx as _a,jsxs as ci}from"react/jsx-runtime";var pd="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},jo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},J=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=jo.prefixSeparator,suffixSeparator:s=jo.prefixSeparator,affixesOrientation:l=jo.affixesOrientation,flow:m=jo.flow,resize:b=jo.resize,prefix:N,suffix:h,rows:L,value:c,placeholder:M,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:q,id:de,"aria-label":me,"aria-describedby":ce,...ue}=e;return ci(Z,{...ue,size:t,rounded:o,fillMode:a,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:q,className:r(e.className,pd,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&ci(dd,{children:[_a(we,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&_a(ge,{direction:m==="horizontal"?"vertical":"horizontal"})]}),_a(La,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:c,placeholder:M,rows:L,disabled:q,id:de,"aria-label":me,"aria-describedby":ce,"aria-invalid":E?"true":void 0}),h&&ci(dd,{children:[s&&_a(ge,{direction:m==="horizontal"?"vertical":"horizontal"}),_a(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};J.states=Lx;J.options=Mx;J.className=pd;J.defaultOptions=jo;J.moduleName=mi;J.folderName=ld;import{jsx as o5}from"react/jsx-runtime";import{Fragment as l5,jsx as s5}from"react/jsx-runtime";import{Fragment as f5,jsx as u5}from"react/jsx-runtime";import{jsx as N5}from"react/jsx-runtime";import{jsx as In}from"react/jsx-runtime";var Sx=J.options,gx=J.states,md={...J.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ea=e=>{let{variant:t,modifiers:o,...a}={...md,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?In(S,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?In(S,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?In(J,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):In(J,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=Sx;ea.states=gx;ea.variants=Ix;ea.defaultOptions=md;ea.modifiers=kx;ea.className=J.className;var fi="suggestion",cd=fi;import{jsx as kn,jsxs as yx}from"react/jsx-runtime";var An="k-suggestion-group",Ax=[],Tx={},ud={layout:"scrollable",scrollingPosition:"start"},it=e=>{let{layout:t=ud.layout,scrollingPosition:o,...a}=e,n=kn("div",{...a,className:r(An,{"k-suggestion-group-scrollable":t=="scrollable",[`${An}-scrollable-start`]:o==="start"||o==="both",[`${An}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?kn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[kn(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,kn(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};it.states=Ax;it.options=Tx;it.className=An;it.defaultOptions=ud;it.moduleName=fi;it.folderName=cd;import{jsx as Px}from"react/jsx-runtime";var Tn="k-suggestion",Ex=[i.active,i.hover,i.focus],Bx={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Ox={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,...l}=e;return Px("span",{...l,className:r(e.className,Tn,I(Tn,{hover:a,active:o,focus:n}),k(Tn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};ft.states=Ex;ft.options=Bx;ft.className=Tn;ft.item=Ox;import{Fragment as V5,jsx as F5,jsxs as $5}from"react/jsx-runtime";import{Fragment as Y5,jsx as q5,jsxs as Q5}from"react/jsx-runtime";import{Fragment as oG,jsx as tG,jsxs as aG}from"react/jsx-runtime";import{Fragment as LG,jsx as vG,jsxs as CG}from"react/jsx-runtime";import{jsx as yn}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=yn(S,{icon:"x-circle",size:"small"});break;case"more":a=yn(S,{icon:"more-vertical",size:"small"});break;default:return yn(S,{icon:t,size:"small"})}return yn("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var bi="avatar",fd=bi;import{jsx as bd}from"react/jsx-runtime";var Da="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},xi={type:"text",border:!1},ze=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=xi.type,border:l=xi.border,...m}=e;return bd("div",{...m,className:r(e.className,Da,k(Da,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Da}-bordered`]:l}),children:bd("span",{className:`${Da}-${s}`,children:e.children})})};ze.states=Rx;ze.options=wx;ze.className=Da;ze.defaultOptions=xi;ze.moduleName=bi;ze.folderName=fd;var po=ze;import{jsx as _x}from"react/jsx-runtime";var xd=e=>_x(po,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var hd=e=>Dx(po,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var Nd=e=>Hx(po,{type:"image",...e});import{jsx as FG}from"react/jsx-runtime";import{jsx as Ha}from"react/jsx-runtime";var zx=ze.options,Gx=ze.states,Ux={...ze.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ha(xd,{...o,children:Ha(S,{icon:"star"})});case"text":return Ha(hd,{...o,children:"JO"});default:return Ha(Nd,{...o,children:Ha("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=zx;ta.states=Gx;ta.variants=Fx;ta.defaultOptions=Ux;ta.modifiers=Vx;ta.className=ze.className;var za="chip",En=za,Bn="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var On="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},vd={avatarImage:"/packages/html/assets/avatar.jpg"},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:b,avatarImage:N=vd.avatarImage,hover:h,focus:L,active:c,selected:M,disabled:v,...g}=e;return Wx("div",{...g,className:r(e.className,On,k(On,{size:t,rounded:o,fillMode:a,themeColor:n}),I(On,{hover:h,focus:L,active:c,disabled:v,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false",...e.role==="option"&&M!==void 0&&{"aria-selected":M?"true":"false"},"aria-disabled":v?"true":void 0,children:[l&&oa(S,{className:"k-chip-icon",icon:l,size:"small"}),b&&oa(ze,{className:"k-chip-avatar",type:"image",children:oa("img",{src:N,alt:""})}),oa("span",{className:"k-chip-content",children:e.children?e.children:s&&oa("span",{className:"k-chip-label",children:s})}),m&&oa("span",{className:"k-chip-actions",children:m})]})};Ge.states=$x;Ge.options=Xx;Ge.className=On;Ge.defaultOptions=vd;Ge.moduleName=za;Ge.folderName=En;var st=Ge;import{jsx as Qx}from"react/jsx-runtime";var hi="k-chip-list",Jx=[],qx={size:[d.undefined,d.small,d.medium,d.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,hi,k(hi,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=hi;Le.defaultOptions=Yx;Le.moduleName=za;Le.folderName=En;import{jsx as vU}from"react/jsx-runtime";import{jsx as SU}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var Pn=e=>Zx(st,{text:"text",...e});import{jsx as BU}from"react/jsx-runtime";import{jsx as RU}from"react/jsx-runtime";import{Fragment as GU,jsx as zU,jsxs as UU}from"react/jsx-runtime";import{jsx as WU,jsxs as JU}from"react/jsx-runtime";import{jsx as jU,jsxs as eF}from"react/jsx-runtime";import{jsx as iF,jsxs as sF}from"react/jsx-runtime";import{jsx as aa,jsxs as nh}from"react/jsx-runtime";var jx={...st.options,...Le.options},eh=[],th=Le.states,oh={...st.defaultOptions,...Le.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],na=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?Bn:void 0;return nh(Le,{size:a.size,className:o,children:[aa(Pn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Pn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Pn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};na.options=jx;na.states=th;na.variants=eh;na.defaultOptions=oh;na.modifiers=ah;na.className=Le.className;import{jsx as Ni}from"react/jsx-runtime";var rh=Ge.states,ih=Ge.defaultOptions,sh=Ge.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?Bn:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Ni(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Ni(yt,{type:"remove"}):void 0;break;default:break}}),Ni(Ge,{...o,...a,children:"Chip component"})};ra.options=sh;ra.states=rh;ra.variants=lh;ra.defaultOptions=ih;ra.modifiers=dh;ra.className=Ge.className;import{Fragment as YF,jsx as JF,jsxs as qF}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Cd=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Ei.calloutMap[t]||t}`]:t})})};var qe="card",lt=qe;import{Fragment as bh,jsx as Ld,jsxs as xh}from"react/jsx-runtime";var vi="k-card",ch=[i.hover,i.focus,i.selected,i.disabled],uh={},fh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return xh("div",{...m,className:r(e.className,vi,I(vi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Ld(Cd,{callout:o}),Ld(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=vi;Q.defaultOptions=fh;Q.moduleName=qe;Q.folderName=lt;import{Fragment as Ch,jsx as Md}from"react/jsx-runtime";var Ci="k-card-list",hh=[],Nh={},vh={},mo=e=>{let{...t}=e;return Md("div",{...t,className:r(e.className,Ci,I(Ci,{})),role:"list",children:Md(Ch,{children:e.children})})};mo.states=hh;mo.options=Nh;mo.className=Ci;mo.defaultOptions=vh;mo.moduleName=qe;mo.folderName=lt;import{jsx as gh}from"react/jsx-runtime";var Sd="k-card-group",Lh=[],Mh={},Sh={},ia=e=>{let{...t}=e;return gh("div",{...t,className:r(e.className,Sd),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=Sd;ia.defaultOptions=Sh;ia.moduleName=qe;ia.folderName=lt;import{jsx as Th}from"react/jsx-runtime";var Li="k-card-wrap",Ih=[i.focus,i.selected],kh={},Ah={},sa=e=>{let{focus:t,selected:o,...a}=e;return Th("div",{...a,className:r(e.className,Li,I(Li,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Li;sa.defaultOptions=Ah;sa.moduleName=qe;sa.folderName=lt;import{jsx as Eh}from"react/jsx-runtime";var Mi="k-card-title",yh=[i.hover,i.focus],co=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,Mi,I(Mi,{hover:t,focus:o})),children:e.children})};co.states=yh;co.className=Mi;import{jsx as Oh}from"react/jsx-runtime";var Bh="k-card-subtitle",Kn=e=>{let{...t}=e;return Oh("div",{...t,className:r(e.className,Bh),children:e.children})};import{Fragment as Id,jsx as Rn}from"react/jsx-runtime";var gd="k-card-media",Si=e=>{let{src:t,...o}=e;return Rn(Id,{children:t?Rn("img",{...o,className:r(e.className,gd),src:t}):Rn("span",{...o,className:r(e.className,gd),children:Rn(Id,{children:e.children})})})};import{Fragment as Kh,jsx as Ga,jsxs as Rh}from"react/jsx-runtime";var Ph="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Rh("div",{...n,className:r(e.className,Ph),children:[t&&Ga(co,{children:t}),o&&Ga(Kn,{children:o}),Ga(Kh,{children:e.children}),a&&Ga("span",{className:"k-card-header-actions",children:Ga(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as _h}from"react/jsx-runtime";var wh="k-card-footer",gi=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as Ua,jsxs as zh}from"react/jsx-runtime";var Dh="k-card-body",Oe=e=>{let{title:t,subtitle:o,details:a,...n}=e;return zh("div",{...n,className:r(e.className,Dh),children:[t&&Ua(co,{children:t}),o&&Ua(Kn,{children:o}),Ua(Hh,{children:e.children}),a&&Ua("span",{className:"k-card-header-actions",children:Ua(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var kd="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,kd),children:e.children})};la.states=Gh;la.options=Uh;la.className=kd;la.defaultOptions=Fh;la.moduleName=qe;la.folderName=lt;import{jsx as Jh}from"react/jsx-runtime";var Ad="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,Ad),children:e.children})};da.states=$h;da.options=Xh;da.className=Ad;da.defaultOptions=Wh;da.moduleName=qe;da.folderName=lt;import{Fragment as qh,jsx as pa,jsxs as Td}from"react/jsx-runtime";var yd=e=>pa(Q,{orientation:"vertical",children:Td(qh,{children:[pa(Et,{children:"Card Header"}),pa(Oe,{children:pa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Td(z,{className:"k-card-actions",children:[pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Fa,jsxs as Ed}from"react/jsx-runtime";var Bd=e=>Fa(Q,{orientation:"horizontal",children:Ed(Yh,{children:[Fa(Oe,{title:"Card Title",children:Fa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Ed(z,{orientation:"vertical",className:"k-card-actions",children:[Fa(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Fa(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as c6,jsxs as u6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Va}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Od={...Q.defaultOptions,variant:"vertical"},jh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ma=e=>{let{variant:t,modifiers:o,...a}={...Od,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?Va(Bd,{style:{maxWidth:"420px"},...a,children:[n&&Pe(Si,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Va("div",{children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(gi,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Va(z,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):Va(yd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(Si,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Pe(Oe,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(gi,{children:"Card Footer"}),Va(z,{className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Od;ma.modifiers=eN;ma.className=Q.className;import{jsx as Q6,jsxs as Z6}from"react/jsx-runtime";var Ii="panelbar",Pd=Ii;import{jsx as nN}from"react/jsx-runtime";var Kd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,Kd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=Kd;Me.defaultOptions=aN;Me.moduleName=Ii;Me.folderName=Pd;import ki from"react";import{jsx as wn,jsxs as Rd}from"react/jsx-runtime";var wd="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},_n={level:0,expanded:!1,text:"Item"},T=e=>{let{text:t=_n.text,level:o=_n.level,expanded:a=_n.expanded,header:n,hover:s,focus:l,selected:m,disabled:b,icon:N,iconClass:h,ariaSelected:L,children:c,...M}=e,v=!!c;return Rd("li",{...M,className:r(e.className,wd,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":v?a?"true":"false":void 0,"aria-selected":L?"true":"false","aria-disabled":b?"true":void 0,children:[Rd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:b,selected:m})),children:[N&&wn(S,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&wn("span",{className:`k-panelbar-item-icon ${h}`}),wn("span",{className:"k-panelbar-item-text",children:t}),v&&wn(S,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&ki.Children.map(c,g=>ki.isValidElement(g)?ki.cloneElement(g,{"aria-hidden":"true",style:{display:"none"}}):g)]})};T.states=rN;T.options=iN;T.className=wd;T.moduleName=null;T.folderName=null;T.defaultOptions=_n;import{jsx as pN}from"react/jsx-runtime";var _d="k-panelbar-group",sN=[],lN={},dN={},he=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,_d),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};he.states=sN;he.options=lN;he.className=_d;he.moduleName=null;he.folderName=null;he.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var Dd="k-panelbar-content",mN=[],cN={},uN={},se=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,Dd),children:e.children})};se.states=mN;se.options=cN;se.className=Dd;se.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var $a=e=>{let t=A("pb-item"),o=A("pb-item"),a=A("pb-item"),n=A("pb-item");return $t(Me,{children:xN(bN,{children:[$t(T,{header:!0,text:"Item 1",id:t,children:$t(se,{children:"content"})}),$t(T,{header:!0,text:"Item 2",id:o,children:$t(se,{children:"content"})}),$t(T,{header:!0,text:"Item 3",id:a,children:$t(se,{children:"content"})}),$t(T,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as g7,jsx as S7,jsxs as I7}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Ai}from"react/jsx-runtime";var Hd=e=>{let t=A("pb-item"),o=A("pb-item"),a=A("pb-item"),n=A("pb-item"),s=A("pb-child"),l=A("pb-child"),m=A("pb-child"),b=A("pb-child"),N=A("pb-child"),h=A("pb-child"),L=A("pb-child");return Ke(Me,{activeDescendant:o,children:Ai(hN,{children:[Ke(T,{header:!0,text:"Item 1",id:t,children:Ke(se,{children:"content"})}),Ke(T,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ai(he,{children:[Ke(T,{level:1,text:"Child 1",id:s}),Ke(T,{level:1,expanded:!0,text:"Child 2",id:l,children:Ai(he,{children:[Ke(T,{level:2,text:"Child 2.1",id:m}),Ke(T,{level:2,text:"Child 2.2",id:b})]})}),Ke(T,{level:1,text:"Child 3",id:N,children:Ke(he,{children:Ke(T,{level:2,text:"Child 3.1",id:h})})}),Ke(T,{level:1,text:"Child 4",id:L})]})}),Ke(T,{header:!0,text:"Item 3",id:a,children:Ke(se,{children:"content"})}),Ke(T,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as zd,jsx as te,jsxs as Dn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Gd={...Me.defaultOptions,variant:"normal"},CN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],LN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ca=e=>{let{variant:t,modifiers:o,...a}={...Gd,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?te(zd,{children:Dn(Hd,{style:{width:"300px"},...a,children:[te(T,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Dn(he,{children:[te(T,{level:1,text:"Child 1"}),te(T,{level:1,expanded:!0,text:"Child 2",children:Dn(he,{children:[te(T,{level:2,text:"Child 2.1"}),te(T,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(T,{disabled:n.disabled,level:1,text:"Child 3",children:te(se,{children:"content"})}),te(T,{level:1,text:"Child 4"})]})}),te(T,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(zd,{children:Dn($a,{style:{width:"300px"},...a,children:[te(T,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ca.options=NN;ca.states=vN;ca.variants=CN;ca.defaultOptions=Gd;ca.modifiers=LN;ca.className=Me.className;import{jsx as j7,jsxs as e4}from"react/jsx-runtime";import{Fragment as c4,jsx as p4,jsxs as m4}from"react/jsx-runtime";import{Fragment as S4,jsx as L4,jsxs as M4}from"react/jsx-runtime";import{Fragment as B4,jsx as E4,jsxs as O4}from"react/jsx-runtime";import{Fragment as Ud,jsx as C,jsxs as le}from"react/jsx-runtime";var MN=F.options,SN=F.states,gN={...F.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],ua=e=>{let{variant:t,modifiers:o,...a}={...e},n=C(Ud,{children:le(it,{layout:"wrap",children:[C(ft,{text:"Post for work-life balance importance"}),C(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return C(U,{className:"k-prompt-popup",children:le(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:le(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),C(Ee,{children:C(Be,{children:le($a,{children:[C(T,{header:!0,icon:"brush",text:"Change Formality",children:le(he,{children:[C(T,{level:1,text:"Casual"}),C(T,{level:1,text:"Neutral"}),C(T,{level:1,text:"Formal"})]})}),C(T,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:le(he,{children:[C(T,{level:1,text:"German"}),C(T,{level:1,text:"Spanish"})]})}),C(T,{header:!0,icon:"min-width",text:"Simplify"}),C(T,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return C(U,{className:"k-prompt-popup",children:le(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:le(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),le(Ee,{children:[C(lo,{}),C(Be,{children:le("div",{className:"k-card-list",children:[le(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),C(Oe,{children:le("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",C("br",{}),C("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",C("br",{}),C("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",C("br",{}),C("br",{}),"\u2728 Key Points \u2728",C("br",{}),C("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",C("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",C("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",C("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",C("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",C("br",{}),C("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),le(z,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),le(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Out of Office"}),C(Oe,{children:le("p",{children:["Subject: Out of Office: [Your Name]",C("br",{}),C("br",{}),"Dear [Recipient's Name],",C("br",{}),C("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",C("br",{}),C("br",{}),"Thank you,",C("br",{}),"[Your Name]"]})}),le(z,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return C(U,{className:"k-prompt-popup",children:le(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:le(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),C(Ee,{children:le(Be,{children:[C(J,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:C(Ud,{children:s.stt?C(ee,{fillMode:"flat"}):null})}),C(Sn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),C(so,{children:C(z,{className:"k-prompt-actions",alignment:"start",children:C(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};ua.options=MN;ua.states=SN;ua.variants=IN;ua.defaultOptions=gN;ua.modifiers=kN;ua.className=F.className;import{Fragment as BN,jsx as dt,jsxs as Hn}from"react/jsx-runtime";var AN=F.options,TN=F.states,yN={...F.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],fa=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=Hn(Q,{children:[dt(Oe,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),Hn(z,{className:"k-card-actions",alignment:"start",children:[dt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),dt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),dt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),dt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return dt(U,{className:"k-prompt-popup",children:dt(F,{style:{width:"450px",height:"auto"},...o,children:dt(Ee,{children:Hn(Be,{children:[a.response?n:null,dt(J,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Hn(BN,{children:[a.commands?dt(V,{fillMode:"flat",icon:"menu"}):null,a.stt?dt(ee,{fillMode:"flat"}):null]}),suffix:dt(Mt,{generating:!!a.generating})})]})})})})};fa.options=AN;fa.states=TN;fa.variants=[];fa.defaultOptions=yN;fa.modifiers=EN;fa.className=F.className;import{Fragment as ON,jsx as pt,jsxs as Fd}from"react/jsx-runtime";var _8=e=>Fd(F,{...e,children:[pt(ut,{children:Fd(_,{fillMode:"flat",children:[pt(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),pt(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"})]})}),pt(Ee,{children:pt(Be,{children:pt(J,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI","aria-label":"Ask or generate content with AI",suffix:pt(ON,{children:pt(ee,{fillMode:"flat"})})})})}),pt(so,{children:pt(z,{className:"k-prompt-actions",alignment:"start",children:pt(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]});export{_8 as PromptNormal};
1
+ var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var k=(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"}),I=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:l,active:m,selected:b,disabled:N,indeterminate:h,loading:L,empty:c,readonly:M,highlighted:v,...g}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":b,"k-disabled":N,"k-indeterminate":h&&!l,"k-loading":L,"k-empty":c,"k-readonly":M,"k-highlighted":v},Object.keys(g).reduce((y,E)=>(E.startsWith("k-")?y[E]=g[E]:y[`k-${E}`]=g[E],y),{}))};function yi(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"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},f={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},bt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},x={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},i={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"},Ei={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Fn={};function A(e){return Fn[e]=(Fn[e]||0)+1,`k-${e}-${Fn[e]}`}var Vn="action-buttons",Oi=Vn;import{jsx as Wd}from"react/jsx-runtime";var Wa="k-actions",$d=[],Xd={},$n={alignment:"start",orientation:"horizontal"},z=e=>{let{alignment:t=$n.alignment,orientation:o=$n.orientation,...a}=e;return Wd("div",{...a,className:r(Wa,{[`${Wa}-${t}`]:t,[`${Wa}-${o}`]:o},e.className),children:e.children})};z.states=$d;z.options=Xd;z.className=Wa;z.defaultOptions=$n;z.moduleName=Vn;z.folderName=Oi;import{Fragment as Qd,jsx as Bi}from"react/jsx-runtime";var Xn="k-font-icon",Jd=[],qd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info]},Yd={},ba=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...l}=e;return a?Bi("span",{...l,className:r(e.className,Xn,k(Xn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):Bi(Qd,{})};ba.states=Jd;ba.options=qd;ba.className=Xn;ba.defaultOptions=Yd;var Pi=ba;import{Fragment as ep,jsx as Ja}from"react/jsx-runtime";var Wn="k-svg-icon",Zd=[],jd={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Jn={viewBox:"0 0 24 24",variant:bt.outline},xa=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Jn.viewBox,variant:l=Jn.variant,icon:m,...b}=e;if(!m)return Ja(ep,{});if(m==="none")return Ja("span",{...b,className:r(e.className,Wn,k("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let N=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return Ja("span",{...b,className:r(e.className,Wn,k("k-icon",{size:t}),{[`k-svg-i-${N}`]:N,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:Ja("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};xa.states=Zd;xa.options=jd;xa.className=Wn;xa.defaultOptions=Jn;var qn=xa;import*as Yn from"@progress/kendo-svg-icons";var Ki="icon",Ri="icons";import{useContext as op}from"react";import{createContext as tp}from"react";var wi=tp({iconsType:"svg"});import{Fragment as _i,jsx as ha}from"react/jsx-runtime";var qa="k-icon",ap=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),np=[],rp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info],variant:[bt.outline,bt.solid,bt.duotone]},Ya={viewBox:"0 0 24 24",type:"svg",variant:bt.outline},S=e=>{let{iconsType:t}=op(wi),{size:o,themeColor:a,icon:n,type:s=t||Ya.type,rotate:l,flip:m,viewBox:b=Ya.viewBox,variant:N=Ya.variant,...h}=e;if(!n)return ha(_i,{});if((t||s)==="svg"){if(n==="none")return ha(qn,{...h,className:r(e.className,qa),icon:n,size:o,variant:N});let c=Yn[n]?n:ap(`${n}-icon`);return Yn[c]?ha(qn,{...h,className:r(e.className,qa),icon:Yn[c],size:o,themeColor:a,rotate:l,flip:m,viewBox:b,variant:N}):ha(_i,{})}return ha(Pi,{...h,className:r(e.className,qa),icon:n,size:o,themeColor:a,rotate:l,flip:m})};S.states=np;S.options=rp;S.defaultOptions=Ya;S.className=qa;S.moduleName=Ki;S.folderName=Ri;var Qn="button",Di=Qn;import{Fragment as Hi,jsx as uo,jsxs as zi}from"react/jsx-runtime";var Na="k-button",ip=["icon-button"],sp=[i.hover,i.focus,i.active,i.selected,i.disabled,i.generating],lp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Zn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:l=Zn.showArrow,arrowIconName:m=Zn.arrowIconName,variant:b,hover:N,focus:h,active:L,selected:c,disabled:M,togglable:v,ariaDisabled:g,icon:y,iconSize:E,text:K,iconClassName:q,className:de,...me}=e,ce=y!=null,ue=e.children!==void 0;return zi(t,{className:r(de,Na,yi(Na,b),k(Na,{size:o,rounded:a,fillMode:n,themeColor:s}),I(Na,{hover:N,focus:h,active:L,disabled:M||g,selected:c}),{"k-icon-button":!K&&!ue&&ce}),"aria-pressed":v?c?"true":"false":void 0,...me,"aria-disabled":g?"true":void 0,disabled:M||void 0,children:[typeof y=="string"&&y&&uo(S,{className:r(q,"k-button-icon"),icon:y,size:E}),y&&typeof y!="string"&&uo(Hi,{children:y}),K?zi(Hi,{children:[K&&uo("span",{className:"k-button-text",children:K}),e.children]}):e.children&&uo("span",{className:"k-button-text",children:e.children}),l&&uo("span",{className:"k-menu-button-arrow k-button-arrow",children:uo(S,{icon:m})})]})};p.states=sp;p.options=lp;p.variants=ip;p.className=Na;p.defaultOptions=Zn;p.moduleName=Qn;p.folderName=Di;import{jsx as dp}from"react/jsx-runtime";var V=e=>dp(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as pp}from"react/jsx-runtime";var R=e=>pp(p,{icon:"folder",children:"Button",...e});import{jsx as mp}from"react/jsx-runtime";var Wt=e=>mp(p,{children:"Button",...e});import{jsx as jn}from"react/jsx-runtime";var cp=p.options,up=p.states,fp={...p.defaultOptions,variant:"text"},bp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],xp=[],fo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return jn(V,{...o,icon:"star"});case"icon-and-text":return jn(R,{...o,icon:"star",children:"Button"});default:return jn(Wt,{...o,children:"Button"})}};fo.options=cp;fo.states=up;fo.variants=bp;fo.defaultOptions=fp;fo.modifiers=xp;fo.className=p.className;var er="button",Gi=er;import{jsx as Cp}from"react/jsx-runtime";var va="k-button-group",hp=[i.disabled],Np={fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},vp={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Cp("div",{role:"group",...n,className:r(e.className,va,k(va,{fillMode:t}),I(va,{disabled:o}),{[`${va}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=hp;B.options=Np;B.className=va;B.defaultOptions=vp;B.moduleName=er;B.folderName=Gi;import{Fragment as eC,jsx as jv,jsxs as tC}from"react/jsx-runtime";import{Fragment as sC,jsx as iC,jsxs as lC}from"react/jsx-runtime";import{Fragment as fC,jsx as uC,jsxs as bC}from"react/jsx-runtime";import{Fragment as LC,jsx as CC,jsxs as MC}from"react/jsx-runtime";import{Fragment as TC,jsx as AC,jsxs as yC}from"react/jsx-runtime";import{Fragment as RC,jsx as KC,jsxs as wC}from"react/jsx-runtime";import{jsx as St,jsxs as tr}from"react/jsx-runtime";var Lp={...p.options,...B.options},Mp=p.states,Sp={...p.defaultOptions,...B.defaultOptions,variant:"text-button"},gp=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Ip=[],bo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?tr(B,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"}),St(p,{...a,icon:"star"})]}):t==="icon-text-button"?tr(B,{fillMode:a.fillMode,className:o,children:[St(p,{...a,icon:"star",children:"First"}),St(p,{...a,icon:"star",children:"Middle"}),St(p,{...a,icon:"star",children:"Last"})]}):tr(B,{fillMode:a.fillMode,className:o,children:[St(p,{...a,children:"First"}),St(p,{...a,children:"Middle"}),St(p,{...a,children:"Last"})]})};bo.options=Lp;bo.states=Mp;bo.variants=gp;bo.defaultOptions=Sp;bo.modifiers=Ip;bo.className=B.className;var Ca="input",Qa=Ca;import{jsx as yp}from"react/jsx-runtime";var Za="k-input",kp=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Ap={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Tp={},Z=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return yp("span",{...L,className:r(e.className,Za,k(Za,{size:b,rounded:N,fillMode:h}),I(Za,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m}))})};Z.states=kp;Z.options=Ap;Z.className=Za;Z.defaultOptions=Tp;Z.moduleName=Ca;Z.folderName=Qa;import{jsx as Pp}from"react/jsx-runtime";var ja="k-picker",Ep=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Op={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Bp={},xt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m,size:b,rounded:N,fillMode:h,...L}=e;return Pp("span",{...L,className:r(e.className,ja,k(ja,{size:b,rounded:N,fillMode:h}),I(ja,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:l,readonly:m})),children:e.children})};xt.states=Ep;xt.options=Op;xt.className=ja;xt.defaultOptions=Bp;xt.moduleName=Ca;xt.folderName=Qa;import{Fragment as wp,jsx as or}from"react/jsx-runtime";var Ui="k-clear-value",Kp=[i.disabled,i.loading,i.readonly],Rp={},Ue=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?or(wp,{}):or("span",{className:r(e.className,Ui),children:or(S,{icon:"x"})})};Ue.states=Kp;Ue.options=Rp;Ue.className=Ui;import{jsx as Hp}from"react/jsx-runtime";var ar="k-input-inner",_p=[],Dp={},en={type:"text",autocomplete:"off",value:"",placeholder:""},Fe=e=>{let{value:t=en.value,type:o=en.type,placeholder:a=en.placeholder,autocomplete:n=en.autocomplete,disabled:s,readOnly:l,...m}=e;return Hp("input",{...m,type:o,className:r(e.className,ar,k(ar,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};Fe.states=_p;Fe.options=Dp;Fe.className=ar;import{jsx as Fi,jsxs as Up}from"react/jsx-runtime";var nr="k-input-inner",zp=[],Gp={},Jt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...l}=e;return Up("span",{...l,className:r(e.className,nr,k(nr,e)),children:[n,!n&&s&&Fi(S,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Fi("span",{className:"k-input-value-text",children:t})]})};Jt.states=zp;Jt.options=Gp;Jt.className=nr;import{jsx as $p}from"react/jsx-runtime";var rr="k-input-inner",Fp=[],Vp={},Vi={value:"",placeholder:""},La=e=>{let{value:t=Vi.value,placeholder:o=Vi.placeholder,rows:a,disabled:n,...s}=e;return $p("textarea",{...s,className:r(e.className,rr,k(rr,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};La.states=Fp;La.options=Vp;La.className=rr;import{Fragment as Wp,jsx as $i}from"react/jsx-runtime";var Xi="k-input-loading-icon",Xp=[i.disabled,i.loading],Re=e=>{let{disabled:t,loading:o}=e;return t||!o?$i(Wp,{}):$i("span",{className:r(e.className,Xi,"k-icon k-i-loading")})};Re.states=Xp;Re.className=Xi;import{Fragment as Yp,jsx as Wi}from"react/jsx-runtime";var Ji="k-input-validation-icon",Jp=[i.valid,i.invalid,i.disabled,i.loading],qp={},Se=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?Wi(Yp,{}):Wi(S,{className:r(Ji),icon:s})};Se.states=Jp;Se.options=qp;Se.className=Ji;import{Fragment as jp,jsx as qi}from"react/jsx-runtime";var Qp="k-input-prefix",Zp={direction:"horizontal"},we=e=>{let{direction:t=Zp.direction,...o}=e;return e.children?qi("span",{...o,className:r(Qp,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):qi(jp,{})};import{Fragment as om,jsx as Yi}from"react/jsx-runtime";var em="k-input-suffix",tm={direction:"horizontal"},_e=e=>{let{direction:t=tm.direction,...o}=e;return e.children?Yi("span",{...o,className:r(em,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Yi(om,{})};import{jsx as wL}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var am="k-input-suffix-text",ir=e=>{let{children:t,...o}=e;return nm("span",{...o,className:r(am,e.className),children:t})};import{jsx as im}from"react/jsx-runtime";var Qi="k-input-separator",rm={direction:"vertical"},ge=e=>{let{direction:t=rm.direction,...o}=e;return im("span",{...o,className:r(Qi,e.className,{[`${Qi}-${t}`]:t})})};import{Fragment as Zi,jsx as ht,jsxs as sr}from"react/jsx-runtime";var sm=Z.states,lm=Z.defaultOptions,dm=Z.options,pm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],mm=[],xo=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:l,...m}=e,b=t?.prefix,N=t?.suffix,h=t?.["clear-button"],L=t?.["validation-icon"],c=t?.separators;return sr(Z,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:l,style:{width:300},children:[b&&sr(Zi,{children:[ht(we,{children:ht(S,{icon:"lock"})}),c&&ht(ge,{})]}),ht(Fe,{placeholder:"Placeholder",value:"Value"}),L&&ht(Se,{valid:o,invalid:a,loading:n,disabled:s}),ht(Re,{loading:n,disabled:s}),h&&ht(Ue,{loading:n,disabled:s,readonly:l,value:"Value"}),N&&sr(Zi,{children:[c&&ht(ge,{}),ht(_e,{children:ht(Wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};xo.options=dm;xo.states=sm;xo.variants=mm;xo.defaultOptions=lm;xo.modifiers=pm;xo.className=Z.className;import{jsx as ji,jsxs as fm}from"react/jsx-runtime";var es="k-color-preview",cm=[],um={},Bt=e=>{let{color:t,iconName:o,...a}=e;return fm("span",{...a,className:r(e.className,es,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&ji(S,{icon:o,className:"k-color-preview-icon"}),ji("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Bt.states=cm;Bt.options=um;Bt.className=es;var lr="popup",ts=lr;import{jsx as os}from"react/jsx-runtime";var as="k-animation-container",bm=[],xm={},dr={positionMode:"absolute",shown:!0},Nt=e=>{let{positionMode:t=dr.positionMode,shown:o=dr.shown,animationStyle:a,offset:n,...s}=e;return os("div",{...s,style:{...n,...e.style},className:r(e.className,as,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:os("div",{className:"k-child-animation-container",style:a,children:e.children})})};Nt.states=bm;Nt.options=xm;Nt.className=as;Nt.defaultOptions=dr;Nt.moduleName=lr;Nt.folderName=ts;var pr="popup",ns=pr;import{jsx as rs}from"react/jsx-runtime";var is="k-popup",hm=[],Nm={},ss={positionMode:"absolute"},U=e=>{let{offset:t,positionMode:o=ss.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:l,...m}=e;return rs(Nt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":l,children:rs("div",{...m,className:r(e.className,is),children:e.children})})};U.states=hm;U.options=Nm;U.className=is;U.defaultOptions=ss;U.moduleName=pr;U.folderName=ns;import{jsx as Cm}from"react/jsx-runtime";var vm="k-actionsheet-footer",ls={alignment:"stretched",orientation:"horizontal"},Pt=e=>{let{alignment:t=ls.alignment,orientation:o=ls.orientation,template:a,as:n=a?"div":z,...s}=e;return Cm(n,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,vm),children:e.children})};var mr="searchbox",ds=mr;import{jsx as Ma,jsxs as Sm}from"react/jsx-runtime";var ps="k-searchbox",Lm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},cr={showIcon:!0,icon:"search"},Ye=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,showIcon:M=cr.showIcon,icon:v=cr.icon,"aria-label":g,...y}=e;return Sm(Z,{...y,size:a,rounded:n,fillMode:s,hover:l,focus:m,valid:b,invalid:N,required:h,loading:L,disabled:c,className:r(e.className,ps),children:[M&&Ma(S,{className:"k-input-icon",icon:v}),Ma(Fe,{placeholder:o,value:t,"aria-label":g}),Ma(Re,{...e}),Ma(Se,{...e}),Ma(Ue,{...e})]})};Ye.states=Lm;Ye.options=Mm;Ye.className=ps;Ye.defaultOptions=cr;Ye.moduleName=mr;Ye.folderName=ds;import{jsx as eS}from"react/jsx-runtime";var ur="textbox",ms=ur;import{Fragment as cs,jsx as Kt,jsxs as fr}from"react/jsx-runtime";var us="k-textbox",gm=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Im={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},tn={showClearButton:!0,showValidationIcon:!0,separators:!0},Ne=e=>{let{size:t,rounded:o,fillMode:a,separators:n=tn.separators,showClearButton:s=tn.showClearButton,showValidationIcon:l=tn.showValidationIcon,prefix:m,suffix:b,type:N,value:h,placeholder:L,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:q,id:de,"aria-label":me,"aria-describedby":ce,...ue}=e;return fr(Z,{...ue,size:t,rounded:o,fillMode:a,hover:c,focus:M,valid:v,invalid:g,required:y,loading:E,disabled:K,readonly:q,className:r(e.className,us),children:[m&&fr(cs,{children:[Kt(we,{children:m}),n&&Kt(ge,{})]}),Kt(Fe,{id:de,placeholder:L,value:h,type:N,disabled:K,"aria-label":me,"aria-describedby":ce,"aria-invalid":g?"true":void 0}),l&&Kt(Se,{valid:v,invalid:g,loading:E,disabled:K}),Kt(Re,{loading:E,disabled:K}),s&&Kt(Ue,{loading:E,disabled:K,readonly:q,value:h}),b&&fr(cs,{children:[n&&Kt(ge,{}),Kt(_e,{children:b})]})]})};Ne.states=gm;Ne.options=Im;Ne.className=us;Ne.defaultOptions=tn;Ne.moduleName=ur;Ne.folderName=ms;var Sa=Ne;import{jsx as km}from"react/jsx-runtime";var fs=e=>km(Sa,{...e});import{Fragment as NS,jsx as hS}from"react/jsx-runtime";import{Fragment as gS,jsx as SS}from"react/jsx-runtime";import{jsx as TS}from"react/jsx-runtime";import{jsx as br}from"react/jsx-runtime";var Am=Ne.states,Tm=Ne.defaultOptions,ym=Ne.options,Em=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Om=[],ho=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?br(S,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?br(Wt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),br(fs,{value:"Value",style:{width:300},...o,...a})};ho.options=ym;ho.states=Am;ho.variants=Om;ho.defaultOptions=Tm;ho.modifiers=Em;ho.className=Ne.className;import{jsx as Rt,jsxs as xr}from"react/jsx-runtime";var bs="k-actionsheet-titlebar",Bm={},Ie=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:l,inputValue:m,inputPlaceholder:b,adaptive:N,titleId:h,children:L,...c}=e;return xr("div",{...c,className:r(e.className,bs),children:[xr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Rt("div",{className:"k-actionsheet-actions",children:a}),!L&&xr("div",{className:"k-actionsheet-title",id:h,children:[t&&Rt("div",{className:"k-text-center",children:t}),o&&Rt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),L&&Rt("div",{className:"k-actionsheet-title",id:h,children:L}),n&&Rt("div",{className:"k-actionsheet-actions",children:n})]}),(l||s)&&Rt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?Rt(Ne,{value:m,placeholder:b,size:N?"large":"medium","aria-label":t||b||"Input"}):Rt(Ye,{placeholder:"Filter",size:N?"large":"medium","aria-label":"Filter options"})})]})};Ie.className=bs;Ie.defaultOptions=Bm;import{jsx as hr,jsxs as wm}from"react/jsx-runtime";var Nr="k-actionsheet-view",Pm=[],Km={},Rm={},No=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:l,...m}=e,b=n?.type===Ie&&hr(Ie,{adaptive:t,titleId:l,...n?.props}),N=s?.type===Pt&&hr(Pt,{...s?.props});return wm("div",{...m,className:r(e.className,Nr,{[`${Nr}-animated`]:o}),children:[b,hr("div",{className:"k-actionsheet-content",children:a}),N]})};No.states=Pm;No.options=Km;No.className=Nr;No.defaultOptions=Rm;var ga="action-sheet",on=ga;var vr="overlay",xs=vr;import{jsx as zm}from"react/jsx-runtime";var hs="k-overlay",_m=[],Dm={},Hm={},wt=e=>{let{...t}=e;return zm("div",{...t,className:r(e.className,hs),children:e.children})};wt.states=_m;wt.options=Dm;wt.className=hs;wt.defaultOptions=Hm;wt.moduleName=vr;wt.folderName=xs;import{jsx as an,jsxs as Fm}from"react/jsx-runtime";var Ns="k-actionsheet",Gm=[],Um={},Ia={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Ia.side,fullscreen:o=Ia.fullscreen,adaptive:a=Ia.adaptive,overlay:n=Ia.overlay,template:s,children:l,header:m,footer:b,id:N,...h}=e,L=N&&!s&&m?`${N}-title`:void 0;return Fm("div",{className:"k-actionsheet-container",children:[n&&an(wt,{}),an(Nt,{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:an("div",{...h,id:N,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":L,className:r(e.className,Ns,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||an(No,{header:m,footer:b,adaptive:a,titleId:L,...e,children:l})})})]})};oe.states=Gm;oe.options=Um;oe.className=Ns;oe.defaultOptions=Ia;oe.moduleName=ga;oe.folderName=on;import{jsx as Wm}from"react/jsx-runtime";var vs="k-actionsheet-container",Vm=[],$m={},Xm={},vo=e=>{let{children:t,...o}=e;return Wm("div",{...o,className:vs,children:t})};vo.states=Vm;vo.options=$m;vo.className=vs;vo.defaultOptions=Xm;vo.moduleName=ga;vo.folderName=on;import{jsx as Jm}from"react/jsx-runtime";var Cr=e=>{let{...t}=e;return Jm("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Ym,jsx as ka,jsxs as Lr}from"react/jsx-runtime";var Mr="k-actionsheet-item",qm=[i.hover,i.focus,i.selected,i.disabled],_t=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:l,disabled:m,...b}=e;return Lr("span",{...b,className:r(e.className,Mr,I(Mr,{hover:n,focus:s,selected:l,disabled:m})),children:[!e.children&&ka(Ym,{children:Lr("span",{className:"k-actionsheet-action",children:[t&&ka("span",{className:"k-icon-wrap",children:ka(S,{className:"k-actionsheet-item-icon",icon:t})}),Lr("span",{className:"k-actionsheet-item-text",children:[o&&ka("span",{className:"k-actionsheet-item-title",children:o}),a&&ka("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};_t.states=qm;_t.className=Mr;import{jsx as Ag,jsxs as Tg}from"react/jsx-runtime";import{jsx as Bg}from"react/jsx-runtime";import{jsx as wg}from"react/jsx-runtime";import{jsx as zg}from"react/jsx-runtime";import{jsx as fe,jsxs as Sr}from"react/jsx-runtime";var Qm=oe.options,Zm=oe.states,Ls={...oe.defaultOptions,variant:"normal"},jm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],ec=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Ls,...e},n={},s=Sr(Cr,{children:[fe(_t,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),fe(_t,{text:"Add to Favorites",iconName:"heart"}),fe(_t,{text:"Upload New",iconName:"upload",disabled:!0}),fe("hr",{className:"k-hr"}),fe(_t,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(b=>{switch(b){case"actions":n.actionsStart=!!o?.[b],n.actionsEnd=!!o?.[b];break;case"subtitle":n.subtitle=o?.[b]?l:void 0;break;case"footer":n.footer=!!o?.[b];break;default:break}}),t==="adaptive"?fe(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?Sr(Pt,{alignment:"stretched",children:[fe(p,{text:"Cancel",size:"large",themeColor:"base"}),fe(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):fe(oe,{...a,fullscreen:n.fullScreen,header:fe(Ie,{actionsStart:n.actionsStart?fe(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?fe(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?Sr(Pt,{alignment:"stretched",children:[fe(p,{text:"Apply",themeColor:"primary"}),fe(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=Qm;Co.states=Zm;Co.variants=jm;Co.defaultOptions=Ls;Co.modifiers=ec;Co.className=oe.className;var gr="slider",Ms=gr;import{jsx as Lo,jsxs as Ir}from"react/jsx-runtime";var Aa="k-slider",tc=[i.hover,i.focus,i.active,i.disabled,i.readonly],oc={},Qe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},Y=e=>{let{type:t=Qe.type,orientation:o=Qe.orientation,gradientType:a=Qe.gradientType,readonly:n=Qe.readonly,disabled:s=Qe.disabled,handlePosition:l=Qe.handlePosition,showButtons:m=Qe.showButtons,showTicks:b=Qe.showTicks,value:N=Qe.value,min:h=Qe.min,max:L=Qe.max,startValue:c,endValue:M,hover:v,focus:g,active:y,trackStyle:E,dir:K,...q}=e,me=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ce,ue;return o==="horizontal"?(ce=K==="rtl"?"chevron-left":"chevron-right",ue=K==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ce="chevron-up",ue="chevron-down"),Ir("div",{...q,className:r(Aa,e.className,I(Aa,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:K,children:[m&&Lo(p,{className:"k-button-decrease",rounded:"full",icon:ue,tabIndex:-1,title:"Decrease"}),Ir("div",{className:"k-slider-track-wrap",children:[b&&Lo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ir("div",{className:"k-slider-track",style:E,children:[Lo("div",{className:"k-slider-selection"}),t==="range"&&Lo("span",{className:r("k-draghandle","k-draghandle-start",I(Aa,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":M??L,"aria-orientation":me,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":q["aria-label"]?`${q["aria-label"]} start`:"Range start"}),Lo("span",{className:r("k-draghandle",`k-draghandle-${l}`,I(Aa,{hover:v,focus:g,active:y})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?M??L:N,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":L,"aria-orientation":me,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?q["aria-label"]?`${q["aria-label"]} end`:"Range end":q["aria-label"]})]})]}),m&&Lo(p,{className:"k-button-increase",rounded:"full",icon:ce,tabIndex:-1,title:"Increase"})]})};Y.states=tc;Y.options=oc;Y.className=Aa;Y.defaultOptions=Qe;Y.moduleName=gr;Y.folderName=Ms;import{jsx as Ss}from"react/jsx-runtime";var gs="k-tick",ac=[],nc={},Is={label:!1},O=e=>{let{style:t,label:o=Is.label,orientation:a,large:n,text:s,...l}=e;return Ss("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,gs,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&Ss("span",{className:"k-label",children:s})})};O.states=ac;O.options=nc;O.className=gs;O.defaultOptions=Is;import{Fragment as rc,jsx as Ze,jsxs as ic}from"react/jsx-runtime";var ks=e=>Ze(Y,{"aria-label":e["aria-label"]||"Slider",children:ic(rc,{children:[Ze(O,{className:"k-first",label:!0,large:!0,text:"0"}),Ze(O,{}),Ze(O,{}),Ze(O,{}),Ze(O,{}),Ze(O,{label:!0,large:!0,text:"5"}),Ze(O,{}),Ze(O,{}),Ze(O,{}),Ze(O,{}),Ze(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as sc,jsx as je,jsxs as lc}from"react/jsx-runtime";var As=e=>je(Y,{children:lc(sc,{children:[je(O,{className:"k-first",label:!0,large:!0,text:"0"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{label:!0,large:!0,text:"5"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as TI,jsx as AI,jsxs as yI}from"react/jsx-runtime";import{Fragment as KI,jsx as PI,jsxs as RI}from"react/jsx-runtime";import{jsx as dc}from"react/jsx-runtime";var kr=e=>dc(Y,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pc}from"react/jsx-runtime";var Ar=e=>pc(Y,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as XI,jsx as $I,jsxs as WI}from"react/jsx-runtime";import{Fragment as ZI,jsx as QI,jsxs as jI}from"react/jsx-runtime";import{jsx as vt,jsxs as Ts}from"react/jsx-runtime";var mc=Y.options,cc=Y.states,ys={...Y.defaultOptions,variant:"horizontal",label:!0},uc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Mo=e=>{let{variant:t,modifiers:o,...a}=e,n=ys.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{n=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Ts(As,{style:{height:"300px",...l},...a,...s,children:[vt(O,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),vt(O,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Ts(ks,{style:{width:"400px",...l},...a,...s,children:[vt(O,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),vt(O,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Mo.options=mc;Mo.states=cc;Mo.variants=uc;Mo.defaultOptions=ys;Mo.modifiers=fc;Mo.className=Y.className;import{jsx as Es,jsxs as vc}from"react/jsx-runtime";var Os="k-spin-button",hc=[],Nc={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link]},Tr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Dt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Tr.increaseLabel,decreaseLabel:s=Tr.decreaseLabel,...l}=e;return vc("span",{...l,className:r(Os,e.className),children:[Es(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Es(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Dt.states=hc;Dt.options=Nc;Dt.className=Os;Dt.defaultOptions=Tr;Dt.moduleName=null;Dt.folderName=null;var Bs="numeric-textbox",Ps="numerictextbox";import{Fragment as Ks,jsx as gt,jsxs as yr}from"react/jsx-runtime";var Rs="k-numerictextbox",Cc=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},nn={showSpinButton:!0,showClearButton:!0,separators:!0},$=e=>{let{size:t,rounded:o,fillMode:a,separators:n=nn.separators,showClearButton:s=nn.showClearButton,showSpinButton:l=nn.showSpinButton,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,id:q,"aria-label":de,"aria-describedby":me,...ce}=e;return yr(Z,{...ce,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,Rs),children:[m&&yr(Ks,{children:[gt(we,{children:m}),n&&gt(ge,{})]}),gt(Fe,{id:q,placeholder:h,value:N,role:"spinbutton",disabled:E,"aria-label":de,"aria-describedby":me,"aria-invalid":v?"true":void 0}),gt(Se,{valid:M,invalid:v,loading:y,disabled:E}),gt(Re,{loading:y,disabled:E}),s&&gt(Ue,{loading:y,disabled:E,readonly:K,value:N}),b&&yr(Ks,{children:[n&&gt(ge,{}),gt(_e,{children:b})]}),l&&gt(Dt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};$.states=Cc;$.options=Lc;$.className=Rs;$.defaultOptions=nn;$.moduleName=Bs;$.folderName=Ps;var Ta=$;import{jsx as Mc}from"react/jsx-runtime";var ws=e=>Mc(Ta,{...e});import Or from"react";import{jsx as _s}from"react/jsx-runtime";var Sc="k-list-group-sticky-header",Er=e=>_s("div",{className:r(Sc,e.className),children:_s("div",{className:"k-list-header-text",children:e.children})});import{jsx as Ic}from"react/jsx-runtime";var gc="k-no-data",rn=e=>{let{live:t,...o}=e;return Ic("span",{...o,className:r(gc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var qt="list",So=qt;import{jsx as Ds,jsxs as Hs}from"react/jsx-runtime";var Br="k-list",kc=[],Ac={size:[d.undefined,d.small,d.medium,d.large]},Tc={},D=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:l,customValue:m,noData:b,screenReaders:N,...h}=e,c=Or.Children.toArray(a)[0],M=c?.props?.children?Or.Children.count(c.props.children):Or.Children.count(a);return Hs("div",{...h,className:r(e.className,Br,k(Br,{size:t}),{"k-virtual-list":o}),children:[l,s,m,n&&Ds(Er,{children:n}),a||(b!==void 0?b:Ds(rn,{live:!0,children:"No data found."})),N&&a&&Hs(rn,{className:"k-sr-only",live:!0,children:[M," items found."]})]})};D.states=kc;D.options=Ac;D.className=Br;D.defaultOptions=Tc;D.moduleName=qt;D.folderName=So;import{jsx as Bc}from"react/jsx-runtime";var zs="k-list-container",yc=[],Ec={},Oc={},go=e=>{let{...t}=e;return Bc("div",{...t,className:r(e.className,zs),children:e.children})};go.states=yc;go.options=Ec;go.className=zs;go.defaultOptions=Oc;go.moduleName=qt;go.folderName=So;var Yt="checkbox",Io=Yt;import{jsx as Gs}from"react/jsx-runtime";var sn="k-checkbox",Pc=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.checked,i.indeterminate],Kc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rc={},Ve=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:l,invalid:m,valid:b,required:N,size:h,rounded:L,wrapperRole:c,...M}=e;return Gs("span",{className:"k-checkbox-wrap",role:c,children:Gs("input",{...M,id:t,type:"checkbox",defaultChecked:o,required:N,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,sn,k(sn,{size:h,rounded:L}),I(sn,{hover:n,focus:s,disabled:l,invalid:m,valid:b,indeterminate:a,checked:o}))})})};Ve.states=Pc;Ve.options=Kc;Ve.className=sn;Ve.defaultOptions=Rc;Ve.moduleName=Yt;Ve.folderName=Io;var mt=Ve;import{jsx as Dc}from"react/jsx-runtime";var Us="k-checkbox-list",wc=[],_c={},Fs={layout:"vertical"},ke=e=>{let{layout:t=Fs.layout,...o}=e;return Dc("ul",{...o,className:r(e.className,Us,{[`k-list-${t}`]:t}),children:e.children})};ke.states=wc;ke.options=_c;ke.className=Us;ke.defaultOptions=Fs;ke.moduleName=Yt;ke.folderName=Io;import{jsx as Uc}from"react/jsx-runtime";var Vs="k-checkbox-list-item",Hc=[],zc={},Gc={},Ae=e=>{let{...t}=e;return Uc("li",{...t,className:r(e.className,Vs),children:e.children})};Ae.states=Hc;Ae.options=zc;Ae.className=Vs;Ae.defaultOptions=Gc;Ae.moduleName=Yt;Ae.folderName=Io;import{Fragment as Fc,jsx as $s,jsxs as Vc}from"react/jsx-runtime";var It=({children:e="Label",id:t="cb-label-after",...o})=>Vc(Fc,{children:[$s(mt,{id:t,...o}),$s("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as SA,jsx as MA,jsxs as gA}from"react/jsx-runtime";import{Fragment as yA,jsx as TA,jsxs as EA}from"react/jsx-runtime";import{Fragment as RA,jsx as KA,jsxs as wA}from"react/jsx-runtime";import{jsx as zA}from"react/jsx-runtime";import{jsx as VA}from"react/jsx-runtime";import{jsx as JA}from"react/jsx-runtime";import{jsx as et,jsxs as Xs}from"react/jsx-runtime";var $c=ke.options,Xc=ke.states,Wc={...ke.defaultOptions,variant:"vertical"},Jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qc=[],ko=e=>{let{variant:t,...o}=e;return t==="horizontal"?Xs(ke,{layout:"horizontal",...o,children:[et(Ae,{children:et(It,{id:A("cb"),defaultChecked:!0,children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})})]}):Xs(ke,{...o,children:[et(Ae,{children:et(It,{id:A("cb"),defaultChecked:!0,children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})}),et(Ae,{children:et(It,{id:A("cb"),children:"Label"})})]})};ko.options=$c;ko.states=Xc;ko.variants=Jc;ko.defaultOptions=Wc;ko.modifiers=qc;ko.className=ke.className;import{jsx as tu}from"react/jsx-runtime";var Yc=mt.options,Qc=mt.states,Zc=mt.defaultOptions,jc=[],eu=[],Ao=e=>tu(It,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Yc;Ao.states=Qc;Ao.variants=jc;Ao.defaultOptions=Zc;Ao.modifiers=eu;Ao.className=mt.className;import{jsx as To,jsxs as ru}from"react/jsx-runtime";var Pr="k-list-item",ou=[i.hover,i.focus,i.selected,i.disabled],au={},nu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:l,focus:m,selected:b,disabled:N,actions:h,description:L,id:c,...M}=e,v=t||e.children,g=t||(typeof v=="string"?v:void 0);return ru("li",{...M,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":b?"true":"false","aria-disabled":N?"true":void 0,className:r(e.className,Pr,I(Pr,{hover:l,focus:m,disabled:N,selected:b})),children:[n&&To(Ve,{checked:s,disabled:N,"aria-label":g,tabIndex:-1}),o&&To("span",{className:"k-list-item-icon-wrapper",children:To(S,{icon:o,className:r("k-list-item-icon",a)})}),To("span",{className:"k-list-item-text",children:v}),h&&To("div",{className:"k-list-item-actions",children:h}),L&&To("span",{className:"k-list-item-description",children:L})]})};P.states=ou;P.options=au;P.className=Pr;P.defaultOptions=nu;P.moduleName=qt;P.folderName=So;import{jsx as su}from"react/jsx-runtime";var iu="k-list-ul",Ht=e=>{let{children:t,role:o,id:a,...n}=e;return su("ul",{...n,id:a,role:o,className:r(iu,e.className),children:t})};import{jsx as Kr,jsxs as du}from"react/jsx-runtime";var lu="k-list-content",X=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...l}=e;return du("div",{...l,className:r(lu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:Kr(Ht,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&Kr("div",{className:"k-height-container",children:Kr("div",{})})]})};import{jsx as Rr,jsxs as uu}from"react/jsx-runtime";var ln="k-list-sticky-header",pu=[i.hover,i.focus,i.selected],mu={},cu={},dn=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:l,selected:m,...b}=e;return Rr("div",{...b,className:r(ln,e.className),children:uu("div",{className:r(`${ln}-item`,I(`${ln}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Rr(Ve,{checked:a,indeterminate:n,"aria-label":t}),Rr("span",{className:"k-list-item-text",children:t})]})})};dn.states=pu;dn.options=mu;dn.className=ln;dn.defaultOptions=cu;import{Fragment as UT,jsx as GT,jsxs as FT}from"react/jsx-runtime";import{jsx as JT,jsxs as qT}from"react/jsx-runtime";import{jsx as hu}from"react/jsx-runtime";var wr="k-list-optionlabel",fu=[i.hover,i.focus,i.selected,i.disabled],bu={},xu={},pn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return hu("div",{...l,className:r(wr,I(wr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};pn.states=fu;pn.options=bu;pn.className=wr;pn.defaultOptions=xu;import{jsx as Lu}from"react/jsx-runtime";var _r="k-list-custom-value",Nu=[i.hover,i.focus,i.selected,i.disabled],vu={},Cu={},zt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...l}=e;return Lu("div",{...l,className:r(_r,I(_r,{hover:o,focus:a,selected:n,disabled:s})),children:t})};zt.states=Nu;zt.options=vu;zt.className=_r;zt.defaultOptions=Cu;import{Fragment as sy,jsx as iy,jsxs as ly}from"react/jsx-runtime";import{Fragment as fy,jsx as uy,jsxs as by}from"react/jsx-runtime";import{Fragment as My,jsx as Cy,jsxs as Ly}from"react/jsx-runtime";import{Fragment as yy,jsx as Ay,jsxs as Ty}from"react/jsx-runtime";import{jsx as Py}from"react/jsx-runtime";import{Fragment as Hy,jsx as Dy,jsxs as zy}from"react/jsx-runtime";import{Fragment as Xy,jsx as $y,jsxs as Wy}from"react/jsx-runtime";var Ws="dropdown-list",Js="dropdownlist";import{Fragment as gu,jsx as Te,jsxs as Dr}from"react/jsx-runtime";var qs="k-dropdownlist",Mu=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled,i.loading,i.readonly],Su={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Hr={showValue:!0,arrowIconName:"chevron-down"},pe=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Hr.arrowIconName,showValue:s=Hr.showValue,valueIconName:l,prefix:m,suffix:b,value:N,placeholder:h,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,popup:q,opened:de,adaptive:me,adaptiveSettings:ce,adaptiveTitle:ue,adaptiveSubtitle:Xt,adaptiveFilter:zn,id:Ot,activeDescendant:Xa,"aria-label":Gn,...Un}=e,Vd=Ot?`${Ot}-listbox`:void 0,Ti=Ot?`${Ot}-value`:void 0;return Dr(gu,{children:[Dr(xt,{...Un,id:Ot,size:t,rounded:o,fillMode:a,hover:L,focus:c,valid:M,invalid:v,required:g,loading:y,disabled:E,readonly:K,className:r(e.className,qs,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":de?"true":"false","aria-controls":de?Vd:void 0,"aria-activedescendant":de&&Xa?Xa:void 0,"aria-describedby":de?Ti:void 0,"aria-disabled":E?"true":void 0,"aria-label":Gn,tabIndex:0,children:[Te(we,{children:m}),Te(Jt,{placeholder:h,value:N,showValue:s,valueIconName:l,id:Ti}),Te(Se,{valid:M,invalid:v,loading:y,disabled:E}),Te(Re,{loading:y,disabled:E}),Te(_e,{children:b}),Te(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),de&&q&&Te(U,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:q}),me&&Te(oe,{adaptive:!0,...ce,header:Te(Ie,{actionsEnd:Te(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:zn,inputValue:N,inputPlaceholder:h,title:ue,subtitle:Xt}),children:Te("div",{className:"k-list-container",children:Te(D,{size:"large",children:Dr(X,{"aria-label":"Options",children:[Te(P,{text:"List item"}),Te(P,{text:"List item"}),Te(P,{text:"List item"})]})})})})]})};pe.states=Mu;pe.options=Su;pe.className=qs;pe.defaultOptions=Hr;pe.moduleName=Ws;pe.folderName=Js;import{jsx as TE}from"react/jsx-runtime";import{jsx as KE,jsxs as RE}from"react/jsx-runtime";import{Fragment as VE,jsx as UE,jsxs as FE}from"react/jsx-runtime";import{jsx as qE}from"react/jsx-runtime";import{jsx as tO,jsxs as oO}from"react/jsx-runtime";import{Fragment as mO,jsx as dO,jsxs as pO}from"react/jsx-runtime";import{jsx as xO}from"react/jsx-runtime";import{Fragment as Eu,jsx as Gt,jsxs as Ys}from"react/jsx-runtime";var Iu=pe.states,ku=pe.defaultOptions,Au=pe.options,Tu=[{name:"opened",title:"Opened"}],yu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=Ys(Eu,{children:[Gt("div",{className:"k-list-filter",children:Gt(Ye,{})}),Gt(D,{style:{width:300},size:o.size,children:Ys(X,{children:[Gt(P,{children:"List item"}),Gt(P,{children:"List item"}),Gt(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Gt("div",{children:Gt(pe,{placeholder:"Value",style:{width:300},...o,...a})})};Eo.options=Au;Eo.states=Iu;Eo.variants=yu;Eo.defaultOptions=ku;Eo.modifiers=Tu;Eo.className=pe.className;import{Fragment as DO,jsx as _O}from"react/jsx-runtime";import{Fragment as VO,jsx as FO}from"react/jsx-runtime";import{jsx as JO}from"react/jsx-runtime";import{jsx as zr}from"react/jsx-runtime";var Ou=$.states,Bu=$.defaultOptions,Pu=$.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Ru=[],Oo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?zr(pe,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?zr(ir,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),zr(ws,{value:"Value",style:{width:300},...o,...a})};Oo.options=Pu;Oo.states=Ou;Oo.variants=Ru;Oo.defaultOptions=Bu;Oo.modifiers=Ku;Oo.className=$.className;import{Fragment as Ea,jsx as w,jsxs as ae}from"react/jsx-runtime";var Qs="k-colorgradient-inputs",wu=[],_u={size:[d.undefined,d.small,d.medium,d.large]},Zs={mode:"rgba"},Bo=e=>{let{mode:t=Zs.mode,size:o,...a}=e;return ae("div",{...a,className:r(Qs,"k-hstack"),children:[w("div",{className:"k-vstack",children:w(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),w("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),w("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),w("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),w("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Ea,{children:[ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),w("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),w("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[w($,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),w("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&w(Ea,{children:ae("div",{className:"k-vstack k-flex-1",children:[w(Ne,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),w("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Bo.states=wu;Bo.options=_u;Bo.className=Qs;Bo.defaultOptions=Zs;import{jsx as Qt,jsxs as Zt}from"react/jsx-runtime";var js="k-colorgradient-color-contrast",Du=[],Hu={},zu={},Po=()=>Zt("div",{className:r(js,"k-vbox"),children:[Zt("div",{className:"k-contrast-ratio",children:[Qt("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:[Qt(S,{icon:"check"}),Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AA: 4.5"}),Zt("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Qt(S,{icon:"check"})]})]}),Zt("div",{children:[Qt("span",{children:"AAA: 7.0"}),Zt("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Qt(S,{icon:"x"})]})]})]});Po.states=Du;Po.options=Hu;Po.className=js;Po.defaultOptions=zu;var el="color-gradient",tl="colorgradient";import{jsx as tt,jsxs as Oa}from"react/jsx-runtime";var mn="k-colorgradient",Gu=[i.hover,i.focus,i.readonly,i.disabled],Uu={size:[d.undefined,d.small,d.medium,d.large]},Ct={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"},be=e=>{let{size:t,mode:o=Ct.mode,readonly:a=Ct.readonly,disabled:n=Ct.disabled,gradientStyle:s=Ct.gradientStyle,dragHandleStyle:l=Ct.dragHandleStyle,alphaStyle:m=Ct.alphaStyle,alphaStyleHorizontal:b=Ct.alphaStyleHorizontal,contrast:N=Ct.contrast,dir:h,hover:L,focus:c,hoverHandle:M,focusHandle:v,canvasOrientation:g=Ct.canvasOrientation,role:y,tabIndex:E,...K}=e;return Oa("div",{...K,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":n?"true":void 0,className:r(e.className,mn,k(mn,{size:t}),I(mn,{hover:L,focus:c,readonly:a,disabled:n})),dir:h,children:[!g||g==="horizontal"&&Oa("div",{className:"k-colorgradient-canvas k-hstack",children:[tt("div",{className:"k-hsv-rectangle",style:s,children:tt("div",{className:"k-hsv-gradient",children:tt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":v}),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})})}),Oa("div",{className:"k-hsv-controls k-hstack",children:[tt(Ar,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&tt(Ar,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:m})]})]}),g==="vertical"&&Oa("div",{className:"k-colorgradient-canvas k-vstack",children:[tt("div",{className:"k-hsv-rectangle",style:s,children:tt("div",{className:"k-hsv-gradient",children:tt("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":M,"k-focus":v}),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})})}),Oa("div",{className:"k-hsv-controls k-vstack",children:[tt(kr,{className:"k-hue-slider",hover:M,focus:v}),o!=="rgb"&&o!=="hsv"&&tt(kr,{className:"k-alpha-slider",hover:M,focus:v,trackStyle:b})]})]}),tt(Bo,{mode:e.mode,size:t}),N&&tt(Po,{})]})};be.states=Gu;be.options=Uu;be.className=mn;be.defaultOptions=Ct;be.moduleName=el;be.folderName=tl;import{jsx as Fu}from"react/jsx-runtime";var cn=e=>Fu(be,{...e});import{jsx as PB}from"react/jsx-runtime";import{jsx as _B}from"react/jsx-runtime";import{jsx as Gr}from"react/jsx-runtime";var Vu=be.options,$u=be.states,Xu={...be.defaultOptions,variant:"rgba"},Wu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Ju=[],Ko=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Gr(cn,{...o,mode:t});case"rgb":return Gr(cn,{...o,mode:t});default:return Gr(cn,{...o,mode:t})}};Ko.options=Vu;Ko.states=$u;Ko.variants=Wu;Ko.defaultOptions=Xu;Ko.modifiers=Ju;Ko.className=be.className;import{jsx as qu}from"react/jsx-runtime";var Ur=e=>qu("tr",{role:"row",children:e.children});import{jsx as Zu}from"react/jsx-runtime";var Fr="k-colorpalette-tile",Yu=[i.hover,i.focus,i.selected],Qu={},Ut=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zu("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,Fr,I(Fr,{hover:a,focus:n,selected:s})),style:m})};Ut.states=Yu;Ut.options=Qu;Ut.className=Fr;Ut.moduleName=null;Ut.folderName=null;var ol="color-palette",al="colorpalette";import{jsx as Ba}from"react/jsx-runtime";var un="k-colorpalette",ju=[i.disabled],ef={size:[d.undefined,d.small,d.medium,d.large]},nl={columns:10},De=e=>{let{size:t,palette:o,columns:a=nl.columns,tileSize:n,disabled:s,...l}=e,m=[];if(o){let b=a||o.columns,N=o.colors?o.colors:o;Array.isArray(N)&&Array.from({length:Math.ceil(N.length/b)},(h,L)=>{let c=[];N.slice(L*b,(L+1)*b).map((v,g)=>{c.push(Ba(Ut,{color:v,tileSize:n},g))});let M=Ba(Ur,{children:c},L);m.push(M)})}return Ba("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,un,I(un,{disabled:s}),k(un,{size:t})),children:Ba("table",{className:"k-colorpalette-table",role:"none",children:Ba("tbody",{children:m.length>0?m:e.children})})})};De.states=ju;De.options=ef;De.className=un;De.defaultOptions=nl;De.moduleName=ol;De.folderName=al;var fn=De;var Pa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as tf}from"react/jsx-runtime";var rl=e=>tf(fn,{palette:Pa.basic,...e});import{jsx as NP}from"react/jsx-runtime";import{jsx as gP,jsxs as IP}from"react/jsx-runtime";import{jsx as df}from"react/jsx-runtime";var of=De.options,af=De.states,nf={...De.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={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}},lf=[],Ro=e=>{let{variant:t="basic",...o}=e,a=sf[t];return df(rl,{columns:a.columns,palette:a,...o})};Ro.options=of;Ro.states=af;Ro.variants=rf;Ro.defaultOptions=nf;Ro.modifiers=lf;Ro.className=De.className;var il="color-editor",sl="coloreditor";import{jsx as ot,jsxs as wo}from"react/jsx-runtime";var bn="k-coloreditor",pf=[i.focus],mf={size:[d.undefined,d.small,d.medium,d.large]},Ka={view:"gradient",palette:Pa.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=Ka.view,palette:a=Ka.palette,color:n,currentColor:s,focus:l,focusView:m,dir:b,group:N,actionButtons:h=Ka.actionButtons,canvasOrientation:L=Ka.canvasOrientation,...c}=e;return wo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",bn,k(bn,{size:t}),I(bn,{focus:l})),dir:b,children:[wo("div",{className:"k-coloreditor-header k-hstack",children:[ot("div",{className:"k-coloreditor-header-actions k-hstack",children:N&&wo(B,{fillMode:"flat",children:[ot(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),ot(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),ot("div",{className:"k-spacer"}),wo("div",{className:"k-coloreditor-header-actions k-hstack",children:[ot(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),wo("div",{className:"k-coloreditor-preview k-vstack",children:[ot(Bt,{className:"k-coloreditor-preview-color",color:n}),ot(Bt,{className:"k-coloreditor-current-color",color:s})]})]})]}),ot("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?ot(be,{focus:m,size:t,canvasOrientation:L,role:"none",tabIndex:-1}):ot(De,{palette:a,size:t})}),h&&wo(z,{className:"k-coloreditor-footer",alignment:"start",children:[ot(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),ot(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=pf;ne.options=mf;ne.className=bn;ne.defaultOptions=Ka;ne.moduleName=il;ne.folderName=sl;var _o=ne;import{jsx as eK}from"react/jsx-runtime";import{jsx as nK}from"react/jsx-runtime";import{jsx as cf}from"react/jsx-runtime";var ll=e=>cf(_o,{group:!0,currentColor:"fuchsia",...e});import{jsx as uf}from"react/jsx-runtime";var dl=e=>uf(_o,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as pl}from"react/jsx-runtime";var ff=ne.options,bf=ne.states,xf={...ne.defaultOptions,variant:"gradient"},hf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],Do=e=>{let{variant:t,...o}=e;return t==="palette"?pl(dl,{...o,color:"white"}):pl(ll,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Do.options=ff;Do.states=bf;Do.variants=hf;Do.defaultOptions=xf;Do.modifiers=Nf;Do.className=ne.className;var ml="color-picker",cl="colorpicker";import{Fragment as Lf,jsx as at,jsxs as Vr}from"react/jsx-runtime";var ul="k-colorpicker",vf=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Cf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},fl={arrowIconName:"chevron-down"},nt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=fl.arrowIconName,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,valueIconName:g,popup:y,opened:E,adaptive:K,adaptiveSettings:q,adaptiveTitle:de,adaptiveSubtitle:me,...ce}=e,ue="colorpicker-popup";return Vr(Lf,{children:[Vr(xt,{...ce,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,disabled:v,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||K?ue:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":v?"true":void 0,className:r(e.className,ul,"k-icon-picker"),children:[at(we,{children:s}),at(Jt,{placeholder:b,value:m,showValue:!1,valueIcon:at(Bt,{className:"k-value-icon",color:m,iconName:g}),valueIconName:g}),at(_e,{children:l}),at(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:v})]}),E&&y&&at(U,{id:ue,className:"k-colorpicker-popup",children:y}),K&&at(oe,{adaptive:!0,id:ue,...q,header:at(Ie,{actionsEnd:at(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:de,subtitle:me}),footer:Vr(Pt,{children:[at(p,{text:"Cancel",size:"large"}),at(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:at(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};nt.states=vf;nt.options=Cf;nt.className=ul;nt.defaultOptions=fl;nt.moduleName=ml;nt.folderName=cl;var kt=nt;import{jsx as Mf}from"react/jsx-runtime";var xn=e=>Mf(kt,{...e});import{jsx as GK}from"react/jsx-runtime";import{jsx as XK}from"react/jsx-runtime";import{jsx as YK}from"react/jsx-runtime";import{jsx as eR}from"react/jsx-runtime";import{jsx as nR}from"react/jsx-runtime";import{jsx as lR}from"react/jsx-runtime";import{jsx as jt}from"react/jsx-runtime";var Sf=kt.options,gf=kt.states,bl={...kt.defaultOptions,variant:"color"},If=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kf=[{name:"opened",title:"Opened"}],Ho=e=>{let{variant:t,modifiers:o,...a}={...bl,...e},n={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?jt(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return jt("div",{style:s,children:jt(xn,{...a,...n})});case"icon":return jt("div",{style:s,children:jt(xn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return jt("div",{style:s,children:jt(xn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Ho.options=Sf;Ho.states=gf;Ho.variants=If;Ho.defaultOptions=bl;Ho.modifiers=kf;Ho.className=kt.className;var $r="combobox",xl=$r;import{Fragment as Xr,jsx as ie,jsxs as Ra}from"react/jsx-runtime";var hl="k-combobox",Af=[i.hover,i.focus,i.valid,i.invalid,i.loading,i.required,i.disabled,i.readonly],Tf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},Nl={separators:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Nl.separators,prefix:s,suffix:l,value:m,placeholder:b,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,popup:y,opened:E,readonly:K,adaptive:q,adaptiveSettings:de,adaptiveTitle:me,adaptiveSubtitle:ce,adaptiveCustomValue:ue,id:Xt,autocomplete:zn,activeDescendant:Ot,"aria-label":Xa,...Gn}=e,Un=Xt?`${Xt}-listbox`:void 0;return Ra(Xr,{children:[Ra(Z,{...Gn,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:L,invalid:c,required:M,loading:v,disabled:g,readonly:K,className:r(e.className,hl),children:[s&&Ra(Xr,{children:[ie(we,{children:s}),n&&ie(ge,{})]}),ie(Fe,{id:Xt,placeholder:b,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Un:void 0,"aria-activedescendant":E&&Ot?Ot:void 0,"aria-autocomplete":zn,"aria-invalid":c?"true":void 0,"aria-busy":v?"true":void 0,"aria-label":Xa,disabled:g,readOnly:K}),ie(Se,{valid:L,invalid:c,loading:v,disabled:g}),ie(Re,{loading:v,disabled:g}),ie(Ue,{loading:v,disabled:g,readonly:K,value:m}),l&&Ra(Xr,{children:[n&&ie(ge,{}),ie(_e,{children:l})]}),ie(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:g})]}),E&&y&&ie(U,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),q&&ie(oe,{adaptive:!0,id:Xt?`${Xt}-adaptive`:void 0,...de,header:ie(Ie,{actionsEnd:ie(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:b,title:me,subtitle:ce}),children:ie("div",{className:"k-list-container",children:ie(D,{customValue:ue?ie(zt,{text:`Use "${m}"`}):void 0,size:"large",children:Ra(X,{"aria-label":me||"Options",children:[ie(P,{text:"List item"}),ie(P,{text:"List item"}),ie(P,{text:"List item"})]})})})})]})};ye.states=Af;ye.options=Tf;ye.className=hl;ye.defaultOptions=Nl;ye.moduleName=$r;ye.folderName=xl;var $e=ye;import{jsx as yf}from"react/jsx-runtime";var vl=e=>yf($e,{...e});import{jsx as VR,jsxs as $R}from"react/jsx-runtime";import{jsx as QR,jsxs as ZR}from"react/jsx-runtime";import{jsx as nw,jsxs as rw}from"react/jsx-runtime";import{Fragment as mw,jsx as pw}from"react/jsx-runtime";import{Fragment as hw,jsx as xw}from"react/jsx-runtime";import{jsx as Sw,jsxs as gw}from"react/jsx-runtime";import{Fragment as Bw,jsx as Ew,jsxs as Ow}from"react/jsx-runtime";import{jsx as ww}from"react/jsx-runtime";import{jsx as zw}from"react/jsx-runtime";import{jsx as Xw,jsxs as Ww}from"react/jsx-runtime";import{jsx as jw,jsxs as e_}from"react/jsx-runtime";import{jsx as Ft,jsxs as Rf}from"react/jsx-runtime";var Ef=ye.states,Of=ye.defaultOptions,Bf=ye.options,Pf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Kf=[],zo=e=>{let{modifiers:t,...o}=e,a={},n=Ft(D,{style:{width:300},size:o.size,children:Rf(X,{children:[Ft(P,{children:"List item"}),Ft(P,{children:"List item"}),Ft(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Ft(S,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Ft(V,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0;break;default:break}}),Ft("div",{children:Ft(vl,{value:"Value",style:{width:300},...o,...a})})};zo.options=Bf;zo.states=Ef;zo.variants=Kf;zo.defaultOptions=Of;zo.modifiers=Pf;zo.className=ye.className;var Wr="menu-button",Cl=Wr;import{jsx as Df}from"react/jsx-runtime";var Ll="k-menu-button",wf=[i.hover,i.focus,i.active,i.selected,i.disabled],_f={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Jr={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,showArrow:c=Jr.showArrow,arrowIconName:M=Jr.arrowIconName,expanded:v,...g}=e;return Df(p,{...g,className:r(e.className,Ll),text:L,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,ariaDisabled:N||void 0,icon:h,showArrow:c,arrowIconName:M,"aria-expanded":v?"true":"false",...!L&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=wf;W.options=_f;W.className=Ll;W.defaultOptions=Jr;W.moduleName=Wr;W.folderName=Cl;import{jsx as P_}from"react/jsx-runtime";import{jsx as __}from"react/jsx-runtime";import{jsx as G_}from"react/jsx-runtime";var Xe="menu",rt=Xe;import{jsx as wa,jsxs as Ml}from"react/jsx-runtime";var qr="k-menu-item",Hf=[i.hover,i.focus,i.active,i.selected,i.disabled],zf={},Sl={iconPosition:"before"},ve=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=Sl.iconPosition,dir:L,children:c,expanded:M,...v}=e,g=N;return g||(g=L==="rtl"?"chevron-left":"chevron-right"),Ml("li",{...v,className:r(e.className,qr,"k-item",I(qr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":M?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Ml("span",{className:r("k-link k-menu-link"),children:[l&&h==="before"&&wa(S,{className:"k-menu-link-icon",icon:l}),wa("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&wa(S,{className:"k-menu-link-icon",icon:l}),b&&wa("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:wa(S,{icon:g})})]}),c]})};ve.states=Hf;ve.options=zf;ve.className=qr;ve.defaultOptions=Sl;ve.moduleName=Xe;ve.folderName=rt;import{jsx as eo,jsxs as gl}from"react/jsx-runtime";var Yr="k-menu-item",Gf=[i.hover,i.focus,i.active,i.selected,i.disabled],Uf={},Qr={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:l,text:m,showArrow:b,arrowIconName:N,iconPosition:h=Qr.iconPosition,dir:L=Qr.dir,children:c,popup:M,expanded:v,actions:g,description:y,...E}=e,K=N;return K||(K=L==="rtl"?"chevron-left":"chevron-right"),gl("li",{role:"menuitem",...E,className:r(e.className,Yr,"k-item",I(Yr,{focus:o,disabled:s})),...b&&{"aria-haspopup":"menu"},...b&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[gl("span",{className:r("k-link k-menu-link",I("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[l&&h==="before"&&eo(S,{className:"k-menu-link-icon",icon:l}),eo("span",{className:"k-menu-link-text",children:m}),l&&h==="after"&&eo(S,{className:"k-menu-link-icon",icon:l}),g&&eo("span",{className:"k-menu-link-actions",children:g}),b&&eo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:eo(S,{icon:K})}),y&&eo("span",{className:"k-menu-link-description",children:y})]}),c,M]})};j.states=Gf;j.options=Uf;j.className=Yr;j.defaultOptions=Qr;j.moduleName=Xe;j.folderName=rt;import{jsx as Xf}from"react/jsx-runtime";var Il="k-menu-scroll-wrapper",Ff=[],Vf={},$f={},to=e=>{let{className:t,children:o,orientation:a,...n}=e;return Xf("div",{...n,className:r(t,Il,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};to.states=Ff;to.options=Vf;to.className=Il;to.defaultOptions=$f;to.moduleName=Xe;to.folderName=rt;var kl=to;import{Fragment as Zr,jsx as oo,jsxs as Nn}from"react/jsx-runtime";var vn="k-menu",Wf=[],Jf={size:[d.undefined,d.small,d.medium,d.large]},Cn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},xe=e=>{let{children:t,orientation:o=Cn.orientation,header:a=Cn.header,scrollable:n,scrollButtonsPosition:s=Cn.scrollButtonsPosition,wrapperStyles:l,dir:m,size:b,popup:N,contextMenu:h,...L}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},M=oo("ul",{dir:m,...L,className:r(e.className,"k-reset",vn,{[`${vn}-${o}`]:o,"k-header":a},k(vn,{size:b})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Nn(Zr,{children:[n?Nn(kl,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&Nn(Zr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),M,s==="end"&&Nn(Zr,{children:[oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&oo(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):M,N]})};xe.states=Wf;xe.options=Jf;xe.className=vn;xe.defaultOptions=Cn;xe.moduleName=Xe;xe.folderName=rt;import{jsx as qf}from"react/jsx-runtime";var jr="k-separator",Al={orientation:"horizontal"},Go=e=>{let{orientation:t=Al.orientation,...o}=e;return qf("li",{...o,className:r(e.className,"k-item",jr,{[`${jr}-${t}`]:t}),role:"separator"})};Go.className=jr;Go.defaultOptions=Al;Go.moduleName=Xe;Go.folderName=rt;import{Fragment as x0,jsx as h0}from"react/jsx-runtime";import{jsx as jf}from"react/jsx-runtime";var ei="k-menu-group",Yf=[],Qf={size:[d.undefined,d.small,d.medium,d.large]},Zf={},Ce=e=>{let{children:t,size:o,...a}=e;return jf("ul",{role:"menu",...a,className:r(e.className,ei,k(ei,{size:o})),children:t})};Ce.states=Yf;Ce.options=Qf;Ce.className=ei;Ce.defaultOptions=Zf;Ce.moduleName=Xe;Ce.folderName=rt;import{jsx as k0,jsxs as A0}from"react/jsx-runtime";import{Fragment as eb,jsx as Uo,jsxs as tb}from"react/jsx-runtime";var ti=e=>Uo(xe,{children:tb(eb,{children:[Uo(ve,{text:"Item 1"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Uo(ve,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Uo(ve,{text:"Item 4"}),Uo(ve,{text:"Item 5"})]}),...e});import{Fragment as _0,jsx as R0,jsxs as w0}from"react/jsx-runtime";import{Fragment as U0,jsx as G0,jsxs as F0}from"react/jsx-runtime";import{Fragment as J0,jsx as W0,jsxs as q0}from"react/jsx-runtime";import{Fragment as eD,jsx as j0,jsxs as tD}from"react/jsx-runtime";import{jsx as ao,jsxs as ib}from"react/jsx-runtime";var ob={...xe.options,scrollable:{type:"boolean"}},ab=xe.states,Tl={...xe.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Fo=e=>{let{variant:t,modifiers:o,...a}={...Tl,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?ao(U,{className:"k-menu-popup",offset:s,children:ib(Ce,{children:[ao(j,{text:"Item 1"}),ao(j,{text:"Item 2"}),ao(Go,{}),ao(j,{text:"Item 3"})]})}):null)}),t==="vertical"?ao(ti,{...a,...n,orientation:"vertical",style:{width:"200px"}}):ao(ti,{...a,...n})};Fo.options=ob;Fo.states=ab;Fo.variants=nb;Fo.defaultOptions=Tl;Fo.modifiers=rb;Fo.className=xe.className;import{Fragment as KD,jsx as BD,jsxs as PD}from"react/jsx-runtime";import{jsx as DD}from"react/jsx-runtime";import{Fragment as mb,jsx as Lt,jsxs as yl}from"react/jsx-runtime";var sb=p.states,El={...p.defaultOptions,variant:"text"},lb=p.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...El,...e},n={},s=Lt(U,{className:"k-menu-popup",children:yl(Ce,{size:a.size,children:[Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"}),Lt(j,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star"})});break;case"icon-and-text":l=Lt("div",{children:Lt(W,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:l=Lt("div",{children:Lt(W,{...a,...n,children:"Dropdown Button"})});break}return yl(mb,{children:[l,o?.opened&&s]})};Vo.options=lb;Vo.states=sb;Vo.variants=db;Vo.defaultOptions=El;Vo.modifiers=pb;Vo.className=W.className;var oi="split-button",Ol=oi;import{Fragment as fb,jsx as ai,jsxs as Bl}from"react/jsx-runtime";var ni="k-split-button",cb=[i.hover,i.focus,i.active,i.selected,i.disabled],ub={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline,f.clear,f.link],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary,x.success,x.warning,x.error,x.info,x.inverse]},Pl={arrowIconName:"chevron-down"},H=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,icon:h,text:L,arrowIconName:c=Pl.arrowIconName,popup:M,opened:v,popupId:g,...y}=e;return Bl(fb,{children:[Bl("div",{...y,className:r(e.className,ni,"k-button-group",k(ni,{rounded:o})),children:[ai(p,{text:L,icon:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:l,active:m,selected:b,disabled:N,...!L&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),ai(p,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:N,ariaDisabled:N||void 0,"aria-label":"Toggle dropdown","aria-expanded":v?"true":"false","aria-controls":v?g:void 0,tabIndex:-1})]}),v&&M&&ai(U,{className:"k-menu-popup",children:M})]})};H.states=cb;H.options=ub;H.className=ni;H.defaultOptions=Pl;H.moduleName=oi;H.folderName=Ol;var ri=H;import{jsx as xb}from"react/jsx-runtime";var bb="k-toolbar-separator",ct=e=>xb("div",{className:r(bb,e.className,"k-separator")});var no="toolbar",$o=no;import{Fragment as ii,jsx as G,jsxs as Xo}from"react/jsx-runtime";var At="k-toolbar",hb=[i.focus],Nb={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},vb={scrollButtons:"around"},_=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:l,scrollingPosition:m,section:b,...N}=e,h=[],L=(c,M)=>{let v=[];if(c.type===p&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))v.push(G(p,{...c.props,className:`${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===p)v.push(G(p,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===R)v.push(G(R,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===V)v.push(G(V,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===W)v.push(G(W,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===ri)v.push(G(ri,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`));else if(c.type===B||c.props.className&&c.props.className.includes("k-button-group")){let g=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((E,K)=>{g.push(G(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${K}-${new Date().getTime()}`))}),v.push(G(B,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:g},`${M}-${new Date().getTime()}`))}else c.type===ye?v.push(G(ye,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===pe?v.push(G(pe,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):c.type===nt?v.push(G(nt,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${M}-${new Date().getTime()}`)):v.push(c);v.forEach(g=>{h.push(g)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((M,v)=>{L(M,v)}),Xo("div",{...N,className:r(e.className,At,k(At,{size:t,fillMode:o}),I(At,{focus:a}),{[`${At}-resizable`]:n,[`${At}-scrollable`]:s,[`${At}-scrollable-overlay`]:s&&l==="hidden",[`${At}-scrollable-${m}`]:m&&m!=="both",[`${At}-section`]:b}),role:"toolbar","aria-label":"Toolbar",children:[!s&&h,s&&l==="hidden"&&G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),s&&l==="start"&&Xo(ii,{children:[Xo(B,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-right"})})]}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),s&&l==="end"&&Xo(ii,{children:[G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),Xo(B,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-left"})}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&Xo(ii,{children:[G("span",{className:r("k-toolbar-prev","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-left"})}),G(ct,{className:"k-toolbar-button-separator"}),G("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),G(ct,{className:"k-toolbar-button-separator"}),G("span",{className:r("k-toolbar-next","k-button",k("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:G(S,{className:"k-button-icon",icon:"chevron-right"})})]})]})};_.states=hb;_.options=Nb;_.className=At;_.defaultOptions=vb;_.moduleName=no;_.folderName=$o;import{jsx as Sb}from"react/jsx-runtime";var si="k-toolbar-item",Cb=[i.focus],Lb={},Mb={},Wo=e=>{let{focus:t,...o}=e;return Sb("div",{...o,className:r(e.className,si,I(si,{focus:t})),children:e.children})};Wo.states=Cb;Wo.options=Lb;Wo.className=si;Wo.defaultOptions=Mb;Wo.moduleName=no;Wo.folderName=$o;import{jsx as Kl}from"react/jsx-runtime";var Rl="k-toolbar-popup",gb=[],Ib={size:[d.undefined,d.small,d.medium,d.large],fillMode:[f.undefined,f.solid,f.outline,f.flat]},kb={},ro=e=>{let{size:t,fillMode:o,section:a,...n}=e;return Kl(U,{...n,className:r(e.className,Rl),children:a?Kl("span",{className:r("k-toolbar-items-list",k("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};ro.states=gb;ro.options=Ib;ro.className=Rl;ro.defaultOptions=kb;ro.moduleName=no;ro.folderName=$o;var Ln=ro;import{jsx as _H}from"react/jsx-runtime";import{jsx as GH}from"react/jsx-runtime";import{jsx as $H}from"react/jsx-runtime";import{jsx as QH,jsxs as ZH}from"react/jsx-runtime";import{jsx as o1}from"react/jsx-runtime";import{jsx as Tt,jsxs as Ob}from"react/jsx-runtime";var Ab=H.states,wl={...H.defaultOptions,variant:"text"},Tb=H.options,yb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Eb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...wl,...e},n={},s=Ob(Ce,{size:a.size,children:[Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"}),Tt(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(n.opened=!!o?.[l],n.popup=o?.[l]?s:"")}),t){case"icon-only":return Tt("div",{children:Tt(H,{...a,...n,icon:"star"})});case"icon-and-text":return Tt("div",{children:Tt(H,{...a,...n,icon:"star",children:"Split Button"})});default:return Tt("div",{children:Tt(H,{...a,...n,children:"Split Button"})})}};Jo.options=Tb;Jo.states=Ab;Jo.variants=yb;Jo.defaultOptions=wl;Jo.modifiers=Eb;Jo.className=H.className;import{jsx as io,jsxs as Bb}from"react/jsx-runtime";var _l=e=>io(_,{children:[io(p,{children:"Button"},"toolbar-button"),io(W,{text:"Menu button"},"toolbar-menu-button"),io(H,{children:"Split button"},"toolbar-split-button"),Bb(B,{children:[io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),io(p,{icon:"align-center",children:"Center"}),io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as O1,jsxs as B1}from"react/jsx-runtime";import{jsx as We,jsxs as Dl}from"react/jsx-runtime";var Hl=e=>We(_,{scrollable:!0,...e,children:[We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(H,{children:"Split button"},"toolbar-split-button"),Dl(B,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),We(p,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(H,{children:"Split button"},"toolbar-split-button"),Dl(B,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Je,jsxs as zl}from"react/jsx-runtime";var Gl=({scrollingPosition:e="start",...t})=>Je(_,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),zl(B,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Je(p,{children:"Button"},"toolbar-button"),Je(W,{text:"Menu button"},"toolbar-menu-button"),Je(H,{children:"Split button"},"toolbar-split-button"),zl(B,{children:[Je(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Je(p,{icon:"align-center",children:"Center"}),Je(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Pb,jsx as He,jsxs as Mn}from"react/jsx-runtime";var Ul=({fillMode:e,size:t,...o})=>Mn(Pb,{children:[He(_,{section:!0,fillMode:e,size:t,children:[He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Mn(B,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),He(ct,{className:"k-toolbar-button-separator"}),He(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Mn(Ln,{size:t,fillMode:e,section:!0,...o,children:[He(H,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),He(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),He(ct,{}),He(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Mn(B,{fillMode:e,children:[He(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),He(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),He(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as m2,jsx as d2,jsxs as p2}from"react/jsx-runtime";import{Fragment as M2,jsx as C2,jsxs as L2}from"react/jsx-runtime";import{jsx as Vt}from"react/jsx-runtime";var Kb=_.options,Rb=_.states,Fl={..._.defaultOptions,variant:"default"},wb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],_b=[],qo=e=>{let{variant:t,...o}={...Fl,...e};switch(t){case"responsive":return Vt("div",{children:Vt(Ul,{style:{width:"583px"},...o})});case"overlay":return Vt("div",{children:Vt(Gl,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Vt("div",{children:Vt(Hl,{style:{width:"583px"},...o})});default:return Vt("div",{children:Vt(_l,{style:{width:"583px"},...o})})}};qo.options=Kb;qo.states=Rb;qo.variants=wb;qo.defaultOptions=Fl;qo.modifiers=_b;qo.className=_.className;var li="prompt",Vl=li;import{Fragment as Gb,jsx as $l}from"react/jsx-runtime";var Xl="k-prompt",Db=[],Hb={},zb={},F=e=>{let{...t}=e;return $l("div",{...t,className:r(e.className,Xl),children:$l(Gb,{children:e.children})})};F.states=Db;F.options=Hb;F.className=Xl;F.defaultOptions=zb;F.moduleName=li;F.folderName=Vl;import{jsx as Fb}from"react/jsx-runtime";var Ub="k-prompt-header",ut=e=>{let{...t}=e;return Fb("div",{...t,className:r(e.className,Ub),children:e.children})};import{Fragment as $b,jsx as Wl}from"react/jsx-runtime";var Vb="k-prompt-content",Ee=e=>{let{...t}=e;return Wl("div",{...t,className:r(e.className,Vb),children:Wl($b,{children:e.children})})};import{jsx as Wb}from"react/jsx-runtime";var Xb="k-prompt-view",Oe=e=>{let{...t}=e;return Wb("div",{...t,className:r(e.className,Xb),children:e.children})};import{jsx as Jl,jsxs as qb}from"react/jsx-runtime";var Jb="k-prompt-expander",Sn=e=>{let{title:t,children:o,expanded:a,...n}=e,s=A("prompt-expander-content");return qb("div",{...n,className:r(e.className,Jb),children:[Jl(R,{fillMode:"flat",icon:a?"chevron-up":"chevron-down","aria-expanded":a?"true":"false","aria-controls":a?s:void 0,children:t}),a&&Jl("div",{className:"k-prompt-expander-content",id:s,children:o})]})};import{jsx as Qb}from"react/jsx-runtime";var Yb="k-prompt-footer",so=e=>{let{...t}=e;return Qb("div",{...t,className:r(e.className,Yb),children:e.children})};import{jsx as fz}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var ql="k-prompt-send",Yl={generating:!1},Mt=e=>{let{generating:t=Yl.generating,...o}=e;return Zb(p,{...o,className:r(e.className,ql,{"k-generating":t}),icon:t?"stop":"paper-plane",active:t,fillMode:"flat","aria-label":t?"Stop generating":"Send prompt"})};Mt.states=p.states;Mt.options=p.options;Mt.className=ql;Mt.moduleName=null;Mt.folderName=null;Mt.defaultOptions=Yl;import{jsx as Ql,jsxs as ax}from"react/jsx-runtime";var gn="k-fab",tx=[i.hover,i.focus,i.active,i.selected,i.disabled],ox={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Zl={type:"button"},re=e=>{let{size:t,rounded:o,themeColor:a,text:n,icon:s,type:l=Zl.type,position:m,hover:b,focus:N,active:h,selected:L,disabled:c,...M}=e;return ax("button",{...M,type:l,className:r(e.className,gn,k(gn,{size:t,rounded:o,themeColor:a}),I(gn,{hover:b,focus:N,active:h,disabled:c,selected:L}),{[`!k-pos-absolute k-${m}`]:m}),...!n&&s&&!e["aria-label"]&&{"aria-label":"Action"},...c&&{"aria-disabled":"true"},disabled:c||void 0,children:[s&&Ql(S,{className:"k-fab-icon",icon:s}),n&&Ql("span",{className:"k-fab-text",children:n})]})};re.states=tx;re.options=ox;re.className=gn;re.defaultOptions=Zl;re.moduleName="fab";re.folderName="fab";import{jsx as rx}from"react/jsx-runtime";var nx="k-fab-items",jl=e=>{let{position:t,...o}=e;return rx("ul",{...o,className:r(e.className,nx,{[`k-fab-items-${t}`]:t}),children:e.children})};import{jsx as td,jsxs as sx}from"react/jsx-runtime";var ed="k-fab-item",ix=[i.hover,i.focus,i.active,i.disabled],di=e=>{let{text:t,icon:o,align:a,hover:n,focus:s,active:l,disabled:m,...b}=e;return sx("li",{...b,className:r(e.className,ed,{[`k-text-${a}`]:a},I(ed,{hover:n,focus:s,active:l,disabled:m})),children:[td("span",{className:"k-fab-item-text",children:t}),td(S,{className:"k-fab-item-icon",icon:o})]})};di.states=ix;import{jsx as _z}from"react/jsx-runtime";import{jsx as Gz}from"react/jsx-runtime";import{jsx as $z}from"react/jsx-runtime";import{jsx as qz}from"react/jsx-runtime";import{jsx as Yo,jsxs as ux}from"react/jsx-runtime";var lx=re.options,dx=re.states,px={...re.defaultOptions,variant:"text"},mx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],cx=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}=e,{opened:n}=o||{},s=n?Yo("div",{className:"k-fab-popup k-popup k-popup-transparent",style:{position:"absolute",top:"calc(16px + 36px)",right:"calc(16px + calc(36px / 2) - calc(36px /2))"},children:Yo(jl,{position:"bottom",children:Yo(di,{text:"Item",icon:"pencil",align:"right"})})}):null,l;switch(t){case"icon-only":l=Yo(re,{...a,icon:"star"});break;case"icon-and-text":l=Yo(re,{...a,icon:"star",text:"Action"});break;default:l=Yo(re,{...a,text:"Action"});break}return ux("span",{style:{position:"relative"},children:[l,s]})};Qo.options=lx;Qo.states=dx;Qo.variants=mx;Qo.defaultOptions=px;Qo.modifiers=cx;Qo.className=re.className;import{jsx as fx}from"react/jsx-runtime";var od="k-prompt-stop-fab",ad={generating:!0},lo=e=>{let{generating:t=ad.generating,icon:o,...a}=e;return fx(re,{...a,className:r(e.className,od,{"k-generating":t}),style:{bottom:"16px",right:"16px"},position:"bottom-end",icon:t?"stop":o,active:t,"aria-label":t?"Stop generating":"Action"})};lo.states=p.states;lo.options=p.options;lo.className=od;lo.defaultOptions=ad;var pi="speech-to-text-button",nd=pi;import{jsx as bx}from"react/jsx-runtime";var rd="k-speech-to-text-button",id={icon:"microphone"},ee=e=>{let{listening:t=!1,icon:o=id.icon,...a}=e;return bx(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"})};ee.states=p.states;ee.options=p.options;ee.className=rd;ee.defaultOptions=id;ee.moduleName=pi;ee.folderName=nd;import{jsx as B3}from"react/jsx-runtime";import{jsx as w3}from"react/jsx-runtime";import{jsx as Cx}from"react/jsx-runtime";var xx=p.states,sd={...p.defaultOptions,variant:"normal"},hx={...p.options,fillMode:p.options.fillMode.filter(e=>e!=="clear"&&e!=="link")},Nx=[],vx=[{name:"normal",title:"Normal"},{name:"listening",title:"Listening"}],Zo=e=>{let{variant:t,...o}={...sd,...e},a={};return t==="listening"&&(a.listening=!0),Cx(ee,{...o,...a})};Zo.options=hx;Zo.states=xx;Zo.variants=vx;Zo.defaultOptions=sd;Zo.modifiers=Nx;Zo.className=ee.className;var mi="textarea",ld=mi;import{Fragment as dd,jsx as _a,jsxs as ci}from"react/jsx-runtime";var pd="k-textarea",Lx=[i.hover,i.focus,i.valid,i.invalid,i.required,i.disabled],Mx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.flat,f.outline]},jo={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},J=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=jo.prefixSeparator,suffixSeparator:s=jo.prefixSeparator,affixesOrientation:l=jo.affixesOrientation,flow:m=jo.flow,resize:b=jo.resize,prefix:N,suffix:h,rows:L,value:c,placeholder:M,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:q,id:de,"aria-label":me,"aria-describedby":ce,...ue}=e;return ci(Z,{...ue,size:t,rounded:o,fillMode:a,hover:v,focus:g,valid:y,invalid:E,required:K,disabled:q,className:r(e.className,pd,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[N&&ci(dd,{children:[_a(we,{className:r({"!k-align-items-start":m===l}),direction:l,children:N}),n&&_a(ge,{direction:m==="horizontal"?"vertical":"horizontal"})]}),_a(La,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":b==="x","k-resize-y":b==="y","k-resize":b==="both","k-resize-none":b==="none"}),value:c,placeholder:M,rows:L,disabled:q,id:de,"aria-label":me,"aria-describedby":ce,"aria-invalid":E?"true":void 0}),h&&ci(dd,{children:[s&&_a(ge,{direction:m==="horizontal"?"vertical":"horizontal"}),_a(_e,{className:r({"!k-align-items-start":m===l}),direction:l,children:h})]})]})};J.states=Lx;J.options=Mx;J.className=pd;J.defaultOptions=jo;J.moduleName=mi;J.folderName=ld;import{jsx as o5}from"react/jsx-runtime";import{Fragment as l5,jsx as s5}from"react/jsx-runtime";import{Fragment as f5,jsx as u5}from"react/jsx-runtime";import{jsx as N5}from"react/jsx-runtime";import{jsx as In}from"react/jsx-runtime";var Sx=J.options,gx=J.states,md={...J.defaultOptions,variant:"vertical"},Ix=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],kx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ea=e=>{let{variant:t,modifiers:o,...a}={...md,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?In(S,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?In(S,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?In(J,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):In(J,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};ea.options=Sx;ea.states=gx;ea.variants=Ix;ea.defaultOptions=md;ea.modifiers=kx;ea.className=J.className;var fi="suggestion",cd=fi;import{jsx as kn,jsxs as yx}from"react/jsx-runtime";var An="k-suggestion-group",Ax=[],Tx={},ud={layout:"scrollable",scrollingPosition:"start"},it=e=>{let{layout:t=ud.layout,scrollingPosition:o,...a}=e,n=kn("div",{...a,className:r(An,{"k-suggestion-group-scrollable":t=="scrollable",[`${An}-scrollable-start`]:o==="start"||o==="both",[`${An}-scrollable-end`]:o==="end"||o==="both"},e.className),role:"group",children:t==="scrollable"||t==="scrollButtons"?kn("div",{className:"k-suggestions-scroll",children:e.children}):e.children});return t=="scrollButtons"?yx("div",{className:"k-suggestion-scrollwrap",children:[kn(p,{fillMode:"flat",icon:"chevron-left",size:"xsmall","aria-label":"Scroll left"}),n,kn(p,{fillMode:"flat",icon:"chevron-right",size:"xsmall","aria-label":"Scroll right"})]}):n};it.states=Ax;it.options=Tx;it.className=An;it.defaultOptions=ud;it.moduleName=fi;it.folderName=cd;import{jsx as Px}from"react/jsx-runtime";var Tn="k-suggestion",Ex=[i.active,i.hover,i.focus],Ox={themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},Bx={text:"Suggestion"},ft=e=>{let{themeColor:t,active:o,hover:a,focus:n,text:s,...l}=e;return Px("span",{...l,className:r(e.className,Tn,I(Tn,{hover:a,active:o,focus:n}),k(Tn,{themeColor:t})),role:"button",tabIndex:0,"aria-label":s,children:s})};ft.states=Ex;ft.options=Ox;ft.className=Tn;ft.item=Bx;import{Fragment as V5,jsx as F5,jsxs as $5}from"react/jsx-runtime";import{Fragment as Y5,jsx as q5,jsxs as Q5}from"react/jsx-runtime";import{Fragment as oG,jsx as tG,jsxs as aG}from"react/jsx-runtime";import{Fragment as LG,jsx as vG,jsxs as CG}from"react/jsx-runtime";import{jsx as yn}from"react/jsx-runtime";var Kx="k-chip-action";var yt=e=>{let{type:t,...o}=e,a;switch(t){case"remove":a=yn(S,{icon:"x-circle",size:"small"});break;case"more":a=yn(S,{icon:"more-vertical",size:"small"});break;default:return yn(S,{icon:t,size:"small"})}return yn("span",{...o,className:r(e.className,Kx,`k-chip-${t}-action`),children:a})};var bi="avatar",fd=bi;import{jsx as bd}from"react/jsx-runtime";var Da="k-avatar";var Rx=[i.hover,i.focus,i.active,i.selected,i.disabled],wx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.primary,x.secondary,x.tertiary]},xi={type:"text",border:!1},ze=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,type:s=xi.type,border:l=xi.border,...m}=e;return bd("div",{...m,className:r(e.className,Da,k(Da,{size:t,rounded:o,fillMode:a,themeColor:n}),{[`${Da}-bordered`]:l}),children:bd("span",{className:`${Da}-${s}`,children:e.children})})};ze.states=Rx;ze.options=wx;ze.className=Da;ze.defaultOptions=xi;ze.moduleName=bi;ze.folderName=fd;var po=ze;import{jsx as _x}from"react/jsx-runtime";var xd=e=>_x(po,{type:"icon",...e});import{jsx as Dx}from"react/jsx-runtime";var hd=e=>Dx(po,{type:"text",...e});import{jsx as Hx}from"react/jsx-runtime";var Nd=e=>Hx(po,{type:"image",...e});import{jsx as FG}from"react/jsx-runtime";import{jsx as Ha}from"react/jsx-runtime";var zx=ze.options,Gx=ze.states,Ux={...ze.defaultOptions,variant:"image"},Fx=[{name:"image",title:"Image"},{name:"icon",title:"Icon Avatar"},{name:"text",title:"Text Avatar"}],Vx=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"icon":return Ha(xd,{...o,children:Ha(S,{icon:"star"})});case"text":return Ha(hd,{...o,children:"JO"});default:return Ha(Nd,{...o,children:Ha("img",{src:"https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg"})})}};ta.options=zx;ta.states=Gx;ta.variants=Fx;ta.defaultOptions=Ux;ta.modifiers=Vx;ta.className=ze.className;var za="chip",En=za,On="https://demos.telerik.com/kendo-ui/content/web/Customers/RICSU.jpg";import{jsx as oa,jsxs as Wx}from"react/jsx-runtime";var Bn="k-chip",$x=[i.hover,i.focus,i.active,i.selected,i.disabled],Xx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[f.undefined,f.solid,f.outline],themeColor:[x.undefined,x.base,x.success,x.warning,x.error,x.info]},vd={avatarImage:"/packages/html/assets/avatar.jpg"},Ge=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,text:s,icon:l,actions:m,showAvatar:b,avatarImage:N=vd.avatarImage,hover:h,focus:L,active:c,selected:M,disabled:v,...g}=e;return Wx("div",{...g,className:r(e.className,Bn,k(Bn,{size:t,rounded:o,fillMode:a,themeColor:n}),I(Bn,{hover:h,focus:L,active:c,disabled:v,selected:M})),role:e.role||"button","aria-pressed":e.role==="option"?void 0:M?"true":"false",...e.role==="option"&&M!==void 0&&{"aria-selected":M?"true":"false"},"aria-disabled":v?"true":void 0,children:[l&&oa(S,{className:"k-chip-icon",icon:l,size:"small"}),b&&oa(ze,{className:"k-chip-avatar",type:"image",children:oa("img",{src:N,alt:""})}),oa("span",{className:"k-chip-content",children:e.children?e.children:s&&oa("span",{className:"k-chip-label",children:s})}),m&&oa("span",{className:"k-chip-actions",children:m})]})};Ge.states=$x;Ge.options=Xx;Ge.className=Bn;Ge.defaultOptions=vd;Ge.moduleName=za;Ge.folderName=En;var st=Ge;import{jsx as Qx}from"react/jsx-runtime";var hi="k-chip-list",Jx=[],qx={size:[d.undefined,d.small,d.medium,d.large]},Yx={},Le=e=>{let{size:t,multiselectable:o,ariaLabel:a,...n}=e;return Qx("div",{...n,className:r(e.className,hi,k(hi,{size:t})),role:e.role||"listbox","aria-label":e.role==="none"?void 0:a||"chip list","aria-orientation":e.role==="none"?void 0:"horizontal","aria-multiselectable":o?"true":void 0,children:e.children})};Le.states=Jx;Le.options=qx;Le.className=hi;Le.defaultOptions=Yx;Le.moduleName=za;Le.folderName=En;import{jsx as vU}from"react/jsx-runtime";import{jsx as SU}from"react/jsx-runtime";import{jsx as Zx}from"react/jsx-runtime";var Pn=e=>Zx(st,{text:"text",...e});import{jsx as OU}from"react/jsx-runtime";import{jsx as RU}from"react/jsx-runtime";import{Fragment as GU,jsx as zU,jsxs as UU}from"react/jsx-runtime";import{jsx as WU,jsxs as JU}from"react/jsx-runtime";import{jsx as jU,jsxs as eF}from"react/jsx-runtime";import{jsx as iF,jsxs as sF}from"react/jsx-runtime";import{jsx as aa,jsxs as nh}from"react/jsx-runtime";var jx={...st.options,...Le.options},eh=[],th=Le.states,oh={...st.defaultOptions,...Le.defaultOptions},ah=[{name:"icon",title:"Icon",type:"boolean"},{name:"actions",title:"Actions",type:"boolean"},{name:"avatar",title:"Avatar",type:"boolean"}],na=e=>{let{modifiers:t,className:o,...a}=e,n=t?.icon,s=t?.actions,l=t?.avatar,m=l?On:void 0;return nh(Le,{size:a.size,className:o,children:[aa(Pn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Pn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"}),aa(Pn,{...a,role:"option","aria-selected":"false","aria-pressed":void 0,icon:n?"star":void 0,actions:s?aa(yt,{type:"remove"}):void 0,showAvatar:l,avatarImage:m,children:"Chip"})]})};na.options=jx;na.states=th;na.variants=eh;na.defaultOptions=oh;na.modifiers=ah;na.className=Le.className;import{jsx as Ni}from"react/jsx-runtime";var rh=Ge.states,ih=Ge.defaultOptions,sh=Ge.options,lh=[],dh=[{name:"icon",title:"Icon"},{name:"avatar",title:"Avatar"},{name:"remove-icon",title:"`Remove` Icon"},{name:"more-options",title:"`More options` Icon"}],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"icon":a.icon=t?.[n]?"arrow-down":void 0;break;case"avatar":a.showAvatar=!!t?.[n],a.avatarImage=t?.[n]?On:void 0;break;case"more-options":a.actions||(a.actions=[]),a.actions[0]=t?.[n]?Ni(yt,{type:"more"}):void 0;break;case"remove-icon":a.actions||(a.actions=[]),a.actions[1]=t?.[n]?Ni(yt,{type:"remove"}):void 0;break;default:break}}),Ni(Ge,{...o,...a,children:"Chip component"})};ra.options=sh;ra.states=rh;ra.variants=lh;ra.defaultOptions=ih;ra.modifiers=dh;ra.className=Ge.className;import{Fragment as YF,jsx as JF,jsxs as qF}from"react/jsx-runtime";import{jsx as mh}from"react/jsx-runtime";var ph="k-card-callout",Cd=e=>{let{callout:t,...o}=e;return mh("span",{...o,className:r(e.className,ph,{[`k-callout-${Ei.calloutMap[t]||t}`]:t})})};var qe="card",lt=qe;import{Fragment as bh,jsx as Ld,jsxs as xh}from"react/jsx-runtime";var vi="k-card",ch=[i.hover,i.focus,i.selected,i.disabled],uh={},fh={},Q=e=>{let{orientation:t,callout:o,hover:a,focus:n,selected:s,disabled:l,...m}=e;return xh("div",{...m,className:r(e.className,vi,I(vi,{hover:a,focus:n,disabled:l,selected:s}),{[`k-card-${t}`]:t,"k-card-with-callout":o}),children:[o&&o!=="true"&&Ld(Cd,{callout:o}),Ld(bh,{children:e.children})]})};Q.states=ch;Q.options=uh;Q.className=vi;Q.defaultOptions=fh;Q.moduleName=qe;Q.folderName=lt;import{Fragment as Ch,jsx as Md}from"react/jsx-runtime";var Ci="k-card-list",hh=[],Nh={},vh={},mo=e=>{let{...t}=e;return Md("div",{...t,className:r(e.className,Ci,I(Ci,{})),role:"list",children:Md(Ch,{children:e.children})})};mo.states=hh;mo.options=Nh;mo.className=Ci;mo.defaultOptions=vh;mo.moduleName=qe;mo.folderName=lt;import{jsx as gh}from"react/jsx-runtime";var Sd="k-card-group",Lh=[],Mh={},Sh={},ia=e=>{let{...t}=e;return gh("div",{...t,className:r(e.className,Sd),children:e.children})};ia.states=Lh;ia.options=Mh;ia.className=Sd;ia.defaultOptions=Sh;ia.moduleName=qe;ia.folderName=lt;import{jsx as Th}from"react/jsx-runtime";var Li="k-card-wrap",Ih=[i.focus,i.selected],kh={},Ah={},sa=e=>{let{focus:t,selected:o,...a}=e;return Th("div",{...a,className:r(e.className,Li,I(Li,{focus:t,selected:o})),children:e.children})};sa.states=Ih;sa.options=kh;sa.className=Li;sa.defaultOptions=Ah;sa.moduleName=qe;sa.folderName=lt;import{jsx as Eh}from"react/jsx-runtime";var Mi="k-card-title",yh=[i.hover,i.focus],co=e=>{let{hover:t,focus:o,...a}=e;return Eh("div",{...a,className:r(e.className,Mi,I(Mi,{hover:t,focus:o})),children:e.children})};co.states=yh;co.className=Mi;import{jsx as Bh}from"react/jsx-runtime";var Oh="k-card-subtitle",Kn=e=>{let{...t}=e;return Bh("div",{...t,className:r(e.className,Oh),children:e.children})};import{Fragment as Id,jsx as Rn}from"react/jsx-runtime";var gd="k-card-media",Si=e=>{let{src:t,...o}=e;return Rn(Id,{children:t?Rn("img",{...o,className:r(e.className,gd),src:t}):Rn("span",{...o,className:r(e.className,gd),children:Rn(Id,{children:e.children})})})};import{Fragment as Kh,jsx as Ga,jsxs as Rh}from"react/jsx-runtime";var Ph="k-card-header",Et=e=>{let{title:t,subtitle:o,details:a,...n}=e;return Rh("div",{...n,className:r(e.className,Ph),children:[t&&Ga(co,{children:t}),o&&Ga(Kn,{children:o}),Ga(Kh,{children:e.children}),a&&Ga("span",{className:"k-card-header-actions",children:Ga(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as _h}from"react/jsx-runtime";var wh="k-card-footer",gi=e=>{let{...t}=e;return _h("div",{...t,className:r(e.className,wh),children:e.children})};import{Fragment as Hh,jsx as Ua,jsxs as zh}from"react/jsx-runtime";var Dh="k-card-body",Be=e=>{let{title:t,subtitle:o,details:a,...n}=e;return zh("div",{...n,className:r(e.className,Dh),children:[t&&Ua(co,{children:t}),o&&Ua(Kn,{children:o}),Ua(Hh,{children:e.children}),a&&Ua("span",{className:"k-card-header-actions",children:Ua(p,{className:"k-card-details",icon:"more-vertical",fillMode:"flat","aria-label":"Card details"})})]})};import{jsx as Vh}from"react/jsx-runtime";var kd="k-card-deck",Gh=[],Uh={},Fh={},la=e=>{let{...t}=e;return Vh("div",{...t,className:r(e.className,kd),children:e.children})};la.states=Gh;la.options=Uh;la.className=kd;la.defaultOptions=Fh;la.moduleName=qe;la.folderName=lt;import{jsx as Jh}from"react/jsx-runtime";var Ad="k-card-deck-scrollwrap",$h=[],Xh={},Wh={},da=e=>{let{...t}=e;return Jh("div",{...t,className:r(e.className,Ad),children:e.children})};da.states=$h;da.options=Xh;da.className=Ad;da.defaultOptions=Wh;da.moduleName=qe;da.folderName=lt;import{Fragment as qh,jsx as pa,jsxs as Td}from"react/jsx-runtime";var yd=e=>pa(Q,{orientation:"vertical",children:Td(qh,{children:[pa(Et,{children:"Card Header"}),pa(Be,{children:pa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Td(z,{className:"k-card-actions",children:[pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),pa(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{Fragment as Yh,jsx as Fa,jsxs as Ed}from"react/jsx-runtime";var Od=e=>Fa(Q,{orientation:"horizontal",children:Ed(Yh,{children:[Fa(Be,{title:"Card Title",children:Fa("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),Ed(z,{orientation:"vertical",className:"k-card-actions",children:[Fa(p,{fillMode:"flat",themeColor:"primary",children:"Action 1"}),Fa(p,{fillMode:"flat",themeColor:"primary",children:"Action 2"})]})]}),...e});import{jsx as c6,jsxs as u6}from"react/jsx-runtime";import{jsx as Pe,jsxs as Va}from"react/jsx-runtime";var Qh=Q.options,Zh=Q.states,Bd={...Q.defaultOptions,variant:"vertical"},jh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eN=[{name:"media",title:"Card with Media"},{name:"header",title:"Card with Header"},{name:"footer",title:"Card with Footer"}],ma=e=>{let{variant:t,modifiers:o,...a}={...Bd,...e},n=!1,s=!1,l=!1;return Object.keys(o||{}).forEach(m=>{switch(m){case"media":{n=!!o?.[m];break}case"header":{s=!!o?.[m];break}case"footer":{l=!!o?.[m];break}}}),t==="horizontal"?Va(Od,{style:{maxWidth:"420px"},...a,children:[n&&Pe(Si,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Va("div",{children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),Pe(Be,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(gi,{children:"Card Footer"})]}),(s||l)&&Pe("span",{className:"k-separator k-separator-vertical"}),Va(z,{orientation:"vertical",alignment:"stretched",className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]}):Va(yd,{style:{maxHeight:"450px",width:"300px"},...a,children:[s&&Pe(Et,{title:"Header Title",subtitle:"Header Subtitle"}),n&&Pe(Si,{src:"https://demos.telerik.com/kendo-ui/content/web/cards/rome.jpg"}),Pe(Be,{title:"Title",subtitle:"Subtitle",children:Pe("p",{children:"Some quick example text to build on the card title and make up the bulk of the card's content."})}),l&&Pe(gi,{children:"Card Footer"}),Va(z,{className:"k-card-actions",children:[Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"}),Pe(p,{fillMode:"flat",themeColor:"primary",children:"Button"})]})]})};ma.options=Qh;ma.states=Zh;ma.variants=jh;ma.defaultOptions=Bd;ma.modifiers=eN;ma.className=Q.className;import{jsx as Q6,jsxs as Z6}from"react/jsx-runtime";var Ii="panelbar",Pd=Ii;import{jsx as nN}from"react/jsx-runtime";var Kd="k-panelbar",tN=[],oN={},aN={},Me=e=>{let{activeDescendant:t,...o}=e;return nN("ul",{...o,className:r(e.className,Kd),role:"tree","aria-activedescendant":t,children:e.children})};Me.states=tN;Me.options=oN;Me.className=Kd;Me.defaultOptions=aN;Me.moduleName=Ii;Me.folderName=Pd;import ki from"react";import{jsx as wn,jsxs as Rd}from"react/jsx-runtime";var wd="k-panelbar-item",rN=[i.hover,i.focus,i.selected,i.disabled],iN={},_n={level:0,expanded:!1,text:"Item"},T=e=>{let{text:t=_n.text,level:o=_n.level,expanded:a=_n.expanded,header:n,hover:s,focus:l,selected:m,disabled:b,icon:N,iconClass:h,ariaSelected:L,children:c,...M}=e,v=!!c;return Rd("li",{...M,className:r(e.className,wd,{"k-panelbar-header":n,[`k-level-${o}`]:o||o===0,"k-expanded":a}),role:"treeitem","aria-expanded":v?a?"true":"false":void 0,"aria-selected":L?"true":"false","aria-disabled":b?"true":void 0,children:[Rd("span",{className:r("k-link",I("k-link",{hover:s,focus:l,disabled:b,selected:m})),children:[N&&wn(S,{className:"k-panelbar-item-icon",icon:N}),h&&!N&&wn("span",{className:`k-panelbar-item-icon ${h}`}),wn("span",{className:"k-panelbar-item-text",children:t}),v&&wn(S,{className:r("k-panelbar-toggle",a?"k-panelbar-collapse":"k-panelbar-expand"),icon:`chevron-${a?"up":"down"}`})]}),a&&c,!a&&c&&ki.Children.map(c,g=>ki.isValidElement(g)?ki.cloneElement(g,{"aria-hidden":"true",style:{display:"none"}}):g)]})};T.states=rN;T.options=iN;T.className=wd;T.moduleName=null;T.folderName=null;T.defaultOptions=_n;import{jsx as pN}from"react/jsx-runtime";var _d="k-panelbar-group",sN=[],lN={},dN={},he=e=>{let{ariaHidden:t,...o}=e;return pN("ul",{...o,className:r(e.className,_d),role:"group",...t!==void 0&&{"aria-hidden":t?"true":void 0},children:e.children})};he.states=sN;he.options=lN;he.className=_d;he.moduleName=null;he.folderName=null;he.defaultOptions=dN;import{jsx as fN}from"react/jsx-runtime";var Dd="k-panelbar-content",mN=[],cN={},uN={},se=e=>{let{...t}=e;return fN("div",{...t,className:r(e.className,Dd),children:e.children})};se.states=mN;se.options=cN;se.className=Dd;se.defaultOptions=uN;import{Fragment as bN,jsx as $t,jsxs as xN}from"react/jsx-runtime";var $a=e=>{let t=A("pb-item"),o=A("pb-item"),a=A("pb-item"),n=A("pb-item");return $t(Me,{children:xN(bN,{children:[$t(T,{header:!0,text:"Item 1",id:t,children:$t(se,{children:"content"})}),$t(T,{header:!0,text:"Item 2",id:o,children:$t(se,{children:"content"})}),$t(T,{header:!0,text:"Item 3",id:a,children:$t(se,{children:"content"})}),$t(T,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as g7,jsx as S7,jsxs as I7}from"react/jsx-runtime";import{Fragment as hN,jsx as Ke,jsxs as Ai}from"react/jsx-runtime";var Hd=e=>{let t=A("pb-item"),o=A("pb-item"),a=A("pb-item"),n=A("pb-item"),s=A("pb-child"),l=A("pb-child"),m=A("pb-child"),b=A("pb-child"),N=A("pb-child"),h=A("pb-child"),L=A("pb-child");return Ke(Me,{activeDescendant:o,children:Ai(hN,{children:[Ke(T,{header:!0,text:"Item 1",id:t,children:Ke(se,{children:"content"})}),Ke(T,{header:!0,expanded:!0,text:"Item 2",id:o,ariaSelected:!0,focus:!0,children:Ai(he,{children:[Ke(T,{level:1,text:"Child 1",id:s}),Ke(T,{level:1,expanded:!0,text:"Child 2",id:l,children:Ai(he,{children:[Ke(T,{level:2,text:"Child 2.1",id:m}),Ke(T,{level:2,text:"Child 2.2",id:b})]})}),Ke(T,{level:1,text:"Child 3",id:N,children:Ke(he,{children:Ke(T,{level:2,text:"Child 3.1",id:h})})}),Ke(T,{level:1,text:"Child 4",id:L})]})}),Ke(T,{header:!0,text:"Item 3",id:a,children:Ke(se,{children:"content"})}),Ke(T,{header:!0,text:"Item 4",id:n})]}),...e})};import{Fragment as zd,jsx as te,jsxs as Dn}from"react/jsx-runtime";var NN=Me.options,vN=Me.states,Gd={...Me.defaultOptions,variant:"normal"},CN=[{name:"normal",title:"Normal"},{name:"expand",title:"Expanded"}],LN=[{name:"icon",title:"Item icons"},{name:"disabled",title:"Disabled item"}],ca=e=>{let{variant:t,modifiers:o,...a}={...Gd,...e},n={},s={folder:"folder",gear:"gear",file:"file",image:"image"};return Object.keys(o||{}).forEach(l=>{switch(l){case"icon":{n.icon=o?.[l]?s:void 0;break}case"disabled":n.disabled=!!o?.[l]}}),t==="expand"?te(zd,{children:Dn(Hd,{style:{width:"300px"},...a,children:[te(T,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.folder,selected:!0,header:!0,expanded:!0,text:"Item 2",children:Dn(he,{children:[te(T,{level:1,text:"Child 1"}),te(T,{level:1,expanded:!0,text:"Child 2",children:Dn(he,{children:[te(T,{level:2,text:"Child 2.1"}),te(T,{icon:n.icon?.image,level:2,text:"Child 2.2"})]})}),te(T,{disabled:n.disabled,level:1,text:"Child 3",children:te(se,{children:"content"})}),te(T,{level:1,text:"Child 4"})]})}),te(T,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.file,header:!0,text:"Item 4"})]})}):te(zd,{children:Dn($a,{style:{width:"300px"},...a,children:[te(T,{icon:n.icon?.gear,header:!0,text:"Item 1",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.folder,header:!0,text:"Item 2",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.folder,disabled:n.disabled,header:!0,text:"Item 3",children:te(se,{children:"content"})}),te(T,{icon:n.icon?.file,header:!0,text:"Item 4"})]})})};ca.options=NN;ca.states=vN;ca.variants=CN;ca.defaultOptions=Gd;ca.modifiers=LN;ca.className=Me.className;import{jsx as j7,jsxs as e4}from"react/jsx-runtime";import{Fragment as c4,jsx as p4,jsxs as m4}from"react/jsx-runtime";import{Fragment as S4,jsx as L4,jsxs as M4}from"react/jsx-runtime";import{Fragment as O4,jsx as E4,jsxs as B4}from"react/jsx-runtime";import{Fragment as Ud,jsx as C,jsxs as le}from"react/jsx-runtime";var MN=F.options,SN=F.states,gN={...F.defaultOptions,variant:"ask"},IN=[{name:"ask",title:"Ask AI"},{name:"output",title:"Output"},{name:"more",title:"More Actions"}],kN=[{name:"stt",title:"SpeechToText"},{name:"suggestions",title:"Suggestions"}],ua=e=>{let{variant:t,modifiers:o,...a}={...e},n=C(Ud,{children:le(it,{layout:"wrap",children:[C(ft,{text:"Post for work-life balance importance"}),C(ft,{text:"Out of office"})]})}),s={suggestions:n,stt:!0};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"suggestions":s.suggestions=!!o?.[l];break;case"stt":s.stt=!!o?.[l];break}}),t){case"more":return C(U,{className:"k-prompt-popup",children:le(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:le(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full",selected:!0})]})}),C(Ee,{children:C(Oe,{children:le($a,{children:[C(T,{header:!0,icon:"brush",text:"Change Formality",children:le(he,{children:[C(T,{level:1,text:"Casual"}),C(T,{level:1,text:"Neutral"}),C(T,{level:1,text:"Formal"})]})}),C(T,{header:!0,expanded:!0,icon:"edit-tools",text:"Translate",children:le(he,{children:[C(T,{level:1,text:"German"}),C(T,{level:1,text:"Spanish"})]})}),C(T,{header:!0,icon:"min-width",text:"Simplify"}),C(T,{header:!0,icon:"arrows-left-right",text:"Expand"})]})})})]})});case"output":return C(U,{className:"k-prompt-popup",children:le(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:le(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",selected:!0,children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),le(Ee,{children:[C(lo,{}),C(Oe,{children:le("div",{className:"k-card-list",children:[le(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Linked in post for work/life balance importance"}),C(Be,{children:le("p",{children:["\u{1F31F} Embracing Work/Life Balance for Success \u{1F31F}",C("br",{}),C("br",{}),"Hello LinkedIn network! \u{1F44B} Today, let's talk about a key to our well-being: work/life balance. \u{1F310}\u2696\uFE0F",C("br",{}),C("br",{}),"In our fast-paced world, balancing professional and personal life is not just a luxury, it's a necessity for health and productivity. \u{1F4C8}\u{1F33F}",C("br",{}),C("br",{}),"\u2728 Key Points \u2728",C("br",{}),C("br",{}),"Enhances Productivity: Less burnout, more motivation. \u{1F680}",C("br",{}),"Boosts Creativity: New experiences = fresh ideas. \u{1F4A1}",C("br",{}),"Improves Health: Mental and physical benefits. \u{1F9D8}\u200D\u2642\uFE0F",C("br",{}),"Strengthens Relationships: Quality time matters. \u{1F91D}",C("br",{}),"Let's champion a culture where success and well-being go hand in hand. Share your work/life balance tips below! \u{1F447}",C("br",{}),C("br",{}),"#WorkLifeBalance #Productivity #WellBeing"]})}),le(z,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]}),le(Q,{children:[C(Et,{title:"Generated with AI",subtitle:"Out of Office"}),C(Be,{children:le("p",{children:["Subject: Out of Office: [Your Name]",C("br",{}),C("br",{}),"Dear [Recipient's Name],",C("br",{}),C("br",{}),"I am currently out of the office until [Return Date] and won't have access to email. For urgent matters, please contact [Colleague's Name] at [Colleague's Email]. I'll respond to your email upon my return.",C("br",{}),C("br",{}),"Thank you,",C("br",{}),"[Your Name]"]})}),le(z,{className:"k-card-actions",alignment:"start",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),C(R,{fillMode:"flat",themeColor:"base",icon:"arrow-rotate-cw",children:"Retry"}),C("span",{className:"k-spacer"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-up"}),C(V,{fillMode:"flat",themeColor:"base",icon:"thumb-down"})]})]})]})})]})]})});default:return C(U,{className:"k-prompt-popup",children:le(F,{style:{width:"330px",height:"350px"},...a,children:[C(ut,{children:le(_,{className:"k-toolbar-flat",children:[C(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),C(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),C(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full"})]})}),C(Ee,{children:le(Oe,{children:[C(J,{resize:"none",rows:2,placeholder:"Ask or generate content with AI",suffixSeparator:!1,suffix:C(Ud,{children:s.stt?C(ee,{fillMode:"flat"}):null})}),C(Sn,{expanded:s.suggestions,title:"Suggestions",children:n})]})}),C(so,{children:C(z,{className:"k-prompt-actions",alignment:"start",children:C(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]})})}};ua.options=MN;ua.states=SN;ua.variants=IN;ua.defaultOptions=gN;ua.modifiers=kN;ua.className=F.className;import{Fragment as ON,jsx as dt,jsxs as Hn}from"react/jsx-runtime";var AN=F.options,TN=F.states,yN={...F.defaultOptions},EN=[{name:"commands",title:"Commands Menu",default:!0},{name:"stt",title:"SpeechToText",default:!0},{name:"response",title:"Response Card"},{name:"generating",title:"Generating"}],fa=e=>{let{modifiers:t,...o}={...e},a={commands:!0,stt:!0};Object.keys(t||{}).forEach(s=>{switch(s){case"commands":a.commands=t?.[s]?!0:void 0;break;case"stt":a.stt=t?.[s]?!0:void 0;break;case"response":a.response=t?.[s]?!0:void 0;break;case"generating":a.generating=t?.[s]?!0:void 0;break;default:return}});let n=Hn(Q,{children:[dt(Be,{style:{maxHeight:"150px",overflowY:"auto"},children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,"}),Hn(z,{className:"k-card-actions",alignment:"start",children:[dt(R,{fillMode:"flat",themeColor:"primary",icon:"copy",children:"Copy"}),dt(R,{fillMode:"flat",themeColor:"primary",icon:"insert-bottom",children:"Insert"}),dt(R,{fillMode:"flat",themeColor:"primary",icon:"check",children:"Replace"}),dt(R,{fillMode:"flat",themeColor:"base",icon:"cancel",children:"Discard"})]})]});return dt(U,{className:"k-prompt-popup",children:dt(F,{style:{width:"450px",height:"auto"},...o,children:dt(Ee,{children:Hn(Oe,{children:[a.response?n:null,dt(J,{rows:1,placeholder:"Edit, generate or explain ...",resize:"none",flow:"horizontal",prefixSeparator:a.commands&&a.stt,suffixSeparator:!1,prefix:Hn(ON,{children:[a.commands?dt(V,{fillMode:"flat",icon:"menu"}):null,a.stt?dt(ee,{fillMode:"flat"}):null]}),suffix:dt(Mt,{generating:!!a.generating})})]})})})})};fa.options=AN;fa.states=TN;fa.variants=[];fa.defaultOptions=yN;fa.modifiers=EN;fa.className=F.className;import{Fragment as BN,jsx as pt,jsxs as Fd}from"react/jsx-runtime";var _8=e=>Fd(F,{...e,children:[pt(ut,{children:Fd(_,{fillMode:"flat",children:[pt(R,{fillMode:"flat",themeColor:"primary",icon:"sparkles",rounded:"full",selected:!0,children:"Ask AI"}),pt(R,{fillMode:"flat",themeColor:"primary",icon:"comment",rounded:"full",children:"Output"}),pt(V,{fillMode:"flat",themeColor:"primary",icon:"more-horizontal",rounded:"full","aria-label":"More actions"})]})}),pt(Ee,{children:pt(Oe,{children:pt(J,{resize:"y",rows:1,suffixSeparator:!1,placeholder:"Ask or generate content with AI","aria-label":"Ask or generate content with AI",suffix:pt(BN,{children:pt(ee,{fillMode:"flat"})})})})}),pt(so,{children:pt(z,{className:"k-prompt-actions",alignment:"start",children:pt(R,{icon:"sparkles",themeColor:"primary",rounded:"full",children:"Generate"})})})]});export{_8 as PromptNormal};