@progress/kendo-themes-html 14.5.1-dev.6 → 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.
- package/dist/cjs/colorgradient/demos/colorgradient.js +1 -1
- package/dist/cjs/colorpicker/colorpicker.spec.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-adaptive.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-disabled.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-normal.js +1 -1
- package/dist/cjs/combobox/demos/combobox.js +1 -1
- package/dist/cjs/combobox/templates/combobox-grouping-modern-custom-value.js +1 -1
- package/dist/cjs/filemanager/filemanager-listview.spec.js +1 -1
- package/dist/cjs/floating-toolbar/floating-toolbar.spec.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-option-preview.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-pane.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-placeholder.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-resize-handles.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
- package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -0
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/listview/demos/listview.js +1 -1
- package/dist/cjs/listview/listview.spec.js +1 -1
- package/dist/cjs/listview/templates/listview-no-data.js +1 -1
- package/dist/cjs/listview/templates/listview-normal.js +1 -1
- package/dist/cjs/listview/templates/listview-selectable.js +1 -1
- package/dist/cjs/pager/index.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
- package/dist/cjs/signature/index.js +1 -1
- package/dist/cjs/signature/signature.spec.js +1 -1
- package/dist/cjs/signature/templates/signature-maximized.js +1 -1
- package/dist/cjs/signature/templates/signature-normal.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-action-bar.js +1 -1
- package/dist/cjs/toolbar/demos/toolbar.js +1 -1
- package/dist/cjs/toolbar/templates/toolbar-scrollable-buttons-hidden.js +1 -1
- package/dist/cjs/toolbar/templates/toolbar-scrollable.js +1 -1
- package/dist/esm/colorgradient/demos/colorgradient.mjs +1 -1
- package/dist/esm/colorpicker/colorpicker.spec.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-adaptive.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-disabled.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-normal.mjs +1 -1
- package/dist/esm/combobox/demos/combobox.mjs +1 -1
- package/dist/esm/combobox/templates/combobox-grouping-modern-custom-value.mjs +1 -1
- package/dist/esm/filemanager/filemanager-listview.spec.mjs +1 -1
- package/dist/esm/floating-toolbar/floating-toolbar.spec.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-option-preview.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-placeholder.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-resize-handles.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -0
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/listview/demos/listview.mjs +1 -1
- package/dist/esm/listview/templates/listview-no-data.mjs +1 -1
- package/dist/esm/listview/templates/listview-normal.mjs +1 -1
- package/dist/esm/listview/templates/listview-selectable.mjs +1 -1
- package/dist/esm/pager/index.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
- package/dist/esm/signature/index.mjs +1 -1
- package/dist/esm/signature/signature.spec.mjs +1 -1
- package/dist/esm/signature/templates/signature-maximized.mjs +1 -1
- package/dist/esm/signature/templates/signature-normal.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-action-bar.mjs +1 -1
- package/dist/esm/toolbar/demos/toolbar.mjs +1 -1
- package/dist/esm/toolbar/templates/toolbar-scrollable-buttons-hidden.mjs +1 -1
- package/dist/esm/toolbar/templates/toolbar-scrollable.mjs +1 -1
- package/dist/types/combobox/combobox.spec.d.ts +1 -1
- package/dist/types/imageeditor/imageeditor-option-list.d.ts +18 -0
- package/dist/types/imageeditor/imageeditor-option-preview.d.ts +18 -0
- package/dist/types/imageeditor/imageeditor-pane.d.ts +21 -0
- package/dist/types/imageeditor/imageeditor-placeholder.d.ts +7 -0
- package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +12 -0
- package/dist/types/imageeditor/imageeditor-resize-handles.d.ts +14 -0
- package/dist/types/imageeditor/imageeditor-sidebar.d.ts +11 -0
- package/dist/types/imageeditor/imageeditor-toolbar.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor.spec.d.ts +40 -4
- package/dist/types/imageeditor/index.d.ts +18 -0
- package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +6 -0
- package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -0
- package/dist/types/numerictextbox/numerictextbox.spec.d.ts +1 -1
- package/package.json +5 -5
- package/src/combobox/combobox.spec.tsx +2 -2
- package/src/imageeditor/imageeditor-option-list.tsx +53 -0
- package/src/imageeditor/imageeditor-option-preview.tsx +56 -0
- package/src/imageeditor/imageeditor-pane.tsx +70 -0
- package/src/imageeditor/imageeditor-placeholder.tsx +51 -0
- package/src/imageeditor/imageeditor-preview-thumbnail.tsx +42 -0
- package/src/imageeditor/imageeditor-resize-handles.tsx +37 -0
- package/src/imageeditor/imageeditor-sidebar.tsx +66 -0
- package/src/imageeditor/imageeditor-toolbar.tsx +14 -13
- package/src/imageeditor/imageeditor.spec.tsx +79 -13
- package/src/imageeditor/index.ts +19 -0
- package/src/imageeditor/templates/imageeditor-adjustments.tsx +88 -0
- package/src/imageeditor/templates/imageeditor-blur.tsx +92 -0
- package/src/imageeditor/templates/imageeditor-crop.tsx +64 -59
- package/src/imageeditor/templates/imageeditor-disabled.tsx +45 -0
- package/src/imageeditor/templates/imageeditor-filters.tsx +98 -0
- package/src/imageeditor/templates/imageeditor-frames.tsx +180 -0
- package/src/imageeditor/templates/imageeditor-insert-line.tsx +141 -0
- package/src/imageeditor/templates/imageeditor-insert-shape.tsx +195 -0
- package/src/imageeditor/templates/imageeditor-insert-text.tsx +143 -0
- package/src/imageeditor/templates/imageeditor-normal.tsx +20 -1
- package/src/imageeditor/templates/imageeditor-pixelate.tsx +92 -0
- package/src/imageeditor/templates/imageeditor-resize.tsx +68 -50
- package/src/imageeditor/templates/imageeditor-rotate.tsx +98 -0
- package/src/imageeditor/templates/imageeditor-shadow.tsx +96 -0
- package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +373 -0
- package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-blur-pane.tsx +29 -0
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +3 -2
- package/src/imageeditor/tests/imageeditor-export-dialog.tsx +85 -0
- package/src/imageeditor/tests/imageeditor-filters-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-frames-pane.tsx +22 -0
- package/src/imageeditor/tests/imageeditor-insert-line-pane.tsx +52 -0
- package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +57 -0
- package/src/imageeditor/tests/imageeditor-insert-text-pane.tsx +51 -0
- package/src/imageeditor/tests/imageeditor-interactive-states.tsx +79 -0
- package/src/imageeditor/tests/imageeditor-option-list-states.tsx +17 -0
- package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +29 -0
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +15 -1
- package/src/imageeditor/tests/imageeditor-responsive.tsx +71 -0
- package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +27 -0
- package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-sidebar-scrollable.tsx +97 -0
- package/src/numerictextbox/numerictextbox.spec.tsx +2 -2
- package/src/signature/signature.spec.tsx +4 -17
- package/src/signature/tests/signature-flat.tsx +0 -3
- package/src/signature/tests/signature-outline.tsx +0 -3
- package/src/signature/tests/signature-solid.tsx +0 -3
- package/src/signature/tests/signature.tsx +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...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 I=(e,t)=>i({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),C=(e,t)=>{let{valid:o,invalid:a,hover:n,focus:s,checked:d,active:m,selected:f,disabled:x,indeterminate:N,loading:h,empty:u,readonly:v,highlighted:L,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":d,"k-active":m,"k-selected":f,"k-disabled":x,"k-indeterminate":N&&!d,"k-loading":h,"k-empty":u,"k-readonly":v,"k-highlighted":L},Object.keys(M).reduce((g,E)=>(E.startsWith("k-")?g[E]=M[E]:g[`k-${E}`]=M[E],g),{}))};function Xr(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},et={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},S={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var mn={};function O(e){return mn[e]=(mn[e]||0)+1,`k-${e}-${mn[e]}`}import{Fragment as od,jsx as Wr}from"react/jsx-runtime";var cn="k-font-icon",jl=[],ed={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info]},td={},Yo=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?Wr("span",{...d,className:i(e.className,cn,I(cn,{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"}):Wr(od,{})};Yo.states=jl;Yo.options=ed;Yo.className=cn;Yo.defaultOptions=td;var Jr=Yo;import{Fragment as rd,jsx as ka}from"react/jsx-runtime";var un="k-svg-icon",ad=[],nd={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info],variant:[et.outline,et.solid,et.duotone]},fn={viewBox:"0 0 24 24",variant:et.outline},Zo=e=>{let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=fn.viewBox,variant:d=fn.variant,icon:m,...f}=e;if(!m)return ka(rd,{});if(m==="none")return ka("span",{...f,className:i(e.className,un,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,N=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return ka("span",{...f,className:i(e.className,un,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`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:ka("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:m?void 0:e.children})})};Zo.states=ad;Zo.options=nd;Zo.className=un;Zo.defaultOptions=fn;var bn=Zo;import*as xn from"@progress/kendo-svg-icons";var qr="icon",Yr="icons";import{useContext as sd}from"react";import{createContext as id}from"react";var Zr=id({iconsType:"svg"});import{Fragment as Qr,jsx as Qo}from"react/jsx-runtime";var ga="k-icon",ld=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),dd=[],pd={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info],variant:[et.outline,et.solid,et.duotone]},Ia={viewBox:"0 0 24 24",type:"svg",variant:et.outline},k=e=>{let{iconsType:t}=sd(Zr),{size:o,themeColor:a,icon:n,type:s=t||Ia.type,rotate:d,flip:m,viewBox:f=Ia.viewBox,variant:x=Ia.variant,...N}=e;if(!n)return Qo(Qr,{});if((t||s)==="svg"){if(n==="none")return Qo(bn,{...N,className:i(e.className,ga),icon:n,size:o,variant:x});let u=xn[n]?n:ld(`${n}-icon`);return xn[u]?Qo(bn,{...N,className:i(e.className,ga),icon:xn[u],size:o,themeColor:a,rotate:d,flip:m,viewBox:f,variant:x}):Qo(Qr,{})}return Qo(Jr,{...N,className:i(e.className,ga),icon:n,size:o,themeColor:a,rotate:d,flip:m})};k.states=dd;k.options=pd;k.defaultOptions=Ia;k.className=ga;k.moduleName=qr;k.folderName=Yr;var Nn="button",jr=Nn;import{Fragment as ei,jsx as Qt,jsxs as ti}from"react/jsx-runtime";var jo="k-button",md=["icon-button"],cd=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],ud={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info,S.inverse]},hn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=hn.showArrow,arrowIconName:m=hn.arrowIconName,variant:f,hover:x,focus:N,active:h,selected:u,disabled:v,togglable:L,ariaDisabled:M,icon:g,iconSize:E,text:T,iconClassName:z,className:J,...Q}=e,ae=g!=null,ne=e.children!==void 0;return ti(t,{className:i(J,jo,Xr(jo,f),I(jo,{size:o,rounded:a,fillMode:n,themeColor:s}),C(jo,{hover:x,focus:N,active:h,disabled:v||M,selected:u}),{"k-icon-button":!T&&!ne&&ae}),"aria-pressed":L?u?"true":"false":void 0,...Q,"aria-disabled":M?"true":void 0,disabled:v||void 0,children:[typeof g=="string"&&g&&Qt(k,{className:i(z,"k-button-icon"),icon:g,size:E}),g&&typeof g!="string"&&Qt(ei,{children:g}),T?ti(ei,{children:[T&&Qt("span",{className:"k-button-text",children:T}),e.children]}):e.children&&Qt("span",{className:"k-button-text",children:e.children}),d&&Qt("span",{className:"k-menu-button-arrow k-button-arrow",children:Qt(k,{icon:m})})]})};p.states=cd;p.options=ud;p.variants=md;p.className=jo;p.defaultOptions=hn;p.moduleName=Nn;p.folderName=jr;import{jsx as fd}from"react/jsx-runtime";var mt=e=>fd(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as bd}from"react/jsx-runtime";var ea=e=>bd(p,{icon:"folder",children:"Button",...e});import{jsx as xd}from"react/jsx-runtime";var wt=e=>xd(p,{children:"Button",...e});import{jsx as Ln}from"react/jsx-runtime";var Nd=p.options,hd=p.states,Ld={...p.defaultOptions,variant:"text"},vd=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Md=[],jt=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return Ln(mt,{...o,icon:"star"});case"icon-and-text":return Ln(ea,{...o,icon:"star",children:"Button"});default:return Ln(wt,{...o,children:"Button"})}};jt.options=Nd;jt.states=hd;jt.variants=vd;jt.defaultOptions=Ld;jt.modifiers=Md;jt.className=p.className;var vn="button",oi=vn;import{jsx as Id}from"react/jsx-runtime";var ta="k-button-group",Sd=[r.disabled],kd={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},gd={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return Id("div",{role:"group",...n,className:i(e.className,ta,I(ta,{fillMode:t}),C(ta,{disabled:o}),{[`${ta}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=Sd;A.options=kd;A.className=ta;A.defaultOptions=gd;A.moduleName=vn;A.folderName=oi;import{Fragment as rh,jsx as nh,jsxs as ih}from"react/jsx-runtime";import{Fragment as ch,jsx as mh,jsxs as uh}from"react/jsx-runtime";import{Fragment as Lh,jsx as hh,jsxs as vh}from"react/jsx-runtime";import{Fragment as Eh,jsx as Ih,jsxs as Ch}from"react/jsx-runtime";import{Fragment as Rh,jsx as Bh,jsxs as Ph}from"react/jsx-runtime";import{Fragment as Hh,jsx as zh,jsxs as Fh}from"react/jsx-runtime";import{jsx as ct,jsxs as Mn}from"react/jsx-runtime";var Ed={...p.options,...A.options},Cd=p.states,yd={...p.defaultOptions,...A.defaultOptions,variant:"text-button"},Td=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Od=[],eo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Mn(A,{fillMode:a.fillMode,className:o,children:[ct(p,{...a,icon:"star"}),ct(p,{...a,icon:"star"}),ct(p,{...a,icon:"star"})]}):t==="icon-text-button"?Mn(A,{fillMode:a.fillMode,className:o,children:[ct(p,{...a,icon:"star",children:"First"}),ct(p,{...a,icon:"star",children:"Middle"}),ct(p,{...a,icon:"star",children:"Last"})]}):Mn(A,{fillMode:a.fillMode,className:o,children:[ct(p,{...a,children:"First"}),ct(p,{...a,children:"Middle"}),ct(p,{...a,children:"Last"})]})};eo.options=Ed;eo.states=Cd;eo.variants=Td;eo.defaultOptions=yd;eo.modifiers=Od;eo.className=A.className;var oa="input",Ea=oa;import{jsx as Pd}from"react/jsx-runtime";var Ca="k-input",Ad=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Bd={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Rd={},H=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:f,rounded:x,fillMode:N,...h}=e;return Pd("span",{...h,className:i(e.className,Ca,I(Ca,{size:f,rounded:x,fillMode:N}),C(Ca,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m}))})};H.states=Ad;H.options=Bd;H.className=Ca;H.defaultOptions=Rd;H.moduleName=oa;H.folderName=Ea;import{jsx as Dd}from"react/jsx-runtime";var ya="k-picker",Kd=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],wd={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},_d={},tt=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m,size:f,rounded:x,fillMode:N,...h}=e;return Dd("span",{...h,className:i(e.className,ya,I(ya,{size:f,rounded:x,fillMode:N}),C(ya,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:m})),children:e.children})};tt.states=Kd;tt.options=wd;tt.className=ya;tt.defaultOptions=_d;tt.moduleName=oa;tt.folderName=Ea;import{Fragment as Fd,jsx as Sn}from"react/jsx-runtime";var ai="k-clear-value",zd=[r.disabled,r.loading,r.readonly],Hd={},re=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?Sn(Fd,{}):Sn("span",{className:i(e.className,ai),children:Sn(k,{icon:"x"})})};re.states=zd;re.options=Hd;re.className=ai;import{jsx as Vd}from"react/jsx-runtime";var kn="k-input-inner",Ud=[],Gd={},Ta={type:"text",autocomplete:"off",value:"",placeholder:""},ie=e=>{let{value:t=Ta.value,type:o=Ta.type,placeholder:a=Ta.placeholder,autocomplete:n=Ta.autocomplete,disabled:s,readOnly:d,...m}=e;return Vd("input",{...m,type:o,className:i(e.className,kn,I(kn,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};ie.states=Ud;ie.options=Gd;ie.className=kn;import{jsx as ni,jsxs as Wd}from"react/jsx-runtime";var gn="k-input-inner",$d=[],Xd={},_t=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return Wd("span",{...d,className:i(e.className,gn,I(gn,e)),children:[n,!n&&s&&ni(k,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&ni("span",{className:"k-input-value-text",children:t})]})};_t.states=$d;_t.options=Xd;_t.className=gn;import{jsx as Yd}from"react/jsx-runtime";var In="k-input-inner",Jd=[],qd={},ri={value:"",placeholder:""},aa=e=>{let{value:t=ri.value,placeholder:o=ri.placeholder,rows:a,disabled:n,...s}=e;return Yd("textarea",{...s,className:i(e.className,In,I(In,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};aa.states=Jd;aa.options=qd;aa.className=In;import{Fragment as Qd,jsx as ii}from"react/jsx-runtime";var si="k-input-loading-icon",Zd=[r.disabled,r.loading],te=e=>{let{disabled:t,loading:o}=e;return t||!o?ii(Qd,{}):ii("span",{className:i(e.className,si,"k-icon k-i-loading")})};te.states=Zd;te.className=si;import{Fragment as tp,jsx as li}from"react/jsx-runtime";var di="k-input-validation-icon",jd=[r.valid,r.invalid,r.disabled,r.loading],ep={},j=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?li(tp,{}):li(k,{className:i(di),icon:s})};j.states=jd;j.options=ep;j.className=di;import{Fragment as np,jsx as pi}from"react/jsx-runtime";var op="k-input-prefix",ap={direction:"horizontal"},me=e=>{let{direction:t=ap.direction,...o}=e;return e.children?pi("span",{...o,className:i(op,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):pi(np,{})};import{Fragment as sp,jsx as mi}from"react/jsx-runtime";var rp="k-input-suffix",ip={direction:"horizontal"},ce=e=>{let{direction:t=ip.direction,...o}=e;return e.children?mi("span",{...o,className:i(rp,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):mi(sp,{})};import{jsx as FL}from"react/jsx-runtime";import{jsx as dp}from"react/jsx-runtime";var lp="k-input-suffix-text",En=e=>{let{children:t,...o}=e;return dp("span",{...o,className:i(lp,e.className),children:t})};import{jsx as mp}from"react/jsx-runtime";var ci="k-input-separator",pp={direction:"vertical"},oe=e=>{let{direction:t=pp.direction,...o}=e;return mp("span",{...o,className:i(ci,e.className,{[`${ci}-${t}`]:t})})};import{Fragment as ui,jsx as ot,jsxs as Cn}from"react/jsx-runtime";var cp=H.states,up=H.defaultOptions,fp=H.options,bp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],xp=[],to=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:d,...m}=e,f=t?.prefix,x=t?.suffix,N=t?.["clear-button"],h=t?.["validation-icon"],u=t?.separators;return Cn(H,{...m,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[f&&Cn(ui,{children:[ot(me,{children:ot(k,{icon:"lock"})}),u&&ot(oe,{})]}),ot(ie,{placeholder:"Placeholder",value:"Value"}),h&&ot(j,{valid:o,invalid:a,loading:n,disabled:s}),ot(te,{loading:n,disabled:s}),N&&ot(re,{loading:n,disabled:s,readonly:d,value:"Value"}),x&&Cn(ui,{children:[u&&ot(oe,{}),ot(ce,{children:ot(wt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};to.options=fp;to.states=cp;to.variants=xp;to.defaultOptions=up;to.modifiers=bp;to.className=H.className;import{jsx as fi,jsxs as Lp}from"react/jsx-runtime";var bi="k-color-preview",Np=[],hp={},Lt=e=>{let{color:t,iconName:o,...a}=e;return Lp("span",{...a,className:i(e.className,bi,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&fi(k,{icon:o,className:"k-color-preview-icon"}),fi("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Lt.states=Np;Lt.options=hp;Lt.className=bi;var yn="popup",xi=yn;import{jsx as Ni}from"react/jsx-runtime";var hi="k-animation-container",vp=[],Mp={},Tn={positionMode:"absolute",shown:!0},at=e=>{let{positionMode:t=Tn.positionMode,shown:o=Tn.shown,animationStyle:a,offset:n,...s}=e;return Ni("div",{...s,style:{...n,...e.style},className:i(e.className,hi,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Ni("div",{className:"k-child-animation-container",style:a,children:e.children})})};at.states=vp;at.options=Mp;at.className=hi;at.defaultOptions=Tn;at.moduleName=yn;at.folderName=xi;var On="popup",Li=On;import{jsx as vi}from"react/jsx-runtime";var Mi="k-popup",Sp=[],kp={},Si={positionMode:"absolute"},X=e=>{let{offset:t,positionMode:o=Si.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...m}=e;return vi(at,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:vi("div",{...m,className:i(e.className,Mi),children:e.children})})};X.states=Sp;X.options=kp;X.className=Mi;X.defaultOptions=Si;X.moduleName=On;X.folderName=Li;var An="action-buttons",ki=An;import{jsx as Ep}from"react/jsx-runtime";var Oa="k-actions",gp=[],Ip={},Bn={alignment:"start",orientation:"horizontal"},nt=e=>{let{alignment:t=Bn.alignment,orientation:o=Bn.orientation,...a}=e;return Ep("div",{...a,className:i(Oa,{[`${Oa}-${t}`]:t,[`${Oa}-${o}`]:o},e.className),children:e.children})};nt.states=gp;nt.options=Ip;nt.className=Oa;nt.defaultOptions=Bn;nt.moduleName=An;nt.folderName=ki;import{jsx as yp}from"react/jsx-runtime";var Cp="k-actionsheet-footer",gi={alignment:"stretched",orientation:"horizontal"},vt=e=>{let{alignment:t=gi.alignment,orientation:o=gi.orientation,template:a,as:n=a?"div":nt,...s}=e;return yp(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,Cp),children:e.children})};var Rn="searchbox",Ii=Rn;import{jsx as na,jsxs as Ap}from"react/jsx-runtime";var Ei="k-searchbox",Tp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Op={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Pn={showIcon:!0,icon:"search"},_e=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:f,invalid:x,required:N,loading:h,disabled:u,showIcon:v=Pn.showIcon,icon:L=Pn.icon,"aria-label":M,...g}=e;return Ap(H,{...g,size:a,rounded:n,fillMode:s,hover:d,focus:m,valid:f,invalid:x,required:N,loading:h,disabled:u,className:i(e.className,Ei),children:[v&&na(k,{className:"k-input-icon",icon:L}),na(ie,{placeholder:o,value:t,"aria-label":M}),na(te,{...e}),na(j,{...e}),na(re,{...e})]})};_e.states=Tp;_e.options=Op;_e.className=Ei;_e.defaultOptions=Pn;_e.moduleName=Rn;_e.folderName=Ii;import{jsx as cM}from"react/jsx-runtime";var Kn="textbox",Ci=Kn;import{Fragment as yi,jsx as Mt,jsxs as wn}from"react/jsx-runtime";var Ti="k-textbox",Bp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Rp={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Aa={showClearButton:!0,showValidationIcon:!0,separators:!0},F=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Aa.separators,showClearButton:s=Aa.showClearButton,showValidationIcon:d=Aa.showValidationIcon,prefix:m,suffix:f,type:x,value:N,placeholder:h,hover:u,focus:v,valid:L,invalid:M,required:g,loading:E,disabled:T,readonly:z,id:J,"aria-label":Q,"aria-describedby":ae,...ne}=e;return wn(H,{...ne,size:t,rounded:o,fillMode:a,hover:u,focus:v,valid:L,invalid:M,required:g,loading:E,disabled:T,readonly:z,className:i(e.className,Ti),children:[m&&wn(yi,{children:[Mt(me,{children:m}),n&&Mt(oe,{})]}),Mt(ie,{id:J,placeholder:h,value:N,type:x,disabled:T,"aria-label":Q,"aria-describedby":ae,"aria-invalid":M?"true":void 0}),d&&Mt(j,{valid:L,invalid:M,loading:E,disabled:T}),Mt(te,{loading:E,disabled:T}),s&&Mt(re,{loading:E,disabled:T,readonly:z,value:N}),f&&wn(yi,{children:[n&&Mt(oe,{}),Mt(ce,{children:f})]})]})};F.states=Bp;F.options=Rp;F.className=Ti;F.defaultOptions=Aa;F.moduleName=Kn;F.folderName=Ci;var ra=F;import{jsx as Pp}from"react/jsx-runtime";var Oi=e=>Pp(ra,{...e});import{Fragment as OM,jsx as TM}from"react/jsx-runtime";import{Fragment as wM,jsx as KM}from"react/jsx-runtime";import{jsx as HM}from"react/jsx-runtime";import{jsx as _n}from"react/jsx-runtime";var Kp=F.states,wp=F.defaultOptions,_p=F.options,Dp=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],zp=[],oo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?_n(k,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[n]?_n(wt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),_n(Oi,{value:"Value",style:{width:300},...o,...a})};oo.options=_p;oo.states=Kp;oo.variants=zp;oo.defaultOptions=wp;oo.modifiers=Dp;oo.className=F.className;import{jsx as St,jsxs as Dn}from"react/jsx-runtime";var Ai="k-actionsheet-titlebar",Hp={},he=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:d,inputValue:m,inputPlaceholder:f,adaptive:x,titleId:N,children:h,...u}=e;return Dn("div",{...u,className:i(e.className,Ai),children:[Dn("div",{className:"k-actionsheet-titlebar-group",children:[a&&St("div",{className:"k-actionsheet-actions",children:a}),!h&&Dn("div",{className:"k-actionsheet-title",id:N,children:[t&&St("div",{className:"k-text-center",children:t}),o&&St("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&St("div",{className:"k-actionsheet-title",id:N,children:h}),n&&St("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&St("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?St(F,{value:m,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):St(_e,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};he.className=Ai;he.defaultOptions=Hp;import{jsx as zn,jsxs as Vp}from"react/jsx-runtime";var Hn="k-actionsheet-view",Fp=[],Up={},Gp={},ao=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:d,...m}=e,f=n?.type===he&&zn(he,{adaptive:t,titleId:d,...n?.props}),x=s?.type===vt&&zn(vt,{...s?.props});return Vp("div",{...m,className:i(e.className,Hn,{[`${Hn}-animated`]:o}),children:[f,zn("div",{className:"k-actionsheet-content",children:a}),x]})};ao.states=Fp;ao.options=Up;ao.className=Hn;ao.defaultOptions=Gp;var ia="action-sheet",Ba=ia;var Fn="overlay",Bi=Fn;import{jsx as Jp}from"react/jsx-runtime";var Ri="k-overlay",$p=[],Xp={},Wp={},kt=e=>{let{...t}=e;return Jp("div",{...t,className:i(e.className,Ri),children:e.children})};kt.states=$p;kt.options=Xp;kt.className=Ri;kt.defaultOptions=Wp;kt.moduleName=Fn;kt.folderName=Bi;import{jsx as Ra,jsxs as Zp}from"react/jsx-runtime";var Pi="k-actionsheet",qp=[],Yp={},sa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=sa.side,fullscreen:o=sa.fullscreen,adaptive:a=sa.adaptive,overlay:n=sa.overlay,template:s,children:d,header:m,footer:f,id:x,...N}=e,h=x&&!s&&m?`${x}-title`:void 0;return Zp("div",{className:"k-actionsheet-container",children:[n&&Ra(kt,{}),Ra(at,{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:Ra("div",{...N,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":h,className:i(e.className,Pi,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Ra(ao,{header:m,footer:f,adaptive:a,titleId:h,...e,children:d})})})]})};q.states=qp;q.options=Yp;q.className=Pi;q.defaultOptions=sa;q.moduleName=ia;q.folderName=Ba;import{jsx as tm}from"react/jsx-runtime";var Ki="k-actionsheet-container",Qp=[],jp={},em={},no=e=>{let{children:t,...o}=e;return tm("div",{...o,className:Ki,children:t})};no.states=Qp;no.options=jp;no.className=Ki;no.defaultOptions=em;no.moduleName=ia;no.folderName=Ba;import{jsx as om}from"react/jsx-runtime";var Un=e=>{let{...t}=e;return om("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};import{Fragment as nm,jsx as la,jsxs as Gn}from"react/jsx-runtime";var Vn="k-actionsheet-item",am=[r.hover,r.focus,r.selected,r.disabled],gt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:m,...f}=e;return Gn("span",{...f,className:i(e.className,Vn,C(Vn,{hover:n,focus:s,selected:d,disabled:m})),children:[!e.children&&la(nm,{children:Gn("span",{className:"k-actionsheet-action",children:[t&&la("span",{className:"k-icon-wrap",children:la(k,{className:"k-actionsheet-item-icon",icon:t})}),Gn("span",{className:"k-actionsheet-item-text",children:[o&&la("span",{className:"k-actionsheet-item-title",children:o}),a&&la("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};gt.states=am;gt.className=Vn;import{jsx as zS,jsxs as HS}from"react/jsx-runtime";import{jsx as VS}from"react/jsx-runtime";import{jsx as JS}from"react/jsx-runtime";import{jsx as QS}from"react/jsx-runtime";import{jsx as se,jsxs as $n}from"react/jsx-runtime";var rm=q.options,im=q.states,_i={...q.defaultOptions,variant:"normal"},sm=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],lm=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],ro=e=>{let{variant:t,modifiers:o,...a}={..._i,...e},n={},s=$n(Un,{children:[se(gt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),se(gt,{text:"Add to Favorites",iconName:"heart"}),se(gt,{text:"Upload New",iconName:"upload",disabled:!0}),se("hr",{className:"k-hr"}),se(gt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!o?.[f],n.actionsEnd=!!o?.[f];break;case"subtitle":n.subtitle=o?.[f]?d:void 0;break;case"footer":n.footer=!!o?.[f];break;default:break}}),t==="adaptive"?se(q,{...a,adaptive:!0,fullscreen:n.fullScreen,header:se(he,{actionsStart:n.actionsStart?se(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?se(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:n.subtitle}),footer:n.footer?$n(vt,{alignment:"stretched",children:[se(p,{text:"Cancel",size:"large",themeColor:"base"}),se(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):se(q,{...a,fullscreen:n.fullScreen,header:se(he,{actionsStart:n.actionsStart?se(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?se(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?$n(vt,{alignment:"stretched",children:[se(p,{text:"Apply",themeColor:"primary"}),se(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};ro.options=rm;ro.states=im;ro.variants=sm;ro.defaultOptions=_i;ro.modifiers=lm;ro.className=q.className;var Xn="slider",Di=Xn;import{jsx as io,jsxs as Wn}from"react/jsx-runtime";var da="k-slider",dm=[r.hover,r.focus,r.active,r.disabled,r.readonly],pm={},De={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},$=e=>{let{type:t=De.type,orientation:o=De.orientation,gradientType:a=De.gradientType,readonly:n=De.readonly,disabled:s=De.disabled,handlePosition:d=De.handlePosition,showButtons:m=De.showButtons,showTicks:f=De.showTicks,value:x=De.value,min:N=De.min,max:h=De.max,startValue:u,endValue:v,hover:L,focus:M,active:g,trackStyle:E,dir:T,...z}=e,Q=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ae,ne;return o==="horizontal"?(ae=T==="rtl"?"chevron-left":"chevron-right",ne=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ae="chevron-up",ne="chevron-down"),Wn("div",{...z,className:i(da,e.className,C(da,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&io(p,{className:"k-button-decrease",rounded:"full",icon:ne,tabIndex:-1,title:"Decrease"}),Wn("div",{className:"k-slider-track-wrap",children:[f&&io("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Wn("div",{className:"k-slider-track",style:E,children:[io("div",{className:"k-slider-selection"}),t==="range"&&io("span",{className:i("k-draghandle","k-draghandle-start",C(da,{hover:L,focus:M,active:g})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??N,"aria-valuemin":N,"aria-valuemax":v??h,"aria-orientation":Q,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":z["aria-label"]?`${z["aria-label"]} start`:"Range start"}),io("span",{className:i("k-draghandle",`k-draghandle-${d}`,C(da,{hover:L,focus:M,active:g})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??h:x,"aria-valuemin":t==="range"?u??N:N,"aria-valuemax":h,"aria-orientation":Q,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?z["aria-label"]?`${z["aria-label"]} end`:"Range end":z["aria-label"]})]})]}),m&&io(p,{className:"k-button-increase",rounded:"full",icon:ae,tabIndex:-1,title:"Increase"})]})};$.states=dm;$.options=pm;$.className=da;$.defaultOptions=De;$.moduleName=Xn;$.folderName=Di;import{jsx as zi}from"react/jsx-runtime";var Hi="k-tick",mm=[],cm={},Fi={label:!1},y=e=>{let{style:t,label:o=Fi.label,orientation:a,large:n,text:s,...d}=e;return zi("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,Hi,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&zi("span",{className:"k-label",children:s})})};y.states=mm;y.options=cm;y.className=Hi;y.defaultOptions=Fi;import{Fragment as um,jsx as ze,jsxs as fm}from"react/jsx-runtime";var Ui=e=>ze($,{"aria-label":e["aria-label"]||"Slider",children:fm(um,{children:[ze(y,{className:"k-first",label:!0,large:!0,text:"0"}),ze(y,{}),ze(y,{}),ze(y,{}),ze(y,{}),ze(y,{label:!0,large:!0,text:"5"}),ze(y,{}),ze(y,{}),ze(y,{}),ze(y,{}),ze(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as bm,jsx as He,jsxs as xm}from"react/jsx-runtime";var Gi=e=>He($,{children:xm(bm,{children:[He(y,{className:"k-first",label:!0,large:!0,text:"0"}),He(y,{}),He(y,{}),He(y,{}),He(y,{}),He(y,{label:!0,large:!0,text:"5"}),He(y,{}),He(y,{}),He(y,{}),He(y,{}),He(y,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Hk,jsx as zk,jsxs as Fk}from"react/jsx-runtime";import{Fragment as Xk,jsx as $k,jsxs as Wk}from"react/jsx-runtime";import{jsx as Nm}from"react/jsx-runtime";var Jn=e=>Nm($,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as hm}from"react/jsx-runtime";var qn=e=>hm($,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as ng,jsx as ag,jsxs as rg}from"react/jsx-runtime";import{Fragment as pg,jsx as dg,jsxs as mg}from"react/jsx-runtime";import{jsx as rt,jsxs as Vi}from"react/jsx-runtime";var Lm=$.options,vm=$.states,$i={...$.defaultOptions,variant:"horizontal",label:!0},Mm=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Sm=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],so=e=>{let{variant:t,modifiers:o,...a}=e,n=$i.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 d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?Vi(Gi,{style:{height:"300px",...d},...a,...s,children:[rt(y,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),rt(y,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),rt(y,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),rt(y,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),rt(y,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):Vi(Ui,{style:{width:"400px",...d},...a,...s,children:[rt(y,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),rt(y,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),rt(y,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),rt(y,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),rt(y,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};so.options=Lm;so.states=vm;so.variants=Mm;so.defaultOptions=$i;so.modifiers=Sm;so.className=$.className;import{jsx as Xi,jsxs as Cm}from"react/jsx-runtime";var Wi="k-spin-button",Im=[],Em={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Yn={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},it=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Yn.increaseLabel,decreaseLabel:s=Yn.decreaseLabel,...d}=e;return Cm("span",{...d,className:i(Wi,e.className),children:[Xi(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),Xi(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};it.states=Im;it.options=Em;it.className=Wi;it.defaultOptions=Yn;it.moduleName=null;it.folderName=null;var Ji="numeric-textbox",qi="numerictextbox";import{Fragment as Yi,jsx as ut,jsxs as Zn}from"react/jsx-runtime";var Zi="k-numerictextbox",ym=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Tm={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Pa={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Pa.separators,showClearButton:s=Pa.showClearButton,showSpinButton:d=Pa.showSpinButton,prefix:m,suffix:f,value:x,placeholder:N,hover:h,focus:u,valid:v,invalid:L,required:M,loading:g,disabled:E,readonly:T,id:z,"aria-label":J,"aria-describedby":Q,...ae}=e;return Zn(H,{...ae,size:t,rounded:o,fillMode:a,hover:h,focus:u,valid:v,invalid:L,required:M,loading:g,disabled:E,readonly:T,className:i(e.className,Zi),children:[m&&Zn(Yi,{children:[ut(me,{children:m}),n&&ut(oe,{})]}),ut(ie,{id:z,placeholder:N,value:x,role:"spinbutton",disabled:E,"aria-label":J,"aria-describedby":Q,"aria-invalid":L?"true":void 0}),ut(j,{valid:v,invalid:L,loading:g,disabled:E}),ut(te,{loading:g,disabled:E}),s&&ut(re,{loading:g,disabled:E,readonly:T,value:x}),f&&Zn(Yi,{children:[n&&ut(oe,{}),ut(ce,{children:f})]}),d&&ut(it,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};_.states=ym;_.options=Tm;_.className=Zi;_.defaultOptions=Pa;_.moduleName=Ji;_.folderName=qi;var pa=_;import{jsx as Om}from"react/jsx-runtime";var Qi=e=>Om(pa,{...e});import jn from"react";import{jsx as ji}from"react/jsx-runtime";var Am="k-list-group-sticky-header",Qn=e=>ji("div",{className:i(Am,e.className),children:ji("div",{className:"k-list-header-text",children:e.children})});import{jsx as Rm}from"react/jsx-runtime";var Bm="k-no-data",Ka=e=>{let{live:t,...o}=e;return Rm("span",{...o,className:i(Bm,e.className),"aria-live":t?"polite":void 0,children:e.children})};var Dt="list",lo=Dt;import{jsx as es,jsxs as ts}from"react/jsx-runtime";var er="k-list",Pm=[],Km={size:[l.undefined,l.small,l.medium,l.large]},wm={},P=e=>{let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:d,customValue:m,noData:f,screenReaders:x,...N}=e,u=jn.Children.toArray(a)[0],v=u?.props?.children?jn.Children.count(u.props.children):jn.Children.count(a);return ts("div",{...N,className:i(e.className,er,I(er,{size:t}),{"k-virtual-list":o}),children:[d,s,m,n&&es(Qn,{children:n}),a||(f!==void 0?f:es(Ka,{live:!0,children:"No data found."})),x&&a&&ts(Ka,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Pm;P.options=Km;P.className=er;P.defaultOptions=wm;P.moduleName=Dt;P.folderName=lo;import{jsx as Hm}from"react/jsx-runtime";var os="k-list-container",_m=[],Dm={},zm={},po=e=>{let{...t}=e;return Hm("div",{...t,className:i(e.className,os),children:e.children})};po.states=_m;po.options=Dm;po.className=os;po.defaultOptions=zm;po.moduleName=Dt;po.folderName=lo;var zt="checkbox",mo=zt;import{jsx as as}from"react/jsx-runtime";var wa="k-checkbox",Fm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Um={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},Gm={},ge=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:d,invalid:m,valid:f,required:x,size:N,rounded:h,wrapperRole:u,...v}=e;return as("span",{className:"k-checkbox-wrap",role:u,children:as("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:i(e.className,wa,I(wa,{size:N,rounded:h}),C(wa,{hover:n,focus:s,disabled:d,invalid:m,valid:f,indeterminate:a,checked:o}))})})};ge.states=Fm;ge.options=Um;ge.className=wa;ge.defaultOptions=Gm;ge.moduleName=zt;ge.folderName=mo;var Qe=ge;import{jsx as Xm}from"react/jsx-runtime";var ns="k-checkbox-list",Vm=[],$m={},rs={layout:"vertical"},Le=e=>{let{layout:t=rs.layout,...o}=e;return Xm("ul",{...o,className:i(e.className,ns,{[`k-list-${t}`]:t}),children:e.children})};Le.states=Vm;Le.options=$m;Le.className=ns;Le.defaultOptions=rs;Le.moduleName=zt;Le.folderName=mo;import{jsx as Ym}from"react/jsx-runtime";var is="k-checkbox-list-item",Wm=[],Jm={},qm={},ve=e=>{let{...t}=e;return Ym("li",{...t,className:i(e.className,is),children:e.children})};ve.states=Wm;ve.options=Jm;ve.className=is;ve.defaultOptions=qm;ve.moduleName=zt;ve.folderName=mo;import{Fragment as Zm,jsx as ss,jsxs as Qm}from"react/jsx-runtime";var je=({children:e="Label",id:t="cb-label-after",...o})=>Qm(Zm,{children:[ss(Qe,{id:t,...o}),ss("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as KI,jsx as PI,jsxs as wI}from"react/jsx-runtime";import{Fragment as FI,jsx as HI,jsxs as UI}from"react/jsx-runtime";import{Fragment as WI,jsx as XI,jsxs as JI}from"react/jsx-runtime";import{jsx as QI}from"react/jsx-runtime";import{jsx as oE}from"react/jsx-runtime";import{jsx as iE}from"react/jsx-runtime";import{jsx as Fe,jsxs as ls}from"react/jsx-runtime";var jm=Le.options,ec=Le.states,tc={...Le.defaultOptions,variant:"vertical"},oc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],ac=[],co=e=>{let{variant:t,...o}=e;return t==="horizontal"?ls(Le,{layout:"horizontal",...o,children:[Fe(ve,{children:Fe(je,{id:O("cb"),defaultChecked:!0,children:"Label"})}),Fe(ve,{children:Fe(je,{id:O("cb"),children:"Label"})}),Fe(ve,{children:Fe(je,{id:O("cb"),children:"Label"})})]}):ls(Le,{...o,children:[Fe(ve,{children:Fe(je,{id:O("cb"),defaultChecked:!0,children:"Label"})}),Fe(ve,{children:Fe(je,{id:O("cb"),children:"Label"})}),Fe(ve,{children:Fe(je,{id:O("cb"),children:"Label"})})]})};co.options=jm;co.states=ec;co.variants=oc;co.defaultOptions=tc;co.modifiers=ac;co.className=Le.className;import{jsx as dc}from"react/jsx-runtime";var nc=Qe.options,rc=Qe.states,ic=Qe.defaultOptions,sc=[],lc=[],uo=e=>dc(je,{id:O("checkbox"),...e,defaultChecked:!0,children:"Label"});uo.options=nc;uo.states=rc;uo.variants=sc;uo.defaultOptions=ic;uo.modifiers=lc;uo.className=Qe.className;import{jsx as fo,jsxs as uc}from"react/jsx-runtime";var tr="k-list-item",pc=[r.hover,r.focus,r.selected,r.disabled],mc={},cc={},B=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:d,focus:m,selected:f,disabled:x,actions:N,description:h,id:u,...v}=e,L=t||e.children,M=t||(typeof L=="string"?L:void 0);return uc("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":x?"true":void 0,className:i(e.className,tr,C(tr,{hover:d,focus:m,disabled:x,selected:f})),children:[n&&fo(ge,{checked:s,disabled:x,"aria-label":M,tabIndex:-1}),o&&fo("span",{className:"k-list-item-icon-wrapper",children:fo(k,{icon:o,className:i("k-list-item-icon",a)})}),fo("span",{className:"k-list-item-text",children:L}),N&&fo("div",{className:"k-list-item-actions",children:N}),h&&fo("span",{className:"k-list-item-description",children:h})]})};B.states=pc;B.options=mc;B.className=tr;B.defaultOptions=cc;B.moduleName=Dt;B.folderName=lo;import{jsx as bc}from"react/jsx-runtime";var fc="k-list-ul",It=e=>{let{children:t,role:o,id:a,...n}=e;return bc("ul",{...n,id:a,role:o,className:i(fc,e.className),children:t})};import{jsx as or,jsxs as Nc}from"react/jsx-runtime";var xc="k-list-content",U=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...d}=e;return Nc("div",{...d,className:i(xc,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:or(It,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&or("div",{className:"k-height-container",children:or("div",{})})]})};import{jsx as ar,jsxs as Mc}from"react/jsx-runtime";var _a="k-list-sticky-header",hc=[r.hover,r.focus,r.selected],Lc={},vc={},Da=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:d,selected:m,...f}=e;return ar("div",{...f,className:i(_a,e.className),children:Mc("div",{className:i(`${_a}-item`,C(`${_a}-item`,{hover:s,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&ar(ge,{checked:a,indeterminate:n,"aria-label":t}),ar("span",{className:"k-list-item-text",children:t})]})})};Da.states=hc;Da.options=Lc;Da.className=_a;Da.defaultOptions=vc;import{Fragment as eC,jsx as jE,jsxs as tC}from"react/jsx-runtime";import{jsx as iC,jsxs as sC}from"react/jsx-runtime";import{jsx as Ic}from"react/jsx-runtime";var nr="k-list-optionlabel",Sc=[r.hover,r.focus,r.selected,r.disabled],kc={},gc={},za=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return Ic("div",{...d,className:i(nr,C(nr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};za.states=Sc;za.options=kc;za.className=nr;za.defaultOptions=gc;import{jsx as Tc}from"react/jsx-runtime";var rr="k-list-custom-value",Ec=[r.hover,r.focus,r.selected,r.disabled],Cc={},yc={},Et=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return Tc("div",{...d,className:i(rr,C(rr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};Et.states=Ec;Et.options=Cc;Et.className=rr;Et.defaultOptions=yc;import{Fragment as LC,jsx as hC,jsxs as vC}from"react/jsx-runtime";import{Fragment as EC,jsx as IC,jsxs as CC}from"react/jsx-runtime";import{Fragment as PC,jsx as BC,jsxs as RC}from"react/jsx-runtime";import{Fragment as FC,jsx as zC,jsxs as HC}from"react/jsx-runtime";import{jsx as $C}from"react/jsx-runtime";import{Fragment as ZC,jsx as YC,jsxs as QC}from"react/jsx-runtime";import{Fragment as ny,jsx as ay,jsxs as ry}from"react/jsx-runtime";var ds="dropdown-list",ps="dropdownlist";import{Fragment as Bc,jsx as Me,jsxs as ir}from"react/jsx-runtime";var ms="k-dropdownlist",Oc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ac={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},sr={showValue:!0,arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=sr.arrowIconName,showValue:s=sr.showValue,valueIconName:d,prefix:m,suffix:f,value:x,placeholder:N,hover:h,focus:u,valid:v,invalid:L,required:M,loading:g,disabled:E,readonly:T,popup:z,opened:J,adaptive:Q,adaptiveSettings:ae,adaptiveTitle:ne,adaptiveSubtitle:Kt,adaptiveFilter:ln,id:ht,activeDescendant:Sa,"aria-label":dn,...pn}=e,Ql=ht?`${ht}-listbox`:void 0,$r=ht?`${ht}-value`:void 0;return ir(Bc,{children:[ir(tt,{...pn,id:ht,size:t,rounded:o,fillMode:a,hover:h,focus:u,valid:v,invalid:L,required:M,loading:g,disabled:E,readonly:T,className:i(e.className,ms,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":J?"true":"false","aria-controls":J?Ql:void 0,"aria-activedescendant":J&&Sa?Sa:void 0,"aria-describedby":J?$r:void 0,"aria-disabled":E?"true":void 0,"aria-label":dn,tabIndex:0,children:[Me(me,{children:m}),Me(_t,{placeholder:N,value:x,showValue:s,valueIconName:d,id:$r}),Me(j,{valid:v,invalid:L,loading:g,disabled:E}),Me(te,{loading:g,disabled:E}),Me(ce,{children:f}),Me(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),J&&z&&Me(X,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:z}),Q&&Me(q,{adaptive:!0,...ae,header:Me(he,{actionsEnd:Me(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ln,inputValue:x,inputPlaceholder:N,title:ne,subtitle:Kt}),children:Me("div",{className:"k-list-container",children:Me(P,{size:"large",children:ir(U,{"aria-label":"Options",children:[Me(B,{text:"List item"}),Me(B,{text:"List item"}),Me(B,{text:"List item"})]})})})})]})};D.states=Oc;D.options=Ac;D.className=ms;D.defaultOptions=sr;D.moduleName=ds;D.folderName=ps;import{jsx as Hy}from"react/jsx-runtime";import{jsx as Xy,jsxs as Wy}from"react/jsx-runtime";import{Fragment as oT,jsx as eT,jsxs as tT}from"react/jsx-runtime";import{jsx as sT}from"react/jsx-runtime";import{jsx as uT,jsxs as fT}from"react/jsx-runtime";import{Fragment as kT,jsx as MT,jsxs as ST}from"react/jsx-runtime";import{jsx as yT}from"react/jsx-runtime";import{Fragment as Dc,jsx as Ct,jsxs as cs}from"react/jsx-runtime";var Rc=D.states,Pc=D.defaultOptions,Kc=D.options,wc=[{name:"opened",title:"Opened"}],_c=[],xo=e=>{let{modifiers:t,...o}=e,a={},n=cs(Dc,{children:[Ct("div",{className:"k-list-filter",children:Ct(_e,{})}),Ct(P,{style:{width:300},size:o.size,children:cs(U,{children:[Ct(B,{children:"List item"}),Ct(B,{children:"List item"}),Ct(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?n:void 0)}),Ct("div",{children:Ct(D,{placeholder:"Value",style:{width:300},...o,...a})})};xo.options=Kc;xo.states=Rc;xo.variants=_c;xo.defaultOptions=Pc;xo.modifiers=wc;xo.className=D.className;import{Fragment as YT,jsx as qT}from"react/jsx-runtime";import{Fragment as oO,jsx as tO}from"react/jsx-runtime";import{jsx as iO}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var zc=_.states,Hc=_.defaultOptions,Fc=_.options,Uc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Gc=[],No=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?lr(D,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[n]?lr(En,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;case"spin-button":a.showSpinButton=t?.[n];break;default:break}}),lr(Qi,{value:"Value",style:{width:300},...o,...a})};No.options=Fc;No.states=zc;No.variants=Gc;No.defaultOptions=Hc;No.modifiers=Uc;No.className=_.className;import{Fragment as ca,jsx as R,jsxs as Y}from"react/jsx-runtime";var us="k-colorgradient-inputs",Vc=[],$c={size:[l.undefined,l.small,l.medium,l.large]},fs={mode:"rgba"},ho=e=>{let{mode:t=fs.mode,size:o,...a}=e;return Y("div",{...a,className:i(us,"k-hstack"),children:[R("div",{className:"k-vstack",children:R(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&Y(ca,{children:[Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),R("label",{className:"k-colorgradient-input-label",children:"R"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),R("label",{className:"k-colorgradient-input-label",children:"G"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),R("label",{className:"k-colorgradient-input-label",children:"B"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),R("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&Y(ca,{children:[Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),R("label",{className:"k-colorgradient-input-label",children:"R"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),R("label",{className:"k-colorgradient-input-label",children:"G"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),R("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&Y(ca,{children:[Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),R("label",{className:"k-colorgradient-input-label",children:"H"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),R("label",{className:"k-colorgradient-input-label",children:"S"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),R("label",{className:"k-colorgradient-input-label",children:"V"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),R("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&Y(ca,{children:[Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),R("label",{className:"k-colorgradient-input-label",children:"H"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),R("label",{className:"k-colorgradient-input-label",children:"S"})]}),Y("div",{className:"k-vstack",children:[R(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),R("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&R(ca,{children:Y("div",{className:"k-vstack k-flex-1",children:[R(F,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),R("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};ho.states=Vc;ho.options=$c;ho.className=us;ho.defaultOptions=fs;import{jsx as Ht,jsxs as Ft}from"react/jsx-runtime";var bs="k-colorgradient-color-contrast",Xc=[],Wc={},Jc={},Lo=()=>Ft("div",{className:i(bs,"k-vbox"),children:[Ft("div",{className:"k-contrast-ratio",children:[Ht("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),Ft("span",{className:"k-contrast-validation !k-text-success",children:[Ht(k,{icon:"check"}),Ht(k,{icon:"check"})]})]}),Ft("div",{children:[Ht("span",{children:"AA: 4.5"}),Ft("span",{className:"k-contrast-validation !k-text-success",children:["Pass",Ht(k,{icon:"check"})]})]}),Ft("div",{children:[Ht("span",{children:"AAA: 7.0"}),Ft("span",{className:"k-contrast-validation !k-text-error",children:["Fail",Ht(k,{icon:"x"})]})]})]});Lo.states=Xc;Lo.options=Wc;Lo.className=bs;Lo.defaultOptions=Jc;var xs="color-gradient",Ns="colorgradient";import{jsx as Ue,jsxs as ua}from"react/jsx-runtime";var Ha="k-colorgradient",qc=[r.hover,r.focus,r.readonly,r.disabled],Yc={size:[l.undefined,l.small,l.medium,l.large]},st={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"},le=e=>{let{size:t,mode:o=st.mode,readonly:a=st.readonly,disabled:n=st.disabled,gradientStyle:s=st.gradientStyle,dragHandleStyle:d=st.dragHandleStyle,alphaStyle:m=st.alphaStyle,alphaStyleHorizontal:f=st.alphaStyleHorizontal,contrast:x=st.contrast,dir:N,hover:h,focus:u,hoverHandle:v,focusHandle:L,canvasOrientation:M=st.canvasOrientation,role:g,tabIndex:E,...T}=e;return ua("div",{...T,role:g??"textbox","aria-label":g==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":n?"true":void 0,className:i(e.className,Ha,I(Ha,{size:t}),C(Ha,{hover:h,focus:u,readonly:a,disabled:n})),dir:N,children:[!M||M==="horizontal"&&ua("div",{className:"k-colorgradient-canvas k-hstack",children:[Ue("div",{className:"k-hsv-rectangle",style:s,children:Ue("div",{className:"k-hsv-gradient",children:Ue("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,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})})}),ua("div",{className:"k-hsv-controls k-hstack",children:[Ue(qn,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&Ue(qn,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),M==="vertical"&&ua("div",{className:"k-colorgradient-canvas k-vstack",children:[Ue("div",{className:"k-hsv-rectangle",style:s,children:Ue("div",{className:"k-hsv-gradient",children:Ue("div",{className:i("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,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})})}),ua("div",{className:"k-hsv-controls k-vstack",children:[Ue(Jn,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&Ue(Jn,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:f})]})]}),Ue(ho,{mode:e.mode,size:t}),x&&Ue(Lo,{})]})};le.states=qc;le.options=Yc;le.className=Ha;le.defaultOptions=st;le.moduleName=xs;le.folderName=Ns;import{jsx as Zc}from"react/jsx-runtime";var Fa=e=>Zc(le,{...e});import{jsx as $O}from"react/jsx-runtime";import{jsx as qO}from"react/jsx-runtime";import{jsx as dr}from"react/jsx-runtime";var Qc=le.options,jc=le.states,eu={...le.defaultOptions,variant:"rgba"},tu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],ou=[],vo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return dr(Fa,{...o,mode:t});case"rgb":return dr(Fa,{...o,mode:t});default:return dr(Fa,{...o,mode:t})}};vo.options=Qc;vo.states=jc;vo.variants=tu;vo.defaultOptions=eu;vo.modifiers=ou;vo.className=le.className;import{jsx as au}from"react/jsx-runtime";var pr=e=>au("tr",{role:"row",children:e.children});import{jsx as iu}from"react/jsx-runtime";var mr="k-colorpalette-tile",nu=[r.hover,r.focus,r.selected],ru={},yt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return iu("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,mr,C(mr,{hover:a,focus:n,selected:s})),style:m})};yt.states=nu;yt.options=ru;yt.className=mr;yt.moduleName=null;yt.folderName=null;var hs="color-palette",Ls="colorpalette";import{jsx as fa}from"react/jsx-runtime";var Ua="k-colorpalette",su=[r.disabled],lu={size:[l.undefined,l.small,l.medium,l.large]},vs={columns:10},Ie=e=>{let{size:t,palette:o,columns:a=vs.columns,tileSize:n,disabled:s,...d}=e,m=[];if(o){let f=a||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/f)},(N,h)=>{let u=[];x.slice(h*f,(h+1)*f).map((L,M)=>{u.push(fa(yt,{color:L,tileSize:n},M))});let v=fa(pr,{children:u},h);m.push(v)})}return fa("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,Ua,C(Ua,{disabled:s}),I(Ua,{size:t})),children:fa("table",{className:"k-colorpalette-table",role:"none",children:fa("tbody",{children:m.length>0?m:e.children})})})};Ie.states=su;Ie.options=lu;Ie.className=Ua;Ie.defaultOptions=vs;Ie.moduleName=hs;Ie.folderName=Ls;var Ga=Ie;var ba={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as du}from"react/jsx-runtime";var Ms=e=>du(Ga,{palette:ba.basic,...e});import{jsx as OA}from"react/jsx-runtime";import{jsx as wA,jsxs as _A}from"react/jsx-runtime";import{jsx as xu}from"react/jsx-runtime";var pu=Ie.options,mu=Ie.states,cu={...Ie.defaultOptions,variant:"basic"},uu=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],fu={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}},bu=[],Mo=e=>{let{variant:t="basic",...o}=e,a=fu[t];return xu(Ms,{columns:a.columns,palette:a,...o})};Mo.options=pu;Mo.states=mu;Mo.variants=uu;Mo.defaultOptions=cu;Mo.modifiers=bu;Mo.className=Ie.className;var Ss="color-editor",ks="coloreditor";import{jsx as Ge,jsxs as So}from"react/jsx-runtime";var Va="k-coloreditor",Nu=[r.focus],hu={size:[l.undefined,l.small,l.medium,l.large]},xa={view:"gradient",palette:ba.office,actionButtons:!0,canvasOrientation:"horizontal"},Z=e=>{let{size:t,view:o=xa.view,palette:a=xa.palette,color:n,currentColor:s,focus:d,focusView:m,dir:f,group:x,actionButtons:N=xa.actionButtons,canvasOrientation:h=xa.canvasOrientation,...u}=e;return So("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",Va,I(Va,{size:t}),C(Va,{focus:d})),dir:f,children:[So("div",{className:"k-coloreditor-header k-hstack",children:[Ge("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&So(A,{fillMode:"flat",children:[Ge(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),Ge(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),Ge("div",{className:"k-spacer"}),So("div",{className:"k-coloreditor-header-actions k-hstack",children:[Ge(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),So("div",{className:"k-coloreditor-preview k-vstack",children:[Ge(Lt,{className:"k-coloreditor-preview-color",color:n}),Ge(Lt,{className:"k-coloreditor-current-color",color:s})]})]})]}),Ge("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?Ge(le,{focus:m,size:t,canvasOrientation:h,role:"none",tabIndex:-1}):Ge(Ie,{palette:a,size:t})}),N&&So(nt,{className:"k-coloreditor-footer",alignment:"start",children:[Ge(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),Ge(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};Z.states=Nu;Z.options=hu;Z.className=Va;Z.defaultOptions=xa;Z.moduleName=Ss;Z.folderName=ks;var ko=Z;import{jsx as cB}from"react/jsx-runtime";import{jsx as xB}from"react/jsx-runtime";import{jsx as Lu}from"react/jsx-runtime";var gs=e=>Lu(ko,{group:!0,currentColor:"fuchsia",...e});import{jsx as vu}from"react/jsx-runtime";var Is=e=>vu(ko,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Es}from"react/jsx-runtime";var Mu=Z.options,Su=Z.states,ku={...Z.defaultOptions,variant:"gradient"},gu=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Iu=[],go=e=>{let{variant:t,...o}=e;return t==="palette"?Es(Is,{...o,color:"white"}):Es(gs,{...o,color:"rgba(183, 118 , 118, 1.00)"})};go.options=Mu;go.states=Su;go.variants=gu;go.defaultOptions=ku;go.modifiers=Iu;go.className=Z.className;var Cs="color-picker",ys="colorpicker";import{Fragment as yu,jsx as Ve,jsxs as cr}from"react/jsx-runtime";var Ts="k-colorpicker",Eu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Cu={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Os={arrowIconName:"chevron-down"},$e=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=Os.arrowIconName,prefix:s,suffix:d,value:m,placeholder:f,hover:x,focus:N,valid:h,invalid:u,required:v,disabled:L,valueIconName:M,popup:g,opened:E,adaptive:T,adaptiveSettings:z,adaptiveTitle:J,adaptiveSubtitle:Q,...ae}=e,ne="colorpicker-popup";return cr(yu,{children:[cr(tt,{...ae,size:t,rounded:o,fillMode:a,hover:x,focus:N,valid:h,invalid:u,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||T?ne:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:i(e.className,Ts,"k-icon-picker"),children:[Ve(me,{children:s}),Ve(_t,{placeholder:f,value:m,showValue:!1,valueIcon:Ve(Lt,{className:"k-value-icon",color:m,iconName:M}),valueIconName:M}),Ve(ce,{children:d}),Ve(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),E&&g&&Ve(X,{id:ne,className:"k-colorpicker-popup",children:g}),T&&Ve(q,{adaptive:!0,id:ne,...z,header:Ve(he,{actionsEnd:Ve(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:J,subtitle:Q}),footer:cr(vt,{children:[Ve(p,{text:"Cancel",size:"large"}),Ve(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:Ve(Z,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};$e.states=Eu;$e.options=Cu;$e.className=Ts;$e.defaultOptions=Os;$e.moduleName=Cs;$e.folderName=ys;var ft=$e;import{jsx as Tu}from"react/jsx-runtime";var $a=e=>Tu(ft,{...e});import{jsx as jB}from"react/jsx-runtime";import{jsx as nR}from"react/jsx-runtime";import{jsx as lR}from"react/jsx-runtime";import{jsx as cR}from"react/jsx-runtime";import{jsx as xR}from"react/jsx-runtime";import{jsx as vR}from"react/jsx-runtime";import{jsx as Ut}from"react/jsx-runtime";var Ou=ft.options,Au=ft.states,As={...ft.defaultOptions,variant:"color"},Bu=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Ru=[{name:"opened",title:"Opened"}],Io=e=>{let{variant:t,modifiers:o,...a}={...As,...e},n={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?Ut(Z,{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 Ut("div",{style:s,children:Ut($a,{...a,...n})});case"icon":return Ut("div",{style:s,children:Ut($a,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return Ut("div",{style:s,children:Ut($a,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Io.options=Ou;Io.states=Au;Io.variants=Bu;Io.defaultOptions=As;Io.modifiers=Ru;Io.className=ft.className;var ur="combobox",Bs=ur;import{Fragment as fr,jsx as ee,jsxs as Na}from"react/jsx-runtime";var Rs="k-combobox",Pu=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Ku={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ps={separators:!0},Se=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Ps.separators,prefix:s,suffix:d,value:m,placeholder:f,hover:x,focus:N,valid:h,invalid:u,required:v,loading:L,disabled:M,popup:g,opened:E,readonly:T,adaptive:z,adaptiveSettings:J,adaptiveTitle:Q,adaptiveSubtitle:ae,adaptiveCustomValue:ne,id:Kt,autocomplete:ln,activeDescendant:ht,"aria-label":Sa,...dn}=e,pn=Kt?`${Kt}-listbox`:void 0;return Na(fr,{children:[Na(H,{...dn,size:t,rounded:o,fillMode:a,hover:x,focus:N,valid:h,invalid:u,required:v,loading:L,disabled:M,readonly:T,className:i(e.className,Rs),children:[s&&Na(fr,{children:[ee(me,{children:s}),n&&ee(oe,{})]}),ee(ie,{id:Kt,placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?pn:void 0,"aria-activedescendant":E&&ht?ht:void 0,"aria-autocomplete":ln,"aria-invalid":u?"true":void 0,"aria-busy":L?"true":void 0,"aria-label":Sa,disabled:M,readOnly:T}),ee(j,{valid:h,invalid:u,loading:L,disabled:M}),ee(te,{loading:L,disabled:M}),ee(re,{loading:L,disabled:M,readonly:T,value:m}),d&&Na(fr,{children:[n&&ee(oe,{}),ee(ce,{children:d})]}),ee(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:M})]}),E&&g&&ee(X,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:g}),z&&ee(q,{adaptive:!0,id:Kt?`${Kt}-adaptive`:void 0,...J,header:ee(he,{actionsEnd:ee(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:Q,subtitle:ae}),children:ee("div",{className:"k-list-container",children:ee(P,{customValue:ne?ee(Et,{text:`Use "${m}"`}):void 0,size:"large",children:Na(U,{"aria-label":Q||"Options",children:[ee(B,{text:"List item"}),ee(B,{text:"List item"}),ee(B,{text:"List item"})]})})})})]})};Se.states=Pu;Se.options=Ku;Se.className=Rs;Se.defaultOptions=Ps;Se.moduleName=ur;Se.folderName=Bs;var Te=Se;import{jsx as wu}from"react/jsx-runtime";var Ks=e=>wu(Te,{...e});import{jsx as oP,jsxs as aP}from"react/jsx-runtime";import{jsx as dP,jsxs as pP}from"react/jsx-runtime";import{jsx as xP,jsxs as NP}from"react/jsx-runtime";import{Fragment as kP,jsx as SP}from"react/jsx-runtime";import{Fragment as TP,jsx as yP}from"react/jsx-runtime";import{jsx as KP,jsxs as wP}from"react/jsx-runtime";import{Fragment as VP,jsx as UP,jsxs as GP}from"react/jsx-runtime";import{jsx as JP}from"react/jsx-runtime";import{jsx as QP}from"react/jsx-runtime";import{jsx as nK,jsxs as rK}from"react/jsx-runtime";import{jsx as mK,jsxs as cK}from"react/jsx-runtime";import{jsx as Tt,jsxs as Uu}from"react/jsx-runtime";var _u=Se.states,Du=Se.defaultOptions,zu=Se.options,Hu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Fu=[],Eo=e=>{let{modifiers:t,...o}=e,a={},n=Tt(P,{style:{width:300},size:o.size,children:Uu(U,{children:[Tt(B,{children:"List item"}),Tt(B,{children:"List item"}),Tt(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?Tt(k,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?Tt(mt,{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}}),Tt("div",{children:Tt(Ks,{value:"Value",style:{width:300},...o,...a})})};Eo.options=zu;Eo.states=_u;Eo.variants=Fu;Eo.defaultOptions=Du;Eo.modifiers=Hu;Eo.className=Se.className;var br="menu-button",ws=br;import{jsx as $u}from"react/jsx-runtime";var _s="k-menu-button",Gu=[r.hover,r.focus,r.active,r.selected,r.disabled],Vu={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info,S.inverse]},xr={showArrow:!0,arrowIconName:"chevron-down"},G=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:f,disabled:x,icon:N,text:h,showArrow:u=xr.showArrow,arrowIconName:v=xr.arrowIconName,expanded:L,...M}=e;return $u(p,{...M,className:i(e.className,_s),text:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:f,disabled:x,ariaDisabled:x||void 0,icon:N,showArrow:u,arrowIconName:v,"aria-expanded":L?"true":"false",...!h&&N&&!e["aria-label"]&&{"aria-label":"Menu"}})};G.states=Gu;G.options=Vu;G.className=_s;G.defaultOptions=xr;G.moduleName=br;G.folderName=ws;import{jsx as $K}from"react/jsx-runtime";import{jsx as qK}from"react/jsx-runtime";import{jsx as jK}from"react/jsx-runtime";var Oe="menu",Xe=Oe;import{jsx as ha,jsxs as Ds}from"react/jsx-runtime";var Nr="k-menu-item",Xu=[r.hover,r.focus,r.active,r.selected,r.disabled],Wu={},zs={iconPosition:"before"},ue=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:m,showArrow:f,arrowIconName:x,iconPosition:N=zs.iconPosition,dir:h,children:u,expanded:v,...L}=e,M=x;return M||(M=h==="rtl"?"chevron-left":"chevron-right"),Ds("li",{...L,className:i(e.className,Nr,"k-item",C(Nr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Ds("span",{className:i("k-link k-menu-link"),children:[d&&N==="before"&&ha(k,{className:"k-menu-link-icon",icon:d}),ha("span",{className:"k-menu-link-text",children:m}),d&&N==="after"&&ha(k,{className:"k-menu-link-icon",icon:d}),f&&ha("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ha(k,{icon:M})})]}),u]})};ue.states=Xu;ue.options=Wu;ue.className=Nr;ue.defaultOptions=zs;ue.moduleName=Oe;ue.folderName=Xe;import{jsx as Gt,jsxs as Hs}from"react/jsx-runtime";var hr="k-menu-item",Ju=[r.hover,r.focus,r.active,r.selected,r.disabled],qu={},Lr={dir:"ltr",iconPosition:"before"},W=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:m,showArrow:f,arrowIconName:x,iconPosition:N=Lr.iconPosition,dir:h=Lr.dir,children:u,popup:v,expanded:L,actions:M,description:g,...E}=e,T=x;return T||(T=h==="rtl"?"chevron-left":"chevron-right"),Hs("li",{role:"menuitem",...E,className:i(e.className,hr,"k-item",C(hr,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":L?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Hs("span",{className:i("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[d&&N==="before"&&Gt(k,{className:"k-menu-link-icon",icon:d}),Gt("span",{className:"k-menu-link-text",children:m}),d&&N==="after"&&Gt(k,{className:"k-menu-link-icon",icon:d}),M&&Gt("span",{className:"k-menu-link-actions",children:M}),f&&Gt("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Gt(k,{icon:T})}),g&&Gt("span",{className:"k-menu-link-description",children:g})]}),u,v]})};W.states=Ju;W.options=qu;W.className=hr;W.defaultOptions=Lr;W.moduleName=Oe;W.folderName=Xe;import{jsx as ju}from"react/jsx-runtime";var Fs="k-menu-scroll-wrapper",Yu=[],Zu={},Qu={},Vt=e=>{let{className:t,children:o,orientation:a,...n}=e;return ju("div",{...n,className:i(t,Fs,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Vt.states=Yu;Vt.options=Zu;Vt.className=Fs;Vt.defaultOptions=Qu;Vt.moduleName=Oe;Vt.folderName=Xe;var Us=Vt;import{Fragment as vr,jsx as $t,jsxs as Wa}from"react/jsx-runtime";var Ja="k-menu",ef=[],tf={size:[l.undefined,l.small,l.medium,l.large]},qa={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},de=e=>{let{children:t,orientation:o=qa.orientation,header:a=qa.header,scrollable:n,scrollButtonsPosition:s=qa.scrollButtonsPosition,wrapperStyles:d,dir:m,size:f,popup:x,contextMenu:N,...h}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=$t("ul",{dir:m,...h,className:i(e.className,"k-reset",Ja,{[`${Ja}-${o}`]:o,"k-header":a},I(Ja,{size:f})),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return Wa(vr,{children:[n?Wa(Us,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&Wa(vr,{children:[$t(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),$t(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&$t(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,s==="end"&&Wa(vr,{children:[$t(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),$t(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&$t(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,x]})};de.states=ef;de.options=tf;de.className=Ja;de.defaultOptions=qa;de.moduleName=Oe;de.folderName=Xe;import{jsx as of}from"react/jsx-runtime";var Mr="k-separator",Gs={orientation:"horizontal"},Co=e=>{let{orientation:t=Gs.orientation,...o}=e;return of("li",{...o,className:i(e.className,"k-item",Mr,{[`${Mr}-${t}`]:t}),role:"separator"})};Co.className=Mr;Co.defaultOptions=Gs;Co.moduleName=Oe;Co.folderName=Xe;import{Fragment as yw,jsx as Tw}from"react/jsx-runtime";import{jsx as sf}from"react/jsx-runtime";var Sr="k-menu-group",af=[],nf={size:[l.undefined,l.small,l.medium,l.large]},rf={},fe=e=>{let{children:t,size:o,...a}=e;return sf("ul",{role:"menu",...a,className:i(e.className,Sr,I(Sr,{size:o})),children:t})};fe.states=af;fe.options=nf;fe.className=Sr;fe.defaultOptions=rf;fe.moduleName=Oe;fe.folderName=Xe;import{jsx as Dw,jsxs as zw}from"react/jsx-runtime";import{Fragment as lf,jsx as yo,jsxs as df}from"react/jsx-runtime";var kr=e=>yo(de,{children:df(lf,{children:[yo(ue,{text:"Item 1"}),yo(ue,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),yo(ue,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),yo(ue,{text:"Item 4"}),yo(ue,{text:"Item 5"})]}),...e});import{Fragment as qw,jsx as Ww,jsxs as Jw}from"react/jsx-runtime";import{Fragment as e0,jsx as jw,jsxs as t0}from"react/jsx-runtime";import{Fragment as i0,jsx as r0,jsxs as s0}from"react/jsx-runtime";import{Fragment as c0,jsx as m0,jsxs as u0}from"react/jsx-runtime";import{jsx as Xt,jsxs as ff}from"react/jsx-runtime";var pf={...de.options,scrollable:{type:"boolean"}},mf=de.states,Vs={...de.defaultOptions,variant:"horizontal"},cf=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],uf=[{name:"opened",title:"Opened"}],To=e=>{let{variant:t,modifiers:o,...a}={...Vs,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?Xt(X,{className:"k-menu-popup",offset:s,children:ff(fe,{children:[Xt(W,{text:"Item 1"}),Xt(W,{text:"Item 2"}),Xt(Co,{}),Xt(W,{text:"Item 3"})]})}):null)}),t==="vertical"?Xt(kr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):Xt(kr,{...a,...n})};To.options=pf;To.states=mf;To.variants=cf;To.defaultOptions=Vs;To.modifiers=uf;To.className=de.className;import{Fragment as X0,jsx as V0,jsxs as $0}from"react/jsx-runtime";import{jsx as Y0}from"react/jsx-runtime";import{Fragment as Lf,jsx as lt,jsxs as $s}from"react/jsx-runtime";var bf=p.states,Xs={...p.defaultOptions,variant:"text"},xf=p.options,Nf=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hf=[{name:"opened",title:"Opened"}],Oo=e=>{let{variant:t,modifiers:o,...a}={...Xs,...e},n={},s=lt(X,{className:"k-menu-popup",children:$s(fe,{size:a.size,children:[lt(W,{text:"Menu Item"}),lt(W,{text:"Menu Item"}),lt(W,{text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=lt("div",{children:lt(G,{...a,...n,icon:"star"})});break;case"icon-and-text":d=lt("div",{children:lt(G,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:d=lt("div",{children:lt(G,{...a,...n,children:"Dropdown Button"})});break}return $s(Lf,{children:[d,o?.opened&&s]})};Oo.options=xf;Oo.states=bf;Oo.variants=Nf;Oo.defaultOptions=Xs;Oo.modifiers=hf;Oo.className=G.className;var gr="split-button",Ws=gr;import{Fragment as Sf,jsx as Ir,jsxs as Js}from"react/jsx-runtime";var Er="k-split-button",vf=[r.hover,r.focus,r.active,r.selected,r.disabled],Mf={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info,S.inverse]},qs={arrowIconName:"chevron-down"},K=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:f,disabled:x,icon:N,text:h,arrowIconName:u=qs.arrowIconName,popup:v,opened:L,popupId:M,...g}=e;return Js(Sf,{children:[Js("div",{...g,className:i(e.className,Er,"k-button-group",I(Er,{rounded:o})),children:[Ir(p,{text:h,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:m,selected:f,disabled:x,...!h&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),Ir(p,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:x,ariaDisabled:x||void 0,"aria-label":"Toggle dropdown","aria-expanded":L?"true":"false","aria-controls":L?M:void 0,tabIndex:-1})]}),L&&v&&Ir(X,{className:"k-menu-popup",children:v})]})};K.states=vf;K.options=Mf;K.className=Er;K.defaultOptions=qs;K.moduleName=gr;K.folderName=Ws;var Cr=K;import{jsx as gf}from"react/jsx-runtime";var kf="k-toolbar-separator",be=e=>gf("div",{className:i(kf,e.className,"k-separator")});var Wt="toolbar",Ao=Wt;import{Fragment as yr,jsx as w,jsxs as Bo}from"react/jsx-runtime";var bt="k-toolbar",If=[r.focus],Ef={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Cf={scrollButtons:"around"},V=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:d,scrollingPosition:m,section:f,...x}=e,N=[],h=(u,v)=>{let L=[];if(u.type===p&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))L.push(w(p,{...u.props,className:`${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===p)L.push(w(p,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===ea)L.push(w(ea,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===mt)L.push(w(mt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===G)L.push(w(G,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Cr)L.push(w(Cr,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===A||u.props.className&&u.props.className.includes("k-button-group")){let M=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,T)=>{M.push(w(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${T}-${new Date().getTime()}`))}),L.push(w(A,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:M},`${v}-${new Date().getTime()}`))}else u.type===Se?L.push(w(Se,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===D?L.push(w(D,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===$e?L.push(w($e,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(u);L.forEach(M=>{N.push(M)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{h(v,L)}),Bo("div",{...x,className:i(e.className,bt,I(bt,{size:t,fillMode:o}),C(bt,{focus:a}),{[`${bt}-resizable`]:n,[`${bt}-scrollable`]:s,[`${bt}-scrollable-overlay`]:s&&d==="hidden",[`${bt}-scrollable-${m}`]:m&&m!=="both",[`${bt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&d==="hidden"&&w("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&d==="start"&&Bo(yr,{children:[Bo(A,{children:[w("span",{className:i("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:w(k,{className:"k-button-icon",icon:"chevron-left"})}),w("span",{className:i("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:w(k,{className:"k-button-icon",icon:"chevron-right"})})]}),w(be,{className:"k-toolbar-button-separator"}),w("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&d==="end"&&Bo(yr,{children:[w("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),w(be,{className:"k-toolbar-button-separator"}),Bo(A,{children:[w("span",{className:i("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:w(k,{className:"k-button-icon",icon:"chevron-left"})}),w("span",{className:i("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:w(k,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&Bo(yr,{children:[w("span",{className:i("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:w(k,{className:"k-button-icon",icon:"chevron-left"})}),w(be,{className:"k-toolbar-button-separator"}),w("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),w(be,{className:"k-toolbar-button-separator"}),w("span",{className:i("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:w(k,{className:"k-button-icon",icon:"chevron-right"})})]})]})};V.states=If;V.options=Ef;V.className=bt;V.defaultOptions=Cf;V.moduleName=Wt;V.folderName=Ao;import{jsx as Af}from"react/jsx-runtime";var Tr="k-toolbar-item",yf=[r.focus],Tf={},Of={},dt=e=>{let{focus:t,...o}=e;return Af("div",{...o,className:i(e.className,Tr,C(Tr,{focus:t})),children:e.children})};dt.states=yf;dt.options=Tf;dt.className=Tr;dt.defaultOptions=Of;dt.moduleName=Wt;dt.folderName=Ao;import{jsx as Ys}from"react/jsx-runtime";var Zs="k-toolbar-popup",Bf=[],Rf={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Pf={},Jt=e=>{let{size:t,fillMode:o,section:a,...n}=e;return Ys(X,{...n,className:i(e.className,Zs),children:a?Ys("span",{className:i("k-toolbar-items-list",I("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Jt.states=Bf;Jt.options=Rf;Jt.className=Zs;Jt.defaultOptions=Pf;Jt.moduleName=Wt;Jt.folderName=Ao;var Ya=Jt;import{jsx as q_}from"react/jsx-runtime";import{jsx as j_}from"react/jsx-runtime";import{jsx as aD}from"react/jsx-runtime";import{jsx as dD,jsxs as pD}from"react/jsx-runtime";import{jsx as fD}from"react/jsx-runtime";import{jsx as xt,jsxs as zf}from"react/jsx-runtime";var Kf=K.states,Qs={...K.defaultOptions,variant:"text"},wf=K.options,_f=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Df=[{name:"opened",title:"Opened"}],Ro=e=>{let{variant:t,modifiers:o,...a}={...Qs,...e},n={},s=zf(fe,{size:a.size,children:[xt(W,{text:"Menu Item"}),xt(W,{text:"Menu Item"}),xt(W,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!o?.[d],n.popup=o?.[d]?s:"")}),t){case"icon-only":return xt("div",{children:xt(K,{...a,...n,icon:"star"})});case"icon-and-text":return xt("div",{children:xt(K,{...a,...n,icon:"star",children:"Split Button"})});default:return xt("div",{children:xt(K,{...a,...n,children:"Split Button"})})}};Ro.options=wf;Ro.states=Kf;Ro.variants=_f;Ro.defaultOptions=Qs;Ro.modifiers=Df;Ro.className=K.className;import{jsx as qt,jsxs as Hf}from"react/jsx-runtime";var js=e=>qt(V,{children:[qt(p,{children:"Button"},"toolbar-button"),qt(G,{text:"Menu button"},"toolbar-menu-button"),qt(K,{children:"Split button"},"toolbar-split-button"),Hf(A,{children:[qt(p,{className:"k-group-start",icon:"align-left",children:"Left"}),qt(p,{icon:"align-center",children:"Center"}),qt(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as GD,jsxs as VD}from"react/jsx-runtime";import{jsx as Ae,jsxs as el}from"react/jsx-runtime";var tl=e=>Ae(V,{scrollable:!0,...e,children:[Ae(p,{children:"Button"},"toolbar-button"),Ae(G,{text:"Menu button"},"toolbar-menu-button"),Ae(K,{children:"Split button"},"toolbar-split-button"),el(A,{children:[Ae(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ae(p,{icon:"align-center",children:"Center"}),Ae(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ae(p,{children:"Button"},"toolbar-button"),Ae(G,{text:"Menu button"},"toolbar-menu-button"),Ae(K,{children:"Split button"},"toolbar-split-button"),el(A,{children:[Ae(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Ae(p,{icon:"align-center",children:"Center"}),Ae(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Be,jsxs as ol}from"react/jsx-runtime";var al=({scrollingPosition:e="start",...t})=>Be(V,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Be(p,{children:"Button"},"toolbar-button"),Be(G,{text:"Menu button"},"toolbar-menu-button"),Be(K,{children:"Split button"},"toolbar-split-button"),ol(A,{children:[Be(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Be(p,{icon:"align-center",children:"Center"}),Be(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Be(p,{children:"Button"},"toolbar-button"),Be(G,{text:"Menu button"},"toolbar-menu-button"),Be(K,{children:"Split button"},"toolbar-split-button"),ol(A,{children:[Be(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Be(p,{icon:"align-center",children:"Center"}),Be(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Ff,jsx as Ee,jsxs as Za}from"react/jsx-runtime";var nl=({fillMode:e,size:t,...o})=>Za(Ff,{children:[Ee(V,{section:!0,fillMode:e,size:t,children:[Ee(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Za(A,{fillMode:e,children:[Ee(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ee(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ee(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Ee(be,{className:"k-toolbar-button-separator"}),Ee(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Za(Ya,{size:t,fillMode:e,section:!0,...o,children:[Ee(K,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Ee(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ee(be,{}),Ee(G,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Za(A,{fillMode:e,children:[Ee(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Ee(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Ee(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as kz,jsx as Mz,jsxs as Sz}from"react/jsx-runtime";import{Fragment as Pz,jsx as Bz,jsxs as Rz}from"react/jsx-runtime";import{jsx as Ot}from"react/jsx-runtime";var Uf=V.options,Gf=V.states,rl={...V.defaultOptions,variant:"default"},Vf=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],$f=[],Po=e=>{let{variant:t,...o}={...rl,...e};switch(t){case"responsive":return Ot("div",{children:Ot(nl,{style:{width:"583px"},...o})});case"overlay":return Ot("div",{children:Ot(al,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Ot("div",{children:Ot(tl,{style:{width:"583px"},...o})});default:return Ot("div",{children:Ot(js,{style:{width:"583px"},...o})})}};Po.options=Uf;Po.states=Gf;Po.variants=Vf;Po.defaultOptions=rl;Po.modifiers=$f;Po.className=V.className;import{jsx as Re}from"react/jsx-runtime";var il="k-imageeditor-toolbar",Xf=[],Wf={},Jf=[Re(p,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),Re(p,{disabled:!0,icon:"download","aria-label":"Download"},"toolbar-button-2"),Re(be,{},"toolbar-separator-1"),Re(p,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),Re(p,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),Re(be,{},"toolbar-separator-2"),Re(p,{disabled:!0,icon:"crop","aria-label":"Crop"},"toolbar-button-5"),Re(p,{disabled:!0,icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),Re(p,{disabled:!0,icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),Re(p,{disabled:!0,icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),Re(dt,{children:Re(D,{disabled:!0,value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],sl={toolbarItems:Jf},Ko=e=>{let{toolbarItems:t=sl.toolbarItems,...o}=e;return Re(V,{...o,className:i(e.className,il),children:t})};Ko.states=Xf;Ko.options=Wf;Ko.className=il;Ko.defaultOptions=sl;var ll="image-editor",dl="imageeditor";import{jsx as La,jsxs as pl}from"react/jsx-runtime";var ml="k-imageeditor",qf=[],Yf={},Zf={},pt=e=>{let{toolbarItems:t,actionPane:o,contentHeight:a,children:n,...s}=e;return pl("div",{...s,className:i(e.className,ml),children:[La("div",{className:"k-imageeditor-header",children:La(Ko,{toolbarItems:t})}),pl("div",{className:"k-imageeditor-content",style:{height:a},children:[La("div",{className:"k-imageeditor-canvas-container",children:La("div",{className:"k-imageeditor-canvas",children:n})}),o&&La("div",{className:"k-imageeditor-action-pane",children:o})]})]})};pt.states=qf;pt.options=Yf;pt.className=ml;pt.defaultOptions=Zf;pt.moduleName=ll;pt.folderName=dl;var cl="form",ul="forms";import{Fragment as fl,jsx as Qa,jsxs as eb}from"react/jsx-runtime";var ja="k-form",Qf=[],jf={size:[l.undefined,l.small,l.medium,l.large]},Or={layout:"basic",tag:"form"},pe=e=>{let{size:t,orientation:o,layout:a=Or.layout,formButtons:n,cols:s,gutters:d,tag:m=Or.tag,children:f,style:x}=e,N=m,h=i(e.className,ja,I(ja,{size:t}),{[`${ja}-${o}`]:o}),u=eb(fl,{children:[a==="grid"?Qa("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...x},children:f}):Qa(fl,{children:f}),n&&Qa("div",{className:"k-form-buttons",children:n})]}),{role:v,"aria-labelledby":L,"aria-label":M,id:g}=e;return Qa(N,{className:h,role:v,"aria-labelledby":L,"aria-label":M,id:g,children:u})};pe.states=Qf;pe.options=jf;pe.className=ja;pe.defaultOptions=Or;pe.moduleName=cl;pe.folderName=ul;var bl="label",xl="label";import{jsx as Nl,jsxs as nb}from"react/jsx-runtime";var Ar="k-label",tb=[r.disabled],ob={},ab={},At=e=>{let{disabled:t,optional:o,info:a,text:n,children:s,...d}=e;return nb("label",{...d,className:i(e.className,Ar,C(Ar,{disabled:t})),children:[n||s,o&&Nl("span",{className:"k-label-optional",children:"(Optional)"}),a&&Nl("span",{className:"k-field-info",children:a})]})};At.states=tb;At.options=ob;At.className=Ar;At.defaultOptions=ab;At.moduleName=bl;At.folderName=xl;import{jsx as lb}from"react/jsx-runtime";var hl="k-form-hint",rb=[],ib={},sb={},We=e=>{let{text:t,children:o,...a}=e;return lb("div",{...a,className:i(e.className,hl),children:t||o})};We.states=rb;We.options=ib;We.className=hl;We.defaultOptions=sb;import{jsx as cb}from"react/jsx-runtime";var Ll="k-form-error",db=[],pb={},mb={},Je=e=>{let{text:t,children:o,...a}=e;return cb("div",{...a,className:i(e.className,Ll),children:t||o})};Je.states=db;Je.options=pb;Je.className=Ll;Je.defaultOptions=mb;import{jsx as en,jsxs as vl}from"react/jsx-runtime";var Br="k-form-field",ub=[r.disabled],qe=e=>{let{editorId:t,label:o,orientation:a,optional:n,editor:s,hint:d,error:m,info:f,disabled:x,dir:N,colSpan:h,...u}=e;return vl("div",{...u,className:i(Br,e.className,C(Br,{disabled:x}),{[`k-col-span-${h}`]:h}),dir:N,children:[o&&en(At,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:n,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&en("span",{className:"k-label k-form-label k-label-empty"}),vl("div",{className:"k-form-field-wrap",children:[s,d&&en(We,{id:t?`${t}-hint`:void 0,children:d}),m&&en(Je,{id:t?`${t}-error`:void 0,children:m})]})]})};qe.states=ub;qe.className=Br;import{Fragment as fb,jsx as Rr,jsxs as bb}from"react/jsx-runtime";var Ml="k-form-fieldset",Bt=e=>{let{legend:t,layout:o,cols:a,gutters:n,colSpan:s}=e;return bb("fieldset",{className:i(Ml,{[`k-col-span-${s}`]:s}),children:[t&&Rr("legend",{className:"k-form-legend",children:t}),o==="grid"?Rr("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof n=="string"&&{gap:n},...typeof n=="object"&&n.rows&&{rowGap:n.rows},...typeof n=="object"&&n.cols&&{columnGap:n.cols}},children:e.children}):Rr(fb,{children:e.children})]})};Bt.className=Ml;var Yt="radio",wo=Yt;import{jsx as Sl}from"react/jsx-runtime";var tn="k-radio",xb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],Nb={size:[l.undefined,l.small,l.medium,l.large]},hb={},Pe=e=>{let{id:t,checked:o,hover:a,focus:n,disabled:s,invalid:d,valid:m,required:f,size:x,...N}=e;return Sl("span",{className:"k-radio-wrap",children:Sl("input",{...N,id:t,type:"radio",checked:o,required:f,disabled:s||void 0,"aria-invalid":d?"true":void 0,className:i(e.className,tn,I(tn,{size:x}),C(tn,{hover:a,focus:n,disabled:s,invalid:d,valid:m,checked:o}))})})};Pe.states=xb;Pe.options=Nb;Pe.className=tn;Pe.defaultOptions=hb;Pe.moduleName=Yt;Pe.folderName=wo;var Ye=Pe;import{jsx as Mb}from"react/jsx-runtime";var kl="k-radio-list",Lb=[],vb={},gl={layout:"vertical"},xe=e=>{let{layout:t=gl.layout,...o}=e;return Mb("ul",{...o,className:i(e.className,kl,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};xe.states=Lb;xe.options=vb;xe.className=kl;xe.defaultOptions=gl;xe.moduleName=Yt;xe.folderName=wo;import{jsx as Ib}from"react/jsx-runtime";var Il="k-radio-list-item",Sb=[],kb={},gb={},Ne=e=>{let{...t}=e;return Ib("li",{...t,className:i(e.className,Il),role:"none",children:e.children})};Ne.states=Sb;Ne.options=kb;Ne.className=Il;Ne.defaultOptions=gb;Ne.moduleName=Yt;Ne.folderName=wo;import{jsx as o2}from"react/jsx-runtime";import{Fragment as Eb,jsx as El,jsxs as Cb}from"react/jsx-runtime";var Nt=({children:e,id:t,...o})=>Cb(Eb,{children:[El(Ye,{...o,id:t}),El("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as p2,jsx as d2,jsxs as m2}from"react/jsx-runtime";import{Fragment as N2,jsx as b2,jsxs as x2}from"react/jsx-runtime";import{Fragment as S2,jsx as M2,jsxs as k2}from"react/jsx-runtime";import{Fragment as y2,jsx as C2,jsxs as T2}from"react/jsx-runtime";import{Fragment as w2,jsx as K2,jsxs as _2}from"react/jsx-runtime";import{jsx as F2}from"react/jsx-runtime";import{jsx as Pb}from"react/jsx-runtime";var Tb=Ye.options,Ob=Ye.states,Ab=Ye.defaultOptions,Bb=[],Rb=[],_o=e=>Pb(Nt,{id:O("radio"),name:"value",...e,children:"Label"});_o.options=Tb;_o.states=Ob;_o.variants=Bb;_o.defaultOptions=Ab;_o.modifiers=Rb;_o.className=Ye.className;import{jsx as Ze,jsxs as Cl}from"react/jsx-runtime";var Kb=xe.options,wb=xe.states,_b={...xe.defaultOptions,variant:"vertical"},Db=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],zb=[],Do=e=>{let{variant:t,...o}=e;return t==="horizontal"?Cl(xe,{layout:"horizontal",...o,children:[Ze(Ne,{children:Ze(Nt,{id:O("rb"),name:"value",defaultChecked:!0,children:"Label"})}),Ze(Ne,{children:Ze(Nt,{id:O("rb"),name:"value",children:"Label"})}),Ze(Ne,{children:Ze(Nt,{id:O("rb"),name:"value",children:"Label"})})]}):Cl(xe,{...o,children:[Ze(Ne,{children:Ze(Nt,{id:O("rb"),name:"value",defaultChecked:!0,children:"Label"})}),Ze(Ne,{children:Ze(Nt,{id:O("rb"),name:"value",children:"Label"})}),Ze(Ne,{children:Ze(Nt,{id:O("rb"),name:"value",children:"Label"})})]})};Do.options=Kb;Do.states=wb;Do.variants=Db;Do.defaultOptions=_b;Do.modifiers=zb;Do.className=xe.className;import{Fragment as k1,jsx as S1,jsxs as g1}from"react/jsx-runtime";import{Fragment as R1,jsx as B1,jsxs as P1}from"react/jsx-runtime";import{Fragment as F1,jsx as H1,jsxs as U1}from"react/jsx-runtime";var yl="date-input",Tl="dateinput";import{jsx as va,jsxs as Gb}from"react/jsx-runtime";var Ol="k-dateinput",Hb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Fb={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ub={},Ke=e=>{let{size:t,rounded:o,fillMode:a,value:n,placeholder:s,hover:d,focus:m,valid:f,invalid:x,required:N,loading:h,disabled:u,readonly:v,showClearButton:L,showSpinButton:M,id:g,"aria-label":E,"aria-describedby":T,...z}=e;return Gb(H,{...z,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:f,invalid:x,required:N,loading:h,disabled:u,readonly:v,className:i(e.className,Ol),children:[va(ie,{id:g,placeholder:s,value:n,disabled:u,"aria-label":E,"aria-describedby":T,"aria-invalid":x?"true":void 0}),va(j,{valid:f,invalid:x,loading:h,disabled:u}),va(te,{loading:h,disabled:u}),L&&va(re,{loading:h,disabled:u,readonly:v,value:n}),M&&va(it,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};Ke.states=Hb;Ke.options=Fb;Ke.className=Ol;Ke.defaultOptions=Ub;Ke.moduleName=yl;Ke.folderName=Tl;var Pr=Ke;import{jsx as Vb}from"react/jsx-runtime";var Al=e=>Vb(Pr,{...e});import{jsx as o3}from"react/jsx-runtime";import{jsx as Yb}from"react/jsx-runtime";var $b=Ke.options,Xb=Ke.states,Wb=Ke.defaultOptions,Jb=[{name:"spin-button",title:"`Spin` Button"}],qb=[],zo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="spin-button"&&(a.showSpinButton=!!t?.[n])}),Yb(Al,{value:"2/04/2021",style:{width:"300px"},...o,...a})};zo.options=$b;zo.states=Xb;zo.variants=qb;zo.defaultOptions=Wb;zo.modifiers=Jb;zo.className=Ke.className;var Bl="masked-textbox",Rl="maskedtextbox";import{Fragment as Pl,jsx as Rt,jsxs as Kr}from"react/jsx-runtime";var Kl="k-maskedtextbox",Zb=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Qb={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},wr={showClearButton:!0,separators:!0},we=e=>{let{size:t,rounded:o,fillMode:a,separators:n=wr.separators,showClearButton:s=wr.showClearButton,prefix:d,suffix:m,value:f,placeholder:x,hover:N,focus:h,valid:u,invalid:v,required:L,loading:M,disabled:g,readonly:E,id:T,"aria-label":z,"aria-describedby":J,...Q}=e;return Kr(H,{...Q,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:u,invalid:v,required:L,loading:M,disabled:g,readonly:E,className:i(e.className,Kl),children:[d&&Kr(Pl,{children:[Rt(me,{children:d}),n&&Rt(oe,{})]}),Rt(ie,{id:T,placeholder:x,value:f,disabled:g,"aria-label":z,"aria-describedby":J,"aria-invalid":v?"true":void 0}),Rt(j,{valid:u,invalid:v,loading:M,disabled:g}),Rt(te,{loading:M,disabled:g}),s&&Rt(re,{loading:M,disabled:g,readonly:E,value:f}),m&&Kr(Pl,{children:[n&&Rt(oe,{}),Rt(ce,{children:m})]})]})};we.states=Zb;we.options=Qb;we.className=Kl;we.defaultOptions=wr;we.moduleName=Bl;we.folderName=Rl;var Ho=we;import{jsx as jb}from"react/jsx-runtime";var wl=e=>jb(Ho,{...e});import{Fragment as C3,jsx as E3}from"react/jsx-runtime";import{Fragment as R3,jsx as B3}from"react/jsx-runtime";import{jsx as _3}from"react/jsx-runtime";import{jsx as F3}from"react/jsx-runtime";import{jsx as _r}from"react/jsx-runtime";var ex=we.states,tx=we.defaultOptions,ox=we.options,ax=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],nx=[],Fo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t?.[n]?_r(D,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[n]?_r(k,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[n];break;default:break}}),_r(wl,{value:"Value",style:{width:300},...o,...a})};Fo.options=ox;Fo.states=ex;Fo.variants=nx;Fo.defaultOptions=tx;Fo.modifiers=ax;Fo.className=we.className;var Dr="switch",_l=Dr;import{jsx as on,jsxs as Dl}from"react/jsx-runtime";var Pt="k-switch",rx=[r.hover,r.focus,r.disabled,r.readonly,r.checked],ix={size:[l.undefined,l.small,l.medium,l.large],trackRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],thumbRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},sx={},Ce=e=>{let{checked:t,onLabel:o,offLabel:a,size:n,trackRounded:s,thumbRounded:d,hover:m,focus:f,disabled:x,readonly:N,...h}=e;return Dl("span",{...h,className:i(e.className,Pt,I(Pt,{size:n}),C(Pt,{hover:m,focus:f,disabled:x,readonly:N}),{[`${Pt}-on`]:t,[`${Pt}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:x?void 0:0,"aria-disabled":x?"true":void 0,"aria-readonly":N?"true":void 0,children:[Dl("span",{className:i("k-switch-track",I(Pt,{rounded:s})),children:[o&&on("span",{className:"k-switch-label-on",children:o}),a&&on("span",{className:"k-switch-label-off",children:a})]}),on("span",{className:"k-switch-thumb-wrap",children:on("span",{className:i("k-switch-thumb",I(Pt,{rounded:d}))})})]})};Ce.states=rx;Ce.options=ix;Ce.className=Pt;Ce.defaultOptions=sx;Ce.moduleName=Dr;Ce.folderName=_l;import{jsx as m5}from"react/jsx-runtime";import{jsx as b5}from"react/jsx-runtime";import{jsx as L5}from"react/jsx-runtime";import{jsx as k5}from"react/jsx-runtime";import{jsx as zl}from"react/jsx-runtime";var lx=Ce.options,dx=Ce.states,px={...Ce.defaultOptions,variant:"on"},mx=[{name:"on",title:"On"},{name:"off",title:"Off"}],cx=[],Uo=e=>{let{variant:t,...o}=e;return t==="off"?zl(Ce,{checked:!1,onLabel:"On",offLabel:"Off",...o}):zl(Ce,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Uo.options=lx;Uo.states=dx;Uo.variants=mx;Uo.defaultOptions=px;Uo.modifiers=cx;Uo.className=Ce.className;var Hr="textarea",Hl=Hr;import{Fragment as Fl,jsx as Ma,jsxs as Fr}from"react/jsx-runtime";var Ul="k-textarea",ux=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],fx={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Go={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},ye=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=Go.prefixSeparator,suffixSeparator:s=Go.prefixSeparator,affixesOrientation:d=Go.affixesOrientation,flow:m=Go.flow,resize:f=Go.resize,prefix:x,suffix:N,rows:h,value:u,placeholder:v,hover:L,focus:M,valid:g,invalid:E,required:T,disabled:z,id:J,"aria-label":Q,"aria-describedby":ae,...ne}=e;return Fr(H,{...ne,size:t,rounded:o,fillMode:a,hover:L,focus:M,valid:g,invalid:E,required:T,disabled:z,className:i(e.className,Ul,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[x&&Fr(Fl,{children:[Ma(me,{className:i({"!k-align-items-start":m===d}),direction:d,children:x}),n&&Ma(oe,{direction:m==="horizontal"?"vertical":"horizontal"})]}),Ma(aa,{className:i("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:u,placeholder:v,rows:h,disabled:z,id:J,"aria-label":Q,"aria-describedby":ae,"aria-invalid":E?"true":void 0}),N&&Fr(Fl,{children:[s&&Ma(oe,{direction:m==="horizontal"?"vertical":"horizontal"}),Ma(ce,{className:i({"!k-align-items-start":m===d}),direction:d,children:N})]})]})};ye.states=ux;ye.options=fx;ye.className=Ul;ye.defaultOptions=Go;ye.moduleName=Hr;ye.folderName=Hl;import{jsx as V5}from"react/jsx-runtime";import{Fragment as Y5,jsx as q5}from"react/jsx-runtime";import{Fragment as oF,jsx as tF}from"react/jsx-runtime";import{jsx as iF}from"react/jsx-runtime";import{jsx as an}from"react/jsx-runtime";var bx=ye.options,xx=ye.states,Gl={...ye.defaultOptions,variant:"vertical"},Nx=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],hx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Vo=e=>{let{variant:t,modifiers:o,...a}={...Gl,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o?.[s]?an(k,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o?.[s]?an(k,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?an(ye,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):an(ye,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};Vo.options=bx;Vo.states=xx;Vo.variants=Nx;Vo.defaultOptions=Gl;Vo.modifiers=hx;Vo.className=ye.className;import{Fragment as OF,jsx as TF,jsxs as AF}from"react/jsx-runtime";import{Fragment as gx,jsx as ke,jsxs as $o}from"react/jsx-runtime";var Lx=pe.options,vx=pe.states,Mx={...pe.defaultOptions,variant:"vertical"},Sx=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],kx=[],Xo=e=>{let{variant:t,size:o,...a}=e,n=$o(Bt,{legend:"Form Legend",children:[ke(qe,{label:"Label",editor:ke(F,{size:o})}),ke(qe,{label:"Label",hint:"Hint text",editor:ke(D,{value:"Dropdown List",size:o})}),ke(qe,{label:"City",editor:$o("ul",{className:"k-radio-list k-list-horizontal",children:[$o("li",{className:"k-radio-list-item",children:[ke(Pe,{checked:!0,size:o}),ke("label",{className:"k-radio-label",children:"Label"})]}),$o("li",{className:"k-radio-list-item",children:[ke(Pe,{size:o}),ke("label",{className:"k-radio-label",children:"Label"})]}),$o("li",{className:"k-radio-list-item",children:[ke(Pe,{size:o}),ke("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=$o(gx,{children:[ke(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),ke(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?ke(pe,{orientation:"horizontal",size:o,...a,formButtons:s,children:n}):ke(pe,{size:o,...a,formButtons:s,children:n})};Xo.options=Lx;Xo.states=vx;Xo.variants=Sx;Xo.defaultOptions=Mx;Xo.modifiers=kx;Xo.className=pe.className;import{jsx as Vl,jsxs as Tx}from"react/jsx-runtime";var Ix=We.options,Ex=We.states,$l={...We.defaultOptions},Cx=[],yx=[{name:"showHint",title:"Show Hint"}],Wo=e=>{let{modifiers:t,...o}={...$l,...e},a=t?.showHint??!0;return Tx("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Vl(F,{placeholder:"Component",style:{width:"200px"}}),a&&Vl(We,{...o,children:"Hint text"})]})};Wo.options=Ix;Wo.states=Ex;Wo.variants=Cx;Wo.defaultOptions=$l;Wo.modifiers=yx;Wo.className=We.className;import{jsx as Xl,jsxs as Px}from"react/jsx-runtime";var Ox=Je.options,Ax=Je.states,Wl={...Je.defaultOptions},Bx=[],Rx=[{name:"showError",title:"Show Error"}],Jo=e=>{let{modifiers:t,...o}={...Wl,...e},a=t?.showError??!0;return Px("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Xl(F,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&Xl(Je,{...o,children:"Error text"})]})};Jo.options=Ox;Jo.states=Ax;Jo.variants=Bx;Jo.defaultOptions=Wl;Jo.modifiers=Rx;Jo.className=Je.className;import{Fragment as M6,jsx as v6,jsxs as S6}from"react/jsx-runtime";var Gr="segmented-control",Jl=Gr,ql="segmented-control-button",Yl="segmented-control";import{jsx as Dx,jsxs as zx}from"react/jsx-runtime";var nn="k-segmented-control",wx=[],_x={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},qo=e=>{let{size:t,rounded:o,stretched:a,children:n,thumbStyles:s,...d}=e;return zx("div",{...d,className:i(e.className,nn,I(nn,{size:t,rounded:o}),{[`${nn}-stretched`]:a}),role:"group",children:[Dx("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),n]})};qo.states=wx;qo.options=_x;qo.className=nn;qo.moduleName=Gr;qo.folderName=Jl;import{jsx as Zl,jsxs as Gx}from"react/jsx-runtime";var Vr="k-segmented-control-button",Hx=[r.selected,r.hover,r.focus,r.disabled],Fx={},Ux={},Zt=e=>{let{hover:t,focus:o,selected:a,disabled:n,icon:s,text:d,iconClassName:m,...f}=e;return Gx("button",{...f,className:i(e.className,Vr,C(Vr,{hover:t,focus:o,disabled:n,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":n?"true":void 0,tabIndex:a?0:-1,children:[s&&Zl(k,{className:i(m,"k-segmented-control-button-icon"),icon:s}),(d||e.children)&&Zl("span",{className:"k-segmented-control-button-text",children:d||e.children})]})};Zt.states=Hx;Zt.options=Fx;Zt.className=Vr;Zt.defaultOptions=Ux;Zt.moduleName=ql;Zt.folderName=Yl;import{Fragment as D6,jsx as _6,jsxs as z6}from"react/jsx-runtime";import{Fragment as $6,jsx as V6,jsxs as X6}from"react/jsx-runtime";import{Fragment as Q6,jsx as Z6,jsxs as j6}from"react/jsx-runtime";import{Fragment as r7,jsx as n7,jsxs as i7}from"react/jsx-runtime";import{Fragment as c7,jsx as m7,jsxs as u7}from"react/jsx-runtime";import{Fragment as R7,jsx as B7,jsxs as P7}from"react/jsx-runtime";import{jsx as Vx}from"react/jsx-runtime";var G7=e=>Vx(pt,{...e});export{G7 as ImageEditorNormal};
|
|
1
|
+
var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...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 I=(e,t)=>n({[`${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"}),E=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:l,checked:p,active:m,selected:f,disabled:x,indeterminate:h,loading:N,empty:u,readonly:k,highlighted:g,...M}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":l,"k-checked":p,"k-active":m,"k-selected":f,"k-disabled":x,"k-indeterminate":h&&!p,"k-loading":N,"k-empty":u,"k-readonly":k,"k-highlighted":g},Object.keys(M).reduce((S,y)=>(y.startsWith("k-")?S[y]=M[y]:S[`k-${y}`]=M[y],S),{}))};function _n(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var s={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},ht={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"},Hn={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var Fi={};function C(e){return Fi[e]=(Fi[e]||0)+1,`k-${e}-${Fi[e]}`}import{Fragment as xp,jsx as Fn}from"react/jsx-runtime";var Ui="k-font-icon",up=[],fp={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},bp={},La=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...p}=e;return a?Fn("span",{...p,className:n(e.className,Ui,I(Ui,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):Fn(xp,{})};La.states=up;La.options=fp;La.className=Ui;La.defaultOptions=bp;var Un=La;import{Fragment as gp,jsx as Za}from"react/jsx-runtime";var Gi="k-svg-icon",hp=[],Np={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ht.outline,ht.solid,ht.duotone]},$i={viewBox:"0 0 24 24",variant:ht.outline},ka=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=$i.viewBox,variant:p=$i.variant,icon:m,...f}=e;if(!m)return Za(gp,{});if(m==="none")return Za("span",{...f,className:n(e.className,Gi,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?p&&m.variants?.[p]||m.variants?.outline||m.content:void 0;return Za("span",{...f,className:n(e.className,Gi,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:Za("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:l,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};ka.states=hp;ka.options=Np;ka.className=Gi;ka.defaultOptions=$i;var Vi=ka;import*as Xi from"@progress/kendo-svg-icons";var Gn="icon",$n="icons";import{useContext as Lp}from"react";import{createContext as vp}from"react";var Vn=vp({iconsType:"svg"});import{Fragment as Xn,jsx as Ma}from"react/jsx-runtime";var Qa="k-icon",kp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Mp=[],Ip={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[ht.outline,ht.solid,ht.duotone]},ja={viewBox:"0 0 24 24",type:"svg",variant:ht.outline},L=e=>{let{iconsType:t}=Lp(Vn),{size:o,themeColor:a,icon:i,type:l=t||ja.type,rotate:p,flip:m,viewBox:f=ja.viewBox,variant:x=ja.variant,...h}=e;if(!i)return Ma(Xn,{});if((t||l)==="svg"){if(i==="none")return Ma(Vi,{...h,className:n(e.className,Qa),icon:i,size:o,variant:x});let u=Xi[i]?i:kp(`${i}-icon`);return Xi[u]?Ma(Vi,{...h,className:n(e.className,Qa),icon:Xi[u],size:o,themeColor:a,rotate:p,flip:m,viewBox:f,variant:x}):Ma(Xn,{})}return Ma(Un,{...h,className:n(e.className,Qa),icon:i,size:o,themeColor:a,rotate:p,flip:m})};L.states=Mp;L.options=Ip;L.defaultOptions=ja;L.className=Qa;L.moduleName=Gn;L.folderName=$n;var Wi="button",Wn=Wi;import{Fragment as Jn,jsx as ho,jsxs as qn}from"react/jsx-runtime";var Ia="k-button",Sp=["icon-button"],yp=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Ep={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Ji={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:l,showArrow:p=Ji.showArrow,arrowIconName:m=Ji.arrowIconName,variant:f,hover:x,focus:h,active:N,selected:u,disabled:k,togglable:g,ariaDisabled:M,icon:S,iconSize:y,text:O,iconClassName:H,className:J,...Q}=e,se=S!=null,de=e.children!==void 0;return qn(t,{className:n(J,Ia,_n(Ia,f),I(Ia,{size:o,rounded:a,fillMode:i,themeColor:l}),E(Ia,{hover:x,focus:h,active:N,disabled:k||M,selected:u}),{"k-icon-button":!O&&!de&&se}),"aria-pressed":g?u?"true":"false":void 0,...Q,"aria-disabled":M?"true":void 0,disabled:k||void 0,children:[typeof S=="string"&&S&&ho(L,{className:n(H,"k-button-icon"),icon:S,size:y}),S&&typeof S!="string"&&ho(Jn,{children:S}),O?qn(Jn,{children:[O&&ho("span",{className:"k-button-text",children:O}),e.children]}):e.children&&ho("span",{className:"k-button-text",children:e.children}),p&&ho("span",{className:"k-menu-button-arrow k-button-arrow",children:ho(L,{icon:m})})]})};d.states=yp;d.options=Ep;d.variants=Sp;d.className=Ia;d.defaultOptions=Ji;d.moduleName=Wi;d.folderName=Wn;import{jsx as Cp}from"react/jsx-runtime";var Ot=e=>Cp(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as Tp}from"react/jsx-runtime";var Sa=e=>Tp(d,{icon:"folder",children:"Button",...e});import{jsx as Op}from"react/jsx-runtime";var Nt=e=>Op(d,{children:"Button",...e});import{jsx as qi}from"react/jsx-runtime";var Ap=d.options,Bp=d.states,Rp={...d.defaultOptions,variant:"text"},Pp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],wp=[],No=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return qi(Ot,{...o,icon:"star"});case"icon-and-text":return qi(Sa,{...o,icon:"star",children:"Button"});default:return qi(Nt,{...o,children:"Button"})}};No.options=Ap;No.states=Bp;No.variants=Pp;No.defaultOptions=Rp;No.modifiers=wp;No.className=d.className;var Yi="button",Yn=Yi;import{jsx as _p}from"react/jsx-runtime";var ya="k-button-group",Kp=[r.disabled],zp={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Dp={},B=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return _p("div",{role:"group",...i,className:n(e.className,ya,I(ya,{fillMode:t}),E(ya,{disabled:o}),{[`${ya}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};B.states=Kp;B.options=zp;B.className=ya;B.defaultOptions=Dp;B.moduleName=Yi;B.folderName=Yn;import{Fragment as sv,jsx as lv,jsxs as dv}from"react/jsx-runtime";import{Fragment as bv,jsx as fv,jsxs as xv}from"react/jsx-runtime";import{Fragment as kv,jsx as Lv,jsxs as Mv}from"react/jsx-runtime";import{Fragment as Tv,jsx as Cv,jsxs as Ov}from"react/jsx-runtime";import{Fragment as Kv,jsx as wv,jsxs as zv}from"react/jsx-runtime";import{Fragment as Gv,jsx as Uv,jsxs as $v}from"react/jsx-runtime";import{jsx as At,jsxs as Zi}from"react/jsx-runtime";var Hp={...d.options,...B.options},Fp=d.states,Up={...d.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"}],$p=[],go=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Zi(B,{fillMode:a.fillMode,className:o,children:[At(d,{...a,icon:"star"}),At(d,{...a,icon:"star"}),At(d,{...a,icon:"star"})]}):t==="icon-text-button"?Zi(B,{fillMode:a.fillMode,className:o,children:[At(d,{...a,icon:"star",children:"First"}),At(d,{...a,icon:"star",children:"Middle"}),At(d,{...a,icon:"star",children:"Last"})]}):Zi(B,{fillMode:a.fillMode,className:o,children:[At(d,{...a,children:"First"}),At(d,{...a,children:"Middle"}),At(d,{...a,children:"Last"})]})};go.options=Hp;go.states=Fp;go.variants=Gp;go.defaultOptions=Up;go.modifiers=$p;go.className=B.className;var Ea="input",ei=Ea;import{jsx as Jp}from"react/jsx-runtime";var ti="k-input",Vp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Xp={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Wp={},U=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return Jp("span",{...N,className:n(e.className,ti,I(ti,{size:f,rounded:x,fillMode:h}),E(ti,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m}))})};U.states=Vp;U.options=Xp;U.className=ti;U.defaultOptions=Wp;U.moduleName=Ea;U.folderName=ei;import{jsx as Qp}from"react/jsx-runtime";var oi="k-picker",qp=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Yp={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Zp={},gt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return Qp("span",{...N,className:n(e.className,oi,I(oi,{size:f,rounded:x,fillMode:h}),E(oi,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m})),children:e.children})};gt.states=qp;gt.options=Yp;gt.className=oi;gt.defaultOptions=Zp;gt.moduleName=Ea;gt.folderName=ei;import{Fragment as tm,jsx as Qi}from"react/jsx-runtime";var Zn="k-clear-value",jp=[r.disabled,r.loading,r.readonly],em={},pe=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Qi(tm,{}):Qi("span",{className:n(e.className,Zn),children:Qi(L,{icon:"x"})})};pe.states=jp;pe.options=em;pe.className=Zn;import{jsx as im}from"react/jsx-runtime";var ji="k-input-inner",om=[],am={},ai={type:"text",autocomplete:"off",value:"",placeholder:""},me=e=>{let{value:t=ai.value,type:o=ai.type,placeholder:a=ai.placeholder,autocomplete:i=ai.autocomplete,disabled:l,readOnly:p,...m}=e;return im("input",{...m,type:o,className:n(e.className,ji,I(ji,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:l||void 0,readOnly:p||void 0})};me.states=om;me.options=am;me.className=ji;import{jsx as Qn,jsxs as lm}from"react/jsx-runtime";var er="k-input-inner",rm=[],nm={},Qt=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...p}=e;return lm("span",{...p,className:n(e.className,er,I(er,e)),children:[i,!i&&l&&Qn(L,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&Qn("span",{className:"k-input-value-text",children:t})]})};Qt.states=rm;Qt.options=nm;Qt.className=er;import{jsx as pm}from"react/jsx-runtime";var tr="k-input-inner",sm=[],dm={},jn={value:"",placeholder:""},Ca=e=>{let{value:t=jn.value,placeholder:o=jn.placeholder,rows:a,disabled:i,...l}=e;return pm("textarea",{...l,className:n(e.className,tr,I(tr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Ca.states=sm;Ca.options=dm;Ca.className=tr;import{Fragment as cm,jsx as el}from"react/jsx-runtime";var tl="k-input-loading-icon",mm=[r.disabled,r.loading],oe=e=>{let{disabled:t,loading:o}=e;return t||!o?el(cm,{}):el("span",{className:n(e.className,tl,"k-icon k-i-loading")})};oe.states=mm;oe.className=tl;import{Fragment as bm,jsx as ol}from"react/jsx-runtime";var al="k-input-validation-icon",um=[r.valid,r.invalid,r.disabled,r.loading],fm={},j=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?ol(bm,{}):ol(L,{className:n(al),icon:l})};j.states=um;j.options=fm;j.className=al;import{Fragment as Nm,jsx as il}from"react/jsx-runtime";var xm="k-input-prefix",hm={direction:"horizontal"},ue=e=>{let{direction:t=hm.direction,...o}=e;return e.children?il("span",{...o,className:n(xm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):il(Nm,{})};import{Fragment as Lm,jsx as rl}from"react/jsx-runtime";var gm="k-input-suffix",vm={direction:"horizontal"},fe=e=>{let{direction:t=vm.direction,...o}=e;return e.children?rl("span",{...o,className:n(gm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):rl(Lm,{})};import{jsx as $L}from"react/jsx-runtime";import{jsx as Mm}from"react/jsx-runtime";var km="k-input-suffix-text",ii=e=>{let{children:t,...o}=e;return Mm("span",{...o,className:n(km,e.className),children:t})};import{jsx as Sm}from"react/jsx-runtime";var nl="k-input-separator",Im={direction:"vertical"},ee=e=>{let{direction:t=Im.direction,...o}=e;return Sm("span",{...o,className:n(nl,e.className,{[`${nl}-${t}`]:t})})};import{Fragment as ll,jsx as vt,jsxs as or}from"react/jsx-runtime";var ym=U.states,Em=U.defaultOptions,Cm=U.options,Tm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Om=[],vo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:l,readonly:p,...m}=e,f=t?.prefix,x=t?.suffix,h=t?.["clear-button"],N=t?.["validation-icon"],u=t?.separators;return or(U,{...m,valid:o,invalid:a,loading:i,disabled:l,readonly:p,style:{width:300},children:[f&&or(ll,{children:[vt(ue,{children:vt(L,{icon:"lock"})}),u&&vt(ee,{})]}),vt(me,{placeholder:"Placeholder",value:"Value"}),N&&vt(j,{valid:o,invalid:a,loading:i,disabled:l}),vt(oe,{loading:i,disabled:l}),h&&vt(pe,{loading:i,disabled:l,readonly:p,value:"Value"}),x&&or(ll,{children:[u&&vt(ee,{}),vt(fe,{children:vt(Nt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};vo.options=Cm;vo.states=ym;vo.variants=Om;vo.defaultOptions=Em;vo.modifiers=Tm;vo.className=U.className;import{jsx as sl,jsxs as Rm}from"react/jsx-runtime";var dl="k-color-preview",Am=[],Bm={},_t=e=>{let{color:t,iconName:o,...a}=e;return Rm("span",{...a,className:n(e.className,dl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&sl(L,{icon:o,className:"k-color-preview-icon"}),sl("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};_t.states=Am;_t.options=Bm;_t.className=dl;var ar="popup",pl=ar;import{jsx as ml}from"react/jsx-runtime";var cl="k-animation-container",Pm=[],wm={},ir={positionMode:"absolute",shown:!0},We=e=>{let{positionMode:t=ir.positionMode,shown:o=ir.shown,animationStyle:a,offset:i,...l}=e;return ml("div",{...l,style:{...i,...e.style},className:n(e.className,cl,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:ml("div",{className:"k-child-animation-container",style:a,children:e.children})})};We.states=Pm;We.options=wm;We.className=cl;We.defaultOptions=ir;We.moduleName=ar;We.folderName=pl;var rr="popup",ul=rr;import{jsx as fl}from"react/jsx-runtime";var bl="k-popup",Km=[],zm={},xl={positionMode:"absolute"},V=e=>{let{offset:t,positionMode:o=xl.positionMode,animationStyle:a,containerClassName:i,containerRole:l,containerAriaLabel:p,...m}=e;return fl(We,{positionMode:o,offset:t,animationStyle:a,className:i,role:l,"aria-label":p,children:fl("div",{...m,className:n(e.className,bl),children:e.children})})};V.states=Km;V.options=zm;V.className=bl;V.defaultOptions=xl;V.moduleName=rr;V.folderName=ul;var nr="action-buttons",hl=nr;import{jsx as Hm}from"react/jsx-runtime";var ri="k-actions",Dm=[],_m={},lr={alignment:"start",orientation:"horizontal"},Je=e=>{let{alignment:t=lr.alignment,orientation:o=lr.orientation,...a}=e;return Hm("div",{...a,className:n(ri,{[`${ri}-${t}`]:t,[`${ri}-${o}`]:o},e.className),children:e.children})};Je.states=Dm;Je.options=_m;Je.className=ri;Je.defaultOptions=lr;Je.moduleName=nr;Je.folderName=hl;import{jsx as Um}from"react/jsx-runtime";var Fm="k-actionsheet-footer",Nl={alignment:"stretched",orientation:"horizontal"},Ht=e=>{let{alignment:t=Nl.alignment,orientation:o=Nl.orientation,template:a,as:i=a?"div":Je,...l}=e;return Um(i,{...l,...!a&&{alignment:t,orientation:o},className:n(e.className,Fm),children:e.children})};var sr="searchbox",gl=sr;import{jsx as Ta,jsxs as Vm}from"react/jsx-runtime";var vl="k-searchbox",Gm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],$m={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},dr={showIcon:!0,icon:"search"},qe=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:l,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:u,showIcon:k=dr.showIcon,icon:g=dr.icon,"aria-label":M,...S}=e;return Vm(U,{...S,size:a,rounded:i,fillMode:l,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:u,className:n(e.className,vl),children:[k&&Ta(L,{className:"k-input-icon",icon:g}),Ta(me,{placeholder:o,value:t,"aria-label":M}),Ta(oe,{...e}),Ta(j,{...e}),Ta(pe,{...e})]})};qe.states=Gm;qe.options=$m;qe.className=vl;qe.defaultOptions=dr;qe.moduleName=sr;qe.folderName=gl;import{jsx as bM}from"react/jsx-runtime";var pr="textbox",Ll=pr;import{Fragment as kl,jsx as Ft,jsxs as mr}from"react/jsx-runtime";var Ml="k-textbox",Xm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Wm={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ni={showClearButton:!0,showValidationIcon:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ni.separators,showClearButton:l=ni.showClearButton,showValidationIcon:p=ni.showValidationIcon,prefix:m,suffix:f,type:x,value:h,placeholder:N,hover:u,focus:k,valid:g,invalid:M,required:S,loading:y,disabled:O,readonly:H,id:J,"aria-label":Q,"aria-describedby":se,...de}=e;return mr(U,{...de,size:t,rounded:o,fillMode:a,hover:u,focus:k,valid:g,invalid:M,required:S,loading:y,disabled:O,readonly:H,className:n(e.className,Ml),children:[m&&mr(kl,{children:[Ft(ue,{children:m}),i&&Ft(ee,{})]}),Ft(me,{id:J,placeholder:N,value:h,type:x,disabled:O,"aria-label":Q,"aria-describedby":se,"aria-invalid":M?"true":void 0}),p&&Ft(j,{valid:g,invalid:M,loading:y,disabled:O}),Ft(oe,{loading:y,disabled:O}),l&&Ft(pe,{loading:y,disabled:O,readonly:H,value:h}),f&&mr(kl,{children:[i&&Ft(ee,{}),Ft(fe,{children:f})]})]})};_.states=Xm;_.options=Wm;_.className=Ml;_.defaultOptions=ni;_.moduleName=pr;_.folderName=Ll;var Oa=_;import{jsx as Jm}from"react/jsx-runtime";var Il=e=>Jm(Oa,{...e});import{Fragment as RM,jsx as BM}from"react/jsx-runtime";import{Fragment as _M,jsx as DM}from"react/jsx-runtime";import{jsx as GM}from"react/jsx-runtime";import{jsx as cr}from"react/jsx-runtime";var qm=_.states,Ym=_.defaultOptions,Zm=_.options,Qm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],jm=[],Lo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?cr(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?cr(Nt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),cr(Il,{value:"Value",style:{width:300},...o,...a})};Lo.options=Zm;Lo.states=qm;Lo.variants=jm;Lo.defaultOptions=Ym;Lo.modifiers=Qm;Lo.className=_.className;import{jsx as Ut,jsxs as ur}from"react/jsx-runtime";var Sl="k-actionsheet-titlebar",ec={},Ne=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:p,inputValue:m,inputPlaceholder:f,adaptive:x,titleId:h,children:N,...u}=e;return ur("div",{...u,className:n(e.className,Sl),children:[ur("div",{className:"k-actionsheet-titlebar-group",children:[a&&Ut("div",{className:"k-actionsheet-actions",children:a}),!N&&ur("div",{className:"k-actionsheet-title",id:h,children:[t&&Ut("div",{className:"k-text-center",children:t}),o&&Ut("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&Ut("div",{className:"k-actionsheet-title",id:h,children:N}),i&&Ut("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&Ut("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?Ut(_,{value:m,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):Ut(qe,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};Ne.className=Sl;Ne.defaultOptions=ec;import{jsx as fr,jsxs as ic}from"react/jsx-runtime";var br="k-actionsheet-view",tc=[],oc={},ac={},ko=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,titleId:p,...m}=e,f=i?.type===Ne&&fr(Ne,{adaptive:t,titleId:p,...i?.props}),x=l?.type===Ht&&fr(Ht,{...l?.props});return ic("div",{...m,className:n(e.className,br,{[`${br}-animated`]:o}),children:[f,fr("div",{className:"k-actionsheet-content",children:a}),x]})};ko.states=tc;ko.options=oc;ko.className=br;ko.defaultOptions=ac;var Aa="action-sheet",li=Aa;var xr="overlay",yl=xr;import{jsx as sc}from"react/jsx-runtime";var El="k-overlay",rc=[],nc={},lc={},ct=e=>{let{...t}=e;return sc("div",{...t,className:n(e.className,El),children:e.children})};ct.states=rc;ct.options=nc;ct.className=El;ct.defaultOptions=lc;ct.moduleName=xr;ct.folderName=yl;var Cl=ct;import{jsx as si,jsxs as mc}from"react/jsx-runtime";var Tl="k-actionsheet",dc=[],pc={},Ba={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},q=e=>{let{side:t=Ba.side,fullscreen:o=Ba.fullscreen,adaptive:a=Ba.adaptive,overlay:i=Ba.overlay,template:l,children:p,header:m,footer:f,id:x,...h}=e,N=x&&!l&&m?`${x}-title`:void 0;return mc("div",{className:"k-actionsheet-container",children:[i&&si(ct,{}),si(We,{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:si("div",{...h,id:x,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:n(e.className,Tl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||si(ko,{header:m,footer:f,adaptive:a,titleId:N,...e,children:p})})})]})};q.states=dc;q.options=pc;q.className=Tl;q.defaultOptions=Ba;q.moduleName=Aa;q.folderName=li;import{jsx as bc}from"react/jsx-runtime";var Ol="k-actionsheet-container",cc=[],uc={},fc={},Mo=e=>{let{children:t,...o}=e;return bc("div",{...o,className:Ol,children:t})};Mo.states=cc;Mo.options=uc;Mo.className=Ol;Mo.defaultOptions=fc;Mo.moduleName=Aa;Mo.folderName=li;import{jsx as xc}from"react/jsx-runtime";var hr=e=>{let{...t}=e;return xc("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};import{Fragment as Nc,jsx as Ra,jsxs as Nr}from"react/jsx-runtime";var gr="k-actionsheet-item",hc=[r.hover,r.focus,r.selected,r.disabled],Gt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:p,disabled:m,...f}=e;return Nr("span",{...f,className:n(e.className,gr,E(gr,{hover:i,focus:l,selected:p,disabled:m})),children:[!e.children&&Ra(Nc,{children:Nr("span",{className:"k-actionsheet-action",children:[t&&Ra("span",{className:"k-icon-wrap",children:Ra(L,{className:"k-actionsheet-item-icon",icon:t})}),Nr("span",{className:"k-actionsheet-item-text",children:[o&&Ra("span",{className:"k-actionsheet-item-title",children:o}),a&&Ra("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Gt.states=hc;Gt.className=gr;import{jsx as UI,jsxs as GI}from"react/jsx-runtime";import{jsx as WI}from"react/jsx-runtime";import{jsx as ZI}from"react/jsx-runtime";import{jsx as tS}from"react/jsx-runtime";import{jsx as ge,jsxs as vr}from"react/jsx-runtime";var gc=q.options,vc=q.states,Bl={...q.defaultOptions,variant:"normal"},Lc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],kc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Io=e=>{let{variant:t,modifiers:o,...a}={...Bl,...e},i={},l=vr(hr,{children:[ge(Gt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ge(Gt,{text:"Add to Favorites",iconName:"heart"}),ge(Gt,{text:"Upload New",iconName:"upload",disabled:!0}),ge("hr",{className:"k-hr"}),ge(Gt,{text:"Cancel",iconName:"cancel"})]}),p="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":i.actionsStart=!!o?.[f],i.actionsEnd=!!o?.[f];break;case"subtitle":i.subtitle=o?.[f]?p:void 0;break;case"footer":i.footer=!!o?.[f];break;default:break}}),t==="adaptive"?ge(q,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ge(Ne,{actionsStart:i.actionsStart?ge(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ge(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?vr(Ht,{alignment:"stretched",children:[ge(d,{text:"Cancel",size:"large",themeColor:"base"}),ge(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):ge(q,{...a,fullscreen:i.fullScreen,header:ge(Ne,{actionsStart:i.actionsStart?ge(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ge(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?vr(Ht,{alignment:"stretched",children:[ge(d,{text:"Apply",themeColor:"primary"}),ge(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Io.options=gc;Io.states=vc;Io.variants=Lc;Io.defaultOptions=Bl;Io.modifiers=kc;Io.className=q.className;var Lr="slider",Rl=Lr;import{jsx as So,jsxs as kr}from"react/jsx-runtime";var Pa="k-slider",Mc=[r.hover,r.focus,r.active,r.disabled,r.readonly],Ic={},Ye={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},G=e=>{let{type:t=Ye.type,orientation:o=Ye.orientation,gradientType:a=Ye.gradientType,readonly:i=Ye.readonly,disabled:l=Ye.disabled,handlePosition:p=Ye.handlePosition,showButtons:m=Ye.showButtons,showTicks:f=Ye.showTicks,value:x=Ye.value,min:h=Ye.min,max:N=Ye.max,startValue:u,endValue:k,hover:g,focus:M,active:S,trackStyle:y,dir:O,...H}=e,Q=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),se,de;return o==="horizontal"?(se=O==="rtl"?"chevron-left":"chevron-right",de=O==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(se="chevron-up",de="chevron-down"),kr("div",{...H,className:n(Pa,e.className,E(Pa,{readonly:i,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:O,children:[m&&So(d,{className:"k-button-decrease",rounded:"full",icon:de,tabIndex:-1,title:"Decrease"}),kr("div",{className:"k-slider-track-wrap",children:[f&&So("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),kr("div",{className:"k-slider-track",style:y,children:[So("div",{className:"k-slider-selection"}),t==="range"&&So("span",{className:n("k-draghandle","k-draghandle-start",E(Pa,{hover:g,focus:M,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":u??h,"aria-valuemin":h,"aria-valuemax":k??N,"aria-orientation":Q,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":H["aria-label"]?`${H["aria-label"]} start`:"Range start"}),So("span",{className:n("k-draghandle",`k-draghandle-${p}`,E(Pa,{hover:g,focus:M,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":t==="range"?k??N:x,"aria-valuemin":t==="range"?u??h:h,"aria-valuemax":N,"aria-orientation":Q,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?H["aria-label"]?`${H["aria-label"]} end`:"Range end":H["aria-label"]})]})]}),m&&So(d,{className:"k-button-increase",rounded:"full",icon:se,tabIndex:-1,title:"Increase"})]})};G.states=Mc;G.options=Ic;G.className=Pa;G.defaultOptions=Ye;G.moduleName=Lr;G.folderName=Rl;import{jsx as Pl}from"react/jsx-runtime";var wl="k-tick",Sc=[],yc={},Kl={label:!1},A=e=>{let{style:t,label:o=Kl.label,orientation:a,large:i,text:l,...p}=e;return Pl("li",{...p,role:"presentation",title:l||"Tick",className:n(e.className,wl,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&Pl("span",{className:"k-label",children:l})})};A.states=Sc;A.options=yc;A.className=wl;A.defaultOptions=Kl;import{Fragment as Ec,jsx as Ze,jsxs as Cc}from"react/jsx-runtime";var zl=e=>Ze(G,{"aria-label":e["aria-label"]||"Slider",children:Cc(Ec,{children:[Ze(A,{className:"k-first",label:!0,large:!0,text:"0"}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{label:!0,large:!0,text:"5"}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{}),Ze(A,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as Tc,jsx as Qe,jsxs as Oc}from"react/jsx-runtime";var Dl=e=>Qe(G,{children:Oc(Tc,{children:[Qe(A,{className:"k-first",label:!0,large:!0,text:"0"}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{label:!0,large:!0,text:"5"}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{}),Qe(A,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as GS,jsx as US,jsxs as $S}from"react/jsx-runtime";import{Fragment as qS,jsx as JS,jsxs as YS}from"react/jsx-runtime";import{jsx as Ac}from"react/jsx-runtime";var Mr=e=>Ac(G,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as Bc}from"react/jsx-runtime";var Ir=e=>Bc(G,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as ly,jsx as ny,jsxs as sy}from"react/jsx-runtime";import{Fragment as uy,jsx as cy,jsxs as fy}from"react/jsx-runtime";import{jsx as Lt,jsxs as _l}from"react/jsx-runtime";var Rc=G.options,Pc=G.states,Hl={...G.defaultOptions,variant:"horizontal",label:!0},wc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Kc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],yo=e=>{let{variant:t,modifiers:o,...a}=e,i=Hl.label,l={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{l.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{l.showTicks=!!o?.[m];break}}});let p={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?_l(Dl,{style:{height:"300px",...p},...a,...l,children:[Lt(A,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Lt(A,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Lt(A,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Lt(A,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Lt(A,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):_l(zl,{style:{width:"400px",...p},...a,...l,children:[Lt(A,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Lt(A,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Lt(A,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Lt(A,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Lt(A,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};yo.options=Rc;yo.states=Pc;yo.variants=wc;yo.defaultOptions=Hl;yo.modifiers=Kc;yo.className=G.className;import{jsx as Fl,jsxs as Fc}from"react/jsx-runtime";var Ul="k-spin-button",_c=[],Hc={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Sr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},kt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Sr.increaseLabel,decreaseLabel:l=Sr.decreaseLabel,...p}=e;return Fc("span",{...p,className:n(Ul,e.className),children:[Fl(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),Fl(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};kt.states=_c;kt.options=Hc;kt.className=Ul;kt.defaultOptions=Sr;kt.moduleName=null;kt.folderName=null;var Gl="numeric-textbox",$l="numerictextbox";import{Fragment as Vl,jsx as Bt,jsxs as yr}from"react/jsx-runtime";var Xl="k-numerictextbox",Uc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Gc={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},di={showSpinButton:!0,showClearButton:!0,separators:!0},P=e=>{let{size:t,rounded:o,fillMode:a,separators:i=di.separators,showClearButton:l=di.showClearButton,showSpinButton:p=di.showSpinButton,prefix:m,suffix:f,value:x,placeholder:h,hover:N,focus:u,valid:k,invalid:g,required:M,loading:S,disabled:y,readonly:O,id:H,"aria-label":J,"aria-describedby":Q,...se}=e;return yr(U,{...se,size:t,rounded:o,fillMode:a,hover:N,focus:u,valid:k,invalid:g,required:M,loading:S,disabled:y,readonly:O,className:n(e.className,Xl),children:[m&&yr(Vl,{children:[Bt(ue,{children:m}),i&&Bt(ee,{})]}),Bt(me,{id:H,placeholder:h,value:x,role:"spinbutton",disabled:y,"aria-label":J,"aria-describedby":Q,"aria-invalid":g?"true":void 0}),Bt(j,{valid:k,invalid:g,loading:S,disabled:y}),Bt(oe,{loading:S,disabled:y}),l&&Bt(pe,{loading:S,disabled:y,readonly:O,value:x}),f&&yr(Vl,{children:[i&&Bt(ee,{}),Bt(fe,{children:f})]}),p&&Bt(kt,{className:"k-input-spinner",size:t,fillMode:a,disabled:y})]})};P.states=Uc;P.options=Gc;P.className=Xl;P.defaultOptions=di;P.moduleName=Gl;P.folderName=$l;var wa=P;import{jsx as $c}from"react/jsx-runtime";var Wl=e=>$c(wa,{...e});import Cr from"react";import{jsx as Jl}from"react/jsx-runtime";var Vc="k-list-group-sticky-header",Er=e=>Jl("div",{className:n(Vc,e.className),children:Jl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Wc}from"react/jsx-runtime";var Xc="k-no-data",pi=e=>{let{live:t,...o}=e;return Wc("span",{...o,className:n(Xc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var jt="list",Eo=jt;import{jsx as ql,jsxs as Yl}from"react/jsx-runtime";var Tr="k-list",Jc=[],qc={size:[s.undefined,s.small,s.medium,s.large]},Yc={},R=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:l,optionLabel:p,customValue:m,noData:f,screenReaders:x,...h}=e,u=Cr.Children.toArray(a)[0],k=u?.props?.children?Cr.Children.count(u.props.children):Cr.Children.count(a);return Yl("div",{...h,className:n(e.className,Tr,I(Tr,{size:t}),{"k-virtual-list":o}),children:[p,l,m,i&&ql(Er,{children:i}),a||(f!==void 0?f:ql(pi,{live:!0,children:"No data found."})),x&&a&&Yl(pi,{className:"k-sr-only",live:!0,children:[k," items found."]})]})};R.states=Jc;R.options=qc;R.className=Tr;R.defaultOptions=Yc;R.moduleName=jt;R.folderName=Eo;import{jsx as eu}from"react/jsx-runtime";var Zl="k-list-container",Zc=[],Qc={},jc={},Co=e=>{let{...t}=e;return eu("div",{...t,className:n(e.className,Zl),children:e.children})};Co.states=Zc;Co.options=Qc;Co.className=Zl;Co.defaultOptions=jc;Co.moduleName=jt;Co.folderName=Eo;var eo="checkbox",To=eo;import{jsx as Ql}from"react/jsx-runtime";var mi="k-checkbox",tu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],ou={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},au={},Ae=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:p,invalid:m,valid:f,required:x,size:h,rounded:N,wrapperRole:u,...k}=e;return Ql("span",{className:"k-checkbox-wrap",role:u,children:Ql("input",{...k,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:p||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,mi,I(mi,{size:h,rounded:N}),E(mi,{hover:i,focus:l,disabled:p,invalid:m,valid:f,indeterminate:a,checked:o}))})})};Ae.states=tu;Ae.options=ou;Ae.className=mi;Ae.defaultOptions=au;Ae.moduleName=eo;Ae.folderName=To;var ut=Ae;import{jsx as nu}from"react/jsx-runtime";var jl="k-checkbox-list",iu=[],ru={},es={layout:"vertical"},ye=e=>{let{layout:t=es.layout,...o}=e;return nu("ul",{...o,className:n(e.className,jl,{[`k-list-${t}`]:t}),children:e.children})};ye.states=iu;ye.options=ru;ye.className=jl;ye.defaultOptions=es;ye.moduleName=eo;ye.folderName=To;import{jsx as pu}from"react/jsx-runtime";var ts="k-checkbox-list-item",lu=[],su={},du={},Ee=e=>{let{...t}=e;return pu("li",{...t,className:n(e.className,ts),children:e.children})};Ee.states=lu;Ee.options=su;Ee.className=ts;Ee.defaultOptions=du;Ee.moduleName=eo;Ee.folderName=To;import{Fragment as mu,jsx as os,jsxs as cu}from"react/jsx-runtime";var ft=({children:e="Label",id:t="cb-label-after",...o})=>cu(mu,{children:[os(ut,{id:t,...o}),os("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as DE,jsx as zE,jsxs as _E}from"react/jsx-runtime";import{Fragment as $E,jsx as GE,jsxs as VE}from"react/jsx-runtime";import{Fragment as YE,jsx as qE,jsxs as ZE}from"react/jsx-runtime";import{jsx as tC}from"react/jsx-runtime";import{jsx as rC}from"react/jsx-runtime";import{jsx as dC}from"react/jsx-runtime";import{jsx as je,jsxs as as}from"react/jsx-runtime";var uu=ye.options,fu=ye.states,bu={...ye.defaultOptions,variant:"vertical"},xu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],hu=[],Oo=e=>{let{variant:t,...o}=e;return t==="horizontal"?as(ye,{layout:"horizontal",...o,children:[je(Ee,{children:je(ft,{id:C("cb"),defaultChecked:!0,children:"Label"})}),je(Ee,{children:je(ft,{id:C("cb"),children:"Label"})}),je(Ee,{children:je(ft,{id:C("cb"),children:"Label"})})]}):as(ye,{...o,children:[je(Ee,{children:je(ft,{id:C("cb"),defaultChecked:!0,children:"Label"})}),je(Ee,{children:je(ft,{id:C("cb"),children:"Label"})}),je(Ee,{children:je(ft,{id:C("cb"),children:"Label"})})]})};Oo.options=uu;Oo.states=fu;Oo.variants=xu;Oo.defaultOptions=bu;Oo.modifiers=hu;Oo.className=ye.className;import{jsx as Mu}from"react/jsx-runtime";var Nu=ut.options,gu=ut.states,vu=ut.defaultOptions,Lu=[],ku=[],Ao=e=>Mu(ft,{id:C("checkbox"),...e,defaultChecked:!0,children:"Label"});Ao.options=Nu;Ao.states=gu;Ao.variants=Lu;Ao.defaultOptions=vu;Ao.modifiers=ku;Ao.className=ut.className;import{jsx as Bo,jsxs as Eu}from"react/jsx-runtime";var Or="k-list-item",Iu=[r.hover,r.focus,r.selected,r.disabled],Su={},yu={},T=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:l,hover:p,focus:m,selected:f,disabled:x,actions:h,description:N,id:u,...k}=e,g=t||e.children,M=t||(typeof g=="string"?g:void 0);return Eu("li",{...k,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":x?"true":void 0,className:n(e.className,Or,E(Or,{hover:p,focus:m,disabled:x,selected:f})),children:[i&&Bo(Ae,{checked:l,disabled:x,"aria-label":M,tabIndex:-1}),o&&Bo("span",{className:"k-list-item-icon-wrapper",children:Bo(L,{icon:o,className:n("k-list-item-icon",a)})}),Bo("span",{className:"k-list-item-text",children:g}),h&&Bo("div",{className:"k-list-item-actions",children:h}),N&&Bo("span",{className:"k-list-item-description",children:N})]})};T.states=Iu;T.options=Su;T.className=Or;T.defaultOptions=yu;T.moduleName=jt;T.folderName=Eo;import{jsx as Tu}from"react/jsx-runtime";var Cu="k-list-ul",Mt=e=>{let{children:t,role:o,id:a,...i}=e;return Tu("ul",{...i,id:a,role:o,className:n(Cu,e.className),children:t})};import{jsx as Ar,jsxs as Au}from"react/jsx-runtime";var Ou="k-list-content",w=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:l,...p}=e;return Au("div",{...p,className:n(Ou,e.className),role:o?"listbox":void 0,id:o?l:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:Ar(Mt,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&Ar("div",{className:"k-height-container",children:Ar("div",{})})]})};import{jsx as Br,jsxs as wu}from"react/jsx-runtime";var ci="k-list-sticky-header",Bu=[r.hover,r.focus,r.selected],Ru={},Pu={},ui=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:l,focus:p,selected:m,...f}=e;return Br("div",{...f,className:n(ci,e.className),children:wu("div",{className:n(`${ci}-item`,E(`${ci}-item`,{hover:l,focus:p,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Br(Ae,{checked:a,indeterminate:i,"aria-label":t}),Br("span",{className:"k-list-item-text",children:t})]})})};ui.states=Bu;ui.options=Ru;ui.className=ci;ui.defaultOptions=Pu;import{Fragment as aT,jsx as oT,jsxs as iT}from"react/jsx-runtime";import{jsx as dT,jsxs as pT}from"react/jsx-runtime";import{jsx as _u}from"react/jsx-runtime";var Rr="k-list-optionlabel",Ku=[r.hover,r.focus,r.selected,r.disabled],zu={},Du={},fi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return _u("div",{...p,className:n(Rr,E(Rr,{hover:o,focus:a,selected:i,disabled:l})),children:t})};fi.states=Ku;fi.options=zu;fi.className=Rr;fi.defaultOptions=Du;import{jsx as Gu}from"react/jsx-runtime";var Pr="k-list-custom-value",Hu=[r.hover,r.focus,r.selected,r.disabled],Fu={},Uu={},et=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return Gu("div",{...p,className:n(Pr,E(Pr,{hover:o,focus:a,selected:i,disabled:l})),children:t})};et.states=Hu;et.options=Fu;et.className=Pr;et.defaultOptions=Uu;import{Fragment as kT,jsx as LT,jsxs as MT}from"react/jsx-runtime";import{Fragment as TT,jsx as CT,jsxs as OT}from"react/jsx-runtime";import{Fragment as zT,jsx as wT,jsxs as KT}from"react/jsx-runtime";import{Fragment as $T,jsx as UT,jsxs as GT}from"react/jsx-runtime";import{jsx as JT}from"react/jsx-runtime";import{Fragment as eO,jsx as jT,jsxs as tO}from"react/jsx-runtime";import{Fragment as lO,jsx as nO,jsxs as sO}from"react/jsx-runtime";var is="dropdown-list",rs="dropdownlist";import{Fragment as Xu,jsx as Ce,jsxs as wr}from"react/jsx-runtime";var ns="k-dropdownlist",$u=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vu={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Kr={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=Kr.arrowIconName,showValue:l=Kr.showValue,valueIconName:p,prefix:m,suffix:f,value:x,placeholder:h,hover:N,focus:u,valid:k,invalid:g,required:M,loading:S,disabled:y,readonly:O,popup:H,opened:J,adaptive:Q,adaptiveSettings:se,adaptiveTitle:de,adaptiveSubtitle:xt,adaptiveFilter:Na,id:mt,activeDescendant:xo,"aria-label":ga,...va}=e,cp=mt?`${mt}-listbox`:void 0,Dn=mt?`${mt}-value`:void 0;return wr(Xu,{children:[wr(gt,{...va,id:mt,size:t,rounded:o,fillMode:a,hover:N,focus:u,valid:k,invalid:g,required:M,loading:S,disabled:y,readonly:O,className:n(e.className,ns,{"k-icon-picker":!l&&p}),role:"combobox","aria-haspopup":"listbox","aria-expanded":J?"true":"false","aria-controls":J?cp:void 0,"aria-activedescendant":J&&xo?xo:void 0,"aria-describedby":J?Dn:void 0,"aria-disabled":y?"true":void 0,"aria-label":ga,tabIndex:0,children:[Ce(ue,{children:m}),Ce(Qt,{placeholder:h,value:x,showValue:l,valueIconName:p,id:Dn}),Ce(j,{valid:k,invalid:g,loading:S,disabled:y}),Ce(oe,{loading:S,disabled:y}),Ce(fe,{children:f}),Ce(d,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),J&&H&&Ce(V,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:H}),Q&&Ce(q,{adaptive:!0,...se,header:Ce(Ne,{actionsEnd:Ce(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Na,inputValue:x,inputPlaceholder:h,title:de,subtitle:xt}),children:Ce("div",{className:"k-list-container",children:Ce(R,{size:"large",children:wr(w,{"aria-label":"Options",children:[Ce(T,{text:"List item"}),Ce(T,{text:"List item"}),Ce(T,{text:"List item"})]})})})})]})};$.states=$u;$.options=Vu;$.className=ns;$.defaultOptions=Kr;$.moduleName=is;$.folderName=rs;import{jsx as GO}from"react/jsx-runtime";import{jsx as qO,jsxs as YO}from"react/jsx-runtime";import{Fragment as rA,jsx as aA,jsxs as iA}from"react/jsx-runtime";import{jsx as pA}from"react/jsx-runtime";import{jsx as xA,jsxs as hA}from"react/jsx-runtime";import{Fragment as yA,jsx as IA,jsxs as SA}from"react/jsx-runtime";import{jsx as AA}from"react/jsx-runtime";import{Fragment as Qu,jsx as $t,jsxs as ls}from"react/jsx-runtime";var Wu=$.states,Ju=$.defaultOptions,qu=$.options,Yu=[{name:"opened",title:"Opened"}],Zu=[],Po=e=>{let{modifiers:t,...o}=e,a={},i=ls(Qu,{children:[$t("div",{className:"k-list-filter",children:$t(qe,{})}),$t(R,{style:{width:300},size:o.size,children:ls(w,{children:[$t(T,{children:"List item"}),$t(T,{children:"List item"}),$t(T,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(l=>{l==="opened"&&(a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0)}),$t("div",{children:$t($,{placeholder:"Value",style:{width:300},...o,...a})})};Po.options=qu;Po.states=Wu;Po.variants=Zu;Po.defaultOptions=Ju;Po.modifiers=Yu;Po.className=$.className;import{Fragment as jA,jsx as QA}from"react/jsx-runtime";import{Fragment as rB,jsx as iB}from"react/jsx-runtime";import{jsx as dB}from"react/jsx-runtime";import{jsx as zr}from"react/jsx-runtime";var ju=P.states,ef=P.defaultOptions,tf=P.options,of=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],af=[],wo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?zr($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?zr(ii,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),zr(Wl,{value:"Value",style:{width:300},...o,...a})};wo.options=tf;wo.states=ju;wo.variants=af;wo.defaultOptions=ef;wo.modifiers=of;wo.className=P.className;import{Fragment as Ka,jsx as K,jsxs as ae}from"react/jsx-runtime";var ss="k-colorgradient-inputs",rf=[],nf={size:[s.undefined,s.small,s.medium,s.large]},ds={mode:"rgba"},Ko=e=>{let{mode:t=ds.mode,size:o,...a}=e;return ae("div",{...a,className:n(ss,"k-hstack"),children:[K("div",{className:"k-vstack",children:K(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ae(Ka,{children:[ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),K("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),K("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),K("label",{className:"k-colorgradient-input-label",children:"B"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),K("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ae(Ka,{children:[ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),K("label",{className:"k-colorgradient-input-label",children:"R"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),K("label",{className:"k-colorgradient-input-label",children:"G"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),K("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ae(Ka,{children:[ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),K("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),K("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),K("label",{className:"k-colorgradient-input-label",children:"V"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),K("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ae(Ka,{children:[ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),K("label",{className:"k-colorgradient-input-label",children:"H"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),K("label",{className:"k-colorgradient-input-label",children:"S"})]}),ae("div",{className:"k-vstack",children:[K(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),K("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&K(Ka,{children:ae("div",{className:"k-vstack k-flex-1",children:[K(_,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),K("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Ko.states=rf;Ko.options=nf;Ko.className=ss;Ko.defaultOptions=ds;import{jsx as oo,jsxs as ao}from"react/jsx-runtime";var ps="k-colorgradient-color-contrast",lf=[],sf={},df={},zo=()=>ao("div",{className:n(ps,"k-vbox"),children:[ao("div",{className:"k-contrast-ratio",children:[oo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),ao("span",{className:"k-contrast-validation !k-text-success",children:[oo(L,{icon:"check"}),oo(L,{icon:"check"})]})]}),ao("div",{children:[oo("span",{children:"AA: 4.5"}),ao("span",{className:"k-contrast-validation !k-text-success",children:["Pass",oo(L,{icon:"check"})]})]}),ao("div",{children:[oo("span",{children:"AAA: 7.0"}),ao("span",{className:"k-contrast-validation !k-text-error",children:["Fail",oo(L,{icon:"x"})]})]})]});zo.states=lf;zo.options=sf;zo.className=ps;zo.defaultOptions=df;var ms="color-gradient",cs="colorgradient";import{jsx as tt,jsxs as za}from"react/jsx-runtime";var bi="k-colorgradient",pf=[r.hover,r.focus,r.readonly,r.disabled],mf={size:[s.undefined,s.small,s.medium,s.large]},It={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},ve=e=>{let{size:t,mode:o=It.mode,readonly:a=It.readonly,disabled:i=It.disabled,gradientStyle:l=It.gradientStyle,dragHandleStyle:p=It.dragHandleStyle,alphaStyle:m=It.alphaStyle,alphaStyleHorizontal:f=It.alphaStyleHorizontal,contrast:x=It.contrast,dir:h,hover:N,focus:u,hoverHandle:k,focusHandle:g,canvasOrientation:M=It.canvasOrientation,role:S,tabIndex:y,...O}=e;return za("div",{...O,role:S??"textbox","aria-label":S==="none"?void 0:"Color gradient",tabIndex:y??0,"aria-disabled":i?"true":void 0,className:n(e.className,bi,I(bi,{size:t}),E(bi,{hover:N,focus:u,readonly:a,disabled:i})),dir:h,children:[!M||M==="horizontal"&&za("div",{className:"k-colorgradient-canvas k-hstack",children:[tt("div",{className:"k-hsv-rectangle",style:l,children:tt("div",{className:"k-hsv-gradient",children:tt("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),za("div",{className:"k-hsv-controls k-hstack",children:[tt(Ir,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&tt(Ir,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:m})]})]}),M==="vertical"&&za("div",{className:"k-colorgradient-canvas k-vstack",children:[tt("div",{className:"k-hsv-rectangle",style:l,children:tt("div",{className:"k-hsv-gradient",children:tt("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),za("div",{className:"k-hsv-controls k-vstack",children:[tt(Mr,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&tt(Mr,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:f})]})]}),tt(Ko,{mode:e.mode,size:t}),x&&tt(zo,{})]})};ve.states=pf;ve.options=mf;ve.className=bi;ve.defaultOptions=It;ve.moduleName=ms;ve.folderName=cs;import{jsx as cf}from"react/jsx-runtime";var xi=e=>cf(ve,{...e});import{jsx as JB}from"react/jsx-runtime";import{jsx as QB}from"react/jsx-runtime";import{jsx as Dr}from"react/jsx-runtime";var uf=ve.options,ff=ve.states,bf={...ve.defaultOptions,variant:"rgba"},xf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],hf=[],Do=e=>{let{variant:t,...o}=e;switch(t){case"hex":return Dr(xi,{...o,mode:t});case"rgb":return Dr(xi,{...o,mode:t});default:return Dr(xi,{...o,mode:t})}};Do.options=uf;Do.states=ff;Do.variants=xf;Do.defaultOptions=bf;Do.modifiers=hf;Do.className=ve.className;import{jsx as Nf}from"react/jsx-runtime";var _r=e=>Nf("tr",{role:"row",children:e.children});import{jsx as Lf}from"react/jsx-runtime";var Hr="k-colorpalette-tile",gf=[r.hover,r.focus,r.selected],vf={},Vt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:l,...p}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Lf("td",{...p,role:"gridcell","aria-label":t,"aria-selected":l?"true":void 0,className:n(e.className,Hr,E(Hr,{hover:a,focus:i,selected:l})),style:m})};Vt.states=gf;Vt.options=vf;Vt.className=Hr;Vt.moduleName=null;Vt.folderName=null;var us="color-palette",fs="colorpalette";import{jsx as Da}from"react/jsx-runtime";var hi="k-colorpalette",kf=[r.disabled],Mf={size:[s.undefined,s.small,s.medium,s.large]},bs={columns:10},Be=e=>{let{size:t,palette:o,columns:a=bs.columns,tileSize:i,disabled:l,...p}=e,m=[];if(o){let f=a||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/f)},(h,N)=>{let u=[];x.slice(N*f,(N+1)*f).map((g,M)=>{u.push(Da(Vt,{color:g,tileSize:i},M))});let k=Da(_r,{children:u},N);m.push(k)})}return Da("div",{...p,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":l?"true":void 0,className:n(e.className,hi,E(hi,{disabled:l}),I(hi,{size:t})),children:Da("table",{className:"k-colorpalette-table",role:"none",children:Da("tbody",{children:m.length>0?m:e.children})})})};Be.states=kf;Be.options=Mf;Be.className=hi;Be.defaultOptions=bs;Be.moduleName=us;Be.folderName=fs;var Ni=Be;var _a={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 If}from"react/jsx-runtime";var xs=e=>If(Ni,{palette:_a.basic,...e});import{jsx as RR}from"react/jsx-runtime";import{jsx as _R,jsxs as HR}from"react/jsx-runtime";import{jsx as Af}from"react/jsx-runtime";var Sf=Be.options,yf=Be.states,Ef={...Be.defaultOptions,variant:"basic"},Cf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Tf={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}},Of=[],_o=e=>{let{variant:t="basic",...o}=e,a=Tf[t];return Af(xs,{columns:a.columns,palette:a,...o})};_o.options=Sf;_o.states=yf;_o.variants=Cf;_o.defaultOptions=Ef;_o.modifiers=Of;_o.className=Be.className;var hs="color-editor",Ns="coloreditor";import{jsx as ot,jsxs as Ho}from"react/jsx-runtime";var gi="k-coloreditor",Bf=[r.focus],Rf={size:[s.undefined,s.small,s.medium,s.large]},Ha={view:"gradient",palette:_a.office,actionButtons:!0,canvasOrientation:"horizontal"},ie=e=>{let{size:t,view:o=Ha.view,palette:a=Ha.palette,color:i,currentColor:l,focus:p,focusView:m,dir:f,group:x,actionButtons:h=Ha.actionButtons,canvasOrientation:N=Ha.canvasOrientation,...u}=e;return Ho("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",gi,I(gi,{size:t}),E(gi,{focus:p})),dir:f,children:[Ho("div",{className:"k-coloreditor-header k-hstack",children:[ot("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&Ho(B,{fillMode:"flat",children:[ot(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),ot(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),ot("div",{className:"k-spacer"}),Ho("div",{className:"k-coloreditor-header-actions k-hstack",children:[ot(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Ho("div",{className:"k-coloreditor-preview k-vstack",children:[ot(_t,{className:"k-coloreditor-preview-color",color:i}),ot(_t,{className:"k-coloreditor-current-color",color:l})]})]})]}),ot("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?ot(ve,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):ot(Be,{palette:a,size:t})}),h&&Ho(Je,{className:"k-coloreditor-footer",alignment:"start",children:[ot(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),ot(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ie.states=Bf;ie.options=Rf;ie.className=gi;ie.defaultOptions=Ha;ie.moduleName=hs;ie.folderName=Ns;var Fo=ie;import{jsx as bP}from"react/jsx-runtime";import{jsx as gP}from"react/jsx-runtime";import{jsx as Pf}from"react/jsx-runtime";var gs=e=>Pf(Fo,{group:!0,currentColor:"fuchsia",...e});import{jsx as wf}from"react/jsx-runtime";var vs=e=>wf(Fo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Ls}from"react/jsx-runtime";var Kf=ie.options,zf=ie.states,Df={...ie.defaultOptions,variant:"gradient"},_f=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Hf=[],Uo=e=>{let{variant:t,...o}=e;return t==="palette"?Ls(vs,{...o,color:"white"}):Ls(gs,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Uo.options=Kf;Uo.states=zf;Uo.variants=_f;Uo.defaultOptions=Df;Uo.modifiers=Hf;Uo.className=ie.className;var ks="color-picker",Ms="colorpicker";import{Fragment as Gf,jsx as at,jsxs as Fr}from"react/jsx-runtime";var Is="k-colorpicker",Ff=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Uf={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ss={arrowIconName:"chevron-down"},Le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=Ss.arrowIconName,prefix:l,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:u,required:k,disabled:g,valueIconName:M,popup:S,opened:y,adaptive:O,adaptiveSettings:H,adaptiveTitle:J,adaptiveSubtitle:Q,...se}=e,de="colorpicker-popup";return Fr(Gf,{children:[Fr(gt,{...se,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:u,required:k,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":y?"true":"false","aria-controls":y||O?de:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:n(e.className,Is,"k-icon-picker"),children:[at(ue,{children:l}),at(Qt,{placeholder:f,value:m,showValue:!1,valueIcon:at(_t,{className:"k-value-icon",color:m,iconName:M}),valueIconName:M}),at(fe,{children:p}),at(d,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),y&&S&&at(V,{id:de,className:"k-colorpicker-popup",children:S}),O&&at(q,{adaptive:!0,id:de,...H,header:at(Ne,{actionsEnd:at(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:J,subtitle:Q}),footer:Fr(Ht,{children:[at(d,{text:"Cancel",size:"large"}),at(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:at(ie,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Le.states=Ff;Le.options=Uf;Le.className=Is;Le.defaultOptions=Ss;Le.moduleName=ks;Le.folderName=Ms;var Rt=Le;import{jsx as $f}from"react/jsx-runtime";var vi=e=>$f(Rt,{...e});import{jsx as ow}from"react/jsx-runtime";import{jsx as lw}from"react/jsx-runtime";import{jsx as mw}from"react/jsx-runtime";import{jsx as bw}from"react/jsx-runtime";import{jsx as gw}from"react/jsx-runtime";import{jsx as Mw}from"react/jsx-runtime";import{jsx as io}from"react/jsx-runtime";var Vf=Rt.options,Xf=Rt.states,ys={...Rt.defaultOptions,variant:"color"},Wf=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Jf=[{name:"opened",title:"Opened"}],Go=e=>{let{variant:t,modifiers:o,...a}={...ys,...e},i={};Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!o?.[p],i.popup=o?.[p]?io(ie,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let l=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return io("div",{style:l,children:io(vi,{...a,...i})});case"icon":return io("div",{style:l,children:io(vi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return io("div",{style:l,children:io(vi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};Go.options=Vf;Go.states=Xf;Go.variants=Wf;Go.defaultOptions=ys;Go.modifiers=Jf;Go.className=Rt.className;var Ur="combobox",Es=Ur;import{Fragment as Gr,jsx as ce,jsxs as Fa}from"react/jsx-runtime";var Cs="k-combobox",qf=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Yf={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ts={separators:!0},ke=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ts.separators,prefix:l,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:u,required:k,loading:g,disabled:M,popup:S,opened:y,readonly:O,adaptive:H,adaptiveSettings:J,adaptiveTitle:Q,adaptiveSubtitle:se,adaptiveCustomValue:de,id:xt,autocomplete:Na,activeDescendant:mt,"aria-label":xo,...ga}=e,va=xt?`${xt}-listbox`:void 0;return Fa(Gr,{children:[Fa(U,{...ga,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:u,required:k,loading:g,disabled:M,readonly:O,className:n(e.className,Cs),children:[l&&Fa(Gr,{children:[ce(ue,{children:l}),i&&ce(ee,{})]}),ce(me,{id:xt,placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":y?"true":"false","aria-controls":y?va:void 0,"aria-activedescendant":y&&mt?mt:void 0,"aria-autocomplete":Na,"aria-invalid":u?"true":void 0,"aria-busy":g?"true":void 0,"aria-label":xo,disabled:M,readOnly:O}),ce(j,{valid:N,invalid:u,loading:g,disabled:M}),ce(oe,{loading:g,disabled:M}),ce(pe,{loading:g,disabled:M,readonly:O,value:m}),p&&Fa(Gr,{children:[i&&ce(ee,{}),ce(fe,{children:p})]}),ce(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:M})]}),y&&S&&ce(V,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:S}),H&&ce(q,{adaptive:!0,id:xt?`${xt}-adaptive`:void 0,...J,header:ce(Ne,{actionsEnd:ce(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:Q,subtitle:se}),children:ce("div",{className:"k-list-container",children:ce(R,{customValue:de?ce(et,{text:`Use "${m}"`}):void 0,size:"large",children:Fa(w,{"aria-label":Q||"Options",children:[ce(T,{text:"List item"}),ce(T,{text:"List item"}),ce(T,{text:"List item"})]})})})})]})};ke.states=qf;ke.options=Yf;ke.className=Cs;ke.defaultOptions=Ts;ke.moduleName=Ur;ke.folderName=Es;var _e=ke;import{jsx as Zf}from"react/jsx-runtime";var Os=e=>Zf(_e,{...e});import{jsx as r0,jsxs as n0}from"react/jsx-runtime";import{jsx as c0,jsxs as u0}from"react/jsx-runtime";import{jsx as g0,jsxs as v0}from"react/jsx-runtime";import{Fragment as y0,jsx as S0}from"react/jsx-runtime";import{Fragment as B0,jsx as A0}from"react/jsx-runtime";import{jsx as D0,jsxs as _0}from"react/jsx-runtime";import{Fragment as W0,jsx as V0,jsxs as X0}from"react/jsx-runtime";import{jsx as Z0}from"react/jsx-runtime";import{jsx as tK}from"react/jsx-runtime";import{jsx as lK,jsxs as sK}from"react/jsx-runtime";import{jsx as fK,jsxs as bK}from"react/jsx-runtime";import{jsx as Xt,jsxs as ab}from"react/jsx-runtime";var Qf=ke.states,jf=ke.defaultOptions,eb=ke.options,tb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],ob=[],$o=e=>{let{modifiers:t,...o}=e,a={},i=Xt(R,{style:{width:300},size:o.size,children:ab(w,{children:[Xt(T,{children:"List item"}),Xt(T,{children:"List item"}),Xt(T,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Xt(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[l]?Xt(Ot,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),Xt("div",{children:Xt(Os,{value:"Value",style:{width:300},...o,...a})})};$o.options=eb;$o.states=Qf;$o.variants=ob;$o.defaultOptions=jf;$o.modifiers=tb;$o.className=ke.className;var $r="menu-button",As=$r;import{jsx as nb}from"react/jsx-runtime";var Bs="k-menu-button",ib=[r.hover,r.focus,r.active,r.selected,r.disabled],rb={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Vr={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,icon:h,text:N,showArrow:u=Vr.showArrow,arrowIconName:k=Vr.arrowIconName,expanded:g,...M}=e;return nb(d,{...M,className:n(e.className,Bs),text:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,ariaDisabled:x||void 0,icon:h,showArrow:u,arrowIconName:k,"aria-expanded":g?"true":"false",...!N&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=ib;W.options=rb;W.className=Bs;W.defaultOptions=Vr;W.moduleName=$r;W.folderName=As;import{jsx as JK}from"react/jsx-runtime";import{jsx as QK}from"react/jsx-runtime";import{jsx as oz}from"react/jsx-runtime";var He="menu",it=He;import{jsx as Ua,jsxs as Rs}from"react/jsx-runtime";var Xr="k-menu-item",lb=[r.hover,r.focus,r.active,r.selected,r.disabled],sb={},Ps={iconPosition:"before"},Ie=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:p,text:m,showArrow:f,arrowIconName:x,iconPosition:h=Ps.iconPosition,dir:N,children:u,expanded:k,...g}=e,M=x;return M||(M=N==="rtl"?"chevron-left":"chevron-right"),Rs("li",{...g,className:n(e.className,Xr,"k-item",E(Xr,{focus:o,disabled:l,hover:t,active:a,selected:i})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":k?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[Rs("span",{className:n("k-link k-menu-link"),children:[p&&h==="before"&&Ua(L,{className:"k-menu-link-icon",icon:p}),Ua("span",{className:"k-menu-link-text",children:m}),p&&h==="after"&&Ua(L,{className:"k-menu-link-icon",icon:p}),f&&Ua("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:Ua(L,{icon:M})})]}),u]})};Ie.states=lb;Ie.options=sb;Ie.className=Xr;Ie.defaultOptions=Ps;Ie.moduleName=He;Ie.folderName=it;import{jsx as ro,jsxs as ws}from"react/jsx-runtime";var Wr="k-menu-item",db=[r.hover,r.focus,r.active,r.selected,r.disabled],pb={},Jr={dir:"ltr",iconPosition:"before"},Y=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:p,text:m,showArrow:f,arrowIconName:x,iconPosition:h=Jr.iconPosition,dir:N=Jr.dir,children:u,popup:k,expanded:g,actions:M,description:S,...y}=e,O=x;return O||(O=N==="rtl"?"chevron-left":"chevron-right"),ws("li",{role:"menuitem",...y,className:n(e.className,Wr,"k-item",E(Wr,{focus:o,disabled:l})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ws("span",{className:n("k-link k-menu-link",E("k-menu-link",{hover:t,active:a,selected:i,disabled:l})),children:[p&&h==="before"&&ro(L,{className:"k-menu-link-icon",icon:p}),ro("span",{className:"k-menu-link-text",children:m}),p&&h==="after"&&ro(L,{className:"k-menu-link-icon",icon:p}),M&&ro("span",{className:"k-menu-link-actions",children:M}),f&&ro("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ro(L,{icon:O})}),S&&ro("span",{className:"k-menu-link-description",children:S})]}),u,k]})};Y.states=db;Y.options=pb;Y.className=Wr;Y.defaultOptions=Jr;Y.moduleName=He;Y.folderName=it;import{jsx as fb}from"react/jsx-runtime";var Ks="k-menu-scroll-wrapper",mb=[],cb={},ub={},no=e=>{let{className:t,children:o,orientation:a,...i}=e;return fb("div",{...i,className:n(t,Ks,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};no.states=mb;no.options=cb;no.className=Ks;no.defaultOptions=ub;no.moduleName=He;no.folderName=it;var zs=no;import{Fragment as qr,jsx as lo,jsxs as ki}from"react/jsx-runtime";var Mi="k-menu",bb=[],xb={size:[s.undefined,s.small,s.medium,s.large]},Ii={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Me=e=>{let{children:t,orientation:o=Ii.orientation,header:a=Ii.header,scrollable:i,scrollButtonsPosition:l=Ii.scrollButtonsPosition,wrapperStyles:p,dir:m,size:f,popup:x,contextMenu:h,...N}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},k=lo("ul",{dir:m,...N,className:n(e.className,"k-reset",Mi,{[`${Mi}-${o}`]:o,"k-header":a},I(Mi,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return ki(qr,{children:[i?ki(zs,{orientation:o,style:p,dir:e.dir,children:[l==="start"&&ki(qr,{children:[lo(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),lo(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&lo(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),k,l==="end"&&ki(qr,{children:[lo(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),lo(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&lo(d,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):k,x]})};Me.states=bb;Me.options=xb;Me.className=Mi;Me.defaultOptions=Ii;Me.moduleName=He;Me.folderName=it;import{jsx as hb}from"react/jsx-runtime";var Yr="k-separator",Ds={orientation:"horizontal"},Vo=e=>{let{orientation:t=Ds.orientation,...o}=e;return hb("li",{...o,className:n(e.className,"k-item",Yr,{[`${Yr}-${t}`]:t}),role:"separator"})};Vo.className=Yr;Vo.defaultOptions=Ds;Vo.moduleName=He;Vo.folderName=it;import{Fragment as Az,jsx as Bz}from"react/jsx-runtime";import{jsx as Lb}from"react/jsx-runtime";var Zr="k-menu-group",Nb=[],gb={size:[s.undefined,s.small,s.medium,s.large]},vb={},Se=e=>{let{children:t,size:o,...a}=e;return Lb("ul",{role:"menu",...a,className:n(e.className,Zr,I(Zr,{size:o})),children:t})};Se.states=Nb;Se.options=gb;Se.className=Zr;Se.defaultOptions=vb;Se.moduleName=He;Se.folderName=it;import{jsx as Fz,jsxs as Uz}from"react/jsx-runtime";import{Fragment as kb,jsx as Xo,jsxs as Mb}from"react/jsx-runtime";var Qr=e=>Xo(Me,{children:Mb(kb,{children:[Xo(Ie,{text:"Item 1"}),Xo(Ie,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),Xo(Ie,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),Xo(Ie,{text:"Item 4"}),Xo(Ie,{text:"Item 5"})]}),...e});import{Fragment as Qz,jsx as Yz,jsxs as Zz}from"react/jsx-runtime";import{Fragment as aD,jsx as oD,jsxs as iD}from"react/jsx-runtime";import{Fragment as dD,jsx as sD,jsxs as pD}from"react/jsx-runtime";import{Fragment as bD,jsx as fD,jsxs as xD}from"react/jsx-runtime";import{jsx as so,jsxs as Cb}from"react/jsx-runtime";var Ib={...Me.options,scrollable:{type:"boolean"}},Sb=Me.states,_s={...Me.defaultOptions,variant:"horizontal"},yb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Eb=[{name:"opened",title:"Opened"}],Wo=e=>{let{variant:t,modifiers:o,...a}={..._s,...e},i={},l=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!o?.[p],i.popup=o?.[p]?so(V,{className:"k-menu-popup",offset:l,children:Cb(Se,{children:[so(Y,{text:"Item 1"}),so(Y,{text:"Item 2"}),so(Vo,{}),so(Y,{text:"Item 3"})]})}):null)}),t==="vertical"?so(Qr,{...a,...i,orientation:"vertical",style:{width:"200px"}}):so(Qr,{...a,...i})};Wo.options=Ib;Wo.states=Sb;Wo.variants=yb;Wo.defaultOptions=_s;Wo.modifiers=Eb;Wo.className=Me.className;import{Fragment as qD,jsx as WD,jsxs as JD}from"react/jsx-runtime";import{jsx as jD}from"react/jsx-runtime";import{Fragment as Rb,jsx as St,jsxs as Hs}from"react/jsx-runtime";var Tb=d.states,Fs={...d.defaultOptions,variant:"text"},Ob=d.options,Ab=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Bb=[{name:"opened",title:"Opened"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...Fs,...e},i={},l=St(V,{className:"k-menu-popup",children:Hs(Se,{size:a.size,children:[St(Y,{text:"Menu Item"}),St(Y,{text:"Menu Item"}),St(Y,{text:"Menu Item"})]})}),p;switch(t){case"icon-only":p=St("div",{children:St(W,{...a,...i,icon:"star"})});break;case"icon-and-text":p=St("div",{children:St(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:p=St("div",{children:St(W,{...a,...i,children:"Dropdown Button"})});break}return Hs(Rb,{children:[p,o?.opened&&l]})};Jo.options=Ob;Jo.states=Tb;Jo.variants=Ab;Jo.defaultOptions=Fs;Jo.modifiers=Bb;Jo.className=W.className;var jr="split-button",Us=jr;import{Fragment as Kb,jsx as en,jsxs as Gs}from"react/jsx-runtime";var tn="k-split-button",Pb=[r.hover,r.focus,r.active,r.selected,r.disabled],wb={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},$s={arrowIconName:"chevron-down"},z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,icon:h,text:N,arrowIconName:u=$s.arrowIconName,popup:k,opened:g,popupId:M,...S}=e;return Gs(Kb,{children:[Gs("div",{...S,className:n(e.className,tn,"k-button-group",I(tn,{rounded:o})),children:[en(d,{text:N,icon:h,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,...!N&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),en(d,{className:"k-split-button-arrow",icon:u,size:t,rounded:o,fillMode:a,disabled:x,ariaDisabled:x||void 0,"aria-label":"Toggle dropdown","aria-expanded":g?"true":"false","aria-controls":g?M:void 0,tabIndex:-1})]}),g&&k&&en(V,{className:"k-menu-popup",children:k})]})};z.states=Pb;z.options=wb;z.className=tn;z.defaultOptions=$s;z.moduleName=jr;z.folderName=Us;var on=z;import{jsx as Db}from"react/jsx-runtime";var zb="k-toolbar-separator",be=e=>Db("div",{className:n(zb,e.className,"k-separator")});var po="toolbar",qo=po;import{Fragment as an,jsx as D,jsxs as Yo}from"react/jsx-runtime";var Pt="k-toolbar",_b=[r.focus],Hb={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Fb={scrollButtons:"around"},X=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:l,scrollButtons:p,scrollingPosition:m,section:f,...x}=e,h=[],N=(u,k)=>{let g=[];if(u.type===d&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))g.push(D(d,{...u.props,className:`${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`));else if(u.type===d)g.push(D(d,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`));else if(u.type===Sa)g.push(D(Sa,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`));else if(u.type===Ot)g.push(D(Ot,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`));else if(u.type===W)g.push(D(W,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`));else if(u.type===on)g.push(D(on,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`));else if(u.type===B||u.props.className&&u.props.className.includes("k-button-group")){let M=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((y,O)=>{M.push(D(d,{...y.props,className:`${y.props.className?y.props.className:""}`},`${O}-${new Date().getTime()}`))}),g.push(D(B,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:M},`${k}-${new Date().getTime()}`))}else u.type===ke?g.push(D(ke,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`)):u.type===$?g.push(D($,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`)):u.type===Le?g.push(D(Le,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${k}-${new Date().getTime()}`)):g.push(u);g.forEach(M=>{h.push(M)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((k,g)=>{N(k,g)}),Yo("div",{...x,className:n(e.className,Pt,I(Pt,{size:t,fillMode:o}),E(Pt,{focus:a}),{[`${Pt}-resizable`]:i,[`${Pt}-scrollable`]:l,[`${Pt}-scrollable-overlay`]:l&&p==="hidden",[`${Pt}-scrollable-${m}`]:m&&m!=="both",[`${Pt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!l&&h,l&&p==="hidden"&&D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),l&&p==="start"&&Yo(an,{children:[Yo(B,{children:[D("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(L,{className:"k-button-icon",icon:"chevron-left"})}),D("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(L,{className:"k-button-icon",icon:"chevron-right"})})]}),D(be,{className:"k-toolbar-button-separator"}),D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),l&&p==="end"&&Yo(an,{children:[D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),D(be,{className:"k-toolbar-button-separator"}),Yo(B,{children:[D("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(L,{className:"k-button-icon",icon:"chevron-left"})}),D("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),l&&(p==="around"||!p)&&Yo(an,{children:[D("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(L,{className:"k-button-icon",icon:"chevron-left"})}),D(be,{className:"k-toolbar-button-separator"}),D("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),D(be,{className:"k-toolbar-button-separator"}),D("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:D(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};X.states=_b;X.options=Hb;X.className=Pt;X.defaultOptions=Fb;X.moduleName=po;X.folderName=qo;import{jsx as Vb}from"react/jsx-runtime";var rn="k-toolbar-item",Ub=[r.focus],Gb={},$b={},bt=e=>{let{focus:t,...o}=e;return Vb("div",{...o,className:n(e.className,rn,E(rn,{focus:t})),children:e.children})};bt.states=Ub;bt.options=Gb;bt.className=rn;bt.defaultOptions=$b;bt.moduleName=po;bt.folderName=qo;import{jsx as Vs}from"react/jsx-runtime";var Xs="k-toolbar-popup",Xb=[],Wb={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Jb={},mo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return Vs(V,{...i,className:n(e.className,Xs),children:a?Vs("span",{className:n("k-toolbar-items-list",I("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};mo.states=Xb;mo.options=Wb;mo.className=Xs;mo.defaultOptions=Jb;mo.moduleName=po;mo.folderName=qo;var Si=mo;import{jsx as Q_}from"react/jsx-runtime";import{jsx as o1}from"react/jsx-runtime";import{jsx as n1}from"react/jsx-runtime";import{jsx as c1,jsxs as u1}from"react/jsx-runtime";import{jsx as h1}from"react/jsx-runtime";import{jsx as wt,jsxs as jb}from"react/jsx-runtime";var qb=z.states,Ws={...z.defaultOptions,variant:"text"},Yb=z.options,Zb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Qb=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}={...Ws,...e},i={},l=jb(Se,{size:a.size,children:[wt(Y,{text:"Menu Item"}),wt(Y,{text:"Menu Item"}),wt(Y,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!o?.[p],i.popup=o?.[p]?l:"")}),t){case"icon-only":return wt("div",{children:wt(z,{...a,...i,icon:"star"})});case"icon-and-text":return wt("div",{children:wt(z,{...a,...i,icon:"star",children:"Split Button"})});default:return wt("div",{children:wt(z,{...a,...i,children:"Split Button"})})}};Zo.options=Yb;Zo.states=qb;Zo.variants=Zb;Zo.defaultOptions=Ws;Zo.modifiers=Qb;Zo.className=z.className;import{jsx as co,jsxs as ex}from"react/jsx-runtime";var Js=e=>co(X,{children:[co(d,{children:"Button"},"toolbar-button"),co(W,{text:"Menu button"},"toolbar-menu-button"),co(z,{children:"Split button"},"toolbar-split-button"),ex(B,{children:[co(d,{className:"k-group-start",icon:"align-left",children:"Left"}),co(d,{icon:"align-center",children:"Center"}),co(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as X1,jsxs as W1}from"react/jsx-runtime";import{jsx as Fe,jsxs as qs}from"react/jsx-runtime";var Ys=e=>Fe(X,{scrollable:!0,...e,children:[Fe(d,{children:"Button"},"toolbar-button"),Fe(W,{text:"Menu button"},"toolbar-menu-button"),Fe(z,{children:"Split button"},"toolbar-split-button"),qs(B,{children:[Fe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Fe(d,{icon:"align-center",children:"Center"}),Fe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Fe(d,{children:"Button"},"toolbar-button"),Fe(W,{text:"Menu button"},"toolbar-menu-button"),Fe(z,{children:"Split button"},"toolbar-split-button"),qs(B,{children:[Fe(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Fe(d,{icon:"align-center",children:"Center"}),Fe(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ue,jsxs as Zs}from"react/jsx-runtime";var Qs=({scrollingPosition:e="start",...t})=>Ue(X,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ue(d,{children:"Button"},"toolbar-button"),Ue(W,{text:"Menu button"},"toolbar-menu-button"),Ue(z,{children:"Split button"},"toolbar-split-button"),Zs(B,{children:[Ue(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ue(d,{icon:"align-center",children:"Center"}),Ue(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ue(d,{children:"Button"},"toolbar-button"),Ue(W,{text:"Menu button"},"toolbar-menu-button"),Ue(z,{children:"Split button"},"toolbar-split-button"),Zs(B,{children:[Ue(d,{className:"k-group-start",icon:"align-left",children:"Left"}),Ue(d,{icon:"align-center",children:"Center"}),Ue(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as tx,jsx as Re,jsxs as yi}from"react/jsx-runtime";var js=({fillMode:e,size:t,...o})=>yi(tx,{children:[Re(X,{section:!0,fillMode:e,size:t,children:[Re(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),yi(B,{fillMode:e,children:[Re(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Re(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Re(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),Re(be,{className:"k-toolbar-button-separator"}),Re(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),yi(Si,{size:t,fillMode:e,section:!0,...o,children:[Re(z,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),Re(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Re(be,{}),Re(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),yi(B,{fillMode:e,children:[Re(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),Re(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),Re(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as y2,jsx as I2,jsxs as S2}from"react/jsx-runtime";import{Fragment as z2,jsx as w2,jsxs as K2}from"react/jsx-runtime";import{jsx as Wt}from"react/jsx-runtime";var ox=X.options,ax=X.states,ed={...X.defaultOptions,variant:"default"},ix=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],rx=[],Qo=e=>{let{variant:t,...o}={...ed,...e};switch(t){case"responsive":return Wt("div",{children:Wt(js,{style:{width:"583px"},...o})});case"overlay":return Wt("div",{children:Wt(Qs,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return Wt("div",{children:Wt(Ys,{style:{width:"583px"},...o})});default:return Wt("div",{children:Wt(Js,{style:{width:"583px"},...o})})}};Qo.options=ox;Qo.states=ax;Qo.variants=ix;Qo.defaultOptions=ed;Qo.modifiers=rx;Qo.className=X.className;var nn="autocomplete",td=nn;import{Fragment as ln,jsx as xe,jsxs as Ga}from"react/jsx-runtime";var od="k-autocomplete",nx=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],lx={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ad={separators:!0},Pe=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ad.separators,prefix:l,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:u,required:k,loading:g,disabled:M,popup:S,opened:y,readonly:O,adaptive:H,adaptiveSettings:J,adaptiveTitle:Q,adaptiveSubtitle:se,adaptiveCustomValue:de,id:xt,autocomplete:Na,activeDescendant:mt,"aria-label":xo,...ga}=e,va=xt?`${xt}-listbox`:void 0;return Ga(ln,{children:[Ga(U,{...ga,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:u,required:k,loading:g,disabled:M,readonly:O,className:n(e.className,od),children:[l&&Ga(ln,{children:[xe(ue,{children:l}),i&&xe(ee,{})]}),xe(me,{placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":y?"true":"false","aria-controls":y?va:void 0,"aria-activedescendant":y&&mt?mt:void 0,"aria-autocomplete":Na,"aria-invalid":u?"true":void 0,"aria-busy":g?"true":void 0,"aria-label":xo,disabled:M,readOnly:O}),xe(j,{valid:N,invalid:u,loading:g,disabled:M}),xe(oe,{loading:g,disabled:M}),xe(pe,{loading:g,disabled:M,readonly:O,value:m}),p&&Ga(ln,{children:[i&&xe(ee,{}),xe(fe,{children:p})]})]}),y&&S&&xe(V,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:S}),H&&xe(q,{adaptive:!0,...J,header:xe(Ne,{actionsEnd:xe(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:Q,subtitle:se}),children:xe("div",{className:"k-list-container",children:xe(R,{customValue:de?xe(et,{text:`Use "${m}"`}):void 0,size:"large",children:Ga(w,{"aria-label":"Options",children:[xe(T,{text:"List item"}),xe(T,{text:"List item"}),xe(T,{text:"List item"})]})})})})]})};Pe.states=nx;Pe.options=lx;Pe.className=od;Pe.defaultOptions=ad;Pe.moduleName=nn;Pe.folderName=td;var yt=Pe;import{jsx as sx}from"react/jsx-runtime";var id=e=>sx(yt,{id:C("ac"),"aria-label":"Search",...e});import{jsx as SH,jsxs as yH}from"react/jsx-runtime";import{jsx as AH}from"react/jsx-runtime";import{Fragment as DH,jsx as zH}from"react/jsx-runtime";import{Fragment as VH,jsx as $H}from"react/jsx-runtime";import{jsx as ZH,jsxs as QH}from"react/jsx-runtime";import{jsx as iF,jsxs as rF}from"react/jsx-runtime";import{jsx as mF,jsxs as cF}from"react/jsx-runtime";import{jsx as hF}from"react/jsx-runtime";import{jsx as uo,jsxs as fx}from"react/jsx-runtime";var dx=_.states,px=_.defaultOptions,mx=_.options,cx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],ux=[],jo=e=>{let{modifiers:t,...o}=e,a={},i=uo(R,{style:{width:300},size:o.size,children:fx(w,{children:[uo(T,{children:"List item"}),uo(T,{children:"List item"}),uo(T,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?uo(L,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[l]?uo(Nt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),uo(id,{value:"Value",style:{width:300},...o,...a})};jo.options=mx;jo.states=dx;jo.variants=ux;jo.defaultOptions=px;jo.modifiers=cx;jo.className=Pe.className;import{jsx as rt}from"react/jsx-runtime";var rd="k-imageeditor-toolbar",bx=[],xx={},hx=[rt(d,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),rt(be,{},"toolbar-separator-1"),rt(d,{fillMode:"flat",icon:"undo","aria-label":"Undo"},"toolbar-button-2"),rt(d,{fillMode:"flat",icon:"redo","aria-label":"Redo"},"toolbar-button-3"),rt(be,{},"toolbar-separator-2"),rt(d,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),rt("div",{className:"k-spacer"},"toolbar-spacer"),rt(d,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),rt(bt,{children:rt(Pe,{fillMode:"flat",value:"Fit","aria-label":"Zoom options"})},"toolbar-item-1"),rt(d,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],nd={toolbarItems:hx},ea=e=>{let{toolbarItems:t=nd.toolbarItems,...o}=e;return rt(X,{...o,className:n(e.className,rd),fillMode:"flat",children:t})};ea.states=bx;ea.options=xx;ea.className=rd;ea.defaultOptions=nd;import{jsx as Te}from"react/jsx-runtime";var sn="k-imageeditor-sidebar",Nx=[Te(d,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),Te(d,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),Te(d,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),Te("div",{className:"k-separator"},"sidebar-separator-1"),Te(d,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),Te(d,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),Te("div",{className:"k-separator"},"sidebar-separator-2"),Te(d,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),Te(d,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),Te(d,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),Te("div",{className:"k-separator"},"sidebar-separator-3"),Te(d,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),Te(d,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],dn={sidebarItems:Nx,scrollable:!1,scrollingPosition:"start"},ld=e=>{let{sidebarItems:t=dn.sidebarItems,scrollable:o=dn.scrollable,scrollingPosition:a=dn.scrollingPosition,...i}=e;return Te("div",{...i,className:n(e.className,sn,{[`${sn}-scrollable`]:o,[`${sn}-scrollable-${a}`]:o}),children:Te("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var $a="loader",Ei=$a;import{Fragment as pn,jsx as sd,jsxs as Ci}from"react/jsx-runtime";var mn="k-loader",gx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},vx=[],Lx={size:[s.undefined,s.small,s.medium,s.large],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary]},dd={animation:"pulsing"},re=e=>{let{size:t,themeColor:o,animation:a=dd.animation,...i}=e,l=sd("span",{className:"k-loader-segment"});return sd("div",{...i,className:n(e.className,mn,{[`k-loader-${gx[a]||a}`]:a},I(mn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Ci("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Ci(pn,{children:[l,l]}),a==="infinite-spinner"&&Ci(pn,{children:[l,l,l]}),a==="converging-spinner"&&Ci(pn,{children:[l,l,l,l]})]})})};re.states=vx;re.options=Lx;re.className=mn;re.defaultOptions=dd;re.moduleName=$a;re.folderName=Ei;var pd=re;import{jsx as cn,jsxs as md}from"react/jsx-runtime";var un="k-loader-container",kx=[],Mx={size:[s.undefined,s.small,s.medium,s.large],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary]},Ti={loaderType:"pulsing",position:"top",panel:!1},fo=e=>{let{size:t,themeColor:o,loaderType:a=Ti.loaderType,position:i=Ti.position,panel:l=Ti.panel,...p}=e;return md("div",{...p,className:n(e.className,un,I(un,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":p["aria-label"]||"Loading",children:[cn(Cl,{className:"k-loader-container-overlay"}),md("div",{className:n("k-loader-container-inner",{"k-loader-container-panel":l}),children:[cn(pd,{size:t,themeColor:o,animation:a}),cn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};fo.states=kx;fo.options=Mx;fo.className=un;fo.defaultOptions=Ti;fo.moduleName=$a;fo.folderName=Ei;import{jsx as p3}from"react/jsx-runtime";import{jsx as f3}from"react/jsx-runtime";import{jsx as N3}from"react/jsx-runtime";import{jsx as k3}from"react/jsx-runtime";import{jsx as fn}from"react/jsx-runtime";var Ix=re.options,Sx=re.states,yx={...re.defaultOptions,variant:"infinite-spinner"},Ex=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],Cx=[],ta=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return fn(re,{animation:"pulsing",...o});case"converging-spinner":return fn(re,{animation:"converging-spinner",...o});default:return fn(re,{animation:"infinite-spinner",...o})}};ta.options=Ix;ta.states=Sx;ta.variants=Ex;ta.defaultOptions=yx;ta.modifiers=Cx;ta.className=re.className;var cd="image-editor",ud="imageeditor";import{Fragment as fd,jsx as Et,jsxs as Va}from"react/jsx-runtime";var bn="k-imageeditor",Tx=[],Ox={},Ax={},te=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:l,exporting:p,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:x,children:h,...N}=e,u=Et("div",{className:"k-imageeditor-canvas-container",children:i??Et("div",{className:"k-imageeditor-canvas",children:h})}),k=o&&Et("div",{className:"k-imageeditor-action-pane",children:o}),g=Et(ld,{sidebarItems:a,scrollable:f,scrollingPosition:x});return Va("div",{...N,className:n(e.className,bn,{[`${bn}-adaptive`]:m}),children:[Et("div",{className:"k-imageeditor-header",children:Et(ea,{toolbarItems:t})}),Et("div",{className:"k-imageeditor-content",style:{height:l},children:m?Va(fd,{children:[u,k,g]}):Va(fd,{children:[g,k,u]})}),p&&Va("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Et(ct,{className:"k-loader-container-overlay"}),Va("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Et(re,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Et("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};te.states=Tx;te.options=Ox;te.className=bn;te.defaultOptions=Ax;te.moduleName=cd;te.folderName=ud;import{Fragment as Y3,jsx as J3,jsxs as q3}from"react/jsx-runtime";import{jsx as oa,jsxs as bd}from"react/jsx-runtime";var xd="k-imageeditor-pane",Bx=[],Rx={},Px={},he=e=>{let{title:t,actions:o,adaptive:a,children:i,...l}=e;return bd("div",{...l,className:n(e.className,xd),children:[bd("div",{className:"k-imageeditor-pane-header",children:[a&&oa(d,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),oa("div",{className:"k-imageeditor-pane-title",children:t}),a?oa(d,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):oa(d,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),oa("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&oa(Je,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};he.states=Bx;he.options=Rx;he.className=xd;he.moduleName=null;he.folderName=null;he.defaultOptions=Px;import{jsx as Dx}from"react/jsx-runtime";var xn="k-imageeditor-option-preview",wx=[r.hover,r.focus,r.selected],Kx={},zx={},Ct=e=>{let{label:t,hover:o,focus:a,selected:i,children:l,...p}=e;return Dx("div",{...p,className:n(e.className,xn,E(xn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:l??t})};Ct.states=wx;Ct.options=Kx;Ct.className=xn;Ct.moduleName=null;Ct.folderName=null;Ct.defaultOptions=zx;import{jsx as hd}from"react/jsx-runtime";var Xa="k-imageeditor-option-list",Oi={scrollable:!1,scrollableStart:!1,scrollableEnd:!1},aa=e=>{let{scrollable:t=Oi.scrollable,scrollableStart:o=Oi.scrollableStart,scrollableEnd:a=Oi.scrollableEnd,children:i,...l}=e;return hd("div",{...l,className:n(e.className,Xa,{[`${Xa}-scrollable`]:t,[`${Xa}-scrollable-start`]:o,[`${Xa}-scrollable-end`]:a}),children:hd("div",{className:"k-imageeditor-option-list-items",children:i})})};aa.className=Xa;aa.moduleName=null;aa.folderName=null;aa.defaultOptions=Oi;import{Fragment as Hx,jsx as Nd,jsxs as Fx}from"react/jsx-runtime";var _x={},Wa=e=>{let{label:t,style:o,children:a}=e;return Fx(Hx,{children:[Nd("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&Nd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};Wa.moduleName=null;Wa.folderName=null;Wa.defaultOptions=_x;import{Fragment as Ux,jsx as Kt,jsxs as Gx}from"react/jsx-runtime";var gd={variant:"crop"},Jt=e=>{let{variant:t=gd.variant,grid:o}=e,a=t==="crop"?"k-resize-handle":"k-scale-handle",i=t==="scale"?"k-scale-handle":"k-resize-handle";return Gx(Ux,{children:[o&&Kt("div",{className:"k-imageeditor-crop-grid"}),Kt("span",{className:`${a} k-resize-nw`}),Kt("span",{className:`${a} k-resize-ne`}),Kt("span",{className:`${a} k-resize-sw`}),Kt("span",{className:`${a} k-resize-se`}),Kt("span",{className:`${i} k-resize-n`}),Kt("span",{className:`${i} k-resize-s`}),Kt("span",{className:`${i} k-resize-w`}),Kt("span",{className:`${i} k-resize-e`})]})};Jt.moduleName=null;Jt.folderName=null;Jt.defaultOptions=gd;var vd="form",Ld="forms";import{Fragment as kd,jsx as Ai,jsxs as Xx}from"react/jsx-runtime";var Bi="k-form",$x=[],Vx={size:[s.undefined,s.small,s.medium,s.large]},hn={layout:"basic",tag:"form"},F=e=>{let{size:t,orientation:o,layout:a=hn.layout,formButtons:i,cols:l,gutters:p,tag:m=hn.tag,children:f,style:x}=e,h=m,N=n(e.className,Bi,I(Bi,{size:t}),{[`${Bi}-${o}`]:o}),u=Xx(kd,{children:[a==="grid"?Ai("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${l}`]:l}),style:{...typeof p=="string"&&{gap:p},...typeof p=="object"&&p.rows&&{rowGap:p.rows},...typeof p=="object"&&p.cols&&{columnGap:p.cols},...x},children:f}):Ai(kd,{children:f}),i&&Ai("div",{className:"k-form-buttons",children:i})]}),{role:k,"aria-labelledby":g,"aria-label":M,id:S}=e;return Ai(h,{className:N,role:k,"aria-labelledby":g,"aria-label":M,id:S,children:u})};F.states=$x;F.options=Vx;F.className=Bi;F.defaultOptions=hn;F.moduleName=vd;F.folderName=Ld;var Md="label",Id="label";import{jsx as Sd,jsxs as Yx}from"react/jsx-runtime";var Nn="k-label",Wx=[r.disabled],Jx={},qx={},qt=e=>{let{disabled:t,optional:o,info:a,text:i,children:l,...p}=e;return Yx("label",{...p,className:n(e.className,Nn,E(Nn,{disabled:t})),children:[i||l,o&&Sd("span",{className:"k-label-optional",children:"(Optional)"}),a&&Sd("span",{className:"k-field-info",children:a})]})};qt.states=Wx;qt.options=Jx;qt.className=Nn;qt.defaultOptions=qx;qt.moduleName=Md;qt.folderName=Id;import{jsx as eh}from"react/jsx-runtime";var yd="k-form-hint",Zx=[],Qx={},jx={},nt=e=>{let{text:t,children:o,...a}=e;return eh("div",{...a,className:n(e.className,yd),children:t||o})};nt.states=Zx;nt.options=Qx;nt.className=yd;nt.defaultOptions=jx;import{jsx as ih}from"react/jsx-runtime";var Ed="k-form-error",th=[],oh={},ah={},lt=e=>{let{text:t,children:o,...a}=e;return ih("div",{...a,className:n(e.className,Ed),children:t||o})};lt.states=th;lt.options=oh;lt.className=Ed;lt.defaultOptions=ah;import{jsx as Ri,jsxs as Cd}from"react/jsx-runtime";var gn="k-form-field",rh=[r.disabled],Z=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:l,hint:p,error:m,info:f,disabled:x,dir:h,colSpan:N,...u}=e;return Cd("div",{...u,className:n(gn,e.className,E(gn,{disabled:x}),{[`k-col-span-${N}`]:N}),dir:h,children:[o&&Ri(qt,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&Ri("span",{className:"k-label k-form-label k-label-empty"}),Cd("div",{className:"k-form-field-wrap",children:[l,p&&Ri(nt,{id:t?`${t}-hint`:void 0,children:p}),m&&Ri(lt,{id:t?`${t}-error`:void 0,children:m})]})]})};Z.states=rh;Z.className=gn;import{Fragment as nh,jsx as vn,jsxs as lh}from"react/jsx-runtime";var Td="k-form-fieldset",we=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:l}=e;return lh("fieldset",{className:n(Td,{[`k-col-span-${l}`]:l}),children:[t&&vn("legend",{className:"k-form-legend",children:t}),o==="grid"?vn("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):vn(nh,{children:e.children})]})};we.className=Td;var bo="radio",ia=bo;import{jsx as Od}from"react/jsx-runtime";var Pi="k-radio",sh=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],dh={size:[s.undefined,s.small,s.medium,s.large]},ph={},Ge=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:l,invalid:p,valid:m,required:f,size:x,...h}=e;return Od("span",{className:"k-radio-wrap",children:Od("input",{...h,id:t,type:"radio",checked:o,required:f,disabled:l||void 0,"aria-invalid":p?"true":void 0,className:n(e.className,Pi,I(Pi,{size:x}),E(Pi,{hover:a,focus:i,disabled:l,invalid:p,valid:m,checked:o}))})})};Ge.states=sh;Ge.options=dh;Ge.className=Pi;Ge.defaultOptions=ph;Ge.moduleName=bo;Ge.folderName=ia;var st=Ge;import{jsx as uh}from"react/jsx-runtime";var Ad="k-radio-list",mh=[],ch={},Bd={layout:"vertical"},ne=e=>{let{layout:t=Bd.layout,...o}=e;return uh("ul",{...o,className:n(e.className,Ad,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};ne.states=mh;ne.options=ch;ne.className=Ad;ne.defaultOptions=Bd;ne.moduleName=bo;ne.folderName=ia;import{jsx as hh}from"react/jsx-runtime";var Rd="k-radio-list-item",fh=[],bh={},xh={},le=e=>{let{...t}=e;return hh("li",{...t,className:n(e.className,Rd),role:"none",children:e.children})};le.states=fh;le.options=bh;le.className=Rd;le.defaultOptions=xh;le.moduleName=bo;le.folderName=ia;import{jsx as j5}from"react/jsx-runtime";import{Fragment as Nh,jsx as Pd,jsxs as gh}from"react/jsx-runtime";var $e=({children:e,id:t,...o})=>gh(Nh,{children:[Pd(st,{...o,id:t}),Pd("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as l6,jsx as n6,jsxs as s6}from"react/jsx-runtime";import{Fragment as f6,jsx as c6,jsxs as u6}from"react/jsx-runtime";import{Fragment as g6,jsx as N6,jsxs as v6}from"react/jsx-runtime";import{Fragment as S6,jsx as I6,jsxs as y6}from"react/jsx-runtime";import{Fragment as R6,jsx as B6,jsxs as P6}from"react/jsx-runtime";import{jsx as D6}from"react/jsx-runtime";import{jsx as yh}from"react/jsx-runtime";var Lh=st.options,kh=st.states,Mh=st.defaultOptions,Ih=[],Sh=[],ra=e=>yh($e,{id:C("radio"),name:"value",...e,children:"Label"});ra.options=Lh;ra.states=kh;ra.variants=Ih;ra.defaultOptions=Mh;ra.modifiers=Sh;ra.className=st.className;import{jsx as dt,jsxs as wd}from"react/jsx-runtime";var Eh=ne.options,Ch=ne.states,Th={...ne.defaultOptions,variant:"vertical"},Oh=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Ah=[],na=e=>{let{variant:t,...o}=e;return t==="horizontal"?wd(ne,{layout:"horizontal",...o,children:[dt(le,{children:dt($e,{id:C("rb"),name:"value",defaultChecked:!0,children:"Label"})}),dt(le,{children:dt($e,{id:C("rb"),name:"value",children:"Label"})}),dt(le,{children:dt($e,{id:C("rb"),name:"value",children:"Label"})})]}):wd(ne,{...o,children:[dt(le,{children:dt($e,{id:C("rb"),name:"value",defaultChecked:!0,children:"Label"})}),dt(le,{children:dt($e,{id:C("rb"),name:"value",children:"Label"})}),dt(le,{children:dt($e,{id:C("rb"),name:"value",children:"Label"})})]})};na.options=Eh;na.states=Ch;na.variants=Oh;na.defaultOptions=Th;na.modifiers=Ah;na.className=ne.className;import{Fragment as v4,jsx as g4,jsxs as L4}from"react/jsx-runtime";import{Fragment as O4,jsx as T4,jsxs as A4}from"react/jsx-runtime";import{Fragment as D4,jsx as z4,jsxs as _4}from"react/jsx-runtime";var Kd="date-input",zd="dateinput";import{jsx as Ja,jsxs as wh}from"react/jsx-runtime";var Dd="k-dateinput",Bh=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Rh={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ph={},Ve=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:l,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:u,readonly:k,showClearButton:g,showSpinButton:M,id:S,"aria-label":y,"aria-describedby":O,...H}=e;return wh(U,{...H,size:t,rounded:o,fillMode:a,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:u,readonly:k,className:n(e.className,Dd),children:[Ja(me,{id:S,placeholder:l,value:i,disabled:u,"aria-label":y,"aria-describedby":O,"aria-invalid":x?"true":void 0}),Ja(j,{valid:f,invalid:x,loading:N,disabled:u}),Ja(oe,{loading:N,disabled:u}),g&&Ja(pe,{loading:N,disabled:u,readonly:k,value:i}),M&&Ja(kt,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};Ve.states=Bh;Ve.options=Rh;Ve.className=Dd;Ve.defaultOptions=Ph;Ve.moduleName=Kd;Ve.folderName=zd;var Ln=Ve;import{jsx as Kh}from"react/jsx-runtime";var _d=e=>Kh(Ln,{...e});import{jsx as j4}from"react/jsx-runtime";import{jsx as Uh}from"react/jsx-runtime";var zh=Ve.options,Dh=Ve.states,_h=Ve.defaultOptions,Hh=[{name:"spin-button",title:"`Spin` Button"}],Fh=[],la=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),Uh(_d,{value:"2/04/2021",style:{width:"300px"},...o,...a})};la.options=zh;la.states=Dh;la.variants=Fh;la.defaultOptions=_h;la.modifiers=Hh;la.className=Ve.className;var Hd="masked-textbox",Fd="maskedtextbox";import{Fragment as Ud,jsx as Yt,jsxs as kn}from"react/jsx-runtime";var Gd="k-maskedtextbox",Gh=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],$h={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Mn={showClearButton:!0,separators:!0},Xe=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Mn.separators,showClearButton:l=Mn.showClearButton,prefix:p,suffix:m,value:f,placeholder:x,hover:h,focus:N,valid:u,invalid:k,required:g,loading:M,disabled:S,readonly:y,id:O,"aria-label":H,"aria-describedby":J,...Q}=e;return kn(U,{...Q,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:u,invalid:k,required:g,loading:M,disabled:S,readonly:y,className:n(e.className,Gd),children:[p&&kn(Ud,{children:[Yt(ue,{children:p}),i&&Yt(ee,{})]}),Yt(me,{id:O,placeholder:x,value:f,disabled:S,"aria-label":H,"aria-describedby":J,"aria-invalid":k?"true":void 0}),Yt(j,{valid:u,invalid:k,loading:M,disabled:S}),Yt(oe,{loading:M,disabled:S}),l&&Yt(pe,{loading:M,disabled:S,readonly:y,value:f}),m&&kn(Ud,{children:[i&&Yt(ee,{}),Yt(fe,{children:m})]})]})};Xe.states=Gh;Xe.options=$h;Xe.className=Gd;Xe.defaultOptions=Mn;Xe.moduleName=Hd;Xe.folderName=Fd;var sa=Xe;import{jsx as Vh}from"react/jsx-runtime";var $d=e=>Vh(sa,{...e});import{Fragment as I7,jsx as M7}from"react/jsx-runtime";import{Fragment as O7,jsx as T7}from"react/jsx-runtime";import{jsx as P7}from"react/jsx-runtime";import{jsx as D7}from"react/jsx-runtime";import{jsx as In}from"react/jsx-runtime";var Xh=Xe.states,Wh=Xe.defaultOptions,Jh=Xe.options,qh=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Yh=[],da=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?In($,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?In(L,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),In($d,{value:"Value",style:{width:300},...o,...a})};da.options=Jh;da.states=Xh;da.variants=Yh;da.defaultOptions=Wh;da.modifiers=qh;da.className=Xe.className;var Sn="switch",Vd=Sn;import{jsx as wi,jsxs as Xd}from"react/jsx-runtime";var Zt="k-switch",Zh=[r.hover,r.focus,r.disabled,r.readonly,r.checked],Qh={size:[s.undefined,s.small,s.medium,s.large],trackRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],thumbRounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},jh={},Ke=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:l,thumbRounded:p,hover:m,focus:f,disabled:x,readonly:h,...N}=e;return Xd("span",{...N,className:n(e.className,Zt,I(Zt,{size:i}),E(Zt,{hover:m,focus:f,disabled:x,readonly:h}),{[`${Zt}-on`]:t,[`${Zt}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:x?void 0:0,"aria-disabled":x?"true":void 0,"aria-readonly":h?"true":void 0,children:[Xd("span",{className:n("k-switch-track",I(Zt,{rounded:l})),children:[o&&wi("span",{className:"k-switch-label-on",children:o}),a&&wi("span",{className:"k-switch-label-off",children:a})]}),wi("span",{className:"k-switch-thumb-wrap",children:wi("span",{className:n("k-switch-thumb",I(Zt,{rounded:p}))})})]})};Ke.states=Zh;Ke.options=Qh;Ke.className=Zt;Ke.defaultOptions=jh;Ke.moduleName=Sn;Ke.folderName=Vd;import{jsx as s9}from"react/jsx-runtime";import{jsx as c9}from"react/jsx-runtime";import{jsx as x9}from"react/jsx-runtime";import{jsx as v9}from"react/jsx-runtime";import{jsx as Wd}from"react/jsx-runtime";var eN=Ke.options,tN=Ke.states,oN={...Ke.defaultOptions,variant:"on"},aN=[{name:"on",title:"On"},{name:"off",title:"Off"}],iN=[],pa=e=>{let{variant:t,...o}=e;return t==="off"?Wd(Ke,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Wd(Ke,{checked:!0,onLabel:"On",offLabel:"Off",...o})};pa.options=eN;pa.states=tN;pa.variants=aN;pa.defaultOptions=oN;pa.modifiers=iN;pa.className=Ke.className;var En="textarea",Jd=En;import{Fragment as qd,jsx as qa,jsxs as Cn}from"react/jsx-runtime";var Yd="k-textarea",rN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],nN={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ma={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},ze=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=ma.prefixSeparator,suffixSeparator:l=ma.prefixSeparator,affixesOrientation:p=ma.affixesOrientation,flow:m=ma.flow,resize:f=ma.resize,prefix:x,suffix:h,rows:N,value:u,placeholder:k,hover:g,focus:M,valid:S,invalid:y,required:O,disabled:H,id:J,"aria-label":Q,"aria-describedby":se,...de}=e;return Cn(U,{...de,size:t,rounded:o,fillMode:a,hover:g,focus:M,valid:S,invalid:y,required:O,disabled:H,className:n(e.className,Yd,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[x&&Cn(qd,{children:[qa(ue,{className:n({"!k-align-items-start":m===p}),direction:p,children:x}),i&&qa(ee,{direction:m==="horizontal"?"vertical":"horizontal"})]}),qa(Ca,{className:n("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:u,placeholder:k,rows:N,disabled:H,id:J,"aria-label":Q,"aria-describedby":se,"aria-invalid":y?"true":void 0}),h&&Cn(qd,{children:[l&&qa(ee,{direction:m==="horizontal"?"vertical":"horizontal"}),qa(fe,{className:n({"!k-align-items-start":m===p}),direction:p,children:h})]})]})};ze.states=rN;ze.options=nN;ze.className=Yd;ze.defaultOptions=ma;ze.moduleName=En;ze.folderName=Jd;import{jsx as F9}from"react/jsx-runtime";import{Fragment as W9,jsx as X9}from"react/jsx-runtime";import{Fragment as j9,jsx as Q9}from"react/jsx-runtime";import{jsx as aU}from"react/jsx-runtime";import{jsx as Ki}from"react/jsx-runtime";var lN=ze.options,sN=ze.states,Zd={...ze.defaultOptions,variant:"vertical"},dN=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],pN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],ca=e=>{let{variant:t,modifiers:o,...a}={...Zd,...e},i={resize:"y"};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":i.prefix=o?.[l]?Ki(L,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[l]?Ki(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?Ki(ze,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):Ki(ze,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};ca.options=lN;ca.states=sN;ca.variants=dN;ca.defaultOptions=Zd;ca.modifiers=pN;ca.className=ze.className;import{Fragment as EU,jsx as yU,jsxs as CU}from"react/jsx-runtime";import{Fragment as xN,jsx as Oe,jsxs as ua}from"react/jsx-runtime";var mN=F.options,cN=F.states,uN={...F.defaultOptions,variant:"vertical"},fN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],bN=[],fa=e=>{let{variant:t,size:o,...a}=e,i=ua(we,{legend:"Form Legend",children:[Oe(Z,{label:"Label",editor:Oe(_,{size:o})}),Oe(Z,{label:"Label",hint:"Hint text",editor:Oe($,{value:"Dropdown List",size:o})}),Oe(Z,{label:"City",editor:ua("ul",{className:"k-radio-list k-list-horizontal",children:[ua("li",{className:"k-radio-list-item",children:[Oe(Ge,{checked:!0,size:o}),Oe("label",{className:"k-radio-label",children:"Label"})]}),ua("li",{className:"k-radio-list-item",children:[Oe(Ge,{size:o}),Oe("label",{className:"k-radio-label",children:"Label"})]}),ua("li",{className:"k-radio-list-item",children:[Oe(Ge,{size:o}),Oe("label",{className:"k-radio-label",children:"Label"})]})]})})]}),l=ua(xN,{children:[Oe(d,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Oe(d,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Oe(F,{orientation:"horizontal",size:o,...a,formButtons:l,children:i}):Oe(F,{size:o,...a,formButtons:l,children:i})};fa.options=mN;fa.states=cN;fa.variants=fN;fa.defaultOptions=uN;fa.modifiers=bN;fa.className=F.className;import{jsx as Qd,jsxs as LN}from"react/jsx-runtime";var hN=nt.options,NN=nt.states,jd={...nt.defaultOptions},gN=[],vN=[{name:"showHint",title:"Show Hint"}],ba=e=>{let{modifiers:t,...o}={...jd,...e},a=t?.showHint??!0;return LN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Qd(_,{placeholder:"Component",style:{width:"200px"}}),a&&Qd(nt,{...o,children:"Hint text"})]})};ba.options=hN;ba.states=NN;ba.variants=gN;ba.defaultOptions=jd;ba.modifiers=vN;ba.className=nt.className;import{jsx as ep,jsxs as yN}from"react/jsx-runtime";var kN=lt.options,MN=lt.states,tp={...lt.defaultOptions},IN=[],SN=[{name:"showError",title:"Show Error"}],xa=e=>{let{modifiers:t,...o}={...tp,...e},a=t?.showError??!0;return yN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[ep(_,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&ep(lt,{...o,children:"Error text"})]})};xa.options=kN;xa.states=MN;xa.variants=IN;xa.defaultOptions=tp;xa.modifiers=SN;xa.className=lt.className;var On="tooltip",op=On;import{jsx as Ya,jsxs as ap}from"react/jsx-runtime";var An="k-tooltip",EN=[],CN={themeColor:[v.undefined,v.base,v.inverse,v.info,v.success,v.warning,v.error]},ip={closable:!1},De=e=>{let{closable:t=ip.closable,callout:o,themeColor:a,title:i,content:l,icon:p,id:m=C("tooltip"),...f}=e;return ap("div",{...f,className:n(e.className,An,I(An,{themeColor:a}),{"k-tooltip-closable":t}),role:"tooltip",id:m,children:[p&&Ya(L,{className:"k-tooltip-icon",icon:p}),ap("div",{className:"k-tooltip-content",children:[i&&Ya("div",{className:"k-tooltip-title",children:i}),l]}),t&&Ya("div",{className:"k-tooltip-button",role:"button","aria-label":"Close",tabIndex:0,children:Ya(L,{icon:"x"})}),o&&Ya("div",{className:n("k-callout",{[`k-callout-${Hn.calloutMap[o]||o}`]:o})})]})};De.states=EN;De.options=CN;De.className=An;De.defaultOptions=ip;De.moduleName=On;De.folderName=op;var Bn=De;import{jsx as TN}from"react/jsx-runtime";var rp=e=>TN(Bn,{content:"Tooltip Content",...e});import{jsx as vG}from"react/jsx-runtime";import{jsx as Rn,jsxs as RN}from"react/jsx-runtime";var ON={...De.options,closable:{type:"boolean"},callout:["none","top","bottom","left","right"]},AN=De.states,np={...De.defaultOptions,callout:"top"},BN=[],ha=e=>{let{callout:t="top",...o}={...np,...e},a={none:{top:"-33px",left:"-17px",calloutDirection:null},right:{top:"2px",left:"61px",calloutDirection:"left"},left:{top:"2px",left:"-94px",calloutDirection:"right"},bottom:{top:"38px",left:"-17px",calloutDirection:"top"},top:{top:"-33px",left:"-17px",calloutDirection:"bottom"}},{top:i,left:l,calloutDirection:p}=a[t]||{};return RN("div",{style:{position:"absolute"},children:[Rn(We,{style:{top:i,left:l},children:Rn(rp,{style:{width:"86px",textAlign:"center"},callout:p,content:"Content",...o})}),Rn(d,{text:"Show"})]})};ha.options=ON;ha.states=AN;ha.variants=BN;ha.defaultOptions=np;ha.modifiers=[];ha.className=De.className;import{Fragment as $G,jsx as GG,jsxs as VG}from"react/jsx-runtime";import{Fragment as o8,jsx as t8,jsxs as a8}from"react/jsx-runtime";import{Fragment as f8,jsx as u8,jsxs as b8}from"react/jsx-runtime";import{jsx as k8}from"react/jsx-runtime";var Pn="floating-toolbar",lp=Pn;import{jsx as zi,jsxs as DN}from"react/jsx-runtime";var wn="k-floating-toolbar",PN="k-floating-toolbar-drag-handle",wN=[],KN={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},zN={scrollButtons:"around"},zt=e=>{let{size:t,fillMode:o,resizable:a,scrollable:i,scrollButtons:l,scrollingPosition:p,section:m,draggable:f,dragHandleAriaLabel:x="Drag to reposition",...h}=e,N=f?[zi("div",{className:PN,role:"button",tabIndex:0,"aria-label":x,children:zi(L,{icon:"handle-drag-dots"})},"drag-handle"),zi("div",{className:n("k-separator","k-separator-vertical")},"drag-handle-separator")]:[];return DN(V,{...h,className:n(e.className,wn,I(wn,{size:t,fillMode:o})),children:[N,zi(X,{size:t,fillMode:o,resizable:a,scrollable:i,scrollButtons:l,scrollingPosition:p,section:m,children:e.children})]})};zt.states=wN;zt.options=KN;zt.className=wn;zt.defaultOptions=zN;zt.moduleName=Pn;zt.folderName=lp;import{Fragment as X8,jsx as V8,jsxs as W8}from"react/jsx-runtime";var Kn="segmented-control",sp=Kn,dp="segmented-control-button",pp="segmented-control";import{jsx as FN,jsxs as UN}from"react/jsx-runtime";var Di="k-segmented-control",_N=[],HN={size:[s.undefined,s.small,s.medium,s.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full]},Dt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:l,...p}=e;return UN("div",{...p,className:n(e.className,Di,I(Di,{size:t,rounded:o}),{[`${Di}-stretched`]:a}),role:"group",children:[FN("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:l}),i]})};Dt.states=_N;Dt.options=HN;Dt.className=Di;Dt.moduleName=Kn;Dt.folderName=sp;import{jsx as mp,jsxs as XN}from"react/jsx-runtime";var zn="k-segmented-control-button",GN=[r.selected,r.hover,r.focus,r.disabled],$N={},VN={},Tt=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:l,text:p,iconClassName:m,...f}=e;return XN("button",{...f,className:n(e.className,zn,E(zn,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[l&&mp(L,{className:n(m,"k-segmented-control-button-icon"),icon:l}),(p||e.children)&&mp("span",{className:"k-segmented-control-button-text",children:p||e.children})]})};Tt.states=GN;Tt.options=$N;Tt.className=zn;Tt.defaultOptions=VN;Tt.moduleName=dp;Tt.folderName=pp;import{Fragment as d$,jsx as s$,jsxs as p$}from"react/jsx-runtime";import{Fragment as x$,jsx as b$,jsxs as h$}from"react/jsx-runtime";import{Fragment as M$,jsx as k$,jsxs as I$}from"react/jsx-runtime";import{Fragment as O$,jsx as T$,jsxs as A$}from"react/jsx-runtime";import{Fragment as z$,jsx as K$,jsxs as D$}from"react/jsx-runtime";import{Fragment as nV,jsx as rV,jsxs as lV}from"react/jsx-runtime";import{Fragment as LV,jsx as vV,jsxs as kV}from"react/jsx-runtime";import{Fragment as RV,jsx as BV,jsxs as PV}from"react/jsx-runtime";import{Fragment as VV,jsx as $V,jsxs as XV}from"react/jsx-runtime";import{Fragment as jV,jsx as QV,jsxs as eX}from"react/jsx-runtime";import{Fragment as pX,jsx as sX,jsxs as dX}from"react/jsx-runtime";import{Fragment as MX,jsx as LX,jsxs as kX}from"react/jsx-runtime";import{Fragment as wX,jsx as PX,jsxs as KX}from"react/jsx-runtime";import{jsx as pt}from"react/jsx-runtime";var WN=[pt(d,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),pt(be,{},"toolbar-separator-1"),pt(d,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-2"),pt(d,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-3"),pt(be,{},"toolbar-separator-2"),pt(d,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),pt("div",{className:"k-spacer"},"toolbar-spacer"),pt(d,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),pt(bt,{children:pt(Pe,{fillMode:"flat",value:"Fit","aria-label":"Zoom options"})},"toolbar-item-1"),pt(d,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],cW=e=>pt(te,{toolbarItems:WN,...e});export{cW as ImageEditorNormal};
|