@progress/kendo-themes-html 14.7.0-dev.14 → 14.7.0-dev.15
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/imageeditor/imageeditor-canvas.spec.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-pane.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -1
- 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-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-blur-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-filters-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-frames-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-shadow-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/esm/imageeditor/imageeditor-canvas.spec.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -1
- 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-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-blur-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-filters-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-frames-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-line-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-text-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-pixelate-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-shadow-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/types/imageeditor/constants.d.ts +9 -0
- package/dist/types/imageeditor/imageeditor-canvas.spec.d.ts +15 -0
- package/dist/types/imageeditor/imageeditor-option-list.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor-pane.d.ts +2 -0
- package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor-sidebar.d.ts +8 -0
- package/dist/types/imageeditor/imageeditor-toolbar.d.ts +5 -4
- package/dist/types/imageeditor/imageeditor.spec.d.ts +7 -3
- package/dist/types/imageeditor/index.d.ts +13 -1
- package/dist/types/imageeditor/templates/imageeditor-adjustments-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-blur-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-crop-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-crop.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-filters-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +1 -6
- package/dist/types/imageeditor/templates/imageeditor-frames-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-line-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-shape-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-text-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-pixelate-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-resize-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-resize.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-rotate-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-shadow-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -1
- package/package.json +1 -1
- package/src/imageeditor/constants.ts +4 -0
- package/src/imageeditor/imageeditor-canvas.spec.tsx +30 -0
- package/src/imageeditor/imageeditor-option-list.tsx +2 -1
- package/src/imageeditor/imageeditor-pane.tsx +4 -1
- package/src/imageeditor/imageeditor-preview-thumbnail.tsx +3 -2
- package/src/imageeditor/imageeditor-sidebar.tsx +32 -19
- package/src/imageeditor/imageeditor-toolbar.tsx +27 -21
- package/src/imageeditor/imageeditor.spec.tsx +14 -6
- package/src/imageeditor/index.ts +13 -1
- package/src/imageeditor/templates/imageeditor-adjustments-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-adjustments.tsx +80 -57
- package/src/imageeditor/templates/imageeditor-blur-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-blur.tsx +9 -25
- package/src/imageeditor/templates/imageeditor-crop-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-crop.tsx +22 -28
- package/src/imageeditor/templates/imageeditor-filters-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-filters.tsx +32 -52
- package/src/imageeditor/templates/imageeditor-frames-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-frames.tsx +123 -149
- package/src/imageeditor/templates/imageeditor-insert-line-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-line.tsx +24 -25
- package/src/imageeditor/templates/imageeditor-insert-shape-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-shape.tsx +93 -50
- package/src/imageeditor/templates/imageeditor-insert-text-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-text.tsx +24 -25
- package/src/imageeditor/templates/imageeditor-normal.tsx +2 -23
- package/src/imageeditor/templates/imageeditor-pixelate-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-pixelate.tsx +9 -24
- package/src/imageeditor/templates/imageeditor-resize-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-resize.tsx +10 -25
- package/src/imageeditor/templates/imageeditor-rotate-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-rotate.tsx +8 -23
- package/src/imageeditor/templates/imageeditor-shadow-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-shadow.tsx +20 -42
- package/src/imageeditor/tests/imageeditor-adaptive-panes.tsx +85 -0
- package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +10 -305
- package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-blur-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-filters-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-frames-pane.tsx +4 -3
- package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +1 -1
- package/src/imageeditor/tests/imageeditor-interactive-states.tsx +6 -6
- package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-responsive.tsx +4 -4
- package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +2 -1
- package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +0 -1
- package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +0 -1
- package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +0 -1
- package/src/imageeditor/templates/imageeditor-disabled.tsx +0 -54
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:l,checked:p,active:m,selected:f,disabled:h,indeterminate:b,loading:N,empty:c,readonly:v,highlighted:L,...I}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":l,"k-checked":p,"k-active":m,"k-selected":f,"k-disabled":h,"k-indeterminate":b&&!p,"k-loading":N,"k-empty":c,"k-readonly":v,"k-highlighted":L},Object.keys(I).reduce((S,M)=>(M.startsWith("k-")?S[M]=I[M]:S[`k-${M}`]=I[M],S),{}))};function cl(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 lr={};function B(e){return lr[e]=(lr[e]||0)+1,`k-${e}-${lr[e]}`}import{Fragment as Vp,jsx as ul}from"react/jsx-runtime";var sr="k-font-icon",Up=[],Gp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},$p={},Ra=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...p}=e;return a?ul("span",{...p,className:r(e.className,sr,E(sr,{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"}):ul(Vp,{})};Ra.states=Up;Ra.options=Gp;Ra.className=sr;Ra.defaultOptions=$p;var fl=Ra;import{Fragment as Jp,jsx as fi}from"react/jsx-runtime";var dr="k-svg-icon",Xp=[],Wp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},pr={viewBox:"0 0 24 24",variant:gt.outline},Pa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=pr.viewBox,variant:p=pr.variant,icon:m,...f}=e;if(!m)return fi(Jp,{});if(m==="none")return fi("span",{...f,className:r(e.className,dr,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?p&&m.variants?.[p]||m.variants?.outline||m.content:void 0;return fi("span",{...f,className:r(e.className,dr,E("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`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:fi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};Pa.states=Xp;Pa.options=Wp;Pa.className=dr;Pa.defaultOptions=pr;var mr=Pa;import*as cr from"@progress/kendo-svg-icons";var bl="icon",xl="icons";import{useContext as Yp}from"react";import{createContext as qp}from"react";var hl=qp({iconsType:"svg"});import{Fragment as gl,jsx as wa}from"react/jsx-runtime";var bi="k-icon",Zp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Qp=[],jp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},xi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},g=e=>{let{iconsType:t}=Yp(hl),{size:o,themeColor:a,icon:i,type:l=t||xi.type,rotate:p,flip:m,viewBox:f=xi.viewBox,variant:h=xi.variant,...b}=e;if(!i)return wa(gl,{});if((t||l)==="svg"){if(i==="none")return wa(mr,{...b,className:r(e.className,bi),icon:i,size:o,variant:h});let c=cr[i]?i:Zp(`${i}-icon`);return cr[c]?wa(mr,{...b,className:r(e.className,bi),icon:cr[c],size:o,themeColor:a,rotate:p,flip:m,viewBox:f,variant:h}):wa(gl,{})}return wa(fl,{...b,className:r(e.className,bi),icon:i,size:o,themeColor:a,rotate:p,flip:m})};g.states=Qp;g.options=jp;g.defaultOptions=xi;g.className=bi;g.moduleName=bl;g.folderName=xl;var ur="button",Nl=ur;import{Fragment as fr,jsx as Vt,jsxs as vl}from"react/jsx-runtime";var Ka="k-button",em=["icon-button"],tm=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],om={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},br={showArrow:!1,arrowIconName:"chevron-down"},s=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:l,showArrow:p=br.showArrow,arrowIconName:m=br.arrowIconName,variant:f,hover:h,focus:b,active:N,selected:c,disabled:v,togglable:L,ariaDisabled:I,icon:S,endIcon:M,iconSize:T,text:w,iconClassName:Y,className:ie,...re}=e,pe=S!=null,no=e.children!==void 0;return vl(t,{className:r(ie,Ka,cl(Ka,f),E(Ka,{size:o,rounded:a,fillMode:i,themeColor:l}),y(Ka,{hover:h,focus:b,active:N,disabled:v||I,selected:c}),{"k-icon-button":!w&&!no&&pe}),"aria-pressed":L?c?"true":"false":void 0,...re,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof S=="string"&&S&&Vt(g,{className:r(Y,"k-button-icon"),icon:S,size:T}),S&&typeof S!="string"&&Vt(fr,{children:S}),w?vl(fr,{children:[w&&Vt("span",{className:"k-button-text",children:w}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),typeof M=="string"&&M&&Vt(g,{className:r(Y,"k-button-icon"),icon:M,size:T}),M&&typeof M!="string"&&Vt(fr,{children:M}),p&&Vt("span",{className:"k-menu-button-arrow k-button-arrow",children:Vt(g,{icon:m})})]})};s.states=tm;s.options=om;s.variants=em;s.className=Ka;s.defaultOptions=br;s.moduleName=ur;s.folderName=Nl;import{jsx as am}from"react/jsx-runtime";var wt=e=>am(s,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as im}from"react/jsx-runtime";var za=e=>im(s,{icon:"folder",children:"Button",...e});import{jsx as Ev}from"react/jsx-runtime";import{jsx as rm}from"react/jsx-runtime";var Nt=e=>rm(s,{children:"Button",...e});import{jsx as xr}from"react/jsx-runtime";var nm=s.options,lm=s.states,sm={...s.defaultOptions,variant:"text"},dm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pm=[],Eo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return xr(wt,{...o,icon:"star"});case"icon-and-text":return xr(za,{...o,icon:"star",children:"Button"});default:return xr(Nt,{...o,children:"Button"})}};Eo.options=nm;Eo.states=lm;Eo.variants=dm;Eo.defaultOptions=sm;Eo.modifiers=pm;Eo.className=s.className;var hr="button",kl=hr;import{jsx as fm}from"react/jsx-runtime";var _a="k-button-group",mm=[n.disabled],cm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},um={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return fm("div",{role:"group",...i,className:r(e.className,_a,E(_a,{fillMode:t}),y(_a,{disabled:o}),{[`${_a}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=mm;A.options=cm;A.className=_a;A.defaultOptions=um;A.moduleName=hr;A.folderName=kl;import{Fragment as tk,jsx as ek,jsxs as ok}from"react/jsx-runtime";import{Fragment as sk,jsx as lk,jsxs as dk}from"react/jsx-runtime";import{Fragment as bk,jsx as fk,jsxs as xk}from"react/jsx-runtime";import{Fragment as Lk,jsx as kk,jsxs as Ik}from"react/jsx-runtime";import{Fragment as Bk,jsx as Ck,jsxs as Tk}from"react/jsx-runtime";import{Fragment as Kk,jsx as wk,jsxs as zk}from"react/jsx-runtime";import{Fragment as Gk,jsx as Uk,jsxs as $k}from"react/jsx-runtime";import{jsx as Kt,jsxs as gr}from"react/jsx-runtime";var bm={...s.options,...A.options},xm=s.states,hm={...s.defaultOptions,...A.defaultOptions,variant:"text-button"},gm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Nm=[],Co=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?gr(A,{fillMode:a.fillMode,className:o,children:[Kt(s,{...a,icon:"star"}),Kt(s,{...a,icon:"star"}),Kt(s,{...a,icon:"star"})]}):t==="icon-text-button"?gr(A,{fillMode:a.fillMode,className:o,children:[Kt(s,{...a,icon:"star",children:"First"}),Kt(s,{...a,icon:"star",children:"Middle"}),Kt(s,{...a,icon:"star",children:"Last"})]}):gr(A,{fillMode:a.fillMode,className:o,children:[Kt(s,{...a,children:"First"}),Kt(s,{...a,children:"Middle"}),Kt(s,{...a,children:"Last"})]})};Co.options=bm;Co.states=xm;Co.variants=gm;Co.defaultOptions=hm;Co.modifiers=Nm;Co.className=A.className;var Da="input",hi=Da;import{jsx as Im}from"react/jsx-runtime";var gi="k-input",vm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],km={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Lm={},$=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Im("span",{...N,className:r(e.className,gi,E(gi,{size:f,rounded:h,fillMode:b}),y(gi,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m}))})};$.states=vm;$.options=km;$.className=gi;$.defaultOptions=Lm;$.moduleName=Da;$.folderName=hi;import{jsx as Em}from"react/jsx-runtime";var Ni="k-picker",Sm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ym={},vt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Em("span",{...N,className:r(e.className,Ni,E(Ni,{size:f,rounded:h,fillMode:b}),y(Ni,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m})),children:e.children})};vt.states=Sm;vt.options=Mm;vt.className=Ni;vt.defaultOptions=ym;vt.moduleName=Da;vt.folderName=hi;import{Fragment as Tm,jsx as Nr}from"react/jsx-runtime";var Ll="k-clear-value",Cm=[n.disabled,n.loading,n.readonly],Bm={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Nr(Tm,{}):Nr("span",{className:r(e.className,Ll),children:Nr(g,{icon:"x"})})};me.states=Cm;me.options=Bm;me.className=Ll;import{jsx as Rm}from"react/jsx-runtime";var vr="k-input-inner",Am=[],Om={},vi={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=vi.value,type:o=vi.type,placeholder:a=vi.placeholder,autocomplete:i=vi.autocomplete,disabled:l,readOnly:p,...m}=e;return Rm("input",{...m,type:o,className:r(e.className,vr,E(vr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:l||void 0,readOnly:p||void 0})};ce.states=Am;ce.options=Om;ce.className=vr;import{jsx as Il,jsxs as Km}from"react/jsx-runtime";var kr="k-input-inner",Pm=[],wm={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...p}=e;return Km("span",{...p,className:r(e.className,kr,E(kr,e)),children:[i,!i&&l&&Il(g,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&Il("span",{className:"k-input-value-text",children:t})]})};lo.states=Pm;lo.options=wm;lo.className=kr;import{jsx as Dm}from"react/jsx-runtime";var Lr="k-input-inner",zm=[],_m={},Sl={value:"",placeholder:""},Fa=e=>{let{value:t=Sl.value,placeholder:o=Sl.placeholder,rows:a,disabled:i,...l}=e;return Dm("textarea",{...l,className:r(e.className,Lr,E(Lr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Fa.states=zm;Fa.options=_m;Fa.className=Lr;import{Fragment as Hm,jsx as Ml}from"react/jsx-runtime";var yl="k-input-loading-icon",Fm=[n.disabled,n.loading],ne=e=>{let{disabled:t,loading:o}=e;return t||!o?Ml(Hm,{}):Ml("span",{className:r(e.className,yl,"k-icon k-i-loading")})};ne.states=Fm;ne.className=yl;import{Fragment as $m,jsx as El}from"react/jsx-runtime";var Cl="k-input-validation-icon",Um=[n.valid,n.invalid,n.disabled,n.loading],Gm={},ee=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?El($m,{}):El(g,{className:r(Cl),icon:l})};ee.states=Um;ee.options=Gm;ee.className=Cl;import{Fragment as Wm,jsx as Bl}from"react/jsx-runtime";var Vm="k-input-prefix",Xm={direction:"horizontal"},be=e=>{let{direction:t=Xm.direction,...o}=e;return e.children?Bl("span",{...o,className:r(Vm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Bl(Wm,{})};import{Fragment as Ym,jsx as Tl}from"react/jsx-runtime";var Jm="k-input-suffix",qm={direction:"horizontal"},xe=e=>{let{direction:t=qm.direction,...o}=e;return e.children?Tl("span",{...o,className:r(Jm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Tl(Ym,{})};import{jsx as VL}from"react/jsx-runtime";import{jsx as Qm}from"react/jsx-runtime";var Zm="k-input-suffix-text",kt=e=>{let{children:t,...o}=e;return Qm("span",{...o,className:r(Zm,e.className),children:t})};import{jsx as ec}from"react/jsx-runtime";var Al="k-input-separator",jm={direction:"vertical"},te=e=>{let{direction:t=jm.direction,...o}=e;return ec("span",{...o,className:r(Al,e.className,{[`${Al}-${t}`]:t})})};import{Fragment as Ol,jsx as Lt,jsxs as Ir}from"react/jsx-runtime";var tc=$.states,oc=$.defaultOptions,ac=$.options,ic=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],rc=[],Bo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:l,readonly:p,...m}=e,f=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],c=t?.separators;return Ir($,{...m,valid:o,invalid:a,loading:i,disabled:l,readonly:p,style:{width:300},children:[f&&Ir(Ol,{children:[Lt(be,{children:Lt(g,{icon:"lock"})}),c&&Lt(te,{})]}),Lt(ce,{placeholder:"Placeholder",value:"Value"}),N&&Lt(ee,{valid:o,invalid:a,loading:i,disabled:l}),Lt(ne,{loading:i,disabled:l}),b&&Lt(me,{loading:i,disabled:l,readonly:p,value:"Value"}),h&&Ir(Ol,{children:[c&&Lt(te,{}),Lt(xe,{children:Lt(Nt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Bo.options=ac;Bo.states=tc;Bo.variants=rc;Bo.defaultOptions=oc;Bo.modifiers=ic;Bo.className=$.className;import{jsx as Rl,jsxs as sc}from"react/jsx-runtime";var Pl="k-color-preview",nc=[],lc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return sc("span",{...a,className:r(e.className,Pl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Rl(g,{icon:o,className:"k-color-preview-icon"}),Rl("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=nc;Xt.options=lc;Xt.className=Pl;var Sr="popup",wl=Sr;import{jsx as Kl}from"react/jsx-runtime";var zl="k-animation-container",dc=[],pc={},Mr={positionMode:"absolute",shown:!0},It=e=>{let{positionMode:t=Mr.positionMode,shown:o=Mr.shown,animationStyle:a,offset:i,...l}=e;return Kl("div",{...l,style:{...i,...e.style},className:r(e.className,zl,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Kl("div",{className:"k-child-animation-container",style:a,children:e.children})})};It.states=dc;It.options=pc;It.className=zl;It.defaultOptions=Mr;It.moduleName=Sr;It.folderName=wl;var yr="popup",_l=yr;import{jsx as Dl}from"react/jsx-runtime";var Fl="k-popup",mc=[],cc={},Hl={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Hl.positionMode,animationStyle:a,containerClassName:i,containerRole:l,containerAriaLabel:p,...m}=e;return Dl(It,{positionMode:o,offset:t,animationStyle:a,className:i,role:l,"aria-label":p,children:Dl("div",{...m,className:r(e.className,Fl),children:e.children})})};J.states=mc;J.options=cc;J.className=Fl;J.defaultOptions=Hl;J.moduleName=yr;J.folderName=_l;var Er="action-buttons",Ul=Er;import{jsx as bc}from"react/jsx-runtime";var ki="k-actions",uc=[],fc={},Cr={alignment:"start",orientation:"horizontal"},Ue=e=>{let{alignment:t=Cr.alignment,orientation:o=Cr.orientation,...a}=e;return bc("div",{...a,className:r(ki,{[`${ki}-${t}`]:t,[`${ki}-${o}`]:o},e.className),children:e.children})};Ue.states=uc;Ue.options=fc;Ue.className=ki;Ue.defaultOptions=Cr;Ue.moduleName=Er;Ue.folderName=Ul;var Gl=Ue;import{jsx as hc}from"react/jsx-runtime";var xc="k-actionsheet-footer",$l={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=$l.alignment,orientation:o=$l.orientation,template:a,as:i=a?"div":Ue,...l}=e;return hc(i,{...l,...!a&&{alignment:t,orientation:o},className:r(e.className,xc),children:e.children})};var Br="searchbox",Vl=Br;import{jsx as Ha,jsxs as vc}from"react/jsx-runtime";var Xl="k-searchbox",gc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Nc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Li={showIcon:!0,showClearButton:!0,icon:"search"},Ze=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:l,hover:p,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,showIcon:v=Li.showIcon,showClearButton:L=Li.showClearButton,icon:I=Li.icon,"aria-label":S,...M}=e;return vc($,{...M,size:a,rounded:i,fillMode:l,hover:p,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,className:r(e.className,Xl),children:[v&&Ha(g,{className:"k-input-icon",icon:I}),Ha(ce,{placeholder:o,value:t,"aria-label":S}),Ha(ne,{...e}),Ha(ee,{...e}),L&&Ha(me,{...e})]})};Ze.states=gc;Ze.options=Nc;Ze.className=Xl;Ze.defaultOptions=Li;Ze.moduleName=Br;Ze.folderName=Vl;import{jsx as xS}from"react/jsx-runtime";var Tr="textbox",Wl=Tr;import{Fragment as Jl,jsx as Jt,jsxs as Ar}from"react/jsx-runtime";var ql="k-textbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Lc={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ii={showClearButton:!0,showValidationIcon:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ii.separators,showClearButton:l=Ii.showClearButton,showValidationIcon:p=Ii.showValidationIcon,prefix:m,suffix:f,type:h,value:b,placeholder:N,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:T,readonly:w,id:Y,"aria-label":ie,"aria-describedby":re,...pe}=e;return Ar($,{...pe,size:t,rounded:o,fillMode:a,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:T,readonly:w,className:r(e.className,ql),children:[m&&Ar(Jl,{children:[Jt(be,{children:m}),i&&Jt(te,{})]}),Jt(ce,{id:Y,placeholder:N,value:b,type:h,disabled:T,"aria-label":ie,"aria-describedby":re,"aria-invalid":I?"true":void 0}),p&&Jt(ee,{valid:L,invalid:I,loading:M,disabled:T}),Jt(ne,{loading:M,disabled:T}),l&&Jt(me,{loading:M,disabled:T,readonly:w,value:b}),f&&Ar(Jl,{children:[i&&Jt(te,{}),Jt(xe,{children:f})]})]})};U.states=kc;U.options=Lc;U.className=ql;U.defaultOptions=Ii;U.moduleName=Tr;U.folderName=Wl;var Ua=U;import{jsx as Ic}from"react/jsx-runtime";var Yl=e=>Ic(Ua,{...e});import{Fragment as PS,jsx as RS}from"react/jsx-runtime";import{Fragment as FS,jsx as DS}from"react/jsx-runtime";import{jsx as $S}from"react/jsx-runtime";import{jsx as Or}from"react/jsx-runtime";var Sc=U.states,Mc=U.defaultOptions,yc=U.options,Ec=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Cc=[],To=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Or(g,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?Or(Nt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),Or(Yl,{value:"Value",style:{width:300},...o,...a})};To.options=yc;To.states=Sc;To.variants=Cc;To.defaultOptions=Mc;To.modifiers=Ec;To.className=U.className;import{jsx as qt,jsxs as Rr}from"react/jsx-runtime";var Zl="k-actionsheet-titlebar",Bc={},Ne=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:p,inputValue:m,inputPlaceholder:f,adaptive:h,titleId:b,children:N,...c}=e;return Rr("div",{...c,className:r(e.className,Zl),children:[Rr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!N&&Rr("div",{className:"k-actionsheet-title",id:b,children:[t&&qt("div",{className:"k-text-center",children:t}),o&&qt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&qt("div",{className:"k-actionsheet-title",id:b,children:N}),i&&qt("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&qt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?qt(U,{value:m,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):qt(Ze,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Ne.className=Zl;Ne.defaultOptions=Bc;import{jsx as Pr,jsxs as Rc}from"react/jsx-runtime";var wr="k-actionsheet-view",Tc=[],Ac={},Oc={},Ao=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,titleId:p,...m}=e,f=i?.type===Ne&&Pr(Ne,{adaptive:t,titleId:p,...i?.props}),h=l?.type===Wt&&Pr(Wt,{...l?.props});return Rc("div",{...m,className:r(e.className,wr,{[`${wr}-animated`]:o}),children:[f,Pr("div",{className:"k-actionsheet-content",children:a}),h]})};Ao.states=Tc;Ao.options=Ac;Ao.className=wr;Ao.defaultOptions=Oc;var Ga="action-sheet",Si=Ga;var Kr="overlay",Ql=Kr;import{jsx as zc}from"react/jsx-runtime";var jl="k-overlay",Pc=[],wc={},Kc={},ft=e=>{let{...t}=e;return zc("div",{...t,className:r(e.className,jl),children:e.children})};ft.states=Pc;ft.options=wc;ft.className=jl;ft.defaultOptions=Kc;ft.moduleName=Kr;ft.folderName=Ql;var es=ft;import{jsx as Mi,jsxs as Fc}from"react/jsx-runtime";var ts="k-actionsheet",_c=[],Dc={},$a={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=$a.side,fullscreen:o=$a.fullscreen,adaptive:a=$a.adaptive,overlay:i=$a.overlay,template:l,children:p,header:m,footer:f,id:h,...b}=e,N=h&&!l&&m?`${h}-title`:void 0;return Fc("div",{className:"k-actionsheet-container",children:[i&&Mi(ft,{}),Mi(It,{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:Mi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:r(e.className,ts,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||Mi(Ao,{header:m,footer:f,adaptive:a,titleId:N,...e,children:p})})})]})};Z.states=_c;Z.options=Dc;Z.className=ts;Z.defaultOptions=$a;Z.moduleName=Ga;Z.folderName=Si;import{jsx as $c}from"react/jsx-runtime";var os="k-actionsheet-container",Hc=[],Uc={},Gc={},Oo=e=>{let{children:t,...o}=e;return $c("div",{...o,className:os,children:t})};Oo.states=Hc;Oo.options=Uc;Oo.className=os;Oo.defaultOptions=Gc;Oo.moduleName=Ga;Oo.folderName=Si;import{jsx as Vc}from"react/jsx-runtime";var zr=e=>{let{...t}=e;return Vc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Wc,jsx as Va,jsxs as _r}from"react/jsx-runtime";var Dr="k-actionsheet-item",Xc=[n.hover,n.focus,n.selected,n.disabled],Yt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:p,disabled:m,...f}=e;return _r("span",{...f,className:r(e.className,Dr,y(Dr,{hover:i,focus:l,selected:p,disabled:m})),children:[!e.children&&Va(Wc,{children:_r("span",{className:"k-actionsheet-action",children:[t&&Va("span",{className:"k-icon-wrap",children:Va(g,{className:"k-actionsheet-item-icon",icon:t})}),_r("span",{className:"k-actionsheet-item-text",children:[o&&Va("span",{className:"k-actionsheet-item-title",children:o}),a&&Va("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Yt.states=Xc;Yt.className=Dr;import{jsx as GM,jsxs as $M}from"react/jsx-runtime";import{jsx as JM}from"react/jsx-runtime";import{jsx as QM}from"react/jsx-runtime";import{jsx as oy}from"react/jsx-runtime";import{jsx as ve,jsxs as Fr}from"react/jsx-runtime";var Jc=Z.options,qc=Z.states,is={...Z.defaultOptions,variant:"normal"},Yc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Zc=[{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}={...is,...e},i={},l=Fr(zr,{children:[ve(Yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ve(Yt,{text:"Add to Favorites",iconName:"heart"}),ve(Yt,{text:"Upload New",iconName:"upload",disabled:!0}),ve("hr",{className:"k-hr"}),ve(Yt,{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"?ve(Z,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ve(Ne,{actionsStart:i.actionsStart?ve(s,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ve(s,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Fr(Wt,{alignment:"stretched",children:[ve(s,{text:"Cancel",size:"large",themeColor:"base"}),ve(s,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):ve(Z,{...a,fullscreen:i.fullScreen,header:ve(Ne,{actionsStart:i.actionsStart?ve(s,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ve(s,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Fr(Wt,{alignment:"stretched",children:[ve(s,{text:"Apply",themeColor:"primary"}),ve(s,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Ro.options=Jc;Ro.states=qc;Ro.variants=Yc;Ro.defaultOptions=is;Ro.modifiers=Zc;Ro.className=Z.className;var Hr="slider",rs=Hr;import{jsx as Po,jsxs as Ur}from"react/jsx-runtime";var Xa="k-slider",Qc=[n.hover,n.focus,n.active,n.disabled,n.readonly],jc={},Qe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},z=e=>{let{type:t=Qe.type,orientation:o=Qe.orientation,gradientType:a=Qe.gradientType,readonly:i=Qe.readonly,disabled:l=Qe.disabled,handlePosition:p=Qe.handlePosition,showButtons:m=Qe.showButtons,showTicks:f=Qe.showTicks,value:h=Qe.value,min:b=Qe.min,max:N=Qe.max,startValue:c,endValue:v,hover:L,focus:I,active:S,trackStyle:M,dir:T,...w}=e,ie=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),re,pe;return o==="horizontal"?(re=T==="rtl"?"chevron-left":"chevron-right",pe=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(re="chevron-up",pe="chevron-down"),Ur("div",{...w,className:r(Xa,e.className,y(Xa,{readonly:i,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&Po(s,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Ur("div",{className:"k-slider-track-wrap",children:[f&&Po("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ur("div",{className:"k-slider-track",style:M,children:[Po("div",{className:"k-slider-selection"}),t==="range"&&Po("span",{className:r("k-draghandle","k-draghandle-start",y(Xa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":c??b,"aria-valuemin":b,"aria-valuemax":v??N,"aria-orientation":ie,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),Po("span",{className:r("k-draghandle",`k-draghandle-${p}`,y(Xa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":t==="range"?v??N:h,"aria-valuemin":t==="range"?c??b:b,"aria-valuemax":N,"aria-orientation":ie,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?w["aria-label"]?`${w["aria-label"]} end`:"Range end":w["aria-label"]})]})]}),m&&Po(s,{className:"k-button-increase",rounded:"full",icon:re,tabIndex:-1,title:"Increase"})]})};z.states=Qc;z.options=jc;z.className=Xa;z.defaultOptions=Qe;z.moduleName=Hr;z.folderName=rs;import{jsx as ns}from"react/jsx-runtime";var ls="k-tick",eu=[],tu={},ss={label:!1},O=e=>{let{style:t,label:o=ss.label,orientation:a,large:i,text:l,...p}=e;return ns("li",{...p,role:"presentation",title:l||"Tick",className:r(e.className,ls,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&ns("span",{className:"k-label",children:l})})};O.states=eu;O.options=tu;O.className=ls;O.defaultOptions=ss;import{Fragment as ou,jsx as je,jsxs as au}from"react/jsx-runtime";var ds=e=>je(z,{"aria-label":e["aria-label"]||"Slider",children:au(ou,{children:[je(O,{className:"k-first",label:!0,large:!0,text:"0"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{label:!0,large:!0,text:"5"}),je(O,{}),je(O,{}),je(O,{}),je(O,{}),je(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as iu,jsx as et,jsxs as ru}from"react/jsx-runtime";var ps=e=>et(z,{children:ru(iu,{children:[et(O,{className:"k-first",label:!0,large:!0,text:"0"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{label:!0,large:!0,text:"5"}),et(O,{}),et(O,{}),et(O,{}),et(O,{}),et(O,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as $y,jsx as Gy,jsxs as Vy}from"react/jsx-runtime";import{Fragment as Yy,jsx as qy,jsxs as Zy}from"react/jsx-runtime";import{jsx as nu}from"react/jsx-runtime";var Gr=e=>nu(z,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as lu}from"react/jsx-runtime";var $r=e=>lu(z,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as sE,jsx as lE,jsxs as dE}from"react/jsx-runtime";import{Fragment as fE,jsx as uE,jsxs as bE}from"react/jsx-runtime";import{jsx as St,jsxs as ms}from"react/jsx-runtime";var su=z.options,du=z.states,cs={...z.defaultOptions,variant:"horizontal",label:!0},pu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],mu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],wo=e=>{let{variant:t,modifiers:o,...a}=e,i=cs.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"?ms(ps,{style:{height:"300px",...p},...a,...l,children:[St(O,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),St(O,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),St(O,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),St(O,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),St(O,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ms(ds,{style:{width:"400px",...p},...a,...l,children:[St(O,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),St(O,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),St(O,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),St(O,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),St(O,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};wo.options=su;wo.states=du;wo.variants=pu;wo.defaultOptions=cs;wo.modifiers=mu;wo.className=z.className;import{jsx as us,jsxs as xu}from"react/jsx-runtime";var fs="k-spin-button",fu=[],bu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Vr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Mt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Vr.increaseLabel,decreaseLabel:l=Vr.decreaseLabel,...p}=e;return xu("span",{...p,className:r(fs,e.className),children:[us(s,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),us(s,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};Mt.states=fu;Mt.options=bu;Mt.className=fs;Mt.defaultOptions=Vr;Mt.moduleName=null;Mt.folderName=null;var bs="numeric-textbox",xs="numerictextbox";import{Fragment as hs,jsx as zt,jsxs as Xr}from"react/jsx-runtime";var gs="k-numerictextbox",hu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],gu={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},yi={showSpinButton:!0,showClearButton:!0,separators:!0},R=e=>{let{size:t,rounded:o,fillMode:a,separators:i=yi.separators,showClearButton:l=yi.showClearButton,showSpinButton:p=yi.showSpinButton,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,id:w,"aria-label":Y,"aria-describedby":ie,...re}=e;return Xr($,{...re,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,className:r(e.className,gs),children:[m&&Xr(hs,{children:[zt(be,{children:m}),i&&zt(te,{})]}),zt(ce,{id:w,placeholder:b,value:h,role:"spinbutton",disabled:M,"aria-label":Y,"aria-describedby":ie,"aria-invalid":L?"true":void 0}),zt(ee,{valid:v,invalid:L,loading:S,disabled:M}),zt(ne,{loading:S,disabled:M}),l&&zt(me,{loading:S,disabled:M,readonly:T,value:h}),f&&Xr(hs,{children:[i&&zt(te,{}),zt(xe,{children:f})]}),p&&zt(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};R.states=hu;R.options=gu;R.className=gs;R.defaultOptions=yi;R.moduleName=bs;R.folderName=xs;var Wa=R;import{jsx as Nu}from"react/jsx-runtime";var Ns=e=>Nu(Wa,{...e});import Jr from"react";import{jsx as vs}from"react/jsx-runtime";var vu="k-list-group-sticky-header",Wr=e=>vs("div",{className:r(vu,e.className),children:vs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Lu}from"react/jsx-runtime";var ku="k-no-data",Ei=e=>{let{live:t,...o}=e;return Lu("span",{...o,className:r(ku,e.className),"aria-live":t?"polite":void 0,children:e.children})};var so="list",Ko=so;import{jsx as ks,jsxs as Ls}from"react/jsx-runtime";var qr="k-list",Iu=[],Su={size:[d.undefined,d.small,d.medium,d.large]},Mu={},P=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:l,optionLabel:p,customValue:m,noData:f,screenReaders:h,...b}=e,c=Jr.Children.toArray(a)[0],v=c?.props?.children?Jr.Children.count(c.props.children):Jr.Children.count(a);return Ls("div",{...b,className:r(e.className,qr,E(qr,{size:t}),{"k-virtual-list":o}),children:[p,l,m,i&&ks(Wr,{children:i}),a||(f!==void 0?f:ks(Ei,{live:!0,children:"No data found."})),h&&a&&Ls(Ei,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=Iu;P.options=Su;P.className=qr;P.defaultOptions=Mu;P.moduleName=so;P.folderName=Ko;import{jsx as Bu}from"react/jsx-runtime";var Is="k-list-container",yu=[],Eu={},Cu={},zo=e=>{let{...t}=e;return Bu("div",{...t,className:r(e.className,Is),children:e.children})};zo.states=yu;zo.options=Eu;zo.className=Is;zo.defaultOptions=Cu;zo.moduleName=so;zo.folderName=Ko;var po="checkbox",_o=po;import{jsx as Ss}from"react/jsx-runtime";var Ci="k-checkbox",Tu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Au={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Ou={},we=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:p,invalid:m,valid:f,required:h,size:b,rounded:N,wrapperRole:c,...v}=e;return Ss("span",{className:"k-checkbox-wrap",role:c,children:Ss("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:p||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ci,E(Ci,{size:b,rounded:N}),y(Ci,{hover:i,focus:l,disabled:p,invalid:m,valid:f,indeterminate:a,checked:o}))})})};we.states=Tu;we.options=Au;we.className=Ci;we.defaultOptions=Ou;we.moduleName=po;we.folderName=_o;var bt=we;import{jsx as wu}from"react/jsx-runtime";var Ms="k-checkbox-list",Ru=[],Pu={},ys={layout:"vertical"},Ce=e=>{let{layout:t=ys.layout,...o}=e;return wu("ul",{...o,className:r(e.className,Ms,{[`k-list-${t}`]:t}),children:e.children})};Ce.states=Ru;Ce.options=Pu;Ce.className=Ms;Ce.defaultOptions=ys;Ce.moduleName=po;Ce.folderName=_o;import{jsx as Du}from"react/jsx-runtime";var Es="k-checkbox-list-item",Ku=[],zu={},_u={},Be=e=>{let{...t}=e;return Du("li",{...t,className:r(e.className,Es),children:e.children})};Be.states=Ku;Be.options=zu;Be.className=Es;Be.defaultOptions=_u;Be.moduleName=po;Be.folderName=_o;import{Fragment as Fu,jsx as Cs,jsxs as Hu}from"react/jsx-runtime";var xt=({children:e="Label",id:t="cb-label-after",...o})=>Hu(Fu,{children:[Cs(bt,{id:t,...o}),Cs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as DC,jsx as _C,jsxs as FC}from"react/jsx-runtime";import{Fragment as VC,jsx as $C,jsxs as XC}from"react/jsx-runtime";import{Fragment as ZC,jsx as YC,jsxs as QC}from"react/jsx-runtime";import{jsx as oB}from"react/jsx-runtime";import{jsx as nB}from"react/jsx-runtime";import{jsx as pB}from"react/jsx-runtime";import{jsx as tt,jsxs as Bs}from"react/jsx-runtime";var Uu=Ce.options,Gu=Ce.states,$u={...Ce.defaultOptions,variant:"vertical"},Vu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Xu=[],Do=e=>{let{variant:t,...o}=e;return t==="horizontal"?Bs(Ce,{layout:"horizontal",...o,children:[tt(Be,{children:tt(xt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Be,{children:tt(xt,{id:B("cb"),children:"Label"})}),tt(Be,{children:tt(xt,{id:B("cb"),children:"Label"})})]}):Bs(Ce,{...o,children:[tt(Be,{children:tt(xt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),tt(Be,{children:tt(xt,{id:B("cb"),children:"Label"})}),tt(Be,{children:tt(xt,{id:B("cb"),children:"Label"})})]})};Do.options=Uu;Do.states=Gu;Do.variants=Vu;Do.defaultOptions=$u;Do.modifiers=Xu;Do.className=Ce.className;import{jsx as Qu}from"react/jsx-runtime";var Wu=bt.options,Ju=bt.states,qu=bt.defaultOptions,Yu=[],Zu=[],Fo=e=>Qu(xt,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Fo.options=Wu;Fo.states=Ju;Fo.variants=Yu;Fo.defaultOptions=qu;Fo.modifiers=Zu;Fo.className=bt.className;import{jsx as Ho,jsxs as of}from"react/jsx-runtime";var Yr="k-list-item",ju=[n.hover,n.focus,n.selected,n.disabled],ef={},tf={},C=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:l,hover:p,focus:m,selected:f,disabled:h,actions:b,description:N,id:c,...v}=e,L=t||e.children,I=t||(typeof L=="string"?L:void 0);return of("li",{...v,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,Yr,y(Yr,{hover:p,focus:m,disabled:h,selected:f})),children:[i&&Ho(we,{checked:l,disabled:h,"aria-label":I,tabIndex:-1}),o&&Ho("span",{className:"k-list-item-icon-wrapper",children:Ho(g,{icon:o,className:r("k-list-item-icon",a)})}),Ho("span",{className:"k-list-item-text",children:L}),b&&Ho("div",{className:"k-list-item-actions",children:b}),N&&Ho("span",{className:"k-list-item-description",children:N})]})};C.states=ju;C.options=ef;C.className=Yr;C.defaultOptions=tf;C.moduleName=so;C.folderName=Ko;import{jsx as rf}from"react/jsx-runtime";var af="k-list-ul",yt=e=>{let{children:t,role:o,id:a,...i}=e;return rf("ul",{...i,id:a,role:o,className:r(af,e.className),children:t})};import{jsx as Zr,jsxs as lf}from"react/jsx-runtime";var nf="k-list-content",K=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:l,...p}=e;return lf("div",{...p,className:r(nf,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:Zr(yt,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&Zr("div",{className:"k-height-container",children:Zr("div",{})})]})};import{jsx as Qr,jsxs as mf}from"react/jsx-runtime";var Bi="k-list-sticky-header",sf=[n.hover,n.focus,n.selected],df={},pf={},Ti=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:l,focus:p,selected:m,...f}=e;return Qr("div",{...f,className:r(Bi,e.className),children:mf("div",{className:r(`${Bi}-item`,y(`${Bi}-item`,{hover:l,focus:p,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Qr(we,{checked:a,indeterminate:i,"aria-label":t}),Qr("span",{className:"k-list-item-text",children:t})]})})};Ti.states=sf;Ti.options=df;Ti.className=Bi;Ti.defaultOptions=pf;import{Fragment as iT,jsx as aT,jsxs as rT}from"react/jsx-runtime";import{jsx as pT,jsxs as mT}from"react/jsx-runtime";import{jsx as bf}from"react/jsx-runtime";var jr="k-list-optionlabel",cf=[n.hover,n.focus,n.selected,n.disabled],uf={},ff={},Ai=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return bf("div",{...p,className:r(jr,y(jr,{hover:o,focus:a,selected:i,disabled:l})),children:t})};Ai.states=cf;Ai.options=uf;Ai.className=jr;Ai.defaultOptions=ff;import{jsx as Nf}from"react/jsx-runtime";var en="k-list-custom-value",xf=[n.hover,n.focus,n.selected,n.disabled],hf={},gf={},ot=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return Nf("div",{...p,className:r(en,y(en,{hover:o,focus:a,selected:i,disabled:l})),children:t})};ot.states=xf;ot.options=hf;ot.className=en;ot.defaultOptions=gf;import{Fragment as IT,jsx as LT,jsxs as ST}from"react/jsx-runtime";import{Fragment as TT,jsx as BT,jsxs as AT}from"react/jsx-runtime";import{Fragment as _T,jsx as KT,jsxs as zT}from"react/jsx-runtime";import{Fragment as VT,jsx as GT,jsxs as $T}from"react/jsx-runtime";import{jsx as qT}from"react/jsx-runtime";import{Fragment as tA,jsx as eA,jsxs as oA}from"react/jsx-runtime";import{Fragment as sA,jsx as lA,jsxs as dA}from"react/jsx-runtime";var Ts="dropdown-list",As="dropdownlist";import{Fragment as Lf,jsx as Te,jsxs as tn}from"react/jsx-runtime";var Os="k-dropdownlist",vf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],kf={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},on={showValue:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=on.arrowIconName,showValue:l=on.showValue,valueIconName:p,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,popup:w,opened:Y,adaptive:ie,adaptiveSettings:re,adaptiveTitle:pe,adaptiveSubtitle:no,adaptiveFilter:ht,id:Pt,activeDescendant:$t,"aria-label":Ta,...Aa}=e,Oa=Pt?`${Pt}-listbox`:void 0,ml=Pt?`${Pt}-value`:void 0;return tn(Lf,{children:[tn(vt,{...Aa,id:Pt,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:T,className:r(e.className,Os,{"k-icon-picker":!l&&p}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Oa:void 0,"aria-activedescendant":Y&&$t?$t:void 0,"aria-describedby":Y?ml:void 0,"aria-disabled":M?"true":void 0,"aria-label":Ta,tabIndex:0,children:[Te(be,{children:m}),Te(lo,{placeholder:b,value:h,showValue:l,valueIconName:p,id:ml}),Te(ee,{valid:v,invalid:L,loading:S,disabled:M}),Te(ne,{loading:S,disabled:M}),Te(xe,{children:f}),Te(s,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),Y&&w&&Te(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),ie&&Te(Z,{adaptive:!0,...re,header:Te(Ne,{actionsEnd:Te(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ht,inputValue:h,inputPlaceholder:b,title:pe,subtitle:no}),children:Te("div",{className:"k-list-container",children:Te(P,{size:"large",children:tn(K,{"aria-label":"Options",children:[Te(C,{text:"List item"}),Te(C,{text:"List item"}),Te(C,{text:"List item"})]})})})})]})};V.states=vf;V.options=kf;V.className=Os;V.defaultOptions=on;V.moduleName=Ts;V.folderName=As;import{jsx as $A}from"react/jsx-runtime";import{jsx as YA,jsxs as ZA}from"react/jsx-runtime";import{Fragment as nO,jsx as iO,jsxs as rO}from"react/jsx-runtime";import{jsx as mO}from"react/jsx-runtime";import{jsx as hO,jsxs as gO}from"react/jsx-runtime";import{Fragment as EO,jsx as MO,jsxs as yO}from"react/jsx-runtime";import{jsx as OO}from"react/jsx-runtime";import{Fragment as Cf,jsx as Zt,jsxs as Rs}from"react/jsx-runtime";var If=V.states,Sf=V.defaultOptions,Mf=V.options,yf=[{name:"opened",title:"Opened"}],Ef=[],Go=e=>{let{modifiers:t,...o}=e,a={},i=Rs(Cf,{children:[Zt("div",{className:"k-list-filter",children:Zt(Ze,{})}),Zt(P,{style:{width:300},size:o.size,children:Rs(K,{children:[Zt(C,{children:"List item"}),Zt(C,{children:"List item"}),Zt(C,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(l=>{l==="opened"&&(a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0)}),Zt("div",{children:Zt(V,{placeholder:"Value",style:{width:300},...o,...a})})};Go.options=Mf;Go.states=If;Go.variants=Ef;Go.defaultOptions=Sf;Go.modifiers=yf;Go.className=V.className;import{Fragment as eR,jsx as jO}from"react/jsx-runtime";import{Fragment as nR,jsx as rR}from"react/jsx-runtime";import{jsx as pR}from"react/jsx-runtime";import{jsx as an}from"react/jsx-runtime";var Bf=R.states,Tf=R.defaultOptions,Af=R.options,Of=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Rf=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?an(V,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?an(kt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),an(Ns,{value:"Value",style:{width:300},...o,...a})};$o.options=Af;$o.states=Bf;$o.variants=Rf;$o.defaultOptions=Tf;$o.modifiers=Of;$o.className=R.className;import{Fragment as Ja,jsx as _,jsxs as le}from"react/jsx-runtime";var Ps="k-colorgradient-inputs",Pf=[],wf={size:[d.undefined,d.small,d.medium,d.large]},ws={mode:"rgba"},Vo=e=>{let{mode:t=ws.mode,size:o,...a}=e;return le("div",{...a,className:r(Ps,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(s,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&le(Ja,{children:[le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&le(Ja,{children:[le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&le(Ja,{children:[le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&le(Ja,{children:[le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),le("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(Ja,{children:le("div",{className:"k-vstack k-flex-1",children:[_(U,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),_("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Vo.states=Pf;Vo.options=wf;Vo.className=Ps;Vo.defaultOptions=ws;import{jsx as co,jsxs as uo}from"react/jsx-runtime";var Ks="k-colorgradient-color-contrast",Kf=[],zf={},_f={},Xo=()=>uo("div",{className:r(Ks,"k-vbox"),children:[uo("div",{className:"k-contrast-ratio",children:[co("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),uo("span",{className:"k-contrast-validation !k-text-success",children:[co(g,{icon:"check"}),co(g,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AA: 4.5"}),uo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",co(g,{icon:"check"})]})]}),uo("div",{children:[co("span",{children:"AAA: 7.0"}),uo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",co(g,{icon:"x"})]})]})]});Xo.states=Kf;Xo.options=zf;Xo.className=Ks;Xo.defaultOptions=_f;var zs="color-gradient",_s="colorgradient";import{jsx as at,jsxs as qa}from"react/jsx-runtime";var Oi="k-colorgradient",Df=[n.hover,n.focus,n.readonly,n.disabled],Ff={size:[d.undefined,d.small,d.medium,d.large]},Et={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"},ke=e=>{let{size:t,mode:o=Et.mode,readonly:a=Et.readonly,disabled:i=Et.disabled,gradientStyle:l=Et.gradientStyle,dragHandleStyle:p=Et.dragHandleStyle,alphaStyle:m=Et.alphaStyle,alphaStyleHorizontal:f=Et.alphaStyleHorizontal,contrast:h=Et.contrast,dir:b,hover:N,focus:c,hoverHandle:v,focusHandle:L,canvasOrientation:I=Et.canvasOrientation,role:S,tabIndex:M,...T}=e;return qa("div",{...T,role:S??"textbox","aria-label":S==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":i?"true":void 0,className:r(e.className,Oi,E(Oi,{size:t}),y(Oi,{hover:N,focus:c,readonly:a,disabled:i})),dir:b,children:[!I||I==="horizontal"&&qa("div",{className:"k-colorgradient-canvas k-hstack",children:[at("div",{className:"k-hsv-rectangle",style:l,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),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})})}),qa("div",{className:"k-hsv-controls k-hstack",children:[at($r,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&at($r,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),I==="vertical"&&qa("div",{className:"k-colorgradient-canvas k-vstack",children:[at("div",{className:"k-hsv-rectangle",style:l,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),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})})}),qa("div",{className:"k-hsv-controls k-vstack",children:[at(Gr,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&at(Gr,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:f})]})]}),at(Vo,{mode:e.mode,size:t}),h&&at(Xo,{})]})};ke.states=Df;ke.options=Ff;ke.className=Oi;ke.defaultOptions=Et;ke.moduleName=zs;ke.folderName=_s;import{jsx as Hf}from"react/jsx-runtime";var Ri=e=>Hf(ke,{...e});import{jsx as qR}from"react/jsx-runtime";import{jsx as jR}from"react/jsx-runtime";import{jsx as rn}from"react/jsx-runtime";var Uf=ke.options,Gf=ke.states,$f={...ke.defaultOptions,variant:"rgba"},Vf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Xf=[],Wo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return rn(Ri,{...o,mode:t});case"rgb":return rn(Ri,{...o,mode:t});default:return rn(Ri,{...o,mode:t})}};Wo.options=Uf;Wo.states=Gf;Wo.variants=Vf;Wo.defaultOptions=$f;Wo.modifiers=Xf;Wo.className=ke.className;import{jsx as Wf}from"react/jsx-runtime";var nn=e=>Wf("tr",{role:"row",children:e.children});import{jsx as Yf}from"react/jsx-runtime";var ln="k-colorpalette-tile",Jf=[n.hover,n.focus,n.selected],qf={},Qt=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 Yf("td",{...p,role:"gridcell","aria-label":t,"aria-selected":l?"true":void 0,className:r(e.className,ln,y(ln,{hover:a,focus:i,selected:l})),style:m})};Qt.states=Jf;Qt.options=qf;Qt.className=ln;Qt.moduleName=null;Qt.folderName=null;var Ds="color-palette",Fs="colorpalette";import{jsx as Ya}from"react/jsx-runtime";var Pi="k-colorpalette",Zf=[n.disabled],Qf={size:[d.undefined,d.small,d.medium,d.large]},Hs={columns:10},Ke=e=>{let{size:t,palette:o,columns:a=Hs.columns,tileSize:i,disabled:l,...p}=e,m=[];if(o){let f=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/f)},(b,N)=>{let c=[];h.slice(N*f,(N+1)*f).map((L,I)=>{c.push(Ya(Qt,{color:L,tileSize:i},I))});let v=Ya(nn,{children:c},N);m.push(v)})}return Ya("div",{...p,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":l?"true":void 0,className:r(e.className,Pi,y(Pi,{disabled:l}),E(Pi,{size:t})),children:Ya("table",{className:"k-colorpalette-table",role:"none",children:Ya("tbody",{children:m.length>0?m:e.children})})})};Ke.states=Zf;Ke.options=Qf;Ke.className=Pi;Ke.defaultOptions=Hs;Ke.moduleName=Ds;Ke.folderName=Fs;var wi=Ke;var Za={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 jf}from"react/jsx-runtime";var Us=e=>jf(wi,{palette:Za.basic,...e});import{jsx as PP}from"react/jsx-runtime";import{jsx as FP,jsxs as HP}from"react/jsx-runtime";import{jsx as nb}from"react/jsx-runtime";var eb=Ke.options,tb=Ke.states,ob={...Ke.defaultOptions,variant:"basic"},ab=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],ib={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}},rb=[],Jo=e=>{let{variant:t="basic",...o}=e,a=ib[t];return nb(Us,{columns:a.columns,palette:a,...o})};Jo.options=eb;Jo.states=tb;Jo.variants=ab;Jo.defaultOptions=ob;Jo.modifiers=rb;Jo.className=Ke.className;var Gs="color-editor",$s="coloreditor";import{jsx as it,jsxs as qo}from"react/jsx-runtime";var Ki="k-coloreditor",lb=[n.focus],sb={size:[d.undefined,d.small,d.medium,d.large]},Qa={view:"gradient",palette:Za.office,actionButtons:!0,canvasOrientation:"horizontal"},se=e=>{let{size:t,view:o=Qa.view,palette:a=Qa.palette,color:i,currentColor:l,focus:p,focusView:m,dir:f,group:h,actionButtons:b=Qa.actionButtons,canvasOrientation:N=Qa.canvasOrientation,...c}=e;return qo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Ki,E(Ki,{size:t}),y(Ki,{focus:p})),dir:f,children:[qo("div",{className:"k-coloreditor-header k-hstack",children:[it("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&qo(A,{fillMode:"flat",children:[it(s,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),it(s,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),it("div",{className:"k-spacer"}),qo("div",{className:"k-coloreditor-header-actions k-hstack",children:[it(s,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),qo("div",{className:"k-coloreditor-preview k-vstack",children:[it(Xt,{className:"k-coloreditor-preview-color",color:i}),it(Xt,{className:"k-coloreditor-current-color",color:l})]})]})]}),it("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?it(ke,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):it(Ke,{palette:a,size:t})}),b&&qo(Ue,{className:"k-coloreditor-footer",alignment:"start",children:[it(s,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),it(s,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};se.states=lb;se.options=sb;se.className=Ki;se.defaultOptions=Qa;se.moduleName=Gs;se.folderName=$s;var Yo=se;import{jsx as xw}from"react/jsx-runtime";import{jsx as vw}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var Vs=e=>db(Yo,{group:!0,currentColor:"fuchsia",...e});import{jsx as pb}from"react/jsx-runtime";var Xs=e=>pb(Yo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Ws}from"react/jsx-runtime";var mb=se.options,cb=se.states,ub={...se.defaultOptions,variant:"gradient"},fb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],bb=[],Zo=e=>{let{variant:t,...o}=e;return t==="palette"?Ws(Xs,{...o,color:"white"}):Ws(Vs,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Zo.options=mb;Zo.states=cb;Zo.variants=fb;Zo.defaultOptions=ub;Zo.modifiers=bb;Zo.className=se.className;var Js="color-picker",qs="colorpicker";import{Fragment as gb,jsx as rt,jsxs as sn}from"react/jsx-runtime";var Ys="k-colorpicker",xb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],hb={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Zs={arrowIconName:"chevron-down"},Le=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=Zs.arrowIconName,prefix:l,suffix:p,value:m,placeholder:f,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,valueIconName:I,popup:S,opened:M,adaptive:T,adaptiveSettings:w,adaptiveTitle:Y,adaptiveSubtitle:ie,...re}=e,pe="colorpicker-popup";return sn(gb,{children:[sn(vt,{...re,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||T?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:r(e.className,Ys,"k-icon-picker"),children:[rt(be,{children:l}),rt(lo,{placeholder:f,value:m,showValue:!1,valueIcon:rt(Xt,{className:"k-value-icon",color:m,iconName:I}),valueIconName:I}),rt(xe,{children:p}),rt(s,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),M&&S&&rt(J,{id:pe,className:"k-colorpicker-popup",children:S}),T&&rt(Z,{adaptive:!0,id:pe,...w,header:rt(Ne,{actionsEnd:rt(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:ie}),footer:sn(Wt,{children:[rt(s,{text:"Cancel",size:"large"}),rt(s,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(se,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Le.states=xb;Le.options=hb;Le.className=Ys;Le.defaultOptions=Zs;Le.moduleName=Js;Le.folderName=qs;var _t=Le;import{jsx as Nb}from"react/jsx-runtime";var zi=e=>Nb(_t,{...e});import{jsx as a0}from"react/jsx-runtime";import{jsx as s0}from"react/jsx-runtime";import{jsx as c0}from"react/jsx-runtime";import{jsx as x0}from"react/jsx-runtime";import{jsx as v0}from"react/jsx-runtime";import{jsx as S0}from"react/jsx-runtime";import{jsx as fo}from"react/jsx-runtime";var vb=_t.options,kb=_t.states,Qs={..._t.defaultOptions,variant:"color"},Lb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Ib=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}={...Qs,...e},i={};Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!o?.[p],i.popup=o?.[p]?fo(se,{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 fo("div",{style:l,children:fo(zi,{...a,...i})});case"icon":return fo("div",{style:l,children:fo(zi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return fo("div",{style:l,children:fo(zi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};Qo.options=vb;Qo.states=kb;Qo.variants=Lb;Qo.defaultOptions=Qs;Qo.modifiers=Ib;Qo.className=_t.className;var dn="combobox",js=dn;import{Fragment as pn,jsx as ue,jsxs as ja}from"react/jsx-runtime";var ed="k-combobox",Sb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Mb={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},mn={separators:!0,showClearButton:!0},Ie=e=>{let{size:t,rounded:o,fillMode:a,separators:i=mn.separators,showClearButton:l=mn.showClearButton,prefix:p,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:T,readonly:w,adaptive:Y,adaptiveSettings:ie,adaptiveTitle:re,adaptiveSubtitle:pe,adaptiveCustomValue:no,id:ht,autocomplete:Pt,activeDescendant:$t,"aria-label":Ta,...Aa}=e,Oa=ht?`${ht}-listbox`:void 0;return ja(pn,{children:[ja($,{...Aa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:w,className:r(e.className,ed),children:[p&&ja(pn,{children:[ue(be,{children:p}),i&&ue(te,{})]}),ue(ce,{id:ht,placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Oa:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ta,disabled:S,readOnly:w}),ue(ee,{valid:c,invalid:v,loading:I,disabled:S}),ue(ne,{loading:I,disabled:S}),l&&ue(me,{loading:I,disabled:S,readonly:w,value:f}),m&&ja(pn,{children:[i&&ue(te,{}),ue(xe,{children:m})]}),ue(s,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),T&&M&&ue(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:M}),Y&&ue(Z,{adaptive:!0,id:ht?`${ht}-adaptive`:void 0,...ie,header:ue(Ne,{actionsEnd:ue(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:re,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(P,{customValue:no?ue(ot,{text:`Use "${f}"`}):void 0,size:"large",children:ja(K,{"aria-label":re||"Options",children:[ue(C,{text:"List item"}),ue(C,{text:"List item"}),ue(C,{text:"List item"})]})})})})]})};Ie.states=Sb;Ie.options=Mb;Ie.className=ed;Ie.defaultOptions=mn;Ie.moduleName=dn;Ie.folderName=js;var Ge=Ie;import{jsx as yb}from"react/jsx-runtime";var td=e=>yb(Ge,{...e});import{jsx as nK,jsxs as lK}from"react/jsx-runtime";import{jsx as uK,jsxs as fK}from"react/jsx-runtime";import{jsx as vK,jsxs as kK}from"react/jsx-runtime";import{Fragment as EK,jsx as yK}from"react/jsx-runtime";import{Fragment as RK,jsx as OK}from"react/jsx-runtime";import{jsx as DK,jsxs as FK}from"react/jsx-runtime";import{Fragment as JK,jsx as XK,jsxs as WK}from"react/jsx-runtime";import{jsx as QK}from"react/jsx-runtime";import{jsx as oz}from"react/jsx-runtime";import{jsx as sz,jsxs as dz}from"react/jsx-runtime";import{jsx as bz,jsxs as xz}from"react/jsx-runtime";import{jsx as jt,jsxs as Ob}from"react/jsx-runtime";var Eb=Ie.states,Cb=Ie.defaultOptions,Bb=Ie.options,Tb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Ab=[],jo=e=>{let{modifiers:t,...o}=e,a={},i=jt(P,{style:{width:300},size:o.size,children:Ob(K,{children:[jt(C,{children:"List item"}),jt(C,{children:"List item"}),jt(C,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?jt(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[l]?jt(wt,{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}}),jt("div",{children:jt(td,{value:"Value",style:{width:300},...o,...a})})};jo.options=Bb;jo.states=Eb;jo.variants=Ab;jo.defaultOptions=Cb;jo.modifiers=Tb;jo.className=Ie.className;var cn="menu-button",od=cn;import{jsx as wb}from"react/jsx-runtime";var ad="k-menu-button",Rb=[n.hover,n.focus,n.active,n.selected,n.disabled],Pb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},un={showArrow:!0,arrowIconName:"chevron-down"},X=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,showArrow:v=un.showArrow,arrowIconName:L=un.arrowIconName,expanded:I,...S}=e;return wb(s,{...S,className:r(e.className,ad),text:c,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:N,showArrow:v,arrowIconName:L,"aria-expanded":I?"true":"false",...!c&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};X.states=Rb;X.options=Pb;X.className=ad;X.defaultOptions=un;X.moduleName=cn;X.folderName=od;import{jsx as qz}from"react/jsx-runtime";import{jsx as jz}from"react/jsx-runtime";import{jsx as a_}from"react/jsx-runtime";import{jsx as l_}from"react/jsx-runtime";var $e="menu",nt=$e;import{jsx as ti,jsxs as id}from"react/jsx-runtime";var fn="k-menu-item",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],zb={},rd={iconPosition:"before"},Me=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:p,text:m,showArrow:f,arrowIconName:h,iconPosition:b=rd.iconPosition,dir:N,children:c,expanded:v,...L}=e,I=h;return I||(I=N==="rtl"?"chevron-left":"chevron-right"),id("li",{...L,className:r(e.className,fn,"k-item",y(fn,{focus:o,disabled:l,hover:t,active:a,selected:i})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":v?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[id("span",{className:r("k-link k-menu-link"),children:[p&&b==="before"&&ti(g,{className:"k-menu-link-icon",icon:p}),ti("span",{className:"k-menu-link-text",children:m}),p&&b==="after"&&ti(g,{className:"k-menu-link-icon",icon:p}),f&&ti("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ti(g,{icon:I})})]}),c]})};Me.states=Kb;Me.options=zb;Me.className=fn;Me.defaultOptions=rd;Me.moduleName=$e;Me.folderName=nt;import{jsx as bo,jsxs as nd}from"react/jsx-runtime";var bn="k-menu-item",_b=[n.hover,n.focus,n.active,n.selected,n.disabled],Db={},xn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:p,text:m,showArrow:f,arrowIconName:h,iconPosition:b=xn.iconPosition,dir:N=xn.dir,children:c,popup:v,expanded:L,actions:I,description:S,...M}=e,T=h;return T||(T=N==="rtl"?"chevron-left":"chevron-right"),nd("li",{role:"menuitem",...M,className:r(e.className,bn,"k-item",y(bn,{focus:o,disabled:l})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":L?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[nd("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:i,disabled:l})),children:[p&&b==="before"&&bo(g,{className:"k-menu-link-icon",icon:p}),bo("span",{className:"k-menu-link-text",children:m}),p&&b==="after"&&bo(g,{className:"k-menu-link-icon",icon:p}),I&&bo("span",{className:"k-menu-link-actions",children:I}),f&&bo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:bo(g,{icon:T})}),S&&bo("span",{className:"k-menu-link-description",children:S})]}),c,v]})};Q.states=_b;Q.options=Db;Q.className=bn;Q.defaultOptions=xn;Q.moduleName=$e;Q.folderName=nt;import{jsx as Gb}from"react/jsx-runtime";var ld="k-menu-scroll-wrapper",Fb=[],Hb={},Ub={},xo=e=>{let{className:t,children:o,orientation:a,...i}=e;return Gb("div",{...i,className:r(t,ld,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};xo.states=Fb;xo.options=Hb;xo.className=ld;xo.defaultOptions=Ub;xo.moduleName=$e;xo.folderName=nt;var sd=xo;import{Fragment as hn,jsx as ho,jsxs as _i}from"react/jsx-runtime";var Di="k-menu",$b=[],Vb={size:[d.undefined,d.small,d.medium,d.large]},Fi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Se=e=>{let{children:t,orientation:o=Fi.orientation,header:a=Fi.header,scrollable:i,scrollButtonsPosition:l=Fi.scrollButtonsPosition,wrapperStyles:p,dir:m,size:f,popup:h,contextMenu:b,...N}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=ho("ul",{dir:m,...N,className:r(e.className,"k-reset",Di,{[`${Di}-${o}`]:o,"k-header":a},E(Di,{size:f})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return _i(hn,{children:[i?_i(sd,{orientation:o,style:p,dir:e.dir,children:[l==="start"&&_i(hn,{children:[ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,l==="end"&&_i(hn,{children:[ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&ho(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Se.states=$b;Se.options=Vb;Se.className=Di;Se.defaultOptions=Fi;Se.moduleName=$e;Se.folderName=nt;import{jsx as Xb}from"react/jsx-runtime";var gn="k-separator",dd={orientation:"horizontal"},ea=e=>{let{orientation:t=dd.orientation,...o}=e;return Xb("li",{...o,className:r(e.className,"k-item",gn,{[`${gn}-${t}`]:t}),role:"separator"})};ea.className=gn;ea.defaultOptions=dd;ea.moduleName=$e;ea.folderName=nt;import{Fragment as K_,jsx as z_}from"react/jsx-runtime";import{jsx as Yb}from"react/jsx-runtime";var Nn="k-menu-group",Wb=[],Jb={size:[d.undefined,d.small,d.medium,d.large]},qb={},ye=e=>{let{children:t,size:o,...a}=e;return Yb("ul",{role:"menu",...a,className:r(e.className,Nn,E(Nn,{size:o})),children:t})};ye.states=Wb;ye.options=Jb;ye.className=Nn;ye.defaultOptions=qb;ye.moduleName=$e;ye.folderName=nt;import{jsx as X_,jsxs as W_}from"react/jsx-runtime";import{Fragment as Zb,jsx as ta,jsxs as Qb}from"react/jsx-runtime";var vn=e=>ta(Se,{children:Qb(Zb,{children:[ta(Me,{text:"Item 1"}),ta(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ta(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ta(Me,{text:"Item 4"}),ta(Me,{text:"Item 5"})]}),...e});import{Fragment as aD,jsx as tD,jsxs as oD}from"react/jsx-runtime";import{Fragment as sD,jsx as lD,jsxs as dD}from"react/jsx-runtime";import{Fragment as fD,jsx as uD,jsxs as bD}from"react/jsx-runtime";import{Fragment as vD,jsx as ND,jsxs as kD}from"react/jsx-runtime";import{jsx as go,jsxs as ax}from"react/jsx-runtime";var jb={...Se.options,scrollable:{type:"boolean"}},ex=Se.states,pd={...Se.defaultOptions,variant:"horizontal"},tx=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ox=[{name:"opened",title:"Opened"}],oa=e=>{let{variant:t,modifiers:o,...a}={...pd,...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]?go(J,{className:"k-menu-popup",offset:l,children:ax(ye,{children:[go(Q,{text:"Item 1"}),go(Q,{text:"Item 2"}),go(ea,{}),go(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?go(vn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(vn,{...a,...i})};oa.options=jb;oa.states=ex;oa.variants=tx;oa.defaultOptions=pd;oa.modifiers=ox;oa.className=Se.className;import{Fragment as e1,jsx as QD,jsxs as jD}from"react/jsx-runtime";import{jsx as i1}from"react/jsx-runtime";import{Fragment as sx,jsx as Ct,jsxs as md}from"react/jsx-runtime";var ix=s.states,cd={...s.defaultOptions,variant:"text"},rx=s.options,nx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],lx=[{name:"opened",title:"Opened"}],aa=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},i={},l=Ct(J,{className:"k-menu-popup",children:md(ye,{size:a.size,children:[Ct(Q,{text:"Menu Item"}),Ct(Q,{text:"Menu Item"}),Ct(Q,{text:"Menu Item"})]})}),p;switch(t){case"icon-only":p=Ct("div",{children:Ct(X,{...a,...i,icon:"star"})});break;case"icon-and-text":p=Ct("div",{children:Ct(X,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:p=Ct("div",{children:Ct(X,{...a,...i,children:"Dropdown Button"})});break}return md(sx,{children:[p,o?.opened&&l]})};aa.options=rx;aa.states=ix;aa.variants=nx;aa.defaultOptions=cd;aa.modifiers=lx;aa.className=X.className;var kn="split-button",ud=kn;import{Fragment as mx,jsx as Ln,jsxs as fd}from"react/jsx-runtime";var In="k-split-button",dx=[n.hover,n.focus,n.active,n.selected,n.disabled],px={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},bd={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,arrowIconName:v=bd.arrowIconName,popup:L,opened:I,popupId:S,...M}=e;return fd(mx,{children:[fd("div",{...M,className:r(e.className,In,"k-button-group",E(In,{rounded:o})),children:[Ln(s,{text:c,icon:b,endIcon:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:h,...!c&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),Ln(s,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":I?"true":"false","aria-controls":I?S:void 0,tabIndex:-1})]}),I&&L&&Ln(J,{className:"k-menu-popup",children:L})]})};D.states=dx;D.options=px;D.className=In;D.defaultOptions=bd;D.moduleName=kn;D.folderName=ud;var Sn=D;import{jsx as ux}from"react/jsx-runtime";var cx="k-toolbar-separator",Ee=e=>ux("div",{className:r(cx,e.className,"k-separator")});var No="toolbar",ia=No;import{Fragment as Mn,jsx as F,jsxs as ra}from"react/jsx-runtime";var Dt="k-toolbar",fx=[n.focus],bx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},xx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:l,scrollButtons:p,scrollingPosition:m,section:f,...h}=e,b=[],N=(c,v)=>{let L=[];if(c.type===s&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))L.push(F(s,{...c.props,className:`${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===s)L.push(F(s,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===za)L.push(F(za,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===wt)L.push(F(wt,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===X)L.push(F(X,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Sn)L.push(F(Sn,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===A||c.props.className&&c.props.className.includes("k-button-group")){let I=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((M,T)=>{I.push(F(s,{...M.props,className:`${M.props.className?M.props.className:""}`},`${T}-${new Date().getTime()}`))}),L.push(F(A,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:I},`${v}-${new Date().getTime()}`))}else c.type===Ie?L.push(F(Ie,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===V?L.push(F(V,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===Le?L.push(F(Le,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(c);L.forEach(I=>{b.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{N(v,L)}),ra("div",{...h,className:r(e.className,Dt,E(Dt,{size:t,fillMode:o}),y(Dt,{focus:a}),{[`${Dt}-resizable`]:i,[`${Dt}-scrollable`]:l,[`${Dt}-scrollable-overlay`]:l&&p==="hidden",[`${Dt}-scrollable-${m}`]:m&&m!=="both",[`${Dt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!l&&b,l&&p==="hidden"&&F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),l&&p==="start"&&ra(Mn,{children:[ra(A,{children:[F("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-right"})})]}),F(Ee,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),l&&p==="end"&&ra(Mn,{children:[F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(Ee,{className:"k-toolbar-button-separator"}),ra(A,{children:[F("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-left"})}),F("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-right"})})]})]}),l&&(p==="around"||!p)&&ra(Mn,{children:[F("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-left"})}),F(Ee,{className:"k-toolbar-button-separator"}),F("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),F(Ee,{className:"k-toolbar-button-separator"}),F("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:F(g,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=fx;q.options=bx;q.className=Dt;q.defaultOptions=xx;q.moduleName=No;q.folderName=ia;import{jsx as vx}from"react/jsx-runtime";var yn="k-toolbar-item",hx=[n.focus],gx={},Nx={},Bt=e=>{let{focus:t,...o}=e;return vx("div",{...o,className:r(e.className,yn,y(yn,{focus:t})),children:e.children})};Bt.states=hx;Bt.options=gx;Bt.className=yn;Bt.defaultOptions=Nx;Bt.moduleName=No;Bt.folderName=ia;import{jsx as xd}from"react/jsx-runtime";var hd="k-toolbar-popup",kx=[],Lx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Ix={},vo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return xd(J,{...i,className:r(e.className,hd),children:a?xd("span",{className:r("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};vo.states=kx;vo.options=Lx;vo.className=hd;vo.defaultOptions=Ix;vo.moduleName=No;vo.folderName=ia;var Hi=vo;import{jsx as iF}from"react/jsx-runtime";import{jsx as sF}from"react/jsx-runtime";import{jsx as cF}from"react/jsx-runtime";import{jsx as xF}from"react/jsx-runtime";import{jsx as LF,jsxs as IF}from"react/jsx-runtime";import{jsx as EF}from"react/jsx-runtime";import{jsx as Ft,jsxs as Cx}from"react/jsx-runtime";var Sx=D.states,gd={...D.defaultOptions,variant:"text"},Mx=D.options,yx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ex=[{name:"opened",title:"Opened"}],na=e=>{let{variant:t,modifiers:o,...a}={...gd,...e},i={},l=Cx(ye,{size:a.size,children:[Ft(Q,{text:"Menu Item"}),Ft(Q,{text:"Menu Item"}),Ft(Q,{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 Ft("div",{children:Ft(D,{...a,...i,icon:"star"})});case"icon-and-text":return Ft("div",{children:Ft(D,{...a,...i,icon:"star",children:"Split Button"})});default:return Ft("div",{children:Ft(D,{...a,...i,children:"Split Button"})})}};na.options=Mx;na.states=Sx;na.variants=yx;na.defaultOptions=gd;na.modifiers=Ex;na.className=D.className;import{jsx as ko,jsxs as Bx}from"react/jsx-runtime";var Nd=e=>ko(q,{children:[ko(s,{children:"Button"},"toolbar-button"),ko(X,{text:"Menu button"},"toolbar-menu-button"),ko(D,{children:"Split button"},"toolbar-split-button"),Bx(A,{children:[ko(s,{className:"k-group-start",icon:"align-left",children:"Left"}),ko(s,{icon:"align-center",children:"Center"}),ko(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as aH,jsxs as iH}from"react/jsx-runtime";import{jsx as Ve,jsxs as vd}from"react/jsx-runtime";var kd=e=>Ve(q,{scrollable:!0,...e,children:[Ve(s,{children:"Button"},"toolbar-button"),Ve(X,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),vd(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ve(s,{children:"Button"},"toolbar-button"),Ve(X,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),vd(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Xe,jsxs as Ld}from"react/jsx-runtime";var Id=({scrollingPosition:e="start",...t})=>Xe(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Xe(s,{children:"Button"},"toolbar-button"),Xe(X,{text:"Menu button"},"toolbar-menu-button"),Xe(D,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[Xe(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(s,{icon:"align-center",children:"Center"}),Xe(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Xe(s,{children:"Button"},"toolbar-button"),Xe(X,{text:"Menu button"},"toolbar-menu-button"),Xe(D,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[Xe(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(s,{icon:"align-center",children:"Center"}),Xe(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Tx,jsx as ze,jsxs as Ui}from"react/jsx-runtime";var Sd=({fillMode:e,size:t,...o})=>Ui(Tx,{children:[ze(q,{section:!0,fillMode:e,size:t,children:[ze(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ui(A,{fillMode:e,children:[ze(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(Ee,{className:"k-toolbar-button-separator"}),ze(s,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Ui(Hi,{size:t,fillMode:e,section:!0,...o,children:[ze(D,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(Ee,{}),ze(X,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Ui(A,{fillMode:e,children:[ze(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as zH,jsx as wH,jsxs as KH}from"react/jsx-runtime";import{Fragment as JH,jsx as XH,jsxs as WH}from"react/jsx-runtime";import{jsx as eo}from"react/jsx-runtime";var Ax=q.options,Ox=q.states,Md={...q.defaultOptions,variant:"default"},Rx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Px=[],la=e=>{let{variant:t,...o}={...Md,...e};switch(t){case"responsive":return eo("div",{children:eo(Sd,{style:{width:"583px"},...o})});case"overlay":return eo("div",{children:eo(Id,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return eo("div",{children:eo(kd,{style:{width:"583px"},...o})});default:return eo("div",{children:eo(Nd,{style:{width:"583px"},...o})})}};la.options=Ax;la.states=Ox;la.variants=Rx;la.defaultOptions=Md;la.modifiers=Px;la.className=q.className;var En="autocomplete",yd=En;import{Fragment as Cn,jsx as he,jsxs as oi}from"react/jsx-runtime";var Ed="k-autocomplete",wx=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Kx={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bn={separators:!0,showClearButton:!0},We=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:l=Bn.showClearButton,prefix:p,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:T,readonly:w,adaptive:Y,adaptiveSettings:ie,adaptiveTitle:re,adaptiveSubtitle:pe,adaptiveCustomValue:no,id:ht,autocomplete:Pt,activeDescendant:$t,"aria-label":Ta,...Aa}=e,Oa=ht?`${ht}-listbox`:void 0;return oi(Cn,{children:[oi($,{...Aa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:w,className:r(e.className,Ed),children:[p&&oi(Cn,{children:[he(be,{children:p}),i&&he(te,{})]}),he(ce,{placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Oa:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ta,disabled:S,readOnly:w}),he(ee,{valid:c,invalid:v,loading:I,disabled:S}),he(ne,{loading:I,disabled:S}),l&&he(me,{loading:I,disabled:S,readonly:w,value:f}),m&&oi(Cn,{children:[i&&he(te,{}),he(xe,{children:m})]})]}),T&&M&&he(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:M}),Y&&he(Z,{adaptive:!0,...ie,header:he(Ne,{actionsEnd:he(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:re,subtitle:pe}),children:he("div",{className:"k-list-container",children:he(P,{customValue:no?he(ot,{text:`Use "${f}"`}):void 0,size:"large",children:oi(K,{"aria-label":"Options",children:[he(C,{text:"List item"}),he(C,{text:"List item"}),he(C,{text:"List item"})]})})})})]})};We.states=wx;We.options=Kx;We.className=Ed;We.defaultOptions=Bn;We.moduleName=En;We.folderName=yd;var Tt=We;import{jsx as zx}from"react/jsx-runtime";var Cd=e=>zx(Tt,{id:B("ac"),"aria-label":"Search",...e});import{jsx as K2,jsxs as z2}from"react/jsx-runtime";import{jsx as U2}from"react/jsx-runtime";import{Fragment as q2,jsx as J2}from"react/jsx-runtime";import{Fragment as o3,jsx as t3}from"react/jsx-runtime";import{jsx as s3,jsxs as d3}from"react/jsx-runtime";import{jsx as b3,jsxs as x3}from"react/jsx-runtime";import{jsx as L3,jsxs as I3}from"react/jsx-runtime";import{jsx as C3}from"react/jsx-runtime";import{jsx as Lo,jsxs as Gx}from"react/jsx-runtime";var _x=U.states,Dx=U.defaultOptions,Fx=U.options,Hx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Ux=[],sa=e=>{let{modifiers:t,...o}=e,a={},i=Lo(P,{style:{width:300},size:o.size,children:Gx(K,{children:[Lo(C,{children:"List item"}),Lo(C,{children:"List item"}),Lo(C,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Lo(g,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[l]?Lo(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}}),Lo(Cd,{value:"Value",style:{width:300},...o,...a})};sa.options=Fx;sa.states=_x;sa.variants=Ux;sa.defaultOptions=Dx;sa.modifiers=Hx;sa.className=We.className;import{jsx as lt}from"react/jsx-runtime";var Bd="k-imageeditor-toolbar",$x=[],Vx={},Xx=[lt(s,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),lt(Ee,{},"toolbar-separator-1"),lt(s,{fillMode:"flat",icon:"undo","aria-label":"Undo"},"toolbar-button-2"),lt(s,{fillMode:"flat",icon:"redo","aria-label":"Redo"},"toolbar-button-3"),lt(Ee,{},"toolbar-separator-2"),lt(s,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),lt("div",{className:"k-spacer"},"toolbar-spacer"),lt(s,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),lt(Bt,{children:lt(We,{fillMode:"flat",value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})},"toolbar-item-1"),lt(s,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],Td={toolbarItems:Xx},da=e=>{let{toolbarItems:t=Td.toolbarItems,...o}=e;return lt(q,{...o,className:r(e.className,Bd),fillMode:"flat",children:t})};da.states=$x;da.options=Vx;da.className=Bd;da.defaultOptions=Td;import{jsx as Ae}from"react/jsx-runtime";var Tn="k-imageeditor-sidebar",Wx=[Ae(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),Ae(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),Ae(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),Ae("div",{className:"k-separator"},"sidebar-separator-1"),Ae(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),Ae(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),Ae("div",{className:"k-separator"},"sidebar-separator-2"),Ae(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),Ae(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),Ae(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),Ae("div",{className:"k-separator"},"sidebar-separator-3"),Ae(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),Ae(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Ad={sidebarItems:Wx,scrollable:!1},Od=e=>{let{sidebarItems:t=Ad.sidebarItems,scrollable:o=Ad.scrollable,scrollingPosition:a,...i}=e;return Ae("div",{...i,className:r(e.className,Tn,{[`${Tn}-scrollable`]:o,[`${Tn}-scrollable-${a}`]:a&&a!=="both"}),children:Ae("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var ai="loader",Gi=ai;import{Fragment as An,jsx as Rd,jsxs as $i}from"react/jsx-runtime";var On="k-loader",Jx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},qx=[],Yx={size:[d.undefined,d.small,d.medium,d.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Pd={animation:"pulsing"},de=e=>{let{size:t,themeColor:o,animation:a=Pd.animation,...i}=e,l=Rd("span",{className:"k-loader-segment"});return Rd("div",{...i,className:r(e.className,On,{[`k-loader-${Jx[a]||a}`]:a},E(On,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:$i("div",{className:"k-loader-canvas",children:[a==="pulsing"&&$i(An,{children:[l,l]}),a==="infinite-spinner"&&$i(An,{children:[l,l,l]}),a==="converging-spinner"&&$i(An,{children:[l,l,l,l]})]})})};de.states=qx;de.options=Yx;de.className=On;de.defaultOptions=Pd;de.moduleName=ai;de.folderName=Gi;var wd=de;import{jsx as Rn,jsxs as Kd}from"react/jsx-runtime";var Pn="k-loader-container",Zx=[],Qx={size:[d.undefined,d.small,d.medium,d.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Vi={loaderType:"pulsing",position:"top",panel:!1},Io=e=>{let{size:t,themeColor:o,loaderType:a=Vi.loaderType,position:i=Vi.position,panel:l=Vi.panel,...p}=e;return Kd("div",{...p,className:r(e.className,Pn,E(Pn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":p["aria-label"]||"Loading",children:[Rn(es,{className:"k-loader-container-overlay"}),Kd("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":l}),children:[Rn(wd,{size:t,themeColor:o,animation:a}),Rn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Io.states=Zx;Io.options=Qx;Io.className=Pn;Io.defaultOptions=Vi;Io.moduleName=ai;Io.folderName=Gi;import{jsx as kU}from"react/jsx-runtime";import{jsx as MU}from"react/jsx-runtime";import{jsx as BU}from"react/jsx-runtime";import{jsx as RU}from"react/jsx-runtime";import{jsx as wn}from"react/jsx-runtime";var jx=de.options,eh=de.states,th={...de.defaultOptions,variant:"infinite-spinner"},oh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],ah=[],pa=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return wn(de,{animation:"pulsing",...o});case"converging-spinner":return wn(de,{animation:"converging-spinner",...o});default:return wn(de,{animation:"infinite-spinner",...o})}};pa.options=jx;pa.states=eh;pa.variants=oh;pa.defaultOptions=th;pa.modifiers=ah;pa.className=de.className;var zd="image-editor",_d="imageeditor";import{Fragment as Dd,jsx as At,jsxs as ii}from"react/jsx-runtime";var Kn="k-imageeditor",ih=[],rh={},nh={},oe=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:l,exporting:p,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:h,children:b,...N}=e,c=At("div",{className:"k-imageeditor-canvas-container",children:i??At("div",{className:"k-imageeditor-canvas",children:b})}),v=o&&At("div",{className:"k-imageeditor-action-pane",children:o}),L=At(Od,{sidebarItems:a,scrollable:f,scrollingPosition:h});return ii("div",{...N,className:r(e.className,Kn,{[`${Kn}-adaptive`]:m}),children:[At("div",{className:"k-imageeditor-header",children:At(da,{toolbarItems:t})}),At("div",{className:"k-imageeditor-content",style:{height:l},children:m?ii(Dd,{children:[c,v,L]}):ii(Dd,{children:[L,v,c]})}),p&&ii("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[At(ft,{className:"k-loader-container-overlay"}),ii("div",{className:"k-loader-container-inner k-loader-container-panel",children:[At(de,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),At("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};oe.states=ih;oe.options=rh;oe.className=Kn;oe.defaultOptions=nh;oe.moduleName=zd;oe.folderName=_d;import{Fragment as Xi,jsx as to,jsxs as ri}from"react/jsx-runtime";var zn="k-upload-dropzone",lh=[n.hover],Wi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:l,buttonText:p="Select files...",...m}=e,f;switch(o){case"uploading":f=ri(Xi,{children:[to(g,{icon:"upload"}),"Uploading..."]});break;case"done":f=ri(Xi,{children:[to(g,{icon:"check"}),"Done"]});break;case"failed":f=ri(Xi,{children:[to(g,{icon:"exclamation-circle"}),"Done"]});break;default:f=to(Xi,{});break}return ri("div",{...m,className:r(e.className,zn,"k-dropzone",y(zn,{hover:t})),children:[ri("div",{className:"k-upload-button-wrap",children:[to(s,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&l?{"aria-controls":l}:{},children:p}),to("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),to("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&to("span",{className:"k-upload-status",children:f})]})};Wi.states=lh;Wi.className=zn;var _n="upload",Fd=_n;import{jsx as Ji,jsxs as Ud}from"react/jsx-runtime";var Dn="k-upload",sh=[n.hover,n.disabled],dh={},Gd={actionsLayout:"end"},Hd="upload-files-list",ge=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Gd.actionsLayout,hover:l,status:p,disabled:m,buttonText:f,...h}=e,b=!!e.children;return Ud("div",{...h,className:r(e.className,Dn,y(Dn,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Ji(Wi,{status:p,hover:l,disabled:m,hasFiles:b,filesId:Hd,buttonText:f}),b&&Ji("ul",{className:"k-upload-files",role:"list",id:Hd,children:e.children}),a&&b&&Ud(Gl,{alignment:i,orientation:"horizontal",children:[Ji(s,{className:"k-clear-selected",children:"Clear"}),Ji(s,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ge.states=sh;ge.options=dh;ge.className=Dn;ge.defaultOptions=Gd;ge.moduleName=_n;ge.folderName=Fd;var ni="progressbar",qi=ni;import{jsx as Hn,jsxs as Fn}from"react/jsx-runtime";var st="k-progressbar",ph=[n.disabled,n.indeterminate],mh={orientation:["horizontal","vertical"]},So={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Oe=e=>{let{disabled:t,height:o,indeterminate:a=So.indeterminate,label:i=So.label,labelPosition:l=So.labelPosition,orientation:p=So.orientation,reverse:m=So.reverse,value:f=So.value,width:h,style:b,ariaLabel:N,...c}=e;return Fn("div",{...c,className:r(e.className,st,y(st,{disabled:t}),{[`${st}-${p}`]:p,[`${st}-indeterminate`]:a,[`${st}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":f,[p==="horizontal"?"height":"width"]:p==="horizontal"?o:h},role:"progressbar","aria-label":N||"progress","aria-valuenow":a?void 0:Number(f),"aria-valuemin":0,"aria-valuemax":100,children:[Hn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l&&!a}),children:i&&Fn("span",{className:"k-progress-status",children:[f,"%"]})}),!a&&Hn("div",{className:"k-progressbar-value k-selected",children:Hn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l}),children:i&&Fn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Oe.states=ph;Oe.options=mh;Oe.className=st;Oe.defaultOptions=So;Oe.moduleName=ni;Oe.folderName=qi;var $d=Oe;import{jsx as Un}from"react/jsx-runtime";var Vd="k-chunk-progressbar",ch=(e,t)=>t<=e-1,uh=[n.disabled,n.indeterminate],fh={},Yi={chunkCount:5,orientation:"horizontal",progress:0},ma=e=>{let{disabled:t,chunkCount:o=Yi.chunkCount,indeterminate:a,orientation:i=Yi.orientation,progress:l=Yi.progress,reverse:p,ariaLabel:m,...f}=e;return Un("div",{...f,className:r(e.className,st,Vd,y(st,{disabled:t}),{[`${st}-${i}`]:i,[`${st}-indeterminate`]:a,[`${st}-reverse`]:p}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:l,"aria-valuemin":0,"aria-valuemax":o,children:Un("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Un("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":ch(l,b)})},b))})})};ma.states=uh;ma.options=fh;ma.className=Vd;ma.defaultOptions=Yi;ma.moduleName=ni;ma.folderName=qi;import{jsx as bh}from"react/jsx-runtime";var li=e=>bh($d,{...e});import{jsx as A5}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var xh=Oe.options,hh=Oe.states,Xd={...Oe.defaultOptions,variant:"start"},gh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Nh=[],ca=e=>{let{variant:t,modifiers:o,...a}={...Xd,...e},i={},l={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(p=>{switch(p){case"reverse":i.reverse=!!o?.[p];break;case"vertical":i.orientation=o?.[p]?"vertical":void 0,l.style=o?.[p]?void 0:{width:"324px"};break}}),t){case"end":return oo("div",{...l,children:oo(li,{...a,...i,labelPosition:"end",value:"50"})});case"center":return oo("div",{...l,children:oo(li,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return oo("div",{...l,children:oo(li,{...a,...i,label:!1,value:"50"})});default:return oo("div",{...l,children:oo(li,{...a,...i,labelPosition:"start",value:"50"})})}};ca.options=xh;ca.states=hh;ca.variants=gh;ca.defaultOptions=Xd;ca.modifiers=Nh;ca.className=Oe.className;import{jsx as Gn,jsxs as kh}from"react/jsx-runtime";var vh="k-file-info",$n=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return kh("div",{...i,className:r(e.className,vh),children:[t&&Gn("span",{className:"k-file-name",children:t}),o&&Gn("span",{className:"k-file-size",children:o}),a&&Gn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as Ih,jsx as Ht,jsxs as Zi}from"react/jsx-runtime";var Lh="k-file",_e=e=>{let{status:t,progress:o,name:a,icon:i,size:l,state:p,validationMsg:m,...f}=e;return Ht("li",{...f,className:r(e.className,Lh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Zi("div",{className:"k-file-single",children:[Ht(Oe,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),Zi("span",{className:"k-file-icon-wrapper",children:[Ht(g,{className:"k-file-icon",icon:i,size:"xxlarge"}),p&&Ht("span",{className:"k-file-state",children:p})]}),Ht($n,{name:a,size:l,validationMsg:m}),Ht("div",{className:"k-upload-actions",children:t==="progress"?Zi(Ih,{children:[Zi("span",{className:"k-upload-pct",children:[o,"%"]}),Ht(s,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ht(s,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ht(s,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as l6,jsx as r6,jsxs as n6}from"react/jsx-runtime";import{Fragment as Sh,jsx as Vn,jsxs as Mh}from"react/jsx-runtime";var si=e=>Vn(ge,{async:!0,children:Mh(Sh,{children:[Vn(_e,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Vn(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as h6,jsx as b6,jsxs as x6}from"react/jsx-runtime";import{jsx as yh}from"react/jsx-runtime";var Xn=e=>yh(ge,{async:!0,empty:!0,...e});import{Fragment as M6,jsx as S6,jsxs as y6}from"react/jsx-runtime";import{Fragment as A6,jsx as T6,jsxs as O6}from"react/jsx-runtime";import{jsx as Ut,jsxs as Qi}from"react/jsx-runtime";var Eh=ge.options,Ch=ge.states,Wd={...ge.defaultOptions,variant:"empty"},Bh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Th=[],ua=e=>{let{variant:t,...o}={...Wd,...e};switch(t){case"success":return Qi(si,{status:"done",style:{width:"586px"},...o,children:[Ut(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ut(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return Qi(si,{status:"failed",style:{width:"586px"},...o,children:[Ut(_e,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ut(_e,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return Qi(si,{status:"uploading",style:{width:"586px"},...o,children:[Ut(_e,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ut(_e,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return Qi(si,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ut(_e,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ut(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ut(Xn,{async:!0,status:"upload",style:{width:"586px"},...o})}};ua.options=Eh;ua.states=Ch;ua.variants=Bh;ua.defaultOptions=Wd;ua.modifiers=Th;ua.className=ge.className;import{Fragment as r4,jsx as a4,jsxs as i4}from"react/jsx-runtime";import{jsx as fa,jsxs as Jd}from"react/jsx-runtime";var qd="k-imageeditor-pane",Ah=[],Oh={},Rh={},fe=e=>{let{title:t,actions:o,adaptive:a,children:i,...l}=e;return Jd("div",{...l,className:r(e.className,qd),children:[Jd("div",{className:"k-imageeditor-pane-header",children:[a&&fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),fa("div",{className:"k-imageeditor-pane-title",children:t}),a?fa(s,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),fa("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&fa(Ue,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=Ah;fe.options=Oh;fe.className=qd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=Rh;import{jsx as zh}from"react/jsx-runtime";var Wn="k-imageeditor-option-preview",Ph=[n.hover,n.focus,n.selected],wh={},Kh={},Ot=e=>{let{label:t,hover:o,focus:a,selected:i,children:l,...p}=e;return zh("div",{...p,className:r(e.className,Wn,y(Wn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:l??t})};Ot.states=Ph;Ot.options=wh;Ot.className=Wn;Ot.moduleName=null;Ot.folderName=null;Ot.defaultOptions=Kh;import{jsx as Yd}from"react/jsx-runtime";var ji="k-imageeditor-option-list",Zd={scrollable:!1},ba=e=>{let{scrollable:t=Zd.scrollable,scrollingPosition:o,children:a,...i}=e;return Yd("div",{...i,className:r(e.className,ji,{[`${ji}-scrollable`]:t,[`${ji}-scrollable-${o}`]:o&&o!=="both"}),children:Yd("div",{className:"k-imageeditor-option-list-items",children:a})})};ba.className=ji;ba.moduleName=null;ba.folderName=null;ba.defaultOptions=Zd;import{Fragment as Dh,jsx as Qd,jsxs as Fh}from"react/jsx-runtime";var _h={},di=e=>{let{label:t,style:o,children:a}=e;return Fh(Dh,{children:[Qd("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&&Qd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};di.moduleName=null;di.folderName=null;di.defaultOptions=_h;import{Fragment as jd,jsx as Gt,jsxs as ep}from"react/jsx-runtime";var tp={variant:"crop"},xa=e=>{let{variant:t=tp.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",l=t==="scale"?"k-scale-handle":"k-resize-handle";return ep(jd,{children:[o&&Gt("div",{className:"k-imageeditor-crop-grid"}),a&&ep(jd,{children:[Gt("span",{className:`${i} k-resize-nw`}),Gt("span",{className:`${i} k-resize-ne`}),Gt("span",{className:`${i} k-resize-sw`}),Gt("span",{className:`${i} k-resize-se`})]}),Gt("span",{className:`${l} k-resize-n`}),Gt("span",{className:`${l} k-resize-s`}),Gt("span",{className:`${l} k-resize-w`}),Gt("span",{className:`${l} k-resize-e`})]})};xa.moduleName=null;xa.folderName=null;xa.defaultOptions=tp;import{jsx as op}from"react/jsx-runtime";var Hh="k-rotate-handle",Jn=e=>op("span",{...e,className:r(e.className,Hh),children:op(g,{icon:"rotate"})});Jn.moduleName=null;Jn.folderName=null;import{jsx as O4}from"react/jsx-runtime";var ap="form",ip="forms";import{Fragment as rp,jsx as er,jsxs as Vh}from"react/jsx-runtime";var tr="k-form",Gh=[],$h={size:[d.undefined,d.small,d.medium,d.large]},qn={layout:"basic",tag:"form"},G=e=>{let{size:t,orientation:o,layout:a=qn.layout,formButtons:i,cols:l,gutters:p,tag:m=qn.tag,children:f,style:h}=e,b=m,N=r(e.className,tr,E(tr,{size:t}),{[`${tr}-${o}`]:o}),c=Vh(rp,{children:[a==="grid"?er("div",{className:r("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},...h},children:f}):er(rp,{children:f}),i&&er("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":L,"aria-label":I,id:S}=e;return er(b,{className:N,role:v,"aria-labelledby":L,"aria-label":I,id:S,children:c})};G.states=Gh;G.options=$h;G.className=tr;G.defaultOptions=qn;G.moduleName=ap;G.folderName=ip;var np="label",lp="label";import{jsx as sp,jsxs as qh}from"react/jsx-runtime";var Yn="k-label",Xh=[n.disabled],Wh={},Jh={},ao=e=>{let{disabled:t,optional:o,info:a,text:i,children:l,...p}=e;return qh("label",{...p,className:r(e.className,Yn,y(Yn,{disabled:t})),children:[i||l,o&&sp("span",{className:"k-label-optional",children:"(Optional)"}),a&&sp("span",{className:"k-field-info",children:a})]})};ao.states=Xh;ao.options=Wh;ao.className=Yn;ao.defaultOptions=Jh;ao.moduleName=np;ao.folderName=lp;import{jsx as jh}from"react/jsx-runtime";var dp="k-form-hint",Yh=[],Zh={},Qh={},dt=e=>{let{text:t,children:o,...a}=e;return jh("div",{...a,className:r(e.className,dp),children:t||o})};dt.states=Yh;dt.options=Zh;dt.className=dp;dt.defaultOptions=Qh;import{jsx as ag}from"react/jsx-runtime";var pp="k-form-error",eg=[],tg={},og={},pt=e=>{let{text:t,children:o,...a}=e;return ag("div",{...a,className:r(e.className,pp),children:t||o})};pt.states=eg;pt.options=tg;pt.className=pp;pt.defaultOptions=og;import{jsx as or,jsxs as mp}from"react/jsx-runtime";var Zn="k-form-field",ig=[n.disabled],W=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:l,hint:p,error:m,info:f,disabled:h,dir:b,colSpan:N,...c}=e;return mp("div",{...c,className:r(Zn,e.className,y(Zn,{disabled:h}),{[`k-col-span-${N}`]:N}),dir:b,children:[o&&or(ao,{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&&or("span",{className:"k-label k-form-label k-label-empty"}),mp("div",{className:"k-form-field-wrap",children:[l,p&&or(dt,{id:t?`${t}-hint`:void 0,children:p}),m&&or(pt,{id:t?`${t}-error`:void 0,children:m})]})]})};W.states=ig;W.className=Zn;import{Fragment as rg,jsx as Qn,jsxs as ng}from"react/jsx-runtime";var cp="k-form-fieldset",De=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:l}=e;return ng("fieldset",{className:r(cp,{[`k-col-span-${l}`]:l}),children:[t&&Qn("legend",{className:"k-form-legend",children:t}),o==="grid"?Qn("div",{className:r("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}):Qn(rg,{children:e.children})]})};De.className=cp;var Mo="radio",ha=Mo;import{jsx as up}from"react/jsx-runtime";var ar="k-radio",lg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],sg={size:[d.undefined,d.small,d.medium,d.large]},dg={},Je=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:l,invalid:p,valid:m,required:f,size:h,...b}=e;return up("span",{className:"k-radio-wrap",children:up("input",{...b,id:t,type:"radio",checked:o,required:f,disabled:l||void 0,"aria-invalid":p?"true":void 0,className:r(e.className,ar,E(ar,{size:h}),y(ar,{hover:a,focus:i,disabled:l,invalid:p,valid:m,checked:o}))})})};Je.states=lg;Je.options=sg;Je.className=ar;Je.defaultOptions=dg;Je.moduleName=Mo;Je.folderName=ha;var mt=Je;import{jsx as cg}from"react/jsx-runtime";var fp="k-radio-list",pg=[],mg={},bp={layout:"vertical"},ae=e=>{let{layout:t=bp.layout,...o}=e;return cg("ul",{...o,className:r(e.className,fp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};ae.states=pg;ae.options=mg;ae.className=fp;ae.defaultOptions=bp;ae.moduleName=Mo;ae.folderName=ha;import{jsx as xg}from"react/jsx-runtime";var xp="k-radio-list-item",ug=[],fg={},bg={},j=e=>{let{...t}=e;return xg("li",{...t,className:r(e.className,xp),role:"none",children:e.children})};j.states=ug;j.options=fg;j.className=xp;j.defaultOptions=bg;j.moduleName=Mo;j.folderName=ha;import{jsx as v9}from"react/jsx-runtime";import{Fragment as hg,jsx as hp,jsxs as gg}from"react/jsx-runtime";var Re=({children:e,id:t,...o})=>gg(hg,{children:[hp(mt,{...o,id:t}),hp("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as C9,jsx as E9,jsxs as B9}from"react/jsx-runtime";import{Fragment as w9,jsx as R9,jsxs as P9}from"react/jsx-runtime";import{Fragment as F9,jsx as D9,jsxs as H9}from"react/jsx-runtime";import{Fragment as X9,jsx as V9,jsxs as W9}from"react/jsx-runtime";import{Fragment as e7,jsx as j9,jsxs as t7}from"react/jsx-runtime";import{jsx as r7}from"react/jsx-runtime";import{jsx as Mg}from"react/jsx-runtime";var vg=mt.options,kg=mt.states,Lg=mt.defaultOptions,Ig=[],Sg=[],ga=e=>Mg(Re,{id:B("radio"),name:"value",...e,children:"Label"});ga.options=vg;ga.states=kg;ga.variants=Ig;ga.defaultOptions=Lg;ga.modifiers=Sg;ga.className=mt.className;import{jsx as ct,jsxs as gp}from"react/jsx-runtime";var yg=ae.options,Eg=ae.states,Cg={...ae.defaultOptions,variant:"vertical"},Bg=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Tg=[],Na=e=>{let{variant:t,...o}=e;return t==="horizontal"?gp(ae,{layout:"horizontal",...o,children:[ct(j,{children:ct(Re,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(j,{children:ct(Re,{id:B("rb"),name:"value",children:"Label"})}),ct(j,{children:ct(Re,{id:B("rb"),name:"value",children:"Label"})})]}):gp(ae,{...o,children:[ct(j,{children:ct(Re,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(j,{children:ct(Re,{id:B("rb"),name:"value",children:"Label"})}),ct(j,{children:ct(Re,{id:B("rb"),name:"value",children:"Label"})})]})};Na.options=yg;Na.states=Eg;Na.variants=Bg;Na.defaultOptions=Cg;Na.modifiers=Tg;Na.className=ae.className;import{Fragment as H7,jsx as F7,jsxs as U7}from"react/jsx-runtime";import{Fragment as Z7,jsx as Y7,jsxs as Q7}from"react/jsx-runtime";import{Fragment as rG,jsx as iG,jsxs as nG}from"react/jsx-runtime";var Np="date-input",vp="dateinput";import{jsx as pi,jsxs as Pg}from"react/jsx-runtime";var kp="k-dateinput",Ag=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Og={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Rg={},qe=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:l,hover:p,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,showClearButton:L,showSpinButton:I,id:S,"aria-label":M,"aria-describedby":T,...w}=e;return Pg($,{...w,size:t,rounded:o,fillMode:a,hover:p,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,className:r(e.className,kp),children:[pi(ce,{id:S,placeholder:l,value:i,disabled:c,"aria-label":M,"aria-describedby":T,"aria-invalid":h?"true":void 0}),pi(ee,{valid:f,invalid:h,loading:N,disabled:c}),pi(ne,{loading:N,disabled:c}),L&&pi(me,{loading:N,disabled:c,readonly:v,value:i}),I&&pi(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};qe.states=Ag;qe.options=Og;qe.className=kp;qe.defaultOptions=Rg;qe.moduleName=Np;qe.folderName=vp;var jn=qe;import{jsx as wg}from"react/jsx-runtime";var Lp=e=>wg(jn,{...e});import{jsx as vG}from"react/jsx-runtime";import{jsx as Hg}from"react/jsx-runtime";var Kg=qe.options,zg=qe.states,_g=qe.defaultOptions,Dg=[{name:"spin-button",title:"`Spin` Button"}],Fg=[],va=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),Hg(Lp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};va.options=Kg;va.states=zg;va.variants=Fg;va.defaultOptions=_g;va.modifiers=Dg;va.className=qe.className;var Ip="masked-textbox",Sp="maskedtextbox";import{Fragment as Mp,jsx as io,jsxs as el}from"react/jsx-runtime";var yp="k-maskedtextbox",Ug=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Gg={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},tl={showClearButton:!0,separators:!0},Ye=e=>{let{size:t,rounded:o,fillMode:a,separators:i=tl.separators,showClearButton:l=tl.showClearButton,prefix:p,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,id:T,"aria-label":w,"aria-describedby":Y,...ie}=e;return el($,{...ie,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,className:r(e.className,yp),children:[p&&el(Mp,{children:[io(be,{children:p}),i&&io(te,{})]}),io(ce,{id:T,placeholder:h,value:f,disabled:S,"aria-label":w,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),io(ee,{valid:c,invalid:v,loading:I,disabled:S}),io(ne,{loading:I,disabled:S}),l&&io(me,{loading:I,disabled:S,readonly:M,value:f}),m&&el(Mp,{children:[i&&io(te,{}),io(xe,{children:m})]})]})};Ye.states=Ug;Ye.options=Gg;Ye.className=yp;Ye.defaultOptions=tl;Ye.moduleName=Ip;Ye.folderName=Sp;var ka=Ye;import{jsx as $g}from"react/jsx-runtime";var Ep=e=>$g(ka,{...e});import{Fragment as VG,jsx as $G}from"react/jsx-runtime";import{Fragment as ZG,jsx as YG}from"react/jsx-runtime";import{jsx as t8}from"react/jsx-runtime";import{jsx as r8}from"react/jsx-runtime";import{jsx as ol}from"react/jsx-runtime";var Vg=Ye.states,Xg=Ye.defaultOptions,Wg=Ye.options,Jg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qg=[],La=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ol(V,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ol(g,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ol(Ep,{value:"Value",style:{width:300},...o,...a})};La.options=Wg;La.states=Vg;La.variants=qg;La.defaultOptions=Xg;La.modifiers=Jg;La.className=Ye.className;var al="switch",Cp=al;import{jsx as ir,jsxs as Bp}from"react/jsx-runtime";var ro="k-switch",Yg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],Zg={size:[d.undefined,d.small,d.medium,d.large],trackRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],thumbRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Qg={},Fe=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:l,thumbRounded:p,hover:m,focus:f,disabled:h,readonly:b,...N}=e;return Bp("span",{...N,className:r(e.className,ro,E(ro,{size:i}),y(ro,{hover:m,focus:f,disabled:h,readonly:b}),{[`${ro}-on`]:t,[`${ro}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Bp("span",{className:r("k-switch-track",E(ro,{rounded:l})),children:[o&&ir("span",{className:"k-switch-label-on",children:o}),a&&ir("span",{className:"k-switch-label-off",children:a})]}),ir("span",{className:"k-switch-thumb-wrap",children:ir("span",{className:r("k-switch-thumb",E(ro,{rounded:p}))})})]})};Fe.states=Yg;Fe.options=Zg;Fe.className=ro;Fe.defaultOptions=Qg;Fe.moduleName=al;Fe.folderName=Cp;import{jsx as B8}from"react/jsx-runtime";import{jsx as R8}from"react/jsx-runtime";import{jsx as z8}from"react/jsx-runtime";import{jsx as H8}from"react/jsx-runtime";import{jsx as Tp}from"react/jsx-runtime";var jg=Fe.options,eN=Fe.states,tN={...Fe.defaultOptions,variant:"on"},oN=[{name:"on",title:"On"},{name:"off",title:"Off"}],aN=[],Ia=e=>{let{variant:t,...o}=e;return t==="off"?Tp(Fe,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Tp(Fe,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ia.options=jg;Ia.states=eN;Ia.variants=oN;Ia.defaultOptions=tN;Ia.modifiers=aN;Ia.className=Fe.className;var rl="textarea",Ap=rl;import{Fragment as Op,jsx as mi,jsxs as nl}from"react/jsx-runtime";var Rp="k-textarea",iN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],rN={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Sa={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},He=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Sa.prefixSeparator,suffixSeparator:l=Sa.prefixSeparator,affixesOrientation:p=Sa.affixesOrientation,flow:m=Sa.flow,resize:f=Sa.resize,prefix:h,suffix:b,rows:N,value:c,placeholder:v,hover:L,focus:I,valid:S,invalid:M,required:T,disabled:w,id:Y,"aria-label":ie,"aria-describedby":re,...pe}=e;return nl($,{...pe,size:t,rounded:o,fillMode:a,hover:L,focus:I,valid:S,invalid:M,required:T,disabled:w,className:r(e.className,Rp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&nl(Op,{children:[mi(be,{className:r({"!k-align-items-start":m===p}),direction:p,children:h}),i&&mi(te,{direction:m==="horizontal"?"vertical":"horizontal"})]}),mi(Fa,{className:r("!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:c,placeholder:v,rows:N,disabled:w,id:Y,"aria-label":ie,"aria-describedby":re,"aria-invalid":M?"true":void 0}),b&&nl(Op,{children:[l&&mi(te,{direction:m==="horizontal"?"vertical":"horizontal"}),mi(xe,{className:r({"!k-align-items-start":m===p}),direction:p,children:b})]})]})};He.states=iN;He.options=rN;He.className=Rp;He.defaultOptions=Sa;He.moduleName=rl;He.folderName=Ap;import{jsx as s$}from"react/jsx-runtime";import{Fragment as f$,jsx as u$}from"react/jsx-runtime";import{Fragment as v$,jsx as N$}from"react/jsx-runtime";import{jsx as S$}from"react/jsx-runtime";import{jsx as rr}from"react/jsx-runtime";var nN=He.options,lN=He.states,Pp={...He.defaultOptions,variant:"vertical"},sN=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],dN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...Pp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":i.prefix=o?.[l]?rr(g,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[l]?rr(g,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?rr(He,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):rr(He,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ma.options=nN;Ma.states=lN;Ma.variants=sN;Ma.defaultOptions=Pp;Ma.modifiers=dN;Ma.className=He.className;import{Fragment as J$,jsx as W$,jsxs as q$}from"react/jsx-runtime";import{Fragment as bN,jsx as Pe,jsxs as ya}from"react/jsx-runtime";var pN=G.options,mN=G.states,cN={...G.defaultOptions,variant:"vertical"},uN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fN=[],Ea=e=>{let{variant:t,size:o,...a}=e,i=ya(De,{legend:"Form Legend",children:[Pe(W,{label:"Label",editor:Pe(U,{size:o})}),Pe(W,{label:"Label",hint:"Hint text",editor:Pe(V,{value:"Dropdown List",size:o})}),Pe(W,{label:"City",editor:ya("ul",{className:"k-radio-list k-list-horizontal",children:[ya("li",{className:"k-radio-list-item",children:[Pe(Je,{checked:!0,size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[Pe(Je,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[Pe(Je,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]})]})})]}),l=ya(bN,{children:[Pe(s,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Pe(s,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Pe(G,{orientation:"horizontal",size:o,...a,formButtons:l,children:i}):Pe(G,{size:o,...a,formButtons:l,children:i})};Ea.options=pN;Ea.states=mN;Ea.variants=uN;Ea.defaultOptions=cN;Ea.modifiers=fN;Ea.className=G.className;import{jsx as wp,jsxs as vN}from"react/jsx-runtime";var xN=dt.options,hN=dt.states,Kp={...dt.defaultOptions},gN=[],NN=[{name:"showHint",title:"Show Hint"}],Ca=e=>{let{modifiers:t,...o}={...Kp,...e},a=t?.showHint??!0;return vN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[wp(U,{placeholder:"Component",style:{width:"200px"}}),a&&wp(dt,{...o,children:"Hint text"})]})};Ca.options=xN;Ca.states=hN;Ca.variants=gN;Ca.defaultOptions=Kp;Ca.modifiers=NN;Ca.className=dt.className;import{jsx as zp,jsxs as MN}from"react/jsx-runtime";var kN=pt.options,LN=pt.states,_p={...pt.defaultOptions},IN=[],SN=[{name:"showError",title:"Show Error"}],Ba=e=>{let{modifiers:t,...o}={..._p,...e},a=t?.showError??!0;return MN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[zp(U,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&zp(pt,{...o,children:"Error text"})]})};Ba.options=kN;Ba.states=LN;Ba.variants=IN;Ba.defaultOptions=_p;Ba.modifiers=SN;Ba.className=pt.className;import{Fragment as DV,jsx as _V,jsxs as FV}from"react/jsx-runtime";import{Fragment as YV,jsx as qV,jsxs as ZV}from"react/jsx-runtime";import{Fragment as sX,jsx as lX,jsxs as dX}from"react/jsx-runtime";import{jsx as hX}from"react/jsx-runtime";import{Fragment as AX,jsx as TX,jsxs as OX}from"react/jsx-runtime";var sl="segmented-control",Dp=sl,Fp="segmented-control-button",Hp="segmented-control";import{jsx as CN,jsxs as BN}from"react/jsx-runtime";var nr="k-segmented-control",yN=[],EN={size:[d.undefined,d.small,d.medium,d.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Rt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:l,...p}=e;return BN("div",{...p,className:r(e.className,nr,E(nr,{size:t,rounded:o}),{[`${nr}-stretched`]:a}),role:"group",children:[CN("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:l}),i]})};Rt.states=yN;Rt.options=EN;Rt.className=nr;Rt.moduleName=sl;Rt.folderName=Dp;import{jsx as dl,jsxs as RN}from"react/jsx-runtime";var pl="k-segmented-control-button",TN=[n.selected,n.hover,n.focus,n.disabled],AN={},ON={},ut=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:l,endIcon:p,text:m,iconClassName:f,...h}=e;return RN("button",{...h,className:r(e.className,pl,y(pl,{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&&dl(g,{className:r(f,"k-segmented-control-button-icon"),icon:l}),(m||e.children)&&dl("span",{className:"k-segmented-control-button-text",children:m||e.children}),p&&dl(g,{className:r(f,"k-segmented-control-button-icon"),icon:p})]})};ut.states=TN;ut.options=AN;ut.className=pl;ut.defaultOptions=ON;ut.moduleName=Fp;ut.folderName=Hp;import{Fragment as JX,jsx as WX,jsxs as qX}from"react/jsx-runtime";import{Fragment as tW,jsx as eW,jsxs as oW}from"react/jsx-runtime";import{Fragment as sW,jsx as lW,jsxs as dW}from"react/jsx-runtime";import{Fragment as bW,jsx as fW,jsxs as xW}from"react/jsx-runtime";import{Fragment as LW,jsx as kW,jsxs as IW}from"react/jsx-runtime";import{Fragment as BW,jsx as CW,jsxs as TW}from"react/jsx-runtime";import{Fragment as eJ,jsx as jW,jsxs as tJ}from"react/jsx-runtime";import{Fragment as xJ,jsx as bJ,jsxs as hJ}from"react/jsx-runtime";import{Fragment as BJ,jsx as CJ,jsxs as TJ}from"react/jsx-runtime";import{Fragment as zJ,jsx as KJ,jsxs as _J}from"react/jsx-runtime";import{Fragment as JJ,jsx as XJ,jsxs as WJ}from"react/jsx-runtime";import{Fragment as lq,jsx as rq,jsxs as nq}from"react/jsx-runtime";import{Fragment as Nq,jsx as gq,jsxs as vq}from"react/jsx-runtime";import{Fragment as wN,jsx as H,jsxs as yo}from"react/jsx-runtime";var PN=[H(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),H(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),H(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),H("div",{className:"k-separator"},"sidebar-separator-1"),H(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),H(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),H("div",{className:"k-separator"},"sidebar-separator-2"),H(s,{fillMode:"flat",icon:"drop-half-pixelated",selected:!0,"aria-label":"Blur"},"sidebar-button-6"),H(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),H(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),H("div",{className:"k-separator"},"sidebar-separator-3"),H(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),H(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],tY=({selected:e=!1,shape:t="rectangular",intensity:o=16,...a})=>H(oe,{sidebarItems:PN,actionPane:yo(fe,{title:"Blur",actions:yo(wN,{children:[H(s,{children:"Reset"}),H(s,{themeColor:"primary",children:"Apply"})]}),children:[yo(Rt,{thumbStyles:{width:"50%"},stretched:!0,"aria-label":"Redaction Tool",style:{flexShrink:0},children:[H(ut,{icon:"blur",selected:!0,children:"Blur"}),H(ut,{icon:"grid",children:"Pixelate"})]}),yo(G,{tag:"div",children:[H(W,{label:"Marquee Tool Shape",editor:yo(ae,{layout:"horizontal",children:[H(j,{children:H(Re,{id:"blur-shape-rectangular",name:"blur-shape",checked:t==="rectangular",children:"Rectangular"})}),H(j,{children:H(Re,{id:"blur-shape-elliptical",name:"blur-shape",checked:t==="elliptical",children:"Elliptical"})})]})}),H(W,{label:"Blur Intensity",editorId:"blur-intensity",editor:yo("div",{className:"k-imageeditor-field-row",children:[H(z,{style:{flex:1,"--kendo-slider-start":0,"--kendo-slider-end":o},"aria-label":"Blur Intensity",showButtons:!1,showTicks:!1,value:o,min:0,max:100}),H(R,{id:"blur-intensity",style:{width:"80px",flex:"none"},showClearButton:!1,showSpinButton:!1,value:String(o)})]})}),H(W,{label:"Rotation",editor:yo("div",{className:"k-imageeditor-field-row",children:[H(z,{disabled:!e,style:{flex:1},"aria-label":"Rotation",showButtons:!1,showTicks:!1,value:0,min:0,max:360}),H(R,{disabled:!e,style:{width:"80px",flex:"none"},"aria-label":"Rotation angle",showClearButton:!1,showSpinButton:!1,separators:!1,value:"0",suffix:H(kt,{children:"\xB0"})})]})})]})]}),children:H("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover"}}),...a});export{tY as ImageEditorBlur};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),M=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:s,checked:l,active:m,selected:c,disabled:h,indeterminate:b,loading:g,empty:u,readonly:v,highlighted:I,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":s,"k-checked":l,"k-active":m,"k-selected":c,"k-disabled":h,"k-indeterminate":b&&!l,"k-loading":g,"k-empty":u,"k-readonly":v,"k-highlighted":I},Object.keys(S).reduce((k,E)=>(E.startsWith("k-")?k[E]=S[E]:k[`k-${E}`]=S[E],k),{}))};function xs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var d={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 pr={};function A(e){return pr[e]=(pr[e]||0)+1,`k-${e}-${pr[e]}`}import{Fragment as Xp,jsx as hs}from"react/jsx-runtime";var mr="k-font-icon",Gp=[],$p={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},Vp={},Pa=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:s,...l}=e;return a?hs("span",{...l,className:r(e.className,mr,C(mr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):hs(Xp,{})};Pa.states=Gp;Pa.options=$p;Pa.className=mr;Pa.defaultOptions=Vp;var Ns=Pa;import{Fragment as qp,jsx as bi}from"react/jsx-runtime";var cr="k-svg-icon",Wp=[],Jp={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},ur={viewBox:"0 0 24 24",variant:gt.outline},wa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:s=ur.viewBox,variant:l=ur.variant,icon:m,...c}=e;if(!m)return bi(qp,{});if(m==="none")return bi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?l&&m.variants?.[l]||m.variants?.outline||m.content:void 0;return bi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`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:bi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};wa.states=Wp;wa.options=Jp;wa.className=cr;wa.defaultOptions=ur;var fr=wa;import*as br from"@progress/kendo-svg-icons";var gs="icon",vs="icons";import{useContext as Zp}from"react";import{createContext as Yp}from"react";var Ls=Yp({iconsType:"svg"});import{Fragment as Is,jsx as Ka}from"react/jsx-runtime";var xi="k-icon",Qp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),jp=[],em={size:[d.undefined,d.xsmall,d.small,d.medium,d.large,d.xlarge,d.xxlarge,d.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},hi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},N=e=>{let{iconsType:t}=Zp(Ls),{size:o,themeColor:a,icon:i,type:s=t||hi.type,rotate:l,flip:m,viewBox:c=hi.viewBox,variant:h=hi.variant,...b}=e;if(!i)return Ka(Is,{});if((t||s)==="svg"){if(i==="none")return Ka(fr,{...b,className:r(e.className,xi),icon:i,size:o,variant:h});let u=br[i]?i:Qp(`${i}-icon`);return br[u]?Ka(fr,{...b,className:r(e.className,xi),icon:br[u],size:o,themeColor:a,rotate:l,flip:m,viewBox:c,variant:h}):Ka(Is,{})}return Ka(Ns,{...b,className:r(e.className,xi),icon:i,size:o,themeColor:a,rotate:l,flip:m})};N.states=jp;N.options=em;N.defaultOptions=hi;N.className=xi;N.moduleName=gs;N.folderName=vs;var xr="button",Ss=xr;import{Fragment as hr,jsx as Vt,jsxs as ks}from"react/jsx-runtime";var Da="k-button",tm=["icon-button"],om=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],am={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Nr={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:s,showArrow:l=Nr.showArrow,arrowIconName:m=Nr.arrowIconName,variant:c,hover:h,focus:b,active:g,selected:u,disabled:v,togglable:I,ariaDisabled:S,icon:k,endIcon:E,iconSize:T,text:w,iconClassName:q,className:oe,...ae}=e,de=k!=null,so=e.children!==void 0;return ks(t,{className:r(oe,Da,xs(Da,c),C(Da,{size:o,rounded:a,fillMode:i,themeColor:s}),M(Da,{hover:h,focus:b,active:g,disabled:v||S,selected:u}),{"k-icon-button":!w&&!so&&de}),"aria-pressed":I?u?"true":"false":void 0,...ae,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof k=="string"&&k&&Vt(N,{className:r(q,"k-button-icon"),icon:k,size:T}),k&&typeof k!="string"&&Vt(hr,{children:k}),w?ks(hr,{children:[w&&Vt("span",{className:"k-button-text",children:w}),e.children]}):e.children&&Vt("span",{className:"k-button-text",children:e.children}),typeof E=="string"&&E&&Vt(N,{className:r(q,"k-button-icon"),icon:E,size:T}),E&&typeof E!="string"&&Vt(hr,{children:E}),l&&Vt("span",{className:"k-menu-button-arrow k-button-arrow",children:Vt(N,{icon:m})})]})};p.states=om;p.options=am;p.variants=tm;p.className=Da;p.defaultOptions=Nr;p.moduleName=xr;p.folderName=Ss;import{jsx as im}from"react/jsx-runtime";var wt=e=>im(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as rm}from"react/jsx-runtime";var _a=e=>rm(p,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as nm}from"react/jsx-runtime";var vt=e=>nm(p,{children:"Button",...e});import{jsx as gr}from"react/jsx-runtime";var sm=p.options,lm=p.states,dm={...p.defaultOptions,variant:"text"},pm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],mm=[],yo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return gr(wt,{...o,icon:"star"});case"icon-and-text":return gr(_a,{...o,icon:"star",children:"Button"});default:return gr(vt,{...o,children:"Button"})}};yo.options=sm;yo.states=lm;yo.variants=pm;yo.defaultOptions=dm;yo.modifiers=mm;yo.className=p.className;var vr="button",Es=vr;import{jsx as bm}from"react/jsx-runtime";var za="k-button-group",cm=[n.disabled],um={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},fm={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return bm("div",{role:"group",...i,className:r(e.className,za,C(za,{fillMode:t}),M(za,{disabled:o}),{[`${za}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=cm;O.options=um;O.className=za;O.defaultOptions=fm;O.moduleName=vr;O.folderName=Es;import{Fragment as nL,jsx as rL,jsxs as sL}from"react/jsx-runtime";import{Fragment as uL,jsx as cL,jsxs as fL}from"react/jsx-runtime";import{Fragment as vL,jsx as gL,jsxs as LL}from"react/jsx-runtime";import{Fragment as CL,jsx as ML,jsxs as yL}from"react/jsx-runtime";import{Fragment as PL,jsx as RL,jsxs as wL}from"react/jsx-runtime";import{Fragment as FL,jsx as HL,jsxs as UL}from"react/jsx-runtime";import{Fragment as JL,jsx as WL,jsxs as qL}from"react/jsx-runtime";import{jsx as Kt,jsxs as Lr}from"react/jsx-runtime";var xm={...p.options,...O.options},hm=p.states,Nm={...p.defaultOptions,...O.defaultOptions,variant:"text-button"},gm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],vm=[],Ao=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Lr(O,{fillMode:a.fillMode,className:o,children:[Kt(p,{...a,icon:"star"}),Kt(p,{...a,icon:"star"}),Kt(p,{...a,icon:"star"})]}):t==="icon-text-button"?Lr(O,{fillMode:a.fillMode,className:o,children:[Kt(p,{...a,icon:"star",children:"First"}),Kt(p,{...a,icon:"star",children:"Middle"}),Kt(p,{...a,icon:"star",children:"Last"})]}):Lr(O,{fillMode:a.fillMode,className:o,children:[Kt(p,{...a,children:"First"}),Kt(p,{...a,children:"Middle"}),Kt(p,{...a,children:"Last"})]})};Ao.options=xm;Ao.states=hm;Ao.variants=gm;Ao.defaultOptions=Nm;Ao.modifiers=vm;Ao.className=O.className;var Ha="input",Ni=Ha;import{jsx as km}from"react/jsx-runtime";var gi="k-input",Lm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Im={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Sm={},G=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return km("span",{...g,className:r(e.className,gi,C(gi,{size:c,rounded:h,fillMode:b}),M(gi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m}))})};G.states=Lm;G.options=Im;G.className=gi;G.defaultOptions=Sm;G.moduleName=Ha;G.folderName=Ni;import{jsx as ym}from"react/jsx-runtime";var vi="k-picker",Em=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mm={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Cm={},Lt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return ym("span",{...g,className:r(e.className,vi,C(vi,{size:c,rounded:h,fillMode:b}),M(vi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:l,readonly:m})),children:e.children})};Lt.states=Em;Lt.options=Mm;Lt.className=vi;Lt.defaultOptions=Cm;Lt.moduleName=Ha;Lt.folderName=Ni;import{Fragment as Om,jsx as Ir}from"react/jsx-runtime";var Ms="k-clear-value",Am=[n.disabled,n.loading,n.readonly],Tm={},pe=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Ir(Om,{}):Ir("span",{className:r(e.className,Ms),children:Ir(N,{icon:"x"})})};pe.states=Am;pe.options=Tm;pe.className=Ms;import{jsx as Pm}from"react/jsx-runtime";var Sr="k-input-inner",Bm=[],Rm={},Li={type:"text",autocomplete:"off",value:"",placeholder:""},me=e=>{let{value:t=Li.value,type:o=Li.type,placeholder:a=Li.placeholder,autocomplete:i=Li.autocomplete,disabled:s,readOnly:l,...m}=e;return Pm("input",{...m,type:o,className:r(e.className,Sr,C(Sr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:s||void 0,readOnly:l||void 0})};me.states=Bm;me.options=Rm;me.className=Sr;import{jsx as Cs,jsxs as Dm}from"react/jsx-runtime";var kr="k-input-inner",wm=[],Km={},lo=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:s,...l}=e;return Dm("span",{...l,className:r(e.className,kr,C(kr,e)),children:[i,!i&&s&&Cs(N,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Cs("span",{className:"k-input-value-text",children:t})]})};lo.states=wm;lo.options=Km;lo.className=kr;import{jsx as Hm}from"react/jsx-runtime";var Er="k-input-inner",_m=[],zm={},ys={value:"",placeholder:""},Fa=e=>{let{value:t=ys.value,placeholder:o=ys.placeholder,rows:a,disabled:i,...s}=e;return Hm("textarea",{...s,className:r(e.className,Er,C(Er,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Fa.states=_m;Fa.options=zm;Fa.className=Er;import{Fragment as Um,jsx as As}from"react/jsx-runtime";var Ts="k-input-loading-icon",Fm=[n.disabled,n.loading],ie=e=>{let{disabled:t,loading:o}=e;return t||!o?As(Um,{}):As("span",{className:r(e.className,Ts,"k-icon k-i-loading")})};ie.states=Fm;ie.className=Ts;import{Fragment as Vm,jsx as Os}from"react/jsx-runtime";var Bs="k-input-validation-icon",Gm=[n.valid,n.invalid,n.disabled,n.loading],$m={},j=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,s=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Os(Vm,{}):Os(N,{className:r(Bs),icon:s})};j.states=Gm;j.options=$m;j.className=Bs;import{Fragment as Jm,jsx as Rs}from"react/jsx-runtime";var Xm="k-input-prefix",Wm={direction:"horizontal"},fe=e=>{let{direction:t=Wm.direction,...o}=e;return e.children?Rs("span",{...o,className:r(Xm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Rs(Jm,{})};import{Fragment as Zm,jsx as Ps}from"react/jsx-runtime";var qm="k-input-suffix",Ym={direction:"horizontal"},be=e=>{let{direction:t=Ym.direction,...o}=e;return e.children?Ps("span",{...o,className:r(qm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ps(Zm,{})};import{jsx as YI}from"react/jsx-runtime";import{jsx as jm}from"react/jsx-runtime";var Qm="k-input-suffix-text",It=e=>{let{children:t,...o}=e;return jm("span",{...o,className:r(Qm,e.className),children:t})};import{jsx as tc}from"react/jsx-runtime";var ws="k-input-separator",ec={direction:"vertical"},ee=e=>{let{direction:t=ec.direction,...o}=e;return tc("span",{...o,className:r(ws,e.className,{[`${ws}-${t}`]:t})})};import{Fragment as Ks,jsx as St,jsxs as Mr}from"react/jsx-runtime";var oc=G.states,ac=G.defaultOptions,ic=G.options,rc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],nc=[],To=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:s,readonly:l,...m}=e,c=t?.prefix,h=t?.suffix,b=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return Mr(G,{...m,valid:o,invalid:a,loading:i,disabled:s,readonly:l,style:{width:300},children:[c&&Mr(Ks,{children:[St(fe,{children:St(N,{icon:"lock"})}),u&&St(ee,{})]}),St(me,{placeholder:"Placeholder",value:"Value"}),g&&St(j,{valid:o,invalid:a,loading:i,disabled:s}),St(ie,{loading:i,disabled:s}),b&&St(pe,{loading:i,disabled:s,readonly:l,value:"Value"}),h&&Mr(Ks,{children:[u&&St(ee,{}),St(be,{children:St(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};To.options=ic;To.states=oc;To.variants=nc;To.defaultOptions=ac;To.modifiers=rc;To.className=G.className;import{jsx as Ds,jsxs as dc}from"react/jsx-runtime";var _s="k-color-preview",sc=[],lc={},Xt=e=>{let{color:t,iconName:o,...a}=e;return dc("span",{...a,className:r(e.className,_s,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ds(N,{icon:o,className:"k-color-preview-icon"}),Ds("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Xt.states=sc;Xt.options=lc;Xt.className=_s;var Cr="popup",zs=Cr;import{jsx as Hs}from"react/jsx-runtime";var Fs="k-animation-container",pc=[],mc={},yr={positionMode:"absolute",shown:!0},kt=e=>{let{positionMode:t=yr.positionMode,shown:o=yr.shown,animationStyle:a,offset:i,...s}=e;return Hs("div",{...s,style:{...i,...e.style},className:r(e.className,Fs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Hs("div",{className:"k-child-animation-container",style:a,children:e.children})})};kt.states=pc;kt.options=mc;kt.className=Fs;kt.defaultOptions=yr;kt.moduleName=Cr;kt.folderName=zs;var Ar="popup",Us=Ar;import{jsx as Gs}from"react/jsx-runtime";var $s="k-popup",cc=[],uc={},Vs={positionMode:"absolute"},W=e=>{let{offset:t,positionMode:o=Vs.positionMode,animationStyle:a,containerClassName:i,containerRole:s,containerAriaLabel:l,...m}=e;return Gs(kt,{positionMode:o,offset:t,animationStyle:a,className:i,role:s,"aria-label":l,children:Gs("div",{...m,className:r(e.className,$s),children:e.children})})};W.states=cc;W.options=uc;W.className=$s;W.defaultOptions=Vs;W.moduleName=Ar;W.folderName=Us;var Tr="action-buttons",Xs=Tr;import{jsx as xc}from"react/jsx-runtime";var Ii="k-actions",fc=[],bc={},Or={alignment:"start",orientation:"horizontal"},Ge=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...a}=e;return xc("div",{...a,className:r(Ii,{[`${Ii}-${t}`]:t,[`${Ii}-${o}`]:o},e.className),children:e.children})};Ge.states=fc;Ge.options=bc;Ge.className=Ii;Ge.defaultOptions=Or;Ge.moduleName=Tr;Ge.folderName=Xs;var Ws=Ge;import{jsx as Nc}from"react/jsx-runtime";var hc="k-actionsheet-footer",Js={alignment:"stretched",orientation:"horizontal"},Wt=e=>{let{alignment:t=Js.alignment,orientation:o=Js.orientation,template:a,as:i=a?"div":Ge,...s}=e;return Nc(i,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,hc),children:e.children})};var Br="searchbox",qs=Br;import{jsx as Ua,jsxs as Lc}from"react/jsx-runtime";var Ys="k-searchbox",gc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],vc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Si={showIcon:!0,showClearButton:!0,icon:"search"},Ze=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,showIcon:v=Si.showIcon,showClearButton:I=Si.showClearButton,icon:S=Si.icon,"aria-label":k,...E}=e;return Lc(G,{...E,size:a,rounded:i,fillMode:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,className:r(e.className,Ys),children:[v&&Ua(N,{className:"k-input-icon",icon:S}),Ua(me,{placeholder:o,value:t,"aria-label":k}),Ua(ie,{...e}),Ua(j,{...e}),I&&Ua(pe,{...e})]})};Ze.states=gc;Ze.options=vc;Ze.className=Ys;Ze.defaultOptions=Si;Ze.moduleName=Br;Ze.folderName=qs;import{jsx as Lk}from"react/jsx-runtime";var Rr="textbox",Zs=Rr;import{Fragment as Qs,jsx as Jt,jsxs as Pr}from"react/jsx-runtime";var js="k-textbox",Ic=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Sc={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ki={showClearButton:!0,showValidationIcon:!0,separators:!0},F=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ki.separators,showClearButton:s=ki.showClearButton,showValidationIcon:l=ki.showValidationIcon,prefix:m,suffix:c,type:h,value:b,placeholder:g,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:w,id:q,"aria-label":oe,"aria-describedby":ae,...de}=e;return Pr(G,{...de,size:t,rounded:o,fillMode:a,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:T,readonly:w,className:r(e.className,js),children:[m&&Pr(Qs,{children:[Jt(fe,{children:m}),i&&Jt(ee,{})]}),Jt(me,{id:q,placeholder:g,value:b,type:h,disabled:T,"aria-label":oe,"aria-describedby":ae,"aria-invalid":S?"true":void 0}),l&&Jt(j,{valid:I,invalid:S,loading:E,disabled:T}),Jt(ie,{loading:E,disabled:T}),s&&Jt(pe,{loading:E,disabled:T,readonly:w,value:b}),c&&Pr(Qs,{children:[i&&Jt(ee,{}),Jt(be,{children:c})]})]})};F.states=Ic;F.options=Sc;F.className=js;F.defaultOptions=ki;F.moduleName=Rr;F.folderName=Zs;var Ga=F;import{jsx as kc}from"react/jsx-runtime";var el=e=>kc(Ga,{...e});import{Fragment as zk,jsx as _k}from"react/jsx-runtime";import{Fragment as Vk,jsx as $k}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as wr}from"react/jsx-runtime";var Ec=F.states,Mc=F.defaultOptions,Cc=F.options,yc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ac=[],Oo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?wr(N,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?wr(vt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),wr(el,{value:"Value",style:{width:300},...o,...a})};Oo.options=Cc;Oo.states=Ec;Oo.variants=Ac;Oo.defaultOptions=Mc;Oo.modifiers=yc;Oo.className=F.className;import{jsx as qt,jsxs as Kr}from"react/jsx-runtime";var tl="k-actionsheet-titlebar",Tc={},ge=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:s,input:l,inputValue:m,inputPlaceholder:c,adaptive:h,titleId:b,children:g,...u}=e;return Kr("div",{...u,className:r(e.className,tl),children:[Kr("div",{className:"k-actionsheet-titlebar-group",children:[a&&qt("div",{className:"k-actionsheet-actions",children:a}),!g&&Kr("div",{className:"k-actionsheet-title",id:b,children:[t&&qt("div",{className:"k-text-center",children:t}),o&&qt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&qt("div",{className:"k-actionsheet-title",id:b,children:g}),i&&qt("div",{className:"k-actionsheet-actions",children:i})]}),(l||s)&&qt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:l?qt(F,{value:m,placeholder:c,size:h?"large":"medium","aria-label":t||c||"Input"}):qt(Ze,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};ge.className=tl;ge.defaultOptions=Tc;import{jsx as Dr,jsxs as Pc}from"react/jsx-runtime";var _r="k-actionsheet-view",Oc=[],Bc={},Rc={},Bo=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:s,titleId:l,...m}=e,c=i?.type===ge&&Dr(ge,{adaptive:t,titleId:l,...i?.props}),h=s?.type===Wt&&Dr(Wt,{...s?.props});return Pc("div",{...m,className:r(e.className,_r,{[`${_r}-animated`]:o}),children:[c,Dr("div",{className:"k-actionsheet-content",children:a}),h]})};Bo.states=Oc;Bo.options=Bc;Bo.className=_r;Bo.defaultOptions=Rc;var $a="action-sheet",Ei=$a;var zr="overlay",ol=zr;import{jsx as _c}from"react/jsx-runtime";var al="k-overlay",wc=[],Kc={},Dc={},ft=e=>{let{...t}=e;return _c("div",{...t,className:r(e.className,al),children:e.children})};ft.states=wc;ft.options=Kc;ft.className=al;ft.defaultOptions=Dc;ft.moduleName=zr;ft.folderName=ol;var il=ft;import{jsx as Mi,jsxs as Fc}from"react/jsx-runtime";var rl="k-actionsheet",zc=[],Hc={},Va={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Y=e=>{let{side:t=Va.side,fullscreen:o=Va.fullscreen,adaptive:a=Va.adaptive,overlay:i=Va.overlay,template:s,children:l,header:m,footer:c,id:h,...b}=e,g=h&&!s&&m?`${h}-title`:void 0;return Fc("div",{className:"k-actionsheet-container",children:[i&&Mi(ft,{}),Mi(kt,{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:Mi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":g,className:r(e.className,rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Mi(Bo,{header:m,footer:c,adaptive:a,titleId:g,...e,children:l})})})]})};Y.states=zc;Y.options=Hc;Y.className=rl;Y.defaultOptions=Va;Y.moduleName=$a;Y.folderName=Ei;import{jsx as Vc}from"react/jsx-runtime";var nl="k-actionsheet-container",Uc=[],Gc={},$c={},Ro=e=>{let{children:t,...o}=e;return Vc("div",{...o,className:nl,children:t})};Ro.states=Uc;Ro.options=Gc;Ro.className=nl;Ro.defaultOptions=$c;Ro.moduleName=$a;Ro.folderName=Ei;import{jsx as Xc}from"react/jsx-runtime";var Hr=e=>{let{...t}=e;return Xc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Jc,jsx as Xa,jsxs as Fr}from"react/jsx-runtime";var Ur="k-actionsheet-item",Wc=[n.hover,n.focus,n.selected,n.disabled],Yt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:s,selected:l,disabled:m,...c}=e;return Fr("span",{...c,className:r(e.className,Ur,M(Ur,{hover:i,focus:s,selected:l,disabled:m})),children:[!e.children&&Xa(Jc,{children:Fr("span",{className:"k-actionsheet-action",children:[t&&Xa("span",{className:"k-icon-wrap",children:Xa(N,{className:"k-actionsheet-item-icon",icon:t})}),Fr("span",{className:"k-actionsheet-item-text",children:[o&&Xa("span",{className:"k-actionsheet-item-title",children:o}),a&&Xa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Yt.states=Wc;Yt.className=Ur;import{jsx as JE,jsxs as qE}from"react/jsx-runtime";import{jsx as jE}from"react/jsx-runtime";import{jsx as aM}from"react/jsx-runtime";import{jsx as sM}from"react/jsx-runtime";import{jsx as ve,jsxs as Gr}from"react/jsx-runtime";var qc=Y.options,Yc=Y.states,ll={...Y.defaultOptions,variant:"normal"},Zc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Qc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Po=e=>{let{variant:t,modifiers:o,...a}={...ll,...e},i={},s=Gr(Hr,{children:[ve(Yt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ve(Yt,{text:"Add to Favorites",iconName:"heart"}),ve(Yt,{text:"Upload New",iconName:"upload",disabled:!0}),ve("hr",{className:"k-hr"}),ve(Yt,{text:"Cancel",iconName:"cancel"})]}),l="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(c=>{switch(c){case"actions":i.actionsStart=!!o?.[c],i.actionsEnd=!!o?.[c];break;case"subtitle":i.subtitle=o?.[c]?l:void 0;break;case"footer":i.footer=!!o?.[c];break;default:break}}),t==="adaptive"?ve(Y,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ve(ge,{actionsStart:i.actionsStart?ve(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ve(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Gr(Wt,{alignment:"stretched",children:[ve(p,{text:"Cancel",size:"large",themeColor:"base"}),ve(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ve(Y,{...a,fullscreen:i.fullScreen,header:ve(ge,{actionsStart:i.actionsStart?ve(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ve(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Gr(Wt,{alignment:"stretched",children:[ve(p,{text:"Apply",themeColor:"primary"}),ve(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Po.options=qc;Po.states=Yc;Po.variants=Zc;Po.defaultOptions=ll;Po.modifiers=Qc;Po.className=Y.className;var $r="slider",dl=$r;import{jsx as wo,jsxs as Vr}from"react/jsx-runtime";var Wa="k-slider",jc=[n.hover,n.focus,n.active,n.disabled,n.readonly],eu={},Qe={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},D=e=>{let{type:t=Qe.type,orientation:o=Qe.orientation,gradientType:a=Qe.gradientType,readonly:i=Qe.readonly,disabled:s=Qe.disabled,handlePosition:l=Qe.handlePosition,showButtons:m=Qe.showButtons,showTicks:c=Qe.showTicks,value:h=Qe.value,min:b=Qe.min,max:g=Qe.max,startValue:u,endValue:v,hover:I,focus:S,active:k,trackStyle:E,dir:T,...w}=e,oe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ae,de;return o==="horizontal"?(ae=T==="rtl"?"chevron-left":"chevron-right",de=T==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ae="chevron-up",de="chevron-down"),Vr("div",{...w,className:r(Wa,e.className,M(Wa,{readonly:i,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:T,children:[m&&wo(p,{className:"k-button-decrease",rounded:"full",icon:de,tabIndex:-1,title:"Decrease"}),Vr("div",{className:"k-slider-track-wrap",children:[c&&wo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Vr("div",{className:"k-slider-track",style:E,children:[wo("div",{className:"k-slider-selection"}),t==="range"&&wo("span",{className:r("k-draghandle","k-draghandle-start",M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":v??g,"aria-orientation":oe,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":w["aria-label"]?`${w["aria-label"]} start`:"Range start"}),wo("span",{className:r("k-draghandle",`k-draghandle-${l}`,M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??g:h,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":oe,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?w["aria-label"]?`${w["aria-label"]} end`:"Range end":w["aria-label"]})]})]}),m&&wo(p,{className:"k-button-increase",rounded:"full",icon:ae,tabIndex:-1,title:"Increase"})]})};D.states=jc;D.options=eu;D.className=Wa;D.defaultOptions=Qe;D.moduleName=$r;D.folderName=dl;import{jsx as pl}from"react/jsx-runtime";var ml="k-tick",tu=[],ou={},cl={label:!1},B=e=>{let{style:t,label:o=cl.label,orientation:a,large:i,text:s,...l}=e;return pl("li",{...l,role:"presentation",title:s||"Tick",className:r(e.className,ml,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&pl("span",{className:"k-label",children:s})})};B.states=tu;B.options=ou;B.className=ml;B.defaultOptions=cl;import{Fragment as au,jsx as je,jsxs as iu}from"react/jsx-runtime";var ul=e=>je(D,{"aria-label":e["aria-label"]||"Slider",children:iu(au,{children:[je(B,{className:"k-first",label:!0,large:!0,text:"0"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{label:!0,large:!0,text:"5"}),je(B,{}),je(B,{}),je(B,{}),je(B,{}),je(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as ru,jsx as et,jsxs as nu}from"react/jsx-runtime";var fl=e=>et(D,{children:nu(ru,{children:[et(B,{className:"k-first",label:!0,large:!0,text:"0"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{label:!0,large:!0,text:"5"}),et(B,{}),et(B,{}),et(B,{}),et(B,{}),et(B,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as qM,jsx as JM,jsxs as YM}from"react/jsx-runtime";import{Fragment as tC,jsx as eC,jsxs as oC}from"react/jsx-runtime";import{jsx as su}from"react/jsx-runtime";var Xr=e=>su(D,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as lu}from"react/jsx-runtime";var Wr=e=>lu(D,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as uC,jsx as cC,jsxs as fC}from"react/jsx-runtime";import{Fragment as gC,jsx as NC,jsxs as vC}from"react/jsx-runtime";import{jsx as Et,jsxs as bl}from"react/jsx-runtime";var du=D.options,pu=D.states,xl={...D.defaultOptions,variant:"horizontal",label:!0},mu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],cu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Ko=e=>{let{variant:t,modifiers:o,...a}=e,i=xl.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let l={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?bl(fl,{style:{height:"300px",...l},...a,...s,children:[Et(B,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Et(B,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Et(B,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Et(B,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Et(B,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):bl(ul,{style:{width:"400px",...l},...a,...s,children:[Et(B,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Et(B,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Et(B,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Et(B,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Et(B,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Ko.options=du;Ko.states=pu;Ko.variants=mu;Ko.defaultOptions=xl;Ko.modifiers=cu;Ko.className=D.className;import{jsx as hl,jsxs as hu}from"react/jsx-runtime";var Nl="k-spin-button",bu=[],xu={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Mt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Jr.increaseLabel,decreaseLabel:s=Jr.decreaseLabel,...l}=e;return hu("span",{...l,className:r(Nl,e.className),children:[hl(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),hl(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Mt.states=bu;Mt.options=xu;Mt.className=Nl;Mt.defaultOptions=Jr;Mt.moduleName=null;Mt.folderName=null;var gl="numeric-textbox",vl="numerictextbox";import{Fragment as Ll,jsx as Dt,jsxs as qr}from"react/jsx-runtime";var Il="k-numerictextbox",Nu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],gu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ci={showSpinButton:!0,showClearButton:!0,separators:!0},R=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ci.separators,showClearButton:s=Ci.showClearButton,showSpinButton:l=Ci.showSpinButton,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,id:w,"aria-label":q,"aria-describedby":oe,...ae}=e;return qr(G,{...ae,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:r(e.className,Il),children:[m&&qr(Ll,{children:[Dt(fe,{children:m}),i&&Dt(ee,{})]}),Dt(me,{id:w,placeholder:b,value:h,role:"spinbutton",disabled:E,"aria-label":q,"aria-describedby":oe,"aria-invalid":I?"true":void 0}),Dt(j,{valid:v,invalid:I,loading:k,disabled:E}),Dt(ie,{loading:k,disabled:E}),s&&Dt(pe,{loading:k,disabled:E,readonly:T,value:h}),c&&qr(Ll,{children:[i&&Dt(ee,{}),Dt(be,{children:c})]}),l&&Dt(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};R.states=Nu;R.options=gu;R.className=Il;R.defaultOptions=Ci;R.moduleName=gl;R.folderName=vl;var Ja=R;import{jsx as vu}from"react/jsx-runtime";var Sl=e=>vu(Ja,{...e});import Zr from"react";import{jsx as kl}from"react/jsx-runtime";var Lu="k-list-group-sticky-header",Yr=e=>kl("div",{className:r(Lu,e.className),children:kl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Su}from"react/jsx-runtime";var Iu="k-no-data",yi=e=>{let{live:t,...o}=e;return Su("span",{...o,className:r(Iu,e.className),"aria-live":t?"polite":void 0,children:e.children})};var po="list",Do=po;import{jsx as El,jsxs as Ml}from"react/jsx-runtime";var Qr="k-list",ku=[],Eu={size:[d.undefined,d.small,d.medium,d.large]},Mu={},P=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:s,optionLabel:l,customValue:m,noData:c,screenReaders:h,...b}=e,u=Zr.Children.toArray(a)[0],v=u?.props?.children?Zr.Children.count(u.props.children):Zr.Children.count(a);return Ml("div",{...b,className:r(e.className,Qr,C(Qr,{size:t}),{"k-virtual-list":o}),children:[l,s,m,i&&El(Yr,{children:i}),a||(c!==void 0?c:El(yi,{live:!0,children:"No data found."})),h&&a&&Ml(yi,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};P.states=ku;P.options=Eu;P.className=Qr;P.defaultOptions=Mu;P.moduleName=po;P.folderName=Do;import{jsx as Tu}from"react/jsx-runtime";var Cl="k-list-container",Cu=[],yu={},Au={},_o=e=>{let{...t}=e;return Tu("div",{...t,className:r(e.className,Cl),children:e.children})};_o.states=Cu;_o.options=yu;_o.className=Cl;_o.defaultOptions=Au;_o.moduleName=po;_o.folderName=Do;var mo="checkbox",zo=mo;import{jsx as yl}from"react/jsx-runtime";var Ai="k-checkbox",Ou=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Bu={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Ru={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:s,disabled:l,invalid:m,valid:c,required:h,size:b,rounded:g,wrapperRole:u,...v}=e;return yl("span",{className:"k-checkbox-wrap",role:u,children:yl("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:l||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ai,C(Ai,{size:b,rounded:g}),M(Ai,{hover:i,focus:s,disabled:l,invalid:m,valid:c,indeterminate:a,checked:o}))})})};Ke.states=Ou;Ke.options=Bu;Ke.className=Ai;Ke.defaultOptions=Ru;Ke.moduleName=mo;Ke.folderName=zo;var bt=Ke;import{jsx as Ku}from"react/jsx-runtime";var Al="k-checkbox-list",Pu=[],wu={},Tl={layout:"vertical"},ye=e=>{let{layout:t=Tl.layout,...o}=e;return Ku("ul",{...o,className:r(e.className,Al,{[`k-list-${t}`]:t}),children:e.children})};ye.states=Pu;ye.options=wu;ye.className=Al;ye.defaultOptions=Tl;ye.moduleName=mo;ye.folderName=zo;import{jsx as Hu}from"react/jsx-runtime";var Ol="k-checkbox-list-item",Du=[],_u={},zu={},Ae=e=>{let{...t}=e;return Hu("li",{...t,className:r(e.className,Ol),children:e.children})};Ae.states=Du;Ae.options=_u;Ae.className=Ol;Ae.defaultOptions=zu;Ae.moduleName=mo;Ae.folderName=zo;import{Fragment as Fu,jsx as Bl,jsxs as Uu}from"react/jsx-runtime";var xt=({children:e="Label",id:t="cb-label-after",...o})=>Uu(Fu,{children:[Bl(bt,{id:t,...o}),Bl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as $y,jsx as Gy,jsxs as Vy}from"react/jsx-runtime";import{Fragment as Yy,jsx as qy,jsxs as Zy}from"react/jsx-runtime";import{Fragment as oA,jsx as tA,jsxs as aA}from"react/jsx-runtime";import{jsx as sA}from"react/jsx-runtime";import{jsx as mA}from"react/jsx-runtime";import{jsx as bA}from"react/jsx-runtime";import{jsx as tt,jsxs as Rl}from"react/jsx-runtime";var Gu=ye.options,$u=ye.states,Vu={...ye.defaultOptions,variant:"vertical"},Xu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Wu=[],Ho=e=>{let{variant:t,...o}=e;return t==="horizontal"?Rl(ye,{layout:"horizontal",...o,children:[tt(Ae,{children:tt(xt,{id:A("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(xt,{id:A("cb"),children:"Label"})}),tt(Ae,{children:tt(xt,{id:A("cb"),children:"Label"})})]}):Rl(ye,{...o,children:[tt(Ae,{children:tt(xt,{id:A("cb"),defaultChecked:!0,children:"Label"})}),tt(Ae,{children:tt(xt,{id:A("cb"),children:"Label"})}),tt(Ae,{children:tt(xt,{id:A("cb"),children:"Label"})})]})};Ho.options=Gu;Ho.states=$u;Ho.variants=Xu;Ho.defaultOptions=Vu;Ho.modifiers=Wu;Ho.className=ye.className;import{jsx as ju}from"react/jsx-runtime";var Ju=bt.options,qu=bt.states,Yu=bt.defaultOptions,Zu=[],Qu=[],Fo=e=>ju(xt,{id:A("checkbox"),...e,defaultChecked:!0,children:"Label"});Fo.options=Ju;Fo.states=qu;Fo.variants=Zu;Fo.defaultOptions=Yu;Fo.modifiers=Qu;Fo.className=bt.className;import{jsx as Uo,jsxs as af}from"react/jsx-runtime";var jr="k-list-item",ef=[n.hover,n.focus,n.selected,n.disabled],tf={},of={},y=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:s,hover:l,focus:m,selected:c,disabled:h,actions:b,description:g,id:u,...v}=e,I=t||e.children,S=t||(typeof I=="string"?I:void 0);return af("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":c?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,jr,M(jr,{hover:l,focus:m,disabled:h,selected:c})),children:[i&&Uo(Ke,{checked:s,disabled:h,"aria-label":S,tabIndex:-1}),o&&Uo("span",{className:"k-list-item-icon-wrapper",children:Uo(N,{icon:o,className:r("k-list-item-icon",a)})}),Uo("span",{className:"k-list-item-text",children:I}),b&&Uo("div",{className:"k-list-item-actions",children:b}),g&&Uo("span",{className:"k-list-item-description",children:g})]})};y.states=ef;y.options=tf;y.className=jr;y.defaultOptions=of;y.moduleName=po;y.folderName=Do;import{jsx as nf}from"react/jsx-runtime";var rf="k-list-ul",Ct=e=>{let{children:t,role:o,id:a,...i}=e;return nf("ul",{...i,id:a,role:o,className:r(rf,e.className),children:t})};import{jsx as en,jsxs as lf}from"react/jsx-runtime";var sf="k-list-content",K=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:s,...l}=e;return lf("div",{...l,className:r(sf,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:en(Ct,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&en("div",{className:"k-height-container",children:en("div",{})})]})};import{jsx as tn,jsxs as cf}from"react/jsx-runtime";var Ti="k-list-sticky-header",df=[n.hover,n.focus,n.selected],pf={},mf={},Oi=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:s,focus:l,selected:m,...c}=e;return tn("div",{...c,className:r(Ti,e.className),children:cf("div",{className:r(`${Ti}-item`,M(`${Ti}-item`,{hover:s,focus:l,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&tn(Ke,{checked:a,indeterminate:i,"aria-label":t}),tn("span",{className:"k-list-item-text",children:t})]})})};Oi.states=df;Oi.options=pf;Oi.className=Ti;Oi.defaultOptions=mf;import{Fragment as dT,jsx as lT,jsxs as pT}from"react/jsx-runtime";import{jsx as bT,jsxs as xT}from"react/jsx-runtime";import{jsx as xf}from"react/jsx-runtime";var on="k-list-optionlabel",uf=[n.hover,n.focus,n.selected,n.disabled],ff={},bf={},Bi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return xf("div",{...l,className:r(on,M(on,{hover:o,focus:a,selected:i,disabled:s})),children:t})};Bi.states=uf;Bi.options=ff;Bi.className=on;Bi.defaultOptions=bf;import{jsx as vf}from"react/jsx-runtime";var an="k-list-custom-value",hf=[n.hover,n.focus,n.selected,n.disabled],Nf={},gf={},ot=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...l}=e;return vf("div",{...l,className:r(an,M(an,{hover:o,focus:a,selected:i,disabled:s})),children:t})};ot.states=hf;ot.options=Nf;ot.className=an;ot.defaultOptions=gf;import{Fragment as yT,jsx as CT,jsxs as AT}from"react/jsx-runtime";import{Fragment as wT,jsx as PT,jsxs as KT}from"react/jsx-runtime";import{Fragment as GT,jsx as FT,jsxs as UT}from"react/jsx-runtime";import{Fragment as YT,jsx as JT,jsxs as qT}from"react/jsx-runtime";import{jsx as eO}from"react/jsx-runtime";import{Fragment as nO,jsx as rO,jsxs as sO}from"react/jsx-runtime";import{Fragment as uO,jsx as cO,jsxs as fO}from"react/jsx-runtime";var Pl="dropdown-list",wl="dropdownlist";import{Fragment as Sf,jsx as Te,jsxs as rn}from"react/jsx-runtime";var Kl="k-dropdownlist",Lf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],If={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},nn={showValue:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=nn.arrowIconName,showValue:s=nn.showValue,valueIconName:l,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,popup:w,opened:q,adaptive:oe,adaptiveSettings:ae,adaptiveTitle:de,adaptiveSubtitle:so,adaptiveFilter:Nt,id:Pt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Pt?`${Pt}-listbox`:void 0,bs=Pt?`${Pt}-value`:void 0;return rn(Sf,{children:[rn(Lt,{...Ba,id:Pt,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:T,className:r(e.className,Kl,{"k-icon-picker":!s&&l}),role:"combobox","aria-haspopup":"listbox","aria-expanded":q?"true":"false","aria-controls":q?Ra:void 0,"aria-activedescendant":q&&$t?$t:void 0,"aria-describedby":q?bs:void 0,"aria-disabled":E?"true":void 0,"aria-label":Oa,tabIndex:0,children:[Te(fe,{children:m}),Te(lo,{placeholder:b,value:h,showValue:s,valueIconName:l,id:bs}),Te(j,{valid:v,invalid:I,loading:k,disabled:E}),Te(ie,{loading:k,disabled:E}),Te(be,{children:c}),Te(p,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),q&&w&&Te(W,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:w}),oe&&Te(Y,{adaptive:!0,...ae,header:Te(ge,{actionsEnd:Te(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Nt,inputValue:h,inputPlaceholder:b,title:de,subtitle:so}),children:Te("div",{className:"k-list-container",children:Te(P,{size:"large",children:rn(K,{"aria-label":"Options",children:[Te(y,{text:"List item"}),Te(y,{text:"List item"}),Te(y,{text:"List item"})]})})})})]})};$.states=Lf;$.options=If;$.className=Kl;$.defaultOptions=nn;$.moduleName=Pl;$.folderName=wl;import{jsx as qO}from"react/jsx-runtime";import{jsx as tB,jsxs as oB}from"react/jsx-runtime";import{Fragment as mB,jsx as dB,jsxs as pB}from"react/jsx-runtime";import{jsx as xB}from"react/jsx-runtime";import{jsx as IB,jsxs as SB}from"react/jsx-runtime";import{Fragment as BB,jsx as TB,jsxs as OB}from"react/jsx-runtime";import{jsx as DB}from"react/jsx-runtime";import{Fragment as Af,jsx as Zt,jsxs as Dl}from"react/jsx-runtime";var kf=$.states,Ef=$.defaultOptions,Mf=$.options,Cf=[{name:"opened",title:"Opened"}],yf=[],$o=e=>{let{modifiers:t,...o}=e,a={},i=Dl(Af,{children:[Zt("div",{className:"k-list-filter",children:Zt(Ze,{})}),Zt(P,{style:{width:300},size:o.size,children:Dl(K,{children:[Zt(y,{children:"List item"}),Zt(y,{children:"List item"}),Zt(y,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0)}),Zt("div",{children:Zt($,{placeholder:"Value",style:{width:300},...o,...a})})};$o.options=Mf;$o.states=kf;$o.variants=yf;$o.defaultOptions=Ef;$o.modifiers=Cf;$o.className=$.className;import{Fragment as rR,jsx as iR}from"react/jsx-runtime";import{Fragment as mR,jsx as pR}from"react/jsx-runtime";import{jsx as bR}from"react/jsx-runtime";import{jsx as sn}from"react/jsx-runtime";var Tf=R.states,Of=R.defaultOptions,Bf=R.options,Rf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Pf=[],Vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?sn($,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?sn(It,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),sn(Sl,{value:"Value",style:{width:300},...o,...a})};Vo.options=Bf;Vo.states=Tf;Vo.variants=Pf;Vo.defaultOptions=Of;Vo.modifiers=Rf;Vo.className=R.className;import{Fragment as qa,jsx as _,jsxs as re}from"react/jsx-runtime";var _l="k-colorgradient-inputs",wf=[],Kf={size:[d.undefined,d.small,d.medium,d.large]},zl={mode:"rgba"},Xo=e=>{let{mode:t=zl.mode,size:o,...a}=e;return re("div",{...a,className:r(_l,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&re(qa,{children:[re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(R,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(qa,{children:re("div",{className:"k-vstack k-flex-1",children:[_(F,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),_("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Xo.states=wf;Xo.options=Kf;Xo.className=_l;Xo.defaultOptions=zl;import{jsx as uo,jsxs as fo}from"react/jsx-runtime";var Hl="k-colorgradient-color-contrast",Df=[],_f={},zf={},Wo=()=>fo("div",{className:r(Hl,"k-vbox"),children:[fo("div",{className:"k-contrast-ratio",children:[uo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),fo("span",{className:"k-contrast-validation !k-text-success",children:[uo(N,{icon:"check"}),uo(N,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AA: 4.5"}),fo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",uo(N,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AAA: 7.0"}),fo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",uo(N,{icon:"x"})]})]})]});Wo.states=Df;Wo.options=_f;Wo.className=Hl;Wo.defaultOptions=zf;var Fl="color-gradient",Ul="colorgradient";import{jsx as at,jsxs as Ya}from"react/jsx-runtime";var Ri="k-colorgradient",Hf=[n.hover,n.focus,n.readonly,n.disabled],Ff={size:[d.undefined,d.small,d.medium,d.large]},yt={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=yt.mode,readonly:a=yt.readonly,disabled:i=yt.disabled,gradientStyle:s=yt.gradientStyle,dragHandleStyle:l=yt.dragHandleStyle,alphaStyle:m=yt.alphaStyle,alphaStyleHorizontal:c=yt.alphaStyleHorizontal,contrast:h=yt.contrast,dir:b,hover:g,focus:u,hoverHandle:v,focusHandle:I,canvasOrientation:S=yt.canvasOrientation,role:k,tabIndex:E,...T}=e;return Ya("div",{...T,role:k??"textbox","aria-label":k==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:r(e.className,Ri,C(Ri,{size:t}),M(Ri,{hover:g,focus:u,readonly:a,disabled:i})),dir:b,children:[!S||S==="horizontal"&&Ya("div",{className:"k-colorgradient-canvas k-hstack",children:[at("div",{className:"k-hsv-rectangle",style:s,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-hstack",children:[at(Wr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&at(Wr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:m})]})]}),S==="vertical"&&Ya("div",{className:"k-colorgradient-canvas k-vstack",children:[at("div",{className:"k-hsv-rectangle",style:s,children:at("div",{className:"k-hsv-gradient",children:at("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:l,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-vstack",children:[at(Xr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&at(Xr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:c})]})]}),at(Xo,{mode:e.mode,size:t}),h&&at(Wo,{})]})};Le.states=Hf;Le.options=Ff;Le.className=Ri;Le.defaultOptions=yt;Le.moduleName=Fl;Le.folderName=Ul;import{jsx as Uf}from"react/jsx-runtime";var Pi=e=>Uf(Le,{...e});import{jsx as eP}from"react/jsx-runtime";import{jsx as iP}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var Gf=Le.options,$f=Le.states,Vf={...Le.defaultOptions,variant:"rgba"},Xf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Wf=[],Jo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return ln(Pi,{...o,mode:t});case"rgb":return ln(Pi,{...o,mode:t});default:return ln(Pi,{...o,mode:t})}};Jo.options=Gf;Jo.states=$f;Jo.variants=Xf;Jo.defaultOptions=Vf;Jo.modifiers=Wf;Jo.className=Le.className;import{jsx as Jf}from"react/jsx-runtime";var dn=e=>Jf("tr",{role:"row",children:e.children});import{jsx as Zf}from"react/jsx-runtime";var pn="k-colorpalette-tile",qf=[n.hover,n.focus,n.selected],Yf={},Qt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:s,...l}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Zf("td",{...l,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,pn,M(pn,{hover:a,focus:i,selected:s})),style:m})};Qt.states=qf;Qt.options=Yf;Qt.className=pn;Qt.moduleName=null;Qt.folderName=null;var Gl="color-palette",$l="colorpalette";import{jsx as Za}from"react/jsx-runtime";var wi="k-colorpalette",Qf=[n.disabled],jf={size:[d.undefined,d.small,d.medium,d.large]},Vl={columns:10},De=e=>{let{size:t,palette:o,columns:a=Vl.columns,tileSize:i,disabled:s,...l}=e,m=[];if(o){let c=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/c)},(b,g)=>{let u=[];h.slice(g*c,(g+1)*c).map((I,S)=>{u.push(Za(Qt,{color:I,tileSize:i},S))});let v=Za(dn,{children:u},g);m.push(v)})}return Za("div",{...l,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,wi,M(wi,{disabled:s}),C(wi,{size:t})),children:Za("table",{className:"k-colorpalette-table",role:"none",children:Za("tbody",{children:m.length>0?m:e.children})})})};De.states=Qf;De.options=jf;De.className=wi;De.defaultOptions=Vl;De.moduleName=Gl;De.folderName=$l;var Ki=De;var Qa={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 eb}from"react/jsx-runtime";var Xl=e=>eb(Ki,{palette:Qa.basic,...e});import{jsx as zP}from"react/jsx-runtime";import{jsx as VP,jsxs as XP}from"react/jsx-runtime";import{jsx as sb}from"react/jsx-runtime";var tb=De.options,ob=De.states,ab={...De.defaultOptions,variant:"basic"},ib=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],rb={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}},nb=[],qo=e=>{let{variant:t="basic",...o}=e,a=rb[t];return sb(Xl,{columns:a.columns,palette:a,...o})};qo.options=tb;qo.states=ob;qo.variants=ib;qo.defaultOptions=ab;qo.modifiers=nb;qo.className=De.className;var Wl="color-editor",Jl="coloreditor";import{jsx as it,jsxs as Yo}from"react/jsx-runtime";var Di="k-coloreditor",lb=[n.focus],db={size:[d.undefined,d.small,d.medium,d.large]},ja={view:"gradient",palette:Qa.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=ja.view,palette:a=ja.palette,color:i,currentColor:s,focus:l,focusView:m,dir:c,group:h,actionButtons:b=ja.actionButtons,canvasOrientation:g=ja.canvasOrientation,...u}=e;return Yo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Di,C(Di,{size:t}),M(Di,{focus:l})),dir:c,children:[Yo("div",{className:"k-coloreditor-header k-hstack",children:[it("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Yo(O,{fillMode:"flat",children:[it(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),it(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),it("div",{className:"k-spacer"}),Yo("div",{className:"k-coloreditor-header-actions k-hstack",children:[it(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Yo("div",{className:"k-coloreditor-preview k-vstack",children:[it(Xt,{className:"k-coloreditor-preview-color",color:i}),it(Xt,{className:"k-coloreditor-current-color",color:s})]})]})]}),it("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?it(Le,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):it(De,{palette:a,size:t})}),b&&Yo(Ge,{className:"k-coloreditor-footer",alignment:"start",children:[it(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),it(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=lb;ne.options=db;ne.className=Di;ne.defaultOptions=ja;ne.moduleName=Wl;ne.folderName=Jl;var Zo=ne;import{jsx as Lw}from"react/jsx-runtime";import{jsx as Ew}from"react/jsx-runtime";import{jsx as pb}from"react/jsx-runtime";var ql=e=>pb(Zo,{group:!0,currentColor:"fuchsia",...e});import{jsx as mb}from"react/jsx-runtime";var Yl=e=>mb(Zo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Zl}from"react/jsx-runtime";var cb=ne.options,ub=ne.states,fb={...ne.defaultOptions,variant:"gradient"},bb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],xb=[],Qo=e=>{let{variant:t,...o}=e;return t==="palette"?Zl(Yl,{...o,color:"white"}):Zl(ql,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Qo.options=cb;Qo.states=ub;Qo.variants=bb;Qo.defaultOptions=fb;Qo.modifiers=xb;Qo.className=ne.className;var Ql="color-picker",jl="colorpicker";import{Fragment as gb,jsx as rt,jsxs as mn}from"react/jsx-runtime";var ed="k-colorpicker",hb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],Nb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},td={arrowIconName:"chevron-down"},Ie=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=td.arrowIconName,prefix:s,suffix:l,value:m,placeholder:c,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,valueIconName:S,popup:k,opened:E,adaptive:T,adaptiveSettings:w,adaptiveTitle:q,adaptiveSubtitle:oe,...ae}=e,de="colorpicker-popup";return mn(gb,{children:[mn(Lt,{...ae,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||T?de:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":I?"true":void 0,className:r(e.className,ed,"k-icon-picker"),children:[rt(fe,{children:s}),rt(lo,{placeholder:c,value:m,showValue:!1,valueIcon:rt(Xt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),rt(be,{children:l}),rt(p,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:I})]}),E&&k&&rt(W,{id:de,className:"k-colorpicker-popup",children:k}),T&&rt(Y,{adaptive:!0,id:de,...w,header:rt(ge,{actionsEnd:rt(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:q,subtitle:oe}),footer:mn(Wt,{children:[rt(p,{text:"Cancel",size:"large"}),rt(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:rt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ie.states=hb;Ie.options=Nb;Ie.className=ed;Ie.defaultOptions=td;Ie.moduleName=Ql;Ie.folderName=jl;var _t=Ie;import{jsx as vb}from"react/jsx-runtime";var _i=e=>vb(_t,{...e});import{jsx as l0}from"react/jsx-runtime";import{jsx as u0}from"react/jsx-runtime";import{jsx as h0}from"react/jsx-runtime";import{jsx as L0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as A0}from"react/jsx-runtime";import{jsx as bo}from"react/jsx-runtime";var Lb=_t.options,Ib=_t.states,od={..._t.defaultOptions,variant:"color"},Sb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],kb=[{name:"opened",title:"Opened"}],jo=e=>{let{variant:t,modifiers:o,...a}={...od,...e},i={};Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?bo(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return bo("div",{style:s,children:bo(_i,{...a,...i})});case"icon":return bo("div",{style:s,children:bo(_i,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return bo("div",{style:s,children:bo(_i,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};jo.options=Lb;jo.states=Ib;jo.variants=Sb;jo.defaultOptions=od;jo.modifiers=kb;jo.className=_t.className;var cn="combobox",ad=cn;import{Fragment as un,jsx as ce,jsxs as ei}from"react/jsx-runtime";var id="k-combobox",Eb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Mb={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},fn={separators:!0,showClearButton:!0},Se=e=>{let{size:t,rounded:o,fillMode:a,separators:i=fn.separators,showClearButton:s=fn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:q,adaptiveSettings:oe,adaptiveTitle:ae,adaptiveSubtitle:de,adaptiveCustomValue:so,id:Nt,autocomplete:Pt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ei(un,{children:[ei(G,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:r(e.className,id),children:[l&&ei(un,{children:[ce(fe,{children:l}),i&&ce(ee,{})]}),ce(me,{id:Nt,placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:w}),ce(j,{valid:u,invalid:v,loading:S,disabled:k}),ce(ie,{loading:S,disabled:k}),s&&ce(pe,{loading:S,disabled:k,readonly:w,value:c}),m&&ei(un,{children:[i&&ce(ee,{}),ce(be,{children:m})]}),ce(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:k})]}),T&&E&&ce(W,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),q&&ce(Y,{adaptive:!0,id:Nt?`${Nt}-adaptive`:void 0,...oe,header:ce(ge,{actionsEnd:ce(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:ae,subtitle:de}),children:ce("div",{className:"k-list-container",children:ce(P,{customValue:so?ce(ot,{text:`Use "${c}"`}):void 0,size:"large",children:ei(K,{"aria-label":ae||"Options",children:[ce(y,{text:"List item"}),ce(y,{text:"List item"}),ce(y,{text:"List item"})]})})})})]})};Se.states=Eb;Se.options=Mb;Se.className=id;Se.defaultOptions=fn;Se.moduleName=cn;Se.folderName=ad;var $e=Se;import{jsx as Cb}from"react/jsx-runtime";var rd=e=>Cb($e,{...e});import{jsx as mK,jsxs as cK}from"react/jsx-runtime";import{jsx as NK,jsxs as gK}from"react/jsx-runtime";import{jsx as EK,jsxs as MK}from"react/jsx-runtime";import{Fragment as BK,jsx as OK}from"react/jsx-runtime";import{Fragment as _K,jsx as DK}from"react/jsx-runtime";import{jsx as $K,jsxs as VK}from"react/jsx-runtime";import{Fragment as jK,jsx as ZK,jsxs as QK}from"react/jsx-runtime";import{jsx as aD}from"react/jsx-runtime";import{jsx as sD}from"react/jsx-runtime";import{jsx as uD,jsxs as fD}from"react/jsx-runtime";import{jsx as vD,jsxs as LD}from"react/jsx-runtime";import{jsx as jt,jsxs as Rb}from"react/jsx-runtime";var yb=Se.states,Ab=Se.defaultOptions,Tb=Se.options,Ob=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Bb=[],ea=e=>{let{modifiers:t,...o}=e,a={},i=jt(P,{style:{width:300},size:o.size,children:Rb(K,{children:[jt(y,{children:"List item"}),jt(y,{children:"List item"}),jt(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?jt(N,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?jt(wt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),jt("div",{children:jt(rd,{value:"Value",style:{width:300},...o,...a})})};ea.options=Tb;ea.states=yb;ea.variants=Bb;ea.defaultOptions=Ab;ea.modifiers=Ob;ea.className=Se.className;var bn="menu-button",nd=bn;import{jsx as Kb}from"react/jsx-runtime";var sd="k-menu-button",Pb=[n.hover,n.focus,n.active,n.selected,n.disabled],wb={size:[d.undefined,d.xsmall,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},xn={showArrow:!0,arrowIconName:"chevron-down"},V=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,showArrow:v=xn.showArrow,arrowIconName:I=xn.arrowIconName,expanded:S,...k}=e;return Kb(p,{...k,className:r(e.className,sd),text:u,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:g,showArrow:v,arrowIconName:I,"aria-expanded":S?"true":"false",...!u&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};V.states=Pb;V.options=wb;V.className=sd;V.defaultOptions=xn;V.moduleName=bn;V.folderName=nd;import{jsx as e_}from"react/jsx-runtime";import{jsx as i_}from"react/jsx-runtime";import{jsx as l_}from"react/jsx-runtime";import{jsx as c_}from"react/jsx-runtime";var Ve="menu",nt=Ve;import{jsx as oi,jsxs as ld}from"react/jsx-runtime";var hn="k-menu-item",Db=[n.hover,n.focus,n.active,n.selected,n.disabled],_b={},dd={iconPosition:"before"},Me=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=dd.iconPosition,dir:g,children:u,expanded:v,...I}=e,S=h;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),ld("li",{...I,className:r(e.className,hn,"k-item",M(hn,{focus:o,disabled:s,hover:t,active:a,selected:i})),role:"menuitem",...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ld("span",{className:r("k-link k-menu-link"),children:[l&&b==="before"&&oi(N,{className:"k-menu-link-icon",icon:l}),oi("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&oi(N,{className:"k-menu-link-icon",icon:l}),c&&oi("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:oi(N,{icon:S})})]}),u]})};Me.states=Db;Me.options=_b;Me.className=hn;Me.defaultOptions=dd;Me.moduleName=Ve;Me.folderName=nt;import{jsx as xo,jsxs as pd}from"react/jsx-runtime";var Nn="k-menu-item",zb=[n.hover,n.focus,n.active,n.selected,n.disabled],Hb={},gn={dir:"ltr",iconPosition:"before"},Z=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:l,text:m,showArrow:c,arrowIconName:h,iconPosition:b=gn.iconPosition,dir:g=gn.dir,children:u,popup:v,expanded:I,actions:S,description:k,...E}=e,T=h;return T||(T=g==="rtl"?"chevron-left":"chevron-right"),pd("li",{role:"menuitem",...E,className:r(e.className,Nn,"k-item",M(Nn,{focus:o,disabled:s})),...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[pd("span",{className:r("k-link k-menu-link",M("k-menu-link",{hover:t,active:a,selected:i,disabled:s})),children:[l&&b==="before"&&xo(N,{className:"k-menu-link-icon",icon:l}),xo("span",{className:"k-menu-link-text",children:m}),l&&b==="after"&&xo(N,{className:"k-menu-link-icon",icon:l}),S&&xo("span",{className:"k-menu-link-actions",children:S}),c&&xo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:xo(N,{icon:T})}),k&&xo("span",{className:"k-menu-link-description",children:k})]}),u,v]})};Z.states=zb;Z.options=Hb;Z.className=Nn;Z.defaultOptions=gn;Z.moduleName=Ve;Z.folderName=nt;import{jsx as $b}from"react/jsx-runtime";var md="k-menu-scroll-wrapper",Fb=[],Ub={},Gb={},ho=e=>{let{className:t,children:o,orientation:a,...i}=e;return $b("div",{...i,className:r(t,md,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ho.states=Fb;ho.options=Ub;ho.className=md;ho.defaultOptions=Gb;ho.moduleName=Ve;ho.folderName=nt;var cd=ho;import{Fragment as vn,jsx as No,jsxs as zi}from"react/jsx-runtime";var Hi="k-menu",Vb=[],Xb={size:[d.undefined,d.small,d.medium,d.large]},Fi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ke=e=>{let{children:t,orientation:o=Fi.orientation,header:a=Fi.header,scrollable:i,scrollButtonsPosition:s=Fi.scrollButtonsPosition,wrapperStyles:l,dir:m,size:c,popup:h,contextMenu:b,...g}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=No("ul",{dir:m,...g,className:r(e.className,"k-reset",Hi,{[`${Hi}-${o}`]:o,"k-header":a},C(Hi,{size:c})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return zi(vn,{children:[i?zi(cd,{orientation:o,style:l,dir:e.dir,children:[s==="start"&&zi(vn,{children:[No(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"}),No(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"&&No(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"&&zi(vn,{children:[No(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"}),No(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"&&No(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,h]})};ke.states=Vb;ke.options=Xb;ke.className=Hi;ke.defaultOptions=Fi;ke.moduleName=Ve;ke.folderName=nt;import{jsx as Wb}from"react/jsx-runtime";var Ln="k-separator",ud={orientation:"horizontal"},ta=e=>{let{orientation:t=ud.orientation,...o}=e;return Wb("li",{...o,className:r(e.className,"k-item",Ln,{[`${Ln}-${t}`]:t}),role:"separator"})};ta.className=Ln;ta.defaultOptions=ud;ta.moduleName=Ve;ta.folderName=nt;import{Fragment as F_,jsx as U_}from"react/jsx-runtime";import{jsx as Zb}from"react/jsx-runtime";var In="k-menu-group",Jb=[],qb={size:[d.undefined,d.small,d.medium,d.large]},Yb={},Ce=e=>{let{children:t,size:o,...a}=e;return Zb("ul",{role:"menu",...a,className:r(e.className,In,C(In,{size:o})),children:t})};Ce.states=Jb;Ce.options=qb;Ce.className=In;Ce.defaultOptions=Yb;Ce.moduleName=Ve;Ce.folderName=nt;import{jsx as Z_,jsxs as Q_}from"react/jsx-runtime";import{Fragment as Qb,jsx as oa,jsxs as jb}from"react/jsx-runtime";var Sn=e=>oa(ke,{children:jb(Qb,{children:[oa(Me,{text:"Item 1"}),oa(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),oa(Me,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),oa(Me,{text:"Item 4"}),oa(Me,{text:"Item 5"})]}),...e});import{Fragment as lz,jsx as nz,jsxs as sz}from"react/jsx-runtime";import{Fragment as uz,jsx as cz,jsxs as fz}from"react/jsx-runtime";import{Fragment as gz,jsx as Nz,jsxs as vz}from"react/jsx-runtime";import{Fragment as Ez,jsx as kz,jsxs as Mz}from"react/jsx-runtime";import{jsx as go,jsxs as ix}from"react/jsx-runtime";var ex={...ke.options,scrollable:{type:"boolean"}},tx=ke.states,fd={...ke.defaultOptions,variant:"horizontal"},ox=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ax=[{name:"opened",title:"Opened"}],aa=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?go(W,{className:"k-menu-popup",offset:s,children:ix(Ce,{children:[go(Z,{text:"Item 1"}),go(Z,{text:"Item 2"}),go(ta,{}),go(Z,{text:"Item 3"})]})}):null)}),t==="vertical"?go(Sn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):go(Sn,{...a,...i})};aa.options=ex;aa.states=tx;aa.variants=ox;aa.defaultOptions=fd;aa.modifiers=ax;aa.className=ke.className;import{Fragment as rH,jsx as aH,jsxs as iH}from"react/jsx-runtime";import{jsx as dH}from"react/jsx-runtime";import{Fragment as dx,jsx as At,jsxs as bd}from"react/jsx-runtime";var rx=p.states,xd={...p.defaultOptions,variant:"text"},nx=p.options,sx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],lx=[{name:"opened",title:"Opened"}],ia=e=>{let{variant:t,modifiers:o,...a}={...xd,...e},i={},s=At(W,{className:"k-menu-popup",children:bd(Ce,{size:a.size,children:[At(Z,{text:"Menu Item"}),At(Z,{text:"Menu Item"}),At(Z,{text:"Menu Item"})]})}),l;switch(t){case"icon-only":l=At("div",{children:At(V,{...a,...i,icon:"star"})});break;case"icon-and-text":l=At("div",{children:At(V,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:l=At("div",{children:At(V,{...a,...i,children:"Dropdown Button"})});break}return bd(dx,{children:[l,o?.opened&&s]})};ia.options=nx;ia.states=rx;ia.variants=sx;ia.defaultOptions=xd;ia.modifiers=lx;ia.className=V.className;var kn="split-button",hd=kn;import{Fragment as cx,jsx as En,jsxs as Nd}from"react/jsx-runtime";var Mn="k-split-button",px=[n.hover,n.focus,n.active,n.selected,n.disabled],mx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},gd={arrowIconName:"chevron-down"},z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,arrowIconName:v=gd.arrowIconName,popup:I,opened:S,popupId:k,...E}=e;return Nd(cx,{children:[Nd("div",{...E,className:r(e.className,Mn,"k-button-group",C(Mn,{rounded:o})),children:[En(p,{text:u,icon:b,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:l,active:m,selected:c,disabled:h,...!u&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),En(p,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?k:void 0,tabIndex:-1})]}),S&&I&&En(W,{className:"k-menu-popup",children:I})]})};z.states=px;z.options=mx;z.className=Mn;z.defaultOptions=gd;z.moduleName=kn;z.folderName=hd;var Cn=z;import{jsx as fx}from"react/jsx-runtime";var ux="k-toolbar-separator",Ee=e=>fx("div",{className:r(ux,e.className,"k-separator")});var vo="toolbar",ra=vo;import{Fragment as yn,jsx as H,jsxs as na}from"react/jsx-runtime";var zt="k-toolbar",bx=[n.focus],xx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},hx={scrollButtons:"around"},J=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:s,scrollButtons:l,scrollingPosition:m,section:c,...h}=e,b=[],g=(u,v)=>{let I=[];if(u.type===p&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))I.push(H(p,{...u.props,className:`${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===p)I.push(H(p,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===_a)I.push(H(_a,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===wt)I.push(H(wt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===V)I.push(H(V,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Cn)I.push(H(Cn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===O||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,T)=>{S.push(H(p,{...E.props,className:`${E.props.className?E.props.className:""}`},`${T}-${new Date().getTime()}`))}),I.push(H(O,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else u.type===Se?I.push(H(Se,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===$?I.push(H($,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===Ie?I.push(H(Ie,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):I.push(u);I.forEach(S=>{b.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,I)=>{g(v,I)}),na("div",{...h,className:r(e.className,zt,C(zt,{size:t,fillMode:o}),M(zt,{focus:a}),{[`${zt}-resizable`]:i,[`${zt}-scrollable`]:s,[`${zt}-scrollable-overlay`]:s&&l==="hidden",[`${zt}-scrollable-${m}`]:m&&m!=="both",[`${zt}-section`]:c}),role:"toolbar","aria-label":"Toolbar",children:[!s&&b,s&&l==="hidden"&&H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),s&&l==="start"&&na(yn,{children:[na(O,{children:[H("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-right"})})]}),H(Ee,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),s&&l==="end"&&na(yn,{children:[H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(Ee,{className:"k-toolbar-button-separator"}),na(O,{children:[H("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-left"})}),H("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(l==="around"||!l)&&na(yn,{children:[H("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-left"})}),H(Ee,{className:"k-toolbar-button-separator"}),H("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),H(Ee,{className:"k-toolbar-button-separator"}),H("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:H(N,{className:"k-button-icon",icon:"chevron-right"})})]})]})};J.states=bx;J.options=xx;J.className=zt;J.defaultOptions=hx;J.moduleName=vo;J.folderName=ra;import{jsx as Lx}from"react/jsx-runtime";var An="k-toolbar-item",Nx=[n.focus],gx={},vx={},eo=e=>{let{focus:t,...o}=e;return Lx("div",{...o,className:r(e.className,An,M(An,{focus:t})),children:e.children})};eo.states=Nx;eo.options=gx;eo.className=An;eo.defaultOptions=vx;eo.moduleName=vo;eo.folderName=ra;import{jsx as vd}from"react/jsx-runtime";var Ld="k-toolbar-popup",Ix=[],Sx={size:[d.undefined,d.small,d.medium,d.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},kx={},Lo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return vd(W,{...i,className:r(e.className,Ld),children:a?vd("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Lo.states=Ix;Lo.options=Sx;Lo.className=Ld;Lo.defaultOptions=kx;Lo.moduleName=vo;Lo.folderName=ra;var Ui=Lo;import{jsx as d1}from"react/jsx-runtime";import{jsx as u1}from"react/jsx-runtime";import{jsx as h1}from"react/jsx-runtime";import{jsx as L1}from"react/jsx-runtime";import{jsx as C1,jsxs as y1}from"react/jsx-runtime";import{jsx as B1}from"react/jsx-runtime";import{jsx as Ht,jsxs as Ax}from"react/jsx-runtime";var Ex=z.states,Id={...z.defaultOptions,variant:"text"},Mx=z.options,Cx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],yx=[{name:"opened",title:"Opened"}],sa=e=>{let{variant:t,modifiers:o,...a}={...Id,...e},i={},s=Ax(Ce,{size:a.size,children:[Ht(Z,{text:"Menu Item"}),Ht(Z,{text:"Menu Item"}),Ht(Z,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(l=>{l==="opened"&&(i.opened=!!o?.[l],i.popup=o?.[l]?s:"")}),t){case"icon-only":return Ht("div",{children:Ht(z,{...a,...i,icon:"star"})});case"icon-and-text":return Ht("div",{children:Ht(z,{...a,...i,icon:"star",children:"Split Button"})});default:return Ht("div",{children:Ht(z,{...a,...i,children:"Split Button"})})}};sa.options=Mx;sa.states=Ex;sa.variants=Cx;sa.defaultOptions=Id;sa.modifiers=yx;sa.className=z.className;import{jsx as Io,jsxs as Tx}from"react/jsx-runtime";var Sd=e=>Io(J,{children:[Io(p,{children:"Button"},"toolbar-button"),Io(V,{text:"Menu button"},"toolbar-menu-button"),Io(z,{children:"Split button"},"toolbar-split-button"),Tx(O,{children:[Io(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Io(p,{icon:"align-center",children:"Center"}),Io(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as lF,jsxs as dF}from"react/jsx-runtime";import{jsx as Xe,jsxs as kd}from"react/jsx-runtime";var Ed=e=>Xe(J,{scrollable:!0,...e,children:[Xe(p,{children:"Button"},"toolbar-button"),Xe(V,{text:"Menu button"},"toolbar-menu-button"),Xe(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[Xe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(p,{icon:"align-center",children:"Center"}),Xe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Xe(p,{children:"Button"},"toolbar-button"),Xe(V,{text:"Menu button"},"toolbar-menu-button"),Xe(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[Xe(p,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(p,{icon:"align-center",children:"Center"}),Xe(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as We,jsxs as Md}from"react/jsx-runtime";var Cd=({scrollingPosition:e="start",...t})=>We(J,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[We(p,{children:"Button"},"toolbar-button"),We(V,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),We(p,{children:"Button"},"toolbar-button"),We(V,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[We(p,{className:"k-group-start",icon:"align-left",children:"Left"}),We(p,{icon:"align-center",children:"Center"}),We(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Ox,jsx as _e,jsxs as Gi}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Gi(Ox,{children:[_e(J,{section:!0,fillMode:e,size:t,children:[_e(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Gi(O,{fillMode:e,children:[_e(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),_e(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),_e(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),_e(Ee,{className:"k-toolbar-button-separator"}),_e(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Gi(Ui,{size:t,fillMode:e,section:!0,...o,children:[_e(z,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),_e(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),_e(Ee,{}),_e(V,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Gi(O,{fillMode:e,children:[_e(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),_e(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),_e(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as UF,jsx as HF,jsxs as FF}from"react/jsx-runtime";import{Fragment as jF,jsx as ZF,jsxs as QF}from"react/jsx-runtime";import{jsx as to}from"react/jsx-runtime";var Bx=J.options,Rx=J.states,Ad={...J.defaultOptions,variant:"default"},Px=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],wx=[],la=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return to("div",{children:to(yd,{style:{width:"583px"},...o})});case"overlay":return to("div",{children:to(Cd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return to("div",{children:to(Ed,{style:{width:"583px"},...o})});default:return to("div",{children:to(Sd,{style:{width:"583px"},...o})})}};la.options=Bx;la.states=Rx;la.variants=Px;la.defaultOptions=Ad;la.modifiers=wx;la.className=J.className;var Tn="autocomplete",Td=Tn;import{Fragment as On,jsx as xe,jsxs as ai}from"react/jsx-runtime";var Od="k-autocomplete",Kx=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Dx={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bn={separators:!0,showClearButton:!0},ht=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:s=Bn.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:T,readonly:w,adaptive:q,adaptiveSettings:oe,adaptiveTitle:ae,adaptiveSubtitle:de,adaptiveCustomValue:so,id:Nt,autocomplete:Pt,activeDescendant:$t,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ai(On,{children:[ai(G,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:w,className:r(e.className,Od),children:[l&&ai(On,{children:[xe(fe,{children:l}),i&&xe(ee,{})]}),xe(me,{placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":T?"true":"false","aria-controls":T?Ra:void 0,"aria-activedescendant":T&&$t?$t:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:w}),xe(j,{valid:u,invalid:v,loading:S,disabled:k}),xe(ie,{loading:S,disabled:k}),s&&xe(pe,{loading:S,disabled:k,readonly:w,value:c}),m&&ai(On,{children:[i&&xe(ee,{}),xe(be,{children:m})]})]}),T&&E&&xe(W,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:E}),q&&xe(Y,{adaptive:!0,...oe,header:xe(ge,{actionsEnd:xe(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:ae,subtitle:de}),children:xe("div",{className:"k-list-container",children:xe(P,{customValue:so?xe(ot,{text:`Use "${c}"`}):void 0,size:"large",children:ai(K,{"aria-label":"Options",children:[xe(y,{text:"List item"}),xe(y,{text:"List item"}),xe(y,{text:"List item"})]})})})})]})};ht.states=Kx;ht.options=Dx;ht.className=Od;ht.defaultOptions=Bn;ht.moduleName=Tn;ht.folderName=Td;var Tt=ht;import{jsx as _x}from"react/jsx-runtime";var Bd=e=>_x(Tt,{id:A("ac"),"aria-label":"Search",...e});import{jsx as F2,jsxs as U2}from"react/jsx-runtime";import{jsx as W2}from"react/jsx-runtime";import{Fragment as eU,jsx as j2}from"react/jsx-runtime";import{Fragment as sU,jsx as nU}from"react/jsx-runtime";import{jsx as uU,jsxs as fU}from"react/jsx-runtime";import{jsx as vU,jsxs as LU}from"react/jsx-runtime";import{jsx as CU,jsxs as yU}from"react/jsx-runtime";import{jsx as RU}from"react/jsx-runtime";import{jsx as So,jsxs as $x}from"react/jsx-runtime";var zx=F.states,Hx=F.defaultOptions,Fx=F.options,Ux=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Gx=[],da=e=>{let{modifiers:t,...o}=e,a={},i=So(P,{style:{width:300},size:o.size,children:$x(K,{children:[So(y,{children:"List item"}),So(y,{children:"List item"}),So(y,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?So(N,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[s]?So(vt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),So(Bd,{value:"Value",style:{width:300},...o,...a})};da.options=Fx;da.states=zx;da.variants=Gx;da.defaultOptions=Hx;da.modifiers=Ux;da.className=ht.className;import{Fragment as Jx,jsx as st,jsxs as qx}from"react/jsx-runtime";var Rd="k-imageeditor-toolbar",Vx=[],Xx={},Wx={},pa=e=>{let{toolbarItems:t,adaptive:o,disabled:a,...i}=e;return st(J,{...i,className:r(e.className,Rd),fillMode:"flat",children:t??qx(Jx,{children:[st(p,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"}),st(Ee,{}),st(p,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"}),st(p,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"}),st(Ee,{}),st(p,{fillMode:"flat",disabled:a,icon:"download","aria-label":"Download"}),st("div",{className:"k-spacer"}),st(p,{fillMode:"flat",disabled:a,icon:"zoom-in","aria-label":"Zoom In"}),!o&&st(eo,{children:st(ht,{fillMode:"flat",disabled:a,value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})}),st(p,{fillMode:"flat",disabled:a,icon:"zoom-out","aria-label":"Zoom Out"})]})})};pa.states=Vx;pa.options=Xx;pa.className=Rd;pa.defaultOptions=Wx;import{Fragment as Zx,jsx as Oe,jsxs as Qx}from"react/jsx-runtime";var Rn="k-imageeditor-sidebar",Yx={scrollable:!1},Pd=e=>{let{sidebarItems:t,activeTool:o,disabled:a,adaptive:i,scrollable:s=Yx.scrollable,scrollingPosition:l,...m}=e,c=i?"k-separator k-separator-vertical":"k-separator";return Oe("div",{...m,className:r(e.className,Rn,{[`${Rn}-scrollable`]:s,[`${Rn}-scrollable-${l}`]:l&&l!=="both"}),children:Oe("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??Qx(Zx,{children:[Oe(p,{fillMode:"flat",togglable:!0,icon:"image-resize","aria-label":"Resize",selected:o==="Resize",disabled:a}),Oe(p,{fillMode:"flat",togglable:!0,icon:"crop","aria-label":"Crop",selected:o==="Crop",disabled:a}),Oe(p,{fillMode:"flat",togglable:!0,icon:"rotate","aria-label":"Rotate",selected:o==="Rotate",disabled:a}),Oe("div",{className:c}),Oe(p,{fillMode:"flat",togglable:!0,icon:"free-text","aria-label":"Text",selected:o==="Text",disabled:a}),Oe(p,{fillMode:"flat",togglable:!0,icon:"shapes","aria-label":"Shapes",selected:o==="Shapes",disabled:a}),Oe("div",{className:c}),Oe(p,{fillMode:"flat",togglable:!0,icon:"drop-half-pixelated","aria-label":"Blur",selected:o==="Blur",disabled:a}),Oe(p,{fillMode:"flat",togglable:!0,icon:"sliders-horizontal","aria-label":"Adjustments",selected:o==="Adjustments",disabled:a}),Oe(p,{fillMode:"flat",togglable:!0,icon:"circles-three-intersecting","aria-label":"Filters",selected:o==="Filters",disabled:a}),Oe("div",{className:c}),Oe(p,{fillMode:"flat",togglable:!0,icon:"frame-corners","aria-label":"Frame",selected:o==="Frame",disabled:a}),Oe(p,{fillMode:"flat",togglable:!0,icon:"circle-half-tilted","aria-label":"Shadow",selected:o==="Shadow",disabled:a})]})})})};var ii="loader",$i=ii;import{Fragment as Pn,jsx as wd,jsxs as Vi}from"react/jsx-runtime";var wn="k-loader",jx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},eh=[],th={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Kd={animation:"pulsing"},se=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,s=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:r(e.className,wn,{[`k-loader-${jx[a]||a}`]:a},C(wn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Vi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Vi(Pn,{children:[s,s]}),a==="infinite-spinner"&&Vi(Pn,{children:[s,s,s]}),a==="converging-spinner"&&Vi(Pn,{children:[s,s,s,s]})]})})};se.states=eh;se.options=th;se.className=wn;se.defaultOptions=Kd;se.moduleName=ii;se.folderName=$i;var Dd=se;import{jsx as Kn,jsxs as _d}from"react/jsx-runtime";var Dn="k-loader-container",oh=[],ah={size:[d.undefined,d.small,d.medium,d.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Xi={loaderType:"pulsing",position:"top",panel:!1},ko=e=>{let{size:t,themeColor:o,loaderType:a=Xi.loaderType,position:i=Xi.position,panel:s=Xi.panel,...l}=e;return _d("div",{...l,className:r(e.className,Dn,C(Dn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":l["aria-label"]||"Loading",children:[Kn(il,{className:"k-loader-container-overlay"}),_d("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":s}),children:[Kn(Dd,{size:t,themeColor:o,animation:a}),Kn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};ko.states=oh;ko.options=ah;ko.className=Dn;ko.defaultOptions=Xi;ko.moduleName=ii;ko.folderName=$i;import{jsx as M3}from"react/jsx-runtime";import{jsx as T3}from"react/jsx-runtime";import{jsx as P3}from"react/jsx-runtime";import{jsx as _3}from"react/jsx-runtime";import{jsx as _n}from"react/jsx-runtime";var ih=se.options,rh=se.states,nh={...se.defaultOptions,variant:"infinite-spinner"},sh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],lh=[],ma=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return _n(se,{animation:"pulsing",...o});case"converging-spinner":return _n(se,{animation:"converging-spinner",...o});default:return _n(se,{animation:"infinite-spinner",...o})}};ma.options=ih;ma.states=rh;ma.variants=sh;ma.defaultOptions=nh;ma.modifiers=lh;ma.className=se.className;var zd="image-editor",Hd="imageeditor",Wi={width:494,height:307},Ji={width:326,height:203};import{Fragment as Fd,jsx as Ot,jsxs as ri}from"react/jsx-runtime";var zn="k-imageeditor",dh=[],ph={},mh={},le=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,activeTool:i,placeholder:s,contentHeight:l,exporting:m,adaptive:c,sidebarScrollable:h,sidebarScrollingPosition:b,children:g,...u}=e,v=!!s,I=Ot("div",{className:"k-imageeditor-canvas-container",children:s??Ot("div",{className:"k-imageeditor-canvas",children:g})}),S=o&&Ot("div",{className:"k-imageeditor-action-pane",children:o}),k=Ot(Pd,{sidebarItems:a,activeTool:i,disabled:v,adaptive:c,scrollable:h,scrollingPosition:b});return ri("div",{role:"application","aria-label":"Image Editor",...u,className:r(e.className,zn,{[`${zn}-adaptive`]:c}),children:[Ot("div",{className:"k-imageeditor-header",children:Ot(pa,{toolbarItems:t,adaptive:c,disabled:v})}),Ot("div",{className:"k-imageeditor-content",style:{height:l},children:c?ri(Fd,{children:[I,S,k]}):ri(Fd,{children:[k,S,I]})}),m&&ri("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Ot(ft,{className:"k-loader-container-overlay"}),ri("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Ot(se,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Ot("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};le.states=dh;le.options=ph;le.className=zn;le.defaultOptions=mh;le.moduleName=zd;le.folderName=Hd;import{Fragment as qi,jsx as oo,jsxs as ni}from"react/jsx-runtime";var Hn="k-upload-dropzone",ch=[n.hover],Yi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:s,buttonText:l="Select files...",...m}=e,c;switch(o){case"uploading":c=ni(qi,{children:[oo(N,{icon:"upload"}),"Uploading..."]});break;case"done":c=ni(qi,{children:[oo(N,{icon:"check"}),"Done"]});break;case"failed":c=ni(qi,{children:[oo(N,{icon:"exclamation-circle"}),"Done"]});break;default:c=oo(qi,{});break}return ni("div",{...m,className:r(e.className,Hn,"k-dropzone",M(Hn,{hover:t})),children:[ni("div",{className:"k-upload-button-wrap",children:[oo(p,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&s?{"aria-controls":s}:{},children:l}),oo("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),oo("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&oo("span",{className:"k-upload-status",children:c})]})};Yi.states=ch;Yi.className=Hn;var Fn="upload",Ud=Fn;import{jsx as Zi,jsxs as $d}from"react/jsx-runtime";var Un="k-upload",uh=[n.hover,n.disabled],fh={},Vd={actionsLayout:"end"},Gd="upload-files-list",he=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:s,status:l,disabled:m,buttonText:c,...h}=e,b=!!e.children;return $d("div",{...h,className:r(e.className,Un,M(Un,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Zi(Yi,{status:l,hover:s,disabled:m,hasFiles:b,filesId:Gd,buttonText:c}),b&&Zi("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&b&&$d(Ws,{alignment:i,orientation:"horizontal",children:[Zi(p,{className:"k-clear-selected",children:"Clear"}),Zi(p,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};he.states=uh;he.options=fh;he.className=Un;he.defaultOptions=Vd;he.moduleName=Fn;he.folderName=Ud;var si="progressbar",Qi=si;import{jsx as $n,jsxs as Gn}from"react/jsx-runtime";var lt="k-progressbar",bh=[n.disabled,n.indeterminate],xh={orientation:["horizontal","vertical"]},Eo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Be=e=>{let{disabled:t,height:o,indeterminate:a=Eo.indeterminate,label:i=Eo.label,labelPosition:s=Eo.labelPosition,orientation:l=Eo.orientation,reverse:m=Eo.reverse,value:c=Eo.value,width:h,style:b,ariaLabel:g,...u}=e;return Gn("div",{...u,className:r(e.className,lt,M(lt,{disabled:t}),{[`${lt}-${l}`]:l,[`${lt}-indeterminate`]:a,[`${lt}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":c,[l==="horizontal"?"height":"width"]:l==="horizontal"?o:h},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(c),"aria-valuemin":0,"aria-valuemax":100,children:[$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:i&&Gn("span",{className:"k-progress-status",children:[c,"%"]})}),!a&&$n("div",{className:"k-progressbar-value k-selected",children:$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:i&&Gn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Be.states=bh;Be.options=xh;Be.className=lt;Be.defaultOptions=Eo;Be.moduleName=si;Be.folderName=Qi;var Xd=Be;import{jsx as Vn}from"react/jsx-runtime";var Wd="k-chunk-progressbar",hh=(e,t)=>t<=e-1,Nh=[n.disabled,n.indeterminate],gh={},ji={chunkCount:5,orientation:"horizontal",progress:0},ca=e=>{let{disabled:t,chunkCount:o=ji.chunkCount,indeterminate:a,orientation:i=ji.orientation,progress:s=ji.progress,reverse:l,ariaLabel:m,...c}=e;return Vn("div",{...c,className:r(e.className,lt,Wd,M(lt,{disabled:t}),{[`${lt}-${i}`]:i,[`${lt}-indeterminate`]:a,[`${lt}-reverse`]:l}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:s,"aria-valuemin":0,"aria-valuemax":o,children:Vn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Vn("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":hh(s,b)})},b))})})};ca.states=Nh;ca.options=gh;ca.className=Wd;ca.defaultOptions=ji;ca.moduleName=si;ca.folderName=Qi;import{jsx as vh}from"react/jsx-runtime";var li=e=>vh(Xd,{...e});import{jsx as D5}from"react/jsx-runtime";import{jsx as ao}from"react/jsx-runtime";var Lh=Be.options,Ih=Be.states,Jd={...Be.defaultOptions,variant:"start"},Sh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],kh=[],ua=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},s={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(l=>{switch(l){case"reverse":i.reverse=!!o?.[l];break;case"vertical":i.orientation=o?.[l]?"vertical":void 0,s.style=o?.[l]?void 0:{width:"324px"};break}}),t){case"end":return ao("div",{...s,children:ao(li,{...a,...i,labelPosition:"end",value:"50"})});case"center":return ao("div",{...s,children:ao(li,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return ao("div",{...s,children:ao(li,{...a,...i,label:!1,value:"50"})});default:return ao("div",{...s,children:ao(li,{...a,...i,labelPosition:"start",value:"50"})})}};ua.options=Lh;ua.states=Ih;ua.variants=Sh;ua.defaultOptions=Jd;ua.modifiers=kh;ua.className=Be.className;import{jsx as Xn,jsxs as Mh}from"react/jsx-runtime";var Eh="k-file-info",Wn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return Mh("div",{...i,className:r(e.className,Eh),children:[t&&Xn("span",{className:"k-file-name",children:t}),o&&Xn("span",{className:"k-file-size",children:o}),a&&Xn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as yh,jsx as Ft,jsxs as er}from"react/jsx-runtime";var Ch="k-file",ze=e=>{let{status:t,progress:o,name:a,icon:i,size:s,state:l,validationMsg:m,...c}=e;return Ft("li",{...c,className:r(e.className,Ch,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:er("div",{className:"k-file-single",children:[Ft(Be,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),er("span",{className:"k-file-icon-wrapper",children:[Ft(N,{className:"k-file-icon",icon:i,size:"xxlarge"}),l&&Ft("span",{className:"k-file-state",children:l})]}),Ft(Wn,{name:a,size:s,validationMsg:m}),Ft("div",{className:"k-upload-actions",children:t==="progress"?er(yh,{children:[er("span",{className:"k-upload-pct",children:[o,"%"]}),Ft(p,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ft(p,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ft(p,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as uG,jsx as mG,jsxs as cG}from"react/jsx-runtime";import{Fragment as Ah,jsx as Jn,jsxs as Th}from"react/jsx-runtime";var di=e=>Jn(he,{async:!0,children:Th(Ah,{children:[Jn(ze,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Jn(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as SG,jsx as LG,jsxs as IG}from"react/jsx-runtime";import{jsx as Oh}from"react/jsx-runtime";var qn=e=>Oh(he,{async:!0,empty:!0,...e});import{Fragment as OG,jsx as TG,jsxs as BG}from"react/jsx-runtime";import{Fragment as DG,jsx as KG,jsxs as _G}from"react/jsx-runtime";import{jsx as Ut,jsxs as tr}from"react/jsx-runtime";var Bh=he.options,Rh=he.states,qd={...he.defaultOptions,variant:"empty"},Ph=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],wh=[],fa=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return tr(di,{status:"done",style:{width:"586px"},...o,children:[Ut(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ut(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return tr(di,{status:"failed",style:{width:"586px"},...o,children:[Ut(ze,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ut(ze,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return tr(di,{status:"uploading",style:{width:"586px"},...o,children:[Ut(ze,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ut(ze,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return tr(di,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ut(ze,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ut(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ut(qn,{async:!0,status:"upload",style:{width:"586px"},...o})}};fa.options=Bh;fa.states=Rh;fa.variants=Ph;fa.defaultOptions=qd;fa.modifiers=wh;fa.className=he.className;import{Fragment as m6,jsx as d6,jsxs as p6}from"react/jsx-runtime";import{jsx as ba,jsxs as Yd}from"react/jsx-runtime";var Zd="k-imageeditor-pane",Kh=[],Dh={},_h={},ue=e=>{let{title:t,actions:o,adaptive:a,confirmDisabled:i,children:s,...l}=e;return Yd("div",{...l,className:r(e.className,Zd),children:[Yd("div",{className:"k-imageeditor-pane-header",children:[a&&ba(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),ba("div",{className:"k-imageeditor-pane-title",children:t}),a?ba(p,{fillMode:"flat",icon:"check",disabled:i,"aria-label":"Confirm",title:"Confirm"}):ba(p,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),ba("div",{className:"k-imageeditor-pane-content",children:s}),!a&&o&&ba(Ge,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};ue.states=Kh;ue.options=Dh;ue.className=Zd;ue.moduleName=null;ue.folderName=null;ue.defaultOptions=_h;import{jsx as Uh}from"react/jsx-runtime";var Yn="k-imageeditor-option-preview",zh=[n.hover,n.focus,n.selected],Hh={},Fh={},Bt=e=>{let{label:t,hover:o,focus:a,selected:i,children:s,...l}=e;return Uh("div",{...l,className:r(e.className,Yn,M(Yn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:s??t})};Bt.states=zh;Bt.options=Hh;Bt.className=Yn;Bt.moduleName=null;Bt.folderName=null;Bt.defaultOptions=Fh;import{jsx as Qd}from"react/jsx-runtime";var or="k-imageeditor-option-list",Zn={scrollable:!1,scrollingPosition:"start"},xa=e=>{let{scrollable:t=Zn.scrollable,scrollingPosition:o=Zn.scrollingPosition,children:a,...i}=e;return Qd("div",{...i,className:r(e.className,or,{[`${or}-scrollable`]:t,[`${or}-scrollable-${o}`]:o&&o!=="both"}),children:Qd("div",{className:"k-imageeditor-option-list-items",children:a})})};xa.className=or;xa.moduleName=null;xa.folderName=null;xa.defaultOptions=Zn;import{Fragment as $h,jsx as jd,jsxs as Vh}from"react/jsx-runtime";var Gh={},pi=e=>{let{label:t,style:o,children:a,imageSrc:i}=e;return Vh($h,{children:[jd("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:i?`url('${i}')`:void 0,backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&jd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};pi.moduleName=null;pi.folderName=null;pi.defaultOptions=Gh;import{jsx as Xh}from"react/jsx-runtime";var Re=e=>{let{imageSrc:t,adaptive:o,style:a,...i}=e;return Xh("canvas",{role:"img","aria-label":"Image being edited",...o?Ji:Wi,...i,style:{...t&&{backgroundImage:`url('${t}')`},backgroundSize:"cover",...a}})};Re.moduleName=null;Re.folderName=null;import{Fragment as ep,jsx as Gt,jsxs as tp}from"react/jsx-runtime";var op={variant:"crop"},ha=e=>{let{variant:t=op.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",s=t==="scale"?"k-scale-handle":"k-resize-handle";return tp(ep,{children:[o&&Gt("div",{className:"k-imageeditor-crop-grid"}),a&&tp(ep,{children:[Gt("span",{className:`${i} k-resize-nw`}),Gt("span",{className:`${i} k-resize-ne`}),Gt("span",{className:`${i} k-resize-sw`}),Gt("span",{className:`${i} k-resize-se`})]}),Gt("span",{className:`${s} k-resize-n`}),Gt("span",{className:`${s} k-resize-s`}),Gt("span",{className:`${s} k-resize-w`}),Gt("span",{className:`${s} k-resize-e`})]})};ha.moduleName=null;ha.folderName=null;ha.defaultOptions=op;import{jsx as ap}from"react/jsx-runtime";var Wh="k-rotate-handle",Qn=e=>ap("span",{...e,className:r(e.className,Wh),children:ap(N,{icon:"rotate"})});Qn.moduleName=null;Qn.folderName=null;import{jsx as z6}from"react/jsx-runtime";var ip="form",rp="forms";import{Fragment as np,jsx as ar,jsxs as Yh}from"react/jsx-runtime";var ir="k-form",Jh=[],qh={size:[d.undefined,d.small,d.medium,d.large]},jn={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:a=jn.layout,formButtons:i,cols:s,gutters:l,tag:m=jn.tag,children:c,style:h}=e,b=m,g=r(e.className,ir,C(ir,{size:t}),{[`${ir}-${o}`]:o}),u=Yh(np,{children:[a==="grid"?ar("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof l=="string"&&{gap:l},...typeof l=="object"&&l.rows&&{rowGap:l.rows},...typeof l=="object"&&l.cols&&{columnGap:l.cols},...h},children:c}):ar(np,{children:c}),i&&ar("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":I,"aria-label":S,id:k}=e;return ar(b,{className:g,role:v,"aria-labelledby":I,"aria-label":S,id:k,children:u})};U.states=Jh;U.options=qh;U.className=ir;U.defaultOptions=jn;U.moduleName=ip;U.folderName=rp;var sp="label",lp="label";import{jsx as dp,jsxs as eN}from"react/jsx-runtime";var es="k-label",Zh=[n.disabled],Qh={},jh={},io=e=>{let{disabled:t,optional:o,info:a,text:i,children:s,...l}=e;return eN("label",{...l,className:r(e.className,es,M(es,{disabled:t})),children:[i||s,o&&dp("span",{className:"k-label-optional",children:"(Optional)"}),a&&dp("span",{className:"k-field-info",children:a})]})};io.states=Zh;io.options=Qh;io.className=es;io.defaultOptions=jh;io.moduleName=sp;io.folderName=lp;import{jsx as iN}from"react/jsx-runtime";var pp="k-form-hint",tN=[],oN={},aN={},dt=e=>{let{text:t,children:o,...a}=e;return iN("div",{...a,className:r(e.className,pp),children:t||o})};dt.states=tN;dt.options=oN;dt.className=pp;dt.defaultOptions=aN;import{jsx as lN}from"react/jsx-runtime";var mp="k-form-error",rN=[],nN={},sN={},pt=e=>{let{text:t,children:o,...a}=e;return lN("div",{...a,className:r(e.className,mp),children:t||o})};pt.states=rN;pt.options=nN;pt.className=mp;pt.defaultOptions=sN;import{jsx as rr,jsxs as cp}from"react/jsx-runtime";var ts="k-form-field",dN=[n.disabled],X=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:s,hint:l,error:m,info:c,disabled:h,dir:b,colSpan:g,...u}=e;return cp("div",{...u,className:r(ts,e.className,M(ts,{disabled:h}),{[`k-col-span-${g}`]:g}),dir:b,children:[o&&rr(io,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:c?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&rr("span",{className:"k-label k-form-label k-label-empty"}),cp("div",{className:"k-form-field-wrap",children:[s,l&&rr(dt,{id:t?`${t}-hint`:void 0,children:l}),m&&rr(pt,{id:t?`${t}-error`:void 0,children:m})]})]})};X.states=dN;X.className=ts;import{Fragment as pN,jsx as os,jsxs as mN}from"react/jsx-runtime";var up="k-form-fieldset",He=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:s}=e;return mN("fieldset",{className:r(up,{[`k-col-span-${s}`]:s}),children:[t&&os("legend",{className:"k-form-legend",children:t}),o==="grid"?os("div",{className:r("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}):os(pN,{children:e.children})]})};He.className=up;var Mo="radio",Na=Mo;import{jsx as fp}from"react/jsx-runtime";var nr="k-radio",cN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],uN={size:[d.undefined,d.small,d.medium,d.large]},fN={},Je=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:s,invalid:l,valid:m,required:c,size:h,...b}=e;return fp("span",{className:"k-radio-wrap",children:fp("input",{...b,id:t,type:"radio",checked:o,required:c,disabled:s||void 0,"aria-invalid":l?"true":void 0,className:r(e.className,nr,C(nr,{size:h}),M(nr,{hover:a,focus:i,disabled:s,invalid:l,valid:m,checked:o}))})})};Je.states=cN;Je.options=uN;Je.className=nr;Je.defaultOptions=fN;Je.moduleName=Mo;Je.folderName=Na;var mt=Je;import{jsx as hN}from"react/jsx-runtime";var bp="k-radio-list",bN=[],xN={},xp={layout:"vertical"},te=e=>{let{layout:t=xp.layout,...o}=e;return hN("ul",{...o,className:r(e.className,bp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};te.states=bN;te.options=xN;te.className=bp;te.defaultOptions=xp;te.moduleName=Mo;te.folderName=Na;import{jsx as LN}from"react/jsx-runtime";var hp="k-radio-list-item",NN=[],gN={},vN={},Q=e=>{let{...t}=e;return LN("li",{...t,className:r(e.className,hp),role:"none",children:e.children})};Q.states=NN;Q.options=gN;Q.className=hp;Q.defaultOptions=vN;Q.moduleName=Mo;Q.folderName=Na;import{jsx as C9}from"react/jsx-runtime";import{Fragment as IN,jsx as Np,jsxs as SN}from"react/jsx-runtime";var Pe=({children:e,id:t,...o})=>SN(IN,{children:[Np(mt,{...o,id:t}),Np("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as w9,jsx as P9,jsxs as K9}from"react/jsx-runtime";import{Fragment as U9,jsx as H9,jsxs as F9}from"react/jsx-runtime";import{Fragment as W9,jsx as X9,jsxs as J9}from"react/jsx-runtime";import{Fragment as j9,jsx as Q9,jsxs as e7}from"react/jsx-runtime";import{Fragment as s7,jsx as n7,jsxs as l7}from"react/jsx-runtime";import{jsx as c7}from"react/jsx-runtime";import{jsx as TN}from"react/jsx-runtime";var EN=mt.options,MN=mt.states,CN=mt.defaultOptions,yN=[],AN=[],ga=e=>TN(Pe,{id:A("radio"),name:"value",...e,children:"Label"});ga.options=EN;ga.states=MN;ga.variants=yN;ga.defaultOptions=CN;ga.modifiers=AN;ga.className=mt.className;import{jsx as ct,jsxs as gp}from"react/jsx-runtime";var ON=te.options,BN=te.states,RN={...te.defaultOptions,variant:"vertical"},PN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],wN=[],va=e=>{let{variant:t,...o}=e;return t==="horizontal"?gp(te,{layout:"horizontal",...o,children:[ct(Q,{children:ct(Pe,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(Q,{children:ct(Pe,{id:A("rb"),name:"value",children:"Label"})}),ct(Q,{children:ct(Pe,{id:A("rb"),name:"value",children:"Label"})})]}):gp(te,{...o,children:[ct(Q,{children:ct(Pe,{id:A("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ct(Q,{children:ct(Pe,{id:A("rb"),name:"value",children:"Label"})}),ct(Q,{children:ct(Pe,{id:A("rb"),name:"value",children:"Label"})})]})};va.options=ON;va.states=BN;va.variants=PN;va.defaultOptions=RN;va.modifiers=wN;va.className=te.className;import{Fragment as J7,jsx as W7,jsxs as q7}from"react/jsx-runtime";import{Fragment as i4,jsx as a4,jsxs as r4}from"react/jsx-runtime";import{Fragment as c4,jsx as m4,jsxs as u4}from"react/jsx-runtime";var vp="date-input",Lp="dateinput";import{jsx as mi,jsxs as zN}from"react/jsx-runtime";var Ip="k-dateinput",KN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],DN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},_N={},qe=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:s,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,showClearButton:I,showSpinButton:S,id:k,"aria-label":E,"aria-describedby":T,...w}=e;return zN(G,{...w,size:t,rounded:o,fillMode:a,hover:l,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,className:r(e.className,Ip),children:[mi(me,{id:k,placeholder:s,value:i,disabled:u,"aria-label":E,"aria-describedby":T,"aria-invalid":h?"true":void 0}),mi(j,{valid:c,invalid:h,loading:g,disabled:u}),mi(ie,{loading:g,disabled:u}),I&&mi(pe,{loading:g,disabled:u,readonly:v,value:i}),S&&mi(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};qe.states=KN;qe.options=DN;qe.className=Ip;qe.defaultOptions=_N;qe.moduleName=vp;qe.folderName=Lp;var as=qe;import{jsx as HN}from"react/jsx-runtime";var Sp=e=>HN(as,{...e});import{jsx as C4}from"react/jsx-runtime";import{jsx as XN}from"react/jsx-runtime";var FN=qe.options,UN=qe.states,GN=qe.defaultOptions,$N=[{name:"spin-button",title:"`Spin` Button"}],VN=[],La=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),XN(Sp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};La.options=FN;La.states=UN;La.variants=VN;La.defaultOptions=GN;La.modifiers=$N;La.className=qe.className;var kp="masked-textbox",Ep="maskedtextbox";import{Fragment as Mp,jsx as ro,jsxs as is}from"react/jsx-runtime";var Cp="k-maskedtextbox",WN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],JN={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},rs={showClearButton:!0,separators:!0},Ye=e=>{let{size:t,rounded:o,fillMode:a,separators:i=rs.separators,showClearButton:s=rs.showClearButton,prefix:l,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,id:T,"aria-label":w,"aria-describedby":q,...oe}=e;return is(G,{...oe,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,className:r(e.className,Cp),children:[l&&is(Mp,{children:[ro(fe,{children:l}),i&&ro(ee,{})]}),ro(me,{id:T,placeholder:h,value:c,disabled:k,"aria-label":w,"aria-describedby":q,"aria-invalid":v?"true":void 0}),ro(j,{valid:u,invalid:v,loading:S,disabled:k}),ro(ie,{loading:S,disabled:k}),s&&ro(pe,{loading:S,disabled:k,readonly:E,value:c}),m&&is(Mp,{children:[i&&ro(ee,{}),ro(be,{children:m})]})]})};Ye.states=WN;Ye.options=JN;Ye.className=Cp;Ye.defaultOptions=rs;Ye.moduleName=kp;Ye.folderName=Ep;var Ia=Ye;import{jsx as qN}from"react/jsx-runtime";var yp=e=>qN(Ia,{...e});import{Fragment as Q4,jsx as Z4}from"react/jsx-runtime";import{Fragment as i8,jsx as a8}from"react/jsx-runtime";import{jsx as l8}from"react/jsx-runtime";import{jsx as c8}from"react/jsx-runtime";import{jsx as ns}from"react/jsx-runtime";var YN=Ye.states,ZN=Ye.defaultOptions,QN=Ye.options,jN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],eg=[],Sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ns($,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ns(N,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ns(yp,{value:"Value",style:{width:300},...o,...a})};Sa.options=QN;Sa.states=YN;Sa.variants=eg;Sa.defaultOptions=ZN;Sa.modifiers=jN;Sa.className=Ye.className;var ss="switch",Ap=ss;import{jsx as sr,jsxs as Tp}from"react/jsx-runtime";var no="k-switch",tg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],og={size:[d.undefined,d.small,d.medium,d.large],trackRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],thumbRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},ag={},Fe=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:s,thumbRounded:l,hover:m,focus:c,disabled:h,readonly:b,...g}=e;return Tp("span",{...g,className:r(e.className,no,C(no,{size:i}),M(no,{hover:m,focus:c,disabled:h,readonly:b}),{[`${no}-on`]:t,[`${no}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Tp("span",{className:r("k-switch-track",C(no,{rounded:s})),children:[o&&sr("span",{className:"k-switch-label-on",children:o}),a&&sr("span",{className:"k-switch-label-off",children:a})]}),sr("span",{className:"k-switch-thumb-wrap",children:sr("span",{className:r("k-switch-thumb",C(no,{rounded:l}))})})]})};Fe.states=tg;Fe.options=og;Fe.className=no;Fe.defaultOptions=ag;Fe.moduleName=ss;Fe.folderName=Ap;import{jsx as K8}from"react/jsx-runtime";import{jsx as H8}from"react/jsx-runtime";import{jsx as $8}from"react/jsx-runtime";import{jsx as J8}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var ig=Fe.options,rg=Fe.states,ng={...Fe.defaultOptions,variant:"on"},sg=[{name:"on",title:"On"},{name:"off",title:"Off"}],lg=[],ka=e=>{let{variant:t,...o}=e;return t==="off"?Op(Fe,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Op(Fe,{checked:!0,onLabel:"On",offLabel:"Off",...o})};ka.options=ig;ka.states=rg;ka.variants=sg;ka.defaultOptions=ng;ka.modifiers=lg;ka.className=Fe.className;var ds="textarea",Bp=ds;import{Fragment as Rp,jsx as ci,jsxs as ps}from"react/jsx-runtime";var Pp="k-textarea",dg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],pg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ea={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Ue=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ea.prefixSeparator,suffixSeparator:s=Ea.prefixSeparator,affixesOrientation:l=Ea.affixesOrientation,flow:m=Ea.flow,resize:c=Ea.resize,prefix:h,suffix:b,rows:g,value:u,placeholder:v,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,id:q,"aria-label":oe,"aria-describedby":ae,...de}=e;return ps(G,{...de,size:t,rounded:o,fillMode:a,hover:I,focus:S,valid:k,invalid:E,required:T,disabled:w,className:r(e.className,Pp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&ps(Rp,{children:[ci(fe,{className:r({"!k-align-items-start":m===l}),direction:l,children:h}),i&&ci(ee,{direction:m==="horizontal"?"vertical":"horizontal"})]}),ci(Fa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":c==="x","k-resize-y":c==="y","k-resize":c==="both","k-resize-none":c==="none"}),value:u,placeholder:v,rows:g,disabled:w,id:q,"aria-label":oe,"aria-describedby":ae,"aria-invalid":E?"true":void 0}),b&&ps(Rp,{children:[s&&ci(ee,{direction:m==="horizontal"?"vertical":"horizontal"}),ci(be,{className:r({"!k-align-items-start":m===l}),direction:l,children:b})]})]})};Ue.states=dg;Ue.options=pg;Ue.className=Pp;Ue.defaultOptions=Ea;Ue.moduleName=ds;Ue.folderName=Bp;import{jsx as b$}from"react/jsx-runtime";import{Fragment as L$,jsx as v$}from"react/jsx-runtime";import{Fragment as C$,jsx as M$}from"react/jsx-runtime";import{jsx as O$}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var mg=Ue.options,cg=Ue.states,wp={...Ue.defaultOptions,variant:"vertical"},ug=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],fg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...wp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":i.prefix=o?.[s]?lr(N,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[s]?lr(N,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?lr(Ue,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):lr(Ue,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ma.options=mg;Ma.states=cg;Ma.variants=ug;Ma.defaultOptions=wp;Ma.modifiers=fg;Ma.className=Ue.className;import{Fragment as tV,jsx as eV,jsxs as oV}from"react/jsx-runtime";import{Fragment as vg,jsx as we,jsxs as Ca}from"react/jsx-runtime";var bg=U.options,xg=U.states,hg={...U.defaultOptions,variant:"vertical"},Ng=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],gg=[],ya=e=>{let{variant:t,size:o,...a}=e,i=Ca(He,{legend:"Form Legend",children:[we(X,{label:"Label",editor:we(F,{size:o})}),we(X,{label:"Label",hint:"Hint text",editor:we($,{value:"Dropdown List",size:o})}),we(X,{label:"City",editor:Ca("ul",{className:"k-radio-list k-list-horizontal",children:[Ca("li",{className:"k-radio-list-item",children:[we(Je,{checked:!0,size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[we(Je,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[we(Je,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Ca(vg,{children:[we(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),we(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?we(U,{orientation:"horizontal",size:o,...a,formButtons:s,children:i}):we(U,{size:o,...a,formButtons:s,children:i})};ya.options=bg;ya.states=xg;ya.variants=Ng;ya.defaultOptions=hg;ya.modifiers=gg;ya.className=U.className;import{jsx as Kp,jsxs as Eg}from"react/jsx-runtime";var Lg=dt.options,Ig=dt.states,Dp={...dt.defaultOptions},Sg=[],kg=[{name:"showHint",title:"Show Hint"}],Aa=e=>{let{modifiers:t,...o}={...Dp,...e},a=t?.showHint??!0;return Eg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kp(F,{placeholder:"Component",style:{width:"200px"}}),a&&Kp(dt,{...o,children:"Hint text"})]})};Aa.options=Lg;Aa.states=Ig;Aa.variants=Sg;Aa.defaultOptions=Dp;Aa.modifiers=kg;Aa.className=dt.className;import{jsx as _p,jsxs as Tg}from"react/jsx-runtime";var Mg=pt.options,Cg=pt.states,zp={...pt.defaultOptions},yg=[],Ag=[{name:"showError",title:"Show Error"}],Ta=e=>{let{modifiers:t,...o}={...zp,...e},a=t?.showError??!0;return Tg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(F,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&_p(pt,{...o,children:"Error text"})]})};Ta.options=Mg;Ta.states=Cg;Ta.variants=yg;Ta.defaultOptions=zp;Ta.modifiers=Ag;Ta.className=pt.className;import{Fragment as XV,jsx as VV,jsxs as WV}from"react/jsx-runtime";import{Fragment as aX,jsx as oX,jsxs as iX}from"react/jsx-runtime";import{Fragment as xX,jsx as bX,jsxs as hX}from"react/jsx-runtime";import{Fragment as BX,jsx as OX,jsxs as RX}from"react/jsx-runtime";var cs="segmented-control",Hp=cs,Fp="segmented-control-button",Up="segmented-control";import{jsx as Rg,jsxs as Pg}from"react/jsx-runtime";var dr="k-segmented-control",Og=[],Bg={size:[d.undefined,d.small,d.medium,d.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},Rt=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:s,...l}=e;return Pg("div",{...l,className:r(e.className,dr,C(dr,{size:t,rounded:o}),{[`${dr}-stretched`]:a}),role:"group",children:[Rg("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),i]})};Rt.states=Og;Rt.options=Bg;Rt.className=dr;Rt.moduleName=cs;Rt.folderName=Hp;import{jsx as us,jsxs as _g}from"react/jsx-runtime";var fs="k-segmented-control-button",wg=[n.selected,n.hover,n.focus,n.disabled],Kg={},Dg={},ut=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:s,endIcon:l,text:m,iconClassName:c,...h}=e;return _g("button",{...h,className:r(e.className,fs,M(fs,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[s&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:s}),(m||e.children)&&us("span",{className:"k-segmented-control-button-text",children:m||e.children}),l&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:l})]})};ut.states=wg;ut.options=Kg;ut.className=fs;ut.defaultOptions=Dg;ut.moduleName=Fp;ut.folderName=Up;import{Fragment as qX,jsx as JX,jsxs as YX}from"react/jsx-runtime";import{Fragment as oW,jsx as tW,jsxs as aW}from"react/jsx-runtime";import{Fragment as dW,jsx as lW,jsxs as pW}from"react/jsx-runtime";import{Fragment as xW,jsx as bW,jsxs as hW}from"react/jsx-runtime";import{Fragment as SW,jsx as IW,jsxs as kW}from"react/jsx-runtime";import{Fragment as TW,jsx as AW,jsxs as OW}from"react/jsx-runtime";import{Fragment as oJ,jsx as tJ,jsxs as aJ}from"react/jsx-runtime";import{Fragment as gJ,jsx as NJ,jsxs as vJ}from"react/jsx-runtime";import{Fragment as BJ,jsx as OJ,jsxs as RJ}from"react/jsx-runtime";import{Fragment as HJ,jsx as zJ,jsxs as FJ}from"react/jsx-runtime";import{Fragment as YJ,jsx as qJ,jsxs as ZJ}from"react/jsx-runtime";import{Fragment as pq,jsx as dq,jsxs as mq}from"react/jsx-runtime";import{Fragment as Sq,jsx as Iq,jsxs as kq}from"react/jsx-runtime";import{jsx as Aq}from"react/jsx-runtime";import{jsx as Pq}from"react/jsx-runtime";import{jsx as zq}from"react/jsx-runtime";import{jsx as $q}from"react/jsx-runtime";import{jsx as qq}from"react/jsx-runtime";import{jsx as eY}from"react/jsx-runtime";import{jsx as iY}from"react/jsx-runtime";import{jsx as dY}from"react/jsx-runtime";import{jsx as fY}from"react/jsx-runtime";import{jsx as gY}from"react/jsx-runtime";import{jsx as kY}from"react/jsx-runtime";import{jsx as AY}from"react/jsx-runtime";import{Fragment as Hg,jsx as Ne,jsxs as Co}from"react/jsx-runtime";var zg=({selected:e=!1,shape:t="rectangular",intensity:o=0,adaptive:a,imageSrc:i,...s})=>Ne(le,{adaptive:a,activeTool:"Blur",actionPane:Co(ue,{title:"Blur",adaptive:a,confirmDisabled:!e,actions:Co(Hg,{children:[Ne(p,{disabled:!e,children:"Reset"}),Ne(p,{themeColor:"primary",disabled:!e,children:"Apply"})]}),children:[Co(Rt,{thumbStyles:{width:"50%"},stretched:!0,"aria-label":"Redaction Tool",children:[Ne(ut,{icon:"blur",selected:!0,children:"Blur"}),Ne(ut,{icon:"grid",children:"Pixelate"})]}),Co(U,{tag:"div",children:[Ne(X,{label:"Marquee Tool Shape",editor:Co(te,{layout:"horizontal",children:[Ne(Q,{children:Ne(Pe,{id:"blur-shape-rectangular",name:"blur-shape",checked:t==="rectangular",children:"Rectangular"})}),Ne(Q,{children:Ne(Pe,{id:"blur-shape-elliptical",name:"blur-shape",checked:t==="elliptical",children:"Elliptical"})})]})}),Ne(X,{label:"Blur Intensity",editorId:"blur-intensity",editor:Co("div",{className:"k-imageeditor-field-row",children:[Ne(D,{style:{flex:1,"--kendo-slider-start":0,"--kendo-slider-end":o},"aria-label":"Blur Intensity",showButtons:!1,showTicks:!1,value:o,min:0,max:100}),Ne(R,{id:"blur-intensity",style:{width:"80px",flex:"none"},showClearButton:!1,showSpinButton:!1,value:String(o)})]})}),Ne(X,{label:"Rotation",editor:Co("div",{className:"k-imageeditor-field-row",children:[Ne(D,{disabled:!e,style:{flex:1},"aria-label":"Rotation",showButtons:!1,showTicks:!1,value:0,min:0,max:360}),Ne(R,{disabled:!e,style:{width:"80px",flex:"none"},"aria-label":"Rotation angle",showClearButton:!1,showSpinButton:!1,separators:!1,value:"0",suffix:Ne(It,{children:"\xB0"})})]})})]})]}),children:Ne(Re,{adaptive:a,imageSrc:i}),...s});export{zg as ImageEditorBlur};
|